diff --git a/.pulumi.version b/.pulumi.version index 8da3f3354d..e4e8f53177 100644 --- a/.pulumi.version +++ b/.pulumi.version @@ -1 +1 @@ -3.132.0 +3.136.1 diff --git a/examples/go.mod b/examples/go.mod index 59bacd0f67..7fe4495a9d 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -3,7 +3,7 @@ module github.com/pulumi/pulumi-aws-native/examples go 1.21 require ( - github.com/pulumi/pulumi/pkg/v3 v3.132.0 + github.com/pulumi/pulumi/pkg/v3 v3.136.1 github.com/stretchr/testify v1.9.0 ) @@ -126,7 +126,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.10.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.132.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.136.1 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index 69372c4c69..d370f911b5 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -342,10 +342,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE= github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c= -github.com/pulumi/pulumi/pkg/v3 v3.132.0 h1:FbIvkiFMOYwAixQZ330w42b0khMeAYj+vlH3k4lxwA8= -github.com/pulumi/pulumi/pkg/v3 v3.132.0/go.mod h1:EnftmBaN59wQI//Q4a6XN3QUlHA4SiGBup8TXC8iT3s= -github.com/pulumi/pulumi/sdk/v3 v3.132.0 h1:UDZHa+WpIEVxWJp+PCbsMxnTUeKMX3xBCcqIHxeAdzI= -github.com/pulumi/pulumi/sdk/v3 v3.132.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= +github.com/pulumi/pulumi/pkg/v3 v3.136.1 h1:zA8aJZ7qI0QgZkBKjjQaYHEcigK6pZfrbfG38imXzWo= +github.com/pulumi/pulumi/pkg/v3 v3.136.1/go.mod h1:Iz8QIs07AbEdrO52hEIEM5C4VBDUYFH2NdM9u2xxBxY= +github.com/pulumi/pulumi/sdk/v3 v3.136.1 h1:VJWTgdBrLvvzIkMbGq/epNEfT65P9gTvw14UF/I7hTI= +github.com/pulumi/pulumi/sdk/v3 v3.136.1/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/examples/simple-go/go.mod b/examples/simple-go/go.mod index 5f3dc8ba30..37b225919c 100644 --- a/examples/simple-go/go.mod +++ b/examples/simple-go/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/pulumi/pulumi-aws-native/sdk v0.1.0 - github.com/pulumi/pulumi/sdk/v3 v3.132.0 + github.com/pulumi/pulumi/sdk/v3 v3.136.1 ) require ( diff --git a/examples/simple-go/go.sum b/examples/simple-go/go.sum index f7b3628370..a60192a478 100644 --- a/examples/simple-go/go.sum +++ b/examples/simple-go/go.sum @@ -260,8 +260,8 @@ github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTG github.com/pulumi/pulumi-aws-native/sdk v0.1.0 h1:Zfa/SDa4X3reecAdZ43PFre0qAeDM9Ww54ak/2EprEU= github.com/pulumi/pulumi-aws-native/sdk v0.1.0/go.mod h1:O8mLoyUjOQcwJ1zfuZ0Y9yw61CYyJU3SZ5oevmGhA0o= github.com/pulumi/pulumi/sdk/v3 v3.12.0/go.mod h1:bxxmONw/K6M4KHRKWTwP/u77JbqDFnt96p0nSsrsHnQ= -github.com/pulumi/pulumi/sdk/v3 v3.132.0 h1:UDZHa+WpIEVxWJp+PCbsMxnTUeKMX3xBCcqIHxeAdzI= -github.com/pulumi/pulumi/sdk/v3 v3.132.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= +github.com/pulumi/pulumi/sdk/v3 v3.136.1 h1:VJWTgdBrLvvzIkMbGq/epNEfT65P9gTvw14UF/I7hTI= +github.com/pulumi/pulumi/sdk/v3 v3.136.1/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/examples/write-only-go/go.mod b/examples/write-only-go/go.mod index 61f357512c..c5f73e4557 100644 --- a/examples/write-only-go/go.mod +++ b/examples/write-only-go/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/pulumi/pulumi-aws-native/sdk v0.1.0 - github.com/pulumi/pulumi/sdk/v3 v3.132.0 + github.com/pulumi/pulumi/sdk/v3 v3.136.1 ) require ( diff --git a/examples/write-only-go/go.sum b/examples/write-only-go/go.sum index 8a3a72bbff..ddf7221057 100644 --- a/examples/write-only-go/go.sum +++ b/examples/write-only-go/go.sum @@ -260,8 +260,8 @@ github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTG github.com/pulumi/pulumi-aws-native/sdk v0.1.0 h1:Zfa/SDa4X3reecAdZ43PFre0qAeDM9Ww54ak/2EprEU= github.com/pulumi/pulumi-aws-native/sdk v0.1.0/go.mod h1:O8mLoyUjOQcwJ1zfuZ0Y9yw61CYyJU3SZ5oevmGhA0o= github.com/pulumi/pulumi/sdk/v3 v3.12.0/go.mod h1:bxxmONw/K6M4KHRKWTwP/u77JbqDFnt96p0nSsrsHnQ= -github.com/pulumi/pulumi/sdk/v3 v3.132.0 h1:UDZHa+WpIEVxWJp+PCbsMxnTUeKMX3xBCcqIHxeAdzI= -github.com/pulumi/pulumi/sdk/v3 v3.132.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= +github.com/pulumi/pulumi/sdk/v3 v3.136.1 h1:VJWTgdBrLvvzIkMbGq/epNEfT65P9gTvw14UF/I7hTI= +github.com/pulumi/pulumi/sdk/v3 v3.136.1/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/provider/cmd/pulumi-resource-aws-native/schema.json b/provider/cmd/pulumi-resource-aws-native/schema.json index 73be9ba94f..7c55876f15 100644 --- a/provider/cmd/pulumi-resource-aws-native/schema.json +++ b/provider/cmd/pulumi-resource-aws-native/schema.json @@ -165467,7 +165467,7 @@ ] }, "aws-native:acmpca:CertificateAuthority": { - "description": "Private certificate authority.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var rootCA = new AwsNative.Acmpca.CertificateAuthority(\"rootCA\", new()\n {\n Type = \"ROOT\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.Acmpca.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n CommonName = \"123\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n RevocationConfiguration = new AwsNative.Acmpca.Inputs.CertificateAuthorityRevocationConfigurationArgs\n {\n CrlConfiguration = new AwsNative.Acmpca.Inputs.CertificateAuthorityCrlConfigurationArgs\n {\n Enabled = false,\n },\n },\n });\n\n var rootCACertificate = new AwsNative.Acmpca.Certificate(\"rootCACertificate\", new()\n {\n CertificateAuthorityArn = rootCA.Id,\n CertificateSigningRequest = rootCA.CertificateSigningRequest,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n Validity = new AwsNative.Acmpca.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 100,\n },\n });\n\n var rootCAActivation = new AwsNative.Acmpca.CertificateAuthorityActivation(\"rootCAActivation\", new()\n {\n CertificateAuthorityArn = rootCA.Id,\n Certificate = rootCACertificate.Certificate,\n Status = \"ACTIVE\",\n });\n\n var rootCAPermission = new AwsNative.Acmpca.Permission(\"rootCAPermission\", new()\n {\n Actions = new[]\n {\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n },\n CertificateAuthorityArn = rootCA.Id,\n Principal = \"acm.amazonaws.com\",\n });\n\n var subordinateCAOne = new AwsNative.Acmpca.CertificateAuthority(\"subordinateCAOne\", new()\n {\n Type = \"SUBORDINATE\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.Acmpca.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n CommonName = \"Sub1\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n RevocationConfiguration = null,\n Tags = new[] {},\n });\n\n var subordinateCAOneCACertificate = new AwsNative.Acmpca.Certificate(\"subordinateCAOneCACertificate\", new()\n {\n CertificateAuthorityArn = rootCA.Id,\n CertificateSigningRequest = subordinateCAOne.CertificateSigningRequest,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n Validity = new AwsNative.Acmpca.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 90,\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n rootCAActivation,\n },\n });\n\n var subordinateCAOneActivation = new AwsNative.Acmpca.CertificateAuthorityActivation(\"subordinateCAOneActivation\", new()\n {\n CertificateAuthorityArn = subordinateCAOne.Id,\n Certificate = subordinateCAOneCACertificate.Certificate,\n CertificateChain = rootCAActivation.CompleteCertificateChain,\n Status = \"ACTIVE\",\n });\n\n var subordinateCAOnePermission = new AwsNative.Acmpca.Permission(\"subordinateCAOnePermission\", new()\n {\n Actions = new[]\n {\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n },\n CertificateAuthorityArn = subordinateCAOne.Id,\n Principal = \"acm.amazonaws.com\",\n });\n\n var subordinateCATwo = new AwsNative.Acmpca.CertificateAuthority(\"subordinateCATwo\", new()\n {\n Type = \"SUBORDINATE\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.Acmpca.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n Tags = new[]\n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Key1\",\n Value = \"Value1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Key2\",\n Value = \"Value2\",\n },\n },\n });\n\n var subordinateCATwoCACertificate = new AwsNative.Acmpca.Certificate(\"subordinateCATwoCACertificate\", new()\n {\n CertificateAuthorityArn = subordinateCAOne.Id,\n CertificateSigningRequest = subordinateCATwo.CertificateSigningRequest,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n Validity = new AwsNative.Acmpca.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 80,\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n subordinateCAOneActivation,\n },\n });\n\n var subordinateCATwoActivation = new AwsNative.Acmpca.CertificateAuthorityActivation(\"subordinateCATwoActivation\", new()\n {\n CertificateAuthorityArn = subordinateCATwo.Id,\n Certificate = subordinateCATwoCACertificate.Certificate,\n CertificateChain = subordinateCAOneActivation.CompleteCertificateChain,\n });\n\n var subordinateCATwoPermission = new AwsNative.Acmpca.Permission(\"subordinateCATwoPermission\", new()\n {\n Actions = new[]\n {\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n },\n CertificateAuthorityArn = subordinateCATwo.Id,\n Principal = \"acm.amazonaws.com\",\n });\n\n var endEntityCertificate = new AwsNative.Acmpca.Certificate(\"endEntityCertificate\", new()\n {\n CertificateAuthorityArn = subordinateCATwo.Id,\n CertificateSigningRequest = @\"-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Validity = new AwsNative.Acmpca.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 70,\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n subordinateCATwoActivation,\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"completeCertificateChain\"] = subordinateCATwoActivation.CompleteCertificateChain,\n [\"certificateArn\"] = endEntityCertificate.Arn,\n };\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tawsnative \"github.com/pulumi/pulumi-aws-native/sdk/go/aws\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/acmpca\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\trootCA, err := acmpca.NewCertificateAuthority(ctx, \"rootCA\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"ROOT\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tCommonName: pulumi.String(\"123\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tRevocationConfiguration: \u0026acmpca.CertificateAuthorityRevocationConfigurationArgs{\n\t\t\t\tCrlConfiguration: \u0026acmpca.CertificateAuthorityCrlConfigurationArgs{\n\t\t\t\t\tEnabled: pulumi.Bool(false),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootCACertificate, err := acmpca.NewCertificate(ctx, \"rootCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificateSigningRequest: rootCA.CertificateSigningRequest,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/RootCACertificate/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(100),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootCAActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"rootCAActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificate: rootCACertificate.Certificate,\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = acmpca.NewPermission(ctx, \"rootCAPermission\", \u0026acmpca.PermissionArgs{\n\t\t\tActions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"IssueCertificate\"),\n\t\t\t\tpulumi.String(\"GetCertificate\"),\n\t\t\t\tpulumi.String(\"ListPermissions\"),\n\t\t\t},\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tPrincipal: pulumi.String(\"acm.amazonaws.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOne, err := acmpca.NewCertificateAuthority(ctx, \"subordinateCAOne\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"SUBORDINATE\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tCommonName: pulumi.String(\"Sub1\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tRevocationConfiguration: nil,\n\t\t\tTags: aws.TagArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOneCACertificate, err := acmpca.NewCertificate(ctx, \"subordinateCAOneCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificateSigningRequest: subordinateCAOne.CertificateSigningRequest,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(90),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\trootCAActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOneActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"subordinateCAOneActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: subordinateCAOne.ID(),\n\t\t\tCertificate: subordinateCAOneCACertificate.Certificate,\n\t\t\tCertificateChain: rootCAActivation.CompleteCertificateChain,\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = acmpca.NewPermission(ctx, \"subordinateCAOnePermission\", \u0026acmpca.PermissionArgs{\n\t\t\tActions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"IssueCertificate\"),\n\t\t\t\tpulumi.String(\"GetCertificate\"),\n\t\t\t\tpulumi.String(\"ListPermissions\"),\n\t\t\t},\n\t\t\tCertificateAuthorityArn: subordinateCAOne.ID(),\n\t\t\tPrincipal: pulumi.String(\"acm.amazonaws.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwo, err := acmpca.NewCertificateAuthority(ctx, \"subordinateCATwo\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"SUBORDINATE\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tTags: aws.TagArray{\n\t\t\t\t\u0026aws.TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Key1\"),\n\t\t\t\t\tValue: pulumi.String(\"Value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026aws.TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Key2\"),\n\t\t\t\t\tValue: pulumi.String(\"Value2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwoCACertificate, err := acmpca.NewCertificate(ctx, \"subordinateCATwoCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: subordinateCAOne.ID(),\n\t\t\tCertificateSigningRequest: subordinateCATwo.CertificateSigningRequest,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(80),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tsubordinateCAOneActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwoActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"subordinateCATwoActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: subordinateCATwo.ID(),\n\t\t\tCertificate: subordinateCATwoCACertificate.Certificate,\n\t\t\tCertificateChain: subordinateCAOneActivation.CompleteCertificateChain,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = acmpca.NewPermission(ctx, \"subordinateCATwoPermission\", \u0026acmpca.PermissionArgs{\n\t\t\tActions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"IssueCertificate\"),\n\t\t\t\tpulumi.String(\"GetCertificate\"),\n\t\t\t\tpulumi.String(\"ListPermissions\"),\n\t\t\t},\n\t\t\tCertificateAuthorityArn: subordinateCATwo.ID(),\n\t\t\tPrincipal: pulumi.String(\"acm.amazonaws.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tendEntityCertificate, err := acmpca.NewCertificate(ctx, \"endEntityCertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: subordinateCATwo.ID(),\n\t\t\tCertificateSigningRequest: pulumi.String(`-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----`),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(70),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tsubordinateCATwoActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"completeCertificateChain\", subordinateCATwoActivation.CompleteCertificateChain)\n\t\tctx.Export(\"certificateArn\", endEntityCertificate.Arn)\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst rootCA = new aws_native.acmpca.CertificateAuthority(\"rootCA\", {\n type: \"ROOT\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n commonName: \"123\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n revocationConfiguration: {\n crlConfiguration: {\n enabled: false,\n },\n },\n});\nconst rootCACertificate = new aws_native.acmpca.Certificate(\"rootCACertificate\", {\n certificateAuthorityArn: rootCA.id,\n certificateSigningRequest: rootCA.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n validity: {\n type: \"DAYS\",\n value: 100,\n },\n});\nconst rootCAActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"rootCAActivation\", {\n certificateAuthorityArn: rootCA.id,\n certificate: rootCACertificate.certificate,\n status: \"ACTIVE\",\n});\nconst rootCAPermission = new aws_native.acmpca.Permission(\"rootCAPermission\", {\n actions: [\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificateAuthorityArn: rootCA.id,\n principal: \"acm.amazonaws.com\",\n});\nconst subordinateCAOne = new aws_native.acmpca.CertificateAuthority(\"subordinateCAOne\", {\n type: \"SUBORDINATE\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n commonName: \"Sub1\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n revocationConfiguration: {},\n tags: [],\n});\nconst subordinateCAOneCACertificate = new aws_native.acmpca.Certificate(\"subordinateCAOneCACertificate\", {\n certificateAuthorityArn: rootCA.id,\n certificateSigningRequest: subordinateCAOne.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n validity: {\n type: \"DAYS\",\n value: 90,\n },\n}, {\n dependsOn: [rootCAActivation],\n});\nconst subordinateCAOneActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCAOneActivation\", {\n certificateAuthorityArn: subordinateCAOne.id,\n certificate: subordinateCAOneCACertificate.certificate,\n certificateChain: rootCAActivation.completeCertificateChain,\n status: \"ACTIVE\",\n});\nconst subordinateCAOnePermission = new aws_native.acmpca.Permission(\"subordinateCAOnePermission\", {\n actions: [\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificateAuthorityArn: subordinateCAOne.id,\n principal: \"acm.amazonaws.com\",\n});\nconst subordinateCATwo = new aws_native.acmpca.CertificateAuthority(\"subordinateCATwo\", {\n type: \"SUBORDINATE\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n tags: [\n {\n key: \"Key1\",\n value: \"Value1\",\n },\n {\n key: \"Key2\",\n value: \"Value2\",\n },\n ],\n});\nconst subordinateCATwoCACertificate = new aws_native.acmpca.Certificate(\"subordinateCATwoCACertificate\", {\n certificateAuthorityArn: subordinateCAOne.id,\n certificateSigningRequest: subordinateCATwo.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n validity: {\n type: \"DAYS\",\n value: 80,\n },\n}, {\n dependsOn: [subordinateCAOneActivation],\n});\nconst subordinateCATwoActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCATwoActivation\", {\n certificateAuthorityArn: subordinateCATwo.id,\n certificate: subordinateCATwoCACertificate.certificate,\n certificateChain: subordinateCAOneActivation.completeCertificateChain,\n});\nconst subordinateCATwoPermission = new aws_native.acmpca.Permission(\"subordinateCATwoPermission\", {\n actions: [\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificateAuthorityArn: subordinateCATwo.id,\n principal: \"acm.amazonaws.com\",\n});\nconst endEntityCertificate = new aws_native.acmpca.Certificate(\"endEntityCertificate\", {\n certificateAuthorityArn: subordinateCATwo.id,\n certificateSigningRequest: `-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----`,\n signingAlgorithm: \"SHA256WITHRSA\",\n validity: {\n type: \"DAYS\",\n value: 70,\n },\n}, {\n dependsOn: [subordinateCATwoActivation],\n});\nexport const completeCertificateChain = subordinateCATwoActivation.completeCertificateChain;\nexport const certificateArn = endEntityCertificate.arn;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nroot_ca = aws_native.acmpca.CertificateAuthority(\"rootCA\",\n type=\"ROOT\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject={\n \"country\": \"US\",\n \"organization\": \"string\",\n \"organizational_unit\": \"string\",\n \"distinguished_name_qualifier\": \"string\",\n \"state\": \"string\",\n \"common_name\": \"123\",\n \"serial_number\": \"string\",\n \"locality\": \"string\",\n \"title\": \"string\",\n \"surname\": \"string\",\n \"given_name\": \"string\",\n \"initials\": \"DG\",\n \"pseudonym\": \"string\",\n \"generation_qualifier\": \"DBG\",\n },\n revocation_configuration={\n \"crl_configuration\": {\n \"enabled\": False,\n },\n })\nroot_ca_certificate = aws_native.acmpca.Certificate(\"rootCACertificate\",\n certificate_authority_arn=root_ca.id,\n certificate_signing_request=root_ca.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n validity={\n \"type\": \"DAYS\",\n \"value\": 100,\n })\nroot_ca_activation = aws_native.acmpca.CertificateAuthorityActivation(\"rootCAActivation\",\n certificate_authority_arn=root_ca.id,\n certificate=root_ca_certificate.certificate,\n status=\"ACTIVE\")\nroot_ca_permission = aws_native.acmpca.Permission(\"rootCAPermission\",\n actions=[\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificate_authority_arn=root_ca.id,\n principal=\"acm.amazonaws.com\")\nsubordinate_ca_one = aws_native.acmpca.CertificateAuthority(\"subordinateCAOne\",\n type=\"SUBORDINATE\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject={\n \"country\": \"US\",\n \"organization\": \"string\",\n \"organizational_unit\": \"string\",\n \"distinguished_name_qualifier\": \"string\",\n \"state\": \"string\",\n \"common_name\": \"Sub1\",\n \"serial_number\": \"string\",\n \"locality\": \"string\",\n \"title\": \"string\",\n \"surname\": \"string\",\n \"given_name\": \"string\",\n \"initials\": \"DG\",\n \"pseudonym\": \"string\",\n \"generation_qualifier\": \"DBG\",\n },\n revocation_configuration={},\n tags=[])\nsubordinate_ca_one_ca_certificate = aws_native.acmpca.Certificate(\"subordinateCAOneCACertificate\",\n certificate_authority_arn=root_ca.id,\n certificate_signing_request=subordinate_ca_one.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n validity={\n \"type\": \"DAYS\",\n \"value\": 90,\n },\n opts = pulumi.ResourceOptions(depends_on=[root_ca_activation]))\nsubordinate_ca_one_activation = aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCAOneActivation\",\n certificate_authority_arn=subordinate_ca_one.id,\n certificate=subordinate_ca_one_ca_certificate.certificate,\n certificate_chain=root_ca_activation.complete_certificate_chain,\n status=\"ACTIVE\")\nsubordinate_ca_one_permission = aws_native.acmpca.Permission(\"subordinateCAOnePermission\",\n actions=[\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificate_authority_arn=subordinate_ca_one.id,\n principal=\"acm.amazonaws.com\")\nsubordinate_ca_two = aws_native.acmpca.CertificateAuthority(\"subordinateCATwo\",\n type=\"SUBORDINATE\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject={\n \"country\": \"US\",\n \"organization\": \"string\",\n \"organizational_unit\": \"string\",\n \"distinguished_name_qualifier\": \"string\",\n \"state\": \"string\",\n \"serial_number\": \"string\",\n \"locality\": \"string\",\n \"title\": \"string\",\n \"surname\": \"string\",\n \"given_name\": \"string\",\n \"initials\": \"DG\",\n \"pseudonym\": \"string\",\n \"generation_qualifier\": \"DBG\",\n },\n tags=[\n {\n \"key\": \"Key1\",\n \"value\": \"Value1\",\n },\n {\n \"key\": \"Key2\",\n \"value\": \"Value2\",\n },\n ])\nsubordinate_ca_two_ca_certificate = aws_native.acmpca.Certificate(\"subordinateCATwoCACertificate\",\n certificate_authority_arn=subordinate_ca_one.id,\n certificate_signing_request=subordinate_ca_two.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n validity={\n \"type\": \"DAYS\",\n \"value\": 80,\n },\n opts = pulumi.ResourceOptions(depends_on=[subordinate_ca_one_activation]))\nsubordinate_ca_two_activation = aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCATwoActivation\",\n certificate_authority_arn=subordinate_ca_two.id,\n certificate=subordinate_ca_two_ca_certificate.certificate,\n certificate_chain=subordinate_ca_one_activation.complete_certificate_chain)\nsubordinate_ca_two_permission = aws_native.acmpca.Permission(\"subordinateCATwoPermission\",\n actions=[\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificate_authority_arn=subordinate_ca_two.id,\n principal=\"acm.amazonaws.com\")\nend_entity_certificate = aws_native.acmpca.Certificate(\"endEntityCertificate\",\n certificate_authority_arn=subordinate_ca_two.id,\n certificate_signing_request=\"\"\"-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----\"\"\",\n signing_algorithm=\"SHA256WITHRSA\",\n validity={\n \"type\": \"DAYS\",\n \"value\": 70,\n },\n opts = pulumi.ResourceOptions(depends_on=[subordinate_ca_two_activation]))\npulumi.export(\"completeCertificateChain\", subordinate_ca_two_activation.complete_certificate_chain)\npulumi.export(\"certificateArn\", end_entity_certificate.arn)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", + "description": "Private certificate authority.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Example\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AwsNative = Pulumi.AwsNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var rootCA = new AwsNative.Acmpca.CertificateAuthority(\"rootCA\", new()\n {\n Type = \"ROOT\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.Acmpca.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n CommonName = \"123\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n RevocationConfiguration = new AwsNative.Acmpca.Inputs.CertificateAuthorityRevocationConfigurationArgs\n {\n CrlConfiguration = new AwsNative.Acmpca.Inputs.CertificateAuthorityCrlConfigurationArgs\n {\n Enabled = false,\n },\n },\n });\n\n var rootCACertificate = new AwsNative.Acmpca.Certificate(\"rootCACertificate\", new()\n {\n CertificateAuthorityArn = rootCA.Id,\n CertificateSigningRequest = rootCA.CertificateSigningRequest,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n Validity = new AwsNative.Acmpca.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 100,\n },\n });\n\n var rootCAActivation = new AwsNative.Acmpca.CertificateAuthorityActivation(\"rootCAActivation\", new()\n {\n CertificateAuthorityArn = rootCA.Id,\n Certificate = rootCACertificate.Certificate,\n Status = \"ACTIVE\",\n });\n\n var rootCAPermission = new AwsNative.Acmpca.Permission(\"rootCAPermission\", new()\n {\n Actions = new[]\n {\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n },\n CertificateAuthorityArn = rootCA.Id,\n Principal = \"acm.amazonaws.com\",\n });\n\n var subordinateCAOne = new AwsNative.Acmpca.CertificateAuthority(\"subordinateCAOne\", new()\n {\n Type = \"SUBORDINATE\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.Acmpca.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n CommonName = \"Sub1\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n RevocationConfiguration = null,\n Tags = new[] {},\n });\n\n var subordinateCAOneCACertificate = new AwsNative.Acmpca.Certificate(\"subordinateCAOneCACertificate\", new()\n {\n CertificateAuthorityArn = rootCA.Id,\n CertificateSigningRequest = subordinateCAOne.CertificateSigningRequest,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n Validity = new AwsNative.Acmpca.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 90,\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n rootCAActivation,\n },\n });\n\n var subordinateCAOneActivation = new AwsNative.Acmpca.CertificateAuthorityActivation(\"subordinateCAOneActivation\", new()\n {\n CertificateAuthorityArn = subordinateCAOne.Id,\n Certificate = subordinateCAOneCACertificate.Certificate,\n CertificateChain = rootCAActivation.CompleteCertificateChain,\n Status = \"ACTIVE\",\n });\n\n var subordinateCAOnePermission = new AwsNative.Acmpca.Permission(\"subordinateCAOnePermission\", new()\n {\n Actions = new[]\n {\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n },\n CertificateAuthorityArn = subordinateCAOne.Id,\n Principal = \"acm.amazonaws.com\",\n });\n\n var subordinateCATwo = new AwsNative.Acmpca.CertificateAuthority(\"subordinateCATwo\", new()\n {\n Type = \"SUBORDINATE\",\n KeyAlgorithm = \"RSA_2048\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Subject = new AwsNative.Acmpca.Inputs.CertificateAuthoritySubjectArgs\n {\n Country = \"US\",\n Organization = \"string\",\n OrganizationalUnit = \"string\",\n DistinguishedNameQualifier = \"string\",\n State = \"string\",\n SerialNumber = \"string\",\n Locality = \"string\",\n Title = \"string\",\n Surname = \"string\",\n GivenName = \"string\",\n Initials = \"DG\",\n Pseudonym = \"string\",\n GenerationQualifier = \"DBG\",\n },\n Tags = new[]\n {\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Key1\",\n Value = \"Value1\",\n },\n new AwsNative.Inputs.TagArgs\n {\n Key = \"Key2\",\n Value = \"Value2\",\n },\n },\n });\n\n var subordinateCATwoCACertificate = new AwsNative.Acmpca.Certificate(\"subordinateCATwoCACertificate\", new()\n {\n CertificateAuthorityArn = subordinateCAOne.Id,\n CertificateSigningRequest = subordinateCATwo.CertificateSigningRequest,\n SigningAlgorithm = \"SHA256WITHRSA\",\n TemplateArn = \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n Validity = new AwsNative.Acmpca.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 80,\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n subordinateCAOneActivation,\n },\n });\n\n var subordinateCATwoActivation = new AwsNative.Acmpca.CertificateAuthorityActivation(\"subordinateCATwoActivation\", new()\n {\n CertificateAuthorityArn = subordinateCATwo.Id,\n Certificate = subordinateCATwoCACertificate.Certificate,\n CertificateChain = subordinateCAOneActivation.CompleteCertificateChain,\n });\n\n var subordinateCATwoPermission = new AwsNative.Acmpca.Permission(\"subordinateCATwoPermission\", new()\n {\n Actions = new[]\n {\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n },\n CertificateAuthorityArn = subordinateCATwo.Id,\n Principal = \"acm.amazonaws.com\",\n });\n\n var endEntityCertificate = new AwsNative.Acmpca.Certificate(\"endEntityCertificate\", new()\n {\n CertificateAuthorityArn = subordinateCATwo.Id,\n CertificateSigningRequest = @\"-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----\",\n SigningAlgorithm = \"SHA256WITHRSA\",\n Validity = new AwsNative.Acmpca.Inputs.CertificateValidityArgs\n {\n Type = \"DAYS\",\n Value = 70,\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n subordinateCATwoActivation,\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"completeCertificateChain\"] = subordinateCATwoActivation.CompleteCertificateChain,\n [\"certificateArn\"] = endEntityCertificate.Arn,\n };\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tawsnative \"github.com/pulumi/pulumi-aws-native/sdk/go/aws\"\n\t\"github.com/pulumi/pulumi-aws-native/sdk/go/aws/acmpca\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\trootCA, err := acmpca.NewCertificateAuthority(ctx, \"rootCA\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"ROOT\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tCommonName: pulumi.String(\"123\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tRevocationConfiguration: \u0026acmpca.CertificateAuthorityRevocationConfigurationArgs{\n\t\t\t\tCrlConfiguration: \u0026acmpca.CertificateAuthorityCrlConfigurationArgs{\n\t\t\t\t\tEnabled: pulumi.Bool(false),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootCACertificate, err := acmpca.NewCertificate(ctx, \"rootCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificateSigningRequest: rootCA.CertificateSigningRequest,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/RootCACertificate/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(100),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\trootCAActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"rootCAActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificate: rootCACertificate.Certificate,\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = acmpca.NewPermission(ctx, \"rootCAPermission\", \u0026acmpca.PermissionArgs{\n\t\t\tActions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"IssueCertificate\"),\n\t\t\t\tpulumi.String(\"GetCertificate\"),\n\t\t\t\tpulumi.String(\"ListPermissions\"),\n\t\t\t},\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tPrincipal: pulumi.String(\"acm.amazonaws.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOne, err := acmpca.NewCertificateAuthority(ctx, \"subordinateCAOne\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"SUBORDINATE\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tCommonName: pulumi.String(\"Sub1\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tRevocationConfiguration: \u0026acmpca.CertificateAuthorityRevocationConfigurationArgs{},\n\t\t\tTags: aws.TagArray{},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOneCACertificate, err := acmpca.NewCertificate(ctx, \"subordinateCAOneCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: rootCA.ID(),\n\t\t\tCertificateSigningRequest: subordinateCAOne.CertificateSigningRequest,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(90),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\trootCAActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCAOneActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"subordinateCAOneActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: subordinateCAOne.ID(),\n\t\t\tCertificate: subordinateCAOneCACertificate.Certificate,\n\t\t\tCertificateChain: rootCAActivation.CompleteCertificateChain,\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = acmpca.NewPermission(ctx, \"subordinateCAOnePermission\", \u0026acmpca.PermissionArgs{\n\t\t\tActions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"IssueCertificate\"),\n\t\t\t\tpulumi.String(\"GetCertificate\"),\n\t\t\t\tpulumi.String(\"ListPermissions\"),\n\t\t\t},\n\t\t\tCertificateAuthorityArn: subordinateCAOne.ID(),\n\t\t\tPrincipal: pulumi.String(\"acm.amazonaws.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwo, err := acmpca.NewCertificateAuthority(ctx, \"subordinateCATwo\", \u0026acmpca.CertificateAuthorityArgs{\n\t\t\tType: pulumi.String(\"SUBORDINATE\"),\n\t\t\tKeyAlgorithm: pulumi.String(\"RSA_2048\"),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tSubject: \u0026acmpca.CertificateAuthoritySubjectArgs{\n\t\t\t\tCountry: pulumi.String(\"US\"),\n\t\t\t\tOrganization: pulumi.String(\"string\"),\n\t\t\t\tOrganizationalUnit: pulumi.String(\"string\"),\n\t\t\t\tDistinguishedNameQualifier: pulumi.String(\"string\"),\n\t\t\t\tState: pulumi.String(\"string\"),\n\t\t\t\tSerialNumber: pulumi.String(\"string\"),\n\t\t\t\tLocality: pulumi.String(\"string\"),\n\t\t\t\tTitle: pulumi.String(\"string\"),\n\t\t\t\tSurname: pulumi.String(\"string\"),\n\t\t\t\tGivenName: pulumi.String(\"string\"),\n\t\t\t\tInitials: pulumi.String(\"DG\"),\n\t\t\t\tPseudonym: pulumi.String(\"string\"),\n\t\t\t\tGenerationQualifier: pulumi.String(\"DBG\"),\n\t\t\t},\n\t\t\tTags: aws.TagArray{\n\t\t\t\t\u0026aws.TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Key1\"),\n\t\t\t\t\tValue: pulumi.String(\"Value1\"),\n\t\t\t\t},\n\t\t\t\t\u0026aws.TagArgs{\n\t\t\t\t\tKey: pulumi.String(\"Key2\"),\n\t\t\t\t\tValue: pulumi.String(\"Value2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwoCACertificate, err := acmpca.NewCertificate(ctx, \"subordinateCATwoCACertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: subordinateCAOne.ID(),\n\t\t\tCertificateSigningRequest: subordinateCATwo.CertificateSigningRequest,\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tTemplateArn: pulumi.String(\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(80),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tsubordinateCAOneActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tsubordinateCATwoActivation, err := acmpca.NewCertificateAuthorityActivation(ctx, \"subordinateCATwoActivation\", \u0026acmpca.CertificateAuthorityActivationArgs{\n\t\t\tCertificateAuthorityArn: subordinateCATwo.ID(),\n\t\t\tCertificate: subordinateCATwoCACertificate.Certificate,\n\t\t\tCertificateChain: subordinateCAOneActivation.CompleteCertificateChain,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = acmpca.NewPermission(ctx, \"subordinateCATwoPermission\", \u0026acmpca.PermissionArgs{\n\t\t\tActions: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"IssueCertificate\"),\n\t\t\t\tpulumi.String(\"GetCertificate\"),\n\t\t\t\tpulumi.String(\"ListPermissions\"),\n\t\t\t},\n\t\t\tCertificateAuthorityArn: subordinateCATwo.ID(),\n\t\t\tPrincipal: pulumi.String(\"acm.amazonaws.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tendEntityCertificate, err := acmpca.NewCertificate(ctx, \"endEntityCertificate\", \u0026acmpca.CertificateArgs{\n\t\t\tCertificateAuthorityArn: subordinateCATwo.ID(),\n\t\t\tCertificateSigningRequest: pulumi.String(`-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----`),\n\t\t\tSigningAlgorithm: pulumi.String(\"SHA256WITHRSA\"),\n\t\t\tValidity: \u0026acmpca.CertificateValidityArgs{\n\t\t\t\tType: pulumi.String(\"DAYS\"),\n\t\t\t\tValue: pulumi.Float64(70),\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tsubordinateCATwoActivation,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"completeCertificateChain\", subordinateCATwoActivation.CompleteCertificateChain)\n\t\tctx.Export(\"certificateArn\", endEntityCertificate.Arn)\n\t\treturn nil\n\t})\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as aws_native from \"@pulumi/aws-native\";\n\nconst rootCA = new aws_native.acmpca.CertificateAuthority(\"rootCA\", {\n type: \"ROOT\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n commonName: \"123\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n revocationConfiguration: {\n crlConfiguration: {\n enabled: false,\n },\n },\n});\nconst rootCACertificate = new aws_native.acmpca.Certificate(\"rootCACertificate\", {\n certificateAuthorityArn: rootCA.id,\n certificateSigningRequest: rootCA.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n validity: {\n type: \"DAYS\",\n value: 100,\n },\n});\nconst rootCAActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"rootCAActivation\", {\n certificateAuthorityArn: rootCA.id,\n certificate: rootCACertificate.certificate,\n status: \"ACTIVE\",\n});\nconst rootCAPermission = new aws_native.acmpca.Permission(\"rootCAPermission\", {\n actions: [\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificateAuthorityArn: rootCA.id,\n principal: \"acm.amazonaws.com\",\n});\nconst subordinateCAOne = new aws_native.acmpca.CertificateAuthority(\"subordinateCAOne\", {\n type: \"SUBORDINATE\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n commonName: \"Sub1\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n revocationConfiguration: {},\n tags: [],\n});\nconst subordinateCAOneCACertificate = new aws_native.acmpca.Certificate(\"subordinateCAOneCACertificate\", {\n certificateAuthorityArn: rootCA.id,\n certificateSigningRequest: subordinateCAOne.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n validity: {\n type: \"DAYS\",\n value: 90,\n },\n}, {\n dependsOn: [rootCAActivation],\n});\nconst subordinateCAOneActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCAOneActivation\", {\n certificateAuthorityArn: subordinateCAOne.id,\n certificate: subordinateCAOneCACertificate.certificate,\n certificateChain: rootCAActivation.completeCertificateChain,\n status: \"ACTIVE\",\n});\nconst subordinateCAOnePermission = new aws_native.acmpca.Permission(\"subordinateCAOnePermission\", {\n actions: [\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificateAuthorityArn: subordinateCAOne.id,\n principal: \"acm.amazonaws.com\",\n});\nconst subordinateCATwo = new aws_native.acmpca.CertificateAuthority(\"subordinateCATwo\", {\n type: \"SUBORDINATE\",\n keyAlgorithm: \"RSA_2048\",\n signingAlgorithm: \"SHA256WITHRSA\",\n subject: {\n country: \"US\",\n organization: \"string\",\n organizationalUnit: \"string\",\n distinguishedNameQualifier: \"string\",\n state: \"string\",\n serialNumber: \"string\",\n locality: \"string\",\n title: \"string\",\n surname: \"string\",\n givenName: \"string\",\n initials: \"DG\",\n pseudonym: \"string\",\n generationQualifier: \"DBG\",\n },\n tags: [\n {\n key: \"Key1\",\n value: \"Value1\",\n },\n {\n key: \"Key2\",\n value: \"Value2\",\n },\n ],\n});\nconst subordinateCATwoCACertificate = new aws_native.acmpca.Certificate(\"subordinateCATwoCACertificate\", {\n certificateAuthorityArn: subordinateCAOne.id,\n certificateSigningRequest: subordinateCATwo.certificateSigningRequest,\n signingAlgorithm: \"SHA256WITHRSA\",\n templateArn: \"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n validity: {\n type: \"DAYS\",\n value: 80,\n },\n}, {\n dependsOn: [subordinateCAOneActivation],\n});\nconst subordinateCATwoActivation = new aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCATwoActivation\", {\n certificateAuthorityArn: subordinateCATwo.id,\n certificate: subordinateCATwoCACertificate.certificate,\n certificateChain: subordinateCAOneActivation.completeCertificateChain,\n});\nconst subordinateCATwoPermission = new aws_native.acmpca.Permission(\"subordinateCATwoPermission\", {\n actions: [\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificateAuthorityArn: subordinateCATwo.id,\n principal: \"acm.amazonaws.com\",\n});\nconst endEntityCertificate = new aws_native.acmpca.Certificate(\"endEntityCertificate\", {\n certificateAuthorityArn: subordinateCATwo.id,\n certificateSigningRequest: `-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----`,\n signingAlgorithm: \"SHA256WITHRSA\",\n validity: {\n type: \"DAYS\",\n value: 70,\n },\n}, {\n dependsOn: [subordinateCATwoActivation],\n});\nexport const completeCertificateChain = subordinateCATwoActivation.completeCertificateChain;\nexport const certificateArn = endEntityCertificate.arn;\n\n```\n\n```python\nimport pulumi\nimport pulumi_aws_native as aws_native\n\nroot_ca = aws_native.acmpca.CertificateAuthority(\"rootCA\",\n type=\"ROOT\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject={\n \"country\": \"US\",\n \"organization\": \"string\",\n \"organizational_unit\": \"string\",\n \"distinguished_name_qualifier\": \"string\",\n \"state\": \"string\",\n \"common_name\": \"123\",\n \"serial_number\": \"string\",\n \"locality\": \"string\",\n \"title\": \"string\",\n \"surname\": \"string\",\n \"given_name\": \"string\",\n \"initials\": \"DG\",\n \"pseudonym\": \"string\",\n \"generation_qualifier\": \"DBG\",\n },\n revocation_configuration={\n \"crl_configuration\": {\n \"enabled\": False,\n },\n })\nroot_ca_certificate = aws_native.acmpca.Certificate(\"rootCACertificate\",\n certificate_authority_arn=root_ca.id,\n certificate_signing_request=root_ca.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/RootCACertificate/V1\",\n validity={\n \"type\": \"DAYS\",\n \"value\": 100,\n })\nroot_ca_activation = aws_native.acmpca.CertificateAuthorityActivation(\"rootCAActivation\",\n certificate_authority_arn=root_ca.id,\n certificate=root_ca_certificate.certificate,\n status=\"ACTIVE\")\nroot_ca_permission = aws_native.acmpca.Permission(\"rootCAPermission\",\n actions=[\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificate_authority_arn=root_ca.id,\n principal=\"acm.amazonaws.com\")\nsubordinate_ca_one = aws_native.acmpca.CertificateAuthority(\"subordinateCAOne\",\n type=\"SUBORDINATE\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject={\n \"country\": \"US\",\n \"organization\": \"string\",\n \"organizational_unit\": \"string\",\n \"distinguished_name_qualifier\": \"string\",\n \"state\": \"string\",\n \"common_name\": \"Sub1\",\n \"serial_number\": \"string\",\n \"locality\": \"string\",\n \"title\": \"string\",\n \"surname\": \"string\",\n \"given_name\": \"string\",\n \"initials\": \"DG\",\n \"pseudonym\": \"string\",\n \"generation_qualifier\": \"DBG\",\n },\n revocation_configuration={},\n tags=[])\nsubordinate_ca_one_ca_certificate = aws_native.acmpca.Certificate(\"subordinateCAOneCACertificate\",\n certificate_authority_arn=root_ca.id,\n certificate_signing_request=subordinate_ca_one.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen3/V1\",\n validity={\n \"type\": \"DAYS\",\n \"value\": 90,\n },\n opts = pulumi.ResourceOptions(depends_on=[root_ca_activation]))\nsubordinate_ca_one_activation = aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCAOneActivation\",\n certificate_authority_arn=subordinate_ca_one.id,\n certificate=subordinate_ca_one_ca_certificate.certificate,\n certificate_chain=root_ca_activation.complete_certificate_chain,\n status=\"ACTIVE\")\nsubordinate_ca_one_permission = aws_native.acmpca.Permission(\"subordinateCAOnePermission\",\n actions=[\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificate_authority_arn=subordinate_ca_one.id,\n principal=\"acm.amazonaws.com\")\nsubordinate_ca_two = aws_native.acmpca.CertificateAuthority(\"subordinateCATwo\",\n type=\"SUBORDINATE\",\n key_algorithm=\"RSA_2048\",\n signing_algorithm=\"SHA256WITHRSA\",\n subject={\n \"country\": \"US\",\n \"organization\": \"string\",\n \"organizational_unit\": \"string\",\n \"distinguished_name_qualifier\": \"string\",\n \"state\": \"string\",\n \"serial_number\": \"string\",\n \"locality\": \"string\",\n \"title\": \"string\",\n \"surname\": \"string\",\n \"given_name\": \"string\",\n \"initials\": \"DG\",\n \"pseudonym\": \"string\",\n \"generation_qualifier\": \"DBG\",\n },\n tags=[\n {\n \"key\": \"Key1\",\n \"value\": \"Value1\",\n },\n {\n \"key\": \"Key2\",\n \"value\": \"Value2\",\n },\n ])\nsubordinate_ca_two_ca_certificate = aws_native.acmpca.Certificate(\"subordinateCATwoCACertificate\",\n certificate_authority_arn=subordinate_ca_one.id,\n certificate_signing_request=subordinate_ca_two.certificate_signing_request,\n signing_algorithm=\"SHA256WITHRSA\",\n template_arn=\"arn:aws:acm-pca:::template/SubordinateCACertificate_PathLen2/V1\",\n validity={\n \"type\": \"DAYS\",\n \"value\": 80,\n },\n opts = pulumi.ResourceOptions(depends_on=[subordinate_ca_one_activation]))\nsubordinate_ca_two_activation = aws_native.acmpca.CertificateAuthorityActivation(\"subordinateCATwoActivation\",\n certificate_authority_arn=subordinate_ca_two.id,\n certificate=subordinate_ca_two_ca_certificate.certificate,\n certificate_chain=subordinate_ca_one_activation.complete_certificate_chain)\nsubordinate_ca_two_permission = aws_native.acmpca.Permission(\"subordinateCATwoPermission\",\n actions=[\n \"IssueCertificate\",\n \"GetCertificate\",\n \"ListPermissions\",\n ],\n certificate_authority_arn=subordinate_ca_two.id,\n principal=\"acm.amazonaws.com\")\nend_entity_certificate = aws_native.acmpca.Certificate(\"endEntityCertificate\",\n certificate_authority_arn=subordinate_ca_two.id,\n certificate_signing_request=\"\"\"-----BEGIN CERTIFICATE REQUEST-----\nMIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxDTALBgNVBAgMBFV0YWgxDzANBgNV\nBAcMBkxpbmRvbjEWMBQGA1UECgwNRGlnaUNlcnQgSW5jLjERMA8GA1UECwwIRGln\naUNlcnQxHTAbBgNVBAMMFGV4YW1wbGUuZGlnaWNlcnQuY29tMIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8+To7d+2kPWeBv/orU3LVbJwDrSQbeKamCmo\nwp5bqDxIwV20zqRb7APUOKYoVEFFOEQs6T6gImnIolhbiH6m4zgZ/CPvWBOkZc+c\n1Po2EmvBz+AD5sBdT5kzGQA6NbWyZGldxRthNLOs1efOhdnWFuhI162qmcflgpiI\nWDuwq4C9f+YkeJhNn9dF5+owm8cOQmDrV8NNdiTqin8q3qYAHHJRW28glJUCZkTZ\nwIaSR6crBQ8TbYNE0dc+Caa3DOIkz1EOsHWzTx+n0zKfqcbgXi4DJx+C1bjptYPR\nBPZL8DAeWuA8ebudVT44yEp82G96/Ggcf7F33xMxe0yc+Xa6owIDAQABoAAwDQYJ\nKoZIhvcNAQEFBQADggEBAB0kcrFccSmFDmxox0Ne01UIqSsDqHgL+XmHTXJwre6D\nhJSZwbvEtOK0G3+dr4Fs11WuUNt5qcLsx5a8uk4G6AKHMzuhLsJ7XZjgmQXGECpY\nQ4mC3yT3ZoCGpIXbw+iP3lmEEXgaQL0Tx5LFl/okKbKYwIqNiyKWOMj7ZR/wxWg/\nZDGRs55xuoeLDJ/ZRFf9bI+IaCUd1YrfYcHIl3G87Av+r49YVwqRDT0VDV7uLgqn\n29XI1PpVUNCPQGn9p/eX6Qo7vpDaPybRtA2R7XLKjQaF9oXWeCUqy1hvJac9QFO2\n97Ob1alpHPoZ7mWiEuJwjBPii6a9M9G30nUo39lBi1w=\n-----END CERTIFICATE REQUEST-----\"\"\",\n signing_algorithm=\"SHA256WITHRSA\",\n validity={\n \"type\": \"DAYS\",\n \"value\": 70,\n },\n opts = pulumi.ResourceOptions(depends_on=[subordinate_ca_two_activation]))\npulumi.export(\"completeCertificateChain\", subordinate_ca_two_activation.complete_certificate_chain)\npulumi.export(\"certificateArn\", end_entity_certificate.arn)\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n", "properties": { "arn": { "type": "string", diff --git a/provider/go.mod b/provider/go.mod index 224d6d2477..537d7f30aa 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -25,8 +25,8 @@ require ( github.com/pulumi/jsschema v0.0.0-20240222154951-2ba83b66ea54 github.com/pulumi/providertest v0.0.10 github.com/pulumi/pulumi-go-provider v0.14.1-0.20240312115843-96cd54a979b1 - github.com/pulumi/pulumi/pkg/v3 v3.132.0 - github.com/pulumi/pulumi/sdk/v3 v3.132.0 + github.com/pulumi/pulumi/pkg/v3 v3.136.1 + github.com/pulumi/pulumi/sdk/v3 v3.136.1 github.com/stretchr/testify v1.9.0 github.com/wI2L/jsondiff v0.5.1 github.com/zclconf/go-cty v1.13.2 diff --git a/provider/go.sum b/provider/go.sum index 651e14d337..5f113cdaea 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -495,10 +495,10 @@ github.com/pulumi/providertest v0.0.10 h1:bx77G0JYPO2Alf/SHRP05XpAYMrboKJkMIVkbF github.com/pulumi/providertest v0.0.10/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= github.com/pulumi/pulumi-go-provider v0.14.1-0.20240312115843-96cd54a979b1 h1:qs1UQ2DyGmx7pixzw3WC9iPT0Cnajbw+etx2fyaMerg= github.com/pulumi/pulumi-go-provider v0.14.1-0.20240312115843-96cd54a979b1/go.mod h1:fpmTbPgwdzd4OtUcgE0wYRNzqEY5r88T/c3J1UM/lpA= -github.com/pulumi/pulumi/pkg/v3 v3.132.0 h1:FbIvkiFMOYwAixQZ330w42b0khMeAYj+vlH3k4lxwA8= -github.com/pulumi/pulumi/pkg/v3 v3.132.0/go.mod h1:EnftmBaN59wQI//Q4a6XN3QUlHA4SiGBup8TXC8iT3s= -github.com/pulumi/pulumi/sdk/v3 v3.132.0 h1:UDZHa+WpIEVxWJp+PCbsMxnTUeKMX3xBCcqIHxeAdzI= -github.com/pulumi/pulumi/sdk/v3 v3.132.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= +github.com/pulumi/pulumi/pkg/v3 v3.136.1 h1:zA8aJZ7qI0QgZkBKjjQaYHEcigK6pZfrbfG38imXzWo= +github.com/pulumi/pulumi/pkg/v3 v3.136.1/go.mod h1:Iz8QIs07AbEdrO52hEIEM5C4VBDUYFH2NdM9u2xxBxY= +github.com/pulumi/pulumi/sdk/v3 v3.136.1 h1:VJWTgdBrLvvzIkMbGq/epNEfT65P9gTvw14UF/I7hTI= +github.com/pulumi/pulumi/sdk/v3 v3.136.1/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/go.mod b/sdk/go.mod index 125c5a5be1..64953642dd 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.132.0 + github.com/pulumi/pulumi/sdk/v3 v3.136.1 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index b72774dca0..5504d0860a 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE= github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c= -github.com/pulumi/pulumi/sdk/v3 v3.132.0 h1:UDZHa+WpIEVxWJp+PCbsMxnTUeKMX3xBCcqIHxeAdzI= -github.com/pulumi/pulumi/sdk/v3 v3.132.0/go.mod h1:J5kQEX8v87aeUhk6NdQXnjCo1DbiOnOiL3Sf2DuDda8= +github.com/pulumi/pulumi/sdk/v3 v3.136.1 h1:VJWTgdBrLvvzIkMbGq/epNEfT65P9gTvw14UF/I7hTI= +github.com/pulumi/pulumi/sdk/v3 v3.136.1/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/go/aws/acmpca/certificateAuthority.go b/sdk/go/aws/acmpca/certificateAuthority.go index a73d93f77c..7fd93d6ef6 100644 --- a/sdk/go/aws/acmpca/certificateAuthority.go +++ b/sdk/go/aws/acmpca/certificateAuthority.go @@ -113,7 +113,7 @@ import ( // Pseudonym: pulumi.String("string"), // GenerationQualifier: pulumi.String("DBG"), // }, -// RevocationConfiguration: nil, +// RevocationConfiguration: &acmpca.CertificateAuthorityRevocationConfigurationArgs{}, // Tags: aws.TagArray{}, // }) // if err != nil { diff --git a/sdk/nodejs/accessanalyzer/getAnalyzer.ts b/sdk/nodejs/accessanalyzer/getAnalyzer.ts index d24235ca4b..6bd456a9f9 100644 --- a/sdk/nodejs/accessanalyzer/getAnalyzer.ts +++ b/sdk/nodejs/accessanalyzer/getAnalyzer.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::AccessAnalyzer::Analyzer type specifies an analyzer of the user's account */ export function getAnalyzer(args: GetAnalyzerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:accessanalyzer:getAnalyzer", { "arn": args.arn, @@ -43,7 +42,10 @@ export interface GetAnalyzerResult { * The AWS::AccessAnalyzer::Analyzer type specifies an analyzer of the user's account */ export function getAnalyzerOutput(args: GetAnalyzerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAnalyzer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:accessanalyzer:getAnalyzer", { + "arn": args.arn, + }, opts); } export interface GetAnalyzerOutputArgs { diff --git a/sdk/nodejs/acmpca/getCertificate.ts b/sdk/nodejs/acmpca/getCertificate.ts index 1e4df2089e..4588e1079d 100644 --- a/sdk/nodejs/acmpca/getCertificate.ts +++ b/sdk/nodejs/acmpca/getCertificate.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ACMPCA::Certificate`` resource is used to issue a certificate using your private certificate authority. For more information, see the [IssueCertificate](https://docs.aws.amazon.com/privateca/latest/APIReference/API_IssueCertificate.html) action. */ export function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:acmpca:getCertificate", { "arn": args.arn, @@ -41,7 +40,11 @@ export interface GetCertificateResult { * The ``AWS::ACMPCA::Certificate`` resource is used to issue a certificate using your private certificate authority. For more information, see the [IssueCertificate](https://docs.aws.amazon.com/privateca/latest/APIReference/API_IssueCertificate.html) action. */ export function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCertificate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:acmpca:getCertificate", { + "arn": args.arn, + "certificateAuthorityArn": args.certificateAuthorityArn, + }, opts); } export interface GetCertificateOutputArgs { diff --git a/sdk/nodejs/acmpca/getCertificateAuthority.ts b/sdk/nodejs/acmpca/getCertificateAuthority.ts index 1919cf4a9d..718137050e 100644 --- a/sdk/nodejs/acmpca/getCertificateAuthority.ts +++ b/sdk/nodejs/acmpca/getCertificateAuthority.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Private certificate authority. */ export function getCertificateAuthority(args: GetCertificateAuthorityArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:acmpca:getCertificateAuthority", { "arn": args.arn, @@ -36,7 +35,10 @@ export interface GetCertificateAuthorityResult { * Private certificate authority. */ export function getCertificateAuthorityOutput(args: GetCertificateAuthorityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCertificateAuthority(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:acmpca:getCertificateAuthority", { + "arn": args.arn, + }, opts); } export interface GetCertificateAuthorityOutputArgs { diff --git a/sdk/nodejs/acmpca/getCertificateAuthorityActivation.ts b/sdk/nodejs/acmpca/getCertificateAuthorityActivation.ts index 74968e7f49..f2a15bc2c6 100644 --- a/sdk/nodejs/acmpca/getCertificateAuthorityActivation.ts +++ b/sdk/nodejs/acmpca/getCertificateAuthorityActivation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Used to install the certificate authority certificate and update the certificate authority status. */ export function getCertificateAuthorityActivation(args: GetCertificateAuthorityActivationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:acmpca:getCertificateAuthorityActivation", { "certificateAuthorityArn": args.certificateAuthorityArn, @@ -36,7 +35,10 @@ export interface GetCertificateAuthorityActivationResult { * Used to install the certificate authority certificate and update the certificate authority status. */ export function getCertificateAuthorityActivationOutput(args: GetCertificateAuthorityActivationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCertificateAuthorityActivation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:acmpca:getCertificateAuthorityActivation", { + "certificateAuthorityArn": args.certificateAuthorityArn, + }, opts); } export interface GetCertificateAuthorityActivationOutputArgs { diff --git a/sdk/nodejs/amazonmq/getConfiguration.ts b/sdk/nodejs/amazonmq/getConfiguration.ts index e2d76e432c..a0f3bf0984 100644 --- a/sdk/nodejs/amazonmq/getConfiguration.ts +++ b/sdk/nodejs/amazonmq/getConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AmazonMQ::Configuration */ export function getConfiguration(args: GetConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:amazonmq:getConfiguration", { "id": args.id, @@ -51,7 +50,10 @@ export interface GetConfigurationResult { * Resource Type definition for AWS::AmazonMQ::Configuration */ export function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:amazonmq:getConfiguration", { + "id": args.id, + }, opts); } export interface GetConfigurationOutputArgs { diff --git a/sdk/nodejs/amplify/getApp.ts b/sdk/nodejs/amplify/getApp.ts index d1565e7b41..8415bc4fc7 100644 --- a/sdk/nodejs/amplify/getApp.ts +++ b/sdk/nodejs/amplify/getApp.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Amplify::App resource creates Apps in the Amplify Console. An App is a collection of branches. */ export function getApp(args: GetAppArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:amplify:getApp", { "arn": args.arn, @@ -99,7 +98,10 @@ export interface GetAppResult { * The AWS::Amplify::App resource creates Apps in the Amplify Console. An App is a collection of branches. */ export function getAppOutput(args: GetAppOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:amplify:getApp", { + "arn": args.arn, + }, opts); } export interface GetAppOutputArgs { diff --git a/sdk/nodejs/amplify/getBranch.ts b/sdk/nodejs/amplify/getBranch.ts index cd17ab7b66..6b3beb4e71 100644 --- a/sdk/nodejs/amplify/getBranch.ts +++ b/sdk/nodejs/amplify/getBranch.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Amplify::Branch resource creates a new branch within an app. */ export function getBranch(args: GetBranchArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:amplify:getBranch", { "arn": args.arn, @@ -93,7 +92,10 @@ export interface GetBranchResult { * The AWS::Amplify::Branch resource creates a new branch within an app. */ export function getBranchOutput(args: GetBranchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBranch(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:amplify:getBranch", { + "arn": args.arn, + }, opts); } export interface GetBranchOutputArgs { diff --git a/sdk/nodejs/amplify/getDomain.ts b/sdk/nodejs/amplify/getDomain.ts index 723af3f38e..c00953939f 100644 --- a/sdk/nodejs/amplify/getDomain.ts +++ b/sdk/nodejs/amplify/getDomain.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Amplify::Domain resource allows you to connect a custom domain to your app. */ export function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:amplify:getDomain", { "arn": args.arn, @@ -76,7 +75,10 @@ export interface GetDomainResult { * The AWS::Amplify::Domain resource allows you to connect a custom domain to your app. */ export function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomain(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:amplify:getDomain", { + "arn": args.arn, + }, opts); } export interface GetDomainOutputArgs { diff --git a/sdk/nodejs/amplifyuibuilder/getComponent.ts b/sdk/nodejs/amplifyuibuilder/getComponent.ts index df28cb8c62..5b3c63d743 100644 --- a/sdk/nodejs/amplifyuibuilder/getComponent.ts +++ b/sdk/nodejs/amplifyuibuilder/getComponent.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::AmplifyUIBuilder::Component Resource Type */ export function getComponent(args: GetComponentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:amplifyuibuilder:getComponent", { "appId": args.appId, @@ -101,7 +100,12 @@ export interface GetComponentResult { * Definition of AWS::AmplifyUIBuilder::Component Resource Type */ export function getComponentOutput(args: GetComponentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getComponent(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:amplifyuibuilder:getComponent", { + "appId": args.appId, + "environmentName": args.environmentName, + "id": args.id, + }, opts); } export interface GetComponentOutputArgs { diff --git a/sdk/nodejs/amplifyuibuilder/getForm.ts b/sdk/nodejs/amplifyuibuilder/getForm.ts index 0bbbe8c30e..c6a22d98fc 100644 --- a/sdk/nodejs/amplifyuibuilder/getForm.ts +++ b/sdk/nodejs/amplifyuibuilder/getForm.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::AmplifyUIBuilder::Form Resource Type */ export function getForm(args: GetFormArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:amplifyuibuilder:getForm", { "appId": args.appId, @@ -85,7 +84,12 @@ export interface GetFormResult { * Definition of AWS::AmplifyUIBuilder::Form Resource Type */ export function getFormOutput(args: GetFormOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getForm(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:amplifyuibuilder:getForm", { + "appId": args.appId, + "environmentName": args.environmentName, + "id": args.id, + }, opts); } export interface GetFormOutputArgs { diff --git a/sdk/nodejs/amplifyuibuilder/getTheme.ts b/sdk/nodejs/amplifyuibuilder/getTheme.ts index 485a588767..ea9728359d 100644 --- a/sdk/nodejs/amplifyuibuilder/getTheme.ts +++ b/sdk/nodejs/amplifyuibuilder/getTheme.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::AmplifyUIBuilder::Theme Resource Type */ export function getTheme(args: GetThemeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:amplifyuibuilder:getTheme", { "appId": args.appId, @@ -69,7 +68,12 @@ export interface GetThemeResult { * Definition of AWS::AmplifyUIBuilder::Theme Resource Type */ export function getThemeOutput(args: GetThemeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTheme(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:amplifyuibuilder:getTheme", { + "appId": args.appId, + "environmentName": args.environmentName, + "id": args.id, + }, opts); } export interface GetThemeOutputArgs { diff --git a/sdk/nodejs/apigateway/getAccount.ts b/sdk/nodejs/apigateway/getAccount.ts index 7d951034e0..e743d20481 100644 --- a/sdk/nodejs/apigateway/getAccount.ts +++ b/sdk/nodejs/apigateway/getAccount.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::Account`` resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account. */ export function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getAccount", { "id": args.id, @@ -36,7 +35,10 @@ export interface GetAccountResult { * The ``AWS::ApiGateway::Account`` resource specifies the IAM role that Amazon API Gateway uses to write API logs to Amazon CloudWatch Logs. To avoid overwriting other roles, you should only have one ``AWS::ApiGateway::Account`` resource per region per account. */ export function getAccountOutput(args: GetAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccount(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getAccount", { + "id": args.id, + }, opts); } export interface GetAccountOutputArgs { diff --git a/sdk/nodejs/apigateway/getApiKey.ts b/sdk/nodejs/apigateway/getApiKey.ts index a733227787..1d8d2b558a 100644 --- a/sdk/nodejs/apigateway/getApiKey.ts +++ b/sdk/nodejs/apigateway/getApiKey.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::ApiKey`` resource creates a unique key that you can distribute to clients who are executing API Gateway ``Method`` resources that require an API key. To specify which API key clients must use, map the API key with the ``RestApi`` and ``Stage`` resources that include the methods that require a key. */ export function getApiKey(args: GetApiKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getApiKey", { "apiKeyId": args.apiKeyId, @@ -55,7 +54,10 @@ export interface GetApiKeyResult { * The ``AWS::ApiGateway::ApiKey`` resource creates a unique key that you can distribute to clients who are executing API Gateway ``Method`` resources that require an API key. To specify which API key clients must use, map the API key with the ``RestApi`` and ``Stage`` resources that include the methods that require a key. */ export function getApiKeyOutput(args: GetApiKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApiKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getApiKey", { + "apiKeyId": args.apiKeyId, + }, opts); } export interface GetApiKeyOutputArgs { diff --git a/sdk/nodejs/apigateway/getAuthorizer.ts b/sdk/nodejs/apigateway/getAuthorizer.ts index e41b4a94d9..9ce67af58c 100644 --- a/sdk/nodejs/apigateway/getAuthorizer.ts +++ b/sdk/nodejs/apigateway/getAuthorizer.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::Authorizer`` resource creates an authorization layer that API Gateway activates for methods that have authorization enabled. API Gateway activates the authorizer when a client calls those methods. */ export function getAuthorizer(args: GetAuthorizerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getAuthorizer", { "authorizerId": args.authorizerId, @@ -73,7 +72,11 @@ export interface GetAuthorizerResult { * The ``AWS::ApiGateway::Authorizer`` resource creates an authorization layer that API Gateway activates for methods that have authorization enabled. API Gateway activates the authorizer when a client calls those methods. */ export function getAuthorizerOutput(args: GetAuthorizerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAuthorizer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getAuthorizer", { + "authorizerId": args.authorizerId, + "restApiId": args.restApiId, + }, opts); } export interface GetAuthorizerOutputArgs { diff --git a/sdk/nodejs/apigateway/getBasePathMapping.ts b/sdk/nodejs/apigateway/getBasePathMapping.ts index 8d04b09940..4457396c34 100644 --- a/sdk/nodejs/apigateway/getBasePathMapping.ts +++ b/sdk/nodejs/apigateway/getBasePathMapping.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::BasePathMapping`` resource creates a base path that clients who call your API must use in the invocation URL. */ export function getBasePathMapping(args: GetBasePathMappingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getBasePathMapping", { "basePath": args.basePath, @@ -41,7 +40,11 @@ export interface GetBasePathMappingResult { * The ``AWS::ApiGateway::BasePathMapping`` resource creates a base path that clients who call your API must use in the invocation URL. */ export function getBasePathMappingOutput(args: GetBasePathMappingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBasePathMapping(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getBasePathMapping", { + "basePath": args.basePath, + "domainName": args.domainName, + }, opts); } export interface GetBasePathMappingOutputArgs { diff --git a/sdk/nodejs/apigateway/getClientCertificate.ts b/sdk/nodejs/apigateway/getClientCertificate.ts index 2b4f432d5a..e733b494e3 100644 --- a/sdk/nodejs/apigateway/getClientCertificate.ts +++ b/sdk/nodejs/apigateway/getClientCertificate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::ClientCertificate`` resource creates a client certificate that API Gateway uses to configure client-side SSL authentication for sending requests to the integration endpoint. */ export function getClientCertificate(args: GetClientCertificateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getClientCertificate", { "clientCertificateId": args.clientCertificateId, @@ -43,7 +42,10 @@ export interface GetClientCertificateResult { * The ``AWS::ApiGateway::ClientCertificate`` resource creates a client certificate that API Gateway uses to configure client-side SSL authentication for sending requests to the integration endpoint. */ export function getClientCertificateOutput(args: GetClientCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClientCertificate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getClientCertificate", { + "clientCertificateId": args.clientCertificateId, + }, opts); } export interface GetClientCertificateOutputArgs { diff --git a/sdk/nodejs/apigateway/getDeployment.ts b/sdk/nodejs/apigateway/getDeployment.ts index 53eca0513d..85acfbb146 100644 --- a/sdk/nodejs/apigateway/getDeployment.ts +++ b/sdk/nodejs/apigateway/getDeployment.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::Deployment`` resource deploys an API Gateway ``RestApi`` resource to a stage so that clients can call the API over the internet. The stage acts as an environment. */ export function getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getDeployment", { "deploymentId": args.deploymentId, @@ -41,7 +40,11 @@ export interface GetDeploymentResult { * The ``AWS::ApiGateway::Deployment`` resource deploys an API Gateway ``RestApi`` resource to a stage so that clients can call the API over the internet. The stage acts as an environment. */ export function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDeployment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getDeployment", { + "deploymentId": args.deploymentId, + "restApiId": args.restApiId, + }, opts); } export interface GetDeploymentOutputArgs { diff --git a/sdk/nodejs/apigateway/getDocumentationPart.ts b/sdk/nodejs/apigateway/getDocumentationPart.ts index 4e59ae15ef..8998384653 100644 --- a/sdk/nodejs/apigateway/getDocumentationPart.ts +++ b/sdk/nodejs/apigateway/getDocumentationPart.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::DocumentationPart`` resource creates a documentation part for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*. */ export function getDocumentationPart(args: GetDocumentationPartArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getDocumentationPart", { "documentationPartId": args.documentationPartId, @@ -41,7 +40,11 @@ export interface GetDocumentationPartResult { * The ``AWS::ApiGateway::DocumentationPart`` resource creates a documentation part for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*. */ export function getDocumentationPartOutput(args: GetDocumentationPartOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDocumentationPart(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getDocumentationPart", { + "documentationPartId": args.documentationPartId, + "restApiId": args.restApiId, + }, opts); } export interface GetDocumentationPartOutputArgs { diff --git a/sdk/nodejs/apigateway/getDocumentationVersion.ts b/sdk/nodejs/apigateway/getDocumentationVersion.ts index 2d1ff22ca8..5e1270f251 100644 --- a/sdk/nodejs/apigateway/getDocumentationVersion.ts +++ b/sdk/nodejs/apigateway/getDocumentationVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::DocumentationVersion`` resource creates a snapshot of the documentation for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*. */ export function getDocumentationVersion(args: GetDocumentationVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getDocumentationVersion", { "documentationVersion": args.documentationVersion, @@ -37,7 +36,11 @@ export interface GetDocumentationVersionResult { * The ``AWS::ApiGateway::DocumentationVersion`` resource creates a snapshot of the documentation for an API. For more information, see [Representation of API Documentation in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api-content-representation.html) in the *API Gateway Developer Guide*. */ export function getDocumentationVersionOutput(args: GetDocumentationVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDocumentationVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getDocumentationVersion", { + "documentationVersion": args.documentationVersion, + "restApiId": args.restApiId, + }, opts); } export interface GetDocumentationVersionOutputArgs { diff --git a/sdk/nodejs/apigateway/getDomainName.ts b/sdk/nodejs/apigateway/getDomainName.ts index 5081faa414..6a397dc4cd 100644 --- a/sdk/nodejs/apigateway/getDomainName.ts +++ b/sdk/nodejs/apigateway/getDomainName.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ApiGateway::DomainName. */ export function getDomainName(args: GetDomainNameArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getDomainName", { "domainName": args.domainName, @@ -77,7 +76,10 @@ export interface GetDomainNameResult { * Resource Type definition for AWS::ApiGateway::DomainName. */ export function getDomainNameOutput(args: GetDomainNameOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomainName(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getDomainName", { + "domainName": args.domainName, + }, opts); } export interface GetDomainNameOutputArgs { diff --git a/sdk/nodejs/apigateway/getGatewayResponse.ts b/sdk/nodejs/apigateway/getGatewayResponse.ts index de86ea6a75..43542e809b 100644 --- a/sdk/nodejs/apigateway/getGatewayResponse.ts +++ b/sdk/nodejs/apigateway/getGatewayResponse.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::GatewayResponse`` resource creates a gateway response for your API. For more information, see [API Gateway Responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html#api-gateway-gatewayResponse-definition) in the *API Gateway Developer Guide*. */ export function getGatewayResponse(args: GetGatewayResponseArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getGatewayResponse", { "id": args.id, @@ -44,7 +43,10 @@ export interface GetGatewayResponseResult { * The ``AWS::ApiGateway::GatewayResponse`` resource creates a gateway response for your API. For more information, see [API Gateway Responses](https://docs.aws.amazon.com/apigateway/latest/developerguide/customize-gateway-responses.html#api-gateway-gatewayResponse-definition) in the *API Gateway Developer Guide*. */ export function getGatewayResponseOutput(args: GetGatewayResponseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGatewayResponse(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getGatewayResponse", { + "id": args.id, + }, opts); } export interface GetGatewayResponseOutputArgs { diff --git a/sdk/nodejs/apigateway/getMethod.ts b/sdk/nodejs/apigateway/getMethod.ts index ca2edcef62..932ab1f85e 100644 --- a/sdk/nodejs/apigateway/getMethod.ts +++ b/sdk/nodejs/apigateway/getMethod.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::Method`` resource creates API Gateway methods that define the parameters and body that clients must send in their requests. */ export function getMethod(args: GetMethodArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getMethod", { "httpMethod": args.httpMethod, @@ -82,7 +81,12 @@ export interface GetMethodResult { * The ``AWS::ApiGateway::Method`` resource creates API Gateway methods that define the parameters and body that clients must send in their requests. */ export function getMethodOutput(args: GetMethodOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMethod(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getMethod", { + "httpMethod": args.httpMethod, + "resourceId": args.resourceId, + "restApiId": args.restApiId, + }, opts); } export interface GetMethodOutputArgs { diff --git a/sdk/nodejs/apigateway/getModel.ts b/sdk/nodejs/apigateway/getModel.ts index 6356149563..c730f7dc14 100644 --- a/sdk/nodejs/apigateway/getModel.ts +++ b/sdk/nodejs/apigateway/getModel.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::Model`` resource defines the structure of a request or response payload for an API method. */ export function getModel(args: GetModelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getModel", { "name": args.name, @@ -44,7 +43,11 @@ export interface GetModelResult { * The ``AWS::ApiGateway::Model`` resource defines the structure of a request or response payload for an API method. */ export function getModelOutput(args: GetModelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getModel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getModel", { + "name": args.name, + "restApiId": args.restApiId, + }, opts); } export interface GetModelOutputArgs { diff --git a/sdk/nodejs/apigateway/getRequestValidator.ts b/sdk/nodejs/apigateway/getRequestValidator.ts index 5767db16da..e908e57fc0 100644 --- a/sdk/nodejs/apigateway/getRequestValidator.ts +++ b/sdk/nodejs/apigateway/getRequestValidator.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::RequestValidator`` resource sets up basic validation rules for incoming requests to your API. For more information, see [Enable Basic Request Validation for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) in the *API Gateway Developer Guide*. */ export function getRequestValidator(args: GetRequestValidatorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getRequestValidator", { "requestValidatorId": args.requestValidatorId, @@ -45,7 +44,11 @@ export interface GetRequestValidatorResult { * The ``AWS::ApiGateway::RequestValidator`` resource sets up basic validation rules for incoming requests to your API. For more information, see [Enable Basic Request Validation for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html) in the *API Gateway Developer Guide*. */ export function getRequestValidatorOutput(args: GetRequestValidatorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRequestValidator(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getRequestValidator", { + "requestValidatorId": args.requestValidatorId, + "restApiId": args.restApiId, + }, opts); } export interface GetRequestValidatorOutputArgs { diff --git a/sdk/nodejs/apigateway/getResource.ts b/sdk/nodejs/apigateway/getResource.ts index 80b20c6f91..a581dee79e 100644 --- a/sdk/nodejs/apigateway/getResource.ts +++ b/sdk/nodejs/apigateway/getResource.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::Resource`` resource creates a resource in an API. */ export function getResource(args: GetResourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getResource", { "resourceId": args.resourceId, @@ -37,7 +36,11 @@ export interface GetResourceResult { * The ``AWS::ApiGateway::Resource`` resource creates a resource in an API. */ export function getResourceOutput(args: GetResourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getResource", { + "resourceId": args.resourceId, + "restApiId": args.restApiId, + }, opts); } export interface GetResourceOutputArgs { diff --git a/sdk/nodejs/apigateway/getRestApi.ts b/sdk/nodejs/apigateway/getRestApi.ts index 2203f9a4b9..44f54cb003 100644 --- a/sdk/nodejs/apigateway/getRestApi.ts +++ b/sdk/nodejs/apigateway/getRestApi.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * On January 1, 2016, the Swagger Specification was donated to the [OpenAPI initiative](https://docs.aws.amazon.com/https://www.openapis.org/), becoming the foundation of the OpenAPI Specification. */ export function getRestApi(args: GetRestApiArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getRestApi", { "restApiId": args.restApiId, @@ -79,7 +78,10 @@ export interface GetRestApiResult { * On January 1, 2016, the Swagger Specification was donated to the [OpenAPI initiative](https://docs.aws.amazon.com/https://www.openapis.org/), becoming the foundation of the OpenAPI Specification. */ export function getRestApiOutput(args: GetRestApiOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRestApi(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getRestApi", { + "restApiId": args.restApiId, + }, opts); } export interface GetRestApiOutputArgs { diff --git a/sdk/nodejs/apigateway/getStage.ts b/sdk/nodejs/apigateway/getStage.ts index 77d69c39d1..5e09188de4 100644 --- a/sdk/nodejs/apigateway/getStage.ts +++ b/sdk/nodejs/apigateway/getStage.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::Stage`` resource creates a stage for a deployment. */ export function getStage(args: GetStageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getStage", { "restApiId": args.restApiId, @@ -84,7 +83,11 @@ export interface GetStageResult { * The ``AWS::ApiGateway::Stage`` resource creates a stage for a deployment. */ export function getStageOutput(args: GetStageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getStage", { + "restApiId": args.restApiId, + "stageName": args.stageName, + }, opts); } export interface GetStageOutputArgs { diff --git a/sdk/nodejs/apigateway/getUsagePlan.ts b/sdk/nodejs/apigateway/getUsagePlan.ts index ade4f5299a..9a71c4017c 100644 --- a/sdk/nodejs/apigateway/getUsagePlan.ts +++ b/sdk/nodejs/apigateway/getUsagePlan.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests. */ export function getUsagePlan(args: GetUsagePlanArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getUsagePlan", { "id": args.id, @@ -61,7 +60,10 @@ export interface GetUsagePlanResult { * In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests. */ export function getUsagePlanOutput(args: GetUsagePlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUsagePlan(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getUsagePlan", { + "id": args.id, + }, opts); } export interface GetUsagePlanOutputArgs { diff --git a/sdk/nodejs/apigateway/getUsagePlanKey.ts b/sdk/nodejs/apigateway/getUsagePlanKey.ts index 6fa1bd411c..bc71a1488b 100644 --- a/sdk/nodejs/apigateway/getUsagePlanKey.ts +++ b/sdk/nodejs/apigateway/getUsagePlanKey.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::UsagePlanKey`` resource associates an API key with a usage plan. This association determines which users the usage plan is applied to. */ export function getUsagePlanKey(args: GetUsagePlanKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getUsagePlanKey", { "id": args.id, @@ -32,7 +31,10 @@ export interface GetUsagePlanKeyResult { * The ``AWS::ApiGateway::UsagePlanKey`` resource associates an API key with a usage plan. This association determines which users the usage plan is applied to. */ export function getUsagePlanKeyOutput(args: GetUsagePlanKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUsagePlanKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getUsagePlanKey", { + "id": args.id, + }, opts); } export interface GetUsagePlanKeyOutputArgs { diff --git a/sdk/nodejs/apigateway/getVpcLink.ts b/sdk/nodejs/apigateway/getVpcLink.ts index 581b90f05c..0f5cb5f3ed 100644 --- a/sdk/nodejs/apigateway/getVpcLink.ts +++ b/sdk/nodejs/apigateway/getVpcLink.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGateway::VpcLink`` resource creates an API Gateway VPC link for a REST API to access resources in an Amazon Virtual Private Cloud (VPC). For more information, see [vpclink:create](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateVpcLink.html) in the ``Amazon API Gateway REST API Reference``. */ export function getVpcLink(args: GetVpcLinkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigateway:getVpcLink", { "vpcLinkId": args.vpcLinkId, @@ -47,7 +46,10 @@ export interface GetVpcLinkResult { * The ``AWS::ApiGateway::VpcLink`` resource creates an API Gateway VPC link for a REST API to access resources in an Amazon Virtual Private Cloud (VPC). For more information, see [vpclink:create](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateVpcLink.html) in the ``Amazon API Gateway REST API Reference``. */ export function getVpcLinkOutput(args: GetVpcLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcLink(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigateway:getVpcLink", { + "vpcLinkId": args.vpcLinkId, + }, opts); } export interface GetVpcLinkOutputArgs { diff --git a/sdk/nodejs/apigatewayv2/getApi.ts b/sdk/nodejs/apigatewayv2/getApi.ts index bf3d5178b3..99dfa333ff 100644 --- a/sdk/nodejs/apigatewayv2/getApi.ts +++ b/sdk/nodejs/apigatewayv2/getApi.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGatewayV2::Api`` resource creates an API. WebSocket APIs and HTTP APIs are supported. For more information about WebSocket APIs, see [About WebSocket APIs in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-overview.html) in the *API Gateway Developer Guide*. For more information about HTTP APIs, see [HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) in the *API Gateway Developer Guide.* */ export function getApi(args: GetApiArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigatewayv2:getApi", { "apiId": args.apiId, @@ -71,7 +70,10 @@ export interface GetApiResult { * The ``AWS::ApiGatewayV2::Api`` resource creates an API. WebSocket APIs and HTTP APIs are supported. For more information about WebSocket APIs, see [About WebSocket APIs in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-overview.html) in the *API Gateway Developer Guide*. For more information about HTTP APIs, see [HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) in the *API Gateway Developer Guide.* */ export function getApiOutput(args: GetApiOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApi(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getApi", { + "apiId": args.apiId, + }, opts); } export interface GetApiOutputArgs { diff --git a/sdk/nodejs/apigatewayv2/getApiMapping.ts b/sdk/nodejs/apigatewayv2/getApiMapping.ts index 4274a6fb5c..15aad276db 100644 --- a/sdk/nodejs/apigatewayv2/getApiMapping.ts +++ b/sdk/nodejs/apigatewayv2/getApiMapping.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGatewayV2::ApiMapping`` resource contains an API mapping. An API mapping relates a path of your custom domain name to a stage of your API. A custom domain name can have multiple API mappings, but the paths can't overlap. A custom domain can map only to APIs of the same protocol type. For more information, see [CreateApiMapping](https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping) in the *Amazon API Gateway V2 API Reference*. */ export function getApiMapping(args: GetApiMappingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigatewayv2:getApiMapping", { "apiMappingId": args.apiMappingId, @@ -49,7 +48,11 @@ export interface GetApiMappingResult { * The ``AWS::ApiGatewayV2::ApiMapping`` resource contains an API mapping. An API mapping relates a path of your custom domain name to a stage of your API. A custom domain name can have multiple API mappings, but the paths can't overlap. A custom domain can map only to APIs of the same protocol type. For more information, see [CreateApiMapping](https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping) in the *Amazon API Gateway V2 API Reference*. */ export function getApiMappingOutput(args: GetApiMappingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApiMapping(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getApiMapping", { + "apiMappingId": args.apiMappingId, + "domainName": args.domainName, + }, opts); } export interface GetApiMappingOutputArgs { diff --git a/sdk/nodejs/apigatewayv2/getAuthorizer.ts b/sdk/nodejs/apigatewayv2/getAuthorizer.ts index 1c114a0845..46bb64532e 100644 --- a/sdk/nodejs/apigatewayv2/getAuthorizer.ts +++ b/sdk/nodejs/apigatewayv2/getAuthorizer.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGatewayV2::Authorizer`` resource creates an authorizer for a WebSocket API or an HTTP API. To learn more, see [Controlling and managing access to a WebSocket API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-control-access.html) and [Controlling and managing access to an HTTP API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-access-control.html) in the *API Gateway Developer Guide*. */ export function getAuthorizer(args: GetAuthorizerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigatewayv2:getAuthorizer", { "apiId": args.apiId, @@ -82,7 +81,11 @@ export interface GetAuthorizerResult { * The ``AWS::ApiGatewayV2::Authorizer`` resource creates an authorizer for a WebSocket API or an HTTP API. To learn more, see [Controlling and managing access to a WebSocket API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-control-access.html) and [Controlling and managing access to an HTTP API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-access-control.html) in the *API Gateway Developer Guide*. */ export function getAuthorizerOutput(args: GetAuthorizerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAuthorizer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getAuthorizer", { + "apiId": args.apiId, + "authorizerId": args.authorizerId, + }, opts); } export interface GetAuthorizerOutputArgs { diff --git a/sdk/nodejs/apigatewayv2/getDeployment.ts b/sdk/nodejs/apigatewayv2/getDeployment.ts index 91bbaf0761..5ce1a8409f 100644 --- a/sdk/nodejs/apigatewayv2/getDeployment.ts +++ b/sdk/nodejs/apigatewayv2/getDeployment.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGatewayV2::Deployment`` resource creates a deployment for an API. */ export function getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigatewayv2:getDeployment", { "apiId": args.apiId, @@ -41,7 +40,11 @@ export interface GetDeploymentResult { * The ``AWS::ApiGatewayV2::Deployment`` resource creates a deployment for an API. */ export function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDeployment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getDeployment", { + "apiId": args.apiId, + "deploymentId": args.deploymentId, + }, opts); } export interface GetDeploymentOutputArgs { diff --git a/sdk/nodejs/apigatewayv2/getDomainName.ts b/sdk/nodejs/apigatewayv2/getDomainName.ts index 955661d6b9..74bc8f6da1 100644 --- a/sdk/nodejs/apigatewayv2/getDomainName.ts +++ b/sdk/nodejs/apigatewayv2/getDomainName.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * You can use a custom domain name to provide a URL that's more intuitive and easier to recall. For more information about using custom domain names, see [Set up Custom Domain Name for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) in the *API Gateway Developer Guide*. */ export function getDomainName(args: GetDomainNameArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigatewayv2:getDomainName", { "domainName": args.domainName, @@ -53,7 +52,10 @@ export interface GetDomainNameResult { * You can use a custom domain name to provide a URL that's more intuitive and easier to recall. For more information about using custom domain names, see [Set up Custom Domain Name for an API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) in the *API Gateway Developer Guide*. */ export function getDomainNameOutput(args: GetDomainNameOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomainName(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getDomainName", { + "domainName": args.domainName, + }, opts); } export interface GetDomainNameOutputArgs { diff --git a/sdk/nodejs/apigatewayv2/getIntegration.ts b/sdk/nodejs/apigatewayv2/getIntegration.ts index aa6f0d863d..f27a199cbe 100644 --- a/sdk/nodejs/apigatewayv2/getIntegration.ts +++ b/sdk/nodejs/apigatewayv2/getIntegration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getIntegration(args: GetIntegrationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigatewayv2:getIntegration", { "apiId": args.apiId, @@ -108,7 +107,11 @@ export interface GetIntegrationResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getIntegrationOutput(args: GetIntegrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIntegration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getIntegration", { + "apiId": args.apiId, + "integrationId": args.integrationId, + }, opts); } export interface GetIntegrationOutputArgs { diff --git a/sdk/nodejs/apigatewayv2/getIntegrationResponse.ts b/sdk/nodejs/apigatewayv2/getIntegrationResponse.ts index 608a27932e..e4507fc3c6 100644 --- a/sdk/nodejs/apigatewayv2/getIntegrationResponse.ts +++ b/sdk/nodejs/apigatewayv2/getIntegrationResponse.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGatewayV2::IntegrationResponse`` resource updates an integration response for an WebSocket API. For more information, see [Set up WebSocket API Integration Responses in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-integration-responses.html) in the *API Gateway Developer Guide*. */ export function getIntegrationResponse(args: GetIntegrationResponseArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigatewayv2:getIntegrationResponse", { "apiId": args.apiId, @@ -69,7 +68,12 @@ export interface GetIntegrationResponseResult { * The ``AWS::ApiGatewayV2::IntegrationResponse`` resource updates an integration response for an WebSocket API. For more information, see [Set up WebSocket API Integration Responses in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-integration-responses.html) in the *API Gateway Developer Guide*. */ export function getIntegrationResponseOutput(args: GetIntegrationResponseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIntegrationResponse(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getIntegrationResponse", { + "apiId": args.apiId, + "integrationId": args.integrationId, + "integrationResponseId": args.integrationResponseId, + }, opts); } export interface GetIntegrationResponseOutputArgs { diff --git a/sdk/nodejs/apigatewayv2/getModel.ts b/sdk/nodejs/apigatewayv2/getModel.ts index 27d7abb170..02f6cf59d4 100644 --- a/sdk/nodejs/apigatewayv2/getModel.ts +++ b/sdk/nodejs/apigatewayv2/getModel.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGatewayV2::Model`` resource updates data model for a WebSocket API. For more information, see [Model Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-model-selection-expressions) in the *API Gateway Developer Guide*. */ export function getModel(args: GetModelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigatewayv2:getModel", { "apiId": args.apiId, @@ -55,7 +54,11 @@ export interface GetModelResult { * The ``AWS::ApiGatewayV2::Model`` resource updates data model for a WebSocket API. For more information, see [Model Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-model-selection-expressions) in the *API Gateway Developer Guide*. */ export function getModelOutput(args: GetModelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getModel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getModel", { + "apiId": args.apiId, + "modelId": args.modelId, + }, opts); } export interface GetModelOutputArgs { diff --git a/sdk/nodejs/apigatewayv2/getRoute.ts b/sdk/nodejs/apigatewayv2/getRoute.ts index 97101051cb..da58bf62ea 100644 --- a/sdk/nodejs/apigatewayv2/getRoute.ts +++ b/sdk/nodejs/apigatewayv2/getRoute.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGatewayV2::Route`` resource creates a route for an API. */ export function getRoute(args: GetRouteArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigatewayv2:getRoute", { "apiId": args.apiId, @@ -75,7 +74,11 @@ export interface GetRouteResult { * The ``AWS::ApiGatewayV2::Route`` resource creates a route for an API. */ export function getRouteOutput(args: GetRouteOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRoute(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getRoute", { + "apiId": args.apiId, + "routeId": args.routeId, + }, opts); } export interface GetRouteOutputArgs { diff --git a/sdk/nodejs/apigatewayv2/getRouteResponse.ts b/sdk/nodejs/apigatewayv2/getRouteResponse.ts index 0de683a621..a17775ddee 100644 --- a/sdk/nodejs/apigatewayv2/getRouteResponse.ts +++ b/sdk/nodejs/apigatewayv2/getRouteResponse.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGatewayV2::RouteResponse`` resource creates a route response for a WebSocket API. For more information, see [Set up Route Responses for a WebSocket API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-route-response.html) in the *API Gateway Developer Guide*. */ export function getRouteResponse(args: GetRouteResponseArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigatewayv2:getRouteResponse", { "apiId": args.apiId, @@ -63,7 +62,12 @@ export interface GetRouteResponseResult { * The ``AWS::ApiGatewayV2::RouteResponse`` resource creates a route response for a WebSocket API. For more information, see [Set up Route Responses for a WebSocket API in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-route-response.html) in the *API Gateway Developer Guide*. */ export function getRouteResponseOutput(args: GetRouteResponseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRouteResponse(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getRouteResponse", { + "apiId": args.apiId, + "routeId": args.routeId, + "routeResponseId": args.routeResponseId, + }, opts); } export interface GetRouteResponseOutputArgs { diff --git a/sdk/nodejs/apigatewayv2/getVpcLink.ts b/sdk/nodejs/apigatewayv2/getVpcLink.ts index 05989b9896..1d533b72b7 100644 --- a/sdk/nodejs/apigatewayv2/getVpcLink.ts +++ b/sdk/nodejs/apigatewayv2/getVpcLink.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::ApiGatewayV2::VpcLink`` resource creates a VPC link. Supported only for HTTP APIs. The VPC link status must transition from ``PENDING`` to ``AVAILABLE`` to successfully create a VPC link, which can take up to 10 minutes. To learn more, see [Working with VPC Links for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vpc-links.html) in the *API Gateway Developer Guide*. */ export function getVpcLink(args: GetVpcLinkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apigatewayv2:getVpcLink", { "vpcLinkId": args.vpcLinkId, @@ -40,7 +39,10 @@ export interface GetVpcLinkResult { * The ``AWS::ApiGatewayV2::VpcLink`` resource creates a VPC link. Supported only for HTTP APIs. The VPC link status must transition from ``PENDING`` to ``AVAILABLE`` to successfully create a VPC link, which can take up to 10 minutes. To learn more, see [Working with VPC Links for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vpc-links.html) in the *API Gateway Developer Guide*. */ export function getVpcLinkOutput(args: GetVpcLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcLink(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getVpcLink", { + "vpcLinkId": args.vpcLinkId, + }, opts); } export interface GetVpcLinkOutputArgs { diff --git a/sdk/nodejs/appconfig/getApplication.ts b/sdk/nodejs/appconfig/getApplication.ts index 2cd3dafc2d..d5e07d190d 100644 --- a/sdk/nodejs/appconfig/getApplication.ts +++ b/sdk/nodejs/appconfig/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppConfig::Application */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appconfig:getApplication", { "applicationId": args.applicationId, @@ -47,7 +46,10 @@ export interface GetApplicationResult { * Resource Type definition for AWS::AppConfig::Application */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appconfig:getApplication", { + "applicationId": args.applicationId, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/appconfig/getConfigurationProfile.ts b/sdk/nodejs/appconfig/getConfigurationProfile.ts index 6962cfe547..2e5641f43c 100644 --- a/sdk/nodejs/appconfig/getConfigurationProfile.ts +++ b/sdk/nodejs/appconfig/getConfigurationProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getConfigurationProfile(args: GetConfigurationProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appconfig:getConfigurationProfile", { "applicationId": args.applicationId, @@ -68,7 +67,11 @@ export interface GetConfigurationProfileResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getConfigurationProfileOutput(args: GetConfigurationProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfigurationProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appconfig:getConfigurationProfile", { + "applicationId": args.applicationId, + "configurationProfileId": args.configurationProfileId, + }, opts); } export interface GetConfigurationProfileOutputArgs { diff --git a/sdk/nodejs/appconfig/getEnvironment.ts b/sdk/nodejs/appconfig/getEnvironment.ts index 854694d8c9..b6d2d61415 100644 --- a/sdk/nodejs/appconfig/getEnvironment.ts +++ b/sdk/nodejs/appconfig/getEnvironment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppConfig::Environment */ export function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appconfig:getEnvironment", { "applicationId": args.applicationId, @@ -56,7 +55,11 @@ export interface GetEnvironmentResult { * Resource Type definition for AWS::AppConfig::Environment */ export function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appconfig:getEnvironment", { + "applicationId": args.applicationId, + "environmentId": args.environmentId, + }, opts); } export interface GetEnvironmentOutputArgs { diff --git a/sdk/nodejs/appconfig/getExtension.ts b/sdk/nodejs/appconfig/getExtension.ts index aaa175cd3c..23f729a929 100644 --- a/sdk/nodejs/appconfig/getExtension.ts +++ b/sdk/nodejs/appconfig/getExtension.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppConfig::Extension */ export function getExtension(args: GetExtensionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appconfig:getExtension", { "id": args.id, @@ -55,7 +54,10 @@ export interface GetExtensionResult { * Resource Type definition for AWS::AppConfig::Extension */ export function getExtensionOutput(args: GetExtensionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getExtension(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appconfig:getExtension", { + "id": args.id, + }, opts); } export interface GetExtensionOutputArgs { diff --git a/sdk/nodejs/appconfig/getExtensionAssociation.ts b/sdk/nodejs/appconfig/getExtensionAssociation.ts index 409c91ecdd..5ae9d4a3f0 100644 --- a/sdk/nodejs/appconfig/getExtensionAssociation.ts +++ b/sdk/nodejs/appconfig/getExtensionAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getExtensionAssociation(args: GetExtensionAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appconfig:getExtensionAssociation", { "id": args.id, @@ -48,7 +47,10 @@ export interface GetExtensionAssociationResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getExtensionAssociationOutput(args: GetExtensionAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getExtensionAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appconfig:getExtensionAssociation", { + "id": args.id, + }, opts); } export interface GetExtensionAssociationOutputArgs { diff --git a/sdk/nodejs/appconfig/getHostedConfigurationVersion.ts b/sdk/nodejs/appconfig/getHostedConfigurationVersion.ts index 9d6f9005d0..1416df4b12 100644 --- a/sdk/nodejs/appconfig/getHostedConfigurationVersion.ts +++ b/sdk/nodejs/appconfig/getHostedConfigurationVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppConfig::HostedConfigurationVersion */ export function getHostedConfigurationVersion(args: GetHostedConfigurationVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appconfig:getHostedConfigurationVersion", { "applicationId": args.applicationId, @@ -42,7 +41,12 @@ export interface GetHostedConfigurationVersionResult { * Resource Type definition for AWS::AppConfig::HostedConfigurationVersion */ export function getHostedConfigurationVersionOutput(args: GetHostedConfigurationVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getHostedConfigurationVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appconfig:getHostedConfigurationVersion", { + "applicationId": args.applicationId, + "configurationProfileId": args.configurationProfileId, + "versionNumber": args.versionNumber, + }, opts); } export interface GetHostedConfigurationVersionOutputArgs { diff --git a/sdk/nodejs/appflow/getConnector.ts b/sdk/nodejs/appflow/getConnector.ts index 2321f26bc6..8de57a3b10 100644 --- a/sdk/nodejs/appflow/getConnector.ts +++ b/sdk/nodejs/appflow/getConnector.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::AppFlow::Connector */ export function getConnector(args: GetConnectorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appflow:getConnector", { "connectorLabel": args.connectorLabel, @@ -47,7 +46,10 @@ export interface GetConnectorResult { * Resource schema for AWS::AppFlow::Connector */ export function getConnectorOutput(args: GetConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnector(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appflow:getConnector", { + "connectorLabel": args.connectorLabel, + }, opts); } export interface GetConnectorOutputArgs { diff --git a/sdk/nodejs/appflow/getConnectorProfile.ts b/sdk/nodejs/appflow/getConnectorProfile.ts index b6553a4d93..905b43ee0e 100644 --- a/sdk/nodejs/appflow/getConnectorProfile.ts +++ b/sdk/nodejs/appflow/getConnectorProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppFlow::ConnectorProfile */ export function getConnectorProfile(args: GetConnectorProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appflow:getConnectorProfile", { "connectorProfileName": args.connectorProfileName, @@ -43,7 +42,10 @@ export interface GetConnectorProfileResult { * Resource Type definition for AWS::AppFlow::ConnectorProfile */ export function getConnectorProfileOutput(args: GetConnectorProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnectorProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appflow:getConnectorProfile", { + "connectorProfileName": args.connectorProfileName, + }, opts); } export interface GetConnectorProfileOutputArgs { diff --git a/sdk/nodejs/appflow/getFlow.ts b/sdk/nodejs/appflow/getFlow.ts index f4f1dbe0a2..505e1c724f 100644 --- a/sdk/nodejs/appflow/getFlow.ts +++ b/sdk/nodejs/appflow/getFlow.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::AppFlow::Flow. */ export function getFlow(args: GetFlowArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appflow:getFlow", { "flowName": args.flowName, @@ -67,7 +66,10 @@ export interface GetFlowResult { * Resource schema for AWS::AppFlow::Flow. */ export function getFlowOutput(args: GetFlowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFlow(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appflow:getFlow", { + "flowName": args.flowName, + }, opts); } export interface GetFlowOutputArgs { diff --git a/sdk/nodejs/appintegrations/getApplication.ts b/sdk/nodejs/appintegrations/getApplication.ts index 8c5de0f96a..7f584dbf35 100644 --- a/sdk/nodejs/appintegrations/getApplication.ts +++ b/sdk/nodejs/appintegrations/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS:AppIntegrations::Application */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appintegrations:getApplication", { "applicationArn": args.applicationArn, @@ -63,7 +62,10 @@ export interface GetApplicationResult { * Resource Type definition for AWS:AppIntegrations::Application */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appintegrations:getApplication", { + "applicationArn": args.applicationArn, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/appintegrations/getDataIntegration.ts b/sdk/nodejs/appintegrations/getDataIntegration.ts index 87ac5914e6..f6505350db 100644 --- a/sdk/nodejs/appintegrations/getDataIntegration.ts +++ b/sdk/nodejs/appintegrations/getDataIntegration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppIntegrations::DataIntegration */ export function getDataIntegration(args: GetDataIntegrationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appintegrations:getDataIntegration", { "id": args.id, @@ -59,7 +58,10 @@ export interface GetDataIntegrationResult { * Resource Type definition for AWS::AppIntegrations::DataIntegration */ export function getDataIntegrationOutput(args: GetDataIntegrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataIntegration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appintegrations:getDataIntegration", { + "id": args.id, + }, opts); } export interface GetDataIntegrationOutputArgs { diff --git a/sdk/nodejs/appintegrations/getEventIntegration.ts b/sdk/nodejs/appintegrations/getEventIntegration.ts index 66f643968f..480d392cdd 100644 --- a/sdk/nodejs/appintegrations/getEventIntegration.ts +++ b/sdk/nodejs/appintegrations/getEventIntegration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppIntegrations::EventIntegration */ export function getEventIntegration(args: GetEventIntegrationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appintegrations:getEventIntegration", { "name": args.name, @@ -43,7 +42,10 @@ export interface GetEventIntegrationResult { * Resource Type definition for AWS::AppIntegrations::EventIntegration */ export function getEventIntegrationOutput(args: GetEventIntegrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventIntegration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appintegrations:getEventIntegration", { + "name": args.name, + }, opts); } export interface GetEventIntegrationOutputArgs { diff --git a/sdk/nodejs/applicationautoscaling/getScalableTarget.ts b/sdk/nodejs/applicationautoscaling/getScalableTarget.ts index 4b5cb3e028..5b166ee77c 100644 --- a/sdk/nodejs/applicationautoscaling/getScalableTarget.ts +++ b/sdk/nodejs/applicationautoscaling/getScalableTarget.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * If the resource that you want Application Auto Scaling to scale is not yet created in your account, add a dependency on the resource when registering it as a scalable target using the [DependsOn](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) attribute. */ export function getScalableTarget(args: GetScalableTargetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:applicationautoscaling:getScalableTarget", { "resourceId": args.resourceId, @@ -106,7 +105,12 @@ export interface GetScalableTargetResult { * If the resource that you want Application Auto Scaling to scale is not yet created in your account, add a dependency on the resource when registering it as a scalable target using the [DependsOn](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) attribute. */ export function getScalableTargetOutput(args: GetScalableTargetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getScalableTarget(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:applicationautoscaling:getScalableTarget", { + "resourceId": args.resourceId, + "scalableDimension": args.scalableDimension, + "serviceNamespace": args.serviceNamespace, + }, opts); } export interface GetScalableTargetOutputArgs { diff --git a/sdk/nodejs/applicationautoscaling/getScalingPolicy.ts b/sdk/nodejs/applicationautoscaling/getScalingPolicy.ts index c86779c9c9..325c367352 100644 --- a/sdk/nodejs/applicationautoscaling/getScalingPolicy.ts +++ b/sdk/nodejs/applicationautoscaling/getScalingPolicy.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) and [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*. */ export function getScalingPolicy(args: GetScalingPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:applicationautoscaling:getScalingPolicy", { "arn": args.arn, @@ -80,7 +79,11 @@ export interface GetScalingPolicyResult { * For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) and [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*. */ export function getScalingPolicyOutput(args: GetScalingPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getScalingPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:applicationautoscaling:getScalingPolicy", { + "arn": args.arn, + "scalableDimension": args.scalableDimension, + }, opts); } export interface GetScalingPolicyOutputArgs { diff --git a/sdk/nodejs/applicationinsights/getApplication.ts b/sdk/nodejs/applicationinsights/getApplication.ts index 833f438565..4e2cfa69f6 100644 --- a/sdk/nodejs/applicationinsights/getApplication.ts +++ b/sdk/nodejs/applicationinsights/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::ApplicationInsights::Application */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:applicationinsights:getApplication", { "applicationArn": args.applicationArn, @@ -51,7 +50,10 @@ export interface GetApplicationResult { * Resource schema for AWS::ApplicationInsights::Application */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:applicationinsights:getApplication", { + "applicationArn": args.applicationArn, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/applicationsignals/getServiceLevelObjective.ts b/sdk/nodejs/applicationsignals/getServiceLevelObjective.ts index 6cb9ef39b6..0ff3da6fb1 100644 --- a/sdk/nodejs/applicationsignals/getServiceLevelObjective.ts +++ b/sdk/nodejs/applicationsignals/getServiceLevelObjective.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ApplicationSignals::ServiceLevelObjective */ export function getServiceLevelObjective(args: GetServiceLevelObjectiveArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:applicationsignals:getServiceLevelObjective", { "arn": args.arn, @@ -69,7 +68,10 @@ export interface GetServiceLevelObjectiveResult { * Resource Type definition for AWS::ApplicationSignals::ServiceLevelObjective */ export function getServiceLevelObjectiveOutput(args: GetServiceLevelObjectiveOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServiceLevelObjective(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:applicationsignals:getServiceLevelObjective", { + "arn": args.arn, + }, opts); } export interface GetServiceLevelObjectiveOutputArgs { diff --git a/sdk/nodejs/apprunner/getAutoScalingConfiguration.ts b/sdk/nodejs/apprunner/getAutoScalingConfiguration.ts index cd5d4254fe..fe028b973d 100644 --- a/sdk/nodejs/apprunner/getAutoScalingConfiguration.ts +++ b/sdk/nodejs/apprunner/getAutoScalingConfiguration.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Describes an AWS App Runner automatic configuration resource that enables automatic scaling of instances used to process web requests. You can share an auto scaling configuration across multiple services. */ export function getAutoScalingConfiguration(args: GetAutoScalingConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apprunner:getAutoScalingConfiguration", { "autoScalingConfigurationArn": args.autoScalingConfigurationArn, @@ -40,7 +39,10 @@ export interface GetAutoScalingConfigurationResult { * Describes an AWS App Runner automatic configuration resource that enables automatic scaling of instances used to process web requests. You can share an auto scaling configuration across multiple services. */ export function getAutoScalingConfigurationOutput(args: GetAutoScalingConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAutoScalingConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apprunner:getAutoScalingConfiguration", { + "autoScalingConfigurationArn": args.autoScalingConfigurationArn, + }, opts); } export interface GetAutoScalingConfigurationOutputArgs { diff --git a/sdk/nodejs/apprunner/getObservabilityConfiguration.ts b/sdk/nodejs/apprunner/getObservabilityConfiguration.ts index 84e475233a..32d9f7b895 100644 --- a/sdk/nodejs/apprunner/getObservabilityConfiguration.ts +++ b/sdk/nodejs/apprunner/getObservabilityConfiguration.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::AppRunner::ObservabilityConfiguration resource is an AWS App Runner resource type that specifies an App Runner observability configuration */ export function getObservabilityConfiguration(args: GetObservabilityConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apprunner:getObservabilityConfiguration", { "observabilityConfigurationArn": args.observabilityConfigurationArn, @@ -40,7 +39,10 @@ export interface GetObservabilityConfigurationResult { * The AWS::AppRunner::ObservabilityConfiguration resource is an AWS App Runner resource type that specifies an App Runner observability configuration */ export function getObservabilityConfigurationOutput(args: GetObservabilityConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getObservabilityConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apprunner:getObservabilityConfiguration", { + "observabilityConfigurationArn": args.observabilityConfigurationArn, + }, opts); } export interface GetObservabilityConfigurationOutputArgs { diff --git a/sdk/nodejs/apprunner/getService.ts b/sdk/nodejs/apprunner/getService.ts index cc756062bd..f5cec152f0 100644 --- a/sdk/nodejs/apprunner/getService.ts +++ b/sdk/nodejs/apprunner/getService.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::AppRunner::Service resource specifies an AppRunner Service. */ export function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apprunner:getService", { "serviceArn": args.serviceArn, @@ -67,7 +66,10 @@ export interface GetServiceResult { * The AWS::AppRunner::Service resource specifies an AppRunner Service. */ export function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getService(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apprunner:getService", { + "serviceArn": args.serviceArn, + }, opts); } export interface GetServiceOutputArgs { diff --git a/sdk/nodejs/apprunner/getVpcConnector.ts b/sdk/nodejs/apprunner/getVpcConnector.ts index 0518a58ff3..94d0aefc4c 100644 --- a/sdk/nodejs/apprunner/getVpcConnector.ts +++ b/sdk/nodejs/apprunner/getVpcConnector.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::AppRunner::VpcConnector resource specifies an App Runner VpcConnector. */ export function getVpcConnector(args: GetVpcConnectorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apprunner:getVpcConnector", { "vpcConnectorArn": args.vpcConnectorArn, @@ -36,7 +35,10 @@ export interface GetVpcConnectorResult { * The AWS::AppRunner::VpcConnector resource specifies an App Runner VpcConnector. */ export function getVpcConnectorOutput(args: GetVpcConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcConnector(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apprunner:getVpcConnector", { + "vpcConnectorArn": args.vpcConnectorArn, + }, opts); } export interface GetVpcConnectorOutputArgs { diff --git a/sdk/nodejs/apprunner/getVpcIngressConnection.ts b/sdk/nodejs/apprunner/getVpcIngressConnection.ts index 6deb00f1d2..d9d121b789 100644 --- a/sdk/nodejs/apprunner/getVpcIngressConnection.ts +++ b/sdk/nodejs/apprunner/getVpcIngressConnection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::AppRunner::VpcIngressConnection resource is an App Runner resource that specifies an App Runner VpcIngressConnection. */ export function getVpcIngressConnection(args: GetVpcIngressConnectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:apprunner:getVpcIngressConnection", { "vpcIngressConnectionArn": args.vpcIngressConnectionArn, @@ -47,7 +46,10 @@ export interface GetVpcIngressConnectionResult { * The AWS::AppRunner::VpcIngressConnection resource is an App Runner resource that specifies an App Runner VpcIngressConnection. */ export function getVpcIngressConnectionOutput(args: GetVpcIngressConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcIngressConnection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:apprunner:getVpcIngressConnection", { + "vpcIngressConnectionArn": args.vpcIngressConnectionArn, + }, opts); } export interface GetVpcIngressConnectionOutputArgs { diff --git a/sdk/nodejs/appstream/getAppBlock.ts b/sdk/nodejs/appstream/getAppBlock.ts index e4e445df68..9ca6e935a1 100644 --- a/sdk/nodejs/appstream/getAppBlock.ts +++ b/sdk/nodejs/appstream/getAppBlock.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppStream::AppBlock */ export function getAppBlock(args: GetAppBlockArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appstream:getAppBlock", { "arn": args.arn, @@ -36,7 +35,10 @@ export interface GetAppBlockResult { * Resource Type definition for AWS::AppStream::AppBlock */ export function getAppBlockOutput(args: GetAppBlockOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppBlock(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appstream:getAppBlock", { + "arn": args.arn, + }, opts); } export interface GetAppBlockOutputArgs { diff --git a/sdk/nodejs/appstream/getAppBlockBuilder.ts b/sdk/nodejs/appstream/getAppBlockBuilder.ts index f4844bb7fc..a75d958a8b 100644 --- a/sdk/nodejs/appstream/getAppBlockBuilder.ts +++ b/sdk/nodejs/appstream/getAppBlockBuilder.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppStream::AppBlockBuilder. */ export function getAppBlockBuilder(args: GetAppBlockBuilderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appstream:getAppBlockBuilder", { "name": args.name, @@ -73,7 +72,10 @@ export interface GetAppBlockBuilderResult { * Resource Type definition for AWS::AppStream::AppBlockBuilder. */ export function getAppBlockBuilderOutput(args: GetAppBlockBuilderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppBlockBuilder(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appstream:getAppBlockBuilder", { + "name": args.name, + }, opts); } export interface GetAppBlockBuilderOutputArgs { diff --git a/sdk/nodejs/appstream/getApplication.ts b/sdk/nodejs/appstream/getApplication.ts index 50103c747c..9caf78f4f8 100644 --- a/sdk/nodejs/appstream/getApplication.ts +++ b/sdk/nodejs/appstream/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppStream::Application */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appstream:getApplication", { "arn": args.arn, @@ -67,7 +66,10 @@ export interface GetApplicationResult { * Resource Type definition for AWS::AppStream::Application */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appstream:getApplication", { + "arn": args.arn, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/appstream/getDirectoryConfig.ts b/sdk/nodejs/appstream/getDirectoryConfig.ts index bffc0acab2..e92f5f51bb 100644 --- a/sdk/nodejs/appstream/getDirectoryConfig.ts +++ b/sdk/nodejs/appstream/getDirectoryConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppStream::DirectoryConfig */ export function getDirectoryConfig(args: GetDirectoryConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appstream:getDirectoryConfig", { "directoryName": args.directoryName, @@ -43,7 +42,10 @@ export interface GetDirectoryConfigResult { * Resource Type definition for AWS::AppStream::DirectoryConfig */ export function getDirectoryConfigOutput(args: GetDirectoryConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDirectoryConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appstream:getDirectoryConfig", { + "directoryName": args.directoryName, + }, opts); } export interface GetDirectoryConfigOutputArgs { diff --git a/sdk/nodejs/appstream/getEntitlement.ts b/sdk/nodejs/appstream/getEntitlement.ts index 38b2509793..cbe60471b2 100644 --- a/sdk/nodejs/appstream/getEntitlement.ts +++ b/sdk/nodejs/appstream/getEntitlement.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppStream::Entitlement */ export function getEntitlement(args: GetEntitlementArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appstream:getEntitlement", { "name": args.name, @@ -56,7 +55,11 @@ export interface GetEntitlementResult { * Resource Type definition for AWS::AppStream::Entitlement */ export function getEntitlementOutput(args: GetEntitlementOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEntitlement(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appstream:getEntitlement", { + "name": args.name, + "stackName": args.stackName, + }, opts); } export interface GetEntitlementOutputArgs { diff --git a/sdk/nodejs/appstream/getImageBuilder.ts b/sdk/nodejs/appstream/getImageBuilder.ts index 11412492b8..44f9aa525d 100644 --- a/sdk/nodejs/appstream/getImageBuilder.ts +++ b/sdk/nodejs/appstream/getImageBuilder.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppStream::ImageBuilder */ export function getImageBuilder(args: GetImageBuilderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appstream:getImageBuilder", { "name": args.name, @@ -123,7 +122,10 @@ export interface GetImageBuilderResult { * Resource Type definition for AWS::AppStream::ImageBuilder */ export function getImageBuilderOutput(args: GetImageBuilderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getImageBuilder(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appstream:getImageBuilder", { + "name": args.name, + }, opts); } export interface GetImageBuilderOutputArgs { diff --git a/sdk/nodejs/appsync/getDomainName.ts b/sdk/nodejs/appsync/getDomainName.ts index b10938cb43..328ab6f271 100644 --- a/sdk/nodejs/appsync/getDomainName.ts +++ b/sdk/nodejs/appsync/getDomainName.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppSync::DomainName */ export function getDomainName(args: GetDomainNameArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appsync:getDomainName", { "domainName": args.domainName, @@ -40,7 +39,10 @@ export interface GetDomainNameResult { * Resource Type definition for AWS::AppSync::DomainName */ export function getDomainNameOutput(args: GetDomainNameOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomainName(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appsync:getDomainName", { + "domainName": args.domainName, + }, opts); } export interface GetDomainNameOutputArgs { diff --git a/sdk/nodejs/appsync/getDomainNameApiAssociation.ts b/sdk/nodejs/appsync/getDomainNameApiAssociation.ts index 8ead4cbcce..478bb08b20 100644 --- a/sdk/nodejs/appsync/getDomainNameApiAssociation.ts +++ b/sdk/nodejs/appsync/getDomainNameApiAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppSync::DomainNameApiAssociation */ export function getDomainNameApiAssociation(args: GetDomainNameApiAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appsync:getDomainNameApiAssociation", { "apiAssociationIdentifier": args.apiAssociationIdentifier, @@ -30,7 +29,10 @@ export interface GetDomainNameApiAssociationResult { * Resource Type definition for AWS::AppSync::DomainNameApiAssociation */ export function getDomainNameApiAssociationOutput(args: GetDomainNameApiAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomainNameApiAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appsync:getDomainNameApiAssociation", { + "apiAssociationIdentifier": args.apiAssociationIdentifier, + }, opts); } export interface GetDomainNameApiAssociationOutputArgs { diff --git a/sdk/nodejs/appsync/getFunctionConfiguration.ts b/sdk/nodejs/appsync/getFunctionConfiguration.ts index 33f6b163d0..cbf63ca730 100644 --- a/sdk/nodejs/appsync/getFunctionConfiguration.ts +++ b/sdk/nodejs/appsync/getFunctionConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getFunctionConfiguration(args: GetFunctionConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appsync:getFunctionConfiguration", { "functionArn": args.functionArn, @@ -79,7 +78,10 @@ export interface GetFunctionConfigurationResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getFunctionConfigurationOutput(args: GetFunctionConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFunctionConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appsync:getFunctionConfiguration", { + "functionArn": args.functionArn, + }, opts); } export interface GetFunctionConfigurationOutputArgs { diff --git a/sdk/nodejs/appsync/getResolver.ts b/sdk/nodejs/appsync/getResolver.ts index e59c4fd6d7..c2e41ae778 100644 --- a/sdk/nodejs/appsync/getResolver.ts +++ b/sdk/nodejs/appsync/getResolver.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * See [Update Behaviors of Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html) in the *User Guide*. */ export function getResolver(args: GetResolverArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appsync:getResolver", { "resolverArn": args.resolverArn, @@ -86,7 +85,10 @@ export interface GetResolverResult { * See [Update Behaviors of Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html) in the *User Guide*. */ export function getResolverOutput(args: GetResolverOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResolver(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appsync:getResolver", { + "resolverArn": args.resolverArn, + }, opts); } export interface GetResolverOutputArgs { diff --git a/sdk/nodejs/appsync/getSourceApiAssociation.ts b/sdk/nodejs/appsync/getSourceApiAssociation.ts index 2d6eec091a..07292a744d 100644 --- a/sdk/nodejs/appsync/getSourceApiAssociation.ts +++ b/sdk/nodejs/appsync/getSourceApiAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AppSync::SourceApiAssociation */ export function getSourceApiAssociation(args: GetSourceApiAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:appsync:getSourceApiAssociation", { "associationArn": args.associationArn, @@ -75,7 +74,10 @@ export interface GetSourceApiAssociationResult { * Resource Type definition for AWS::AppSync::SourceApiAssociation */ export function getSourceApiAssociationOutput(args: GetSourceApiAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSourceApiAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:appsync:getSourceApiAssociation", { + "associationArn": args.associationArn, + }, opts); } export interface GetSourceApiAssociationOutputArgs { diff --git a/sdk/nodejs/aps/getRuleGroupsNamespace.ts b/sdk/nodejs/aps/getRuleGroupsNamespace.ts index 9c7c0e3614..1515ebf5c8 100644 --- a/sdk/nodejs/aps/getRuleGroupsNamespace.ts +++ b/sdk/nodejs/aps/getRuleGroupsNamespace.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * RuleGroupsNamespace schema for cloudformation. */ export function getRuleGroupsNamespace(args: GetRuleGroupsNamespaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:aps:getRuleGroupsNamespace", { "arn": args.arn, @@ -43,7 +42,10 @@ export interface GetRuleGroupsNamespaceResult { * RuleGroupsNamespace schema for cloudformation. */ export function getRuleGroupsNamespaceOutput(args: GetRuleGroupsNamespaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRuleGroupsNamespace(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:aps:getRuleGroupsNamespace", { + "arn": args.arn, + }, opts); } export interface GetRuleGroupsNamespaceOutputArgs { diff --git a/sdk/nodejs/aps/getScraper.ts b/sdk/nodejs/aps/getScraper.ts index 023a55dcf1..38475cd107 100644 --- a/sdk/nodejs/aps/getScraper.ts +++ b/sdk/nodejs/aps/getScraper.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::APS::Scraper */ export function getScraper(args: GetScraperArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:aps:getScraper", { "arn": args.arn, @@ -47,7 +46,10 @@ export interface GetScraperResult { * Resource Type definition for AWS::APS::Scraper */ export function getScraperOutput(args: GetScraperOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getScraper(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:aps:getScraper", { + "arn": args.arn, + }, opts); } export interface GetScraperOutputArgs { diff --git a/sdk/nodejs/aps/getWorkspace.ts b/sdk/nodejs/aps/getWorkspace.ts index 05ad210ce7..21db85c921 100644 --- a/sdk/nodejs/aps/getWorkspace.ts +++ b/sdk/nodejs/aps/getWorkspace.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::APS::Workspace */ export function getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:aps:getWorkspace", { "arn": args.arn, @@ -59,7 +58,10 @@ export interface GetWorkspaceResult { * Resource Type definition for AWS::APS::Workspace */ export function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWorkspace(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:aps:getWorkspace", { + "arn": args.arn, + }, opts); } export interface GetWorkspaceOutputArgs { diff --git a/sdk/nodejs/arczonalshift/getAutoshiftObserverNotificationStatus.ts b/sdk/nodejs/arczonalshift/getAutoshiftObserverNotificationStatus.ts index 3123bc9821..4e7c4c5ef3 100644 --- a/sdk/nodejs/arczonalshift/getAutoshiftObserverNotificationStatus.ts +++ b/sdk/nodejs/arczonalshift/getAutoshiftObserverNotificationStatus.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::ARCZonalShift::AutoshiftObserverNotificationStatus Resource Type */ export function getAutoshiftObserverNotificationStatus(args: GetAutoshiftObserverNotificationStatusArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:arczonalshift:getAutoshiftObserverNotificationStatus", { "accountId": args.accountId, @@ -29,7 +28,11 @@ export interface GetAutoshiftObserverNotificationStatusResult { * Definition of AWS::ARCZonalShift::AutoshiftObserverNotificationStatus Resource Type */ export function getAutoshiftObserverNotificationStatusOutput(args: GetAutoshiftObserverNotificationStatusOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAutoshiftObserverNotificationStatus(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:arczonalshift:getAutoshiftObserverNotificationStatus", { + "accountId": args.accountId, + "region": args.region, + }, opts); } export interface GetAutoshiftObserverNotificationStatusOutputArgs { diff --git a/sdk/nodejs/arczonalshift/getZonalAutoshiftConfiguration.ts b/sdk/nodejs/arczonalshift/getZonalAutoshiftConfiguration.ts index e5f8e12719..9d814b3563 100644 --- a/sdk/nodejs/arczonalshift/getZonalAutoshiftConfiguration.ts +++ b/sdk/nodejs/arczonalshift/getZonalAutoshiftConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::ARCZonalShift::ZonalAutoshiftConfiguration Resource Type */ export function getZonalAutoshiftConfiguration(args: GetZonalAutoshiftConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:arczonalshift:getZonalAutoshiftConfiguration", { "resourceIdentifier": args.resourceIdentifier, @@ -45,7 +44,10 @@ export interface GetZonalAutoshiftConfigurationResult { * Definition of AWS::ARCZonalShift::ZonalAutoshiftConfiguration Resource Type */ export function getZonalAutoshiftConfigurationOutput(args: GetZonalAutoshiftConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getZonalAutoshiftConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:arczonalshift:getZonalAutoshiftConfiguration", { + "resourceIdentifier": args.resourceIdentifier, + }, opts); } export interface GetZonalAutoshiftConfigurationOutputArgs { diff --git a/sdk/nodejs/athena/getCapacityReservation.ts b/sdk/nodejs/athena/getCapacityReservation.ts index c1f86e0cce..864ed9cf31 100644 --- a/sdk/nodejs/athena/getCapacityReservation.ts +++ b/sdk/nodejs/athena/getCapacityReservation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Athena::CapacityReservation */ export function getCapacityReservation(args: GetCapacityReservationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:athena:getCapacityReservation", { "arn": args.arn, @@ -63,7 +62,10 @@ export interface GetCapacityReservationResult { * Resource schema for AWS::Athena::CapacityReservation */ export function getCapacityReservationOutput(args: GetCapacityReservationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCapacityReservation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:athena:getCapacityReservation", { + "arn": args.arn, + }, opts); } export interface GetCapacityReservationOutputArgs { diff --git a/sdk/nodejs/athena/getDataCatalog.ts b/sdk/nodejs/athena/getDataCatalog.ts index de2e111ea0..3cbcac39b0 100644 --- a/sdk/nodejs/athena/getDataCatalog.ts +++ b/sdk/nodejs/athena/getDataCatalog.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Athena::DataCatalog */ export function getDataCatalog(args: GetDataCatalogArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:athena:getDataCatalog", { "name": args.name, @@ -47,7 +46,10 @@ export interface GetDataCatalogResult { * Resource schema for AWS::Athena::DataCatalog */ export function getDataCatalogOutput(args: GetDataCatalogOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataCatalog(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:athena:getDataCatalog", { + "name": args.name, + }, opts); } export interface GetDataCatalogOutputArgs { diff --git a/sdk/nodejs/athena/getNamedQuery.ts b/sdk/nodejs/athena/getNamedQuery.ts index dcc0569218..e03eabacc9 100644 --- a/sdk/nodejs/athena/getNamedQuery.ts +++ b/sdk/nodejs/athena/getNamedQuery.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Athena::NamedQuery */ export function getNamedQuery(args: GetNamedQueryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:athena:getNamedQuery", { "namedQueryId": args.namedQueryId, @@ -32,7 +31,10 @@ export interface GetNamedQueryResult { * Resource schema for AWS::Athena::NamedQuery */ export function getNamedQueryOutput(args: GetNamedQueryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNamedQuery(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:athena:getNamedQuery", { + "namedQueryId": args.namedQueryId, + }, opts); } export interface GetNamedQueryOutputArgs { diff --git a/sdk/nodejs/athena/getPreparedStatement.ts b/sdk/nodejs/athena/getPreparedStatement.ts index bdbf611750..e15b1d7527 100644 --- a/sdk/nodejs/athena/getPreparedStatement.ts +++ b/sdk/nodejs/athena/getPreparedStatement.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Athena::PreparedStatement */ export function getPreparedStatement(args: GetPreparedStatementArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:athena:getPreparedStatement", { "statementName": args.statementName, @@ -41,7 +40,11 @@ export interface GetPreparedStatementResult { * Resource schema for AWS::Athena::PreparedStatement */ export function getPreparedStatementOutput(args: GetPreparedStatementOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPreparedStatement(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:athena:getPreparedStatement", { + "statementName": args.statementName, + "workGroup": args.workGroup, + }, opts); } export interface GetPreparedStatementOutputArgs { diff --git a/sdk/nodejs/athena/getWorkGroup.ts b/sdk/nodejs/athena/getWorkGroup.ts index a5146d257e..1d7f20c112 100644 --- a/sdk/nodejs/athena/getWorkGroup.ts +++ b/sdk/nodejs/athena/getWorkGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Athena::WorkGroup */ export function getWorkGroup(args: GetWorkGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:athena:getWorkGroup", { "name": args.name, @@ -51,7 +50,10 @@ export interface GetWorkGroupResult { * Resource schema for AWS::Athena::WorkGroup */ export function getWorkGroupOutput(args: GetWorkGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWorkGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:athena:getWorkGroup", { + "name": args.name, + }, opts); } export interface GetWorkGroupOutputArgs { diff --git a/sdk/nodejs/auditmanager/getAssessment.ts b/sdk/nodejs/auditmanager/getAssessment.ts index ae34d413fd..4c7cb01a47 100644 --- a/sdk/nodejs/auditmanager/getAssessment.ts +++ b/sdk/nodejs/auditmanager/getAssessment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An entity that defines the scope of audit evidence collected by AWS Audit Manager. */ export function getAssessment(args: GetAssessmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:auditmanager:getAssessment", { "assessmentId": args.assessmentId, @@ -71,7 +70,10 @@ export interface GetAssessmentResult { * An entity that defines the scope of audit evidence collected by AWS Audit Manager. */ export function getAssessmentOutput(args: GetAssessmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAssessment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:auditmanager:getAssessment", { + "assessmentId": args.assessmentId, + }, opts); } export interface GetAssessmentOutputArgs { diff --git a/sdk/nodejs/autoscaling/getAutoScalingGroup.ts b/sdk/nodejs/autoscaling/getAutoScalingGroup.ts index 8a310a00d1..26439c5ed5 100644 --- a/sdk/nodejs/autoscaling/getAutoScalingGroup.ts +++ b/sdk/nodejs/autoscaling/getAutoScalingGroup.ts @@ -14,7 +14,6 @@ import * as utilities from "../utilities"; * For help migrating from launch configurations to launch templates, see [Migrate CloudFormation stacks from launch configurations to launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/migrate-launch-configurations-with-cloudformation.html) in the *Amazon EC2 Auto Scaling User Guide*. */ export function getAutoScalingGroup(args: GetAutoScalingGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:autoscaling:getAutoScalingGroup", { "autoScalingGroupName": args.autoScalingGroupName, @@ -170,7 +169,10 @@ export interface GetAutoScalingGroupResult { * For help migrating from launch configurations to launch templates, see [Migrate CloudFormation stacks from launch configurations to launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/migrate-launch-configurations-with-cloudformation.html) in the *Amazon EC2 Auto Scaling User Guide*. */ export function getAutoScalingGroupOutput(args: GetAutoScalingGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAutoScalingGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:autoscaling:getAutoScalingGroup", { + "autoScalingGroupName": args.autoScalingGroupName, + }, opts); } export interface GetAutoScalingGroupOutputArgs { diff --git a/sdk/nodejs/autoscaling/getLifecycleHook.ts b/sdk/nodejs/autoscaling/getLifecycleHook.ts index f9afc36e80..9f31d06c0b 100644 --- a/sdk/nodejs/autoscaling/getLifecycleHook.ts +++ b/sdk/nodejs/autoscaling/getLifecycleHook.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::AutoScaling::LifecycleHook */ export function getLifecycleHook(args: GetLifecycleHookArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:autoscaling:getLifecycleHook", { "autoScalingGroupName": args.autoScalingGroupName, @@ -57,7 +56,11 @@ export interface GetLifecycleHookResult { * Resource Type definition for AWS::AutoScaling::LifecycleHook */ export function getLifecycleHookOutput(args: GetLifecycleHookOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLifecycleHook(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:autoscaling:getLifecycleHook", { + "autoScalingGroupName": args.autoScalingGroupName, + "lifecycleHookName": args.lifecycleHookName, + }, opts); } export interface GetLifecycleHookOutputArgs { diff --git a/sdk/nodejs/autoscaling/getScalingPolicy.ts b/sdk/nodejs/autoscaling/getScalingPolicy.ts index 0d0a9e4198..947f82a700 100644 --- a/sdk/nodejs/autoscaling/getScalingPolicy.ts +++ b/sdk/nodejs/autoscaling/getScalingPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::AutoScaling::ScalingPolicy resource specifies an Amazon EC2 Auto Scaling scaling policy so that the Auto Scaling group can scale the number of instances available for your application. */ export function getScalingPolicy(args: GetScalingPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:autoscaling:getScalingPolicy", { "arn": args.arn, @@ -79,7 +78,10 @@ export interface GetScalingPolicyResult { * The AWS::AutoScaling::ScalingPolicy resource specifies an Amazon EC2 Auto Scaling scaling policy so that the Auto Scaling group can scale the number of instances available for your application. */ export function getScalingPolicyOutput(args: GetScalingPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getScalingPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:autoscaling:getScalingPolicy", { + "arn": args.arn, + }, opts); } export interface GetScalingPolicyOutputArgs { diff --git a/sdk/nodejs/autoscaling/getScheduledAction.ts b/sdk/nodejs/autoscaling/getScheduledAction.ts index e82c0299a7..ee616c9959 100644 --- a/sdk/nodejs/autoscaling/getScheduledAction.ts +++ b/sdk/nodejs/autoscaling/getScheduledAction.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::AutoScaling::ScheduledAction resource specifies an Amazon EC2 Auto Scaling scheduled action so that the Auto Scaling group can change the number of instances available for your application in response to predictable load changes. */ export function getScheduledAction(args: GetScheduledActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:autoscaling:getScheduledAction", { "autoScalingGroupName": args.autoScalingGroupName, @@ -65,7 +64,11 @@ export interface GetScheduledActionResult { * The AWS::AutoScaling::ScheduledAction resource specifies an Amazon EC2 Auto Scaling scheduled action so that the Auto Scaling group can change the number of instances available for your application in response to predictable load changes. */ export function getScheduledActionOutput(args: GetScheduledActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getScheduledAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:autoscaling:getScheduledAction", { + "autoScalingGroupName": args.autoScalingGroupName, + "scheduledActionName": args.scheduledActionName, + }, opts); } export interface GetScheduledActionOutputArgs { diff --git a/sdk/nodejs/autoscaling/getWarmPool.ts b/sdk/nodejs/autoscaling/getWarmPool.ts index f099aba4d4..3d89dd1bd5 100644 --- a/sdk/nodejs/autoscaling/getWarmPool.ts +++ b/sdk/nodejs/autoscaling/getWarmPool.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::AutoScaling::WarmPool. */ export function getWarmPool(args: GetWarmPoolArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:autoscaling:getWarmPool", { "autoScalingGroupName": args.autoScalingGroupName, @@ -53,7 +52,10 @@ export interface GetWarmPoolResult { * Resource schema for AWS::AutoScaling::WarmPool. */ export function getWarmPoolOutput(args: GetWarmPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWarmPool(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:autoscaling:getWarmPool", { + "autoScalingGroupName": args.autoScalingGroupName, + }, opts); } export interface GetWarmPoolOutputArgs { diff --git a/sdk/nodejs/b2bi/getCapability.ts b/sdk/nodejs/b2bi/getCapability.ts index 592a9a24ec..ca02d78596 100644 --- a/sdk/nodejs/b2bi/getCapability.ts +++ b/sdk/nodejs/b2bi/getCapability.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::B2BI::Capability Resource Type */ export function getCapability(args: GetCapabilityArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:b2bi:getCapability", { "capabilityId": args.capabilityId, @@ -63,7 +62,10 @@ export interface GetCapabilityResult { * Definition of AWS::B2BI::Capability Resource Type */ export function getCapabilityOutput(args: GetCapabilityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCapability(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:b2bi:getCapability", { + "capabilityId": args.capabilityId, + }, opts); } export interface GetCapabilityOutputArgs { diff --git a/sdk/nodejs/b2bi/getPartnership.ts b/sdk/nodejs/b2bi/getPartnership.ts index e864e02e72..91eb7af4b4 100644 --- a/sdk/nodejs/b2bi/getPartnership.ts +++ b/sdk/nodejs/b2bi/getPartnership.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::B2BI::Partnership Resource Type */ export function getPartnership(args: GetPartnershipArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:b2bi:getPartnership", { "partnershipId": args.partnershipId, @@ -67,7 +66,10 @@ export interface GetPartnershipResult { * Definition of AWS::B2BI::Partnership Resource Type */ export function getPartnershipOutput(args: GetPartnershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPartnership(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:b2bi:getPartnership", { + "partnershipId": args.partnershipId, + }, opts); } export interface GetPartnershipOutputArgs { diff --git a/sdk/nodejs/b2bi/getProfile.ts b/sdk/nodejs/b2bi/getProfile.ts index f6bcbc9eb0..2170415bcc 100644 --- a/sdk/nodejs/b2bi/getProfile.ts +++ b/sdk/nodejs/b2bi/getProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::B2BI::Profile Resource Type */ export function getProfile(args: GetProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:b2bi:getProfile", { "profileId": args.profileId, @@ -59,7 +58,10 @@ export interface GetProfileResult { * Definition of AWS::B2BI::Profile Resource Type */ export function getProfileOutput(args: GetProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:b2bi:getProfile", { + "profileId": args.profileId, + }, opts); } export interface GetProfileOutputArgs { diff --git a/sdk/nodejs/b2bi/getTransformer.ts b/sdk/nodejs/b2bi/getTransformer.ts index c1da49a7db..0a7c62370f 100644 --- a/sdk/nodejs/b2bi/getTransformer.ts +++ b/sdk/nodejs/b2bi/getTransformer.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::B2BI::Transformer Resource Type */ export function getTransformer(args: GetTransformerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:b2bi:getTransformer", { "transformerId": args.transformerId, @@ -85,7 +84,10 @@ export interface GetTransformerResult { * Definition of AWS::B2BI::Transformer Resource Type */ export function getTransformerOutput(args: GetTransformerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransformer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:b2bi:getTransformer", { + "transformerId": args.transformerId, + }, opts); } export interface GetTransformerOutputArgs { diff --git a/sdk/nodejs/backup/getBackupPlan.ts b/sdk/nodejs/backup/getBackupPlan.ts index 4fa962330d..27df3b37f8 100644 --- a/sdk/nodejs/backup/getBackupPlan.ts +++ b/sdk/nodejs/backup/getBackupPlan.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Backup::BackupPlan */ export function getBackupPlan(args: GetBackupPlanArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:backup:getBackupPlan", { "backupPlanId": args.backupPlanId, @@ -51,7 +50,10 @@ export interface GetBackupPlanResult { * Resource Type definition for AWS::Backup::BackupPlan */ export function getBackupPlanOutput(args: GetBackupPlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBackupPlan(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:backup:getBackupPlan", { + "backupPlanId": args.backupPlanId, + }, opts); } export interface GetBackupPlanOutputArgs { diff --git a/sdk/nodejs/backup/getBackupSelection.ts b/sdk/nodejs/backup/getBackupSelection.ts index dec86a78a0..e1b7c3f89f 100644 --- a/sdk/nodejs/backup/getBackupSelection.ts +++ b/sdk/nodejs/backup/getBackupSelection.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Backup::BackupSelection */ export function getBackupSelection(args: GetBackupSelectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:backup:getBackupSelection", { "id": args.id, @@ -36,7 +35,10 @@ export interface GetBackupSelectionResult { * Resource Type definition for AWS::Backup::BackupSelection */ export function getBackupSelectionOutput(args: GetBackupSelectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBackupSelection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:backup:getBackupSelection", { + "id": args.id, + }, opts); } export interface GetBackupSelectionOutputArgs { diff --git a/sdk/nodejs/backup/getBackupVault.ts b/sdk/nodejs/backup/getBackupVault.ts index 5bcbb2c199..b166a9f726 100644 --- a/sdk/nodejs/backup/getBackupVault.ts +++ b/sdk/nodejs/backup/getBackupVault.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Backup::BackupVault */ export function getBackupVault(args: GetBackupVaultArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:backup:getBackupVault", { "backupVaultName": args.backupVaultName, @@ -53,7 +52,10 @@ export interface GetBackupVaultResult { * Resource Type definition for AWS::Backup::BackupVault */ export function getBackupVaultOutput(args: GetBackupVaultOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBackupVault(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:backup:getBackupVault", { + "backupVaultName": args.backupVaultName, + }, opts); } export interface GetBackupVaultOutputArgs { diff --git a/sdk/nodejs/backup/getFramework.ts b/sdk/nodejs/backup/getFramework.ts index 926758c006..f05aa7ca93 100644 --- a/sdk/nodejs/backup/getFramework.ts +++ b/sdk/nodejs/backup/getFramework.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Contains detailed information about a framework. Frameworks contain controls, which evaluate and report on your backup events and resources. Frameworks generate daily compliance results. */ export function getFramework(args: GetFrameworkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:backup:getFramework", { "frameworkArn": args.frameworkArn, @@ -67,7 +66,10 @@ export interface GetFrameworkResult { * Contains detailed information about a framework. Frameworks contain controls, which evaluate and report on your backup events and resources. Frameworks generate daily compliance results. */ export function getFrameworkOutput(args: GetFrameworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFramework(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:backup:getFramework", { + "frameworkArn": args.frameworkArn, + }, opts); } export interface GetFrameworkOutputArgs { diff --git a/sdk/nodejs/backup/getReportPlan.ts b/sdk/nodejs/backup/getReportPlan.ts index 01f3355703..272133112b 100644 --- a/sdk/nodejs/backup/getReportPlan.ts +++ b/sdk/nodejs/backup/getReportPlan.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Contains detailed information about a report plan in AWS Backup Audit Manager. */ export function getReportPlan(args: GetReportPlanArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:backup:getReportPlan", { "reportPlanArn": args.reportPlanArn, @@ -51,7 +50,10 @@ export interface GetReportPlanResult { * Contains detailed information about a report plan in AWS Backup Audit Manager. */ export function getReportPlanOutput(args: GetReportPlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getReportPlan(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:backup:getReportPlan", { + "reportPlanArn": args.reportPlanArn, + }, opts); } export interface GetReportPlanOutputArgs { diff --git a/sdk/nodejs/backup/getRestoreTestingPlan.ts b/sdk/nodejs/backup/getRestoreTestingPlan.ts index d44c6af29a..1bf0ffdcb7 100644 --- a/sdk/nodejs/backup/getRestoreTestingPlan.ts +++ b/sdk/nodejs/backup/getRestoreTestingPlan.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Backup::RestoreTestingPlan Resource Type */ export function getRestoreTestingPlan(args: GetRestoreTestingPlanArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:backup:getRestoreTestingPlan", { "restoreTestingPlanName": args.restoreTestingPlanName, @@ -58,7 +57,10 @@ export interface GetRestoreTestingPlanResult { * Definition of AWS::Backup::RestoreTestingPlan Resource Type */ export function getRestoreTestingPlanOutput(args: GetRestoreTestingPlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRestoreTestingPlan(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:backup:getRestoreTestingPlan", { + "restoreTestingPlanName": args.restoreTestingPlanName, + }, opts); } export interface GetRestoreTestingPlanOutputArgs { diff --git a/sdk/nodejs/backup/getRestoreTestingSelection.ts b/sdk/nodejs/backup/getRestoreTestingSelection.ts index 48562d075b..f4a8decfb2 100644 --- a/sdk/nodejs/backup/getRestoreTestingSelection.ts +++ b/sdk/nodejs/backup/getRestoreTestingSelection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Backup::RestoreTestingSelection */ export function getRestoreTestingSelection(args: GetRestoreTestingSelectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:backup:getRestoreTestingSelection", { "restoreTestingPlanName": args.restoreTestingPlanName, @@ -60,7 +59,11 @@ export interface GetRestoreTestingSelectionResult { * Resource Type definition for AWS::Backup::RestoreTestingSelection */ export function getRestoreTestingSelectionOutput(args: GetRestoreTestingSelectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRestoreTestingSelection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:backup:getRestoreTestingSelection", { + "restoreTestingPlanName": args.restoreTestingPlanName, + "restoreTestingSelectionName": args.restoreTestingSelectionName, + }, opts); } export interface GetRestoreTestingSelectionOutputArgs { diff --git a/sdk/nodejs/backupgateway/getHypervisor.ts b/sdk/nodejs/backupgateway/getHypervisor.ts index 7a31111564..7dfd417662 100644 --- a/sdk/nodejs/backupgateway/getHypervisor.ts +++ b/sdk/nodejs/backupgateway/getHypervisor.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::BackupGateway::Hypervisor Resource Type */ export function getHypervisor(args: GetHypervisorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:backupgateway:getHypervisor", { "hypervisorArn": args.hypervisorArn, @@ -36,7 +35,10 @@ export interface GetHypervisorResult { * Definition of AWS::BackupGateway::Hypervisor Resource Type */ export function getHypervisorOutput(args: GetHypervisorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getHypervisor(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:backupgateway:getHypervisor", { + "hypervisorArn": args.hypervisorArn, + }, opts); } export interface GetHypervisorOutputArgs { diff --git a/sdk/nodejs/batch/getComputeEnvironment.ts b/sdk/nodejs/batch/getComputeEnvironment.ts index 7459d4d5bf..cf586bb3b8 100644 --- a/sdk/nodejs/batch/getComputeEnvironment.ts +++ b/sdk/nodejs/batch/getComputeEnvironment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Batch::ComputeEnvironment */ export function getComputeEnvironment(args: GetComputeEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:batch:getComputeEnvironment", { "computeEnvironmentArn": args.computeEnvironmentArn, @@ -71,7 +70,10 @@ export interface GetComputeEnvironmentResult { * Resource Type definition for AWS::Batch::ComputeEnvironment */ export function getComputeEnvironmentOutput(args: GetComputeEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getComputeEnvironment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:batch:getComputeEnvironment", { + "computeEnvironmentArn": args.computeEnvironmentArn, + }, opts); } export interface GetComputeEnvironmentOutputArgs { diff --git a/sdk/nodejs/batch/getJobDefinition.ts b/sdk/nodejs/batch/getJobDefinition.ts index 059958f759..49da27bae1 100644 --- a/sdk/nodejs/batch/getJobDefinition.ts +++ b/sdk/nodejs/batch/getJobDefinition.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Batch::JobDefinition */ export function getJobDefinition(args: GetJobDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:batch:getJobDefinition", { "id": args.id, @@ -82,7 +81,10 @@ export interface GetJobDefinitionResult { * Resource Type definition for AWS::Batch::JobDefinition */ export function getJobDefinitionOutput(args: GetJobDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getJobDefinition(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:batch:getJobDefinition", { + "id": args.id, + }, opts); } export interface GetJobDefinitionOutputArgs { diff --git a/sdk/nodejs/batch/getJobQueue.ts b/sdk/nodejs/batch/getJobQueue.ts index 407f15a2ff..32a9b848e1 100644 --- a/sdk/nodejs/batch/getJobQueue.ts +++ b/sdk/nodejs/batch/getJobQueue.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Batch::JobQueue */ export function getJobQueue(args: GetJobQueueArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:batch:getJobQueue", { "jobQueueArn": args.jobQueueArn, @@ -57,7 +56,10 @@ export interface GetJobQueueResult { * Resource Type definition for AWS::Batch::JobQueue */ export function getJobQueueOutput(args: GetJobQueueOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getJobQueue(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:batch:getJobQueue", { + "jobQueueArn": args.jobQueueArn, + }, opts); } export interface GetJobQueueOutputArgs { diff --git a/sdk/nodejs/batch/getSchedulingPolicy.ts b/sdk/nodejs/batch/getSchedulingPolicy.ts index ae28070296..8ec9f66172 100644 --- a/sdk/nodejs/batch/getSchedulingPolicy.ts +++ b/sdk/nodejs/batch/getSchedulingPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type schema for AWS::Batch::SchedulingPolicy */ export function getSchedulingPolicy(args: GetSchedulingPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:batch:getSchedulingPolicy", { "arn": args.arn, @@ -39,7 +38,10 @@ export interface GetSchedulingPolicyResult { * Resource Type schema for AWS::Batch::SchedulingPolicy */ export function getSchedulingPolicyOutput(args: GetSchedulingPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSchedulingPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:batch:getSchedulingPolicy", { + "arn": args.arn, + }, opts); } export interface GetSchedulingPolicyOutputArgs { diff --git a/sdk/nodejs/bedrock/getAgent.ts b/sdk/nodejs/bedrock/getAgent.ts index 7f582f25c6..9633c526b9 100644 --- a/sdk/nodejs/bedrock/getAgent.ts +++ b/sdk/nodejs/bedrock/getAgent.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Bedrock::Agent Resource Type */ export function getAgent(args: GetAgentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:bedrock:getAgent", { "agentId": args.agentId, @@ -133,7 +132,10 @@ export interface GetAgentResult { * Definition of AWS::Bedrock::Agent Resource Type */ export function getAgentOutput(args: GetAgentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAgent(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getAgent", { + "agentId": args.agentId, + }, opts); } export interface GetAgentOutputArgs { diff --git a/sdk/nodejs/bedrock/getAgentAlias.ts b/sdk/nodejs/bedrock/getAgentAlias.ts index 0ab3f3ee6c..3780918083 100644 --- a/sdk/nodejs/bedrock/getAgentAlias.ts +++ b/sdk/nodejs/bedrock/getAgentAlias.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Bedrock::AgentAlias Resource Type */ export function getAgentAlias(args: GetAgentAliasArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:bedrock:getAgentAlias", { "agentAliasId": args.agentAliasId, @@ -85,7 +84,11 @@ export interface GetAgentAliasResult { * Definition of AWS::Bedrock::AgentAlias Resource Type */ export function getAgentAliasOutput(args: GetAgentAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAgentAlias(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getAgentAlias", { + "agentAliasId": args.agentAliasId, + "agentId": args.agentId, + }, opts); } export interface GetAgentAliasOutputArgs { diff --git a/sdk/nodejs/bedrock/getDataSource.ts b/sdk/nodejs/bedrock/getDataSource.ts index 7d2ecd98d2..498bae9c99 100644 --- a/sdk/nodejs/bedrock/getDataSource.ts +++ b/sdk/nodejs/bedrock/getDataSource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Bedrock::DataSource Resource Type */ export function getDataSource(args: GetDataSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:bedrock:getDataSource", { "dataSourceId": args.dataSourceId, @@ -83,7 +82,11 @@ export interface GetDataSourceResult { * Definition of AWS::Bedrock::DataSource Resource Type */ export function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getDataSource", { + "dataSourceId": args.dataSourceId, + "knowledgeBaseId": args.knowledgeBaseId, + }, opts); } export interface GetDataSourceOutputArgs { diff --git a/sdk/nodejs/bedrock/getFlow.ts b/sdk/nodejs/bedrock/getFlow.ts index 3b72e05ae5..7a379fd311 100644 --- a/sdk/nodejs/bedrock/getFlow.ts +++ b/sdk/nodejs/bedrock/getFlow.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Bedrock::Flow Resource Type */ export function getFlow(args: GetFlowArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:bedrock:getFlow", { "arn": args.arn, @@ -89,7 +88,10 @@ export interface GetFlowResult { * Definition of AWS::Bedrock::Flow Resource Type */ export function getFlowOutput(args: GetFlowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFlow(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getFlow", { + "arn": args.arn, + }, opts); } export interface GetFlowOutputArgs { diff --git a/sdk/nodejs/bedrock/getFlowAlias.ts b/sdk/nodejs/bedrock/getFlowAlias.ts index 3a7b799f90..f212adf330 100644 --- a/sdk/nodejs/bedrock/getFlowAlias.ts +++ b/sdk/nodejs/bedrock/getFlowAlias.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Bedrock::FlowAlias Resource Type */ export function getFlowAlias(args: GetFlowAliasArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:bedrock:getFlowAlias", { "arn": args.arn, @@ -75,7 +74,11 @@ export interface GetFlowAliasResult { * Definition of AWS::Bedrock::FlowAlias Resource Type */ export function getFlowAliasOutput(args: GetFlowAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFlowAlias(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getFlowAlias", { + "arn": args.arn, + "flowArn": args.flowArn, + }, opts); } export interface GetFlowAliasOutputArgs { diff --git a/sdk/nodejs/bedrock/getFlowVersion.ts b/sdk/nodejs/bedrock/getFlowVersion.ts index ad4de8c45a..20eae8a130 100644 --- a/sdk/nodejs/bedrock/getFlowVersion.ts +++ b/sdk/nodejs/bedrock/getFlowVersion.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Bedrock::FlowVersion Resource Type */ export function getFlowVersion(args: GetFlowVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:bedrock:getFlowVersion", { "flowArn": args.flowArn, @@ -65,7 +64,11 @@ export interface GetFlowVersionResult { * Definition of AWS::Bedrock::FlowVersion Resource Type */ export function getFlowVersionOutput(args: GetFlowVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFlowVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getFlowVersion", { + "flowArn": args.flowArn, + "version": args.version, + }, opts); } export interface GetFlowVersionOutputArgs { diff --git a/sdk/nodejs/bedrock/getGuardrail.ts b/sdk/nodejs/bedrock/getGuardrail.ts index 784fcf9641..73b99eb52b 100644 --- a/sdk/nodejs/bedrock/getGuardrail.ts +++ b/sdk/nodejs/bedrock/getGuardrail.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Bedrock::Guardrail Resource Type */ export function getGuardrail(args: GetGuardrailArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:bedrock:getGuardrail", { "guardrailArn": args.guardrailArn, @@ -104,7 +103,10 @@ export interface GetGuardrailResult { * Definition of AWS::Bedrock::Guardrail Resource Type */ export function getGuardrailOutput(args: GetGuardrailOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGuardrail(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getGuardrail", { + "guardrailArn": args.guardrailArn, + }, opts); } export interface GetGuardrailOutputArgs { diff --git a/sdk/nodejs/bedrock/getGuardrailVersion.ts b/sdk/nodejs/bedrock/getGuardrailVersion.ts index 2ac8f3ef95..7476489e74 100644 --- a/sdk/nodejs/bedrock/getGuardrailVersion.ts +++ b/sdk/nodejs/bedrock/getGuardrailVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Bedrock::GuardrailVersion Resource Type */ export function getGuardrailVersion(args: GetGuardrailVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:bedrock:getGuardrailVersion", { "guardrailId": args.guardrailId, @@ -45,7 +44,11 @@ export interface GetGuardrailVersionResult { * Definition of AWS::Bedrock::GuardrailVersion Resource Type */ export function getGuardrailVersionOutput(args: GetGuardrailVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGuardrailVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getGuardrailVersion", { + "guardrailId": args.guardrailId, + "version": args.version, + }, opts); } export interface GetGuardrailVersionOutputArgs { diff --git a/sdk/nodejs/bedrock/getKnowledgeBase.ts b/sdk/nodejs/bedrock/getKnowledgeBase.ts index ef6cfb7613..c739b154c2 100644 --- a/sdk/nodejs/bedrock/getKnowledgeBase.ts +++ b/sdk/nodejs/bedrock/getKnowledgeBase.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Bedrock::KnowledgeBase Resource Type */ export function getKnowledgeBase(args: GetKnowledgeBaseArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:bedrock:getKnowledgeBase", { "knowledgeBaseId": args.knowledgeBaseId, @@ -74,7 +73,10 @@ export interface GetKnowledgeBaseResult { * Definition of AWS::Bedrock::KnowledgeBase Resource Type */ export function getKnowledgeBaseOutput(args: GetKnowledgeBaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getKnowledgeBase(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getKnowledgeBase", { + "knowledgeBaseId": args.knowledgeBaseId, + }, opts); } export interface GetKnowledgeBaseOutputArgs { diff --git a/sdk/nodejs/bedrock/getPrompt.ts b/sdk/nodejs/bedrock/getPrompt.ts index 169fe706f5..6144389de9 100644 --- a/sdk/nodejs/bedrock/getPrompt.ts +++ b/sdk/nodejs/bedrock/getPrompt.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Bedrock::Prompt Resource Type */ export function getPrompt(args: GetPromptArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:bedrock:getPrompt", { "arn": args.arn, @@ -78,7 +77,10 @@ export interface GetPromptResult { * Definition of AWS::Bedrock::Prompt Resource Type */ export function getPromptOutput(args: GetPromptOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPrompt(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getPrompt", { + "arn": args.arn, + }, opts); } export interface GetPromptOutputArgs { diff --git a/sdk/nodejs/bedrock/getPromptVersion.ts b/sdk/nodejs/bedrock/getPromptVersion.ts index d36d05f85e..0357d6467e 100644 --- a/sdk/nodejs/bedrock/getPromptVersion.ts +++ b/sdk/nodejs/bedrock/getPromptVersion.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Bedrock::PromptVersion Resource Type */ export function getPromptVersion(args: GetPromptVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:bedrock:getPromptVersion", { "arn": args.arn, @@ -68,7 +67,10 @@ export interface GetPromptVersionResult { * Definition of AWS::Bedrock::PromptVersion Resource Type */ export function getPromptVersionOutput(args: GetPromptVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPromptVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:bedrock:getPromptVersion", { + "arn": args.arn, + }, opts); } export interface GetPromptVersionOutputArgs { diff --git a/sdk/nodejs/budgets/getBudgetsAction.ts b/sdk/nodejs/budgets/getBudgetsAction.ts index 324a5e2f3e..dd422a204d 100644 --- a/sdk/nodejs/budgets/getBudgetsAction.ts +++ b/sdk/nodejs/budgets/getBudgetsAction.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getBudgetsAction(args: GetBudgetsActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:budgets:getBudgetsAction", { "actionId": args.actionId, @@ -68,7 +67,11 @@ export interface GetBudgetsActionResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getBudgetsActionOutput(args: GetBudgetsActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBudgetsAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:budgets:getBudgetsAction", { + "actionId": args.actionId, + "budgetName": args.budgetName, + }, opts); } export interface GetBudgetsActionOutputArgs { diff --git a/sdk/nodejs/cassandra/getKeyspace.ts b/sdk/nodejs/cassandra/getKeyspace.ts index 63fee0906b..990b568961 100644 --- a/sdk/nodejs/cassandra/getKeyspace.ts +++ b/sdk/nodejs/cassandra/getKeyspace.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Cassandra::Keyspace */ export function getKeyspace(args: GetKeyspaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cassandra:getKeyspace", { "keyspaceName": args.keyspaceName, @@ -37,7 +36,10 @@ export interface GetKeyspaceResult { * Resource schema for AWS::Cassandra::Keyspace */ export function getKeyspaceOutput(args: GetKeyspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getKeyspace(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cassandra:getKeyspace", { + "keyspaceName": args.keyspaceName, + }, opts); } export interface GetKeyspaceOutputArgs { diff --git a/sdk/nodejs/cassandra/getTable.ts b/sdk/nodejs/cassandra/getTable.ts index b0ad227188..ac72458abc 100644 --- a/sdk/nodejs/cassandra/getTable.ts +++ b/sdk/nodejs/cassandra/getTable.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Cassandra::Table */ export function getTable(args: GetTableArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cassandra:getTable", { "keyspaceName": args.keyspaceName, @@ -72,7 +71,11 @@ export interface GetTableResult { * Resource schema for AWS::Cassandra::Table */ export function getTableOutput(args: GetTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTable(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cassandra:getTable", { + "keyspaceName": args.keyspaceName, + "tableName": args.tableName, + }, opts); } export interface GetTableOutputArgs { diff --git a/sdk/nodejs/ce/getAnomalyMonitor.ts b/sdk/nodejs/ce/getAnomalyMonitor.ts index 08d5c27483..6c2e9f47ed 100644 --- a/sdk/nodejs/ce/getAnomalyMonitor.ts +++ b/sdk/nodejs/ce/getAnomalyMonitor.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * AWS Cost Anomaly Detection leverages advanced Machine Learning technologies to identify anomalous spend and root causes, so you can quickly take action. You can use Cost Anomaly Detection by creating monitor. */ export function getAnomalyMonitor(args: GetAnomalyMonitorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ce:getAnomalyMonitor", { "monitorArn": args.monitorArn, @@ -52,7 +51,10 @@ export interface GetAnomalyMonitorResult { * AWS Cost Anomaly Detection leverages advanced Machine Learning technologies to identify anomalous spend and root causes, so you can quickly take action. You can use Cost Anomaly Detection by creating monitor. */ export function getAnomalyMonitorOutput(args: GetAnomalyMonitorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAnomalyMonitor(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ce:getAnomalyMonitor", { + "monitorArn": args.monitorArn, + }, opts); } export interface GetAnomalyMonitorOutputArgs { diff --git a/sdk/nodejs/ce/getAnomalySubscription.ts b/sdk/nodejs/ce/getAnomalySubscription.ts index d9033f95eb..f348df9301 100644 --- a/sdk/nodejs/ce/getAnomalySubscription.ts +++ b/sdk/nodejs/ce/getAnomalySubscription.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS Cost Anomaly Detection leverages advanced Machine Learning technologies to identify anomalous spend and root causes, so you can quickly take action. Create subscription to be notified */ export function getAnomalySubscription(args: GetAnomalySubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ce:getAnomalySubscription", { "subscriptionArn": args.subscriptionArn, @@ -63,7 +62,10 @@ export interface GetAnomalySubscriptionResult { * AWS Cost Anomaly Detection leverages advanced Machine Learning technologies to identify anomalous spend and root causes, so you can quickly take action. Create subscription to be notified */ export function getAnomalySubscriptionOutput(args: GetAnomalySubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAnomalySubscription(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ce:getAnomalySubscription", { + "subscriptionArn": args.subscriptionArn, + }, opts); } export interface GetAnomalySubscriptionOutputArgs { diff --git a/sdk/nodejs/ce/getCostCategory.ts b/sdk/nodejs/ce/getCostCategory.ts index bcbc0ff066..2b2c522afc 100644 --- a/sdk/nodejs/ce/getCostCategory.ts +++ b/sdk/nodejs/ce/getCostCategory.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Cost Category enables you to map your cost and usage into meaningful categories. You can use Cost Category to organize your costs using a rule-based engine. */ export function getCostCategory(args: GetCostCategoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ce:getCostCategory", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetCostCategoryResult { * Cost Category enables you to map your cost and usage into meaningful categories. You can use Cost Category to organize your costs using a rule-based engine. */ export function getCostCategoryOutput(args: GetCostCategoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCostCategory(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ce:getCostCategory", { + "arn": args.arn, + }, opts); } export interface GetCostCategoryOutputArgs { diff --git a/sdk/nodejs/certificatemanager/getAccount.ts b/sdk/nodejs/certificatemanager/getAccount.ts index c8fd8bbe93..6988f5c8b4 100644 --- a/sdk/nodejs/certificatemanager/getAccount.ts +++ b/sdk/nodejs/certificatemanager/getAccount.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::CertificateManager::Account. */ export function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:certificatemanager:getAccount", { "accountId": args.accountId, @@ -39,7 +38,10 @@ export interface GetAccountResult { * Resource schema for AWS::CertificateManager::Account. */ export function getAccountOutput(args: GetAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccount(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:certificatemanager:getAccount", { + "accountId": args.accountId, + }, opts); } export interface GetAccountOutputArgs { diff --git a/sdk/nodejs/chatbot/getMicrosoftTeamsChannelConfiguration.ts b/sdk/nodejs/chatbot/getMicrosoftTeamsChannelConfiguration.ts index e1c2e1c45b..2626bdb3cd 100644 --- a/sdk/nodejs/chatbot/getMicrosoftTeamsChannelConfiguration.ts +++ b/sdk/nodejs/chatbot/getMicrosoftTeamsChannelConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Chatbot::MicrosoftTeamsChannelConfiguration. */ export function getMicrosoftTeamsChannelConfiguration(args: GetMicrosoftTeamsChannelConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:chatbot:getMicrosoftTeamsChannelConfiguration", { "arn": args.arn, @@ -63,7 +62,10 @@ export interface GetMicrosoftTeamsChannelConfigurationResult { * Resource schema for AWS::Chatbot::MicrosoftTeamsChannelConfiguration. */ export function getMicrosoftTeamsChannelConfigurationOutput(args: GetMicrosoftTeamsChannelConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMicrosoftTeamsChannelConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:chatbot:getMicrosoftTeamsChannelConfiguration", { + "arn": args.arn, + }, opts); } export interface GetMicrosoftTeamsChannelConfigurationOutputArgs { diff --git a/sdk/nodejs/chatbot/getSlackChannelConfiguration.ts b/sdk/nodejs/chatbot/getSlackChannelConfiguration.ts index f1f51be476..eac0d84451 100644 --- a/sdk/nodejs/chatbot/getSlackChannelConfiguration.ts +++ b/sdk/nodejs/chatbot/getSlackChannelConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Chatbot::SlackChannelConfiguration. */ export function getSlackChannelConfiguration(args: GetSlackChannelConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:chatbot:getSlackChannelConfiguration", { "arn": args.arn, @@ -63,7 +62,10 @@ export interface GetSlackChannelConfigurationResult { * Resource schema for AWS::Chatbot::SlackChannelConfiguration. */ export function getSlackChannelConfigurationOutput(args: GetSlackChannelConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSlackChannelConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:chatbot:getSlackChannelConfiguration", { + "arn": args.arn, + }, opts); } export interface GetSlackChannelConfigurationOutputArgs { diff --git a/sdk/nodejs/cidr.ts b/sdk/nodejs/cidr.ts index 7918d4a773..da408e2cd6 100644 --- a/sdk/nodejs/cidr.ts +++ b/sdk/nodejs/cidr.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function cidr(args: CidrArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:index:cidr", { "cidrBits": args.cidrBits, @@ -24,7 +23,12 @@ export interface CidrResult { readonly subnets: string[]; } export function cidrOutput(args: CidrOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => cidr(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:index:cidr", { + "cidrBits": args.cidrBits, + "count": args.count, + "ipBlock": args.ipBlock, + }, opts); } export interface CidrOutputArgs { diff --git a/sdk/nodejs/cleanrooms/getAnalysisTemplate.ts b/sdk/nodejs/cleanrooms/getAnalysisTemplate.ts index f68a4da639..4497aa8254 100644 --- a/sdk/nodejs/cleanrooms/getAnalysisTemplate.ts +++ b/sdk/nodejs/cleanrooms/getAnalysisTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a stored analysis within a collaboration */ export function getAnalysisTemplate(args: GetAnalysisTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cleanrooms:getAnalysisTemplate", { "analysisTemplateIdentifier": args.analysisTemplateIdentifier, @@ -77,7 +76,11 @@ export interface GetAnalysisTemplateResult { * Represents a stored analysis within a collaboration */ export function getAnalysisTemplateOutput(args: GetAnalysisTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAnalysisTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cleanrooms:getAnalysisTemplate", { + "analysisTemplateIdentifier": args.analysisTemplateIdentifier, + "membershipIdentifier": args.membershipIdentifier, + }, opts); } export interface GetAnalysisTemplateOutputArgs { diff --git a/sdk/nodejs/cleanrooms/getCollaboration.ts b/sdk/nodejs/cleanrooms/getCollaboration.ts index 4e17921d48..fa795b0b82 100644 --- a/sdk/nodejs/cleanrooms/getCollaboration.ts +++ b/sdk/nodejs/cleanrooms/getCollaboration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a collaboration between AWS accounts that allows for secure data collaboration */ export function getCollaboration(args: GetCollaborationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cleanrooms:getCollaboration", { "collaborationIdentifier": args.collaborationIdentifier, @@ -57,7 +56,10 @@ export interface GetCollaborationResult { * Represents a collaboration between AWS accounts that allows for secure data collaboration */ export function getCollaborationOutput(args: GetCollaborationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCollaboration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cleanrooms:getCollaboration", { + "collaborationIdentifier": args.collaborationIdentifier, + }, opts); } export interface GetCollaborationOutputArgs { diff --git a/sdk/nodejs/cleanrooms/getConfiguredTable.ts b/sdk/nodejs/cleanrooms/getConfiguredTable.ts index f3b2a68914..84125bf753 100644 --- a/sdk/nodejs/cleanrooms/getConfiguredTable.ts +++ b/sdk/nodejs/cleanrooms/getConfiguredTable.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a table that can be associated with collaborations */ export function getConfiguredTable(args: GetConfiguredTableArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cleanrooms:getConfiguredTable", { "configuredTableIdentifier": args.configuredTableIdentifier, @@ -61,7 +60,10 @@ export interface GetConfiguredTableResult { * Represents a table that can be associated with collaborations */ export function getConfiguredTableOutput(args: GetConfiguredTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfiguredTable(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cleanrooms:getConfiguredTable", { + "configuredTableIdentifier": args.configuredTableIdentifier, + }, opts); } export interface GetConfiguredTableOutputArgs { diff --git a/sdk/nodejs/cleanrooms/getConfiguredTableAssociation.ts b/sdk/nodejs/cleanrooms/getConfiguredTableAssociation.ts index 425123d52c..f7b31e150c 100644 --- a/sdk/nodejs/cleanrooms/getConfiguredTableAssociation.ts +++ b/sdk/nodejs/cleanrooms/getConfiguredTableAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a table that can be queried within a collaboration */ export function getConfiguredTableAssociation(args: GetConfiguredTableAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cleanrooms:getConfiguredTableAssociation", { "configuredTableAssociationIdentifier": args.configuredTableAssociationIdentifier, @@ -66,7 +65,11 @@ export interface GetConfiguredTableAssociationResult { * Represents a table that can be queried within a collaboration */ export function getConfiguredTableAssociationOutput(args: GetConfiguredTableAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfiguredTableAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cleanrooms:getConfiguredTableAssociation", { + "configuredTableAssociationIdentifier": args.configuredTableAssociationIdentifier, + "membershipIdentifier": args.membershipIdentifier, + }, opts); } export interface GetConfiguredTableAssociationOutputArgs { diff --git a/sdk/nodejs/cleanrooms/getIdMappingTable.ts b/sdk/nodejs/cleanrooms/getIdMappingTable.ts index 7edc5e2b3b..6d9413e642 100644 --- a/sdk/nodejs/cleanrooms/getIdMappingTable.ts +++ b/sdk/nodejs/cleanrooms/getIdMappingTable.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents an association between an ID mapping workflow and a collaboration */ export function getIdMappingTable(args: GetIdMappingTableArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cleanrooms:getIdMappingTable", { "idMappingTableIdentifier": args.idMappingTableIdentifier, @@ -60,7 +59,11 @@ export interface GetIdMappingTableResult { * Represents an association between an ID mapping workflow and a collaboration */ export function getIdMappingTableOutput(args: GetIdMappingTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIdMappingTable(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cleanrooms:getIdMappingTable", { + "idMappingTableIdentifier": args.idMappingTableIdentifier, + "membershipIdentifier": args.membershipIdentifier, + }, opts); } export interface GetIdMappingTableOutputArgs { diff --git a/sdk/nodejs/cleanrooms/getIdNamespaceAssociation.ts b/sdk/nodejs/cleanrooms/getIdNamespaceAssociation.ts index 8a76c21d2a..17f63d3e79 100644 --- a/sdk/nodejs/cleanrooms/getIdNamespaceAssociation.ts +++ b/sdk/nodejs/cleanrooms/getIdNamespaceAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents an association between an ID namespace and a collaboration */ export function getIdNamespaceAssociation(args: GetIdNamespaceAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cleanrooms:getIdNamespaceAssociation", { "idNamespaceAssociationIdentifier": args.idNamespaceAssociationIdentifier, @@ -61,7 +60,11 @@ export interface GetIdNamespaceAssociationResult { * Represents an association between an ID namespace and a collaboration */ export function getIdNamespaceAssociationOutput(args: GetIdNamespaceAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIdNamespaceAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cleanrooms:getIdNamespaceAssociation", { + "idNamespaceAssociationIdentifier": args.idNamespaceAssociationIdentifier, + "membershipIdentifier": args.membershipIdentifier, + }, opts); } export interface GetIdNamespaceAssociationOutputArgs { diff --git a/sdk/nodejs/cleanrooms/getMembership.ts b/sdk/nodejs/cleanrooms/getMembership.ts index 25ccda0201..522441987a 100644 --- a/sdk/nodejs/cleanrooms/getMembership.ts +++ b/sdk/nodejs/cleanrooms/getMembership.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents an AWS account that is a part of a collaboration */ export function getMembership(args: GetMembershipArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cleanrooms:getMembership", { "membershipIdentifier": args.membershipIdentifier, @@ -73,7 +72,10 @@ export interface GetMembershipResult { * Represents an AWS account that is a part of a collaboration */ export function getMembershipOutput(args: GetMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMembership(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cleanrooms:getMembership", { + "membershipIdentifier": args.membershipIdentifier, + }, opts); } export interface GetMembershipOutputArgs { diff --git a/sdk/nodejs/cleanrooms/getPrivacyBudgetTemplate.ts b/sdk/nodejs/cleanrooms/getPrivacyBudgetTemplate.ts index 89917ab121..48ca2bbb90 100644 --- a/sdk/nodejs/cleanrooms/getPrivacyBudgetTemplate.ts +++ b/sdk/nodejs/cleanrooms/getPrivacyBudgetTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a privacy budget within a collaboration */ export function getPrivacyBudgetTemplate(args: GetPrivacyBudgetTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cleanrooms:getPrivacyBudgetTemplate", { "membershipIdentifier": args.membershipIdentifier, @@ -64,7 +63,11 @@ export interface GetPrivacyBudgetTemplateResult { * Represents a privacy budget within a collaboration */ export function getPrivacyBudgetTemplateOutput(args: GetPrivacyBudgetTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPrivacyBudgetTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cleanrooms:getPrivacyBudgetTemplate", { + "membershipIdentifier": args.membershipIdentifier, + "privacyBudgetTemplateIdentifier": args.privacyBudgetTemplateIdentifier, + }, opts); } export interface GetPrivacyBudgetTemplateOutputArgs { diff --git a/sdk/nodejs/cleanroomsml/getTrainingDataset.ts b/sdk/nodejs/cleanroomsml/getTrainingDataset.ts index e1e8b0e782..2567cac3f8 100644 --- a/sdk/nodejs/cleanroomsml/getTrainingDataset.ts +++ b/sdk/nodejs/cleanroomsml/getTrainingDataset.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::CleanRoomsML::TrainingDataset Resource Type */ export function getTrainingDataset(args: GetTrainingDatasetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cleanroomsml:getTrainingDataset", { "trainingDatasetArn": args.trainingDatasetArn, @@ -43,7 +42,10 @@ export interface GetTrainingDatasetResult { * Definition of AWS::CleanRoomsML::TrainingDataset Resource Type */ export function getTrainingDatasetOutput(args: GetTrainingDatasetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTrainingDataset(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cleanroomsml:getTrainingDataset", { + "trainingDatasetArn": args.trainingDatasetArn, + }, opts); } export interface GetTrainingDatasetOutputArgs { diff --git a/sdk/nodejs/cloudformation/getHookDefaultVersion.ts b/sdk/nodejs/cloudformation/getHookDefaultVersion.ts index ded835a349..da9b3bfdcd 100644 --- a/sdk/nodejs/cloudformation/getHookDefaultVersion.ts +++ b/sdk/nodejs/cloudformation/getHookDefaultVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Set a version as default version for a hook in CloudFormation Registry. */ export function getHookDefaultVersion(args: GetHookDefaultVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudformation:getHookDefaultVersion", { "arn": args.arn, @@ -46,7 +45,10 @@ export interface GetHookDefaultVersionResult { * Set a version as default version for a hook in CloudFormation Registry. */ export function getHookDefaultVersionOutput(args: GetHookDefaultVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getHookDefaultVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudformation:getHookDefaultVersion", { + "arn": args.arn, + }, opts); } export interface GetHookDefaultVersionOutputArgs { diff --git a/sdk/nodejs/cloudformation/getHookTypeConfig.ts b/sdk/nodejs/cloudformation/getHookTypeConfig.ts index 8e951d01c1..e23cb53120 100644 --- a/sdk/nodejs/cloudformation/getHookTypeConfig.ts +++ b/sdk/nodejs/cloudformation/getHookTypeConfig.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Specifies the configuration data for a registered hook in CloudFormation Registry. */ export function getHookTypeConfig(args: GetHookTypeConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudformation:getHookTypeConfig", { "configurationArn": args.configurationArn, @@ -46,7 +45,10 @@ export interface GetHookTypeConfigResult { * Specifies the configuration data for a registered hook in CloudFormation Registry. */ export function getHookTypeConfigOutput(args: GetHookTypeConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getHookTypeConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudformation:getHookTypeConfig", { + "configurationArn": args.configurationArn, + }, opts); } export interface GetHookTypeConfigOutputArgs { diff --git a/sdk/nodejs/cloudformation/getHookVersion.ts b/sdk/nodejs/cloudformation/getHookVersion.ts index 11402a10af..bc72c5fa16 100644 --- a/sdk/nodejs/cloudformation/getHookVersion.ts +++ b/sdk/nodejs/cloudformation/getHookVersion.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Publishes new or first hook version to AWS CloudFormation Registry. */ export function getHookVersion(args: GetHookVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudformation:getHookVersion", { "arn": args.arn, @@ -57,7 +56,10 @@ export interface GetHookVersionResult { * Publishes new or first hook version to AWS CloudFormation Registry. */ export function getHookVersionOutput(args: GetHookVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getHookVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudformation:getHookVersion", { + "arn": args.arn, + }, opts); } export interface GetHookVersionOutputArgs { diff --git a/sdk/nodejs/cloudformation/getModuleVersion.ts b/sdk/nodejs/cloudformation/getModuleVersion.ts index 74ca5ab3bd..558062ffce 100644 --- a/sdk/nodejs/cloudformation/getModuleVersion.ts +++ b/sdk/nodejs/cloudformation/getModuleVersion.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A module that has been registered in the CloudFormation registry. */ export function getModuleVersion(args: GetModuleVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudformation:getModuleVersion", { "arn": args.arn, @@ -67,7 +66,10 @@ export interface GetModuleVersionResult { * A module that has been registered in the CloudFormation registry. */ export function getModuleVersionOutput(args: GetModuleVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getModuleVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudformation:getModuleVersion", { + "arn": args.arn, + }, opts); } export interface GetModuleVersionOutputArgs { diff --git a/sdk/nodejs/cloudformation/getPublicTypeVersion.ts b/sdk/nodejs/cloudformation/getPublicTypeVersion.ts index d6f770b0df..ce9d723fe5 100644 --- a/sdk/nodejs/cloudformation/getPublicTypeVersion.ts +++ b/sdk/nodejs/cloudformation/getPublicTypeVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Test and Publish a resource that has been registered in the CloudFormation Registry. */ export function getPublicTypeVersion(args: GetPublicTypeVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudformation:getPublicTypeVersion", { "publicTypeArn": args.publicTypeArn, @@ -40,7 +39,10 @@ export interface GetPublicTypeVersionResult { * Test and Publish a resource that has been registered in the CloudFormation Registry. */ export function getPublicTypeVersionOutput(args: GetPublicTypeVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPublicTypeVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudformation:getPublicTypeVersion", { + "publicTypeArn": args.publicTypeArn, + }, opts); } export interface GetPublicTypeVersionOutputArgs { diff --git a/sdk/nodejs/cloudformation/getPublisher.ts b/sdk/nodejs/cloudformation/getPublisher.ts index 8056ec3faa..912b3c83d5 100644 --- a/sdk/nodejs/cloudformation/getPublisher.ts +++ b/sdk/nodejs/cloudformation/getPublisher.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Register as a publisher in the CloudFormation Registry. */ export function getPublisher(args: GetPublisherArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudformation:getPublisher", { "publisherId": args.publisherId, @@ -47,7 +46,10 @@ export interface GetPublisherResult { * Register as a publisher in the CloudFormation Registry. */ export function getPublisherOutput(args: GetPublisherOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPublisher(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudformation:getPublisher", { + "publisherId": args.publisherId, + }, opts); } export interface GetPublisherOutputArgs { diff --git a/sdk/nodejs/cloudformation/getResourceDefaultVersion.ts b/sdk/nodejs/cloudformation/getResourceDefaultVersion.ts index fdcce3db3b..36d7259e54 100644 --- a/sdk/nodejs/cloudformation/getResourceDefaultVersion.ts +++ b/sdk/nodejs/cloudformation/getResourceDefaultVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The default version of a resource that has been registered in the CloudFormation Registry. */ export function getResourceDefaultVersion(args: GetResourceDefaultVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudformation:getResourceDefaultVersion", { "arn": args.arn, @@ -46,7 +45,10 @@ export interface GetResourceDefaultVersionResult { * The default version of a resource that has been registered in the CloudFormation Registry. */ export function getResourceDefaultVersionOutput(args: GetResourceDefaultVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourceDefaultVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudformation:getResourceDefaultVersion", { + "arn": args.arn, + }, opts); } export interface GetResourceDefaultVersionOutputArgs { diff --git a/sdk/nodejs/cloudformation/getResourceVersion.ts b/sdk/nodejs/cloudformation/getResourceVersion.ts index 34858c70a6..d0e87b576f 100644 --- a/sdk/nodejs/cloudformation/getResourceVersion.ts +++ b/sdk/nodejs/cloudformation/getResourceVersion.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A resource that has been registered in the CloudFormation Registry. */ export function getResourceVersion(args: GetResourceVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudformation:getResourceVersion", { "arn": args.arn, @@ -61,7 +60,10 @@ export interface GetResourceVersionResult { * A resource that has been registered in the CloudFormation Registry. */ export function getResourceVersionOutput(args: GetResourceVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourceVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudformation:getResourceVersion", { + "arn": args.arn, + }, opts); } export interface GetResourceVersionOutputArgs { diff --git a/sdk/nodejs/cloudformation/getStack.ts b/sdk/nodejs/cloudformation/getStack.ts index 5211550cd4..76a5f00319 100644 --- a/sdk/nodejs/cloudformation/getStack.ts +++ b/sdk/nodejs/cloudformation/getStack.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::CloudFormation::Stack resource nests a stack as a resource in a top-level template. */ export function getStack(args: GetStackArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudformation:getStack", { "stackId": args.stackId, @@ -168,7 +167,10 @@ export interface GetStackResult { * The AWS::CloudFormation::Stack resource nests a stack as a resource in a top-level template. */ export function getStackOutput(args: GetStackOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStack(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudformation:getStack", { + "stackId": args.stackId, + }, opts); } export interface GetStackOutputArgs { diff --git a/sdk/nodejs/cloudformation/getStackSet.ts b/sdk/nodejs/cloudformation/getStackSet.ts index 8614690f12..66533a74bf 100644 --- a/sdk/nodejs/cloudformation/getStackSet.ts +++ b/sdk/nodejs/cloudformation/getStackSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * StackSet as a resource provides one-click experience for provisioning a StackSet and StackInstances */ export function getStackSet(args: GetStackSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudformation:getStackSet", { "stackSetId": args.stackSetId, @@ -71,7 +70,10 @@ export interface GetStackSetResult { * StackSet as a resource provides one-click experience for provisioning a StackSet and StackInstances */ export function getStackSetOutput(args: GetStackSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStackSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudformation:getStackSet", { + "stackSetId": args.stackSetId, + }, opts); } export interface GetStackSetOutputArgs { diff --git a/sdk/nodejs/cloudformation/getTypeActivation.ts b/sdk/nodejs/cloudformation/getTypeActivation.ts index f28442d928..96caf5f310 100644 --- a/sdk/nodejs/cloudformation/getTypeActivation.ts +++ b/sdk/nodejs/cloudformation/getTypeActivation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Enable a resource that has been published in the CloudFormation Registry. */ export function getTypeActivation(args: GetTypeActivationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudformation:getTypeActivation", { "arn": args.arn, @@ -50,7 +49,10 @@ export interface GetTypeActivationResult { * Enable a resource that has been published in the CloudFormation Registry. */ export function getTypeActivationOutput(args: GetTypeActivationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTypeActivation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudformation:getTypeActivation", { + "arn": args.arn, + }, opts); } export interface GetTypeActivationOutputArgs { diff --git a/sdk/nodejs/cloudfront/getCachePolicy.ts b/sdk/nodejs/cloudfront/getCachePolicy.ts index 472c6a24b7..d7cfe1e1c5 100644 --- a/sdk/nodejs/cloudfront/getCachePolicy.ts +++ b/sdk/nodejs/cloudfront/getCachePolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::CachePolicy */ export function getCachePolicy(args: GetCachePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getCachePolicy", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetCachePolicyResult { * Resource Type definition for AWS::CloudFront::CachePolicy */ export function getCachePolicyOutput(args: GetCachePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCachePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getCachePolicy", { + "id": args.id, + }, opts); } export interface GetCachePolicyOutputArgs { diff --git a/sdk/nodejs/cloudfront/getCloudFrontOriginAccessIdentity.ts b/sdk/nodejs/cloudfront/getCloudFrontOriginAccessIdentity.ts index 9c9b768d3e..821c5a86ce 100644 --- a/sdk/nodejs/cloudfront/getCloudFrontOriginAccessIdentity.ts +++ b/sdk/nodejs/cloudfront/getCloudFrontOriginAccessIdentity.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::CloudFrontOriginAccessIdentity */ export function getCloudFrontOriginAccessIdentity(args: GetCloudFrontOriginAccessIdentityArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getCloudFrontOriginAccessIdentity", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetCloudFrontOriginAccessIdentityResult { * Resource Type definition for AWS::CloudFront::CloudFrontOriginAccessIdentity */ export function getCloudFrontOriginAccessIdentityOutput(args: GetCloudFrontOriginAccessIdentityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudFrontOriginAccessIdentity(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getCloudFrontOriginAccessIdentity", { + "id": args.id, + }, opts); } export interface GetCloudFrontOriginAccessIdentityOutputArgs { diff --git a/sdk/nodejs/cloudfront/getContinuousDeploymentPolicy.ts b/sdk/nodejs/cloudfront/getContinuousDeploymentPolicy.ts index d74e7bb2a8..4559be9d2d 100644 --- a/sdk/nodejs/cloudfront/getContinuousDeploymentPolicy.ts +++ b/sdk/nodejs/cloudfront/getContinuousDeploymentPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::ContinuousDeploymentPolicy */ export function getContinuousDeploymentPolicy(args: GetContinuousDeploymentPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getContinuousDeploymentPolicy", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetContinuousDeploymentPolicyResult { * Resource Type definition for AWS::CloudFront::ContinuousDeploymentPolicy */ export function getContinuousDeploymentPolicyOutput(args: GetContinuousDeploymentPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getContinuousDeploymentPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getContinuousDeploymentPolicy", { + "id": args.id, + }, opts); } export interface GetContinuousDeploymentPolicyOutputArgs { diff --git a/sdk/nodejs/cloudfront/getDistribution.ts b/sdk/nodejs/cloudfront/getDistribution.ts index 13d5f5f58a..91bab74d81 100644 --- a/sdk/nodejs/cloudfront/getDistribution.ts +++ b/sdk/nodejs/cloudfront/getDistribution.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery. */ export function getDistribution(args: GetDistributionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getDistribution", { "id": args.id, @@ -47,7 +46,10 @@ export interface GetDistributionResult { * A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery. */ export function getDistributionOutput(args: GetDistributionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDistribution(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getDistribution", { + "id": args.id, + }, opts); } export interface GetDistributionOutputArgs { diff --git a/sdk/nodejs/cloudfront/getFunction.ts b/sdk/nodejs/cloudfront/getFunction.ts index e59952e937..f20277d219 100644 --- a/sdk/nodejs/cloudfront/getFunction.ts +++ b/sdk/nodejs/cloudfront/getFunction.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::Function */ export function getFunction(args: GetFunctionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getFunction", { "functionArn": args.functionArn, @@ -64,7 +63,10 @@ export interface GetFunctionResult { * Resource Type definition for AWS::CloudFront::Function */ export function getFunctionOutput(args: GetFunctionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFunction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getFunction", { + "functionArn": args.functionArn, + }, opts); } export interface GetFunctionOutputArgs { diff --git a/sdk/nodejs/cloudfront/getKeyGroup.ts b/sdk/nodejs/cloudfront/getKeyGroup.ts index f2fb871ba2..9fbc4c9209 100644 --- a/sdk/nodejs/cloudfront/getKeyGroup.ts +++ b/sdk/nodejs/cloudfront/getKeyGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::KeyGroup */ export function getKeyGroup(args: GetKeyGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getKeyGroup", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetKeyGroupResult { * Resource Type definition for AWS::CloudFront::KeyGroup */ export function getKeyGroupOutput(args: GetKeyGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getKeyGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getKeyGroup", { + "id": args.id, + }, opts); } export interface GetKeyGroupOutputArgs { diff --git a/sdk/nodejs/cloudfront/getKeyValueStore.ts b/sdk/nodejs/cloudfront/getKeyValueStore.ts index 65ef719fe6..fcbc37b06e 100644 --- a/sdk/nodejs/cloudfront/getKeyValueStore.ts +++ b/sdk/nodejs/cloudfront/getKeyValueStore.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::KeyValueStore */ export function getKeyValueStore(args: GetKeyValueStoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getKeyValueStore", { "name": args.name, @@ -44,7 +43,10 @@ export interface GetKeyValueStoreResult { * Resource Type definition for AWS::CloudFront::KeyValueStore */ export function getKeyValueStoreOutput(args: GetKeyValueStoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getKeyValueStore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getKeyValueStore", { + "name": args.name, + }, opts); } export interface GetKeyValueStoreOutputArgs { diff --git a/sdk/nodejs/cloudfront/getMonitoringSubscription.ts b/sdk/nodejs/cloudfront/getMonitoringSubscription.ts index 5367cfd9db..b01ac105d5 100644 --- a/sdk/nodejs/cloudfront/getMonitoringSubscription.ts +++ b/sdk/nodejs/cloudfront/getMonitoringSubscription.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::MonitoringSubscription */ export function getMonitoringSubscription(args: GetMonitoringSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getMonitoringSubscription", { "distributionId": args.distributionId, @@ -35,7 +34,10 @@ export interface GetMonitoringSubscriptionResult { * Resource Type definition for AWS::CloudFront::MonitoringSubscription */ export function getMonitoringSubscriptionOutput(args: GetMonitoringSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMonitoringSubscription(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getMonitoringSubscription", { + "distributionId": args.distributionId, + }, opts); } export interface GetMonitoringSubscriptionOutputArgs { diff --git a/sdk/nodejs/cloudfront/getOriginAccessControl.ts b/sdk/nodejs/cloudfront/getOriginAccessControl.ts index 8b57500351..70c6777f98 100644 --- a/sdk/nodejs/cloudfront/getOriginAccessControl.ts +++ b/sdk/nodejs/cloudfront/getOriginAccessControl.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::OriginAccessControl */ export function getOriginAccessControl(args: GetOriginAccessControlArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getOriginAccessControl", { "id": args.id, @@ -39,7 +38,10 @@ export interface GetOriginAccessControlResult { * Resource Type definition for AWS::CloudFront::OriginAccessControl */ export function getOriginAccessControlOutput(args: GetOriginAccessControlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOriginAccessControl(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getOriginAccessControl", { + "id": args.id, + }, opts); } export interface GetOriginAccessControlOutputArgs { diff --git a/sdk/nodejs/cloudfront/getOriginRequestPolicy.ts b/sdk/nodejs/cloudfront/getOriginRequestPolicy.ts index 24a8b5c802..405747078c 100644 --- a/sdk/nodejs/cloudfront/getOriginRequestPolicy.ts +++ b/sdk/nodejs/cloudfront/getOriginRequestPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::OriginRequestPolicy */ export function getOriginRequestPolicy(args: GetOriginRequestPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getOriginRequestPolicy", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetOriginRequestPolicyResult { * Resource Type definition for AWS::CloudFront::OriginRequestPolicy */ export function getOriginRequestPolicyOutput(args: GetOriginRequestPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOriginRequestPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getOriginRequestPolicy", { + "id": args.id, + }, opts); } export interface GetOriginRequestPolicyOutputArgs { diff --git a/sdk/nodejs/cloudfront/getPublicKey.ts b/sdk/nodejs/cloudfront/getPublicKey.ts index 7bbe9d28f3..e5321d53f2 100644 --- a/sdk/nodejs/cloudfront/getPublicKey.ts +++ b/sdk/nodejs/cloudfront/getPublicKey.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::PublicKey */ export function getPublicKey(args: GetPublicKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getPublicKey", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetPublicKeyResult { * Resource Type definition for AWS::CloudFront::PublicKey */ export function getPublicKeyOutput(args: GetPublicKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPublicKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getPublicKey", { + "id": args.id, + }, opts); } export interface GetPublicKeyOutputArgs { diff --git a/sdk/nodejs/cloudfront/getRealtimeLogConfig.ts b/sdk/nodejs/cloudfront/getRealtimeLogConfig.ts index b0497bd6c1..20e7b4e26d 100644 --- a/sdk/nodejs/cloudfront/getRealtimeLogConfig.ts +++ b/sdk/nodejs/cloudfront/getRealtimeLogConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::RealtimeLogConfig */ export function getRealtimeLogConfig(args: GetRealtimeLogConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getRealtimeLogConfig", { "arn": args.arn, @@ -49,7 +48,10 @@ export interface GetRealtimeLogConfigResult { * Resource Type definition for AWS::CloudFront::RealtimeLogConfig */ export function getRealtimeLogConfigOutput(args: GetRealtimeLogConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRealtimeLogConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getRealtimeLogConfig", { + "arn": args.arn, + }, opts); } export interface GetRealtimeLogConfigOutputArgs { diff --git a/sdk/nodejs/cloudfront/getResponseHeadersPolicy.ts b/sdk/nodejs/cloudfront/getResponseHeadersPolicy.ts index 82eeabe71b..b017d73469 100644 --- a/sdk/nodejs/cloudfront/getResponseHeadersPolicy.ts +++ b/sdk/nodejs/cloudfront/getResponseHeadersPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudFront::ResponseHeadersPolicy */ export function getResponseHeadersPolicy(args: GetResponseHeadersPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudfront:getResponseHeadersPolicy", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetResponseHeadersPolicyResult { * Resource Type definition for AWS::CloudFront::ResponseHeadersPolicy */ export function getResponseHeadersPolicyOutput(args: GetResponseHeadersPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResponseHeadersPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudfront:getResponseHeadersPolicy", { + "id": args.id, + }, opts); } export interface GetResponseHeadersPolicyOutputArgs { diff --git a/sdk/nodejs/cloudtrail/getChannel.ts b/sdk/nodejs/cloudtrail/getChannel.ts index 3984608808..58cd30a4d9 100644 --- a/sdk/nodejs/cloudtrail/getChannel.ts +++ b/sdk/nodejs/cloudtrail/getChannel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A channel receives events from a specific source (such as an on-premises storage solution or application, or a partner event data source), and delivers the events to one or more event data stores. You use channels to ingest events into CloudTrail from sources outside AWS. */ export function getChannel(args: GetChannelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudtrail:getChannel", { "channelArn": args.channelArn, @@ -43,7 +42,10 @@ export interface GetChannelResult { * A channel receives events from a specific source (such as an on-premises storage solution or application, or a partner event data source), and delivers the events to one or more event data stores. You use channels to ingest events into CloudTrail from sources outside AWS. */ export function getChannelOutput(args: GetChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getChannel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudtrail:getChannel", { + "channelArn": args.channelArn, + }, opts); } export interface GetChannelOutputArgs { diff --git a/sdk/nodejs/cloudtrail/getEventDataStore.ts b/sdk/nodejs/cloudtrail/getEventDataStore.ts index 1155f0ab06..0617f0d99b 100644 --- a/sdk/nodejs/cloudtrail/getEventDataStore.ts +++ b/sdk/nodejs/cloudtrail/getEventDataStore.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A storage lake of event data against which you can run complex SQL-based queries. An event data store can include events that you have logged on your account from the last 7 to 2557 or 3653 days (about seven or ten years) depending on the selected BillingMode. */ export function getEventDataStore(args: GetEventDataStoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudtrail:getEventDataStore", { "eventDataStoreArn": args.eventDataStoreArn, @@ -103,7 +102,10 @@ export interface GetEventDataStoreResult { * A storage lake of event data against which you can run complex SQL-based queries. An event data store can include events that you have logged on your account from the last 7 to 2557 or 3653 days (about seven or ten years) depending on the selected BillingMode. */ export function getEventDataStoreOutput(args: GetEventDataStoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventDataStore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudtrail:getEventDataStore", { + "eventDataStoreArn": args.eventDataStoreArn, + }, opts); } export interface GetEventDataStoreOutputArgs { diff --git a/sdk/nodejs/cloudtrail/getResourcePolicy.ts b/sdk/nodejs/cloudtrail/getResourcePolicy.ts index dbc8612e2b..fe1f019be6 100644 --- a/sdk/nodejs/cloudtrail/getResourcePolicy.ts +++ b/sdk/nodejs/cloudtrail/getResourcePolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudTrail::ResourcePolicy */ export function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudtrail:getResourcePolicy", { "resourceArn": args.resourceArn, @@ -34,7 +33,10 @@ export interface GetResourcePolicyResult { * Resource Type definition for AWS::CloudTrail::ResourcePolicy */ export function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourcePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudtrail:getResourcePolicy", { + "resourceArn": args.resourceArn, + }, opts); } export interface GetResourcePolicyOutputArgs { diff --git a/sdk/nodejs/cloudtrail/getTrail.ts b/sdk/nodejs/cloudtrail/getTrail.ts index 08b69cf6ab..20e899556b 100644 --- a/sdk/nodejs/cloudtrail/getTrail.ts +++ b/sdk/nodejs/cloudtrail/getTrail.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. A maximum of five trails can exist in a region, irrespective of the region in which they were created. */ export function getTrail(args: GetTrailArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudtrail:getTrail", { "trailName": args.trailName, @@ -105,7 +104,10 @@ export interface GetTrailResult { * Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. A maximum of five trails can exist in a region, irrespective of the region in which they were created. */ export function getTrailOutput(args: GetTrailOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTrail(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudtrail:getTrail", { + "trailName": args.trailName, + }, opts); } export interface GetTrailOutputArgs { diff --git a/sdk/nodejs/cloudwatch/getAlarm.ts b/sdk/nodejs/cloudwatch/getAlarm.ts index abf444b5b2..e873c03316 100644 --- a/sdk/nodejs/cloudwatch/getAlarm.ts +++ b/sdk/nodejs/cloudwatch/getAlarm.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. */ export function getAlarm(args: GetAlarmArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudwatch:getAlarm", { "alarmName": args.alarmName, @@ -137,7 +136,10 @@ export interface GetAlarmResult { * When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. */ export function getAlarmOutput(args: GetAlarmOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlarm(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudwatch:getAlarm", { + "alarmName": args.alarmName, + }, opts); } export interface GetAlarmOutputArgs { diff --git a/sdk/nodejs/cloudwatch/getCompositeAlarm.ts b/sdk/nodejs/cloudwatch/getCompositeAlarm.ts index ae9f04fb71..d5614ccd46 100644 --- a/sdk/nodejs/cloudwatch/getCompositeAlarm.ts +++ b/sdk/nodejs/cloudwatch/getCompositeAlarm.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::CloudWatch::CompositeAlarm type specifies an alarm which aggregates the states of other Alarms (Metric or Composite Alarms) as defined by the AlarmRule expression */ export function getCompositeAlarm(args: GetCompositeAlarmArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudwatch:getCompositeAlarm", { "alarmName": args.alarmName, @@ -75,7 +74,10 @@ export interface GetCompositeAlarmResult { * The AWS::CloudWatch::CompositeAlarm type specifies an alarm which aggregates the states of other Alarms (Metric or Composite Alarms) as defined by the AlarmRule expression */ export function getCompositeAlarmOutput(args: GetCompositeAlarmOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCompositeAlarm(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudwatch:getCompositeAlarm", { + "alarmName": args.alarmName, + }, opts); } export interface GetCompositeAlarmOutputArgs { diff --git a/sdk/nodejs/cloudwatch/getDashboard.ts b/sdk/nodejs/cloudwatch/getDashboard.ts index aa4af7d388..2dfcbe6052 100644 --- a/sdk/nodejs/cloudwatch/getDashboard.ts +++ b/sdk/nodejs/cloudwatch/getDashboard.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CloudWatch::Dashboard */ export function getDashboard(args: GetDashboardArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudwatch:getDashboard", { "dashboardName": args.dashboardName, @@ -32,7 +31,10 @@ export interface GetDashboardResult { * Resource Type definition for AWS::CloudWatch::Dashboard */ export function getDashboardOutput(args: GetDashboardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDashboard(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudwatch:getDashboard", { + "dashboardName": args.dashboardName, + }, opts); } export interface GetDashboardOutputArgs { diff --git a/sdk/nodejs/cloudwatch/getMetricStream.ts b/sdk/nodejs/cloudwatch/getMetricStream.ts index 9aa3f655b4..c1ea9f13f5 100644 --- a/sdk/nodejs/cloudwatch/getMetricStream.ts +++ b/sdk/nodejs/cloudwatch/getMetricStream.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for Metric Stream */ export function getMetricStream(args: GetMetricStreamArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cloudwatch:getMetricStream", { "name": args.name, @@ -75,7 +74,10 @@ export interface GetMetricStreamResult { * Resource Type definition for Metric Stream */ export function getMetricStreamOutput(args: GetMetricStreamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMetricStream(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cloudwatch:getMetricStream", { + "name": args.name, + }, opts); } export interface GetMetricStreamOutputArgs { diff --git a/sdk/nodejs/codeartifact/getDomain.ts b/sdk/nodejs/codeartifact/getDomain.ts index c80ad3901c..9d6d777182 100644 --- a/sdk/nodejs/codeartifact/getDomain.ts +++ b/sdk/nodejs/codeartifact/getDomain.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The resource schema to create a CodeArtifact domain. */ export function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codeartifact:getDomain", { "arn": args.arn, @@ -53,7 +52,10 @@ export interface GetDomainResult { * The resource schema to create a CodeArtifact domain. */ export function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomain(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codeartifact:getDomain", { + "arn": args.arn, + }, opts); } export interface GetDomainOutputArgs { diff --git a/sdk/nodejs/codeartifact/getPackageGroup.ts b/sdk/nodejs/codeartifact/getPackageGroup.ts index 032af78175..c077deeea7 100644 --- a/sdk/nodejs/codeartifact/getPackageGroup.ts +++ b/sdk/nodejs/codeartifact/getPackageGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The resource schema to create a CodeArtifact package group. */ export function getPackageGroup(args: GetPackageGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codeartifact:getPackageGroup", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetPackageGroupResult { * The resource schema to create a CodeArtifact package group. */ export function getPackageGroupOutput(args: GetPackageGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPackageGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codeartifact:getPackageGroup", { + "arn": args.arn, + }, opts); } export interface GetPackageGroupOutputArgs { diff --git a/sdk/nodejs/codeartifact/getRepository.ts b/sdk/nodejs/codeartifact/getRepository.ts index 557aff9a6f..a7647f7bd8 100644 --- a/sdk/nodejs/codeartifact/getRepository.ts +++ b/sdk/nodejs/codeartifact/getRepository.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The resource schema to create a CodeArtifact repository. */ export function getRepository(args: GetRepositoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codeartifact:getRepository", { "arn": args.arn, @@ -61,7 +60,10 @@ export interface GetRepositoryResult { * The resource schema to create a CodeArtifact repository. */ export function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRepository(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codeartifact:getRepository", { + "arn": args.arn, + }, opts); } export interface GetRepositoryOutputArgs { diff --git a/sdk/nodejs/codebuild/getFleet.ts b/sdk/nodejs/codebuild/getFleet.ts index 7a9148c193..8271da32a0 100644 --- a/sdk/nodejs/codebuild/getFleet.ts +++ b/sdk/nodejs/codebuild/getFleet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CodeBuild::Fleet */ export function getFleet(args: GetFleetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codebuild:getFleet", { "arn": args.arn, @@ -114,7 +113,10 @@ export interface GetFleetResult { * Resource Type definition for AWS::CodeBuild::Fleet */ export function getFleetOutput(args: GetFleetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFleet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codebuild:getFleet", { + "arn": args.arn, + }, opts); } export interface GetFleetOutputArgs { diff --git a/sdk/nodejs/codeconnections/getConnection.ts b/sdk/nodejs/codeconnections/getConnection.ts index dbe961f520..a2e70382b1 100644 --- a/sdk/nodejs/codeconnections/getConnection.ts +++ b/sdk/nodejs/codeconnections/getConnection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Schema for AWS::CodeConnections::Connection resource which can be used to connect external source providers with other AWS services (i.e. AWS CodePipeline) */ export function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codeconnections:getConnection", { "connectionArn": args.connectionArn, @@ -47,7 +46,10 @@ export interface GetConnectionResult { * Schema for AWS::CodeConnections::Connection resource which can be used to connect external source providers with other AWS services (i.e. AWS CodePipeline) */ export function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codeconnections:getConnection", { + "connectionArn": args.connectionArn, + }, opts); } export interface GetConnectionOutputArgs { diff --git a/sdk/nodejs/codedeploy/getApplication.ts b/sdk/nodejs/codedeploy/getApplication.ts index d30ff555b7..a0224dad17 100644 --- a/sdk/nodejs/codedeploy/getApplication.ts +++ b/sdk/nodejs/codedeploy/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::CodeDeploy::Application resource creates an AWS CodeDeploy application */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codedeploy:getApplication", { "applicationName": args.applicationName, @@ -35,7 +34,10 @@ export interface GetApplicationResult { * The AWS::CodeDeploy::Application resource creates an AWS CodeDeploy application */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codedeploy:getApplication", { + "applicationName": args.applicationName, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/codeguruprofiler/getProfilingGroup.ts b/sdk/nodejs/codeguruprofiler/getProfilingGroup.ts index a1a80fc31e..8362fb36f9 100644 --- a/sdk/nodejs/codeguruprofiler/getProfilingGroup.ts +++ b/sdk/nodejs/codeguruprofiler/getProfilingGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * This resource schema represents the Profiling Group resource in the Amazon CodeGuru Profiler service. */ export function getProfilingGroup(args: GetProfilingGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codeguruprofiler:getProfilingGroup", { "profilingGroupName": args.profilingGroupName, @@ -47,7 +46,10 @@ export interface GetProfilingGroupResult { * This resource schema represents the Profiling Group resource in the Amazon CodeGuru Profiler service. */ export function getProfilingGroupOutput(args: GetProfilingGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProfilingGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codeguruprofiler:getProfilingGroup", { + "profilingGroupName": args.profilingGroupName, + }, opts); } export interface GetProfilingGroupOutputArgs { diff --git a/sdk/nodejs/codegurureviewer/getRepositoryAssociation.ts b/sdk/nodejs/codegurureviewer/getRepositoryAssociation.ts index 547dd31183..2fb52a8774 100644 --- a/sdk/nodejs/codegurureviewer/getRepositoryAssociation.ts +++ b/sdk/nodejs/codegurureviewer/getRepositoryAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * This resource schema represents the RepositoryAssociation resource in the Amazon CodeGuru Reviewer service. */ export function getRepositoryAssociation(args: GetRepositoryAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codegurureviewer:getRepositoryAssociation", { "associationArn": args.associationArn, @@ -32,7 +31,10 @@ export interface GetRepositoryAssociationResult { * This resource schema represents the RepositoryAssociation resource in the Amazon CodeGuru Reviewer service. */ export function getRepositoryAssociationOutput(args: GetRepositoryAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRepositoryAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codegurureviewer:getRepositoryAssociation", { + "associationArn": args.associationArn, + }, opts); } export interface GetRepositoryAssociationOutputArgs { diff --git a/sdk/nodejs/codepipeline/getCustomActionType.ts b/sdk/nodejs/codepipeline/getCustomActionType.ts index 54522121ee..bca8272cb7 100644 --- a/sdk/nodejs/codepipeline/getCustomActionType.ts +++ b/sdk/nodejs/codepipeline/getCustomActionType.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::CodePipeline::CustomActionType resource creates a custom action for activities that aren't included in the CodePipeline default actions, such as running an internally developed build process or a test suite. You can use these custom actions in the stage of a pipeline. */ export function getCustomActionType(args: GetCustomActionTypeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codepipeline:getCustomActionType", { "category": args.category, @@ -46,7 +45,12 @@ export interface GetCustomActionTypeResult { * The AWS::CodePipeline::CustomActionType resource creates a custom action for activities that aren't included in the CodePipeline default actions, such as running an internally developed build process or a test suite. You can use these custom actions in the stage of a pipeline. */ export function getCustomActionTypeOutput(args: GetCustomActionTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCustomActionType(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codepipeline:getCustomActionType", { + "category": args.category, + "provider": args.provider, + "version": args.version, + }, opts); } export interface GetCustomActionTypeOutputArgs { diff --git a/sdk/nodejs/codepipeline/getPipeline.ts b/sdk/nodejs/codepipeline/getPipeline.ts index 5d9569fcfc..ba06fd6edf 100644 --- a/sdk/nodejs/codepipeline/getPipeline.ts +++ b/sdk/nodejs/codepipeline/getPipeline.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::CodePipeline::Pipeline resource creates a CodePipeline pipeline that describes how software changes go through a release process. */ export function getPipeline(args: GetPipelineArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codepipeline:getPipeline", { "name": args.name, @@ -75,7 +74,10 @@ export interface GetPipelineResult { * The AWS::CodePipeline::Pipeline resource creates a CodePipeline pipeline that describes how software changes go through a release process. */ export function getPipelineOutput(args: GetPipelineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPipeline(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codepipeline:getPipeline", { + "name": args.name, + }, opts); } export interface GetPipelineOutputArgs { diff --git a/sdk/nodejs/codestarconnections/getConnection.ts b/sdk/nodejs/codestarconnections/getConnection.ts index 46d6132361..23ce1a4bda 100644 --- a/sdk/nodejs/codestarconnections/getConnection.ts +++ b/sdk/nodejs/codestarconnections/getConnection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Schema for AWS::CodeStarConnections::Connection resource which can be used to connect external source providers with AWS CodePipeline */ export function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codestarconnections:getConnection", { "connectionArn": args.connectionArn, @@ -47,7 +46,10 @@ export interface GetConnectionResult { * Schema for AWS::CodeStarConnections::Connection resource which can be used to connect external source providers with AWS CodePipeline */ export function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codestarconnections:getConnection", { + "connectionArn": args.connectionArn, + }, opts); } export interface GetConnectionOutputArgs { diff --git a/sdk/nodejs/codestarconnections/getRepositoryLink.ts b/sdk/nodejs/codestarconnections/getRepositoryLink.ts index e59f436243..c7946b823c 100644 --- a/sdk/nodejs/codestarconnections/getRepositoryLink.ts +++ b/sdk/nodejs/codestarconnections/getRepositoryLink.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Schema for AWS::CodeStarConnections::RepositoryLink resource which is used to aggregate repository metadata relevant to synchronizing source provider content to AWS Resources. */ export function getRepositoryLink(args: GetRepositoryLinkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codestarconnections:getRepositoryLink", { "repositoryLinkArn": args.repositoryLinkArn, @@ -55,7 +54,10 @@ export interface GetRepositoryLinkResult { * Schema for AWS::CodeStarConnections::RepositoryLink resource which is used to aggregate repository metadata relevant to synchronizing source provider content to AWS Resources. */ export function getRepositoryLinkOutput(args: GetRepositoryLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRepositoryLink(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codestarconnections:getRepositoryLink", { + "repositoryLinkArn": args.repositoryLinkArn, + }, opts); } export interface GetRepositoryLinkOutputArgs { diff --git a/sdk/nodejs/codestarconnections/getSyncConfiguration.ts b/sdk/nodejs/codestarconnections/getSyncConfiguration.ts index 3ffe85823c..05a5709cc7 100644 --- a/sdk/nodejs/codestarconnections/getSyncConfiguration.ts +++ b/sdk/nodejs/codestarconnections/getSyncConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Schema for AWS::CodeStarConnections::SyncConfiguration resource which is used to enables an AWS resource to be synchronized from a source-provider. */ export function getSyncConfiguration(args: GetSyncConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codestarconnections:getSyncConfiguration", { "resourceName": args.resourceName, @@ -72,7 +71,11 @@ export interface GetSyncConfigurationResult { * Schema for AWS::CodeStarConnections::SyncConfiguration resource which is used to enables an AWS resource to be synchronized from a source-provider. */ export function getSyncConfigurationOutput(args: GetSyncConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSyncConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codestarconnections:getSyncConfiguration", { + "resourceName": args.resourceName, + "syncType": args.syncType, + }, opts); } export interface GetSyncConfigurationOutputArgs { diff --git a/sdk/nodejs/codestarnotifications/getNotificationRule.ts b/sdk/nodejs/codestarnotifications/getNotificationRule.ts index df502448f2..40591ee7a6 100644 --- a/sdk/nodejs/codestarnotifications/getNotificationRule.ts +++ b/sdk/nodejs/codestarnotifications/getNotificationRule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::CodeStarNotifications::NotificationRule */ export function getNotificationRule(args: GetNotificationRuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:codestarnotifications:getNotificationRule", { "arn": args.arn, @@ -63,7 +62,10 @@ export interface GetNotificationRuleResult { * Resource Type definition for AWS::CodeStarNotifications::NotificationRule */ export function getNotificationRuleOutput(args: GetNotificationRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNotificationRule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:codestarnotifications:getNotificationRule", { + "arn": args.arn, + }, opts); } export interface GetNotificationRuleOutputArgs { diff --git a/sdk/nodejs/cognito/getIdentityPool.ts b/sdk/nodejs/cognito/getIdentityPool.ts index 2e3e85ff93..e7367cc1da 100644 --- a/sdk/nodejs/cognito/getIdentityPool.ts +++ b/sdk/nodejs/cognito/getIdentityPool.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Cognito::IdentityPool */ export function getIdentityPool(args: GetIdentityPoolArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getIdentityPool", { "id": args.id, @@ -81,7 +80,10 @@ export interface GetIdentityPoolResult { * Resource Type definition for AWS::Cognito::IdentityPool */ export function getIdentityPoolOutput(args: GetIdentityPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIdentityPool(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getIdentityPool", { + "id": args.id, + }, opts); } export interface GetIdentityPoolOutputArgs { diff --git a/sdk/nodejs/cognito/getIdentityPoolPrincipalTag.ts b/sdk/nodejs/cognito/getIdentityPoolPrincipalTag.ts index 23af3749d8..2d8ecc46a4 100644 --- a/sdk/nodejs/cognito/getIdentityPoolPrincipalTag.ts +++ b/sdk/nodejs/cognito/getIdentityPoolPrincipalTag.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Cognito::IdentityPoolPrincipalTag */ export function getIdentityPoolPrincipalTag(args: GetIdentityPoolPrincipalTagArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getIdentityPoolPrincipalTag", { "identityPoolId": args.identityPoolId, @@ -43,7 +42,11 @@ export interface GetIdentityPoolPrincipalTagResult { * Resource Type definition for AWS::Cognito::IdentityPoolPrincipalTag */ export function getIdentityPoolPrincipalTagOutput(args: GetIdentityPoolPrincipalTagOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIdentityPoolPrincipalTag(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getIdentityPoolPrincipalTag", { + "identityPoolId": args.identityPoolId, + "identityProviderName": args.identityProviderName, + }, opts); } export interface GetIdentityPoolPrincipalTagOutputArgs { diff --git a/sdk/nodejs/cognito/getIdentityPoolRoleAttachment.ts b/sdk/nodejs/cognito/getIdentityPoolRoleAttachment.ts index ef6eb1eedd..4348c5c3cb 100644 --- a/sdk/nodejs/cognito/getIdentityPoolRoleAttachment.ts +++ b/sdk/nodejs/cognito/getIdentityPoolRoleAttachment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Cognito::IdentityPoolRoleAttachment */ export function getIdentityPoolRoleAttachment(args: GetIdentityPoolRoleAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getIdentityPoolRoleAttachment", { "id": args.id, @@ -47,7 +46,10 @@ export interface GetIdentityPoolRoleAttachmentResult { * Resource Type definition for AWS::Cognito::IdentityPoolRoleAttachment */ export function getIdentityPoolRoleAttachmentOutput(args: GetIdentityPoolRoleAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIdentityPoolRoleAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getIdentityPoolRoleAttachment", { + "id": args.id, + }, opts); } export interface GetIdentityPoolRoleAttachmentOutputArgs { diff --git a/sdk/nodejs/cognito/getLogDeliveryConfiguration.ts b/sdk/nodejs/cognito/getLogDeliveryConfiguration.ts index 37fe3f5e90..e6b02b7441 100644 --- a/sdk/nodejs/cognito/getLogDeliveryConfiguration.ts +++ b/sdk/nodejs/cognito/getLogDeliveryConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Cognito::LogDeliveryConfiguration */ export function getLogDeliveryConfiguration(args: GetLogDeliveryConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getLogDeliveryConfiguration", { "id": args.id, @@ -39,7 +38,10 @@ export interface GetLogDeliveryConfigurationResult { * Resource Type definition for AWS::Cognito::LogDeliveryConfiguration */ export function getLogDeliveryConfigurationOutput(args: GetLogDeliveryConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLogDeliveryConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getLogDeliveryConfiguration", { + "id": args.id, + }, opts); } export interface GetLogDeliveryConfigurationOutputArgs { diff --git a/sdk/nodejs/cognito/getUserPool.ts b/sdk/nodejs/cognito/getUserPool.ts index 1fd80013ce..d41ffa42d6 100644 --- a/sdk/nodejs/cognito/getUserPool.ts +++ b/sdk/nodejs/cognito/getUserPool.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Cognito::UserPool Resource Type */ export function getUserPool(args: GetUserPoolArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getUserPool", { "userPoolId": args.userPoolId, @@ -167,7 +166,10 @@ export interface GetUserPoolResult { * Definition of AWS::Cognito::UserPool Resource Type */ export function getUserPoolOutput(args: GetUserPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserPool(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getUserPool", { + "userPoolId": args.userPoolId, + }, opts); } export interface GetUserPoolOutputArgs { diff --git a/sdk/nodejs/cognito/getUserPoolClient.ts b/sdk/nodejs/cognito/getUserPoolClient.ts index f8f41f62fe..561c518f69 100644 --- a/sdk/nodejs/cognito/getUserPoolClient.ts +++ b/sdk/nodejs/cognito/getUserPoolClient.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Cognito::UserPoolClient */ export function getUserPoolClient(args: GetUserPoolClientArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getUserPoolClient", { "clientId": args.clientId, @@ -194,7 +193,11 @@ export interface GetUserPoolClientResult { * Resource Type definition for AWS::Cognito::UserPoolClient */ export function getUserPoolClientOutput(args: GetUserPoolClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserPoolClient(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getUserPoolClient", { + "clientId": args.clientId, + "userPoolId": args.userPoolId, + }, opts); } export interface GetUserPoolClientOutputArgs { diff --git a/sdk/nodejs/cognito/getUserPoolDomain.ts b/sdk/nodejs/cognito/getUserPoolDomain.ts index 89ee8bf0d1..a1e33f5942 100644 --- a/sdk/nodejs/cognito/getUserPoolDomain.ts +++ b/sdk/nodejs/cognito/getUserPoolDomain.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Cognito::UserPoolDomain */ export function getUserPoolDomain(args: GetUserPoolDomainArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getUserPoolDomain", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetUserPoolDomainResult { * Resource Type definition for AWS::Cognito::UserPoolDomain */ export function getUserPoolDomainOutput(args: GetUserPoolDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserPoolDomain(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getUserPoolDomain", { + "id": args.id, + }, opts); } export interface GetUserPoolDomainOutputArgs { diff --git a/sdk/nodejs/cognito/getUserPoolGroup.ts b/sdk/nodejs/cognito/getUserPoolGroup.ts index 997a2e3739..a4c2cf0363 100644 --- a/sdk/nodejs/cognito/getUserPoolGroup.ts +++ b/sdk/nodejs/cognito/getUserPoolGroup.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Cognito::UserPoolGroup */ export function getUserPoolGroup(args: GetUserPoolGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getUserPoolGroup", { "groupName": args.groupName, @@ -49,7 +48,11 @@ export interface GetUserPoolGroupResult { * Resource Type definition for AWS::Cognito::UserPoolGroup */ export function getUserPoolGroupOutput(args: GetUserPoolGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserPoolGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getUserPoolGroup", { + "groupName": args.groupName, + "userPoolId": args.userPoolId, + }, opts); } export interface GetUserPoolGroupOutputArgs { diff --git a/sdk/nodejs/cognito/getUserPoolIdentityProvider.ts b/sdk/nodejs/cognito/getUserPoolIdentityProvider.ts index 5f421bb0ac..2442dccc7a 100644 --- a/sdk/nodejs/cognito/getUserPoolIdentityProvider.ts +++ b/sdk/nodejs/cognito/getUserPoolIdentityProvider.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Cognito::UserPoolIdentityProvider */ export function getUserPoolIdentityProvider(args: GetUserPoolIdentityProviderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getUserPoolIdentityProvider", { "id": args.id, @@ -76,7 +75,10 @@ export interface GetUserPoolIdentityProviderResult { * Resource Type definition for AWS::Cognito::UserPoolIdentityProvider */ export function getUserPoolIdentityProviderOutput(args: GetUserPoolIdentityProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserPoolIdentityProvider(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getUserPoolIdentityProvider", { + "id": args.id, + }, opts); } export interface GetUserPoolIdentityProviderOutputArgs { diff --git a/sdk/nodejs/cognito/getUserPoolResourceServer.ts b/sdk/nodejs/cognito/getUserPoolResourceServer.ts index c1166faade..70d52984c8 100644 --- a/sdk/nodejs/cognito/getUserPoolResourceServer.ts +++ b/sdk/nodejs/cognito/getUserPoolResourceServer.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Cognito::UserPoolResourceServer */ export function getUserPoolResourceServer(args: GetUserPoolResourceServerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getUserPoolResourceServer", { "identifier": args.identifier, @@ -44,7 +43,11 @@ export interface GetUserPoolResourceServerResult { * Resource Type definition for AWS::Cognito::UserPoolResourceServer */ export function getUserPoolResourceServerOutput(args: GetUserPoolResourceServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserPoolResourceServer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getUserPoolResourceServer", { + "identifier": args.identifier, + "userPoolId": args.userPoolId, + }, opts); } export interface GetUserPoolResourceServerOutputArgs { diff --git a/sdk/nodejs/cognito/getUserPoolRiskConfigurationAttachment.ts b/sdk/nodejs/cognito/getUserPoolRiskConfigurationAttachment.ts index d4fe70c944..c51514b07e 100644 --- a/sdk/nodejs/cognito/getUserPoolRiskConfigurationAttachment.ts +++ b/sdk/nodejs/cognito/getUserPoolRiskConfigurationAttachment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Cognito::UserPoolRiskConfigurationAttachment */ export function getUserPoolRiskConfigurationAttachment(args: GetUserPoolRiskConfigurationAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getUserPoolRiskConfigurationAttachment", { "clientId": args.clientId, @@ -48,7 +47,11 @@ export interface GetUserPoolRiskConfigurationAttachmentResult { * Resource Type definition for AWS::Cognito::UserPoolRiskConfigurationAttachment */ export function getUserPoolRiskConfigurationAttachmentOutput(args: GetUserPoolRiskConfigurationAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserPoolRiskConfigurationAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getUserPoolRiskConfigurationAttachment", { + "clientId": args.clientId, + "userPoolId": args.userPoolId, + }, opts); } export interface GetUserPoolRiskConfigurationAttachmentOutputArgs { diff --git a/sdk/nodejs/cognito/getUserPoolUiCustomizationAttachment.ts b/sdk/nodejs/cognito/getUserPoolUiCustomizationAttachment.ts index ad0366a97a..e57af2b0b6 100644 --- a/sdk/nodejs/cognito/getUserPoolUiCustomizationAttachment.ts +++ b/sdk/nodejs/cognito/getUserPoolUiCustomizationAttachment.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Cognito::UserPoolUICustomizationAttachment */ export function getUserPoolUiCustomizationAttachment(args: GetUserPoolUiCustomizationAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:cognito:getUserPoolUiCustomizationAttachment", { "clientId": args.clientId, @@ -37,7 +36,11 @@ export interface GetUserPoolUiCustomizationAttachmentResult { * Resource Type definition for AWS::Cognito::UserPoolUICustomizationAttachment */ export function getUserPoolUiCustomizationAttachmentOutput(args: GetUserPoolUiCustomizationAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserPoolUiCustomizationAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:cognito:getUserPoolUiCustomizationAttachment", { + "clientId": args.clientId, + "userPoolId": args.userPoolId, + }, opts); } export interface GetUserPoolUiCustomizationAttachmentOutputArgs { diff --git a/sdk/nodejs/comprehend/getDocumentClassifier.ts b/sdk/nodejs/comprehend/getDocumentClassifier.ts index ad4149c2b9..d1f3ea3e41 100644 --- a/sdk/nodejs/comprehend/getDocumentClassifier.ts +++ b/sdk/nodejs/comprehend/getDocumentClassifier.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Document Classifier enables training document classifier models. */ export function getDocumentClassifier(args: GetDocumentClassifierArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:comprehend:getDocumentClassifier", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetDocumentClassifierResult { * Document Classifier enables training document classifier models. */ export function getDocumentClassifierOutput(args: GetDocumentClassifierOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDocumentClassifier(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:comprehend:getDocumentClassifier", { + "arn": args.arn, + }, opts); } export interface GetDocumentClassifierOutputArgs { diff --git a/sdk/nodejs/comprehend/getFlywheel.ts b/sdk/nodejs/comprehend/getFlywheel.ts index d95f6b1cd8..012852e860 100644 --- a/sdk/nodejs/comprehend/getFlywheel.ts +++ b/sdk/nodejs/comprehend/getFlywheel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Comprehend::Flywheel resource creates an Amazon Comprehend Flywheel that enables customer to train their model. */ export function getFlywheel(args: GetFlywheelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:comprehend:getFlywheel", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetFlywheelResult { * The AWS::Comprehend::Flywheel resource creates an Amazon Comprehend Flywheel that enables customer to train their model. */ export function getFlywheelOutput(args: GetFlywheelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFlywheel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:comprehend:getFlywheel", { + "arn": args.arn, + }, opts); } export interface GetFlywheelOutputArgs { diff --git a/sdk/nodejs/configuration/getAggregationAuthorization.ts b/sdk/nodejs/configuration/getAggregationAuthorization.ts index 089b2d594a..7bd1e01e1a 100644 --- a/sdk/nodejs/configuration/getAggregationAuthorization.ts +++ b/sdk/nodejs/configuration/getAggregationAuthorization.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Config::AggregationAuthorization */ export function getAggregationAuthorization(args: GetAggregationAuthorizationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:configuration:getAggregationAuthorization", { "authorizedAccountId": args.authorizedAccountId, @@ -44,7 +43,11 @@ export interface GetAggregationAuthorizationResult { * Resource Type definition for AWS::Config::AggregationAuthorization */ export function getAggregationAuthorizationOutput(args: GetAggregationAuthorizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAggregationAuthorization(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:configuration:getAggregationAuthorization", { + "authorizedAccountId": args.authorizedAccountId, + "authorizedAwsRegion": args.authorizedAwsRegion, + }, opts); } export interface GetAggregationAuthorizationOutputArgs { diff --git a/sdk/nodejs/configuration/getConfigRule.ts b/sdk/nodejs/configuration/getConfigRule.ts index f084b1ebd8..c69127be74 100644 --- a/sdk/nodejs/configuration/getConfigRule.ts +++ b/sdk/nodejs/configuration/getConfigRule.ts @@ -19,7 +19,6 @@ import * as utilities from "../utilities"; * For more information about developing and using CC rules, see [Evaluating Resources with Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the *Developer Guide*. */ export function getConfigRule(args: GetConfigRuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:configuration:getConfigRule", { "configRuleName": args.configRuleName, @@ -90,7 +89,10 @@ export interface GetConfigRuleResult { * For more information about developing and using CC rules, see [Evaluating Resources with Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the *Developer Guide*. */ export function getConfigRuleOutput(args: GetConfigRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfigRule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:configuration:getConfigRule", { + "configRuleName": args.configRuleName, + }, opts); } export interface GetConfigRuleOutputArgs { diff --git a/sdk/nodejs/configuration/getConfigurationAggregator.ts b/sdk/nodejs/configuration/getConfigurationAggregator.ts index eac7c344cc..fd7306cfb1 100644 --- a/sdk/nodejs/configuration/getConfigurationAggregator.ts +++ b/sdk/nodejs/configuration/getConfigurationAggregator.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Config::ConfigurationAggregator */ export function getConfigurationAggregator(args: GetConfigurationAggregatorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:configuration:getConfigurationAggregator", { "configurationAggregatorName": args.configurationAggregatorName, @@ -47,7 +46,10 @@ export interface GetConfigurationAggregatorResult { * Resource Type definition for AWS::Config::ConfigurationAggregator */ export function getConfigurationAggregatorOutput(args: GetConfigurationAggregatorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfigurationAggregator(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:configuration:getConfigurationAggregator", { + "configurationAggregatorName": args.configurationAggregatorName, + }, opts); } export interface GetConfigurationAggregatorOutputArgs { diff --git a/sdk/nodejs/configuration/getConformancePack.ts b/sdk/nodejs/configuration/getConformancePack.ts index bcda6fff31..b55cbd440a 100644 --- a/sdk/nodejs/configuration/getConformancePack.ts +++ b/sdk/nodejs/configuration/getConformancePack.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A conformance pack is a collection of AWS Config rules and remediation actions that can be easily deployed as a single entity in an account and a region or across an entire AWS Organization. */ export function getConformancePack(args: GetConformancePackArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:configuration:getConformancePack", { "conformancePackName": args.conformancePackName, @@ -43,7 +42,10 @@ export interface GetConformancePackResult { * A conformance pack is a collection of AWS Config rules and remediation actions that can be easily deployed as a single entity in an account and a region or across an entire AWS Organization. */ export function getConformancePackOutput(args: GetConformancePackOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConformancePack(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:configuration:getConformancePack", { + "conformancePackName": args.conformancePackName, + }, opts); } export interface GetConformancePackOutputArgs { diff --git a/sdk/nodejs/configuration/getOrganizationConformancePack.ts b/sdk/nodejs/configuration/getOrganizationConformancePack.ts index 0303933c08..011f426bea 100644 --- a/sdk/nodejs/configuration/getOrganizationConformancePack.ts +++ b/sdk/nodejs/configuration/getOrganizationConformancePack.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Config::OrganizationConformancePack. */ export function getOrganizationConformancePack(args: GetOrganizationConformancePackArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:configuration:getOrganizationConformancePack", { "organizationConformancePackName": args.organizationConformancePackName, @@ -47,7 +46,10 @@ export interface GetOrganizationConformancePackResult { * Resource schema for AWS::Config::OrganizationConformancePack. */ export function getOrganizationConformancePackOutput(args: GetOrganizationConformancePackOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOrganizationConformancePack(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:configuration:getOrganizationConformancePack", { + "organizationConformancePackName": args.organizationConformancePackName, + }, opts); } export interface GetOrganizationConformancePackOutputArgs { diff --git a/sdk/nodejs/configuration/getStoredQuery.ts b/sdk/nodejs/configuration/getStoredQuery.ts index c374485f69..5751c4c121 100644 --- a/sdk/nodejs/configuration/getStoredQuery.ts +++ b/sdk/nodejs/configuration/getStoredQuery.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Config::StoredQuery */ export function getStoredQuery(args: GetStoredQueryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:configuration:getStoredQuery", { "queryName": args.queryName, @@ -51,7 +50,10 @@ export interface GetStoredQueryResult { * Resource Type definition for AWS::Config::StoredQuery */ export function getStoredQueryOutput(args: GetStoredQueryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStoredQuery(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:configuration:getStoredQuery", { + "queryName": args.queryName, + }, opts); } export interface GetStoredQueryOutputArgs { diff --git a/sdk/nodejs/connect/getAgentStatus.ts b/sdk/nodejs/connect/getAgentStatus.ts index aa1a377319..49156869e0 100644 --- a/sdk/nodejs/connect/getAgentStatus.ts +++ b/sdk/nodejs/connect/getAgentStatus.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::AgentStatus */ export function getAgentStatus(args: GetAgentStatusArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getAgentStatus", { "agentStatusArn": args.agentStatusArn, @@ -75,7 +74,10 @@ export interface GetAgentStatusResult { * Resource Type definition for AWS::Connect::AgentStatus */ export function getAgentStatusOutput(args: GetAgentStatusOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAgentStatus(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getAgentStatus", { + "agentStatusArn": args.agentStatusArn, + }, opts); } export interface GetAgentStatusOutputArgs { diff --git a/sdk/nodejs/connect/getContactFlow.ts b/sdk/nodejs/connect/getContactFlow.ts index df0bd91e0e..8adad6e2cd 100644 --- a/sdk/nodejs/connect/getContactFlow.ts +++ b/sdk/nodejs/connect/getContactFlow.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::ContactFlow */ export function getContactFlow(args: GetContactFlowArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getContactFlow", { "contactFlowArn": args.contactFlowArn, @@ -59,7 +58,10 @@ export interface GetContactFlowResult { * Resource Type definition for AWS::Connect::ContactFlow */ export function getContactFlowOutput(args: GetContactFlowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getContactFlow(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getContactFlow", { + "contactFlowArn": args.contactFlowArn, + }, opts); } export interface GetContactFlowOutputArgs { diff --git a/sdk/nodejs/connect/getContactFlowModule.ts b/sdk/nodejs/connect/getContactFlowModule.ts index 96636e4e7e..d7d930104f 100644 --- a/sdk/nodejs/connect/getContactFlowModule.ts +++ b/sdk/nodejs/connect/getContactFlowModule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::ContactFlowModule. */ export function getContactFlowModule(args: GetContactFlowModuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getContactFlowModule", { "contactFlowModuleArn": args.contactFlowModuleArn, @@ -63,7 +62,10 @@ export interface GetContactFlowModuleResult { * Resource Type definition for AWS::Connect::ContactFlowModule. */ export function getContactFlowModuleOutput(args: GetContactFlowModuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getContactFlowModule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getContactFlowModule", { + "contactFlowModuleArn": args.contactFlowModuleArn, + }, opts); } export interface GetContactFlowModuleOutputArgs { diff --git a/sdk/nodejs/connect/getEvaluationForm.ts b/sdk/nodejs/connect/getEvaluationForm.ts index 9fc7951313..91d1635e5e 100644 --- a/sdk/nodejs/connect/getEvaluationForm.ts +++ b/sdk/nodejs/connect/getEvaluationForm.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates an evaluation form for the specified CON instance. */ export function getEvaluationForm(args: GetEvaluationFormArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getEvaluationForm", { "evaluationFormArn": args.evaluationFormArn, @@ -67,7 +66,10 @@ export interface GetEvaluationFormResult { * Creates an evaluation form for the specified CON instance. */ export function getEvaluationFormOutput(args: GetEvaluationFormOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEvaluationForm(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getEvaluationForm", { + "evaluationFormArn": args.evaluationFormArn, + }, opts); } export interface GetEvaluationFormOutputArgs { diff --git a/sdk/nodejs/connect/getHoursOfOperation.ts b/sdk/nodejs/connect/getHoursOfOperation.ts index 72bba28c0a..c8c4efcad4 100644 --- a/sdk/nodejs/connect/getHoursOfOperation.ts +++ b/sdk/nodejs/connect/getHoursOfOperation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::HoursOfOperation */ export function getHoursOfOperation(args: GetHoursOfOperationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getHoursOfOperation", { "hoursOfOperationArn": args.hoursOfOperationArn, @@ -59,7 +58,10 @@ export interface GetHoursOfOperationResult { * Resource Type definition for AWS::Connect::HoursOfOperation */ export function getHoursOfOperationOutput(args: GetHoursOfOperationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getHoursOfOperation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getHoursOfOperation", { + "hoursOfOperationArn": args.hoursOfOperationArn, + }, opts); } export interface GetHoursOfOperationOutputArgs { diff --git a/sdk/nodejs/connect/getInstance.ts b/sdk/nodejs/connect/getInstance.ts index 90393f3cc4..0696ce29c8 100644 --- a/sdk/nodejs/connect/getInstance.ts +++ b/sdk/nodejs/connect/getInstance.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::Instance */ export function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getInstance", { "arn": args.arn, @@ -59,7 +58,10 @@ export interface GetInstanceResult { * Resource Type definition for AWS::Connect::Instance */ export function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInstance(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getInstance", { + "arn": args.arn, + }, opts); } export interface GetInstanceOutputArgs { diff --git a/sdk/nodejs/connect/getInstanceStorageConfig.ts b/sdk/nodejs/connect/getInstanceStorageConfig.ts index 05ae705384..6e94701df7 100644 --- a/sdk/nodejs/connect/getInstanceStorageConfig.ts +++ b/sdk/nodejs/connect/getInstanceStorageConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::InstanceStorageConfig */ export function getInstanceStorageConfig(args: GetInstanceStorageConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getInstanceStorageConfig", { "associationId": args.associationId, @@ -65,7 +64,12 @@ export interface GetInstanceStorageConfigResult { * Resource Type definition for AWS::Connect::InstanceStorageConfig */ export function getInstanceStorageConfigOutput(args: GetInstanceStorageConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInstanceStorageConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getInstanceStorageConfig", { + "associationId": args.associationId, + "instanceArn": args.instanceArn, + "resourceType": args.resourceType, + }, opts); } export interface GetInstanceStorageConfigOutputArgs { diff --git a/sdk/nodejs/connect/getIntegrationAssociation.ts b/sdk/nodejs/connect/getIntegrationAssociation.ts index d491e1a60c..4cbc581b2a 100644 --- a/sdk/nodejs/connect/getIntegrationAssociation.ts +++ b/sdk/nodejs/connect/getIntegrationAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::IntegrationAssociation */ export function getIntegrationAssociation(args: GetIntegrationAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getIntegrationAssociation", { "instanceId": args.instanceId, @@ -55,7 +54,12 @@ export interface GetIntegrationAssociationResult { * Resource Type definition for AWS::Connect::IntegrationAssociation */ export function getIntegrationAssociationOutput(args: GetIntegrationAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIntegrationAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getIntegrationAssociation", { + "instanceId": args.instanceId, + "integrationArn": args.integrationArn, + "integrationType": args.integrationType, + }, opts); } export interface GetIntegrationAssociationOutputArgs { diff --git a/sdk/nodejs/connect/getPhoneNumber.ts b/sdk/nodejs/connect/getPhoneNumber.ts index db6e508cf3..8f682a0a33 100644 --- a/sdk/nodejs/connect/getPhoneNumber.ts +++ b/sdk/nodejs/connect/getPhoneNumber.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::PhoneNumber */ export function getPhoneNumber(args: GetPhoneNumberArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getPhoneNumber", { "phoneNumberArn": args.phoneNumberArn, @@ -51,7 +50,10 @@ export interface GetPhoneNumberResult { * Resource Type definition for AWS::Connect::PhoneNumber */ export function getPhoneNumberOutput(args: GetPhoneNumberOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPhoneNumber(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getPhoneNumber", { + "phoneNumberArn": args.phoneNumberArn, + }, opts); } export interface GetPhoneNumberOutputArgs { diff --git a/sdk/nodejs/connect/getPredefinedAttribute.ts b/sdk/nodejs/connect/getPredefinedAttribute.ts index 9a05661185..88af1d0771 100644 --- a/sdk/nodejs/connect/getPredefinedAttribute.ts +++ b/sdk/nodejs/connect/getPredefinedAttribute.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::PredefinedAttribute */ export function getPredefinedAttribute(args: GetPredefinedAttributeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getPredefinedAttribute", { "instanceArn": args.instanceArn, @@ -48,7 +47,11 @@ export interface GetPredefinedAttributeResult { * Resource Type definition for AWS::Connect::PredefinedAttribute */ export function getPredefinedAttributeOutput(args: GetPredefinedAttributeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPredefinedAttribute(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getPredefinedAttribute", { + "instanceArn": args.instanceArn, + "name": args.name, + }, opts); } export interface GetPredefinedAttributeOutputArgs { diff --git a/sdk/nodejs/connect/getPrompt.ts b/sdk/nodejs/connect/getPrompt.ts index 8a70bd6991..e39dd6d15f 100644 --- a/sdk/nodejs/connect/getPrompt.ts +++ b/sdk/nodejs/connect/getPrompt.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::Prompt */ export function getPrompt(args: GetPromptArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getPrompt", { "promptArn": args.promptArn, @@ -51,7 +50,10 @@ export interface GetPromptResult { * Resource Type definition for AWS::Connect::Prompt */ export function getPromptOutput(args: GetPromptOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPrompt(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getPrompt", { + "promptArn": args.promptArn, + }, opts); } export interface GetPromptOutputArgs { diff --git a/sdk/nodejs/connect/getQueue.ts b/sdk/nodejs/connect/getQueue.ts index 5812ab7789..9d6bbf555f 100644 --- a/sdk/nodejs/connect/getQueue.ts +++ b/sdk/nodejs/connect/getQueue.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::Queue */ export function getQueue(args: GetQueueArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getQueue", { "queueArn": args.queueArn, @@ -75,7 +74,10 @@ export interface GetQueueResult { * Resource Type definition for AWS::Connect::Queue */ export function getQueueOutput(args: GetQueueOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getQueue(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getQueue", { + "queueArn": args.queueArn, + }, opts); } export interface GetQueueOutputArgs { diff --git a/sdk/nodejs/connect/getQuickConnect.ts b/sdk/nodejs/connect/getQuickConnect.ts index 1b10820a24..61931b225c 100644 --- a/sdk/nodejs/connect/getQuickConnect.ts +++ b/sdk/nodejs/connect/getQuickConnect.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::QuickConnect */ export function getQuickConnect(args: GetQuickConnectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getQuickConnect", { "quickConnectArn": args.quickConnectArn, @@ -59,7 +58,10 @@ export interface GetQuickConnectResult { * Resource Type definition for AWS::Connect::QuickConnect */ export function getQuickConnectOutput(args: GetQuickConnectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getQuickConnect(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getQuickConnect", { + "quickConnectArn": args.quickConnectArn, + }, opts); } export interface GetQuickConnectOutputArgs { diff --git a/sdk/nodejs/connect/getRoutingProfile.ts b/sdk/nodejs/connect/getRoutingProfile.ts index 399461e5f1..d2a117d75f 100644 --- a/sdk/nodejs/connect/getRoutingProfile.ts +++ b/sdk/nodejs/connect/getRoutingProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::RoutingProfile */ export function getRoutingProfile(args: GetRoutingProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getRoutingProfile", { "routingProfileArn": args.routingProfileArn, @@ -67,7 +66,10 @@ export interface GetRoutingProfileResult { * Resource Type definition for AWS::Connect::RoutingProfile */ export function getRoutingProfileOutput(args: GetRoutingProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRoutingProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getRoutingProfile", { + "routingProfileArn": args.routingProfileArn, + }, opts); } export interface GetRoutingProfileOutputArgs { diff --git a/sdk/nodejs/connect/getRule.ts b/sdk/nodejs/connect/getRule.ts index 6e386e6298..91bc353666 100644 --- a/sdk/nodejs/connect/getRule.ts +++ b/sdk/nodejs/connect/getRule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS:Connect::Rule */ export function getRule(args: GetRuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getRule", { "ruleArn": args.ruleArn, @@ -55,7 +54,10 @@ export interface GetRuleResult { * Resource Type definition for AWS:Connect::Rule */ export function getRuleOutput(args: GetRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getRule", { + "ruleArn": args.ruleArn, + }, opts); } export interface GetRuleOutputArgs { diff --git a/sdk/nodejs/connect/getSecurityKey.ts b/sdk/nodejs/connect/getSecurityKey.ts index 76f3f46199..489361c70d 100644 --- a/sdk/nodejs/connect/getSecurityKey.ts +++ b/sdk/nodejs/connect/getSecurityKey.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::SecurityKey */ export function getSecurityKey(args: GetSecurityKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getSecurityKey", { "associationId": args.associationId, @@ -41,7 +40,11 @@ export interface GetSecurityKeyResult { * Resource Type definition for AWS::Connect::SecurityKey */ export function getSecurityKeyOutput(args: GetSecurityKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSecurityKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getSecurityKey", { + "associationId": args.associationId, + "instanceId": args.instanceId, + }, opts); } export interface GetSecurityKeyOutputArgs { diff --git a/sdk/nodejs/connect/getSecurityProfile.ts b/sdk/nodejs/connect/getSecurityProfile.ts index 1904e40f63..d337d3e22f 100644 --- a/sdk/nodejs/connect/getSecurityProfile.ts +++ b/sdk/nodejs/connect/getSecurityProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::SecurityProfile */ export function getSecurityProfile(args: GetSecurityProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getSecurityProfile", { "securityProfileArn": args.securityProfileArn, @@ -75,7 +74,10 @@ export interface GetSecurityProfileResult { * Resource Type definition for AWS::Connect::SecurityProfile */ export function getSecurityProfileOutput(args: GetSecurityProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSecurityProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getSecurityProfile", { + "securityProfileArn": args.securityProfileArn, + }, opts); } export interface GetSecurityProfileOutputArgs { diff --git a/sdk/nodejs/connect/getTaskTemplate.ts b/sdk/nodejs/connect/getTaskTemplate.ts index c5534380b3..568d74d5fc 100644 --- a/sdk/nodejs/connect/getTaskTemplate.ts +++ b/sdk/nodejs/connect/getTaskTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::TaskTemplate. */ export function getTaskTemplate(args: GetTaskTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getTaskTemplate", { "arn": args.arn, @@ -75,7 +74,10 @@ export interface GetTaskTemplateResult { * Resource Type definition for AWS::Connect::TaskTemplate. */ export function getTaskTemplateOutput(args: GetTaskTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTaskTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getTaskTemplate", { + "arn": args.arn, + }, opts); } export interface GetTaskTemplateOutputArgs { diff --git a/sdk/nodejs/connect/getTrafficDistributionGroup.ts b/sdk/nodejs/connect/getTrafficDistributionGroup.ts index fd251cdf39..8f44e9c2cb 100644 --- a/sdk/nodejs/connect/getTrafficDistributionGroup.ts +++ b/sdk/nodejs/connect/getTrafficDistributionGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::TrafficDistributionGroup */ export function getTrafficDistributionGroup(args: GetTrafficDistributionGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getTrafficDistributionGroup", { "trafficDistributionGroupArn": args.trafficDistributionGroupArn, @@ -51,7 +50,10 @@ export interface GetTrafficDistributionGroupResult { * Resource Type definition for AWS::Connect::TrafficDistributionGroup */ export function getTrafficDistributionGroupOutput(args: GetTrafficDistributionGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTrafficDistributionGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getTrafficDistributionGroup", { + "trafficDistributionGroupArn": args.trafficDistributionGroupArn, + }, opts); } export interface GetTrafficDistributionGroupOutputArgs { diff --git a/sdk/nodejs/connect/getUser.ts b/sdk/nodejs/connect/getUser.ts index d64421c54f..60dd1e930a 100644 --- a/sdk/nodejs/connect/getUser.ts +++ b/sdk/nodejs/connect/getUser.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::User */ export function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getUser", { "userArn": args.userArn, @@ -75,7 +74,10 @@ export interface GetUserResult { * Resource Type definition for AWS::Connect::User */ export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUser(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getUser", { + "userArn": args.userArn, + }, opts); } export interface GetUserOutputArgs { diff --git a/sdk/nodejs/connect/getUserHierarchyGroup.ts b/sdk/nodejs/connect/getUserHierarchyGroup.ts index 41c34fccc7..e49ba5fa7f 100644 --- a/sdk/nodejs/connect/getUserHierarchyGroup.ts +++ b/sdk/nodejs/connect/getUserHierarchyGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::UserHierarchyGroup */ export function getUserHierarchyGroup(args: GetUserHierarchyGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getUserHierarchyGroup", { "userHierarchyGroupArn": args.userHierarchyGroupArn, @@ -47,7 +46,10 @@ export interface GetUserHierarchyGroupResult { * Resource Type definition for AWS::Connect::UserHierarchyGroup */ export function getUserHierarchyGroupOutput(args: GetUserHierarchyGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserHierarchyGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getUserHierarchyGroup", { + "userHierarchyGroupArn": args.userHierarchyGroupArn, + }, opts); } export interface GetUserHierarchyGroupOutputArgs { diff --git a/sdk/nodejs/connect/getUserHierarchyStructure.ts b/sdk/nodejs/connect/getUserHierarchyStructure.ts index 7387da67ba..4ae14850eb 100644 --- a/sdk/nodejs/connect/getUserHierarchyStructure.ts +++ b/sdk/nodejs/connect/getUserHierarchyStructure.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::UserHierarchyStructure */ export function getUserHierarchyStructure(args: GetUserHierarchyStructureArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getUserHierarchyStructure", { "userHierarchyStructureArn": args.userHierarchyStructureArn, @@ -39,7 +38,10 @@ export interface GetUserHierarchyStructureResult { * Resource Type definition for AWS::Connect::UserHierarchyStructure */ export function getUserHierarchyStructureOutput(args: GetUserHierarchyStructureOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserHierarchyStructure(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getUserHierarchyStructure", { + "userHierarchyStructureArn": args.userHierarchyStructureArn, + }, opts); } export interface GetUserHierarchyStructureOutputArgs { diff --git a/sdk/nodejs/connect/getView.ts b/sdk/nodejs/connect/getView.ts index 4e50f0ead0..a48d27e1b4 100644 --- a/sdk/nodejs/connect/getView.ts +++ b/sdk/nodejs/connect/getView.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::View */ export function getView(args: GetViewArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getView", { "viewArn": args.viewArn, @@ -69,7 +68,10 @@ export interface GetViewResult { * Resource Type definition for AWS::Connect::View */ export function getViewOutput(args: GetViewOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getView(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getView", { + "viewArn": args.viewArn, + }, opts); } export interface GetViewOutputArgs { diff --git a/sdk/nodejs/connect/getViewVersion.ts b/sdk/nodejs/connect/getViewVersion.ts index 493d6dcdfa..481583fc62 100644 --- a/sdk/nodejs/connect/getViewVersion.ts +++ b/sdk/nodejs/connect/getViewVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Connect::ViewVersion */ export function getViewVersion(args: GetViewVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connect:getViewVersion", { "viewVersionArn": args.viewVersionArn, @@ -36,7 +35,10 @@ export interface GetViewVersionResult { * Resource Type definition for AWS::Connect::ViewVersion */ export function getViewVersionOutput(args: GetViewVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getViewVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connect:getViewVersion", { + "viewVersionArn": args.viewVersionArn, + }, opts); } export interface GetViewVersionOutputArgs { diff --git a/sdk/nodejs/connectcampaigns/getCampaign.ts b/sdk/nodejs/connectcampaigns/getCampaign.ts index ae70aaa88d..376d3bd6b5 100644 --- a/sdk/nodejs/connectcampaigns/getCampaign.ts +++ b/sdk/nodejs/connectcampaigns/getCampaign.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::ConnectCampaigns::Campaign Resource Type */ export function getCampaign(args: GetCampaignArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:connectcampaigns:getCampaign", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetCampaignResult { * Definition of AWS::ConnectCampaigns::Campaign Resource Type */ export function getCampaignOutput(args: GetCampaignOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCampaign(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:connectcampaigns:getCampaign", { + "arn": args.arn, + }, opts); } export interface GetCampaignOutputArgs { diff --git a/sdk/nodejs/controltower/getEnabledBaseline.ts b/sdk/nodejs/controltower/getEnabledBaseline.ts index 7c6c000436..1d62037993 100644 --- a/sdk/nodejs/controltower/getEnabledBaseline.ts +++ b/sdk/nodejs/controltower/getEnabledBaseline.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::ControlTower::EnabledBaseline Resource Type */ export function getEnabledBaseline(args: GetEnabledBaselineArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:controltower:getEnabledBaseline", { "enabledBaselineIdentifier": args.enabledBaselineIdentifier, @@ -47,7 +46,10 @@ export interface GetEnabledBaselineResult { * Definition of AWS::ControlTower::EnabledBaseline Resource Type */ export function getEnabledBaselineOutput(args: GetEnabledBaselineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnabledBaseline(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:controltower:getEnabledBaseline", { + "enabledBaselineIdentifier": args.enabledBaselineIdentifier, + }, opts); } export interface GetEnabledBaselineOutputArgs { diff --git a/sdk/nodejs/controltower/getEnabledControl.ts b/sdk/nodejs/controltower/getEnabledControl.ts index dcfa0d548b..31720028bb 100644 --- a/sdk/nodejs/controltower/getEnabledControl.ts +++ b/sdk/nodejs/controltower/getEnabledControl.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Enables a control on a specified target. */ export function getEnabledControl(args: GetEnabledControlArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:controltower:getEnabledControl", { "controlIdentifier": args.controlIdentifier, @@ -44,7 +43,11 @@ export interface GetEnabledControlResult { * Enables a control on a specified target. */ export function getEnabledControlOutput(args: GetEnabledControlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnabledControl(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:controltower:getEnabledControl", { + "controlIdentifier": args.controlIdentifier, + "targetIdentifier": args.targetIdentifier, + }, opts); } export interface GetEnabledControlOutputArgs { diff --git a/sdk/nodejs/controltower/getLandingZone.ts b/sdk/nodejs/controltower/getLandingZone.ts index 196f4cda89..745892df9c 100644 --- a/sdk/nodejs/controltower/getLandingZone.ts +++ b/sdk/nodejs/controltower/getLandingZone.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::ControlTower::LandingZone Resource Type */ export function getLandingZone(args: GetLandingZoneArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:controltower:getLandingZone", { "landingZoneIdentifier": args.landingZoneIdentifier, @@ -65,7 +64,10 @@ export interface GetLandingZoneResult { * Definition of AWS::ControlTower::LandingZone Resource Type */ export function getLandingZoneOutput(args: GetLandingZoneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLandingZone(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:controltower:getLandingZone", { + "landingZoneIdentifier": args.landingZoneIdentifier, + }, opts); } export interface GetLandingZoneOutputArgs { diff --git a/sdk/nodejs/customerprofiles/getCalculatedAttributeDefinition.ts b/sdk/nodejs/customerprofiles/getCalculatedAttributeDefinition.ts index b80583a8c1..a85e85a187 100644 --- a/sdk/nodejs/customerprofiles/getCalculatedAttributeDefinition.ts +++ b/sdk/nodejs/customerprofiles/getCalculatedAttributeDefinition.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A calculated attribute definition for Customer Profiles */ export function getCalculatedAttributeDefinition(args: GetCalculatedAttributeDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:customerprofiles:getCalculatedAttributeDefinition", { "calculatedAttributeName": args.calculatedAttributeName, @@ -68,7 +67,11 @@ export interface GetCalculatedAttributeDefinitionResult { * A calculated attribute definition for Customer Profiles */ export function getCalculatedAttributeDefinitionOutput(args: GetCalculatedAttributeDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCalculatedAttributeDefinition(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:customerprofiles:getCalculatedAttributeDefinition", { + "calculatedAttributeName": args.calculatedAttributeName, + "domainName": args.domainName, + }, opts); } export interface GetCalculatedAttributeDefinitionOutputArgs { diff --git a/sdk/nodejs/customerprofiles/getDomain.ts b/sdk/nodejs/customerprofiles/getDomain.ts index a926b0da89..b6a3b53b96 100644 --- a/sdk/nodejs/customerprofiles/getDomain.ts +++ b/sdk/nodejs/customerprofiles/getDomain.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A domain defined for 3rd party data source in Profile Service */ export function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:customerprofiles:getDomain", { "domainName": args.domainName, @@ -64,7 +63,10 @@ export interface GetDomainResult { * A domain defined for 3rd party data source in Profile Service */ export function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomain(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:customerprofiles:getDomain", { + "domainName": args.domainName, + }, opts); } export interface GetDomainOutputArgs { diff --git a/sdk/nodejs/customerprofiles/getEventStream.ts b/sdk/nodejs/customerprofiles/getEventStream.ts index d4f284ddf0..84a3064404 100644 --- a/sdk/nodejs/customerprofiles/getEventStream.ts +++ b/sdk/nodejs/customerprofiles/getEventStream.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An Event Stream resource of Amazon Connect Customer Profiles */ export function getEventStream(args: GetEventStreamArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:customerprofiles:getEventStream", { "domainName": args.domainName, @@ -56,7 +55,11 @@ export interface GetEventStreamResult { * An Event Stream resource of Amazon Connect Customer Profiles */ export function getEventStreamOutput(args: GetEventStreamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventStream(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:customerprofiles:getEventStream", { + "domainName": args.domainName, + "eventStreamName": args.eventStreamName, + }, opts); } export interface GetEventStreamOutputArgs { diff --git a/sdk/nodejs/customerprofiles/getIntegration.ts b/sdk/nodejs/customerprofiles/getIntegration.ts index e5d97586da..a48ba138ba 100644 --- a/sdk/nodejs/customerprofiles/getIntegration.ts +++ b/sdk/nodejs/customerprofiles/getIntegration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The resource schema for creating an Amazon Connect Customer Profiles Integration. */ export function getIntegration(args: GetIntegrationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:customerprofiles:getIntegration", { "domainName": args.domainName, @@ -56,7 +55,11 @@ export interface GetIntegrationResult { * The resource schema for creating an Amazon Connect Customer Profiles Integration. */ export function getIntegrationOutput(args: GetIntegrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIntegration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:customerprofiles:getIntegration", { + "domainName": args.domainName, + "uri": args.uri, + }, opts); } export interface GetIntegrationOutputArgs { diff --git a/sdk/nodejs/customerprofiles/getObjectType.ts b/sdk/nodejs/customerprofiles/getObjectType.ts index 79e263eb96..a4052c630f 100644 --- a/sdk/nodejs/customerprofiles/getObjectType.ts +++ b/sdk/nodejs/customerprofiles/getObjectType.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An ObjectType resource of Amazon Connect Customer Profiles */ export function getObjectType(args: GetObjectTypeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:customerprofiles:getObjectType", { "domainName": args.domainName, @@ -80,7 +79,11 @@ export interface GetObjectTypeResult { * An ObjectType resource of Amazon Connect Customer Profiles */ export function getObjectTypeOutput(args: GetObjectTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getObjectType(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:customerprofiles:getObjectType", { + "domainName": args.domainName, + "objectTypeName": args.objectTypeName, + }, opts); } export interface GetObjectTypeOutputArgs { diff --git a/sdk/nodejs/databrew/getDataset.ts b/sdk/nodejs/databrew/getDataset.ts index 88c3d578ef..936cd2d55e 100644 --- a/sdk/nodejs/databrew/getDataset.ts +++ b/sdk/nodejs/databrew/getDataset.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataBrew::Dataset. */ export function getDataset(args: GetDatasetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:databrew:getDataset", { "name": args.name, @@ -47,7 +46,10 @@ export interface GetDatasetResult { * Resource schema for AWS::DataBrew::Dataset. */ export function getDatasetOutput(args: GetDatasetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataset(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:databrew:getDataset", { + "name": args.name, + }, opts); } export interface GetDatasetOutputArgs { diff --git a/sdk/nodejs/databrew/getJob.ts b/sdk/nodejs/databrew/getJob.ts index d9c2838d91..1e216911b5 100644 --- a/sdk/nodejs/databrew/getJob.ts +++ b/sdk/nodejs/databrew/getJob.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataBrew::Job. */ export function getJob(args: GetJobArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:databrew:getJob", { "name": args.name, @@ -99,7 +98,10 @@ export interface GetJobResult { * Resource schema for AWS::DataBrew::Job. */ export function getJobOutput(args: GetJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getJob(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:databrew:getJob", { + "name": args.name, + }, opts); } export interface GetJobOutputArgs { diff --git a/sdk/nodejs/databrew/getProject.ts b/sdk/nodejs/databrew/getProject.ts index 2d3162bc47..9387c285ae 100644 --- a/sdk/nodejs/databrew/getProject.ts +++ b/sdk/nodejs/databrew/getProject.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataBrew::Project. */ export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:databrew:getProject", { "name": args.name, @@ -47,7 +46,10 @@ export interface GetProjectResult { * Resource schema for AWS::DataBrew::Project. */ export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProject(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:databrew:getProject", { + "name": args.name, + }, opts); } export interface GetProjectOutputArgs { diff --git a/sdk/nodejs/databrew/getRecipe.ts b/sdk/nodejs/databrew/getRecipe.ts index c2eb7a3feb..38889ca1cb 100644 --- a/sdk/nodejs/databrew/getRecipe.ts +++ b/sdk/nodejs/databrew/getRecipe.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataBrew::Recipe. */ export function getRecipe(args: GetRecipeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:databrew:getRecipe", { "name": args.name, @@ -39,7 +38,10 @@ export interface GetRecipeResult { * Resource schema for AWS::DataBrew::Recipe. */ export function getRecipeOutput(args: GetRecipeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRecipe(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:databrew:getRecipe", { + "name": args.name, + }, opts); } export interface GetRecipeOutputArgs { diff --git a/sdk/nodejs/databrew/getRuleset.ts b/sdk/nodejs/databrew/getRuleset.ts index 179d081ae2..4769a231cb 100644 --- a/sdk/nodejs/databrew/getRuleset.ts +++ b/sdk/nodejs/databrew/getRuleset.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataBrew::Ruleset. */ export function getRuleset(args: GetRulesetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:databrew:getRuleset", { "name": args.name, @@ -39,7 +38,10 @@ export interface GetRulesetResult { * Resource schema for AWS::DataBrew::Ruleset. */ export function getRulesetOutput(args: GetRulesetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRuleset(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:databrew:getRuleset", { + "name": args.name, + }, opts); } export interface GetRulesetOutputArgs { diff --git a/sdk/nodejs/databrew/getSchedule.ts b/sdk/nodejs/databrew/getSchedule.ts index 8ceb116365..348ffccfc4 100644 --- a/sdk/nodejs/databrew/getSchedule.ts +++ b/sdk/nodejs/databrew/getSchedule.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataBrew::Schedule. */ export function getSchedule(args: GetScheduleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:databrew:getSchedule", { "name": args.name, @@ -36,7 +35,10 @@ export interface GetScheduleResult { * Resource schema for AWS::DataBrew::Schedule. */ export function getScheduleOutput(args: GetScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSchedule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:databrew:getSchedule", { + "name": args.name, + }, opts); } export interface GetScheduleOutputArgs { diff --git a/sdk/nodejs/datapipeline/getPipeline.ts b/sdk/nodejs/datapipeline/getPipeline.ts index 6914532c04..423c2e23d7 100644 --- a/sdk/nodejs/datapipeline/getPipeline.ts +++ b/sdk/nodejs/datapipeline/getPipeline.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getPipeline(args: GetPipelineArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datapipeline:getPipeline", { "pipelineId": args.pipelineId, @@ -55,7 +54,10 @@ export interface GetPipelineResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getPipelineOutput(args: GetPipelineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPipeline(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datapipeline:getPipeline", { + "pipelineId": args.pipelineId, + }, opts); } export interface GetPipelineOutputArgs { diff --git a/sdk/nodejs/datasync/getAgent.ts b/sdk/nodejs/datasync/getAgent.ts index 544f9504ba..d09fd96283 100644 --- a/sdk/nodejs/datasync/getAgent.ts +++ b/sdk/nodejs/datasync/getAgent.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::Agent. */ export function getAgent(args: GetAgentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getAgent", { "agentArn": args.agentArn, @@ -47,7 +46,10 @@ export interface GetAgentResult { * Resource schema for AWS::DataSync::Agent. */ export function getAgentOutput(args: GetAgentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAgent(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getAgent", { + "agentArn": args.agentArn, + }, opts); } export interface GetAgentOutputArgs { diff --git a/sdk/nodejs/datasync/getLocationAzureBlob.ts b/sdk/nodejs/datasync/getLocationAzureBlob.ts index d02db65645..57220f27ed 100644 --- a/sdk/nodejs/datasync/getLocationAzureBlob.ts +++ b/sdk/nodejs/datasync/getLocationAzureBlob.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::LocationAzureBlob. */ export function getLocationAzureBlob(args: GetLocationAzureBlobArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getLocationAzureBlob", { "locationArn": args.locationArn, @@ -59,7 +58,10 @@ export interface GetLocationAzureBlobResult { * Resource schema for AWS::DataSync::LocationAzureBlob. */ export function getLocationAzureBlobOutput(args: GetLocationAzureBlobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocationAzureBlob(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getLocationAzureBlob", { + "locationArn": args.locationArn, + }, opts); } export interface GetLocationAzureBlobOutputArgs { diff --git a/sdk/nodejs/datasync/getLocationEfs.ts b/sdk/nodejs/datasync/getLocationEfs.ts index c29a7acd78..2e01546ea9 100644 --- a/sdk/nodejs/datasync/getLocationEfs.ts +++ b/sdk/nodejs/datasync/getLocationEfs.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::LocationEFS. */ export function getLocationEfs(args: GetLocationEfsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getLocationEfs", { "locationArn": args.locationArn, @@ -43,7 +42,10 @@ export interface GetLocationEfsResult { * Resource schema for AWS::DataSync::LocationEFS. */ export function getLocationEfsOutput(args: GetLocationEfsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocationEfs(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getLocationEfs", { + "locationArn": args.locationArn, + }, opts); } export interface GetLocationEfsOutputArgs { diff --git a/sdk/nodejs/datasync/getLocationFSxLustre.ts b/sdk/nodejs/datasync/getLocationFSxLustre.ts index 970b81cc9d..802fd9d2ef 100644 --- a/sdk/nodejs/datasync/getLocationFSxLustre.ts +++ b/sdk/nodejs/datasync/getLocationFSxLustre.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::LocationFSxLustre. */ export function getLocationFSxLustre(args: GetLocationFSxLustreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getLocationFSxLustre", { "locationArn": args.locationArn, @@ -43,7 +42,10 @@ export interface GetLocationFSxLustreResult { * Resource schema for AWS::DataSync::LocationFSxLustre. */ export function getLocationFSxLustreOutput(args: GetLocationFSxLustreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocationFSxLustre(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getLocationFSxLustre", { + "locationArn": args.locationArn, + }, opts); } export interface GetLocationFSxLustreOutputArgs { diff --git a/sdk/nodejs/datasync/getLocationFSxOntap.ts b/sdk/nodejs/datasync/getLocationFSxOntap.ts index 37d54dc889..e88619a532 100644 --- a/sdk/nodejs/datasync/getLocationFSxOntap.ts +++ b/sdk/nodejs/datasync/getLocationFSxOntap.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::LocationFSxONTAP. */ export function getLocationFSxOntap(args: GetLocationFSxOntapArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getLocationFSxOntap", { "locationArn": args.locationArn, @@ -47,7 +46,10 @@ export interface GetLocationFSxOntapResult { * Resource schema for AWS::DataSync::LocationFSxONTAP. */ export function getLocationFSxOntapOutput(args: GetLocationFSxOntapOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocationFSxOntap(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getLocationFSxOntap", { + "locationArn": args.locationArn, + }, opts); } export interface GetLocationFSxOntapOutputArgs { diff --git a/sdk/nodejs/datasync/getLocationFSxOpenZfs.ts b/sdk/nodejs/datasync/getLocationFSxOpenZfs.ts index 3cc013d1a9..ad2c2f57cd 100644 --- a/sdk/nodejs/datasync/getLocationFSxOpenZfs.ts +++ b/sdk/nodejs/datasync/getLocationFSxOpenZfs.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::LocationFSxOpenZFS. */ export function getLocationFSxOpenZfs(args: GetLocationFSxOpenZfsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getLocationFSxOpenZfs", { "locationArn": args.locationArn, @@ -43,7 +42,10 @@ export interface GetLocationFSxOpenZfsResult { * Resource schema for AWS::DataSync::LocationFSxOpenZFS. */ export function getLocationFSxOpenZfsOutput(args: GetLocationFSxOpenZfsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocationFSxOpenZfs(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getLocationFSxOpenZfs", { + "locationArn": args.locationArn, + }, opts); } export interface GetLocationFSxOpenZfsOutputArgs { diff --git a/sdk/nodejs/datasync/getLocationFSxWindows.ts b/sdk/nodejs/datasync/getLocationFSxWindows.ts index 2e96a66b40..43132efa55 100644 --- a/sdk/nodejs/datasync/getLocationFSxWindows.ts +++ b/sdk/nodejs/datasync/getLocationFSxWindows.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::LocationFSxWindows. */ export function getLocationFSxWindows(args: GetLocationFSxWindowsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getLocationFSxWindows", { "locationArn": args.locationArn, @@ -43,7 +42,10 @@ export interface GetLocationFSxWindowsResult { * Resource schema for AWS::DataSync::LocationFSxWindows. */ export function getLocationFSxWindowsOutput(args: GetLocationFSxWindowsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocationFSxWindows(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getLocationFSxWindows", { + "locationArn": args.locationArn, + }, opts); } export interface GetLocationFSxWindowsOutputArgs { diff --git a/sdk/nodejs/datasync/getLocationHdfs.ts b/sdk/nodejs/datasync/getLocationHdfs.ts index 143d8979f1..4442fdb7ba 100644 --- a/sdk/nodejs/datasync/getLocationHdfs.ts +++ b/sdk/nodejs/datasync/getLocationHdfs.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::LocationHDFS. */ export function getLocationHdfs(args: GetLocationHdfsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getLocationHdfs", { "locationArn": args.locationArn, @@ -79,7 +78,10 @@ export interface GetLocationHdfsResult { * Resource schema for AWS::DataSync::LocationHDFS. */ export function getLocationHdfsOutput(args: GetLocationHdfsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocationHdfs(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getLocationHdfs", { + "locationArn": args.locationArn, + }, opts); } export interface GetLocationHdfsOutputArgs { diff --git a/sdk/nodejs/datasync/getLocationNfs.ts b/sdk/nodejs/datasync/getLocationNfs.ts index 9de4d644bf..ab1e94bbb8 100644 --- a/sdk/nodejs/datasync/getLocationNfs.ts +++ b/sdk/nodejs/datasync/getLocationNfs.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::LocationNFS */ export function getLocationNfs(args: GetLocationNfsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getLocationNfs", { "locationArn": args.locationArn, @@ -53,7 +52,10 @@ export interface GetLocationNfsResult { * Resource schema for AWS::DataSync::LocationNFS */ export function getLocationNfsOutput(args: GetLocationNfsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocationNfs(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getLocationNfs", { + "locationArn": args.locationArn, + }, opts); } export interface GetLocationNfsOutputArgs { diff --git a/sdk/nodejs/datasync/getLocationObjectStorage.ts b/sdk/nodejs/datasync/getLocationObjectStorage.ts index 5df4001118..3fa5788416 100644 --- a/sdk/nodejs/datasync/getLocationObjectStorage.ts +++ b/sdk/nodejs/datasync/getLocationObjectStorage.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::LocationObjectStorage. */ export function getLocationObjectStorage(args: GetLocationObjectStorageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getLocationObjectStorage", { "locationArn": args.locationArn, @@ -63,7 +62,10 @@ export interface GetLocationObjectStorageResult { * Resource schema for AWS::DataSync::LocationObjectStorage. */ export function getLocationObjectStorageOutput(args: GetLocationObjectStorageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocationObjectStorage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getLocationObjectStorage", { + "locationArn": args.locationArn, + }, opts); } export interface GetLocationObjectStorageOutputArgs { diff --git a/sdk/nodejs/datasync/getLocationS3.ts b/sdk/nodejs/datasync/getLocationS3.ts index 371104b9ba..298f9a3214 100644 --- a/sdk/nodejs/datasync/getLocationS3.ts +++ b/sdk/nodejs/datasync/getLocationS3.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::LocationS3 */ export function getLocationS3(args: GetLocationS3Args, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getLocationS3", { "locationArn": args.locationArn, @@ -43,7 +42,10 @@ export interface GetLocationS3Result { * Resource schema for AWS::DataSync::LocationS3 */ export function getLocationS3Output(args: GetLocationS3OutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocationS3(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getLocationS3", { + "locationArn": args.locationArn, + }, opts); } export interface GetLocationS3OutputArgs { diff --git a/sdk/nodejs/datasync/getLocationSmb.ts b/sdk/nodejs/datasync/getLocationSmb.ts index d51870c0bc..3f383761fb 100644 --- a/sdk/nodejs/datasync/getLocationSmb.ts +++ b/sdk/nodejs/datasync/getLocationSmb.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::LocationSMB. */ export function getLocationSmb(args: GetLocationSmbArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getLocationSmb", { "locationArn": args.locationArn, @@ -59,7 +58,10 @@ export interface GetLocationSmbResult { * Resource schema for AWS::DataSync::LocationSMB. */ export function getLocationSmbOutput(args: GetLocationSmbOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocationSmb(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getLocationSmb", { + "locationArn": args.locationArn, + }, opts); } export interface GetLocationSmbOutputArgs { diff --git a/sdk/nodejs/datasync/getStorageSystem.ts b/sdk/nodejs/datasync/getStorageSystem.ts index 522be64be4..9ffe3fa296 100644 --- a/sdk/nodejs/datasync/getStorageSystem.ts +++ b/sdk/nodejs/datasync/getStorageSystem.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::StorageSystem. */ export function getStorageSystem(args: GetStorageSystemArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getStorageSystem", { "storageSystemArn": args.storageSystemArn, @@ -67,7 +66,10 @@ export interface GetStorageSystemResult { * Resource schema for AWS::DataSync::StorageSystem. */ export function getStorageSystemOutput(args: GetStorageSystemOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStorageSystem(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getStorageSystem", { + "storageSystemArn": args.storageSystemArn, + }, opts); } export interface GetStorageSystemOutputArgs { diff --git a/sdk/nodejs/datasync/getTask.ts b/sdk/nodejs/datasync/getTask.ts index d67973ee6b..23f8d4ecee 100644 --- a/sdk/nodejs/datasync/getTask.ts +++ b/sdk/nodejs/datasync/getTask.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DataSync::Task. */ export function getTask(args: GetTaskArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datasync:getTask", { "taskArn": args.taskArn, @@ -85,7 +84,10 @@ export interface GetTaskResult { * Resource schema for AWS::DataSync::Task. */ export function getTaskOutput(args: GetTaskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTask(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datasync:getTask", { + "taskArn": args.taskArn, + }, opts); } export interface GetTaskOutputArgs { diff --git a/sdk/nodejs/datazone/getDataSource.ts b/sdk/nodejs/datazone/getDataSource.ts index 2636e77531..b7d50141c9 100644 --- a/sdk/nodejs/datazone/getDataSource.ts +++ b/sdk/nodejs/datazone/getDataSource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A data source is used to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. */ export function getDataSource(args: GetDataSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datazone:getDataSource", { "domainId": args.domainId, @@ -100,7 +99,11 @@ export interface GetDataSourceResult { * A data source is used to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. */ export function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datazone:getDataSource", { + "domainId": args.domainId, + "id": args.id, + }, opts); } export interface GetDataSourceOutputArgs { diff --git a/sdk/nodejs/datazone/getDomain.ts b/sdk/nodejs/datazone/getDomain.ts index bd012f9bc2..665a0ec9da 100644 --- a/sdk/nodejs/datazone/getDomain.ts +++ b/sdk/nodejs/datazone/getDomain.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A domain is an organizing entity for connecting together assets, users, and their projects */ export function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datazone:getDomain", { "id": args.id, @@ -79,7 +78,10 @@ export interface GetDomainResult { * A domain is an organizing entity for connecting together assets, users, and their projects */ export function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomain(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datazone:getDomain", { + "id": args.id, + }, opts); } export interface GetDomainOutputArgs { diff --git a/sdk/nodejs/datazone/getEnvironment.ts b/sdk/nodejs/datazone/getEnvironment.ts index 0e68fe1d74..b98912d9b8 100644 --- a/sdk/nodejs/datazone/getEnvironment.ts +++ b/sdk/nodejs/datazone/getEnvironment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::DataZone::Environment Resource Type */ export function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datazone:getEnvironment", { "domainId": args.domainId, @@ -96,7 +95,11 @@ export interface GetEnvironmentResult { * Definition of AWS::DataZone::Environment Resource Type */ export function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datazone:getEnvironment", { + "domainId": args.domainId, + "id": args.id, + }, opts); } export interface GetEnvironmentOutputArgs { diff --git a/sdk/nodejs/datazone/getEnvironmentActions.ts b/sdk/nodejs/datazone/getEnvironmentActions.ts index 5e4b6787eb..4b2c0e3917 100644 --- a/sdk/nodejs/datazone/getEnvironmentActions.ts +++ b/sdk/nodejs/datazone/getEnvironmentActions.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::DataZone::EnvironmentActions Resource Type */ export function getEnvironmentActions(args: GetEnvironmentActionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datazone:getEnvironmentActions", { "domainId": args.domainId, @@ -65,7 +64,12 @@ export interface GetEnvironmentActionsResult { * Definition of AWS::DataZone::EnvironmentActions Resource Type */ export function getEnvironmentActionsOutput(args: GetEnvironmentActionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironmentActions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datazone:getEnvironmentActions", { + "domainId": args.domainId, + "environmentId": args.environmentId, + "id": args.id, + }, opts); } export interface GetEnvironmentActionsOutputArgs { diff --git a/sdk/nodejs/datazone/getEnvironmentBlueprintConfiguration.ts b/sdk/nodejs/datazone/getEnvironmentBlueprintConfiguration.ts index b479c90b61..4523247d9c 100644 --- a/sdk/nodejs/datazone/getEnvironmentBlueprintConfiguration.ts +++ b/sdk/nodejs/datazone/getEnvironmentBlueprintConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::DataZone::EnvironmentBlueprintConfiguration Resource Type */ export function getEnvironmentBlueprintConfiguration(args: GetEnvironmentBlueprintConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datazone:getEnvironmentBlueprintConfiguration", { "domainId": args.domainId, @@ -68,7 +67,11 @@ export interface GetEnvironmentBlueprintConfigurationResult { * Definition of AWS::DataZone::EnvironmentBlueprintConfiguration Resource Type */ export function getEnvironmentBlueprintConfigurationOutput(args: GetEnvironmentBlueprintConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironmentBlueprintConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datazone:getEnvironmentBlueprintConfiguration", { + "domainId": args.domainId, + "environmentBlueprintId": args.environmentBlueprintId, + }, opts); } export interface GetEnvironmentBlueprintConfigurationOutputArgs { diff --git a/sdk/nodejs/datazone/getEnvironmentProfile.ts b/sdk/nodejs/datazone/getEnvironmentProfile.ts index 3cbc12f35b..56413eb07d 100644 --- a/sdk/nodejs/datazone/getEnvironmentProfile.ts +++ b/sdk/nodejs/datazone/getEnvironmentProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS Datazone Environment Profile is pre-configured set of resources and blueprints that provide reusable templates for creating environments. */ export function getEnvironmentProfile(args: GetEnvironmentProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datazone:getEnvironmentProfile", { "domainId": args.domainId, @@ -84,7 +83,11 @@ export interface GetEnvironmentProfileResult { * AWS Datazone Environment Profile is pre-configured set of resources and blueprints that provide reusable templates for creating environments. */ export function getEnvironmentProfileOutput(args: GetEnvironmentProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironmentProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datazone:getEnvironmentProfile", { + "domainId": args.domainId, + "id": args.id, + }, opts); } export interface GetEnvironmentProfileOutputArgs { diff --git a/sdk/nodejs/datazone/getGroupProfile.ts b/sdk/nodejs/datazone/getGroupProfile.ts index a2ae155cda..c4eb14cbf0 100644 --- a/sdk/nodejs/datazone/getGroupProfile.ts +++ b/sdk/nodejs/datazone/getGroupProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Group profiles represent groups of Amazon DataZone users. Groups can be manually created, or mapped to Active Directory groups of enterprise customers. In Amazon DataZone, groups serve two purposes. First, a group can map to a team of users in the organizational chart, and thus reduce the administrative work of a Amazon DataZone project owner when there are new employees joining or leaving a team. Second, corporate administrators use Active Directory groups to manage and update user statuses and so Amazon DataZone domain administrators can use these group memberships to implement Amazon DataZone domain policies. */ export function getGroupProfile(args: GetGroupProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datazone:getGroupProfile", { "domainId": args.domainId, @@ -52,7 +51,11 @@ export interface GetGroupProfileResult { * Group profiles represent groups of Amazon DataZone users. Groups can be manually created, or mapped to Active Directory groups of enterprise customers. In Amazon DataZone, groups serve two purposes. First, a group can map to a team of users in the organizational chart, and thus reduce the administrative work of a Amazon DataZone project owner when there are new employees joining or leaving a team. Second, corporate administrators use Active Directory groups to manage and update user statuses and so Amazon DataZone domain administrators can use these group memberships to implement Amazon DataZone domain policies. */ export function getGroupProfileOutput(args: GetGroupProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGroupProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datazone:getGroupProfile", { + "domainId": args.domainId, + "id": args.id, + }, opts); } export interface GetGroupProfileOutputArgs { diff --git a/sdk/nodejs/datazone/getProject.ts b/sdk/nodejs/datazone/getProject.ts index 8cb4da91fb..43f79d9bb5 100644 --- a/sdk/nodejs/datazone/getProject.ts +++ b/sdk/nodejs/datazone/getProject.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Amazon DataZone projects are business use case–based groupings of people, assets (data), and tools used to simplify access to the AWS analytics. */ export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datazone:getProject", { "domainId": args.domainId, @@ -65,7 +64,11 @@ export interface GetProjectResult { * Amazon DataZone projects are business use case–based groupings of people, assets (data), and tools used to simplify access to the AWS analytics. */ export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProject(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datazone:getProject", { + "domainId": args.domainId, + "id": args.id, + }, opts); } export interface GetProjectOutputArgs { diff --git a/sdk/nodejs/datazone/getSubscriptionTarget.ts b/sdk/nodejs/datazone/getSubscriptionTarget.ts index 2055aa92b5..5279033bcd 100644 --- a/sdk/nodejs/datazone/getSubscriptionTarget.ts +++ b/sdk/nodejs/datazone/getSubscriptionTarget.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Subscription targets enables one to access the data to which you have subscribed in your projects. */ export function getSubscriptionTarget(args: GetSubscriptionTargetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datazone:getSubscriptionTarget", { "domainId": args.domainId, @@ -97,7 +96,12 @@ export interface GetSubscriptionTargetResult { * Subscription targets enables one to access the data to which you have subscribed in your projects. */ export function getSubscriptionTargetOutput(args: GetSubscriptionTargetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSubscriptionTarget(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datazone:getSubscriptionTarget", { + "domainId": args.domainId, + "environmentId": args.environmentId, + "id": args.id, + }, opts); } export interface GetSubscriptionTargetOutputArgs { diff --git a/sdk/nodejs/datazone/getUserProfile.ts b/sdk/nodejs/datazone/getUserProfile.ts index 62f0f7a48f..9c90141f70 100644 --- a/sdk/nodejs/datazone/getUserProfile.ts +++ b/sdk/nodejs/datazone/getUserProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A user profile represents Amazon DataZone users. Amazon DataZone supports both IAM roles and SSO identities to interact with the Amazon DataZone Management Console and the data portal for different purposes. Domain administrators use IAM roles to perform the initial administrative domain-related work in the Amazon DataZone Management Console, including creating new Amazon DataZone domains, configuring metadata form types, and implementing policies. Data workers use their SSO corporate identities via Identity Center to log into the Amazon DataZone Data Portal and access projects where they have memberships. */ export function getUserProfile(args: GetUserProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:datazone:getUserProfile", { "domainId": args.domainId, @@ -53,7 +52,11 @@ export interface GetUserProfileResult { * A user profile represents Amazon DataZone users. Amazon DataZone supports both IAM roles and SSO identities to interact with the Amazon DataZone Management Console and the data portal for different purposes. Domain administrators use IAM roles to perform the initial administrative domain-related work in the Amazon DataZone Management Console, including creating new Amazon DataZone domains, configuring metadata form types, and implementing policies. Data workers use their SSO corporate identities via Identity Center to log into the Amazon DataZone Data Portal and access projects where they have memberships. */ export function getUserProfileOutput(args: GetUserProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:datazone:getUserProfile", { + "domainId": args.domainId, + "id": args.id, + }, opts); } export interface GetUserProfileOutputArgs { diff --git a/sdk/nodejs/deadline/getFarm.ts b/sdk/nodejs/deadline/getFarm.ts index e82329cf89..d10a02d072 100644 --- a/sdk/nodejs/deadline/getFarm.ts +++ b/sdk/nodejs/deadline/getFarm.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Deadline::Farm Resource Type */ export function getFarm(args: GetFarmArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:deadline:getFarm", { "arn": args.arn, @@ -53,7 +52,10 @@ export interface GetFarmResult { * Definition of AWS::Deadline::Farm Resource Type */ export function getFarmOutput(args: GetFarmOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFarm(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:deadline:getFarm", { + "arn": args.arn, + }, opts); } export interface GetFarmOutputArgs { diff --git a/sdk/nodejs/deadline/getFleet.ts b/sdk/nodejs/deadline/getFleet.ts index 8ef69479d5..ee81ea9501 100644 --- a/sdk/nodejs/deadline/getFleet.ts +++ b/sdk/nodejs/deadline/getFleet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Deadline::Fleet Resource Type */ export function getFleet(args: GetFleetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:deadline:getFleet", { "arn": args.arn, @@ -78,7 +77,10 @@ export interface GetFleetResult { * Definition of AWS::Deadline::Fleet Resource Type */ export function getFleetOutput(args: GetFleetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFleet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:deadline:getFleet", { + "arn": args.arn, + }, opts); } export interface GetFleetOutputArgs { diff --git a/sdk/nodejs/deadline/getLicenseEndpoint.ts b/sdk/nodejs/deadline/getLicenseEndpoint.ts index ca414d96a1..7b3ad808b2 100644 --- a/sdk/nodejs/deadline/getLicenseEndpoint.ts +++ b/sdk/nodejs/deadline/getLicenseEndpoint.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Deadline::LicenseEndpoint Resource Type */ export function getLicenseEndpoint(args: GetLicenseEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:deadline:getLicenseEndpoint", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetLicenseEndpointResult { * Definition of AWS::Deadline::LicenseEndpoint Resource Type */ export function getLicenseEndpointOutput(args: GetLicenseEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLicenseEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:deadline:getLicenseEndpoint", { + "arn": args.arn, + }, opts); } export interface GetLicenseEndpointOutputArgs { diff --git a/sdk/nodejs/deadline/getMeteredProduct.ts b/sdk/nodejs/deadline/getMeteredProduct.ts index 19bf715b5b..42194f16ce 100644 --- a/sdk/nodejs/deadline/getMeteredProduct.ts +++ b/sdk/nodejs/deadline/getMeteredProduct.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Deadline::MeteredProduct Resource Type */ export function getMeteredProduct(args: GetMeteredProductArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:deadline:getMeteredProduct", { "arn": args.arn, @@ -44,7 +43,10 @@ export interface GetMeteredProductResult { * Definition of AWS::Deadline::MeteredProduct Resource Type */ export function getMeteredProductOutput(args: GetMeteredProductOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMeteredProduct(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:deadline:getMeteredProduct", { + "arn": args.arn, + }, opts); } export interface GetMeteredProductOutputArgs { diff --git a/sdk/nodejs/deadline/getMonitor.ts b/sdk/nodejs/deadline/getMonitor.ts index 64c8721c69..51232e0062 100644 --- a/sdk/nodejs/deadline/getMonitor.ts +++ b/sdk/nodejs/deadline/getMonitor.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Deadline::Monitor Resource Type */ export function getMonitor(args: GetMonitorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:deadline:getMonitor", { "arn": args.arn, @@ -58,7 +57,10 @@ export interface GetMonitorResult { * Definition of AWS::Deadline::Monitor Resource Type */ export function getMonitorOutput(args: GetMonitorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMonitor(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:deadline:getMonitor", { + "arn": args.arn, + }, opts); } export interface GetMonitorOutputArgs { diff --git a/sdk/nodejs/deadline/getQueue.ts b/sdk/nodejs/deadline/getQueue.ts index 7a0f81c13f..936eaa627a 100644 --- a/sdk/nodejs/deadline/getQueue.ts +++ b/sdk/nodejs/deadline/getQueue.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Deadline::Queue Resource Type */ export function getQueue(args: GetQueueArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:deadline:getQueue", { "arn": args.arn, @@ -77,7 +76,10 @@ export interface GetQueueResult { * Definition of AWS::Deadline::Queue Resource Type */ export function getQueueOutput(args: GetQueueOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getQueue(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:deadline:getQueue", { + "arn": args.arn, + }, opts); } export interface GetQueueOutputArgs { diff --git a/sdk/nodejs/deadline/getQueueEnvironment.ts b/sdk/nodejs/deadline/getQueueEnvironment.ts index 45ce4a3862..8aae8139c0 100644 --- a/sdk/nodejs/deadline/getQueueEnvironment.ts +++ b/sdk/nodejs/deadline/getQueueEnvironment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Deadline::QueueEnvironment Resource Type */ export function getQueueEnvironment(args: GetQueueEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:deadline:getQueueEnvironment", { "farmId": args.farmId, @@ -61,7 +60,12 @@ export interface GetQueueEnvironmentResult { * Definition of AWS::Deadline::QueueEnvironment Resource Type */ export function getQueueEnvironmentOutput(args: GetQueueEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getQueueEnvironment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:deadline:getQueueEnvironment", { + "farmId": args.farmId, + "queueEnvironmentId": args.queueEnvironmentId, + "queueId": args.queueId, + }, opts); } export interface GetQueueEnvironmentOutputArgs { diff --git a/sdk/nodejs/deadline/getStorageProfile.ts b/sdk/nodejs/deadline/getStorageProfile.ts index 32ef4bf3c7..74c92dee74 100644 --- a/sdk/nodejs/deadline/getStorageProfile.ts +++ b/sdk/nodejs/deadline/getStorageProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Deadline::StorageProfile Resource Type */ export function getStorageProfile(args: GetStorageProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:deadline:getStorageProfile", { "farmId": args.farmId, @@ -54,7 +53,11 @@ export interface GetStorageProfileResult { * Definition of AWS::Deadline::StorageProfile Resource Type */ export function getStorageProfileOutput(args: GetStorageProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStorageProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:deadline:getStorageProfile", { + "farmId": args.farmId, + "storageProfileId": args.storageProfileId, + }, opts); } export interface GetStorageProfileOutputArgs { diff --git a/sdk/nodejs/detective/getGraph.ts b/sdk/nodejs/detective/getGraph.ts index 0d8fe2226d..d308919f75 100644 --- a/sdk/nodejs/detective/getGraph.ts +++ b/sdk/nodejs/detective/getGraph.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Detective::Graph */ export function getGraph(args: GetGraphArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:detective:getGraph", { "arn": args.arn, @@ -43,7 +42,10 @@ export interface GetGraphResult { * Resource schema for AWS::Detective::Graph */ export function getGraphOutput(args: GetGraphOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGraph(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:detective:getGraph", { + "arn": args.arn, + }, opts); } export interface GetGraphOutputArgs { diff --git a/sdk/nodejs/detective/getMemberInvitation.ts b/sdk/nodejs/detective/getMemberInvitation.ts index d2b7e8141f..18f0b949b9 100644 --- a/sdk/nodejs/detective/getMemberInvitation.ts +++ b/sdk/nodejs/detective/getMemberInvitation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Detective::MemberInvitation */ export function getMemberInvitation(args: GetMemberInvitationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:detective:getMemberInvitation", { "graphArn": args.graphArn, @@ -37,7 +36,11 @@ export interface GetMemberInvitationResult { * Resource schema for AWS::Detective::MemberInvitation */ export function getMemberInvitationOutput(args: GetMemberInvitationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMemberInvitation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:detective:getMemberInvitation", { + "graphArn": args.graphArn, + "memberId": args.memberId, + }, opts); } export interface GetMemberInvitationOutputArgs { diff --git a/sdk/nodejs/detective/getOrganizationAdmin.ts b/sdk/nodejs/detective/getOrganizationAdmin.ts index 61f64f2701..eadbb29d94 100644 --- a/sdk/nodejs/detective/getOrganizationAdmin.ts +++ b/sdk/nodejs/detective/getOrganizationAdmin.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Detective::OrganizationAdmin */ export function getOrganizationAdmin(args: GetOrganizationAdminArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:detective:getOrganizationAdmin", { "accountId": args.accountId, @@ -32,7 +31,10 @@ export interface GetOrganizationAdminResult { * Resource schema for AWS::Detective::OrganizationAdmin */ export function getOrganizationAdminOutput(args: GetOrganizationAdminOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOrganizationAdmin(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:detective:getOrganizationAdmin", { + "accountId": args.accountId, + }, opts); } export interface GetOrganizationAdminOutputArgs { diff --git a/sdk/nodejs/devicefarm/getDevicePool.ts b/sdk/nodejs/devicefarm/getDevicePool.ts index 41d36e49dd..d15eb1b3c7 100644 --- a/sdk/nodejs/devicefarm/getDevicePool.ts +++ b/sdk/nodejs/devicefarm/getDevicePool.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::DeviceFarm::DevicePool creates a new Device Pool for a given DF Project */ export function getDevicePool(args: GetDevicePoolArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:devicefarm:getDevicePool", { "arn": args.arn, @@ -59,7 +58,10 @@ export interface GetDevicePoolResult { * AWS::DeviceFarm::DevicePool creates a new Device Pool for a given DF Project */ export function getDevicePoolOutput(args: GetDevicePoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevicePool(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:devicefarm:getDevicePool", { + "arn": args.arn, + }, opts); } export interface GetDevicePoolOutputArgs { diff --git a/sdk/nodejs/devicefarm/getInstanceProfile.ts b/sdk/nodejs/devicefarm/getInstanceProfile.ts index ee709e5590..538e0f2928 100644 --- a/sdk/nodejs/devicefarm/getInstanceProfile.ts +++ b/sdk/nodejs/devicefarm/getInstanceProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::DeviceFarm::InstanceProfile creates a new Device Farm Instance Profile */ export function getInstanceProfile(args: GetInstanceProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:devicefarm:getInstanceProfile", { "arn": args.arn, @@ -63,7 +62,10 @@ export interface GetInstanceProfileResult { * AWS::DeviceFarm::InstanceProfile creates a new Device Farm Instance Profile */ export function getInstanceProfileOutput(args: GetInstanceProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInstanceProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:devicefarm:getInstanceProfile", { + "arn": args.arn, + }, opts); } export interface GetInstanceProfileOutputArgs { diff --git a/sdk/nodejs/devicefarm/getNetworkProfile.ts b/sdk/nodejs/devicefarm/getNetworkProfile.ts index 03de08ee52..0101a8bee9 100644 --- a/sdk/nodejs/devicefarm/getNetworkProfile.ts +++ b/sdk/nodejs/devicefarm/getNetworkProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::DeviceFarm::NetworkProfile creates a new DF Network Profile */ export function getNetworkProfile(args: GetNetworkProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:devicefarm:getNetworkProfile", { "arn": args.arn, @@ -81,7 +80,10 @@ export interface GetNetworkProfileResult { * AWS::DeviceFarm::NetworkProfile creates a new DF Network Profile */ export function getNetworkProfileOutput(args: GetNetworkProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworkProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:devicefarm:getNetworkProfile", { + "arn": args.arn, + }, opts); } export interface GetNetworkProfileOutputArgs { diff --git a/sdk/nodejs/devicefarm/getProject.ts b/sdk/nodejs/devicefarm/getProject.ts index 1770cec237..6199c78800 100644 --- a/sdk/nodejs/devicefarm/getProject.ts +++ b/sdk/nodejs/devicefarm/getProject.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::DeviceFarm::Project creates a new Device Farm Project */ export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:devicefarm:getProject", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetProjectResult { * AWS::DeviceFarm::Project creates a new Device Farm Project */ export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProject(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:devicefarm:getProject", { + "arn": args.arn, + }, opts); } export interface GetProjectOutputArgs { diff --git a/sdk/nodejs/devicefarm/getTestGridProject.ts b/sdk/nodejs/devicefarm/getTestGridProject.ts index 7d217db3f4..85abd84d8d 100644 --- a/sdk/nodejs/devicefarm/getTestGridProject.ts +++ b/sdk/nodejs/devicefarm/getTestGridProject.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::DeviceFarm::TestGridProject creates a new TestGrid Project */ export function getTestGridProject(args: GetTestGridProjectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:devicefarm:getTestGridProject", { "arn": args.arn, @@ -49,7 +48,10 @@ export interface GetTestGridProjectResult { * AWS::DeviceFarm::TestGridProject creates a new TestGrid Project */ export function getTestGridProjectOutput(args: GetTestGridProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTestGridProject(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:devicefarm:getTestGridProject", { + "arn": args.arn, + }, opts); } export interface GetTestGridProjectOutputArgs { diff --git a/sdk/nodejs/devicefarm/getVpceConfiguration.ts b/sdk/nodejs/devicefarm/getVpceConfiguration.ts index f91ac39b4f..dbfec43083 100644 --- a/sdk/nodejs/devicefarm/getVpceConfiguration.ts +++ b/sdk/nodejs/devicefarm/getVpceConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::DeviceFarm::VPCEConfiguration creates a new Device Farm VPCE Configuration */ export function getVpceConfiguration(args: GetVpceConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:devicefarm:getVpceConfiguration", { "arn": args.arn, @@ -59,7 +58,10 @@ export interface GetVpceConfigurationResult { * AWS::DeviceFarm::VPCEConfiguration creates a new Device Farm VPCE Configuration */ export function getVpceConfigurationOutput(args: GetVpceConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpceConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:devicefarm:getVpceConfiguration", { + "arn": args.arn, + }, opts); } export interface GetVpceConfigurationOutputArgs { diff --git a/sdk/nodejs/devopsguru/getLogAnomalyDetectionIntegration.ts b/sdk/nodejs/devopsguru/getLogAnomalyDetectionIntegration.ts index 4675d3f2b4..464b9fb624 100644 --- a/sdk/nodejs/devopsguru/getLogAnomalyDetectionIntegration.ts +++ b/sdk/nodejs/devopsguru/getLogAnomalyDetectionIntegration.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * This resource schema represents the LogAnomalyDetectionIntegration resource in the Amazon DevOps Guru. */ export function getLogAnomalyDetectionIntegration(args: GetLogAnomalyDetectionIntegrationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:devopsguru:getLogAnomalyDetectionIntegration", { "accountId": args.accountId, @@ -32,7 +31,10 @@ export interface GetLogAnomalyDetectionIntegrationResult { * This resource schema represents the LogAnomalyDetectionIntegration resource in the Amazon DevOps Guru. */ export function getLogAnomalyDetectionIntegrationOutput(args: GetLogAnomalyDetectionIntegrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLogAnomalyDetectionIntegration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:devopsguru:getLogAnomalyDetectionIntegration", { + "accountId": args.accountId, + }, opts); } export interface GetLogAnomalyDetectionIntegrationOutputArgs { diff --git a/sdk/nodejs/devopsguru/getNotificationChannel.ts b/sdk/nodejs/devopsguru/getNotificationChannel.ts index 328629d90c..61c0aeccd6 100644 --- a/sdk/nodejs/devopsguru/getNotificationChannel.ts +++ b/sdk/nodejs/devopsguru/getNotificationChannel.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * This resource schema represents the NotificationChannel resource in the Amazon DevOps Guru. */ export function getNotificationChannel(args: GetNotificationChannelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:devopsguru:getNotificationChannel", { "id": args.id, @@ -32,7 +31,10 @@ export interface GetNotificationChannelResult { * This resource schema represents the NotificationChannel resource in the Amazon DevOps Guru. */ export function getNotificationChannelOutput(args: GetNotificationChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNotificationChannel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:devopsguru:getNotificationChannel", { + "id": args.id, + }, opts); } export interface GetNotificationChannelOutputArgs { diff --git a/sdk/nodejs/devopsguru/getResourceCollection.ts b/sdk/nodejs/devopsguru/getResourceCollection.ts index 07decc025b..0167239f85 100644 --- a/sdk/nodejs/devopsguru/getResourceCollection.ts +++ b/sdk/nodejs/devopsguru/getResourceCollection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * This resource schema represents the ResourceCollection resource in the Amazon DevOps Guru. */ export function getResourceCollection(args: GetResourceCollectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:devopsguru:getResourceCollection", { "resourceCollectionType": args.resourceCollectionType, @@ -39,7 +38,10 @@ export interface GetResourceCollectionResult { * This resource schema represents the ResourceCollection resource in the Amazon DevOps Guru. */ export function getResourceCollectionOutput(args: GetResourceCollectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourceCollection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:devopsguru:getResourceCollection", { + "resourceCollectionType": args.resourceCollectionType, + }, opts); } export interface GetResourceCollectionOutputArgs { diff --git a/sdk/nodejs/directoryservice/getSimpleAd.ts b/sdk/nodejs/directoryservice/getSimpleAd.ts index b86eb17d41..604224606b 100644 --- a/sdk/nodejs/directoryservice/getSimpleAd.ts +++ b/sdk/nodejs/directoryservice/getSimpleAd.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::DirectoryService::SimpleAD */ export function getSimpleAd(args: GetSimpleAdArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:directoryservice:getSimpleAd", { "directoryId": args.directoryId, @@ -44,7 +43,10 @@ export interface GetSimpleAdResult { * Resource Type definition for AWS::DirectoryService::SimpleAD */ export function getSimpleAdOutput(args: GetSimpleAdOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSimpleAd(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:directoryservice:getSimpleAd", { + "directoryId": args.directoryId, + }, opts); } export interface GetSimpleAdOutputArgs { diff --git a/sdk/nodejs/dms/getDataProvider.ts b/sdk/nodejs/dms/getDataProvider.ts index bd08ddd71b..32e16e0d66 100644 --- a/sdk/nodejs/dms/getDataProvider.ts +++ b/sdk/nodejs/dms/getDataProvider.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DMS::DataProvider */ export function getDataProvider(args: GetDataProviderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:dms:getDataProvider", { "dataProviderArn": args.dataProviderArn, @@ -59,7 +58,10 @@ export interface GetDataProviderResult { * Resource schema for AWS::DMS::DataProvider */ export function getDataProviderOutput(args: GetDataProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataProvider(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:dms:getDataProvider", { + "dataProviderArn": args.dataProviderArn, + }, opts); } export interface GetDataProviderOutputArgs { diff --git a/sdk/nodejs/dms/getInstanceProfile.ts b/sdk/nodejs/dms/getInstanceProfile.ts index 35c5c2b629..88121b74a0 100644 --- a/sdk/nodejs/dms/getInstanceProfile.ts +++ b/sdk/nodejs/dms/getInstanceProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DMS::InstanceProfile. */ export function getInstanceProfile(args: GetInstanceProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:dms:getInstanceProfile", { "instanceProfileArn": args.instanceProfileArn, @@ -75,7 +74,10 @@ export interface GetInstanceProfileResult { * Resource schema for AWS::DMS::InstanceProfile. */ export function getInstanceProfileOutput(args: GetInstanceProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInstanceProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:dms:getInstanceProfile", { + "instanceProfileArn": args.instanceProfileArn, + }, opts); } export interface GetInstanceProfileOutputArgs { diff --git a/sdk/nodejs/dms/getMigrationProject.ts b/sdk/nodejs/dms/getMigrationProject.ts index 66043ab751..e963f8e29b 100644 --- a/sdk/nodejs/dms/getMigrationProject.ts +++ b/sdk/nodejs/dms/getMigrationProject.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::DMS::MigrationProject */ export function getMigrationProject(args: GetMigrationProjectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:dms:getMigrationProject", { "migrationProjectArn": args.migrationProjectArn, @@ -75,7 +74,10 @@ export interface GetMigrationProjectResult { * Resource schema for AWS::DMS::MigrationProject */ export function getMigrationProjectOutput(args: GetMigrationProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMigrationProject(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:dms:getMigrationProject", { + "migrationProjectArn": args.migrationProjectArn, + }, opts); } export interface GetMigrationProjectOutputArgs { diff --git a/sdk/nodejs/dms/getReplicationConfig.ts b/sdk/nodejs/dms/getReplicationConfig.ts index 9656fa6aa8..89e6b3cb32 100644 --- a/sdk/nodejs/dms/getReplicationConfig.ts +++ b/sdk/nodejs/dms/getReplicationConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A replication configuration that you later provide to configure and start a AWS DMS Serverless replication */ export function getReplicationConfig(args: GetReplicationConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:dms:getReplicationConfig", { "replicationConfigArn": args.replicationConfigArn, @@ -77,7 +76,10 @@ export interface GetReplicationConfigResult { * A replication configuration that you later provide to configure and start a AWS DMS Serverless replication */ export function getReplicationConfigOutput(args: GetReplicationConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getReplicationConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:dms:getReplicationConfig", { + "replicationConfigArn": args.replicationConfigArn, + }, opts); } export interface GetReplicationConfigOutputArgs { diff --git a/sdk/nodejs/docdbelastic/getCluster.ts b/sdk/nodejs/docdbelastic/getCluster.ts index 1de3e3e2f1..97fabcc66a 100644 --- a/sdk/nodejs/docdbelastic/getCluster.ts +++ b/sdk/nodejs/docdbelastic/getCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::DocDBElastic::Cluster Amazon DocumentDB (with MongoDB compatibility) Elastic Scale resource describes a Cluster */ export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:docdbelastic:getCluster", { "clusterArn": args.clusterArn, @@ -77,7 +76,10 @@ export interface GetClusterResult { * The AWS::DocDBElastic::Cluster Amazon DocumentDB (with MongoDB compatibility) Elastic Scale resource describes a Cluster */ export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:docdbelastic:getCluster", { + "clusterArn": args.clusterArn, + }, opts); } export interface GetClusterOutputArgs { diff --git a/sdk/nodejs/dynamodb/getGlobalTable.ts b/sdk/nodejs/dynamodb/getGlobalTable.ts index 11add436e1..fea3d61832 100644 --- a/sdk/nodejs/dynamodb/getGlobalTable.ts +++ b/sdk/nodejs/dynamodb/getGlobalTable.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Version: None. Resource Type definition for AWS::DynamoDB::GlobalTable */ export function getGlobalTable(args: GetGlobalTableArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:dynamodb:getGlobalTable", { "tableName": args.tableName, @@ -96,7 +95,10 @@ export interface GetGlobalTableResult { * Version: None. Resource Type definition for AWS::DynamoDB::GlobalTable */ export function getGlobalTableOutput(args: GetGlobalTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGlobalTable(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:dynamodb:getGlobalTable", { + "tableName": args.tableName, + }, opts); } export interface GetGlobalTableOutputArgs { diff --git a/sdk/nodejs/dynamodb/getTable.ts b/sdk/nodejs/dynamodb/getTable.ts index fdd86c6ac8..b6903d92e1 100644 --- a/sdk/nodejs/dynamodb/getTable.ts +++ b/sdk/nodejs/dynamodb/getTable.ts @@ -15,7 +15,6 @@ import * as utilities from "../utilities"; * Our guidance is to use the latest schema documented here for your CFNlong templates. This schema supports the provisioning of all table settings below. When using this schema in your CFNlong templates, please ensure that your Identity and Access Management (IAM) policies are updated with appropriate permissions to allow for the authorization of these setting changes. */ export function getTable(args: GetTableArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:dynamodb:getTable", { "tableName": args.tableName, @@ -134,7 +133,10 @@ export interface GetTableResult { * Our guidance is to use the latest schema documented here for your CFNlong templates. This schema supports the provisioning of all table settings below. When using this schema in your CFNlong templates, please ensure that your Identity and Access Management (IAM) policies are updated with appropriate permissions to allow for the authorization of these setting changes. */ export function getTableOutput(args: GetTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTable(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:dynamodb:getTable", { + "tableName": args.tableName, + }, opts); } export interface GetTableOutputArgs { diff --git a/sdk/nodejs/ec2/getCapacityReservation.ts b/sdk/nodejs/ec2/getCapacityReservation.ts index bb88bfd714..15f5a8fc6e 100644 --- a/sdk/nodejs/ec2/getCapacityReservation.ts +++ b/sdk/nodejs/ec2/getCapacityReservation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::CapacityReservation */ export function getCapacityReservation(args: GetCapacityReservationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getCapacityReservation", { "id": args.id, @@ -70,7 +69,10 @@ export interface GetCapacityReservationResult { * Resource Type definition for AWS::EC2::CapacityReservation */ export function getCapacityReservationOutput(args: GetCapacityReservationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCapacityReservation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getCapacityReservation", { + "id": args.id, + }, opts); } export interface GetCapacityReservationOutputArgs { diff --git a/sdk/nodejs/ec2/getCapacityReservationFleet.ts b/sdk/nodejs/ec2/getCapacityReservationFleet.ts index 5921a280d2..73457473f0 100644 --- a/sdk/nodejs/ec2/getCapacityReservationFleet.ts +++ b/sdk/nodejs/ec2/getCapacityReservationFleet.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::CapacityReservationFleet */ export function getCapacityReservationFleet(args: GetCapacityReservationFleetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getCapacityReservationFleet", { "capacityReservationFleetId": args.capacityReservationFleetId, @@ -44,7 +43,10 @@ export interface GetCapacityReservationFleetResult { * Resource Type definition for AWS::EC2::CapacityReservationFleet */ export function getCapacityReservationFleetOutput(args: GetCapacityReservationFleetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCapacityReservationFleet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getCapacityReservationFleet", { + "capacityReservationFleetId": args.capacityReservationFleetId, + }, opts); } export interface GetCapacityReservationFleetOutputArgs { diff --git a/sdk/nodejs/ec2/getCarrierGateway.ts b/sdk/nodejs/ec2/getCarrierGateway.ts index 6530022216..4d4eac5ed7 100644 --- a/sdk/nodejs/ec2/getCarrierGateway.ts +++ b/sdk/nodejs/ec2/getCarrierGateway.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getCarrierGateway(args: GetCarrierGatewayArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getCarrierGateway", { "carrierGatewayId": args.carrierGatewayId, @@ -47,7 +46,10 @@ export interface GetCarrierGatewayResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getCarrierGatewayOutput(args: GetCarrierGatewayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCarrierGateway(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getCarrierGateway", { + "carrierGatewayId": args.carrierGatewayId, + }, opts); } export interface GetCarrierGatewayOutputArgs { diff --git a/sdk/nodejs/ec2/getCustomerGateway.ts b/sdk/nodejs/ec2/getCustomerGateway.ts index 2b1059246c..ddd25959d5 100644 --- a/sdk/nodejs/ec2/getCustomerGateway.ts +++ b/sdk/nodejs/ec2/getCustomerGateway.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Specifies a customer gateway. */ export function getCustomerGateway(args: GetCustomerGatewayArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getCustomerGateway", { "customerGatewayId": args.customerGatewayId, @@ -39,7 +38,10 @@ export interface GetCustomerGatewayResult { * Specifies a customer gateway. */ export function getCustomerGatewayOutput(args: GetCustomerGatewayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCustomerGateway(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getCustomerGateway", { + "customerGatewayId": args.customerGatewayId, + }, opts); } export interface GetCustomerGatewayOutputArgs { diff --git a/sdk/nodejs/ec2/getDhcpOptions.ts b/sdk/nodejs/ec2/getDhcpOptions.ts index fd1a5939b8..5619376f46 100644 --- a/sdk/nodejs/ec2/getDhcpOptions.ts +++ b/sdk/nodejs/ec2/getDhcpOptions.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::DHCPOptions */ export function getDhcpOptions(args: GetDhcpOptionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getDhcpOptions", { "dhcpOptionsId": args.dhcpOptionsId, @@ -39,7 +38,10 @@ export interface GetDhcpOptionsResult { * Resource Type definition for AWS::EC2::DHCPOptions */ export function getDhcpOptionsOutput(args: GetDhcpOptionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDhcpOptions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getDhcpOptions", { + "dhcpOptionsId": args.dhcpOptionsId, + }, opts); } export interface GetDhcpOptionsOutputArgs { diff --git a/sdk/nodejs/ec2/getEc2Fleet.ts b/sdk/nodejs/ec2/getEc2Fleet.ts index 3577b83775..746f657d18 100644 --- a/sdk/nodejs/ec2/getEc2Fleet.ts +++ b/sdk/nodejs/ec2/getEc2Fleet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::EC2Fleet */ export function getEc2Fleet(args: GetEc2FleetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getEc2Fleet", { "fleetId": args.fleetId, @@ -49,7 +48,10 @@ export interface GetEc2FleetResult { * Resource Type definition for AWS::EC2::EC2Fleet */ export function getEc2FleetOutput(args: GetEc2FleetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEc2Fleet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getEc2Fleet", { + "fleetId": args.fleetId, + }, opts); } export interface GetEc2FleetOutputArgs { diff --git a/sdk/nodejs/ec2/getEgressOnlyInternetGateway.ts b/sdk/nodejs/ec2/getEgressOnlyInternetGateway.ts index 584deb96bf..dd10ae3f60 100644 --- a/sdk/nodejs/ec2/getEgressOnlyInternetGateway.ts +++ b/sdk/nodejs/ec2/getEgressOnlyInternetGateway.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::EgressOnlyInternetGateway */ export function getEgressOnlyInternetGateway(args: GetEgressOnlyInternetGatewayArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getEgressOnlyInternetGateway", { "id": args.id, @@ -32,7 +31,10 @@ export interface GetEgressOnlyInternetGatewayResult { * Resource Type definition for AWS::EC2::EgressOnlyInternetGateway */ export function getEgressOnlyInternetGatewayOutput(args: GetEgressOnlyInternetGatewayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEgressOnlyInternetGateway(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getEgressOnlyInternetGateway", { + "id": args.id, + }, opts); } export interface GetEgressOnlyInternetGatewayOutputArgs { diff --git a/sdk/nodejs/ec2/getEip.ts b/sdk/nodejs/ec2/getEip.ts index a7b60030bb..0a413e4464 100644 --- a/sdk/nodejs/ec2/getEip.ts +++ b/sdk/nodejs/ec2/getEip.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * For more information, see [Elastic IP Addresses](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) in the *Amazon EC2 User Guide*. */ export function getEip(args: GetEipArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getEip", { "allocationId": args.allocationId, @@ -63,7 +62,11 @@ export interface GetEipResult { * For more information, see [Elastic IP Addresses](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html) in the *Amazon EC2 User Guide*. */ export function getEipOutput(args: GetEipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEip(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getEip", { + "allocationId": args.allocationId, + "publicIp": args.publicIp, + }, opts); } export interface GetEipOutputArgs { diff --git a/sdk/nodejs/ec2/getEipAssociation.ts b/sdk/nodejs/ec2/getEipAssociation.ts index e8ff135da3..fd01f928cd 100644 --- a/sdk/nodejs/ec2/getEipAssociation.ts +++ b/sdk/nodejs/ec2/getEipAssociation.ts @@ -9,7 +9,6 @@ import * as utilities from "../utilities"; * You must specify ``AllocationId`` and either ``InstanceId``, ``NetworkInterfaceId``, or ``PrivateIpAddress``. */ export function getEipAssociation(args: GetEipAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getEipAssociation", { "id": args.id, @@ -34,7 +33,10 @@ export interface GetEipAssociationResult { * You must specify ``AllocationId`` and either ``InstanceId``, ``NetworkInterfaceId``, or ``PrivateIpAddress``. */ export function getEipAssociationOutput(args: GetEipAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEipAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getEipAssociation", { + "id": args.id, + }, opts); } export interface GetEipAssociationOutputArgs { diff --git a/sdk/nodejs/ec2/getEnclaveCertificateIamRoleAssociation.ts b/sdk/nodejs/ec2/getEnclaveCertificateIamRoleAssociation.ts index 89dca6a1b4..9e36d9447a 100644 --- a/sdk/nodejs/ec2/getEnclaveCertificateIamRoleAssociation.ts +++ b/sdk/nodejs/ec2/getEnclaveCertificateIamRoleAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Associates an AWS Identity and Access Management (IAM) role with an AWS Certificate Manager (ACM) certificate. This association is based on Amazon Resource Names and it enables the certificate to be used by the ACM for Nitro Enclaves application inside an enclave. */ export function getEnclaveCertificateIamRoleAssociation(args: GetEnclaveCertificateIamRoleAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getEnclaveCertificateIamRoleAssociation", { "certificateArn": args.certificateArn, @@ -45,7 +44,11 @@ export interface GetEnclaveCertificateIamRoleAssociationResult { * Associates an AWS Identity and Access Management (IAM) role with an AWS Certificate Manager (ACM) certificate. This association is based on Amazon Resource Names and it enables the certificate to be used by the ACM for Nitro Enclaves application inside an enclave. */ export function getEnclaveCertificateIamRoleAssociationOutput(args: GetEnclaveCertificateIamRoleAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnclaveCertificateIamRoleAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getEnclaveCertificateIamRoleAssociation", { + "certificateArn": args.certificateArn, + "roleArn": args.roleArn, + }, opts); } export interface GetEnclaveCertificateIamRoleAssociationOutputArgs { diff --git a/sdk/nodejs/ec2/getFlowLog.ts b/sdk/nodejs/ec2/getFlowLog.ts index 43d9e3be71..32d17b7a78 100644 --- a/sdk/nodejs/ec2/getFlowLog.ts +++ b/sdk/nodejs/ec2/getFlowLog.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Specifies a VPC flow log, which enables you to capture IP traffic for a specific network interface, subnet, or VPC. */ export function getFlowLog(args: GetFlowLogArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getFlowLog", { "id": args.id, @@ -39,7 +38,10 @@ export interface GetFlowLogResult { * Specifies a VPC flow log, which enables you to capture IP traffic for a specific network interface, subnet, or VPC. */ export function getFlowLogOutput(args: GetFlowLogOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFlowLog(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getFlowLog", { + "id": args.id, + }, opts); } export interface GetFlowLogOutputArgs { diff --git a/sdk/nodejs/ec2/getGatewayRouteTableAssociation.ts b/sdk/nodejs/ec2/getGatewayRouteTableAssociation.ts index 884012ed2c..afc0f95b48 100644 --- a/sdk/nodejs/ec2/getGatewayRouteTableAssociation.ts +++ b/sdk/nodejs/ec2/getGatewayRouteTableAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Associates a gateway with a route table. The gateway and route table must be in the same VPC. This association causes the incoming traffic to the gateway to be routed according to the routes in the route table. */ export function getGatewayRouteTableAssociation(args: GetGatewayRouteTableAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getGatewayRouteTableAssociation", { "gatewayId": args.gatewayId, @@ -36,7 +35,10 @@ export interface GetGatewayRouteTableAssociationResult { * Associates a gateway with a route table. The gateway and route table must be in the same VPC. This association causes the incoming traffic to the gateway to be routed according to the routes in the route table. */ export function getGatewayRouteTableAssociationOutput(args: GetGatewayRouteTableAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGatewayRouteTableAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getGatewayRouteTableAssociation", { + "gatewayId": args.gatewayId, + }, opts); } export interface GetGatewayRouteTableAssociationOutputArgs { diff --git a/sdk/nodejs/ec2/getHost.ts b/sdk/nodejs/ec2/getHost.ts index 453f8f8319..bad64f417b 100644 --- a/sdk/nodejs/ec2/getHost.ts +++ b/sdk/nodejs/ec2/getHost.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::Host */ export function getHost(args: GetHostArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getHost", { "hostId": args.hostId, @@ -44,7 +43,10 @@ export interface GetHostResult { * Resource Type definition for AWS::EC2::Host */ export function getHostOutput(args: GetHostOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getHost(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getHost", { + "hostId": args.hostId, + }, opts); } export interface GetHostOutputArgs { diff --git a/sdk/nodejs/ec2/getInstance.ts b/sdk/nodejs/ec2/getInstance.ts index 0d3953460d..89ea0f692f 100644 --- a/sdk/nodejs/ec2/getInstance.ts +++ b/sdk/nodejs/ec2/getInstance.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::Instance */ export function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getInstance", { "instanceId": args.instanceId, @@ -139,7 +138,10 @@ export interface GetInstanceResult { * Resource Type definition for AWS::EC2::Instance */ export function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInstance(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getInstance", { + "instanceId": args.instanceId, + }, opts); } export interface GetInstanceOutputArgs { diff --git a/sdk/nodejs/ec2/getInstanceConnectEndpoint.ts b/sdk/nodejs/ec2/getInstanceConnectEndpoint.ts index f2a38436d1..c1d6ca752f 100644 --- a/sdk/nodejs/ec2/getInstanceConnectEndpoint.ts +++ b/sdk/nodejs/ec2/getInstanceConnectEndpoint.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::InstanceConnectEndpoint */ export function getInstanceConnectEndpoint(args: GetInstanceConnectEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getInstanceConnectEndpoint", { "id": args.id, @@ -39,7 +38,10 @@ export interface GetInstanceConnectEndpointResult { * Resource Type definition for AWS::EC2::InstanceConnectEndpoint */ export function getInstanceConnectEndpointOutput(args: GetInstanceConnectEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInstanceConnectEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getInstanceConnectEndpoint", { + "id": args.id, + }, opts); } export interface GetInstanceConnectEndpointOutputArgs { diff --git a/sdk/nodejs/ec2/getInternetGateway.ts b/sdk/nodejs/ec2/getInternetGateway.ts index 05af8cbf40..295cf2f336 100644 --- a/sdk/nodejs/ec2/getInternetGateway.ts +++ b/sdk/nodejs/ec2/getInternetGateway.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Allocates an internet gateway for use with a VPC. After creating the Internet gateway, you then attach it to a VPC. */ export function getInternetGateway(args: GetInternetGatewayArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getInternetGateway", { "internetGatewayId": args.internetGatewayId, @@ -39,7 +38,10 @@ export interface GetInternetGatewayResult { * Allocates an internet gateway for use with a VPC. After creating the Internet gateway, you then attach it to a VPC. */ export function getInternetGatewayOutput(args: GetInternetGatewayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInternetGateway(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getInternetGateway", { + "internetGatewayId": args.internetGatewayId, + }, opts); } export interface GetInternetGatewayOutputArgs { diff --git a/sdk/nodejs/ec2/getIpam.ts b/sdk/nodejs/ec2/getIpam.ts index 176f8fe3e0..d89577286a 100644 --- a/sdk/nodejs/ec2/getIpam.ts +++ b/sdk/nodejs/ec2/getIpam.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema of AWS::EC2::IPAM Type */ export function getIpam(args: GetIpamArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getIpam", { "ipamId": args.ipamId, @@ -83,7 +82,10 @@ export interface GetIpamResult { * Resource Schema of AWS::EC2::IPAM Type */ export function getIpamOutput(args: GetIpamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIpam(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getIpam", { + "ipamId": args.ipamId, + }, opts); } export interface GetIpamOutputArgs { diff --git a/sdk/nodejs/ec2/getIpamAllocation.ts b/sdk/nodejs/ec2/getIpamAllocation.ts index c01e4915ce..fd89ec5757 100644 --- a/sdk/nodejs/ec2/getIpamAllocation.ts +++ b/sdk/nodejs/ec2/getIpamAllocation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Schema of AWS::EC2::IPAMAllocation Type */ export function getIpamAllocation(args: GetIpamAllocationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getIpamAllocation", { "cidr": args.cidr, @@ -47,7 +46,12 @@ export interface GetIpamAllocationResult { * Resource Schema of AWS::EC2::IPAMAllocation Type */ export function getIpamAllocationOutput(args: GetIpamAllocationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIpamAllocation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getIpamAllocation", { + "cidr": args.cidr, + "ipamPoolAllocationId": args.ipamPoolAllocationId, + "ipamPoolId": args.ipamPoolId, + }, opts); } export interface GetIpamAllocationOutputArgs { diff --git a/sdk/nodejs/ec2/getIpamPool.ts b/sdk/nodejs/ec2/getIpamPool.ts index a5b34cb427..c918b4b188 100644 --- a/sdk/nodejs/ec2/getIpamPool.ts +++ b/sdk/nodejs/ec2/getIpamPool.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema of AWS::EC2::IPAMPool Type */ export function getIpamPool(args: GetIpamPoolArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getIpamPool", { "ipamPoolId": args.ipamPoolId, @@ -95,7 +94,10 @@ export interface GetIpamPoolResult { * Resource Schema of AWS::EC2::IPAMPool Type */ export function getIpamPoolOutput(args: GetIpamPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIpamPool(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getIpamPool", { + "ipamPoolId": args.ipamPoolId, + }, opts); } export interface GetIpamPoolOutputArgs { diff --git a/sdk/nodejs/ec2/getIpamPoolCidr.ts b/sdk/nodejs/ec2/getIpamPoolCidr.ts index a4af402e89..3e328040de 100644 --- a/sdk/nodejs/ec2/getIpamPoolCidr.ts +++ b/sdk/nodejs/ec2/getIpamPoolCidr.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Schema of AWS::EC2::IPAMPoolCidr Type */ export function getIpamPoolCidr(args: GetIpamPoolCidrArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getIpamPoolCidr", { "ipamPoolCidrId": args.ipamPoolCidrId, @@ -41,7 +40,11 @@ export interface GetIpamPoolCidrResult { * Resource Schema of AWS::EC2::IPAMPoolCidr Type */ export function getIpamPoolCidrOutput(args: GetIpamPoolCidrOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIpamPoolCidr(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getIpamPoolCidr", { + "ipamPoolCidrId": args.ipamPoolCidrId, + "ipamPoolId": args.ipamPoolId, + }, opts); } export interface GetIpamPoolCidrOutputArgs { diff --git a/sdk/nodejs/ec2/getIpamResourceDiscovery.ts b/sdk/nodejs/ec2/getIpamResourceDiscovery.ts index 7c02950d43..59e396dfc1 100644 --- a/sdk/nodejs/ec2/getIpamResourceDiscovery.ts +++ b/sdk/nodejs/ec2/getIpamResourceDiscovery.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema of AWS::EC2::IPAMResourceDiscovery Type */ export function getIpamResourceDiscovery(args: GetIpamResourceDiscoveryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getIpamResourceDiscovery", { "ipamResourceDiscoveryId": args.ipamResourceDiscoveryId, @@ -67,7 +66,10 @@ export interface GetIpamResourceDiscoveryResult { * Resource Schema of AWS::EC2::IPAMResourceDiscovery Type */ export function getIpamResourceDiscoveryOutput(args: GetIpamResourceDiscoveryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIpamResourceDiscovery(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getIpamResourceDiscovery", { + "ipamResourceDiscoveryId": args.ipamResourceDiscoveryId, + }, opts); } export interface GetIpamResourceDiscoveryOutputArgs { diff --git a/sdk/nodejs/ec2/getIpamResourceDiscoveryAssociation.ts b/sdk/nodejs/ec2/getIpamResourceDiscoveryAssociation.ts index f96095d9c7..04647a9919 100644 --- a/sdk/nodejs/ec2/getIpamResourceDiscoveryAssociation.ts +++ b/sdk/nodejs/ec2/getIpamResourceDiscoveryAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema of AWS::EC2::IPAMResourceDiscoveryAssociation Type */ export function getIpamResourceDiscoveryAssociation(args: GetIpamResourceDiscoveryAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getIpamResourceDiscoveryAssociation", { "ipamResourceDiscoveryAssociationId": args.ipamResourceDiscoveryAssociationId, @@ -67,7 +66,10 @@ export interface GetIpamResourceDiscoveryAssociationResult { * Resource Schema of AWS::EC2::IPAMResourceDiscoveryAssociation Type */ export function getIpamResourceDiscoveryAssociationOutput(args: GetIpamResourceDiscoveryAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIpamResourceDiscoveryAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getIpamResourceDiscoveryAssociation", { + "ipamResourceDiscoveryAssociationId": args.ipamResourceDiscoveryAssociationId, + }, opts); } export interface GetIpamResourceDiscoveryAssociationOutputArgs { diff --git a/sdk/nodejs/ec2/getIpamScope.ts b/sdk/nodejs/ec2/getIpamScope.ts index ab21850ffd..fa81a9c4b0 100644 --- a/sdk/nodejs/ec2/getIpamScope.ts +++ b/sdk/nodejs/ec2/getIpamScope.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema of AWS::EC2::IPAMScope Type */ export function getIpamScope(args: GetIpamScopeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getIpamScope", { "ipamScopeId": args.ipamScopeId, @@ -63,7 +62,10 @@ export interface GetIpamScopeResult { * Resource Schema of AWS::EC2::IPAMScope Type */ export function getIpamScopeOutput(args: GetIpamScopeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIpamScope(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getIpamScope", { + "ipamScopeId": args.ipamScopeId, + }, opts); } export interface GetIpamScopeOutputArgs { diff --git a/sdk/nodejs/ec2/getKeyPair.ts b/sdk/nodejs/ec2/getKeyPair.ts index 2a4f134403..cb2d408890 100644 --- a/sdk/nodejs/ec2/getKeyPair.ts +++ b/sdk/nodejs/ec2/getKeyPair.ts @@ -14,7 +14,6 @@ import * as utilities from "../utilities"; * When CFN deletes a key pair that was created or imported by a stack, it also deletes the parameter that was used to store the private key material in Parameter Store. */ export function getKeyPair(args: GetKeyPairArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getKeyPair", { "keyName": args.keyName, @@ -57,7 +56,10 @@ export interface GetKeyPairResult { * When CFN deletes a key pair that was created or imported by a stack, it also deletes the parameter that was used to store the private key material in Parameter Store. */ export function getKeyPairOutput(args: GetKeyPairOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getKeyPair(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getKeyPair", { + "keyName": args.keyName, + }, opts); } export interface GetKeyPairOutputArgs { diff --git a/sdk/nodejs/ec2/getLaunchTemplate.ts b/sdk/nodejs/ec2/getLaunchTemplate.ts index d2f73b476b..3d8ddca20b 100644 --- a/sdk/nodejs/ec2/getLaunchTemplate.ts +++ b/sdk/nodejs/ec2/getLaunchTemplate.ts @@ -14,7 +14,6 @@ import * as utilities from "../utilities"; * For more information, see [Launch an instance from a launch template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) in the *Amazon EC2 User Guide*. */ export function getLaunchTemplate(args: GetLaunchTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getLaunchTemplate", { "launchTemplateId": args.launchTemplateId, @@ -54,7 +53,10 @@ export interface GetLaunchTemplateResult { * For more information, see [Launch an instance from a launch template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) in the *Amazon EC2 User Guide*. */ export function getLaunchTemplateOutput(args: GetLaunchTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLaunchTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getLaunchTemplate", { + "launchTemplateId": args.launchTemplateId, + }, opts); } export interface GetLaunchTemplateOutputArgs { diff --git a/sdk/nodejs/ec2/getLocalGatewayRoute.ts b/sdk/nodejs/ec2/getLocalGatewayRoute.ts index f07cd63da9..6191288b25 100644 --- a/sdk/nodejs/ec2/getLocalGatewayRoute.ts +++ b/sdk/nodejs/ec2/getLocalGatewayRoute.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Describes a route for a local gateway route table. */ export function getLocalGatewayRoute(args: GetLocalGatewayRouteArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getLocalGatewayRoute", { "destinationCidrBlock": args.destinationCidrBlock, @@ -49,7 +48,11 @@ export interface GetLocalGatewayRouteResult { * Describes a route for a local gateway route table. */ export function getLocalGatewayRouteOutput(args: GetLocalGatewayRouteOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocalGatewayRoute(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getLocalGatewayRoute", { + "destinationCidrBlock": args.destinationCidrBlock, + "localGatewayRouteTableId": args.localGatewayRouteTableId, + }, opts); } export interface GetLocalGatewayRouteOutputArgs { diff --git a/sdk/nodejs/ec2/getLocalGatewayRouteTable.ts b/sdk/nodejs/ec2/getLocalGatewayRouteTable.ts index b8ad5dfd25..d43b9fbafb 100644 --- a/sdk/nodejs/ec2/getLocalGatewayRouteTable.ts +++ b/sdk/nodejs/ec2/getLocalGatewayRouteTable.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Describes a route table for a local gateway. */ export function getLocalGatewayRouteTable(args: GetLocalGatewayRouteTableArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getLocalGatewayRouteTable", { "localGatewayRouteTableId": args.localGatewayRouteTableId, @@ -55,7 +54,10 @@ export interface GetLocalGatewayRouteTableResult { * Describes a route table for a local gateway. */ export function getLocalGatewayRouteTableOutput(args: GetLocalGatewayRouteTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocalGatewayRouteTable(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getLocalGatewayRouteTable", { + "localGatewayRouteTableId": args.localGatewayRouteTableId, + }, opts); } export interface GetLocalGatewayRouteTableOutputArgs { diff --git a/sdk/nodejs/ec2/getLocalGatewayRouteTableVirtualInterfaceGroupAssociation.ts b/sdk/nodejs/ec2/getLocalGatewayRouteTableVirtualInterfaceGroupAssociation.ts index 6dd84f9984..31ed905a43 100644 --- a/sdk/nodejs/ec2/getLocalGatewayRouteTableVirtualInterfaceGroupAssociation.ts +++ b/sdk/nodejs/ec2/getLocalGatewayRouteTableVirtualInterfaceGroupAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Describes a local gateway route table virtual interface group association for a local gateway. */ export function getLocalGatewayRouteTableVirtualInterfaceGroupAssociation(args: GetLocalGatewayRouteTableVirtualInterfaceGroupAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getLocalGatewayRouteTableVirtualInterfaceGroupAssociation", { "localGatewayRouteTableVirtualInterfaceGroupAssociationId": args.localGatewayRouteTableVirtualInterfaceGroupAssociationId, @@ -55,7 +54,10 @@ export interface GetLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult * Describes a local gateway route table virtual interface group association for a local gateway. */ export function getLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput(args: GetLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocalGatewayRouteTableVirtualInterfaceGroupAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getLocalGatewayRouteTableVirtualInterfaceGroupAssociation", { + "localGatewayRouteTableVirtualInterfaceGroupAssociationId": args.localGatewayRouteTableVirtualInterfaceGroupAssociationId, + }, opts); } export interface GetLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutputArgs { diff --git a/sdk/nodejs/ec2/getLocalGatewayRouteTableVpcAssociation.ts b/sdk/nodejs/ec2/getLocalGatewayRouteTableVpcAssociation.ts index ffe815fb75..0e38008844 100644 --- a/sdk/nodejs/ec2/getLocalGatewayRouteTableVpcAssociation.ts +++ b/sdk/nodejs/ec2/getLocalGatewayRouteTableVpcAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Describes an association between a local gateway route table and a VPC. */ export function getLocalGatewayRouteTableVpcAssociation(args: GetLocalGatewayRouteTableVpcAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getLocalGatewayRouteTableVpcAssociation", { "localGatewayRouteTableVpcAssociationId": args.localGatewayRouteTableVpcAssociationId, @@ -47,7 +46,10 @@ export interface GetLocalGatewayRouteTableVpcAssociationResult { * Describes an association between a local gateway route table and a VPC. */ export function getLocalGatewayRouteTableVpcAssociationOutput(args: GetLocalGatewayRouteTableVpcAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocalGatewayRouteTableVpcAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getLocalGatewayRouteTableVpcAssociation", { + "localGatewayRouteTableVpcAssociationId": args.localGatewayRouteTableVpcAssociationId, + }, opts); } export interface GetLocalGatewayRouteTableVpcAssociationOutputArgs { diff --git a/sdk/nodejs/ec2/getNatGateway.ts b/sdk/nodejs/ec2/getNatGateway.ts index cd939100ef..ede73572ab 100644 --- a/sdk/nodejs/ec2/getNatGateway.ts +++ b/sdk/nodejs/ec2/getNatGateway.ts @@ -14,7 +14,6 @@ import * as utilities from "../utilities"; * When you associate an Elastic IP address or secondary Elastic IP address with a public NAT gateway, the network border group of the Elastic IP address must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. Otherwise, the NAT gateway fails to launch. You can see the network border group for the AZ by viewing the details of the subnet. Similarly, you can view the network border group for the Elastic IP address by viewing its details. For more information, see [Allocate an Elastic IP address](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip) in the *Amazon VPC User Guide*. */ export function getNatGateway(args: GetNatGatewayArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getNatGateway", { "natGatewayId": args.natGatewayId, @@ -59,7 +58,10 @@ export interface GetNatGatewayResult { * When you associate an Elastic IP address or secondary Elastic IP address with a public NAT gateway, the network border group of the Elastic IP address must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. Otherwise, the NAT gateway fails to launch. You can see the network border group for the AZ by viewing the details of the subnet. Similarly, you can view the network border group for the Elastic IP address by viewing its details. For more information, see [Allocate an Elastic IP address](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#allocate-eip) in the *Amazon VPC User Guide*. */ export function getNatGatewayOutput(args: GetNatGatewayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNatGateway(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getNatGateway", { + "natGatewayId": args.natGatewayId, + }, opts); } export interface GetNatGatewayOutputArgs { diff --git a/sdk/nodejs/ec2/getNetworkAcl.ts b/sdk/nodejs/ec2/getNetworkAcl.ts index a3da6cf2a8..0e3ade6b75 100644 --- a/sdk/nodejs/ec2/getNetworkAcl.ts +++ b/sdk/nodejs/ec2/getNetworkAcl.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Specifies a network ACL for your VPC. */ export function getNetworkAcl(args: GetNetworkAclArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getNetworkAcl", { "id": args.id, @@ -39,7 +38,10 @@ export interface GetNetworkAclResult { * Specifies a network ACL for your VPC. */ export function getNetworkAclOutput(args: GetNetworkAclOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworkAcl(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getNetworkAcl", { + "id": args.id, + }, opts); } export interface GetNetworkAclOutputArgs { diff --git a/sdk/nodejs/ec2/getNetworkInsightsAccessScope.ts b/sdk/nodejs/ec2/getNetworkInsightsAccessScope.ts index 77d6bd54b9..72f8f19570 100644 --- a/sdk/nodejs/ec2/getNetworkInsightsAccessScope.ts +++ b/sdk/nodejs/ec2/getNetworkInsightsAccessScope.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::EC2::NetworkInsightsAccessScope */ export function getNetworkInsightsAccessScope(args: GetNetworkInsightsAccessScopeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getNetworkInsightsAccessScope", { "networkInsightsAccessScopeId": args.networkInsightsAccessScopeId, @@ -51,7 +50,10 @@ export interface GetNetworkInsightsAccessScopeResult { * Resource schema for AWS::EC2::NetworkInsightsAccessScope */ export function getNetworkInsightsAccessScopeOutput(args: GetNetworkInsightsAccessScopeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworkInsightsAccessScope(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getNetworkInsightsAccessScope", { + "networkInsightsAccessScopeId": args.networkInsightsAccessScopeId, + }, opts); } export interface GetNetworkInsightsAccessScopeOutputArgs { diff --git a/sdk/nodejs/ec2/getNetworkInsightsAccessScopeAnalysis.ts b/sdk/nodejs/ec2/getNetworkInsightsAccessScopeAnalysis.ts index c2ebb25f9a..3e76161394 100644 --- a/sdk/nodejs/ec2/getNetworkInsightsAccessScopeAnalysis.ts +++ b/sdk/nodejs/ec2/getNetworkInsightsAccessScopeAnalysis.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::EC2::NetworkInsightsAccessScopeAnalysis */ export function getNetworkInsightsAccessScopeAnalysis(args: GetNetworkInsightsAccessScopeAnalysisArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getNetworkInsightsAccessScopeAnalysis", { "networkInsightsAccessScopeAnalysisId": args.networkInsightsAccessScopeAnalysisId, @@ -67,7 +66,10 @@ export interface GetNetworkInsightsAccessScopeAnalysisResult { * Resource schema for AWS::EC2::NetworkInsightsAccessScopeAnalysis */ export function getNetworkInsightsAccessScopeAnalysisOutput(args: GetNetworkInsightsAccessScopeAnalysisOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworkInsightsAccessScopeAnalysis(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getNetworkInsightsAccessScopeAnalysis", { + "networkInsightsAccessScopeAnalysisId": args.networkInsightsAccessScopeAnalysisId, + }, opts); } export interface GetNetworkInsightsAccessScopeAnalysisOutputArgs { diff --git a/sdk/nodejs/ec2/getNetworkInsightsAnalysis.ts b/sdk/nodejs/ec2/getNetworkInsightsAnalysis.ts index 761b48a5b6..d29c7be673 100644 --- a/sdk/nodejs/ec2/getNetworkInsightsAnalysis.ts +++ b/sdk/nodejs/ec2/getNetworkInsightsAnalysis.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::EC2::NetworkInsightsAnalysis */ export function getNetworkInsightsAnalysis(args: GetNetworkInsightsAnalysisArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getNetworkInsightsAnalysis", { "networkInsightsAnalysisId": args.networkInsightsAnalysisId, @@ -83,7 +82,10 @@ export interface GetNetworkInsightsAnalysisResult { * Resource schema for AWS::EC2::NetworkInsightsAnalysis */ export function getNetworkInsightsAnalysisOutput(args: GetNetworkInsightsAnalysisOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworkInsightsAnalysis(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getNetworkInsightsAnalysis", { + "networkInsightsAnalysisId": args.networkInsightsAnalysisId, + }, opts); } export interface GetNetworkInsightsAnalysisOutputArgs { diff --git a/sdk/nodejs/ec2/getNetworkInsightsPath.ts b/sdk/nodejs/ec2/getNetworkInsightsPath.ts index 3de328b10f..f8d54bc28a 100644 --- a/sdk/nodejs/ec2/getNetworkInsightsPath.ts +++ b/sdk/nodejs/ec2/getNetworkInsightsPath.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::EC2::NetworkInsightsPath */ export function getNetworkInsightsPath(args: GetNetworkInsightsPathArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getNetworkInsightsPath", { "networkInsightsPathId": args.networkInsightsPathId, @@ -55,7 +54,10 @@ export interface GetNetworkInsightsPathResult { * Resource schema for AWS::EC2::NetworkInsightsPath */ export function getNetworkInsightsPathOutput(args: GetNetworkInsightsPathOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworkInsightsPath(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getNetworkInsightsPath", { + "networkInsightsPathId": args.networkInsightsPathId, + }, opts); } export interface GetNetworkInsightsPathOutputArgs { diff --git a/sdk/nodejs/ec2/getNetworkInterface.ts b/sdk/nodejs/ec2/getNetworkInterface.ts index 905c803f9a..3d8770da1c 100644 --- a/sdk/nodejs/ec2/getNetworkInterface.ts +++ b/sdk/nodejs/ec2/getNetworkInterface.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::NetworkInterface resource creates network interface */ export function getNetworkInterface(args: GetNetworkInterfaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getNetworkInterface", { "id": args.id, @@ -107,7 +106,10 @@ export interface GetNetworkInterfaceResult { * The AWS::EC2::NetworkInterface resource creates network interface */ export function getNetworkInterfaceOutput(args: GetNetworkInterfaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworkInterface(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getNetworkInterface", { + "id": args.id, + }, opts); } export interface GetNetworkInterfaceOutputArgs { diff --git a/sdk/nodejs/ec2/getNetworkInterfaceAttachment.ts b/sdk/nodejs/ec2/getNetworkInterfaceAttachment.ts index b24e57bdad..4a1fea140b 100644 --- a/sdk/nodejs/ec2/getNetworkInterfaceAttachment.ts +++ b/sdk/nodejs/ec2/getNetworkInterfaceAttachment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Attaches an elastic network interface (ENI) to an Amazon EC2 instance. You can use this resource type to attach additional network interfaces to an instance without interruption. */ export function getNetworkInterfaceAttachment(args: GetNetworkInterfaceAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getNetworkInterfaceAttachment", { "attachmentId": args.attachmentId, @@ -43,7 +42,10 @@ export interface GetNetworkInterfaceAttachmentResult { * Attaches an elastic network interface (ENI) to an Amazon EC2 instance. You can use this resource type to attach additional network interfaces to an instance without interruption. */ export function getNetworkInterfaceAttachmentOutput(args: GetNetworkInterfaceAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworkInterfaceAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getNetworkInterfaceAttachment", { + "attachmentId": args.attachmentId, + }, opts); } export interface GetNetworkInterfaceAttachmentOutputArgs { diff --git a/sdk/nodejs/ec2/getPlacementGroup.ts b/sdk/nodejs/ec2/getPlacementGroup.ts index 5247eb41d5..e456720b84 100644 --- a/sdk/nodejs/ec2/getPlacementGroup.ts +++ b/sdk/nodejs/ec2/getPlacementGroup.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::PlacementGroup */ export function getPlacementGroup(args: GetPlacementGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getPlacementGroup", { "groupName": args.groupName, @@ -32,7 +31,10 @@ export interface GetPlacementGroupResult { * Resource Type definition for AWS::EC2::PlacementGroup */ export function getPlacementGroupOutput(args: GetPlacementGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPlacementGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getPlacementGroup", { + "groupName": args.groupName, + }, opts); } export interface GetPlacementGroupOutputArgs { diff --git a/sdk/nodejs/ec2/getPrefixList.ts b/sdk/nodejs/ec2/getPrefixList.ts index 5d7b316275..ad56225f36 100644 --- a/sdk/nodejs/ec2/getPrefixList.ts +++ b/sdk/nodejs/ec2/getPrefixList.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema of AWS::EC2::PrefixList Type */ export function getPrefixList(args: GetPrefixListArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getPrefixList", { "prefixListId": args.prefixListId, @@ -67,7 +66,10 @@ export interface GetPrefixListResult { * Resource schema of AWS::EC2::PrefixList Type */ export function getPrefixListOutput(args: GetPrefixListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPrefixList(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getPrefixList", { + "prefixListId": args.prefixListId, + }, opts); } export interface GetPrefixListOutputArgs { diff --git a/sdk/nodejs/ec2/getRoute.ts b/sdk/nodejs/ec2/getRoute.ts index ffda49c452..9d416be907 100644 --- a/sdk/nodejs/ec2/getRoute.ts +++ b/sdk/nodejs/ec2/getRoute.ts @@ -10,7 +10,6 @@ import * as utilities from "../utilities"; * If you create a route that references a transit gateway in the same template where you create the transit gateway, you must declare a dependency on the transit gateway attachment. The route table cannot use the transit gateway until it has successfully attached to the VPC. Add a [DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) in the ``AWS::EC2::Route`` resource to explicitly declare a dependency on the ``AWS::EC2::TransitGatewayAttachment`` resource. */ export function getRoute(args: GetRouteArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getRoute", { "cidrBlock": args.cidrBlock, @@ -86,7 +85,11 @@ export interface GetRouteResult { * If you create a route that references a transit gateway in the same template where you create the transit gateway, you must declare a dependency on the transit gateway attachment. The route table cannot use the transit gateway until it has successfully attached to the VPC. Add a [DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) in the ``AWS::EC2::Route`` resource to explicitly declare a dependency on the ``AWS::EC2::TransitGatewayAttachment`` resource. */ export function getRouteOutput(args: GetRouteOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRoute(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getRoute", { + "cidrBlock": args.cidrBlock, + "routeTableId": args.routeTableId, + }, opts); } export interface GetRouteOutputArgs { diff --git a/sdk/nodejs/ec2/getRouteTable.ts b/sdk/nodejs/ec2/getRouteTable.ts index 8f6d61558e..de00a82f1d 100644 --- a/sdk/nodejs/ec2/getRouteTable.ts +++ b/sdk/nodejs/ec2/getRouteTable.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * For more information, see [Route tables](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the *Amazon VPC User Guide*. */ export function getRouteTable(args: GetRouteTableArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getRouteTable", { "routeTableId": args.routeTableId, @@ -41,7 +40,10 @@ export interface GetRouteTableResult { * For more information, see [Route tables](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html) in the *Amazon VPC User Guide*. */ export function getRouteTableOutput(args: GetRouteTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRouteTable(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getRouteTable", { + "routeTableId": args.routeTableId, + }, opts); } export interface GetRouteTableOutputArgs { diff --git a/sdk/nodejs/ec2/getSecurityGroup.ts b/sdk/nodejs/ec2/getSecurityGroup.ts index fa31d6b584..a53881fb68 100644 --- a/sdk/nodejs/ec2/getSecurityGroup.ts +++ b/sdk/nodejs/ec2/getSecurityGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::SecurityGroup */ export function getSecurityGroup(args: GetSecurityGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getSecurityGroup", { "id": args.id, @@ -51,7 +50,10 @@ export interface GetSecurityGroupResult { * Resource Type definition for AWS::EC2::SecurityGroup */ export function getSecurityGroupOutput(args: GetSecurityGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSecurityGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getSecurityGroup", { + "id": args.id, + }, opts); } export interface GetSecurityGroupOutputArgs { diff --git a/sdk/nodejs/ec2/getSecurityGroupEgress.ts b/sdk/nodejs/ec2/getSecurityGroupEgress.ts index d4ce008f8a..3b934ce006 100644 --- a/sdk/nodejs/ec2/getSecurityGroupEgress.ts +++ b/sdk/nodejs/ec2/getSecurityGroupEgress.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * Rule changes are propagated to instances associated with the security group as quickly as possible. However, a small delay might occur. */ export function getSecurityGroupEgress(args: GetSecurityGroupEgressArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getSecurityGroupEgress", { "id": args.id, @@ -39,7 +38,10 @@ export interface GetSecurityGroupEgressResult { * Rule changes are propagated to instances associated with the security group as quickly as possible. However, a small delay might occur. */ export function getSecurityGroupEgressOutput(args: GetSecurityGroupEgressOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSecurityGroupEgress(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getSecurityGroupEgress", { + "id": args.id, + }, opts); } export interface GetSecurityGroupEgressOutputArgs { diff --git a/sdk/nodejs/ec2/getSecurityGroupIngress.ts b/sdk/nodejs/ec2/getSecurityGroupIngress.ts index bfb95d5267..6e69d7fe78 100644 --- a/sdk/nodejs/ec2/getSecurityGroupIngress.ts +++ b/sdk/nodejs/ec2/getSecurityGroupIngress.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::SecurityGroupIngress */ export function getSecurityGroupIngress(args: GetSecurityGroupIngressArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getSecurityGroupIngress", { "id": args.id, @@ -36,7 +35,10 @@ export interface GetSecurityGroupIngressResult { * Resource Type definition for AWS::EC2::SecurityGroupIngress */ export function getSecurityGroupIngressOutput(args: GetSecurityGroupIngressOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSecurityGroupIngress(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getSecurityGroupIngress", { + "id": args.id, + }, opts); } export interface GetSecurityGroupIngressOutputArgs { diff --git a/sdk/nodejs/ec2/getSnapshotBlockPublicAccess.ts b/sdk/nodejs/ec2/getSnapshotBlockPublicAccess.ts index cce8b8e016..a6545b6b96 100644 --- a/sdk/nodejs/ec2/getSnapshotBlockPublicAccess.ts +++ b/sdk/nodejs/ec2/getSnapshotBlockPublicAccess.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::SnapshotBlockPublicAccess */ export function getSnapshotBlockPublicAccess(args: GetSnapshotBlockPublicAccessArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getSnapshotBlockPublicAccess", { "accountId": args.accountId, @@ -39,7 +38,10 @@ export interface GetSnapshotBlockPublicAccessResult { * Resource Type definition for AWS::EC2::SnapshotBlockPublicAccess */ export function getSnapshotBlockPublicAccessOutput(args: GetSnapshotBlockPublicAccessOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSnapshotBlockPublicAccess(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getSnapshotBlockPublicAccess", { + "accountId": args.accountId, + }, opts); } export interface GetSnapshotBlockPublicAccessOutputArgs { diff --git a/sdk/nodejs/ec2/getSpotFleet.ts b/sdk/nodejs/ec2/getSpotFleet.ts index bc983d5666..ad7dae4dec 100644 --- a/sdk/nodejs/ec2/getSpotFleet.ts +++ b/sdk/nodejs/ec2/getSpotFleet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::SpotFleet */ export function getSpotFleet(args: GetSpotFleetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getSpotFleet", { "id": args.id, @@ -39,7 +38,10 @@ export interface GetSpotFleetResult { * Resource Type definition for AWS::EC2::SpotFleet */ export function getSpotFleetOutput(args: GetSpotFleetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSpotFleet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getSpotFleet", { + "id": args.id, + }, opts); } export interface GetSpotFleetOutputArgs { diff --git a/sdk/nodejs/ec2/getSubnet.ts b/sdk/nodejs/ec2/getSubnet.ts index eb07a03a55..1436a82b69 100644 --- a/sdk/nodejs/ec2/getSubnet.ts +++ b/sdk/nodejs/ec2/getSubnet.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * For more information, see [Subnets for your VPC](https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html) in the *Amazon VPC User Guide*. */ export function getSubnet(args: GetSubnetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getSubnet", { "subnetId": args.subnetId, @@ -79,7 +78,10 @@ export interface GetSubnetResult { * For more information, see [Subnets for your VPC](https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html) in the *Amazon VPC User Guide*. */ export function getSubnetOutput(args: GetSubnetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSubnet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getSubnet", { + "subnetId": args.subnetId, + }, opts); } export interface GetSubnetOutputArgs { diff --git a/sdk/nodejs/ec2/getSubnetCidrBlock.ts b/sdk/nodejs/ec2/getSubnetCidrBlock.ts index d8c0162753..3e0f51132f 100644 --- a/sdk/nodejs/ec2/getSubnetCidrBlock.ts +++ b/sdk/nodejs/ec2/getSubnetCidrBlock.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::SubnetCidrBlock resource creates association between subnet and IPv6 CIDR */ export function getSubnetCidrBlock(args: GetSubnetCidrBlockArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getSubnetCidrBlock", { "id": args.id, @@ -40,7 +39,10 @@ export interface GetSubnetCidrBlockResult { * The AWS::EC2::SubnetCidrBlock resource creates association between subnet and IPv6 CIDR */ export function getSubnetCidrBlockOutput(args: GetSubnetCidrBlockOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSubnetCidrBlock(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getSubnetCidrBlock", { + "id": args.id, + }, opts); } export interface GetSubnetCidrBlockOutputArgs { diff --git a/sdk/nodejs/ec2/getSubnetNetworkAclAssociation.ts b/sdk/nodejs/ec2/getSubnetNetworkAclAssociation.ts index 65254987ff..04512972fc 100644 --- a/sdk/nodejs/ec2/getSubnetNetworkAclAssociation.ts +++ b/sdk/nodejs/ec2/getSubnetNetworkAclAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::SubnetNetworkAclAssociation */ export function getSubnetNetworkAclAssociation(args: GetSubnetNetworkAclAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getSubnetNetworkAclAssociation", { "associationId": args.associationId, @@ -32,7 +31,10 @@ export interface GetSubnetNetworkAclAssociationResult { * Resource Type definition for AWS::EC2::SubnetNetworkAclAssociation */ export function getSubnetNetworkAclAssociationOutput(args: GetSubnetNetworkAclAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSubnetNetworkAclAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getSubnetNetworkAclAssociation", { + "associationId": args.associationId, + }, opts); } export interface GetSubnetNetworkAclAssociationOutputArgs { diff --git a/sdk/nodejs/ec2/getSubnetRouteTableAssociation.ts b/sdk/nodejs/ec2/getSubnetRouteTableAssociation.ts index a70fbf0e70..716c06c8e7 100644 --- a/sdk/nodejs/ec2/getSubnetRouteTableAssociation.ts +++ b/sdk/nodejs/ec2/getSubnetRouteTableAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. A route table can be associated with multiple subnets. To create a route table, see [AWS::EC2::RouteTable](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routetable.html). */ export function getSubnetRouteTableAssociation(args: GetSubnetRouteTableAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getSubnetRouteTableAssociation", { "id": args.id, @@ -32,7 +31,10 @@ export interface GetSubnetRouteTableAssociationResult { * Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. A route table can be associated with multiple subnets. To create a route table, see [AWS::EC2::RouteTable](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routetable.html). */ export function getSubnetRouteTableAssociationOutput(args: GetSubnetRouteTableAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSubnetRouteTableAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getSubnetRouteTableAssociation", { + "id": args.id, + }, opts); } export interface GetSubnetRouteTableAssociationOutputArgs { diff --git a/sdk/nodejs/ec2/getTransitGateway.ts b/sdk/nodejs/ec2/getTransitGateway.ts index cbf162f0d4..ef939ded33 100644 --- a/sdk/nodejs/ec2/getTransitGateway.ts +++ b/sdk/nodejs/ec2/getTransitGateway.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::TransitGateway */ export function getTransitGateway(args: GetTransitGatewayArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getTransitGateway", { "id": args.id, @@ -82,7 +81,10 @@ export interface GetTransitGatewayResult { * Resource Type definition for AWS::EC2::TransitGateway */ export function getTransitGatewayOutput(args: GetTransitGatewayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGateway(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getTransitGateway", { + "id": args.id, + }, opts); } export interface GetTransitGatewayOutputArgs { diff --git a/sdk/nodejs/ec2/getTransitGatewayAttachment.ts b/sdk/nodejs/ec2/getTransitGatewayAttachment.ts index 4970dcf8ca..8cab31f89c 100644 --- a/sdk/nodejs/ec2/getTransitGatewayAttachment.ts +++ b/sdk/nodejs/ec2/getTransitGatewayAttachment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::TransitGatewayAttachment */ export function getTransitGatewayAttachment(args: GetTransitGatewayAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getTransitGatewayAttachment", { "id": args.id, @@ -47,7 +46,10 @@ export interface GetTransitGatewayAttachmentResult { * Resource Type definition for AWS::EC2::TransitGatewayAttachment */ export function getTransitGatewayAttachmentOutput(args: GetTransitGatewayAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGatewayAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getTransitGatewayAttachment", { + "id": args.id, + }, opts); } export interface GetTransitGatewayAttachmentOutputArgs { diff --git a/sdk/nodejs/ec2/getTransitGatewayConnect.ts b/sdk/nodejs/ec2/getTransitGatewayConnect.ts index dceb1874a2..6a93ccc264 100644 --- a/sdk/nodejs/ec2/getTransitGatewayConnect.ts +++ b/sdk/nodejs/ec2/getTransitGatewayConnect.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::TransitGatewayConnect type */ export function getTransitGatewayConnect(args: GetTransitGatewayConnectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getTransitGatewayConnect", { "transitGatewayAttachmentId": args.transitGatewayAttachmentId, @@ -51,7 +50,10 @@ export interface GetTransitGatewayConnectResult { * The AWS::EC2::TransitGatewayConnect type */ export function getTransitGatewayConnectOutput(args: GetTransitGatewayConnectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGatewayConnect(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getTransitGatewayConnect", { + "transitGatewayAttachmentId": args.transitGatewayAttachmentId, + }, opts); } export interface GetTransitGatewayConnectOutputArgs { diff --git a/sdk/nodejs/ec2/getTransitGatewayMulticastDomain.ts b/sdk/nodejs/ec2/getTransitGatewayMulticastDomain.ts index b534806f8b..c58bca06b8 100644 --- a/sdk/nodejs/ec2/getTransitGatewayMulticastDomain.ts +++ b/sdk/nodejs/ec2/getTransitGatewayMulticastDomain.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::TransitGatewayMulticastDomain type */ export function getTransitGatewayMulticastDomain(args: GetTransitGatewayMulticastDomainArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getTransitGatewayMulticastDomain", { "transitGatewayMulticastDomainId": args.transitGatewayMulticastDomainId, @@ -55,7 +54,10 @@ export interface GetTransitGatewayMulticastDomainResult { * The AWS::EC2::TransitGatewayMulticastDomain type */ export function getTransitGatewayMulticastDomainOutput(args: GetTransitGatewayMulticastDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGatewayMulticastDomain(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getTransitGatewayMulticastDomain", { + "transitGatewayMulticastDomainId": args.transitGatewayMulticastDomainId, + }, opts); } export interface GetTransitGatewayMulticastDomainOutputArgs { diff --git a/sdk/nodejs/ec2/getTransitGatewayMulticastDomainAssociation.ts b/sdk/nodejs/ec2/getTransitGatewayMulticastDomainAssociation.ts index fd48be6c98..254ae4cf60 100644 --- a/sdk/nodejs/ec2/getTransitGatewayMulticastDomainAssociation.ts +++ b/sdk/nodejs/ec2/getTransitGatewayMulticastDomainAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::TransitGatewayMulticastDomainAssociation type */ export function getTransitGatewayMulticastDomainAssociation(args: GetTransitGatewayMulticastDomainAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getTransitGatewayMulticastDomainAssociation", { "subnetId": args.subnetId, @@ -50,7 +49,12 @@ export interface GetTransitGatewayMulticastDomainAssociationResult { * The AWS::EC2::TransitGatewayMulticastDomainAssociation type */ export function getTransitGatewayMulticastDomainAssociationOutput(args: GetTransitGatewayMulticastDomainAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGatewayMulticastDomainAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getTransitGatewayMulticastDomainAssociation", { + "subnetId": args.subnetId, + "transitGatewayAttachmentId": args.transitGatewayAttachmentId, + "transitGatewayMulticastDomainId": args.transitGatewayMulticastDomainId, + }, opts); } export interface GetTransitGatewayMulticastDomainAssociationOutputArgs { diff --git a/sdk/nodejs/ec2/getTransitGatewayMulticastGroupMember.ts b/sdk/nodejs/ec2/getTransitGatewayMulticastGroupMember.ts index 9c3d5752da..32b6fe244d 100644 --- a/sdk/nodejs/ec2/getTransitGatewayMulticastGroupMember.ts +++ b/sdk/nodejs/ec2/getTransitGatewayMulticastGroupMember.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::TransitGatewayMulticastGroupMember registers and deregisters members and sources (network interfaces) with the transit gateway multicast group */ export function getTransitGatewayMulticastGroupMember(args: GetTransitGatewayMulticastGroupMemberArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getTransitGatewayMulticastGroupMember", { "groupIpAddress": args.groupIpAddress, @@ -66,7 +65,12 @@ export interface GetTransitGatewayMulticastGroupMemberResult { * The AWS::EC2::TransitGatewayMulticastGroupMember registers and deregisters members and sources (network interfaces) with the transit gateway multicast group */ export function getTransitGatewayMulticastGroupMemberOutput(args: GetTransitGatewayMulticastGroupMemberOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGatewayMulticastGroupMember(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getTransitGatewayMulticastGroupMember", { + "groupIpAddress": args.groupIpAddress, + "networkInterfaceId": args.networkInterfaceId, + "transitGatewayMulticastDomainId": args.transitGatewayMulticastDomainId, + }, opts); } export interface GetTransitGatewayMulticastGroupMemberOutputArgs { diff --git a/sdk/nodejs/ec2/getTransitGatewayMulticastGroupSource.ts b/sdk/nodejs/ec2/getTransitGatewayMulticastGroupSource.ts index 602247a500..5d4ccc762a 100644 --- a/sdk/nodejs/ec2/getTransitGatewayMulticastGroupSource.ts +++ b/sdk/nodejs/ec2/getTransitGatewayMulticastGroupSource.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::TransitGatewayMulticastGroupSource registers and deregisters members and sources (network interfaces) with the transit gateway multicast group */ export function getTransitGatewayMulticastGroupSource(args: GetTransitGatewayMulticastGroupSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getTransitGatewayMulticastGroupSource", { "groupIpAddress": args.groupIpAddress, @@ -66,7 +65,12 @@ export interface GetTransitGatewayMulticastGroupSourceResult { * The AWS::EC2::TransitGatewayMulticastGroupSource registers and deregisters members and sources (network interfaces) with the transit gateway multicast group */ export function getTransitGatewayMulticastGroupSourceOutput(args: GetTransitGatewayMulticastGroupSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGatewayMulticastGroupSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getTransitGatewayMulticastGroupSource", { + "groupIpAddress": args.groupIpAddress, + "networkInterfaceId": args.networkInterfaceId, + "transitGatewayMulticastDomainId": args.transitGatewayMulticastDomainId, + }, opts); } export interface GetTransitGatewayMulticastGroupSourceOutputArgs { diff --git a/sdk/nodejs/ec2/getTransitGatewayPeeringAttachment.ts b/sdk/nodejs/ec2/getTransitGatewayPeeringAttachment.ts index 3fb438e47c..cdc8e7bff3 100644 --- a/sdk/nodejs/ec2/getTransitGatewayPeeringAttachment.ts +++ b/sdk/nodejs/ec2/getTransitGatewayPeeringAttachment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::TransitGatewayPeeringAttachment type */ export function getTransitGatewayPeeringAttachment(args: GetTransitGatewayPeeringAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getTransitGatewayPeeringAttachment", { "transitGatewayAttachmentId": args.transitGatewayAttachmentId, @@ -51,7 +50,10 @@ export interface GetTransitGatewayPeeringAttachmentResult { * The AWS::EC2::TransitGatewayPeeringAttachment type */ export function getTransitGatewayPeeringAttachmentOutput(args: GetTransitGatewayPeeringAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGatewayPeeringAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getTransitGatewayPeeringAttachment", { + "transitGatewayAttachmentId": args.transitGatewayAttachmentId, + }, opts); } export interface GetTransitGatewayPeeringAttachmentOutputArgs { diff --git a/sdk/nodejs/ec2/getTransitGatewayRouteTable.ts b/sdk/nodejs/ec2/getTransitGatewayRouteTable.ts index f128d5508c..80d4fabed6 100644 --- a/sdk/nodejs/ec2/getTransitGatewayRouteTable.ts +++ b/sdk/nodejs/ec2/getTransitGatewayRouteTable.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::TransitGatewayRouteTable */ export function getTransitGatewayRouteTable(args: GetTransitGatewayRouteTableArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getTransitGatewayRouteTable", { "transitGatewayRouteTableId": args.transitGatewayRouteTableId, @@ -39,7 +38,10 @@ export interface GetTransitGatewayRouteTableResult { * Resource Type definition for AWS::EC2::TransitGatewayRouteTable */ export function getTransitGatewayRouteTableOutput(args: GetTransitGatewayRouteTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGatewayRouteTable(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getTransitGatewayRouteTable", { + "transitGatewayRouteTableId": args.transitGatewayRouteTableId, + }, opts); } export interface GetTransitGatewayRouteTableOutputArgs { diff --git a/sdk/nodejs/ec2/getTransitGatewayVpcAttachment.ts b/sdk/nodejs/ec2/getTransitGatewayVpcAttachment.ts index 77c617ef88..51a39bde24 100644 --- a/sdk/nodejs/ec2/getTransitGatewayVpcAttachment.ts +++ b/sdk/nodejs/ec2/getTransitGatewayVpcAttachment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::TransitGatewayVpcAttachment */ export function getTransitGatewayVpcAttachment(args: GetTransitGatewayVpcAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getTransitGatewayVpcAttachment", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetTransitGatewayVpcAttachmentResult { * Resource Type definition for AWS::EC2::TransitGatewayVpcAttachment */ export function getTransitGatewayVpcAttachmentOutput(args: GetTransitGatewayVpcAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGatewayVpcAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getTransitGatewayVpcAttachment", { + "id": args.id, + }, opts); } export interface GetTransitGatewayVpcAttachmentOutputArgs { diff --git a/sdk/nodejs/ec2/getVerifiedAccessEndpoint.ts b/sdk/nodejs/ec2/getVerifiedAccessEndpoint.ts index 0b5f69a733..2d8f5221d8 100644 --- a/sdk/nodejs/ec2/getVerifiedAccessEndpoint.ts +++ b/sdk/nodejs/ec2/getVerifiedAccessEndpoint.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::VerifiedAccessEndpoint resource creates an AWS EC2 Verified Access Endpoint. */ export function getVerifiedAccessEndpoint(args: GetVerifiedAccessEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVerifiedAccessEndpoint", { "verifiedAccessEndpointId": args.verifiedAccessEndpointId, @@ -91,7 +90,10 @@ export interface GetVerifiedAccessEndpointResult { * The AWS::EC2::VerifiedAccessEndpoint resource creates an AWS EC2 Verified Access Endpoint. */ export function getVerifiedAccessEndpointOutput(args: GetVerifiedAccessEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVerifiedAccessEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVerifiedAccessEndpoint", { + "verifiedAccessEndpointId": args.verifiedAccessEndpointId, + }, opts); } export interface GetVerifiedAccessEndpointOutputArgs { diff --git a/sdk/nodejs/ec2/getVerifiedAccessGroup.ts b/sdk/nodejs/ec2/getVerifiedAccessGroup.ts index 335366e8dd..4d216ecc2f 100644 --- a/sdk/nodejs/ec2/getVerifiedAccessGroup.ts +++ b/sdk/nodejs/ec2/getVerifiedAccessGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::VerifiedAccessGroup resource creates an AWS EC2 Verified Access Group. */ export function getVerifiedAccessGroup(args: GetVerifiedAccessGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVerifiedAccessGroup", { "verifiedAccessGroupId": args.verifiedAccessGroupId, @@ -75,7 +74,10 @@ export interface GetVerifiedAccessGroupResult { * The AWS::EC2::VerifiedAccessGroup resource creates an AWS EC2 Verified Access Group. */ export function getVerifiedAccessGroupOutput(args: GetVerifiedAccessGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVerifiedAccessGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVerifiedAccessGroup", { + "verifiedAccessGroupId": args.verifiedAccessGroupId, + }, opts); } export interface GetVerifiedAccessGroupOutputArgs { diff --git a/sdk/nodejs/ec2/getVerifiedAccessInstance.ts b/sdk/nodejs/ec2/getVerifiedAccessInstance.ts index 8b83589853..ee4c51375d 100644 --- a/sdk/nodejs/ec2/getVerifiedAccessInstance.ts +++ b/sdk/nodejs/ec2/getVerifiedAccessInstance.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::VerifiedAccessInstance resource creates an AWS EC2 Verified Access Instance. */ export function getVerifiedAccessInstance(args: GetVerifiedAccessInstanceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVerifiedAccessInstance", { "verifiedAccessInstanceId": args.verifiedAccessInstanceId, @@ -67,7 +66,10 @@ export interface GetVerifiedAccessInstanceResult { * The AWS::EC2::VerifiedAccessInstance resource creates an AWS EC2 Verified Access Instance. */ export function getVerifiedAccessInstanceOutput(args: GetVerifiedAccessInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVerifiedAccessInstance(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVerifiedAccessInstance", { + "verifiedAccessInstanceId": args.verifiedAccessInstanceId, + }, opts); } export interface GetVerifiedAccessInstanceOutputArgs { diff --git a/sdk/nodejs/ec2/getVerifiedAccessTrustProvider.ts b/sdk/nodejs/ec2/getVerifiedAccessTrustProvider.ts index 1532d20b81..5122d77b0c 100644 --- a/sdk/nodejs/ec2/getVerifiedAccessTrustProvider.ts +++ b/sdk/nodejs/ec2/getVerifiedAccessTrustProvider.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::EC2::VerifiedAccessTrustProvider type describes a verified access trust provider */ export function getVerifiedAccessTrustProvider(args: GetVerifiedAccessTrustProviderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVerifiedAccessTrustProvider", { "verifiedAccessTrustProviderId": args.verifiedAccessTrustProviderId, @@ -59,7 +58,10 @@ export interface GetVerifiedAccessTrustProviderResult { * The AWS::EC2::VerifiedAccessTrustProvider type describes a verified access trust provider */ export function getVerifiedAccessTrustProviderOutput(args: GetVerifiedAccessTrustProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVerifiedAccessTrustProvider(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVerifiedAccessTrustProvider", { + "verifiedAccessTrustProviderId": args.verifiedAccessTrustProviderId, + }, opts); } export interface GetVerifiedAccessTrustProviderOutputArgs { diff --git a/sdk/nodejs/ec2/getVolume.ts b/sdk/nodejs/ec2/getVolume.ts index 1265eecde4..0beb39256e 100644 --- a/sdk/nodejs/ec2/getVolume.ts +++ b/sdk/nodejs/ec2/getVolume.ts @@ -28,7 +28,6 @@ import * as utilities from "../utilities"; * > If you set a deletion policy that creates a snapshot, all tags on the volume are included in the snapshot. */ export function getVolume(args: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVolume", { "volumeId": args.volumeId, @@ -148,7 +147,10 @@ export interface GetVolumeResult { * > If you set a deletion policy that creates a snapshot, all tags on the volume are included in the snapshot. */ export function getVolumeOutput(args: GetVolumeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVolume(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVolume", { + "volumeId": args.volumeId, + }, opts); } export interface GetVolumeOutputArgs { diff --git a/sdk/nodejs/ec2/getVpc.ts b/sdk/nodejs/ec2/getVpc.ts index be94bce43b..d4c6360b74 100644 --- a/sdk/nodejs/ec2/getVpc.ts +++ b/sdk/nodejs/ec2/getVpc.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * For more information, see [Virtual private clouds (VPC)](https://docs.aws.amazon.com/vpc/latest/userguide/configure-your-vpc.html) in the *Amazon VPC User Guide*. */ export function getVpc(args: GetVpcArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVpc", { "vpcId": args.vpcId, @@ -76,7 +75,10 @@ export interface GetVpcResult { * For more information, see [Virtual private clouds (VPC)](https://docs.aws.amazon.com/vpc/latest/userguide/configure-your-vpc.html) in the *Amazon VPC User Guide*. */ export function getVpcOutput(args: GetVpcOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpc(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVpc", { + "vpcId": args.vpcId, + }, opts); } export interface GetVpcOutputArgs { diff --git a/sdk/nodejs/ec2/getVpcCidrBlock.ts b/sdk/nodejs/ec2/getVpcCidrBlock.ts index dcd6524d7f..ca0fa4b088 100644 --- a/sdk/nodejs/ec2/getVpcCidrBlock.ts +++ b/sdk/nodejs/ec2/getVpcCidrBlock.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::VPCCidrBlock */ export function getVpcCidrBlock(args: GetVpcCidrBlockArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVpcCidrBlock", { "id": args.id, @@ -45,7 +44,11 @@ export interface GetVpcCidrBlockResult { * Resource Type definition for AWS::EC2::VPCCidrBlock */ export function getVpcCidrBlockOutput(args: GetVpcCidrBlockOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcCidrBlock(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVpcCidrBlock", { + "id": args.id, + "vpcId": args.vpcId, + }, opts); } export interface GetVpcCidrBlockOutputArgs { diff --git a/sdk/nodejs/ec2/getVpcEndpoint.ts b/sdk/nodejs/ec2/getVpcEndpoint.ts index fbe2851602..7a672677f5 100644 --- a/sdk/nodejs/ec2/getVpcEndpoint.ts +++ b/sdk/nodejs/ec2/getVpcEndpoint.ts @@ -14,7 +14,6 @@ import * as utilities from "../utilities"; * An endpoint of type `GatewayLoadBalancer` provides private connectivity between your VPC and virtual appliances from a service provider. */ export function getVpcEndpoint(args: GetVpcEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVpcEndpoint", { "id": args.id, @@ -88,7 +87,10 @@ export interface GetVpcEndpointResult { * An endpoint of type `GatewayLoadBalancer` provides private connectivity between your VPC and virtual appliances from a service provider. */ export function getVpcEndpointOutput(args: GetVpcEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVpcEndpoint", { + "id": args.id, + }, opts); } export interface GetVpcEndpointOutputArgs { diff --git a/sdk/nodejs/ec2/getVpcEndpointConnectionNotification.ts b/sdk/nodejs/ec2/getVpcEndpointConnectionNotification.ts index c14f04c2af..280bdab2bf 100644 --- a/sdk/nodejs/ec2/getVpcEndpointConnectionNotification.ts +++ b/sdk/nodejs/ec2/getVpcEndpointConnectionNotification.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::VPCEndpointConnectionNotification */ export function getVpcEndpointConnectionNotification(args: GetVpcEndpointConnectionNotificationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVpcEndpointConnectionNotification", { "vpcEndpointConnectionNotificationId": args.vpcEndpointConnectionNotificationId, @@ -40,7 +39,10 @@ export interface GetVpcEndpointConnectionNotificationResult { * Resource Type definition for AWS::EC2::VPCEndpointConnectionNotification */ export function getVpcEndpointConnectionNotificationOutput(args: GetVpcEndpointConnectionNotificationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcEndpointConnectionNotification(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVpcEndpointConnectionNotification", { + "vpcEndpointConnectionNotificationId": args.vpcEndpointConnectionNotificationId, + }, opts); } export interface GetVpcEndpointConnectionNotificationOutputArgs { diff --git a/sdk/nodejs/ec2/getVpcEndpointService.ts b/sdk/nodejs/ec2/getVpcEndpointService.ts index 7ce776941d..ce2c2b3b2d 100644 --- a/sdk/nodejs/ec2/getVpcEndpointService.ts +++ b/sdk/nodejs/ec2/getVpcEndpointService.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::VPCEndpointService */ export function getVpcEndpointService(args: GetVpcEndpointServiceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVpcEndpointService", { "serviceId": args.serviceId, @@ -48,7 +47,10 @@ export interface GetVpcEndpointServiceResult { * Resource Type definition for AWS::EC2::VPCEndpointService */ export function getVpcEndpointServiceOutput(args: GetVpcEndpointServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcEndpointService(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVpcEndpointService", { + "serviceId": args.serviceId, + }, opts); } export interface GetVpcEndpointServiceOutputArgs { diff --git a/sdk/nodejs/ec2/getVpcEndpointServicePermissions.ts b/sdk/nodejs/ec2/getVpcEndpointServicePermissions.ts index e4d030a3b5..9a32e1be31 100644 --- a/sdk/nodejs/ec2/getVpcEndpointServicePermissions.ts +++ b/sdk/nodejs/ec2/getVpcEndpointServicePermissions.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::VPCEndpointServicePermissions */ export function getVpcEndpointServicePermissions(args: GetVpcEndpointServicePermissionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVpcEndpointServicePermissions", { "serviceId": args.serviceId, @@ -32,7 +31,10 @@ export interface GetVpcEndpointServicePermissionsResult { * Resource Type definition for AWS::EC2::VPCEndpointServicePermissions */ export function getVpcEndpointServicePermissionsOutput(args: GetVpcEndpointServicePermissionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcEndpointServicePermissions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVpcEndpointServicePermissions", { + "serviceId": args.serviceId, + }, opts); } export interface GetVpcEndpointServicePermissionsOutputArgs { diff --git a/sdk/nodejs/ec2/getVpcGatewayAttachment.ts b/sdk/nodejs/ec2/getVpcGatewayAttachment.ts index e0c0b299a1..13095ff2f1 100644 --- a/sdk/nodejs/ec2/getVpcGatewayAttachment.ts +++ b/sdk/nodejs/ec2/getVpcGatewayAttachment.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::VPCGatewayAttachment */ export function getVpcGatewayAttachment(args: GetVpcGatewayAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVpcGatewayAttachment", { "attachmentType": args.attachmentType, @@ -45,7 +44,11 @@ export interface GetVpcGatewayAttachmentResult { * Resource Type definition for AWS::EC2::VPCGatewayAttachment */ export function getVpcGatewayAttachmentOutput(args: GetVpcGatewayAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcGatewayAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVpcGatewayAttachment", { + "attachmentType": args.attachmentType, + "vpcId": args.vpcId, + }, opts); } export interface GetVpcGatewayAttachmentOutputArgs { diff --git a/sdk/nodejs/ec2/getVpcPeeringConnection.ts b/sdk/nodejs/ec2/getVpcPeeringConnection.ts index 8862c38cbe..b2313e5c5d 100644 --- a/sdk/nodejs/ec2/getVpcPeeringConnection.ts +++ b/sdk/nodejs/ec2/getVpcPeeringConnection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EC2::VPCPeeringConnection */ export function getVpcPeeringConnection(args: GetVpcPeeringConnectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVpcPeeringConnection", { "id": args.id, @@ -39,7 +38,10 @@ export interface GetVpcPeeringConnectionResult { * Resource Type definition for AWS::EC2::VPCPeeringConnection */ export function getVpcPeeringConnectionOutput(args: GetVpcPeeringConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcPeeringConnection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVpcPeeringConnection", { + "id": args.id, + }, opts); } export interface GetVpcPeeringConnectionOutputArgs { diff --git a/sdk/nodejs/ec2/getVpnConnection.ts b/sdk/nodejs/ec2/getVpnConnection.ts index 8c44278f9a..d8fa9df268 100644 --- a/sdk/nodejs/ec2/getVpnConnection.ts +++ b/sdk/nodejs/ec2/getVpnConnection.ts @@ -14,7 +14,6 @@ import * as utilities from "../utilities"; * For more information, see [](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the *User Guide*. */ export function getVpnConnection(args: GetVpnConnectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVpnConnection", { "vpnConnectionId": args.vpnConnectionId, @@ -45,7 +44,10 @@ export interface GetVpnConnectionResult { * For more information, see [](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the *User Guide*. */ export function getVpnConnectionOutput(args: GetVpnConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpnConnection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVpnConnection", { + "vpnConnectionId": args.vpnConnectionId, + }, opts); } export interface GetVpnConnectionOutputArgs { diff --git a/sdk/nodejs/ec2/getVpnGateway.ts b/sdk/nodejs/ec2/getVpnGateway.ts index 3143a083b3..926e2bb0b0 100644 --- a/sdk/nodejs/ec2/getVpnGateway.ts +++ b/sdk/nodejs/ec2/getVpnGateway.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * For more information, see [](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the *User Guide*. */ export function getVpnGateway(args: GetVpnGatewayArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ec2:getVpnGateway", { "vpnGatewayId": args.vpnGatewayId, @@ -41,7 +40,10 @@ export interface GetVpnGatewayResult { * For more information, see [](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html) in the *User Guide*. */ export function getVpnGatewayOutput(args: GetVpnGatewayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpnGateway(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ec2:getVpnGateway", { + "vpnGatewayId": args.vpnGatewayId, + }, opts); } export interface GetVpnGatewayOutputArgs { diff --git a/sdk/nodejs/ecr/getRegistryPolicy.ts b/sdk/nodejs/ecr/getRegistryPolicy.ts index 14afbc3a00..55705cb048 100644 --- a/sdk/nodejs/ecr/getRegistryPolicy.ts +++ b/sdk/nodejs/ecr/getRegistryPolicy.ts @@ -9,7 +9,6 @@ import * as utilities from "../utilities"; * A private registry policy is used to specify permissions for another AWS-account and is used when configuring cross-account replication. For more information, see [Registry permissions](https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html) in the *Amazon Elastic Container Registry User Guide*. */ export function getRegistryPolicy(args: GetRegistryPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ecr:getRegistryPolicy", { "registryId": args.registryId, @@ -40,7 +39,10 @@ export interface GetRegistryPolicyResult { * A private registry policy is used to specify permissions for another AWS-account and is used when configuring cross-account replication. For more information, see [Registry permissions](https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html) in the *Amazon Elastic Container Registry User Guide*. */ export function getRegistryPolicyOutput(args: GetRegistryPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRegistryPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ecr:getRegistryPolicy", { + "registryId": args.registryId, + }, opts); } export interface GetRegistryPolicyOutputArgs { diff --git a/sdk/nodejs/ecr/getReplicationConfiguration.ts b/sdk/nodejs/ecr/getReplicationConfiguration.ts index 1a42c5ff79..52f24dd518 100644 --- a/sdk/nodejs/ecr/getReplicationConfiguration.ts +++ b/sdk/nodejs/ecr/getReplicationConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::ECR::ReplicationConfiguration resource configures the replication destinations for an Amazon Elastic Container Registry (Amazon Private ECR). For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/replication.html */ export function getReplicationConfiguration(args: GetReplicationConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ecr:getReplicationConfiguration", { "registryId": args.registryId, @@ -39,7 +38,10 @@ export interface GetReplicationConfigurationResult { * The AWS::ECR::ReplicationConfiguration resource configures the replication destinations for an Amazon Elastic Container Registry (Amazon Private ECR). For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/replication.html */ export function getReplicationConfigurationOutput(args: GetReplicationConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getReplicationConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ecr:getReplicationConfiguration", { + "registryId": args.registryId, + }, opts); } export interface GetReplicationConfigurationOutputArgs { diff --git a/sdk/nodejs/ecr/getRepository.ts b/sdk/nodejs/ecr/getRepository.ts index abeac8b543..95f0f23d86 100644 --- a/sdk/nodejs/ecr/getRepository.ts +++ b/sdk/nodejs/ecr/getRepository.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::ECR::Repository`` resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR private repositories](https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the *Amazon ECR User Guide*. */ export function getRepository(args: GetRepositoryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ecr:getRepository", { "repositoryName": args.repositoryName, @@ -63,7 +62,10 @@ export interface GetRepositoryResult { * The ``AWS::ECR::Repository`` resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR private repositories](https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the *Amazon ECR User Guide*. */ export function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRepository(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ecr:getRepository", { + "repositoryName": args.repositoryName, + }, opts); } export interface GetRepositoryOutputArgs { diff --git a/sdk/nodejs/ecr/getRepositoryCreationTemplate.ts b/sdk/nodejs/ecr/getRepositoryCreationTemplate.ts index 7cab44143c..408ee3bb94 100644 --- a/sdk/nodejs/ecr/getRepositoryCreationTemplate.ts +++ b/sdk/nodejs/ecr/getRepositoryCreationTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::ECR::RepositoryCreationTemplate is used to create repository with configuration from a pre-defined template. */ export function getRepositoryCreationTemplate(args: GetRepositoryCreationTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ecr:getRepositoryCreationTemplate", { "prefix": args.prefix, @@ -71,7 +70,10 @@ export interface GetRepositoryCreationTemplateResult { * AWS::ECR::RepositoryCreationTemplate is used to create repository with configuration from a pre-defined template. */ export function getRepositoryCreationTemplateOutput(args: GetRepositoryCreationTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRepositoryCreationTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ecr:getRepositoryCreationTemplate", { + "prefix": args.prefix, + }, opts); } export interface GetRepositoryCreationTemplateOutputArgs { diff --git a/sdk/nodejs/ecs/getCapacityProvider.ts b/sdk/nodejs/ecs/getCapacityProvider.ts index f81e2a4000..002215683a 100644 --- a/sdk/nodejs/ecs/getCapacityProvider.ts +++ b/sdk/nodejs/ecs/getCapacityProvider.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ECS::CapacityProvider. */ export function getCapacityProvider(args: GetCapacityProviderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ecs:getCapacityProvider", { "name": args.name, @@ -49,7 +48,10 @@ export interface GetCapacityProviderResult { * Resource Type definition for AWS::ECS::CapacityProvider. */ export function getCapacityProviderOutput(args: GetCapacityProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCapacityProvider(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ecs:getCapacityProvider", { + "name": args.name, + }, opts); } export interface GetCapacityProviderOutputArgs { diff --git a/sdk/nodejs/ecs/getCluster.ts b/sdk/nodejs/ecs/getCluster.ts index ced85bb0fe..6b7ede0d2b 100644 --- a/sdk/nodejs/ecs/getCluster.ts +++ b/sdk/nodejs/ecs/getCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::ECS::Cluster`` resource creates an Amazon Elastic Container Service (Amazon ECS) cluster. */ export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ecs:getCluster", { "clusterName": args.clusterName, @@ -66,7 +65,10 @@ export interface GetClusterResult { * The ``AWS::ECS::Cluster`` resource creates an Amazon Elastic Container Service (Amazon ECS) cluster. */ export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ecs:getCluster", { + "clusterName": args.clusterName, + }, opts); } export interface GetClusterOutputArgs { diff --git a/sdk/nodejs/ecs/getClusterCapacityProviderAssociations.ts b/sdk/nodejs/ecs/getClusterCapacityProviderAssociations.ts index df9a09e7fc..eaa33448f5 100644 --- a/sdk/nodejs/ecs/getClusterCapacityProviderAssociations.ts +++ b/sdk/nodejs/ecs/getClusterCapacityProviderAssociations.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Associate a set of ECS Capacity Providers with a specified ECS Cluster */ export function getClusterCapacityProviderAssociations(args: GetClusterCapacityProviderAssociationsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ecs:getClusterCapacityProviderAssociations", { "cluster": args.cluster, @@ -39,7 +38,10 @@ export interface GetClusterCapacityProviderAssociationsResult { * Associate a set of ECS Capacity Providers with a specified ECS Cluster */ export function getClusterCapacityProviderAssociationsOutput(args: GetClusterCapacityProviderAssociationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClusterCapacityProviderAssociations(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ecs:getClusterCapacityProviderAssociations", { + "cluster": args.cluster, + }, opts); } export interface GetClusterCapacityProviderAssociationsOutputArgs { diff --git a/sdk/nodejs/ecs/getPrimaryTaskSet.ts b/sdk/nodejs/ecs/getPrimaryTaskSet.ts index 02a5567380..407fbcee94 100644 --- a/sdk/nodejs/ecs/getPrimaryTaskSet.ts +++ b/sdk/nodejs/ecs/getPrimaryTaskSet.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * A pseudo-resource that manages which of your ECS task sets is primary. */ export function getPrimaryTaskSet(args: GetPrimaryTaskSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ecs:getPrimaryTaskSet", { "cluster": args.cluster, @@ -37,7 +36,11 @@ export interface GetPrimaryTaskSetResult { * A pseudo-resource that manages which of your ECS task sets is primary. */ export function getPrimaryTaskSetOutput(args: GetPrimaryTaskSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPrimaryTaskSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ecs:getPrimaryTaskSet", { + "cluster": args.cluster, + "service": args.service, + }, opts); } export interface GetPrimaryTaskSetOutputArgs { diff --git a/sdk/nodejs/ecs/getService.ts b/sdk/nodejs/ecs/getService.ts index ad9212179f..a253446a14 100644 --- a/sdk/nodejs/ecs/getService.ts +++ b/sdk/nodejs/ecs/getService.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * Starting April 15, 2023, AWS; will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, ECS, or EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service. */ export function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ecs:getService", { "cluster": args.cluster, @@ -128,7 +127,11 @@ export interface GetServiceResult { * Starting April 15, 2023, AWS; will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, ECS, or EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service. */ export function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getService(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ecs:getService", { + "cluster": args.cluster, + "serviceArn": args.serviceArn, + }, opts); } export interface GetServiceOutputArgs { diff --git a/sdk/nodejs/ecs/getTaskDefinition.ts b/sdk/nodejs/ecs/getTaskDefinition.ts index 728932e17d..385e00ee39 100644 --- a/sdk/nodejs/ecs/getTaskDefinition.ts +++ b/sdk/nodejs/ecs/getTaskDefinition.ts @@ -15,7 +15,6 @@ import * as utilities from "../utilities"; * You only need to learn how to sign HTTP requests if you intend to create them manually. When you use the [](https://docs.aws.amazon.com/cli/) or one of the [SDKs](https://docs.aws.amazon.com/tools/) to make requests to AWS, these tools automatically sign the requests for you, with the access key that you specify when you configure the tools. When you use these tools, you don't have to sign requests yourself. */ export function getTaskDefinition(args: GetTaskDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ecs:getTaskDefinition", { "taskDefinitionArn": args.taskDefinitionArn, @@ -55,7 +54,10 @@ export interface GetTaskDefinitionResult { * You only need to learn how to sign HTTP requests if you intend to create them manually. When you use the [](https://docs.aws.amazon.com/cli/) or one of the [SDKs](https://docs.aws.amazon.com/tools/) to make requests to AWS, these tools automatically sign the requests for you, with the access key that you specify when you configure the tools. When you use these tools, you don't have to sign requests yourself. */ export function getTaskDefinitionOutput(args: GetTaskDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTaskDefinition(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ecs:getTaskDefinition", { + "taskDefinitionArn": args.taskDefinitionArn, + }, opts); } export interface GetTaskDefinitionOutputArgs { diff --git a/sdk/nodejs/ecs/getTaskSet.ts b/sdk/nodejs/ecs/getTaskSet.ts index f2e367ec40..9a9b82953b 100644 --- a/sdk/nodejs/ecs/getTaskSet.ts +++ b/sdk/nodejs/ecs/getTaskSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Create a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.htmlin the Amazon Elastic Container Service Developer Guide. */ export function getTaskSet(args: GetTaskSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ecs:getTaskSet", { "cluster": args.cluster, @@ -63,7 +62,12 @@ export interface GetTaskSetResult { * Create a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.htmlin the Amazon Elastic Container Service Developer Guide. */ export function getTaskSetOutput(args: GetTaskSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTaskSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ecs:getTaskSet", { + "cluster": args.cluster, + "id": args.id, + "service": args.service, + }, opts); } export interface GetTaskSetOutputArgs { diff --git a/sdk/nodejs/efs/getAccessPoint.ts b/sdk/nodejs/efs/getAccessPoint.ts index 9894a5feb3..43c1718c27 100644 --- a/sdk/nodejs/efs/getAccessPoint.ts +++ b/sdk/nodejs/efs/getAccessPoint.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * This operation requires permissions for the ``elasticfilesystem:CreateAccessPoint`` action. */ export function getAccessPoint(args: GetAccessPointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:efs:getAccessPoint", { "accessPointId": args.accessPointId, @@ -46,7 +45,10 @@ export interface GetAccessPointResult { * This operation requires permissions for the ``elasticfilesystem:CreateAccessPoint`` action. */ export function getAccessPointOutput(args: GetAccessPointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessPoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:efs:getAccessPoint", { + "accessPointId": args.accessPointId, + }, opts); } export interface GetAccessPointOutputArgs { diff --git a/sdk/nodejs/efs/getFileSystem.ts b/sdk/nodejs/efs/getFileSystem.ts index b97a051a3e..9e5712bf9e 100644 --- a/sdk/nodejs/efs/getFileSystem.ts +++ b/sdk/nodejs/efs/getFileSystem.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::EFS::FileSystem`` resource creates a new, empty file system in EFSlong (EFS). You must create a mount target ([AWS::EFS::MountTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html)) to mount your EFS file system on an EC2 or other AWS cloud compute resource. */ export function getFileSystem(args: GetFileSystemArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:efs:getFileSystem", { "fileSystemId": args.fileSystemId, @@ -81,7 +80,10 @@ export interface GetFileSystemResult { * The ``AWS::EFS::FileSystem`` resource creates a new, empty file system in EFSlong (EFS). You must create a mount target ([AWS::EFS::MountTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html)) to mount your EFS file system on an EC2 or other AWS cloud compute resource. */ export function getFileSystemOutput(args: GetFileSystemOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFileSystem(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:efs:getFileSystem", { + "fileSystemId": args.fileSystemId, + }, opts); } export interface GetFileSystemOutputArgs { diff --git a/sdk/nodejs/efs/getMountTarget.ts b/sdk/nodejs/efs/getMountTarget.ts index 978374061c..dd6c07a5e0 100644 --- a/sdk/nodejs/efs/getMountTarget.ts +++ b/sdk/nodejs/efs/getMountTarget.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::EFS::MountTarget`` resource is an Amazon EFS resource that creates a mount target for an EFS file system. You can then mount the file system on Amazon EC2 instances or other resources by using the mount target. */ export function getMountTarget(args: GetMountTargetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:efs:getMountTarget", { "id": args.id, @@ -40,7 +39,10 @@ export interface GetMountTargetResult { * The ``AWS::EFS::MountTarget`` resource is an Amazon EFS resource that creates a mount target for an EFS file system. You can then mount the file system on Amazon EC2 instances or other resources by using the mount target. */ export function getMountTargetOutput(args: GetMountTargetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMountTarget(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:efs:getMountTarget", { + "id": args.id, + }, opts); } export interface GetMountTargetOutputArgs { diff --git a/sdk/nodejs/eks/getAccessEntry.ts b/sdk/nodejs/eks/getAccessEntry.ts index da8fadf454..c07a71591b 100644 --- a/sdk/nodejs/eks/getAccessEntry.ts +++ b/sdk/nodejs/eks/getAccessEntry.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An object representing an Amazon EKS AccessEntry. */ export function getAccessEntry(args: GetAccessEntryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:eks:getAccessEntry", { "clusterName": args.clusterName, @@ -56,7 +55,11 @@ export interface GetAccessEntryResult { * An object representing an Amazon EKS AccessEntry. */ export function getAccessEntryOutput(args: GetAccessEntryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessEntry(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:eks:getAccessEntry", { + "clusterName": args.clusterName, + "principalArn": args.principalArn, + }, opts); } export interface GetAccessEntryOutputArgs { diff --git a/sdk/nodejs/eks/getAddon.ts b/sdk/nodejs/eks/getAddon.ts index 69fe5a0aa9..a243d1666d 100644 --- a/sdk/nodejs/eks/getAddon.ts +++ b/sdk/nodejs/eks/getAddon.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema for AWS::EKS::Addon */ export function getAddon(args: GetAddonArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:eks:getAddon", { "addonName": args.addonName, @@ -56,7 +55,11 @@ export interface GetAddonResult { * Resource Schema for AWS::EKS::Addon */ export function getAddonOutput(args: GetAddonOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAddon(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:eks:getAddon", { + "addonName": args.addonName, + "clusterName": args.clusterName, + }, opts); } export interface GetAddonOutputArgs { diff --git a/sdk/nodejs/eks/getCluster.ts b/sdk/nodejs/eks/getCluster.ts index 36dbec7729..d979bf4a62 100644 --- a/sdk/nodejs/eks/getCluster.ts +++ b/sdk/nodejs/eks/getCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An object representing an Amazon EKS cluster. */ export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:eks:getCluster", { "name": args.name, @@ -86,7 +85,10 @@ export interface GetClusterResult { * An object representing an Amazon EKS cluster. */ export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:eks:getCluster", { + "name": args.name, + }, opts); } export interface GetClusterOutputArgs { diff --git a/sdk/nodejs/eks/getFargateProfile.ts b/sdk/nodejs/eks/getFargateProfile.ts index b4c8c8208f..7d97bbeeee 100644 --- a/sdk/nodejs/eks/getFargateProfile.ts +++ b/sdk/nodejs/eks/getFargateProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema for AWS::EKS::FargateProfile */ export function getFargateProfile(args: GetFargateProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:eks:getFargateProfile", { "clusterName": args.clusterName, @@ -44,7 +43,11 @@ export interface GetFargateProfileResult { * Resource Schema for AWS::EKS::FargateProfile */ export function getFargateProfileOutput(args: GetFargateProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFargateProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:eks:getFargateProfile", { + "clusterName": args.clusterName, + "fargateProfileName": args.fargateProfileName, + }, opts); } export interface GetFargateProfileOutputArgs { diff --git a/sdk/nodejs/eks/getIdentityProviderConfig.ts b/sdk/nodejs/eks/getIdentityProviderConfig.ts index d007961fe9..99a2f89e20 100644 --- a/sdk/nodejs/eks/getIdentityProviderConfig.ts +++ b/sdk/nodejs/eks/getIdentityProviderConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An object representing an Amazon EKS IdentityProviderConfig. */ export function getIdentityProviderConfig(args: GetIdentityProviderConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:eks:getIdentityProviderConfig", { "clusterName": args.clusterName, @@ -49,7 +48,12 @@ export interface GetIdentityProviderConfigResult { * An object representing an Amazon EKS IdentityProviderConfig. */ export function getIdentityProviderConfigOutput(args: GetIdentityProviderConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIdentityProviderConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:eks:getIdentityProviderConfig", { + "clusterName": args.clusterName, + "identityProviderConfigName": args.identityProviderConfigName, + "type": args.type, + }, opts); } export interface GetIdentityProviderConfigOutputArgs { diff --git a/sdk/nodejs/eks/getNodegroup.ts b/sdk/nodejs/eks/getNodegroup.ts index 4ee629cbd9..b95441f5f6 100644 --- a/sdk/nodejs/eks/getNodegroup.ts +++ b/sdk/nodejs/eks/getNodegroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::EKS::Nodegroup */ export function getNodegroup(args: GetNodegroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:eks:getNodegroup", { "id": args.id, @@ -65,7 +64,10 @@ export interface GetNodegroupResult { * Resource schema for AWS::EKS::Nodegroup */ export function getNodegroupOutput(args: GetNodegroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNodegroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:eks:getNodegroup", { + "id": args.id, + }, opts); } export interface GetNodegroupOutputArgs { diff --git a/sdk/nodejs/eks/getPodIdentityAssociation.ts b/sdk/nodejs/eks/getPodIdentityAssociation.ts index d456fbd1c8..93f7c640a8 100644 --- a/sdk/nodejs/eks/getPodIdentityAssociation.ts +++ b/sdk/nodejs/eks/getPodIdentityAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An object representing an Amazon EKS PodIdentityAssociation. */ export function getPodIdentityAssociation(args: GetPodIdentityAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:eks:getPodIdentityAssociation", { "associationArn": args.associationArn, @@ -47,7 +46,10 @@ export interface GetPodIdentityAssociationResult { * An object representing an Amazon EKS PodIdentityAssociation. */ export function getPodIdentityAssociationOutput(args: GetPodIdentityAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPodIdentityAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:eks:getPodIdentityAssociation", { + "associationArn": args.associationArn, + }, opts); } export interface GetPodIdentityAssociationOutputArgs { diff --git a/sdk/nodejs/elasticache/getGlobalReplicationGroup.ts b/sdk/nodejs/elasticache/getGlobalReplicationGroup.ts index d784ba7796..a23bd48e77 100644 --- a/sdk/nodejs/elasticache/getGlobalReplicationGroup.ts +++ b/sdk/nodejs/elasticache/getGlobalReplicationGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::ElastiCache::GlobalReplicationGroup resource creates an Amazon ElastiCache Global Replication Group. */ export function getGlobalReplicationGroup(args: GetGlobalReplicationGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticache:getGlobalReplicationGroup", { "globalReplicationGroupId": args.globalReplicationGroupId, @@ -51,7 +50,10 @@ export interface GetGlobalReplicationGroupResult { * The AWS::ElastiCache::GlobalReplicationGroup resource creates an Amazon ElastiCache Global Replication Group. */ export function getGlobalReplicationGroupOutput(args: GetGlobalReplicationGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGlobalReplicationGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticache:getGlobalReplicationGroup", { + "globalReplicationGroupId": args.globalReplicationGroupId, + }, opts); } export interface GetGlobalReplicationGroupOutputArgs { diff --git a/sdk/nodejs/elasticache/getParameterGroup.ts b/sdk/nodejs/elasticache/getParameterGroup.ts index d0b50caaae..62c618e469 100644 --- a/sdk/nodejs/elasticache/getParameterGroup.ts +++ b/sdk/nodejs/elasticache/getParameterGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ElastiCache::ParameterGroup */ export function getParameterGroup(args: GetParameterGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticache:getParameterGroup", { "cacheParameterGroupName": args.cacheParameterGroupName, @@ -47,7 +46,10 @@ export interface GetParameterGroupResult { * Resource Type definition for AWS::ElastiCache::ParameterGroup */ export function getParameterGroupOutput(args: GetParameterGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getParameterGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticache:getParameterGroup", { + "cacheParameterGroupName": args.cacheParameterGroupName, + }, opts); } export interface GetParameterGroupOutputArgs { diff --git a/sdk/nodejs/elasticache/getServerlessCache.ts b/sdk/nodejs/elasticache/getServerlessCache.ts index 0650b8b81c..3432bc9442 100644 --- a/sdk/nodejs/elasticache/getServerlessCache.ts +++ b/sdk/nodejs/elasticache/getServerlessCache.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::ElastiCache::ServerlessCache resource creates an Amazon ElastiCache Serverless Cache. */ export function getServerlessCache(args: GetServerlessCacheArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticache:getServerlessCache", { "serverlessCacheName": args.serverlessCacheName, @@ -83,7 +82,10 @@ export interface GetServerlessCacheResult { * The AWS::ElastiCache::ServerlessCache resource creates an Amazon ElastiCache Serverless Cache. */ export function getServerlessCacheOutput(args: GetServerlessCacheOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServerlessCache(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticache:getServerlessCache", { + "serverlessCacheName": args.serverlessCacheName, + }, opts); } export interface GetServerlessCacheOutputArgs { diff --git a/sdk/nodejs/elasticache/getSubnetGroup.ts b/sdk/nodejs/elasticache/getSubnetGroup.ts index 332f64d546..db18af4329 100644 --- a/sdk/nodejs/elasticache/getSubnetGroup.ts +++ b/sdk/nodejs/elasticache/getSubnetGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ElastiCache::SubnetGroup */ export function getSubnetGroup(args: GetSubnetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticache:getSubnetGroup", { "cacheSubnetGroupName": args.cacheSubnetGroupName, @@ -43,7 +42,10 @@ export interface GetSubnetGroupResult { * Resource Type definition for AWS::ElastiCache::SubnetGroup */ export function getSubnetGroupOutput(args: GetSubnetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSubnetGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticache:getSubnetGroup", { + "cacheSubnetGroupName": args.cacheSubnetGroupName, + }, opts); } export interface GetSubnetGroupOutputArgs { diff --git a/sdk/nodejs/elasticache/getUser.ts b/sdk/nodejs/elasticache/getUser.ts index 5ce8cb0538..aa76d3a037 100644 --- a/sdk/nodejs/elasticache/getUser.ts +++ b/sdk/nodejs/elasticache/getUser.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ElastiCache::User */ export function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticache:getUser", { "userId": args.userId, @@ -43,7 +42,10 @@ export interface GetUserResult { * Resource Type definition for AWS::ElastiCache::User */ export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUser(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticache:getUser", { + "userId": args.userId, + }, opts); } export interface GetUserOutputArgs { diff --git a/sdk/nodejs/elasticache/getUserGroup.ts b/sdk/nodejs/elasticache/getUserGroup.ts index 10ad792e3f..6439546301 100644 --- a/sdk/nodejs/elasticache/getUserGroup.ts +++ b/sdk/nodejs/elasticache/getUserGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ElastiCache::UserGroup */ export function getUserGroup(args: GetUserGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticache:getUserGroup", { "userGroupId": args.userGroupId, @@ -47,7 +46,10 @@ export interface GetUserGroupResult { * Resource Type definition for AWS::ElastiCache::UserGroup */ export function getUserGroupOutput(args: GetUserGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticache:getUserGroup", { + "userGroupId": args.userGroupId, + }, opts); } export interface GetUserGroupOutputArgs { diff --git a/sdk/nodejs/elasticbeanstalk/getApplication.ts b/sdk/nodejs/elasticbeanstalk/getApplication.ts index d7c6950645..89e7155f40 100644 --- a/sdk/nodejs/elasticbeanstalk/getApplication.ts +++ b/sdk/nodejs/elasticbeanstalk/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::ElasticBeanstalk::Application resource specifies an Elastic Beanstalk application. */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticbeanstalk:getApplication", { "applicationName": args.applicationName, @@ -39,7 +38,10 @@ export interface GetApplicationResult { * The AWS::ElasticBeanstalk::Application resource specifies an Elastic Beanstalk application. */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticbeanstalk:getApplication", { + "applicationName": args.applicationName, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/elasticbeanstalk/getApplicationVersion.ts b/sdk/nodejs/elasticbeanstalk/getApplicationVersion.ts index fbd156195f..454d37d8fe 100644 --- a/sdk/nodejs/elasticbeanstalk/getApplicationVersion.ts +++ b/sdk/nodejs/elasticbeanstalk/getApplicationVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ElasticBeanstalk::ApplicationVersion */ export function getApplicationVersion(args: GetApplicationVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticbeanstalk:getApplicationVersion", { "applicationName": args.applicationName, @@ -35,7 +34,11 @@ export interface GetApplicationVersionResult { * Resource Type definition for AWS::ElasticBeanstalk::ApplicationVersion */ export function getApplicationVersionOutput(args: GetApplicationVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplicationVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticbeanstalk:getApplicationVersion", { + "applicationName": args.applicationName, + "id": args.id, + }, opts); } export interface GetApplicationVersionOutputArgs { diff --git a/sdk/nodejs/elasticbeanstalk/getConfigurationTemplate.ts b/sdk/nodejs/elasticbeanstalk/getConfigurationTemplate.ts index 0872a5fe24..98e7158f31 100644 --- a/sdk/nodejs/elasticbeanstalk/getConfigurationTemplate.ts +++ b/sdk/nodejs/elasticbeanstalk/getConfigurationTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ElasticBeanstalk::ConfigurationTemplate */ export function getConfigurationTemplate(args: GetConfigurationTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticbeanstalk:getConfigurationTemplate", { "applicationName": args.applicationName, @@ -48,7 +47,11 @@ export interface GetConfigurationTemplateResult { * Resource Type definition for AWS::ElasticBeanstalk::ConfigurationTemplate */ export function getConfigurationTemplateOutput(args: GetConfigurationTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfigurationTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticbeanstalk:getConfigurationTemplate", { + "applicationName": args.applicationName, + "templateName": args.templateName, + }, opts); } export interface GetConfigurationTemplateOutputArgs { diff --git a/sdk/nodejs/elasticbeanstalk/getEnvironment.ts b/sdk/nodejs/elasticbeanstalk/getEnvironment.ts index d4e36ebcbd..d7ad590d66 100644 --- a/sdk/nodejs/elasticbeanstalk/getEnvironment.ts +++ b/sdk/nodejs/elasticbeanstalk/getEnvironment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ElasticBeanstalk::Environment */ export function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticbeanstalk:getEnvironment", { "environmentName": args.environmentName, @@ -65,7 +64,10 @@ export interface GetEnvironmentResult { * Resource Type definition for AWS::ElasticBeanstalk::Environment */ export function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticbeanstalk:getEnvironment", { + "environmentName": args.environmentName, + }, opts); } export interface GetEnvironmentOutputArgs { diff --git a/sdk/nodejs/elasticloadbalancingv2/getListener.ts b/sdk/nodejs/elasticloadbalancingv2/getListener.ts index 96eb9e88dd..9cc74c458e 100644 --- a/sdk/nodejs/elasticloadbalancingv2/getListener.ts +++ b/sdk/nodejs/elasticloadbalancingv2/getListener.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Specifies a listener for an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. */ export function getListener(args: GetListenerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticloadbalancingv2:getListener", { "listenerArn": args.listenerArn, @@ -71,7 +70,10 @@ export interface GetListenerResult { * Specifies a listener for an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. */ export function getListenerOutput(args: GetListenerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getListener(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticloadbalancingv2:getListener", { + "listenerArn": args.listenerArn, + }, opts); } export interface GetListenerOutputArgs { diff --git a/sdk/nodejs/elasticloadbalancingv2/getListenerRule.ts b/sdk/nodejs/elasticloadbalancingv2/getListenerRule.ts index 307ad3dc48..4dd039d6b1 100644 --- a/sdk/nodejs/elasticloadbalancingv2/getListenerRule.ts +++ b/sdk/nodejs/elasticloadbalancingv2/getListenerRule.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * For more information, see [Quotas for your Application Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) in the *User Guide for Application Load Balancers*. */ export function getListenerRule(args: GetListenerRuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticloadbalancingv2:getListenerRule", { "ruleArn": args.ruleArn, @@ -56,7 +55,10 @@ export interface GetListenerRuleResult { * For more information, see [Quotas for your Application Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) in the *User Guide for Application Load Balancers*. */ export function getListenerRuleOutput(args: GetListenerRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getListenerRule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticloadbalancingv2:getListenerRule", { + "ruleArn": args.ruleArn, + }, opts); } export interface GetListenerRuleOutputArgs { diff --git a/sdk/nodejs/elasticloadbalancingv2/getLoadBalancer.ts b/sdk/nodejs/elasticloadbalancingv2/getLoadBalancer.ts index 534b6f18ca..daa4ed9f7f 100644 --- a/sdk/nodejs/elasticloadbalancingv2/getLoadBalancer.ts +++ b/sdk/nodejs/elasticloadbalancingv2/getLoadBalancer.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Specifies an Application Load Balancer, a Network Load Balancer, or a Gateway Load Balancer. */ export function getLoadBalancer(args: GetLoadBalancerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticloadbalancingv2:getLoadBalancer", { "loadBalancerArn": args.loadBalancerArn, @@ -93,7 +92,10 @@ export interface GetLoadBalancerResult { * Specifies an Application Load Balancer, a Network Load Balancer, or a Gateway Load Balancer. */ export function getLoadBalancerOutput(args: GetLoadBalancerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLoadBalancer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticloadbalancingv2:getLoadBalancer", { + "loadBalancerArn": args.loadBalancerArn, + }, opts); } export interface GetLoadBalancerOutputArgs { diff --git a/sdk/nodejs/elasticloadbalancingv2/getTargetGroup.ts b/sdk/nodejs/elasticloadbalancingv2/getTargetGroup.ts index c78def24d4..3522e5305c 100644 --- a/sdk/nodejs/elasticloadbalancingv2/getTargetGroup.ts +++ b/sdk/nodejs/elasticloadbalancingv2/getTargetGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ElasticLoadBalancingV2::TargetGroup */ export function getTargetGroup(args: GetTargetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticloadbalancingv2:getTargetGroup", { "targetGroupArn": args.targetGroupArn, @@ -95,7 +94,10 @@ export interface GetTargetGroupResult { * Resource Type definition for AWS::ElasticLoadBalancingV2::TargetGroup */ export function getTargetGroupOutput(args: GetTargetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTargetGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticloadbalancingv2:getTargetGroup", { + "targetGroupArn": args.targetGroupArn, + }, opts); } export interface GetTargetGroupOutputArgs { diff --git a/sdk/nodejs/elasticloadbalancingv2/getTrustStore.ts b/sdk/nodejs/elasticloadbalancingv2/getTrustStore.ts index ff7f8687ec..ee7346aa2c 100644 --- a/sdk/nodejs/elasticloadbalancingv2/getTrustStore.ts +++ b/sdk/nodejs/elasticloadbalancingv2/getTrustStore.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ElasticLoadBalancingV2::TrustStore */ export function getTrustStore(args: GetTrustStoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticloadbalancingv2:getTrustStore", { "trustStoreArn": args.trustStoreArn, @@ -47,7 +46,10 @@ export interface GetTrustStoreResult { * Resource Type definition for AWS::ElasticLoadBalancingV2::TrustStore */ export function getTrustStoreOutput(args: GetTrustStoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTrustStore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticloadbalancingv2:getTrustStore", { + "trustStoreArn": args.trustStoreArn, + }, opts); } export interface GetTrustStoreOutputArgs { diff --git a/sdk/nodejs/elasticloadbalancingv2/getTrustStoreRevocation.ts b/sdk/nodejs/elasticloadbalancingv2/getTrustStoreRevocation.ts index 9f40687cb6..1ed3d1c0fc 100644 --- a/sdk/nodejs/elasticloadbalancingv2/getTrustStoreRevocation.ts +++ b/sdk/nodejs/elasticloadbalancingv2/getTrustStoreRevocation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::ElasticLoadBalancingV2::TrustStoreRevocation */ export function getTrustStoreRevocation(args: GetTrustStoreRevocationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:elasticloadbalancingv2:getTrustStoreRevocation", { "revocationId": args.revocationId, @@ -44,7 +43,11 @@ export interface GetTrustStoreRevocationResult { * Resource Type definition for AWS::ElasticLoadBalancingV2::TrustStoreRevocation */ export function getTrustStoreRevocationOutput(args: GetTrustStoreRevocationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTrustStoreRevocation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:elasticloadbalancingv2:getTrustStoreRevocation", { + "revocationId": args.revocationId, + "trustStoreArn": args.trustStoreArn, + }, opts); } export interface GetTrustStoreRevocationOutputArgs { diff --git a/sdk/nodejs/emr/getStudio.ts b/sdk/nodejs/emr/getStudio.ts index 832d96135e..f704d2a430 100644 --- a/sdk/nodejs/emr/getStudio.ts +++ b/sdk/nodejs/emr/getStudio.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::EMR::Studio */ export function getStudio(args: GetStudioArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:emr:getStudio", { "studioId": args.studioId, @@ -71,7 +70,10 @@ export interface GetStudioResult { * Resource schema for AWS::EMR::Studio */ export function getStudioOutput(args: GetStudioOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStudio(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:emr:getStudio", { + "studioId": args.studioId, + }, opts); } export interface GetStudioOutputArgs { diff --git a/sdk/nodejs/emr/getStudioSessionMapping.ts b/sdk/nodejs/emr/getStudioSessionMapping.ts index 56f30a8450..4eb84c018b 100644 --- a/sdk/nodejs/emr/getStudioSessionMapping.ts +++ b/sdk/nodejs/emr/getStudioSessionMapping.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getStudioSessionMapping(args: GetStudioSessionMappingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:emr:getStudioSessionMapping", { "identityName": args.identityName, @@ -45,7 +44,12 @@ export interface GetStudioSessionMappingResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getStudioSessionMappingOutput(args: GetStudioSessionMappingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStudioSessionMapping(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:emr:getStudioSessionMapping", { + "identityName": args.identityName, + "identityType": args.identityType, + "studioId": args.studioId, + }, opts); } export interface GetStudioSessionMappingOutputArgs { diff --git a/sdk/nodejs/emr/getWalWorkspace.ts b/sdk/nodejs/emr/getWalWorkspace.ts index 90538b7252..8dda413350 100644 --- a/sdk/nodejs/emr/getWalWorkspace.ts +++ b/sdk/nodejs/emr/getWalWorkspace.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::EMR::WALWorkspace Type */ export function getWalWorkspace(args: GetWalWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:emr:getWalWorkspace", { "walWorkspaceName": args.walWorkspaceName, @@ -35,7 +34,10 @@ export interface GetWalWorkspaceResult { * Resource schema for AWS::EMR::WALWorkspace Type */ export function getWalWorkspaceOutput(args: GetWalWorkspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWalWorkspace(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:emr:getWalWorkspace", { + "walWorkspaceName": args.walWorkspaceName, + }, opts); } export interface GetWalWorkspaceOutputArgs { diff --git a/sdk/nodejs/emrcontainers/getVirtualCluster.ts b/sdk/nodejs/emrcontainers/getVirtualCluster.ts index 1d32314ceb..c23d49e8bb 100644 --- a/sdk/nodejs/emrcontainers/getVirtualCluster.ts +++ b/sdk/nodejs/emrcontainers/getVirtualCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema of AWS::EMRContainers::VirtualCluster Type */ export function getVirtualCluster(args: GetVirtualClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:emrcontainers:getVirtualCluster", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetVirtualClusterResult { * Resource Schema of AWS::EMRContainers::VirtualCluster Type */ export function getVirtualClusterOutput(args: GetVirtualClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVirtualCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:emrcontainers:getVirtualCluster", { + "id": args.id, + }, opts); } export interface GetVirtualClusterOutputArgs { diff --git a/sdk/nodejs/emrserverless/getApplication.ts b/sdk/nodejs/emrserverless/getApplication.ts index 0a942580b0..58f1c453a9 100644 --- a/sdk/nodejs/emrserverless/getApplication.ts +++ b/sdk/nodejs/emrserverless/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::EMRServerless::Application Type */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:emrserverless:getApplication", { "applicationId": args.applicationId, @@ -91,7 +90,10 @@ export interface GetApplicationResult { * Resource schema for AWS::EMRServerless::Application Type */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:emrserverless:getApplication", { + "applicationId": args.applicationId, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/entityresolution/getIdMappingWorkflow.ts b/sdk/nodejs/entityresolution/getIdMappingWorkflow.ts index c59a8e1657..25a21d37c3 100644 --- a/sdk/nodejs/entityresolution/getIdMappingWorkflow.ts +++ b/sdk/nodejs/entityresolution/getIdMappingWorkflow.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * IdMappingWorkflow defined in AWS Entity Resolution service */ export function getIdMappingWorkflow(args: GetIdMappingWorkflowArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:entityresolution:getIdMappingWorkflow", { "workflowName": args.workflowName, @@ -58,7 +57,10 @@ export interface GetIdMappingWorkflowResult { * IdMappingWorkflow defined in AWS Entity Resolution service */ export function getIdMappingWorkflowOutput(args: GetIdMappingWorkflowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIdMappingWorkflow(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:entityresolution:getIdMappingWorkflow", { + "workflowName": args.workflowName, + }, opts); } export interface GetIdMappingWorkflowOutputArgs { diff --git a/sdk/nodejs/entityresolution/getIdNamespace.ts b/sdk/nodejs/entityresolution/getIdNamespace.ts index 666927e8c7..daa2b25944 100644 --- a/sdk/nodejs/entityresolution/getIdNamespace.ts +++ b/sdk/nodejs/entityresolution/getIdNamespace.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * IdNamespace defined in AWS Entity Resolution service */ export function getIdNamespace(args: GetIdNamespaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:entityresolution:getIdNamespace", { "idNamespaceName": args.idNamespaceName, @@ -71,7 +70,10 @@ export interface GetIdNamespaceResult { * IdNamespace defined in AWS Entity Resolution service */ export function getIdNamespaceOutput(args: GetIdNamespaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIdNamespace(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:entityresolution:getIdNamespace", { + "idNamespaceName": args.idNamespaceName, + }, opts); } export interface GetIdNamespaceOutputArgs { diff --git a/sdk/nodejs/entityresolution/getMatchingWorkflow.ts b/sdk/nodejs/entityresolution/getMatchingWorkflow.ts index 0046eeb97b..6af45e3b38 100644 --- a/sdk/nodejs/entityresolution/getMatchingWorkflow.ts +++ b/sdk/nodejs/entityresolution/getMatchingWorkflow.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * MatchingWorkflow defined in AWS Entity Resolution service */ export function getMatchingWorkflow(args: GetMatchingWorkflowArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:entityresolution:getMatchingWorkflow", { "workflowName": args.workflowName, @@ -62,7 +61,10 @@ export interface GetMatchingWorkflowResult { * MatchingWorkflow defined in AWS Entity Resolution service */ export function getMatchingWorkflowOutput(args: GetMatchingWorkflowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMatchingWorkflow(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:entityresolution:getMatchingWorkflow", { + "workflowName": args.workflowName, + }, opts); } export interface GetMatchingWorkflowOutputArgs { diff --git a/sdk/nodejs/entityresolution/getPolicyStatement.ts b/sdk/nodejs/entityresolution/getPolicyStatement.ts index ad631d7a02..be3b1aac93 100644 --- a/sdk/nodejs/entityresolution/getPolicyStatement.ts +++ b/sdk/nodejs/entityresolution/getPolicyStatement.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Policy Statement defined in AWS Entity Resolution Service */ export function getPolicyStatement(args: GetPolicyStatementArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:entityresolution:getPolicyStatement", { "arn": args.arn, @@ -56,7 +55,11 @@ export interface GetPolicyStatementResult { * Policy Statement defined in AWS Entity Resolution Service */ export function getPolicyStatementOutput(args: GetPolicyStatementOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPolicyStatement(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:entityresolution:getPolicyStatement", { + "arn": args.arn, + "statementId": args.statementId, + }, opts); } export interface GetPolicyStatementOutputArgs { diff --git a/sdk/nodejs/entityresolution/getSchemaMapping.ts b/sdk/nodejs/entityresolution/getSchemaMapping.ts index f41734dc4e..d68cf9555c 100644 --- a/sdk/nodejs/entityresolution/getSchemaMapping.ts +++ b/sdk/nodejs/entityresolution/getSchemaMapping.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * SchemaMapping defined in AWS Entity Resolution service */ export function getSchemaMapping(args: GetSchemaMappingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:entityresolution:getSchemaMapping", { "schemaName": args.schemaName, @@ -47,7 +46,10 @@ export interface GetSchemaMappingResult { * SchemaMapping defined in AWS Entity Resolution service */ export function getSchemaMappingOutput(args: GetSchemaMappingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSchemaMapping(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:entityresolution:getSchemaMapping", { + "schemaName": args.schemaName, + }, opts); } export interface GetSchemaMappingOutputArgs { diff --git a/sdk/nodejs/events/getApiDestination.ts b/sdk/nodejs/events/getApiDestination.ts index 3e4dee8d48..eee85c67ee 100644 --- a/sdk/nodejs/events/getApiDestination.ts +++ b/sdk/nodejs/events/getApiDestination.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Events::ApiDestination. */ export function getApiDestination(args: GetApiDestinationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:events:getApiDestination", { "name": args.name, @@ -55,7 +54,10 @@ export interface GetApiDestinationResult { * Resource Type definition for AWS::Events::ApiDestination. */ export function getApiDestinationOutput(args: GetApiDestinationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApiDestination(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:events:getApiDestination", { + "name": args.name, + }, opts); } export interface GetApiDestinationOutputArgs { diff --git a/sdk/nodejs/events/getArchive.ts b/sdk/nodejs/events/getArchive.ts index ecdbcd2227..8184ad28ec 100644 --- a/sdk/nodejs/events/getArchive.ts +++ b/sdk/nodejs/events/getArchive.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Events::Archive */ export function getArchive(args: GetArchiveArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:events:getArchive", { "archiveName": args.archiveName, @@ -46,7 +45,10 @@ export interface GetArchiveResult { * Resource Type definition for AWS::Events::Archive */ export function getArchiveOutput(args: GetArchiveOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getArchive(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:events:getArchive", { + "archiveName": args.archiveName, + }, opts); } export interface GetArchiveOutputArgs { diff --git a/sdk/nodejs/events/getConnection.ts b/sdk/nodejs/events/getConnection.ts index 28581220b9..4b5d45ecda 100644 --- a/sdk/nodejs/events/getConnection.ts +++ b/sdk/nodejs/events/getConnection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Events::Connection. */ export function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:events:getConnection", { "name": args.name, @@ -49,7 +48,10 @@ export interface GetConnectionResult { * Resource Type definition for AWS::Events::Connection. */ export function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:events:getConnection", { + "name": args.name, + }, opts); } export interface GetConnectionOutputArgs { diff --git a/sdk/nodejs/events/getEndpoint.ts b/sdk/nodejs/events/getEndpoint.ts index 406ed45d7d..c8a69af0db 100644 --- a/sdk/nodejs/events/getEndpoint.ts +++ b/sdk/nodejs/events/getEndpoint.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Events::Endpoint. */ export function getEndpoint(args: GetEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:events:getEndpoint", { "name": args.name, @@ -73,7 +72,10 @@ export interface GetEndpointResult { * Resource Type definition for AWS::Events::Endpoint. */ export function getEndpointOutput(args: GetEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:events:getEndpoint", { + "name": args.name, + }, opts); } export interface GetEndpointOutputArgs { diff --git a/sdk/nodejs/events/getEventBus.ts b/sdk/nodejs/events/getEventBus.ts index ed4e6f3d32..c8a1f84fc8 100644 --- a/sdk/nodejs/events/getEventBus.ts +++ b/sdk/nodejs/events/getEventBus.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::Events::EventBus */ export function getEventBus(args: GetEventBusArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:events:getEventBus", { "name": args.name, @@ -57,7 +56,10 @@ export interface GetEventBusResult { * Resource type definition for AWS::Events::EventBus */ export function getEventBusOutput(args: GetEventBusOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventBus(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:events:getEventBus", { + "name": args.name, + }, opts); } export interface GetEventBusOutputArgs { diff --git a/sdk/nodejs/events/getRule.ts b/sdk/nodejs/events/getRule.ts index 7516575990..b04c0e4e78 100644 --- a/sdk/nodejs/events/getRule.ts +++ b/sdk/nodejs/events/getRule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Events::Rule */ export function getRule(args: GetRuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:events:getRule", { "arn": args.arn, @@ -66,7 +65,10 @@ export interface GetRuleResult { * Resource Type definition for AWS::Events::Rule */ export function getRuleOutput(args: GetRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:events:getRule", { + "arn": args.arn, + }, opts); } export interface GetRuleOutputArgs { diff --git a/sdk/nodejs/eventschemas/getDiscoverer.ts b/sdk/nodejs/eventschemas/getDiscoverer.ts index 8953725714..1bccb4b792 100644 --- a/sdk/nodejs/eventschemas/getDiscoverer.ts +++ b/sdk/nodejs/eventschemas/getDiscoverer.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EventSchemas::Discoverer */ export function getDiscoverer(args: GetDiscovererArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:eventschemas:getDiscoverer", { "discovererArn": args.discovererArn, @@ -55,7 +54,10 @@ export interface GetDiscovererResult { * Resource Type definition for AWS::EventSchemas::Discoverer */ export function getDiscovererOutput(args: GetDiscovererOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDiscoverer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:eventschemas:getDiscoverer", { + "discovererArn": args.discovererArn, + }, opts); } export interface GetDiscovererOutputArgs { diff --git a/sdk/nodejs/eventschemas/getRegistry.ts b/sdk/nodejs/eventschemas/getRegistry.ts index 4811c28a6a..4feedb2729 100644 --- a/sdk/nodejs/eventschemas/getRegistry.ts +++ b/sdk/nodejs/eventschemas/getRegistry.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EventSchemas::Registry */ export function getRegistry(args: GetRegistryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:eventschemas:getRegistry", { "registryArn": args.registryArn, @@ -43,7 +42,10 @@ export interface GetRegistryResult { * Resource Type definition for AWS::EventSchemas::Registry */ export function getRegistryOutput(args: GetRegistryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRegistry(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:eventschemas:getRegistry", { + "registryArn": args.registryArn, + }, opts); } export interface GetRegistryOutputArgs { diff --git a/sdk/nodejs/eventschemas/getRegistryPolicy.ts b/sdk/nodejs/eventschemas/getRegistryPolicy.ts index 89e9b0cfb1..50b4c641f1 100644 --- a/sdk/nodejs/eventschemas/getRegistryPolicy.ts +++ b/sdk/nodejs/eventschemas/getRegistryPolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EventSchemas::RegistryPolicy */ export function getRegistryPolicy(args: GetRegistryPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:eventschemas:getRegistryPolicy", { "id": args.id, @@ -46,7 +45,10 @@ export interface GetRegistryPolicyResult { * Resource Type definition for AWS::EventSchemas::RegistryPolicy */ export function getRegistryPolicyOutput(args: GetRegistryPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRegistryPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:eventschemas:getRegistryPolicy", { + "id": args.id, + }, opts); } export interface GetRegistryPolicyOutputArgs { diff --git a/sdk/nodejs/eventschemas/getSchema.ts b/sdk/nodejs/eventschemas/getSchema.ts index ea53345e78..341ef53185 100644 --- a/sdk/nodejs/eventschemas/getSchema.ts +++ b/sdk/nodejs/eventschemas/getSchema.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::EventSchemas::Schema */ export function getSchema(args: GetSchemaArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:eventschemas:getSchema", { "schemaArn": args.schemaArn, @@ -63,7 +62,10 @@ export interface GetSchemaResult { * Resource Type definition for AWS::EventSchemas::Schema */ export function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSchema(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:eventschemas:getSchema", { + "schemaArn": args.schemaArn, + }, opts); } export interface GetSchemaOutputArgs { diff --git a/sdk/nodejs/evidently/getExperiment.ts b/sdk/nodejs/evidently/getExperiment.ts index ef227c27bc..dd36388538 100644 --- a/sdk/nodejs/evidently/getExperiment.ts +++ b/sdk/nodejs/evidently/getExperiment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Evidently::Experiment. */ export function getExperiment(args: GetExperimentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:evidently:getExperiment", { "arn": args.arn, @@ -79,7 +78,10 @@ export interface GetExperimentResult { * Resource Type definition for AWS::Evidently::Experiment. */ export function getExperimentOutput(args: GetExperimentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getExperiment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:evidently:getExperiment", { + "arn": args.arn, + }, opts); } export interface GetExperimentOutputArgs { diff --git a/sdk/nodejs/evidently/getFeature.ts b/sdk/nodejs/evidently/getFeature.ts index 5896758a21..af956d1c04 100644 --- a/sdk/nodejs/evidently/getFeature.ts +++ b/sdk/nodejs/evidently/getFeature.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Evidently::Feature. */ export function getFeature(args: GetFeatureArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:evidently:getFeature", { "arn": args.arn, @@ -65,7 +64,10 @@ export interface GetFeatureResult { * Resource Type definition for AWS::Evidently::Feature. */ export function getFeatureOutput(args: GetFeatureOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFeature(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:evidently:getFeature", { + "arn": args.arn, + }, opts); } export interface GetFeatureOutputArgs { diff --git a/sdk/nodejs/evidently/getLaunch.ts b/sdk/nodejs/evidently/getLaunch.ts index 1846c05edd..39834861f1 100644 --- a/sdk/nodejs/evidently/getLaunch.ts +++ b/sdk/nodejs/evidently/getLaunch.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Evidently::Launch. */ export function getLaunch(args: GetLaunchArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:evidently:getLaunch", { "arn": args.arn, @@ -63,7 +62,10 @@ export interface GetLaunchResult { * Resource Type definition for AWS::Evidently::Launch. */ export function getLaunchOutput(args: GetLaunchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLaunch(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:evidently:getLaunch", { + "arn": args.arn, + }, opts); } export interface GetLaunchOutputArgs { diff --git a/sdk/nodejs/evidently/getProject.ts b/sdk/nodejs/evidently/getProject.ts index acb310ac9c..75d8cb065e 100644 --- a/sdk/nodejs/evidently/getProject.ts +++ b/sdk/nodejs/evidently/getProject.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Evidently::Project */ export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:evidently:getProject", { "arn": args.arn, @@ -57,7 +56,10 @@ export interface GetProjectResult { * Resource Type definition for AWS::Evidently::Project */ export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProject(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:evidently:getProject", { + "arn": args.arn, + }, opts); } export interface GetProjectOutputArgs { diff --git a/sdk/nodejs/evidently/getSegment.ts b/sdk/nodejs/evidently/getSegment.ts index 0010b5b66e..ee8081498b 100644 --- a/sdk/nodejs/evidently/getSegment.ts +++ b/sdk/nodejs/evidently/getSegment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Evidently::Segment */ export function getSegment(args: GetSegmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:evidently:getSegment", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetSegmentResult { * Resource Type definition for AWS::Evidently::Segment */ export function getSegmentOutput(args: GetSegmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSegment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:evidently:getSegment", { + "arn": args.arn, + }, opts); } export interface GetSegmentOutputArgs { diff --git a/sdk/nodejs/finspace/getEnvironment.ts b/sdk/nodejs/finspace/getEnvironment.ts index 2f28a3cbc5..6b9484aeb9 100644 --- a/sdk/nodejs/finspace/getEnvironment.ts +++ b/sdk/nodejs/finspace/getEnvironment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:finspace:getEnvironment", { "environmentId": args.environmentId, @@ -71,7 +70,10 @@ export interface GetEnvironmentResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:finspace:getEnvironment", { + "environmentId": args.environmentId, + }, opts); } export interface GetEnvironmentOutputArgs { diff --git a/sdk/nodejs/fis/getExperimentTemplate.ts b/sdk/nodejs/fis/getExperimentTemplate.ts index 0eaa5bf78c..e1a22cef36 100644 --- a/sdk/nodejs/fis/getExperimentTemplate.ts +++ b/sdk/nodejs/fis/getExperimentTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::FIS::ExperimentTemplate */ export function getExperimentTemplate(args: GetExperimentTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:fis:getExperimentTemplate", { "id": args.id, @@ -63,7 +62,10 @@ export interface GetExperimentTemplateResult { * Resource schema for AWS::FIS::ExperimentTemplate */ export function getExperimentTemplateOutput(args: GetExperimentTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getExperimentTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:fis:getExperimentTemplate", { + "id": args.id, + }, opts); } export interface GetExperimentTemplateOutputArgs { diff --git a/sdk/nodejs/fis/getTargetAccountConfiguration.ts b/sdk/nodejs/fis/getTargetAccountConfiguration.ts index 6a49b0f3b7..4910fa8e3b 100644 --- a/sdk/nodejs/fis/getTargetAccountConfiguration.ts +++ b/sdk/nodejs/fis/getTargetAccountConfiguration.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::FIS::TargetAccountConfiguration */ export function getTargetAccountConfiguration(args: GetTargetAccountConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:fis:getTargetAccountConfiguration", { "accountId": args.accountId, @@ -41,7 +40,11 @@ export interface GetTargetAccountConfigurationResult { * Resource schema for AWS::FIS::TargetAccountConfiguration */ export function getTargetAccountConfigurationOutput(args: GetTargetAccountConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTargetAccountConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:fis:getTargetAccountConfiguration", { + "accountId": args.accountId, + "experimentTemplateId": args.experimentTemplateId, + }, opts); } export interface GetTargetAccountConfigurationOutputArgs { diff --git a/sdk/nodejs/fms/getNotificationChannel.ts b/sdk/nodejs/fms/getNotificationChannel.ts index 2f65216685..3f54782388 100644 --- a/sdk/nodejs/fms/getNotificationChannel.ts +++ b/sdk/nodejs/fms/getNotificationChannel.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs. */ export function getNotificationChannel(args: GetNotificationChannelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:fms:getNotificationChannel", { "snsTopicArn": args.snsTopicArn, @@ -36,7 +35,10 @@ export interface GetNotificationChannelResult { * Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs. */ export function getNotificationChannelOutput(args: GetNotificationChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNotificationChannel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:fms:getNotificationChannel", { + "snsTopicArn": args.snsTopicArn, + }, opts); } export interface GetNotificationChannelOutputArgs { diff --git a/sdk/nodejs/fms/getPolicy.ts b/sdk/nodejs/fms/getPolicy.ts index 1df011d67e..2ae349ca91 100644 --- a/sdk/nodejs/fms/getPolicy.ts +++ b/sdk/nodejs/fms/getPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates an AWS Firewall Manager policy. */ export function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:fms:getPolicy", { "id": args.id, @@ -207,7 +206,10 @@ export interface GetPolicyResult { * Creates an AWS Firewall Manager policy. */ export function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:fms:getPolicy", { + "id": args.id, + }, opts); } export interface GetPolicyOutputArgs { diff --git a/sdk/nodejs/fms/getResourceSet.ts b/sdk/nodejs/fms/getResourceSet.ts index 3137941f44..e3b416298d 100644 --- a/sdk/nodejs/fms/getResourceSet.ts +++ b/sdk/nodejs/fms/getResourceSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates an AWS Firewall Manager resource set. */ export function getResourceSet(args: GetResourceSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:fms:getResourceSet", { "id": args.id, @@ -49,7 +48,10 @@ export interface GetResourceSetResult { * Creates an AWS Firewall Manager resource set. */ export function getResourceSetOutput(args: GetResourceSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourceSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:fms:getResourceSet", { + "id": args.id, + }, opts); } export interface GetResourceSetOutputArgs { diff --git a/sdk/nodejs/forecast/getDataset.ts b/sdk/nodejs/forecast/getDataset.ts index 71f45658e0..f0efd98a9e 100644 --- a/sdk/nodejs/forecast/getDataset.ts +++ b/sdk/nodejs/forecast/getDataset.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type Definition for AWS::Forecast::Dataset */ export function getDataset(args: GetDatasetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:forecast:getDataset", { "arn": args.arn, @@ -61,7 +60,10 @@ export interface GetDatasetResult { * Resource Type Definition for AWS::Forecast::Dataset */ export function getDatasetOutput(args: GetDatasetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataset(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:forecast:getDataset", { + "arn": args.arn, + }, opts); } export interface GetDatasetOutputArgs { diff --git a/sdk/nodejs/forecast/getDatasetGroup.ts b/sdk/nodejs/forecast/getDatasetGroup.ts index 1b883dd5eb..9c547fd172 100644 --- a/sdk/nodejs/forecast/getDatasetGroup.ts +++ b/sdk/nodejs/forecast/getDatasetGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a dataset group that holds a collection of related datasets */ export function getDatasetGroup(args: GetDatasetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:forecast:getDatasetGroup", { "datasetGroupArn": args.datasetGroupArn, @@ -47,7 +46,10 @@ export interface GetDatasetGroupResult { * Represents a dataset group that holds a collection of related datasets */ export function getDatasetGroupOutput(args: GetDatasetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDatasetGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:forecast:getDatasetGroup", { + "datasetGroupArn": args.datasetGroupArn, + }, opts); } export interface GetDatasetGroupOutputArgs { diff --git a/sdk/nodejs/frauddetector/getDetector.ts b/sdk/nodejs/frauddetector/getDetector.ts index 3595a0bca2..4fb7b25766 100644 --- a/sdk/nodejs/frauddetector/getDetector.ts +++ b/sdk/nodejs/frauddetector/getDetector.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A resource schema for a Detector in Amazon Fraud Detector. */ export function getDetector(args: GetDetectorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:frauddetector:getDetector", { "arn": args.arn, @@ -83,7 +82,10 @@ export interface GetDetectorResult { * A resource schema for a Detector in Amazon Fraud Detector. */ export function getDetectorOutput(args: GetDetectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDetector(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:frauddetector:getDetector", { + "arn": args.arn, + }, opts); } export interface GetDetectorOutputArgs { diff --git a/sdk/nodejs/frauddetector/getEntityType.ts b/sdk/nodejs/frauddetector/getEntityType.ts index b232ae422c..0e8c54031e 100644 --- a/sdk/nodejs/frauddetector/getEntityType.ts +++ b/sdk/nodejs/frauddetector/getEntityType.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An entity type for fraud detector. */ export function getEntityType(args: GetEntityTypeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:frauddetector:getEntityType", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetEntityTypeResult { * An entity type for fraud detector. */ export function getEntityTypeOutput(args: GetEntityTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEntityType(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:frauddetector:getEntityType", { + "arn": args.arn, + }, opts); } export interface GetEntityTypeOutputArgs { diff --git a/sdk/nodejs/frauddetector/getEventType.ts b/sdk/nodejs/frauddetector/getEventType.ts index 1ef147ea54..5626a431b8 100644 --- a/sdk/nodejs/frauddetector/getEventType.ts +++ b/sdk/nodejs/frauddetector/getEventType.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A resource schema for an EventType in Amazon Fraud Detector. */ export function getEventType(args: GetEventTypeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:frauddetector:getEventType", { "arn": args.arn, @@ -63,7 +62,10 @@ export interface GetEventTypeResult { * A resource schema for an EventType in Amazon Fraud Detector. */ export function getEventTypeOutput(args: GetEventTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventType(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:frauddetector:getEventType", { + "arn": args.arn, + }, opts); } export interface GetEventTypeOutputArgs { diff --git a/sdk/nodejs/frauddetector/getLabel.ts b/sdk/nodejs/frauddetector/getLabel.ts index 19a867f5fa..c36eda6bc0 100644 --- a/sdk/nodejs/frauddetector/getLabel.ts +++ b/sdk/nodejs/frauddetector/getLabel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An label for fraud detector. */ export function getLabel(args: GetLabelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:frauddetector:getLabel", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetLabelResult { * An label for fraud detector. */ export function getLabelOutput(args: GetLabelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLabel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:frauddetector:getLabel", { + "arn": args.arn, + }, opts); } export interface GetLabelOutputArgs { diff --git a/sdk/nodejs/frauddetector/getList.ts b/sdk/nodejs/frauddetector/getList.ts index b33774ba1d..1b48defe47 100644 --- a/sdk/nodejs/frauddetector/getList.ts +++ b/sdk/nodejs/frauddetector/getList.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A resource schema for a List in Amazon Fraud Detector. */ export function getList(args: GetListArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:frauddetector:getList", { "arn": args.arn, @@ -59,7 +58,10 @@ export interface GetListResult { * A resource schema for a List in Amazon Fraud Detector. */ export function getListOutput(args: GetListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getList(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:frauddetector:getList", { + "arn": args.arn, + }, opts); } export interface GetListOutputArgs { diff --git a/sdk/nodejs/frauddetector/getOutcome.ts b/sdk/nodejs/frauddetector/getOutcome.ts index a6232e8beb..add1b55288 100644 --- a/sdk/nodejs/frauddetector/getOutcome.ts +++ b/sdk/nodejs/frauddetector/getOutcome.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An outcome for rule evaluation. */ export function getOutcome(args: GetOutcomeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:frauddetector:getOutcome", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetOutcomeResult { * An outcome for rule evaluation. */ export function getOutcomeOutput(args: GetOutcomeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOutcome(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:frauddetector:getOutcome", { + "arn": args.arn, + }, opts); } export interface GetOutcomeOutputArgs { diff --git a/sdk/nodejs/frauddetector/getVariable.ts b/sdk/nodejs/frauddetector/getVariable.ts index 8ca97409a9..34cba8e4bd 100644 --- a/sdk/nodejs/frauddetector/getVariable.ts +++ b/sdk/nodejs/frauddetector/getVariable.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A resource schema for a Variable in Amazon Fraud Detector. */ export function getVariable(args: GetVariableArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:frauddetector:getVariable", { "arn": args.arn, @@ -67,7 +66,10 @@ export interface GetVariableResult { * A resource schema for a Variable in Amazon Fraud Detector. */ export function getVariableOutput(args: GetVariableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVariable(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:frauddetector:getVariable", { + "arn": args.arn, + }, opts); } export interface GetVariableOutputArgs { diff --git a/sdk/nodejs/fsx/getDataRepositoryAssociation.ts b/sdk/nodejs/fsx/getDataRepositoryAssociation.ts index bd1477d30e..ca353ad3d5 100644 --- a/sdk/nodejs/fsx/getDataRepositoryAssociation.ts +++ b/sdk/nodejs/fsx/getDataRepositoryAssociation.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * Each data repository association must have a unique Amazon FSx file system directory and a unique S3 bucket or prefix associated with it. You can configure a data repository association for automatic import only, for automatic export only, or for both. To learn more about linking a data repository to your file system, see [Linking your file system to an S3 bucket](https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-dra-linked-data-repo.html). */ export function getDataRepositoryAssociation(args: GetDataRepositoryAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:fsx:getDataRepositoryAssociation", { "associationId": args.associationId, @@ -61,7 +60,10 @@ export interface GetDataRepositoryAssociationResult { * Each data repository association must have a unique Amazon FSx file system directory and a unique S3 bucket or prefix associated with it. You can configure a data repository association for automatic import only, for automatic export only, or for both. To learn more about linking a data repository to your file system, see [Linking your file system to an S3 bucket](https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-dra-linked-data-repo.html). */ export function getDataRepositoryAssociationOutput(args: GetDataRepositoryAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataRepositoryAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:fsx:getDataRepositoryAssociation", { + "associationId": args.associationId, + }, opts); } export interface GetDataRepositoryAssociationOutputArgs { diff --git a/sdk/nodejs/gamelift/getAlias.ts b/sdk/nodejs/gamelift/getAlias.ts index 73364f1c90..54fd71f784 100644 --- a/sdk/nodejs/gamelift/getAlias.ts +++ b/sdk/nodejs/gamelift/getAlias.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::GameLift::Alias resource creates an alias for an Amazon GameLift (GameLift) fleet destination. */ export function getAlias(args: GetAliasArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:gamelift:getAlias", { "aliasId": args.aliasId, @@ -47,7 +46,10 @@ export interface GetAliasResult { * The AWS::GameLift::Alias resource creates an alias for an Amazon GameLift (GameLift) fleet destination. */ export function getAliasOutput(args: GetAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlias(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:gamelift:getAlias", { + "aliasId": args.aliasId, + }, opts); } export interface GetAliasOutputArgs { diff --git a/sdk/nodejs/gamelift/getBuild.ts b/sdk/nodejs/gamelift/getBuild.ts index 4864304aec..81c275018a 100644 --- a/sdk/nodejs/gamelift/getBuild.ts +++ b/sdk/nodejs/gamelift/getBuild.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::GameLift::Build */ export function getBuild(args: GetBuildArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:gamelift:getBuild", { "buildId": args.buildId, @@ -40,7 +39,10 @@ export interface GetBuildResult { * Resource Type definition for AWS::GameLift::Build */ export function getBuildOutput(args: GetBuildOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBuild(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:gamelift:getBuild", { + "buildId": args.buildId, + }, opts); } export interface GetBuildOutputArgs { diff --git a/sdk/nodejs/gamelift/getContainerGroupDefinition.ts b/sdk/nodejs/gamelift/getContainerGroupDefinition.ts index c6f0116731..b37e3a1dc6 100644 --- a/sdk/nodejs/gamelift/getContainerGroupDefinition.ts +++ b/sdk/nodejs/gamelift/getContainerGroupDefinition.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::GameLift::ContainerGroupDefinition resource creates an Amazon GameLift container group definition. */ export function getContainerGroupDefinition(args: GetContainerGroupDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:gamelift:getContainerGroupDefinition", { "name": args.name, @@ -43,7 +42,10 @@ export interface GetContainerGroupDefinitionResult { * The AWS::GameLift::ContainerGroupDefinition resource creates an Amazon GameLift container group definition. */ export function getContainerGroupDefinitionOutput(args: GetContainerGroupDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getContainerGroupDefinition(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:gamelift:getContainerGroupDefinition", { + "name": args.name, + }, opts); } export interface GetContainerGroupDefinitionOutputArgs { diff --git a/sdk/nodejs/gamelift/getFleet.ts b/sdk/nodejs/gamelift/getFleet.ts index 5434c5ed6f..596c5eb892 100644 --- a/sdk/nodejs/gamelift/getFleet.ts +++ b/sdk/nodejs/gamelift/getFleet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::GameLift::Fleet resource creates an Amazon GameLift (GameLift) fleet to host game servers. A fleet is a set of EC2 or Anywhere instances, each of which can host multiple game sessions. */ export function getFleet(args: GetFleetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:gamelift:getFleet", { "fleetId": args.fleetId, @@ -89,7 +88,10 @@ export interface GetFleetResult { * The AWS::GameLift::Fleet resource creates an Amazon GameLift (GameLift) fleet to host game servers. A fleet is a set of EC2 or Anywhere instances, each of which can host multiple game sessions. */ export function getFleetOutput(args: GetFleetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFleet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:gamelift:getFleet", { + "fleetId": args.fleetId, + }, opts); } export interface GetFleetOutputArgs { diff --git a/sdk/nodejs/gamelift/getGameServerGroup.ts b/sdk/nodejs/gamelift/getGameServerGroup.ts index 62f6c5bb01..dceb1a9c29 100644 --- a/sdk/nodejs/gamelift/getGameServerGroup.ts +++ b/sdk/nodejs/gamelift/getGameServerGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::GameLift::GameServerGroup resource creates an Amazon GameLift (GameLift) GameServerGroup. */ export function getGameServerGroup(args: GetGameServerGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:gamelift:getGameServerGroup", { "gameServerGroupArn": args.gameServerGroupArn, @@ -59,7 +58,10 @@ export interface GetGameServerGroupResult { * The AWS::GameLift::GameServerGroup resource creates an Amazon GameLift (GameLift) GameServerGroup. */ export function getGameServerGroupOutput(args: GetGameServerGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGameServerGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:gamelift:getGameServerGroup", { + "gameServerGroupArn": args.gameServerGroupArn, + }, opts); } export interface GetGameServerGroupOutputArgs { diff --git a/sdk/nodejs/gamelift/getGameSessionQueue.ts b/sdk/nodejs/gamelift/getGameSessionQueue.ts index 3a84eb8fd3..2f98d33e11 100644 --- a/sdk/nodejs/gamelift/getGameSessionQueue.ts +++ b/sdk/nodejs/gamelift/getGameSessionQueue.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::GameLift::GameSessionQueue resource creates an Amazon GameLift (GameLift) game session queue. */ export function getGameSessionQueue(args: GetGameSessionQueueArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:gamelift:getGameSessionQueue", { "name": args.name, @@ -67,7 +66,10 @@ export interface GetGameSessionQueueResult { * The AWS::GameLift::GameSessionQueue resource creates an Amazon GameLift (GameLift) game session queue. */ export function getGameSessionQueueOutput(args: GetGameSessionQueueOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGameSessionQueue(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:gamelift:getGameSessionQueue", { + "name": args.name, + }, opts); } export interface GetGameSessionQueueOutputArgs { diff --git a/sdk/nodejs/gamelift/getLocation.ts b/sdk/nodejs/gamelift/getLocation.ts index ba2ac12596..f65a699999 100644 --- a/sdk/nodejs/gamelift/getLocation.ts +++ b/sdk/nodejs/gamelift/getLocation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::GameLift::Location resource creates an Amazon GameLift (GameLift) custom location. */ export function getLocation(args: GetLocationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:gamelift:getLocation", { "locationName": args.locationName, @@ -39,7 +38,10 @@ export interface GetLocationResult { * The AWS::GameLift::Location resource creates an Amazon GameLift (GameLift) custom location. */ export function getLocationOutput(args: GetLocationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLocation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:gamelift:getLocation", { + "locationName": args.locationName, + }, opts); } export interface GetLocationOutputArgs { diff --git a/sdk/nodejs/gamelift/getMatchmakingConfiguration.ts b/sdk/nodejs/gamelift/getMatchmakingConfiguration.ts index 9955604d38..edbb4cea70 100644 --- a/sdk/nodejs/gamelift/getMatchmakingConfiguration.ts +++ b/sdk/nodejs/gamelift/getMatchmakingConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::GameLift::MatchmakingConfiguration resource creates an Amazon GameLift (GameLift) matchmaking configuration. */ export function getMatchmakingConfiguration(args: GetMatchmakingConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:gamelift:getMatchmakingConfiguration", { "name": args.name, @@ -99,7 +98,10 @@ export interface GetMatchmakingConfigurationResult { * The AWS::GameLift::MatchmakingConfiguration resource creates an Amazon GameLift (GameLift) matchmaking configuration. */ export function getMatchmakingConfigurationOutput(args: GetMatchmakingConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMatchmakingConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:gamelift:getMatchmakingConfiguration", { + "name": args.name, + }, opts); } export interface GetMatchmakingConfigurationOutputArgs { diff --git a/sdk/nodejs/gamelift/getMatchmakingRuleSet.ts b/sdk/nodejs/gamelift/getMatchmakingRuleSet.ts index 4d537b6b31..9fe69a63a9 100644 --- a/sdk/nodejs/gamelift/getMatchmakingRuleSet.ts +++ b/sdk/nodejs/gamelift/getMatchmakingRuleSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::GameLift::MatchmakingRuleSet resource creates an Amazon GameLift (GameLift) matchmaking rule set. */ export function getMatchmakingRuleSet(args: GetMatchmakingRuleSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:gamelift:getMatchmakingRuleSet", { "name": args.name, @@ -43,7 +42,10 @@ export interface GetMatchmakingRuleSetResult { * The AWS::GameLift::MatchmakingRuleSet resource creates an Amazon GameLift (GameLift) matchmaking rule set. */ export function getMatchmakingRuleSetOutput(args: GetMatchmakingRuleSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMatchmakingRuleSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:gamelift:getMatchmakingRuleSet", { + "name": args.name, + }, opts); } export interface GetMatchmakingRuleSetOutputArgs { diff --git a/sdk/nodejs/gamelift/getScript.ts b/sdk/nodejs/gamelift/getScript.ts index af1fde489c..300c5f7ed4 100644 --- a/sdk/nodejs/gamelift/getScript.ts +++ b/sdk/nodejs/gamelift/getScript.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::GameLift::Script resource creates a new script record for your Realtime Servers script. Realtime scripts are JavaScript that provide configuration settings and optional custom game logic for your game. The script is deployed when you create a Realtime Servers fleet to host your game sessions. Script logic is executed during an active game session. */ export function getScript(args: GetScriptArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:gamelift:getScript", { "id": args.id, @@ -63,7 +62,10 @@ export interface GetScriptResult { * The AWS::GameLift::Script resource creates a new script record for your Realtime Servers script. Realtime scripts are JavaScript that provide configuration settings and optional custom game logic for your game. The script is deployed when you create a Realtime Servers fleet to host your game sessions. Script logic is executed during an active game session. */ export function getScriptOutput(args: GetScriptOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getScript(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:gamelift:getScript", { + "id": args.id, + }, opts); } export interface GetScriptOutputArgs { diff --git a/sdk/nodejs/getAccountId.ts b/sdk/nodejs/getAccountId.ts index 2e7ee3265f..49ee496911 100644 --- a/sdk/nodejs/getAccountId.ts +++ b/sdk/nodejs/getAccountId.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getAccountId(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:index:getAccountId", { }, opts); @@ -15,5 +14,7 @@ export interface GetAccountIdResult { readonly accountId: string; } export function getAccountIdOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getAccountId(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:index:getAccountId", { + }, opts); } diff --git a/sdk/nodejs/getAzs.ts b/sdk/nodejs/getAzs.ts index 682e230771..e3d290d1bc 100644 --- a/sdk/nodejs/getAzs.ts +++ b/sdk/nodejs/getAzs.ts @@ -6,7 +6,6 @@ import * as utilities from "./utilities"; export function getAzs(args?: GetAzsArgs, opts?: pulumi.InvokeOptions): Promise { args = args || {}; - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:index:getAzs", { "region": args.region, @@ -21,7 +20,11 @@ export interface GetAzsResult { readonly azs: string[]; } export function getAzsOutput(args?: GetAzsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAzs(a, opts)) + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:index:getAzs", { + "region": args.region, + }, opts); } export interface GetAzsOutputArgs { diff --git a/sdk/nodejs/getPartition.ts b/sdk/nodejs/getPartition.ts index 047ec0d6c2..f1ee341d49 100644 --- a/sdk/nodejs/getPartition.ts +++ b/sdk/nodejs/getPartition.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getPartition(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:index:getPartition", { }, opts); @@ -22,5 +21,7 @@ export interface GetPartitionResult { readonly partition: string; } export function getPartitionOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getPartition(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:index:getPartition", { + }, opts); } diff --git a/sdk/nodejs/getRegion.ts b/sdk/nodejs/getRegion.ts index 662aa80df5..e1f49092f3 100644 --- a/sdk/nodejs/getRegion.ts +++ b/sdk/nodejs/getRegion.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getRegion(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:index:getRegion", { }, opts); @@ -15,5 +14,7 @@ export interface GetRegionResult { readonly region: string; } export function getRegionOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getRegion(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:index:getRegion", { + }, opts); } diff --git a/sdk/nodejs/getSsmParameterList.ts b/sdk/nodejs/getSsmParameterList.ts index c8a9b6db85..87d51b0803 100644 --- a/sdk/nodejs/getSsmParameterList.ts +++ b/sdk/nodejs/getSsmParameterList.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getSsmParameterList(args: GetSsmParameterListArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:index:getSsmParameterList", { "name": args.name, @@ -20,7 +19,10 @@ export interface GetSsmParameterListResult { readonly value: string[]; } export function getSsmParameterListOutput(args: GetSsmParameterListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSsmParameterList(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:index:getSsmParameterList", { + "name": args.name, + }, opts); } export interface GetSsmParameterListOutputArgs { diff --git a/sdk/nodejs/getSsmParameterString.ts b/sdk/nodejs/getSsmParameterString.ts index 5e20883b71..77bbdd4781 100644 --- a/sdk/nodejs/getSsmParameterString.ts +++ b/sdk/nodejs/getSsmParameterString.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getSsmParameterString(args: GetSsmParameterStringArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:index:getSsmParameterString", { "name": args.name, @@ -20,7 +19,10 @@ export interface GetSsmParameterStringResult { readonly value: string; } export function getSsmParameterStringOutput(args: GetSsmParameterStringOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSsmParameterString(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:index:getSsmParameterString", { + "name": args.name, + }, opts); } export interface GetSsmParameterStringOutputArgs { diff --git a/sdk/nodejs/getUrlSuffix.ts b/sdk/nodejs/getUrlSuffix.ts index 6df8252253..c0dd121cab 100644 --- a/sdk/nodejs/getUrlSuffix.ts +++ b/sdk/nodejs/getUrlSuffix.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function getUrlSuffix(opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:index:getUrlSuffix", { }, opts); @@ -15,5 +14,7 @@ export interface GetUrlSuffixResult { readonly urlSuffix: string; } export function getUrlSuffixOutput(opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(getUrlSuffix(opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:index:getUrlSuffix", { + }, opts); } diff --git a/sdk/nodejs/globalaccelerator/getAccelerator.ts b/sdk/nodejs/globalaccelerator/getAccelerator.ts index d0198fbf85..95c5300aba 100644 --- a/sdk/nodejs/globalaccelerator/getAccelerator.ts +++ b/sdk/nodejs/globalaccelerator/getAccelerator.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::GlobalAccelerator::Accelerator */ export function getAccelerator(args: GetAcceleratorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:globalaccelerator:getAccelerator", { "acceleratorArn": args.acceleratorArn, @@ -73,7 +72,10 @@ export interface GetAcceleratorResult { * Resource Type definition for AWS::GlobalAccelerator::Accelerator */ export function getAcceleratorOutput(args: GetAcceleratorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccelerator(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:globalaccelerator:getAccelerator", { + "acceleratorArn": args.acceleratorArn, + }, opts); } export interface GetAcceleratorOutputArgs { diff --git a/sdk/nodejs/globalaccelerator/getCrossAccountAttachment.ts b/sdk/nodejs/globalaccelerator/getCrossAccountAttachment.ts index 250c7fe509..2940f902b3 100644 --- a/sdk/nodejs/globalaccelerator/getCrossAccountAttachment.ts +++ b/sdk/nodejs/globalaccelerator/getCrossAccountAttachment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::GlobalAccelerator::CrossAccountAttachment */ export function getCrossAccountAttachment(args: GetCrossAccountAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:globalaccelerator:getCrossAccountAttachment", { "attachmentArn": args.attachmentArn, @@ -53,7 +52,10 @@ export interface GetCrossAccountAttachmentResult { * Resource Type definition for AWS::GlobalAccelerator::CrossAccountAttachment */ export function getCrossAccountAttachmentOutput(args: GetCrossAccountAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCrossAccountAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:globalaccelerator:getCrossAccountAttachment", { + "attachmentArn": args.attachmentArn, + }, opts); } export interface GetCrossAccountAttachmentOutputArgs { diff --git a/sdk/nodejs/globalaccelerator/getEndpointGroup.ts b/sdk/nodejs/globalaccelerator/getEndpointGroup.ts index 40c7b37330..11e8427a8d 100644 --- a/sdk/nodejs/globalaccelerator/getEndpointGroup.ts +++ b/sdk/nodejs/globalaccelerator/getEndpointGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::GlobalAccelerator::EndpointGroup */ export function getEndpointGroup(args: GetEndpointGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:globalaccelerator:getEndpointGroup", { "endpointGroupArn": args.endpointGroupArn, @@ -67,7 +66,10 @@ export interface GetEndpointGroupResult { * Resource Type definition for AWS::GlobalAccelerator::EndpointGroup */ export function getEndpointGroupOutput(args: GetEndpointGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEndpointGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:globalaccelerator:getEndpointGroup", { + "endpointGroupArn": args.endpointGroupArn, + }, opts); } export interface GetEndpointGroupOutputArgs { diff --git a/sdk/nodejs/globalaccelerator/getListener.ts b/sdk/nodejs/globalaccelerator/getListener.ts index 199259c22f..44c71ca0e9 100644 --- a/sdk/nodejs/globalaccelerator/getListener.ts +++ b/sdk/nodejs/globalaccelerator/getListener.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::GlobalAccelerator::Listener */ export function getListener(args: GetListenerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:globalaccelerator:getListener", { "listenerArn": args.listenerArn, @@ -47,7 +46,10 @@ export interface GetListenerResult { * Resource Type definition for AWS::GlobalAccelerator::Listener */ export function getListenerOutput(args: GetListenerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getListener(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:globalaccelerator:getListener", { + "listenerArn": args.listenerArn, + }, opts); } export interface GetListenerOutputArgs { diff --git a/sdk/nodejs/glue/getCrawler.ts b/sdk/nodejs/glue/getCrawler.ts index 3f04d964b2..402bb84b30 100644 --- a/sdk/nodejs/glue/getCrawler.ts +++ b/sdk/nodejs/glue/getCrawler.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Glue::Crawler */ export function getCrawler(args: GetCrawlerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:glue:getCrawler", { "name": args.name, @@ -87,7 +86,10 @@ export interface GetCrawlerResult { * Resource Type definition for AWS::Glue::Crawler */ export function getCrawlerOutput(args: GetCrawlerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCrawler(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:glue:getCrawler", { + "name": args.name, + }, opts); } export interface GetCrawlerOutputArgs { diff --git a/sdk/nodejs/glue/getDatabase.ts b/sdk/nodejs/glue/getDatabase.ts index ee79ad99a3..fee2a71179 100644 --- a/sdk/nodejs/glue/getDatabase.ts +++ b/sdk/nodejs/glue/getDatabase.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Glue::Database */ export function getDatabase(args: GetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:glue:getDatabase", { "databaseName": args.databaseName, @@ -39,7 +38,10 @@ export interface GetDatabaseResult { * Resource Type definition for AWS::Glue::Database */ export function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDatabase(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:glue:getDatabase", { + "databaseName": args.databaseName, + }, opts); } export interface GetDatabaseOutputArgs { diff --git a/sdk/nodejs/glue/getJob.ts b/sdk/nodejs/glue/getJob.ts index e7fd0f6e20..281c34d45f 100644 --- a/sdk/nodejs/glue/getJob.ts +++ b/sdk/nodejs/glue/getJob.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Glue::Job */ export function getJob(args: GetJobArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:glue:getJob", { "name": args.name, @@ -125,7 +124,10 @@ export interface GetJobResult { * Resource Type definition for AWS::Glue::Job */ export function getJobOutput(args: GetJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getJob(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:glue:getJob", { + "name": args.name, + }, opts); } export interface GetJobOutputArgs { diff --git a/sdk/nodejs/glue/getRegistry.ts b/sdk/nodejs/glue/getRegistry.ts index 5edb315ceb..9c26e63e19 100644 --- a/sdk/nodejs/glue/getRegistry.ts +++ b/sdk/nodejs/glue/getRegistry.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * This resource creates a Registry for authoring schemas as part of Glue Schema Registry. */ export function getRegistry(args: GetRegistryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:glue:getRegistry", { "arn": args.arn, @@ -43,7 +42,10 @@ export interface GetRegistryResult { * This resource creates a Registry for authoring schemas as part of Glue Schema Registry. */ export function getRegistryOutput(args: GetRegistryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRegistry(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:glue:getRegistry", { + "arn": args.arn, + }, opts); } export interface GetRegistryOutputArgs { diff --git a/sdk/nodejs/glue/getSchema.ts b/sdk/nodejs/glue/getSchema.ts index e0e1a0f38c..f7085ecb15 100644 --- a/sdk/nodejs/glue/getSchema.ts +++ b/sdk/nodejs/glue/getSchema.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * This resource represents a schema of Glue Schema Registry. */ export function getSchema(args: GetSchemaArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:glue:getSchema", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetSchemaResult { * This resource represents a schema of Glue Schema Registry. */ export function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSchema(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:glue:getSchema", { + "arn": args.arn, + }, opts); } export interface GetSchemaOutputArgs { diff --git a/sdk/nodejs/glue/getSchemaVersion.ts b/sdk/nodejs/glue/getSchemaVersion.ts index 93dfe39935..166adf95b9 100644 --- a/sdk/nodejs/glue/getSchemaVersion.ts +++ b/sdk/nodejs/glue/getSchemaVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * This resource represents an individual schema version of a schema defined in Glue Schema Registry. */ export function getSchemaVersion(args: GetSchemaVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:glue:getSchemaVersion", { "versionId": args.versionId, @@ -32,7 +31,10 @@ export interface GetSchemaVersionResult { * This resource represents an individual schema version of a schema defined in Glue Schema Registry. */ export function getSchemaVersionOutput(args: GetSchemaVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSchemaVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:glue:getSchemaVersion", { + "versionId": args.versionId, + }, opts); } export interface GetSchemaVersionOutputArgs { diff --git a/sdk/nodejs/glue/getTrigger.ts b/sdk/nodejs/glue/getTrigger.ts index 49599221c8..0d94672b8f 100644 --- a/sdk/nodejs/glue/getTrigger.ts +++ b/sdk/nodejs/glue/getTrigger.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Glue::Trigger */ export function getTrigger(args: GetTriggerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:glue:getTrigger", { "name": args.name, @@ -57,7 +56,10 @@ export interface GetTriggerResult { * Resource Type definition for AWS::Glue::Trigger */ export function getTriggerOutput(args: GetTriggerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTrigger(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:glue:getTrigger", { + "name": args.name, + }, opts); } export interface GetTriggerOutputArgs { diff --git a/sdk/nodejs/glue/getUsageProfile.ts b/sdk/nodejs/glue/getUsageProfile.ts index eb2503bce2..6e569f87cd 100644 --- a/sdk/nodejs/glue/getUsageProfile.ts +++ b/sdk/nodejs/glue/getUsageProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * This creates a Resource of UsageProfile type. */ export function getUsageProfile(args: GetUsageProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:glue:getUsageProfile", { "name": args.name, @@ -47,7 +46,10 @@ export interface GetUsageProfileResult { * This creates a Resource of UsageProfile type. */ export function getUsageProfileOutput(args: GetUsageProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUsageProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:glue:getUsageProfile", { + "name": args.name, + }, opts); } export interface GetUsageProfileOutputArgs { diff --git a/sdk/nodejs/grafana/getWorkspace.ts b/sdk/nodejs/grafana/getWorkspace.ts index bccad85d57..a082f3a425 100644 --- a/sdk/nodejs/grafana/getWorkspace.ts +++ b/sdk/nodejs/grafana/getWorkspace.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Grafana::Workspace Resource Type */ export function getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:grafana:getWorkspace", { "id": args.id, @@ -139,7 +138,10 @@ export interface GetWorkspaceResult { * Definition of AWS::Grafana::Workspace Resource Type */ export function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWorkspace(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:grafana:getWorkspace", { + "id": args.id, + }, opts); } export interface GetWorkspaceOutputArgs { diff --git a/sdk/nodejs/greengrassv2/getComponentVersion.ts b/sdk/nodejs/greengrassv2/getComponentVersion.ts index 12f7eb668d..033ed15c3a 100644 --- a/sdk/nodejs/greengrassv2/getComponentVersion.ts +++ b/sdk/nodejs/greengrassv2/getComponentVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource for Greengrass component version. */ export function getComponentVersion(args: GetComponentVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:greengrassv2:getComponentVersion", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetComponentVersionResult { * Resource for Greengrass component version. */ export function getComponentVersionOutput(args: GetComponentVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getComponentVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:greengrassv2:getComponentVersion", { + "arn": args.arn, + }, opts); } export interface GetComponentVersionOutputArgs { diff --git a/sdk/nodejs/greengrassv2/getDeployment.ts b/sdk/nodejs/greengrassv2/getDeployment.ts index 127669ae65..65ea5b1bd7 100644 --- a/sdk/nodejs/greengrassv2/getDeployment.ts +++ b/sdk/nodejs/greengrassv2/getDeployment.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource for Greengrass V2 deployment. */ export function getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:greengrassv2:getDeployment", { "deploymentId": args.deploymentId, @@ -43,7 +42,10 @@ export interface GetDeploymentResult { * Resource for Greengrass V2 deployment. */ export function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDeployment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:greengrassv2:getDeployment", { + "deploymentId": args.deploymentId, + }, opts); } export interface GetDeploymentOutputArgs { diff --git a/sdk/nodejs/groundstation/getConfig.ts b/sdk/nodejs/groundstation/getConfig.ts index ac65b44684..594b3d6a5a 100644 --- a/sdk/nodejs/groundstation/getConfig.ts +++ b/sdk/nodejs/groundstation/getConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS Ground Station config resource type for CloudFormation. */ export function getConfig(args: GetConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:groundstation:getConfig", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetConfigResult { * AWS Ground Station config resource type for CloudFormation. */ export function getConfigOutput(args: GetConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:groundstation:getConfig", { + "arn": args.arn, + }, opts); } export interface GetConfigOutputArgs { diff --git a/sdk/nodejs/groundstation/getDataflowEndpointGroup.ts b/sdk/nodejs/groundstation/getDataflowEndpointGroup.ts index fb3cb6c51b..1d26b23c62 100644 --- a/sdk/nodejs/groundstation/getDataflowEndpointGroup.ts +++ b/sdk/nodejs/groundstation/getDataflowEndpointGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS Ground Station DataflowEndpointGroup schema for CloudFormation */ export function getDataflowEndpointGroup(args: GetDataflowEndpointGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:groundstation:getDataflowEndpointGroup", { "id": args.id, @@ -55,7 +54,10 @@ export interface GetDataflowEndpointGroupResult { * AWS Ground Station DataflowEndpointGroup schema for CloudFormation */ export function getDataflowEndpointGroupOutput(args: GetDataflowEndpointGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataflowEndpointGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:groundstation:getDataflowEndpointGroup", { + "id": args.id, + }, opts); } export interface GetDataflowEndpointGroupOutputArgs { diff --git a/sdk/nodejs/groundstation/getMissionProfile.ts b/sdk/nodejs/groundstation/getMissionProfile.ts index cb0d506d12..9f5f0c3a47 100644 --- a/sdk/nodejs/groundstation/getMissionProfile.ts +++ b/sdk/nodejs/groundstation/getMissionProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS Ground Station Mission Profile resource type for CloudFormation. */ export function getMissionProfile(args: GetMissionProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:groundstation:getMissionProfile", { "arn": args.arn, @@ -84,7 +83,11 @@ export interface GetMissionProfileResult { * AWS Ground Station Mission Profile resource type for CloudFormation. */ export function getMissionProfileOutput(args: GetMissionProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMissionProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:groundstation:getMissionProfile", { + "arn": args.arn, + "id": args.id, + }, opts); } export interface GetMissionProfileOutputArgs { diff --git a/sdk/nodejs/guardduty/getDetector.ts b/sdk/nodejs/guardduty/getDetector.ts index b1a52085cf..8c619f2665 100644 --- a/sdk/nodejs/guardduty/getDetector.ts +++ b/sdk/nodejs/guardduty/getDetector.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::GuardDuty::Detector */ export function getDetector(args: GetDetectorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:guardduty:getDetector", { "id": args.id, @@ -59,7 +58,10 @@ export interface GetDetectorResult { * Resource Type definition for AWS::GuardDuty::Detector */ export function getDetectorOutput(args: GetDetectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDetector(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:guardduty:getDetector", { + "id": args.id, + }, opts); } export interface GetDetectorOutputArgs { diff --git a/sdk/nodejs/guardduty/getFilter.ts b/sdk/nodejs/guardduty/getFilter.ts index b38415a7b0..1a435bc3ea 100644 --- a/sdk/nodejs/guardduty/getFilter.ts +++ b/sdk/nodejs/guardduty/getFilter.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::GuardDuty::Filter */ export function getFilter(args: GetFilterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:guardduty:getFilter", { "detectorId": args.detectorId, @@ -63,7 +62,11 @@ export interface GetFilterResult { * Resource Type definition for AWS::GuardDuty::Filter */ export function getFilterOutput(args: GetFilterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFilter(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:guardduty:getFilter", { + "detectorId": args.detectorId, + "name": args.name, + }, opts); } export interface GetFilterOutputArgs { diff --git a/sdk/nodejs/guardduty/getIpSet.ts b/sdk/nodejs/guardduty/getIpSet.ts index 3d5096a66d..d500dc79bf 100644 --- a/sdk/nodejs/guardduty/getIpSet.ts +++ b/sdk/nodejs/guardduty/getIpSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::GuardDuty::IPSet */ export function getIpSet(args: GetIpSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:guardduty:getIpSet", { "detectorId": args.detectorId, @@ -53,7 +52,11 @@ export interface GetIpSetResult { * Resource Type definition for AWS::GuardDuty::IPSet */ export function getIpSetOutput(args: GetIpSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIpSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:guardduty:getIpSet", { + "detectorId": args.detectorId, + "id": args.id, + }, opts); } export interface GetIpSetOutputArgs { diff --git a/sdk/nodejs/guardduty/getMalwareProtectionPlan.ts b/sdk/nodejs/guardduty/getMalwareProtectionPlan.ts index 3e77f66c4a..49a18e35c4 100644 --- a/sdk/nodejs/guardduty/getMalwareProtectionPlan.ts +++ b/sdk/nodejs/guardduty/getMalwareProtectionPlan.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::GuardDuty::MalwareProtectionPlan */ export function getMalwareProtectionPlan(args: GetMalwareProtectionPlanArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:guardduty:getMalwareProtectionPlan", { "malwareProtectionPlanId": args.malwareProtectionPlanId, @@ -67,7 +66,10 @@ export interface GetMalwareProtectionPlanResult { * Resource Type definition for AWS::GuardDuty::MalwareProtectionPlan */ export function getMalwareProtectionPlanOutput(args: GetMalwareProtectionPlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMalwareProtectionPlan(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:guardduty:getMalwareProtectionPlan", { + "malwareProtectionPlanId": args.malwareProtectionPlanId, + }, opts); } export interface GetMalwareProtectionPlanOutputArgs { diff --git a/sdk/nodejs/guardduty/getMember.ts b/sdk/nodejs/guardduty/getMember.ts index 0c249cb14c..e30b1e5926 100644 --- a/sdk/nodejs/guardduty/getMember.ts +++ b/sdk/nodejs/guardduty/getMember.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::GuardDuty::Member */ export function getMember(args: GetMemberArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:guardduty:getMember", { "detectorId": args.detectorId, @@ -41,7 +40,11 @@ export interface GetMemberResult { * Resource Type definition for AWS::GuardDuty::Member */ export function getMemberOutput(args: GetMemberOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMember(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:guardduty:getMember", { + "detectorId": args.detectorId, + "memberId": args.memberId, + }, opts); } export interface GetMemberOutputArgs { diff --git a/sdk/nodejs/guardduty/getThreatIntelSet.ts b/sdk/nodejs/guardduty/getThreatIntelSet.ts index 1efee036e4..0cc52713f8 100644 --- a/sdk/nodejs/guardduty/getThreatIntelSet.ts +++ b/sdk/nodejs/guardduty/getThreatIntelSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::GuardDuty::ThreatIntelSet */ export function getThreatIntelSet(args: GetThreatIntelSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:guardduty:getThreatIntelSet", { "detectorId": args.detectorId, @@ -57,7 +56,11 @@ export interface GetThreatIntelSetResult { * Resource Type definition for AWS::GuardDuty::ThreatIntelSet */ export function getThreatIntelSetOutput(args: GetThreatIntelSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getThreatIntelSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:guardduty:getThreatIntelSet", { + "detectorId": args.detectorId, + "id": args.id, + }, opts); } export interface GetThreatIntelSetOutputArgs { diff --git a/sdk/nodejs/healthimaging/getDatastore.ts b/sdk/nodejs/healthimaging/getDatastore.ts index 8734466c55..fe803205e6 100644 --- a/sdk/nodejs/healthimaging/getDatastore.ts +++ b/sdk/nodejs/healthimaging/getDatastore.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::HealthImaging::Datastore Resource Type */ export function getDatastore(args: GetDatastoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:healthimaging:getDatastore", { "datastoreId": args.datastoreId, @@ -51,7 +50,10 @@ export interface GetDatastoreResult { * Definition of AWS::HealthImaging::Datastore Resource Type */ export function getDatastoreOutput(args: GetDatastoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDatastore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:healthimaging:getDatastore", { + "datastoreId": args.datastoreId, + }, opts); } export interface GetDatastoreOutputArgs { diff --git a/sdk/nodejs/healthlake/getFhirDatastore.ts b/sdk/nodejs/healthlake/getFhirDatastore.ts index 4274fe8956..f65d9e9e43 100644 --- a/sdk/nodejs/healthlake/getFhirDatastore.ts +++ b/sdk/nodejs/healthlake/getFhirDatastore.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * HealthLake FHIR Datastore */ export function getFhirDatastore(args: GetFhirDatastoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:healthlake:getFhirDatastore", { "datastoreId": args.datastoreId, @@ -54,7 +53,10 @@ export interface GetFhirDatastoreResult { * HealthLake FHIR Datastore */ export function getFhirDatastoreOutput(args: GetFhirDatastoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFhirDatastore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:healthlake:getFhirDatastore", { + "datastoreId": args.datastoreId, + }, opts); } export interface GetFhirDatastoreOutputArgs { diff --git a/sdk/nodejs/iam/getGroup.ts b/sdk/nodejs/iam/getGroup.ts index 6d099b8b9b..df98ebe70c 100644 --- a/sdk/nodejs/iam/getGroup.ts +++ b/sdk/nodejs/iam/getGroup.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * For information about the number of groups you can create, see [Limitations on Entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) in the *User Guide*. */ export function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getGroup", { "groupName": args.groupName, @@ -58,7 +57,10 @@ export interface GetGroupResult { * For information about the number of groups you can create, see [Limitations on Entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) in the *User Guide*. */ export function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getGroup", { + "groupName": args.groupName, + }, opts); } export interface GetGroupOutputArgs { diff --git a/sdk/nodejs/iam/getGroupPolicy.ts b/sdk/nodejs/iam/getGroupPolicy.ts index 096ac75184..d084a45b07 100644 --- a/sdk/nodejs/iam/getGroupPolicy.ts +++ b/sdk/nodejs/iam/getGroupPolicy.ts @@ -10,7 +10,6 @@ import * as utilities from "../utilities"; * For information about the maximum number of inline policies that you can embed in a group, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*. */ export function getGroupPolicy(args: GetGroupPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getGroupPolicy", { "groupName": args.groupName, @@ -50,7 +49,11 @@ export interface GetGroupPolicyResult { * For information about the maximum number of inline policies that you can embed in a group, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*. */ export function getGroupPolicyOutput(args: GetGroupPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGroupPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getGroupPolicy", { + "groupName": args.groupName, + "policyName": args.policyName, + }, opts); } export interface GetGroupPolicyOutputArgs { diff --git a/sdk/nodejs/iam/getInstanceProfile.ts b/sdk/nodejs/iam/getInstanceProfile.ts index 04d1189017..dabc8a5efe 100644 --- a/sdk/nodejs/iam/getInstanceProfile.ts +++ b/sdk/nodejs/iam/getInstanceProfile.ts @@ -9,7 +9,6 @@ import * as utilities from "../utilities"; * For information about the number of instance profiles you can create, see [object quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *User Guide*. */ export function getInstanceProfile(args: GetInstanceProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getInstanceProfile", { "instanceProfileName": args.instanceProfileName, @@ -43,7 +42,10 @@ export interface GetInstanceProfileResult { * For information about the number of instance profiles you can create, see [object quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *User Guide*. */ export function getInstanceProfileOutput(args: GetInstanceProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInstanceProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getInstanceProfile", { + "instanceProfileName": args.instanceProfileName, + }, opts); } export interface GetInstanceProfileOutputArgs { diff --git a/sdk/nodejs/iam/getManagedPolicy.ts b/sdk/nodejs/iam/getManagedPolicy.ts index ea408c349a..9e49abdfaa 100644 --- a/sdk/nodejs/iam/getManagedPolicy.ts +++ b/sdk/nodejs/iam/getManagedPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * For more information about managed policies in general, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*. */ export function getManagedPolicy(args: GetManagedPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getManagedPolicy", { "policyArn": args.policyArn, @@ -68,7 +67,10 @@ export interface GetManagedPolicyResult { * For more information about managed policies in general, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*. */ export function getManagedPolicyOutput(args: GetManagedPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getManagedPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getManagedPolicy", { + "policyArn": args.policyArn, + }, opts); } export interface GetManagedPolicyOutputArgs { diff --git a/sdk/nodejs/iam/getOidcProvider.ts b/sdk/nodejs/iam/getOidcProvider.ts index d8473769d9..1b05c91eed 100644 --- a/sdk/nodejs/iam/getOidcProvider.ts +++ b/sdk/nodejs/iam/getOidcProvider.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IAM::OIDCProvider */ export function getOidcProvider(args: GetOidcProviderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getOidcProvider", { "arn": args.arn, @@ -49,7 +48,10 @@ export interface GetOidcProviderResult { * Resource Type definition for AWS::IAM::OIDCProvider */ export function getOidcProviderOutput(args: GetOidcProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOidcProvider(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getOidcProvider", { + "arn": args.arn, + }, opts); } export interface GetOidcProviderOutputArgs { diff --git a/sdk/nodejs/iam/getRole.ts b/sdk/nodejs/iam/getRole.ts index 084ddfeef8..d049daf9c4 100644 --- a/sdk/nodejs/iam/getRole.ts +++ b/sdk/nodejs/iam/getRole.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * For more information about roles, see [IAM roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html) in the *IAM User Guide*. For information about quotas for role names and the number of roles you can create, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*. */ export function getRole(args: GetRoleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getRole", { "roleName": args.roleName, @@ -96,7 +95,10 @@ export interface GetRoleResult { * For more information about roles, see [IAM roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html) in the *IAM User Guide*. For information about quotas for role names and the number of roles you can create, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*. */ export function getRoleOutput(args: GetRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRole(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getRole", { + "roleName": args.roleName, + }, opts); } export interface GetRoleOutputArgs { diff --git a/sdk/nodejs/iam/getRolePolicy.ts b/sdk/nodejs/iam/getRolePolicy.ts index 47c03c5ae5..ee579d6fd0 100644 --- a/sdk/nodejs/iam/getRolePolicy.ts +++ b/sdk/nodejs/iam/getRolePolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * For information about the maximum number of inline policies that you can embed with a role, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*. */ export function getRolePolicy(args: GetRolePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getRolePolicy", { "policyName": args.policyName, @@ -52,7 +51,11 @@ export interface GetRolePolicyResult { * For information about the maximum number of inline policies that you can embed with a role, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*. */ export function getRolePolicyOutput(args: GetRolePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRolePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getRolePolicy", { + "policyName": args.policyName, + "roleName": args.roleName, + }, opts); } export interface GetRolePolicyOutputArgs { diff --git a/sdk/nodejs/iam/getSamlProvider.ts b/sdk/nodejs/iam/getSamlProvider.ts index 7ee70e91e3..28873cbab5 100644 --- a/sdk/nodejs/iam/getSamlProvider.ts +++ b/sdk/nodejs/iam/getSamlProvider.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IAM::SAMLProvider */ export function getSamlProvider(args: GetSamlProviderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getSamlProvider", { "arn": args.arn, @@ -47,7 +46,10 @@ export interface GetSamlProviderResult { * Resource Type definition for AWS::IAM::SAMLProvider */ export function getSamlProviderOutput(args: GetSamlProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSamlProvider(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getSamlProvider", { + "arn": args.arn, + }, opts); } export interface GetSamlProviderOutputArgs { diff --git a/sdk/nodejs/iam/getServerCertificate.ts b/sdk/nodejs/iam/getServerCertificate.ts index 7f6ea4799f..fb9c9f342d 100644 --- a/sdk/nodejs/iam/getServerCertificate.ts +++ b/sdk/nodejs/iam/getServerCertificate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IAM::ServerCertificate */ export function getServerCertificate(args: GetServerCertificateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getServerCertificate", { "serverCertificateName": args.serverCertificateName, @@ -49,7 +48,10 @@ export interface GetServerCertificateResult { * Resource Type definition for AWS::IAM::ServerCertificate */ export function getServerCertificateOutput(args: GetServerCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServerCertificate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getServerCertificate", { + "serverCertificateName": args.serverCertificateName, + }, opts); } export interface GetServerCertificateOutputArgs { diff --git a/sdk/nodejs/iam/getServiceLinkedRole.ts b/sdk/nodejs/iam/getServiceLinkedRole.ts index 2c963dea53..202571ffd4 100644 --- a/sdk/nodejs/iam/getServiceLinkedRole.ts +++ b/sdk/nodejs/iam/getServiceLinkedRole.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IAM::ServiceLinkedRole */ export function getServiceLinkedRole(args: GetServiceLinkedRoleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getServiceLinkedRole", { "roleName": args.roleName, @@ -36,7 +35,10 @@ export interface GetServiceLinkedRoleResult { * Resource Type definition for AWS::IAM::ServiceLinkedRole */ export function getServiceLinkedRoleOutput(args: GetServiceLinkedRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServiceLinkedRole(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getServiceLinkedRole", { + "roleName": args.roleName, + }, opts); } export interface GetServiceLinkedRoleOutputArgs { diff --git a/sdk/nodejs/iam/getUser.ts b/sdk/nodejs/iam/getUser.ts index 7ed09a12af..0e1d4aefb5 100644 --- a/sdk/nodejs/iam/getUser.ts +++ b/sdk/nodejs/iam/getUser.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * For information about quotas for the number of IAM users you can create, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*. */ export function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getUser", { "userName": args.userName, @@ -79,7 +78,10 @@ export interface GetUserResult { * For information about quotas for the number of IAM users you can create, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*. */ export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUser(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getUser", { + "userName": args.userName, + }, opts); } export interface GetUserOutputArgs { diff --git a/sdk/nodejs/iam/getUserPolicy.ts b/sdk/nodejs/iam/getUserPolicy.ts index e839718c31..cbffeb4bbd 100644 --- a/sdk/nodejs/iam/getUserPolicy.ts +++ b/sdk/nodejs/iam/getUserPolicy.ts @@ -10,7 +10,6 @@ import * as utilities from "../utilities"; * For information about the maximum number of inline policies that you can embed in a user, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*. */ export function getUserPolicy(args: GetUserPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getUserPolicy", { "policyName": args.policyName, @@ -50,7 +49,11 @@ export interface GetUserPolicyResult { * For information about the maximum number of inline policies that you can embed in a user, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*. */ export function getUserPolicyOutput(args: GetUserPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getUserPolicy", { + "policyName": args.policyName, + "userName": args.userName, + }, opts); } export interface GetUserPolicyOutputArgs { diff --git a/sdk/nodejs/iam/getVirtualMfaDevice.ts b/sdk/nodejs/iam/getVirtualMfaDevice.ts index c6bb40f8a4..d957ad4503 100644 --- a/sdk/nodejs/iam/getVirtualMfaDevice.ts +++ b/sdk/nodejs/iam/getVirtualMfaDevice.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IAM::VirtualMFADevice */ export function getVirtualMfaDevice(args: GetVirtualMfaDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iam:getVirtualMfaDevice", { "serialNumber": args.serialNumber, @@ -45,7 +44,10 @@ export interface GetVirtualMfaDeviceResult { * Resource Type definition for AWS::IAM::VirtualMFADevice */ export function getVirtualMfaDeviceOutput(args: GetVirtualMfaDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVirtualMfaDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iam:getVirtualMfaDevice", { + "serialNumber": args.serialNumber, + }, opts); } export interface GetVirtualMfaDeviceOutputArgs { diff --git a/sdk/nodejs/identitystore/getGroup.ts b/sdk/nodejs/identitystore/getGroup.ts index 28bb59dbb3..6fd9641cbf 100644 --- a/sdk/nodejs/identitystore/getGroup.ts +++ b/sdk/nodejs/identitystore/getGroup.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IdentityStore::Group */ export function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:identitystore:getGroup", { "groupId": args.groupId, @@ -45,7 +44,11 @@ export interface GetGroupResult { * Resource Type definition for AWS::IdentityStore::Group */ export function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:identitystore:getGroup", { + "groupId": args.groupId, + "identityStoreId": args.identityStoreId, + }, opts); } export interface GetGroupOutputArgs { diff --git a/sdk/nodejs/identitystore/getGroupMembership.ts b/sdk/nodejs/identitystore/getGroupMembership.ts index e7dc782d72..d6e3bcca4a 100644 --- a/sdk/nodejs/identitystore/getGroupMembership.ts +++ b/sdk/nodejs/identitystore/getGroupMembership.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type Definition for AWS:IdentityStore::GroupMembership */ export function getGroupMembership(args: GetGroupMembershipArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:identitystore:getGroupMembership", { "identityStoreId": args.identityStoreId, @@ -37,7 +36,11 @@ export interface GetGroupMembershipResult { * Resource Type Definition for AWS:IdentityStore::GroupMembership */ export function getGroupMembershipOutput(args: GetGroupMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGroupMembership(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:identitystore:getGroupMembership", { + "identityStoreId": args.identityStoreId, + "membershipId": args.membershipId, + }, opts); } export interface GetGroupMembershipOutputArgs { diff --git a/sdk/nodejs/imagebuilder/getComponent.ts b/sdk/nodejs/imagebuilder/getComponent.ts index 7a0a001337..367e190bc4 100644 --- a/sdk/nodejs/imagebuilder/getComponent.ts +++ b/sdk/nodejs/imagebuilder/getComponent.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::ImageBuilder::Component */ export function getComponent(args: GetComponentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:imagebuilder:getComponent", { "arn": args.arn, @@ -43,7 +42,10 @@ export interface GetComponentResult { * Resource schema for AWS::ImageBuilder::Component */ export function getComponentOutput(args: GetComponentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getComponent(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:imagebuilder:getComponent", { + "arn": args.arn, + }, opts); } export interface GetComponentOutputArgs { diff --git a/sdk/nodejs/imagebuilder/getContainerRecipe.ts b/sdk/nodejs/imagebuilder/getContainerRecipe.ts index 192dc3dcae..251a60199d 100644 --- a/sdk/nodejs/imagebuilder/getContainerRecipe.ts +++ b/sdk/nodejs/imagebuilder/getContainerRecipe.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::ImageBuilder::ContainerRecipe */ export function getContainerRecipe(args: GetContainerRecipeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:imagebuilder:getContainerRecipe", { "arn": args.arn, @@ -32,7 +31,10 @@ export interface GetContainerRecipeResult { * Resource schema for AWS::ImageBuilder::ContainerRecipe */ export function getContainerRecipeOutput(args: GetContainerRecipeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getContainerRecipe(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:imagebuilder:getContainerRecipe", { + "arn": args.arn, + }, opts); } export interface GetContainerRecipeOutputArgs { diff --git a/sdk/nodejs/imagebuilder/getDistributionConfiguration.ts b/sdk/nodejs/imagebuilder/getDistributionConfiguration.ts index 33cef0d2df..42eb8f7f5c 100644 --- a/sdk/nodejs/imagebuilder/getDistributionConfiguration.ts +++ b/sdk/nodejs/imagebuilder/getDistributionConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::ImageBuilder::DistributionConfiguration */ export function getDistributionConfiguration(args: GetDistributionConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:imagebuilder:getDistributionConfiguration", { "arn": args.arn, @@ -47,7 +46,10 @@ export interface GetDistributionConfigurationResult { * Resource schema for AWS::ImageBuilder::DistributionConfiguration */ export function getDistributionConfigurationOutput(args: GetDistributionConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDistributionConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:imagebuilder:getDistributionConfiguration", { + "arn": args.arn, + }, opts); } export interface GetDistributionConfigurationOutputArgs { diff --git a/sdk/nodejs/imagebuilder/getImage.ts b/sdk/nodejs/imagebuilder/getImage.ts index a76706e680..f5a30ecb18 100644 --- a/sdk/nodejs/imagebuilder/getImage.ts +++ b/sdk/nodejs/imagebuilder/getImage.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::ImageBuilder::Image */ export function getImage(args: GetImageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:imagebuilder:getImage", { "arn": args.arn, @@ -48,7 +47,10 @@ export interface GetImageResult { * Resource schema for AWS::ImageBuilder::Image */ export function getImageOutput(args: GetImageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getImage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:imagebuilder:getImage", { + "arn": args.arn, + }, opts); } export interface GetImageOutputArgs { diff --git a/sdk/nodejs/imagebuilder/getImagePipeline.ts b/sdk/nodejs/imagebuilder/getImagePipeline.ts index 7baaa91266..69233a8f9f 100644 --- a/sdk/nodejs/imagebuilder/getImagePipeline.ts +++ b/sdk/nodejs/imagebuilder/getImagePipeline.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::ImageBuilder::ImagePipeline */ export function getImagePipeline(args: GetImagePipelineArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:imagebuilder:getImagePipeline", { "arn": args.arn, @@ -87,7 +86,10 @@ export interface GetImagePipelineResult { * Resource schema for AWS::ImageBuilder::ImagePipeline */ export function getImagePipelineOutput(args: GetImagePipelineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getImagePipeline(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:imagebuilder:getImagePipeline", { + "arn": args.arn, + }, opts); } export interface GetImagePipelineOutputArgs { diff --git a/sdk/nodejs/imagebuilder/getImageRecipe.ts b/sdk/nodejs/imagebuilder/getImageRecipe.ts index ad8dd7a91c..425a0ef277 100644 --- a/sdk/nodejs/imagebuilder/getImageRecipe.ts +++ b/sdk/nodejs/imagebuilder/getImageRecipe.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::ImageBuilder::ImageRecipe */ export function getImageRecipe(args: GetImageRecipeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:imagebuilder:getImageRecipe", { "arn": args.arn, @@ -39,7 +38,10 @@ export interface GetImageRecipeResult { * Resource schema for AWS::ImageBuilder::ImageRecipe */ export function getImageRecipeOutput(args: GetImageRecipeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getImageRecipe(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:imagebuilder:getImageRecipe", { + "arn": args.arn, + }, opts); } export interface GetImageRecipeOutputArgs { diff --git a/sdk/nodejs/imagebuilder/getInfrastructureConfiguration.ts b/sdk/nodejs/imagebuilder/getInfrastructureConfiguration.ts index 8de6f7bf2a..bacf66d33a 100644 --- a/sdk/nodejs/imagebuilder/getInfrastructureConfiguration.ts +++ b/sdk/nodejs/imagebuilder/getInfrastructureConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::ImageBuilder::InfrastructureConfiguration */ export function getInfrastructureConfiguration(args: GetInfrastructureConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:imagebuilder:getInfrastructureConfiguration", { "arn": args.arn, @@ -83,7 +82,10 @@ export interface GetInfrastructureConfigurationResult { * Resource schema for AWS::ImageBuilder::InfrastructureConfiguration */ export function getInfrastructureConfigurationOutput(args: GetInfrastructureConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInfrastructureConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:imagebuilder:getInfrastructureConfiguration", { + "arn": args.arn, + }, opts); } export interface GetInfrastructureConfigurationOutputArgs { diff --git a/sdk/nodejs/imagebuilder/getLifecyclePolicy.ts b/sdk/nodejs/imagebuilder/getLifecyclePolicy.ts index 942f209129..bb6ba86732 100644 --- a/sdk/nodejs/imagebuilder/getLifecyclePolicy.ts +++ b/sdk/nodejs/imagebuilder/getLifecyclePolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::ImageBuilder::LifecyclePolicy */ export function getLifecyclePolicy(args: GetLifecyclePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:imagebuilder:getLifecyclePolicy", { "arn": args.arn, @@ -63,7 +62,10 @@ export interface GetLifecyclePolicyResult { * Resource schema for AWS::ImageBuilder::LifecyclePolicy */ export function getLifecyclePolicyOutput(args: GetLifecyclePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLifecyclePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:imagebuilder:getLifecyclePolicy", { + "arn": args.arn, + }, opts); } export interface GetLifecyclePolicyOutputArgs { diff --git a/sdk/nodejs/imagebuilder/getWorkflow.ts b/sdk/nodejs/imagebuilder/getWorkflow.ts index 862e3ae842..c54463ae9e 100644 --- a/sdk/nodejs/imagebuilder/getWorkflow.ts +++ b/sdk/nodejs/imagebuilder/getWorkflow.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::ImageBuilder::Workflow */ export function getWorkflow(args: GetWorkflowArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:imagebuilder:getWorkflow", { "arn": args.arn, @@ -32,7 +31,10 @@ export interface GetWorkflowResult { * Resource schema for AWS::ImageBuilder::Workflow */ export function getWorkflowOutput(args: GetWorkflowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWorkflow(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:imagebuilder:getWorkflow", { + "arn": args.arn, + }, opts); } export interface GetWorkflowOutputArgs { diff --git a/sdk/nodejs/importValue.ts b/sdk/nodejs/importValue.ts index a30bbb3837..33581d617c 100644 --- a/sdk/nodejs/importValue.ts +++ b/sdk/nodejs/importValue.ts @@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; export function importValue(args: ImportValueArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:index:importValue", { "name": args.name, @@ -20,7 +19,10 @@ export interface ImportValueResult { readonly value?: any; } export function importValueOutput(args: ImportValueOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => importValue(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:index:importValue", { + "name": args.name, + }, opts); } export interface ImportValueOutputArgs { diff --git a/sdk/nodejs/inspector/getAssessmentTarget.ts b/sdk/nodejs/inspector/getAssessmentTarget.ts index 9097299130..9b392eb056 100644 --- a/sdk/nodejs/inspector/getAssessmentTarget.ts +++ b/sdk/nodejs/inspector/getAssessmentTarget.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Inspector::AssessmentTarget */ export function getAssessmentTarget(args: GetAssessmentTargetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:inspector:getAssessmentTarget", { "arn": args.arn, @@ -36,7 +35,10 @@ export interface GetAssessmentTargetResult { * Resource Type definition for AWS::Inspector::AssessmentTarget */ export function getAssessmentTargetOutput(args: GetAssessmentTargetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAssessmentTarget(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:inspector:getAssessmentTarget", { + "arn": args.arn, + }, opts); } export interface GetAssessmentTargetOutputArgs { diff --git a/sdk/nodejs/inspector/getAssessmentTemplate.ts b/sdk/nodejs/inspector/getAssessmentTemplate.ts index 526dd3d12a..f03e0ac4b8 100644 --- a/sdk/nodejs/inspector/getAssessmentTemplate.ts +++ b/sdk/nodejs/inspector/getAssessmentTemplate.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Inspector::AssessmentTemplate */ export function getAssessmentTemplate(args: GetAssessmentTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:inspector:getAssessmentTemplate", { "arn": args.arn, @@ -32,7 +31,10 @@ export interface GetAssessmentTemplateResult { * Resource Type definition for AWS::Inspector::AssessmentTemplate */ export function getAssessmentTemplateOutput(args: GetAssessmentTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAssessmentTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:inspector:getAssessmentTemplate", { + "arn": args.arn, + }, opts); } export interface GetAssessmentTemplateOutputArgs { diff --git a/sdk/nodejs/inspector/getResourceGroup.ts b/sdk/nodejs/inspector/getResourceGroup.ts index 020266e70c..07febaa25d 100644 --- a/sdk/nodejs/inspector/getResourceGroup.ts +++ b/sdk/nodejs/inspector/getResourceGroup.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Inspector::ResourceGroup */ export function getResourceGroup(args: GetResourceGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:inspector:getResourceGroup", { "arn": args.arn, @@ -32,7 +31,10 @@ export interface GetResourceGroupResult { * Resource Type definition for AWS::Inspector::ResourceGroup */ export function getResourceGroupOutput(args: GetResourceGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourceGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:inspector:getResourceGroup", { + "arn": args.arn, + }, opts); } export interface GetResourceGroupOutputArgs { diff --git a/sdk/nodejs/inspectorv2/getCisScanConfiguration.ts b/sdk/nodejs/inspectorv2/getCisScanConfiguration.ts index d2ef24599d..911657b83f 100644 --- a/sdk/nodejs/inspectorv2/getCisScanConfiguration.ts +++ b/sdk/nodejs/inspectorv2/getCisScanConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * CIS Scan Configuration resource schema */ export function getCisScanConfiguration(args: GetCisScanConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:inspectorv2:getCisScanConfiguration", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetCisScanConfigurationResult { * CIS Scan Configuration resource schema */ export function getCisScanConfigurationOutput(args: GetCisScanConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCisScanConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:inspectorv2:getCisScanConfiguration", { + "arn": args.arn, + }, opts); } export interface GetCisScanConfigurationOutputArgs { diff --git a/sdk/nodejs/inspectorv2/getFilter.ts b/sdk/nodejs/inspectorv2/getFilter.ts index 4004662d80..678321451a 100644 --- a/sdk/nodejs/inspectorv2/getFilter.ts +++ b/sdk/nodejs/inspectorv2/getFilter.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Inspector Filter resource schema */ export function getFilter(args: GetFilterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:inspectorv2:getFilter", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetFilterResult { * Inspector Filter resource schema */ export function getFilterOutput(args: GetFilterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFilter(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:inspectorv2:getFilter", { + "arn": args.arn, + }, opts); } export interface GetFilterOutputArgs { diff --git a/sdk/nodejs/internetmonitor/getMonitor.ts b/sdk/nodejs/internetmonitor/getMonitor.ts index 2a49dc13b9..304b6f1ddc 100644 --- a/sdk/nodejs/internetmonitor/getMonitor.ts +++ b/sdk/nodejs/internetmonitor/getMonitor.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a monitor, which defines the monitoring boundaries for measurements that Internet Monitor publishes information about for an application */ export function getMonitor(args: GetMonitorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:internetmonitor:getMonitor", { "monitorName": args.monitorName, @@ -93,7 +92,10 @@ export interface GetMonitorResult { * Represents a monitor, which defines the monitoring boundaries for measurements that Internet Monitor publishes information about for an application */ export function getMonitorOutput(args: GetMonitorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMonitor(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:internetmonitor:getMonitor", { + "monitorName": args.monitorName, + }, opts); } export interface GetMonitorOutputArgs { diff --git a/sdk/nodejs/iot/getAccountAuditConfiguration.ts b/sdk/nodejs/iot/getAccountAuditConfiguration.ts index 2cdcf19905..7c7e13a219 100644 --- a/sdk/nodejs/iot/getAccountAuditConfiguration.ts +++ b/sdk/nodejs/iot/getAccountAuditConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Configures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled. */ export function getAccountAuditConfiguration(args: GetAccountAuditConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getAccountAuditConfiguration", { "accountId": args.accountId, @@ -51,7 +50,10 @@ export interface GetAccountAuditConfigurationResult { * Configures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled. */ export function getAccountAuditConfigurationOutput(args: GetAccountAuditConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccountAuditConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getAccountAuditConfiguration", { + "accountId": args.accountId, + }, opts); } export interface GetAccountAuditConfigurationOutputArgs { diff --git a/sdk/nodejs/iot/getAuthorizer.ts b/sdk/nodejs/iot/getAuthorizer.ts index 76775a6971..0412736b74 100644 --- a/sdk/nodejs/iot/getAuthorizer.ts +++ b/sdk/nodejs/iot/getAuthorizer.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates an authorizer. */ export function getAuthorizer(args: GetAuthorizerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getAuthorizer", { "authorizerName": args.authorizerName, @@ -67,7 +66,10 @@ export interface GetAuthorizerResult { * Creates an authorizer. */ export function getAuthorizerOutput(args: GetAuthorizerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAuthorizer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getAuthorizer", { + "authorizerName": args.authorizerName, + }, opts); } export interface GetAuthorizerOutputArgs { diff --git a/sdk/nodejs/iot/getBillingGroup.ts b/sdk/nodejs/iot/getBillingGroup.ts index 6d91198201..f762dd7b7f 100644 --- a/sdk/nodejs/iot/getBillingGroup.ts +++ b/sdk/nodejs/iot/getBillingGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IoT::BillingGroup */ export function getBillingGroup(args: GetBillingGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getBillingGroup", { "billingGroupName": args.billingGroupName, @@ -47,7 +46,10 @@ export interface GetBillingGroupResult { * Resource Type definition for AWS::IoT::BillingGroup */ export function getBillingGroupOutput(args: GetBillingGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBillingGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getBillingGroup", { + "billingGroupName": args.billingGroupName, + }, opts); } export interface GetBillingGroupOutputArgs { diff --git a/sdk/nodejs/iot/getCaCertificate.ts b/sdk/nodejs/iot/getCaCertificate.ts index abca2af804..1ae6a6cace 100644 --- a/sdk/nodejs/iot/getCaCertificate.ts +++ b/sdk/nodejs/iot/getCaCertificate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Registers a CA Certificate in IoT. */ export function getCaCertificate(args: GetCaCertificateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getCaCertificate", { "id": args.id, @@ -63,7 +62,10 @@ export interface GetCaCertificateResult { * Registers a CA Certificate in IoT. */ export function getCaCertificateOutput(args: GetCaCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCaCertificate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getCaCertificate", { + "id": args.id, + }, opts); } export interface GetCaCertificateOutputArgs { diff --git a/sdk/nodejs/iot/getCertificate.ts b/sdk/nodejs/iot/getCertificate.ts index 4b4a63eae5..fbb9614aa7 100644 --- a/sdk/nodejs/iot/getCertificate.ts +++ b/sdk/nodejs/iot/getCertificate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Use the AWS::IoT::Certificate resource to declare an AWS IoT X.509 certificate. */ export function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getCertificate", { "id": args.id, @@ -53,7 +52,10 @@ export interface GetCertificateResult { * Use the AWS::IoT::Certificate resource to declare an AWS IoT X.509 certificate. */ export function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCertificate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getCertificate", { + "id": args.id, + }, opts); } export interface GetCertificateOutputArgs { diff --git a/sdk/nodejs/iot/getCertificateProvider.ts b/sdk/nodejs/iot/getCertificateProvider.ts index 6905970eef..d89b17c72f 100644 --- a/sdk/nodejs/iot/getCertificateProvider.ts +++ b/sdk/nodejs/iot/getCertificateProvider.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Use the AWS::IoT::CertificateProvider resource to declare an AWS IoT Certificate Provider. */ export function getCertificateProvider(args: GetCertificateProviderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getCertificateProvider", { "certificateProviderName": args.certificateProviderName, @@ -53,7 +52,10 @@ export interface GetCertificateProviderResult { * Use the AWS::IoT::CertificateProvider resource to declare an AWS IoT Certificate Provider. */ export function getCertificateProviderOutput(args: GetCertificateProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCertificateProvider(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getCertificateProvider", { + "certificateProviderName": args.certificateProviderName, + }, opts); } export interface GetCertificateProviderOutputArgs { diff --git a/sdk/nodejs/iot/getCustomMetric.ts b/sdk/nodejs/iot/getCustomMetric.ts index ff80859ad9..1d5841f361 100644 --- a/sdk/nodejs/iot/getCustomMetric.ts +++ b/sdk/nodejs/iot/getCustomMetric.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A custom metric published by your devices to Device Defender. */ export function getCustomMetric(args: GetCustomMetricArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getCustomMetric", { "metricName": args.metricName, @@ -43,7 +42,10 @@ export interface GetCustomMetricResult { * A custom metric published by your devices to Device Defender. */ export function getCustomMetricOutput(args: GetCustomMetricOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCustomMetric(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getCustomMetric", { + "metricName": args.metricName, + }, opts); } export interface GetCustomMetricOutputArgs { diff --git a/sdk/nodejs/iot/getDimension.ts b/sdk/nodejs/iot/getDimension.ts index 56d9465151..fc0a82898f 100644 --- a/sdk/nodejs/iot/getDimension.ts +++ b/sdk/nodejs/iot/getDimension.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A dimension can be used to limit the scope of a metric used in a security profile for AWS IoT Device Defender. */ export function getDimension(args: GetDimensionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getDimension", { "name": args.name, @@ -43,7 +42,10 @@ export interface GetDimensionResult { * A dimension can be used to limit the scope of a metric used in a security profile for AWS IoT Device Defender. */ export function getDimensionOutput(args: GetDimensionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDimension(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getDimension", { + "name": args.name, + }, opts); } export interface GetDimensionOutputArgs { diff --git a/sdk/nodejs/iot/getDomainConfiguration.ts b/sdk/nodejs/iot/getDomainConfiguration.ts index 5b7c378b39..4a9a55bee7 100644 --- a/sdk/nodejs/iot/getDomainConfiguration.ts +++ b/sdk/nodejs/iot/getDomainConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Create and manage a Domain Configuration */ export function getDomainConfiguration(args: GetDomainConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getDomainConfiguration", { "domainConfigurationName": args.domainConfigurationName, @@ -91,7 +90,10 @@ export interface GetDomainConfigurationResult { * Create and manage a Domain Configuration */ export function getDomainConfigurationOutput(args: GetDomainConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomainConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getDomainConfiguration", { + "domainConfigurationName": args.domainConfigurationName, + }, opts); } export interface GetDomainConfigurationOutputArgs { diff --git a/sdk/nodejs/iot/getFleetMetric.ts b/sdk/nodejs/iot/getFleetMetric.ts index 2c4522e2d2..ed8ffd8e43 100644 --- a/sdk/nodejs/iot/getFleetMetric.ts +++ b/sdk/nodejs/iot/getFleetMetric.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An aggregated metric of certain devices in your fleet */ export function getFleetMetric(args: GetFleetMetricArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getFleetMetric", { "metricName": args.metricName, @@ -83,7 +82,10 @@ export interface GetFleetMetricResult { * An aggregated metric of certain devices in your fleet */ export function getFleetMetricOutput(args: GetFleetMetricOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFleetMetric(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getFleetMetric", { + "metricName": args.metricName, + }, opts); } export interface GetFleetMetricOutputArgs { diff --git a/sdk/nodejs/iot/getJobTemplate.ts b/sdk/nodejs/iot/getJobTemplate.ts index a77e397945..22d2f5d754 100644 --- a/sdk/nodejs/iot/getJobTemplate.ts +++ b/sdk/nodejs/iot/getJobTemplate.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Job templates enable you to preconfigure jobs so that you can deploy them to multiple sets of target devices. */ export function getJobTemplate(args: GetJobTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getJobTemplate", { "jobTemplateId": args.jobTemplateId, @@ -32,7 +31,10 @@ export interface GetJobTemplateResult { * Job templates enable you to preconfigure jobs so that you can deploy them to multiple sets of target devices. */ export function getJobTemplateOutput(args: GetJobTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getJobTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getJobTemplate", { + "jobTemplateId": args.jobTemplateId, + }, opts); } export interface GetJobTemplateOutputArgs { diff --git a/sdk/nodejs/iot/getLogging.ts b/sdk/nodejs/iot/getLogging.ts index 655d212cb1..99bade49c4 100644 --- a/sdk/nodejs/iot/getLogging.ts +++ b/sdk/nodejs/iot/getLogging.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Logging Options enable you to configure your IoT V2 logging role and default logging level so that you can monitor progress events logs as it passes from your devices through Iot core service. */ export function getLogging(args: GetLoggingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getLogging", { "accountId": args.accountId, @@ -39,7 +38,10 @@ export interface GetLoggingResult { * Logging Options enable you to configure your IoT V2 logging role and default logging level so that you can monitor progress events logs as it passes from your devices through Iot core service. */ export function getLoggingOutput(args: GetLoggingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLogging(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getLogging", { + "accountId": args.accountId, + }, opts); } export interface GetLoggingOutputArgs { diff --git a/sdk/nodejs/iot/getMitigationAction.ts b/sdk/nodejs/iot/getMitigationAction.ts index 5d563f00a9..836b078798 100644 --- a/sdk/nodejs/iot/getMitigationAction.ts +++ b/sdk/nodejs/iot/getMitigationAction.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Mitigation actions can be used to take actions to mitigate issues that were found in an Audit finding or Detect violation. */ export function getMitigationAction(args: GetMitigationActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getMitigationAction", { "actionName": args.actionName, @@ -51,7 +50,10 @@ export interface GetMitigationActionResult { * Mitigation actions can be used to take actions to mitigate issues that were found in an Audit finding or Detect violation. */ export function getMitigationActionOutput(args: GetMitigationActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMitigationAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getMitigationAction", { + "actionName": args.actionName, + }, opts); } export interface GetMitigationActionOutputArgs { diff --git a/sdk/nodejs/iot/getPolicy.ts b/sdk/nodejs/iot/getPolicy.ts index a600df4389..78fe7d7815 100644 --- a/sdk/nodejs/iot/getPolicy.ts +++ b/sdk/nodejs/iot/getPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IoT::Policy */ export function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getPolicy", { "id": args.id, @@ -46,7 +45,10 @@ export interface GetPolicyResult { * Resource Type definition for AWS::IoT::Policy */ export function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getPolicy", { + "id": args.id, + }, opts); } export interface GetPolicyOutputArgs { diff --git a/sdk/nodejs/iot/getProvisioningTemplate.ts b/sdk/nodejs/iot/getProvisioningTemplate.ts index 70d880bb3f..b614eaa7b0 100644 --- a/sdk/nodejs/iot/getProvisioningTemplate.ts +++ b/sdk/nodejs/iot/getProvisioningTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates a fleet provisioning template. */ export function getProvisioningTemplate(args: GetProvisioningTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getProvisioningTemplate", { "templateName": args.templateName, @@ -59,7 +58,10 @@ export interface GetProvisioningTemplateResult { * Creates a fleet provisioning template. */ export function getProvisioningTemplateOutput(args: GetProvisioningTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProvisioningTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getProvisioningTemplate", { + "templateName": args.templateName, + }, opts); } export interface GetProvisioningTemplateOutputArgs { diff --git a/sdk/nodejs/iot/getResourceSpecificLogging.ts b/sdk/nodejs/iot/getResourceSpecificLogging.ts index 58f59a10f6..d75a8f0442 100644 --- a/sdk/nodejs/iot/getResourceSpecificLogging.ts +++ b/sdk/nodejs/iot/getResourceSpecificLogging.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource-specific logging allows you to specify a logging level for a specific thing group. */ export function getResourceSpecificLogging(args: GetResourceSpecificLoggingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getResourceSpecificLogging", { "targetId": args.targetId, @@ -39,7 +38,10 @@ export interface GetResourceSpecificLoggingResult { * Resource-specific logging allows you to specify a logging level for a specific thing group. */ export function getResourceSpecificLoggingOutput(args: GetResourceSpecificLoggingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourceSpecificLogging(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getResourceSpecificLogging", { + "targetId": args.targetId, + }, opts); } export interface GetResourceSpecificLoggingOutputArgs { diff --git a/sdk/nodejs/iot/getRoleAlias.ts b/sdk/nodejs/iot/getRoleAlias.ts index 016efe1075..32b071ba1c 100644 --- a/sdk/nodejs/iot/getRoleAlias.ts +++ b/sdk/nodejs/iot/getRoleAlias.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Use the AWS::IoT::RoleAlias resource to declare an AWS IoT RoleAlias. */ export function getRoleAlias(args: GetRoleAliasArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getRoleAlias", { "roleAlias": args.roleAlias, @@ -49,7 +48,10 @@ export interface GetRoleAliasResult { * Use the AWS::IoT::RoleAlias resource to declare an AWS IoT RoleAlias. */ export function getRoleAliasOutput(args: GetRoleAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRoleAlias(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getRoleAlias", { + "roleAlias": args.roleAlias, + }, opts); } export interface GetRoleAliasOutputArgs { diff --git a/sdk/nodejs/iot/getScheduledAudit.ts b/sdk/nodejs/iot/getScheduledAudit.ts index 477d9fd064..da8a9018b4 100644 --- a/sdk/nodejs/iot/getScheduledAudit.ts +++ b/sdk/nodejs/iot/getScheduledAudit.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Scheduled audits can be used to specify the checks you want to perform during an audit and how often the audit should be run. */ export function getScheduledAudit(args: GetScheduledAuditArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getScheduledAudit", { "scheduledAuditName": args.scheduledAuditName, @@ -55,7 +54,10 @@ export interface GetScheduledAuditResult { * Scheduled audits can be used to specify the checks you want to perform during an audit and how often the audit should be run. */ export function getScheduledAuditOutput(args: GetScheduledAuditOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getScheduledAudit(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getScheduledAudit", { + "scheduledAuditName": args.scheduledAuditName, + }, opts); } export interface GetScheduledAuditOutputArgs { diff --git a/sdk/nodejs/iot/getSecurityProfile.ts b/sdk/nodejs/iot/getSecurityProfile.ts index 6c191a4048..a0beba91f0 100644 --- a/sdk/nodejs/iot/getSecurityProfile.ts +++ b/sdk/nodejs/iot/getSecurityProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A security profile defines a set of expected behaviors for devices in your account. */ export function getSecurityProfile(args: GetSecurityProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getSecurityProfile", { "securityProfileName": args.securityProfileName, @@ -63,7 +62,10 @@ export interface GetSecurityProfileResult { * A security profile defines a set of expected behaviors for devices in your account. */ export function getSecurityProfileOutput(args: GetSecurityProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSecurityProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getSecurityProfile", { + "securityProfileName": args.securityProfileName, + }, opts); } export interface GetSecurityProfileOutputArgs { diff --git a/sdk/nodejs/iot/getSoftwarePackage.ts b/sdk/nodejs/iot/getSoftwarePackage.ts index e77a7ac2aa..88fc429e88 100644 --- a/sdk/nodejs/iot/getSoftwarePackage.ts +++ b/sdk/nodejs/iot/getSoftwarePackage.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * resource definition */ export function getSoftwarePackage(args: GetSoftwarePackageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getSoftwarePackage", { "packageName": args.packageName, @@ -37,7 +36,10 @@ export interface GetSoftwarePackageResult { * resource definition */ export function getSoftwarePackageOutput(args: GetSoftwarePackageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSoftwarePackage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getSoftwarePackage", { + "packageName": args.packageName, + }, opts); } export interface GetSoftwarePackageOutputArgs { diff --git a/sdk/nodejs/iot/getSoftwarePackageVersion.ts b/sdk/nodejs/iot/getSoftwarePackageVersion.ts index f6569d9a62..c5667a209b 100644 --- a/sdk/nodejs/iot/getSoftwarePackageVersion.ts +++ b/sdk/nodejs/iot/getSoftwarePackageVersion.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * resource definition */ export function getSoftwarePackageVersion(args: GetSoftwarePackageVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getSoftwarePackageVersion", { "packageName": args.packageName, @@ -48,7 +47,11 @@ export interface GetSoftwarePackageVersionResult { * resource definition */ export function getSoftwarePackageVersionOutput(args: GetSoftwarePackageVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSoftwarePackageVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getSoftwarePackageVersion", { + "packageName": args.packageName, + "versionName": args.versionName, + }, opts); } export interface GetSoftwarePackageVersionOutputArgs { diff --git a/sdk/nodejs/iot/getThing.ts b/sdk/nodejs/iot/getThing.ts index 39f0935759..f43988408a 100644 --- a/sdk/nodejs/iot/getThing.ts +++ b/sdk/nodejs/iot/getThing.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IoT::Thing */ export function getThing(args: GetThingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getThing", { "thingName": args.thingName, @@ -45,7 +44,10 @@ export interface GetThingResult { * Resource Type definition for AWS::IoT::Thing */ export function getThingOutput(args: GetThingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getThing(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getThing", { + "thingName": args.thingName, + }, opts); } export interface GetThingOutputArgs { diff --git a/sdk/nodejs/iot/getThingGroup.ts b/sdk/nodejs/iot/getThingGroup.ts index 7228189c58..1515fd9467 100644 --- a/sdk/nodejs/iot/getThingGroup.ts +++ b/sdk/nodejs/iot/getThingGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IoT::ThingGroup */ export function getThingGroup(args: GetThingGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getThingGroup", { "thingGroupName": args.thingGroupName, @@ -53,7 +52,10 @@ export interface GetThingGroupResult { * Resource Type definition for AWS::IoT::ThingGroup */ export function getThingGroupOutput(args: GetThingGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getThingGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getThingGroup", { + "thingGroupName": args.thingGroupName, + }, opts); } export interface GetThingGroupOutputArgs { diff --git a/sdk/nodejs/iot/getThingType.ts b/sdk/nodejs/iot/getThingType.ts index 7ac989f804..4087e8591e 100644 --- a/sdk/nodejs/iot/getThingType.ts +++ b/sdk/nodejs/iot/getThingType.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IoT::ThingType */ export function getThingType(args: GetThingTypeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getThingType", { "thingTypeName": args.thingTypeName, @@ -49,7 +48,10 @@ export interface GetThingTypeResult { * Resource Type definition for AWS::IoT::ThingType */ export function getThingTypeOutput(args: GetThingTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getThingType(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getThingType", { + "thingTypeName": args.thingTypeName, + }, opts); } export interface GetThingTypeOutputArgs { diff --git a/sdk/nodejs/iot/getTopicRule.ts b/sdk/nodejs/iot/getTopicRule.ts index b0e005df67..ffc5f125cc 100644 --- a/sdk/nodejs/iot/getTopicRule.ts +++ b/sdk/nodejs/iot/getTopicRule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IoT::TopicRule */ export function getTopicRule(args: GetTopicRuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getTopicRule", { "ruleName": args.ruleName, @@ -51,7 +50,10 @@ export interface GetTopicRuleResult { * Resource Type definition for AWS::IoT::TopicRule */ export function getTopicRuleOutput(args: GetTopicRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTopicRule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getTopicRule", { + "ruleName": args.ruleName, + }, opts); } export interface GetTopicRuleOutputArgs { diff --git a/sdk/nodejs/iot/getTopicRuleDestination.ts b/sdk/nodejs/iot/getTopicRuleDestination.ts index b31ed80cf0..0ac160aece 100644 --- a/sdk/nodejs/iot/getTopicRuleDestination.ts +++ b/sdk/nodejs/iot/getTopicRuleDestination.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IoT::TopicRuleDestination */ export function getTopicRuleDestination(args: GetTopicRuleDestinationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iot:getTopicRuleDestination", { "arn": args.arn, @@ -43,7 +42,10 @@ export interface GetTopicRuleDestinationResult { * Resource Type definition for AWS::IoT::TopicRuleDestination */ export function getTopicRuleDestinationOutput(args: GetTopicRuleDestinationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTopicRuleDestination(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iot:getTopicRuleDestination", { + "arn": args.arn, + }, opts); } export interface GetTopicRuleDestinationOutputArgs { diff --git a/sdk/nodejs/iotanalytics/getChannel.ts b/sdk/nodejs/iotanalytics/getChannel.ts index b930229ff6..f04324060a 100644 --- a/sdk/nodejs/iotanalytics/getChannel.ts +++ b/sdk/nodejs/iotanalytics/getChannel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IoTAnalytics::Channel */ export function getChannel(args: GetChannelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotanalytics:getChannel", { "channelName": args.channelName, @@ -46,7 +45,10 @@ export interface GetChannelResult { * Resource Type definition for AWS::IoTAnalytics::Channel */ export function getChannelOutput(args: GetChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getChannel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotanalytics:getChannel", { + "channelName": args.channelName, + }, opts); } export interface GetChannelOutputArgs { diff --git a/sdk/nodejs/iotanalytics/getDataset.ts b/sdk/nodejs/iotanalytics/getDataset.ts index 2ba1eff6a5..4221394987 100644 --- a/sdk/nodejs/iotanalytics/getDataset.ts +++ b/sdk/nodejs/iotanalytics/getDataset.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IoTAnalytics::Dataset */ export function getDataset(args: GetDatasetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotanalytics:getDataset", { "datasetName": args.datasetName, @@ -62,7 +61,10 @@ export interface GetDatasetResult { * Resource Type definition for AWS::IoTAnalytics::Dataset */ export function getDatasetOutput(args: GetDatasetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataset(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotanalytics:getDataset", { + "datasetName": args.datasetName, + }, opts); } export interface GetDatasetOutputArgs { diff --git a/sdk/nodejs/iotanalytics/getDatastore.ts b/sdk/nodejs/iotanalytics/getDatastore.ts index f4ee3df291..e61d5ab65e 100644 --- a/sdk/nodejs/iotanalytics/getDatastore.ts +++ b/sdk/nodejs/iotanalytics/getDatastore.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IoTAnalytics::Datastore */ export function getDatastore(args: GetDatastoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotanalytics:getDatastore", { "datastoreName": args.datastoreName, @@ -58,7 +57,10 @@ export interface GetDatastoreResult { * Resource Type definition for AWS::IoTAnalytics::Datastore */ export function getDatastoreOutput(args: GetDatastoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDatastore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotanalytics:getDatastore", { + "datastoreName": args.datastoreName, + }, opts); } export interface GetDatastoreOutputArgs { diff --git a/sdk/nodejs/iotanalytics/getPipeline.ts b/sdk/nodejs/iotanalytics/getPipeline.ts index fa40e032e2..fe69e038d9 100644 --- a/sdk/nodejs/iotanalytics/getPipeline.ts +++ b/sdk/nodejs/iotanalytics/getPipeline.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IoTAnalytics::Pipeline */ export function getPipeline(args: GetPipelineArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotanalytics:getPipeline", { "pipelineName": args.pipelineName, @@ -46,7 +45,10 @@ export interface GetPipelineResult { * Resource Type definition for AWS::IoTAnalytics::Pipeline */ export function getPipelineOutput(args: GetPipelineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPipeline(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotanalytics:getPipeline", { + "pipelineName": args.pipelineName, + }, opts); } export interface GetPipelineOutputArgs { diff --git a/sdk/nodejs/iotcoredeviceadvisor/getSuiteDefinition.ts b/sdk/nodejs/iotcoredeviceadvisor/getSuiteDefinition.ts index ae7ac4ccc5..426b76fe5a 100644 --- a/sdk/nodejs/iotcoredeviceadvisor/getSuiteDefinition.ts +++ b/sdk/nodejs/iotcoredeviceadvisor/getSuiteDefinition.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getSuiteDefinition(args: GetSuiteDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotcoredeviceadvisor:getSuiteDefinition", { "suiteDefinitionId": args.suiteDefinitionId, @@ -77,7 +76,10 @@ export interface GetSuiteDefinitionResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getSuiteDefinitionOutput(args: GetSuiteDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSuiteDefinition(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotcoredeviceadvisor:getSuiteDefinition", { + "suiteDefinitionId": args.suiteDefinitionId, + }, opts); } export interface GetSuiteDefinitionOutputArgs { diff --git a/sdk/nodejs/iotevents/getAlarmModel.ts b/sdk/nodejs/iotevents/getAlarmModel.ts index b7fbe66c63..2d0fa2408b 100644 --- a/sdk/nodejs/iotevents/getAlarmModel.ts +++ b/sdk/nodejs/iotevents/getAlarmModel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents an alarm model to monitor an ITE input attribute. You can use the alarm to get notified when the value is outside a specified range. For more information, see [Create an alarm model](https://docs.aws.amazon.com/iotevents/latest/developerguide/create-alarms.html) in the *Developer Guide*. */ export function getAlarmModel(args: GetAlarmModelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotevents:getAlarmModel", { "alarmModelName": args.alarmModelName, @@ -60,7 +59,10 @@ export interface GetAlarmModelResult { * Represents an alarm model to monitor an ITE input attribute. You can use the alarm to get notified when the value is outside a specified range. For more information, see [Create an alarm model](https://docs.aws.amazon.com/iotevents/latest/developerguide/create-alarms.html) in the *Developer Guide*. */ export function getAlarmModelOutput(args: GetAlarmModelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlarmModel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotevents:getAlarmModel", { + "alarmModelName": args.alarmModelName, + }, opts); } export interface GetAlarmModelOutputArgs { diff --git a/sdk/nodejs/iotevents/getDetectorModel.ts b/sdk/nodejs/iotevents/getDetectorModel.ts index ab081e17f9..fa4e8aa2e9 100644 --- a/sdk/nodejs/iotevents/getDetectorModel.ts +++ b/sdk/nodejs/iotevents/getDetectorModel.ts @@ -15,7 +15,6 @@ import * as utilities from "../utilities"; * Also, be aware that if you attempt to update several detector models at once using CFN, some updates may succeed and others fail. In this case, the effects on each detector model's detector instances and version number depend on whether the update succeeded or failed, with the results as stated. */ export function getDetectorModel(args: GetDetectorModelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotevents:getDetectorModel", { "detectorModelName": args.detectorModelName, @@ -60,7 +59,10 @@ export interface GetDetectorModelResult { * Also, be aware that if you attempt to update several detector models at once using CFN, some updates may succeed and others fail. In this case, the effects on each detector model's detector instances and version number depend on whether the update succeeded or failed, with the results as stated. */ export function getDetectorModelOutput(args: GetDetectorModelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDetectorModel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotevents:getDetectorModel", { + "detectorModelName": args.detectorModelName, + }, opts); } export interface GetDetectorModelOutputArgs { diff --git a/sdk/nodejs/iotevents/getInput.ts b/sdk/nodejs/iotevents/getInput.ts index f1da3f25a8..9ecdd8fd72 100644 --- a/sdk/nodejs/iotevents/getInput.ts +++ b/sdk/nodejs/iotevents/getInput.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::IoTEvents::Input resource creates an input. To monitor your devices and processes, they must have a way to get telemetry data into ITE. This is done by sending messages as *inputs* to ITE. For more information, see [How to Use](https://docs.aws.amazon.com/iotevents/latest/developerguide/how-to-use-iotevents.html) in the *Developer Guide*. */ export function getInput(args: GetInputArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotevents:getInput", { "inputName": args.inputName, @@ -44,7 +43,10 @@ export interface GetInputResult { * The AWS::IoTEvents::Input resource creates an input. To monitor your devices and processes, they must have a way to get telemetry data into ITE. This is done by sending messages as *inputs* to ITE. For more information, see [How to Use](https://docs.aws.amazon.com/iotevents/latest/developerguide/how-to-use-iotevents.html) in the *Developer Guide*. */ export function getInputOutput(args: GetInputOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInput(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotevents:getInput", { + "inputName": args.inputName, + }, opts); } export interface GetInputOutputArgs { diff --git a/sdk/nodejs/iotfleethub/getApplication.ts b/sdk/nodejs/iotfleethub/getApplication.ts index 800fff2347..be96e5389d 100644 --- a/sdk/nodejs/iotfleethub/getApplication.ts +++ b/sdk/nodejs/iotfleethub/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTFleetHub::Application */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotfleethub:getApplication", { "applicationId": args.applicationId, @@ -79,7 +78,10 @@ export interface GetApplicationResult { * Resource schema for AWS::IoTFleetHub::Application */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotfleethub:getApplication", { + "applicationId": args.applicationId, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/iotsitewise/getAccessPolicy.ts b/sdk/nodejs/iotsitewise/getAccessPolicy.ts index 8954104f88..3195a247bf 100644 --- a/sdk/nodejs/iotsitewise/getAccessPolicy.ts +++ b/sdk/nodejs/iotsitewise/getAccessPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTSiteWise::AccessPolicy */ export function getAccessPolicy(args: GetAccessPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotsitewise:getAccessPolicy", { "accessPolicyId": args.accessPolicyId, @@ -51,7 +50,10 @@ export interface GetAccessPolicyResult { * Resource schema for AWS::IoTSiteWise::AccessPolicy */ export function getAccessPolicyOutput(args: GetAccessPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotsitewise:getAccessPolicy", { + "accessPolicyId": args.accessPolicyId, + }, opts); } export interface GetAccessPolicyOutputArgs { diff --git a/sdk/nodejs/iotsitewise/getAsset.ts b/sdk/nodejs/iotsitewise/getAsset.ts index 9bfe0ea589..84e3f95d2d 100644 --- a/sdk/nodejs/iotsitewise/getAsset.ts +++ b/sdk/nodejs/iotsitewise/getAsset.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTSiteWise::Asset */ export function getAsset(args: GetAssetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotsitewise:getAsset", { "assetId": args.assetId, @@ -69,7 +68,10 @@ export interface GetAssetResult { * Resource schema for AWS::IoTSiteWise::Asset */ export function getAssetOutput(args: GetAssetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAsset(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotsitewise:getAsset", { + "assetId": args.assetId, + }, opts); } export interface GetAssetOutputArgs { diff --git a/sdk/nodejs/iotsitewise/getAssetModel.ts b/sdk/nodejs/iotsitewise/getAssetModel.ts index 8c9890bea5..6b7ff4a04c 100644 --- a/sdk/nodejs/iotsitewise/getAssetModel.ts +++ b/sdk/nodejs/iotsitewise/getAssetModel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTSiteWise::AssetModel */ export function getAssetModel(args: GetAssetModelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotsitewise:getAssetModel", { "assetModelId": args.assetModelId, @@ -67,7 +66,10 @@ export interface GetAssetModelResult { * Resource schema for AWS::IoTSiteWise::AssetModel */ export function getAssetModelOutput(args: GetAssetModelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAssetModel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotsitewise:getAssetModel", { + "assetModelId": args.assetModelId, + }, opts); } export interface GetAssetModelOutputArgs { diff --git a/sdk/nodejs/iotsitewise/getDashboard.ts b/sdk/nodejs/iotsitewise/getDashboard.ts index ae26a8388f..47ced84ff7 100644 --- a/sdk/nodejs/iotsitewise/getDashboard.ts +++ b/sdk/nodejs/iotsitewise/getDashboard.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTSiteWise::Dashboard */ export function getDashboard(args: GetDashboardArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotsitewise:getDashboard", { "dashboardId": args.dashboardId, @@ -55,7 +54,10 @@ export interface GetDashboardResult { * Resource schema for AWS::IoTSiteWise::Dashboard */ export function getDashboardOutput(args: GetDashboardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDashboard(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotsitewise:getDashboard", { + "dashboardId": args.dashboardId, + }, opts); } export interface GetDashboardOutputArgs { diff --git a/sdk/nodejs/iotsitewise/getGateway.ts b/sdk/nodejs/iotsitewise/getGateway.ts index dc032427a3..b5cbc9f669 100644 --- a/sdk/nodejs/iotsitewise/getGateway.ts +++ b/sdk/nodejs/iotsitewise/getGateway.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTSiteWise::Gateway */ export function getGateway(args: GetGatewayArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotsitewise:getGateway", { "gatewayId": args.gatewayId, @@ -47,7 +46,10 @@ export interface GetGatewayResult { * Resource schema for AWS::IoTSiteWise::Gateway */ export function getGatewayOutput(args: GetGatewayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGateway(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotsitewise:getGateway", { + "gatewayId": args.gatewayId, + }, opts); } export interface GetGatewayOutputArgs { diff --git a/sdk/nodejs/iotsitewise/getPortal.ts b/sdk/nodejs/iotsitewise/getPortal.ts index 3486f9abb4..7284abf5cc 100644 --- a/sdk/nodejs/iotsitewise/getPortal.ts +++ b/sdk/nodejs/iotsitewise/getPortal.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTSiteWise::Portal */ export function getPortal(args: GetPortalArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotsitewise:getPortal", { "portalId": args.portalId, @@ -75,7 +74,10 @@ export interface GetPortalResult { * Resource schema for AWS::IoTSiteWise::Portal */ export function getPortalOutput(args: GetPortalOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPortal(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotsitewise:getPortal", { + "portalId": args.portalId, + }, opts); } export interface GetPortalOutputArgs { diff --git a/sdk/nodejs/iotsitewise/getProject.ts b/sdk/nodejs/iotsitewise/getProject.ts index 655134956c..4913311751 100644 --- a/sdk/nodejs/iotsitewise/getProject.ts +++ b/sdk/nodejs/iotsitewise/getProject.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTSiteWise::Project */ export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotsitewise:getProject", { "projectId": args.projectId, @@ -55,7 +54,10 @@ export interface GetProjectResult { * Resource schema for AWS::IoTSiteWise::Project */ export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProject(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotsitewise:getProject", { + "projectId": args.projectId, + }, opts); } export interface GetProjectOutputArgs { diff --git a/sdk/nodejs/iottwinmaker/getComponentType.ts b/sdk/nodejs/iottwinmaker/getComponentType.ts index 132ee345d4..a8ae56c44e 100644 --- a/sdk/nodejs/iottwinmaker/getComponentType.ts +++ b/sdk/nodejs/iottwinmaker/getComponentType.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTTwinMaker::ComponentType */ export function getComponentType(args: GetComponentTypeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iottwinmaker:getComponentType", { "componentTypeId": args.componentTypeId, @@ -92,7 +91,11 @@ export interface GetComponentTypeResult { * Resource schema for AWS::IoTTwinMaker::ComponentType */ export function getComponentTypeOutput(args: GetComponentTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getComponentType(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iottwinmaker:getComponentType", { + "componentTypeId": args.componentTypeId, + "workspaceId": args.workspaceId, + }, opts); } export interface GetComponentTypeOutputArgs { diff --git a/sdk/nodejs/iottwinmaker/getEntity.ts b/sdk/nodejs/iottwinmaker/getEntity.ts index e5db45349b..22b10e40fe 100644 --- a/sdk/nodejs/iottwinmaker/getEntity.ts +++ b/sdk/nodejs/iottwinmaker/getEntity.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTTwinMaker::Entity */ export function getEntity(args: GetEntityArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iottwinmaker:getEntity", { "entityId": args.entityId, @@ -80,7 +79,11 @@ export interface GetEntityResult { * Resource schema for AWS::IoTTwinMaker::Entity */ export function getEntityOutput(args: GetEntityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEntity(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iottwinmaker:getEntity", { + "entityId": args.entityId, + "workspaceId": args.workspaceId, + }, opts); } export interface GetEntityOutputArgs { diff --git a/sdk/nodejs/iottwinmaker/getScene.ts b/sdk/nodejs/iottwinmaker/getScene.ts index 0436483c4a..2b20d525eb 100644 --- a/sdk/nodejs/iottwinmaker/getScene.ts +++ b/sdk/nodejs/iottwinmaker/getScene.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTTwinMaker::Scene */ export function getScene(args: GetSceneArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iottwinmaker:getScene", { "sceneId": args.sceneId, @@ -69,7 +68,11 @@ export interface GetSceneResult { * Resource schema for AWS::IoTTwinMaker::Scene */ export function getSceneOutput(args: GetSceneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getScene(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iottwinmaker:getScene", { + "sceneId": args.sceneId, + "workspaceId": args.workspaceId, + }, opts); } export interface GetSceneOutputArgs { diff --git a/sdk/nodejs/iottwinmaker/getSyncJob.ts b/sdk/nodejs/iottwinmaker/getSyncJob.ts index 75a7887182..1605f47ece 100644 --- a/sdk/nodejs/iottwinmaker/getSyncJob.ts +++ b/sdk/nodejs/iottwinmaker/getSyncJob.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTTwinMaker::SyncJob */ export function getSyncJob(args: GetSyncJobArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iottwinmaker:getSyncJob", { "syncSource": args.syncSource, @@ -49,7 +48,11 @@ export interface GetSyncJobResult { * Resource schema for AWS::IoTTwinMaker::SyncJob */ export function getSyncJobOutput(args: GetSyncJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSyncJob(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iottwinmaker:getSyncJob", { + "syncSource": args.syncSource, + "workspaceId": args.workspaceId, + }, opts); } export interface GetSyncJobOutputArgs { diff --git a/sdk/nodejs/iottwinmaker/getWorkspace.ts b/sdk/nodejs/iottwinmaker/getWorkspace.ts index 8457eae632..9af5ad0ee0 100644 --- a/sdk/nodejs/iottwinmaker/getWorkspace.ts +++ b/sdk/nodejs/iottwinmaker/getWorkspace.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::IoTTwinMaker::Workspace */ export function getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iottwinmaker:getWorkspace", { "workspaceId": args.workspaceId, @@ -56,7 +55,10 @@ export interface GetWorkspaceResult { * Resource schema for AWS::IoTTwinMaker::Workspace */ export function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWorkspace(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iottwinmaker:getWorkspace", { + "workspaceId": args.workspaceId, + }, opts); } export interface GetWorkspaceOutputArgs { diff --git a/sdk/nodejs/iotwireless/getDestination.ts b/sdk/nodejs/iotwireless/getDestination.ts index a6ebbd5620..967d2c1abc 100644 --- a/sdk/nodejs/iotwireless/getDestination.ts +++ b/sdk/nodejs/iotwireless/getDestination.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Destination's resource schema demonstrating some basic constructs and validation rules. */ export function getDestination(args: GetDestinationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotwireless:getDestination", { "name": args.name, @@ -55,7 +54,10 @@ export interface GetDestinationResult { * Destination's resource schema demonstrating some basic constructs and validation rules. */ export function getDestinationOutput(args: GetDestinationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDestination(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotwireless:getDestination", { + "name": args.name, + }, opts); } export interface GetDestinationOutputArgs { diff --git a/sdk/nodejs/iotwireless/getDeviceProfile.ts b/sdk/nodejs/iotwireless/getDeviceProfile.ts index 6597246919..3233223bd6 100644 --- a/sdk/nodejs/iotwireless/getDeviceProfile.ts +++ b/sdk/nodejs/iotwireless/getDeviceProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Device Profile's resource schema demonstrating some basic constructs and validation rules. */ export function getDeviceProfile(args: GetDeviceProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotwireless:getDeviceProfile", { "id": args.id, @@ -51,7 +50,10 @@ export interface GetDeviceProfileResult { * Device Profile's resource schema demonstrating some basic constructs and validation rules. */ export function getDeviceProfileOutput(args: GetDeviceProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDeviceProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotwireless:getDeviceProfile", { + "id": args.id, + }, opts); } export interface GetDeviceProfileOutputArgs { diff --git a/sdk/nodejs/iotwireless/getFuotaTask.ts b/sdk/nodejs/iotwireless/getFuotaTask.ts index f47801c648..229945a058 100644 --- a/sdk/nodejs/iotwireless/getFuotaTask.ts +++ b/sdk/nodejs/iotwireless/getFuotaTask.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Create and manage FUOTA tasks. */ export function getFuotaTask(args: GetFuotaTaskArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotwireless:getFuotaTask", { "id": args.id, @@ -83,7 +82,10 @@ export interface GetFuotaTaskResult { * Create and manage FUOTA tasks. */ export function getFuotaTaskOutput(args: GetFuotaTaskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFuotaTask(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotwireless:getFuotaTask", { + "id": args.id, + }, opts); } export interface GetFuotaTaskOutputArgs { diff --git a/sdk/nodejs/iotwireless/getMulticastGroup.ts b/sdk/nodejs/iotwireless/getMulticastGroup.ts index 159109880e..bd440711d2 100644 --- a/sdk/nodejs/iotwireless/getMulticastGroup.ts +++ b/sdk/nodejs/iotwireless/getMulticastGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Create and manage Multicast groups. */ export function getMulticastGroup(args: GetMulticastGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotwireless:getMulticastGroup", { "id": args.id, @@ -67,7 +66,10 @@ export interface GetMulticastGroupResult { * Create and manage Multicast groups. */ export function getMulticastGroupOutput(args: GetMulticastGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMulticastGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotwireless:getMulticastGroup", { + "id": args.id, + }, opts); } export interface GetMulticastGroupOutputArgs { diff --git a/sdk/nodejs/iotwireless/getNetworkAnalyzerConfiguration.ts b/sdk/nodejs/iotwireless/getNetworkAnalyzerConfiguration.ts index cd589f4062..9225501a34 100644 --- a/sdk/nodejs/iotwireless/getNetworkAnalyzerConfiguration.ts +++ b/sdk/nodejs/iotwireless/getNetworkAnalyzerConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Create and manage NetworkAnalyzerConfiguration resource. */ export function getNetworkAnalyzerConfiguration(args: GetNetworkAnalyzerConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotwireless:getNetworkAnalyzerConfiguration", { "name": args.name, @@ -51,7 +50,10 @@ export interface GetNetworkAnalyzerConfigurationResult { * Create and manage NetworkAnalyzerConfiguration resource. */ export function getNetworkAnalyzerConfigurationOutput(args: GetNetworkAnalyzerConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworkAnalyzerConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotwireless:getNetworkAnalyzerConfiguration", { + "name": args.name, + }, opts); } export interface GetNetworkAnalyzerConfigurationOutputArgs { diff --git a/sdk/nodejs/iotwireless/getServiceProfile.ts b/sdk/nodejs/iotwireless/getServiceProfile.ts index 14c6215886..3da1c3d152 100644 --- a/sdk/nodejs/iotwireless/getServiceProfile.ts +++ b/sdk/nodejs/iotwireless/getServiceProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getServiceProfile(args: GetServiceProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotwireless:getServiceProfile", { "id": args.id, @@ -51,7 +50,10 @@ export interface GetServiceProfileResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getServiceProfileOutput(args: GetServiceProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServiceProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotwireless:getServiceProfile", { + "id": args.id, + }, opts); } export interface GetServiceProfileOutputArgs { diff --git a/sdk/nodejs/iotwireless/getTaskDefinition.ts b/sdk/nodejs/iotwireless/getTaskDefinition.ts index 23f4f8836b..8bc5f1ee1c 100644 --- a/sdk/nodejs/iotwireless/getTaskDefinition.ts +++ b/sdk/nodejs/iotwireless/getTaskDefinition.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates a gateway task definition. */ export function getTaskDefinition(args: GetTaskDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotwireless:getTaskDefinition", { "id": args.id, @@ -63,7 +62,10 @@ export interface GetTaskDefinitionResult { * Creates a gateway task definition. */ export function getTaskDefinitionOutput(args: GetTaskDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTaskDefinition(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotwireless:getTaskDefinition", { + "id": args.id, + }, opts); } export interface GetTaskDefinitionOutputArgs { diff --git a/sdk/nodejs/iotwireless/getWirelessDevice.ts b/sdk/nodejs/iotwireless/getWirelessDevice.ts index f343b8e347..5a8cb73695 100644 --- a/sdk/nodejs/iotwireless/getWirelessDevice.ts +++ b/sdk/nodejs/iotwireless/getWirelessDevice.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Create and manage wireless gateways, including LoRa gateways. */ export function getWirelessDevice(args: GetWirelessDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotwireless:getWirelessDevice", { "id": args.id, @@ -75,7 +74,10 @@ export interface GetWirelessDeviceResult { * Create and manage wireless gateways, including LoRa gateways. */ export function getWirelessDeviceOutput(args: GetWirelessDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotwireless:getWirelessDevice", { + "id": args.id, + }, opts); } export interface GetWirelessDeviceOutputArgs { diff --git a/sdk/nodejs/iotwireless/getWirelessGateway.ts b/sdk/nodejs/iotwireless/getWirelessGateway.ts index f88961e021..ff45cd7b78 100644 --- a/sdk/nodejs/iotwireless/getWirelessGateway.ts +++ b/sdk/nodejs/iotwireless/getWirelessGateway.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Create and manage wireless gateways, including LoRa gateways. */ export function getWirelessGateway(args: GetWirelessGatewayArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:iotwireless:getWirelessGateway", { "id": args.id, @@ -67,7 +66,10 @@ export interface GetWirelessGatewayResult { * Create and manage wireless gateways, including LoRa gateways. */ export function getWirelessGatewayOutput(args: GetWirelessGatewayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWirelessGateway(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:iotwireless:getWirelessGateway", { + "id": args.id, + }, opts); } export interface GetWirelessGatewayOutputArgs { diff --git a/sdk/nodejs/ivs/getChannel.ts b/sdk/nodejs/ivs/getChannel.ts index f2706470b9..39a15c5abf 100644 --- a/sdk/nodejs/ivs/getChannel.ts +++ b/sdk/nodejs/ivs/getChannel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IVS::Channel */ export function getChannel(args: GetChannelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ivs:getChannel", { "arn": args.arn, @@ -75,7 +74,10 @@ export interface GetChannelResult { * Resource Type definition for AWS::IVS::Channel */ export function getChannelOutput(args: GetChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getChannel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ivs:getChannel", { + "arn": args.arn, + }, opts); } export interface GetChannelOutputArgs { diff --git a/sdk/nodejs/ivs/getEncoderConfiguration.ts b/sdk/nodejs/ivs/getEncoderConfiguration.ts index c6cf90185a..689edeb040 100644 --- a/sdk/nodejs/ivs/getEncoderConfiguration.ts +++ b/sdk/nodejs/ivs/getEncoderConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IVS::EncoderConfiguration. */ export function getEncoderConfiguration(args: GetEncoderConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ivs:getEncoderConfiguration", { "arn": args.arn, @@ -39,7 +38,10 @@ export interface GetEncoderConfigurationResult { * Resource Type definition for AWS::IVS::EncoderConfiguration. */ export function getEncoderConfigurationOutput(args: GetEncoderConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEncoderConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ivs:getEncoderConfiguration", { + "arn": args.arn, + }, opts); } export interface GetEncoderConfigurationOutputArgs { diff --git a/sdk/nodejs/ivs/getPlaybackKeyPair.ts b/sdk/nodejs/ivs/getPlaybackKeyPair.ts index e759a2bec9..2b85244656 100644 --- a/sdk/nodejs/ivs/getPlaybackKeyPair.ts +++ b/sdk/nodejs/ivs/getPlaybackKeyPair.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IVS::PlaybackKeyPair */ export function getPlaybackKeyPair(args: GetPlaybackKeyPairArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ivs:getPlaybackKeyPair", { "arn": args.arn, @@ -43,7 +42,10 @@ export interface GetPlaybackKeyPairResult { * Resource Type definition for AWS::IVS::PlaybackKeyPair */ export function getPlaybackKeyPairOutput(args: GetPlaybackKeyPairOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPlaybackKeyPair(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ivs:getPlaybackKeyPair", { + "arn": args.arn, + }, opts); } export interface GetPlaybackKeyPairOutputArgs { diff --git a/sdk/nodejs/ivs/getPlaybackRestrictionPolicy.ts b/sdk/nodejs/ivs/getPlaybackRestrictionPolicy.ts index f17651fbf2..49e588063e 100644 --- a/sdk/nodejs/ivs/getPlaybackRestrictionPolicy.ts +++ b/sdk/nodejs/ivs/getPlaybackRestrictionPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IVS::PlaybackRestrictionPolicy. */ export function getPlaybackRestrictionPolicy(args: GetPlaybackRestrictionPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ivs:getPlaybackRestrictionPolicy", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetPlaybackRestrictionPolicyResult { * Resource Type definition for AWS::IVS::PlaybackRestrictionPolicy. */ export function getPlaybackRestrictionPolicyOutput(args: GetPlaybackRestrictionPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPlaybackRestrictionPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ivs:getPlaybackRestrictionPolicy", { + "arn": args.arn, + }, opts); } export interface GetPlaybackRestrictionPolicyOutputArgs { diff --git a/sdk/nodejs/ivs/getPublicKey.ts b/sdk/nodejs/ivs/getPublicKey.ts index 3da9a8f715..cef6e974b8 100644 --- a/sdk/nodejs/ivs/getPublicKey.ts +++ b/sdk/nodejs/ivs/getPublicKey.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IVS::PublicKey */ export function getPublicKey(args: GetPublicKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ivs:getPublicKey", { "arn": args.arn, @@ -43,7 +42,10 @@ export interface GetPublicKeyResult { * Resource Type definition for AWS::IVS::PublicKey */ export function getPublicKeyOutput(args: GetPublicKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPublicKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ivs:getPublicKey", { + "arn": args.arn, + }, opts); } export interface GetPublicKeyOutputArgs { diff --git a/sdk/nodejs/ivs/getRecordingConfiguration.ts b/sdk/nodejs/ivs/getRecordingConfiguration.ts index 5f54353bdc..868a59514d 100644 --- a/sdk/nodejs/ivs/getRecordingConfiguration.ts +++ b/sdk/nodejs/ivs/getRecordingConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IVS::RecordingConfiguration */ export function getRecordingConfiguration(args: GetRecordingConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ivs:getRecordingConfiguration", { "arn": args.arn, @@ -43,7 +42,10 @@ export interface GetRecordingConfigurationResult { * Resource Type definition for AWS::IVS::RecordingConfiguration */ export function getRecordingConfigurationOutput(args: GetRecordingConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRecordingConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ivs:getRecordingConfiguration", { + "arn": args.arn, + }, opts); } export interface GetRecordingConfigurationOutputArgs { diff --git a/sdk/nodejs/ivs/getStage.ts b/sdk/nodejs/ivs/getStage.ts index ba1b7ec66b..6c3fbda2ec 100644 --- a/sdk/nodejs/ivs/getStage.ts +++ b/sdk/nodejs/ivs/getStage.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Definition for type AWS::IVS::Stage. */ export function getStage(args: GetStageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ivs:getStage", { "arn": args.arn, @@ -48,7 +47,10 @@ export interface GetStageResult { * Resource Definition for type AWS::IVS::Stage. */ export function getStageOutput(args: GetStageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ivs:getStage", { + "arn": args.arn, + }, opts); } export interface GetStageOutputArgs { diff --git a/sdk/nodejs/ivs/getStorageConfiguration.ts b/sdk/nodejs/ivs/getStorageConfiguration.ts index ceb34760f1..fec314d08c 100644 --- a/sdk/nodejs/ivs/getStorageConfiguration.ts +++ b/sdk/nodejs/ivs/getStorageConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IVS::StorageConfiguration */ export function getStorageConfiguration(args: GetStorageConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ivs:getStorageConfiguration", { "arn": args.arn, @@ -39,7 +38,10 @@ export interface GetStorageConfigurationResult { * Resource Type definition for AWS::IVS::StorageConfiguration */ export function getStorageConfigurationOutput(args: GetStorageConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStorageConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ivs:getStorageConfiguration", { + "arn": args.arn, + }, opts); } export interface GetStorageConfigurationOutputArgs { diff --git a/sdk/nodejs/ivs/getStreamKey.ts b/sdk/nodejs/ivs/getStreamKey.ts index cbf70a0199..641600f40b 100644 --- a/sdk/nodejs/ivs/getStreamKey.ts +++ b/sdk/nodejs/ivs/getStreamKey.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::IVS::StreamKey */ export function getStreamKey(args: GetStreamKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ivs:getStreamKey", { "arn": args.arn, @@ -43,7 +42,10 @@ export interface GetStreamKeyResult { * Resource Type definition for AWS::IVS::StreamKey */ export function getStreamKeyOutput(args: GetStreamKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStreamKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ivs:getStreamKey", { + "arn": args.arn, + }, opts); } export interface GetStreamKeyOutputArgs { diff --git a/sdk/nodejs/ivschat/getLoggingConfiguration.ts b/sdk/nodejs/ivschat/getLoggingConfiguration.ts index 4cd2120060..8cadb50479 100644 --- a/sdk/nodejs/ivschat/getLoggingConfiguration.ts +++ b/sdk/nodejs/ivschat/getLoggingConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::IVSChat::LoggingConfiguration. */ export function getLoggingConfiguration(args: GetLoggingConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ivschat:getLoggingConfiguration", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetLoggingConfigurationResult { * Resource type definition for AWS::IVSChat::LoggingConfiguration. */ export function getLoggingConfigurationOutput(args: GetLoggingConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLoggingConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ivschat:getLoggingConfiguration", { + "arn": args.arn, + }, opts); } export interface GetLoggingConfigurationOutputArgs { diff --git a/sdk/nodejs/ivschat/getRoom.ts b/sdk/nodejs/ivschat/getRoom.ts index e0d5ef5d1c..8d3bb2bbf2 100644 --- a/sdk/nodejs/ivschat/getRoom.ts +++ b/sdk/nodejs/ivschat/getRoom.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::IVSChat::Room. */ export function getRoom(args: GetRoomArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ivschat:getRoom", { "arn": args.arn, @@ -63,7 +62,10 @@ export interface GetRoomResult { * Resource type definition for AWS::IVSChat::Room. */ export function getRoomOutput(args: GetRoomOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRoom(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ivschat:getRoom", { + "arn": args.arn, + }, opts); } export interface GetRoomOutputArgs { diff --git a/sdk/nodejs/kafkaconnect/getConnector.ts b/sdk/nodejs/kafkaconnect/getConnector.ts index 6cd56b29e5..92eca84dcd 100644 --- a/sdk/nodejs/kafkaconnect/getConnector.ts +++ b/sdk/nodejs/kafkaconnect/getConnector.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::KafkaConnect::Connector */ export function getConnector(args: GetConnectorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kafkaconnect:getConnector", { "connectorArn": args.connectorArn, @@ -43,7 +42,10 @@ export interface GetConnectorResult { * Resource Type definition for AWS::KafkaConnect::Connector */ export function getConnectorOutput(args: GetConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnector(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kafkaconnect:getConnector", { + "connectorArn": args.connectorArn, + }, opts); } export interface GetConnectorOutputArgs { diff --git a/sdk/nodejs/kafkaconnect/getCustomPlugin.ts b/sdk/nodejs/kafkaconnect/getCustomPlugin.ts index 8d855eccb5..2ca43d8780 100644 --- a/sdk/nodejs/kafkaconnect/getCustomPlugin.ts +++ b/sdk/nodejs/kafkaconnect/getCustomPlugin.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getCustomPlugin(args: GetCustomPluginArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kafkaconnect:getCustomPlugin", { "customPluginArn": args.customPluginArn, @@ -44,7 +43,10 @@ export interface GetCustomPluginResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getCustomPluginOutput(args: GetCustomPluginOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCustomPlugin(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kafkaconnect:getCustomPlugin", { + "customPluginArn": args.customPluginArn, + }, opts); } export interface GetCustomPluginOutputArgs { diff --git a/sdk/nodejs/kafkaconnect/getWorkerConfiguration.ts b/sdk/nodejs/kafkaconnect/getWorkerConfiguration.ts index cf0ed706e9..47b5f317a7 100644 --- a/sdk/nodejs/kafkaconnect/getWorkerConfiguration.ts +++ b/sdk/nodejs/kafkaconnect/getWorkerConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The configuration of the workers, which are the processes that run the connector logic. */ export function getWorkerConfiguration(args: GetWorkerConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kafkaconnect:getWorkerConfiguration", { "workerConfigurationArn": args.workerConfigurationArn, @@ -43,7 +42,10 @@ export interface GetWorkerConfigurationResult { * The configuration of the workers, which are the processes that run the connector logic. */ export function getWorkerConfigurationOutput(args: GetWorkerConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWorkerConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kafkaconnect:getWorkerConfiguration", { + "workerConfigurationArn": args.workerConfigurationArn, + }, opts); } export interface GetWorkerConfigurationOutputArgs { diff --git a/sdk/nodejs/kendra/getDataSource.ts b/sdk/nodejs/kendra/getDataSource.ts index 950213953c..b6105baa24 100644 --- a/sdk/nodejs/kendra/getDataSource.ts +++ b/sdk/nodejs/kendra/getDataSource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Kendra DataSource */ export function getDataSource(args: GetDataSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kendra:getDataSource", { "id": args.id, @@ -94,7 +93,11 @@ export interface GetDataSourceResult { * Kendra DataSource */ export function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kendra:getDataSource", { + "id": args.id, + "indexId": args.indexId, + }, opts); } export interface GetDataSourceOutputArgs { diff --git a/sdk/nodejs/kendra/getFaq.ts b/sdk/nodejs/kendra/getFaq.ts index 75c39041fa..8c422fc8e4 100644 --- a/sdk/nodejs/kendra/getFaq.ts +++ b/sdk/nodejs/kendra/getFaq.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A Kendra FAQ resource */ export function getFaq(args: GetFaqArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kendra:getFaq", { "id": args.id, @@ -56,7 +55,11 @@ export interface GetFaqResult { * A Kendra FAQ resource */ export function getFaqOutput(args: GetFaqOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFaq(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kendra:getFaq", { + "id": args.id, + "indexId": args.indexId, + }, opts); } export interface GetFaqOutputArgs { diff --git a/sdk/nodejs/kendra/getIndex.ts b/sdk/nodejs/kendra/getIndex.ts index 3ee2094f20..ce3e83a00d 100644 --- a/sdk/nodejs/kendra/getIndex.ts +++ b/sdk/nodejs/kendra/getIndex.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A Kendra index */ export function getIndex(args: GetIndexArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kendra:getIndex", { "id": args.id, @@ -79,7 +78,10 @@ export interface GetIndexResult { * A Kendra index */ export function getIndexOutput(args: GetIndexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIndex(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kendra:getIndex", { + "id": args.id, + }, opts); } export interface GetIndexOutputArgs { diff --git a/sdk/nodejs/kendraranking/getExecutionPlan.ts b/sdk/nodejs/kendraranking/getExecutionPlan.ts index b255d7f8c5..645e687cab 100644 --- a/sdk/nodejs/kendraranking/getExecutionPlan.ts +++ b/sdk/nodejs/kendraranking/getExecutionPlan.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A KendraRanking Rescore execution plan */ export function getExecutionPlan(args: GetExecutionPlanArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kendraranking:getExecutionPlan", { "id": args.id, @@ -55,7 +54,10 @@ export interface GetExecutionPlanResult { * A KendraRanking Rescore execution plan */ export function getExecutionPlanOutput(args: GetExecutionPlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getExecutionPlan(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kendraranking:getExecutionPlan", { + "id": args.id, + }, opts); } export interface GetExecutionPlanOutputArgs { diff --git a/sdk/nodejs/kinesis/getResourcePolicy.ts b/sdk/nodejs/kinesis/getResourcePolicy.ts index 8ece262d63..6803480cf7 100644 --- a/sdk/nodejs/kinesis/getResourcePolicy.ts +++ b/sdk/nodejs/kinesis/getResourcePolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Kinesis::ResourcePolicy */ export function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kinesis:getResourcePolicy", { "resourceArn": args.resourceArn, @@ -34,7 +33,10 @@ export interface GetResourcePolicyResult { * Resource Type definition for AWS::Kinesis::ResourcePolicy */ export function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourcePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kinesis:getResourcePolicy", { + "resourceArn": args.resourceArn, + }, opts); } export interface GetResourcePolicyOutputArgs { diff --git a/sdk/nodejs/kinesis/getStream.ts b/sdk/nodejs/kinesis/getStream.ts index a5ab1c43bb..cb9617a061 100644 --- a/sdk/nodejs/kinesis/getStream.ts +++ b/sdk/nodejs/kinesis/getStream.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Kinesis::Stream */ export function getStream(args: GetStreamArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kinesis:getStream", { "name": args.name, @@ -55,7 +54,10 @@ export interface GetStreamResult { * Resource Type definition for AWS::Kinesis::Stream */ export function getStreamOutput(args: GetStreamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStream(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kinesis:getStream", { + "name": args.name, + }, opts); } export interface GetStreamOutputArgs { diff --git a/sdk/nodejs/kinesisanalyticsv2/getApplication.ts b/sdk/nodejs/kinesisanalyticsv2/getApplication.ts index 0ca856640a..d1ac448bdc 100644 --- a/sdk/nodejs/kinesisanalyticsv2/getApplication.ts +++ b/sdk/nodejs/kinesisanalyticsv2/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates an Amazon Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see [Creating an Application](https://docs.aws.amazon.com/kinesisanalytics/latest/java/getting-started.html). */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kinesisanalyticsv2:getApplication", { "applicationName": args.applicationName, @@ -55,7 +54,10 @@ export interface GetApplicationResult { * Creates an Amazon Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see [Creating an Application](https://docs.aws.amazon.com/kinesisanalytics/latest/java/getting-started.html). */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kinesisanalyticsv2:getApplication", { + "applicationName": args.applicationName, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/kinesisfirehose/getDeliveryStream.ts b/sdk/nodejs/kinesisfirehose/getDeliveryStream.ts index cf9b4f0a4d..4c1c70a751 100644 --- a/sdk/nodejs/kinesisfirehose/getDeliveryStream.ts +++ b/sdk/nodejs/kinesisfirehose/getDeliveryStream.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::KinesisFirehose::DeliveryStream */ export function getDeliveryStream(args: GetDeliveryStreamArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kinesisfirehose:getDeliveryStream", { "deliveryStreamName": args.deliveryStreamName, @@ -105,7 +104,10 @@ export interface GetDeliveryStreamResult { * Resource Type definition for AWS::KinesisFirehose::DeliveryStream */ export function getDeliveryStreamOutput(args: GetDeliveryStreamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDeliveryStream(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kinesisfirehose:getDeliveryStream", { + "deliveryStreamName": args.deliveryStreamName, + }, opts); } export interface GetDeliveryStreamOutputArgs { diff --git a/sdk/nodejs/kinesisvideo/getSignalingChannel.ts b/sdk/nodejs/kinesisvideo/getSignalingChannel.ts index a50d762ae3..fb19558255 100644 --- a/sdk/nodejs/kinesisvideo/getSignalingChannel.ts +++ b/sdk/nodejs/kinesisvideo/getSignalingChannel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type Definition for AWS::KinesisVideo::SignalingChannel */ export function getSignalingChannel(args: GetSignalingChannelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kinesisvideo:getSignalingChannel", { "name": args.name, @@ -47,7 +46,10 @@ export interface GetSignalingChannelResult { * Resource Type Definition for AWS::KinesisVideo::SignalingChannel */ export function getSignalingChannelOutput(args: GetSignalingChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSignalingChannel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kinesisvideo:getSignalingChannel", { + "name": args.name, + }, opts); } export interface GetSignalingChannelOutputArgs { diff --git a/sdk/nodejs/kinesisvideo/getStream.ts b/sdk/nodejs/kinesisvideo/getStream.ts index 7bee396f2c..8080844657 100644 --- a/sdk/nodejs/kinesisvideo/getStream.ts +++ b/sdk/nodejs/kinesisvideo/getStream.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type Definition for AWS::KinesisVideo::Stream */ export function getStream(args: GetStreamArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kinesisvideo:getStream", { "name": args.name, @@ -55,7 +54,10 @@ export interface GetStreamResult { * Resource Type Definition for AWS::KinesisVideo::Stream */ export function getStreamOutput(args: GetStreamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStream(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kinesisvideo:getStream", { + "name": args.name, + }, opts); } export interface GetStreamOutputArgs { diff --git a/sdk/nodejs/kms/getAlias.ts b/sdk/nodejs/kms/getAlias.ts index 289721836d..0f5775cb6c 100644 --- a/sdk/nodejs/kms/getAlias.ts +++ b/sdk/nodejs/kms/getAlias.ts @@ -18,7 +18,6 @@ import * as utilities from "../utilities"; * KMS CloudFormation resources are available in all AWS-Regions in which KMS and CFN are supported. */ export function getAlias(args: GetAliasArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kms:getAlias", { "aliasName": args.aliasName, @@ -62,7 +61,10 @@ export interface GetAliasResult { * KMS CloudFormation resources are available in all AWS-Regions in which KMS and CFN are supported. */ export function getAliasOutput(args: GetAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlias(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kms:getAlias", { + "aliasName": args.aliasName, + }, opts); } export interface GetAliasOutputArgs { diff --git a/sdk/nodejs/kms/getKey.ts b/sdk/nodejs/kms/getKey.ts index 7d0fd8b6ae..5dbaab4778 100644 --- a/sdk/nodejs/kms/getKey.ts +++ b/sdk/nodejs/kms/getKey.ts @@ -20,7 +20,6 @@ import * as utilities from "../utilities"; * KMS CloudFormation resources are available in all Regions in which KMS and CFN are supported. You can use the ``AWS::KMS::Key`` resource to create and manage all KMS key types that are supported in a Region. */ export function getKey(args: GetKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kms:getKey", { "keyId": args.keyId, @@ -166,7 +165,10 @@ export interface GetKeyResult { * KMS CloudFormation resources are available in all Regions in which KMS and CFN are supported. You can use the ``AWS::KMS::Key`` resource to create and manage all KMS key types that are supported in a Region. */ export function getKeyOutput(args: GetKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kms:getKey", { + "keyId": args.keyId, + }, opts); } export interface GetKeyOutputArgs { diff --git a/sdk/nodejs/kms/getReplicaKey.ts b/sdk/nodejs/kms/getReplicaKey.ts index 5d3be7c79c..5ecf423edd 100644 --- a/sdk/nodejs/kms/getReplicaKey.ts +++ b/sdk/nodejs/kms/getReplicaKey.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::KMS::ReplicaKey resource specifies a multi-region replica AWS KMS key in AWS Key Management Service (AWS KMS). */ export function getReplicaKey(args: GetReplicaKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:kms:getReplicaKey", { "keyId": args.keyId, @@ -63,7 +62,10 @@ export interface GetReplicaKeyResult { * The AWS::KMS::ReplicaKey resource specifies a multi-region replica AWS KMS key in AWS Key Management Service (AWS KMS). */ export function getReplicaKeyOutput(args: GetReplicaKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getReplicaKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:kms:getReplicaKey", { + "keyId": args.keyId, + }, opts); } export interface GetReplicaKeyOutputArgs { diff --git a/sdk/nodejs/lakeformation/getPrincipalPermissions.ts b/sdk/nodejs/lakeformation/getPrincipalPermissions.ts index 0f75804b68..f38f77cf0b 100644 --- a/sdk/nodejs/lakeformation/getPrincipalPermissions.ts +++ b/sdk/nodejs/lakeformation/getPrincipalPermissions.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::LakeFormation::PrincipalPermissions`` resource represents the permissions that a principal has on a GLUDC resource (such as GLUlong databases or GLUlong tables). When you create a ``PrincipalPermissions`` resource, the permissions are granted via the LFlong ``GrantPermissions`` API operation. When you delete a ``PrincipalPermissions`` resource, the permissions on principal-resource pair are revoked via the LFlong ``RevokePermissions`` API operation. */ export function getPrincipalPermissions(args: GetPrincipalPermissionsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lakeformation:getPrincipalPermissions", { "principalIdentifier": args.principalIdentifier, @@ -41,7 +40,11 @@ export interface GetPrincipalPermissionsResult { * The ``AWS::LakeFormation::PrincipalPermissions`` resource represents the permissions that a principal has on a GLUDC resource (such as GLUlong databases or GLUlong tables). When you create a ``PrincipalPermissions`` resource, the permissions are granted via the LFlong ``GrantPermissions`` API operation. When you delete a ``PrincipalPermissions`` resource, the permissions on principal-resource pair are revoked via the LFlong ``RevokePermissions`` API operation. */ export function getPrincipalPermissionsOutput(args: GetPrincipalPermissionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPrincipalPermissions(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lakeformation:getPrincipalPermissions", { + "principalIdentifier": args.principalIdentifier, + "resourceIdentifier": args.resourceIdentifier, + }, opts); } export interface GetPrincipalPermissionsOutputArgs { diff --git a/sdk/nodejs/lakeformation/getTag.ts b/sdk/nodejs/lakeformation/getTag.ts index f30d97c84a..022d9b302f 100644 --- a/sdk/nodejs/lakeformation/getTag.ts +++ b/sdk/nodejs/lakeformation/getTag.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * A resource schema representing a Lake Formation Tag. */ export function getTag(args: GetTagArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lakeformation:getTag", { "tagKey": args.tagKey, @@ -32,7 +31,10 @@ export interface GetTagResult { * A resource schema representing a Lake Formation Tag. */ export function getTagOutput(args: GetTagOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTag(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lakeformation:getTag", { + "tagKey": args.tagKey, + }, opts); } export interface GetTagOutputArgs { diff --git a/sdk/nodejs/lakeformation/getTagAssociation.ts b/sdk/nodejs/lakeformation/getTagAssociation.ts index e6b540afb4..30417bd1e2 100644 --- a/sdk/nodejs/lakeformation/getTagAssociation.ts +++ b/sdk/nodejs/lakeformation/getTagAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * A resource schema representing a Lake Formation Tag Association. While tag associations are not explicit Lake Formation resources, this CloudFormation resource can be used to associate tags with Lake Formation entities. */ export function getTagAssociation(args: GetTagAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lakeformation:getTagAssociation", { "resourceIdentifier": args.resourceIdentifier, @@ -41,7 +40,11 @@ export interface GetTagAssociationResult { * A resource schema representing a Lake Formation Tag Association. While tag associations are not explicit Lake Formation resources, this CloudFormation resource can be used to associate tags with Lake Formation entities. */ export function getTagAssociationOutput(args: GetTagAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTagAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lakeformation:getTagAssociation", { + "resourceIdentifier": args.resourceIdentifier, + "tagsIdentifier": args.tagsIdentifier, + }, opts); } export interface GetTagAssociationOutputArgs { diff --git a/sdk/nodejs/lambda/getAlias.ts b/sdk/nodejs/lambda/getAlias.ts index c64384fb83..15460e6efa 100644 --- a/sdk/nodejs/lambda/getAlias.ts +++ b/sdk/nodejs/lambda/getAlias.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lambda::Alias */ export function getAlias(args: GetAliasArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lambda:getAlias", { "aliasArn": args.aliasArn, @@ -51,7 +50,10 @@ export interface GetAliasResult { * Resource Type definition for AWS::Lambda::Alias */ export function getAliasOutput(args: GetAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlias(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lambda:getAlias", { + "aliasArn": args.aliasArn, + }, opts); } export interface GetAliasOutputArgs { diff --git a/sdk/nodejs/lambda/getCodeSigningConfig.ts b/sdk/nodejs/lambda/getCodeSigningConfig.ts index da9a52df29..dabbc19357 100644 --- a/sdk/nodejs/lambda/getCodeSigningConfig.ts +++ b/sdk/nodejs/lambda/getCodeSigningConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lambda::CodeSigningConfig. */ export function getCodeSigningConfig(args: GetCodeSigningConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lambda:getCodeSigningConfig", { "codeSigningConfigArn": args.codeSigningConfigArn, @@ -55,7 +54,10 @@ export interface GetCodeSigningConfigResult { * Resource Type definition for AWS::Lambda::CodeSigningConfig. */ export function getCodeSigningConfigOutput(args: GetCodeSigningConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCodeSigningConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lambda:getCodeSigningConfig", { + "codeSigningConfigArn": args.codeSigningConfigArn, + }, opts); } export interface GetCodeSigningConfigOutputArgs { diff --git a/sdk/nodejs/lambda/getEventInvokeConfig.ts b/sdk/nodejs/lambda/getEventInvokeConfig.ts index 73b093d95a..45a5b16af1 100644 --- a/sdk/nodejs/lambda/getEventInvokeConfig.ts +++ b/sdk/nodejs/lambda/getEventInvokeConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Lambda::EventInvokeConfig resource configures options for asynchronous invocation on a version or an alias. */ export function getEventInvokeConfig(args: GetEventInvokeConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lambda:getEventInvokeConfig", { "functionName": args.functionName, @@ -53,7 +52,11 @@ export interface GetEventInvokeConfigResult { * The AWS::Lambda::EventInvokeConfig resource configures options for asynchronous invocation on a version or an alias. */ export function getEventInvokeConfigOutput(args: GetEventInvokeConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventInvokeConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lambda:getEventInvokeConfig", { + "functionName": args.functionName, + "qualifier": args.qualifier, + }, opts); } export interface GetEventInvokeConfigOutputArgs { diff --git a/sdk/nodejs/lambda/getEventSourceMapping.ts b/sdk/nodejs/lambda/getEventSourceMapping.ts index a4adc08ec8..995d39c6df 100644 --- a/sdk/nodejs/lambda/getEventSourceMapping.ts +++ b/sdk/nodejs/lambda/getEventSourceMapping.ts @@ -19,7 +19,6 @@ import * as utilities from "../utilities"; * + [Configuring Amazon DocumentDB as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html) */ export function getEventSourceMapping(args: GetEventSourceMappingArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lambda:getEventSourceMapping", { "id": args.id, @@ -153,7 +152,10 @@ export interface GetEventSourceMappingResult { * + [Configuring Amazon DocumentDB as an event source](https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html) */ export function getEventSourceMappingOutput(args: GetEventSourceMappingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventSourceMapping(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lambda:getEventSourceMapping", { + "id": args.id, + }, opts); } export interface GetEventSourceMappingOutputArgs { diff --git a/sdk/nodejs/lambda/getFunction.ts b/sdk/nodejs/lambda/getFunction.ts index b362b41146..da05198b08 100644 --- a/sdk/nodejs/lambda/getFunction.ts +++ b/sdk/nodejs/lambda/getFunction.ts @@ -16,7 +16,6 @@ import * as utilities from "../utilities"; * For a complete introduction to Lambda functions, see [What is Lambda?](https://docs.aws.amazon.com/lambda/latest/dg/lambda-welcome.html) in the *Lambda developer guide.* */ export function getFunction(args: GetFunctionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lambda:getFunction", { "functionName": args.functionName, @@ -146,7 +145,10 @@ export interface GetFunctionResult { * For a complete introduction to Lambda functions, see [What is Lambda?](https://docs.aws.amazon.com/lambda/latest/dg/lambda-welcome.html) in the *Lambda developer guide.* */ export function getFunctionOutput(args: GetFunctionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFunction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lambda:getFunction", { + "functionName": args.functionName, + }, opts); } export interface GetFunctionOutputArgs { diff --git a/sdk/nodejs/lambda/getLayerVersion.ts b/sdk/nodejs/lambda/getLayerVersion.ts index 1a118b74c1..b9c02054af 100644 --- a/sdk/nodejs/lambda/getLayerVersion.ts +++ b/sdk/nodejs/lambda/getLayerVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lambda::LayerVersion */ export function getLayerVersion(args: GetLayerVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lambda:getLayerVersion", { "layerVersionArn": args.layerVersionArn, @@ -32,7 +31,10 @@ export interface GetLayerVersionResult { * Resource Type definition for AWS::Lambda::LayerVersion */ export function getLayerVersionOutput(args: GetLayerVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLayerVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lambda:getLayerVersion", { + "layerVersionArn": args.layerVersionArn, + }, opts); } export interface GetLayerVersionOutputArgs { diff --git a/sdk/nodejs/lambda/getLayerVersionPermission.ts b/sdk/nodejs/lambda/getLayerVersionPermission.ts index 31aa30540d..c4c7a6c5fc 100644 --- a/sdk/nodejs/lambda/getLayerVersionPermission.ts +++ b/sdk/nodejs/lambda/getLayerVersionPermission.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Schema for Lambda LayerVersionPermission */ export function getLayerVersionPermission(args: GetLayerVersionPermissionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lambda:getLayerVersionPermission", { "id": args.id, @@ -32,7 +31,10 @@ export interface GetLayerVersionPermissionResult { * Schema for Lambda LayerVersionPermission */ export function getLayerVersionPermissionOutput(args: GetLayerVersionPermissionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLayerVersionPermission(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lambda:getLayerVersionPermission", { + "id": args.id, + }, opts); } export interface GetLayerVersionPermissionOutputArgs { diff --git a/sdk/nodejs/lambda/getPermission.ts b/sdk/nodejs/lambda/getPermission.ts index ab93aa1f55..e1c1d2369f 100644 --- a/sdk/nodejs/lambda/getPermission.ts +++ b/sdk/nodejs/lambda/getPermission.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * This resource adds a statement to a resource-based permission policy for the function. For more information about function policies, see [Lambda Function Policies](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html). */ export function getPermission(args: GetPermissionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lambda:getPermission", { "functionName": args.functionName, @@ -43,7 +42,11 @@ export interface GetPermissionResult { * This resource adds a statement to a resource-based permission policy for the function. For more information about function policies, see [Lambda Function Policies](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html). */ export function getPermissionOutput(args: GetPermissionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPermission(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lambda:getPermission", { + "functionName": args.functionName, + "id": args.id, + }, opts); } export interface GetPermissionOutputArgs { diff --git a/sdk/nodejs/lambda/getUrl.ts b/sdk/nodejs/lambda/getUrl.ts index fc42414501..ec80ecff7e 100644 --- a/sdk/nodejs/lambda/getUrl.ts +++ b/sdk/nodejs/lambda/getUrl.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lambda::Url */ export function getUrl(args: GetUrlArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lambda:getUrl", { "functionArn": args.functionArn, @@ -51,7 +50,10 @@ export interface GetUrlResult { * Resource Type definition for AWS::Lambda::Url */ export function getUrlOutput(args: GetUrlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUrl(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lambda:getUrl", { + "functionArn": args.functionArn, + }, opts); } export interface GetUrlOutputArgs { diff --git a/sdk/nodejs/lambda/getVersion.ts b/sdk/nodejs/lambda/getVersion.ts index 0115d3b1ee..86fbdaed89 100644 --- a/sdk/nodejs/lambda/getVersion.ts +++ b/sdk/nodejs/lambda/getVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lambda::Version */ export function getVersion(args: GetVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lambda:getVersion", { "functionArn": args.functionArn, @@ -42,7 +41,10 @@ export interface GetVersionResult { * Resource Type definition for AWS::Lambda::Version */ export function getVersionOutput(args: GetVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lambda:getVersion", { + "functionArn": args.functionArn, + }, opts); } export interface GetVersionOutputArgs { diff --git a/sdk/nodejs/launchwizard/getDeployment.ts b/sdk/nodejs/launchwizard/getDeployment.ts index 71a216c1f5..3d797cc44f 100644 --- a/sdk/nodejs/launchwizard/getDeployment.ts +++ b/sdk/nodejs/launchwizard/getDeployment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::LaunchWizard::Deployment Resource Type */ export function getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:launchwizard:getDeployment", { "arn": args.arn, @@ -59,7 +58,10 @@ export interface GetDeploymentResult { * Definition of AWS::LaunchWizard::Deployment Resource Type */ export function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDeployment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:launchwizard:getDeployment", { + "arn": args.arn, + }, opts); } export interface GetDeploymentOutputArgs { diff --git a/sdk/nodejs/lex/getBot.ts b/sdk/nodejs/lex/getBot.ts index badc785cc4..9c5414ac0b 100644 --- a/sdk/nodejs/lex/getBot.ts +++ b/sdk/nodejs/lex/getBot.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Amazon Lex conversational bot performing automated tasks such as ordering a pizza, booking a hotel, and so on. */ export function getBot(args: GetBotArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lex:getBot", { "id": args.id, @@ -63,7 +62,10 @@ export interface GetBotResult { * Amazon Lex conversational bot performing automated tasks such as ordering a pizza, booking a hotel, and so on. */ export function getBotOutput(args: GetBotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBot(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lex:getBot", { + "id": args.id, + }, opts); } export interface GetBotOutputArgs { diff --git a/sdk/nodejs/lex/getBotAlias.ts b/sdk/nodejs/lex/getBotAlias.ts index 3ae3ad2cb7..7096c09596 100644 --- a/sdk/nodejs/lex/getBotAlias.ts +++ b/sdk/nodejs/lex/getBotAlias.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A Bot Alias enables you to change the version of a bot without updating applications that use the bot */ export function getBotAlias(args: GetBotAliasArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lex:getBotAlias", { "botAliasId": args.botAliasId, @@ -72,7 +71,11 @@ export interface GetBotAliasResult { * A Bot Alias enables you to change the version of a bot without updating applications that use the bot */ export function getBotAliasOutput(args: GetBotAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotAlias(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lex:getBotAlias", { + "botAliasId": args.botAliasId, + "botId": args.botId, + }, opts); } export interface GetBotAliasOutputArgs { diff --git a/sdk/nodejs/lex/getBotVersion.ts b/sdk/nodejs/lex/getBotVersion.ts index fc0dcab7e2..e0e201b66c 100644 --- a/sdk/nodejs/lex/getBotVersion.ts +++ b/sdk/nodejs/lex/getBotVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * A version is a numbered snapshot of your work that you can publish for use in different parts of your workflow, such as development, beta deployment, and production. */ export function getBotVersion(args: GetBotVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lex:getBotVersion", { "botId": args.botId, @@ -41,7 +40,11 @@ export interface GetBotVersionResult { * A version is a numbered snapshot of your work that you can publish for use in different parts of your workflow, such as development, beta deployment, and production. */ export function getBotVersionOutput(args: GetBotVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBotVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lex:getBotVersion", { + "botId": args.botId, + "botVersion": args.botVersion, + }, opts); } export interface GetBotVersionOutputArgs { diff --git a/sdk/nodejs/lex/getResourcePolicy.ts b/sdk/nodejs/lex/getResourcePolicy.ts index c67a0138bd..0b639e221e 100644 --- a/sdk/nodejs/lex/getResourcePolicy.ts +++ b/sdk/nodejs/lex/getResourcePolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A resource policy with specified policy statements that attaches to a Lex bot or bot alias. */ export function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lex:getResourcePolicy", { "id": args.id, @@ -47,7 +46,10 @@ export interface GetResourcePolicyResult { * A resource policy with specified policy statements that attaches to a Lex bot or bot alias. */ export function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourcePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lex:getResourcePolicy", { + "id": args.id, + }, opts); } export interface GetResourcePolicyOutputArgs { diff --git a/sdk/nodejs/licensemanager/getGrant.ts b/sdk/nodejs/licensemanager/getGrant.ts index bee2065a87..1cfe515fa9 100644 --- a/sdk/nodejs/licensemanager/getGrant.ts +++ b/sdk/nodejs/licensemanager/getGrant.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getGrant(args: GetGrantArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:licensemanager:getGrant", { "grantArn": args.grantArn, @@ -48,7 +47,10 @@ export interface GetGrantResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getGrantOutput(args: GetGrantOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGrant(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:licensemanager:getGrant", { + "grantArn": args.grantArn, + }, opts); } export interface GetGrantOutputArgs { diff --git a/sdk/nodejs/licensemanager/getLicense.ts b/sdk/nodejs/licensemanager/getLicense.ts index c0e580c0bc..ee850ebef8 100644 --- a/sdk/nodejs/licensemanager/getLicense.ts +++ b/sdk/nodejs/licensemanager/getLicense.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::LicenseManager::License */ export function getLicense(args: GetLicenseArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:licensemanager:getLicense", { "licenseArn": args.licenseArn, @@ -79,7 +78,10 @@ export interface GetLicenseResult { * Resource Type definition for AWS::LicenseManager::License */ export function getLicenseOutput(args: GetLicenseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLicense(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:licensemanager:getLicense", { + "licenseArn": args.licenseArn, + }, opts); } export interface GetLicenseOutputArgs { diff --git a/sdk/nodejs/lightsail/getAlarm.ts b/sdk/nodejs/lightsail/getAlarm.ts index 0f06a8a228..6fbbeb3ca1 100644 --- a/sdk/nodejs/lightsail/getAlarm.ts +++ b/sdk/nodejs/lightsail/getAlarm.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lightsail::Alarm */ export function getAlarm(args: GetAlarmArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lightsail:getAlarm", { "alarmName": args.alarmName, @@ -68,7 +67,10 @@ export interface GetAlarmResult { * Resource Type definition for AWS::Lightsail::Alarm */ export function getAlarmOutput(args: GetAlarmOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlarm(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lightsail:getAlarm", { + "alarmName": args.alarmName, + }, opts); } export interface GetAlarmOutputArgs { diff --git a/sdk/nodejs/lightsail/getBucket.ts b/sdk/nodejs/lightsail/getBucket.ts index b4f3dacf77..c3e2cb3a30 100644 --- a/sdk/nodejs/lightsail/getBucket.ts +++ b/sdk/nodejs/lightsail/getBucket.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lightsail::Bucket */ export function getBucket(args: GetBucketArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lightsail:getBucket", { "bucketName": args.bucketName, @@ -67,7 +66,10 @@ export interface GetBucketResult { * Resource Type definition for AWS::Lightsail::Bucket */ export function getBucketOutput(args: GetBucketOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBucket(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lightsail:getBucket", { + "bucketName": args.bucketName, + }, opts); } export interface GetBucketOutputArgs { diff --git a/sdk/nodejs/lightsail/getCertificate.ts b/sdk/nodejs/lightsail/getCertificate.ts index c1d9cbe18b..e66ba007d3 100644 --- a/sdk/nodejs/lightsail/getCertificate.ts +++ b/sdk/nodejs/lightsail/getCertificate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lightsail::Certificate. */ export function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lightsail:getCertificate", { "certificateName": args.certificateName, @@ -43,7 +42,10 @@ export interface GetCertificateResult { * Resource Type definition for AWS::Lightsail::Certificate. */ export function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCertificate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lightsail:getCertificate", { + "certificateName": args.certificateName, + }, opts); } export interface GetCertificateOutputArgs { diff --git a/sdk/nodejs/lightsail/getContainer.ts b/sdk/nodejs/lightsail/getContainer.ts index b31523406a..3708b05b88 100644 --- a/sdk/nodejs/lightsail/getContainer.ts +++ b/sdk/nodejs/lightsail/getContainer.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lightsail::Container */ export function getContainer(args: GetContainerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lightsail:getContainer", { "serviceName": args.serviceName, @@ -71,7 +70,10 @@ export interface GetContainerResult { * Resource Type definition for AWS::Lightsail::Container */ export function getContainerOutput(args: GetContainerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getContainer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lightsail:getContainer", { + "serviceName": args.serviceName, + }, opts); } export interface GetContainerOutputArgs { diff --git a/sdk/nodejs/lightsail/getDatabase.ts b/sdk/nodejs/lightsail/getDatabase.ts index 3401e9ea8a..f903d4beeb 100644 --- a/sdk/nodejs/lightsail/getDatabase.ts +++ b/sdk/nodejs/lightsail/getDatabase.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lightsail::Database */ export function getDatabase(args: GetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lightsail:getDatabase", { "relationalDatabaseName": args.relationalDatabaseName, @@ -59,7 +58,10 @@ export interface GetDatabaseResult { * Resource Type definition for AWS::Lightsail::Database */ export function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDatabase(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lightsail:getDatabase", { + "relationalDatabaseName": args.relationalDatabaseName, + }, opts); } export interface GetDatabaseOutputArgs { diff --git a/sdk/nodejs/lightsail/getDisk.ts b/sdk/nodejs/lightsail/getDisk.ts index 830ec91107..c66efeea4c 100644 --- a/sdk/nodejs/lightsail/getDisk.ts +++ b/sdk/nodejs/lightsail/getDisk.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lightsail::Disk */ export function getDisk(args: GetDiskArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lightsail:getDisk", { "diskName": args.diskName, @@ -79,7 +78,10 @@ export interface GetDiskResult { * Resource Type definition for AWS::Lightsail::Disk */ export function getDiskOutput(args: GetDiskOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDisk(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lightsail:getDisk", { + "diskName": args.diskName, + }, opts); } export interface GetDiskOutputArgs { diff --git a/sdk/nodejs/lightsail/getInstance.ts b/sdk/nodejs/lightsail/getInstance.ts index 16c1153557..0351a645b9 100644 --- a/sdk/nodejs/lightsail/getInstance.ts +++ b/sdk/nodejs/lightsail/getInstance.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lightsail::Instance */ export function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lightsail:getInstance", { "instanceName": args.instanceName, @@ -101,7 +100,10 @@ export interface GetInstanceResult { * Resource Type definition for AWS::Lightsail::Instance */ export function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInstance(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lightsail:getInstance", { + "instanceName": args.instanceName, + }, opts); } export interface GetInstanceOutputArgs { diff --git a/sdk/nodejs/lightsail/getLoadBalancer.ts b/sdk/nodejs/lightsail/getLoadBalancer.ts index dc23cd2315..a61e000f5a 100644 --- a/sdk/nodejs/lightsail/getLoadBalancer.ts +++ b/sdk/nodejs/lightsail/getLoadBalancer.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lightsail::LoadBalancer */ export function getLoadBalancer(args: GetLoadBalancerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lightsail:getLoadBalancer", { "loadBalancerName": args.loadBalancerName, @@ -59,7 +58,10 @@ export interface GetLoadBalancerResult { * Resource Type definition for AWS::Lightsail::LoadBalancer */ export function getLoadBalancerOutput(args: GetLoadBalancerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLoadBalancer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lightsail:getLoadBalancer", { + "loadBalancerName": args.loadBalancerName, + }, opts); } export interface GetLoadBalancerOutputArgs { diff --git a/sdk/nodejs/lightsail/getLoadBalancerTlsCertificate.ts b/sdk/nodejs/lightsail/getLoadBalancerTlsCertificate.ts index c4755d6d80..fd80d49bdd 100644 --- a/sdk/nodejs/lightsail/getLoadBalancerTlsCertificate.ts +++ b/sdk/nodejs/lightsail/getLoadBalancerTlsCertificate.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lightsail::LoadBalancerTlsCertificate */ export function getLoadBalancerTlsCertificate(args: GetLoadBalancerTlsCertificateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lightsail:getLoadBalancerTlsCertificate", { "certificateName": args.certificateName, @@ -49,7 +48,11 @@ export interface GetLoadBalancerTlsCertificateResult { * Resource Type definition for AWS::Lightsail::LoadBalancerTlsCertificate */ export function getLoadBalancerTlsCertificateOutput(args: GetLoadBalancerTlsCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLoadBalancerTlsCertificate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lightsail:getLoadBalancerTlsCertificate", { + "certificateName": args.certificateName, + "loadBalancerName": args.loadBalancerName, + }, opts); } export interface GetLoadBalancerTlsCertificateOutputArgs { diff --git a/sdk/nodejs/lightsail/getStaticIp.ts b/sdk/nodejs/lightsail/getStaticIp.ts index 0bb715ae5d..29461de35f 100644 --- a/sdk/nodejs/lightsail/getStaticIp.ts +++ b/sdk/nodejs/lightsail/getStaticIp.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Lightsail::StaticIp */ export function getStaticIp(args: GetStaticIpArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lightsail:getStaticIp", { "staticIpName": args.staticIpName, @@ -44,7 +43,10 @@ export interface GetStaticIpResult { * Resource Type definition for AWS::Lightsail::StaticIp */ export function getStaticIpOutput(args: GetStaticIpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStaticIp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lightsail:getStaticIp", { + "staticIpName": args.staticIpName, + }, opts); } export interface GetStaticIpOutputArgs { diff --git a/sdk/nodejs/location/getApiKey.ts b/sdk/nodejs/location/getApiKey.ts index 3a4fab3fcd..934a348335 100644 --- a/sdk/nodejs/location/getApiKey.ts +++ b/sdk/nodejs/location/getApiKey.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Location::APIKey Resource Type */ export function getApiKey(args: GetApiKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:location:getApiKey", { "keyName": args.keyName, @@ -69,7 +68,10 @@ export interface GetApiKeyResult { * Definition of AWS::Location::APIKey Resource Type */ export function getApiKeyOutput(args: GetApiKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApiKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:location:getApiKey", { + "keyName": args.keyName, + }, opts); } export interface GetApiKeyOutputArgs { diff --git a/sdk/nodejs/location/getGeofenceCollection.ts b/sdk/nodejs/location/getGeofenceCollection.ts index 92c645c63c..8319a41dd8 100644 --- a/sdk/nodejs/location/getGeofenceCollection.ts +++ b/sdk/nodejs/location/getGeofenceCollection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Location::GeofenceCollection Resource Type */ export function getGeofenceCollection(args: GetGeofenceCollectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:location:getGeofenceCollection", { "collectionName": args.collectionName, @@ -70,7 +69,10 @@ export interface GetGeofenceCollectionResult { * Definition of AWS::Location::GeofenceCollection Resource Type */ export function getGeofenceCollectionOutput(args: GetGeofenceCollectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGeofenceCollection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:location:getGeofenceCollection", { + "collectionName": args.collectionName, + }, opts); } export interface GetGeofenceCollectionOutputArgs { diff --git a/sdk/nodejs/location/getMap.ts b/sdk/nodejs/location/getMap.ts index 0655f14007..eecfd4fb3f 100644 --- a/sdk/nodejs/location/getMap.ts +++ b/sdk/nodejs/location/getMap.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Location::Map Resource Type */ export function getMap(args: GetMapArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:location:getMap", { "mapName": args.mapName, @@ -71,7 +70,10 @@ export interface GetMapResult { * Definition of AWS::Location::Map Resource Type */ export function getMapOutput(args: GetMapOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMap(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:location:getMap", { + "mapName": args.mapName, + }, opts); } export interface GetMapOutputArgs { diff --git a/sdk/nodejs/location/getPlaceIndex.ts b/sdk/nodejs/location/getPlaceIndex.ts index 9fb7af71ce..6cdff9a9a1 100644 --- a/sdk/nodejs/location/getPlaceIndex.ts +++ b/sdk/nodejs/location/getPlaceIndex.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Location::PlaceIndex Resource Type */ export function getPlaceIndex(args: GetPlaceIndexArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:location:getPlaceIndex", { "indexName": args.indexName, @@ -75,7 +74,10 @@ export interface GetPlaceIndexResult { * Definition of AWS::Location::PlaceIndex Resource Type */ export function getPlaceIndexOutput(args: GetPlaceIndexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPlaceIndex(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:location:getPlaceIndex", { + "indexName": args.indexName, + }, opts); } export interface GetPlaceIndexOutputArgs { diff --git a/sdk/nodejs/location/getRouteCalculator.ts b/sdk/nodejs/location/getRouteCalculator.ts index 5f76cdb281..a83bf23b30 100644 --- a/sdk/nodejs/location/getRouteCalculator.ts +++ b/sdk/nodejs/location/getRouteCalculator.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Location::RouteCalculator Resource Type */ export function getRouteCalculator(args: GetRouteCalculatorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:location:getRouteCalculator", { "calculatorName": args.calculatorName, @@ -71,7 +70,10 @@ export interface GetRouteCalculatorResult { * Definition of AWS::Location::RouteCalculator Resource Type */ export function getRouteCalculatorOutput(args: GetRouteCalculatorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRouteCalculator(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:location:getRouteCalculator", { + "calculatorName": args.calculatorName, + }, opts); } export interface GetRouteCalculatorOutputArgs { diff --git a/sdk/nodejs/location/getTracker.ts b/sdk/nodejs/location/getTracker.ts index 509c882a16..a4e8c99185 100644 --- a/sdk/nodejs/location/getTracker.ts +++ b/sdk/nodejs/location/getTracker.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Location::Tracker Resource Type */ export function getTracker(args: GetTrackerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:location:getTracker", { "trackerName": args.trackerName, @@ -84,7 +83,10 @@ export interface GetTrackerResult { * Definition of AWS::Location::Tracker Resource Type */ export function getTrackerOutput(args: GetTrackerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTracker(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:location:getTracker", { + "trackerName": args.trackerName, + }, opts); } export interface GetTrackerOutputArgs { diff --git a/sdk/nodejs/logs/getAccountPolicy.ts b/sdk/nodejs/logs/getAccountPolicy.ts index 484694a4e2..9d2b4cf4fd 100644 --- a/sdk/nodejs/logs/getAccountPolicy.ts +++ b/sdk/nodejs/logs/getAccountPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Logs::AccountPolicy resource specifies a CloudWatch Logs AccountPolicy. */ export function getAccountPolicy(args: GetAccountPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getAccountPolicy", { "accountId": args.accountId, @@ -63,7 +62,12 @@ export interface GetAccountPolicyResult { * The AWS::Logs::AccountPolicy resource specifies a CloudWatch Logs AccountPolicy. */ export function getAccountPolicyOutput(args: GetAccountPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccountPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:logs:getAccountPolicy", { + "accountId": args.accountId, + "policyName": args.policyName, + "policyType": args.policyType, + }, opts); } export interface GetAccountPolicyOutputArgs { diff --git a/sdk/nodejs/logs/getDelivery.ts b/sdk/nodejs/logs/getDelivery.ts index 8456c21d39..824b6c4522 100644 --- a/sdk/nodejs/logs/getDelivery.ts +++ b/sdk/nodejs/logs/getDelivery.ts @@ -15,7 +15,6 @@ import * as utilities from "../utilities"; * For more information, see [CreateDelivery](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html). */ export function getDelivery(args: GetDeliveryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getDelivery", { "deliveryId": args.deliveryId, @@ -55,7 +54,10 @@ export interface GetDeliveryResult { * For more information, see [CreateDelivery](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html). */ export function getDeliveryOutput(args: GetDeliveryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDelivery(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:logs:getDelivery", { + "deliveryId": args.deliveryId, + }, opts); } export interface GetDeliveryOutputArgs { diff --git a/sdk/nodejs/logs/getDeliveryDestination.ts b/sdk/nodejs/logs/getDeliveryDestination.ts index eb1f7b90f7..a0c3fd4505 100644 --- a/sdk/nodejs/logs/getDeliveryDestination.ts +++ b/sdk/nodejs/logs/getDeliveryDestination.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * A delivery destination is an AWS resource that represents an AWS service that logs can be sent to CloudWatch Logs, Amazon S3, are supported as Kinesis Data Firehose delivery destinations. */ export function getDeliveryDestination(args: GetDeliveryDestinationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getDeliveryDestination", { "name": args.name, @@ -55,7 +54,10 @@ export interface GetDeliveryDestinationResult { * A delivery destination is an AWS resource that represents an AWS service that logs can be sent to CloudWatch Logs, Amazon S3, are supported as Kinesis Data Firehose delivery destinations. */ export function getDeliveryDestinationOutput(args: GetDeliveryDestinationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDeliveryDestination(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:logs:getDeliveryDestination", { + "name": args.name, + }, opts); } export interface GetDeliveryDestinationOutputArgs { diff --git a/sdk/nodejs/logs/getDeliverySource.ts b/sdk/nodejs/logs/getDeliverySource.ts index ae4b4c66c5..dab86231b6 100644 --- a/sdk/nodejs/logs/getDeliverySource.ts +++ b/sdk/nodejs/logs/getDeliverySource.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * Only some AWS services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at [Enabling logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html). */ export function getDeliverySource(args: GetDeliverySourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getDeliverySource", { "name": args.name, @@ -55,7 +54,10 @@ export interface GetDeliverySourceResult { * Only some AWS services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at [Enabling logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html). */ export function getDeliverySourceOutput(args: GetDeliverySourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDeliverySource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:logs:getDeliverySource", { + "name": args.name, + }, opts); } export interface GetDeliverySourceOutputArgs { diff --git a/sdk/nodejs/logs/getDestination.ts b/sdk/nodejs/logs/getDestination.ts index 0998da640f..f9f26ad9d2 100644 --- a/sdk/nodejs/logs/getDestination.ts +++ b/sdk/nodejs/logs/getDestination.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::Logs::Destination resource specifies a CloudWatch Logs destination. A destination encapsulates a physical resource (such as an Amazon Kinesis data stream) and enables you to subscribe that resource to a stream of log events. */ export function getDestination(args: GetDestinationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getDestination", { "destinationName": args.destinationName, @@ -44,7 +43,10 @@ export interface GetDestinationResult { * The AWS::Logs::Destination resource specifies a CloudWatch Logs destination. A destination encapsulates a physical resource (such as an Amazon Kinesis data stream) and enables you to subscribe that resource to a stream of log events. */ export function getDestinationOutput(args: GetDestinationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDestination(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:logs:getDestination", { + "destinationName": args.destinationName, + }, opts); } export interface GetDestinationOutputArgs { diff --git a/sdk/nodejs/logs/getLogAnomalyDetector.ts b/sdk/nodejs/logs/getLogAnomalyDetector.ts index e527579a68..3140797f63 100644 --- a/sdk/nodejs/logs/getLogAnomalyDetector.ts +++ b/sdk/nodejs/logs/getLogAnomalyDetector.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector. */ export function getLogAnomalyDetector(args: GetLogAnomalyDetectorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getLogAnomalyDetector", { "anomalyDetectorArn": args.anomalyDetectorArn, @@ -71,7 +70,10 @@ export interface GetLogAnomalyDetectorResult { * The AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector. */ export function getLogAnomalyDetectorOutput(args: GetLogAnomalyDetectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLogAnomalyDetector(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:logs:getLogAnomalyDetector", { + "anomalyDetectorArn": args.anomalyDetectorArn, + }, opts); } export interface GetLogAnomalyDetectorOutputArgs { diff --git a/sdk/nodejs/logs/getLogGroup.ts b/sdk/nodejs/logs/getLogGroup.ts index 43ad2a9ab1..ffc0058af4 100644 --- a/sdk/nodejs/logs/getLogGroup.ts +++ b/sdk/nodejs/logs/getLogGroup.ts @@ -15,7 +15,6 @@ import * as utilities from "../utilities"; * + Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period). */ export function getLogGroup(args: GetLogGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getLogGroup", { "logGroupName": args.logGroupName, @@ -75,7 +74,10 @@ export interface GetLogGroupResult { * + Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period). */ export function getLogGroupOutput(args: GetLogGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLogGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:logs:getLogGroup", { + "logGroupName": args.logGroupName, + }, opts); } export interface GetLogGroupOutputArgs { diff --git a/sdk/nodejs/logs/getMetricFilter.ts b/sdk/nodejs/logs/getMetricFilter.ts index b917e67758..683b0eea72 100644 --- a/sdk/nodejs/logs/getMetricFilter.ts +++ b/sdk/nodejs/logs/getMetricFilter.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * The maximum number of metric filters that can be associated with a log group is 100. */ export function getMetricFilter(args: GetMetricFilterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getMetricFilter", { "filterName": args.filterName, @@ -46,7 +45,11 @@ export interface GetMetricFilterResult { * The maximum number of metric filters that can be associated with a log group is 100. */ export function getMetricFilterOutput(args: GetMetricFilterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMetricFilter(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:logs:getMetricFilter", { + "filterName": args.filterName, + "logGroupName": args.logGroupName, + }, opts); } export interface GetMetricFilterOutputArgs { diff --git a/sdk/nodejs/logs/getQueryDefinition.ts b/sdk/nodejs/logs/getQueryDefinition.ts index 58e1f384db..72f61dbb36 100644 --- a/sdk/nodejs/logs/getQueryDefinition.ts +++ b/sdk/nodejs/logs/getQueryDefinition.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The resource schema for AWSLogs QueryDefinition */ export function getQueryDefinition(args: GetQueryDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getQueryDefinition", { "queryDefinitionId": args.queryDefinitionId, @@ -44,7 +43,10 @@ export interface GetQueryDefinitionResult { * The resource schema for AWSLogs QueryDefinition */ export function getQueryDefinitionOutput(args: GetQueryDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getQueryDefinition(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:logs:getQueryDefinition", { + "queryDefinitionId": args.queryDefinitionId, + }, opts); } export interface GetQueryDefinitionOutputArgs { diff --git a/sdk/nodejs/logs/getResourcePolicy.ts b/sdk/nodejs/logs/getResourcePolicy.ts index a700284558..b9198dbbfd 100644 --- a/sdk/nodejs/logs/getResourcePolicy.ts +++ b/sdk/nodejs/logs/getResourcePolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The resource schema for AWSLogs ResourcePolicy */ export function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getResourcePolicy", { "policyName": args.policyName, @@ -32,7 +31,10 @@ export interface GetResourcePolicyResult { * The resource schema for AWSLogs ResourcePolicy */ export function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourcePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:logs:getResourcePolicy", { + "policyName": args.policyName, + }, opts); } export interface GetResourcePolicyOutputArgs { diff --git a/sdk/nodejs/logs/getSubscriptionFilter.ts b/sdk/nodejs/logs/getSubscriptionFilter.ts index db889dd301..deab931753 100644 --- a/sdk/nodejs/logs/getSubscriptionFilter.ts +++ b/sdk/nodejs/logs/getSubscriptionFilter.ts @@ -17,7 +17,6 @@ import * as utilities from "../utilities"; * There can be as many as two subscription filters associated with a log group. */ export function getSubscriptionFilter(args: GetSubscriptionFilterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:logs:getSubscriptionFilter", { "filterName": args.filterName, @@ -64,7 +63,11 @@ export interface GetSubscriptionFilterResult { * There can be as many as two subscription filters associated with a log group. */ export function getSubscriptionFilterOutput(args: GetSubscriptionFilterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSubscriptionFilter(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:logs:getSubscriptionFilter", { + "filterName": args.filterName, + "logGroupName": args.logGroupName, + }, opts); } export interface GetSubscriptionFilterOutputArgs { diff --git a/sdk/nodejs/lookoutmetrics/getAlert.ts b/sdk/nodejs/lookoutmetrics/getAlert.ts index 0c8f3059fb..378d4552c4 100644 --- a/sdk/nodejs/lookoutmetrics/getAlert.ts +++ b/sdk/nodejs/lookoutmetrics/getAlert.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::LookoutMetrics::Alert */ export function getAlert(args: GetAlertArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lookoutmetrics:getAlert", { "arn": args.arn, @@ -32,7 +31,10 @@ export interface GetAlertResult { * Resource Type definition for AWS::LookoutMetrics::Alert */ export function getAlertOutput(args: GetAlertOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlert(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lookoutmetrics:getAlert", { + "arn": args.arn, + }, opts); } export interface GetAlertOutputArgs { diff --git a/sdk/nodejs/lookoutmetrics/getAnomalyDetector.ts b/sdk/nodejs/lookoutmetrics/getAnomalyDetector.ts index b8542b0db6..3243ee4ada 100644 --- a/sdk/nodejs/lookoutmetrics/getAnomalyDetector.ts +++ b/sdk/nodejs/lookoutmetrics/getAnomalyDetector.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An Amazon Lookout for Metrics Detector */ export function getAnomalyDetector(args: GetAnomalyDetectorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lookoutmetrics:getAnomalyDetector", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetAnomalyDetectorResult { * An Amazon Lookout for Metrics Detector */ export function getAnomalyDetectorOutput(args: GetAnomalyDetectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAnomalyDetector(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lookoutmetrics:getAnomalyDetector", { + "arn": args.arn, + }, opts); } export interface GetAnomalyDetectorOutputArgs { diff --git a/sdk/nodejs/lookoutvision/getProject.ts b/sdk/nodejs/lookoutvision/getProject.ts index 0a6c5ef71d..0748ee479a 100644 --- a/sdk/nodejs/lookoutvision/getProject.ts +++ b/sdk/nodejs/lookoutvision/getProject.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::LookoutVision::Project type creates an Amazon Lookout for Vision project. A project is a grouping of the resources needed to create and manage a Lookout for Vision model. */ export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:lookoutvision:getProject", { "projectName": args.projectName, @@ -32,7 +31,10 @@ export interface GetProjectResult { * The AWS::LookoutVision::Project type creates an Amazon Lookout for Vision project. A project is a grouping of the resources needed to create and manage a Lookout for Vision model. */ export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProject(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:lookoutvision:getProject", { + "projectName": args.projectName, + }, opts); } export interface GetProjectOutputArgs { diff --git a/sdk/nodejs/m2/getApplication.ts b/sdk/nodejs/m2/getApplication.ts index 351d3c7a11..b14a88b387 100644 --- a/sdk/nodejs/m2/getApplication.ts +++ b/sdk/nodejs/m2/getApplication.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Represents an application that runs on an AWS Mainframe Modernization Environment */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:m2:getApplication", { "applicationArn": args.applicationArn, @@ -46,7 +45,10 @@ export interface GetApplicationResult { * Represents an application that runs on an AWS Mainframe Modernization Environment */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:m2:getApplication", { + "applicationArn": args.applicationArn, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/m2/getEnvironment.ts b/sdk/nodejs/m2/getEnvironment.ts index c18a63d017..4738808bdc 100644 --- a/sdk/nodejs/m2/getEnvironment.ts +++ b/sdk/nodejs/m2/getEnvironment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a runtime environment that can run migrated mainframe applications. */ export function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:m2:getEnvironment", { "environmentArn": args.environmentArn, @@ -59,7 +58,10 @@ export interface GetEnvironmentResult { * Represents a runtime environment that can run migrated mainframe applications. */ export function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:m2:getEnvironment", { + "environmentArn": args.environmentArn, + }, opts); } export interface GetEnvironmentOutputArgs { diff --git a/sdk/nodejs/macie/getAllowList.ts b/sdk/nodejs/macie/getAllowList.ts index e1939dcd16..6a7990899f 100644 --- a/sdk/nodejs/macie/getAllowList.ts +++ b/sdk/nodejs/macie/getAllowList.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Macie AllowList resource schema */ export function getAllowList(args: GetAllowListArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:macie:getAllowList", { "id": args.id, @@ -59,7 +58,10 @@ export interface GetAllowListResult { * Macie AllowList resource schema */ export function getAllowListOutput(args: GetAllowListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAllowList(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:macie:getAllowList", { + "id": args.id, + }, opts); } export interface GetAllowListOutputArgs { diff --git a/sdk/nodejs/macie/getCustomDataIdentifier.ts b/sdk/nodejs/macie/getCustomDataIdentifier.ts index 3e66102935..c5bd17707e 100644 --- a/sdk/nodejs/macie/getCustomDataIdentifier.ts +++ b/sdk/nodejs/macie/getCustomDataIdentifier.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Macie CustomDataIdentifier resource schema */ export function getCustomDataIdentifier(args: GetCustomDataIdentifierArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:macie:getCustomDataIdentifier", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetCustomDataIdentifierResult { * Macie CustomDataIdentifier resource schema */ export function getCustomDataIdentifierOutput(args: GetCustomDataIdentifierOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCustomDataIdentifier(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:macie:getCustomDataIdentifier", { + "id": args.id, + }, opts); } export interface GetCustomDataIdentifierOutputArgs { diff --git a/sdk/nodejs/macie/getFindingsFilter.ts b/sdk/nodejs/macie/getFindingsFilter.ts index a1e9be09c7..a3c50936a7 100644 --- a/sdk/nodejs/macie/getFindingsFilter.ts +++ b/sdk/nodejs/macie/getFindingsFilter.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Macie FindingsFilter resource schema. */ export function getFindingsFilter(args: GetFindingsFilterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:macie:getFindingsFilter", { "id": args.id, @@ -63,7 +62,10 @@ export interface GetFindingsFilterResult { * Macie FindingsFilter resource schema. */ export function getFindingsFilterOutput(args: GetFindingsFilterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFindingsFilter(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:macie:getFindingsFilter", { + "id": args.id, + }, opts); } export interface GetFindingsFilterOutputArgs { diff --git a/sdk/nodejs/macie/getSession.ts b/sdk/nodejs/macie/getSession.ts index 832576159d..58484c86b6 100644 --- a/sdk/nodejs/macie/getSession.ts +++ b/sdk/nodejs/macie/getSession.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Macie::Session resource specifies a new Amazon Macie session. A session is an object that represents the Amazon Macie service. A session is required for Amazon Macie to become operational. */ export function getSession(args: GetSessionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:macie:getSession", { "awsAccountId": args.awsAccountId, @@ -47,7 +46,10 @@ export interface GetSessionResult { * The AWS::Macie::Session resource specifies a new Amazon Macie session. A session is an object that represents the Amazon Macie service. A session is required for Amazon Macie to become operational. */ export function getSessionOutput(args: GetSessionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSession(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:macie:getSession", { + "awsAccountId": args.awsAccountId, + }, opts); } export interface GetSessionOutputArgs { diff --git a/sdk/nodejs/mediaconnect/getBridge.ts b/sdk/nodejs/mediaconnect/getBridge.ts index 9e4b46b4a4..60c8568250 100644 --- a/sdk/nodejs/mediaconnect/getBridge.ts +++ b/sdk/nodejs/mediaconnect/getBridge.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaConnect::Bridge */ export function getBridge(args: GetBridgeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediaconnect:getBridge", { "bridgeArn": args.bridgeArn, @@ -67,7 +66,10 @@ export interface GetBridgeResult { * Resource schema for AWS::MediaConnect::Bridge */ export function getBridgeOutput(args: GetBridgeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBridge(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediaconnect:getBridge", { + "bridgeArn": args.bridgeArn, + }, opts); } export interface GetBridgeOutputArgs { diff --git a/sdk/nodejs/mediaconnect/getBridgeOutputResource.ts b/sdk/nodejs/mediaconnect/getBridgeOutputResource.ts index 26d612db9f..36da9f2215 100644 --- a/sdk/nodejs/mediaconnect/getBridgeOutputResource.ts +++ b/sdk/nodejs/mediaconnect/getBridgeOutputResource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaConnect::BridgeOutput */ export function getBridgeOutputResource(args: GetBridgeOutputResourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediaconnect:getBridgeOutputResource", { "bridgeArn": args.bridgeArn, @@ -40,7 +39,11 @@ export interface GetBridgeOutputResourceResult { * Resource schema for AWS::MediaConnect::BridgeOutput */ export function getBridgeOutputResourceOutput(args: GetBridgeOutputResourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBridgeOutputResource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediaconnect:getBridgeOutputResource", { + "bridgeArn": args.bridgeArn, + "name": args.name, + }, opts); } export interface GetBridgeOutputResourceOutputArgs { diff --git a/sdk/nodejs/mediaconnect/getBridgeSource.ts b/sdk/nodejs/mediaconnect/getBridgeSource.ts index 9d60e8cfd7..6dc81469da 100644 --- a/sdk/nodejs/mediaconnect/getBridgeSource.ts +++ b/sdk/nodejs/mediaconnect/getBridgeSource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaConnect::BridgeSource */ export function getBridgeSource(args: GetBridgeSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediaconnect:getBridgeSource", { "bridgeArn": args.bridgeArn, @@ -44,7 +43,11 @@ export interface GetBridgeSourceResult { * Resource schema for AWS::MediaConnect::BridgeSource */ export function getBridgeSourceOutput(args: GetBridgeSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBridgeSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediaconnect:getBridgeSource", { + "bridgeArn": args.bridgeArn, + "name": args.name, + }, opts); } export interface GetBridgeSourceOutputArgs { diff --git a/sdk/nodejs/mediaconnect/getFlow.ts b/sdk/nodejs/mediaconnect/getFlow.ts index f40c925218..859d1678fb 100644 --- a/sdk/nodejs/mediaconnect/getFlow.ts +++ b/sdk/nodejs/mediaconnect/getFlow.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaConnect::Flow */ export function getFlow(args: GetFlowArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediaconnect:getFlow", { "flowArn": args.flowArn, @@ -67,7 +66,10 @@ export interface GetFlowResult { * Resource schema for AWS::MediaConnect::Flow */ export function getFlowOutput(args: GetFlowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFlow(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediaconnect:getFlow", { + "flowArn": args.flowArn, + }, opts); } export interface GetFlowOutputArgs { diff --git a/sdk/nodejs/mediaconnect/getFlowEntitlement.ts b/sdk/nodejs/mediaconnect/getFlowEntitlement.ts index e269dc54dc..6f10a8a52a 100644 --- a/sdk/nodejs/mediaconnect/getFlowEntitlement.ts +++ b/sdk/nodejs/mediaconnect/getFlowEntitlement.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaConnect::FlowEntitlement */ export function getFlowEntitlement(args: GetFlowEntitlementArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediaconnect:getFlowEntitlement", { "entitlementArn": args.entitlementArn, @@ -55,7 +54,10 @@ export interface GetFlowEntitlementResult { * Resource schema for AWS::MediaConnect::FlowEntitlement */ export function getFlowEntitlementOutput(args: GetFlowEntitlementOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFlowEntitlement(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediaconnect:getFlowEntitlement", { + "entitlementArn": args.entitlementArn, + }, opts); } export interface GetFlowEntitlementOutputArgs { diff --git a/sdk/nodejs/mediaconnect/getFlowSource.ts b/sdk/nodejs/mediaconnect/getFlowSource.ts index 3703358fda..c65172140f 100644 --- a/sdk/nodejs/mediaconnect/getFlowSource.ts +++ b/sdk/nodejs/mediaconnect/getFlowSource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaConnect::FlowSource */ export function getFlowSource(args: GetFlowSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediaconnect:getFlowSource", { "sourceArn": args.sourceArn, @@ -111,7 +110,10 @@ export interface GetFlowSourceResult { * Resource schema for AWS::MediaConnect::FlowSource */ export function getFlowSourceOutput(args: GetFlowSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFlowSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediaconnect:getFlowSource", { + "sourceArn": args.sourceArn, + }, opts); } export interface GetFlowSourceOutputArgs { diff --git a/sdk/nodejs/mediaconnect/getFlowVpcInterface.ts b/sdk/nodejs/mediaconnect/getFlowVpcInterface.ts index 48782ac4d4..6317a1fec4 100644 --- a/sdk/nodejs/mediaconnect/getFlowVpcInterface.ts +++ b/sdk/nodejs/mediaconnect/getFlowVpcInterface.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaConnect::FlowVpcInterface */ export function getFlowVpcInterface(args: GetFlowVpcInterfaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediaconnect:getFlowVpcInterface", { "flowArn": args.flowArn, @@ -49,7 +48,11 @@ export interface GetFlowVpcInterfaceResult { * Resource schema for AWS::MediaConnect::FlowVpcInterface */ export function getFlowVpcInterfaceOutput(args: GetFlowVpcInterfaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFlowVpcInterface(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediaconnect:getFlowVpcInterface", { + "flowArn": args.flowArn, + "name": args.name, + }, opts); } export interface GetFlowVpcInterfaceOutputArgs { diff --git a/sdk/nodejs/mediaconnect/getGateway.ts b/sdk/nodejs/mediaconnect/getGateway.ts index f3d6190876..1d8f525129 100644 --- a/sdk/nodejs/mediaconnect/getGateway.ts +++ b/sdk/nodejs/mediaconnect/getGateway.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaConnect::Gateway */ export function getGateway(args: GetGatewayArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediaconnect:getGateway", { "gatewayArn": args.gatewayArn, @@ -39,7 +38,10 @@ export interface GetGatewayResult { * Resource schema for AWS::MediaConnect::Gateway */ export function getGatewayOutput(args: GetGatewayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGateway(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediaconnect:getGateway", { + "gatewayArn": args.gatewayArn, + }, opts); } export interface GetGatewayOutputArgs { diff --git a/sdk/nodejs/medialive/getChannelPlacementGroup.ts b/sdk/nodejs/medialive/getChannelPlacementGroup.ts index 0819ec30ab..8c9f04714d 100644 --- a/sdk/nodejs/medialive/getChannelPlacementGroup.ts +++ b/sdk/nodejs/medialive/getChannelPlacementGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaLive::ChannelPlacementGroup Resource Type */ export function getChannelPlacementGroup(args: GetChannelPlacementGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:medialive:getChannelPlacementGroup", { "clusterId": args.clusterId, @@ -61,7 +60,11 @@ export interface GetChannelPlacementGroupResult { * Definition of AWS::MediaLive::ChannelPlacementGroup Resource Type */ export function getChannelPlacementGroupOutput(args: GetChannelPlacementGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getChannelPlacementGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:medialive:getChannelPlacementGroup", { + "clusterId": args.clusterId, + "id": args.id, + }, opts); } export interface GetChannelPlacementGroupOutputArgs { diff --git a/sdk/nodejs/medialive/getCloudWatchAlarmTemplate.ts b/sdk/nodejs/medialive/getCloudWatchAlarmTemplate.ts index 3f8934019f..4ca1323b0e 100644 --- a/sdk/nodejs/medialive/getCloudWatchAlarmTemplate.ts +++ b/sdk/nodejs/medialive/getCloudWatchAlarmTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaLive::CloudWatchAlarmTemplate Resource Type */ export function getCloudWatchAlarmTemplate(args: GetCloudWatchAlarmTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:medialive:getCloudWatchAlarmTemplate", { "identifier": args.identifier, @@ -93,7 +92,10 @@ export interface GetCloudWatchAlarmTemplateResult { * Definition of AWS::MediaLive::CloudWatchAlarmTemplate Resource Type */ export function getCloudWatchAlarmTemplateOutput(args: GetCloudWatchAlarmTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudWatchAlarmTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:medialive:getCloudWatchAlarmTemplate", { + "identifier": args.identifier, + }, opts); } export interface GetCloudWatchAlarmTemplateOutputArgs { diff --git a/sdk/nodejs/medialive/getCloudWatchAlarmTemplateGroup.ts b/sdk/nodejs/medialive/getCloudWatchAlarmTemplateGroup.ts index e125d47254..b7b1a8c337 100644 --- a/sdk/nodejs/medialive/getCloudWatchAlarmTemplateGroup.ts +++ b/sdk/nodejs/medialive/getCloudWatchAlarmTemplateGroup.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaLive::CloudWatchAlarmTemplateGroup Resource Type */ export function getCloudWatchAlarmTemplateGroup(args: GetCloudWatchAlarmTemplateGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:medialive:getCloudWatchAlarmTemplateGroup", { "identifier": args.identifier, @@ -46,7 +45,10 @@ export interface GetCloudWatchAlarmTemplateGroupResult { * Definition of AWS::MediaLive::CloudWatchAlarmTemplateGroup Resource Type */ export function getCloudWatchAlarmTemplateGroupOutput(args: GetCloudWatchAlarmTemplateGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudWatchAlarmTemplateGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:medialive:getCloudWatchAlarmTemplateGroup", { + "identifier": args.identifier, + }, opts); } export interface GetCloudWatchAlarmTemplateGroupOutputArgs { diff --git a/sdk/nodejs/medialive/getCluster.ts b/sdk/nodejs/medialive/getCluster.ts index e82db4a062..9adcfab790 100644 --- a/sdk/nodejs/medialive/getCluster.ts +++ b/sdk/nodejs/medialive/getCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaLive::Cluster Resource Type */ export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:medialive:getCluster", { "id": args.id, @@ -53,7 +52,10 @@ export interface GetClusterResult { * Definition of AWS::MediaLive::Cluster Resource Type */ export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:medialive:getCluster", { + "id": args.id, + }, opts); } export interface GetClusterOutputArgs { diff --git a/sdk/nodejs/medialive/getEventBridgeRuleTemplate.ts b/sdk/nodejs/medialive/getEventBridgeRuleTemplate.ts index 32ed972b90..0b4dc90b1c 100644 --- a/sdk/nodejs/medialive/getEventBridgeRuleTemplate.ts +++ b/sdk/nodejs/medialive/getEventBridgeRuleTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaLive::EventBridgeRuleTemplate Resource Type */ export function getEventBridgeRuleTemplate(args: GetEventBridgeRuleTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:medialive:getEventBridgeRuleTemplate", { "identifier": args.identifier, @@ -71,7 +70,10 @@ export interface GetEventBridgeRuleTemplateResult { * Definition of AWS::MediaLive::EventBridgeRuleTemplate Resource Type */ export function getEventBridgeRuleTemplateOutput(args: GetEventBridgeRuleTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventBridgeRuleTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:medialive:getEventBridgeRuleTemplate", { + "identifier": args.identifier, + }, opts); } export interface GetEventBridgeRuleTemplateOutputArgs { diff --git a/sdk/nodejs/medialive/getEventBridgeRuleTemplateGroup.ts b/sdk/nodejs/medialive/getEventBridgeRuleTemplateGroup.ts index fa1196fc85..a087ad123b 100644 --- a/sdk/nodejs/medialive/getEventBridgeRuleTemplateGroup.ts +++ b/sdk/nodejs/medialive/getEventBridgeRuleTemplateGroup.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaLive::EventBridgeRuleTemplateGroup Resource Type */ export function getEventBridgeRuleTemplateGroup(args: GetEventBridgeRuleTemplateGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:medialive:getEventBridgeRuleTemplateGroup", { "identifier": args.identifier, @@ -46,7 +45,10 @@ export interface GetEventBridgeRuleTemplateGroupResult { * Definition of AWS::MediaLive::EventBridgeRuleTemplateGroup Resource Type */ export function getEventBridgeRuleTemplateGroupOutput(args: GetEventBridgeRuleTemplateGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventBridgeRuleTemplateGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:medialive:getEventBridgeRuleTemplateGroup", { + "identifier": args.identifier, + }, opts); } export interface GetEventBridgeRuleTemplateGroupOutputArgs { diff --git a/sdk/nodejs/medialive/getMultiplex.ts b/sdk/nodejs/medialive/getMultiplex.ts index fed581a91b..1659365dc9 100644 --- a/sdk/nodejs/medialive/getMultiplex.ts +++ b/sdk/nodejs/medialive/getMultiplex.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaLive::Multiplex */ export function getMultiplex(args: GetMultiplexArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:medialive:getMultiplex", { "id": args.id, @@ -67,7 +66,10 @@ export interface GetMultiplexResult { * Resource schema for AWS::MediaLive::Multiplex */ export function getMultiplexOutput(args: GetMultiplexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMultiplex(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:medialive:getMultiplex", { + "id": args.id, + }, opts); } export interface GetMultiplexOutputArgs { diff --git a/sdk/nodejs/medialive/getMultiplexprogram.ts b/sdk/nodejs/medialive/getMultiplexprogram.ts index b6695d01b8..68739a9674 100644 --- a/sdk/nodejs/medialive/getMultiplexprogram.ts +++ b/sdk/nodejs/medialive/getMultiplexprogram.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaLive::Multiplexprogram */ export function getMultiplexprogram(args: GetMultiplexprogramArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:medialive:getMultiplexprogram", { "multiplexId": args.multiplexId, @@ -52,7 +51,11 @@ export interface GetMultiplexprogramResult { * Resource schema for AWS::MediaLive::Multiplexprogram */ export function getMultiplexprogramOutput(args: GetMultiplexprogramOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMultiplexprogram(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:medialive:getMultiplexprogram", { + "multiplexId": args.multiplexId, + "programName": args.programName, + }, opts); } export interface GetMultiplexprogramOutputArgs { diff --git a/sdk/nodejs/medialive/getNetwork.ts b/sdk/nodejs/medialive/getNetwork.ts index 52e34477ba..c5c9848b6a 100644 --- a/sdk/nodejs/medialive/getNetwork.ts +++ b/sdk/nodejs/medialive/getNetwork.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaLive::Network. */ export function getNetwork(args: GetNetworkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:medialive:getNetwork", { "id": args.id, @@ -60,7 +59,10 @@ export interface GetNetworkResult { * Resource schema for AWS::MediaLive::Network. */ export function getNetworkOutput(args: GetNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetwork(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:medialive:getNetwork", { + "id": args.id, + }, opts); } export interface GetNetworkOutputArgs { diff --git a/sdk/nodejs/medialive/getSdiSource.ts b/sdk/nodejs/medialive/getSdiSource.ts index f807e4f62d..3924b84b1f 100644 --- a/sdk/nodejs/medialive/getSdiSource.ts +++ b/sdk/nodejs/medialive/getSdiSource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaLive::SdiSource Resource Type */ export function getSdiSource(args: GetSdiSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:medialive:getSdiSource", { "id": args.id, @@ -54,7 +53,10 @@ export interface GetSdiSourceResult { * Definition of AWS::MediaLive::SdiSource Resource Type */ export function getSdiSourceOutput(args: GetSdiSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSdiSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:medialive:getSdiSource", { + "id": args.id, + }, opts); } export interface GetSdiSourceOutputArgs { diff --git a/sdk/nodejs/medialive/getSignalMap.ts b/sdk/nodejs/medialive/getSignalMap.ts index 1144a58c66..2228dafc26 100644 --- a/sdk/nodejs/medialive/getSignalMap.ts +++ b/sdk/nodejs/medialive/getSignalMap.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaLive::SignalMap Resource Type */ export function getSignalMap(args: GetSignalMapArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:medialive:getSignalMap", { "identifier": args.identifier, @@ -85,7 +84,10 @@ export interface GetSignalMapResult { * Definition of AWS::MediaLive::SignalMap Resource Type */ export function getSignalMapOutput(args: GetSignalMapOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSignalMap(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:medialive:getSignalMap", { + "identifier": args.identifier, + }, opts); } export interface GetSignalMapOutputArgs { diff --git a/sdk/nodejs/mediapackage/getAsset.ts b/sdk/nodejs/mediapackage/getAsset.ts index 3ee8abe4bc..b1f74ca57f 100644 --- a/sdk/nodejs/mediapackage/getAsset.ts +++ b/sdk/nodejs/mediapackage/getAsset.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaPackage::Asset */ export function getAsset(args: GetAssetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediapackage:getAsset", { "id": args.id, @@ -67,7 +66,10 @@ export interface GetAssetResult { * Resource schema for AWS::MediaPackage::Asset */ export function getAssetOutput(args: GetAssetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAsset(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediapackage:getAsset", { + "id": args.id, + }, opts); } export interface GetAssetOutputArgs { diff --git a/sdk/nodejs/mediapackage/getChannel.ts b/sdk/nodejs/mediapackage/getChannel.ts index ed8d11cd03..2ba12ba949 100644 --- a/sdk/nodejs/mediapackage/getChannel.ts +++ b/sdk/nodejs/mediapackage/getChannel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaPackage::Channel */ export function getChannel(args: GetChannelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediapackage:getChannel", { "id": args.id, @@ -51,7 +50,10 @@ export interface GetChannelResult { * Resource schema for AWS::MediaPackage::Channel */ export function getChannelOutput(args: GetChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getChannel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediapackage:getChannel", { + "id": args.id, + }, opts); } export interface GetChannelOutputArgs { diff --git a/sdk/nodejs/mediapackage/getOriginEndpoint.ts b/sdk/nodejs/mediapackage/getOriginEndpoint.ts index 380b1e8e91..687965b04e 100644 --- a/sdk/nodejs/mediapackage/getOriginEndpoint.ts +++ b/sdk/nodejs/mediapackage/getOriginEndpoint.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaPackage::OriginEndpoint */ export function getOriginEndpoint(args: GetOriginEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediapackage:getOriginEndpoint", { "id": args.id, @@ -91,7 +90,10 @@ export interface GetOriginEndpointResult { * Resource schema for AWS::MediaPackage::OriginEndpoint */ export function getOriginEndpointOutput(args: GetOriginEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOriginEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediapackage:getOriginEndpoint", { + "id": args.id, + }, opts); } export interface GetOriginEndpointOutputArgs { diff --git a/sdk/nodejs/mediapackage/getPackagingConfiguration.ts b/sdk/nodejs/mediapackage/getPackagingConfiguration.ts index 532cd56a17..5badef6985 100644 --- a/sdk/nodejs/mediapackage/getPackagingConfiguration.ts +++ b/sdk/nodejs/mediapackage/getPackagingConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaPackage::PackagingConfiguration */ export function getPackagingConfiguration(args: GetPackagingConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediapackage:getPackagingConfiguration", { "id": args.id, @@ -59,7 +58,10 @@ export interface GetPackagingConfigurationResult { * Resource schema for AWS::MediaPackage::PackagingConfiguration */ export function getPackagingConfigurationOutput(args: GetPackagingConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPackagingConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediapackage:getPackagingConfiguration", { + "id": args.id, + }, opts); } export interface GetPackagingConfigurationOutputArgs { diff --git a/sdk/nodejs/mediapackage/getPackagingGroup.ts b/sdk/nodejs/mediapackage/getPackagingGroup.ts index 5edd9dc2da..adaea874f5 100644 --- a/sdk/nodejs/mediapackage/getPackagingGroup.ts +++ b/sdk/nodejs/mediapackage/getPackagingGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaPackage::PackagingGroup */ export function getPackagingGroup(args: GetPackagingGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediapackage:getPackagingGroup", { "id": args.id, @@ -47,7 +46,10 @@ export interface GetPackagingGroupResult { * Resource schema for AWS::MediaPackage::PackagingGroup */ export function getPackagingGroupOutput(args: GetPackagingGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPackagingGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediapackage:getPackagingGroup", { + "id": args.id, + }, opts); } export interface GetPackagingGroupOutputArgs { diff --git a/sdk/nodejs/mediapackagev2/getChannel.ts b/sdk/nodejs/mediapackagev2/getChannel.ts index 7b31f4ccb4..6528417eee 100644 --- a/sdk/nodejs/mediapackagev2/getChannel.ts +++ b/sdk/nodejs/mediapackagev2/getChannel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; *

Represents an entry point into AWS Elemental MediaPackage for an ABR video content stream sent from an upstream encoder such as AWS Elemental MediaLive. The channel continuously analyzes the content that it receives and prepares it to be distributed to consumers via one or more origin endpoints.

*/ export function getChannel(args: GetChannelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediapackagev2:getChannel", { "arn": args.arn, @@ -56,7 +55,10 @@ export interface GetChannelResult { *

Represents an entry point into AWS Elemental MediaPackage for an ABR video content stream sent from an upstream encoder such as AWS Elemental MediaLive. The channel continuously analyzes the content that it receives and prepares it to be distributed to consumers via one or more origin endpoints.

*/ export function getChannelOutput(args: GetChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getChannel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediapackagev2:getChannel", { + "arn": args.arn, + }, opts); } export interface GetChannelOutputArgs { diff --git a/sdk/nodejs/mediapackagev2/getChannelGroup.ts b/sdk/nodejs/mediapackagev2/getChannelGroup.ts index c9a3bbe4ba..819be2bd5c 100644 --- a/sdk/nodejs/mediapackagev2/getChannelGroup.ts +++ b/sdk/nodejs/mediapackagev2/getChannelGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; *

Represents a channel group that facilitates the grouping of multiple channels.

*/ export function getChannelGroup(args: GetChannelGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediapackagev2:getChannelGroup", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetChannelGroupResult { *

Represents a channel group that facilitates the grouping of multiple channels.

*/ export function getChannelGroupOutput(args: GetChannelGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getChannelGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediapackagev2:getChannelGroup", { + "arn": args.arn, + }, opts); } export interface GetChannelGroupOutputArgs { diff --git a/sdk/nodejs/mediapackagev2/getChannelPolicy.ts b/sdk/nodejs/mediapackagev2/getChannelPolicy.ts index 31ca58d1c4..b6d737175f 100644 --- a/sdk/nodejs/mediapackagev2/getChannelPolicy.ts +++ b/sdk/nodejs/mediapackagev2/getChannelPolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; *

Represents a resource-based policy that allows or denies access to a channel.

*/ export function getChannelPolicy(args: GetChannelPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediapackagev2:getChannelPolicy", { "channelGroupName": args.channelGroupName, @@ -39,7 +38,11 @@ export interface GetChannelPolicyResult { *

Represents a resource-based policy that allows or denies access to a channel.

*/ export function getChannelPolicyOutput(args: GetChannelPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getChannelPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediapackagev2:getChannelPolicy", { + "channelGroupName": args.channelGroupName, + "channelName": args.channelName, + }, opts); } export interface GetChannelPolicyOutputArgs { diff --git a/sdk/nodejs/mediapackagev2/getOriginEndpoint.ts b/sdk/nodejs/mediapackagev2/getOriginEndpoint.ts index c0ba5baeb4..3f6907811f 100644 --- a/sdk/nodejs/mediapackagev2/getOriginEndpoint.ts +++ b/sdk/nodejs/mediapackagev2/getOriginEndpoint.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; *

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.

*/ export function getOriginEndpoint(args: GetOriginEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediapackagev2:getOriginEndpoint", { "arn": args.arn, @@ -82,7 +81,10 @@ export interface GetOriginEndpointResult { *

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.

*/ export function getOriginEndpointOutput(args: GetOriginEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOriginEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediapackagev2:getOriginEndpoint", { + "arn": args.arn, + }, opts); } export interface GetOriginEndpointOutputArgs { diff --git a/sdk/nodejs/mediapackagev2/getOriginEndpointPolicy.ts b/sdk/nodejs/mediapackagev2/getOriginEndpointPolicy.ts index 7baf1a325b..c57550dcc1 100644 --- a/sdk/nodejs/mediapackagev2/getOriginEndpointPolicy.ts +++ b/sdk/nodejs/mediapackagev2/getOriginEndpointPolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; *

Represents a resource policy that allows or denies access to an origin endpoint.

*/ export function getOriginEndpointPolicy(args: GetOriginEndpointPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediapackagev2:getOriginEndpointPolicy", { "channelGroupName": args.channelGroupName, @@ -44,7 +43,12 @@ export interface GetOriginEndpointPolicyResult { *

Represents a resource policy that allows or denies access to an origin endpoint.

*/ export function getOriginEndpointPolicyOutput(args: GetOriginEndpointPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOriginEndpointPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediapackagev2:getOriginEndpointPolicy", { + "channelGroupName": args.channelGroupName, + "channelName": args.channelName, + "originEndpointName": args.originEndpointName, + }, opts); } export interface GetOriginEndpointPolicyOutputArgs { diff --git a/sdk/nodejs/mediatailor/getChannel.ts b/sdk/nodejs/mediatailor/getChannel.ts index 6ebeebea9b..82a9d12571 100644 --- a/sdk/nodejs/mediatailor/getChannel.ts +++ b/sdk/nodejs/mediatailor/getChannel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaTailor::Channel Resource Type */ export function getChannel(args: GetChannelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediatailor:getChannel", { "channelName": args.channelName, @@ -63,7 +62,10 @@ export interface GetChannelResult { * Definition of AWS::MediaTailor::Channel Resource Type */ export function getChannelOutput(args: GetChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getChannel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediatailor:getChannel", { + "channelName": args.channelName, + }, opts); } export interface GetChannelOutputArgs { diff --git a/sdk/nodejs/mediatailor/getChannelPolicy.ts b/sdk/nodejs/mediatailor/getChannelPolicy.ts index 99911b7258..bc5c5715da 100644 --- a/sdk/nodejs/mediatailor/getChannelPolicy.ts +++ b/sdk/nodejs/mediatailor/getChannelPolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaTailor::ChannelPolicy Resource Type */ export function getChannelPolicy(args: GetChannelPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediatailor:getChannelPolicy", { "channelName": args.channelName, @@ -34,7 +33,10 @@ export interface GetChannelPolicyResult { * Definition of AWS::MediaTailor::ChannelPolicy Resource Type */ export function getChannelPolicyOutput(args: GetChannelPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getChannelPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediatailor:getChannelPolicy", { + "channelName": args.channelName, + }, opts); } export interface GetChannelPolicyOutputArgs { diff --git a/sdk/nodejs/mediatailor/getLiveSource.ts b/sdk/nodejs/mediatailor/getLiveSource.ts index f5187335e9..f3dc819ef0 100644 --- a/sdk/nodejs/mediatailor/getLiveSource.ts +++ b/sdk/nodejs/mediatailor/getLiveSource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaTailor::LiveSource Resource Type */ export function getLiveSource(args: GetLiveSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediatailor:getLiveSource", { "liveSourceName": args.liveSourceName, @@ -48,7 +47,11 @@ export interface GetLiveSourceResult { * Definition of AWS::MediaTailor::LiveSource Resource Type */ export function getLiveSourceOutput(args: GetLiveSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLiveSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediatailor:getLiveSource", { + "liveSourceName": args.liveSourceName, + "sourceLocationName": args.sourceLocationName, + }, opts); } export interface GetLiveSourceOutputArgs { diff --git a/sdk/nodejs/mediatailor/getPlaybackConfiguration.ts b/sdk/nodejs/mediatailor/getPlaybackConfiguration.ts index 3998fc88c1..d1c43b01c1 100644 --- a/sdk/nodejs/mediatailor/getPlaybackConfiguration.ts +++ b/sdk/nodejs/mediatailor/getPlaybackConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MediaTailor::PlaybackConfiguration */ export function getPlaybackConfiguration(args: GetPlaybackConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediatailor:getPlaybackConfiguration", { "name": args.name, @@ -99,7 +98,10 @@ export interface GetPlaybackConfigurationResult { * Resource schema for AWS::MediaTailor::PlaybackConfiguration */ export function getPlaybackConfigurationOutput(args: GetPlaybackConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPlaybackConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediatailor:getPlaybackConfiguration", { + "name": args.name, + }, opts); } export interface GetPlaybackConfigurationOutputArgs { diff --git a/sdk/nodejs/mediatailor/getSourceLocation.ts b/sdk/nodejs/mediatailor/getSourceLocation.ts index 0734960edf..7db87b8829 100644 --- a/sdk/nodejs/mediatailor/getSourceLocation.ts +++ b/sdk/nodejs/mediatailor/getSourceLocation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaTailor::SourceLocation Resource Type */ export function getSourceLocation(args: GetSourceLocationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediatailor:getSourceLocation", { "sourceLocationName": args.sourceLocationName, @@ -55,7 +54,10 @@ export interface GetSourceLocationResult { * Definition of AWS::MediaTailor::SourceLocation Resource Type */ export function getSourceLocationOutput(args: GetSourceLocationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSourceLocation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediatailor:getSourceLocation", { + "sourceLocationName": args.sourceLocationName, + }, opts); } export interface GetSourceLocationOutputArgs { diff --git a/sdk/nodejs/mediatailor/getVodSource.ts b/sdk/nodejs/mediatailor/getVodSource.ts index fcd7589653..a3911e0004 100644 --- a/sdk/nodejs/mediatailor/getVodSource.ts +++ b/sdk/nodejs/mediatailor/getVodSource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::MediaTailor::VodSource Resource Type */ export function getVodSource(args: GetVodSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mediatailor:getVodSource", { "sourceLocationName": args.sourceLocationName, @@ -48,7 +47,11 @@ export interface GetVodSourceResult { * Definition of AWS::MediaTailor::VodSource Resource Type */ export function getVodSourceOutput(args: GetVodSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVodSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mediatailor:getVodSource", { + "sourceLocationName": args.sourceLocationName, + "vodSourceName": args.vodSourceName, + }, opts); } export interface GetVodSourceOutputArgs { diff --git a/sdk/nodejs/memorydb/getAcl.ts b/sdk/nodejs/memorydb/getAcl.ts index fe53675bba..88dff832e1 100644 --- a/sdk/nodejs/memorydb/getAcl.ts +++ b/sdk/nodejs/memorydb/getAcl.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::MemoryDB::ACL */ export function getAcl(args: GetAclArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:memorydb:getAcl", { "aclName": args.aclName, @@ -47,7 +46,10 @@ export interface GetAclResult { * Resource Type definition for AWS::MemoryDB::ACL */ export function getAclOutput(args: GetAclOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAcl(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:memorydb:getAcl", { + "aclName": args.aclName, + }, opts); } export interface GetAclOutputArgs { diff --git a/sdk/nodejs/memorydb/getCluster.ts b/sdk/nodejs/memorydb/getCluster.ts index e5634fff19..5c597fe561 100644 --- a/sdk/nodejs/memorydb/getCluster.ts +++ b/sdk/nodejs/memorydb/getCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::MemoryDB::Cluster resource creates an Amazon MemoryDB Cluster. */ export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:memorydb:getCluster", { "clusterName": args.clusterName, @@ -109,7 +108,10 @@ export interface GetClusterResult { * The AWS::MemoryDB::Cluster resource creates an Amazon MemoryDB Cluster. */ export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:memorydb:getCluster", { + "clusterName": args.clusterName, + }, opts); } export interface GetClusterOutputArgs { diff --git a/sdk/nodejs/memorydb/getParameterGroup.ts b/sdk/nodejs/memorydb/getParameterGroup.ts index e065a8f40e..34e1272177 100644 --- a/sdk/nodejs/memorydb/getParameterGroup.ts +++ b/sdk/nodejs/memorydb/getParameterGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::MemoryDB::ParameterGroup resource creates an Amazon MemoryDB ParameterGroup. */ export function getParameterGroup(args: GetParameterGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:memorydb:getParameterGroup", { "parameterGroupName": args.parameterGroupName, @@ -39,7 +38,10 @@ export interface GetParameterGroupResult { * The AWS::MemoryDB::ParameterGroup resource creates an Amazon MemoryDB ParameterGroup. */ export function getParameterGroupOutput(args: GetParameterGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getParameterGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:memorydb:getParameterGroup", { + "parameterGroupName": args.parameterGroupName, + }, opts); } export interface GetParameterGroupOutputArgs { diff --git a/sdk/nodejs/memorydb/getSubnetGroup.ts b/sdk/nodejs/memorydb/getSubnetGroup.ts index 92cd9557b3..a9c50c6481 100644 --- a/sdk/nodejs/memorydb/getSubnetGroup.ts +++ b/sdk/nodejs/memorydb/getSubnetGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::MemoryDB::SubnetGroup resource creates an Amazon MemoryDB Subnet Group. */ export function getSubnetGroup(args: GetSubnetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:memorydb:getSubnetGroup", { "subnetGroupName": args.subnetGroupName, @@ -47,7 +46,10 @@ export interface GetSubnetGroupResult { * The AWS::MemoryDB::SubnetGroup resource creates an Amazon MemoryDB Subnet Group. */ export function getSubnetGroupOutput(args: GetSubnetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSubnetGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:memorydb:getSubnetGroup", { + "subnetGroupName": args.subnetGroupName, + }, opts); } export interface GetSubnetGroupOutputArgs { diff --git a/sdk/nodejs/memorydb/getUser.ts b/sdk/nodejs/memorydb/getUser.ts index 20225fb6a3..8fdc539ab1 100644 --- a/sdk/nodejs/memorydb/getUser.ts +++ b/sdk/nodejs/memorydb/getUser.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::MemoryDB::User */ export function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:memorydb:getUser", { "userName": args.userName, @@ -43,7 +42,10 @@ export interface GetUserResult { * Resource Type definition for AWS::MemoryDB::User */ export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUser(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:memorydb:getUser", { + "userName": args.userName, + }, opts); } export interface GetUserOutputArgs { diff --git a/sdk/nodejs/msk/getBatchScramSecret.ts b/sdk/nodejs/msk/getBatchScramSecret.ts index 5198fb1e35..c64e2283a7 100644 --- a/sdk/nodejs/msk/getBatchScramSecret.ts +++ b/sdk/nodejs/msk/getBatchScramSecret.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::MSK::BatchScramSecret */ export function getBatchScramSecret(args: GetBatchScramSecretArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:msk:getBatchScramSecret", { "clusterArn": args.clusterArn, @@ -26,7 +25,10 @@ export interface GetBatchScramSecretResult { * Resource Type definition for AWS::MSK::BatchScramSecret */ export function getBatchScramSecretOutput(args: GetBatchScramSecretOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBatchScramSecret(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:msk:getBatchScramSecret", { + "clusterArn": args.clusterArn, + }, opts); } export interface GetBatchScramSecretOutputArgs { diff --git a/sdk/nodejs/msk/getCluster.ts b/sdk/nodejs/msk/getCluster.ts index 9c7f2ca4dd..ed6260435c 100644 --- a/sdk/nodejs/msk/getCluster.ts +++ b/sdk/nodejs/msk/getCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::MSK::Cluster */ export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:msk:getCluster", { "arn": args.arn, @@ -47,7 +46,10 @@ export interface GetClusterResult { * Resource Type definition for AWS::MSK::Cluster */ export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:msk:getCluster", { + "arn": args.arn, + }, opts); } export interface GetClusterOutputArgs { diff --git a/sdk/nodejs/msk/getClusterPolicy.ts b/sdk/nodejs/msk/getClusterPolicy.ts index 77bf65d5a2..70fd9a2bf7 100644 --- a/sdk/nodejs/msk/getClusterPolicy.ts +++ b/sdk/nodejs/msk/getClusterPolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::MSK::ClusterPolicy */ export function getClusterPolicy(args: GetClusterPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:msk:getClusterPolicy", { "clusterArn": args.clusterArn, @@ -38,7 +37,10 @@ export interface GetClusterPolicyResult { * Resource Type definition for AWS::MSK::ClusterPolicy */ export function getClusterPolicyOutput(args: GetClusterPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClusterPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:msk:getClusterPolicy", { + "clusterArn": args.clusterArn, + }, opts); } export interface GetClusterPolicyOutputArgs { diff --git a/sdk/nodejs/msk/getConfiguration.ts b/sdk/nodejs/msk/getConfiguration.ts index 22697e1691..25910ebe3d 100644 --- a/sdk/nodejs/msk/getConfiguration.ts +++ b/sdk/nodejs/msk/getConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::MSK::Configuration */ export function getConfiguration(args: GetConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:msk:getConfiguration", { "arn": args.arn, @@ -31,7 +30,10 @@ export interface GetConfigurationResult { * Resource Type definition for AWS::MSK::Configuration */ export function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:msk:getConfiguration", { + "arn": args.arn, + }, opts); } export interface GetConfigurationOutputArgs { diff --git a/sdk/nodejs/msk/getReplicator.ts b/sdk/nodejs/msk/getReplicator.ts index c4f5ee4da2..fdcb727be1 100644 --- a/sdk/nodejs/msk/getReplicator.ts +++ b/sdk/nodejs/msk/getReplicator.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::MSK::Replicator */ export function getReplicator(args: GetReplicatorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:msk:getReplicator", { "replicatorArn": args.replicatorArn, @@ -47,7 +46,10 @@ export interface GetReplicatorResult { * Resource Type definition for AWS::MSK::Replicator */ export function getReplicatorOutput(args: GetReplicatorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getReplicator(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:msk:getReplicator", { + "replicatorArn": args.replicatorArn, + }, opts); } export interface GetReplicatorOutputArgs { diff --git a/sdk/nodejs/msk/getServerlessCluster.ts b/sdk/nodejs/msk/getServerlessCluster.ts index 41f0f856c8..596db4cfb2 100644 --- a/sdk/nodejs/msk/getServerlessCluster.ts +++ b/sdk/nodejs/msk/getServerlessCluster.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::MSK::ServerlessCluster */ export function getServerlessCluster(args: GetServerlessClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:msk:getServerlessCluster", { "arn": args.arn, @@ -26,7 +25,10 @@ export interface GetServerlessClusterResult { * Resource Type definition for AWS::MSK::ServerlessCluster */ export function getServerlessClusterOutput(args: GetServerlessClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServerlessCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:msk:getServerlessCluster", { + "arn": args.arn, + }, opts); } export interface GetServerlessClusterOutputArgs { diff --git a/sdk/nodejs/msk/getVpcConnection.ts b/sdk/nodejs/msk/getVpcConnection.ts index be5636792f..bf17ceb99c 100644 --- a/sdk/nodejs/msk/getVpcConnection.ts +++ b/sdk/nodejs/msk/getVpcConnection.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::MSK::VpcConnection */ export function getVpcConnection(args: GetVpcConnectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:msk:getVpcConnection", { "arn": args.arn, @@ -33,7 +32,10 @@ export interface GetVpcConnectionResult { * Resource Type definition for AWS::MSK::VpcConnection */ export function getVpcConnectionOutput(args: GetVpcConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcConnection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:msk:getVpcConnection", { + "arn": args.arn, + }, opts); } export interface GetVpcConnectionOutputArgs { diff --git a/sdk/nodejs/mwaa/getEnvironment.ts b/sdk/nodejs/mwaa/getEnvironment.ts index fd1c4fd28f..344f55ff3d 100644 --- a/sdk/nodejs/mwaa/getEnvironment.ts +++ b/sdk/nodejs/mwaa/getEnvironment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::MWAA::Environment */ export function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:mwaa:getEnvironment", { "name": args.name, @@ -172,7 +171,10 @@ export interface GetEnvironmentResult { * Resource schema for AWS::MWAA::Environment */ export function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:mwaa:getEnvironment", { + "name": args.name, + }, opts); } export interface GetEnvironmentOutputArgs { diff --git a/sdk/nodejs/neptune/getDbCluster.ts b/sdk/nodejs/neptune/getDbCluster.ts index 36680db1e6..d86242a4f1 100644 --- a/sdk/nodejs/neptune/getDbCluster.ts +++ b/sdk/nodejs/neptune/getDbCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Neptune::DBCluster resource creates an Amazon Neptune DB cluster. */ export function getDbCluster(args: GetDbClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:neptune:getDbCluster", { "dbClusterIdentifier": args.dbClusterIdentifier, @@ -107,7 +106,10 @@ export interface GetDbClusterResult { * The AWS::Neptune::DBCluster resource creates an Amazon Neptune DB cluster. */ export function getDbClusterOutput(args: GetDbClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDbCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:neptune:getDbCluster", { + "dbClusterIdentifier": args.dbClusterIdentifier, + }, opts); } export interface GetDbClusterOutputArgs { diff --git a/sdk/nodejs/neptunegraph/getGraph.ts b/sdk/nodejs/neptunegraph/getGraph.ts index 148fa39271..42f9d58db6 100644 --- a/sdk/nodejs/neptunegraph/getGraph.ts +++ b/sdk/nodejs/neptunegraph/getGraph.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::NeptuneGraph::Graph resource creates an Amazon NeptuneGraph Graph. */ export function getGraph(args: GetGraphArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:neptunegraph:getGraph", { "graphId": args.graphId, @@ -67,7 +66,10 @@ export interface GetGraphResult { * The AWS::NeptuneGraph::Graph resource creates an Amazon NeptuneGraph Graph. */ export function getGraphOutput(args: GetGraphOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGraph(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:neptunegraph:getGraph", { + "graphId": args.graphId, + }, opts); } export interface GetGraphOutputArgs { diff --git a/sdk/nodejs/neptunegraph/getPrivateGraphEndpoint.ts b/sdk/nodejs/neptunegraph/getPrivateGraphEndpoint.ts index 5469b5e6b5..0bce8cf5ef 100644 --- a/sdk/nodejs/neptunegraph/getPrivateGraphEndpoint.ts +++ b/sdk/nodejs/neptunegraph/getPrivateGraphEndpoint.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::NeptuneGraph::PrivateGraphEndpoint resource creates an Amazon NeptuneGraph PrivateGraphEndpoint. */ export function getPrivateGraphEndpoint(args: GetPrivateGraphEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:neptunegraph:getPrivateGraphEndpoint", { "privateGraphEndpointIdentifier": args.privateGraphEndpointIdentifier, @@ -40,7 +39,10 @@ export interface GetPrivateGraphEndpointResult { * The AWS::NeptuneGraph::PrivateGraphEndpoint resource creates an Amazon NeptuneGraph PrivateGraphEndpoint. */ export function getPrivateGraphEndpointOutput(args: GetPrivateGraphEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPrivateGraphEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:neptunegraph:getPrivateGraphEndpoint", { + "privateGraphEndpointIdentifier": args.privateGraphEndpointIdentifier, + }, opts); } export interface GetPrivateGraphEndpointOutputArgs { diff --git a/sdk/nodejs/networkfirewall/getFirewall.ts b/sdk/nodejs/networkfirewall/getFirewall.ts index 256fa3dc7f..55a8dda30b 100644 --- a/sdk/nodejs/networkfirewall/getFirewall.ts +++ b/sdk/nodejs/networkfirewall/getFirewall.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::NetworkFirewall::Firewall */ export function getFirewall(args: GetFirewallArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkfirewall:getFirewall", { "firewallArn": args.firewallArn, @@ -75,7 +74,10 @@ export interface GetFirewallResult { * Resource type definition for AWS::NetworkFirewall::Firewall */ export function getFirewallOutput(args: GetFirewallOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFirewall(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkfirewall:getFirewall", { + "firewallArn": args.firewallArn, + }, opts); } export interface GetFirewallOutputArgs { diff --git a/sdk/nodejs/networkfirewall/getFirewallPolicy.ts b/sdk/nodejs/networkfirewall/getFirewallPolicy.ts index 76a28e2eb1..0f3a33f9cb 100644 --- a/sdk/nodejs/networkfirewall/getFirewallPolicy.ts +++ b/sdk/nodejs/networkfirewall/getFirewallPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::NetworkFirewall::FirewallPolicy */ export function getFirewallPolicy(args: GetFirewallPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkfirewall:getFirewallPolicy", { "firewallPolicyArn": args.firewallPolicyArn, @@ -53,7 +52,10 @@ export interface GetFirewallPolicyResult { * Resource type definition for AWS::NetworkFirewall::FirewallPolicy */ export function getFirewallPolicyOutput(args: GetFirewallPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFirewallPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkfirewall:getFirewallPolicy", { + "firewallPolicyArn": args.firewallPolicyArn, + }, opts); } export interface GetFirewallPolicyOutputArgs { diff --git a/sdk/nodejs/networkfirewall/getLoggingConfiguration.ts b/sdk/nodejs/networkfirewall/getLoggingConfiguration.ts index 6a0cc9bb43..038324f3c0 100644 --- a/sdk/nodejs/networkfirewall/getLoggingConfiguration.ts +++ b/sdk/nodejs/networkfirewall/getLoggingConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::NetworkFirewall::LoggingConfiguration */ export function getLoggingConfiguration(args: GetLoggingConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkfirewall:getLoggingConfiguration", { "firewallArn": args.firewallArn, @@ -35,7 +34,10 @@ export interface GetLoggingConfigurationResult { * Resource type definition for AWS::NetworkFirewall::LoggingConfiguration */ export function getLoggingConfigurationOutput(args: GetLoggingConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLoggingConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkfirewall:getLoggingConfiguration", { + "firewallArn": args.firewallArn, + }, opts); } export interface GetLoggingConfigurationOutputArgs { diff --git a/sdk/nodejs/networkfirewall/getRuleGroup.ts b/sdk/nodejs/networkfirewall/getRuleGroup.ts index 047bcab6ba..81fcbe75ab 100644 --- a/sdk/nodejs/networkfirewall/getRuleGroup.ts +++ b/sdk/nodejs/networkfirewall/getRuleGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::NetworkFirewall::RuleGroup */ export function getRuleGroup(args: GetRuleGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkfirewall:getRuleGroup", { "ruleGroupArn": args.ruleGroupArn, @@ -53,7 +52,10 @@ export interface GetRuleGroupResult { * Resource type definition for AWS::NetworkFirewall::RuleGroup */ export function getRuleGroupOutput(args: GetRuleGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRuleGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkfirewall:getRuleGroup", { + "ruleGroupArn": args.ruleGroupArn, + }, opts); } export interface GetRuleGroupOutputArgs { diff --git a/sdk/nodejs/networkfirewall/getTlsInspectionConfiguration.ts b/sdk/nodejs/networkfirewall/getTlsInspectionConfiguration.ts index 8d9a74e6ed..a94056c6da 100644 --- a/sdk/nodejs/networkfirewall/getTlsInspectionConfiguration.ts +++ b/sdk/nodejs/networkfirewall/getTlsInspectionConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::NetworkFirewall::TLSInspectionConfiguration */ export function getTlsInspectionConfiguration(args: GetTlsInspectionConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkfirewall:getTlsInspectionConfiguration", { "tlsInspectionConfigurationArn": args.tlsInspectionConfigurationArn, @@ -51,7 +50,10 @@ export interface GetTlsInspectionConfigurationResult { * Resource type definition for AWS::NetworkFirewall::TLSInspectionConfiguration */ export function getTlsInspectionConfigurationOutput(args: GetTlsInspectionConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTlsInspectionConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkfirewall:getTlsInspectionConfiguration", { + "tlsInspectionConfigurationArn": args.tlsInspectionConfigurationArn, + }, opts); } export interface GetTlsInspectionConfigurationOutputArgs { diff --git a/sdk/nodejs/networkmanager/getConnectAttachment.ts b/sdk/nodejs/networkmanager/getConnectAttachment.ts index 7f31f101c6..7301c29f6a 100644 --- a/sdk/nodejs/networkmanager/getConnectAttachment.ts +++ b/sdk/nodejs/networkmanager/getConnectAttachment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::NetworkManager::ConnectAttachment Resource Type Definition */ export function getConnectAttachment(args: GetConnectAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkmanager:getConnectAttachment", { "attachmentId": args.attachmentId, @@ -87,7 +86,10 @@ export interface GetConnectAttachmentResult { * AWS::NetworkManager::ConnectAttachment Resource Type Definition */ export function getConnectAttachmentOutput(args: GetConnectAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnectAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkmanager:getConnectAttachment", { + "attachmentId": args.attachmentId, + }, opts); } export interface GetConnectAttachmentOutputArgs { diff --git a/sdk/nodejs/networkmanager/getConnectPeer.ts b/sdk/nodejs/networkmanager/getConnectPeer.ts index 5e493007d7..c7d3514099 100644 --- a/sdk/nodejs/networkmanager/getConnectPeer.ts +++ b/sdk/nodejs/networkmanager/getConnectPeer.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::NetworkManager::ConnectPeer Resource Type Definition. */ export function getConnectPeer(args: GetConnectPeerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkmanager:getConnectPeer", { "connectPeerId": args.connectPeerId, @@ -59,7 +58,10 @@ export interface GetConnectPeerResult { * AWS::NetworkManager::ConnectPeer Resource Type Definition. */ export function getConnectPeerOutput(args: GetConnectPeerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnectPeer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkmanager:getConnectPeer", { + "connectPeerId": args.connectPeerId, + }, opts); } export interface GetConnectPeerOutputArgs { diff --git a/sdk/nodejs/networkmanager/getCoreNetwork.ts b/sdk/nodejs/networkmanager/getCoreNetwork.ts index fdc1939d35..09083c6712 100644 --- a/sdk/nodejs/networkmanager/getCoreNetwork.ts +++ b/sdk/nodejs/networkmanager/getCoreNetwork.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::NetworkManager::CoreNetwork Resource Type Definition. */ export function getCoreNetwork(args: GetCoreNetworkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkmanager:getCoreNetwork", { "coreNetworkId": args.coreNetworkId, @@ -77,7 +76,10 @@ export interface GetCoreNetworkResult { * AWS::NetworkManager::CoreNetwork Resource Type Definition. */ export function getCoreNetworkOutput(args: GetCoreNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCoreNetwork(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkmanager:getCoreNetwork", { + "coreNetworkId": args.coreNetworkId, + }, opts); } export interface GetCoreNetworkOutputArgs { diff --git a/sdk/nodejs/networkmanager/getDevice.ts b/sdk/nodejs/networkmanager/getDevice.ts index bcb51e1183..4120652a0b 100644 --- a/sdk/nodejs/networkmanager/getDevice.ts +++ b/sdk/nodejs/networkmanager/getDevice.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::NetworkManager::Device type describes a device. */ export function getDevice(args: GetDeviceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkmanager:getDevice", { "deviceId": args.deviceId, @@ -88,7 +87,11 @@ export interface GetDeviceResult { * The AWS::NetworkManager::Device type describes a device. */ export function getDeviceOutput(args: GetDeviceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDevice(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkmanager:getDevice", { + "deviceId": args.deviceId, + "globalNetworkId": args.globalNetworkId, + }, opts); } export interface GetDeviceOutputArgs { diff --git a/sdk/nodejs/networkmanager/getGlobalNetwork.ts b/sdk/nodejs/networkmanager/getGlobalNetwork.ts index 9ef15a3ca9..b6b679556d 100644 --- a/sdk/nodejs/networkmanager/getGlobalNetwork.ts +++ b/sdk/nodejs/networkmanager/getGlobalNetwork.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::NetworkManager::GlobalNetwork type specifies a global network of the user's account */ export function getGlobalNetwork(args: GetGlobalNetworkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkmanager:getGlobalNetwork", { "id": args.id, @@ -55,7 +54,10 @@ export interface GetGlobalNetworkResult { * The AWS::NetworkManager::GlobalNetwork type specifies a global network of the user's account */ export function getGlobalNetworkOutput(args: GetGlobalNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGlobalNetwork(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkmanager:getGlobalNetwork", { + "id": args.id, + }, opts); } export interface GetGlobalNetworkOutputArgs { diff --git a/sdk/nodejs/networkmanager/getLink.ts b/sdk/nodejs/networkmanager/getLink.ts index 2a9d54227e..64c1173fcc 100644 --- a/sdk/nodejs/networkmanager/getLink.ts +++ b/sdk/nodejs/networkmanager/getLink.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::NetworkManager::Link type describes a link. */ export function getLink(args: GetLinkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkmanager:getLink", { "globalNetworkId": args.globalNetworkId, @@ -72,7 +71,11 @@ export interface GetLinkResult { * The AWS::NetworkManager::Link type describes a link. */ export function getLinkOutput(args: GetLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLink(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkmanager:getLink", { + "globalNetworkId": args.globalNetworkId, + "linkId": args.linkId, + }, opts); } export interface GetLinkOutputArgs { diff --git a/sdk/nodejs/networkmanager/getSite.ts b/sdk/nodejs/networkmanager/getSite.ts index bd1bf7544b..c139c6b43c 100644 --- a/sdk/nodejs/networkmanager/getSite.ts +++ b/sdk/nodejs/networkmanager/getSite.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::NetworkManager::Site type describes a site. */ export function getSite(args: GetSiteArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkmanager:getSite", { "globalNetworkId": args.globalNetworkId, @@ -64,7 +63,11 @@ export interface GetSiteResult { * The AWS::NetworkManager::Site type describes a site. */ export function getSiteOutput(args: GetSiteOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSite(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkmanager:getSite", { + "globalNetworkId": args.globalNetworkId, + "siteId": args.siteId, + }, opts); } export interface GetSiteOutputArgs { diff --git a/sdk/nodejs/networkmanager/getSiteToSiteVpnAttachment.ts b/sdk/nodejs/networkmanager/getSiteToSiteVpnAttachment.ts index 05a3695287..7d34fc6c6c 100644 --- a/sdk/nodejs/networkmanager/getSiteToSiteVpnAttachment.ts +++ b/sdk/nodejs/networkmanager/getSiteToSiteVpnAttachment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::NetworkManager::SiteToSiteVpnAttachment Resource Type definition. */ export function getSiteToSiteVpnAttachment(args: GetSiteToSiteVpnAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkmanager:getSiteToSiteVpnAttachment", { "attachmentId": args.attachmentId, @@ -91,7 +90,10 @@ export interface GetSiteToSiteVpnAttachmentResult { * AWS::NetworkManager::SiteToSiteVpnAttachment Resource Type definition. */ export function getSiteToSiteVpnAttachmentOutput(args: GetSiteToSiteVpnAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSiteToSiteVpnAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkmanager:getSiteToSiteVpnAttachment", { + "attachmentId": args.attachmentId, + }, opts); } export interface GetSiteToSiteVpnAttachmentOutputArgs { diff --git a/sdk/nodejs/networkmanager/getTransitGatewayPeering.ts b/sdk/nodejs/networkmanager/getTransitGatewayPeering.ts index 57313cc890..2542802c58 100644 --- a/sdk/nodejs/networkmanager/getTransitGatewayPeering.ts +++ b/sdk/nodejs/networkmanager/getTransitGatewayPeering.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::NetworkManager::TransitGatewayPeering Resoruce Type. */ export function getTransitGatewayPeering(args: GetTransitGatewayPeeringArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkmanager:getTransitGatewayPeering", { "peeringId": args.peeringId, @@ -71,7 +70,10 @@ export interface GetTransitGatewayPeeringResult { * AWS::NetworkManager::TransitGatewayPeering Resoruce Type. */ export function getTransitGatewayPeeringOutput(args: GetTransitGatewayPeeringOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGatewayPeering(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkmanager:getTransitGatewayPeering", { + "peeringId": args.peeringId, + }, opts); } export interface GetTransitGatewayPeeringOutputArgs { diff --git a/sdk/nodejs/networkmanager/getTransitGatewayRouteTableAttachment.ts b/sdk/nodejs/networkmanager/getTransitGatewayRouteTableAttachment.ts index f632b6c66f..9736d6c7de 100644 --- a/sdk/nodejs/networkmanager/getTransitGatewayRouteTableAttachment.ts +++ b/sdk/nodejs/networkmanager/getTransitGatewayRouteTableAttachment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::NetworkManager::TransitGatewayRouteTableAttachment Resource Type definition. */ export function getTransitGatewayRouteTableAttachment(args: GetTransitGatewayRouteTableAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkmanager:getTransitGatewayRouteTableAttachment", { "attachmentId": args.attachmentId, @@ -95,7 +94,10 @@ export interface GetTransitGatewayRouteTableAttachmentResult { * AWS::NetworkManager::TransitGatewayRouteTableAttachment Resource Type definition. */ export function getTransitGatewayRouteTableAttachmentOutput(args: GetTransitGatewayRouteTableAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTransitGatewayRouteTableAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkmanager:getTransitGatewayRouteTableAttachment", { + "attachmentId": args.attachmentId, + }, opts); } export interface GetTransitGatewayRouteTableAttachmentOutputArgs { diff --git a/sdk/nodejs/networkmanager/getVpcAttachment.ts b/sdk/nodejs/networkmanager/getVpcAttachment.ts index 71b5cc1eeb..8fc8e4761b 100644 --- a/sdk/nodejs/networkmanager/getVpcAttachment.ts +++ b/sdk/nodejs/networkmanager/getVpcAttachment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS::NetworkManager::VpcAttachment Resoruce Type */ export function getVpcAttachment(args: GetVpcAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:networkmanager:getVpcAttachment", { "attachmentId": args.attachmentId, @@ -99,7 +98,10 @@ export interface GetVpcAttachmentResult { * AWS::NetworkManager::VpcAttachment Resoruce Type */ export function getVpcAttachmentOutput(args: GetVpcAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:networkmanager:getVpcAttachment", { + "attachmentId": args.attachmentId, + }, opts); } export interface GetVpcAttachmentOutputArgs { diff --git a/sdk/nodejs/nimblestudio/getLaunchProfile.ts b/sdk/nodejs/nimblestudio/getLaunchProfile.ts index b0530cabe2..f4c5837acd 100644 --- a/sdk/nodejs/nimblestudio/getLaunchProfile.ts +++ b/sdk/nodejs/nimblestudio/getLaunchProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a launch profile which delegates access to a collection of studio components to studio users */ export function getLaunchProfile(args: GetLaunchProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:nimblestudio:getLaunchProfile", { "launchProfileId": args.launchProfileId, @@ -62,7 +61,11 @@ export interface GetLaunchProfileResult { * Represents a launch profile which delegates access to a collection of studio components to studio users */ export function getLaunchProfileOutput(args: GetLaunchProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLaunchProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:nimblestudio:getLaunchProfile", { + "launchProfileId": args.launchProfileId, + "studioId": args.studioId, + }, opts); } export interface GetLaunchProfileOutputArgs { diff --git a/sdk/nodejs/nimblestudio/getStreamingImage.ts b/sdk/nodejs/nimblestudio/getStreamingImage.ts index d3aa386a07..e95ec5b3e6 100644 --- a/sdk/nodejs/nimblestudio/getStreamingImage.ts +++ b/sdk/nodejs/nimblestudio/getStreamingImage.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a streaming session machine image that can be used to launch a streaming session */ export function getStreamingImage(args: GetStreamingImageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:nimblestudio:getStreamingImage", { "streamingImageId": args.streamingImageId, @@ -61,7 +60,11 @@ export interface GetStreamingImageResult { * Represents a streaming session machine image that can be used to launch a streaming session */ export function getStreamingImageOutput(args: GetStreamingImageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStreamingImage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:nimblestudio:getStreamingImage", { + "streamingImageId": args.streamingImageId, + "studioId": args.studioId, + }, opts); } export interface GetStreamingImageOutputArgs { diff --git a/sdk/nodejs/nimblestudio/getStudio.ts b/sdk/nodejs/nimblestudio/getStudio.ts index c62a2471ac..f3338cce7f 100644 --- a/sdk/nodejs/nimblestudio/getStudio.ts +++ b/sdk/nodejs/nimblestudio/getStudio.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a studio that contains other Nimble Studio resources */ export function getStudio(args: GetStudioArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:nimblestudio:getStudio", { "studioId": args.studioId, @@ -63,7 +62,10 @@ export interface GetStudioResult { * Represents a studio that contains other Nimble Studio resources */ export function getStudioOutput(args: GetStudioOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStudio(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:nimblestudio:getStudio", { + "studioId": args.studioId, + }, opts); } export interface GetStudioOutputArgs { diff --git a/sdk/nodejs/nimblestudio/getStudioComponent.ts b/sdk/nodejs/nimblestudio/getStudioComponent.ts index d6fbfbb7fa..e893325702 100644 --- a/sdk/nodejs/nimblestudio/getStudioComponent.ts +++ b/sdk/nodejs/nimblestudio/getStudioComponent.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a studio component that connects a non-Nimble Studio resource in your account to your studio */ export function getStudioComponent(args: GetStudioComponentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:nimblestudio:getStudioComponent", { "studioComponentId": args.studioComponentId, @@ -76,7 +75,11 @@ export interface GetStudioComponentResult { * Represents a studio component that connects a non-Nimble Studio resource in your account to your studio */ export function getStudioComponentOutput(args: GetStudioComponentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStudioComponent(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:nimblestudio:getStudioComponent", { + "studioComponentId": args.studioComponentId, + "studioId": args.studioId, + }, opts); } export interface GetStudioComponentOutputArgs { diff --git a/sdk/nodejs/oam/getLink.ts b/sdk/nodejs/oam/getLink.ts index 410dad2c8e..5c2b5d15db 100644 --- a/sdk/nodejs/oam/getLink.ts +++ b/sdk/nodejs/oam/getLink.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Oam::Link Resource Type */ export function getLink(args: GetLinkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:oam:getLink", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetLinkResult { * Definition of AWS::Oam::Link Resource Type */ export function getLinkOutput(args: GetLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLink(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:oam:getLink", { + "arn": args.arn, + }, opts); } export interface GetLinkOutputArgs { diff --git a/sdk/nodejs/oam/getSink.ts b/sdk/nodejs/oam/getSink.ts index 9ded75ca6c..210c883b21 100644 --- a/sdk/nodejs/oam/getSink.ts +++ b/sdk/nodejs/oam/getSink.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Oam::Sink */ export function getSink(args: GetSinkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:oam:getSink", { "arn": args.arn, @@ -42,7 +41,10 @@ export interface GetSinkResult { * Resource Type definition for AWS::Oam::Sink */ export function getSinkOutput(args: GetSinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSink(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:oam:getSink", { + "arn": args.arn, + }, opts); } export interface GetSinkOutputArgs { diff --git a/sdk/nodejs/omics/getAnnotationStore.ts b/sdk/nodejs/omics/getAnnotationStore.ts index b4198ef0a4..45be0d76ff 100644 --- a/sdk/nodejs/omics/getAnnotationStore.ts +++ b/sdk/nodejs/omics/getAnnotationStore.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Omics::AnnotationStore Resource Type */ export function getAnnotationStore(args: GetAnnotationStoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:omics:getAnnotationStore", { "name": args.name, @@ -63,7 +62,10 @@ export interface GetAnnotationStoreResult { * Definition of AWS::Omics::AnnotationStore Resource Type */ export function getAnnotationStoreOutput(args: GetAnnotationStoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAnnotationStore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:omics:getAnnotationStore", { + "name": args.name, + }, opts); } export interface GetAnnotationStoreOutputArgs { diff --git a/sdk/nodejs/omics/getReferenceStore.ts b/sdk/nodejs/omics/getReferenceStore.ts index e374f0db23..1af09c495a 100644 --- a/sdk/nodejs/omics/getReferenceStore.ts +++ b/sdk/nodejs/omics/getReferenceStore.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Omics::ReferenceStore Resource Type */ export function getReferenceStore(args: GetReferenceStoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:omics:getReferenceStore", { "referenceStoreId": args.referenceStoreId, @@ -40,7 +39,10 @@ export interface GetReferenceStoreResult { * Definition of AWS::Omics::ReferenceStore Resource Type */ export function getReferenceStoreOutput(args: GetReferenceStoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getReferenceStore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:omics:getReferenceStore", { + "referenceStoreId": args.referenceStoreId, + }, opts); } export interface GetReferenceStoreOutputArgs { diff --git a/sdk/nodejs/omics/getRunGroup.ts b/sdk/nodejs/omics/getRunGroup.ts index 43615698ed..196b25910b 100644 --- a/sdk/nodejs/omics/getRunGroup.ts +++ b/sdk/nodejs/omics/getRunGroup.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Omics::RunGroup Resource Type */ export function getRunGroup(args: GetRunGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:omics:getRunGroup", { "id": args.id, @@ -64,7 +63,10 @@ export interface GetRunGroupResult { * Definition of AWS::Omics::RunGroup Resource Type */ export function getRunGroupOutput(args: GetRunGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRunGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:omics:getRunGroup", { + "id": args.id, + }, opts); } export interface GetRunGroupOutputArgs { diff --git a/sdk/nodejs/omics/getSequenceStore.ts b/sdk/nodejs/omics/getSequenceStore.ts index 04fb2205ec..b4c5e7476e 100644 --- a/sdk/nodejs/omics/getSequenceStore.ts +++ b/sdk/nodejs/omics/getSequenceStore.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Omics::SequenceStore Resource Type */ export function getSequenceStore(args: GetSequenceStoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:omics:getSequenceStore", { "sequenceStoreId": args.sequenceStoreId, @@ -40,7 +39,10 @@ export interface GetSequenceStoreResult { * Definition of AWS::Omics::SequenceStore Resource Type */ export function getSequenceStoreOutput(args: GetSequenceStoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSequenceStore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:omics:getSequenceStore", { + "sequenceStoreId": args.sequenceStoreId, + }, opts); } export interface GetSequenceStoreOutputArgs { diff --git a/sdk/nodejs/omics/getVariantStore.ts b/sdk/nodejs/omics/getVariantStore.ts index ed87d9badb..5cfb279687 100644 --- a/sdk/nodejs/omics/getVariantStore.ts +++ b/sdk/nodejs/omics/getVariantStore.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Omics::VariantStore Resource Type */ export function getVariantStore(args: GetVariantStoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:omics:getVariantStore", { "name": args.name, @@ -63,7 +62,10 @@ export interface GetVariantStoreResult { * Definition of AWS::Omics::VariantStore Resource Type */ export function getVariantStoreOutput(args: GetVariantStoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVariantStore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:omics:getVariantStore", { + "name": args.name, + }, opts); } export interface GetVariantStoreOutputArgs { diff --git a/sdk/nodejs/omics/getWorkflow.ts b/sdk/nodejs/omics/getWorkflow.ts index bfe6d6f153..7626f10dca 100644 --- a/sdk/nodejs/omics/getWorkflow.ts +++ b/sdk/nodejs/omics/getWorkflow.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Omics::Workflow Resource Type */ export function getWorkflow(args: GetWorkflowArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:omics:getWorkflow", { "id": args.id, @@ -63,7 +62,10 @@ export interface GetWorkflowResult { * Definition of AWS::Omics::Workflow Resource Type */ export function getWorkflowOutput(args: GetWorkflowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWorkflow(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:omics:getWorkflow", { + "id": args.id, + }, opts); } export interface GetWorkflowOutputArgs { diff --git a/sdk/nodejs/opensearchserverless/getAccessPolicy.ts b/sdk/nodejs/opensearchserverless/getAccessPolicy.ts index 87ea82a60c..4fdc3c4304 100644 --- a/sdk/nodejs/opensearchserverless/getAccessPolicy.ts +++ b/sdk/nodejs/opensearchserverless/getAccessPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Amazon OpenSearchServerless access policy resource */ export function getAccessPolicy(args: GetAccessPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:opensearchserverless:getAccessPolicy", { "name": args.name, @@ -44,7 +43,11 @@ export interface GetAccessPolicyResult { * Amazon OpenSearchServerless access policy resource */ export function getAccessPolicyOutput(args: GetAccessPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:opensearchserverless:getAccessPolicy", { + "name": args.name, + "type": args.type, + }, opts); } export interface GetAccessPolicyOutputArgs { diff --git a/sdk/nodejs/opensearchserverless/getCollection.ts b/sdk/nodejs/opensearchserverless/getCollection.ts index cd209bba8a..9fd9bb66ef 100644 --- a/sdk/nodejs/opensearchserverless/getCollection.ts +++ b/sdk/nodejs/opensearchserverless/getCollection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Amazon OpenSearchServerless collection resource */ export function getCollection(args: GetCollectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:opensearchserverless:getCollection", { "id": args.id, @@ -55,7 +54,10 @@ export interface GetCollectionResult { * Amazon OpenSearchServerless collection resource */ export function getCollectionOutput(args: GetCollectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCollection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:opensearchserverless:getCollection", { + "id": args.id, + }, opts); } export interface GetCollectionOutputArgs { diff --git a/sdk/nodejs/opensearchserverless/getLifecyclePolicy.ts b/sdk/nodejs/opensearchserverless/getLifecyclePolicy.ts index 3a445aed22..15d7931d6d 100644 --- a/sdk/nodejs/opensearchserverless/getLifecyclePolicy.ts +++ b/sdk/nodejs/opensearchserverless/getLifecyclePolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Amazon OpenSearchServerless lifecycle policy resource */ export function getLifecyclePolicy(args: GetLifecyclePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:opensearchserverless:getLifecyclePolicy", { "name": args.name, @@ -44,7 +43,11 @@ export interface GetLifecyclePolicyResult { * Amazon OpenSearchServerless lifecycle policy resource */ export function getLifecyclePolicyOutput(args: GetLifecyclePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLifecyclePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:opensearchserverless:getLifecyclePolicy", { + "name": args.name, + "type": args.type, + }, opts); } export interface GetLifecyclePolicyOutputArgs { diff --git a/sdk/nodejs/opensearchserverless/getSecurityConfig.ts b/sdk/nodejs/opensearchserverless/getSecurityConfig.ts index 3a5697ff33..e2f7340da4 100644 --- a/sdk/nodejs/opensearchserverless/getSecurityConfig.ts +++ b/sdk/nodejs/opensearchserverless/getSecurityConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Amazon OpenSearchServerless security config resource */ export function getSecurityConfig(args: GetSecurityConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:opensearchserverless:getSecurityConfig", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetSecurityConfigResult { * Amazon OpenSearchServerless security config resource */ export function getSecurityConfigOutput(args: GetSecurityConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSecurityConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:opensearchserverless:getSecurityConfig", { + "id": args.id, + }, opts); } export interface GetSecurityConfigOutputArgs { diff --git a/sdk/nodejs/opensearchserverless/getSecurityPolicy.ts b/sdk/nodejs/opensearchserverless/getSecurityPolicy.ts index eda022138f..4e7bf800e2 100644 --- a/sdk/nodejs/opensearchserverless/getSecurityPolicy.ts +++ b/sdk/nodejs/opensearchserverless/getSecurityPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Amazon OpenSearchServerless security policy resource */ export function getSecurityPolicy(args: GetSecurityPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:opensearchserverless:getSecurityPolicy", { "name": args.name, @@ -44,7 +43,11 @@ export interface GetSecurityPolicyResult { * Amazon OpenSearchServerless security policy resource */ export function getSecurityPolicyOutput(args: GetSecurityPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSecurityPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:opensearchserverless:getSecurityPolicy", { + "name": args.name, + "type": args.type, + }, opts); } export interface GetSecurityPolicyOutputArgs { diff --git a/sdk/nodejs/opensearchserverless/getVpcEndpoint.ts b/sdk/nodejs/opensearchserverless/getVpcEndpoint.ts index a0c543dcb1..ac7b1faaf9 100644 --- a/sdk/nodejs/opensearchserverless/getVpcEndpoint.ts +++ b/sdk/nodejs/opensearchserverless/getVpcEndpoint.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Amazon OpenSearchServerless vpc endpoint resource */ export function getVpcEndpoint(args: GetVpcEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:opensearchserverless:getVpcEndpoint", { "id": args.id, @@ -40,7 +39,10 @@ export interface GetVpcEndpointResult { * Amazon OpenSearchServerless vpc endpoint resource */ export function getVpcEndpointOutput(args: GetVpcEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:opensearchserverless:getVpcEndpoint", { + "id": args.id, + }, opts); } export interface GetVpcEndpointOutputArgs { diff --git a/sdk/nodejs/opensearchservice/getDomain.ts b/sdk/nodejs/opensearchservice/getDomain.ts index 6f69178cec..0dcec6b996 100644 --- a/sdk/nodejs/opensearchservice/getDomain.ts +++ b/sdk/nodejs/opensearchservice/getDomain.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:opensearchservice:getDomain", { "domainName": args.domainName, @@ -136,7 +135,10 @@ export interface GetDomainResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomain(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:opensearchservice:getDomain", { + "domainName": args.domainName, + }, opts); } export interface GetDomainOutputArgs { diff --git a/sdk/nodejs/opsworkscm/getServer.ts b/sdk/nodejs/opsworkscm/getServer.ts index 3f4ebb1106..1b206ebdb3 100644 --- a/sdk/nodejs/opsworkscm/getServer.ts +++ b/sdk/nodejs/opsworkscm/getServer.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::OpsWorksCM::Server */ export function getServer(args: GetServerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:opsworkscm:getServer", { "serverName": args.serverName, @@ -63,7 +62,10 @@ export interface GetServerResult { * Resource Type definition for AWS::OpsWorksCM::Server */ export function getServerOutput(args: GetServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:opsworkscm:getServer", { + "serverName": args.serverName, + }, opts); } export interface GetServerOutputArgs { diff --git a/sdk/nodejs/organizations/getAccount.ts b/sdk/nodejs/organizations/getAccount.ts index abfbde132b..f539a6764b 100644 --- a/sdk/nodejs/organizations/getAccount.ts +++ b/sdk/nodejs/organizations/getAccount.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * You can use AWS::Organizations::Account to manage accounts in organization. */ export function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:organizations:getAccount", { "accountId": args.accountId, @@ -67,7 +66,10 @@ export interface GetAccountResult { * You can use AWS::Organizations::Account to manage accounts in organization. */ export function getAccountOutput(args: GetAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccount(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:organizations:getAccount", { + "accountId": args.accountId, + }, opts); } export interface GetAccountOutputArgs { diff --git a/sdk/nodejs/organizations/getOrganization.ts b/sdk/nodejs/organizations/getOrganization.ts index f876ba780c..d46f3969c1 100644 --- a/sdk/nodejs/organizations/getOrganization.ts +++ b/sdk/nodejs/organizations/getOrganization.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Organizations::Organization */ export function getOrganization(args: GetOrganizationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:organizations:getOrganization", { "id": args.id, @@ -59,7 +58,10 @@ export interface GetOrganizationResult { * Resource schema for AWS::Organizations::Organization */ export function getOrganizationOutput(args: GetOrganizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOrganization(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:organizations:getOrganization", { + "id": args.id, + }, opts); } export interface GetOrganizationOutputArgs { diff --git a/sdk/nodejs/organizations/getOrganizationalUnit.ts b/sdk/nodejs/organizations/getOrganizationalUnit.ts index 94859e26bb..e7d448024b 100644 --- a/sdk/nodejs/organizations/getOrganizationalUnit.ts +++ b/sdk/nodejs/organizations/getOrganizationalUnit.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * You can use organizational units (OUs) to group accounts together to administer as a single unit. This greatly simplifies the management of your accounts. For example, you can attach a policy-based control to an OU, and all accounts within the OU automatically inherit the policy. You can create multiple OUs within a single organization, and you can create OUs within other OUs. Each OU can contain multiple accounts, and you can move accounts from one OU to another. However, OU names must be unique within a parent OU or root. */ export function getOrganizationalUnit(args: GetOrganizationalUnitArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:organizations:getOrganizationalUnit", { "id": args.id, @@ -47,7 +46,10 @@ export interface GetOrganizationalUnitResult { * You can use organizational units (OUs) to group accounts together to administer as a single unit. This greatly simplifies the management of your accounts. For example, you can attach a policy-based control to an OU, and all accounts within the OU automatically inherit the policy. You can create multiple OUs within a single organization, and you can create OUs within other OUs. Each OU can contain multiple accounts, and you can move accounts from one OU to another. However, OU names must be unique within a parent OU or root. */ export function getOrganizationalUnitOutput(args: GetOrganizationalUnitOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOrganizationalUnit(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:organizations:getOrganizationalUnit", { + "id": args.id, + }, opts); } export interface GetOrganizationalUnitOutputArgs { diff --git a/sdk/nodejs/organizations/getPolicy.ts b/sdk/nodejs/organizations/getPolicy.ts index 94965690e7..65ad24a530 100644 --- a/sdk/nodejs/organizations/getPolicy.ts +++ b/sdk/nodejs/organizations/getPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Policies in AWS Organizations enable you to manage different features of the AWS accounts in your organization. You can use policies when all features are enabled in your organization. */ export function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:organizations:getPolicy", { "id": args.id, @@ -65,7 +64,10 @@ export interface GetPolicyResult { * Policies in AWS Organizations enable you to manage different features of the AWS accounts in your organization. You can use policies when all features are enabled in your organization. */ export function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:organizations:getPolicy", { + "id": args.id, + }, opts); } export interface GetPolicyOutputArgs { diff --git a/sdk/nodejs/organizations/getResourcePolicy.ts b/sdk/nodejs/organizations/getResourcePolicy.ts index acfb2b94a1..b13d4e5468 100644 --- a/sdk/nodejs/organizations/getResourcePolicy.ts +++ b/sdk/nodejs/organizations/getResourcePolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * You can use AWS::Organizations::ResourcePolicy to delegate policy management for AWS Organizations to specified member accounts to perform policy actions that are by default available only to the management account. */ export function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:organizations:getResourcePolicy", { "id": args.id, @@ -49,7 +48,10 @@ export interface GetResourcePolicyResult { * You can use AWS::Organizations::ResourcePolicy to delegate policy management for AWS Organizations to specified member accounts to perform policy actions that are by default available only to the management account. */ export function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourcePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:organizations:getResourcePolicy", { + "id": args.id, + }, opts); } export interface GetResourcePolicyOutputArgs { diff --git a/sdk/nodejs/osis/getPipeline.ts b/sdk/nodejs/osis/getPipeline.ts index 6bd61e44cf..33b6034c2f 100644 --- a/sdk/nodejs/osis/getPipeline.ts +++ b/sdk/nodejs/osis/getPipeline.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An OpenSearch Ingestion Service Data Prepper pipeline running Data Prepper. */ export function getPipeline(args: GetPipelineArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:osis:getPipeline", { "pipelineArn": args.pipelineArn, @@ -75,7 +74,10 @@ export interface GetPipelineResult { * An OpenSearch Ingestion Service Data Prepper pipeline running Data Prepper. */ export function getPipelineOutput(args: GetPipelineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPipeline(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:osis:getPipeline", { + "pipelineArn": args.pipelineArn, + }, opts); } export interface GetPipelineOutputArgs { diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index 42a7424b84..355642fe2c 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -17,7 +17,7 @@ "build": "tsc" }, "dependencies": { - "@pulumi/pulumi": "^3.42.0" + "@pulumi/pulumi": "^3.136.0" }, "devDependencies": { "@types/node": "^14", diff --git a/sdk/nodejs/panorama/getApplicationInstance.ts b/sdk/nodejs/panorama/getApplicationInstance.ts index a9ec3960f7..587e40b9de 100644 --- a/sdk/nodejs/panorama/getApplicationInstance.ts +++ b/sdk/nodejs/panorama/getApplicationInstance.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates an application instance and deploys it to a device. */ export function getApplicationInstance(args: GetApplicationInstanceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:panorama:getApplicationInstance", { "applicationInstanceId": args.applicationInstanceId, @@ -67,7 +66,10 @@ export interface GetApplicationInstanceResult { * Creates an application instance and deploys it to a device. */ export function getApplicationInstanceOutput(args: GetApplicationInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplicationInstance(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:panorama:getApplicationInstance", { + "applicationInstanceId": args.applicationInstanceId, + }, opts); } export interface GetApplicationInstanceOutputArgs { diff --git a/sdk/nodejs/panorama/getPackage.ts b/sdk/nodejs/panorama/getPackage.ts index 77534fc1c8..05afd840f9 100644 --- a/sdk/nodejs/panorama/getPackage.ts +++ b/sdk/nodejs/panorama/getPackage.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates a package and storage location in an Amazon S3 access point. */ export function getPackage(args: GetPackageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:panorama:getPackage", { "packageId": args.packageId, @@ -51,7 +50,10 @@ export interface GetPackageResult { * Creates a package and storage location in an Amazon S3 access point. */ export function getPackageOutput(args: GetPackageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPackage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:panorama:getPackage", { + "packageId": args.packageId, + }, opts); } export interface GetPackageOutputArgs { diff --git a/sdk/nodejs/panorama/getPackageVersion.ts b/sdk/nodejs/panorama/getPackageVersion.ts index dbee55b848..a49ad585ee 100644 --- a/sdk/nodejs/panorama/getPackageVersion.ts +++ b/sdk/nodejs/panorama/getPackageVersion.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Registers a package version. */ export function getPackageVersion(args: GetPackageVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:panorama:getPackageVersion", { "packageId": args.packageId, @@ -69,7 +68,12 @@ export interface GetPackageVersionResult { * Registers a package version. */ export function getPackageVersionOutput(args: GetPackageVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPackageVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:panorama:getPackageVersion", { + "packageId": args.packageId, + "packageVersion": args.packageVersion, + "patchVersion": args.patchVersion, + }, opts); } export interface GetPackageVersionOutputArgs { diff --git a/sdk/nodejs/paymentcryptography/getAlias.ts b/sdk/nodejs/paymentcryptography/getAlias.ts index f8a4534e87..d151b4a994 100644 --- a/sdk/nodejs/paymentcryptography/getAlias.ts +++ b/sdk/nodejs/paymentcryptography/getAlias.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::PaymentCryptography::Alias Resource Type */ export function getAlias(args: GetAliasArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:paymentcryptography:getAlias", { "aliasName": args.aliasName, @@ -34,7 +33,10 @@ export interface GetAliasResult { * Definition of AWS::PaymentCryptography::Alias Resource Type */ export function getAliasOutput(args: GetAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAlias(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:paymentcryptography:getAlias", { + "aliasName": args.aliasName, + }, opts); } export interface GetAliasOutputArgs { diff --git a/sdk/nodejs/paymentcryptography/getKey.ts b/sdk/nodejs/paymentcryptography/getKey.ts index f86fb2245e..a440192596 100644 --- a/sdk/nodejs/paymentcryptography/getKey.ts +++ b/sdk/nodejs/paymentcryptography/getKey.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::PaymentCryptography::Key Resource Type */ export function getKey(args: GetKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:paymentcryptography:getKey", { "keyIdentifier": args.keyIdentifier, @@ -56,7 +55,10 @@ export interface GetKeyResult { * Definition of AWS::PaymentCryptography::Key Resource Type */ export function getKeyOutput(args: GetKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:paymentcryptography:getKey", { + "keyIdentifier": args.keyIdentifier, + }, opts); } export interface GetKeyOutputArgs { diff --git a/sdk/nodejs/pcaconnectorad/getConnector.ts b/sdk/nodejs/pcaconnectorad/getConnector.ts index 43a6502b02..54d6a5e1cc 100644 --- a/sdk/nodejs/pcaconnectorad/getConnector.ts +++ b/sdk/nodejs/pcaconnectorad/getConnector.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::PCAConnectorAD::Connector Resource Type */ export function getConnector(args: GetConnectorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:pcaconnectorad:getConnector", { "connectorArn": args.connectorArn, @@ -32,7 +31,10 @@ export interface GetConnectorResult { * Definition of AWS::PCAConnectorAD::Connector Resource Type */ export function getConnectorOutput(args: GetConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnector(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:pcaconnectorad:getConnector", { + "connectorArn": args.connectorArn, + }, opts); } export interface GetConnectorOutputArgs { diff --git a/sdk/nodejs/pcaconnectorad/getDirectoryRegistration.ts b/sdk/nodejs/pcaconnectorad/getDirectoryRegistration.ts index 903aa407ad..dca3a1a070 100644 --- a/sdk/nodejs/pcaconnectorad/getDirectoryRegistration.ts +++ b/sdk/nodejs/pcaconnectorad/getDirectoryRegistration.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::PCAConnectorAD::DirectoryRegistration Resource Type */ export function getDirectoryRegistration(args: GetDirectoryRegistrationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:pcaconnectorad:getDirectoryRegistration", { "directoryRegistrationArn": args.directoryRegistrationArn, @@ -32,7 +31,10 @@ export interface GetDirectoryRegistrationResult { * Definition of AWS::PCAConnectorAD::DirectoryRegistration Resource Type */ export function getDirectoryRegistrationOutput(args: GetDirectoryRegistrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDirectoryRegistration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:pcaconnectorad:getDirectoryRegistration", { + "directoryRegistrationArn": args.directoryRegistrationArn, + }, opts); } export interface GetDirectoryRegistrationOutputArgs { diff --git a/sdk/nodejs/pcaconnectorad/getTemplate.ts b/sdk/nodejs/pcaconnectorad/getTemplate.ts index a62a331077..e180471338 100644 --- a/sdk/nodejs/pcaconnectorad/getTemplate.ts +++ b/sdk/nodejs/pcaconnectorad/getTemplate.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Represents a template that defines certificate configurations, both for issuance and client handling */ export function getTemplate(args: GetTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:pcaconnectorad:getTemplate", { "templateArn": args.templateArn, @@ -32,7 +31,10 @@ export interface GetTemplateResult { * Represents a template that defines certificate configurations, both for issuance and client handling */ export function getTemplateOutput(args: GetTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:pcaconnectorad:getTemplate", { + "templateArn": args.templateArn, + }, opts); } export interface GetTemplateOutputArgs { diff --git a/sdk/nodejs/pcaconnectorscep/getChallenge.ts b/sdk/nodejs/pcaconnectorscep/getChallenge.ts index 2613dc14b1..e519316015 100644 --- a/sdk/nodejs/pcaconnectorscep/getChallenge.ts +++ b/sdk/nodejs/pcaconnectorscep/getChallenge.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Represents a SCEP Challenge that is used for certificate enrollment */ export function getChallenge(args: GetChallengeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:pcaconnectorscep:getChallenge", { "challengeArn": args.challengeArn, @@ -33,7 +32,10 @@ export interface GetChallengeResult { * Represents a SCEP Challenge that is used for certificate enrollment */ export function getChallengeOutput(args: GetChallengeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getChallenge(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:pcaconnectorscep:getChallenge", { + "challengeArn": args.challengeArn, + }, opts); } export interface GetChallengeOutputArgs { diff --git a/sdk/nodejs/pcaconnectorscep/getConnector.ts b/sdk/nodejs/pcaconnectorscep/getConnector.ts index c32a707a77..2ddb7f7cc3 100644 --- a/sdk/nodejs/pcaconnectorscep/getConnector.ts +++ b/sdk/nodejs/pcaconnectorscep/getConnector.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a Connector that allows certificate issuance through Simple Certificate Enrollment Protocol (SCEP) */ export function getConnector(args: GetConnectorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:pcaconnectorscep:getConnector", { "connectorArn": args.connectorArn, @@ -45,7 +44,10 @@ export interface GetConnectorResult { * Represents a Connector that allows certificate issuance through Simple Certificate Enrollment Protocol (SCEP) */ export function getConnectorOutput(args: GetConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnector(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:pcaconnectorscep:getConnector", { + "connectorArn": args.connectorArn, + }, opts); } export interface GetConnectorOutputArgs { diff --git a/sdk/nodejs/personalize/getDataset.ts b/sdk/nodejs/personalize/getDataset.ts index 29998e98b3..f44603d9b9 100644 --- a/sdk/nodejs/personalize/getDataset.ts +++ b/sdk/nodejs/personalize/getDataset.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Personalize::Dataset. */ export function getDataset(args: GetDatasetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:personalize:getDataset", { "datasetArn": args.datasetArn, @@ -39,7 +38,10 @@ export interface GetDatasetResult { * Resource schema for AWS::Personalize::Dataset. */ export function getDatasetOutput(args: GetDatasetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataset(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:personalize:getDataset", { + "datasetArn": args.datasetArn, + }, opts); } export interface GetDatasetOutputArgs { diff --git a/sdk/nodejs/personalize/getDatasetGroup.ts b/sdk/nodejs/personalize/getDatasetGroup.ts index 25137f542b..e58d977b8b 100644 --- a/sdk/nodejs/personalize/getDatasetGroup.ts +++ b/sdk/nodejs/personalize/getDatasetGroup.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Schema for AWS::Personalize::DatasetGroup. */ export function getDatasetGroup(args: GetDatasetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:personalize:getDatasetGroup", { "datasetGroupArn": args.datasetGroupArn, @@ -32,7 +31,10 @@ export interface GetDatasetGroupResult { * Resource Schema for AWS::Personalize::DatasetGroup. */ export function getDatasetGroupOutput(args: GetDatasetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDatasetGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:personalize:getDatasetGroup", { + "datasetGroupArn": args.datasetGroupArn, + }, opts); } export interface GetDatasetGroupOutputArgs { diff --git a/sdk/nodejs/personalize/getSchema.ts b/sdk/nodejs/personalize/getSchema.ts index c5a29b2545..1206a38d3d 100644 --- a/sdk/nodejs/personalize/getSchema.ts +++ b/sdk/nodejs/personalize/getSchema.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Personalize::Schema. */ export function getSchema(args: GetSchemaArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:personalize:getSchema", { "schemaArn": args.schemaArn, @@ -32,7 +31,10 @@ export interface GetSchemaResult { * Resource schema for AWS::Personalize::Schema. */ export function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSchema(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:personalize:getSchema", { + "schemaArn": args.schemaArn, + }, opts); } export interface GetSchemaOutputArgs { diff --git a/sdk/nodejs/personalize/getSolution.ts b/sdk/nodejs/personalize/getSolution.ts index e9de5c1a9d..397ee5e47b 100644 --- a/sdk/nodejs/personalize/getSolution.ts +++ b/sdk/nodejs/personalize/getSolution.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Personalize::Solution. */ export function getSolution(args: GetSolutionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:personalize:getSolution", { "solutionArn": args.solutionArn, @@ -32,7 +31,10 @@ export interface GetSolutionResult { * Resource schema for AWS::Personalize::Solution. */ export function getSolutionOutput(args: GetSolutionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSolution(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:personalize:getSolution", { + "solutionArn": args.solutionArn, + }, opts); } export interface GetSolutionOutputArgs { diff --git a/sdk/nodejs/pinpoint/getInAppTemplate.ts b/sdk/nodejs/pinpoint/getInAppTemplate.ts index 357349d639..3a97058c5f 100644 --- a/sdk/nodejs/pinpoint/getInAppTemplate.ts +++ b/sdk/nodejs/pinpoint/getInAppTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Pinpoint::InAppTemplate */ export function getInAppTemplate(args: GetInAppTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:pinpoint:getInAppTemplate", { "templateName": args.templateName, @@ -68,7 +67,10 @@ export interface GetInAppTemplateResult { * Resource Type definition for AWS::Pinpoint::InAppTemplate */ export function getInAppTemplateOutput(args: GetInAppTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInAppTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:pinpoint:getInAppTemplate", { + "templateName": args.templateName, + }, opts); } export interface GetInAppTemplateOutputArgs { diff --git a/sdk/nodejs/pipes/getPipe.ts b/sdk/nodejs/pipes/getPipe.ts index 83692440aa..bba09fd7c6 100644 --- a/sdk/nodejs/pipes/getPipe.ts +++ b/sdk/nodejs/pipes/getPipe.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Pipes::Pipe Resource Type */ export function getPipe(args: GetPipeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:pipes:getPipe", { "name": args.name, @@ -93,7 +92,10 @@ export interface GetPipeResult { * Definition of AWS::Pipes::Pipe Resource Type */ export function getPipeOutput(args: GetPipeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPipe(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:pipes:getPipe", { + "name": args.name, + }, opts); } export interface GetPipeOutputArgs { diff --git a/sdk/nodejs/proton/getEnvironmentAccountConnection.ts b/sdk/nodejs/proton/getEnvironmentAccountConnection.ts index 7f59f8be10..cd29d41181 100644 --- a/sdk/nodejs/proton/getEnvironmentAccountConnection.ts +++ b/sdk/nodejs/proton/getEnvironmentAccountConnection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema describing various properties for AWS Proton Environment Account Connections resources. */ export function getEnvironmentAccountConnection(args: GetEnvironmentAccountConnectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:proton:getEnvironmentAccountConnection", { "arn": args.arn, @@ -73,7 +72,10 @@ export interface GetEnvironmentAccountConnectionResult { * Resource Schema describing various properties for AWS Proton Environment Account Connections resources. */ export function getEnvironmentAccountConnectionOutput(args: GetEnvironmentAccountConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironmentAccountConnection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:proton:getEnvironmentAccountConnection", { + "arn": args.arn, + }, opts); } export interface GetEnvironmentAccountConnectionOutputArgs { diff --git a/sdk/nodejs/proton/getEnvironmentTemplate.ts b/sdk/nodejs/proton/getEnvironmentTemplate.ts index 3a5a85e21d..0d51e6360b 100644 --- a/sdk/nodejs/proton/getEnvironmentTemplate.ts +++ b/sdk/nodejs/proton/getEnvironmentTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Proton::EnvironmentTemplate Resource Type */ export function getEnvironmentTemplate(args: GetEnvironmentTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:proton:getEnvironmentTemplate", { "arn": args.arn, @@ -49,7 +48,10 @@ export interface GetEnvironmentTemplateResult { * Definition of AWS::Proton::EnvironmentTemplate Resource Type */ export function getEnvironmentTemplateOutput(args: GetEnvironmentTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironmentTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:proton:getEnvironmentTemplate", { + "arn": args.arn, + }, opts); } export interface GetEnvironmentTemplateOutputArgs { diff --git a/sdk/nodejs/proton/getServiceTemplate.ts b/sdk/nodejs/proton/getServiceTemplate.ts index 925c16a394..e978d712d8 100644 --- a/sdk/nodejs/proton/getServiceTemplate.ts +++ b/sdk/nodejs/proton/getServiceTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Proton::ServiceTemplate Resource Type */ export function getServiceTemplate(args: GetServiceTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:proton:getServiceTemplate", { "arn": args.arn, @@ -49,7 +48,10 @@ export interface GetServiceTemplateResult { * Definition of AWS::Proton::ServiceTemplate Resource Type */ export function getServiceTemplateOutput(args: GetServiceTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServiceTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:proton:getServiceTemplate", { + "arn": args.arn, + }, opts); } export interface GetServiceTemplateOutputArgs { diff --git a/sdk/nodejs/qbusiness/getApplication.ts b/sdk/nodejs/qbusiness/getApplication.ts index 7b4de072fc..8a86336e72 100644 --- a/sdk/nodejs/qbusiness/getApplication.ts +++ b/sdk/nodejs/qbusiness/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::QBusiness::Application Resource Type */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:qbusiness:getApplication", { "applicationId": args.applicationId, @@ -87,7 +86,10 @@ export interface GetApplicationResult { * Definition of AWS::QBusiness::Application Resource Type */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:qbusiness:getApplication", { + "applicationId": args.applicationId, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/qbusiness/getDataSource.ts b/sdk/nodejs/qbusiness/getDataSource.ts index 33f393d00b..71fb5711a9 100644 --- a/sdk/nodejs/qbusiness/getDataSource.ts +++ b/sdk/nodejs/qbusiness/getDataSource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::QBusiness::DataSource Resource Type */ export function getDataSource(args: GetDataSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:qbusiness:getDataSource", { "applicationId": args.applicationId, @@ -108,7 +107,12 @@ export interface GetDataSourceResult { * Definition of AWS::QBusiness::DataSource Resource Type */ export function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:qbusiness:getDataSource", { + "applicationId": args.applicationId, + "dataSourceId": args.dataSourceId, + "indexId": args.indexId, + }, opts); } export interface GetDataSourceOutputArgs { diff --git a/sdk/nodejs/qbusiness/getIndex.ts b/sdk/nodejs/qbusiness/getIndex.ts index 0d191d30d0..53ca7b32df 100644 --- a/sdk/nodejs/qbusiness/getIndex.ts +++ b/sdk/nodejs/qbusiness/getIndex.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::QBusiness::Index Resource Type */ export function getIndex(args: GetIndexArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:qbusiness:getIndex", { "applicationId": args.applicationId, @@ -79,7 +78,11 @@ export interface GetIndexResult { * Definition of AWS::QBusiness::Index Resource Type */ export function getIndexOutput(args: GetIndexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIndex(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:qbusiness:getIndex", { + "applicationId": args.applicationId, + "indexId": args.indexId, + }, opts); } export interface GetIndexOutputArgs { diff --git a/sdk/nodejs/qbusiness/getPlugin.ts b/sdk/nodejs/qbusiness/getPlugin.ts index 65b3249333..71b1237814 100644 --- a/sdk/nodejs/qbusiness/getPlugin.ts +++ b/sdk/nodejs/qbusiness/getPlugin.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::QBusiness::Plugin Resource Type */ export function getPlugin(args: GetPluginArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:qbusiness:getPlugin", { "applicationId": args.applicationId, @@ -80,7 +79,11 @@ export interface GetPluginResult { * Definition of AWS::QBusiness::Plugin Resource Type */ export function getPluginOutput(args: GetPluginOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPlugin(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:qbusiness:getPlugin", { + "applicationId": args.applicationId, + "pluginId": args.pluginId, + }, opts); } export interface GetPluginOutputArgs { diff --git a/sdk/nodejs/qbusiness/getRetriever.ts b/sdk/nodejs/qbusiness/getRetriever.ts index 9d09d98133..8681791cb4 100644 --- a/sdk/nodejs/qbusiness/getRetriever.ts +++ b/sdk/nodejs/qbusiness/getRetriever.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::QBusiness::Retriever Resource Type */ export function getRetriever(args: GetRetrieverArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:qbusiness:getRetriever", { "applicationId": args.applicationId, @@ -72,7 +71,11 @@ export interface GetRetrieverResult { * Definition of AWS::QBusiness::Retriever Resource Type */ export function getRetrieverOutput(args: GetRetrieverOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRetriever(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:qbusiness:getRetriever", { + "applicationId": args.applicationId, + "retrieverId": args.retrieverId, + }, opts); } export interface GetRetrieverOutputArgs { diff --git a/sdk/nodejs/qbusiness/getWebExperience.ts b/sdk/nodejs/qbusiness/getWebExperience.ts index 80c0be222a..76bac98517 100644 --- a/sdk/nodejs/qbusiness/getWebExperience.ts +++ b/sdk/nodejs/qbusiness/getWebExperience.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::QBusiness::WebExperience Resource Type */ export function getWebExperience(args: GetWebExperienceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:qbusiness:getWebExperience", { "applicationId": args.applicationId, @@ -90,7 +89,11 @@ export interface GetWebExperienceResult { * Definition of AWS::QBusiness::WebExperience Resource Type */ export function getWebExperienceOutput(args: GetWebExperienceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWebExperience(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:qbusiness:getWebExperience", { + "applicationId": args.applicationId, + "webExperienceId": args.webExperienceId, + }, opts); } export interface GetWebExperienceOutputArgs { diff --git a/sdk/nodejs/qldb/getStream.ts b/sdk/nodejs/qldb/getStream.ts index c7ab07ed92..c1c076f417 100644 --- a/sdk/nodejs/qldb/getStream.ts +++ b/sdk/nodejs/qldb/getStream.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::QLDB::Stream. */ export function getStream(args: GetStreamArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:qldb:getStream", { "id": args.id, @@ -48,7 +47,11 @@ export interface GetStreamResult { * Resource schema for AWS::QLDB::Stream. */ export function getStreamOutput(args: GetStreamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStream(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:qldb:getStream", { + "id": args.id, + "ledgerName": args.ledgerName, + }, opts); } export interface GetStreamOutputArgs { diff --git a/sdk/nodejs/quicksight/getAnalysis.ts b/sdk/nodejs/quicksight/getAnalysis.ts index e060cb5b14..b019d8ebf3 100644 --- a/sdk/nodejs/quicksight/getAnalysis.ts +++ b/sdk/nodejs/quicksight/getAnalysis.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of the AWS::QuickSight::Analysis Resource Type. */ export function getAnalysis(args: GetAnalysisArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:quicksight:getAnalysis", { "analysisId": args.analysisId, @@ -78,7 +77,11 @@ export interface GetAnalysisResult { * Definition of the AWS::QuickSight::Analysis Resource Type. */ export function getAnalysisOutput(args: GetAnalysisOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAnalysis(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:quicksight:getAnalysis", { + "analysisId": args.analysisId, + "awsAccountId": args.awsAccountId, + }, opts); } export interface GetAnalysisOutputArgs { diff --git a/sdk/nodejs/quicksight/getDashboard.ts b/sdk/nodejs/quicksight/getDashboard.ts index d9ec37ab42..3f29ad6904 100644 --- a/sdk/nodejs/quicksight/getDashboard.ts +++ b/sdk/nodejs/quicksight/getDashboard.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of the AWS::QuickSight::Dashboard Resource Type. */ export function getDashboard(args: GetDashboardArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:quicksight:getDashboard", { "awsAccountId": args.awsAccountId, @@ -71,7 +70,11 @@ export interface GetDashboardResult { * Definition of the AWS::QuickSight::Dashboard Resource Type. */ export function getDashboardOutput(args: GetDashboardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDashboard(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:quicksight:getDashboard", { + "awsAccountId": args.awsAccountId, + "dashboardId": args.dashboardId, + }, opts); } export interface GetDashboardOutputArgs { diff --git a/sdk/nodejs/quicksight/getDataSet.ts b/sdk/nodejs/quicksight/getDataSet.ts index ecfa21b535..8b40014296 100644 --- a/sdk/nodejs/quicksight/getDataSet.ts +++ b/sdk/nodejs/quicksight/getDataSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of the AWS::QuickSight::DataSet Resource Type. */ export function getDataSet(args: GetDataSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:quicksight:getDataSet", { "awsAccountId": args.awsAccountId, @@ -112,7 +111,11 @@ export interface GetDataSetResult { * Definition of the AWS::QuickSight::DataSet Resource Type. */ export function getDataSetOutput(args: GetDataSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:quicksight:getDataSet", { + "awsAccountId": args.awsAccountId, + "dataSetId": args.dataSetId, + }, opts); } export interface GetDataSetOutputArgs { diff --git a/sdk/nodejs/quicksight/getDataSource.ts b/sdk/nodejs/quicksight/getDataSource.ts index bfe3805c37..414ee52354 100644 --- a/sdk/nodejs/quicksight/getDataSource.ts +++ b/sdk/nodejs/quicksight/getDataSource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of the AWS::QuickSight::DataSource Resource Type. */ export function getDataSource(args: GetDataSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:quicksight:getDataSource", { "awsAccountId": args.awsAccountId, @@ -92,7 +91,11 @@ export interface GetDataSourceResult { * Definition of the AWS::QuickSight::DataSource Resource Type. */ export function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:quicksight:getDataSource", { + "awsAccountId": args.awsAccountId, + "dataSourceId": args.dataSourceId, + }, opts); } export interface GetDataSourceOutputArgs { diff --git a/sdk/nodejs/quicksight/getFolder.ts b/sdk/nodejs/quicksight/getFolder.ts index 1f2b302ece..bbdb56982c 100644 --- a/sdk/nodejs/quicksight/getFolder.ts +++ b/sdk/nodejs/quicksight/getFolder.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of the AWS::QuickSight::Folder Resource Type. */ export function getFolder(args: GetFolderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:quicksight:getFolder", { "awsAccountId": args.awsAccountId, @@ -54,7 +53,11 @@ export interface GetFolderResult { * Definition of the AWS::QuickSight::Folder Resource Type. */ export function getFolderOutput(args: GetFolderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFolder(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:quicksight:getFolder", { + "awsAccountId": args.awsAccountId, + "folderId": args.folderId, + }, opts); } export interface GetFolderOutputArgs { diff --git a/sdk/nodejs/quicksight/getTemplate.ts b/sdk/nodejs/quicksight/getTemplate.ts index 6a12af6c54..ec89662719 100644 --- a/sdk/nodejs/quicksight/getTemplate.ts +++ b/sdk/nodejs/quicksight/getTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of the AWS::QuickSight::Template Resource Type. */ export function getTemplate(args: GetTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:quicksight:getTemplate", { "awsAccountId": args.awsAccountId, @@ -61,7 +60,11 @@ export interface GetTemplateResult { * Definition of the AWS::QuickSight::Template Resource Type. */ export function getTemplateOutput(args: GetTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:quicksight:getTemplate", { + "awsAccountId": args.awsAccountId, + "templateId": args.templateId, + }, opts); } export interface GetTemplateOutputArgs { diff --git a/sdk/nodejs/quicksight/getTheme.ts b/sdk/nodejs/quicksight/getTheme.ts index 12a915a270..a6e99e250e 100644 --- a/sdk/nodejs/quicksight/getTheme.ts +++ b/sdk/nodejs/quicksight/getTheme.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of the AWS::QuickSight::Theme Resource Type. */ export function getTheme(args: GetThemeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:quicksight:getTheme", { "awsAccountId": args.awsAccountId, @@ -65,7 +64,11 @@ export interface GetThemeResult { * Definition of the AWS::QuickSight::Theme Resource Type. */ export function getThemeOutput(args: GetThemeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTheme(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:quicksight:getTheme", { + "awsAccountId": args.awsAccountId, + "themeId": args.themeId, + }, opts); } export interface GetThemeOutputArgs { diff --git a/sdk/nodejs/quicksight/getTopic.ts b/sdk/nodejs/quicksight/getTopic.ts index 807b655ba7..4f13d23b66 100644 --- a/sdk/nodejs/quicksight/getTopic.ts +++ b/sdk/nodejs/quicksight/getTopic.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of the AWS::QuickSight::Topic Resource Type. */ export function getTopic(args: GetTopicArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:quicksight:getTopic", { "awsAccountId": args.awsAccountId, @@ -56,7 +55,11 @@ export interface GetTopicResult { * Definition of the AWS::QuickSight::Topic Resource Type. */ export function getTopicOutput(args: GetTopicOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTopic(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:quicksight:getTopic", { + "awsAccountId": args.awsAccountId, + "topicId": args.topicId, + }, opts); } export interface GetTopicOutputArgs { diff --git a/sdk/nodejs/quicksight/getVpcConnection.ts b/sdk/nodejs/quicksight/getVpcConnection.ts index 7293dd4cfb..bb449c08f5 100644 --- a/sdk/nodejs/quicksight/getVpcConnection.ts +++ b/sdk/nodejs/quicksight/getVpcConnection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of the AWS::QuickSight::VPCConnection Resource Type. */ export function getVpcConnection(args: GetVpcConnectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:quicksight:getVpcConnection", { "awsAccountId": args.awsAccountId, @@ -84,7 +83,11 @@ export interface GetVpcConnectionResult { * Definition of the AWS::QuickSight::VPCConnection Resource Type. */ export function getVpcConnectionOutput(args: GetVpcConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVpcConnection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:quicksight:getVpcConnection", { + "awsAccountId": args.awsAccountId, + "vpcConnectionId": args.vpcConnectionId, + }, opts); } export interface GetVpcConnectionOutputArgs { diff --git a/sdk/nodejs/ram/getPermission.ts b/sdk/nodejs/ram/getPermission.ts index f6bc69bcc3..6a78be6a15 100644 --- a/sdk/nodejs/ram/getPermission.ts +++ b/sdk/nodejs/ram/getPermission.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::RAM::Permission */ export function getPermission(args: GetPermissionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ram:getPermission", { "arn": args.arn, @@ -54,7 +53,10 @@ export interface GetPermissionResult { * Resource type definition for AWS::RAM::Permission */ export function getPermissionOutput(args: GetPermissionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPermission(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ram:getPermission", { + "arn": args.arn, + }, opts); } export interface GetPermissionOutputArgs { diff --git a/sdk/nodejs/rds/getCustomDbEngineVersion.ts b/sdk/nodejs/rds/getCustomDbEngineVersion.ts index 4897f5c984..da8bc81da3 100644 --- a/sdk/nodejs/rds/getCustomDbEngineVersion.ts +++ b/sdk/nodejs/rds/getCustomDbEngineVersion.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::RDS::CustomDBEngineVersion resource creates an Amazon RDS custom DB engine version. */ export function getCustomDbEngineVersion(args: GetCustomDbEngineVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getCustomDbEngineVersion", { "engine": args.engine, @@ -52,7 +51,11 @@ export interface GetCustomDbEngineVersionResult { * The AWS::RDS::CustomDBEngineVersion resource creates an Amazon RDS custom DB engine version. */ export function getCustomDbEngineVersionOutput(args: GetCustomDbEngineVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCustomDbEngineVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getCustomDbEngineVersion", { + "engine": args.engine, + "engineVersion": args.engineVersion, + }, opts); } export interface GetCustomDbEngineVersionOutputArgs { diff --git a/sdk/nodejs/rds/getDbCluster.ts b/sdk/nodejs/rds/getDbCluster.ts index c414f0d612..fb8bc9a058 100644 --- a/sdk/nodejs/rds/getDbCluster.ts +++ b/sdk/nodejs/rds/getDbCluster.ts @@ -27,7 +27,6 @@ import * as utilities from "../utilities"; * The default ``DeletionPolicy`` for ``AWS::RDS::DBCluster`` resources is ``Snapshot``. For more information about how AWS CloudFormation deletes resources, see [DeletionPolicy Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html). */ export function getDbCluster(args: GetDbClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getDbCluster", { "dbClusterIdentifier": args.dbClusterIdentifier, @@ -411,7 +410,10 @@ export interface GetDbClusterResult { * The default ``DeletionPolicy`` for ``AWS::RDS::DBCluster`` resources is ``Snapshot``. For more information about how AWS CloudFormation deletes resources, see [DeletionPolicy Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html). */ export function getDbClusterOutput(args: GetDbClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDbCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getDbCluster", { + "dbClusterIdentifier": args.dbClusterIdentifier, + }, opts); } export interface GetDbClusterOutputArgs { diff --git a/sdk/nodejs/rds/getDbClusterParameterGroup.ts b/sdk/nodejs/rds/getDbClusterParameterGroup.ts index 6c53bb0499..39371ff6f4 100644 --- a/sdk/nodejs/rds/getDbClusterParameterGroup.ts +++ b/sdk/nodejs/rds/getDbClusterParameterGroup.ts @@ -14,7 +14,6 @@ import * as utilities from "../utilities"; * If you apply a change to parameter group associated with a stopped DB cluster, then the updated stack waits until the DB cluster is started. */ export function getDbClusterParameterGroup(args: GetDbClusterParameterGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getDbClusterParameterGroup", { "dbClusterParameterGroupName": args.dbClusterParameterGroupName, @@ -51,7 +50,10 @@ export interface GetDbClusterParameterGroupResult { * If you apply a change to parameter group associated with a stopped DB cluster, then the updated stack waits until the DB cluster is started. */ export function getDbClusterParameterGroupOutput(args: GetDbClusterParameterGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDbClusterParameterGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getDbClusterParameterGroup", { + "dbClusterParameterGroupName": args.dbClusterParameterGroupName, + }, opts); } export interface GetDbClusterParameterGroupOutputArgs { diff --git a/sdk/nodejs/rds/getDbInstance.ts b/sdk/nodejs/rds/getDbInstance.ts index f79dbfef39..ea762eee82 100644 --- a/sdk/nodejs/rds/getDbInstance.ts +++ b/sdk/nodejs/rds/getDbInstance.ts @@ -31,7 +31,6 @@ import * as utilities from "../utilities"; * For more information, see [DeletionPolicy Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html). */ export function getDbInstance(args: GetDbInstanceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getDbInstance", { "dbInstanceIdentifier": args.dbInstanceIdentifier, @@ -560,7 +559,10 @@ export interface GetDbInstanceResult { * For more information, see [DeletionPolicy Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html). */ export function getDbInstanceOutput(args: GetDbInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDbInstance(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getDbInstance", { + "dbInstanceIdentifier": args.dbInstanceIdentifier, + }, opts); } export interface GetDbInstanceOutputArgs { diff --git a/sdk/nodejs/rds/getDbParameterGroup.ts b/sdk/nodejs/rds/getDbParameterGroup.ts index 11ec737504..5be203563c 100644 --- a/sdk/nodejs/rds/getDbParameterGroup.ts +++ b/sdk/nodejs/rds/getDbParameterGroup.ts @@ -15,7 +15,6 @@ import * as utilities from "../utilities"; * Applying a parameter group to a DB instance may require the DB instance to reboot, resulting in a database outage for the duration of the reboot. */ export function getDbParameterGroup(args: GetDbParameterGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getDbParameterGroup", { "dbParameterGroupName": args.dbParameterGroupName, @@ -58,7 +57,10 @@ export interface GetDbParameterGroupResult { * Applying a parameter group to a DB instance may require the DB instance to reboot, resulting in a database outage for the duration of the reboot. */ export function getDbParameterGroupOutput(args: GetDbParameterGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDbParameterGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getDbParameterGroup", { + "dbParameterGroupName": args.dbParameterGroupName, + }, opts); } export interface GetDbParameterGroupOutputArgs { diff --git a/sdk/nodejs/rds/getDbProxy.ts b/sdk/nodejs/rds/getDbProxy.ts index 0e9a6f0e00..b23afc21b0 100644 --- a/sdk/nodejs/rds/getDbProxy.ts +++ b/sdk/nodejs/rds/getDbProxy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::RDS::DBProxy */ export function getDbProxy(args: GetDbProxyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getDbProxy", { "dbProxyName": args.dbProxyName, @@ -71,7 +70,10 @@ export interface GetDbProxyResult { * Resource schema for AWS::RDS::DBProxy */ export function getDbProxyOutput(args: GetDbProxyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDbProxy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getDbProxy", { + "dbProxyName": args.dbProxyName, + }, opts); } export interface GetDbProxyOutputArgs { diff --git a/sdk/nodejs/rds/getDbProxyEndpoint.ts b/sdk/nodejs/rds/getDbProxyEndpoint.ts index 67d77d4515..f3981303a8 100644 --- a/sdk/nodejs/rds/getDbProxyEndpoint.ts +++ b/sdk/nodejs/rds/getDbProxyEndpoint.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::RDS::DBProxyEndpoint. */ export function getDbProxyEndpoint(args: GetDbProxyEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getDbProxyEndpoint", { "dbProxyEndpointName": args.dbProxyEndpointName, @@ -59,7 +58,10 @@ export interface GetDbProxyEndpointResult { * Resource schema for AWS::RDS::DBProxyEndpoint. */ export function getDbProxyEndpointOutput(args: GetDbProxyEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDbProxyEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getDbProxyEndpoint", { + "dbProxyEndpointName": args.dbProxyEndpointName, + }, opts); } export interface GetDbProxyEndpointOutputArgs { diff --git a/sdk/nodejs/rds/getDbProxyTargetGroup.ts b/sdk/nodejs/rds/getDbProxyTargetGroup.ts index fb62a42d27..3f25203434 100644 --- a/sdk/nodejs/rds/getDbProxyTargetGroup.ts +++ b/sdk/nodejs/rds/getDbProxyTargetGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::RDS::DBProxyTargetGroup */ export function getDbProxyTargetGroup(args: GetDbProxyTargetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getDbProxyTargetGroup", { "targetGroupArn": args.targetGroupArn, @@ -47,7 +46,10 @@ export interface GetDbProxyTargetGroupResult { * Resource schema for AWS::RDS::DBProxyTargetGroup */ export function getDbProxyTargetGroupOutput(args: GetDbProxyTargetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDbProxyTargetGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getDbProxyTargetGroup", { + "targetGroupArn": args.targetGroupArn, + }, opts); } export interface GetDbProxyTargetGroupOutputArgs { diff --git a/sdk/nodejs/rds/getDbSubnetGroup.ts b/sdk/nodejs/rds/getDbSubnetGroup.ts index 88f8c1eeff..1f0ca26576 100644 --- a/sdk/nodejs/rds/getDbSubnetGroup.ts +++ b/sdk/nodejs/rds/getDbSubnetGroup.ts @@ -12,7 +12,6 @@ import * as utilities from "../utilities"; * For more information, see [Working with DB subnet groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Subnets) in the *Amazon RDS User Guide*. */ export function getDbSubnetGroup(args: GetDbSubnetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getDbSubnetGroup", { "dbSubnetGroupName": args.dbSubnetGroupName, @@ -47,7 +46,10 @@ export interface GetDbSubnetGroupResult { * For more information, see [Working with DB subnet groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Subnets) in the *Amazon RDS User Guide*. */ export function getDbSubnetGroupOutput(args: GetDbSubnetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDbSubnetGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getDbSubnetGroup", { + "dbSubnetGroupName": args.dbSubnetGroupName, + }, opts); } export interface GetDbSubnetGroupOutputArgs { diff --git a/sdk/nodejs/rds/getEventSubscription.ts b/sdk/nodejs/rds/getEventSubscription.ts index f37d9efcfa..eeadc55dd3 100644 --- a/sdk/nodejs/rds/getEventSubscription.ts +++ b/sdk/nodejs/rds/getEventSubscription.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::RDS::EventSubscription`` resource allows you to receive notifications for Amazon Relational Database Service events through the Amazon Simple Notification Service (Amazon SNS). For more information, see [Using Amazon RDS Event Notification](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) in the *Amazon RDS User Guide*. */ export function getEventSubscription(args: GetEventSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getEventSubscription", { "subscriptionName": args.subscriptionName, @@ -62,7 +61,10 @@ export interface GetEventSubscriptionResult { * The ``AWS::RDS::EventSubscription`` resource allows you to receive notifications for Amazon Relational Database Service events through the Amazon Simple Notification Service (Amazon SNS). For more information, see [Using Amazon RDS Event Notification](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html) in the *Amazon RDS User Guide*. */ export function getEventSubscriptionOutput(args: GetEventSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventSubscription(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getEventSubscription", { + "subscriptionName": args.subscriptionName, + }, opts); } export interface GetEventSubscriptionOutputArgs { diff --git a/sdk/nodejs/rds/getGlobalCluster.ts b/sdk/nodejs/rds/getGlobalCluster.ts index 2524e0fb63..ae3c41c0ee 100644 --- a/sdk/nodejs/rds/getGlobalCluster.ts +++ b/sdk/nodejs/rds/getGlobalCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::RDS::GlobalCluster */ export function getGlobalCluster(args: GetGlobalClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getGlobalCluster", { "globalClusterIdentifier": args.globalClusterIdentifier, @@ -47,7 +46,10 @@ export interface GetGlobalClusterResult { * Resource Type definition for AWS::RDS::GlobalCluster */ export function getGlobalClusterOutput(args: GetGlobalClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGlobalCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getGlobalCluster", { + "globalClusterIdentifier": args.globalClusterIdentifier, + }, opts); } export interface GetGlobalClusterOutputArgs { diff --git a/sdk/nodejs/rds/getIntegration.ts b/sdk/nodejs/rds/getIntegration.ts index 21d80ff5d6..18a2b9a475 100644 --- a/sdk/nodejs/rds/getIntegration.ts +++ b/sdk/nodejs/rds/getIntegration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A zero-ETL integration with Amazon Redshift. */ export function getIntegration(args: GetIntegrationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getIntegration", { "integrationArn": args.integrationArn, @@ -55,7 +54,10 @@ export interface GetIntegrationResult { * A zero-ETL integration with Amazon Redshift. */ export function getIntegrationOutput(args: GetIntegrationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIntegration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getIntegration", { + "integrationArn": args.integrationArn, + }, opts); } export interface GetIntegrationOutputArgs { diff --git a/sdk/nodejs/rds/getOptionGroup.ts b/sdk/nodejs/rds/getOptionGroup.ts index 55663b60b4..8efafbd283 100644 --- a/sdk/nodejs/rds/getOptionGroup.ts +++ b/sdk/nodejs/rds/getOptionGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::RDS::OptionGroup`` resource creates or updates an option group, to enable and configure features that are specific to a particular DB engine. */ export function getOptionGroup(args: GetOptionGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rds:getOptionGroup", { "optionGroupName": args.optionGroupName, @@ -47,7 +46,10 @@ export interface GetOptionGroupResult { * The ``AWS::RDS::OptionGroup`` resource creates or updates an option group, to enable and configure features that are specific to a particular DB engine. */ export function getOptionGroupOutput(args: GetOptionGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOptionGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rds:getOptionGroup", { + "optionGroupName": args.optionGroupName, + }, opts); } export interface GetOptionGroupOutputArgs { diff --git a/sdk/nodejs/redshift/getCluster.ts b/sdk/nodejs/redshift/getCluster.ts index 4fc844fa5a..7a875da196 100644 --- a/sdk/nodejs/redshift/getCluster.ts +++ b/sdk/nodejs/redshift/getCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An example resource schema demonstrating some basic constructs and validation rules. */ export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:redshift:getCluster", { "clusterIdentifier": args.clusterIdentifier, @@ -219,7 +218,10 @@ export interface GetClusterResult { * An example resource schema demonstrating some basic constructs and validation rules. */ export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:redshift:getCluster", { + "clusterIdentifier": args.clusterIdentifier, + }, opts); } export interface GetClusterOutputArgs { diff --git a/sdk/nodejs/redshift/getClusterParameterGroup.ts b/sdk/nodejs/redshift/getClusterParameterGroup.ts index de1c6549fc..db28fb71f6 100644 --- a/sdk/nodejs/redshift/getClusterParameterGroup.ts +++ b/sdk/nodejs/redshift/getClusterParameterGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Redshift::ClusterParameterGroup */ export function getClusterParameterGroup(args: GetClusterParameterGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:redshift:getClusterParameterGroup", { "parameterGroupName": args.parameterGroupName, @@ -35,7 +34,10 @@ export interface GetClusterParameterGroupResult { * Resource Type definition for AWS::Redshift::ClusterParameterGroup */ export function getClusterParameterGroupOutput(args: GetClusterParameterGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClusterParameterGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:redshift:getClusterParameterGroup", { + "parameterGroupName": args.parameterGroupName, + }, opts); } export interface GetClusterParameterGroupOutputArgs { diff --git a/sdk/nodejs/redshift/getClusterSubnetGroup.ts b/sdk/nodejs/redshift/getClusterSubnetGroup.ts index 7de32fba3c..e8d5aa4e96 100644 --- a/sdk/nodejs/redshift/getClusterSubnetGroup.ts +++ b/sdk/nodejs/redshift/getClusterSubnetGroup.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Specifies an Amazon Redshift subnet group. */ export function getClusterSubnetGroup(args: GetClusterSubnetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:redshift:getClusterSubnetGroup", { "clusterSubnetGroupName": args.clusterSubnetGroupName, @@ -40,7 +39,10 @@ export interface GetClusterSubnetGroupResult { * Specifies an Amazon Redshift subnet group. */ export function getClusterSubnetGroupOutput(args: GetClusterSubnetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getClusterSubnetGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:redshift:getClusterSubnetGroup", { + "clusterSubnetGroupName": args.clusterSubnetGroupName, + }, opts); } export interface GetClusterSubnetGroupOutputArgs { diff --git a/sdk/nodejs/redshift/getEndpointAccess.ts b/sdk/nodejs/redshift/getEndpointAccess.ts index 06084f744d..d54523a127 100644 --- a/sdk/nodejs/redshift/getEndpointAccess.ts +++ b/sdk/nodejs/redshift/getEndpointAccess.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for a Redshift-managed VPC endpoint. */ export function getEndpointAccess(args: GetEndpointAccessArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:redshift:getEndpointAccess", { "endpointName": args.endpointName, @@ -59,7 +58,10 @@ export interface GetEndpointAccessResult { * Resource schema for a Redshift-managed VPC endpoint. */ export function getEndpointAccessOutput(args: GetEndpointAccessOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEndpointAccess(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:redshift:getEndpointAccess", { + "endpointName": args.endpointName, + }, opts); } export interface GetEndpointAccessOutputArgs { diff --git a/sdk/nodejs/redshift/getEndpointAuthorization.ts b/sdk/nodejs/redshift/getEndpointAuthorization.ts index eda7615ace..4a1f736946 100644 --- a/sdk/nodejs/redshift/getEndpointAuthorization.ts +++ b/sdk/nodejs/redshift/getEndpointAuthorization.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts. */ export function getEndpointAuthorization(args: GetEndpointAuthorizationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:redshift:getEndpointAuthorization", { "account": args.account, @@ -69,7 +68,11 @@ export interface GetEndpointAuthorizationResult { * Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts. */ export function getEndpointAuthorizationOutput(args: GetEndpointAuthorizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEndpointAuthorization(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:redshift:getEndpointAuthorization", { + "account": args.account, + "clusterIdentifier": args.clusterIdentifier, + }, opts); } export interface GetEndpointAuthorizationOutputArgs { diff --git a/sdk/nodejs/redshift/getEventSubscription.ts b/sdk/nodejs/redshift/getEventSubscription.ts index 97a66ad55c..c6ac1a05e2 100644 --- a/sdk/nodejs/redshift/getEventSubscription.ts +++ b/sdk/nodejs/redshift/getEventSubscription.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The `AWS::Redshift::EventSubscription` resource creates an Amazon Redshift Event Subscription. */ export function getEventSubscription(args: GetEventSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:redshift:getEventSubscription", { "subscriptionName": args.subscriptionName, @@ -79,7 +78,10 @@ export interface GetEventSubscriptionResult { * The `AWS::Redshift::EventSubscription` resource creates an Amazon Redshift Event Subscription. */ export function getEventSubscriptionOutput(args: GetEventSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEventSubscription(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:redshift:getEventSubscription", { + "subscriptionName": args.subscriptionName, + }, opts); } export interface GetEventSubscriptionOutputArgs { diff --git a/sdk/nodejs/redshift/getScheduledAction.ts b/sdk/nodejs/redshift/getScheduledAction.ts index 4152f1ded7..7a74984994 100644 --- a/sdk/nodejs/redshift/getScheduledAction.ts +++ b/sdk/nodejs/redshift/getScheduledAction.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The `AWS::Redshift::ScheduledAction` resource creates an Amazon Redshift Scheduled Action. */ export function getScheduledAction(args: GetScheduledActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:redshift:getScheduledAction", { "scheduledActionName": args.scheduledActionName, @@ -67,7 +66,10 @@ export interface GetScheduledActionResult { * The `AWS::Redshift::ScheduledAction` resource creates an Amazon Redshift Scheduled Action. */ export function getScheduledActionOutput(args: GetScheduledActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getScheduledAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:redshift:getScheduledAction", { + "scheduledActionName": args.scheduledActionName, + }, opts); } export interface GetScheduledActionOutputArgs { diff --git a/sdk/nodejs/redshiftserverless/getNamespace.ts b/sdk/nodejs/redshiftserverless/getNamespace.ts index 1cdc2e125a..80cf7c5d23 100644 --- a/sdk/nodejs/redshiftserverless/getNamespace.ts +++ b/sdk/nodejs/redshiftserverless/getNamespace.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::RedshiftServerless::Namespace Resource Type */ export function getNamespace(args: GetNamespaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:redshiftserverless:getNamespace", { "namespaceName": args.namespaceName, @@ -73,7 +72,10 @@ export interface GetNamespaceResult { * Definition of AWS::RedshiftServerless::Namespace Resource Type */ export function getNamespaceOutput(args: GetNamespaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNamespace(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:redshiftserverless:getNamespace", { + "namespaceName": args.namespaceName, + }, opts); } export interface GetNamespaceOutputArgs { diff --git a/sdk/nodejs/redshiftserverless/getWorkgroup.ts b/sdk/nodejs/redshiftserverless/getWorkgroup.ts index 642772a9e6..1150b592c5 100644 --- a/sdk/nodejs/redshiftserverless/getWorkgroup.ts +++ b/sdk/nodejs/redshiftserverless/getWorkgroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::RedshiftServerless::Workgroup Resource Type */ export function getWorkgroup(args: GetWorkgroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:redshiftserverless:getWorkgroup", { "workgroupName": args.workgroupName, @@ -47,7 +46,10 @@ export interface GetWorkgroupResult { * Definition of AWS::RedshiftServerless::Workgroup Resource Type */ export function getWorkgroupOutput(args: GetWorkgroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWorkgroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:redshiftserverless:getWorkgroup", { + "workgroupName": args.workgroupName, + }, opts); } export interface GetWorkgroupOutputArgs { diff --git a/sdk/nodejs/refactorspaces/getApplication.ts b/sdk/nodejs/refactorspaces/getApplication.ts index e3852bbdc8..91d2968f93 100644 --- a/sdk/nodejs/refactorspaces/getApplication.ts +++ b/sdk/nodejs/refactorspaces/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::RefactorSpaces::Application Resource Type */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:refactorspaces:getApplication", { "applicationIdentifier": args.applicationIdentifier, @@ -72,7 +71,11 @@ export interface GetApplicationResult { * Definition of AWS::RefactorSpaces::Application Resource Type */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:refactorspaces:getApplication", { + "applicationIdentifier": args.applicationIdentifier, + "environmentIdentifier": args.environmentIdentifier, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/refactorspaces/getEnvironment.ts b/sdk/nodejs/refactorspaces/getEnvironment.ts index fa2a17e66e..a4636b079a 100644 --- a/sdk/nodejs/refactorspaces/getEnvironment.ts +++ b/sdk/nodejs/refactorspaces/getEnvironment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::RefactorSpaces::Environment Resource Type */ export function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:refactorspaces:getEnvironment", { "environmentIdentifier": args.environmentIdentifier, @@ -47,7 +46,10 @@ export interface GetEnvironmentResult { * Definition of AWS::RefactorSpaces::Environment Resource Type */ export function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:refactorspaces:getEnvironment", { + "environmentIdentifier": args.environmentIdentifier, + }, opts); } export interface GetEnvironmentOutputArgs { diff --git a/sdk/nodejs/refactorspaces/getRoute.ts b/sdk/nodejs/refactorspaces/getRoute.ts index a0ba111bff..c24f8bbb16 100644 --- a/sdk/nodejs/refactorspaces/getRoute.ts +++ b/sdk/nodejs/refactorspaces/getRoute.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::RefactorSpaces::Route Resource Type */ export function getRoute(args: GetRouteArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:refactorspaces:getRoute", { "applicationIdentifier": args.applicationIdentifier, @@ -57,7 +56,12 @@ export interface GetRouteResult { * Definition of AWS::RefactorSpaces::Route Resource Type */ export function getRouteOutput(args: GetRouteOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRoute(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:refactorspaces:getRoute", { + "applicationIdentifier": args.applicationIdentifier, + "environmentIdentifier": args.environmentIdentifier, + "routeIdentifier": args.routeIdentifier, + }, opts); } export interface GetRouteOutputArgs { diff --git a/sdk/nodejs/refactorspaces/getService.ts b/sdk/nodejs/refactorspaces/getService.ts index 8d2c7ddb57..5449de890b 100644 --- a/sdk/nodejs/refactorspaces/getService.ts +++ b/sdk/nodejs/refactorspaces/getService.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::RefactorSpaces::Service Resource Type */ export function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:refactorspaces:getService", { "applicationIdentifier": args.applicationIdentifier, @@ -53,7 +52,12 @@ export interface GetServiceResult { * Definition of AWS::RefactorSpaces::Service Resource Type */ export function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getService(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:refactorspaces:getService", { + "applicationIdentifier": args.applicationIdentifier, + "environmentIdentifier": args.environmentIdentifier, + "serviceIdentifier": args.serviceIdentifier, + }, opts); } export interface GetServiceOutputArgs { diff --git a/sdk/nodejs/rekognition/getCollection.ts b/sdk/nodejs/rekognition/getCollection.ts index 2f71e822c5..7c485fd063 100644 --- a/sdk/nodejs/rekognition/getCollection.ts +++ b/sdk/nodejs/rekognition/getCollection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Rekognition::Collection type creates an Amazon Rekognition Collection. A collection is a logical grouping of information about detected faces which can later be referenced for searches on the group */ export function getCollection(args: GetCollectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rekognition:getCollection", { "collectionId": args.collectionId, @@ -39,7 +38,10 @@ export interface GetCollectionResult { * The AWS::Rekognition::Collection type creates an Amazon Rekognition Collection. A collection is a logical grouping of information about detected faces which can later be referenced for searches on the group */ export function getCollectionOutput(args: GetCollectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCollection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rekognition:getCollection", { + "collectionId": args.collectionId, + }, opts); } export interface GetCollectionOutputArgs { diff --git a/sdk/nodejs/rekognition/getProject.ts b/sdk/nodejs/rekognition/getProject.ts index c84fb55dd3..67d5306f96 100644 --- a/sdk/nodejs/rekognition/getProject.ts +++ b/sdk/nodejs/rekognition/getProject.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::Rekognition::Project type creates an Amazon Rekognition CustomLabels Project. A project is a grouping of the resources needed to create and manage Dataset and ProjectVersions. */ export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rekognition:getProject", { "projectName": args.projectName, @@ -32,7 +31,10 @@ export interface GetProjectResult { * The AWS::Rekognition::Project type creates an Amazon Rekognition CustomLabels Project. A project is a grouping of the resources needed to create and manage Dataset and ProjectVersions. */ export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProject(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rekognition:getProject", { + "projectName": args.projectName, + }, opts); } export interface GetProjectOutputArgs { diff --git a/sdk/nodejs/rekognition/getStreamProcessor.ts b/sdk/nodejs/rekognition/getStreamProcessor.ts index d262aa07d0..6e282dd598 100644 --- a/sdk/nodejs/rekognition/getStreamProcessor.ts +++ b/sdk/nodejs/rekognition/getStreamProcessor.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Rekognition::StreamProcessor type is used to create an Amazon Rekognition StreamProcessor that you can use to analyze streaming videos. */ export function getStreamProcessor(args: GetStreamProcessorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rekognition:getStreamProcessor", { "name": args.name, @@ -47,7 +46,10 @@ export interface GetStreamProcessorResult { * The AWS::Rekognition::StreamProcessor type is used to create an Amazon Rekognition StreamProcessor that you can use to analyze streaming videos. */ export function getStreamProcessorOutput(args: GetStreamProcessorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStreamProcessor(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rekognition:getStreamProcessor", { + "name": args.name, + }, opts); } export interface GetStreamProcessorOutputArgs { diff --git a/sdk/nodejs/resiliencehub/getApp.ts b/sdk/nodejs/resiliencehub/getApp.ts index 7973b36745..fb91ae9ec0 100644 --- a/sdk/nodejs/resiliencehub/getApp.ts +++ b/sdk/nodejs/resiliencehub/getApp.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type Definition for AWS::ResilienceHub::App. */ export function getApp(args: GetAppArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:resiliencehub:getApp", { "appArn": args.appArn, @@ -71,7 +70,10 @@ export interface GetAppResult { * Resource Type Definition for AWS::ResilienceHub::App. */ export function getAppOutput(args: GetAppOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:resiliencehub:getApp", { + "appArn": args.appArn, + }, opts); } export interface GetAppOutputArgs { diff --git a/sdk/nodejs/resiliencehub/getResiliencyPolicy.ts b/sdk/nodejs/resiliencehub/getResiliencyPolicy.ts index f0937c564f..983df61150 100644 --- a/sdk/nodejs/resiliencehub/getResiliencyPolicy.ts +++ b/sdk/nodejs/resiliencehub/getResiliencyPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type Definition for Resiliency Policy. */ export function getResiliencyPolicy(args: GetResiliencyPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:resiliencehub:getResiliencyPolicy", { "policyArn": args.policyArn, @@ -59,7 +58,10 @@ export interface GetResiliencyPolicyResult { * Resource Type Definition for Resiliency Policy. */ export function getResiliencyPolicyOutput(args: GetResiliencyPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResiliencyPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:resiliencehub:getResiliencyPolicy", { + "policyArn": args.policyArn, + }, opts); } export interface GetResiliencyPolicyOutputArgs { diff --git a/sdk/nodejs/resourceexplorer2/getDefaultViewAssociation.ts b/sdk/nodejs/resourceexplorer2/getDefaultViewAssociation.ts index baf80956d1..d8602ce12b 100644 --- a/sdk/nodejs/resourceexplorer2/getDefaultViewAssociation.ts +++ b/sdk/nodejs/resourceexplorer2/getDefaultViewAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::ResourceExplorer2::DefaultViewAssociation Resource Type */ export function getDefaultViewAssociation(args: GetDefaultViewAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:resourceexplorer2:getDefaultViewAssociation", { "associatedAwsPrincipal": args.associatedAwsPrincipal, @@ -36,7 +35,10 @@ export interface GetDefaultViewAssociationResult { * Definition of AWS::ResourceExplorer2::DefaultViewAssociation Resource Type */ export function getDefaultViewAssociationOutput(args: GetDefaultViewAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDefaultViewAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:resourceexplorer2:getDefaultViewAssociation", { + "associatedAwsPrincipal": args.associatedAwsPrincipal, + }, opts); } export interface GetDefaultViewAssociationOutputArgs { diff --git a/sdk/nodejs/resourceexplorer2/getIndex.ts b/sdk/nodejs/resourceexplorer2/getIndex.ts index 02f7451f59..7adc8f75dd 100644 --- a/sdk/nodejs/resourceexplorer2/getIndex.ts +++ b/sdk/nodejs/resourceexplorer2/getIndex.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::ResourceExplorer2::Index Resource Type */ export function getIndex(args: GetIndexArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:resourceexplorer2:getIndex", { "arn": args.arn, @@ -53,7 +52,10 @@ export interface GetIndexResult { * Definition of AWS::ResourceExplorer2::Index Resource Type */ export function getIndexOutput(args: GetIndexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIndex(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:resourceexplorer2:getIndex", { + "arn": args.arn, + }, opts); } export interface GetIndexOutputArgs { diff --git a/sdk/nodejs/resourceexplorer2/getView.ts b/sdk/nodejs/resourceexplorer2/getView.ts index 636bee595d..200ec99992 100644 --- a/sdk/nodejs/resourceexplorer2/getView.ts +++ b/sdk/nodejs/resourceexplorer2/getView.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::ResourceExplorer2::View Resource Type */ export function getView(args: GetViewArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:resourceexplorer2:getView", { "viewArn": args.viewArn, @@ -55,7 +54,10 @@ export interface GetViewResult { * Definition of AWS::ResourceExplorer2::View Resource Type */ export function getViewOutput(args: GetViewOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getView(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:resourceexplorer2:getView", { + "viewArn": args.viewArn, + }, opts); } export interface GetViewOutputArgs { diff --git a/sdk/nodejs/resourcegroups/getGroup.ts b/sdk/nodejs/resourcegroups/getGroup.ts index 67ba3ee5a2..d6f2a240b8 100644 --- a/sdk/nodejs/resourcegroups/getGroup.ts +++ b/sdk/nodejs/resourcegroups/getGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Schema for ResourceGroups::Group */ export function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:resourcegroups:getGroup", { "name": args.name, @@ -63,7 +62,10 @@ export interface GetGroupResult { * Schema for ResourceGroups::Group */ export function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:resourcegroups:getGroup", { + "name": args.name, + }, opts); } export interface GetGroupOutputArgs { diff --git a/sdk/nodejs/robomaker/getFleet.ts b/sdk/nodejs/robomaker/getFleet.ts index be88f70c40..1a80e853e7 100644 --- a/sdk/nodejs/robomaker/getFleet.ts +++ b/sdk/nodejs/robomaker/getFleet.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * AWS::RoboMaker::Fleet resource creates an AWS RoboMaker fleet. Fleets contain robots and can receive deployments. */ export function getFleet(args: GetFleetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:robomaker:getFleet", { "arn": args.arn, @@ -36,7 +35,10 @@ export interface GetFleetResult { * AWS::RoboMaker::Fleet resource creates an AWS RoboMaker fleet. Fleets contain robots and can receive deployments. */ export function getFleetOutput(args: GetFleetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFleet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:robomaker:getFleet", { + "arn": args.arn, + }, opts); } export interface GetFleetOutputArgs { diff --git a/sdk/nodejs/robomaker/getRobot.ts b/sdk/nodejs/robomaker/getRobot.ts index 429b0d45d4..f195603a0e 100644 --- a/sdk/nodejs/robomaker/getRobot.ts +++ b/sdk/nodejs/robomaker/getRobot.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * AWS::RoboMaker::Robot resource creates an AWS RoboMaker Robot. */ export function getRobot(args: GetRobotArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:robomaker:getRobot", { "arn": args.arn, @@ -36,7 +35,10 @@ export interface GetRobotResult { * AWS::RoboMaker::Robot resource creates an AWS RoboMaker Robot. */ export function getRobotOutput(args: GetRobotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRobot(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:robomaker:getRobot", { + "arn": args.arn, + }, opts); } export interface GetRobotOutputArgs { diff --git a/sdk/nodejs/robomaker/getRobotApplication.ts b/sdk/nodejs/robomaker/getRobotApplication.ts index b3388b2fc0..41eb60952e 100644 --- a/sdk/nodejs/robomaker/getRobotApplication.ts +++ b/sdk/nodejs/robomaker/getRobotApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * This schema is for testing purpose only. */ export function getRobotApplication(args: GetRobotApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:robomaker:getRobotApplication", { "arn": args.arn, @@ -51,7 +50,10 @@ export interface GetRobotApplicationResult { * This schema is for testing purpose only. */ export function getRobotApplicationOutput(args: GetRobotApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRobotApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:robomaker:getRobotApplication", { + "arn": args.arn, + }, opts); } export interface GetRobotApplicationOutputArgs { diff --git a/sdk/nodejs/robomaker/getRobotApplicationVersion.ts b/sdk/nodejs/robomaker/getRobotApplicationVersion.ts index b2f190e52e..04f5311e28 100644 --- a/sdk/nodejs/robomaker/getRobotApplicationVersion.ts +++ b/sdk/nodejs/robomaker/getRobotApplicationVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * AWS::RoboMaker::RobotApplicationVersion resource creates an AWS RoboMaker RobotApplicationVersion. This helps you control which code your robot uses. */ export function getRobotApplicationVersion(args: GetRobotApplicationVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:robomaker:getRobotApplicationVersion", { "arn": args.arn, @@ -36,7 +35,10 @@ export interface GetRobotApplicationVersionResult { * AWS::RoboMaker::RobotApplicationVersion resource creates an AWS RoboMaker RobotApplicationVersion. This helps you control which code your robot uses. */ export function getRobotApplicationVersionOutput(args: GetRobotApplicationVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRobotApplicationVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:robomaker:getRobotApplicationVersion", { + "arn": args.arn, + }, opts); } export interface GetRobotApplicationVersionOutputArgs { diff --git a/sdk/nodejs/robomaker/getSimulationApplication.ts b/sdk/nodejs/robomaker/getSimulationApplication.ts index f12843782b..d6eb18758c 100644 --- a/sdk/nodejs/robomaker/getSimulationApplication.ts +++ b/sdk/nodejs/robomaker/getSimulationApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * This schema is for testing purpose only. */ export function getSimulationApplication(args: GetSimulationApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:robomaker:getSimulationApplication", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetSimulationApplicationResult { * This schema is for testing purpose only. */ export function getSimulationApplicationOutput(args: GetSimulationApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSimulationApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:robomaker:getSimulationApplication", { + "arn": args.arn, + }, opts); } export interface GetSimulationApplicationOutputArgs { diff --git a/sdk/nodejs/robomaker/getSimulationApplicationVersion.ts b/sdk/nodejs/robomaker/getSimulationApplicationVersion.ts index 527e7b7378..dbf52959ee 100644 --- a/sdk/nodejs/robomaker/getSimulationApplicationVersion.ts +++ b/sdk/nodejs/robomaker/getSimulationApplicationVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * AWS::RoboMaker::SimulationApplicationVersion resource creates an AWS RoboMaker SimulationApplicationVersion. This helps you control which code your simulation uses. */ export function getSimulationApplicationVersion(args: GetSimulationApplicationVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:robomaker:getSimulationApplicationVersion", { "arn": args.arn, @@ -36,7 +35,10 @@ export interface GetSimulationApplicationVersionResult { * AWS::RoboMaker::SimulationApplicationVersion resource creates an AWS RoboMaker SimulationApplicationVersion. This helps you control which code your simulation uses. */ export function getSimulationApplicationVersionOutput(args: GetSimulationApplicationVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSimulationApplicationVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:robomaker:getSimulationApplicationVersion", { + "arn": args.arn, + }, opts); } export interface GetSimulationApplicationVersionOutputArgs { diff --git a/sdk/nodejs/rolesanywhere/getCrl.ts b/sdk/nodejs/rolesanywhere/getCrl.ts index d0b7ac484b..b76fcd2588 100644 --- a/sdk/nodejs/rolesanywhere/getCrl.ts +++ b/sdk/nodejs/rolesanywhere/getCrl.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::RolesAnywhere::CRL Resource Type */ export function getCrl(args: GetCrlArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rolesanywhere:getCrl", { "crlId": args.crlId, @@ -55,7 +54,10 @@ export interface GetCrlResult { * Definition of AWS::RolesAnywhere::CRL Resource Type */ export function getCrlOutput(args: GetCrlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCrl(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rolesanywhere:getCrl", { + "crlId": args.crlId, + }, opts); } export interface GetCrlOutputArgs { diff --git a/sdk/nodejs/rolesanywhere/getProfile.ts b/sdk/nodejs/rolesanywhere/getProfile.ts index 425454e222..1e1fafb726 100644 --- a/sdk/nodejs/rolesanywhere/getProfile.ts +++ b/sdk/nodejs/rolesanywhere/getProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::RolesAnywhere::Profile Resource Type */ export function getProfile(args: GetProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rolesanywhere:getProfile", { "profileId": args.profileId, @@ -79,7 +78,10 @@ export interface GetProfileResult { * Definition of AWS::RolesAnywhere::Profile Resource Type */ export function getProfileOutput(args: GetProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rolesanywhere:getProfile", { + "profileId": args.profileId, + }, opts); } export interface GetProfileOutputArgs { diff --git a/sdk/nodejs/rolesanywhere/getTrustAnchor.ts b/sdk/nodejs/rolesanywhere/getTrustAnchor.ts index 4cd37b4b36..25d2c1210f 100644 --- a/sdk/nodejs/rolesanywhere/getTrustAnchor.ts +++ b/sdk/nodejs/rolesanywhere/getTrustAnchor.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::RolesAnywhere::TrustAnchor Resource Type. */ export function getTrustAnchor(args: GetTrustAnchorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rolesanywhere:getTrustAnchor", { "trustAnchorId": args.trustAnchorId, @@ -59,7 +58,10 @@ export interface GetTrustAnchorResult { * Definition of AWS::RolesAnywhere::TrustAnchor Resource Type. */ export function getTrustAnchorOutput(args: GetTrustAnchorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTrustAnchor(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rolesanywhere:getTrustAnchor", { + "trustAnchorId": args.trustAnchorId, + }, opts); } export interface GetTrustAnchorOutputArgs { diff --git a/sdk/nodejs/route53/getCidrCollection.ts b/sdk/nodejs/route53/getCidrCollection.ts index a353a3c4b8..0252c880e0 100644 --- a/sdk/nodejs/route53/getCidrCollection.ts +++ b/sdk/nodejs/route53/getCidrCollection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Route53::CidrCollection. */ export function getCidrCollection(args: GetCidrCollectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53:getCidrCollection", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetCidrCollectionResult { * Resource schema for AWS::Route53::CidrCollection. */ export function getCidrCollectionOutput(args: GetCidrCollectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCidrCollection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53:getCidrCollection", { + "id": args.id, + }, opts); } export interface GetCidrCollectionOutputArgs { diff --git a/sdk/nodejs/route53/getHealthCheck.ts b/sdk/nodejs/route53/getHealthCheck.ts index a43469d47a..8564691fff 100644 --- a/sdk/nodejs/route53/getHealthCheck.ts +++ b/sdk/nodejs/route53/getHealthCheck.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Route53::HealthCheck. */ export function getHealthCheck(args: GetHealthCheckArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53:getHealthCheck", { "healthCheckId": args.healthCheckId, @@ -43,7 +42,10 @@ export interface GetHealthCheckResult { * Resource schema for AWS::Route53::HealthCheck. */ export function getHealthCheckOutput(args: GetHealthCheckOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getHealthCheck(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53:getHealthCheck", { + "healthCheckId": args.healthCheckId, + }, opts); } export interface GetHealthCheckOutputArgs { diff --git a/sdk/nodejs/route53/getHostedZone.ts b/sdk/nodejs/route53/getHostedZone.ts index 379e922c1d..6ac6faaf8c 100644 --- a/sdk/nodejs/route53/getHostedZone.ts +++ b/sdk/nodejs/route53/getHostedZone.ts @@ -26,7 +26,6 @@ import * as utilities from "../utilities"; * For more information, see [Access Management](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference*. */ export function getHostedZone(args: GetHostedZoneArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53:getHostedZone", { "id": args.id, @@ -97,7 +96,10 @@ export interface GetHostedZoneResult { * For more information, see [Access Management](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference*. */ export function getHostedZoneOutput(args: GetHostedZoneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getHostedZone(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53:getHostedZone", { + "id": args.id, + }, opts); } export interface GetHostedZoneOutputArgs { diff --git a/sdk/nodejs/route53/getKeySigningKey.ts b/sdk/nodejs/route53/getKeySigningKey.ts index a32a760c6e..42cac17981 100644 --- a/sdk/nodejs/route53/getKeySigningKey.ts +++ b/sdk/nodejs/route53/getKeySigningKey.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a key signing key (KSK) associated with a hosted zone. You can only have two KSKs per hosted zone. */ export function getKeySigningKey(args: GetKeySigningKeyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53:getKeySigningKey", { "hostedZoneId": args.hostedZoneId, @@ -40,7 +39,11 @@ export interface GetKeySigningKeyResult { * Represents a key signing key (KSK) associated with a hosted zone. You can only have two KSKs per hosted zone. */ export function getKeySigningKeyOutput(args: GetKeySigningKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getKeySigningKey(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53:getKeySigningKey", { + "hostedZoneId": args.hostedZoneId, + "name": args.name, + }, opts); } export interface GetKeySigningKeyOutputArgs { diff --git a/sdk/nodejs/route53profiles/getProfile.ts b/sdk/nodejs/route53profiles/getProfile.ts index f4318ae908..795082cb23 100644 --- a/sdk/nodejs/route53profiles/getProfile.ts +++ b/sdk/nodejs/route53profiles/getProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Route53Profiles::Profile */ export function getProfile(args: GetProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53profiles:getProfile", { "id": args.id, @@ -47,7 +46,10 @@ export interface GetProfileResult { * Resource Type definition for AWS::Route53Profiles::Profile */ export function getProfileOutput(args: GetProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53profiles:getProfile", { + "id": args.id, + }, opts); } export interface GetProfileOutputArgs { diff --git a/sdk/nodejs/route53profiles/getProfileAssociation.ts b/sdk/nodejs/route53profiles/getProfileAssociation.ts index 06eb9b10ee..b975c768c6 100644 --- a/sdk/nodejs/route53profiles/getProfileAssociation.ts +++ b/sdk/nodejs/route53profiles/getProfileAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Route53Profiles::ProfileAssociation */ export function getProfileAssociation(args: GetProfileAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53profiles:getProfileAssociation", { "id": args.id, @@ -39,7 +38,10 @@ export interface GetProfileAssociationResult { * Resource Type definition for AWS::Route53Profiles::ProfileAssociation */ export function getProfileAssociationOutput(args: GetProfileAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProfileAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53profiles:getProfileAssociation", { + "id": args.id, + }, opts); } export interface GetProfileAssociationOutputArgs { diff --git a/sdk/nodejs/route53profiles/getProfileResourceAssociation.ts b/sdk/nodejs/route53profiles/getProfileResourceAssociation.ts index 2c0f86e080..0f5e35c7aa 100644 --- a/sdk/nodejs/route53profiles/getProfileResourceAssociation.ts +++ b/sdk/nodejs/route53profiles/getProfileResourceAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Route53Profiles::ProfileResourceAssociation */ export function getProfileResourceAssociation(args: GetProfileResourceAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53profiles:getProfileResourceAssociation", { "id": args.id, @@ -40,7 +39,10 @@ export interface GetProfileResourceAssociationResult { * Resource Type definition for AWS::Route53Profiles::ProfileResourceAssociation */ export function getProfileResourceAssociationOutput(args: GetProfileResourceAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProfileResourceAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53profiles:getProfileResourceAssociation", { + "id": args.id, + }, opts); } export interface GetProfileResourceAssociationOutputArgs { diff --git a/sdk/nodejs/route53recoverycontrol/getCluster.ts b/sdk/nodejs/route53recoverycontrol/getCluster.ts index b31063c1c9..b3b9e5addc 100644 --- a/sdk/nodejs/route53recoverycontrol/getCluster.ts +++ b/sdk/nodejs/route53recoverycontrol/getCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS Route53 Recovery Control Cluster resource schema */ export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53recoverycontrol:getCluster", { "clusterArn": args.clusterArn, @@ -43,7 +42,10 @@ export interface GetClusterResult { * AWS Route53 Recovery Control Cluster resource schema */ export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53recoverycontrol:getCluster", { + "clusterArn": args.clusterArn, + }, opts); } export interface GetClusterOutputArgs { diff --git a/sdk/nodejs/route53recoverycontrol/getControlPanel.ts b/sdk/nodejs/route53recoverycontrol/getControlPanel.ts index 31858f1b5a..6e464cd728 100644 --- a/sdk/nodejs/route53recoverycontrol/getControlPanel.ts +++ b/sdk/nodejs/route53recoverycontrol/getControlPanel.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS Route53 Recovery Control Control Panel resource schema . */ export function getControlPanel(args: GetControlPanelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53recoverycontrol:getControlPanel", { "controlPanelArn": args.controlPanelArn, @@ -51,7 +50,10 @@ export interface GetControlPanelResult { * AWS Route53 Recovery Control Control Panel resource schema . */ export function getControlPanelOutput(args: GetControlPanelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getControlPanel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53recoverycontrol:getControlPanel", { + "controlPanelArn": args.controlPanelArn, + }, opts); } export interface GetControlPanelOutputArgs { diff --git a/sdk/nodejs/route53recoverycontrol/getRoutingControl.ts b/sdk/nodejs/route53recoverycontrol/getRoutingControl.ts index 3041209b98..f99a46ad76 100644 --- a/sdk/nodejs/route53recoverycontrol/getRoutingControl.ts +++ b/sdk/nodejs/route53recoverycontrol/getRoutingControl.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS Route53 Recovery Control Routing Control resource schema . */ export function getRoutingControl(args: GetRoutingControlArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53recoverycontrol:getRoutingControl", { "routingControlArn": args.routingControlArn, @@ -43,7 +42,10 @@ export interface GetRoutingControlResult { * AWS Route53 Recovery Control Routing Control resource schema . */ export function getRoutingControlOutput(args: GetRoutingControlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRoutingControl(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53recoverycontrol:getRoutingControl", { + "routingControlArn": args.routingControlArn, + }, opts); } export interface GetRoutingControlOutputArgs { diff --git a/sdk/nodejs/route53recoverycontrol/getSafetyRule.ts b/sdk/nodejs/route53recoverycontrol/getSafetyRule.ts index eaba9ca7b8..f0e8603256 100644 --- a/sdk/nodejs/route53recoverycontrol/getSafetyRule.ts +++ b/sdk/nodejs/route53recoverycontrol/getSafetyRule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS Route53 Recovery Control basic constructs and validation rules. */ export function getSafetyRule(args: GetSafetyRuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53recoverycontrol:getSafetyRule", { "safetyRuleArn": args.safetyRuleArn, @@ -61,7 +60,10 @@ export interface GetSafetyRuleResult { * Resource schema for AWS Route53 Recovery Control basic constructs and validation rules. */ export function getSafetyRuleOutput(args: GetSafetyRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSafetyRule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53recoverycontrol:getSafetyRule", { + "safetyRuleArn": args.safetyRuleArn, + }, opts); } export interface GetSafetyRuleOutputArgs { diff --git a/sdk/nodejs/route53recoveryreadiness/getCell.ts b/sdk/nodejs/route53recoveryreadiness/getCell.ts index b0eb44b6b1..b0ba18ffb7 100644 --- a/sdk/nodejs/route53recoveryreadiness/getCell.ts +++ b/sdk/nodejs/route53recoveryreadiness/getCell.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The API Schema for AWS Route53 Recovery Readiness Cells. */ export function getCell(args: GetCellArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53recoveryreadiness:getCell", { "cellName": args.cellName, @@ -47,7 +46,10 @@ export interface GetCellResult { * The API Schema for AWS Route53 Recovery Readiness Cells. */ export function getCellOutput(args: GetCellOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCell(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53recoveryreadiness:getCell", { + "cellName": args.cellName, + }, opts); } export interface GetCellOutputArgs { diff --git a/sdk/nodejs/route53recoveryreadiness/getReadinessCheck.ts b/sdk/nodejs/route53recoveryreadiness/getReadinessCheck.ts index e452ff6580..21f6daf47e 100644 --- a/sdk/nodejs/route53recoveryreadiness/getReadinessCheck.ts +++ b/sdk/nodejs/route53recoveryreadiness/getReadinessCheck.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Aws Route53 Recovery Readiness Check Schema and API specification. */ export function getReadinessCheck(args: GetReadinessCheckArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53recoveryreadiness:getReadinessCheck", { "readinessCheckName": args.readinessCheckName, @@ -43,7 +42,10 @@ export interface GetReadinessCheckResult { * Aws Route53 Recovery Readiness Check Schema and API specification. */ export function getReadinessCheckOutput(args: GetReadinessCheckOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getReadinessCheck(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53recoveryreadiness:getReadinessCheck", { + "readinessCheckName": args.readinessCheckName, + }, opts); } export interface GetReadinessCheckOutputArgs { diff --git a/sdk/nodejs/route53recoveryreadiness/getRecoveryGroup.ts b/sdk/nodejs/route53recoveryreadiness/getRecoveryGroup.ts index 0e49766f29..2459b76f20 100644 --- a/sdk/nodejs/route53recoveryreadiness/getRecoveryGroup.ts +++ b/sdk/nodejs/route53recoveryreadiness/getRecoveryGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * AWS Route53 Recovery Readiness Recovery Group Schema and API specifications. */ export function getRecoveryGroup(args: GetRecoveryGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53recoveryreadiness:getRecoveryGroup", { "recoveryGroupName": args.recoveryGroupName, @@ -43,7 +42,10 @@ export interface GetRecoveryGroupResult { * AWS Route53 Recovery Readiness Recovery Group Schema and API specifications. */ export function getRecoveryGroupOutput(args: GetRecoveryGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRecoveryGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53recoveryreadiness:getRecoveryGroup", { + "recoveryGroupName": args.recoveryGroupName, + }, opts); } export interface GetRecoveryGroupOutputArgs { diff --git a/sdk/nodejs/route53recoveryreadiness/getResourceSet.ts b/sdk/nodejs/route53recoveryreadiness/getResourceSet.ts index 65c8015df2..b832e49237 100644 --- a/sdk/nodejs/route53recoveryreadiness/getResourceSet.ts +++ b/sdk/nodejs/route53recoveryreadiness/getResourceSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Schema for the AWS Route53 Recovery Readiness ResourceSet Resource and API. */ export function getResourceSet(args: GetResourceSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53recoveryreadiness:getResourceSet", { "resourceSetName": args.resourceSetName, @@ -43,7 +42,10 @@ export interface GetResourceSetResult { * Schema for the AWS Route53 Recovery Readiness ResourceSet Resource and API. */ export function getResourceSetOutput(args: GetResourceSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourceSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53recoveryreadiness:getResourceSet", { + "resourceSetName": args.resourceSetName, + }, opts); } export interface GetResourceSetOutputArgs { diff --git a/sdk/nodejs/route53resolver/getFirewallDomainList.ts b/sdk/nodejs/route53resolver/getFirewallDomainList.ts index de28c07271..fdca365ea3 100644 --- a/sdk/nodejs/route53resolver/getFirewallDomainList.ts +++ b/sdk/nodejs/route53resolver/getFirewallDomainList.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Route53Resolver::FirewallDomainList. */ export function getFirewallDomainList(args: GetFirewallDomainListArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53resolver:getFirewallDomainList", { "id": args.id, @@ -71,7 +70,10 @@ export interface GetFirewallDomainListResult { * Resource schema for AWS::Route53Resolver::FirewallDomainList. */ export function getFirewallDomainListOutput(args: GetFirewallDomainListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFirewallDomainList(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53resolver:getFirewallDomainList", { + "id": args.id, + }, opts); } export interface GetFirewallDomainListOutputArgs { diff --git a/sdk/nodejs/route53resolver/getFirewallRuleGroup.ts b/sdk/nodejs/route53resolver/getFirewallRuleGroup.ts index e37fc1b360..359ecb7dae 100644 --- a/sdk/nodejs/route53resolver/getFirewallRuleGroup.ts +++ b/sdk/nodejs/route53resolver/getFirewallRuleGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Route53Resolver::FirewallRuleGroup. */ export function getFirewallRuleGroup(args: GetFirewallRuleGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53resolver:getFirewallRuleGroup", { "id": args.id, @@ -79,7 +78,10 @@ export interface GetFirewallRuleGroupResult { * Resource schema for AWS::Route53Resolver::FirewallRuleGroup. */ export function getFirewallRuleGroupOutput(args: GetFirewallRuleGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFirewallRuleGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53resolver:getFirewallRuleGroup", { + "id": args.id, + }, opts); } export interface GetFirewallRuleGroupOutputArgs { diff --git a/sdk/nodejs/route53resolver/getFirewallRuleGroupAssociation.ts b/sdk/nodejs/route53resolver/getFirewallRuleGroupAssociation.ts index c607e2280c..8d0d6da29b 100644 --- a/sdk/nodejs/route53resolver/getFirewallRuleGroupAssociation.ts +++ b/sdk/nodejs/route53resolver/getFirewallRuleGroupAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Route53Resolver::FirewallRuleGroupAssociation. */ export function getFirewallRuleGroupAssociation(args: GetFirewallRuleGroupAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53resolver:getFirewallRuleGroupAssociation", { "id": args.id, @@ -79,7 +78,10 @@ export interface GetFirewallRuleGroupAssociationResult { * Resource schema for AWS::Route53Resolver::FirewallRuleGroupAssociation. */ export function getFirewallRuleGroupAssociationOutput(args: GetFirewallRuleGroupAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFirewallRuleGroupAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53resolver:getFirewallRuleGroupAssociation", { + "id": args.id, + }, opts); } export interface GetFirewallRuleGroupAssociationOutputArgs { diff --git a/sdk/nodejs/route53resolver/getOutpostResolver.ts b/sdk/nodejs/route53resolver/getOutpostResolver.ts index 9d86b9d572..041e515209 100644 --- a/sdk/nodejs/route53resolver/getOutpostResolver.ts +++ b/sdk/nodejs/route53resolver/getOutpostResolver.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Route53Resolver::OutpostResolver. */ export function getOutpostResolver(args: GetOutpostResolverArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53resolver:getOutpostResolver", { "id": args.id, @@ -75,7 +74,10 @@ export interface GetOutpostResolverResult { * Resource schema for AWS::Route53Resolver::OutpostResolver. */ export function getOutpostResolverOutput(args: GetOutpostResolverOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOutpostResolver(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53resolver:getOutpostResolver", { + "id": args.id, + }, opts); } export interface GetOutpostResolverOutputArgs { diff --git a/sdk/nodejs/route53resolver/getResolverConfig.ts b/sdk/nodejs/route53resolver/getResolverConfig.ts index 5b2cd50921..614c612934 100644 --- a/sdk/nodejs/route53resolver/getResolverConfig.ts +++ b/sdk/nodejs/route53resolver/getResolverConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Route53Resolver::ResolverConfig. */ export function getResolverConfig(args: GetResolverConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53resolver:getResolverConfig", { "resourceId": args.resourceId, @@ -43,7 +42,10 @@ export interface GetResolverConfigResult { * Resource schema for AWS::Route53Resolver::ResolverConfig. */ export function getResolverConfigOutput(args: GetResolverConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResolverConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53resolver:getResolverConfig", { + "resourceId": args.resourceId, + }, opts); } export interface GetResolverConfigOutputArgs { diff --git a/sdk/nodejs/route53resolver/getResolverDnssecConfig.ts b/sdk/nodejs/route53resolver/getResolverDnssecConfig.ts index 9de3536886..a696e23cd8 100644 --- a/sdk/nodejs/route53resolver/getResolverDnssecConfig.ts +++ b/sdk/nodejs/route53resolver/getResolverDnssecConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Route53Resolver::ResolverDNSSECConfig. */ export function getResolverDnssecConfig(args: GetResolverDnssecConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53resolver:getResolverDnssecConfig", { "id": args.id, @@ -43,7 +42,10 @@ export interface GetResolverDnssecConfigResult { * Resource schema for AWS::Route53Resolver::ResolverDNSSECConfig. */ export function getResolverDnssecConfigOutput(args: GetResolverDnssecConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResolverDnssecConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53resolver:getResolverDnssecConfig", { + "id": args.id, + }, opts); } export interface GetResolverDnssecConfigOutputArgs { diff --git a/sdk/nodejs/route53resolver/getResolverQueryLoggingConfig.ts b/sdk/nodejs/route53resolver/getResolverQueryLoggingConfig.ts index ae9c2241b1..092d8e108b 100644 --- a/sdk/nodejs/route53resolver/getResolverQueryLoggingConfig.ts +++ b/sdk/nodejs/route53resolver/getResolverQueryLoggingConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Route53Resolver::ResolverQueryLoggingConfig. */ export function getResolverQueryLoggingConfig(args: GetResolverQueryLoggingConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53resolver:getResolverQueryLoggingConfig", { "id": args.id, @@ -63,7 +62,10 @@ export interface GetResolverQueryLoggingConfigResult { * Resource schema for AWS::Route53Resolver::ResolverQueryLoggingConfig. */ export function getResolverQueryLoggingConfigOutput(args: GetResolverQueryLoggingConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResolverQueryLoggingConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53resolver:getResolverQueryLoggingConfig", { + "id": args.id, + }, opts); } export interface GetResolverQueryLoggingConfigOutputArgs { diff --git a/sdk/nodejs/route53resolver/getResolverQueryLoggingConfigAssociation.ts b/sdk/nodejs/route53resolver/getResolverQueryLoggingConfigAssociation.ts index 2e8303cb1d..4ef79a7946 100644 --- a/sdk/nodejs/route53resolver/getResolverQueryLoggingConfigAssociation.ts +++ b/sdk/nodejs/route53resolver/getResolverQueryLoggingConfigAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation. */ export function getResolverQueryLoggingConfigAssociation(args: GetResolverQueryLoggingConfigAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53resolver:getResolverQueryLoggingConfigAssociation", { "id": args.id, @@ -51,7 +50,10 @@ export interface GetResolverQueryLoggingConfigAssociationResult { * Resource schema for AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation. */ export function getResolverQueryLoggingConfigAssociationOutput(args: GetResolverQueryLoggingConfigAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResolverQueryLoggingConfigAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53resolver:getResolverQueryLoggingConfigAssociation", { + "id": args.id, + }, opts); } export interface GetResolverQueryLoggingConfigAssociationOutputArgs { diff --git a/sdk/nodejs/route53resolver/getResolverRule.ts b/sdk/nodejs/route53resolver/getResolverRule.ts index ce09ae32d3..28afac9849 100644 --- a/sdk/nodejs/route53resolver/getResolverRule.ts +++ b/sdk/nodejs/route53resolver/getResolverRule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Route53Resolver::ResolverRule */ export function getResolverRule(args: GetResolverRuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53resolver:getResolverRule", { "resolverRuleId": args.resolverRuleId, @@ -59,7 +58,10 @@ export interface GetResolverRuleResult { * Resource Type definition for AWS::Route53Resolver::ResolverRule */ export function getResolverRuleOutput(args: GetResolverRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResolverRule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53resolver:getResolverRule", { + "resolverRuleId": args.resolverRuleId, + }, opts); } export interface GetResolverRuleOutputArgs { diff --git a/sdk/nodejs/route53resolver/getResolverRuleAssociation.ts b/sdk/nodejs/route53resolver/getResolverRuleAssociation.ts index 8e7625162e..f296623b79 100644 --- a/sdk/nodejs/route53resolver/getResolverRuleAssociation.ts +++ b/sdk/nodejs/route53resolver/getResolverRuleAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * In the response to an [AssociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html), [DisassociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html), or [ListResolverRuleAssociations](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html) request, provides information about an association between a resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network. */ export function getResolverRuleAssociation(args: GetResolverRuleAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:route53resolver:getResolverRuleAssociation", { "resolverRuleAssociationId": args.resolverRuleAssociationId, @@ -32,7 +31,10 @@ export interface GetResolverRuleAssociationResult { * In the response to an [AssociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html), [DisassociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html), or [ListResolverRuleAssociations](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html) request, provides information about an association between a resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network. */ export function getResolverRuleAssociationOutput(args: GetResolverRuleAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResolverRuleAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:route53resolver:getResolverRuleAssociation", { + "resolverRuleAssociationId": args.resolverRuleAssociationId, + }, opts); } export interface GetResolverRuleAssociationOutputArgs { diff --git a/sdk/nodejs/rum/getAppMonitor.ts b/sdk/nodejs/rum/getAppMonitor.ts index 46c64485c4..12af31cf7a 100644 --- a/sdk/nodejs/rum/getAppMonitor.ts +++ b/sdk/nodejs/rum/getAppMonitor.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::RUM::AppMonitor */ export function getAppMonitor(args: GetAppMonitorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:rum:getAppMonitor", { "name": args.name, @@ -65,7 +64,10 @@ export interface GetAppMonitorResult { * Resource Type definition for AWS::RUM::AppMonitor */ export function getAppMonitorOutput(args: GetAppMonitorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppMonitor(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:rum:getAppMonitor", { + "name": args.name, + }, opts); } export interface GetAppMonitorOutputArgs { diff --git a/sdk/nodejs/s3/getAccessGrant.ts b/sdk/nodejs/s3/getAccessGrant.ts index 1a9c0cae1e..e04b790fd1 100644 --- a/sdk/nodejs/s3/getAccessGrant.ts +++ b/sdk/nodejs/s3/getAccessGrant.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::S3::AccessGrant resource is an Amazon S3 resource type representing permissions to a specific S3 bucket or prefix hosted in an S3 Access Grants instance. */ export function getAccessGrant(args: GetAccessGrantArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3:getAccessGrant", { "accessGrantId": args.accessGrantId, @@ -63,7 +62,10 @@ export interface GetAccessGrantResult { * The AWS::S3::AccessGrant resource is an Amazon S3 resource type representing permissions to a specific S3 bucket or prefix hosted in an S3 Access Grants instance. */ export function getAccessGrantOutput(args: GetAccessGrantOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessGrant(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3:getAccessGrant", { + "accessGrantId": args.accessGrantId, + }, opts); } export interface GetAccessGrantOutputArgs { diff --git a/sdk/nodejs/s3/getAccessGrantsInstance.ts b/sdk/nodejs/s3/getAccessGrantsInstance.ts index 8ce6a459cd..7f7251decc 100644 --- a/sdk/nodejs/s3/getAccessGrantsInstance.ts +++ b/sdk/nodejs/s3/getAccessGrantsInstance.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::S3::AccessGrantsInstance resource is an Amazon S3 resource type that hosts Access Grants and their associated locations */ export function getAccessGrantsInstance(args: GetAccessGrantsInstanceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3:getAccessGrantsInstance", { "accessGrantsInstanceArn": args.accessGrantsInstanceArn, @@ -40,7 +39,10 @@ export interface GetAccessGrantsInstanceResult { * The AWS::S3::AccessGrantsInstance resource is an Amazon S3 resource type that hosts Access Grants and their associated locations */ export function getAccessGrantsInstanceOutput(args: GetAccessGrantsInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessGrantsInstance(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3:getAccessGrantsInstance", { + "accessGrantsInstanceArn": args.accessGrantsInstanceArn, + }, opts); } export interface GetAccessGrantsInstanceOutputArgs { diff --git a/sdk/nodejs/s3/getAccessGrantsLocation.ts b/sdk/nodejs/s3/getAccessGrantsLocation.ts index fa0f939505..9c4c62d7bd 100644 --- a/sdk/nodejs/s3/getAccessGrantsLocation.ts +++ b/sdk/nodejs/s3/getAccessGrantsLocation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::S3::AccessGrantsLocation resource is an Amazon S3 resource type hosted in an access grants instance which can be the target of S3 access grants. */ export function getAccessGrantsLocation(args: GetAccessGrantsLocationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3:getAccessGrantsLocation", { "accessGrantsLocationId": args.accessGrantsLocationId, @@ -44,7 +43,10 @@ export interface GetAccessGrantsLocationResult { * The AWS::S3::AccessGrantsLocation resource is an Amazon S3 resource type hosted in an access grants instance which can be the target of S3 access grants. */ export function getAccessGrantsLocationOutput(args: GetAccessGrantsLocationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessGrantsLocation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3:getAccessGrantsLocation", { + "accessGrantsLocationId": args.accessGrantsLocationId, + }, opts); } export interface GetAccessGrantsLocationOutputArgs { diff --git a/sdk/nodejs/s3/getAccessPoint.ts b/sdk/nodejs/s3/getAccessPoint.ts index a4d3fb964d..187088a2a6 100644 --- a/sdk/nodejs/s3/getAccessPoint.ts +++ b/sdk/nodejs/s3/getAccessPoint.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::S3::AccessPoint resource is an Amazon S3 resource type that you can use to access buckets. */ export function getAccessPoint(args: GetAccessPointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3:getAccessPoint", { "name": args.name, @@ -53,7 +52,10 @@ export interface GetAccessPointResult { * The AWS::S3::AccessPoint resource is an Amazon S3 resource type that you can use to access buckets. */ export function getAccessPointOutput(args: GetAccessPointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessPoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3:getAccessPoint", { + "name": args.name, + }, opts); } export interface GetAccessPointOutputArgs { diff --git a/sdk/nodejs/s3/getBucket.ts b/sdk/nodejs/s3/getBucket.ts index 798744fb5d..66099299ee 100644 --- a/sdk/nodejs/s3/getBucket.ts +++ b/sdk/nodejs/s3/getBucket.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * You can only delete empty buckets. Deletion fails for buckets that have contents. */ export function getBucket(args: GetBucketArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3:getBucket", { "bucketName": args.bucketName, @@ -148,7 +147,10 @@ export interface GetBucketResult { * You can only delete empty buckets. Deletion fails for buckets that have contents. */ export function getBucketOutput(args: GetBucketOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBucket(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3:getBucket", { + "bucketName": args.bucketName, + }, opts); } export interface GetBucketOutputArgs { diff --git a/sdk/nodejs/s3/getBucketPolicy.ts b/sdk/nodejs/s3/getBucketPolicy.ts index 1814ae2d4d..32e23de900 100644 --- a/sdk/nodejs/s3/getBucketPolicy.ts +++ b/sdk/nodejs/s3/getBucketPolicy.ts @@ -14,7 +14,6 @@ import * as utilities from "../utilities"; * + [DeleteBucket](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) */ export function getBucketPolicy(args: GetBucketPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3:getBucketPolicy", { "bucket": args.bucket, @@ -46,7 +45,10 @@ export interface GetBucketPolicyResult { * + [DeleteBucket](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) */ export function getBucketPolicyOutput(args: GetBucketPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBucketPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3:getBucketPolicy", { + "bucket": args.bucket, + }, opts); } export interface GetBucketPolicyOutputArgs { diff --git a/sdk/nodejs/s3/getMultiRegionAccessPoint.ts b/sdk/nodejs/s3/getMultiRegionAccessPoint.ts index ed0ceb4028..b561bb8dd4 100644 --- a/sdk/nodejs/s3/getMultiRegionAccessPoint.ts +++ b/sdk/nodejs/s3/getMultiRegionAccessPoint.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * AWS::S3::MultiRegionAccessPoint is an Amazon S3 resource type that dynamically routes S3 requests to easily satisfy geographic compliance requirements based on customer-defined routing policies. */ export function getMultiRegionAccessPoint(args: GetMultiRegionAccessPointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3:getMultiRegionAccessPoint", { "name": args.name, @@ -36,7 +35,10 @@ export interface GetMultiRegionAccessPointResult { * AWS::S3::MultiRegionAccessPoint is an Amazon S3 resource type that dynamically routes S3 requests to easily satisfy geographic compliance requirements based on customer-defined routing policies. */ export function getMultiRegionAccessPointOutput(args: GetMultiRegionAccessPointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMultiRegionAccessPoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3:getMultiRegionAccessPoint", { + "name": args.name, + }, opts); } export interface GetMultiRegionAccessPointOutputArgs { diff --git a/sdk/nodejs/s3/getMultiRegionAccessPointPolicy.ts b/sdk/nodejs/s3/getMultiRegionAccessPointPolicy.ts index 1a53ad871d..8dcdbcf4b5 100644 --- a/sdk/nodejs/s3/getMultiRegionAccessPointPolicy.ts +++ b/sdk/nodejs/s3/getMultiRegionAccessPointPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The policy to be attached to a Multi Region Access Point */ export function getMultiRegionAccessPointPolicy(args: GetMultiRegionAccessPointPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3:getMultiRegionAccessPointPolicy", { "mrapName": args.mrapName, @@ -41,7 +40,10 @@ export interface GetMultiRegionAccessPointPolicyResult { * The policy to be attached to a Multi Region Access Point */ export function getMultiRegionAccessPointPolicyOutput(args: GetMultiRegionAccessPointPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMultiRegionAccessPointPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3:getMultiRegionAccessPointPolicy", { + "mrapName": args.mrapName, + }, opts); } export interface GetMultiRegionAccessPointPolicyOutputArgs { diff --git a/sdk/nodejs/s3/getStorageLensGroup.ts b/sdk/nodejs/s3/getStorageLensGroup.ts index 08d911ccd3..8f308fd40e 100644 --- a/sdk/nodejs/s3/getStorageLensGroup.ts +++ b/sdk/nodejs/s3/getStorageLensGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::S3::StorageLensGroup resource is an Amazon S3 resource type that you can use to create Storage Lens Group. */ export function getStorageLensGroup(args: GetStorageLensGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3:getStorageLensGroup", { "name": args.name, @@ -43,7 +42,10 @@ export interface GetStorageLensGroupResult { * The AWS::S3::StorageLensGroup resource is an Amazon S3 resource type that you can use to create Storage Lens Group. */ export function getStorageLensGroupOutput(args: GetStorageLensGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStorageLensGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3:getStorageLensGroup", { + "name": args.name, + }, opts); } export interface GetStorageLensGroupOutputArgs { diff --git a/sdk/nodejs/s3express/getBucketPolicy.ts b/sdk/nodejs/s3express/getBucketPolicy.ts index 515462a3c8..891a20ab01 100644 --- a/sdk/nodejs/s3express/getBucketPolicy.ts +++ b/sdk/nodejs/s3express/getBucketPolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::S3Express::BucketPolicy. */ export function getBucketPolicy(args: GetBucketPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3express:getBucketPolicy", { "bucket": args.bucket, @@ -34,7 +33,10 @@ export interface GetBucketPolicyResult { * Resource Type definition for AWS::S3Express::BucketPolicy. */ export function getBucketPolicyOutput(args: GetBucketPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBucketPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3express:getBucketPolicy", { + "bucket": args.bucket, + }, opts); } export interface GetBucketPolicyOutputArgs { diff --git a/sdk/nodejs/s3express/getDirectoryBucket.ts b/sdk/nodejs/s3express/getDirectoryBucket.ts index 1fdee43f30..54336d398f 100644 --- a/sdk/nodejs/s3express/getDirectoryBucket.ts +++ b/sdk/nodejs/s3express/getDirectoryBucket.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::S3Express::DirectoryBucket. */ export function getDirectoryBucket(args: GetDirectoryBucketArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3express:getDirectoryBucket", { "bucketName": args.bucketName, @@ -43,7 +42,10 @@ export interface GetDirectoryBucketResult { * Resource Type definition for AWS::S3Express::DirectoryBucket. */ export function getDirectoryBucketOutput(args: GetDirectoryBucketOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDirectoryBucket(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3express:getDirectoryBucket", { + "bucketName": args.bucketName, + }, opts); } export interface GetDirectoryBucketOutputArgs { diff --git a/sdk/nodejs/s3objectlambda/getAccessPoint.ts b/sdk/nodejs/s3objectlambda/getAccessPoint.ts index bf0e6a963b..c1ce7000e1 100644 --- a/sdk/nodejs/s3objectlambda/getAccessPoint.ts +++ b/sdk/nodejs/s3objectlambda/getAccessPoint.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::S3ObjectLambda::AccessPoint resource is an Amazon S3ObjectLambda resource type that you can use to add computation to S3 actions */ export function getAccessPoint(args: GetAccessPointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3objectlambda:getAccessPoint", { "name": args.name, @@ -49,7 +48,10 @@ export interface GetAccessPointResult { * The AWS::S3ObjectLambda::AccessPoint resource is an Amazon S3ObjectLambda resource type that you can use to add computation to S3 actions */ export function getAccessPointOutput(args: GetAccessPointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessPoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3objectlambda:getAccessPoint", { + "name": args.name, + }, opts); } export interface GetAccessPointOutputArgs { diff --git a/sdk/nodejs/s3objectlambda/getAccessPointPolicy.ts b/sdk/nodejs/s3objectlambda/getAccessPointPolicy.ts index 6af8928613..5ce33e30b4 100644 --- a/sdk/nodejs/s3objectlambda/getAccessPointPolicy.ts +++ b/sdk/nodejs/s3objectlambda/getAccessPointPolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * AWS::S3ObjectLambda::AccessPointPolicy resource is an Amazon S3ObjectLambda policy type that you can use to control permissions for your S3ObjectLambda */ export function getAccessPointPolicy(args: GetAccessPointPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3objectlambda:getAccessPointPolicy", { "objectLambdaAccessPoint": args.objectLambdaAccessPoint, @@ -34,7 +33,10 @@ export interface GetAccessPointPolicyResult { * AWS::S3ObjectLambda::AccessPointPolicy resource is an Amazon S3ObjectLambda policy type that you can use to control permissions for your S3ObjectLambda */ export function getAccessPointPolicyOutput(args: GetAccessPointPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessPointPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3objectlambda:getAccessPointPolicy", { + "objectLambdaAccessPoint": args.objectLambdaAccessPoint, + }, opts); } export interface GetAccessPointPolicyOutputArgs { diff --git a/sdk/nodejs/s3outposts/getAccessPoint.ts b/sdk/nodejs/s3outposts/getAccessPoint.ts index cdf4fbc509..88be6e1bd6 100644 --- a/sdk/nodejs/s3outposts/getAccessPoint.ts +++ b/sdk/nodejs/s3outposts/getAccessPoint.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type Definition for AWS::S3Outposts::AccessPoint */ export function getAccessPoint(args: GetAccessPointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3outposts:getAccessPoint", { "arn": args.arn, @@ -38,7 +37,10 @@ export interface GetAccessPointResult { * Resource Type Definition for AWS::S3Outposts::AccessPoint */ export function getAccessPointOutput(args: GetAccessPointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessPoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3outposts:getAccessPoint", { + "arn": args.arn, + }, opts); } export interface GetAccessPointOutputArgs { diff --git a/sdk/nodejs/s3outposts/getBucket.ts b/sdk/nodejs/s3outposts/getBucket.ts index b83b187132..cc697fd58e 100644 --- a/sdk/nodejs/s3outposts/getBucket.ts +++ b/sdk/nodejs/s3outposts/getBucket.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type Definition for AWS::S3Outposts::Bucket */ export function getBucket(args: GetBucketArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3outposts:getBucket", { "arn": args.arn, @@ -43,7 +42,10 @@ export interface GetBucketResult { * Resource Type Definition for AWS::S3Outposts::Bucket */ export function getBucketOutput(args: GetBucketOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBucket(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3outposts:getBucket", { + "arn": args.arn, + }, opts); } export interface GetBucketOutputArgs { diff --git a/sdk/nodejs/s3outposts/getBucketPolicy.ts b/sdk/nodejs/s3outposts/getBucketPolicy.ts index b469029dbf..c8027aedca 100644 --- a/sdk/nodejs/s3outposts/getBucketPolicy.ts +++ b/sdk/nodejs/s3outposts/getBucketPolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type Definition for AWS::S3Outposts::BucketPolicy */ export function getBucketPolicy(args: GetBucketPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3outposts:getBucketPolicy", { "bucket": args.bucket, @@ -34,7 +33,10 @@ export interface GetBucketPolicyResult { * Resource Type Definition for AWS::S3Outposts::BucketPolicy */ export function getBucketPolicyOutput(args: GetBucketPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBucketPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3outposts:getBucketPolicy", { + "bucket": args.bucket, + }, opts); } export interface GetBucketPolicyOutputArgs { diff --git a/sdk/nodejs/s3outposts/getEndpoint.ts b/sdk/nodejs/s3outposts/getEndpoint.ts index d252578aa8..bef2152251 100644 --- a/sdk/nodejs/s3outposts/getEndpoint.ts +++ b/sdk/nodejs/s3outposts/getEndpoint.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type Definition for AWS::S3Outposts::Endpoint */ export function getEndpoint(args: GetEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:s3outposts:getEndpoint", { "arn": args.arn, @@ -59,7 +58,10 @@ export interface GetEndpointResult { * Resource Type Definition for AWS::S3Outposts::Endpoint */ export function getEndpointOutput(args: GetEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEndpoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:s3outposts:getEndpoint", { + "arn": args.arn, + }, opts); } export interface GetEndpointOutputArgs { diff --git a/sdk/nodejs/sagemaker/getApp.ts b/sdk/nodejs/sagemaker/getApp.ts index 7c10dcc328..8a7d82d8b8 100644 --- a/sdk/nodejs/sagemaker/getApp.ts +++ b/sdk/nodejs/sagemaker/getApp.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::App */ export function getApp(args: GetAppArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getApp", { "appName": args.appName, @@ -50,7 +49,13 @@ export interface GetAppResult { * Resource Type definition for AWS::SageMaker::App */ export function getAppOutput(args: GetAppOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApp(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getApp", { + "appName": args.appName, + "appType": args.appType, + "domainId": args.domainId, + "userProfileName": args.userProfileName, + }, opts); } export interface GetAppOutputArgs { diff --git a/sdk/nodejs/sagemaker/getAppImageConfig.ts b/sdk/nodejs/sagemaker/getAppImageConfig.ts index 7232310f54..d6a84e49f0 100644 --- a/sdk/nodejs/sagemaker/getAppImageConfig.ts +++ b/sdk/nodejs/sagemaker/getAppImageConfig.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::AppImageConfig */ export function getAppImageConfig(args: GetAppImageConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getAppImageConfig", { "appImageConfigName": args.appImageConfigName, @@ -47,7 +46,10 @@ export interface GetAppImageConfigResult { * Resource Type definition for AWS::SageMaker::AppImageConfig */ export function getAppImageConfigOutput(args: GetAppImageConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAppImageConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getAppImageConfig", { + "appImageConfigName": args.appImageConfigName, + }, opts); } export interface GetAppImageConfigOutputArgs { diff --git a/sdk/nodejs/sagemaker/getCluster.ts b/sdk/nodejs/sagemaker/getCluster.ts index 11b450c90c..a462256541 100644 --- a/sdk/nodejs/sagemaker/getCluster.ts +++ b/sdk/nodejs/sagemaker/getCluster.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::Cluster */ export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getCluster", { "clusterArn": args.clusterArn, @@ -59,7 +58,10 @@ export interface GetClusterResult { * Resource Type definition for AWS::SageMaker::Cluster */ export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCluster(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getCluster", { + "clusterArn": args.clusterArn, + }, opts); } export interface GetClusterOutputArgs { diff --git a/sdk/nodejs/sagemaker/getDataQualityJobDefinition.ts b/sdk/nodejs/sagemaker/getDataQualityJobDefinition.ts index cd44ea69d9..4af00eced7 100644 --- a/sdk/nodejs/sagemaker/getDataQualityJobDefinition.ts +++ b/sdk/nodejs/sagemaker/getDataQualityJobDefinition.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::DataQualityJobDefinition */ export function getDataQualityJobDefinition(args: GetDataQualityJobDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getDataQualityJobDefinition", { "jobDefinitionArn": args.jobDefinitionArn, @@ -36,7 +35,10 @@ export interface GetDataQualityJobDefinitionResult { * Resource Type definition for AWS::SageMaker::DataQualityJobDefinition */ export function getDataQualityJobDefinitionOutput(args: GetDataQualityJobDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataQualityJobDefinition(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getDataQualityJobDefinition", { + "jobDefinitionArn": args.jobDefinitionArn, + }, opts); } export interface GetDataQualityJobDefinitionOutputArgs { diff --git a/sdk/nodejs/sagemaker/getDeviceFleet.ts b/sdk/nodejs/sagemaker/getDeviceFleet.ts index a1c477a953..ddc525b93e 100644 --- a/sdk/nodejs/sagemaker/getDeviceFleet.ts +++ b/sdk/nodejs/sagemaker/getDeviceFleet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::SageMaker::DeviceFleet */ export function getDeviceFleet(args: GetDeviceFleetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getDeviceFleet", { "deviceFleetName": args.deviceFleetName, @@ -47,7 +46,10 @@ export interface GetDeviceFleetResult { * Resource schema for AWS::SageMaker::DeviceFleet */ export function getDeviceFleetOutput(args: GetDeviceFleetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDeviceFleet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getDeviceFleet", { + "deviceFleetName": args.deviceFleetName, + }, opts); } export interface GetDeviceFleetOutputArgs { diff --git a/sdk/nodejs/sagemaker/getDomain.ts b/sdk/nodejs/sagemaker/getDomain.ts index f7f075b4b7..76c8a1c83f 100644 --- a/sdk/nodejs/sagemaker/getDomain.ts +++ b/sdk/nodejs/sagemaker/getDomain.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::Domain */ export function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getDomain", { "domainId": args.domainId, @@ -83,7 +82,10 @@ export interface GetDomainResult { * Resource Type definition for AWS::SageMaker::Domain */ export function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomain(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getDomain", { + "domainId": args.domainId, + }, opts); } export interface GetDomainOutputArgs { diff --git a/sdk/nodejs/sagemaker/getFeatureGroup.ts b/sdk/nodejs/sagemaker/getFeatureGroup.ts index cfbfc1e1de..8a3412b44c 100644 --- a/sdk/nodejs/sagemaker/getFeatureGroup.ts +++ b/sdk/nodejs/sagemaker/getFeatureGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::FeatureGroup */ export function getFeatureGroup(args: GetFeatureGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getFeatureGroup", { "featureGroupName": args.featureGroupName, @@ -53,7 +52,10 @@ export interface GetFeatureGroupResult { * Resource Type definition for AWS::SageMaker::FeatureGroup */ export function getFeatureGroupOutput(args: GetFeatureGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFeatureGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getFeatureGroup", { + "featureGroupName": args.featureGroupName, + }, opts); } export interface GetFeatureGroupOutputArgs { diff --git a/sdk/nodejs/sagemaker/getImage.ts b/sdk/nodejs/sagemaker/getImage.ts index 633f99d689..b0d2efd949 100644 --- a/sdk/nodejs/sagemaker/getImage.ts +++ b/sdk/nodejs/sagemaker/getImage.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::Image */ export function getImage(args: GetImageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getImage", { "imageArn": args.imageArn, @@ -71,7 +70,10 @@ export interface GetImageResult { * Resource Type definition for AWS::SageMaker::Image */ export function getImageOutput(args: GetImageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getImage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getImage", { + "imageArn": args.imageArn, + }, opts); } export interface GetImageOutputArgs { diff --git a/sdk/nodejs/sagemaker/getImageVersion.ts b/sdk/nodejs/sagemaker/getImageVersion.ts index c1affaf37c..cd29aa792e 100644 --- a/sdk/nodejs/sagemaker/getImageVersion.ts +++ b/sdk/nodejs/sagemaker/getImageVersion.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::ImageVersion */ export function getImageVersion(args: GetImageVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getImageVersion", { "imageVersionArn": args.imageVersionArn, @@ -66,7 +65,10 @@ export interface GetImageVersionResult { * Resource Type definition for AWS::SageMaker::ImageVersion */ export function getImageVersionOutput(args: GetImageVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getImageVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getImageVersion", { + "imageVersionArn": args.imageVersionArn, + }, opts); } export interface GetImageVersionOutputArgs { diff --git a/sdk/nodejs/sagemaker/getInferenceComponent.ts b/sdk/nodejs/sagemaker/getInferenceComponent.ts index 94f25b23d1..0c9a46e54d 100644 --- a/sdk/nodejs/sagemaker/getInferenceComponent.ts +++ b/sdk/nodejs/sagemaker/getInferenceComponent.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::InferenceComponent */ export function getInferenceComponent(args: GetInferenceComponentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getInferenceComponent", { "inferenceComponentArn": args.inferenceComponentArn, @@ -67,7 +66,10 @@ export interface GetInferenceComponentResult { * Resource Type definition for AWS::SageMaker::InferenceComponent */ export function getInferenceComponentOutput(args: GetInferenceComponentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInferenceComponent(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getInferenceComponent", { + "inferenceComponentArn": args.inferenceComponentArn, + }, opts); } export interface GetInferenceComponentOutputArgs { diff --git a/sdk/nodejs/sagemaker/getInferenceExperiment.ts b/sdk/nodejs/sagemaker/getInferenceExperiment.ts index d320994ca0..9cc309b413 100644 --- a/sdk/nodejs/sagemaker/getInferenceExperiment.ts +++ b/sdk/nodejs/sagemaker/getInferenceExperiment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::InferenceExperiment */ export function getInferenceExperiment(args: GetInferenceExperimentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getInferenceExperiment", { "name": args.name, @@ -82,7 +81,10 @@ export interface GetInferenceExperimentResult { * Resource Type definition for AWS::SageMaker::InferenceExperiment */ export function getInferenceExperimentOutput(args: GetInferenceExperimentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInferenceExperiment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getInferenceExperiment", { + "name": args.name, + }, opts); } export interface GetInferenceExperimentOutputArgs { diff --git a/sdk/nodejs/sagemaker/getMlflowTrackingServer.ts b/sdk/nodejs/sagemaker/getMlflowTrackingServer.ts index 2474ddf3c8..5db458cf06 100644 --- a/sdk/nodejs/sagemaker/getMlflowTrackingServer.ts +++ b/sdk/nodejs/sagemaker/getMlflowTrackingServer.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::MlflowTrackingServer */ export function getMlflowTrackingServer(args: GetMlflowTrackingServerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getMlflowTrackingServer", { "trackingServerName": args.trackingServerName, @@ -63,7 +62,10 @@ export interface GetMlflowTrackingServerResult { * Resource Type definition for AWS::SageMaker::MlflowTrackingServer */ export function getMlflowTrackingServerOutput(args: GetMlflowTrackingServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMlflowTrackingServer(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getMlflowTrackingServer", { + "trackingServerName": args.trackingServerName, + }, opts); } export interface GetMlflowTrackingServerOutputArgs { diff --git a/sdk/nodejs/sagemaker/getModelBiasJobDefinition.ts b/sdk/nodejs/sagemaker/getModelBiasJobDefinition.ts index f17cc15ad3..5fcd56bdaf 100644 --- a/sdk/nodejs/sagemaker/getModelBiasJobDefinition.ts +++ b/sdk/nodejs/sagemaker/getModelBiasJobDefinition.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::ModelBiasJobDefinition */ export function getModelBiasJobDefinition(args: GetModelBiasJobDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getModelBiasJobDefinition", { "jobDefinitionArn": args.jobDefinitionArn, @@ -36,7 +35,10 @@ export interface GetModelBiasJobDefinitionResult { * Resource Type definition for AWS::SageMaker::ModelBiasJobDefinition */ export function getModelBiasJobDefinitionOutput(args: GetModelBiasJobDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getModelBiasJobDefinition(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getModelBiasJobDefinition", { + "jobDefinitionArn": args.jobDefinitionArn, + }, opts); } export interface GetModelBiasJobDefinitionOutputArgs { diff --git a/sdk/nodejs/sagemaker/getModelCard.ts b/sdk/nodejs/sagemaker/getModelCard.ts index fc3f5d5ca7..3d02d8f85b 100644 --- a/sdk/nodejs/sagemaker/getModelCard.ts +++ b/sdk/nodejs/sagemaker/getModelCard.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::ModelCard. */ export function getModelCard(args: GetModelCardArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getModelCard", { "modelCardName": args.modelCardName, @@ -71,7 +70,10 @@ export interface GetModelCardResult { * Resource Type definition for AWS::SageMaker::ModelCard. */ export function getModelCardOutput(args: GetModelCardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getModelCard(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getModelCard", { + "modelCardName": args.modelCardName, + }, opts); } export interface GetModelCardOutputArgs { diff --git a/sdk/nodejs/sagemaker/getModelExplainabilityJobDefinition.ts b/sdk/nodejs/sagemaker/getModelExplainabilityJobDefinition.ts index a355130f56..639a1629c1 100644 --- a/sdk/nodejs/sagemaker/getModelExplainabilityJobDefinition.ts +++ b/sdk/nodejs/sagemaker/getModelExplainabilityJobDefinition.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::ModelExplainabilityJobDefinition */ export function getModelExplainabilityJobDefinition(args: GetModelExplainabilityJobDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getModelExplainabilityJobDefinition", { "jobDefinitionArn": args.jobDefinitionArn, @@ -36,7 +35,10 @@ export interface GetModelExplainabilityJobDefinitionResult { * Resource Type definition for AWS::SageMaker::ModelExplainabilityJobDefinition */ export function getModelExplainabilityJobDefinitionOutput(args: GetModelExplainabilityJobDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getModelExplainabilityJobDefinition(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getModelExplainabilityJobDefinition", { + "jobDefinitionArn": args.jobDefinitionArn, + }, opts); } export interface GetModelExplainabilityJobDefinitionOutputArgs { diff --git a/sdk/nodejs/sagemaker/getModelPackage.ts b/sdk/nodejs/sagemaker/getModelPackage.ts index 108ed2e26e..0aafceee7f 100644 --- a/sdk/nodejs/sagemaker/getModelPackage.ts +++ b/sdk/nodejs/sagemaker/getModelPackage.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::ModelPackage */ export function getModelPackage(args: GetModelPackageArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getModelPackage", { "modelPackageArn": args.modelPackageArn, @@ -105,7 +104,10 @@ export interface GetModelPackageResult { * Resource Type definition for AWS::SageMaker::ModelPackage */ export function getModelPackageOutput(args: GetModelPackageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getModelPackage(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getModelPackage", { + "modelPackageArn": args.modelPackageArn, + }, opts); } export interface GetModelPackageOutputArgs { diff --git a/sdk/nodejs/sagemaker/getModelPackageGroup.ts b/sdk/nodejs/sagemaker/getModelPackageGroup.ts index cdc95cbb9c..fd9f1a892d 100644 --- a/sdk/nodejs/sagemaker/getModelPackageGroup.ts +++ b/sdk/nodejs/sagemaker/getModelPackageGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::ModelPackageGroup */ export function getModelPackageGroup(args: GetModelPackageGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getModelPackageGroup", { "modelPackageGroupArn": args.modelPackageGroupArn, @@ -53,7 +52,10 @@ export interface GetModelPackageGroupResult { * Resource Type definition for AWS::SageMaker::ModelPackageGroup */ export function getModelPackageGroupOutput(args: GetModelPackageGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getModelPackageGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getModelPackageGroup", { + "modelPackageGroupArn": args.modelPackageGroupArn, + }, opts); } export interface GetModelPackageGroupOutputArgs { diff --git a/sdk/nodejs/sagemaker/getModelQualityJobDefinition.ts b/sdk/nodejs/sagemaker/getModelQualityJobDefinition.ts index 84d74a8276..6f69d6fd82 100644 --- a/sdk/nodejs/sagemaker/getModelQualityJobDefinition.ts +++ b/sdk/nodejs/sagemaker/getModelQualityJobDefinition.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::ModelQualityJobDefinition */ export function getModelQualityJobDefinition(args: GetModelQualityJobDefinitionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getModelQualityJobDefinition", { "jobDefinitionArn": args.jobDefinitionArn, @@ -36,7 +35,10 @@ export interface GetModelQualityJobDefinitionResult { * Resource Type definition for AWS::SageMaker::ModelQualityJobDefinition */ export function getModelQualityJobDefinitionOutput(args: GetModelQualityJobDefinitionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getModelQualityJobDefinition(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getModelQualityJobDefinition", { + "jobDefinitionArn": args.jobDefinitionArn, + }, opts); } export interface GetModelQualityJobDefinitionOutputArgs { diff --git a/sdk/nodejs/sagemaker/getMonitoringSchedule.ts b/sdk/nodejs/sagemaker/getMonitoringSchedule.ts index 3f05099821..69f65f06f7 100644 --- a/sdk/nodejs/sagemaker/getMonitoringSchedule.ts +++ b/sdk/nodejs/sagemaker/getMonitoringSchedule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::MonitoringSchedule */ export function getMonitoringSchedule(args: GetMonitoringScheduleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getMonitoringSchedule", { "monitoringScheduleArn": args.monitoringScheduleArn, @@ -67,7 +66,10 @@ export interface GetMonitoringScheduleResult { * Resource Type definition for AWS::SageMaker::MonitoringSchedule */ export function getMonitoringScheduleOutput(args: GetMonitoringScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMonitoringSchedule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getMonitoringSchedule", { + "monitoringScheduleArn": args.monitoringScheduleArn, + }, opts); } export interface GetMonitoringScheduleOutputArgs { diff --git a/sdk/nodejs/sagemaker/getPipeline.ts b/sdk/nodejs/sagemaker/getPipeline.ts index 57ea3ea6b7..9ffdefc3c3 100644 --- a/sdk/nodejs/sagemaker/getPipeline.ts +++ b/sdk/nodejs/sagemaker/getPipeline.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::Pipeline */ export function getPipeline(args: GetPipelineArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getPipeline", { "pipelineName": args.pipelineName, @@ -55,7 +54,10 @@ export interface GetPipelineResult { * Resource Type definition for AWS::SageMaker::Pipeline */ export function getPipelineOutput(args: GetPipelineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPipeline(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getPipeline", { + "pipelineName": args.pipelineName, + }, opts); } export interface GetPipelineOutputArgs { diff --git a/sdk/nodejs/sagemaker/getProject.ts b/sdk/nodejs/sagemaker/getProject.ts index a9668a1aed..560ec87021 100644 --- a/sdk/nodejs/sagemaker/getProject.ts +++ b/sdk/nodejs/sagemaker/getProject.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::Project */ export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getProject", { "projectArn": args.projectArn, @@ -51,7 +50,10 @@ export interface GetProjectResult { * Resource Type definition for AWS::SageMaker::Project */ export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProject(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getProject", { + "projectArn": args.projectArn, + }, opts); } export interface GetProjectOutputArgs { diff --git a/sdk/nodejs/sagemaker/getSpace.ts b/sdk/nodejs/sagemaker/getSpace.ts index bd00ba08ea..1bb1959be7 100644 --- a/sdk/nodejs/sagemaker/getSpace.ts +++ b/sdk/nodejs/sagemaker/getSpace.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::Space */ export function getSpace(args: GetSpaceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getSpace", { "domainId": args.domainId, @@ -51,7 +50,11 @@ export interface GetSpaceResult { * Resource Type definition for AWS::SageMaker::Space */ export function getSpaceOutput(args: GetSpaceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSpace(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getSpace", { + "domainId": args.domainId, + "spaceName": args.spaceName, + }, opts); } export interface GetSpaceOutputArgs { diff --git a/sdk/nodejs/sagemaker/getStudioLifecycleConfig.ts b/sdk/nodejs/sagemaker/getStudioLifecycleConfig.ts index 426197f137..4a2425285b 100644 --- a/sdk/nodejs/sagemaker/getStudioLifecycleConfig.ts +++ b/sdk/nodejs/sagemaker/getStudioLifecycleConfig.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::StudioLifecycleConfig */ export function getStudioLifecycleConfig(args: GetStudioLifecycleConfigArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getStudioLifecycleConfig", { "studioLifecycleConfigName": args.studioLifecycleConfigName, @@ -32,7 +31,10 @@ export interface GetStudioLifecycleConfigResult { * Resource Type definition for AWS::SageMaker::StudioLifecycleConfig */ export function getStudioLifecycleConfigOutput(args: GetStudioLifecycleConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStudioLifecycleConfig(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getStudioLifecycleConfig", { + "studioLifecycleConfigName": args.studioLifecycleConfigName, + }, opts); } export interface GetStudioLifecycleConfigOutputArgs { diff --git a/sdk/nodejs/sagemaker/getUserProfile.ts b/sdk/nodejs/sagemaker/getUserProfile.ts index 641f750088..861860d681 100644 --- a/sdk/nodejs/sagemaker/getUserProfile.ts +++ b/sdk/nodejs/sagemaker/getUserProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SageMaker::UserProfile */ export function getUserProfile(args: GetUserProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sagemaker:getUserProfile", { "domainId": args.domainId, @@ -44,7 +43,11 @@ export interface GetUserProfileResult { * Resource Type definition for AWS::SageMaker::UserProfile */ export function getUserProfileOutput(args: GetUserProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sagemaker:getUserProfile", { + "domainId": args.domainId, + "userProfileName": args.userProfileName, + }, opts); } export interface GetUserProfileOutputArgs { diff --git a/sdk/nodejs/scheduler/getSchedule.ts b/sdk/nodejs/scheduler/getSchedule.ts index 13424ac5bf..b6ebd968b9 100644 --- a/sdk/nodejs/scheduler/getSchedule.ts +++ b/sdk/nodejs/scheduler/getSchedule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Scheduler::Schedule Resource Type */ export function getSchedule(args: GetScheduleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:scheduler:getSchedule", { "name": args.name, @@ -77,7 +76,10 @@ export interface GetScheduleResult { * Definition of AWS::Scheduler::Schedule Resource Type */ export function getScheduleOutput(args: GetScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSchedule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:scheduler:getSchedule", { + "name": args.name, + }, opts); } export interface GetScheduleOutputArgs { diff --git a/sdk/nodejs/scheduler/getScheduleGroup.ts b/sdk/nodejs/scheduler/getScheduleGroup.ts index 3ffbdb5748..377b12037c 100644 --- a/sdk/nodejs/scheduler/getScheduleGroup.ts +++ b/sdk/nodejs/scheduler/getScheduleGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Scheduler::ScheduleGroup Resource Type */ export function getScheduleGroup(args: GetScheduleGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:scheduler:getScheduleGroup", { "name": args.name, @@ -53,7 +52,10 @@ export interface GetScheduleGroupResult { * Definition of AWS::Scheduler::ScheduleGroup Resource Type */ export function getScheduleGroupOutput(args: GetScheduleGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getScheduleGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:scheduler:getScheduleGroup", { + "name": args.name, + }, opts); } export interface GetScheduleGroupOutputArgs { diff --git a/sdk/nodejs/secretsmanager/getResourcePolicy.ts b/sdk/nodejs/secretsmanager/getResourcePolicy.ts index c44c8f85fb..4271ab1682 100644 --- a/sdk/nodejs/secretsmanager/getResourcePolicy.ts +++ b/sdk/nodejs/secretsmanager/getResourcePolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SecretsManager::ResourcePolicy */ export function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:secretsmanager:getResourcePolicy", { "id": args.id, @@ -38,7 +37,10 @@ export interface GetResourcePolicyResult { * Resource Type definition for AWS::SecretsManager::ResourcePolicy */ export function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourcePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:secretsmanager:getResourcePolicy", { + "id": args.id, + }, opts); } export interface GetResourcePolicyOutputArgs { diff --git a/sdk/nodejs/secretsmanager/getSecret.ts b/sdk/nodejs/secretsmanager/getSecret.ts index 0776df03d3..b7c71fb198 100644 --- a/sdk/nodejs/secretsmanager/getSecret.ts +++ b/sdk/nodejs/secretsmanager/getSecret.ts @@ -16,7 +16,6 @@ import * as utilities from "../utilities"; * For information about retrieving a secret in code, see [Retrieve secrets from Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html). */ export function getSecret(args: GetSecretArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:secretsmanager:getSecret", { "id": args.id, @@ -76,7 +75,10 @@ export interface GetSecretResult { * For information about retrieving a secret in code, see [Retrieve secrets from Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html). */ export function getSecretOutput(args: GetSecretOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSecret(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:secretsmanager:getSecret", { + "id": args.id, + }, opts); } export interface GetSecretOutputArgs { diff --git a/sdk/nodejs/secretsmanager/getSecretTargetAttachment.ts b/sdk/nodejs/secretsmanager/getSecretTargetAttachment.ts index 8554902a10..ebeeac5a53 100644 --- a/sdk/nodejs/secretsmanager/getSecretTargetAttachment.ts +++ b/sdk/nodejs/secretsmanager/getSecretTargetAttachment.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SecretsManager::SecretTargetAttachment */ export function getSecretTargetAttachment(args: GetSecretTargetAttachmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:secretsmanager:getSecretTargetAttachment", { "id": args.id, @@ -46,7 +45,10 @@ export interface GetSecretTargetAttachmentResult { * Resource Type definition for AWS::SecretsManager::SecretTargetAttachment */ export function getSecretTargetAttachmentOutput(args: GetSecretTargetAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSecretTargetAttachment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:secretsmanager:getSecretTargetAttachment", { + "id": args.id, + }, opts); } export interface GetSecretTargetAttachmentOutputArgs { diff --git a/sdk/nodejs/securityhub/getAutomationRule.ts b/sdk/nodejs/securityhub/getAutomationRule.ts index a6c2a77234..f0d7a45264 100644 --- a/sdk/nodejs/securityhub/getAutomationRule.ts +++ b/sdk/nodejs/securityhub/getAutomationRule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The ``AWS::SecurityHub::AutomationRule`` resource specifies an automation rule based on input parameters. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the *User Guide*. */ export function getAutomationRule(args: GetAutomationRuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securityhub:getAutomationRule", { "ruleArn": args.ruleArn, @@ -83,7 +82,10 @@ export interface GetAutomationRuleResult { * The ``AWS::SecurityHub::AutomationRule`` resource specifies an automation rule based on input parameters. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the *User Guide*. */ export function getAutomationRuleOutput(args: GetAutomationRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAutomationRule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securityhub:getAutomationRule", { + "ruleArn": args.ruleArn, + }, opts); } export interface GetAutomationRuleOutputArgs { diff --git a/sdk/nodejs/securityhub/getConfigurationPolicy.ts b/sdk/nodejs/securityhub/getConfigurationPolicy.ts index 5f57dae95b..27e854d87f 100644 --- a/sdk/nodejs/securityhub/getConfigurationPolicy.ts +++ b/sdk/nodejs/securityhub/getConfigurationPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::SecurityHub::ConfigurationPolicy resource represents the Central Configuration Policy in your account. */ export function getConfigurationPolicy(args: GetConfigurationPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securityhub:getConfigurationPolicy", { "arn": args.arn, @@ -67,7 +66,10 @@ export interface GetConfigurationPolicyResult { * The AWS::SecurityHub::ConfigurationPolicy resource represents the Central Configuration Policy in your account. */ export function getConfigurationPolicyOutput(args: GetConfigurationPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfigurationPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securityhub:getConfigurationPolicy", { + "arn": args.arn, + }, opts); } export interface GetConfigurationPolicyOutputArgs { diff --git a/sdk/nodejs/securityhub/getDelegatedAdmin.ts b/sdk/nodejs/securityhub/getDelegatedAdmin.ts index dd13aeb0e2..9b3fff60c0 100644 --- a/sdk/nodejs/securityhub/getDelegatedAdmin.ts +++ b/sdk/nodejs/securityhub/getDelegatedAdmin.ts @@ -14,7 +14,6 @@ import * as utilities from "../utilities"; * Tags aren't supported for this resource. */ export function getDelegatedAdmin(args: GetDelegatedAdminArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securityhub:getDelegatedAdmin", { "delegatedAdminIdentifier": args.delegatedAdminIdentifier, @@ -45,7 +44,10 @@ export interface GetDelegatedAdminResult { * Tags aren't supported for this resource. */ export function getDelegatedAdminOutput(args: GetDelegatedAdminOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDelegatedAdmin(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securityhub:getDelegatedAdmin", { + "delegatedAdminIdentifier": args.delegatedAdminIdentifier, + }, opts); } export interface GetDelegatedAdminOutputArgs { diff --git a/sdk/nodejs/securityhub/getFindingAggregator.ts b/sdk/nodejs/securityhub/getFindingAggregator.ts index 577e7ebbab..b935c145eb 100644 --- a/sdk/nodejs/securityhub/getFindingAggregator.ts +++ b/sdk/nodejs/securityhub/getFindingAggregator.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * Cross-Region aggregation is also a prerequisite for using [central configuration](https://docs.aws.amazon.com/securityhub/latest/userguide/central-configuration-intro.html) in ASH. */ export function getFindingAggregator(args: GetFindingAggregatorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securityhub:getFindingAggregator", { "findingAggregatorArn": args.findingAggregatorArn, @@ -59,7 +58,10 @@ export interface GetFindingAggregatorResult { * Cross-Region aggregation is also a prerequisite for using [central configuration](https://docs.aws.amazon.com/securityhub/latest/userguide/central-configuration-intro.html) in ASH. */ export function getFindingAggregatorOutput(args: GetFindingAggregatorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFindingAggregator(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securityhub:getFindingAggregator", { + "findingAggregatorArn": args.findingAggregatorArn, + }, opts); } export interface GetFindingAggregatorOutputArgs { diff --git a/sdk/nodejs/securityhub/getHub.ts b/sdk/nodejs/securityhub/getHub.ts index beb28f6cba..162bc3d18c 100644 --- a/sdk/nodejs/securityhub/getHub.ts +++ b/sdk/nodejs/securityhub/getHub.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::SecurityHub::Hub resource represents the implementation of the AWS Security Hub service in your account. One hub resource is created for each Region in which you enable Security Hub. */ export function getHub(args: GetHubArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securityhub:getHub", { "arn": args.arn, @@ -50,7 +49,10 @@ export interface GetHubResult { * The AWS::SecurityHub::Hub resource represents the implementation of the AWS Security Hub service in your account. One hub resource is created for each Region in which you enable Security Hub. */ export function getHubOutput(args: GetHubOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getHub(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securityhub:getHub", { + "arn": args.arn, + }, opts); } export interface GetHubOutputArgs { diff --git a/sdk/nodejs/securityhub/getInsight.ts b/sdk/nodejs/securityhub/getInsight.ts index c5f1ae8ad2..63b46f25ae 100644 --- a/sdk/nodejs/securityhub/getInsight.ts +++ b/sdk/nodejs/securityhub/getInsight.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::SecurityHub::Insight resource represents the AWS Security Hub Insight in your account. An AWS Security Hub insight is a collection of related findings. */ export function getInsight(args: GetInsightArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securityhub:getInsight", { "insightArn": args.insightArn, @@ -47,7 +46,10 @@ export interface GetInsightResult { * The AWS::SecurityHub::Insight resource represents the AWS Security Hub Insight in your account. An AWS Security Hub insight is a collection of related findings. */ export function getInsightOutput(args: GetInsightOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInsight(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securityhub:getInsight", { + "insightArn": args.insightArn, + }, opts); } export interface GetInsightOutputArgs { diff --git a/sdk/nodejs/securityhub/getOrganizationConfiguration.ts b/sdk/nodejs/securityhub/getOrganizationConfiguration.ts index ef5b23ce21..5b27c1f5af 100644 --- a/sdk/nodejs/securityhub/getOrganizationConfiguration.ts +++ b/sdk/nodejs/securityhub/getOrganizationConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::SecurityHub::OrganizationConfiguration resource represents the configuration of your organization in Security Hub. Only the Security Hub administrator account can create Organization Configuration resource in each region and can opt-in to Central Configuration only in the aggregation region of FindingAggregator. */ export function getOrganizationConfiguration(args: GetOrganizationConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securityhub:getOrganizationConfiguration", { "organizationConfigurationIdentifier": args.organizationConfigurationIdentifier, @@ -59,7 +58,10 @@ export interface GetOrganizationConfigurationResult { * The AWS::SecurityHub::OrganizationConfiguration resource represents the configuration of your organization in Security Hub. Only the Security Hub administrator account can create Organization Configuration resource in each region and can opt-in to Central Configuration only in the aggregation region of FindingAggregator. */ export function getOrganizationConfigurationOutput(args: GetOrganizationConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getOrganizationConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securityhub:getOrganizationConfiguration", { + "organizationConfigurationIdentifier": args.organizationConfigurationIdentifier, + }, opts); } export interface GetOrganizationConfigurationOutputArgs { diff --git a/sdk/nodejs/securityhub/getPolicyAssociation.ts b/sdk/nodejs/securityhub/getPolicyAssociation.ts index ecad0a439d..5ae5128dd1 100644 --- a/sdk/nodejs/securityhub/getPolicyAssociation.ts +++ b/sdk/nodejs/securityhub/getPolicyAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::SecurityHub::PolicyAssociation resource represents the AWS Security Hub Central Configuration Policy associations in your Target. Only the AWS Security Hub delegated administrator can create the resouce from the home region. */ export function getPolicyAssociation(args: GetPolicyAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securityhub:getPolicyAssociation", { "associationIdentifier": args.associationIdentifier, @@ -55,7 +54,10 @@ export interface GetPolicyAssociationResult { * The AWS::SecurityHub::PolicyAssociation resource represents the AWS Security Hub Central Configuration Policy associations in your Target. Only the AWS Security Hub delegated administrator can create the resouce from the home region. */ export function getPolicyAssociationOutput(args: GetPolicyAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPolicyAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securityhub:getPolicyAssociation", { + "associationIdentifier": args.associationIdentifier, + }, opts); } export interface GetPolicyAssociationOutputArgs { diff --git a/sdk/nodejs/securityhub/getProductSubscription.ts b/sdk/nodejs/securityhub/getProductSubscription.ts index 47f4d9b3cc..05a6f6df41 100644 --- a/sdk/nodejs/securityhub/getProductSubscription.ts +++ b/sdk/nodejs/securityhub/getProductSubscription.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The AWS::SecurityHub::ProductSubscription resource represents a subscription to a service that is allowed to generate findings for your Security Hub account. One product subscription resource is created for each product enabled. */ export function getProductSubscription(args: GetProductSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securityhub:getProductSubscription", { "productSubscriptionArn": args.productSubscriptionArn, @@ -32,7 +31,10 @@ export interface GetProductSubscriptionResult { * The AWS::SecurityHub::ProductSubscription resource represents a subscription to a service that is allowed to generate findings for your Security Hub account. One product subscription resource is created for each product enabled. */ export function getProductSubscriptionOutput(args: GetProductSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProductSubscription(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securityhub:getProductSubscription", { + "productSubscriptionArn": args.productSubscriptionArn, + }, opts); } export interface GetProductSubscriptionOutputArgs { diff --git a/sdk/nodejs/securityhub/getSecurityControl.ts b/sdk/nodejs/securityhub/getSecurityControl.ts index a9feddbc82..9c6c7c1ac5 100644 --- a/sdk/nodejs/securityhub/getSecurityControl.ts +++ b/sdk/nodejs/securityhub/getSecurityControl.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A security control in Security Hub describes a security best practice related to a specific resource. */ export function getSecurityControl(args: GetSecurityControlArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securityhub:getSecurityControl", { "securityControlId": args.securityControlId, @@ -43,7 +42,10 @@ export interface GetSecurityControlResult { * A security control in Security Hub describes a security best practice related to a specific resource. */ export function getSecurityControlOutput(args: GetSecurityControlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSecurityControl(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securityhub:getSecurityControl", { + "securityControlId": args.securityControlId, + }, opts); } export interface GetSecurityControlOutputArgs { diff --git a/sdk/nodejs/securityhub/getStandard.ts b/sdk/nodejs/securityhub/getStandard.ts index ae30038c10..bd8c30b6b6 100644 --- a/sdk/nodejs/securityhub/getStandard.ts +++ b/sdk/nodejs/securityhub/getStandard.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * For more information about ASH standards, see [standards reference](https://docs.aws.amazon.com/securityhub/latest/userguide/standards-reference.html) in the *User Guide*. */ export function getStandard(args: GetStandardArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securityhub:getStandard", { "standardsSubscriptionArn": args.standardsSubscriptionArn, @@ -44,7 +43,10 @@ export interface GetStandardResult { * For more information about ASH standards, see [standards reference](https://docs.aws.amazon.com/securityhub/latest/userguide/standards-reference.html) in the *User Guide*. */ export function getStandardOutput(args: GetStandardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStandard(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securityhub:getStandard", { + "standardsSubscriptionArn": args.standardsSubscriptionArn, + }, opts); } export interface GetStandardOutputArgs { diff --git a/sdk/nodejs/securitylake/getAwsLogSource.ts b/sdk/nodejs/securitylake/getAwsLogSource.ts index 8b22c6277b..612f4f6921 100644 --- a/sdk/nodejs/securitylake/getAwsLogSource.ts +++ b/sdk/nodejs/securitylake/getAwsLogSource.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SecurityLake::AwsLogSource */ export function getAwsLogSource(args: GetAwsLogSourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securitylake:getAwsLogSource", { "sourceName": args.sourceName, @@ -37,7 +36,11 @@ export interface GetAwsLogSourceResult { * Resource Type definition for AWS::SecurityLake::AwsLogSource */ export function getAwsLogSourceOutput(args: GetAwsLogSourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAwsLogSource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securitylake:getAwsLogSource", { + "sourceName": args.sourceName, + "sourceVersion": args.sourceVersion, + }, opts); } export interface GetAwsLogSourceOutputArgs { diff --git a/sdk/nodejs/securitylake/getDataLake.ts b/sdk/nodejs/securitylake/getDataLake.ts index 53a895b1e2..dafeaf339a 100644 --- a/sdk/nodejs/securitylake/getDataLake.ts +++ b/sdk/nodejs/securitylake/getDataLake.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SecurityLake::DataLake */ export function getDataLake(args: GetDataLakeArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securitylake:getDataLake", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetDataLakeResult { * Resource Type definition for AWS::SecurityLake::DataLake */ export function getDataLakeOutput(args: GetDataLakeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDataLake(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securitylake:getDataLake", { + "arn": args.arn, + }, opts); } export interface GetDataLakeOutputArgs { diff --git a/sdk/nodejs/securitylake/getSubscriber.ts b/sdk/nodejs/securitylake/getSubscriber.ts index fb9d731f20..2d702afbd5 100644 --- a/sdk/nodejs/securitylake/getSubscriber.ts +++ b/sdk/nodejs/securitylake/getSubscriber.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SecurityLake::Subscriber */ export function getSubscriber(args: GetSubscriberArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securitylake:getSubscriber", { "subscriberArn": args.subscriberArn, @@ -77,7 +76,10 @@ export interface GetSubscriberResult { * Resource Type definition for AWS::SecurityLake::Subscriber */ export function getSubscriberOutput(args: GetSubscriberOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSubscriber(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securitylake:getSubscriber", { + "subscriberArn": args.subscriberArn, + }, opts); } export interface GetSubscriberOutputArgs { diff --git a/sdk/nodejs/securitylake/getSubscriberNotification.ts b/sdk/nodejs/securitylake/getSubscriberNotification.ts index 4a058693e0..25ce85ff43 100644 --- a/sdk/nodejs/securitylake/getSubscriberNotification.ts +++ b/sdk/nodejs/securitylake/getSubscriberNotification.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SecurityLake::SubscriberNotification */ export function getSubscriberNotification(args: GetSubscriberNotificationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:securitylake:getSubscriberNotification", { "subscriberArn": args.subscriberArn, @@ -39,7 +38,10 @@ export interface GetSubscriberNotificationResult { * Resource Type definition for AWS::SecurityLake::SubscriberNotification */ export function getSubscriberNotificationOutput(args: GetSubscriberNotificationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSubscriberNotification(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:securitylake:getSubscriberNotification", { + "subscriberArn": args.subscriberArn, + }, opts); } export interface GetSubscriberNotificationOutputArgs { diff --git a/sdk/nodejs/servicecatalog/getCloudFormationProvisionedProduct.ts b/sdk/nodejs/servicecatalog/getCloudFormationProvisionedProduct.ts index 3136d8ee22..3c17ee95fc 100644 --- a/sdk/nodejs/servicecatalog/getCloudFormationProvisionedProduct.ts +++ b/sdk/nodejs/servicecatalog/getCloudFormationProvisionedProduct.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema for AWS::ServiceCatalog::CloudFormationProvisionedProduct */ export function getCloudFormationProvisionedProduct(args: GetCloudFormationProvisionedProductArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:servicecatalog:getCloudFormationProvisionedProduct", { "provisionedProductId": args.provisionedProductId, @@ -103,7 +102,10 @@ export interface GetCloudFormationProvisionedProductResult { * Resource Schema for AWS::ServiceCatalog::CloudFormationProvisionedProduct */ export function getCloudFormationProvisionedProductOutput(args: GetCloudFormationProvisionedProductOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCloudFormationProvisionedProduct(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:servicecatalog:getCloudFormationProvisionedProduct", { + "provisionedProductId": args.provisionedProductId, + }, opts); } export interface GetCloudFormationProvisionedProductOutputArgs { diff --git a/sdk/nodejs/servicecatalog/getServiceAction.ts b/sdk/nodejs/servicecatalog/getServiceAction.ts index f870b9f433..f72507132e 100644 --- a/sdk/nodejs/servicecatalog/getServiceAction.ts +++ b/sdk/nodejs/servicecatalog/getServiceAction.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema for AWS::ServiceCatalog::ServiceAction */ export function getServiceAction(args: GetServiceActionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:servicecatalog:getServiceAction", { "id": args.id, @@ -51,7 +50,10 @@ export interface GetServiceActionResult { * Resource Schema for AWS::ServiceCatalog::ServiceAction */ export function getServiceActionOutput(args: GetServiceActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServiceAction(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:servicecatalog:getServiceAction", { + "id": args.id, + }, opts); } export interface GetServiceActionOutputArgs { diff --git a/sdk/nodejs/servicecatalogappregistry/getApplication.ts b/sdk/nodejs/servicecatalogappregistry/getApplication.ts index fd699fe8c5..70efbebb3d 100644 --- a/sdk/nodejs/servicecatalogappregistry/getApplication.ts +++ b/sdk/nodejs/servicecatalogappregistry/getApplication.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Schema for AWS::ServiceCatalogAppRegistry::Application */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:servicecatalogappregistry:getApplication", { "id": args.id, @@ -60,7 +59,10 @@ export interface GetApplicationResult { * Resource Schema for AWS::ServiceCatalogAppRegistry::Application */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:servicecatalogappregistry:getApplication", { + "id": args.id, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/servicecatalogappregistry/getAttributeGroup.ts b/sdk/nodejs/servicecatalogappregistry/getAttributeGroup.ts index 682e79d13d..8589c294cd 100644 --- a/sdk/nodejs/servicecatalogappregistry/getAttributeGroup.ts +++ b/sdk/nodejs/servicecatalogappregistry/getAttributeGroup.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Schema for AWS::ServiceCatalogAppRegistry::AttributeGroup. */ export function getAttributeGroup(args: GetAttributeGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:servicecatalogappregistry:getAttributeGroup", { "id": args.id, @@ -54,7 +53,10 @@ export interface GetAttributeGroupResult { * Resource Schema for AWS::ServiceCatalogAppRegistry::AttributeGroup. */ export function getAttributeGroupOutput(args: GetAttributeGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAttributeGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:servicecatalogappregistry:getAttributeGroup", { + "id": args.id, + }, opts); } export interface GetAttributeGroupOutputArgs { diff --git a/sdk/nodejs/servicecatalogappregistry/getAttributeGroupAssociation.ts b/sdk/nodejs/servicecatalogappregistry/getAttributeGroupAssociation.ts index a8a3621e44..6f9232419a 100644 --- a/sdk/nodejs/servicecatalogappregistry/getAttributeGroupAssociation.ts +++ b/sdk/nodejs/servicecatalogappregistry/getAttributeGroupAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Schema for AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation. */ export function getAttributeGroupAssociation(args: GetAttributeGroupAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:servicecatalogappregistry:getAttributeGroupAssociation", { "applicationArn": args.applicationArn, @@ -41,7 +40,11 @@ export interface GetAttributeGroupAssociationResult { * Resource Schema for AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation. */ export function getAttributeGroupAssociationOutput(args: GetAttributeGroupAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAttributeGroupAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:servicecatalogappregistry:getAttributeGroupAssociation", { + "applicationArn": args.applicationArn, + "attributeGroupArn": args.attributeGroupArn, + }, opts); } export interface GetAttributeGroupAssociationOutputArgs { diff --git a/sdk/nodejs/servicecatalogappregistry/getResourceAssociation.ts b/sdk/nodejs/servicecatalogappregistry/getResourceAssociation.ts index 52bb79b108..17e1e023eb 100644 --- a/sdk/nodejs/servicecatalogappregistry/getResourceAssociation.ts +++ b/sdk/nodejs/servicecatalogappregistry/getResourceAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Schema for AWS::ServiceCatalogAppRegistry::ResourceAssociation */ export function getResourceAssociation(args: GetResourceAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:servicecatalogappregistry:getResourceAssociation", { "applicationArn": args.applicationArn, @@ -49,7 +48,12 @@ export interface GetResourceAssociationResult { * Resource Schema for AWS::ServiceCatalogAppRegistry::ResourceAssociation */ export function getResourceAssociationOutput(args: GetResourceAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourceAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:servicecatalogappregistry:getResourceAssociation", { + "applicationArn": args.applicationArn, + "resourceArn": args.resourceArn, + "resourceType": args.resourceType, + }, opts); } export interface GetResourceAssociationOutputArgs { diff --git a/sdk/nodejs/ses/getConfigurationSet.ts b/sdk/nodejs/ses/getConfigurationSet.ts index 673c51383a..317faacdd7 100644 --- a/sdk/nodejs/ses/getConfigurationSet.ts +++ b/sdk/nodejs/ses/getConfigurationSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::SES::ConfigurationSet. */ export function getConfigurationSet(args: GetConfigurationSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getConfigurationSet", { "name": args.name, @@ -55,7 +54,10 @@ export interface GetConfigurationSetResult { * Resource schema for AWS::SES::ConfigurationSet. */ export function getConfigurationSetOutput(args: GetConfigurationSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfigurationSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getConfigurationSet", { + "name": args.name, + }, opts); } export interface GetConfigurationSetOutputArgs { diff --git a/sdk/nodejs/ses/getConfigurationSetEventDestination.ts b/sdk/nodejs/ses/getConfigurationSetEventDestination.ts index e46526d586..381bfde290 100644 --- a/sdk/nodejs/ses/getConfigurationSetEventDestination.ts +++ b/sdk/nodejs/ses/getConfigurationSetEventDestination.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SES::ConfigurationSetEventDestination */ export function getConfigurationSetEventDestination(args: GetConfigurationSetEventDestinationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getConfigurationSetEventDestination", { "id": args.id, @@ -33,7 +32,10 @@ export interface GetConfigurationSetEventDestinationResult { * Resource Type definition for AWS::SES::ConfigurationSetEventDestination */ export function getConfigurationSetEventDestinationOutput(args: GetConfigurationSetEventDestinationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfigurationSetEventDestination(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getConfigurationSetEventDestination", { + "id": args.id, + }, opts); } export interface GetConfigurationSetEventDestinationOutputArgs { diff --git a/sdk/nodejs/ses/getContactList.ts b/sdk/nodejs/ses/getContactList.ts index e37796c55b..49d9941ab1 100644 --- a/sdk/nodejs/ses/getContactList.ts +++ b/sdk/nodejs/ses/getContactList.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::SES::ContactList. */ export function getContactList(args: GetContactListArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getContactList", { "contactListName": args.contactListName, @@ -43,7 +42,10 @@ export interface GetContactListResult { * Resource schema for AWS::SES::ContactList. */ export function getContactListOutput(args: GetContactListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getContactList(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getContactList", { + "contactListName": args.contactListName, + }, opts); } export interface GetContactListOutputArgs { diff --git a/sdk/nodejs/ses/getDedicatedIpPool.ts b/sdk/nodejs/ses/getDedicatedIpPool.ts index fd8a78256a..599d0c9f37 100644 --- a/sdk/nodejs/ses/getDedicatedIpPool.ts +++ b/sdk/nodejs/ses/getDedicatedIpPool.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SES::DedicatedIpPool */ export function getDedicatedIpPool(args: GetDedicatedIpPoolArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getDedicatedIpPool", { "poolName": args.poolName, @@ -32,7 +31,10 @@ export interface GetDedicatedIpPoolResult { * Resource Type definition for AWS::SES::DedicatedIpPool */ export function getDedicatedIpPoolOutput(args: GetDedicatedIpPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDedicatedIpPool(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getDedicatedIpPool", { + "poolName": args.poolName, + }, opts); } export interface GetDedicatedIpPoolOutputArgs { diff --git a/sdk/nodejs/ses/getEmailIdentity.ts b/sdk/nodejs/ses/getEmailIdentity.ts index 802e4348bd..cd6bf179cb 100644 --- a/sdk/nodejs/ses/getEmailIdentity.ts +++ b/sdk/nodejs/ses/getEmailIdentity.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SES::EmailIdentity */ export function getEmailIdentity(args: GetEmailIdentityArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getEmailIdentity", { "emailIdentity": args.emailIdentity, @@ -77,7 +76,10 @@ export interface GetEmailIdentityResult { * Resource Type definition for AWS::SES::EmailIdentity */ export function getEmailIdentityOutput(args: GetEmailIdentityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEmailIdentity(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getEmailIdentity", { + "emailIdentity": args.emailIdentity, + }, opts); } export interface GetEmailIdentityOutputArgs { diff --git a/sdk/nodejs/ses/getMailManagerAddonInstance.ts b/sdk/nodejs/ses/getMailManagerAddonInstance.ts index 9a6d0634b7..e5e9b503e3 100644 --- a/sdk/nodejs/ses/getMailManagerAddonInstance.ts +++ b/sdk/nodejs/ses/getMailManagerAddonInstance.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::SES::MailManagerAddonInstance Resource Type */ export function getMailManagerAddonInstance(args: GetMailManagerAddonInstanceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getMailManagerAddonInstance", { "addonInstanceId": args.addonInstanceId, @@ -47,7 +46,10 @@ export interface GetMailManagerAddonInstanceResult { * Definition of AWS::SES::MailManagerAddonInstance Resource Type */ export function getMailManagerAddonInstanceOutput(args: GetMailManagerAddonInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMailManagerAddonInstance(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getMailManagerAddonInstance", { + "addonInstanceId": args.addonInstanceId, + }, opts); } export interface GetMailManagerAddonInstanceOutputArgs { diff --git a/sdk/nodejs/ses/getMailManagerAddonSubscription.ts b/sdk/nodejs/ses/getMailManagerAddonSubscription.ts index a31d82e0df..baee552bea 100644 --- a/sdk/nodejs/ses/getMailManagerAddonSubscription.ts +++ b/sdk/nodejs/ses/getMailManagerAddonSubscription.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::SES::MailManagerAddonSubscription Resource Type */ export function getMailManagerAddonSubscription(args: GetMailManagerAddonSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getMailManagerAddonSubscription", { "addonSubscriptionId": args.addonSubscriptionId, @@ -43,7 +42,10 @@ export interface GetMailManagerAddonSubscriptionResult { * Definition of AWS::SES::MailManagerAddonSubscription Resource Type */ export function getMailManagerAddonSubscriptionOutput(args: GetMailManagerAddonSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMailManagerAddonSubscription(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getMailManagerAddonSubscription", { + "addonSubscriptionId": args.addonSubscriptionId, + }, opts); } export interface GetMailManagerAddonSubscriptionOutputArgs { diff --git a/sdk/nodejs/ses/getMailManagerArchive.ts b/sdk/nodejs/ses/getMailManagerArchive.ts index 746af369fc..9e7eafea3b 100644 --- a/sdk/nodejs/ses/getMailManagerArchive.ts +++ b/sdk/nodejs/ses/getMailManagerArchive.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::SES::MailManagerArchive Resource Type */ export function getMailManagerArchive(args: GetMailManagerArchiveArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getMailManagerArchive", { "archiveId": args.archiveId, @@ -58,7 +57,10 @@ export interface GetMailManagerArchiveResult { * Definition of AWS::SES::MailManagerArchive Resource Type */ export function getMailManagerArchiveOutput(args: GetMailManagerArchiveOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMailManagerArchive(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getMailManagerArchive", { + "archiveId": args.archiveId, + }, opts); } export interface GetMailManagerArchiveOutputArgs { diff --git a/sdk/nodejs/ses/getMailManagerIngressPoint.ts b/sdk/nodejs/ses/getMailManagerIngressPoint.ts index 9c902b8bff..105d3e5c19 100644 --- a/sdk/nodejs/ses/getMailManagerIngressPoint.ts +++ b/sdk/nodejs/ses/getMailManagerIngressPoint.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::SES::MailManagerIngressPoint Resource Type */ export function getMailManagerIngressPoint(args: GetMailManagerIngressPointArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getMailManagerIngressPoint", { "ingressPointId": args.ingressPointId, @@ -67,7 +66,10 @@ export interface GetMailManagerIngressPointResult { * Definition of AWS::SES::MailManagerIngressPoint Resource Type */ export function getMailManagerIngressPointOutput(args: GetMailManagerIngressPointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMailManagerIngressPoint(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getMailManagerIngressPoint", { + "ingressPointId": args.ingressPointId, + }, opts); } export interface GetMailManagerIngressPointOutputArgs { diff --git a/sdk/nodejs/ses/getMailManagerRelay.ts b/sdk/nodejs/ses/getMailManagerRelay.ts index 8b8d234453..9387881ac1 100644 --- a/sdk/nodejs/ses/getMailManagerRelay.ts +++ b/sdk/nodejs/ses/getMailManagerRelay.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::SES::MailManagerRelay Resource Type */ export function getMailManagerRelay(args: GetMailManagerRelayArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getMailManagerRelay", { "relayId": args.relayId, @@ -59,7 +58,10 @@ export interface GetMailManagerRelayResult { * Definition of AWS::SES::MailManagerRelay Resource Type */ export function getMailManagerRelayOutput(args: GetMailManagerRelayOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMailManagerRelay(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getMailManagerRelay", { + "relayId": args.relayId, + }, opts); } export interface GetMailManagerRelayOutputArgs { diff --git a/sdk/nodejs/ses/getMailManagerRuleSet.ts b/sdk/nodejs/ses/getMailManagerRuleSet.ts index 1a8764b587..8a810121d0 100644 --- a/sdk/nodejs/ses/getMailManagerRuleSet.ts +++ b/sdk/nodejs/ses/getMailManagerRuleSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::SES::MailManagerRuleSet Resource Type */ export function getMailManagerRuleSet(args: GetMailManagerRuleSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getMailManagerRuleSet", { "ruleSetId": args.ruleSetId, @@ -51,7 +50,10 @@ export interface GetMailManagerRuleSetResult { * Definition of AWS::SES::MailManagerRuleSet Resource Type */ export function getMailManagerRuleSetOutput(args: GetMailManagerRuleSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMailManagerRuleSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getMailManagerRuleSet", { + "ruleSetId": args.ruleSetId, + }, opts); } export interface GetMailManagerRuleSetOutputArgs { diff --git a/sdk/nodejs/ses/getMailManagerTrafficPolicy.ts b/sdk/nodejs/ses/getMailManagerTrafficPolicy.ts index ecf032d250..c592fb8d2c 100644 --- a/sdk/nodejs/ses/getMailManagerTrafficPolicy.ts +++ b/sdk/nodejs/ses/getMailManagerTrafficPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::SES::MailManagerTrafficPolicy Resource Type */ export function getMailManagerTrafficPolicy(args: GetMailManagerTrafficPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getMailManagerTrafficPolicy", { "trafficPolicyId": args.trafficPolicyId, @@ -61,7 +60,10 @@ export interface GetMailManagerTrafficPolicyResult { * Definition of AWS::SES::MailManagerTrafficPolicy Resource Type */ export function getMailManagerTrafficPolicyOutput(args: GetMailManagerTrafficPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getMailManagerTrafficPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getMailManagerTrafficPolicy", { + "trafficPolicyId": args.trafficPolicyId, + }, opts); } export interface GetMailManagerTrafficPolicyOutputArgs { diff --git a/sdk/nodejs/ses/getTemplate.ts b/sdk/nodejs/ses/getTemplate.ts index 4b7c91039e..8572bee629 100644 --- a/sdk/nodejs/ses/getTemplate.ts +++ b/sdk/nodejs/ses/getTemplate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SES::Template */ export function getTemplate(args: GetTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getTemplate", { "id": args.id, @@ -33,7 +32,10 @@ export interface GetTemplateResult { * Resource Type definition for AWS::SES::Template */ export function getTemplateOutput(args: GetTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getTemplate", { + "id": args.id, + }, opts); } export interface GetTemplateOutputArgs { diff --git a/sdk/nodejs/ses/getVdmAttributes.ts b/sdk/nodejs/ses/getVdmAttributes.ts index 034e7b2e98..d7d28cf6ef 100644 --- a/sdk/nodejs/ses/getVdmAttributes.ts +++ b/sdk/nodejs/ses/getVdmAttributes.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SES::VdmAttributes */ export function getVdmAttributes(args: GetVdmAttributesArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ses:getVdmAttributes", { "vdmAttributesResourceId": args.vdmAttributesResourceId, @@ -43,7 +42,10 @@ export interface GetVdmAttributesResult { * Resource Type definition for AWS::SES::VdmAttributes */ export function getVdmAttributesOutput(args: GetVdmAttributesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getVdmAttributes(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ses:getVdmAttributes", { + "vdmAttributesResourceId": args.vdmAttributesResourceId, + }, opts); } export interface GetVdmAttributesOutputArgs { diff --git a/sdk/nodejs/shield/getDrtAccess.ts b/sdk/nodejs/shield/getDrtAccess.ts index 48aea755b3..bb78a1dffe 100644 --- a/sdk/nodejs/shield/getDrtAccess.ts +++ b/sdk/nodejs/shield/getDrtAccess.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Config the role and list of Amazon S3 log buckets used by the Shield Response Team (SRT) to access your AWS account while assisting with attack mitigation. */ export function getDrtAccess(args: GetDrtAccessArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:shield:getDrtAccess", { "accountId": args.accountId, @@ -40,7 +39,10 @@ export interface GetDrtAccessResult { * Config the role and list of Amazon S3 log buckets used by the Shield Response Team (SRT) to access your AWS account while assisting with attack mitigation. */ export function getDrtAccessOutput(args: GetDrtAccessOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDrtAccess(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:shield:getDrtAccess", { + "accountId": args.accountId, + }, opts); } export interface GetDrtAccessOutputArgs { diff --git a/sdk/nodejs/shield/getProactiveEngagement.ts b/sdk/nodejs/shield/getProactiveEngagement.ts index 580de02c6f..3b11b60ba0 100644 --- a/sdk/nodejs/shield/getProactiveEngagement.ts +++ b/sdk/nodejs/shield/getProactiveEngagement.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Authorizes the Shield Response Team (SRT) to use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support. */ export function getProactiveEngagement(args: GetProactiveEngagementArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:shield:getProactiveEngagement", { "accountId": args.accountId, @@ -45,7 +44,10 @@ export interface GetProactiveEngagementResult { * Authorizes the Shield Response Team (SRT) to use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support. */ export function getProactiveEngagementOutput(args: GetProactiveEngagementOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProactiveEngagement(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:shield:getProactiveEngagement", { + "accountId": args.accountId, + }, opts); } export interface GetProactiveEngagementOutputArgs { diff --git a/sdk/nodejs/shield/getProtection.ts b/sdk/nodejs/shield/getProtection.ts index faf4313149..7796af59f5 100644 --- a/sdk/nodejs/shield/getProtection.ts +++ b/sdk/nodejs/shield/getProtection.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon CloudFront distribution, Amazon Route 53 hosted zone, AWS Global Accelerator standard accelerator, Elastic IP Address, Application Load Balancer, or a Classic Load Balancer. You can protect Amazon EC2 instances and Network Load Balancers by association with protected Amazon EC2 Elastic IP addresses. */ export function getProtection(args: GetProtectionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:shield:getProtection", { "protectionArn": args.protectionArn, @@ -53,7 +52,10 @@ export interface GetProtectionResult { * Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon CloudFront distribution, Amazon Route 53 hosted zone, AWS Global Accelerator standard accelerator, Elastic IP Address, Application Load Balancer, or a Classic Load Balancer. You can protect Amazon EC2 instances and Network Load Balancers by association with protected Amazon EC2 Elastic IP addresses. */ export function getProtectionOutput(args: GetProtectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProtection(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:shield:getProtection", { + "protectionArn": args.protectionArn, + }, opts); } export interface GetProtectionOutputArgs { diff --git a/sdk/nodejs/shield/getProtectionGroup.ts b/sdk/nodejs/shield/getProtectionGroup.ts index 1d092df11e..c3813974b8 100644 --- a/sdk/nodejs/shield/getProtectionGroup.ts +++ b/sdk/nodejs/shield/getProtectionGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives. */ export function getProtectionGroup(args: GetProtectionGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:shield:getProtectionGroup", { "protectionGroupArn": args.protectionGroupArn, @@ -58,7 +57,10 @@ export interface GetProtectionGroupResult { * A grouping of protected resources so they can be handled as a collective. This resource grouping improves the accuracy of detection and reduces false positives. */ export function getProtectionGroupOutput(args: GetProtectionGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProtectionGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:shield:getProtectionGroup", { + "protectionGroupArn": args.protectionGroupArn, + }, opts); } export interface GetProtectionGroupOutputArgs { diff --git a/sdk/nodejs/signer/getSigningProfile.ts b/sdk/nodejs/signer/getSigningProfile.ts index 65760338c5..da5da39418 100644 --- a/sdk/nodejs/signer/getSigningProfile.ts +++ b/sdk/nodejs/signer/getSigningProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A signing profile is a signing template that can be used to carry out a pre-defined signing job. */ export function getSigningProfile(args: GetSigningProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:signer:getSigningProfile", { "arn": args.arn, @@ -47,7 +46,10 @@ export interface GetSigningProfileResult { * A signing profile is a signing template that can be used to carry out a pre-defined signing job. */ export function getSigningProfileOutput(args: GetSigningProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSigningProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:signer:getSigningProfile", { + "arn": args.arn, + }, opts); } export interface GetSigningProfileOutputArgs { diff --git a/sdk/nodejs/simspaceweaver/getSimulation.ts b/sdk/nodejs/simspaceweaver/getSimulation.ts index e2f1b95e69..f5ee94702a 100644 --- a/sdk/nodejs/simspaceweaver/getSimulation.ts +++ b/sdk/nodejs/simspaceweaver/getSimulation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * AWS::SimSpaceWeaver::Simulation resource creates an AWS Simulation. */ export function getSimulation(args: GetSimulationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:simspaceweaver:getSimulation", { "name": args.name, @@ -32,7 +31,10 @@ export interface GetSimulationResult { * AWS::SimSpaceWeaver::Simulation resource creates an AWS Simulation. */ export function getSimulationOutput(args: GetSimulationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSimulation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:simspaceweaver:getSimulation", { + "name": args.name, + }, opts); } export interface GetSimulationOutputArgs { diff --git a/sdk/nodejs/sns/getSubscription.ts b/sdk/nodejs/sns/getSubscription.ts index b0061126de..2d9383ccdb 100644 --- a/sdk/nodejs/sns/getSubscription.ts +++ b/sdk/nodejs/sns/getSubscription.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SNS::Subscription */ export function getSubscription(args: GetSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sns:getSubscription", { "arn": args.arn, @@ -68,7 +67,10 @@ export interface GetSubscriptionResult { * Resource Type definition for AWS::SNS::Subscription */ export function getSubscriptionOutput(args: GetSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSubscription(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sns:getSubscription", { + "arn": args.arn, + }, opts); } export interface GetSubscriptionOutputArgs { diff --git a/sdk/nodejs/sns/getTopic.ts b/sdk/nodejs/sns/getTopic.ts index 9455c0e122..2015e3a087 100644 --- a/sdk/nodejs/sns/getTopic.ts +++ b/sdk/nodejs/sns/getTopic.ts @@ -13,7 +13,6 @@ import * as utilities from "../utilities"; * The structure of ``AUTHPARAMS`` depends on the .signature of the API request. For more information, see [Examples of the complete Signature Version 4 signing process](https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html) in the *General Reference*. */ export function getTopic(args: GetTopicArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sns:getTopic", { "topicArn": args.topicArn, @@ -99,7 +98,10 @@ export interface GetTopicResult { * The structure of ``AUTHPARAMS`` depends on the .signature of the API request. For more information, see [Examples of the complete Signature Version 4 signing process](https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html) in the *General Reference*. */ export function getTopicOutput(args: GetTopicOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTopic(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sns:getTopic", { + "topicArn": args.topicArn, + }, opts); } export interface GetTopicOutputArgs { diff --git a/sdk/nodejs/sns/getTopicInlinePolicy.ts b/sdk/nodejs/sns/getTopicInlinePolicy.ts index 02993c0b4b..f211c89255 100644 --- a/sdk/nodejs/sns/getTopicInlinePolicy.ts +++ b/sdk/nodejs/sns/getTopicInlinePolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Schema for AWS::SNS::TopicInlinePolicy */ export function getTopicInlinePolicy(args: GetTopicInlinePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sns:getTopicInlinePolicy", { "topicArn": args.topicArn, @@ -34,7 +33,10 @@ export interface GetTopicInlinePolicyResult { * Schema for AWS::SNS::TopicInlinePolicy */ export function getTopicInlinePolicyOutput(args: GetTopicInlinePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTopicInlinePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sns:getTopicInlinePolicy", { + "topicArn": args.topicArn, + }, opts); } export interface GetTopicInlinePolicyOutputArgs { diff --git a/sdk/nodejs/sns/getTopicPolicy.ts b/sdk/nodejs/sns/getTopicPolicy.ts index 1f1d1d694a..260676df64 100644 --- a/sdk/nodejs/sns/getTopicPolicy.ts +++ b/sdk/nodejs/sns/getTopicPolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * The ``AWS::SNS::TopicPolicy`` resource associates SNS topics with a policy. For an example snippet, see [Declaring an policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-sns-policy) in the *User Guide*. */ export function getTopicPolicy(args: GetTopicPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sns:getTopicPolicy", { "id": args.id, @@ -42,7 +41,10 @@ export interface GetTopicPolicyResult { * The ``AWS::SNS::TopicPolicy`` resource associates SNS topics with a policy. For an example snippet, see [Declaring an policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-sns-policy) in the *User Guide*. */ export function getTopicPolicyOutput(args: GetTopicPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTopicPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sns:getTopicPolicy", { + "id": args.id, + }, opts); } export interface GetTopicPolicyOutputArgs { diff --git a/sdk/nodejs/sqs/getQueue.ts b/sdk/nodejs/sqs/getQueue.ts index 2bb4531b74..cb7f192ac6 100644 --- a/sdk/nodejs/sqs/getQueue.ts +++ b/sdk/nodejs/sqs/getQueue.ts @@ -19,7 +19,6 @@ import * as utilities from "../utilities"; * For more information about creating FIFO (first-in-first-out) queues, see [Creating an queue ()](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/screate-queue-cloudformation.html) in the *Developer Guide*. */ export function getQueue(args: GetQueueArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sqs:getQueue", { "queueUrl": args.queueUrl, @@ -139,7 +138,10 @@ export interface GetQueueResult { * For more information about creating FIFO (first-in-first-out) queues, see [Creating an queue ()](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/screate-queue-cloudformation.html) in the *Developer Guide*. */ export function getQueueOutput(args: GetQueueOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getQueue(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sqs:getQueue", { + "queueUrl": args.queueUrl, + }, opts); } export interface GetQueueOutputArgs { diff --git a/sdk/nodejs/sqs/getQueueInlinePolicy.ts b/sdk/nodejs/sqs/getQueueInlinePolicy.ts index c23dd641f9..e7e16703b7 100644 --- a/sdk/nodejs/sqs/getQueueInlinePolicy.ts +++ b/sdk/nodejs/sqs/getQueueInlinePolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Schema for SQS QueueInlinePolicy */ export function getQueueInlinePolicy(args: GetQueueInlinePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sqs:getQueueInlinePolicy", { "queue": args.queue, @@ -34,7 +33,10 @@ export interface GetQueueInlinePolicyResult { * Schema for SQS QueueInlinePolicy */ export function getQueueInlinePolicyOutput(args: GetQueueInlinePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getQueueInlinePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sqs:getQueueInlinePolicy", { + "queue": args.queue, + }, opts); } export interface GetQueueInlinePolicyOutputArgs { diff --git a/sdk/nodejs/ssm/getAssociation.ts b/sdk/nodejs/ssm/getAssociation.ts index d124a060a8..124447f4fc 100644 --- a/sdk/nodejs/ssm/getAssociation.ts +++ b/sdk/nodejs/ssm/getAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::SSM::Association resource associates an SSM document in AWS Systems Manager with EC2 instances that contain a configuration agent to process the document. */ export function getAssociation(args: GetAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssm:getAssociation", { "associationId": args.associationId, @@ -107,7 +106,10 @@ export interface GetAssociationResult { * The AWS::SSM::Association resource associates an SSM document in AWS Systems Manager with EC2 instances that contain a configuration agent to process the document. */ export function getAssociationOutput(args: GetAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssm:getAssociation", { + "associationId": args.associationId, + }, opts); } export interface GetAssociationOutputArgs { diff --git a/sdk/nodejs/ssm/getDocument.ts b/sdk/nodejs/ssm/getDocument.ts index fab2567211..c661aedf8a 100644 --- a/sdk/nodejs/ssm/getDocument.ts +++ b/sdk/nodejs/ssm/getDocument.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::SSM::Document resource is an SSM document in AWS Systems Manager that defines the actions that Systems Manager performs, which can be used to set up and run commands on your instances. */ export function getDocument(args: GetDocumentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssm:getDocument", { "name": args.name, @@ -57,7 +56,10 @@ export interface GetDocumentResult { * The AWS::SSM::Document resource is an SSM document in AWS Systems Manager that defines the actions that Systems Manager performs, which can be used to set up and run commands on your instances. */ export function getDocumentOutput(args: GetDocumentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDocument(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssm:getDocument", { + "name": args.name, + }, opts); } export interface GetDocumentOutputArgs { diff --git a/sdk/nodejs/ssm/getParameter.ts b/sdk/nodejs/ssm/getParameter.ts index 6d2de4f666..1f47d7d181 100644 --- a/sdk/nodejs/ssm/getParameter.ts +++ b/sdk/nodejs/ssm/getParameter.ts @@ -14,7 +14,6 @@ import * as utilities from "../utilities"; * For information about valid values for parameters, see [About requirements and constraints for parameter names](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-parameter-name-constraints) in the *User Guide* and [PutParameter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PutParameter.html) in the *API Reference*. */ export function getParameter(args: GetParameterArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssm:getParameter", { "name": args.name, @@ -51,7 +50,10 @@ export interface GetParameterResult { * For information about valid values for parameters, see [About requirements and constraints for parameter names](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-parameter-name-constraints) in the *User Guide* and [PutParameter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PutParameter.html) in the *API Reference*. */ export function getParameterOutput(args: GetParameterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getParameter(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssm:getParameter", { + "name": args.name, + }, opts); } export interface GetParameterOutputArgs { diff --git a/sdk/nodejs/ssm/getPatchBaseline.ts b/sdk/nodejs/ssm/getPatchBaseline.ts index a24c87c643..340a78126d 100644 --- a/sdk/nodejs/ssm/getPatchBaseline.ts +++ b/sdk/nodejs/ssm/getPatchBaseline.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SSM::PatchBaseline */ export function getPatchBaseline(args: GetPatchBaselineArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssm:getPatchBaseline", { "id": args.id, @@ -87,7 +86,10 @@ export interface GetPatchBaselineResult { * Resource Type definition for AWS::SSM::PatchBaseline */ export function getPatchBaselineOutput(args: GetPatchBaselineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPatchBaseline(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssm:getPatchBaseline", { + "id": args.id, + }, opts); } export interface GetPatchBaselineOutputArgs { diff --git a/sdk/nodejs/ssm/getResourceDataSync.ts b/sdk/nodejs/ssm/getResourceDataSync.ts index 37f6177517..bea4046eef 100644 --- a/sdk/nodejs/ssm/getResourceDataSync.ts +++ b/sdk/nodejs/ssm/getResourceDataSync.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SSM::ResourceDataSync */ export function getResourceDataSync(args: GetResourceDataSyncArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssm:getResourceDataSync", { "syncName": args.syncName, @@ -35,7 +34,10 @@ export interface GetResourceDataSyncResult { * Resource Type definition for AWS::SSM::ResourceDataSync */ export function getResourceDataSyncOutput(args: GetResourceDataSyncOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourceDataSync(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssm:getResourceDataSync", { + "syncName": args.syncName, + }, opts); } export interface GetResourceDataSyncOutputArgs { diff --git a/sdk/nodejs/ssm/getResourcePolicy.ts b/sdk/nodejs/ssm/getResourcePolicy.ts index 75cfdc6d55..305023b202 100644 --- a/sdk/nodejs/ssm/getResourcePolicy.ts +++ b/sdk/nodejs/ssm/getResourcePolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SSM::ResourcePolicy */ export function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssm:getResourcePolicy", { "policyId": args.policyId, @@ -47,7 +46,11 @@ export interface GetResourcePolicyResult { * Resource Type definition for AWS::SSM::ResourcePolicy */ export function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourcePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssm:getResourcePolicy", { + "policyId": args.policyId, + "resourceArn": args.resourceArn, + }, opts); } export interface GetResourcePolicyOutputArgs { diff --git a/sdk/nodejs/ssmcontacts/getContact.ts b/sdk/nodejs/ssmcontacts/getContact.ts index 2670b47398..4f748144ea 100644 --- a/sdk/nodejs/ssmcontacts/getContact.ts +++ b/sdk/nodejs/ssmcontacts/getContact.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SSMContacts::Contact */ export function getContact(args: GetContactArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssmcontacts:getContact", { "arn": args.arn, @@ -36,7 +35,10 @@ export interface GetContactResult { * Resource Type definition for AWS::SSMContacts::Contact */ export function getContactOutput(args: GetContactOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getContact(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssmcontacts:getContact", { + "arn": args.arn, + }, opts); } export interface GetContactOutputArgs { diff --git a/sdk/nodejs/ssmcontacts/getContactChannel.ts b/sdk/nodejs/ssmcontacts/getContactChannel.ts index b596ee7e28..985b51590e 100644 --- a/sdk/nodejs/ssmcontacts/getContactChannel.ts +++ b/sdk/nodejs/ssmcontacts/getContactChannel.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SSMContacts::ContactChannel */ export function getContactChannel(args: GetContactChannelArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssmcontacts:getContactChannel", { "arn": args.arn, @@ -40,7 +39,10 @@ export interface GetContactChannelResult { * Resource Type definition for AWS::SSMContacts::ContactChannel */ export function getContactChannelOutput(args: GetContactChannelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getContactChannel(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssmcontacts:getContactChannel", { + "arn": args.arn, + }, opts); } export interface GetContactChannelOutputArgs { diff --git a/sdk/nodejs/ssmcontacts/getPlan.ts b/sdk/nodejs/ssmcontacts/getPlan.ts index d5bc5833c4..c090eaffed 100644 --- a/sdk/nodejs/ssmcontacts/getPlan.ts +++ b/sdk/nodejs/ssmcontacts/getPlan.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Engagement Plan for a SSM Incident Manager Contact. */ export function getPlan(args: GetPlanArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssmcontacts:getPlan", { "arn": args.arn, @@ -39,7 +38,10 @@ export interface GetPlanResult { * Engagement Plan for a SSM Incident Manager Contact. */ export function getPlanOutput(args: GetPlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPlan(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssmcontacts:getPlan", { + "arn": args.arn, + }, opts); } export interface GetPlanOutputArgs { diff --git a/sdk/nodejs/ssmcontacts/getRotation.ts b/sdk/nodejs/ssmcontacts/getRotation.ts index 1fca10963b..c8a284cfdf 100644 --- a/sdk/nodejs/ssmcontacts/getRotation.ts +++ b/sdk/nodejs/ssmcontacts/getRotation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::SSMContacts::Rotation. */ export function getRotation(args: GetRotationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssmcontacts:getRotation", { "arn": args.arn, @@ -59,7 +58,10 @@ export interface GetRotationResult { * Resource Type definition for AWS::SSMContacts::Rotation. */ export function getRotationOutput(args: GetRotationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRotation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssmcontacts:getRotation", { + "arn": args.arn, + }, opts); } export interface GetRotationOutputArgs { diff --git a/sdk/nodejs/ssmincidents/getReplicationSet.ts b/sdk/nodejs/ssmincidents/getReplicationSet.ts index 19a17758be..8a6282c8b0 100644 --- a/sdk/nodejs/ssmincidents/getReplicationSet.ts +++ b/sdk/nodejs/ssmincidents/getReplicationSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::SSMIncidents::ReplicationSet */ export function getReplicationSet(args: GetReplicationSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssmincidents:getReplicationSet", { "arn": args.arn, @@ -47,7 +46,10 @@ export interface GetReplicationSetResult { * Resource type definition for AWS::SSMIncidents::ReplicationSet */ export function getReplicationSetOutput(args: GetReplicationSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getReplicationSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssmincidents:getReplicationSet", { + "arn": args.arn, + }, opts); } export interface GetReplicationSetOutputArgs { diff --git a/sdk/nodejs/ssmincidents/getResponsePlan.ts b/sdk/nodejs/ssmincidents/getResponsePlan.ts index 016eaa0bec..4c470791a1 100644 --- a/sdk/nodejs/ssmincidents/getResponsePlan.ts +++ b/sdk/nodejs/ssmincidents/getResponsePlan.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::SSMIncidents::ResponsePlan */ export function getResponsePlan(args: GetResponsePlanArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssmincidents:getResponsePlan", { "arn": args.arn, @@ -63,7 +62,10 @@ export interface GetResponsePlanResult { * Resource type definition for AWS::SSMIncidents::ResponsePlan */ export function getResponsePlanOutput(args: GetResponsePlanOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResponsePlan(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssmincidents:getResponsePlan", { + "arn": args.arn, + }, opts); } export interface GetResponsePlanOutputArgs { diff --git a/sdk/nodejs/ssmquicksetup/getConfigurationManager.ts b/sdk/nodejs/ssmquicksetup/getConfigurationManager.ts index 6a115196ad..2f22dc92e3 100644 --- a/sdk/nodejs/ssmquicksetup/getConfigurationManager.ts +++ b/sdk/nodejs/ssmquicksetup/getConfigurationManager.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::SSMQuickSetup::ConfigurationManager Resource Type */ export function getConfigurationManager(args: GetConfigurationManagerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:ssmquicksetup:getConfigurationManager", { "managerArn": args.managerArn, @@ -63,7 +62,10 @@ export interface GetConfigurationManagerResult { * Definition of AWS::SSMQuickSetup::ConfigurationManager Resource Type */ export function getConfigurationManagerOutput(args: GetConfigurationManagerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConfigurationManager(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:ssmquicksetup:getConfigurationManager", { + "managerArn": args.managerArn, + }, opts); } export interface GetConfigurationManagerOutputArgs { diff --git a/sdk/nodejs/sso/getApplication.ts b/sdk/nodejs/sso/getApplication.ts index df8a85ba80..53e4dc174f 100644 --- a/sdk/nodejs/sso/getApplication.ts +++ b/sdk/nodejs/sso/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for Identity Center (SSO) Application */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sso:getApplication", { "applicationArn": args.applicationArn, @@ -55,7 +54,10 @@ export interface GetApplicationResult { * Resource Type definition for Identity Center (SSO) Application */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sso:getApplication", { + "applicationArn": args.applicationArn, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/sso/getInstance.ts b/sdk/nodejs/sso/getInstance.ts index 8f26c60cc0..256950b71d 100644 --- a/sdk/nodejs/sso/getInstance.ts +++ b/sdk/nodejs/sso/getInstance.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for Identity Center (SSO) Instance */ export function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sso:getInstance", { "instanceArn": args.instanceArn, @@ -55,7 +54,10 @@ export interface GetInstanceResult { * Resource Type definition for Identity Center (SSO) Instance */ export function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInstance(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sso:getInstance", { + "instanceArn": args.instanceArn, + }, opts); } export interface GetInstanceOutputArgs { diff --git a/sdk/nodejs/sso/getInstanceAccessControlAttributeConfiguration.ts b/sdk/nodejs/sso/getInstanceAccessControlAttributeConfiguration.ts index 9f7b71bd44..103fa0eedf 100644 --- a/sdk/nodejs/sso/getInstanceAccessControlAttributeConfiguration.ts +++ b/sdk/nodejs/sso/getInstanceAccessControlAttributeConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for SSO InstanceAccessControlAttributeConfiguration */ export function getInstanceAccessControlAttributeConfiguration(args: GetInstanceAccessControlAttributeConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sso:getInstanceAccessControlAttributeConfiguration", { "instanceArn": args.instanceArn, @@ -39,7 +38,10 @@ export interface GetInstanceAccessControlAttributeConfigurationResult { * Resource Type definition for SSO InstanceAccessControlAttributeConfiguration */ export function getInstanceAccessControlAttributeConfigurationOutput(args: GetInstanceAccessControlAttributeConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInstanceAccessControlAttributeConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sso:getInstanceAccessControlAttributeConfiguration", { + "instanceArn": args.instanceArn, + }, opts); } export interface GetInstanceAccessControlAttributeConfigurationOutputArgs { diff --git a/sdk/nodejs/sso/getPermissionSet.ts b/sdk/nodejs/sso/getPermissionSet.ts index 0dbca72625..ca5341fbb3 100644 --- a/sdk/nodejs/sso/getPermissionSet.ts +++ b/sdk/nodejs/sso/getPermissionSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for SSO PermissionSet */ export function getPermissionSet(args: GetPermissionSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:sso:getPermissionSet", { "instanceArn": args.instanceArn, @@ -76,7 +75,11 @@ export interface GetPermissionSetResult { * Resource Type definition for SSO PermissionSet */ export function getPermissionSetOutput(args: GetPermissionSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPermissionSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:sso:getPermissionSet", { + "instanceArn": args.instanceArn, + "permissionSetArn": args.permissionSetArn, + }, opts); } export interface GetPermissionSetOutputArgs { diff --git a/sdk/nodejs/stepfunctions/getActivity.ts b/sdk/nodejs/stepfunctions/getActivity.ts index cda7657fdd..3c41ced868 100644 --- a/sdk/nodejs/stepfunctions/getActivity.ts +++ b/sdk/nodejs/stepfunctions/getActivity.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for Activity */ export function getActivity(args: GetActivityArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:stepfunctions:getActivity", { "arn": args.arn, @@ -41,7 +40,10 @@ export interface GetActivityResult { * Resource schema for Activity */ export function getActivityOutput(args: GetActivityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getActivity(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:stepfunctions:getActivity", { + "arn": args.arn, + }, opts); } export interface GetActivityOutputArgs { diff --git a/sdk/nodejs/stepfunctions/getStateMachine.ts b/sdk/nodejs/stepfunctions/getStateMachine.ts index 0f089f53f7..2bca193197 100644 --- a/sdk/nodejs/stepfunctions/getStateMachine.ts +++ b/sdk/nodejs/stepfunctions/getStateMachine.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for StateMachine */ export function getStateMachine(args: GetStateMachineArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:stepfunctions:getStateMachine", { "arn": args.arn, @@ -83,7 +82,10 @@ export interface GetStateMachineResult { * Resource schema for StateMachine */ export function getStateMachineOutput(args: GetStateMachineOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStateMachine(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:stepfunctions:getStateMachine", { + "arn": args.arn, + }, opts); } export interface GetStateMachineOutputArgs { diff --git a/sdk/nodejs/stepfunctions/getStateMachineAlias.ts b/sdk/nodejs/stepfunctions/getStateMachineAlias.ts index a9af5ded05..4fdddca7ec 100644 --- a/sdk/nodejs/stepfunctions/getStateMachineAlias.ts +++ b/sdk/nodejs/stepfunctions/getStateMachineAlias.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for StateMachineAlias */ export function getStateMachineAlias(args: GetStateMachineAliasArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:stepfunctions:getStateMachineAlias", { "arn": args.arn, @@ -47,7 +46,10 @@ export interface GetStateMachineAliasResult { * Resource schema for StateMachineAlias */ export function getStateMachineAliasOutput(args: GetStateMachineAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStateMachineAlias(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:stepfunctions:getStateMachineAlias", { + "arn": args.arn, + }, opts); } export interface GetStateMachineAliasOutputArgs { diff --git a/sdk/nodejs/stepfunctions/getStateMachineVersion.ts b/sdk/nodejs/stepfunctions/getStateMachineVersion.ts index 3bd26422cb..06a4799905 100644 --- a/sdk/nodejs/stepfunctions/getStateMachineVersion.ts +++ b/sdk/nodejs/stepfunctions/getStateMachineVersion.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Resource schema for StateMachineVersion */ export function getStateMachineVersion(args: GetStateMachineVersionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:stepfunctions:getStateMachineVersion", { "arn": args.arn, @@ -36,7 +35,10 @@ export interface GetStateMachineVersionResult { * Resource schema for StateMachineVersion */ export function getStateMachineVersionOutput(args: GetStateMachineVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getStateMachineVersion(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:stepfunctions:getStateMachineVersion", { + "arn": args.arn, + }, opts); } export interface GetStateMachineVersionOutputArgs { diff --git a/sdk/nodejs/supportapp/getAccountAlias.ts b/sdk/nodejs/supportapp/getAccountAlias.ts index c21b492cd1..51f82fdd61 100644 --- a/sdk/nodejs/supportapp/getAccountAlias.ts +++ b/sdk/nodejs/supportapp/getAccountAlias.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * An AWS Support App resource that creates, updates, reads, and deletes a customer's account alias. */ export function getAccountAlias(args: GetAccountAliasArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:supportapp:getAccountAlias", { "accountAliasResourceId": args.accountAliasResourceId, @@ -36,7 +35,10 @@ export interface GetAccountAliasResult { * An AWS Support App resource that creates, updates, reads, and deletes a customer's account alias. */ export function getAccountAliasOutput(args: GetAccountAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccountAlias(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:supportapp:getAccountAlias", { + "accountAliasResourceId": args.accountAliasResourceId, + }, opts); } export interface GetAccountAliasOutputArgs { diff --git a/sdk/nodejs/supportapp/getSlackChannelConfiguration.ts b/sdk/nodejs/supportapp/getSlackChannelConfiguration.ts index d259f0e9c3..2036bf0089 100644 --- a/sdk/nodejs/supportapp/getSlackChannelConfiguration.ts +++ b/sdk/nodejs/supportapp/getSlackChannelConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * An AWS Support App resource that creates, updates, lists and deletes Slack channel configurations. */ export function getSlackChannelConfiguration(args: GetSlackChannelConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:supportapp:getSlackChannelConfiguration", { "channelId": args.channelId, @@ -60,7 +59,11 @@ export interface GetSlackChannelConfigurationResult { * An AWS Support App resource that creates, updates, lists and deletes Slack channel configurations. */ export function getSlackChannelConfigurationOutput(args: GetSlackChannelConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSlackChannelConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:supportapp:getSlackChannelConfiguration", { + "channelId": args.channelId, + "teamId": args.teamId, + }, opts); } export interface GetSlackChannelConfigurationOutputArgs { diff --git a/sdk/nodejs/synthetics/getCanary.ts b/sdk/nodejs/synthetics/getCanary.ts index e5abbb2544..8a7bcf02c7 100644 --- a/sdk/nodejs/synthetics/getCanary.ts +++ b/sdk/nodejs/synthetics/getCanary.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Synthetics::Canary */ export function getCanary(args: GetCanaryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:synthetics:getCanary", { "name": args.name, @@ -83,7 +82,10 @@ export interface GetCanaryResult { * Resource Type definition for AWS::Synthetics::Canary */ export function getCanaryOutput(args: GetCanaryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCanary(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:synthetics:getCanary", { + "name": args.name, + }, opts); } export interface GetCanaryOutputArgs { diff --git a/sdk/nodejs/synthetics/getGroup.ts b/sdk/nodejs/synthetics/getGroup.ts index f25ed07ffc..af92aaf5f1 100644 --- a/sdk/nodejs/synthetics/getGroup.ts +++ b/sdk/nodejs/synthetics/getGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Synthetics::Group */ export function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:synthetics:getGroup", { "name": args.name, @@ -43,7 +42,10 @@ export interface GetGroupResult { * Resource Type definition for AWS::Synthetics::Group */ export function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:synthetics:getGroup", { + "name": args.name, + }, opts); } export interface GetGroupOutputArgs { diff --git a/sdk/nodejs/systemsmanagersap/getApplication.ts b/sdk/nodejs/systemsmanagersap/getApplication.ts index 1e0b68ebc6..1dbcdb7353 100644 --- a/sdk/nodejs/systemsmanagersap/getApplication.ts +++ b/sdk/nodejs/systemsmanagersap/getApplication.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource schema for AWS::SystemsManagerSAP::Application */ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:systemsmanagersap:getApplication", { "arn": args.arn, @@ -47,7 +46,10 @@ export interface GetApplicationResult { * Resource schema for AWS::SystemsManagerSAP::Application */ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getApplication(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:systemsmanagersap:getApplication", { + "arn": args.arn, + }, opts); } export interface GetApplicationOutputArgs { diff --git a/sdk/nodejs/timestream/getDatabase.ts b/sdk/nodejs/timestream/getDatabase.ts index 93e039c8f7..4994f85a46 100644 --- a/sdk/nodejs/timestream/getDatabase.ts +++ b/sdk/nodejs/timestream/getDatabase.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Timestream::Database resource creates a Timestream database. */ export function getDatabase(args: GetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:timestream:getDatabase", { "databaseName": args.databaseName, @@ -43,7 +42,10 @@ export interface GetDatabaseResult { * The AWS::Timestream::Database resource creates a Timestream database. */ export function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDatabase(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:timestream:getDatabase", { + "databaseName": args.databaseName, + }, opts); } export interface GetDatabaseOutputArgs { diff --git a/sdk/nodejs/timestream/getInfluxDbInstance.ts b/sdk/nodejs/timestream/getInfluxDbInstance.ts index 5e45507c41..b71c673ec9 100644 --- a/sdk/nodejs/timestream/getInfluxDbInstance.ts +++ b/sdk/nodejs/timestream/getInfluxDbInstance.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Timestream::InfluxDBInstance resource creates an InfluxDB instance. */ export function getInfluxDbInstance(args: GetInfluxDbInstanceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:timestream:getInfluxDbInstance", { "id": args.id, @@ -71,7 +70,10 @@ export interface GetInfluxDbInstanceResult { * The AWS::Timestream::InfluxDBInstance resource creates an InfluxDB instance. */ export function getInfluxDbInstanceOutput(args: GetInfluxDbInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getInfluxDbInstance(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:timestream:getInfluxDbInstance", { + "id": args.id, + }, opts); } export interface GetInfluxDbInstanceOutputArgs { diff --git a/sdk/nodejs/timestream/getScheduledQuery.ts b/sdk/nodejs/timestream/getScheduledQuery.ts index 83fe29dbc3..de4cf61990 100644 --- a/sdk/nodejs/timestream/getScheduledQuery.ts +++ b/sdk/nodejs/timestream/getScheduledQuery.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Timestream::ScheduledQuery resource creates a Timestream Scheduled Query. */ export function getScheduledQuery(args: GetScheduledQueryArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:timestream:getScheduledQuery", { "arn": args.arn, @@ -71,7 +70,10 @@ export interface GetScheduledQueryResult { * The AWS::Timestream::ScheduledQuery resource creates a Timestream Scheduled Query. */ export function getScheduledQueryOutput(args: GetScheduledQueryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getScheduledQuery(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:timestream:getScheduledQuery", { + "arn": args.arn, + }, opts); } export interface GetScheduledQueryOutputArgs { diff --git a/sdk/nodejs/timestream/getTable.ts b/sdk/nodejs/timestream/getTable.ts index f5092d0c48..56946a32bb 100644 --- a/sdk/nodejs/timestream/getTable.ts +++ b/sdk/nodejs/timestream/getTable.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::Timestream::Table resource creates a Timestream Table. */ export function getTable(args: GetTableArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:timestream:getTable", { "databaseName": args.databaseName, @@ -60,7 +59,11 @@ export interface GetTableResult { * The AWS::Timestream::Table resource creates a Timestream Table. */ export function getTableOutput(args: GetTableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTable(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:timestream:getTable", { + "databaseName": args.databaseName, + "tableName": args.tableName, + }, opts); } export interface GetTableOutputArgs { diff --git a/sdk/nodejs/transfer/getAgreement.ts b/sdk/nodejs/transfer/getAgreement.ts index 1c52dd411d..5645f107af 100644 --- a/sdk/nodejs/transfer/getAgreement.ts +++ b/sdk/nodejs/transfer/getAgreement.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Transfer::Agreement */ export function getAgreement(args: GetAgreementArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:transfer:getAgreement", { "agreementId": args.agreementId, @@ -72,7 +71,11 @@ export interface GetAgreementResult { * Resource Type definition for AWS::Transfer::Agreement */ export function getAgreementOutput(args: GetAgreementOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAgreement(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:transfer:getAgreement", { + "agreementId": args.agreementId, + "serverId": args.serverId, + }, opts); } export interface GetAgreementOutputArgs { diff --git a/sdk/nodejs/transfer/getCertificate.ts b/sdk/nodejs/transfer/getCertificate.ts index f846fdd333..f96eb4c27c 100644 --- a/sdk/nodejs/transfer/getCertificate.ts +++ b/sdk/nodejs/transfer/getCertificate.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Transfer::Certificate */ export function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:transfer:getCertificate", { "certificateId": args.certificateId, @@ -79,7 +78,10 @@ export interface GetCertificateResult { * Resource Type definition for AWS::Transfer::Certificate */ export function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getCertificate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:transfer:getCertificate", { + "certificateId": args.certificateId, + }, opts); } export interface GetCertificateOutputArgs { diff --git a/sdk/nodejs/transfer/getConnector.ts b/sdk/nodejs/transfer/getConnector.ts index e76b3a4a4f..3a58e8fac8 100644 --- a/sdk/nodejs/transfer/getConnector.ts +++ b/sdk/nodejs/transfer/getConnector.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Transfer::Connector */ export function getConnector(args: GetConnectorArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:transfer:getConnector", { "connectorId": args.connectorId, @@ -71,7 +70,10 @@ export interface GetConnectorResult { * Resource Type definition for AWS::Transfer::Connector */ export function getConnectorOutput(args: GetConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnector(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:transfer:getConnector", { + "connectorId": args.connectorId, + }, opts); } export interface GetConnectorOutputArgs { diff --git a/sdk/nodejs/transfer/getProfile.ts b/sdk/nodejs/transfer/getProfile.ts index 3ae39a8910..36823ebb34 100644 --- a/sdk/nodejs/transfer/getProfile.ts +++ b/sdk/nodejs/transfer/getProfile.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Transfer::Profile */ export function getProfile(args: GetProfileArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:transfer:getProfile", { "profileId": args.profileId, @@ -51,7 +50,10 @@ export interface GetProfileResult { * Resource Type definition for AWS::Transfer::Profile */ export function getProfileOutput(args: GetProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getProfile(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:transfer:getProfile", { + "profileId": args.profileId, + }, opts); } export interface GetProfileOutputArgs { diff --git a/sdk/nodejs/transfer/getWorkflow.ts b/sdk/nodejs/transfer/getWorkflow.ts index 8ae6db5002..c66f25cf74 100644 --- a/sdk/nodejs/transfer/getWorkflow.ts +++ b/sdk/nodejs/transfer/getWorkflow.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::Transfer::Workflow */ export function getWorkflow(args: GetWorkflowArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:transfer:getWorkflow", { "workflowId": args.workflowId, @@ -43,7 +42,10 @@ export interface GetWorkflowResult { * Resource Type definition for AWS::Transfer::Workflow */ export function getWorkflowOutput(args: GetWorkflowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWorkflow(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:transfer:getWorkflow", { + "workflowId": args.workflowId, + }, opts); } export interface GetWorkflowOutputArgs { diff --git a/sdk/nodejs/verifiedpermissions/getIdentitySource.ts b/sdk/nodejs/verifiedpermissions/getIdentitySource.ts index 2d9db23280..196633f45c 100644 --- a/sdk/nodejs/verifiedpermissions/getIdentitySource.ts +++ b/sdk/nodejs/verifiedpermissions/getIdentitySource.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::VerifiedPermissions::IdentitySource Resource Type */ export function getIdentitySource(args: GetIdentitySourceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:verifiedpermissions:getIdentitySource", { "identitySourceId": args.identitySourceId, @@ -49,7 +48,11 @@ export interface GetIdentitySourceResult { * Definition of AWS::VerifiedPermissions::IdentitySource Resource Type */ export function getIdentitySourceOutput(args: GetIdentitySourceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIdentitySource(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:verifiedpermissions:getIdentitySource", { + "identitySourceId": args.identitySourceId, + "policyStoreId": args.policyStoreId, + }, opts); } export interface GetIdentitySourceOutputArgs { diff --git a/sdk/nodejs/verifiedpermissions/getPolicy.ts b/sdk/nodejs/verifiedpermissions/getPolicy.ts index 34d30749a1..62905fa7a4 100644 --- a/sdk/nodejs/verifiedpermissions/getPolicy.ts +++ b/sdk/nodejs/verifiedpermissions/getPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::VerifiedPermissions::Policy Resource Type */ export function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:verifiedpermissions:getPolicy", { "policyId": args.policyId, @@ -51,7 +50,11 @@ export interface GetPolicyResult { * Definition of AWS::VerifiedPermissions::Policy Resource Type */ export function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:verifiedpermissions:getPolicy", { + "policyId": args.policyId, + "policyStoreId": args.policyStoreId, + }, opts); } export interface GetPolicyOutputArgs { diff --git a/sdk/nodejs/verifiedpermissions/getPolicyStore.ts b/sdk/nodejs/verifiedpermissions/getPolicyStore.ts index 9a3685dd21..1f2546f001 100644 --- a/sdk/nodejs/verifiedpermissions/getPolicyStore.ts +++ b/sdk/nodejs/verifiedpermissions/getPolicyStore.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Represents a policy store that you can place schema, policies, and policy templates in to validate authorization requests */ export function getPolicyStore(args: GetPolicyStoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:verifiedpermissions:getPolicyStore", { "policyStoreId": args.policyStoreId, @@ -55,7 +54,10 @@ export interface GetPolicyStoreResult { * Represents a policy store that you can place schema, policies, and policy templates in to validate authorization requests */ export function getPolicyStoreOutput(args: GetPolicyStoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPolicyStore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:verifiedpermissions:getPolicyStore", { + "policyStoreId": args.policyStoreId, + }, opts); } export interface GetPolicyStoreOutputArgs { diff --git a/sdk/nodejs/verifiedpermissions/getPolicyTemplate.ts b/sdk/nodejs/verifiedpermissions/getPolicyTemplate.ts index 129b925cd7..2593248c60 100644 --- a/sdk/nodejs/verifiedpermissions/getPolicyTemplate.ts +++ b/sdk/nodejs/verifiedpermissions/getPolicyTemplate.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::VerifiedPermissions::PolicyTemplate Resource Type */ export function getPolicyTemplate(args: GetPolicyTemplateArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:verifiedpermissions:getPolicyTemplate", { "policyStoreId": args.policyStoreId, @@ -45,7 +44,11 @@ export interface GetPolicyTemplateResult { * Definition of AWS::VerifiedPermissions::PolicyTemplate Resource Type */ export function getPolicyTemplateOutput(args: GetPolicyTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPolicyTemplate(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:verifiedpermissions:getPolicyTemplate", { + "policyStoreId": args.policyStoreId, + "policyTemplateId": args.policyTemplateId, + }, opts); } export interface GetPolicyTemplateOutputArgs { diff --git a/sdk/nodejs/voiceid/getDomain.ts b/sdk/nodejs/voiceid/getDomain.ts index d8e40466bf..4adb413a4b 100644 --- a/sdk/nodejs/voiceid/getDomain.ts +++ b/sdk/nodejs/voiceid/getDomain.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * The AWS::VoiceID::Domain resource specifies an Amazon VoiceID Domain. */ export function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:voiceid:getDomain", { "domainId": args.domainId, @@ -39,7 +38,10 @@ export interface GetDomainResult { * The AWS::VoiceID::Domain resource specifies an Amazon VoiceID Domain. */ export function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getDomain(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:voiceid:getDomain", { + "domainId": args.domainId, + }, opts); } export interface GetDomainOutputArgs { diff --git a/sdk/nodejs/vpclattice/getAccessLogSubscription.ts b/sdk/nodejs/vpclattice/getAccessLogSubscription.ts index a6770d4270..8d012c417c 100644 --- a/sdk/nodejs/vpclattice/getAccessLogSubscription.ts +++ b/sdk/nodejs/vpclattice/getAccessLogSubscription.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner will only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. */ export function getAccessLogSubscription(args: GetAccessLogSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:vpclattice:getAccessLogSubscription", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetAccessLogSubscriptionResult { * Enables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner will only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network. */ export function getAccessLogSubscriptionOutput(args: GetAccessLogSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAccessLogSubscription(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:vpclattice:getAccessLogSubscription", { + "arn": args.arn, + }, opts); } export interface GetAccessLogSubscriptionOutputArgs { diff --git a/sdk/nodejs/vpclattice/getAuthPolicy.ts b/sdk/nodejs/vpclattice/getAuthPolicy.ts index 5c43bac2c5..9b35c393b5 100644 --- a/sdk/nodejs/vpclattice/getAuthPolicy.ts +++ b/sdk/nodejs/vpclattice/getAuthPolicy.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates or updates the auth policy. */ export function getAuthPolicy(args: GetAuthPolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:vpclattice:getAuthPolicy", { "resourceIdentifier": args.resourceIdentifier, @@ -41,7 +40,10 @@ export interface GetAuthPolicyResult { * Creates or updates the auth policy. */ export function getAuthPolicyOutput(args: GetAuthPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAuthPolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:vpclattice:getAuthPolicy", { + "resourceIdentifier": args.resourceIdentifier, + }, opts); } export interface GetAuthPolicyOutputArgs { diff --git a/sdk/nodejs/vpclattice/getListener.ts b/sdk/nodejs/vpclattice/getListener.ts index 15a025304d..1bc96e5699 100644 --- a/sdk/nodejs/vpclattice/getListener.ts +++ b/sdk/nodejs/vpclattice/getListener.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must add one or more listeners. A listener is a process that checks for connection requests to your services. */ export function getListener(args: GetListenerArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:vpclattice:getListener", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetListenerResult { * Creates a listener for a service. Before you start using your Amazon VPC Lattice service, you must add one or more listeners. A listener is a process that checks for connection requests to your services. */ export function getListenerOutput(args: GetListenerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getListener(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:vpclattice:getListener", { + "arn": args.arn, + }, opts); } export interface GetListenerOutputArgs { diff --git a/sdk/nodejs/vpclattice/getResourcePolicy.ts b/sdk/nodejs/vpclattice/getResourcePolicy.ts index 90a8f6bd17..1bc6788e28 100644 --- a/sdk/nodejs/vpclattice/getResourcePolicy.ts +++ b/sdk/nodejs/vpclattice/getResourcePolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Retrieves information about the resource policy. The resource policy is an IAM policy created by AWS RAM on behalf of the resource owner when they share a resource. */ export function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:vpclattice:getResourcePolicy", { "resourceArn": args.resourceArn, @@ -34,7 +33,10 @@ export interface GetResourcePolicyResult { * Retrieves information about the resource policy. The resource policy is an IAM policy created by AWS RAM on behalf of the resource owner when they share a resource. */ export function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourcePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:vpclattice:getResourcePolicy", { + "resourceArn": args.resourceArn, + }, opts); } export interface GetResourcePolicyOutputArgs { diff --git a/sdk/nodejs/vpclattice/getRule.ts b/sdk/nodejs/vpclattice/getRule.ts index b88360e995..219f2a1343 100644 --- a/sdk/nodejs/vpclattice/getRule.ts +++ b/sdk/nodejs/vpclattice/getRule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. */ export function getRule(args: GetRuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:vpclattice:getRule", { "arn": args.arn, @@ -55,7 +54,10 @@ export interface GetRuleResult { * Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. */ export function getRuleOutput(args: GetRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:vpclattice:getRule", { + "arn": args.arn, + }, opts); } export interface GetRuleOutputArgs { diff --git a/sdk/nodejs/vpclattice/getService.ts b/sdk/nodejs/vpclattice/getService.ts index ba0566ac55..816819a155 100644 --- a/sdk/nodejs/vpclattice/getService.ts +++ b/sdk/nodejs/vpclattice/getService.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC). */ export function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:vpclattice:getService", { "arn": args.arn, @@ -70,7 +69,10 @@ export interface GetServiceResult { * A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC). */ export function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getService(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:vpclattice:getService", { + "arn": args.arn, + }, opts); } export interface GetServiceOutputArgs { diff --git a/sdk/nodejs/vpclattice/getServiceNetwork.ts b/sdk/nodejs/vpclattice/getServiceNetwork.ts index d4bee8742a..2e650c13b0 100644 --- a/sdk/nodejs/vpclattice/getServiceNetwork.ts +++ b/sdk/nodejs/vpclattice/getServiceNetwork.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network. */ export function getServiceNetwork(args: GetServiceNetworkArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:vpclattice:getServiceNetwork", { "arn": args.arn, @@ -58,7 +57,10 @@ export interface GetServiceNetworkResult { * A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network. */ export function getServiceNetworkOutput(args: GetServiceNetworkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServiceNetwork(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:vpclattice:getServiceNetwork", { + "arn": args.arn, + }, opts); } export interface GetServiceNetworkOutputArgs { diff --git a/sdk/nodejs/vpclattice/getServiceNetworkServiceAssociation.ts b/sdk/nodejs/vpclattice/getServiceNetworkServiceAssociation.ts index f8d8d3381a..cc33b3f1b6 100644 --- a/sdk/nodejs/vpclattice/getServiceNetworkServiceAssociation.ts +++ b/sdk/nodejs/vpclattice/getServiceNetworkServiceAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Associates a service with a service network. */ export function getServiceNetworkServiceAssociation(args: GetServiceNetworkServiceAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:vpclattice:getServiceNetworkServiceAssociation", { "arn": args.arn, @@ -79,7 +78,10 @@ export interface GetServiceNetworkServiceAssociationResult { * Associates a service with a service network. */ export function getServiceNetworkServiceAssociationOutput(args: GetServiceNetworkServiceAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServiceNetworkServiceAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:vpclattice:getServiceNetworkServiceAssociation", { + "arn": args.arn, + }, opts); } export interface GetServiceNetworkServiceAssociationOutputArgs { diff --git a/sdk/nodejs/vpclattice/getServiceNetworkVpcAssociation.ts b/sdk/nodejs/vpclattice/getServiceNetworkVpcAssociation.ts index 516a00dca2..1841f59236 100644 --- a/sdk/nodejs/vpclattice/getServiceNetworkVpcAssociation.ts +++ b/sdk/nodejs/vpclattice/getServiceNetworkVpcAssociation.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Associates a VPC with a service network. */ export function getServiceNetworkVpcAssociation(args: GetServiceNetworkVpcAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:vpclattice:getServiceNetworkVpcAssociation", { "arn": args.arn, @@ -71,7 +70,10 @@ export interface GetServiceNetworkVpcAssociationResult { * Associates a VPC with a service network. */ export function getServiceNetworkVpcAssociationOutput(args: GetServiceNetworkVpcAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getServiceNetworkVpcAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:vpclattice:getServiceNetworkVpcAssociation", { + "arn": args.arn, + }, opts); } export interface GetServiceNetworkVpcAssociationOutputArgs { diff --git a/sdk/nodejs/vpclattice/getTargetGroup.ts b/sdk/nodejs/vpclattice/getTargetGroup.ts index 1e651ecb74..5f48acaf1f 100644 --- a/sdk/nodejs/vpclattice/getTargetGroup.ts +++ b/sdk/nodejs/vpclattice/getTargetGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service. */ export function getTargetGroup(args: GetTargetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:vpclattice:getTargetGroup", { "arn": args.arn, @@ -63,7 +62,10 @@ export interface GetTargetGroupResult { * A target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service. */ export function getTargetGroupOutput(args: GetTargetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTargetGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:vpclattice:getTargetGroup", { + "arn": args.arn, + }, opts); } export interface GetTargetGroupOutputArgs { diff --git a/sdk/nodejs/wafv2/getIpSet.ts b/sdk/nodejs/wafv2/getIpSet.ts index a757d65fcd..9b617418bb 100644 --- a/sdk/nodejs/wafv2/getIpSet.ts +++ b/sdk/nodejs/wafv2/getIpSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Contains a list of IP addresses. This can be either IPV4 or IPV6. The list will be mutually */ export function getIpSet(args: GetIpSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:wafv2:getIpSet", { "id": args.id, @@ -69,7 +68,12 @@ export interface GetIpSetResult { * Contains a list of IP addresses. This can be either IPV4 or IPV6. The list will be mutually */ export function getIpSetOutput(args: GetIpSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIpSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:wafv2:getIpSet", { + "id": args.id, + "name": args.name, + "scope": args.scope, + }, opts); } export interface GetIpSetOutputArgs { diff --git a/sdk/nodejs/wafv2/getLoggingConfiguration.ts b/sdk/nodejs/wafv2/getLoggingConfiguration.ts index 2857c4ea3f..a40ab862aa 100644 --- a/sdk/nodejs/wafv2/getLoggingConfiguration.ts +++ b/sdk/nodejs/wafv2/getLoggingConfiguration.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * A WAFv2 Logging Configuration Resource Provider */ export function getLoggingConfiguration(args: GetLoggingConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:wafv2:getLoggingConfiguration", { "resourceArn": args.resourceArn, @@ -47,7 +46,10 @@ export interface GetLoggingConfigurationResult { * A WAFv2 Logging Configuration Resource Provider */ export function getLoggingConfigurationOutput(args: GetLoggingConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getLoggingConfiguration(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:wafv2:getLoggingConfiguration", { + "resourceArn": args.resourceArn, + }, opts); } export interface GetLoggingConfigurationOutputArgs { diff --git a/sdk/nodejs/wafv2/getRegexPatternSet.ts b/sdk/nodejs/wafv2/getRegexPatternSet.ts index d663769e61..0d5cc1a9d7 100644 --- a/sdk/nodejs/wafv2/getRegexPatternSet.ts +++ b/sdk/nodejs/wafv2/getRegexPatternSet.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Contains a list of Regular expressions based on the provided inputs. RegexPatternSet can be used with other WAF entities with RegexPatternSetReferenceStatement to perform other actions . */ export function getRegexPatternSet(args: GetRegexPatternSetArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:wafv2:getRegexPatternSet", { "id": args.id, @@ -63,7 +62,12 @@ export interface GetRegexPatternSetResult { * Contains a list of Regular expressions based on the provided inputs. RegexPatternSet can be used with other WAF entities with RegexPatternSetReferenceStatement to perform other actions . */ export function getRegexPatternSetOutput(args: GetRegexPatternSetOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRegexPatternSet(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:wafv2:getRegexPatternSet", { + "id": args.id, + "name": args.name, + "scope": args.scope, + }, opts); } export interface GetRegexPatternSetOutputArgs { diff --git a/sdk/nodejs/wafv2/getRuleGroup.ts b/sdk/nodejs/wafv2/getRuleGroup.ts index d81cd84c7c..727e1935e7 100644 --- a/sdk/nodejs/wafv2/getRuleGroup.ts +++ b/sdk/nodejs/wafv2/getRuleGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Contains the Rules that identify the requests that you want to allow, block, or count. In a RuleGroup, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a RuleGroup, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the RuleGroup with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a RuleGroup, a request needs to match only one of the specifications to be allowed, blocked, or counted. */ export function getRuleGroup(args: GetRuleGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:wafv2:getRuleGroup", { "id": args.id, @@ -101,7 +100,12 @@ export interface GetRuleGroupResult { * Contains the Rules that identify the requests that you want to allow, block, or count. In a RuleGroup, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a RuleGroup, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the RuleGroup with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a RuleGroup, a request needs to match only one of the specifications to be allowed, blocked, or counted. */ export function getRuleGroupOutput(args: GetRuleGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getRuleGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:wafv2:getRuleGroup", { + "id": args.id, + "name": args.name, + "scope": args.scope, + }, opts); } export interface GetRuleGroupOutputArgs { diff --git a/sdk/nodejs/wafv2/getWebAcl.ts b/sdk/nodejs/wafv2/getWebAcl.ts index 1e4080ed98..880eb51bb5 100644 --- a/sdk/nodejs/wafv2/getWebAcl.ts +++ b/sdk/nodejs/wafv2/getWebAcl.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Contains the Rules that identify the requests that you want to allow, block, or count. In a WebACL, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a WebACL, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the WebACL with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a WebACL, a request needs to match only one of the specifications to be allowed, blocked, or counted. */ export function getWebAcl(args: GetWebAclArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:wafv2:getWebAcl", { "id": args.id, @@ -119,7 +118,12 @@ export interface GetWebAclResult { * Contains the Rules that identify the requests that you want to allow, block, or count. In a WebACL, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a WebACL, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the WebACL with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a WebACL, a request needs to match only one of the specifications to be allowed, blocked, or counted. */ export function getWebAclOutput(args: GetWebAclOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWebAcl(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:wafv2:getWebAcl", { + "id": args.id, + "name": args.name, + "scope": args.scope, + }, opts); } export interface GetWebAclOutputArgs { diff --git a/sdk/nodejs/wisdom/getAssistant.ts b/sdk/nodejs/wisdom/getAssistant.ts index 0261238aa2..a29bb3d624 100644 --- a/sdk/nodejs/wisdom/getAssistant.ts +++ b/sdk/nodejs/wisdom/getAssistant.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Wisdom::Assistant Resource Type */ export function getAssistant(args: GetAssistantArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:wisdom:getAssistant", { "assistantId": args.assistantId, @@ -36,7 +35,10 @@ export interface GetAssistantResult { * Definition of AWS::Wisdom::Assistant Resource Type */ export function getAssistantOutput(args: GetAssistantOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAssistant(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:wisdom:getAssistant", { + "assistantId": args.assistantId, + }, opts); } export interface GetAssistantOutputArgs { diff --git a/sdk/nodejs/wisdom/getAssistantAssociation.ts b/sdk/nodejs/wisdom/getAssistantAssociation.ts index 28f2780b66..f97d41d987 100644 --- a/sdk/nodejs/wisdom/getAssistantAssociation.ts +++ b/sdk/nodejs/wisdom/getAssistantAssociation.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Wisdom::AssistantAssociation Resource Type */ export function getAssistantAssociation(args: GetAssistantAssociationArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:wisdom:getAssistantAssociation", { "assistantAssociationId": args.assistantAssociationId, @@ -45,7 +44,11 @@ export interface GetAssistantAssociationResult { * Definition of AWS::Wisdom::AssistantAssociation Resource Type */ export function getAssistantAssociationOutput(args: GetAssistantAssociationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getAssistantAssociation(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:wisdom:getAssistantAssociation", { + "assistantAssociationId": args.assistantAssociationId, + "assistantId": args.assistantId, + }, opts); } export interface GetAssistantAssociationOutputArgs { diff --git a/sdk/nodejs/wisdom/getKnowledgeBase.ts b/sdk/nodejs/wisdom/getKnowledgeBase.ts index 2da16e6947..113497592d 100644 --- a/sdk/nodejs/wisdom/getKnowledgeBase.ts +++ b/sdk/nodejs/wisdom/getKnowledgeBase.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::Wisdom::KnowledgeBase Resource Type */ export function getKnowledgeBase(args: GetKnowledgeBaseArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:wisdom:getKnowledgeBase", { "knowledgeBaseId": args.knowledgeBaseId, @@ -43,7 +42,10 @@ export interface GetKnowledgeBaseResult { * Definition of AWS::Wisdom::KnowledgeBase Resource Type */ export function getKnowledgeBaseOutput(args: GetKnowledgeBaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getKnowledgeBase(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:wisdom:getKnowledgeBase", { + "knowledgeBaseId": args.knowledgeBaseId, + }, opts); } export interface GetKnowledgeBaseOutputArgs { diff --git a/sdk/nodejs/workspaces/getConnectionAlias.ts b/sdk/nodejs/workspaces/getConnectionAlias.ts index 610ae9ccbc..0b2be2ce54 100644 --- a/sdk/nodejs/workspaces/getConnectionAlias.ts +++ b/sdk/nodejs/workspaces/getConnectionAlias.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::WorkSpaces::ConnectionAlias */ export function getConnectionAlias(args: GetConnectionAliasArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:workspaces:getConnectionAlias", { "aliasId": args.aliasId, @@ -43,7 +42,10 @@ export interface GetConnectionAliasResult { * Resource Type definition for AWS::WorkSpaces::ConnectionAlias */ export function getConnectionAliasOutput(args: GetConnectionAliasOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getConnectionAlias(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:workspaces:getConnectionAlias", { + "aliasId": args.aliasId, + }, opts); } export interface GetConnectionAliasOutputArgs { diff --git a/sdk/nodejs/workspaces/getWorkspacesPool.ts b/sdk/nodejs/workspaces/getWorkspacesPool.ts index 3eb8d43ebe..670ea9cd84 100644 --- a/sdk/nodejs/workspaces/getWorkspacesPool.ts +++ b/sdk/nodejs/workspaces/getWorkspacesPool.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource Type definition for AWS::WorkSpaces::WorkspacesPool */ export function getWorkspacesPool(args: GetWorkspacesPoolArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:workspaces:getWorkspacesPool", { "poolId": args.poolId, @@ -67,7 +66,10 @@ export interface GetWorkspacesPoolResult { * Resource Type definition for AWS::WorkSpaces::WorkspacesPool */ export function getWorkspacesPoolOutput(args: GetWorkspacesPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getWorkspacesPool(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:workspaces:getWorkspacesPool", { + "poolId": args.poolId, + }, opts); } export interface GetWorkspacesPoolOutputArgs { diff --git a/sdk/nodejs/workspacesthinclient/getEnvironment.ts b/sdk/nodejs/workspacesthinclient/getEnvironment.ts index b5bf255318..9d155c98ab 100644 --- a/sdk/nodejs/workspacesthinclient/getEnvironment.ts +++ b/sdk/nodejs/workspacesthinclient/getEnvironment.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Resource type definition for AWS::WorkSpacesThinClient::Environment. */ export function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:workspacesthinclient:getEnvironment", { "id": args.id, @@ -103,7 +102,10 @@ export interface GetEnvironmentResult { * Resource type definition for AWS::WorkSpacesThinClient::Environment. */ export function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getEnvironment(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:workspacesthinclient:getEnvironment", { + "id": args.id, + }, opts); } export interface GetEnvironmentOutputArgs { diff --git a/sdk/nodejs/workspacesweb/getBrowserSettings.ts b/sdk/nodejs/workspacesweb/getBrowserSettings.ts index a5c0253a46..996b7c6102 100644 --- a/sdk/nodejs/workspacesweb/getBrowserSettings.ts +++ b/sdk/nodejs/workspacesweb/getBrowserSettings.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::WorkSpacesWeb::BrowserSettings Resource Type */ export function getBrowserSettings(args: GetBrowserSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:workspacesweb:getBrowserSettings", { "browserSettingsArn": args.browserSettingsArn, @@ -47,7 +46,10 @@ export interface GetBrowserSettingsResult { * Definition of AWS::WorkSpacesWeb::BrowserSettings Resource Type */ export function getBrowserSettingsOutput(args: GetBrowserSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getBrowserSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:workspacesweb:getBrowserSettings", { + "browserSettingsArn": args.browserSettingsArn, + }, opts); } export interface GetBrowserSettingsOutputArgs { diff --git a/sdk/nodejs/workspacesweb/getIdentityProvider.ts b/sdk/nodejs/workspacesweb/getIdentityProvider.ts index 35d08f8dc4..27508ba3e1 100644 --- a/sdk/nodejs/workspacesweb/getIdentityProvider.ts +++ b/sdk/nodejs/workspacesweb/getIdentityProvider.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::WorkSpacesWeb::IdentityProvider Resource Type */ export function getIdentityProvider(args: GetIdentityProviderArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:workspacesweb:getIdentityProvider", { "identityProviderArn": args.identityProviderArn, @@ -85,7 +84,10 @@ export interface GetIdentityProviderResult { * Definition of AWS::WorkSpacesWeb::IdentityProvider Resource Type */ export function getIdentityProviderOutput(args: GetIdentityProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIdentityProvider(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:workspacesweb:getIdentityProvider", { + "identityProviderArn": args.identityProviderArn, + }, opts); } export interface GetIdentityProviderOutputArgs { diff --git a/sdk/nodejs/workspacesweb/getIpAccessSettings.ts b/sdk/nodejs/workspacesweb/getIpAccessSettings.ts index af5b5db800..54866f9ecf 100644 --- a/sdk/nodejs/workspacesweb/getIpAccessSettings.ts +++ b/sdk/nodejs/workspacesweb/getIpAccessSettings.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::WorkSpacesWeb::IpAccessSettings Resource Type */ export function getIpAccessSettings(args: GetIpAccessSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:workspacesweb:getIpAccessSettings", { "ipAccessSettingsArn": args.ipAccessSettingsArn, @@ -59,7 +58,10 @@ export interface GetIpAccessSettingsResult { * Definition of AWS::WorkSpacesWeb::IpAccessSettings Resource Type */ export function getIpAccessSettingsOutput(args: GetIpAccessSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getIpAccessSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:workspacesweb:getIpAccessSettings", { + "ipAccessSettingsArn": args.ipAccessSettingsArn, + }, opts); } export interface GetIpAccessSettingsOutputArgs { diff --git a/sdk/nodejs/workspacesweb/getNetworkSettings.ts b/sdk/nodejs/workspacesweb/getNetworkSettings.ts index aef4d1ef72..eaed538c20 100644 --- a/sdk/nodejs/workspacesweb/getNetworkSettings.ts +++ b/sdk/nodejs/workspacesweb/getNetworkSettings.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::WorkSpacesWeb::NetworkSettings Resource Type */ export function getNetworkSettings(args: GetNetworkSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:workspacesweb:getNetworkSettings", { "networkSettingsArn": args.networkSettingsArn, @@ -61,7 +60,10 @@ export interface GetNetworkSettingsResult { * Definition of AWS::WorkSpacesWeb::NetworkSettings Resource Type */ export function getNetworkSettingsOutput(args: GetNetworkSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getNetworkSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:workspacesweb:getNetworkSettings", { + "networkSettingsArn": args.networkSettingsArn, + }, opts); } export interface GetNetworkSettingsOutputArgs { diff --git a/sdk/nodejs/workspacesweb/getPortal.ts b/sdk/nodejs/workspacesweb/getPortal.ts index f0302b6a63..1af493d4e5 100644 --- a/sdk/nodejs/workspacesweb/getPortal.ts +++ b/sdk/nodejs/workspacesweb/getPortal.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::WorkSpacesWeb::Portal Resource Type */ export function getPortal(args: GetPortalArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:workspacesweb:getPortal", { "portalArn": args.portalArn, @@ -119,7 +118,10 @@ export interface GetPortalResult { * Definition of AWS::WorkSpacesWeb::Portal Resource Type */ export function getPortalOutput(args: GetPortalOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getPortal(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:workspacesweb:getPortal", { + "portalArn": args.portalArn, + }, opts); } export interface GetPortalOutputArgs { diff --git a/sdk/nodejs/workspacesweb/getTrustStore.ts b/sdk/nodejs/workspacesweb/getTrustStore.ts index d23fce77a1..4aa91c3476 100644 --- a/sdk/nodejs/workspacesweb/getTrustStore.ts +++ b/sdk/nodejs/workspacesweb/getTrustStore.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::WorkSpacesWeb::TrustStore Resource Type */ export function getTrustStore(args: GetTrustStoreArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:workspacesweb:getTrustStore", { "trustStoreArn": args.trustStoreArn, @@ -47,7 +46,10 @@ export interface GetTrustStoreResult { * Definition of AWS::WorkSpacesWeb::TrustStore Resource Type */ export function getTrustStoreOutput(args: GetTrustStoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getTrustStore(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:workspacesweb:getTrustStore", { + "trustStoreArn": args.trustStoreArn, + }, opts); } export interface GetTrustStoreOutputArgs { diff --git a/sdk/nodejs/workspacesweb/getUserAccessLoggingSettings.ts b/sdk/nodejs/workspacesweb/getUserAccessLoggingSettings.ts index 0ec8206e4a..b7caeb268d 100644 --- a/sdk/nodejs/workspacesweb/getUserAccessLoggingSettings.ts +++ b/sdk/nodejs/workspacesweb/getUserAccessLoggingSettings.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::WorkSpacesWeb::UserAccessLoggingSettings Resource Type */ export function getUserAccessLoggingSettings(args: GetUserAccessLoggingSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:workspacesweb:getUserAccessLoggingSettings", { "userAccessLoggingSettingsArn": args.userAccessLoggingSettingsArn, @@ -47,7 +46,10 @@ export interface GetUserAccessLoggingSettingsResult { * Definition of AWS::WorkSpacesWeb::UserAccessLoggingSettings Resource Type */ export function getUserAccessLoggingSettingsOutput(args: GetUserAccessLoggingSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserAccessLoggingSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:workspacesweb:getUserAccessLoggingSettings", { + "userAccessLoggingSettingsArn": args.userAccessLoggingSettingsArn, + }, opts); } export interface GetUserAccessLoggingSettingsOutputArgs { diff --git a/sdk/nodejs/workspacesweb/getUserSettings.ts b/sdk/nodejs/workspacesweb/getUserSettings.ts index 0124d1f71f..9817111a3a 100644 --- a/sdk/nodejs/workspacesweb/getUserSettings.ts +++ b/sdk/nodejs/workspacesweb/getUserSettings.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * Definition of AWS::WorkSpacesWeb::UserSettings Resource Type */ export function getUserSettings(args: GetUserSettingsArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:workspacesweb:getUserSettings", { "userSettingsArn": args.userSettingsArn, @@ -87,7 +86,10 @@ export interface GetUserSettingsResult { * Definition of AWS::WorkSpacesWeb::UserSettings Resource Type */ export function getUserSettingsOutput(args: GetUserSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getUserSettings(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:workspacesweb:getUserSettings", { + "userSettingsArn": args.userSettingsArn, + }, opts); } export interface GetUserSettingsOutputArgs { diff --git a/sdk/nodejs/xray/getGroup.ts b/sdk/nodejs/xray/getGroup.ts index e031cedac5..ab9295ac93 100644 --- a/sdk/nodejs/xray/getGroup.ts +++ b/sdk/nodejs/xray/getGroup.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * This schema provides construct and validation rules for AWS-XRay Group resource parameters. */ export function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:xray:getGroup", { "groupArn": args.groupArn, @@ -54,7 +53,10 @@ export interface GetGroupResult { * This schema provides construct and validation rules for AWS-XRay Group resource parameters. */ export function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getGroup(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:xray:getGroup", { + "groupArn": args.groupArn, + }, opts); } export interface GetGroupOutputArgs { diff --git a/sdk/nodejs/xray/getResourcePolicy.ts b/sdk/nodejs/xray/getResourcePolicy.ts index 7c3b2e02c0..7c562b7287 100644 --- a/sdk/nodejs/xray/getResourcePolicy.ts +++ b/sdk/nodejs/xray/getResourcePolicy.ts @@ -8,7 +8,6 @@ import * as utilities from "../utilities"; * This schema provides construct and validation rules for AWS-XRay Resource Policy resource parameters. */ export function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:xray:getResourcePolicy", { "policyName": args.policyName, @@ -32,7 +31,10 @@ export interface GetResourcePolicyResult { * This schema provides construct and validation rules for AWS-XRay Resource Policy resource parameters. */ export function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getResourcePolicy(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:xray:getResourcePolicy", { + "policyName": args.policyName, + }, opts); } export interface GetResourcePolicyOutputArgs { diff --git a/sdk/nodejs/xray/getSamplingRule.ts b/sdk/nodejs/xray/getSamplingRule.ts index 3b65116783..c74ecbead7 100644 --- a/sdk/nodejs/xray/getSamplingRule.ts +++ b/sdk/nodejs/xray/getSamplingRule.ts @@ -11,7 +11,6 @@ import * as utilities from "../utilities"; * This schema provides construct and validation rules for AWS-XRay SamplingRule resource parameters. */ export function getSamplingRule(args: GetSamplingRuleArgs, opts?: pulumi.InvokeOptions): Promise { - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws-native:xray:getSamplingRule", { "ruleArn": args.ruleArn, @@ -46,7 +45,10 @@ export interface GetSamplingRuleResult { * This schema provides construct and validation rules for AWS-XRay SamplingRule resource parameters. */ export function getSamplingRuleOutput(args: GetSamplingRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getSamplingRule(a, opts)) + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("aws-native:xray:getSamplingRule", { + "ruleArn": args.ruleArn, + }, opts); } export interface GetSamplingRuleOutputArgs { diff --git a/sdk/python/pulumi_aws_native/_inputs.py b/sdk/python/pulumi_aws_native/_inputs.py index 80163bac8b..e523cf06cd 100644 --- a/sdk/python/pulumi_aws_native/_inputs.py +++ b/sdk/python/pulumi_aws_native/_inputs.py @@ -4,22 +4,56 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from ._enums import * __all__ = [ 'AutoNamingArgs', + 'AutoNamingArgsDict', 'CreateOnlyTagArgs', + 'CreateOnlyTagArgsDict', 'ProviderAssumeRoleArgs', + 'ProviderAssumeRoleArgsDict', 'ProviderDefaultTagsArgs', + 'ProviderDefaultTagsArgsDict', 'ProviderEndpointArgs', + 'ProviderEndpointArgsDict', 'ProviderIgnoreTagsArgs', + 'ProviderIgnoreTagsArgsDict', 'TagArgs', + 'TagArgsDict', ] +MYPY = False + +if not MYPY: + class AutoNamingArgsDict(TypedDict): + """ + Auto-naming specification for the resource. + """ + max_length: NotRequired[pulumi.Input[int]] + """ + The maximum length of the name. + """ + min_length: NotRequired[pulumi.Input[int]] + """ + The minimum length of the name. + """ + property_name: NotRequired[pulumi.Input[str]] + """ + The name of the property in the Cloud Control payload that is used to set the name of the resource. + """ +elif False: + AutoNamingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoNamingArgs: def __init__(__self__, *, @@ -76,6 +110,22 @@ def property_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "property_name", value) +if not MYPY: + class CreateOnlyTagArgsDict(TypedDict): + """ + A set of tags to apply to the resource. + """ + key: pulumi.Input[str] + """ + The key name of the tag + """ + value: pulumi.Input[str] + """ + The value of the tag + """ +elif False: + CreateOnlyTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CreateOnlyTagArgs: def __init__(__self__, *, @@ -114,6 +164,46 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ProviderAssumeRoleArgsDict(TypedDict): + """ + The configuration for a Provider to assume a role. + """ + duration_seconds: NotRequired[pulumi.Input[int]] + """ + Number of seconds to restrict the assume role session duration. + """ + external_id: NotRequired[pulumi.Input[str]] + """ + External identifier to use when assuming the role. + """ + policy: NotRequired[pulumi.Input[str]] + """ + IAM Policy JSON describing further restricting permissions for the IAM Role being assumed. + """ + policy_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the role. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + Amazon Resource Name (ARN) of the IAM Role to assume. + """ + session_name: NotRequired[pulumi.Input[str]] + """ + Session name to use when assuming the role. + """ + tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Map of assume role session tags. + """ + transitive_tag_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of keys for session tags that you want to set as transitive. If you set a tag key as transitive, the corresponding key and value passes to subsequent sessions in a role chain. + """ +elif False: + ProviderAssumeRoleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProviderAssumeRoleArgs: def __init__(__self__, *, @@ -250,6 +340,18 @@ def transitive_tag_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "transitive_tag_keys", value) +if not MYPY: + class ProviderDefaultTagsArgsDict(TypedDict): + """ + The configuration with resource tag settings to apply across all resources handled by this provider. This is designed to replace redundant per-resource `tags` configurations. Provider tags can be overridden with new values, but not excluded from specific resources. To override provider tag values, use the `tags` argument within a resource to configure new tag values for matching keys. + """ + tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A group of tags to set across all resources. + """ +elif False: + ProviderDefaultTagsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProviderDefaultTagsArgs: def __init__(__self__, *, @@ -274,6 +376,34 @@ def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "tags", value) +if not MYPY: + class ProviderEndpointArgsDict(TypedDict): + """ + The configuration for for customizing service endpoints. + """ + cloudcontrol: NotRequired[pulumi.Input[str]] + """ + Override the default endpoint for AWS CloudControl + """ + cloudformation: NotRequired[pulumi.Input[str]] + """ + Override the default endpoint for AWS CloudFormation + """ + ec2: NotRequired[pulumi.Input[str]] + """ + Override the default endpoint for AWS Elastic Compute Cloud (EC2) + """ + ssm: NotRequired[pulumi.Input[str]] + """ + Override the default endpoint for AWS Systems Manager + """ + sts: NotRequired[pulumi.Input[str]] + """ + Override the default endpoint for AWS Security Token Service (STS) + """ +elif False: + ProviderEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProviderEndpointArgs: def __init__(__self__, *, @@ -362,6 +492,22 @@ def sts(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sts", value) +if not MYPY: + class ProviderIgnoreTagsArgsDict(TypedDict): + """ + The configuration with resource tag settings to ignore across all resources handled by this provider (except any individual service tag resources such as `ec2.Tag`) for situations where external systems are managing certain resource tags. + """ + key_prefixes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of exact resource tag keys to ignore across all resources handled by this provider. This configuration prevents Pulumi from returning the tag in any `tags` attributes and displaying any configuration difference for the tag value. If any resource configuration still has this tag key configured in the `tags` argument, it will display a perpetual difference until the tag is removed from the argument or `ignoreChanges` is also used. + """ + keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of resource tag key prefixes to ignore across all resources handled by this provider. This configuration prevents Pulumi from returning any tag key matching the prefixes in any `tags` attributes and displaying any configuration difference for those tag values. If any resource configuration still has a tag matching one of the prefixes configured in the `tags` argument, it will display a perpetual difference until the tag is removed from the argument or `ignoreChanges` is also used. + """ +elif False: + ProviderIgnoreTagsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProviderIgnoreTagsArgs: def __init__(__self__, *, @@ -402,6 +548,22 @@ def keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "keys", value) +if not MYPY: + class TagArgsDict(TypedDict): + """ + A set of tags to apply to the resource. + """ + key: pulumi.Input[str] + """ + The key name of the tag + """ + value: pulumi.Input[str] + """ + The value of the tag + """ +elif False: + TagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TagArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/_utilities.py b/sdk/python/pulumi_aws_native/_utilities.py index dcf4c01695..67959f3327 100644 --- a/sdk/python/pulumi_aws_native/_utilities.py +++ b/sdk/python/pulumi_aws_native/_utilities.py @@ -264,7 +264,7 @@ def call_plain( output = pulumi.runtime.call(tok, props, res, typ) # Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency. - result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output))) + result, known, secret, _ = _sync_await(asyncio.create_task(_await_output(output))) problem = None if not known: diff --git a/sdk/python/pulumi_aws_native/accessanalyzer/_inputs.py b/sdk/python/pulumi_aws_native/accessanalyzer/_inputs.py index 2fa6e52a9a..6474e38555 100644 --- a/sdk/python/pulumi_aws_native/accessanalyzer/_inputs.py +++ b/sdk/python/pulumi_aws_native/accessanalyzer/_inputs.py @@ -4,18 +4,45 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'AnalyzerArchiveRuleArgs', + 'AnalyzerArchiveRuleArgsDict', 'AnalyzerConfigurationPropertiesArgs', + 'AnalyzerConfigurationPropertiesArgsDict', 'AnalyzerFilterArgs', + 'AnalyzerFilterArgsDict', 'AnalyzerUnusedAccessConfigurationArgs', + 'AnalyzerUnusedAccessConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class AnalyzerArchiveRuleArgsDict(TypedDict): + """ + An Access Analyzer archive rule. Archive rules automatically archive new findings that meet the criteria you define when you create the rule. + """ + filter: pulumi.Input[Sequence[pulumi.Input['AnalyzerFilterArgsDict']]] + """ + The criteria for the rule. + """ + rule_name: pulumi.Input[str] + """ + The archive rule name + """ +elif False: + AnalyzerArchiveRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalyzerArchiveRuleArgs: def __init__(__self__, *, @@ -54,6 +81,18 @@ def rule_name(self, value: pulumi.Input[str]): pulumi.set(self, "rule_name", value) +if not MYPY: + class AnalyzerConfigurationPropertiesArgsDict(TypedDict): + """ + The configuration for the analyzer + """ + unused_access_configuration: NotRequired[pulumi.Input['AnalyzerUnusedAccessConfigurationArgsDict']] + """ + Specifies the configuration of an unused access analyzer for an AWS organization or account. External access analyzers do not support any configuration. + """ +elif False: + AnalyzerConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalyzerConfigurationPropertiesArgs: def __init__(__self__, *, @@ -78,6 +117,31 @@ def unused_access_configuration(self, value: Optional[pulumi.Input['AnalyzerUnus pulumi.set(self, "unused_access_configuration", value) +if not MYPY: + class AnalyzerFilterArgsDict(TypedDict): + property: pulumi.Input[str] + """ + The property used to define the criteria in the filter for the rule. + """ + contains: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A "contains" condition to match for the rule. + """ + eq: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An "equals" condition to match for the rule. + """ + exists: NotRequired[pulumi.Input[bool]] + """ + An "exists" condition to match for the rule. + """ + neq: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A "not equal" condition to match for the rule. + """ +elif False: + AnalyzerFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalyzerFilterArgs: def __init__(__self__, *, @@ -164,6 +228,18 @@ def property(self, value: pulumi.Input[str]): pulumi.set(self, "property", value) +if not MYPY: + class AnalyzerUnusedAccessConfigurationArgsDict(TypedDict): + """ + The Configuration for Unused Access Analyzer + """ + unused_access_age: NotRequired[pulumi.Input[int]] + """ + The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 180 days. + """ +elif False: + AnalyzerUnusedAccessConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalyzerUnusedAccessConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/accessanalyzer/analyzer.py b/sdk/python/pulumi_aws_native/accessanalyzer/analyzer.py index 0e0a87c5bc..3aa4b844a3 100644 --- a/sdk/python/pulumi_aws_native/accessanalyzer/analyzer.py +++ b/sdk/python/pulumi_aws_native/accessanalyzer/analyzer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/accessanalyzer/get_analyzer.py b/sdk/python/pulumi_aws_native/accessanalyzer/get_analyzer.py index bedc99f8f5..2bb1b750a0 100644 --- a/sdk/python/pulumi_aws_native/accessanalyzer/get_analyzer.py +++ b/sdk/python/pulumi_aws_native/accessanalyzer/get_analyzer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -84,9 +89,6 @@ def get_analyzer(arn: Optional[str] = None, archive_rules=pulumi.get(__ret__, 'archive_rules'), arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_analyzer) def get_analyzer_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAnalyzerResult]: """ @@ -95,4 +97,11 @@ def get_analyzer_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Amazon Resource Name (ARN) of the analyzer """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:accessanalyzer:getAnalyzer', __args__, opts=opts, typ=GetAnalyzerResult) + return __ret__.apply(lambda __response__: GetAnalyzerResult( + archive_rules=pulumi.get(__response__, 'archive_rules'), + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/accessanalyzer/outputs.py b/sdk/python/pulumi_aws_native/accessanalyzer/outputs.py index c0bb187152..bf63ec9584 100644 --- a/sdk/python/pulumi_aws_native/accessanalyzer/outputs.py +++ b/sdk/python/pulumi_aws_native/accessanalyzer/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/acmpca/_inputs.py b/sdk/python/pulumi_aws_native/acmpca/_inputs.py index f3d071d347..af21b7dec0 100644 --- a/sdk/python/pulumi_aws_native/acmpca/_inputs.py +++ b/sdk/python/pulumi_aws_native/acmpca/_inputs.py @@ -4,41 +4,92 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'CertificateApiPassthroughArgs', + 'CertificateApiPassthroughArgsDict', 'CertificateAuthorityAccessDescriptionArgs', + 'CertificateAuthorityAccessDescriptionArgsDict', 'CertificateAuthorityAccessMethodArgs', + 'CertificateAuthorityAccessMethodArgsDict', 'CertificateAuthorityCrlConfigurationArgs', + 'CertificateAuthorityCrlConfigurationArgsDict', 'CertificateAuthorityCrlDistributionPointExtensionConfigurationArgs', + 'CertificateAuthorityCrlDistributionPointExtensionConfigurationArgsDict', 'CertificateAuthorityCsrExtensionsArgs', + 'CertificateAuthorityCsrExtensionsArgsDict', 'CertificateAuthorityCustomAttributeArgs', + 'CertificateAuthorityCustomAttributeArgsDict', 'CertificateAuthorityEdiPartyNameArgs', + 'CertificateAuthorityEdiPartyNameArgsDict', 'CertificateAuthorityGeneralNameArgs', + 'CertificateAuthorityGeneralNameArgsDict', 'CertificateAuthorityKeyUsageArgs', + 'CertificateAuthorityKeyUsageArgsDict', 'CertificateAuthorityOcspConfigurationArgs', + 'CertificateAuthorityOcspConfigurationArgsDict', 'CertificateAuthorityOtherNameArgs', + 'CertificateAuthorityOtherNameArgsDict', 'CertificateAuthorityRevocationConfigurationArgs', + 'CertificateAuthorityRevocationConfigurationArgsDict', 'CertificateAuthoritySubjectArgs', + 'CertificateAuthoritySubjectArgsDict', 'CertificateCustomAttributeArgs', + 'CertificateCustomAttributeArgsDict', 'CertificateCustomExtensionArgs', + 'CertificateCustomExtensionArgsDict', 'CertificateEdiPartyNameArgs', + 'CertificateEdiPartyNameArgsDict', 'CertificateExtendedKeyUsageArgs', + 'CertificateExtendedKeyUsageArgsDict', 'CertificateExtensionsArgs', + 'CertificateExtensionsArgsDict', 'CertificateGeneralNameArgs', + 'CertificateGeneralNameArgsDict', 'CertificateKeyUsageArgs', + 'CertificateKeyUsageArgsDict', 'CertificateOtherNameArgs', + 'CertificateOtherNameArgsDict', 'CertificatePolicyInformationArgs', + 'CertificatePolicyInformationArgsDict', 'CertificatePolicyQualifierInfoArgs', + 'CertificatePolicyQualifierInfoArgsDict', 'CertificateQualifierArgs', + 'CertificateQualifierArgsDict', 'CertificateSubjectArgs', + 'CertificateSubjectArgsDict', 'CertificateValidityArgs', + 'CertificateValidityArgsDict', ] +MYPY = False + +if not MYPY: + class CertificateApiPassthroughArgsDict(TypedDict): + """ + Contains X.509 certificate information to be placed in an issued certificate. An ``APIPassthrough`` or ``APICSRPassthrough`` template variant must be selected, or else this parameter is ignored. + If conflicting or duplicate certificate information is supplied from other sources, AWS Private CA applies [order of operation rules](https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html#template-order-of-operations) to determine what information is used. + """ + extensions: NotRequired[pulumi.Input['CertificateExtensionsArgsDict']] + """ + Specifies X.509 extension information for a certificate. + """ + subject: NotRequired[pulumi.Input['CertificateSubjectArgsDict']] + """ + Contains information about the certificate subject. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate. + """ +elif False: + CertificateApiPassthroughArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateApiPassthroughArgs: def __init__(__self__, *, @@ -80,6 +131,16 @@ def subject(self, value: Optional[pulumi.Input['CertificateSubjectArgs']]): pulumi.set(self, "subject", value) +if not MYPY: + class CertificateAuthorityAccessDescriptionArgsDict(TypedDict): + """ + Structure that contains X.509 AccessDescription information. + """ + access_location: pulumi.Input['CertificateAuthorityGeneralNameArgsDict'] + access_method: pulumi.Input['CertificateAuthorityAccessMethodArgsDict'] +elif False: + CertificateAuthorityAccessDescriptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityAccessDescriptionArgs: def __init__(__self__, *, @@ -110,6 +171,16 @@ def access_method(self, value: pulumi.Input['CertificateAuthorityAccessMethodArg pulumi.set(self, "access_method", value) +if not MYPY: + class CertificateAuthorityAccessMethodArgsDict(TypedDict): + """ + Structure that contains X.509 AccessMethod information. Assign one and ONLY one field. + """ + access_method_type: NotRequired[pulumi.Input[str]] + custom_object_identifier: NotRequired[pulumi.Input[str]] +elif False: + CertificateAuthorityAccessMethodArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityAccessMethodArgs: def __init__(__self__, *, @@ -142,6 +213,48 @@ def custom_object_identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "custom_object_identifier", value) +if not MYPY: + class CertificateAuthorityCrlConfigurationArgsDict(TypedDict): + """ + Your certificate authority can create and maintain a certificate revocation list (CRL). A CRL contains information about certificates that have been revoked. + """ + enabled: pulumi.Input[bool] + """ + Boolean value that specifies whether certificate revocation lists (CRLs) are enabled. You can use this value to enable certificate revocation for a new CA when you call the `CreateCertificateAuthority` operation or for an existing CA when you call the `UpdateCertificateAuthority` operation. + """ + crl_distribution_point_extension_configuration: NotRequired[pulumi.Input['CertificateAuthorityCrlDistributionPointExtensionConfigurationArgsDict']] + """ + Configures the default behavior of the CRL Distribution Point extension for certificates issued by your CA. If this field is not provided, then the CRL Distribution Point extension will be present and contain the default CRL URL. + """ + custom_cname: NotRequired[pulumi.Input[str]] + """ + Name inserted into the certificate *CRL Distribution Points* extension that enables the use of an alias for the CRL distribution point. Use this value if you don't want the name of your S3 bucket to be public. + + > The content of a Canonical Name (CNAME) record must conform to [RFC2396](https://docs.aws.amazon.com/https://www.ietf.org/rfc/rfc2396.txt) restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as "http://" or "https://". + """ + expiration_in_days: NotRequired[pulumi.Input[int]] + """ + Validity period of the CRL in days. + """ + s3_bucket_name: NotRequired[pulumi.Input[str]] + """ + Name of the S3 bucket that contains the CRL. If you do not provide a value for the *CustomCname* argument, the name of your S3 bucket is placed into the *CRL Distribution Points* extension of the issued certificate. You can change the name of your bucket by calling the [UpdateCertificateAuthority](https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html) operation. You must specify a [bucket policy](https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#s3-policies) that allows AWS Private CA to write the CRL to your bucket. + + > The `S3BucketName` parameter must conform to the [S3 bucket naming rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html) . + """ + s3_object_acl: NotRequired[pulumi.Input[str]] + """ + Determines whether the CRL will be publicly readable or privately held in the CRL Amazon S3 bucket. If you choose PUBLIC_READ, the CRL will be accessible over the public internet. If you choose BUCKET_OWNER_FULL_CONTROL, only the owner of the CRL S3 bucket can access the CRL, and your PKI clients may need an alternative method of access. + + If no value is specified, the default is PUBLIC_READ. + + *Note:* This default can cause CA creation to fail in some circumstances. If you have have enabled the Block Public Access (BPA) feature in your S3 account, then you must specify the value of this parameter as `BUCKET_OWNER_FULL_CONTROL` , and not doing so results in an error. If you have disabled BPA in S3, then you can specify either `BUCKET_OWNER_FULL_CONTROL` or `PUBLIC_READ` as the value. + + For more information, see [Blocking public access to the S3 bucket](https://docs.aws.amazon.com/privateca/latest/userguide/PcaCreateCa.html#s3-bpa) . + """ +elif False: + CertificateAuthorityCrlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityCrlConfigurationArgs: def __init__(__self__, *, @@ -265,6 +378,22 @@ def s3_object_acl(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_object_acl", value) +if not MYPY: + class CertificateAuthorityCrlDistributionPointExtensionConfigurationArgsDict(TypedDict): + """ + Configures the default behavior of the CRL Distribution Point extension for certificates issued by your certificate authority + """ + omit_extension: pulumi.Input[bool] + """ + Configures whether the CRL Distribution Point extension should be populated with the default URL to the CRL. If set to `true` , then the CDP extension will not be present in any certificates issued by that CA unless otherwise specified through CSR or API passthrough. + + > Only set this if you have another way to distribute the CRL Distribution Points for certificates issued by your CA, such as the Matter Distributed Compliance Ledger. + > + > This configuration cannot be enabled with a custom CNAME set. + """ +elif False: + CertificateAuthorityCrlDistributionPointExtensionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityCrlDistributionPointExtensionConfigurationArgs: def __init__(__self__, *, @@ -296,6 +425,22 @@ def omit_extension(self, value: pulumi.Input[bool]): pulumi.set(self, "omit_extension", value) +if not MYPY: + class CertificateAuthorityCsrExtensionsArgsDict(TypedDict): + """ + Structure that contains CSR pass though extensions information. + """ + key_usage: NotRequired[pulumi.Input['CertificateAuthorityKeyUsageArgsDict']] + """ + Indicates the purpose of the certificate and of the key contained in the certificate. + """ + subject_information_access: NotRequired[pulumi.Input[Sequence[pulumi.Input['CertificateAuthorityAccessDescriptionArgsDict']]]] + """ + For CA certificates, provides a path to additional information pertaining to the CA, such as revocation and policy. For more information, see [Subject Information Access](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.2.2) in RFC 5280. + """ +elif False: + CertificateAuthorityCsrExtensionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityCsrExtensionsArgs: def __init__(__self__, *, @@ -336,6 +481,16 @@ def subject_information_access(self, value: Optional[pulumi.Input[Sequence[pulum pulumi.set(self, "subject_information_access", value) +if not MYPY: + class CertificateAuthorityCustomAttributeArgsDict(TypedDict): + """ + Structure that contains X.500 attribute type and value. + """ + object_identifier: pulumi.Input[str] + value: pulumi.Input[str] +elif False: + CertificateAuthorityCustomAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityCustomAttributeArgs: def __init__(__self__, *, @@ -366,6 +521,16 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class CertificateAuthorityEdiPartyNameArgsDict(TypedDict): + """ + Structure that contains X.509 EdiPartyName information. + """ + party_name: pulumi.Input[str] + name_assigner: NotRequired[pulumi.Input[str]] +elif False: + CertificateAuthorityEdiPartyNameArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityEdiPartyNameArgs: def __init__(__self__, *, @@ -397,6 +562,22 @@ def name_assigner(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name_assigner", value) +if not MYPY: + class CertificateAuthorityGeneralNameArgsDict(TypedDict): + """ + Structure that contains X.509 GeneralName information. Assign one and ONLY one field. + """ + directory_name: NotRequired[pulumi.Input['CertificateAuthoritySubjectArgsDict']] + dns_name: NotRequired[pulumi.Input[str]] + edi_party_name: NotRequired[pulumi.Input['CertificateAuthorityEdiPartyNameArgsDict']] + ip_address: NotRequired[pulumi.Input[str]] + other_name: NotRequired[pulumi.Input['CertificateAuthorityOtherNameArgsDict']] + registered_id: NotRequired[pulumi.Input[str]] + rfc822_name: NotRequired[pulumi.Input[str]] + uniform_resource_identifier: NotRequired[pulumi.Input[str]] +elif False: + CertificateAuthorityGeneralNameArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityGeneralNameArgs: def __init__(__self__, *, @@ -501,6 +682,50 @@ def uniform_resource_identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uniform_resource_identifier", value) +if not MYPY: + class CertificateAuthorityKeyUsageArgsDict(TypedDict): + """ + Structure that contains X.509 KeyUsage information. + """ + crl_sign: NotRequired[pulumi.Input[bool]] + """ + Key can be used to sign CRLs. + """ + data_encipherment: NotRequired[pulumi.Input[bool]] + """ + Key can be used to decipher data. + """ + decipher_only: NotRequired[pulumi.Input[bool]] + """ + Key can be used only to decipher data. + """ + digital_signature: NotRequired[pulumi.Input[bool]] + """ + Key can be used for digital signing. + """ + encipher_only: NotRequired[pulumi.Input[bool]] + """ + Key can be used only to encipher data. + """ + key_agreement: NotRequired[pulumi.Input[bool]] + """ + Key can be used in a key-agreement protocol. + """ + key_cert_sign: NotRequired[pulumi.Input[bool]] + """ + Key can be used to sign certificates. + """ + key_encipherment: NotRequired[pulumi.Input[bool]] + """ + Key can be used to encipher data. + """ + non_repudiation: NotRequired[pulumi.Input[bool]] + """ + Key can be used for non-repudiation. + """ +elif False: + CertificateAuthorityKeyUsageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityKeyUsageArgs: def __init__(__self__, *, @@ -653,6 +878,24 @@ def non_repudiation(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "non_repudiation", value) +if not MYPY: + class CertificateAuthorityOcspConfigurationArgsDict(TypedDict): + """ + Helps to configure online certificate status protocol (OCSP) responder for your certificate authority + """ + enabled: pulumi.Input[bool] + """ + Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation status. + """ + ocsp_custom_cname: NotRequired[pulumi.Input[str]] + """ + By default, AWS Private CA injects an Amazon domain into certificates being validated by the Online Certificate Status Protocol (OCSP). A customer can alternatively use this object to define a CNAME specifying a customized OCSP domain. + + > The content of a Canonical Name (CNAME) record must conform to [RFC2396](https://docs.aws.amazon.com/https://www.ietf.org/rfc/rfc2396.txt) restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as "http://" or "https://". + """ +elif False: + CertificateAuthorityOcspConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityOcspConfigurationArgs: def __init__(__self__, *, @@ -696,6 +939,16 @@ def ocsp_custom_cname(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ocsp_custom_cname", value) +if not MYPY: + class CertificateAuthorityOtherNameArgsDict(TypedDict): + """ + Structure that contains X.509 OtherName information. + """ + type_id: pulumi.Input[str] + value: pulumi.Input[str] +elif False: + CertificateAuthorityOtherNameArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityOtherNameArgs: def __init__(__self__, *, @@ -726,6 +979,22 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class CertificateAuthorityRevocationConfigurationArgsDict(TypedDict): + """ + Certificate Authority revocation information. + """ + crl_configuration: NotRequired[pulumi.Input['CertificateAuthorityCrlConfigurationArgsDict']] + """ + Configuration of the certificate revocation list (CRL), if any, maintained by your private CA. + """ + ocsp_configuration: NotRequired[pulumi.Input['CertificateAuthorityOcspConfigurationArgsDict']] + """ + Configuration of Online Certificate Status Protocol (OCSP) support, if any, maintained by your private CA. + """ +elif False: + CertificateAuthorityRevocationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthorityRevocationConfigurationArgs: def __init__(__self__, *, @@ -766,6 +1035,29 @@ def ocsp_configuration(self, value: Optional[pulumi.Input['CertificateAuthorityO pulumi.set(self, "ocsp_configuration", value) +if not MYPY: + class CertificateAuthoritySubjectArgsDict(TypedDict): + """ + Structure that contains X.500 distinguished name information for your CA. + """ + common_name: NotRequired[pulumi.Input[str]] + country: NotRequired[pulumi.Input[str]] + custom_attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input['CertificateAuthorityCustomAttributeArgsDict']]]] + distinguished_name_qualifier: NotRequired[pulumi.Input[str]] + generation_qualifier: NotRequired[pulumi.Input[str]] + given_name: NotRequired[pulumi.Input[str]] + initials: NotRequired[pulumi.Input[str]] + locality: NotRequired[pulumi.Input[str]] + organization: NotRequired[pulumi.Input[str]] + organizational_unit: NotRequired[pulumi.Input[str]] + pseudonym: NotRequired[pulumi.Input[str]] + serial_number: NotRequired[pulumi.Input[str]] + state: NotRequired[pulumi.Input[str]] + surname: NotRequired[pulumi.Input[str]] + title: NotRequired[pulumi.Input[str]] +elif False: + CertificateAuthoritySubjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateAuthoritySubjectArgs: def __init__(__self__, *, @@ -954,6 +1246,22 @@ def title(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "title", value) +if not MYPY: + class CertificateCustomAttributeArgsDict(TypedDict): + """ + Defines the X.500 relative distinguished name (RDN). + """ + object_identifier: pulumi.Input[str] + """ + Specifies the object identifier (OID) of the attribute type of the relative distinguished name (RDN). + """ + value: pulumi.Input[str] + """ + Specifies the attribute value of relative distinguished name (RDN). + """ +elif False: + CertificateCustomAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateCustomAttributeArgs: def __init__(__self__, *, @@ -992,6 +1300,27 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class CertificateCustomExtensionArgsDict(TypedDict): + """ + Specifies the X.509 extension information for a certificate. + Extensions present in ``CustomExtensions`` follow the ``ApiPassthrough`` [template rules](https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html#template-order-of-operations). + """ + object_identifier: pulumi.Input[str] + """ + Specifies the object identifier (OID) of the X.509 extension. For more information, see the [Global OID reference database.](https://docs.aws.amazon.com/https://oidref.com/2.5.29) + """ + value: pulumi.Input[str] + """ + Specifies the base64-encoded value of the X.509 extension. + """ + critical: NotRequired[pulumi.Input[bool]] + """ + Specifies the critical flag of the X.509 extension. + """ +elif False: + CertificateCustomExtensionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateCustomExtensionArgs: def __init__(__self__, *, @@ -1047,6 +1376,22 @@ def critical(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "critical", value) +if not MYPY: + class CertificateEdiPartyNameArgsDict(TypedDict): + """ + Describes an Electronic Data Interchange (EDI) entity as described in as defined in [Subject Alternative Name](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280) in RFC 5280. + """ + name_assigner: pulumi.Input[str] + """ + Specifies the name assigner. + """ + party_name: pulumi.Input[str] + """ + Specifies the party name. + """ +elif False: + CertificateEdiPartyNameArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateEdiPartyNameArgs: def __init__(__self__, *, @@ -1085,6 +1430,22 @@ def party_name(self, value: pulumi.Input[str]): pulumi.set(self, "party_name", value) +if not MYPY: + class CertificateExtendedKeyUsageArgsDict(TypedDict): + """ + Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the ``KeyUsage`` extension. + """ + extended_key_usage_object_identifier: NotRequired[pulumi.Input[str]] + """ + Specifies a custom ``ExtendedKeyUsage`` with an object identifier (OID). + """ + extended_key_usage_type: NotRequired[pulumi.Input[str]] + """ + Specifies a standard ``ExtendedKeyUsage`` as defined as in [RFC 5280](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12). + """ +elif False: + CertificateExtendedKeyUsageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateExtendedKeyUsageArgs: def __init__(__self__, *, @@ -1125,6 +1486,35 @@ def extended_key_usage_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "extended_key_usage_type", value) +if not MYPY: + class CertificateExtensionsArgsDict(TypedDict): + """ + Contains X.509 extension information for a certificate. + """ + certificate_policies: NotRequired[pulumi.Input[Sequence[pulumi.Input['CertificatePolicyInformationArgsDict']]]] + """ + Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of [Object Identifier (OID)](https://docs.aws.amazon.com/https://csrc.nist.gov/glossary/term/Object_Identifier). + In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate. + """ + custom_extensions: NotRequired[pulumi.Input[Sequence[pulumi.Input['CertificateCustomExtensionArgsDict']]]] + """ + Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the [Global OID reference database.](https://docs.aws.amazon.com/https://oidref.com/2.5.29) + """ + extended_key_usage: NotRequired[pulumi.Input[Sequence[pulumi.Input['CertificateExtendedKeyUsageArgsDict']]]] + """ + Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the ``KeyUsage`` extension. + """ + key_usage: NotRequired[pulumi.Input['CertificateKeyUsageArgsDict']] + """ + Defines one or more purposes for which the key contained in the certificate can be used. Default value for each option is false. + """ + subject_alternative_names: NotRequired[pulumi.Input[Sequence[pulumi.Input['CertificateGeneralNameArgsDict']]]] + """ + The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate. + """ +elif False: + CertificateExtensionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateExtensionsArgs: def __init__(__self__, *, @@ -1215,6 +1605,46 @@ def subject_alternative_names(self, value: Optional[pulumi.Input[Sequence[pulumi pulumi.set(self, "subject_alternative_names", value) +if not MYPY: + class CertificateGeneralNameArgsDict(TypedDict): + """ + Describes an ASN.1 X.400 ``GeneralName`` as defined in [RFC 5280](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280). Only one of the following naming options should be provided. Providing more than one option results in an ``InvalidArgsException`` error. + """ + directory_name: NotRequired[pulumi.Input['CertificateSubjectArgsDict']] + """ + Contains information about the certificate subject. The certificate can be one issued by your private certificate authority (CA) or it can be your private CA certificate. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate. The DN must be unique for each entity, but your private CA can issue more than one certificate with the same DN to the same entity. + """ + dns_name: NotRequired[pulumi.Input[str]] + """ + Represents ``GeneralName`` as a DNS name. + """ + edi_party_name: NotRequired[pulumi.Input['CertificateEdiPartyNameArgsDict']] + """ + Represents ``GeneralName`` as an ``EdiPartyName`` object. + """ + ip_address: NotRequired[pulumi.Input[str]] + """ + Represents ``GeneralName`` as an IPv4 or IPv6 address. + """ + other_name: NotRequired[pulumi.Input['CertificateOtherNameArgsDict']] + """ + Represents ``GeneralName`` using an ``OtherName`` object. + """ + registered_id: NotRequired[pulumi.Input[str]] + """ + Represents ``GeneralName`` as an object identifier (OID). + """ + rfc822_name: NotRequired[pulumi.Input[str]] + """ + Represents ``GeneralName`` as an [RFC 822](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc822) email address. + """ + uniform_resource_identifier: NotRequired[pulumi.Input[str]] + """ + Represents ``GeneralName`` as a URI. + """ +elif False: + CertificateGeneralNameArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateGeneralNameArgs: def __init__(__self__, *, @@ -1351,6 +1781,50 @@ def uniform_resource_identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uniform_resource_identifier", value) +if not MYPY: + class CertificateKeyUsageArgsDict(TypedDict): + """ + Defines one or more purposes for which the key contained in the certificate can be used. Default value for each option is false. + """ + crl_sign: NotRequired[pulumi.Input[bool]] + """ + Key can be used to sign CRLs. + """ + data_encipherment: NotRequired[pulumi.Input[bool]] + """ + Key can be used to decipher data. + """ + decipher_only: NotRequired[pulumi.Input[bool]] + """ + Key can be used only to decipher data. + """ + digital_signature: NotRequired[pulumi.Input[bool]] + """ + Key can be used for digital signing. + """ + encipher_only: NotRequired[pulumi.Input[bool]] + """ + Key can be used only to encipher data. + """ + key_agreement: NotRequired[pulumi.Input[bool]] + """ + Key can be used in a key-agreement protocol. + """ + key_cert_sign: NotRequired[pulumi.Input[bool]] + """ + Key can be used to sign certificates. + """ + key_encipherment: NotRequired[pulumi.Input[bool]] + """ + Key can be used to encipher data. + """ + non_repudiation: NotRequired[pulumi.Input[bool]] + """ + Key can be used for non-repudiation. + """ +elif False: + CertificateKeyUsageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateKeyUsageArgs: def __init__(__self__, *, @@ -1503,6 +1977,22 @@ def non_repudiation(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "non_repudiation", value) +if not MYPY: + class CertificateOtherNameArgsDict(TypedDict): + """ + Defines a custom ASN.1 X.400 ``GeneralName`` using an object identifier (OID) and value. The OID must satisfy the regular expression shown below. For more information, see NIST's definition of [Object Identifier (OID)](https://docs.aws.amazon.com/https://csrc.nist.gov/glossary/term/Object_Identifier). + """ + type_id: pulumi.Input[str] + """ + Specifies an OID. + """ + value: pulumi.Input[str] + """ + Specifies an OID value. + """ +elif False: + CertificateOtherNameArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateOtherNameArgs: def __init__(__self__, *, @@ -1541,6 +2031,22 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class CertificatePolicyInformationArgsDict(TypedDict): + """ + Defines the X.509 ``CertificatePolicies`` extension. + """ + cert_policy_id: pulumi.Input[str] + """ + Specifies the object identifier (OID) of the certificate policy under which the certificate was issued. For more information, see NIST's definition of [Object Identifier (OID)](https://docs.aws.amazon.com/https://csrc.nist.gov/glossary/term/Object_Identifier). + """ + policy_qualifiers: NotRequired[pulumi.Input[Sequence[pulumi.Input['CertificatePolicyQualifierInfoArgsDict']]]] + """ + Modifies the given ``CertPolicyId`` with a qualifier. AWS Private CA supports the certification practice statement (CPS) qualifier. + """ +elif False: + CertificatePolicyInformationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificatePolicyInformationArgs: def __init__(__self__, *, @@ -1580,6 +2086,22 @@ def policy_qualifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "policy_qualifiers", value) +if not MYPY: + class CertificatePolicyQualifierInfoArgsDict(TypedDict): + """ + Modifies the ``CertPolicyId`` of a ``PolicyInformation`` object with a qualifier. AWS Private CA supports the certification practice statement (CPS) qualifier. + """ + policy_qualifier_id: pulumi.Input[str] + """ + Identifies the qualifier modifying a ``CertPolicyId``. + """ + qualifier: pulumi.Input['CertificateQualifierArgsDict'] + """ + Defines the qualifier type. AWS Private CA supports the use of a URI for a CPS qualifier in this field. + """ +elif False: + CertificatePolicyQualifierInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificatePolicyQualifierInfoArgs: def __init__(__self__, *, @@ -1618,6 +2140,18 @@ def qualifier(self, value: pulumi.Input['CertificateQualifierArgs']): pulumi.set(self, "qualifier", value) +if not MYPY: + class CertificateQualifierArgsDict(TypedDict): + """ + Defines a ``PolicyInformation`` qualifier. AWS Private CA supports the [certification practice statement (CPS) qualifier](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.4) defined in RFC 5280. + """ + cps_uri: pulumi.Input[str] + """ + Contains a pointer to a certification practice statement (CPS) published by the CA. + """ +elif False: + CertificateQualifierArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateQualifierArgs: def __init__(__self__, *, @@ -1641,6 +2175,76 @@ def cps_uri(self, value: pulumi.Input[str]): pulumi.set(self, "cps_uri", value) +if not MYPY: + class CertificateSubjectArgsDict(TypedDict): + """ + Contains information about the certificate subject. The ``Subject`` field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The ``Subject``must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate. + """ + common_name: NotRequired[pulumi.Input[str]] + """ + For CA and end-entity certificates in a private PKI, the common name (CN) can be any string within the length limit. + Note: In publicly trusted certificates, the common name must be a fully qualified domain name (FQDN) associated with the certificate subject. + """ + country: NotRequired[pulumi.Input[str]] + """ + Two-digit code that specifies the country in which the certificate subject located. + """ + custom_attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input['CertificateCustomAttributeArgsDict']]]] + """ + Contains a sequence of one or more X.500 relative distinguished names (RDNs), each of which consists of an object identifier (OID) and a value. For more information, see NIST’s definition of [Object Identifier (OID)](https://docs.aws.amazon.com/https://csrc.nist.gov/glossary/term/Object_Identifier). + Custom attributes cannot be used in combination with standard attributes. + """ + distinguished_name_qualifier: NotRequired[pulumi.Input[str]] + """ + Disambiguating information for the certificate subject. + """ + generation_qualifier: NotRequired[pulumi.Input[str]] + """ + Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third. + """ + given_name: NotRequired[pulumi.Input[str]] + """ + First name. + """ + initials: NotRequired[pulumi.Input[str]] + """ + Concatenation that typically contains the first letter of the *GivenName*, the first letter of the middle name if one exists, and the first letter of the *Surname*. + """ + locality: NotRequired[pulumi.Input[str]] + """ + The locality (such as a city or town) in which the certificate subject is located. + """ + organization: NotRequired[pulumi.Input[str]] + """ + Legal name of the organization with which the certificate subject is affiliated. + """ + organizational_unit: NotRequired[pulumi.Input[str]] + """ + A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated. + """ + pseudonym: NotRequired[pulumi.Input[str]] + """ + Typically a shortened version of a longer *GivenName*. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza. + """ + serial_number: NotRequired[pulumi.Input[str]] + """ + The certificate serial number. + """ + state: NotRequired[pulumi.Input[str]] + """ + State in which the subject of the certificate is located. + """ + surname: NotRequired[pulumi.Input[str]] + """ + Family name. In the US and the UK, for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first. + """ + title: NotRequired[pulumi.Input[str]] + """ + A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the certificate subject. + """ +elif False: + CertificateSubjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateSubjectArgs: def __init__(__self__, *, @@ -1893,6 +2497,22 @@ def title(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "title", value) +if not MYPY: + class CertificateValidityArgsDict(TypedDict): + """ + Length of time for which the certificate issued by your private certificate authority (CA), or by the private CA itself, is valid in days, months, or years. You can issue a certificate by calling the ``IssueCertificate`` operation. + """ + type: pulumi.Input[str] + """ + Specifies whether the ``Value`` parameter represents days, months, or years. + """ + value: pulumi.Input[float] + """ + A long integer interpreted according to the value of ``Type``, below. + """ +elif False: + CertificateValidityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CertificateValidityArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/acmpca/certificate.py b/sdk/python/pulumi_aws_native/acmpca/certificate.py index 42d810f67f..827c2b8f93 100644 --- a/sdk/python/pulumi_aws_native/acmpca/certificate.py +++ b/sdk/python/pulumi_aws_native/acmpca/certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/acmpca/certificate_authority.py b/sdk/python/pulumi_aws_native/acmpca/certificate_authority.py index db3cb7560d..eeb7ba10d3 100644 --- a/sdk/python/pulumi_aws_native/acmpca/certificate_authority.py +++ b/sdk/python/pulumi_aws_native/acmpca/certificate_authority.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/acmpca/certificate_authority_activation.py b/sdk/python/pulumi_aws_native/acmpca/certificate_authority_activation.py index 7c1ede5e3c..0caa41a3da 100644 --- a/sdk/python/pulumi_aws_native/acmpca/certificate_authority_activation.py +++ b/sdk/python/pulumi_aws_native/acmpca/certificate_authority_activation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['CertificateAuthorityActivationArgs', 'CertificateAuthorityActivation'] diff --git a/sdk/python/pulumi_aws_native/acmpca/get_certificate.py b/sdk/python/pulumi_aws_native/acmpca/get_certificate.py index 674ff9fedc..83c7fb361f 100644 --- a/sdk/python/pulumi_aws_native/acmpca/get_certificate.py +++ b/sdk/python/pulumi_aws_native/acmpca/get_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_certificate(arn: Optional[str] = None, return AwaitableGetCertificateResult( arn=pulumi.get(__ret__, 'arn'), certificate=pulumi.get(__ret__, 'certificate')) - - -@_utilities.lift_output_func(get_certificate) def get_certificate_output(arn: Optional[pulumi.Input[str]] = None, certificate_authority_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateResult]: @@ -85,4 +87,11 @@ def get_certificate_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the issued certificate. :param str certificate_authority_arn: The Amazon Resource Name (ARN) for the private CA issues the certificate. """ - ... + __args__ = dict() + __args__['arn'] = arn + __args__['certificateAuthorityArn'] = certificate_authority_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:acmpca:getCertificate', __args__, opts=opts, typ=GetCertificateResult) + return __ret__.apply(lambda __response__: GetCertificateResult( + arn=pulumi.get(__response__, 'arn'), + certificate=pulumi.get(__response__, 'certificate'))) diff --git a/sdk/python/pulumi_aws_native/acmpca/get_certificate_authority.py b/sdk/python/pulumi_aws_native/acmpca/get_certificate_authority.py index eb6714e5df..0ff4bb3128 100644 --- a/sdk/python/pulumi_aws_native/acmpca/get_certificate_authority.py +++ b/sdk/python/pulumi_aws_native/acmpca/get_certificate_authority.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_certificate_authority(arn: Optional[str] = None, return AwaitableGetCertificateAuthorityResult( arn=pulumi.get(__ret__, 'arn'), certificate_signing_request=pulumi.get(__ret__, 'certificate_signing_request')) - - -@_utilities.lift_output_func(get_certificate_authority) def get_certificate_authority_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateAuthorityResult]: """ @@ -80,4 +82,10 @@ def get_certificate_authority_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the certificate authority. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:acmpca:getCertificateAuthority', __args__, opts=opts, typ=GetCertificateAuthorityResult) + return __ret__.apply(lambda __response__: GetCertificateAuthorityResult( + arn=pulumi.get(__response__, 'arn'), + certificate_signing_request=pulumi.get(__response__, 'certificate_signing_request'))) diff --git a/sdk/python/pulumi_aws_native/acmpca/get_certificate_authority_activation.py b/sdk/python/pulumi_aws_native/acmpca/get_certificate_authority_activation.py index 97e64058c3..966d4a3f4b 100644 --- a/sdk/python/pulumi_aws_native/acmpca/get_certificate_authority_activation.py +++ b/sdk/python/pulumi_aws_native/acmpca/get_certificate_authority_activation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_certificate_authority_activation(certificate_authority_arn: Optional[str return AwaitableGetCertificateAuthorityActivationResult( complete_certificate_chain=pulumi.get(__ret__, 'complete_certificate_chain'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_certificate_authority_activation) def get_certificate_authority_activation_output(certificate_authority_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateAuthorityActivationResult]: """ @@ -80,4 +82,10 @@ def get_certificate_authority_activation_output(certificate_authority_arn: Optio :param str certificate_authority_arn: Arn of the Certificate Authority. """ - ... + __args__ = dict() + __args__['certificateAuthorityArn'] = certificate_authority_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:acmpca:getCertificateAuthorityActivation', __args__, opts=opts, typ=GetCertificateAuthorityActivationResult) + return __ret__.apply(lambda __response__: GetCertificateAuthorityActivationResult( + complete_certificate_chain=pulumi.get(__response__, 'complete_certificate_chain'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/acmpca/outputs.py b/sdk/python/pulumi_aws_native/acmpca/outputs.py index 18d4641515..50e2ec58c8 100644 --- a/sdk/python/pulumi_aws_native/acmpca/outputs.py +++ b/sdk/python/pulumi_aws_native/acmpca/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/acmpca/permission.py b/sdk/python/pulumi_aws_native/acmpca/permission.py index 92580487ed..7c666f393a 100644 --- a/sdk/python/pulumi_aws_native/acmpca/permission.py +++ b/sdk/python/pulumi_aws_native/acmpca/permission.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['PermissionArgs', 'Permission'] diff --git a/sdk/python/pulumi_aws_native/amazonmq/configuration.py b/sdk/python/pulumi_aws_native/amazonmq/configuration.py index 256fe5d138..1799ee3fb9 100644 --- a/sdk/python/pulumi_aws_native/amazonmq/configuration.py +++ b/sdk/python/pulumi_aws_native/amazonmq/configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/amazonmq/get_configuration.py b/sdk/python/pulumi_aws_native/amazonmq/get_configuration.py index 2acc079c61..2bf8772306 100644 --- a/sdk/python/pulumi_aws_native/amazonmq/get_configuration.py +++ b/sdk/python/pulumi_aws_native/amazonmq/get_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_configuration(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), revision=pulumi.get(__ret__, 'revision'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_configuration) def get_configuration_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationResult]: """ @@ -120,4 +122,13 @@ def get_configuration_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the Amazon MQ configuration. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:amazonmq:getConfiguration', __args__, opts=opts, typ=GetConfigurationResult) + return __ret__.apply(lambda __response__: GetConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + revision=pulumi.get(__response__, 'revision'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/amplify/_inputs.py b/sdk/python/pulumi_aws_native/amplify/_inputs.py index 66acc2212b..74579dc76f 100644 --- a/sdk/python/pulumi_aws_native/amplify/_inputs.py +++ b/sdk/python/pulumi_aws_native/amplify/_inputs.py @@ -4,25 +4,103 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AppAutoBranchCreationConfigArgs', + 'AppAutoBranchCreationConfigArgsDict', 'AppBasicAuthConfigArgs', + 'AppBasicAuthConfigArgsDict', 'AppCacheConfigArgs', + 'AppCacheConfigArgsDict', 'AppCustomRuleArgs', + 'AppCustomRuleArgsDict', 'AppEnvironmentVariableArgs', + 'AppEnvironmentVariableArgsDict', 'BranchBackendArgs', + 'BranchBackendArgsDict', 'BranchBasicAuthConfigArgs', + 'BranchBasicAuthConfigArgsDict', 'BranchEnvironmentVariableArgs', + 'BranchEnvironmentVariableArgsDict', 'DomainCertificateSettingsArgs', + 'DomainCertificateSettingsArgsDict', 'DomainSubDomainSettingArgs', + 'DomainSubDomainSettingArgsDict', ] +MYPY = False + +if not MYPY: + class AppAutoBranchCreationConfigArgsDict(TypedDict): + auto_branch_creation_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Automated branch creation glob patterns for the Amplify app. + """ + basic_auth_config: NotRequired[pulumi.Input['AppBasicAuthConfigArgsDict']] + """ + Sets password protection for your auto created branch. + """ + build_spec: NotRequired[pulumi.Input[str]] + """ + The build specification (build spec) for the autocreated branch. + """ + enable_auto_branch_creation: NotRequired[pulumi.Input[bool]] + """ + Enables automated branch creation for the Amplify app. + """ + enable_auto_build: NotRequired[pulumi.Input[bool]] + """ + Enables auto building for the auto created branch. + """ + enable_performance_mode: NotRequired[pulumi.Input[bool]] + """ + Enables performance mode for the branch. + + Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out. + """ + enable_pull_request_preview: NotRequired[pulumi.Input[bool]] + """ + Sets whether pull request previews are enabled for each branch that Amplify Hosting automatically creates for your app. Amplify creates previews by deploying your app to a unique URL whenever a pull request is opened for the branch. Development and QA teams can use this preview to test the pull request before it's merged into a production or integration branch. + + To provide backend support for your preview, Amplify Hosting automatically provisions a temporary backend environment that it deletes when the pull request is closed. If you want to specify a dedicated backend environment for your previews, use the `PullRequestEnvironmentName` property. + + For more information, see [Web Previews](https://docs.aws.amazon.com/amplify/latest/userguide/pr-previews.html) in the *AWS Amplify Hosting User Guide* . + """ + environment_variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['AppEnvironmentVariableArgsDict']]]] + """ + The environment variables for the autocreated branch. + """ + framework: NotRequired[pulumi.Input[str]] + """ + The framework for the autocreated branch. + """ + pull_request_environment_name: NotRequired[pulumi.Input[str]] + """ + If pull request previews are enabled, you can use this property to specify a dedicated backend environment for your previews. For example, you could specify an environment named `prod` , `test` , or `dev` that you initialized with the Amplify CLI. + + To enable pull request previews, set the `EnablePullRequestPreview` property to `true` . + + If you don't specify an environment, Amplify Hosting provides backend support for each preview by automatically provisioning a temporary backend environment. Amplify deletes this environment when the pull request is closed. + + For more information about creating backend environments, see [Feature Branch Deployments and Team Workflows](https://docs.aws.amazon.com/amplify/latest/userguide/multi-environments.html) in the *AWS Amplify Hosting User Guide* . + """ + stage: NotRequired[pulumi.Input['AppAutoBranchCreationConfigStage']] + """ + Stage for the auto created branch. + """ +elif False: + AppAutoBranchCreationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppAutoBranchCreationConfigArgs: def __init__(__self__, *, @@ -230,6 +308,23 @@ def stage(self, value: Optional[pulumi.Input['AppAutoBranchCreationConfigStage'] pulumi.set(self, "stage", value) +if not MYPY: + class AppBasicAuthConfigArgsDict(TypedDict): + enable_basic_auth: NotRequired[pulumi.Input[bool]] + """ + Enables basic authorization for the Amplify app's branches. + """ + password: NotRequired[pulumi.Input[str]] + """ + The password for basic authorization. + """ + username: NotRequired[pulumi.Input[str]] + """ + The user name for basic authorization. + """ +elif False: + AppBasicAuthConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppBasicAuthConfigArgs: def __init__(__self__, *, @@ -285,6 +380,19 @@ def username(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "username", value) +if not MYPY: + class AppCacheConfigArgsDict(TypedDict): + type: NotRequired[pulumi.Input['AppCacheConfigType']] + """ + The type of cache configuration to use for an Amplify app. + + The `AMPLIFY_MANAGED` cache configuration automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules. This is the default setting. + + The `AMPLIFY_MANAGED_NO_COOKIES` cache configuration type is the same as `AMPLIFY_MANAGED` , except that it excludes all cookies from the cache key. + """ +elif False: + AppCacheConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppCacheConfigArgs: def __init__(__self__, *, @@ -316,6 +424,33 @@ def type(self, value: Optional[pulumi.Input['AppCacheConfigType']]): pulumi.set(self, "type", value) +if not MYPY: + class AppCustomRuleArgsDict(TypedDict): + source: pulumi.Input[str] + """ + The source pattern for a URL rewrite or redirect rule. + """ + target: pulumi.Input[str] + """ + The target pattern for a URL rewrite or redirect rule. + """ + condition: NotRequired[pulumi.Input[str]] + """ + The condition for a URL rewrite or redirect rule, such as a country code. + """ + status: NotRequired[pulumi.Input[str]] + """ + The status code for a URL rewrite or redirect rule. + + - **200** - Represents a 200 rewrite rule. + - **301** - Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL. + - **302** - Represents a 302 temporary redirect rule. + - **404** - Represents a 404 redirect rule. + - **404-200** - Represents a 404 rewrite rule. + """ +elif False: + AppCustomRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppCustomRuleArgs: def __init__(__self__, *, @@ -397,6 +532,19 @@ def status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "status", value) +if not MYPY: + class AppEnvironmentVariableArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The environment variable name. + """ + value: pulumi.Input[str] + """ + The environment variable value. + """ +elif False: + AppEnvironmentVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppEnvironmentVariableArgs: def __init__(__self__, *, @@ -434,6 +582,15 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class BranchBackendArgsDict(TypedDict): + stack_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) for the AWS CloudFormation stack. + """ +elif False: + BranchBackendArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BranchBackendArgs: def __init__(__self__, *, @@ -457,6 +614,20 @@ def stack_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "stack_arn", value) +if not MYPY: + class BranchBasicAuthConfigArgsDict(TypedDict): + password: pulumi.Input[str] + """ + The password for basic authorization. + """ + username: pulumi.Input[str] + enable_basic_auth: NotRequired[pulumi.Input[bool]] + """ + Enables basic authorization for the branch. + """ +elif False: + BranchBasicAuthConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BranchBasicAuthConfigArgs: def __init__(__self__, *, @@ -506,6 +677,19 @@ def enable_basic_auth(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enable_basic_auth", value) +if not MYPY: + class BranchEnvironmentVariableArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The environment variable name. + """ + value: pulumi.Input[str] + """ + The environment variable value. + """ +elif False: + BranchEnvironmentVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BranchEnvironmentVariableArgs: def __init__(__self__, *, @@ -543,6 +727,25 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class DomainCertificateSettingsArgsDict(TypedDict): + certificate_type: NotRequired[pulumi.Input['DomainCertificateSettingsCertificateType']] + """ + The certificate type. + + Specify `AMPLIFY_MANAGED` to use the default certificate that Amplify provisions for you. + + Specify `CUSTOM` to use your own certificate that you have already added to AWS Certificate Manager in your AWS account . Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see [Importing certificates into AWS Certificate Manager](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the *ACM User guide* . + """ + custom_certificate_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon resource name (ARN) for the custom certificate that you have already added to AWS Certificate Manager in your AWS account . + + This field is required only when the certificate type is `CUSTOM` . + """ +elif False: + DomainCertificateSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainCertificateSettingsArgs: def __init__(__self__, *, @@ -594,6 +797,23 @@ def custom_certificate_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "custom_certificate_arn", value) +if not MYPY: + class DomainSubDomainSettingArgsDict(TypedDict): + branch_name: pulumi.Input[str] + """ + The branch name setting for the subdomain. + + *Length Constraints:* Minimum length of 1. Maximum length of 255. + + *Pattern:* (?s).+ + """ + prefix: pulumi.Input[str] + """ + The prefix setting for the subdomain. + """ +elif False: + DomainSubDomainSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainSubDomainSettingArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/amplify/app.py b/sdk/python/pulumi_aws_native/amplify/app.py index 3e0c2eaa8f..1430fc60a4 100644 --- a/sdk/python/pulumi_aws_native/amplify/app.py +++ b/sdk/python/pulumi_aws_native/amplify/app.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/amplify/branch.py b/sdk/python/pulumi_aws_native/amplify/branch.py index 229c680c5e..3618c8e375 100644 --- a/sdk/python/pulumi_aws_native/amplify/branch.py +++ b/sdk/python/pulumi_aws_native/amplify/branch.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/amplify/domain.py b/sdk/python/pulumi_aws_native/amplify/domain.py index fc3ac29453..3f09b9a13d 100644 --- a/sdk/python/pulumi_aws_native/amplify/domain.py +++ b/sdk/python/pulumi_aws_native/amplify/domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/amplify/get_app.py b/sdk/python/pulumi_aws_native/amplify/get_app.py index 3e05d1394c..733fb5da72 100644 --- a/sdk/python/pulumi_aws_native/amplify/get_app.py +++ b/sdk/python/pulumi_aws_native/amplify/get_app.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -258,9 +263,6 @@ def get_app(arn: Optional[str] = None, platform=pulumi.get(__ret__, 'platform'), repository=pulumi.get(__ret__, 'repository'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_app) def get_app_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppResult]: """ @@ -269,4 +271,24 @@ def get_app_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: ARN for the Amplify App. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:amplify:getApp', __args__, opts=opts, typ=GetAppResult) + return __ret__.apply(lambda __response__: GetAppResult( + app_id=pulumi.get(__response__, 'app_id'), + app_name=pulumi.get(__response__, 'app_name'), + arn=pulumi.get(__response__, 'arn'), + build_spec=pulumi.get(__response__, 'build_spec'), + cache_config=pulumi.get(__response__, 'cache_config'), + custom_headers=pulumi.get(__response__, 'custom_headers'), + custom_rules=pulumi.get(__response__, 'custom_rules'), + default_domain=pulumi.get(__response__, 'default_domain'), + description=pulumi.get(__response__, 'description'), + enable_branch_auto_deletion=pulumi.get(__response__, 'enable_branch_auto_deletion'), + environment_variables=pulumi.get(__response__, 'environment_variables'), + iam_service_role=pulumi.get(__response__, 'iam_service_role'), + name=pulumi.get(__response__, 'name'), + platform=pulumi.get(__response__, 'platform'), + repository=pulumi.get(__response__, 'repository'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/amplify/get_branch.py b/sdk/python/pulumi_aws_native/amplify/get_branch.py index 07c4e3376f..30ca4eab5a 100644 --- a/sdk/python/pulumi_aws_native/amplify/get_branch.py +++ b/sdk/python/pulumi_aws_native/amplify/get_branch.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -216,9 +221,6 @@ def get_branch(arn: Optional[str] = None, pull_request_environment_name=pulumi.get(__ret__, 'pull_request_environment_name'), stage=pulumi.get(__ret__, 'stage'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_branch) def get_branch_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBranchResult]: """ @@ -227,4 +229,20 @@ def get_branch_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: ARN for a branch, part of an Amplify App. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:amplify:getBranch', __args__, opts=opts, typ=GetBranchResult) + return __ret__.apply(lambda __response__: GetBranchResult( + arn=pulumi.get(__response__, 'arn'), + backend=pulumi.get(__response__, 'backend'), + build_spec=pulumi.get(__response__, 'build_spec'), + description=pulumi.get(__response__, 'description'), + enable_auto_build=pulumi.get(__response__, 'enable_auto_build'), + enable_performance_mode=pulumi.get(__response__, 'enable_performance_mode'), + enable_pull_request_preview=pulumi.get(__response__, 'enable_pull_request_preview'), + environment_variables=pulumi.get(__response__, 'environment_variables'), + framework=pulumi.get(__response__, 'framework'), + pull_request_environment_name=pulumi.get(__response__, 'pull_request_environment_name'), + stage=pulumi.get(__response__, 'stage'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/amplify/get_domain.py b/sdk/python/pulumi_aws_native/amplify/get_domain.py index cce8580424..7df4f967ea 100644 --- a/sdk/python/pulumi_aws_native/amplify/get_domain.py +++ b/sdk/python/pulumi_aws_native/amplify/get_domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -180,9 +185,6 @@ def get_domain(arn: Optional[str] = None, status_reason=pulumi.get(__ret__, 'status_reason'), sub_domain_settings=pulumi.get(__ret__, 'sub_domain_settings'), update_status=pulumi.get(__ret__, 'update_status')) - - -@_utilities.lift_output_func(get_domain) def get_domain_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainResult]: """ @@ -191,4 +193,18 @@ def get_domain_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: ARN for the Domain Association. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:amplify:getDomain', __args__, opts=opts, typ=GetDomainResult) + return __ret__.apply(lambda __response__: GetDomainResult( + arn=pulumi.get(__response__, 'arn'), + auto_sub_domain_creation_patterns=pulumi.get(__response__, 'auto_sub_domain_creation_patterns'), + auto_sub_domain_iam_role=pulumi.get(__response__, 'auto_sub_domain_iam_role'), + certificate=pulumi.get(__response__, 'certificate'), + certificate_record=pulumi.get(__response__, 'certificate_record'), + domain_status=pulumi.get(__response__, 'domain_status'), + enable_auto_sub_domain=pulumi.get(__response__, 'enable_auto_sub_domain'), + status_reason=pulumi.get(__response__, 'status_reason'), + sub_domain_settings=pulumi.get(__response__, 'sub_domain_settings'), + update_status=pulumi.get(__response__, 'update_status'))) diff --git a/sdk/python/pulumi_aws_native/amplify/outputs.py b/sdk/python/pulumi_aws_native/amplify/outputs.py index d16670b572..3707574d2d 100644 --- a/sdk/python/pulumi_aws_native/amplify/outputs.py +++ b/sdk/python/pulumi_aws_native/amplify/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/amplifyuibuilder/_inputs.py b/sdk/python/pulumi_aws_native/amplifyuibuilder/_inputs.py index f8a2c99387..1e33eb6c77 100644 --- a/sdk/python/pulumi_aws_native/amplifyuibuilder/_inputs.py +++ b/sdk/python/pulumi_aws_native/amplifyuibuilder/_inputs.py @@ -4,51 +4,135 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ComponentActionParametersArgs', + 'ComponentActionParametersArgsDict', 'ComponentBindingPropertiesValuePropertiesArgs', + 'ComponentBindingPropertiesValuePropertiesArgsDict', 'ComponentBindingPropertiesValueArgs', + 'ComponentBindingPropertiesValueArgsDict', 'ComponentChildArgs', + 'ComponentChildArgsDict', 'ComponentConditionPropertyArgs', + 'ComponentConditionPropertyArgsDict', 'ComponentDataConfigurationArgs', + 'ComponentDataConfigurationArgsDict', 'ComponentEventArgs', + 'ComponentEventArgsDict', 'ComponentFormBindingElementArgs', + 'ComponentFormBindingElementArgsDict', 'ComponentMutationActionSetStateParameterArgs', + 'ComponentMutationActionSetStateParameterArgsDict', 'ComponentPredicateArgs', + 'ComponentPredicateArgsDict', 'ComponentPropertyBindingPropertiesArgs', + 'ComponentPropertyBindingPropertiesArgsDict', 'ComponentPropertyArgs', + 'ComponentPropertyArgsDict', 'ComponentSortPropertyArgs', + 'ComponentSortPropertyArgsDict', 'ComponentVariantArgs', + 'ComponentVariantArgsDict', 'FormButtonArgs', + 'FormButtonArgsDict', 'FormCtaArgs', + 'FormCtaArgsDict', 'FormDataTypeConfigArgs', + 'FormDataTypeConfigArgsDict', 'FormFieldConfigArgs', + 'FormFieldConfigArgsDict', 'FormFieldInputConfigArgs', + 'FormFieldInputConfigArgsDict', 'FormFieldPosition0PropertiesArgs', + 'FormFieldPosition0PropertiesArgsDict', 'FormFieldPosition1PropertiesArgs', + 'FormFieldPosition1PropertiesArgsDict', 'FormFieldPosition2PropertiesArgs', + 'FormFieldPosition2PropertiesArgsDict', 'FormFieldValidationConfigurationArgs', + 'FormFieldValidationConfigurationArgsDict', 'FormFileUploaderFieldConfigArgs', + 'FormFileUploaderFieldConfigArgsDict', 'FormInputBindingPropertiesValuePropertiesArgs', + 'FormInputBindingPropertiesValuePropertiesArgsDict', 'FormInputBindingPropertiesValueArgs', + 'FormInputBindingPropertiesValueArgsDict', 'FormInputValuePropertyBindingPropertiesArgs', + 'FormInputValuePropertyBindingPropertiesArgsDict', 'FormInputValuePropertyArgs', + 'FormInputValuePropertyArgsDict', 'FormSectionalElementArgs', + 'FormSectionalElementArgsDict', 'FormStyleConfig0PropertiesArgs', + 'FormStyleConfig0PropertiesArgsDict', 'FormStyleConfig1PropertiesArgs', + 'FormStyleConfig1PropertiesArgsDict', 'FormStyleArgs', + 'FormStyleArgsDict', 'FormValueMappingsArgs', + 'FormValueMappingsArgsDict', 'FormValueMappingArgs', + 'FormValueMappingArgsDict', 'ThemeValuesArgs', + 'ThemeValuesArgsDict', 'ThemeValueArgs', + 'ThemeValueArgsDict', ] +MYPY = False + +if not MYPY: + class ComponentActionParametersArgsDict(TypedDict): + anchor: NotRequired[pulumi.Input['ComponentPropertyArgsDict']] + """ + The HTML anchor link to the location to open. Specify this value for a navigation action. + """ + fields: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['ComponentPropertyArgsDict']]]] + """ + A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model. + """ + global_: NotRequired[pulumi.Input['ComponentPropertyArgsDict']] + """ + Specifies whether the user should be signed out globally. Specify this value for an auth sign out action. + """ + id: NotRequired[pulumi.Input['ComponentPropertyArgsDict']] + """ + The unique ID of the component that the `ActionParameters` apply to. + """ + model: NotRequired[pulumi.Input[str]] + """ + The name of the data model. Use when the action performs an operation on an Amplify DataStore model. + """ + state: NotRequired[pulumi.Input['ComponentMutationActionSetStateParameterArgsDict']] + """ + A key-value pair that specifies the state property name and its initial value. + """ + target: NotRequired[pulumi.Input['ComponentPropertyArgsDict']] + """ + The element within the same component to modify when the action occurs. + """ + type: NotRequired[pulumi.Input['ComponentPropertyArgsDict']] + """ + The type of navigation action. Valid values are `url` and `anchor` . This value is required for a navigation action. + """ + url: NotRequired[pulumi.Input['ComponentPropertyArgsDict']] + """ + The URL to the location to open. Specify this value for a navigation action. + """ +elif False: + ComponentActionParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentActionParametersArgs: def __init__(__self__, *, @@ -200,6 +284,43 @@ def url(self, value: Optional[pulumi.Input['ComponentPropertyArgs']]): pulumi.set(self, "url", value) +if not MYPY: + class ComponentBindingPropertiesValuePropertiesArgsDict(TypedDict): + bucket: NotRequired[pulumi.Input[str]] + """ + An Amazon S3 bucket. + """ + default_value: NotRequired[pulumi.Input[str]] + """ + The default value to assign to the property. + """ + field: NotRequired[pulumi.Input[str]] + """ + The field to bind the data to. + """ + key: NotRequired[pulumi.Input[str]] + """ + The storage key for an Amazon S3 bucket. + """ + model: NotRequired[pulumi.Input[str]] + """ + An Amplify DataStore model. + """ + predicates: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentPredicateArgsDict']]]] + """ + A list of predicates for binding a component's properties to data. + """ + slot_name: NotRequired[pulumi.Input[str]] + """ + The name of a component slot. + """ + user_attribute: NotRequired[pulumi.Input[str]] + """ + An authenticated user attribute. + """ +elif False: + ComponentBindingPropertiesValuePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentBindingPropertiesValuePropertiesArgs: def __init__(__self__, *, @@ -335,6 +456,23 @@ def user_attribute(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_attribute", value) +if not MYPY: + class ComponentBindingPropertiesValueArgsDict(TypedDict): + binding_properties: NotRequired[pulumi.Input['ComponentBindingPropertiesValuePropertiesArgsDict']] + """ + Describes the properties to customize with data at runtime. + """ + default_value: NotRequired[pulumi.Input[str]] + """ + The default value of the property. + """ + type: NotRequired[pulumi.Input[str]] + """ + The property type. + """ +elif False: + ComponentBindingPropertiesValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentBindingPropertiesValueArgs: def __init__(__self__, *, @@ -390,6 +528,35 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class ComponentChildArgsDict(TypedDict): + component_type: pulumi.Input[str] + """ + The type of the child component. + """ + name: pulumi.Input[str] + """ + The name of the child component. + """ + properties: pulumi.Input[Mapping[str, pulumi.Input['ComponentPropertyArgsDict']]] + """ + Describes the properties of the child component. You can't specify `tags` as a valid property for `properties` . + """ + children: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentChildArgsDict']]]] + """ + The list of `ComponentChild` instances for this component. + """ + events: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['ComponentEventArgsDict']]]] + """ + Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components. + """ + source_id: NotRequired[pulumi.Input[str]] + """ + The unique ID of the child component in its original source system, such as Figma. + """ +elif False: + ComponentChildArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentChildArgs: def __init__(__self__, *, @@ -490,6 +657,39 @@ def source_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_id", value) +if not MYPY: + class ComponentConditionPropertyArgsDict(TypedDict): + else_: NotRequired[pulumi.Input['ComponentPropertyArgsDict']] + """ + The value to assign to the property if the condition is not met. + """ + field: NotRequired[pulumi.Input[str]] + """ + The name of a field. Specify this when the property is a data model. + """ + operand: NotRequired[pulumi.Input[str]] + """ + The value of the property to evaluate. + """ + operand_type: NotRequired[pulumi.Input[str]] + """ + The type of the property to evaluate. + """ + operator: NotRequired[pulumi.Input[str]] + """ + The operator to use to perform the evaluation, such as `eq` to represent equals. + """ + property: NotRequired[pulumi.Input[str]] + """ + The name of the conditional property. + """ + then: NotRequired[pulumi.Input['ComponentPropertyArgsDict']] + """ + The value to assign to the property if the condition is met. + """ +elif False: + ComponentConditionPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentConditionPropertyArgs: def __init__(__self__, *, @@ -609,6 +809,27 @@ def property(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "property", value) +if not MYPY: + class ComponentDataConfigurationArgsDict(TypedDict): + model: pulumi.Input[str] + """ + The name of the data model to use to bind data to a component. + """ + identifiers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query. + """ + predicate: NotRequired[pulumi.Input['ComponentPredicateArgsDict']] + """ + Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection. + """ + sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentSortPropertyArgsDict']]]] + """ + Describes how to sort the component's properties. + """ +elif False: + ComponentDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentDataConfigurationArgs: def __init__(__self__, *, @@ -679,6 +900,23 @@ def sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ComponentSort pulumi.set(self, "sort", value) +if not MYPY: + class ComponentEventArgsDict(TypedDict): + action: NotRequired[pulumi.Input[str]] + """ + The action to perform when a specific event is raised. + """ + binding_event: NotRequired[pulumi.Input[str]] + """ + Binds an event to an action on a component. When you specify a `bindingEvent` , the event is called when the action is performed. + """ + parameters: NotRequired[pulumi.Input['ComponentActionParametersArgsDict']] + """ + Describes information about the action. + """ +elif False: + ComponentEventArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentEventArgs: def __init__(__self__, *, @@ -734,6 +972,19 @@ def parameters(self, value: Optional[pulumi.Input['ComponentActionParametersArgs pulumi.set(self, "parameters", value) +if not MYPY: + class ComponentFormBindingElementArgsDict(TypedDict): + element: pulumi.Input[str] + """ + The name of the component to retrieve a value from. + """ + property: pulumi.Input[str] + """ + The property to retrieve a value from. + """ +elif False: + ComponentFormBindingElementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentFormBindingElementArgs: def __init__(__self__, *, @@ -771,6 +1022,23 @@ def property(self, value: pulumi.Input[str]): pulumi.set(self, "property", value) +if not MYPY: + class ComponentMutationActionSetStateParameterArgsDict(TypedDict): + component_name: pulumi.Input[str] + """ + The name of the component that is being modified. + """ + property: pulumi.Input[str] + """ + The name of the component property to apply the state configuration to. + """ + set: pulumi.Input['ComponentPropertyArgsDict'] + """ + The state configuration to assign to the property. + """ +elif False: + ComponentMutationActionSetStateParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentMutationActionSetStateParameterArgs: def __init__(__self__, *, @@ -823,6 +1091,35 @@ def property(self, value: pulumi.Input[str]): pulumi.set(self, "property", value) +if not MYPY: + class ComponentPredicateArgsDict(TypedDict): + and_: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentPredicateArgsDict']]]] + """ + A list of predicates to combine logically. + """ + field: NotRequired[pulumi.Input[str]] + """ + The field to query. + """ + operand: NotRequired[pulumi.Input[str]] + """ + The value to use when performing the evaluation. + """ + operand_type: NotRequired[pulumi.Input[str]] + """ + The type of value to use when performing the evaluation. + """ + operator: NotRequired[pulumi.Input[str]] + """ + The operator to use to perform the evaluation. + """ + or_: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentPredicateArgsDict']]]] + """ + A list of predicates to combine logically. + """ +elif False: + ComponentPredicateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentPredicateArgs: def __init__(__self__, *, @@ -926,6 +1223,19 @@ def or_(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ComponentPredi pulumi.set(self, "or_", value) +if not MYPY: + class ComponentPropertyBindingPropertiesArgsDict(TypedDict): + property: pulumi.Input[str] + """ + The component property to bind to the data field. + """ + field: NotRequired[pulumi.Input[str]] + """ + The data field to bind the property to. + """ +elif False: + ComponentPropertyBindingPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentPropertyBindingPropertiesArgs: def __init__(__self__, *, @@ -964,6 +1274,71 @@ def property(self, value: pulumi.Input[str]): pulumi.set(self, "property", value) +if not MYPY: + class ComponentPropertyArgsDict(TypedDict): + binding_properties: NotRequired[pulumi.Input['ComponentPropertyBindingPropertiesArgsDict']] + """ + The information to bind the component property to data at runtime. + """ + bindings: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['ComponentFormBindingElementArgsDict']]]] + """ + The information to bind the component property to form data. + """ + collection_binding_properties: NotRequired[pulumi.Input['ComponentPropertyBindingPropertiesArgsDict']] + """ + The information to bind the component property to data at runtime. Use this for collection components. + """ + component_name: NotRequired[pulumi.Input[str]] + """ + The name of the component that is affected by an event. + """ + concat: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentPropertyArgsDict']]]] + """ + A list of component properties to concatenate to create the value to assign to this component property. + """ + condition: NotRequired[pulumi.Input['ComponentConditionPropertyArgsDict']] + """ + The conditional expression to use to assign a value to the component property. + """ + configured: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the user configured the property in Amplify Studio after importing it. + """ + default_value: NotRequired[pulumi.Input[str]] + """ + The default value to assign to the component property. + """ + event: NotRequired[pulumi.Input[str]] + """ + An event that occurs in your app. Use this for workflow data binding. + """ + imported_value: NotRequired[pulumi.Input[str]] + """ + The default value assigned to the property when the component is imported into an app. + """ + model: NotRequired[pulumi.Input[str]] + """ + The data model to use to assign a value to the component property. + """ + property: NotRequired[pulumi.Input[str]] + """ + The name of the component's property that is affected by an event. + """ + type: NotRequired[pulumi.Input[str]] + """ + The component type. + """ + user_attribute: NotRequired[pulumi.Input[str]] + """ + An authenticated user attribute to use to assign a value to the component property. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value to assign to the component property. + """ +elif False: + ComponentPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentPropertyArgs: def __init__(__self__, *, @@ -1211,6 +1586,19 @@ def property(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "property", value) +if not MYPY: + class ComponentSortPropertyArgsDict(TypedDict): + direction: pulumi.Input['ComponentSortDirection'] + """ + The direction of the sort, either ascending or descending. + """ + field: pulumi.Input[str] + """ + The field to perform the sort on. + """ +elif False: + ComponentSortPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentSortPropertyArgs: def __init__(__self__, *, @@ -1248,6 +1636,19 @@ def field(self, value: pulumi.Input[str]): pulumi.set(self, "field", value) +if not MYPY: + class ComponentVariantArgsDict(TypedDict): + overrides: NotRequired[pulumi.Input[Mapping[str, Any]]] + """ + The properties of the component variant that can be overriden when customizing an instance of the component. You can't specify `tags` as a valid property for `overrides` . + """ + variant_values: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The combination of variants that comprise this variant. + """ +elif False: + ComponentVariantArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentVariantArgs: def __init__(__self__, *, @@ -1287,6 +1688,23 @@ def variant_values(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[ pulumi.set(self, "variant_values", value) +if not MYPY: + class FormButtonArgsDict(TypedDict): + children: NotRequired[pulumi.Input[str]] + """ + Describes the button's properties. + """ + excluded: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the button is visible on the form. + """ + position: NotRequired[pulumi.Input[Union['FormFieldPosition0PropertiesArgsDict', 'FormFieldPosition1PropertiesArgsDict', 'FormFieldPosition2PropertiesArgsDict']]] + """ + The position of the button. + """ +elif False: + FormButtonArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormButtonArgs: def __init__(__self__, *, @@ -1342,6 +1760,27 @@ def position(self, value: Optional[pulumi.Input[Union['FormFieldPosition0Propert pulumi.set(self, "position", value) +if not MYPY: + class FormCtaArgsDict(TypedDict): + cancel: NotRequired[pulumi.Input['FormButtonArgsDict']] + """ + Displays a cancel button. + """ + clear: NotRequired[pulumi.Input['FormButtonArgsDict']] + """ + Displays a clear button. + """ + position: NotRequired[pulumi.Input['FormButtonsPosition']] + """ + The position of the button. + """ + submit: NotRequired[pulumi.Input['FormButtonArgsDict']] + """ + Displays a submit button. + """ +elif False: + FormCtaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormCtaArgs: def __init__(__self__, *, @@ -1413,6 +1852,19 @@ def submit(self, value: Optional[pulumi.Input['FormButtonArgs']]): pulumi.set(self, "submit", value) +if not MYPY: + class FormDataTypeConfigArgsDict(TypedDict): + data_source_type: pulumi.Input['FormDataSourceType'] + """ + The data source type, either an Amplify DataStore model or a custom data type. + """ + data_type_name: pulumi.Input[str] + """ + The unique name of the data type you are using as the data source for the form. + """ +elif False: + FormDataTypeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormDataTypeConfigArgs: def __init__(__self__, *, @@ -1450,6 +1902,31 @@ def data_type_name(self, value: pulumi.Input[str]): pulumi.set(self, "data_type_name", value) +if not MYPY: + class FormFieldConfigArgsDict(TypedDict): + excluded: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to hide a field. + """ + input_type: NotRequired[pulumi.Input['FormFieldInputConfigArgsDict']] + """ + Describes the configuration for the default input value to display for a field. + """ + label: NotRequired[pulumi.Input[str]] + """ + The label for the field. + """ + position: NotRequired[pulumi.Input[Union['FormFieldPosition0PropertiesArgsDict', 'FormFieldPosition1PropertiesArgsDict', 'FormFieldPosition2PropertiesArgsDict']]] + """ + Specifies the field position. + """ + validations: NotRequired[pulumi.Input[Sequence[pulumi.Input['FormFieldValidationConfigurationArgsDict']]]] + """ + The validations to perform on the value in the field. + """ +elif False: + FormFieldConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormFieldConfigArgs: def __init__(__self__, *, @@ -1537,6 +2014,75 @@ def validations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FormFi pulumi.set(self, "validations", value) +if not MYPY: + class FormFieldInputConfigArgsDict(TypedDict): + type: pulumi.Input[str] + """ + The input type for the field. + """ + default_checked: NotRequired[pulumi.Input[bool]] + """ + Specifies whether a field has a default value. + """ + default_country_code: NotRequired[pulumi.Input[str]] + """ + The default country code for a phone number. + """ + default_value: NotRequired[pulumi.Input[str]] + """ + The default value for the field. + """ + descriptive_text: NotRequired[pulumi.Input[str]] + """ + The text to display to describe the field. + """ + file_uploader_config: NotRequired[pulumi.Input['FormFileUploaderFieldConfigArgsDict']] + """ + The configuration for the file uploader field. + """ + is_array: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to render the field as an array. This property is ignored if the `dataSourceType` for the form is a Data Store. + """ + max_value: NotRequired[pulumi.Input[float]] + """ + The maximum value to display for the field. + """ + min_value: NotRequired[pulumi.Input[float]] + """ + The minimum value to display for the field. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the field. + """ + placeholder: NotRequired[pulumi.Input[str]] + """ + The text to display as a placeholder for the field. + """ + read_only: NotRequired[pulumi.Input[bool]] + """ + Specifies a read only field. + """ + required: NotRequired[pulumi.Input[bool]] + """ + Specifies a field that requires input. + """ + step: NotRequired[pulumi.Input[float]] + """ + The stepping increment for a numeric value in a field. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value for the field. + """ + value_mappings: NotRequired[pulumi.Input['FormValueMappingsArgsDict']] + """ + The information to use to customize the input fields with data at runtime. + """ +elif False: + FormFieldInputConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormFieldInputConfigArgs: def __init__(__self__, *, @@ -1799,6 +2345,12 @@ def value_mappings(self, value: Optional[pulumi.Input['FormValueMappingsArgs']]) pulumi.set(self, "value_mappings", value) +if not MYPY: + class FormFieldPosition0PropertiesArgsDict(TypedDict): + fixed: pulumi.Input['FormFixedPosition'] +elif False: + FormFieldPosition0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormFieldPosition0PropertiesArgs: def __init__(__self__, *, @@ -1815,6 +2367,12 @@ def fixed(self, value: pulumi.Input['FormFixedPosition']): pulumi.set(self, "fixed", value) +if not MYPY: + class FormFieldPosition1PropertiesArgsDict(TypedDict): + right_of: pulumi.Input[str] +elif False: + FormFieldPosition1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormFieldPosition1PropertiesArgs: def __init__(__self__, *, @@ -1831,6 +2389,12 @@ def right_of(self, value: pulumi.Input[str]): pulumi.set(self, "right_of", value) +if not MYPY: + class FormFieldPosition2PropertiesArgsDict(TypedDict): + below: pulumi.Input[str] +elif False: + FormFieldPosition2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormFieldPosition2PropertiesArgs: def __init__(__self__, *, @@ -1847,6 +2411,27 @@ def below(self, value: pulumi.Input[str]): pulumi.set(self, "below", value) +if not MYPY: + class FormFieldValidationConfigurationArgsDict(TypedDict): + type: pulumi.Input[str] + """ + The validation to perform on an object type. `` + """ + num_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + The validation to perform on a number value. + """ + str_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The validation to perform on a string value. + """ + validation_message: NotRequired[pulumi.Input[str]] + """ + The validation message to display. + """ +elif False: + FormFieldValidationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormFieldValidationConfigurationArgs: def __init__(__self__, *, @@ -1917,6 +2502,37 @@ def validation_message(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "validation_message", value) +if not MYPY: + class FormFileUploaderFieldConfigArgsDict(TypedDict): + accepted_file_types: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The file types that are allowed to be uploaded by the file uploader. Provide this information in an array of strings specifying the valid file extensions. + """ + access_level: pulumi.Input['FormStorageAccessLevel'] + """ + The access level to assign to the uploaded files in the Amazon S3 bucket where they are stored. The valid values for this property are `private` , `protected` , or `public` . For detailed information about the permissions associated with each access level, see [File access levels](https://docs.aws.amazon.com/https://docs.amplify.aws/lib/storage/configureaccess/q/platform/js/) in the *Amplify documentation* . + """ + is_resumable: NotRequired[pulumi.Input[bool]] + """ + Allows the file upload operation to be paused and resumed. The default value is `false` . + + When `isResumable` is set to `true` , the file uploader uses a multipart upload to break the files into chunks before upload. The progress of the upload isn't continuous, because the file uploader uploads a chunk at a time. + """ + max_file_count: NotRequired[pulumi.Input[float]] + """ + Specifies the maximum number of files that can be selected to upload. The default value is an unlimited number of files. + """ + max_size: NotRequired[pulumi.Input[float]] + """ + The maximum file size in bytes that the file uploader will accept. The default value is an unlimited file size. + """ + show_thumbnails: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to display or hide the image preview after selecting a file for upload. The default value is `true` to display the image preview. + """ +elif False: + FormFileUploaderFieldConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormFileUploaderFieldConfigArgs: def __init__(__self__, *, @@ -2022,6 +2638,15 @@ def show_thumbnails(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "show_thumbnails", value) +if not MYPY: + class FormInputBindingPropertiesValuePropertiesArgsDict(TypedDict): + model: NotRequired[pulumi.Input[str]] + """ + An Amplify DataStore model. + """ +elif False: + FormInputBindingPropertiesValuePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormInputBindingPropertiesValuePropertiesArgs: def __init__(__self__, *, @@ -2045,6 +2670,19 @@ def model(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "model", value) +if not MYPY: + class FormInputBindingPropertiesValueArgsDict(TypedDict): + binding_properties: NotRequired[pulumi.Input['FormInputBindingPropertiesValuePropertiesArgsDict']] + """ + Describes the properties to customize with data at runtime. + """ + type: NotRequired[pulumi.Input[str]] + """ + The property type. + """ +elif False: + FormInputBindingPropertiesValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormInputBindingPropertiesValueArgs: def __init__(__self__, *, @@ -2084,6 +2722,19 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class FormInputValuePropertyBindingPropertiesArgsDict(TypedDict): + property: pulumi.Input[str] + """ + The form property to bind to the data field. + """ + field: NotRequired[pulumi.Input[str]] + """ + The data field to bind the property to. + """ +elif False: + FormInputValuePropertyBindingPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormInputValuePropertyBindingPropertiesArgs: def __init__(__self__, *, @@ -2122,6 +2773,23 @@ def property(self, value: pulumi.Input[str]): pulumi.set(self, "property", value) +if not MYPY: + class FormInputValuePropertyArgsDict(TypedDict): + binding_properties: NotRequired[pulumi.Input['FormInputValuePropertyBindingPropertiesArgsDict']] + """ + The information to bind fields to data at runtime. + """ + concat: NotRequired[pulumi.Input[Sequence[pulumi.Input['FormInputValuePropertyArgsDict']]]] + """ + A list of form properties to concatenate to create the value to assign to this field property. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value to assign to the input field. + """ +elif False: + FormInputValuePropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormInputValuePropertyArgs: def __init__(__self__, *, @@ -2177,6 +2845,35 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class FormSectionalElementArgsDict(TypedDict): + type: pulumi.Input[str] + """ + The type of sectional element. Valid values are `Heading` , `Text` , and `Divider` . + """ + excluded: NotRequired[pulumi.Input[bool]] + """ + Excludes a sectional element that was generated by default for a specified data model. + """ + level: NotRequired[pulumi.Input[float]] + """ + Specifies the size of the font for a `Heading` sectional element. Valid values are `1 | 2 | 3 | 4 | 5 | 6` . + """ + orientation: NotRequired[pulumi.Input[str]] + """ + Specifies the orientation for a `Divider` sectional element. Valid values are `horizontal` or `vertical` . + """ + position: NotRequired[pulumi.Input[Union['FormFieldPosition0PropertiesArgsDict', 'FormFieldPosition1PropertiesArgsDict', 'FormFieldPosition2PropertiesArgsDict']]] + """ + Specifies the position of the text in a field for a `Text` sectional element. + """ + text: NotRequired[pulumi.Input[str]] + """ + The text for a `Text` sectional element. + """ +elif False: + FormSectionalElementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormSectionalElementArgs: def __init__(__self__, *, @@ -2279,6 +2976,12 @@ def text(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "text", value) +if not MYPY: + class FormStyleConfig0PropertiesArgsDict(TypedDict): + token_reference: pulumi.Input[str] +elif False: + FormStyleConfig0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormStyleConfig0PropertiesArgs: def __init__(__self__, *, @@ -2295,6 +2998,12 @@ def token_reference(self, value: pulumi.Input[str]): pulumi.set(self, "token_reference", value) +if not MYPY: + class FormStyleConfig1PropertiesArgsDict(TypedDict): + value: pulumi.Input[str] +elif False: + FormStyleConfig1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormStyleConfig1PropertiesArgs: def __init__(__self__, *, @@ -2311,6 +3020,23 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class FormStyleArgsDict(TypedDict): + horizontal_gap: NotRequired[pulumi.Input[Union['FormStyleConfig0PropertiesArgsDict', 'FormStyleConfig1PropertiesArgsDict']]] + """ + The spacing for the horizontal gap. + """ + outer_padding: NotRequired[pulumi.Input[Union['FormStyleConfig0PropertiesArgsDict', 'FormStyleConfig1PropertiesArgsDict']]] + """ + The size of the outer padding for the form. + """ + vertical_gap: NotRequired[pulumi.Input[Union['FormStyleConfig0PropertiesArgsDict', 'FormStyleConfig1PropertiesArgsDict']]] + """ + The spacing for the vertical gap. + """ +elif False: + FormStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormStyleArgs: def __init__(__self__, *, @@ -2366,6 +3092,19 @@ def vertical_gap(self, value: Optional[pulumi.Input[Union['FormStyleConfig0Prope pulumi.set(self, "vertical_gap", value) +if not MYPY: + class FormValueMappingsArgsDict(TypedDict): + values: pulumi.Input[Sequence[pulumi.Input['FormValueMappingArgsDict']]] + """ + The value and display value pairs. + """ + binding_properties: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['FormInputBindingPropertiesValueArgsDict']]]] + """ + The information to bind fields to data at runtime. + """ +elif False: + FormValueMappingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormValueMappingsArgs: def __init__(__self__, *, @@ -2404,6 +3143,19 @@ def binding_properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.In pulumi.set(self, "binding_properties", value) +if not MYPY: + class FormValueMappingArgsDict(TypedDict): + value: pulumi.Input['FormInputValuePropertyArgsDict'] + """ + The complex object. + """ + display_value: NotRequired[pulumi.Input['FormInputValuePropertyArgsDict']] + """ + The value to display for the complex object. + """ +elif False: + FormValueMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FormValueMappingArgs: def __init__(__self__, *, @@ -2442,6 +3194,19 @@ def display_value(self, value: Optional[pulumi.Input['FormInputValuePropertyArgs pulumi.set(self, "display_value", value) +if not MYPY: + class ThemeValuesArgsDict(TypedDict): + key: NotRequired[pulumi.Input[str]] + """ + The name of the property. + """ + value: NotRequired[pulumi.Input['ThemeValueArgsDict']] + """ + The value of the property. + """ +elif False: + ThemeValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeValuesArgs: def __init__(__self__, *, @@ -2481,6 +3246,19 @@ def value(self, value: Optional[pulumi.Input['ThemeValueArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class ThemeValueArgsDict(TypedDict): + children: NotRequired[pulumi.Input[Sequence[pulumi.Input['ThemeValuesArgsDict']]]] + """ + A list of key-value pairs that define the theme's properties. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of a theme property. + """ +elif False: + ThemeValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeValueArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/amplifyuibuilder/component.py b/sdk/python/pulumi_aws_native/amplifyuibuilder/component.py index 24354ed466..dada9d95ae 100644 --- a/sdk/python/pulumi_aws_native/amplifyuibuilder/component.py +++ b/sdk/python/pulumi_aws_native/amplifyuibuilder/component.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/amplifyuibuilder/form.py b/sdk/python/pulumi_aws_native/amplifyuibuilder/form.py index 5fc12a3178..2b1517f53c 100644 --- a/sdk/python/pulumi_aws_native/amplifyuibuilder/form.py +++ b/sdk/python/pulumi_aws_native/amplifyuibuilder/form.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/amplifyuibuilder/get_component.py b/sdk/python/pulumi_aws_native/amplifyuibuilder/get_component.py index c48f8d6e3a..4f89d3e808 100644 --- a/sdk/python/pulumi_aws_native/amplifyuibuilder/get_component.py +++ b/sdk/python/pulumi_aws_native/amplifyuibuilder/get_component.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -246,9 +251,6 @@ def get_component(app_id: Optional[str] = None, source_id=pulumi.get(__ret__, 'source_id'), tags=pulumi.get(__ret__, 'tags'), variants=pulumi.get(__ret__, 'variants')) - - -@_utilities.lift_output_func(get_component) def get_component_output(app_id: Optional[pulumi.Input[str]] = None, environment_name: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, @@ -261,4 +263,25 @@ def get_component_output(app_id: Optional[pulumi.Input[str]] = None, :param str environment_name: The name of the backend environment that is a part of the Amplify app. :param str id: The unique ID of the component. """ - ... + __args__ = dict() + __args__['appId'] = app_id + __args__['environmentName'] = environment_name + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:amplifyuibuilder:getComponent', __args__, opts=opts, typ=GetComponentResult) + return __ret__.apply(lambda __response__: GetComponentResult( + binding_properties=pulumi.get(__response__, 'binding_properties'), + children=pulumi.get(__response__, 'children'), + collection_properties=pulumi.get(__response__, 'collection_properties'), + component_type=pulumi.get(__response__, 'component_type'), + created_at=pulumi.get(__response__, 'created_at'), + events=pulumi.get(__response__, 'events'), + id=pulumi.get(__response__, 'id'), + modified_at=pulumi.get(__response__, 'modified_at'), + name=pulumi.get(__response__, 'name'), + overrides=pulumi.get(__response__, 'overrides'), + properties=pulumi.get(__response__, 'properties'), + schema_version=pulumi.get(__response__, 'schema_version'), + source_id=pulumi.get(__response__, 'source_id'), + tags=pulumi.get(__response__, 'tags'), + variants=pulumi.get(__response__, 'variants'))) diff --git a/sdk/python/pulumi_aws_native/amplifyuibuilder/get_form.py b/sdk/python/pulumi_aws_native/amplifyuibuilder/get_form.py index 19df4eba40..745b3924a3 100644 --- a/sdk/python/pulumi_aws_native/amplifyuibuilder/get_form.py +++ b/sdk/python/pulumi_aws_native/amplifyuibuilder/get_form.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -194,9 +199,6 @@ def get_form(app_id: Optional[str] = None, sectional_elements=pulumi.get(__ret__, 'sectional_elements'), style=pulumi.get(__ret__, 'style'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_form) def get_form_output(app_id: Optional[pulumi.Input[str]] = None, environment_name: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, @@ -209,4 +211,21 @@ def get_form_output(app_id: Optional[pulumi.Input[str]] = None, :param str environment_name: The name of the backend environment that is a part of the Amplify app. :param str id: The ID for the form. """ - ... + __args__ = dict() + __args__['appId'] = app_id + __args__['environmentName'] = environment_name + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:amplifyuibuilder:getForm', __args__, opts=opts, typ=GetFormResult) + return __ret__.apply(lambda __response__: GetFormResult( + cta=pulumi.get(__response__, 'cta'), + data_type=pulumi.get(__response__, 'data_type'), + fields=pulumi.get(__response__, 'fields'), + form_action_type=pulumi.get(__response__, 'form_action_type'), + id=pulumi.get(__response__, 'id'), + label_decorator=pulumi.get(__response__, 'label_decorator'), + name=pulumi.get(__response__, 'name'), + schema_version=pulumi.get(__response__, 'schema_version'), + sectional_elements=pulumi.get(__response__, 'sectional_elements'), + style=pulumi.get(__response__, 'style'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/amplifyuibuilder/get_theme.py b/sdk/python/pulumi_aws_native/amplifyuibuilder/get_theme.py index 6c84ff4a87..f208fc1f45 100644 --- a/sdk/python/pulumi_aws_native/amplifyuibuilder/get_theme.py +++ b/sdk/python/pulumi_aws_native/amplifyuibuilder/get_theme.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -141,9 +146,6 @@ def get_theme(app_id: Optional[str] = None, overrides=pulumi.get(__ret__, 'overrides'), tags=pulumi.get(__ret__, 'tags'), values=pulumi.get(__ret__, 'values')) - - -@_utilities.lift_output_func(get_theme) def get_theme_output(app_id: Optional[pulumi.Input[str]] = None, environment_name: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, @@ -156,4 +158,17 @@ def get_theme_output(app_id: Optional[pulumi.Input[str]] = None, :param str environment_name: The name of the backend environment that is a part of the Amplify app. :param str id: The ID for the theme. """ - ... + __args__ = dict() + __args__['appId'] = app_id + __args__['environmentName'] = environment_name + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:amplifyuibuilder:getTheme', __args__, opts=opts, typ=GetThemeResult) + return __ret__.apply(lambda __response__: GetThemeResult( + created_at=pulumi.get(__response__, 'created_at'), + id=pulumi.get(__response__, 'id'), + modified_at=pulumi.get(__response__, 'modified_at'), + name=pulumi.get(__response__, 'name'), + overrides=pulumi.get(__response__, 'overrides'), + tags=pulumi.get(__response__, 'tags'), + values=pulumi.get(__response__, 'values'))) diff --git a/sdk/python/pulumi_aws_native/amplifyuibuilder/outputs.py b/sdk/python/pulumi_aws_native/amplifyuibuilder/outputs.py index 0e1d5a41ca..3ffae33dee 100644 --- a/sdk/python/pulumi_aws_native/amplifyuibuilder/outputs.py +++ b/sdk/python/pulumi_aws_native/amplifyuibuilder/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/amplifyuibuilder/theme.py b/sdk/python/pulumi_aws_native/amplifyuibuilder/theme.py index ae31dfe4a3..a87c601f13 100644 --- a/sdk/python/pulumi_aws_native/amplifyuibuilder/theme.py +++ b/sdk/python/pulumi_aws_native/amplifyuibuilder/theme.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/apigateway/_inputs.py b/sdk/python/pulumi_aws_native/apigateway/_inputs.py index 840a39cc64..5ba551ab10 100644 --- a/sdk/python/pulumi_aws_native/apigateway/_inputs.py +++ b/sdk/python/pulumi_aws_native/apigateway/_inputs.py @@ -4,36 +4,80 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ApiKeyStageKeyArgs', + 'ApiKeyStageKeyArgsDict', 'DeploymentAccessLogSettingArgs', + 'DeploymentAccessLogSettingArgsDict', 'DeploymentCanarySettingsArgs', + 'DeploymentCanarySettingsArgsDict', 'DeploymentCanarySettingArgs', + 'DeploymentCanarySettingArgsDict', 'DeploymentMethodSettingArgs', + 'DeploymentMethodSettingArgsDict', 'DeploymentStageDescriptionArgs', + 'DeploymentStageDescriptionArgsDict', 'DeploymentTagArgs', + 'DeploymentTagArgsDict', 'DocumentationPartLocationArgs', + 'DocumentationPartLocationArgsDict', 'DomainNameEndpointConfigurationArgs', + 'DomainNameEndpointConfigurationArgsDict', 'DomainNameMutualTlsAuthenticationArgs', + 'DomainNameMutualTlsAuthenticationArgsDict', 'MethodIntegrationResponseArgs', + 'MethodIntegrationResponseArgsDict', 'MethodIntegrationArgs', + 'MethodIntegrationArgsDict', 'MethodResponseArgs', + 'MethodResponseArgsDict', 'RestApiEndpointConfigurationArgs', + 'RestApiEndpointConfigurationArgsDict', 'RestApiS3LocationArgs', + 'RestApiS3LocationArgsDict', 'StageAccessLogSettingArgs', + 'StageAccessLogSettingArgsDict', 'StageCanarySettingArgs', + 'StageCanarySettingArgsDict', 'StageMethodSettingArgs', + 'StageMethodSettingArgsDict', 'UsagePlanApiStageArgs', + 'UsagePlanApiStageArgsDict', 'UsagePlanQuotaSettingsArgs', + 'UsagePlanQuotaSettingsArgsDict', 'UsagePlanThrottleSettingsArgs', + 'UsagePlanThrottleSettingsArgsDict', ] +MYPY = False + +if not MYPY: + class ApiKeyStageKeyArgsDict(TypedDict): + """ + ``StageKey`` is a property of the [AWS::ApiGateway::ApiKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html) resource that specifies the stage to associate with the API key. This association allows only clients with the key to make requests to methods in that stage. + """ + rest_api_id: NotRequired[pulumi.Input[str]] + """ + The string identifier of the associated RestApi. + """ + stage_name: NotRequired[pulumi.Input[str]] + """ + The stage name associated with the stage key. + """ +elif False: + ApiKeyStageKeyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApiKeyStageKeyArgs: def __init__(__self__, *, @@ -74,6 +118,23 @@ def stage_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "stage_name", value) +if not MYPY: + class DeploymentAccessLogSettingArgsDict(TypedDict): + """ + The ``AccessLogSetting`` property type specifies settings for logging access in this stage. + ``AccessLogSetting`` is a property of the [StageDescription](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html) property type. + """ + destination_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with `amazon-apigateway-` . + """ + format: NotRequired[pulumi.Input[str]] + """ + A single line format of the access logs of data, as specified by selected $context variables. The format must include at least `$context.requestId` . + """ +elif False: + DeploymentAccessLogSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentAccessLogSettingArgs: def __init__(__self__, *, @@ -115,6 +176,26 @@ def format(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "format", value) +if not MYPY: + class DeploymentCanarySettingsArgsDict(TypedDict): + """ + The ``DeploymentCanarySettings`` property type specifies settings for the canary deployment. + """ + percent_traffic: NotRequired[pulumi.Input[float]] + """ + The percentage (0.0-100.0) of traffic routed to the canary deployment. + """ + stage_variable_overrides: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values. + """ + use_stage_cache: NotRequired[pulumi.Input[bool]] + """ + A Boolean flag to indicate whether the canary release deployment uses the stage cache or not. + """ +elif False: + DeploymentCanarySettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentCanarySettingsArgs: def __init__(__self__, *, @@ -171,6 +252,27 @@ def use_stage_cache(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_stage_cache", value) +if not MYPY: + class DeploymentCanarySettingArgsDict(TypedDict): + """ + The ``CanarySetting`` property type specifies settings for the canary deployment in this stage. + ``CanarySetting`` is a property of the [StageDescription](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html) property type. + """ + percent_traffic: NotRequired[pulumi.Input[float]] + """ + The percent (0-100) of traffic diverted to a canary deployment. + """ + stage_variable_overrides: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values. + """ + use_stage_cache: NotRequired[pulumi.Input[bool]] + """ + A Boolean flag to indicate whether the canary deployment uses the stage cache or not. + """ +elif False: + DeploymentCanarySettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentCanarySettingArgs: def __init__(__self__, *, @@ -228,6 +330,55 @@ def use_stage_cache(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_stage_cache", value) +if not MYPY: + class DeploymentMethodSettingArgsDict(TypedDict): + """ + The ``MethodSetting`` property type configures settings for all methods in a stage. + The ``MethodSettings`` property of the [Amazon API Gateway Deployment StageDescription](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-deployment-stagedescription.html) property type contains a list of ``MethodSetting`` property types. + """ + cache_data_encrypted: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the cached responses are encrypted. + """ + cache_ttl_in_seconds: NotRequired[pulumi.Input[int]] + """ + Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. + """ + caching_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. + """ + data_trace_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs. + """ + http_method: NotRequired[pulumi.Input[str]] + """ + The HTTP method. + """ + logging_level: NotRequired[pulumi.Input[str]] + """ + Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are `OFF` , `ERROR` , and `INFO` . Choose `ERROR` to write only error-level entries to CloudWatch Logs, or choose `INFO` to include all `ERROR` events as well as extra informational events. + """ + metrics_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon CloudWatch metrics are enabled for this method. + """ + resource_path: NotRequired[pulumi.Input[str]] + """ + The resource path for this method. Forward slashes (``/``) are encoded as ``~1`` and the initial slash must include a forward slash. For example, the path value ``/resource/subresource`` must be encoded as ``/~1resource~1subresource``. To specify the root path, use only a slash (``/``). + """ + throttling_burst_limit: NotRequired[pulumi.Input[int]] + """ + Specifies the throttling burst limit. + """ + throttling_rate_limit: NotRequired[pulumi.Input[float]] + """ + Specifies the throttling rate limit. + """ +elif False: + DeploymentMethodSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentMethodSettingArgs: def __init__(__self__, *, @@ -397,6 +548,91 @@ def throttling_rate_limit(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "throttling_rate_limit", value) +if not MYPY: + class DeploymentStageDescriptionArgsDict(TypedDict): + """ + ``StageDescription`` is a property of the [AWS::ApiGateway::Deployment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html) resource that configures a deployment stage. + """ + access_log_setting: NotRequired[pulumi.Input['DeploymentAccessLogSettingArgsDict']] + """ + Specifies settings for logging access in this stage. + """ + cache_cluster_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether a cache cluster is enabled for the stage. To activate a method-level cache, set `CachingEnabled` to `true` for a method. + """ + cache_cluster_size: NotRequired[pulumi.Input[str]] + """ + The size of the stage's cache cluster. For more information, see [cacheClusterSize](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateStage.html#apigw-CreateStage-request-cacheClusterSize) in the *API Gateway API Reference*. + """ + cache_data_encrypted: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the cached responses are encrypted. + """ + cache_ttl_in_seconds: NotRequired[pulumi.Input[int]] + """ + The time-to-live (TTL) period, in seconds, that specifies how long API Gateway caches responses. + """ + caching_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether responses are cached and returned for requests. You must enable a cache cluster on the stage to cache responses. For more information, see [Enable API Gateway Caching in a Stage to Enhance API Performance](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html) in the *API Gateway Developer Guide*. + """ + canary_setting: NotRequired[pulumi.Input['DeploymentCanarySettingArgsDict']] + """ + Specifies settings for the canary deployment in this stage. + """ + client_certificate_id: NotRequired[pulumi.Input[str]] + """ + The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage. + """ + data_trace_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether data trace logging is enabled for methods in the stage. API Gateway pushes these logs to Amazon CloudWatch Logs. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description of the purpose of the stage. + """ + documentation_version: NotRequired[pulumi.Input[str]] + """ + The version identifier of the API documentation snapshot. + """ + logging_level: NotRequired[pulumi.Input[str]] + """ + The logging level for this method. For valid values, see the ``loggingLevel`` property of the [MethodSetting](https://docs.aws.amazon.com/apigateway/latest/api/API_MethodSetting.html) resource in the *Amazon API Gateway API Reference*. + """ + method_settings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DeploymentMethodSettingArgsDict']]]] + """ + Configures settings for all of the stage's methods. + """ + metrics_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether Amazon CloudWatch metrics are enabled for methods in the stage. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['DeploymentTagArgsDict']]]] + """ + An array of arbitrary tags (key-value pairs) to associate with the stage. + """ + throttling_burst_limit: NotRequired[pulumi.Input[int]] + """ + The target request burst rate limit. This allows more requests through for a period of time than the target rate limit. For more information, see [Manage API Request Throttling](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html) in the *API Gateway Developer Guide*. + """ + throttling_rate_limit: NotRequired[pulumi.Input[float]] + """ + The target request steady-state rate limit. For more information, see [Manage API Request Throttling](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html) in the *API Gateway Developer Guide*. + """ + tracing_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether active tracing with X-ray is enabled for this stage. + For more information, see [Trace API Gateway API Execution with X-Ray](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-xray.html) in the *API Gateway Developer Guide*. + """ + variables: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A map that defines the stage variables. Variable names must consist of alphanumeric characters, and the values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``. + """ +elif False: + DeploymentStageDescriptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentStageDescriptionArgs: def __init__(__self__, *, @@ -711,6 +947,19 @@ def variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]] pulumi.set(self, "variables", value) +if not MYPY: + class DeploymentTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The key name of the tag + """ + value: pulumi.Input[str] + """ + The value for the tag + """ +elif False: + DeploymentTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentTagArgs: def __init__(__self__, *, @@ -748,6 +997,35 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class DocumentationPartLocationArgsDict(TypedDict): + """ + The ``Location`` property specifies the location of the Amazon API Gateway API entity that the documentation applies to. ``Location`` is a property of the [AWS::ApiGateway::DocumentationPart](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationpart.html) resource. + For more information about each property, including constraints and valid values, see [DocumentationPart](https://docs.aws.amazon.com/apigateway/latest/api/API_DocumentationPartLocation.html) in the *Amazon API Gateway REST API Reference*. + """ + method: NotRequired[pulumi.Input[str]] + """ + The HTTP verb of a method. It is a valid field for the API entity types of `METHOD` , `PATH_PARAMETER` , `QUERY_PARAMETER` , `REQUEST_HEADER` , `REQUEST_BODY` , `RESPONSE` , `RESPONSE_HEADER` , and `RESPONSE_BODY` . The default value is `*` for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other `location` attributes, the child entity's `method` attribute must match that of the parent entity exactly. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the targeted API entity. It is a valid and required field for the API entity types of `AUTHORIZER` , `MODEL` , `PATH_PARAMETER` , `QUERY_PARAMETER` , `REQUEST_HEADER` , `REQUEST_BODY` and `RESPONSE_HEADER` . It is an invalid field for any other entity type. + """ + path: NotRequired[pulumi.Input[str]] + """ + The URL path of the target. It is a valid field for the API entity types of `RESOURCE` , `METHOD` , `PATH_PARAMETER` , `QUERY_PARAMETER` , `REQUEST_HEADER` , `REQUEST_BODY` , `RESPONSE` , `RESPONSE_HEADER` , and `RESPONSE_BODY` . The default value is `/` for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other `location` attributes, the child entity's `path` attribute must match that of the parent entity as a prefix. + """ + status_code: NotRequired[pulumi.Input[str]] + """ + The HTTP status code of a response. It is a valid field for the API entity types of `RESPONSE` , `RESPONSE_HEADER` , and `RESPONSE_BODY` . The default value is `*` for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other `location` attributes, the child entity's `statusCode` attribute must match that of the parent entity exactly. + """ + type: NotRequired[pulumi.Input['DocumentationPartLocationType']] + """ + The type of API entity to which the documentation content applies. Valid values are `API` , `AUTHORIZER` , `MODEL` , `RESOURCE` , `METHOD` , `PATH_PARAMETER` , `QUERY_PARAMETER` , `REQUEST_HEADER` , `REQUEST_BODY` , `RESPONSE` , `RESPONSE_HEADER` , and `RESPONSE_BODY` . Content inheritance does not apply to any entity of the `API` , `AUTHORIZER` , `METHOD` , `MODEL` , `REQUEST_BODY` , or `RESOURCE` type. + """ +elif False: + DocumentationPartLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DocumentationPartLocationArgs: def __init__(__self__, *, @@ -837,6 +1115,15 @@ def type(self, value: Optional[pulumi.Input['DocumentationPartLocationType']]): pulumi.set(self, "type", value) +if not MYPY: + class DomainNameEndpointConfigurationArgsDict(TypedDict): + types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is `"EDGE"` . For a regional API and its custom domain name, the endpoint type is `REGIONAL` . For a private API, the endpoint type is `PRIVATE` . + """ +elif False: + DomainNameEndpointConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainNameEndpointConfigurationArgs: def __init__(__self__, *, @@ -860,6 +1147,19 @@ def types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "types", value) +if not MYPY: + class DomainNameMutualTlsAuthenticationArgsDict(TypedDict): + truststore_uri: NotRequired[pulumi.Input[str]] + """ + An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example `s3://bucket-name/key-name` . The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object. + """ + truststore_version: NotRequired[pulumi.Input[str]] + """ + The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket. + """ +elif False: + DomainNameMutualTlsAuthenticationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainNameMutualTlsAuthenticationArgs: def __init__(__self__, *, @@ -899,6 +1199,36 @@ def truststore_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "truststore_version", value) +if not MYPY: + class MethodIntegrationResponseArgsDict(TypedDict): + """ + ``IntegrationResponse`` is a property of the [Amazon API Gateway Method Integration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html) property type that specifies the response that API Gateway sends after a method's backend finishes processing a request. + """ + status_code: pulumi.Input[str] + """ + Specifies the status code that is used to map the integration response to an existing MethodResponse. + """ + content_handling: NotRequired[pulumi.Input['MethodIntegrationResponseContentHandling']] + """ + Specifies how to handle response payload content type conversions. Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT` , with the following behaviors: + + If this property is not defined, the response payload will be passed through from the integration response to the method response without modification. + """ + response_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of `method.response.header.{name}` , where `name` is a valid and unique header name. The mapped non-static value must match the pattern of `integration.response.header.{name}` or `integration.response.body.{JSON-expression}` , where `name` is a valid and unique response header name and `JSON-expression` is a valid JSON expression without the `$` prefix. + """ + response_templates: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value. + """ + selection_pattern: NotRequired[pulumi.Input[str]] + """ + Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the `.+` regex to match error response. However, make sure that the error response does not contain any newline ( `\\n` ) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched. + """ +elif False: + MethodIntegrationResponseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MethodIntegrationResponseArgs: def __init__(__self__, *, @@ -990,6 +1320,76 @@ def selection_pattern(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "selection_pattern", value) +if not MYPY: + class MethodIntegrationArgsDict(TypedDict): + """ + ``Integration`` is a property of the [AWS::ApiGateway::Method](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html) resource that specifies information about the target backend that a method calls. + """ + type: pulumi.Input['MethodIntegrationType'] + """ + Specifies an API method integration type. The valid value is one of the following: + + For the HTTP and HTTP proxy integrations, each integration can specify a protocol ( `http/https` ), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a `connectionType` of `VPC_LINK` is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC. + """ + cache_key_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of request parameters whose values API Gateway caches. To be valid values for `cacheKeyParameters` , these parameters must also be specified for Method `requestParameters` . + """ + cache_namespace: NotRequired[pulumi.Input[str]] + """ + Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the `cacheNamespace` . You can specify the same `cacheNamespace` across resources to return the same cached data for requests to different resources. + """ + connection_id: NotRequired[pulumi.Input[str]] + """ + The ID of the VpcLink used for the integration when `connectionType=VPC_LINK` and undefined, otherwise. + """ + connection_type: NotRequired[pulumi.Input['MethodIntegrationConnectionType']] + """ + The type of the network connection to the integration endpoint. The valid value is `INTERNET` for connections through the public routable internet or `VPC_LINK` for private connections between API Gateway and a network load balancer in a VPC. The default value is `INTERNET` . + """ + content_handling: NotRequired[pulumi.Input['MethodIntegrationContentHandling']] + """ + Specifies how to handle request payload content type conversions. Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT` , with the following behaviors: + + If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the `passthroughBehavior` is configured to support payload pass-through. + """ + credentials: NotRequired[pulumi.Input[str]] + """ + Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string `arn:aws:iam::\\*:user/\\*` . To use resource-based permissions on supported AWS services, specify null. + """ + integration_http_method: NotRequired[pulumi.Input[str]] + """ + Specifies the integration's HTTP method type. For the Type property, if you specify `MOCK` , this property is optional. For Lambda integrations, you must set the integration method to `POST` . For all other types, you must specify this property. + """ + integration_responses: NotRequired[pulumi.Input[Sequence[pulumi.Input['MethodIntegrationResponseArgsDict']]]] + """ + Specifies the integration's responses. + """ + passthrough_behavior: NotRequired[pulumi.Input['MethodIntegrationPassthroughBehavior']] + """ + Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in `requestTemplates` . The valid value is one of the following: `WHEN_NO_MATCH` : passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request. `WHEN_NO_TEMPLATES` : passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response. `NEVER` : rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request. + """ + request_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of `method.request.{location}.{name}` , where `location` is `querystring` , `path` , or `header` and `name` must be a valid and unique method request parameter name. + """ + request_templates: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. + """ + timeout_in_millis: NotRequired[pulumi.Input[int]] + """ + Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. + """ + uri: NotRequired[pulumi.Input[str]] + """ + Specifies Uniform Resource Identifier (URI) of the integration endpoint. + + For `HTTP` or `HTTP_PROXY` integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification for standard integrations. If `connectionType` is `VPC_LINK` specify the Network Load Balancer DNS name. For `AWS` or `AWS_PROXY` integrations, the URI is of the form `arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}` . Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated AWS service (e.g., s3); and {subdomain} is a designated subdomain supported by certain AWS service for fast host-name lookup. action can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an AWS service resource, including the region of the integrated AWS service, if applicable. For example, for integration with the S3 API of GetObject, the uri can be either `arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key}` or `arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}` + """ +elif False: + MethodIntegrationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MethodIntegrationArgs: def __init__(__self__, *, @@ -1233,6 +1633,23 @@ def uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uri", value) +if not MYPY: + class MethodResponseArgsDict(TypedDict): + status_code: pulumi.Input[str] + """ + The method response's status code. + """ + response_models: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value. + """ + response_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[Union[bool, str]]]]] + """ + A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern `method.response.header.{name}` , where `name` is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in `integration.response.header.{name}` , a static value enclosed within a pair of single quotes (e.g., `'application/json'` ), or a JSON expression from the back-end response payload in the form of `integration.response.body.{JSON-expression}` , where `JSON-expression` is a valid JSON expression without the `$` prefix.) + """ +elif False: + MethodResponseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MethodResponseArgs: def __init__(__self__, *, @@ -1287,6 +1704,23 @@ def response_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.I pulumi.set(self, "response_parameters", value) +if not MYPY: + class RestApiEndpointConfigurationArgsDict(TypedDict): + """ + The ``EndpointConfiguration`` property type specifies the endpoint types of a REST API. + ``EndpointConfiguration`` is a property of the [AWS::ApiGateway::RestApi](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html) resource. + """ + types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is `"EDGE"` . For a regional API and its custom domain name, the endpoint type is `REGIONAL` . For a private API, the endpoint type is `PRIVATE` . + """ + vpc_endpoint_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for `PRIVATE` endpoint type. + """ +elif False: + RestApiEndpointConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RestApiEndpointConfigurationArgs: def __init__(__self__, *, @@ -1328,6 +1762,31 @@ def vpc_endpoint_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[st pulumi.set(self, "vpc_endpoint_ids", value) +if not MYPY: + class RestApiS3LocationArgsDict(TypedDict): + """ + ``S3Location`` is a property of the [AWS::ApiGateway::RestApi](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html) resource that specifies the Amazon S3 location of a OpenAPI (formerly Swagger) file that defines a set of RESTful APIs in JSON or YAML. + On January 1, 2016, the Swagger Specification was donated to the [OpenAPI initiative](https://docs.aws.amazon.com/https://www.openapis.org/), becoming the foundation of the OpenAPI Specification. + """ + bucket: NotRequired[pulumi.Input[str]] + """ + The name of the S3 bucket where the OpenAPI file is stored. + """ + e_tag: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 ETag (a file checksum) of the OpenAPI file. If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file. + """ + key: NotRequired[pulumi.Input[str]] + """ + The file name of the OpenAPI file (Amazon S3 object name). + """ + version: NotRequired[pulumi.Input[str]] + """ + For versioning-enabled buckets, a specific version of the OpenAPI file. + """ +elif False: + RestApiS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RestApiS3LocationArgs: def __init__(__self__, *, @@ -1401,6 +1860,23 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class StageAccessLogSettingArgsDict(TypedDict): + """ + The ``AccessLogSetting`` property type specifies settings for logging access in this stage. + ``AccessLogSetting`` is a property of the [AWS::ApiGateway::Stage](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html) resource. + """ + destination_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with ``amazon-apigateway-``. This parameter is required to enable access logging. + """ + format: NotRequired[pulumi.Input[str]] + """ + A single line format of the access logs of data, as specified by selected [$context variables](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference). The format must include at least ``$context.requestId``. This parameter is required to enable access logging. + """ +elif False: + StageAccessLogSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StageAccessLogSettingArgs: def __init__(__self__, *, @@ -1442,6 +1918,27 @@ def format(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "format", value) +if not MYPY: + class StageCanarySettingArgsDict(TypedDict): + deployment_id: NotRequired[pulumi.Input[str]] + """ + The ID of the canary deployment. + """ + percent_traffic: NotRequired[pulumi.Input[float]] + """ + The percent (0-100) of traffic diverted to a canary deployment. + """ + stage_variable_overrides: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values. + """ + use_stage_cache: NotRequired[pulumi.Input[bool]] + """ + A Boolean flag to indicate whether the canary deployment uses the stage cache or not. + """ +elif False: + StageCanarySettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StageCanarySettingArgs: def __init__(__self__, *, @@ -1513,6 +2010,55 @@ def use_stage_cache(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_stage_cache", value) +if not MYPY: + class StageMethodSettingArgsDict(TypedDict): + """ + The ``MethodSetting`` property type configures settings for all methods in a stage. + The ``MethodSettings`` property of the ``AWS::ApiGateway::Stage`` resource contains a list of ``MethodSetting`` property types. + """ + cache_data_encrypted: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the cached responses are encrypted. + """ + cache_ttl_in_seconds: NotRequired[pulumi.Input[int]] + """ + Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. + """ + caching_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. + """ + data_trace_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs. + """ + http_method: NotRequired[pulumi.Input[str]] + """ + The HTTP method. To apply settings to multiple resources and methods, specify an asterisk (``*``) for the ``HttpMethod`` and ``/*`` for the ``ResourcePath``. This parameter is required when you specify a ``MethodSetting``. + """ + logging_level: NotRequired[pulumi.Input[str]] + """ + Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are `OFF` , `ERROR` , and `INFO` . Choose `ERROR` to write only error-level entries to CloudWatch Logs, or choose `INFO` to include all `ERROR` events as well as extra informational events. + """ + metrics_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon CloudWatch metrics are enabled for this method. + """ + resource_path: NotRequired[pulumi.Input[str]] + """ + The resource path for this method. Forward slashes (``/``) are encoded as ``~1`` and the initial slash must include a forward slash. For example, the path value ``/resource/subresource`` must be encoded as ``/~1resource~1subresource``. To specify the root path, use only a slash (``/``). To apply settings to multiple resources and methods, specify an asterisk (``*``) for the ``HttpMethod`` and ``/*`` for the ``ResourcePath``. This parameter is required when you specify a ``MethodSetting``. + """ + throttling_burst_limit: NotRequired[pulumi.Input[int]] + """ + Specifies the throttling burst limit. + """ + throttling_rate_limit: NotRequired[pulumi.Input[float]] + """ + Specifies the throttling rate limit. + """ +elif False: + StageMethodSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StageMethodSettingArgs: def __init__(__self__, *, @@ -1682,6 +2228,23 @@ def throttling_rate_limit(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "throttling_rate_limit", value) +if not MYPY: + class UsagePlanApiStageArgsDict(TypedDict): + api_id: NotRequired[pulumi.Input[str]] + """ + API Id of the associated API stage in a usage plan. + """ + stage: NotRequired[pulumi.Input[str]] + """ + API stage name of the associated API stage in a usage plan. + """ + throttle: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['UsagePlanThrottleSettingsArgsDict']]]] + """ + Map containing method level throttling information for API stage in a usage plan. + """ +elif False: + UsagePlanApiStageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UsagePlanApiStageArgs: def __init__(__self__, *, @@ -1737,6 +2300,27 @@ def throttle(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['Usage pulumi.set(self, "throttle", value) +if not MYPY: + class UsagePlanQuotaSettingsArgsDict(TypedDict): + """ + ``QuotaSettings`` is a property of the [AWS::ApiGateway::UsagePlan](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html) resource that specifies a target for the maximum number of requests users can make to your REST APIs. + In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. Consider using [](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html) to monitor costs and [](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) to manage API requests. + """ + limit: NotRequired[pulumi.Input[int]] + """ + The target maximum number of requests that can be made in a given time period. + """ + offset: NotRequired[pulumi.Input[int]] + """ + The number of requests subtracted from the given limit in the initial time period. + """ + period: NotRequired[pulumi.Input[str]] + """ + The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH". + """ +elif False: + UsagePlanQuotaSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UsagePlanQuotaSettingsArgs: def __init__(__self__, *, @@ -1794,6 +2378,16 @@ def period(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "period", value) +if not MYPY: + class UsagePlanThrottleSettingsArgsDict(TypedDict): + """ + ``ThrottleSettings`` is a property of the [AWS::ApiGateway::UsagePlan](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html) resource that specifies the overall request rate (average requests per second) and burst capacity when users call your REST APIs. + """ + burst_limit: NotRequired[pulumi.Input[int]] + rate_limit: NotRequired[pulumi.Input[float]] +elif False: + UsagePlanThrottleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UsagePlanThrottleSettingsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/apigateway/account.py b/sdk/python/pulumi_aws_native/apigateway/account.py index 92191919e1..1af24beae1 100644 --- a/sdk/python/pulumi_aws_native/apigateway/account.py +++ b/sdk/python/pulumi_aws_native/apigateway/account.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['AccountArgs', 'Account'] diff --git a/sdk/python/pulumi_aws_native/apigateway/api_key.py b/sdk/python/pulumi_aws_native/apigateway/api_key.py index fe33dbc52a..560565fa8f 100644 --- a/sdk/python/pulumi_aws_native/apigateway/api_key.py +++ b/sdk/python/pulumi_aws_native/apigateway/api_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/apigateway/authorizer.py b/sdk/python/pulumi_aws_native/apigateway/authorizer.py index 47596fafb4..9d0e512b1d 100644 --- a/sdk/python/pulumi_aws_native/apigateway/authorizer.py +++ b/sdk/python/pulumi_aws_native/apigateway/authorizer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['AuthorizerArgs', 'Authorizer'] diff --git a/sdk/python/pulumi_aws_native/apigateway/base_path_mapping.py b/sdk/python/pulumi_aws_native/apigateway/base_path_mapping.py index fb17a1c21e..42b49f0ce5 100644 --- a/sdk/python/pulumi_aws_native/apigateway/base_path_mapping.py +++ b/sdk/python/pulumi_aws_native/apigateway/base_path_mapping.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['BasePathMappingArgs', 'BasePathMapping'] diff --git a/sdk/python/pulumi_aws_native/apigateway/client_certificate.py b/sdk/python/pulumi_aws_native/apigateway/client_certificate.py index a0a7b83a70..0df7b86fe6 100644 --- a/sdk/python/pulumi_aws_native/apigateway/client_certificate.py +++ b/sdk/python/pulumi_aws_native/apigateway/client_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/apigateway/deployment.py b/sdk/python/pulumi_aws_native/apigateway/deployment.py index 12a8c64392..78c4d9a74f 100644 --- a/sdk/python/pulumi_aws_native/apigateway/deployment.py +++ b/sdk/python/pulumi_aws_native/apigateway/deployment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/apigateway/documentation_part.py b/sdk/python/pulumi_aws_native/apigateway/documentation_part.py index 26c9ed70d8..26db0389cd 100644 --- a/sdk/python/pulumi_aws_native/apigateway/documentation_part.py +++ b/sdk/python/pulumi_aws_native/apigateway/documentation_part.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/apigateway/documentation_version.py b/sdk/python/pulumi_aws_native/apigateway/documentation_version.py index 5aa1ab89af..0dbaa7186a 100644 --- a/sdk/python/pulumi_aws_native/apigateway/documentation_version.py +++ b/sdk/python/pulumi_aws_native/apigateway/documentation_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DocumentationVersionArgs', 'DocumentationVersion'] diff --git a/sdk/python/pulumi_aws_native/apigateway/domain_name.py b/sdk/python/pulumi_aws_native/apigateway/domain_name.py index c876123c2f..3b6c7ae165 100644 --- a/sdk/python/pulumi_aws_native/apigateway/domain_name.py +++ b/sdk/python/pulumi_aws_native/apigateway/domain_name.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/apigateway/gateway_response.py b/sdk/python/pulumi_aws_native/apigateway/gateway_response.py index 450ec24e86..d94b021eb3 100644 --- a/sdk/python/pulumi_aws_native/apigateway/gateway_response.py +++ b/sdk/python/pulumi_aws_native/apigateway/gateway_response.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['GatewayResponseArgs', 'GatewayResponse'] diff --git a/sdk/python/pulumi_aws_native/apigateway/get_account.py b/sdk/python/pulumi_aws_native/apigateway/get_account.py index f089da05a8..245a1b2b15 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_account.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_account.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_account(id: Optional[str] = None, return AwaitableGetAccountResult( cloud_watch_role_arn=pulumi.get(__ret__, 'cloud_watch_role_arn'), id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_account) def get_account_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountResult]: """ @@ -80,4 +82,10 @@ def get_account_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID for the account. For example: `abc123` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + cloud_watch_role_arn=pulumi.get(__response__, 'cloud_watch_role_arn'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_api_key.py b/sdk/python/pulumi_aws_native/apigateway/get_api_key.py index 1d8663d0e2..5214d4e1b7 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_api_key.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_api_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -123,9 +128,6 @@ def get_api_key(api_key_id: Optional[str] = None, enabled=pulumi.get(__ret__, 'enabled'), stage_keys=pulumi.get(__ret__, 'stage_keys'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_api_key) def get_api_key_output(api_key_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApiKeyResult]: """ @@ -134,4 +136,14 @@ def get_api_key_output(api_key_id: Optional[pulumi.Input[str]] = None, :param str api_key_id: The ID for the API key. For example: `abc123` . """ - ... + __args__ = dict() + __args__['apiKeyId'] = api_key_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getApiKey', __args__, opts=opts, typ=GetApiKeyResult) + return __ret__.apply(lambda __response__: GetApiKeyResult( + api_key_id=pulumi.get(__response__, 'api_key_id'), + customer_id=pulumi.get(__response__, 'customer_id'), + description=pulumi.get(__response__, 'description'), + enabled=pulumi.get(__response__, 'enabled'), + stage_keys=pulumi.get(__response__, 'stage_keys'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_authorizer.py b/sdk/python/pulumi_aws_native/apigateway/get_authorizer.py index df46b91687..5ca27522d4 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_authorizer.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_authorizer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -176,9 +181,6 @@ def get_authorizer(authorizer_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), provider_arns=pulumi.get(__ret__, 'provider_arns'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_authorizer) def get_authorizer_output(authorizer_id: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAuthorizerResult]: @@ -189,4 +191,19 @@ def get_authorizer_output(authorizer_id: Optional[pulumi.Input[str]] = None, :param str authorizer_id: The ID for the authorizer. For example: `abc123` . :param str rest_api_id: The string identifier of the associated RestApi. """ - ... + __args__ = dict() + __args__['authorizerId'] = authorizer_id + __args__['restApiId'] = rest_api_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getAuthorizer', __args__, opts=opts, typ=GetAuthorizerResult) + return __ret__.apply(lambda __response__: GetAuthorizerResult( + auth_type=pulumi.get(__response__, 'auth_type'), + authorizer_credentials=pulumi.get(__response__, 'authorizer_credentials'), + authorizer_id=pulumi.get(__response__, 'authorizer_id'), + authorizer_result_ttl_in_seconds=pulumi.get(__response__, 'authorizer_result_ttl_in_seconds'), + authorizer_uri=pulumi.get(__response__, 'authorizer_uri'), + identity_source=pulumi.get(__response__, 'identity_source'), + identity_validation_expression=pulumi.get(__response__, 'identity_validation_expression'), + name=pulumi.get(__response__, 'name'), + provider_arns=pulumi.get(__response__, 'provider_arns'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_base_path_mapping.py b/sdk/python/pulumi_aws_native/apigateway/get_base_path_mapping.py index 9847e46067..95e50af322 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_base_path_mapping.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_base_path_mapping.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_base_path_mapping(base_path: Optional[str] = None, return AwaitableGetBasePathMappingResult( rest_api_id=pulumi.get(__ret__, 'rest_api_id'), stage=pulumi.get(__ret__, 'stage')) - - -@_utilities.lift_output_func(get_base_path_mapping) def get_base_path_mapping_output(base_path: Optional[pulumi.Input[str]] = None, domain_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBasePathMappingResult]: @@ -85,4 +87,11 @@ def get_base_path_mapping_output(base_path: Optional[pulumi.Input[str]] = None, :param str base_path: The base path name that callers of the API must provide as part of the URL after the domain name. :param str domain_name: The domain name of the BasePathMapping resource to be described. """ - ... + __args__ = dict() + __args__['basePath'] = base_path + __args__['domainName'] = domain_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getBasePathMapping', __args__, opts=opts, typ=GetBasePathMappingResult) + return __ret__.apply(lambda __response__: GetBasePathMappingResult( + rest_api_id=pulumi.get(__response__, 'rest_api_id'), + stage=pulumi.get(__response__, 'stage'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_client_certificate.py b/sdk/python/pulumi_aws_native/apigateway/get_client_certificate.py index 421b631688..be1309802a 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_client_certificate.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_client_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_client_certificate(client_certificate_id: Optional[str] = None, client_certificate_id=pulumi.get(__ret__, 'client_certificate_id'), description=pulumi.get(__ret__, 'description'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_client_certificate) def get_client_certificate_output(client_certificate_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClientCertificateResult]: """ @@ -94,4 +96,11 @@ def get_client_certificate_output(client_certificate_id: Optional[pulumi.Input[s :param str client_certificate_id: The ID for the client certificate. For example: `abc123` . """ - ... + __args__ = dict() + __args__['clientCertificateId'] = client_certificate_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getClientCertificate', __args__, opts=opts, typ=GetClientCertificateResult) + return __ret__.apply(lambda __response__: GetClientCertificateResult( + client_certificate_id=pulumi.get(__response__, 'client_certificate_id'), + description=pulumi.get(__response__, 'description'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_deployment.py b/sdk/python/pulumi_aws_native/apigateway/get_deployment.py index 8462338e41..9d60e79212 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_deployment.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_deployment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_deployment(deployment_id: Optional[str] = None, return AwaitableGetDeploymentResult( deployment_id=pulumi.get(__ret__, 'deployment_id'), description=pulumi.get(__ret__, 'description')) - - -@_utilities.lift_output_func(get_deployment) def get_deployment_output(deployment_id: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeploymentResult]: @@ -85,4 +87,11 @@ def get_deployment_output(deployment_id: Optional[pulumi.Input[str]] = None, :param str deployment_id: The ID for the deployment. For example: `abc123` . :param str rest_api_id: The string identifier of the associated RestApi. """ - ... + __args__ = dict() + __args__['deploymentId'] = deployment_id + __args__['restApiId'] = rest_api_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getDeployment', __args__, opts=opts, typ=GetDeploymentResult) + return __ret__.apply(lambda __response__: GetDeploymentResult( + deployment_id=pulumi.get(__response__, 'deployment_id'), + description=pulumi.get(__response__, 'description'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_documentation_part.py b/sdk/python/pulumi_aws_native/apigateway/get_documentation_part.py index 7786431ebb..427ef63193 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_documentation_part.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_documentation_part.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_documentation_part(documentation_part_id: Optional[str] = None, return AwaitableGetDocumentationPartResult( documentation_part_id=pulumi.get(__ret__, 'documentation_part_id'), properties=pulumi.get(__ret__, 'properties')) - - -@_utilities.lift_output_func(get_documentation_part) def get_documentation_part_output(documentation_part_id: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDocumentationPartResult]: @@ -85,4 +87,11 @@ def get_documentation_part_output(documentation_part_id: Optional[pulumi.Input[s :param str documentation_part_id: The ID for the documentation part. :param str rest_api_id: The string identifier of the associated RestApi. """ - ... + __args__ = dict() + __args__['documentationPartId'] = documentation_part_id + __args__['restApiId'] = rest_api_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getDocumentationPart', __args__, opts=opts, typ=GetDocumentationPartResult) + return __ret__.apply(lambda __response__: GetDocumentationPartResult( + documentation_part_id=pulumi.get(__response__, 'documentation_part_id'), + properties=pulumi.get(__response__, 'properties'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_documentation_version.py b/sdk/python/pulumi_aws_native/apigateway/get_documentation_version.py index 3a704b7bd6..f926709346 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_documentation_version.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_documentation_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -59,9 +64,6 @@ def get_documentation_version(documentation_version: Optional[str] = None, return AwaitableGetDocumentationVersionResult( description=pulumi.get(__ret__, 'description')) - - -@_utilities.lift_output_func(get_documentation_version) def get_documentation_version_output(documentation_version: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDocumentationVersionResult]: @@ -72,4 +74,10 @@ def get_documentation_version_output(documentation_version: Optional[pulumi.Inpu :param str documentation_version: The version identifier of the to-be-updated documentation version. :param str rest_api_id: The string identifier of the associated RestApi. """ - ... + __args__ = dict() + __args__['documentationVersion'] = documentation_version + __args__['restApiId'] = rest_api_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getDocumentationVersion', __args__, opts=opts, typ=GetDocumentationVersionResult) + return __ret__.apply(lambda __response__: GetDocumentationVersionResult( + description=pulumi.get(__response__, 'description'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_domain_name.py b/sdk/python/pulumi_aws_native/apigateway/get_domain_name.py index 7ee4c136ec..cfa4472540 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_domain_name.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_domain_name.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -190,9 +195,6 @@ def get_domain_name(domain_name: Optional[str] = None, regional_hosted_zone_id=pulumi.get(__ret__, 'regional_hosted_zone_id'), security_policy=pulumi.get(__ret__, 'security_policy'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_domain_name) def get_domain_name_output(domain_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainNameResult]: """ @@ -201,4 +203,19 @@ def get_domain_name_output(domain_name: Optional[pulumi.Input[str]] = None, :param str domain_name: The custom domain name as an API host name, for example, `my-api.example.com` . """ - ... + __args__ = dict() + __args__['domainName'] = domain_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getDomainName', __args__, opts=opts, typ=GetDomainNameResult) + return __ret__.apply(lambda __response__: GetDomainNameResult( + certificate_arn=pulumi.get(__response__, 'certificate_arn'), + distribution_domain_name=pulumi.get(__response__, 'distribution_domain_name'), + distribution_hosted_zone_id=pulumi.get(__response__, 'distribution_hosted_zone_id'), + endpoint_configuration=pulumi.get(__response__, 'endpoint_configuration'), + mutual_tls_authentication=pulumi.get(__response__, 'mutual_tls_authentication'), + ownership_verification_certificate_arn=pulumi.get(__response__, 'ownership_verification_certificate_arn'), + regional_certificate_arn=pulumi.get(__response__, 'regional_certificate_arn'), + regional_domain_name=pulumi.get(__response__, 'regional_domain_name'), + regional_hosted_zone_id=pulumi.get(__response__, 'regional_hosted_zone_id'), + security_policy=pulumi.get(__response__, 'security_policy'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_gateway_response.py b/sdk/python/pulumi_aws_native/apigateway/get_gateway_response.py index 2e9bda67d2..516c1cd196 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_gateway_response.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_gateway_response.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -95,9 +100,6 @@ def get_gateway_response(id: Optional[str] = None, response_parameters=pulumi.get(__ret__, 'response_parameters'), response_templates=pulumi.get(__ret__, 'response_templates'), status_code=pulumi.get(__ret__, 'status_code')) - - -@_utilities.lift_output_func(get_gateway_response) def get_gateway_response_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGatewayResponseResult]: """ @@ -106,4 +108,12 @@ def get_gateway_response_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID for the gateway response. For example: `abc123` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getGatewayResponse', __args__, opts=opts, typ=GetGatewayResponseResult) + return __ret__.apply(lambda __response__: GetGatewayResponseResult( + id=pulumi.get(__response__, 'id'), + response_parameters=pulumi.get(__response__, 'response_parameters'), + response_templates=pulumi.get(__response__, 'response_templates'), + status_code=pulumi.get(__response__, 'status_code'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_method.py b/sdk/python/pulumi_aws_native/apigateway/get_method.py index 14cb67a932..3a311a528e 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_method.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_method.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -182,9 +187,6 @@ def get_method(http_method: Optional[str] = None, request_models=pulumi.get(__ret__, 'request_models'), request_parameters=pulumi.get(__ret__, 'request_parameters'), request_validator_id=pulumi.get(__ret__, 'request_validator_id')) - - -@_utilities.lift_output_func(get_method) def get_method_output(http_method: Optional[pulumi.Input[str]] = None, resource_id: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, @@ -197,4 +199,20 @@ def get_method_output(http_method: Optional[pulumi.Input[str]] = None, :param str resource_id: The Resource identifier for the MethodResponse resource. :param str rest_api_id: The string identifier of the associated RestApi. """ - ... + __args__ = dict() + __args__['httpMethod'] = http_method + __args__['resourceId'] = resource_id + __args__['restApiId'] = rest_api_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getMethod', __args__, opts=opts, typ=GetMethodResult) + return __ret__.apply(lambda __response__: GetMethodResult( + api_key_required=pulumi.get(__response__, 'api_key_required'), + authorization_scopes=pulumi.get(__response__, 'authorization_scopes'), + authorization_type=pulumi.get(__response__, 'authorization_type'), + authorizer_id=pulumi.get(__response__, 'authorizer_id'), + integration=pulumi.get(__response__, 'integration'), + method_responses=pulumi.get(__response__, 'method_responses'), + operation_name=pulumi.get(__response__, 'operation_name'), + request_models=pulumi.get(__response__, 'request_models'), + request_parameters=pulumi.get(__response__, 'request_parameters'), + request_validator_id=pulumi.get(__response__, 'request_validator_id'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_model.py b/sdk/python/pulumi_aws_native/apigateway/get_model.py index 7c74cb052a..3282de76af 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_model.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_model.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -75,9 +80,6 @@ def get_model(name: Optional[str] = None, return AwaitableGetModelResult( description=pulumi.get(__ret__, 'description'), schema=pulumi.get(__ret__, 'schema')) - - -@_utilities.lift_output_func(get_model) def get_model_output(name: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetModelResult]: @@ -89,4 +91,11 @@ def get_model_output(name: Optional[pulumi.Input[str]] = None, If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. :param str rest_api_id: The string identifier of the associated RestApi. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['restApiId'] = rest_api_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getModel', __args__, opts=opts, typ=GetModelResult) + return __ret__.apply(lambda __response__: GetModelResult( + description=pulumi.get(__response__, 'description'), + schema=pulumi.get(__response__, 'schema'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_request_validator.py b/sdk/python/pulumi_aws_native/apigateway/get_request_validator.py index b4075ee872..81a2c77f6c 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_request_validator.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_request_validator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -85,9 +90,6 @@ def get_request_validator(request_validator_id: Optional[str] = None, request_validator_id=pulumi.get(__ret__, 'request_validator_id'), validate_request_body=pulumi.get(__ret__, 'validate_request_body'), validate_request_parameters=pulumi.get(__ret__, 'validate_request_parameters')) - - -@_utilities.lift_output_func(get_request_validator) def get_request_validator_output(request_validator_id: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRequestValidatorResult]: @@ -98,4 +100,12 @@ def get_request_validator_output(request_validator_id: Optional[pulumi.Input[str :param str request_validator_id: The ID for the request validator. For example: `abc123` . :param str rest_api_id: The string identifier of the associated RestApi. """ - ... + __args__ = dict() + __args__['requestValidatorId'] = request_validator_id + __args__['restApiId'] = rest_api_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getRequestValidator', __args__, opts=opts, typ=GetRequestValidatorResult) + return __ret__.apply(lambda __response__: GetRequestValidatorResult( + request_validator_id=pulumi.get(__response__, 'request_validator_id'), + validate_request_body=pulumi.get(__response__, 'validate_request_body'), + validate_request_parameters=pulumi.get(__response__, 'validate_request_parameters'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_resource.py b/sdk/python/pulumi_aws_native/apigateway/get_resource.py index 417ea2390c..b73fa5a192 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_resource.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_resource.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -59,9 +64,6 @@ def get_resource(resource_id: Optional[str] = None, return AwaitableGetResourceResult( resource_id=pulumi.get(__ret__, 'resource_id')) - - -@_utilities.lift_output_func(get_resource) def get_resource_output(resource_id: Optional[pulumi.Input[str]] = None, rest_api_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceResult]: @@ -72,4 +74,10 @@ def get_resource_output(resource_id: Optional[pulumi.Input[str]] = None, :param str resource_id: The ID for the resource. For example: `abc123` . :param str rest_api_id: The string identifier of the associated RestApi. """ - ... + __args__ = dict() + __args__['resourceId'] = resource_id + __args__['restApiId'] = rest_api_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getResource', __args__, opts=opts, typ=GetResourceResult) + return __ret__.apply(lambda __response__: GetResourceResult( + resource_id=pulumi.get(__response__, 'resource_id'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_rest_api.py b/sdk/python/pulumi_aws_native/apigateway/get_rest_api.py index 2be736e587..13393863b1 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_rest_api.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_rest_api.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -191,9 +196,6 @@ def get_rest_api(rest_api_id: Optional[str] = None, rest_api_id=pulumi.get(__ret__, 'rest_api_id'), root_resource_id=pulumi.get(__ret__, 'root_resource_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_rest_api) def get_rest_api_output(rest_api_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRestApiResult]: """ @@ -203,4 +205,19 @@ def get_rest_api_output(rest_api_id: Optional[pulumi.Input[str]] = None, :param str rest_api_id: The string identifier of the associated RestApi. """ - ... + __args__ = dict() + __args__['restApiId'] = rest_api_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getRestApi', __args__, opts=opts, typ=GetRestApiResult) + return __ret__.apply(lambda __response__: GetRestApiResult( + api_key_source_type=pulumi.get(__response__, 'api_key_source_type'), + binary_media_types=pulumi.get(__response__, 'binary_media_types'), + description=pulumi.get(__response__, 'description'), + disable_execute_api_endpoint=pulumi.get(__response__, 'disable_execute_api_endpoint'), + endpoint_configuration=pulumi.get(__response__, 'endpoint_configuration'), + minimum_compression_size=pulumi.get(__response__, 'minimum_compression_size'), + name=pulumi.get(__response__, 'name'), + policy=pulumi.get(__response__, 'policy'), + rest_api_id=pulumi.get(__response__, 'rest_api_id'), + root_resource_id=pulumi.get(__response__, 'root_resource_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_stage.py b/sdk/python/pulumi_aws_native/apigateway/get_stage.py index 8838500c08..6c4e2384d6 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_stage.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_stage.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -204,9 +209,6 @@ def get_stage(rest_api_id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), tracing_enabled=pulumi.get(__ret__, 'tracing_enabled'), variables=pulumi.get(__ret__, 'variables')) - - -@_utilities.lift_output_func(get_stage) def get_stage_output(rest_api_id: Optional[pulumi.Input[str]] = None, stage_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStageResult]: @@ -217,4 +219,21 @@ def get_stage_output(rest_api_id: Optional[pulumi.Input[str]] = None, :param str rest_api_id: The string identifier of the associated RestApi. :param str stage_name: The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters. """ - ... + __args__ = dict() + __args__['restApiId'] = rest_api_id + __args__['stageName'] = stage_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getStage', __args__, opts=opts, typ=GetStageResult) + return __ret__.apply(lambda __response__: GetStageResult( + access_log_setting=pulumi.get(__response__, 'access_log_setting'), + cache_cluster_enabled=pulumi.get(__response__, 'cache_cluster_enabled'), + cache_cluster_size=pulumi.get(__response__, 'cache_cluster_size'), + canary_setting=pulumi.get(__response__, 'canary_setting'), + client_certificate_id=pulumi.get(__response__, 'client_certificate_id'), + deployment_id=pulumi.get(__response__, 'deployment_id'), + description=pulumi.get(__response__, 'description'), + documentation_version=pulumi.get(__response__, 'documentation_version'), + method_settings=pulumi.get(__response__, 'method_settings'), + tags=pulumi.get(__response__, 'tags'), + tracing_enabled=pulumi.get(__response__, 'tracing_enabled'), + variables=pulumi.get(__response__, 'variables'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_usage_plan.py b/sdk/python/pulumi_aws_native/apigateway/get_usage_plan.py index 5c6535c059..d35be907b7 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_usage_plan.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_usage_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_usage_plan(id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), throttle=pulumi.get(__ret__, 'throttle'), usage_plan_name=pulumi.get(__ret__, 'usage_plan_name')) - - -@_utilities.lift_output_func(get_usage_plan) def get_usage_plan_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsagePlanResult]: """ @@ -149,4 +151,15 @@ def get_usage_plan_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID for the usage plan. For example: `abc123` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getUsagePlan', __args__, opts=opts, typ=GetUsagePlanResult) + return __ret__.apply(lambda __response__: GetUsagePlanResult( + api_stages=pulumi.get(__response__, 'api_stages'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + quota=pulumi.get(__response__, 'quota'), + tags=pulumi.get(__response__, 'tags'), + throttle=pulumi.get(__response__, 'throttle'), + usage_plan_name=pulumi.get(__response__, 'usage_plan_name'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_usage_plan_key.py b/sdk/python/pulumi_aws_native/apigateway/get_usage_plan_key.py index f8999ea7db..97c811334f 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_usage_plan_key.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_usage_plan_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_usage_plan_key(id: Optional[str] = None, return AwaitableGetUsagePlanKeyResult( id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_usage_plan_key) def get_usage_plan_key_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsagePlanKeyResult]: """ @@ -67,4 +69,9 @@ def get_usage_plan_key_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID for the usage plan key. For example: `abc123` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getUsagePlanKey', __args__, opts=opts, typ=GetUsagePlanKeyResult) + return __ret__.apply(lambda __response__: GetUsagePlanKeyResult( + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/get_vpc_link.py b/sdk/python/pulumi_aws_native/apigateway/get_vpc_link.py index 04e16159cf..4b7ff88771 100644 --- a/sdk/python/pulumi_aws_native/apigateway/get_vpc_link.py +++ b/sdk/python/pulumi_aws_native/apigateway/get_vpc_link.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_vpc_link(vpc_link_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags'), vpc_link_id=pulumi.get(__ret__, 'vpc_link_id')) - - -@_utilities.lift_output_func(get_vpc_link) def get_vpc_link_output(vpc_link_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcLinkResult]: """ @@ -107,4 +109,12 @@ def get_vpc_link_output(vpc_link_id: Optional[pulumi.Input[str]] = None, :param str vpc_link_id: The ID for the VPC link. For example: `abc123` . """ - ... + __args__ = dict() + __args__['vpcLinkId'] = vpc_link_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigateway:getVpcLink', __args__, opts=opts, typ=GetVpcLinkResult) + return __ret__.apply(lambda __response__: GetVpcLinkResult( + description=pulumi.get(__response__, 'description'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + vpc_link_id=pulumi.get(__response__, 'vpc_link_id'))) diff --git a/sdk/python/pulumi_aws_native/apigateway/method.py b/sdk/python/pulumi_aws_native/apigateway/method.py index f41cb93bcb..12320d57de 100644 --- a/sdk/python/pulumi_aws_native/apigateway/method.py +++ b/sdk/python/pulumi_aws_native/apigateway/method.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/apigateway/model.py b/sdk/python/pulumi_aws_native/apigateway/model.py index c656fcc9d6..1d0b33d61c 100644 --- a/sdk/python/pulumi_aws_native/apigateway/model.py +++ b/sdk/python/pulumi_aws_native/apigateway/model.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ModelArgs', 'Model'] diff --git a/sdk/python/pulumi_aws_native/apigateway/outputs.py b/sdk/python/pulumi_aws_native/apigateway/outputs.py index e1b7d0a86d..262cdc2bac 100644 --- a/sdk/python/pulumi_aws_native/apigateway/outputs.py +++ b/sdk/python/pulumi_aws_native/apigateway/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/apigateway/request_validator.py b/sdk/python/pulumi_aws_native/apigateway/request_validator.py index 66b6b03c4a..5bca526892 100644 --- a/sdk/python/pulumi_aws_native/apigateway/request_validator.py +++ b/sdk/python/pulumi_aws_native/apigateway/request_validator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['RequestValidatorArgs', 'RequestValidator'] diff --git a/sdk/python/pulumi_aws_native/apigateway/resource.py b/sdk/python/pulumi_aws_native/apigateway/resource.py index 19dc8bb4a9..924e3f6162 100644 --- a/sdk/python/pulumi_aws_native/apigateway/resource.py +++ b/sdk/python/pulumi_aws_native/apigateway/resource.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ResourceArgs', 'Resource'] diff --git a/sdk/python/pulumi_aws_native/apigateway/rest_api.py b/sdk/python/pulumi_aws_native/apigateway/rest_api.py index c8b959486b..03c7ce7291 100644 --- a/sdk/python/pulumi_aws_native/apigateway/rest_api.py +++ b/sdk/python/pulumi_aws_native/apigateway/rest_api.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/apigateway/stage.py b/sdk/python/pulumi_aws_native/apigateway/stage.py index 4afe28e5f3..f781cd555f 100644 --- a/sdk/python/pulumi_aws_native/apigateway/stage.py +++ b/sdk/python/pulumi_aws_native/apigateway/stage.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/apigateway/usage_plan.py b/sdk/python/pulumi_aws_native/apigateway/usage_plan.py index 42658acad9..18294cd1b7 100644 --- a/sdk/python/pulumi_aws_native/apigateway/usage_plan.py +++ b/sdk/python/pulumi_aws_native/apigateway/usage_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/apigateway/usage_plan_key.py b/sdk/python/pulumi_aws_native/apigateway/usage_plan_key.py index 4942bf5e9e..72ad7bad72 100644 --- a/sdk/python/pulumi_aws_native/apigateway/usage_plan_key.py +++ b/sdk/python/pulumi_aws_native/apigateway/usage_plan_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/apigateway/vpc_link.py b/sdk/python/pulumi_aws_native/apigateway/vpc_link.py index be0d32ec14..cd9151dcb7 100644 --- a/sdk/python/pulumi_aws_native/apigateway/vpc_link.py +++ b/sdk/python/pulumi_aws_native/apigateway/vpc_link.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/_inputs.py b/sdk/python/pulumi_aws_native/apigatewayv2/_inputs.py index 27a6cec912..82145dd79e 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/_inputs.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/_inputs.py @@ -4,24 +4,65 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'ApiBodyS3LocationArgs', + 'ApiBodyS3LocationArgsDict', 'ApiCorsArgs', + 'ApiCorsArgsDict', 'AuthorizerJwtConfigurationArgs', + 'AuthorizerJwtConfigurationArgsDict', 'DomainNameConfigurationArgs', + 'DomainNameConfigurationArgsDict', 'DomainNameMutualTlsAuthenticationArgs', + 'DomainNameMutualTlsAuthenticationArgsDict', 'IntegrationResponseParameterMapArgs', + 'IntegrationResponseParameterMapArgsDict', 'IntegrationResponseParameterArgs', + 'IntegrationResponseParameterArgsDict', 'IntegrationTlsConfigArgs', + 'IntegrationTlsConfigArgsDict', 'RouteParameterConstraintsArgs', + 'RouteParameterConstraintsArgsDict', 'RouteResponseParameterConstraintsArgs', + 'RouteResponseParameterConstraintsArgsDict', ] +MYPY = False + +if not MYPY: + class ApiBodyS3LocationArgsDict(TypedDict): + """ + The ``BodyS3Location`` property specifies an S3 location from which to import an OpenAPI definition. Supported only for HTTP APIs. + """ + bucket: NotRequired[pulumi.Input[str]] + """ + The S3 bucket that contains the OpenAPI definition to import. Required if you specify a ``BodyS3Location`` for an API. + """ + etag: NotRequired[pulumi.Input[str]] + """ + The Etag of the S3 object. + """ + key: NotRequired[pulumi.Input[str]] + """ + The key of the S3 object. Required if you specify a ``BodyS3Location`` for an API. + """ + version: NotRequired[pulumi.Input[str]] + """ + The version of the S3 object. + """ +elif False: + ApiBodyS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApiBodyS3LocationArgs: def __init__(__self__, *, @@ -94,6 +135,38 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class ApiCorsArgsDict(TypedDict): + """ + The ``Cors`` property specifies a CORS configuration for an API. Supported only for HTTP APIs. See [Configuring CORS](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) for more information. + """ + allow_credentials: NotRequired[pulumi.Input[bool]] + """ + Specifies whether credentials are included in the CORS request. Supported only for HTTP APIs. + """ + allow_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Represents a collection of allowed headers. Supported only for HTTP APIs. + """ + allow_methods: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Represents a collection of allowed HTTP methods. Supported only for HTTP APIs. + """ + allow_origins: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Represents a collection of allowed origins. Supported only for HTTP APIs. + """ + expose_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Represents a collection of exposed headers. Supported only for HTTP APIs. + """ + max_age: NotRequired[pulumi.Input[int]] + """ + The number of seconds that the browser should cache preflight request results. Supported only for HTTP APIs. + """ +elif False: + ApiCorsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApiCorsArgs: def __init__(__self__, *, @@ -198,6 +271,22 @@ def max_age(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_age", value) +if not MYPY: + class AuthorizerJwtConfigurationArgsDict(TypedDict): + """ + The ``JWTConfiguration`` property specifies the configuration of a JWT authorizer. Required for the ``JWT`` authorizer type. Supported only for HTTP APIs. + """ + audience: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the intended recipients of the JWT. A valid JWT must provide an ``aud`` that matches at least one entry in this list. See [RFC 7519](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc7519#section-4.1.3). Required for the ``JWT`` authorizer type. Supported only for HTTP APIs. + """ + issuer: NotRequired[pulumi.Input[str]] + """ + The base domain of the identity provider that issues JSON Web Tokens. For example, an Amazon Cognito user pool has the following format: ``https://cognito-idp.{region}.amazonaws.com/{userPoolId}``. Required for the ``JWT`` authorizer type. Supported only for HTTP APIs. + """ +elif False: + AuthorizerJwtConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AuthorizerJwtConfigurationArgs: def __init__(__self__, *, @@ -238,6 +327,35 @@ def issuer(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "issuer", value) +if not MYPY: + class DomainNameConfigurationArgsDict(TypedDict): + """ + The ``DomainNameConfiguration`` property type specifies the configuration for an API's domain name. + ``DomainNameConfiguration`` is a property of the [AWS::ApiGatewayV2::DomainName](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html) resource. + """ + certificate_arn: NotRequired[pulumi.Input[str]] + """ + An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source. + """ + certificate_name: NotRequired[pulumi.Input[str]] + """ + The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name. + """ + endpoint_type: NotRequired[pulumi.Input[str]] + """ + The endpoint type. + """ + ownership_verification_certificate_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon resource name (ARN) for the public certificate issued by ACMlong. This ARN is used to validate custom domain ownership. It's required only if you configure mutual TLS and use either an ACM-imported or a private CA certificate ARN as the regionalCertificateArn. + """ + security_policy: NotRequired[pulumi.Input[str]] + """ + The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are ``TLS_1_0`` and ``TLS_1_2``. + """ +elif False: + DomainNameConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainNameConfigurationArgs: def __init__(__self__, *, @@ -327,6 +445,22 @@ def security_policy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "security_policy", value) +if not MYPY: + class DomainNameMutualTlsAuthenticationArgsDict(TypedDict): + """ + If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API. + """ + truststore_uri: NotRequired[pulumi.Input[str]] + """ + An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, ``s3://bucket-name/key-name``. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object. + """ + truststore_version: NotRequired[pulumi.Input[str]] + """ + The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket. + """ +elif False: + DomainNameMutualTlsAuthenticationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainNameMutualTlsAuthenticationArgs: def __init__(__self__, *, @@ -367,6 +501,15 @@ def truststore_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "truststore_version", value) +if not MYPY: + class IntegrationResponseParameterMapArgsDict(TypedDict): + """ + map of response parameter lists + """ + response_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['IntegrationResponseParameterArgsDict']]]] +elif False: + IntegrationResponseParameterMapArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationResponseParameterMapArgs: def __init__(__self__, *, @@ -387,6 +530,16 @@ def response_parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "response_parameters", value) +if not MYPY: + class IntegrationResponseParameterArgsDict(TypedDict): + """ + response parameter + """ + destination: NotRequired[pulumi.Input[str]] + source: NotRequired[pulumi.Input[str]] +elif False: + IntegrationResponseParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationResponseParameterArgs: def __init__(__self__, *, @@ -419,6 +572,18 @@ def source(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source", value) +if not MYPY: + class IntegrationTlsConfigArgsDict(TypedDict): + """ + The TlsConfig property specifies the TLS configuration for a private integration. Supported only for HTTP APIs. + """ + server_name_to_verify: NotRequired[pulumi.Input[str]] + """ + If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting. + """ +elif False: + IntegrationTlsConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationTlsConfigArgs: def __init__(__self__, *, @@ -443,6 +608,12 @@ def server_name_to_verify(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "server_name_to_verify", value) +if not MYPY: + class RouteParameterConstraintsArgsDict(TypedDict): + required: pulumi.Input[bool] +elif False: + RouteParameterConstraintsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RouteParameterConstraintsArgs: def __init__(__self__, *, @@ -459,6 +630,18 @@ def required(self, value: pulumi.Input[bool]): pulumi.set(self, "required", value) +if not MYPY: + class RouteResponseParameterConstraintsArgsDict(TypedDict): + """ + Specifies whether the parameter is required. + """ + required: pulumi.Input[bool] + """ + Specifies whether the parameter is required. + """ +elif False: + RouteResponseParameterConstraintsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RouteResponseParameterConstraintsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/api.py b/sdk/python/pulumi_aws_native/apigatewayv2/api.py index e482a20515..98c5589684 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/api.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/api.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/api_mapping.py b/sdk/python/pulumi_aws_native/apigatewayv2/api_mapping.py index b84214a7e6..a54c7bd81d 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/api_mapping.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/api_mapping.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ApiMappingArgs', 'ApiMapping'] diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/authorizer.py b/sdk/python/pulumi_aws_native/apigatewayv2/authorizer.py index dd54198a2b..bdcf298b30 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/authorizer.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/authorizer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/deployment.py b/sdk/python/pulumi_aws_native/apigatewayv2/deployment.py index adeb476d63..c67ebf92d3 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/deployment.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/deployment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DeploymentArgs', 'Deployment'] diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/domain_name.py b/sdk/python/pulumi_aws_native/apigatewayv2/domain_name.py index 899b90020f..1847f0fe9e 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/domain_name.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/domain_name.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_api.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_api.py index e7e4918a62..d66ff02221 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_api.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_api.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -174,9 +179,6 @@ def get_api(api_id: Optional[str] = None, route_selection_expression=pulumi.get(__ret__, 'route_selection_expression'), tags=pulumi.get(__ret__, 'tags'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_api) def get_api_output(api_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApiResult]: """ @@ -185,4 +187,18 @@ def get_api_output(api_id: Optional[pulumi.Input[str]] = None, :param str api_id: The API identifier. """ - ... + __args__ = dict() + __args__['apiId'] = api_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigatewayv2:getApi', __args__, opts=opts, typ=GetApiResult) + return __ret__.apply(lambda __response__: GetApiResult( + api_endpoint=pulumi.get(__response__, 'api_endpoint'), + api_id=pulumi.get(__response__, 'api_id'), + api_key_selection_expression=pulumi.get(__response__, 'api_key_selection_expression'), + cors_configuration=pulumi.get(__response__, 'cors_configuration'), + description=pulumi.get(__response__, 'description'), + disable_execute_api_endpoint=pulumi.get(__response__, 'disable_execute_api_endpoint'), + name=pulumi.get(__response__, 'name'), + route_selection_expression=pulumi.get(__response__, 'route_selection_expression'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_api_mapping.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_api_mapping.py index 014b961c1f..d6a512a2e0 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_api_mapping.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_api_mapping.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -98,9 +103,6 @@ def get_api_mapping(api_mapping_id: Optional[str] = None, api_mapping_id=pulumi.get(__ret__, 'api_mapping_id'), api_mapping_key=pulumi.get(__ret__, 'api_mapping_key'), stage=pulumi.get(__ret__, 'stage')) - - -@_utilities.lift_output_func(get_api_mapping) def get_api_mapping_output(api_mapping_id: Optional[pulumi.Input[str]] = None, domain_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApiMappingResult]: @@ -111,4 +113,13 @@ def get_api_mapping_output(api_mapping_id: Optional[pulumi.Input[str]] = None, :param str api_mapping_id: The API mapping resource ID. :param str domain_name: The domain name. """ - ... + __args__ = dict() + __args__['apiMappingId'] = api_mapping_id + __args__['domainName'] = domain_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigatewayv2:getApiMapping', __args__, opts=opts, typ=GetApiMappingResult) + return __ret__.apply(lambda __response__: GetApiMappingResult( + api_id=pulumi.get(__response__, 'api_id'), + api_mapping_id=pulumi.get(__response__, 'api_mapping_id'), + api_mapping_key=pulumi.get(__response__, 'api_mapping_key'), + stage=pulumi.get(__response__, 'stage'))) diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_authorizer.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_authorizer.py index 10f3cb8bdb..1f445eb2be 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_authorizer.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_authorizer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -192,9 +197,6 @@ def get_authorizer(api_id: Optional[str] = None, identity_validation_expression=pulumi.get(__ret__, 'identity_validation_expression'), jwt_configuration=pulumi.get(__ret__, 'jwt_configuration'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_authorizer) def get_authorizer_output(api_id: Optional[pulumi.Input[str]] = None, authorizer_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAuthorizerResult]: @@ -205,4 +207,20 @@ def get_authorizer_output(api_id: Optional[pulumi.Input[str]] = None, :param str api_id: The API identifier. :param str authorizer_id: The authorizer ID. """ - ... + __args__ = dict() + __args__['apiId'] = api_id + __args__['authorizerId'] = authorizer_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigatewayv2:getAuthorizer', __args__, opts=opts, typ=GetAuthorizerResult) + return __ret__.apply(lambda __response__: GetAuthorizerResult( + authorizer_credentials_arn=pulumi.get(__response__, 'authorizer_credentials_arn'), + authorizer_id=pulumi.get(__response__, 'authorizer_id'), + authorizer_payload_format_version=pulumi.get(__response__, 'authorizer_payload_format_version'), + authorizer_result_ttl_in_seconds=pulumi.get(__response__, 'authorizer_result_ttl_in_seconds'), + authorizer_type=pulumi.get(__response__, 'authorizer_type'), + authorizer_uri=pulumi.get(__response__, 'authorizer_uri'), + enable_simple_responses=pulumi.get(__response__, 'enable_simple_responses'), + identity_source=pulumi.get(__response__, 'identity_source'), + identity_validation_expression=pulumi.get(__response__, 'identity_validation_expression'), + jwt_configuration=pulumi.get(__response__, 'jwt_configuration'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_deployment.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_deployment.py index 757aa9dcdb..5d898f2c39 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_deployment.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_deployment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_deployment(api_id: Optional[str] = None, return AwaitableGetDeploymentResult( deployment_id=pulumi.get(__ret__, 'deployment_id'), description=pulumi.get(__ret__, 'description')) - - -@_utilities.lift_output_func(get_deployment) def get_deployment_output(api_id: Optional[pulumi.Input[str]] = None, deployment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeploymentResult]: @@ -85,4 +87,11 @@ def get_deployment_output(api_id: Optional[pulumi.Input[str]] = None, :param str api_id: The API identifier. :param str deployment_id: The deployment ID. """ - ... + __args__ = dict() + __args__['apiId'] = api_id + __args__['deploymentId'] = deployment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigatewayv2:getDeployment', __args__, opts=opts, typ=GetDeploymentResult) + return __ret__.apply(lambda __response__: GetDeploymentResult( + deployment_id=pulumi.get(__response__, 'deployment_id'), + description=pulumi.get(__response__, 'description'))) diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_domain_name.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_domain_name.py index a9b4f1814e..22a7a0013f 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_domain_name.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_domain_name.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -110,9 +115,6 @@ def get_domain_name(domain_name: Optional[str] = None, regional_domain_name=pulumi.get(__ret__, 'regional_domain_name'), regional_hosted_zone_id=pulumi.get(__ret__, 'regional_hosted_zone_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_domain_name) def get_domain_name_output(domain_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainNameResult]: """ @@ -122,4 +124,13 @@ def get_domain_name_output(domain_name: Optional[pulumi.Input[str]] = None, :param str domain_name: The custom domain name for your API in Amazon API Gateway. Uppercase letters are not supported. """ - ... + __args__ = dict() + __args__['domainName'] = domain_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigatewayv2:getDomainName', __args__, opts=opts, typ=GetDomainNameResult) + return __ret__.apply(lambda __response__: GetDomainNameResult( + domain_name_configurations=pulumi.get(__response__, 'domain_name_configurations'), + mutual_tls_authentication=pulumi.get(__response__, 'mutual_tls_authentication'), + regional_domain_name=pulumi.get(__response__, 'regional_domain_name'), + regional_hosted_zone_id=pulumi.get(__response__, 'regional_hosted_zone_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_integration.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_integration.py index 53e8210b5a..97258aaa7b 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_integration.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -281,9 +286,6 @@ def get_integration(api_id: Optional[str] = None, template_selection_expression=pulumi.get(__ret__, 'template_selection_expression'), timeout_in_millis=pulumi.get(__ret__, 'timeout_in_millis'), tls_config=pulumi.get(__ret__, 'tls_config')) - - -@_utilities.lift_output_func(get_integration) def get_integration_output(api_id: Optional[pulumi.Input[str]] = None, integration_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIntegrationResult]: @@ -294,4 +296,27 @@ def get_integration_output(api_id: Optional[pulumi.Input[str]] = None, :param str api_id: The API identifier. :param str integration_id: The integration ID. """ - ... + __args__ = dict() + __args__['apiId'] = api_id + __args__['integrationId'] = integration_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigatewayv2:getIntegration', __args__, opts=opts, typ=GetIntegrationResult) + return __ret__.apply(lambda __response__: GetIntegrationResult( + connection_id=pulumi.get(__response__, 'connection_id'), + connection_type=pulumi.get(__response__, 'connection_type'), + content_handling_strategy=pulumi.get(__response__, 'content_handling_strategy'), + credentials_arn=pulumi.get(__response__, 'credentials_arn'), + description=pulumi.get(__response__, 'description'), + integration_id=pulumi.get(__response__, 'integration_id'), + integration_method=pulumi.get(__response__, 'integration_method'), + integration_subtype=pulumi.get(__response__, 'integration_subtype'), + integration_type=pulumi.get(__response__, 'integration_type'), + integration_uri=pulumi.get(__response__, 'integration_uri'), + passthrough_behavior=pulumi.get(__response__, 'passthrough_behavior'), + payload_format_version=pulumi.get(__response__, 'payload_format_version'), + request_parameters=pulumi.get(__response__, 'request_parameters'), + request_templates=pulumi.get(__response__, 'request_templates'), + response_parameters=pulumi.get(__response__, 'response_parameters'), + template_selection_expression=pulumi.get(__response__, 'template_selection_expression'), + timeout_in_millis=pulumi.get(__response__, 'timeout_in_millis'), + tls_config=pulumi.get(__response__, 'tls_config'))) diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_integration_response.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_integration_response.py index 3c5e56a1e0..20175c3e68 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_integration_response.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_integration_response.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -134,9 +139,6 @@ def get_integration_response(api_id: Optional[str] = None, response_parameters=pulumi.get(__ret__, 'response_parameters'), response_templates=pulumi.get(__ret__, 'response_templates'), template_selection_expression=pulumi.get(__ret__, 'template_selection_expression')) - - -@_utilities.lift_output_func(get_integration_response) def get_integration_response_output(api_id: Optional[pulumi.Input[str]] = None, integration_id: Optional[pulumi.Input[str]] = None, integration_response_id: Optional[pulumi.Input[str]] = None, @@ -149,4 +151,16 @@ def get_integration_response_output(api_id: Optional[pulumi.Input[str]] = None, :param str integration_id: The integration ID. :param str integration_response_id: The integration response ID. """ - ... + __args__ = dict() + __args__['apiId'] = api_id + __args__['integrationId'] = integration_id + __args__['integrationResponseId'] = integration_response_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigatewayv2:getIntegrationResponse', __args__, opts=opts, typ=GetIntegrationResponseResult) + return __ret__.apply(lambda __response__: GetIntegrationResponseResult( + content_handling_strategy=pulumi.get(__response__, 'content_handling_strategy'), + integration_response_id=pulumi.get(__response__, 'integration_response_id'), + integration_response_key=pulumi.get(__response__, 'integration_response_key'), + response_parameters=pulumi.get(__response__, 'response_parameters'), + response_templates=pulumi.get(__response__, 'response_templates'), + template_selection_expression=pulumi.get(__response__, 'template_selection_expression'))) diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_model.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_model.py index 3ca280bdc7..daae9f850a 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_model.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_model.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -113,9 +118,6 @@ def get_model(api_id: Optional[str] = None, model_id=pulumi.get(__ret__, 'model_id'), name=pulumi.get(__ret__, 'name'), schema=pulumi.get(__ret__, 'schema')) - - -@_utilities.lift_output_func(get_model) def get_model_output(api_id: Optional[pulumi.Input[str]] = None, model_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetModelResult]: @@ -126,4 +128,14 @@ def get_model_output(api_id: Optional[pulumi.Input[str]] = None, :param str api_id: The API identifier. :param str model_id: The model ID. """ - ... + __args__ = dict() + __args__['apiId'] = api_id + __args__['modelId'] = model_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigatewayv2:getModel', __args__, opts=opts, typ=GetModelResult) + return __ret__.apply(lambda __response__: GetModelResult( + content_type=pulumi.get(__response__, 'content_type'), + description=pulumi.get(__response__, 'description'), + model_id=pulumi.get(__response__, 'model_id'), + name=pulumi.get(__response__, 'name'), + schema=pulumi.get(__response__, 'schema'))) diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_route.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_route.py index 315fdeebd1..8c11f0a885 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_route.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_route.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -178,9 +183,6 @@ def get_route(api_id: Optional[str] = None, route_key=pulumi.get(__ret__, 'route_key'), route_response_selection_expression=pulumi.get(__ret__, 'route_response_selection_expression'), target=pulumi.get(__ret__, 'target')) - - -@_utilities.lift_output_func(get_route) def get_route_output(api_id: Optional[pulumi.Input[str]] = None, route_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRouteResult]: @@ -191,4 +193,19 @@ def get_route_output(api_id: Optional[pulumi.Input[str]] = None, :param str api_id: The API identifier. :param str route_id: The route ID. """ - ... + __args__ = dict() + __args__['apiId'] = api_id + __args__['routeId'] = route_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigatewayv2:getRoute', __args__, opts=opts, typ=GetRouteResult) + return __ret__.apply(lambda __response__: GetRouteResult( + api_key_required=pulumi.get(__response__, 'api_key_required'), + authorization_scopes=pulumi.get(__response__, 'authorization_scopes'), + authorization_type=pulumi.get(__response__, 'authorization_type'), + model_selection_expression=pulumi.get(__response__, 'model_selection_expression'), + operation_name=pulumi.get(__response__, 'operation_name'), + request_models=pulumi.get(__response__, 'request_models'), + route_id=pulumi.get(__response__, 'route_id'), + route_key=pulumi.get(__response__, 'route_key'), + route_response_selection_expression=pulumi.get(__response__, 'route_response_selection_expression'), + target=pulumi.get(__response__, 'target'))) diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_route_response.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_route_response.py index ca8eccb1ac..7c6e178f6b 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_route_response.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_route_response.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -117,9 +122,6 @@ def get_route_response(api_id: Optional[str] = None, response_parameters=pulumi.get(__ret__, 'response_parameters'), route_response_id=pulumi.get(__ret__, 'route_response_id'), route_response_key=pulumi.get(__ret__, 'route_response_key')) - - -@_utilities.lift_output_func(get_route_response) def get_route_response_output(api_id: Optional[pulumi.Input[str]] = None, route_id: Optional[pulumi.Input[str]] = None, route_response_id: Optional[pulumi.Input[str]] = None, @@ -132,4 +134,15 @@ def get_route_response_output(api_id: Optional[pulumi.Input[str]] = None, :param str route_id: The route ID. :param str route_response_id: The route response ID. """ - ... + __args__ = dict() + __args__['apiId'] = api_id + __args__['routeId'] = route_id + __args__['routeResponseId'] = route_response_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigatewayv2:getRouteResponse', __args__, opts=opts, typ=GetRouteResponseResult) + return __ret__.apply(lambda __response__: GetRouteResponseResult( + model_selection_expression=pulumi.get(__response__, 'model_selection_expression'), + response_models=pulumi.get(__response__, 'response_models'), + response_parameters=pulumi.get(__response__, 'response_parameters'), + route_response_id=pulumi.get(__response__, 'route_response_id'), + route_response_key=pulumi.get(__response__, 'route_response_key'))) diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/get_vpc_link.py b/sdk/python/pulumi_aws_native/apigatewayv2/get_vpc_link.py index 2e6ec33522..2df5e859fb 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/get_vpc_link.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/get_vpc_link.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_vpc_link(vpc_link_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags'), vpc_link_id=pulumi.get(__ret__, 'vpc_link_id')) - - -@_utilities.lift_output_func(get_vpc_link) def get_vpc_link_output(vpc_link_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcLinkResult]: """ @@ -93,4 +95,11 @@ def get_vpc_link_output(vpc_link_id: Optional[pulumi.Input[str]] = None, :param str vpc_link_id: The VPC link ID. """ - ... + __args__ = dict() + __args__['vpcLinkId'] = vpc_link_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apigatewayv2:getVpcLink', __args__, opts=opts, typ=GetVpcLinkResult) + return __ret__.apply(lambda __response__: GetVpcLinkResult( + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + vpc_link_id=pulumi.get(__response__, 'vpc_link_id'))) diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/integration.py b/sdk/python/pulumi_aws_native/apigatewayv2/integration.py index 3d5dc5daab..8ebc87ac2d 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/integration.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/integration_response.py b/sdk/python/pulumi_aws_native/apigatewayv2/integration_response.py index 198d611977..ed4e9fdcac 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/integration_response.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/integration_response.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['IntegrationResponseArgs', 'IntegrationResponse'] diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/model.py b/sdk/python/pulumi_aws_native/apigatewayv2/model.py index dddd9a9380..039b50829f 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/model.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/model.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ModelArgs', 'Model'] diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/outputs.py b/sdk/python/pulumi_aws_native/apigatewayv2/outputs.py index 826fc7cef6..782eaf7285 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/outputs.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/route.py b/sdk/python/pulumi_aws_native/apigatewayv2/route.py index 2f9c14073a..dc897900bf 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/route.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/route.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/route_response.py b/sdk/python/pulumi_aws_native/apigatewayv2/route_response.py index be8f0d23b2..ab6c1e29d5 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/route_response.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/route_response.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/apigatewayv2/vpc_link.py b/sdk/python/pulumi_aws_native/apigatewayv2/vpc_link.py index 8ae2e80f3f..956cf3b736 100644 --- a/sdk/python/pulumi_aws_native/apigatewayv2/vpc_link.py +++ b/sdk/python/pulumi_aws_native/apigatewayv2/vpc_link.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VpcLinkArgs', 'VpcLink'] diff --git a/sdk/python/pulumi_aws_native/appconfig/_inputs.py b/sdk/python/pulumi_aws_native/appconfig/_inputs.py index 967b2067d1..0c498fe5c3 100644 --- a/sdk/python/pulumi_aws_native/appconfig/_inputs.py +++ b/sdk/python/pulumi_aws_native/appconfig/_inputs.py @@ -4,18 +4,45 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'ConfigurationProfileValidatorsArgs', + 'ConfigurationProfileValidatorsArgsDict', 'EnvironmentMonitorArgs', + 'EnvironmentMonitorArgsDict', 'ExtensionActionArgs', + 'ExtensionActionArgsDict', 'ExtensionParameterArgs', + 'ExtensionParameterArgsDict', ] +MYPY = False + +if not MYPY: + class ConfigurationProfileValidatorsArgsDict(TypedDict): + """ + A list of methods for validating the configuration. + """ + content: NotRequired[pulumi.Input[str]] + """ + Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function. + """ + type: NotRequired[pulumi.Input[str]] + """ + AWS AppConfig supports validators of type JSON_SCHEMA and LAMBDA. + """ +elif False: + ConfigurationProfileValidatorsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationProfileValidatorsArgs: def __init__(__self__, *, @@ -56,6 +83,22 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class EnvironmentMonitorArgsDict(TypedDict): + """ + Amazon CloudWatch alarm to monitor during the deployment process. + """ + alarm_arn: pulumi.Input[str] + """ + Amazon Resource Name (ARN) of the Amazon CloudWatch alarm. + """ + alarm_role_arn: NotRequired[pulumi.Input[str]] + """ + ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn. + """ +elif False: + EnvironmentMonitorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentMonitorArgs: def __init__(__self__, *, @@ -95,6 +138,30 @@ def alarm_role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "alarm_role_arn", value) +if not MYPY: + class ExtensionActionArgsDict(TypedDict): + """ + An action for an extension to take at a specific action point. + """ + name: pulumi.Input[str] + """ + The name of the extension action. + """ + uri: pulumi.Input[str] + """ + The URI of the extension action. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the extension Action. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the role for invoking the extension action. + """ +elif False: + ExtensionActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExtensionActionArgs: def __init__(__self__, *, @@ -165,6 +232,20 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class ExtensionParameterArgsDict(TypedDict): + """ + A parameter for the extension to send to a specific action. + """ + required: pulumi.Input[bool] + description: NotRequired[pulumi.Input[str]] + """ + The description of the extension Parameter. + """ + dynamic: NotRequired[pulumi.Input[bool]] +elif False: + ExtensionParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExtensionParameterArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/appconfig/application.py b/sdk/python/pulumi_aws_native/appconfig/application.py index 12403fe9c4..a11c923b22 100644 --- a/sdk/python/pulumi_aws_native/appconfig/application.py +++ b/sdk/python/pulumi_aws_native/appconfig/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/appconfig/configuration_profile.py b/sdk/python/pulumi_aws_native/appconfig/configuration_profile.py index c37f936bfb..c30ed9abf8 100644 --- a/sdk/python/pulumi_aws_native/appconfig/configuration_profile.py +++ b/sdk/python/pulumi_aws_native/appconfig/configuration_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/appconfig/environment.py b/sdk/python/pulumi_aws_native/appconfig/environment.py index 6e93b6eadc..d3745d1471 100644 --- a/sdk/python/pulumi_aws_native/appconfig/environment.py +++ b/sdk/python/pulumi_aws_native/appconfig/environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/appconfig/extension.py b/sdk/python/pulumi_aws_native/appconfig/extension.py index 7ec6082fc2..a7249fbee1 100644 --- a/sdk/python/pulumi_aws_native/appconfig/extension.py +++ b/sdk/python/pulumi_aws_native/appconfig/extension.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/appconfig/extension_association.py b/sdk/python/pulumi_aws_native/appconfig/extension_association.py index 0f38a99a61..e9666bf999 100644 --- a/sdk/python/pulumi_aws_native/appconfig/extension_association.py +++ b/sdk/python/pulumi_aws_native/appconfig/extension_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/appconfig/get_application.py b/sdk/python/pulumi_aws_native/appconfig/get_application.py index 128d9cc168..70d6483229 100644 --- a/sdk/python/pulumi_aws_native/appconfig/get_application.py +++ b/sdk/python/pulumi_aws_native/appconfig/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_application(application_id: Optional[str] = None, description=pulumi.get(__ret__, 'description'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -107,4 +109,12 @@ def get_application_output(application_id: Optional[pulumi.Input[str]] = None, :param str application_id: The application Id """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appconfig:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + application_id=pulumi.get(__response__, 'application_id'), + description=pulumi.get(__response__, 'description'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/appconfig/get_configuration_profile.py b/sdk/python/pulumi_aws_native/appconfig/get_configuration_profile.py index d20412a9ee..bd6bca9db3 100644 --- a/sdk/python/pulumi_aws_native/appconfig/get_configuration_profile.py +++ b/sdk/python/pulumi_aws_native/appconfig/get_configuration_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -152,9 +157,6 @@ def get_configuration_profile(application_id: Optional[str] = None, retrieval_role_arn=pulumi.get(__ret__, 'retrieval_role_arn'), tags=pulumi.get(__ret__, 'tags'), validators=pulumi.get(__ret__, 'validators')) - - -@_utilities.lift_output_func(get_configuration_profile) def get_configuration_profile_output(application_id: Optional[pulumi.Input[str]] = None, configuration_profile_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationProfileResult]: @@ -165,4 +167,17 @@ def get_configuration_profile_output(application_id: Optional[pulumi.Input[str]] :param str application_id: The application ID. :param str configuration_profile_id: The configuration profile ID """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + __args__['configurationProfileId'] = configuration_profile_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appconfig:getConfigurationProfile', __args__, opts=opts, typ=GetConfigurationProfileResult) + return __ret__.apply(lambda __response__: GetConfigurationProfileResult( + configuration_profile_id=pulumi.get(__response__, 'configuration_profile_id'), + description=pulumi.get(__response__, 'description'), + kms_key_arn=pulumi.get(__response__, 'kms_key_arn'), + kms_key_identifier=pulumi.get(__response__, 'kms_key_identifier'), + name=pulumi.get(__response__, 'name'), + retrieval_role_arn=pulumi.get(__response__, 'retrieval_role_arn'), + tags=pulumi.get(__response__, 'tags'), + validators=pulumi.get(__response__, 'validators'))) diff --git a/sdk/python/pulumi_aws_native/appconfig/get_environment.py b/sdk/python/pulumi_aws_native/appconfig/get_environment.py index 72a2bcb193..b7cd51fa7d 100644 --- a/sdk/python/pulumi_aws_native/appconfig/get_environment.py +++ b/sdk/python/pulumi_aws_native/appconfig/get_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -113,9 +118,6 @@ def get_environment(application_id: Optional[str] = None, monitors=pulumi.get(__ret__, 'monitors'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_environment) def get_environment_output(application_id: Optional[pulumi.Input[str]] = None, environment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentResult]: @@ -126,4 +128,14 @@ def get_environment_output(application_id: Optional[pulumi.Input[str]] = None, :param str application_id: The application ID. :param str environment_id: The environment ID. """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + __args__['environmentId'] = environment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appconfig:getEnvironment', __args__, opts=opts, typ=GetEnvironmentResult) + return __ret__.apply(lambda __response__: GetEnvironmentResult( + description=pulumi.get(__response__, 'description'), + environment_id=pulumi.get(__response__, 'environment_id'), + monitors=pulumi.get(__response__, 'monitors'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/appconfig/get_extension.py b/sdk/python/pulumi_aws_native/appconfig/get_extension.py index 76863e81d6..7c442f5298 100644 --- a/sdk/python/pulumi_aws_native/appconfig/get_extension.py +++ b/sdk/python/pulumi_aws_native/appconfig/get_extension.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -122,9 +127,6 @@ def get_extension(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), parameters=pulumi.get(__ret__, 'parameters'), version_number=pulumi.get(__ret__, 'version_number')) - - -@_utilities.lift_output_func(get_extension) def get_extension_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExtensionResult]: """ @@ -133,4 +135,14 @@ def get_extension_output(id: Optional[pulumi.Input[str]] = None, :param str id: The system-generated ID of the extension. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appconfig:getExtension', __args__, opts=opts, typ=GetExtensionResult) + return __ret__.apply(lambda __response__: GetExtensionResult( + actions=pulumi.get(__response__, 'actions'), + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + parameters=pulumi.get(__response__, 'parameters'), + version_number=pulumi.get(__response__, 'version_number'))) diff --git a/sdk/python/pulumi_aws_native/appconfig/get_extension_association.py b/sdk/python/pulumi_aws_native/appconfig/get_extension_association.py index 07d48513fc..cf589f5357 100644 --- a/sdk/python/pulumi_aws_native/appconfig/get_extension_association.py +++ b/sdk/python/pulumi_aws_native/appconfig/get_extension_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -108,9 +113,6 @@ def get_extension_association(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), parameters=pulumi.get(__ret__, 'parameters'), resource_arn=pulumi.get(__ret__, 'resource_arn')) - - -@_utilities.lift_output_func(get_extension_association) def get_extension_association_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExtensionAssociationResult]: """ @@ -119,4 +121,13 @@ def get_extension_association_output(id: Optional[pulumi.Input[str]] = None, :param str id: The system-generated ID for the association. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appconfig:getExtensionAssociation', __args__, opts=opts, typ=GetExtensionAssociationResult) + return __ret__.apply(lambda __response__: GetExtensionAssociationResult( + arn=pulumi.get(__response__, 'arn'), + extension_arn=pulumi.get(__response__, 'extension_arn'), + id=pulumi.get(__response__, 'id'), + parameters=pulumi.get(__response__, 'parameters'), + resource_arn=pulumi.get(__response__, 'resource_arn'))) diff --git a/sdk/python/pulumi_aws_native/appconfig/get_hosted_configuration_version.py b/sdk/python/pulumi_aws_native/appconfig/get_hosted_configuration_version.py index d0592bd0fd..60aaa6afcd 100644 --- a/sdk/python/pulumi_aws_native/appconfig/get_hosted_configuration_version.py +++ b/sdk/python/pulumi_aws_native/appconfig/get_hosted_configuration_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -62,9 +67,6 @@ def get_hosted_configuration_version(application_id: Optional[str] = None, return AwaitableGetHostedConfigurationVersionResult( version_number=pulumi.get(__ret__, 'version_number')) - - -@_utilities.lift_output_func(get_hosted_configuration_version) def get_hosted_configuration_version_output(application_id: Optional[pulumi.Input[str]] = None, configuration_profile_id: Optional[pulumi.Input[str]] = None, version_number: Optional[pulumi.Input[str]] = None, @@ -77,4 +79,11 @@ def get_hosted_configuration_version_output(application_id: Optional[pulumi.Inpu :param str configuration_profile_id: The configuration profile ID. :param str version_number: Current version number of hosted configuration version. """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + __args__['configurationProfileId'] = configuration_profile_id + __args__['versionNumber'] = version_number + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appconfig:getHostedConfigurationVersion', __args__, opts=opts, typ=GetHostedConfigurationVersionResult) + return __ret__.apply(lambda __response__: GetHostedConfigurationVersionResult( + version_number=pulumi.get(__response__, 'version_number'))) diff --git a/sdk/python/pulumi_aws_native/appconfig/hosted_configuration_version.py b/sdk/python/pulumi_aws_native/appconfig/hosted_configuration_version.py index bea47335fd..1d6720de33 100644 --- a/sdk/python/pulumi_aws_native/appconfig/hosted_configuration_version.py +++ b/sdk/python/pulumi_aws_native/appconfig/hosted_configuration_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['HostedConfigurationVersionArgs', 'HostedConfigurationVersion'] diff --git a/sdk/python/pulumi_aws_native/appconfig/outputs.py b/sdk/python/pulumi_aws_native/appconfig/outputs.py index 7fed6e6489..4f2b636646 100644 --- a/sdk/python/pulumi_aws_native/appconfig/outputs.py +++ b/sdk/python/pulumi_aws_native/appconfig/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/appflow/_inputs.py b/sdk/python/pulumi_aws_native/appflow/_inputs.py index dbf051238a..dd185a4de6 100644 --- a/sdk/python/pulumi_aws_native/appflow/_inputs.py +++ b/sdk/python/pulumi_aws_native/appflow/_inputs.py @@ -4,110 +4,224 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ConnectorLambdaConnectorProvisioningConfigArgs', + 'ConnectorLambdaConnectorProvisioningConfigArgsDict', 'ConnectorProfileAmplitudeConnectorProfileCredentialsArgs', + 'ConnectorProfileAmplitudeConnectorProfileCredentialsArgsDict', 'ConnectorProfileApiKeyCredentialsArgs', + 'ConnectorProfileApiKeyCredentialsArgsDict', 'ConnectorProfileBasicAuthCredentialsArgs', + 'ConnectorProfileBasicAuthCredentialsArgsDict', 'ConnectorProfileConfigArgs', + 'ConnectorProfileConfigArgsDict', 'ConnectorProfileConnectorOAuthRequestArgs', + 'ConnectorProfileConnectorOAuthRequestArgsDict', 'ConnectorProfileCredentialsArgs', + 'ConnectorProfileCredentialsArgsDict', 'ConnectorProfileCustomAuthCredentialsArgs', + 'ConnectorProfileCustomAuthCredentialsArgsDict', 'ConnectorProfileCustomConnectorProfileCredentialsArgs', + 'ConnectorProfileCustomConnectorProfileCredentialsArgsDict', 'ConnectorProfileCustomConnectorProfilePropertiesArgs', + 'ConnectorProfileCustomConnectorProfilePropertiesArgsDict', 'ConnectorProfileDatadogConnectorProfileCredentialsArgs', + 'ConnectorProfileDatadogConnectorProfileCredentialsArgsDict', 'ConnectorProfileDatadogConnectorProfilePropertiesArgs', + 'ConnectorProfileDatadogConnectorProfilePropertiesArgsDict', 'ConnectorProfileDynatraceConnectorProfileCredentialsArgs', + 'ConnectorProfileDynatraceConnectorProfileCredentialsArgsDict', 'ConnectorProfileDynatraceConnectorProfilePropertiesArgs', + 'ConnectorProfileDynatraceConnectorProfilePropertiesArgsDict', 'ConnectorProfileGoogleAnalyticsConnectorProfileCredentialsArgs', + 'ConnectorProfileGoogleAnalyticsConnectorProfileCredentialsArgsDict', 'ConnectorProfileInforNexusConnectorProfileCredentialsArgs', + 'ConnectorProfileInforNexusConnectorProfileCredentialsArgsDict', 'ConnectorProfileInforNexusConnectorProfilePropertiesArgs', + 'ConnectorProfileInforNexusConnectorProfilePropertiesArgsDict', 'ConnectorProfileMarketoConnectorProfileCredentialsArgs', + 'ConnectorProfileMarketoConnectorProfileCredentialsArgsDict', 'ConnectorProfileMarketoConnectorProfilePropertiesArgs', + 'ConnectorProfileMarketoConnectorProfilePropertiesArgsDict', 'ConnectorProfileOAuth2CredentialsArgs', + 'ConnectorProfileOAuth2CredentialsArgsDict', 'ConnectorProfileOAuth2PropertiesArgs', + 'ConnectorProfileOAuth2PropertiesArgsDict', 'ConnectorProfileOAuthPropertiesArgs', + 'ConnectorProfileOAuthPropertiesArgsDict', 'ConnectorProfilePardotConnectorProfileCredentialsArgs', + 'ConnectorProfilePardotConnectorProfileCredentialsArgsDict', 'ConnectorProfilePardotConnectorProfilePropertiesArgs', + 'ConnectorProfilePardotConnectorProfilePropertiesArgsDict', 'ConnectorProfilePropertiesArgs', + 'ConnectorProfilePropertiesArgsDict', 'ConnectorProfileRedshiftConnectorProfileCredentialsArgs', + 'ConnectorProfileRedshiftConnectorProfileCredentialsArgsDict', 'ConnectorProfileRedshiftConnectorProfilePropertiesArgs', + 'ConnectorProfileRedshiftConnectorProfilePropertiesArgsDict', 'ConnectorProfileSalesforceConnectorProfileCredentialsArgs', + 'ConnectorProfileSalesforceConnectorProfileCredentialsArgsDict', 'ConnectorProfileSalesforceConnectorProfilePropertiesArgs', + 'ConnectorProfileSalesforceConnectorProfilePropertiesArgsDict', 'ConnectorProfileSapoDataConnectorProfileCredentialsOAuthCredentialsPropertiesArgs', + 'ConnectorProfileSapoDataConnectorProfileCredentialsOAuthCredentialsPropertiesArgsDict', 'ConnectorProfileSapoDataConnectorProfileCredentialsArgs', + 'ConnectorProfileSapoDataConnectorProfileCredentialsArgsDict', 'ConnectorProfileSapoDataConnectorProfilePropertiesArgs', + 'ConnectorProfileSapoDataConnectorProfilePropertiesArgsDict', 'ConnectorProfileServiceNowConnectorProfileCredentialsArgs', + 'ConnectorProfileServiceNowConnectorProfileCredentialsArgsDict', 'ConnectorProfileServiceNowConnectorProfilePropertiesArgs', + 'ConnectorProfileServiceNowConnectorProfilePropertiesArgsDict', 'ConnectorProfileSingularConnectorProfileCredentialsArgs', + 'ConnectorProfileSingularConnectorProfileCredentialsArgsDict', 'ConnectorProfileSlackConnectorProfileCredentialsArgs', + 'ConnectorProfileSlackConnectorProfileCredentialsArgsDict', 'ConnectorProfileSlackConnectorProfilePropertiesArgs', + 'ConnectorProfileSlackConnectorProfilePropertiesArgsDict', 'ConnectorProfileSnowflakeConnectorProfileCredentialsArgs', + 'ConnectorProfileSnowflakeConnectorProfileCredentialsArgsDict', 'ConnectorProfileSnowflakeConnectorProfilePropertiesArgs', + 'ConnectorProfileSnowflakeConnectorProfilePropertiesArgsDict', 'ConnectorProfileTrendmicroConnectorProfileCredentialsArgs', + 'ConnectorProfileTrendmicroConnectorProfileCredentialsArgsDict', 'ConnectorProfileVeevaConnectorProfileCredentialsArgs', + 'ConnectorProfileVeevaConnectorProfileCredentialsArgsDict', 'ConnectorProfileVeevaConnectorProfilePropertiesArgs', + 'ConnectorProfileVeevaConnectorProfilePropertiesArgsDict', 'ConnectorProfileZendeskConnectorProfileCredentialsArgs', + 'ConnectorProfileZendeskConnectorProfileCredentialsArgsDict', 'ConnectorProfileZendeskConnectorProfilePropertiesArgs', + 'ConnectorProfileZendeskConnectorProfilePropertiesArgsDict', 'ConnectorProvisioningConfigArgs', + 'ConnectorProvisioningConfigArgsDict', 'FlowAggregationConfigArgs', + 'FlowAggregationConfigArgsDict', 'FlowAmplitudeSourcePropertiesArgs', + 'FlowAmplitudeSourcePropertiesArgsDict', 'FlowConnectorOperatorArgs', + 'FlowConnectorOperatorArgsDict', 'FlowCustomConnectorDestinationPropertiesArgs', + 'FlowCustomConnectorDestinationPropertiesArgsDict', 'FlowCustomConnectorSourcePropertiesDataTransferApiPropertiesArgs', + 'FlowCustomConnectorSourcePropertiesDataTransferApiPropertiesArgsDict', 'FlowCustomConnectorSourcePropertiesArgs', + 'FlowCustomConnectorSourcePropertiesArgsDict', 'FlowDatadogSourcePropertiesArgs', + 'FlowDatadogSourcePropertiesArgsDict', 'FlowDestinationConnectorPropertiesArgs', + 'FlowDestinationConnectorPropertiesArgsDict', 'FlowDestinationFlowConfigArgs', + 'FlowDestinationFlowConfigArgsDict', 'FlowDynatraceSourcePropertiesArgs', + 'FlowDynatraceSourcePropertiesArgsDict', 'FlowErrorHandlingConfigArgs', + 'FlowErrorHandlingConfigArgsDict', 'FlowEventBridgeDestinationPropertiesArgs', + 'FlowEventBridgeDestinationPropertiesArgsDict', 'FlowGlueDataCatalogArgs', + 'FlowGlueDataCatalogArgsDict', 'FlowGoogleAnalyticsSourcePropertiesArgs', + 'FlowGoogleAnalyticsSourcePropertiesArgsDict', 'FlowIncrementalPullConfigArgs', + 'FlowIncrementalPullConfigArgsDict', 'FlowInforNexusSourcePropertiesArgs', + 'FlowInforNexusSourcePropertiesArgsDict', 'FlowLookoutMetricsDestinationPropertiesArgs', + 'FlowLookoutMetricsDestinationPropertiesArgsDict', 'FlowMarketoDestinationPropertiesArgs', + 'FlowMarketoDestinationPropertiesArgsDict', 'FlowMarketoSourcePropertiesArgs', + 'FlowMarketoSourcePropertiesArgsDict', 'FlowMetadataCatalogConfigArgs', + 'FlowMetadataCatalogConfigArgsDict', 'FlowPardotSourcePropertiesArgs', + 'FlowPardotSourcePropertiesArgsDict', 'FlowPrefixConfigArgs', + 'FlowPrefixConfigArgsDict', 'FlowRedshiftDestinationPropertiesArgs', + 'FlowRedshiftDestinationPropertiesArgsDict', 'FlowS3DestinationPropertiesArgs', + 'FlowS3DestinationPropertiesArgsDict', 'FlowS3InputFormatConfigArgs', + 'FlowS3InputFormatConfigArgsDict', 'FlowS3OutputFormatConfigArgs', + 'FlowS3OutputFormatConfigArgsDict', 'FlowS3SourcePropertiesArgs', + 'FlowS3SourcePropertiesArgsDict', 'FlowSalesforceDestinationPropertiesArgs', + 'FlowSalesforceDestinationPropertiesArgsDict', 'FlowSalesforceSourcePropertiesArgs', + 'FlowSalesforceSourcePropertiesArgsDict', 'FlowSapoDataDestinationPropertiesArgs', + 'FlowSapoDataDestinationPropertiesArgsDict', 'FlowSapoDataPaginationConfigArgs', + 'FlowSapoDataPaginationConfigArgsDict', 'FlowSapoDataParallelismConfigArgs', + 'FlowSapoDataParallelismConfigArgsDict', 'FlowSapoDataSourcePropertiesArgs', + 'FlowSapoDataSourcePropertiesArgsDict', 'FlowScheduledTriggerPropertiesArgs', + 'FlowScheduledTriggerPropertiesArgsDict', 'FlowServiceNowSourcePropertiesArgs', + 'FlowServiceNowSourcePropertiesArgsDict', 'FlowSingularSourcePropertiesArgs', + 'FlowSingularSourcePropertiesArgsDict', 'FlowSlackSourcePropertiesArgs', + 'FlowSlackSourcePropertiesArgsDict', 'FlowSnowflakeDestinationPropertiesArgs', + 'FlowSnowflakeDestinationPropertiesArgsDict', 'FlowSourceConnectorPropertiesArgs', + 'FlowSourceConnectorPropertiesArgsDict', 'FlowSourceFlowConfigArgs', + 'FlowSourceFlowConfigArgsDict', 'FlowSuccessResponseHandlingConfigArgs', + 'FlowSuccessResponseHandlingConfigArgsDict', 'FlowTaskPropertiesObjectArgs', + 'FlowTaskPropertiesObjectArgsDict', 'FlowTaskArgs', + 'FlowTaskArgsDict', 'FlowTrendmicroSourcePropertiesArgs', + 'FlowTrendmicroSourcePropertiesArgsDict', 'FlowTriggerConfigArgs', + 'FlowTriggerConfigArgsDict', 'FlowUpsolverDestinationPropertiesArgs', + 'FlowUpsolverDestinationPropertiesArgsDict', 'FlowUpsolverS3OutputFormatConfigArgs', + 'FlowUpsolverS3OutputFormatConfigArgsDict', 'FlowVeevaSourcePropertiesArgs', + 'FlowVeevaSourcePropertiesArgsDict', 'FlowZendeskDestinationPropertiesArgs', + 'FlowZendeskDestinationPropertiesArgsDict', 'FlowZendeskSourcePropertiesArgs', + 'FlowZendeskSourcePropertiesArgsDict', ] +MYPY = False + +if not MYPY: + class ConnectorLambdaConnectorProvisioningConfigArgsDict(TypedDict): + """ + Contains information about the configuration of the lambda which is being registered as the connector. + """ + lambda_arn: pulumi.Input[str] + """ + Lambda ARN of the connector being registered. + """ +elif False: + ConnectorLambdaConnectorProvisioningConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorLambdaConnectorProvisioningConfigArgs: def __init__(__self__, *, @@ -131,6 +245,19 @@ def lambda_arn(self, value: pulumi.Input[str]): pulumi.set(self, "lambda_arn", value) +if not MYPY: + class ConnectorProfileAmplitudeConnectorProfileCredentialsArgsDict(TypedDict): + api_key: pulumi.Input[str] + """ + A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API. + """ + secret_key: pulumi.Input[str] + """ + The Secret Access Key portion of the credentials. + """ +elif False: + ConnectorProfileAmplitudeConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileAmplitudeConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -168,6 +295,19 @@ def secret_key(self, value: pulumi.Input[str]): pulumi.set(self, "secret_key", value) +if not MYPY: + class ConnectorProfileApiKeyCredentialsArgsDict(TypedDict): + api_key: pulumi.Input[str] + """ + The API key required for API key authentication. + """ + api_secret_key: NotRequired[pulumi.Input[str]] + """ + The API secret key required for API key authentication. + """ +elif False: + ConnectorProfileApiKeyCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileApiKeyCredentialsArgs: def __init__(__self__, *, @@ -206,6 +346,19 @@ def api_secret_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "api_secret_key", value) +if not MYPY: + class ConnectorProfileBasicAuthCredentialsArgsDict(TypedDict): + password: pulumi.Input[str] + """ + The password to use to connect to a resource. + """ + username: pulumi.Input[str] + """ + The username to use to connect to a resource. + """ +elif False: + ConnectorProfileBasicAuthCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileBasicAuthCredentialsArgs: def __init__(__self__, *, @@ -243,6 +396,22 @@ def username(self, value: pulumi.Input[str]): pulumi.set(self, "username", value) +if not MYPY: + class ConnectorProfileConfigArgsDict(TypedDict): + """ + Connector specific configurations needed to create connector profile + """ + connector_profile_credentials: NotRequired[pulumi.Input['ConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required by each connector. + """ + connector_profile_properties: NotRequired[pulumi.Input['ConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties of the profile configuration. + """ +elif False: + ConnectorProfileConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileConfigArgs: def __init__(__self__, *, @@ -283,6 +452,20 @@ def connector_profile_properties(self, value: Optional[pulumi.Input['ConnectorPr pulumi.set(self, "connector_profile_properties", value) +if not MYPY: + class ConnectorProfileConnectorOAuthRequestArgsDict(TypedDict): + auth_code: NotRequired[pulumi.Input[str]] + """ + The code provided by the connector when it has been authenticated via the connected app. + """ + redirect_uri: NotRequired[pulumi.Input[str]] + """ + The URL to which the authentication server redirects the browser after authorization has been + granted. + """ +elif False: + ConnectorProfileConnectorOAuthRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileConnectorOAuthRequestArgs: def __init__(__self__, *, @@ -324,6 +507,86 @@ def redirect_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "redirect_uri", value) +if not MYPY: + class ConnectorProfileCredentialsArgsDict(TypedDict): + """ + Connector specific configuration needed to create connector profile based on Authentication mechanism + """ + amplitude: NotRequired[pulumi.Input['ConnectorProfileAmplitudeConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Amplitude. + """ + custom_connector: NotRequired[pulumi.Input['ConnectorProfileCustomConnectorProfileCredentialsArgsDict']] + """ + The connector-specific profile credentials that are required when using the custom connector. + """ + datadog: NotRequired[pulumi.Input['ConnectorProfileDatadogConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Datadog. + """ + dynatrace: NotRequired[pulumi.Input['ConnectorProfileDynatraceConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Dynatrace. + """ + google_analytics: NotRequired[pulumi.Input['ConnectorProfileGoogleAnalyticsConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Google Analytics. + """ + infor_nexus: NotRequired[pulumi.Input['ConnectorProfileInforNexusConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Infor Nexus. + """ + marketo: NotRequired[pulumi.Input['ConnectorProfileMarketoConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Marketo. + """ + pardot: NotRequired[pulumi.Input['ConnectorProfilePardotConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Salesforce Pardot. + """ + redshift: NotRequired[pulumi.Input['ConnectorProfileRedshiftConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Amazon Redshift. + """ + salesforce: NotRequired[pulumi.Input['ConnectorProfileSalesforceConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Salesforce. + """ + sapo_data: NotRequired[pulumi.Input['ConnectorProfileSapoDataConnectorProfileCredentialsArgsDict']] + """ + The connector-specific profile credentials required when using SAPOData. + """ + service_now: NotRequired[pulumi.Input['ConnectorProfileServiceNowConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using ServiceNow. + """ + singular: NotRequired[pulumi.Input['ConnectorProfileSingularConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Singular. + """ + slack: NotRequired[pulumi.Input['ConnectorProfileSlackConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Slack. + """ + snowflake: NotRequired[pulumi.Input['ConnectorProfileSnowflakeConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Snowflake. + """ + trendmicro: NotRequired[pulumi.Input['ConnectorProfileTrendmicroConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Trend Micro. + """ + veeva: NotRequired[pulumi.Input['ConnectorProfileVeevaConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Veeva. + """ + zendesk: NotRequired[pulumi.Input['ConnectorProfileZendeskConnectorProfileCredentialsArgsDict']] + """ + The connector-specific credentials required when using Zendesk. + """ +elif False: + ConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -620,6 +883,19 @@ def zendesk(self, value: Optional[pulumi.Input['ConnectorProfileZendeskConnector pulumi.set(self, "zendesk", value) +if not MYPY: + class ConnectorProfileCustomAuthCredentialsArgsDict(TypedDict): + custom_authentication_type: pulumi.Input[str] + """ + The custom authentication type that the connector uses. + """ + credentials_map: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A map that holds custom authentication credentials. + """ +elif False: + ConnectorProfileCustomAuthCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileCustomAuthCredentialsArgs: def __init__(__self__, *, @@ -658,6 +934,31 @@ def credentials_map(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input pulumi.set(self, "credentials_map", value) +if not MYPY: + class ConnectorProfileCustomConnectorProfileCredentialsArgsDict(TypedDict): + authentication_type: pulumi.Input['ConnectorProfileAuthenticationType'] + """ + The authentication type that the custom connector uses for authenticating while creating a connector profile. + """ + api_key: NotRequired[pulumi.Input['ConnectorProfileApiKeyCredentialsArgsDict']] + """ + The API keys required for the authentication of the user. + """ + basic: NotRequired[pulumi.Input['ConnectorProfileBasicAuthCredentialsArgsDict']] + """ + The basic credentials that are required for the authentication of the user. + """ + custom: NotRequired[pulumi.Input['ConnectorProfileCustomAuthCredentialsArgsDict']] + """ + If the connector uses the custom authentication mechanism, this holds the required credentials. + """ + oauth2: NotRequired[pulumi.Input['ConnectorProfileOAuth2CredentialsArgsDict']] + """ + The OAuth 2.0 credentials required for the authentication of the user. + """ +elif False: + ConnectorProfileCustomConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileCustomConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -744,6 +1045,19 @@ def oauth2(self, value: Optional[pulumi.Input['ConnectorProfileOAuth2Credentials pulumi.set(self, "oauth2", value) +if not MYPY: + class ConnectorProfileCustomConnectorProfilePropertiesArgsDict(TypedDict): + o_auth2_properties: NotRequired[pulumi.Input['ConnectorProfileOAuth2PropertiesArgsDict']] + """ + The OAuth 2.0 properties required for OAuth 2.0 authentication. + """ + profile_properties: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A map of properties that are required to create a profile for the custom connector. + """ +elif False: + ConnectorProfileCustomConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileCustomConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -783,6 +1097,19 @@ def profile_properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.In pulumi.set(self, "profile_properties", value) +if not MYPY: + class ConnectorProfileDatadogConnectorProfileCredentialsArgsDict(TypedDict): + api_key: pulumi.Input[str] + """ + A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API. + """ + application_key: pulumi.Input[str] + """ + Application keys, in conjunction with your API key, give you full access to Datadog’s programmatic API. Application keys are associated with the user account that created them. The application key is used to log all requests made to the API. + """ +elif False: + ConnectorProfileDatadogConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileDatadogConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -820,6 +1147,15 @@ def application_key(self, value: pulumi.Input[str]): pulumi.set(self, "application_key", value) +if not MYPY: + class ConnectorProfileDatadogConnectorProfilePropertiesArgsDict(TypedDict): + instance_url: pulumi.Input[str] + """ + The location of the Datadog resource + """ +elif False: + ConnectorProfileDatadogConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileDatadogConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -842,6 +1178,15 @@ def instance_url(self, value: pulumi.Input[str]): pulumi.set(self, "instance_url", value) +if not MYPY: + class ConnectorProfileDynatraceConnectorProfileCredentialsArgsDict(TypedDict): + api_token: pulumi.Input[str] + """ + The API tokens used by Dynatrace API to authenticate various API calls. + """ +elif False: + ConnectorProfileDynatraceConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileDynatraceConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -864,6 +1209,15 @@ def api_token(self, value: pulumi.Input[str]): pulumi.set(self, "api_token", value) +if not MYPY: + class ConnectorProfileDynatraceConnectorProfilePropertiesArgsDict(TypedDict): + instance_url: pulumi.Input[str] + """ + The location of the Dynatrace resource + """ +elif False: + ConnectorProfileDynatraceConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileDynatraceConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -886,6 +1240,31 @@ def instance_url(self, value: pulumi.Input[str]): pulumi.set(self, "instance_url", value) +if not MYPY: + class ConnectorProfileGoogleAnalyticsConnectorProfileCredentialsArgsDict(TypedDict): + client_id: pulumi.Input[str] + """ + The identifier for the desired client. + """ + client_secret: pulumi.Input[str] + """ + The client secret used by the oauth client to authenticate to the authorization server. + """ + access_token: NotRequired[pulumi.Input[str]] + """ + The credentials used to access protected resources. + """ + connector_o_auth_request: NotRequired[pulumi.Input['ConnectorProfileConnectorOAuthRequestArgsDict']] + """ + The oauth needed to request security tokens from the connector endpoint. + """ + refresh_token: NotRequired[pulumi.Input[str]] + """ + The credentials used to acquire new access tokens. + """ +elif False: + ConnectorProfileGoogleAnalyticsConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileGoogleAnalyticsConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -971,6 +1350,27 @@ def refresh_token(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "refresh_token", value) +if not MYPY: + class ConnectorProfileInforNexusConnectorProfileCredentialsArgsDict(TypedDict): + access_key_id: pulumi.Input[str] + """ + The Access Key portion of the credentials. + """ + datakey: pulumi.Input[str] + """ + The encryption keys used to encrypt data. + """ + secret_access_key: pulumi.Input[str] + """ + The secret key used to sign requests. + """ + user_id: pulumi.Input[str] + """ + The identifier for the user. + """ +elif False: + ConnectorProfileInforNexusConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileInforNexusConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -1038,6 +1438,15 @@ def user_id(self, value: pulumi.Input[str]): pulumi.set(self, "user_id", value) +if not MYPY: + class ConnectorProfileInforNexusConnectorProfilePropertiesArgsDict(TypedDict): + instance_url: pulumi.Input[str] + """ + The location of the InforNexus resource + """ +elif False: + ConnectorProfileInforNexusConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileInforNexusConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -1060,6 +1469,27 @@ def instance_url(self, value: pulumi.Input[str]): pulumi.set(self, "instance_url", value) +if not MYPY: + class ConnectorProfileMarketoConnectorProfileCredentialsArgsDict(TypedDict): + client_id: pulumi.Input[str] + """ + The identifier for the desired client. + """ + client_secret: pulumi.Input[str] + """ + The client secret used by the oauth client to authenticate to the authorization server. + """ + access_token: NotRequired[pulumi.Input[str]] + """ + The credentials used to access protected resources. + """ + connector_o_auth_request: NotRequired[pulumi.Input['ConnectorProfileConnectorOAuthRequestArgsDict']] + """ + The oauth needed to request security tokens from the connector endpoint. + """ +elif False: + ConnectorProfileMarketoConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileMarketoConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -1129,6 +1559,15 @@ def connector_o_auth_request(self, value: Optional[pulumi.Input['ConnectorProfil pulumi.set(self, "connector_o_auth_request", value) +if not MYPY: + class ConnectorProfileMarketoConnectorProfilePropertiesArgsDict(TypedDict): + instance_url: pulumi.Input[str] + """ + The location of the Marketo resource + """ +elif False: + ConnectorProfileMarketoConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileMarketoConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -1151,6 +1590,28 @@ def instance_url(self, value: pulumi.Input[str]): pulumi.set(self, "instance_url", value) +if not MYPY: + class ConnectorProfileOAuth2CredentialsArgsDict(TypedDict): + access_token: NotRequired[pulumi.Input[str]] + """ + The access token used to access the connector on your behalf. + """ + client_id: NotRequired[pulumi.Input[str]] + """ + The identifier for the desired client. + """ + client_secret: NotRequired[pulumi.Input[str]] + """ + The client secret used by the OAuth client to authenticate to the authorization server. + """ + o_auth_request: NotRequired[pulumi.Input['ConnectorProfileConnectorOAuthRequestArgsDict']] + refresh_token: NotRequired[pulumi.Input[str]] + """ + The refresh token used to refresh an expired access token. + """ +elif False: + ConnectorProfileOAuth2CredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileOAuth2CredentialsArgs: def __init__(__self__, *, @@ -1234,6 +1695,23 @@ def refresh_token(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "refresh_token", value) +if not MYPY: + class ConnectorProfileOAuth2PropertiesArgsDict(TypedDict): + o_auth2_grant_type: NotRequired[pulumi.Input['ConnectorProfileOAuth2GrantType']] + """ + The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication. + """ + token_url: NotRequired[pulumi.Input[str]] + """ + The token URL required for OAuth 2.0 authentication. + """ + token_url_custom_properties: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Associates your token URL with a map of properties that you define. Use this parameter to provide any additional details that the connector requires to authenticate your request. + """ +elif False: + ConnectorProfileOAuth2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileOAuth2PropertiesArgs: def __init__(__self__, *, @@ -1289,6 +1767,23 @@ def token_url_custom_properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.set(self, "token_url_custom_properties", value) +if not MYPY: + class ConnectorProfileOAuthPropertiesArgsDict(TypedDict): + auth_code_url: NotRequired[pulumi.Input[str]] + """ + The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication. + """ + o_auth_scopes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The OAuth scopes required for OAuth type authentication. + """ + token_url: NotRequired[pulumi.Input[str]] + """ + The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token. + """ +elif False: + ConnectorProfileOAuthPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileOAuthPropertiesArgs: def __init__(__self__, *, @@ -1344,6 +1839,27 @@ def token_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "token_url", value) +if not MYPY: + class ConnectorProfilePardotConnectorProfileCredentialsArgsDict(TypedDict): + access_token: NotRequired[pulumi.Input[str]] + """ + The credentials used to access protected resources. + """ + client_credentials_arn: NotRequired[pulumi.Input[str]] + """ + The client credentials to fetch access token and refresh token. + """ + connector_o_auth_request: NotRequired[pulumi.Input['ConnectorProfileConnectorOAuthRequestArgsDict']] + """ + The oauth needed to request security tokens from the connector endpoint. + """ + refresh_token: NotRequired[pulumi.Input[str]] + """ + The credentials used to acquire new access tokens. + """ +elif False: + ConnectorProfilePardotConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfilePardotConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -1415,12 +1931,29 @@ def refresh_token(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "refresh_token", value) -@pulumi.input_type -class ConnectorProfilePardotConnectorProfilePropertiesArgs: - def __init__(__self__, *, - business_unit_id: pulumi.Input[str], - instance_url: Optional[pulumi.Input[str]] = None, - is_sandbox_environment: Optional[pulumi.Input[bool]] = None): +if not MYPY: + class ConnectorProfilePardotConnectorProfilePropertiesArgsDict(TypedDict): + business_unit_id: pulumi.Input[str] + """ + The Business unit id of Salesforce Pardot instance to be connected + """ + instance_url: NotRequired[pulumi.Input[str]] + """ + The location of the Salesforce Pardot resource + """ + is_sandbox_environment: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the connector profile applies to a demo or production environment + """ +elif False: + ConnectorProfilePardotConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ConnectorProfilePardotConnectorProfilePropertiesArgs: + def __init__(__self__, *, + business_unit_id: pulumi.Input[str], + instance_url: Optional[pulumi.Input[str]] = None, + is_sandbox_environment: Optional[pulumi.Input[bool]] = None): """ :param pulumi.Input[str] business_unit_id: The Business unit id of Salesforce Pardot instance to be connected :param pulumi.Input[str] instance_url: The location of the Salesforce Pardot resource @@ -1469,6 +2002,70 @@ def is_sandbox_environment(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_sandbox_environment", value) +if not MYPY: + class ConnectorProfilePropertiesArgsDict(TypedDict): + """ + Connector specific properties needed to create connector profile - currently not needed for Amplitude, Trendmicro, Googleanalytics and Singular + """ + custom_connector: NotRequired[pulumi.Input['ConnectorProfileCustomConnectorProfilePropertiesArgsDict']] + """ + The properties required by the custom connector. + """ + datadog: NotRequired[pulumi.Input['ConnectorProfileDatadogConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by Datadog. + """ + dynatrace: NotRequired[pulumi.Input['ConnectorProfileDynatraceConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by Dynatrace. + """ + infor_nexus: NotRequired[pulumi.Input['ConnectorProfileInforNexusConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by Infor Nexus. + """ + marketo: NotRequired[pulumi.Input['ConnectorProfileMarketoConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by Marketo. + """ + pardot: NotRequired[pulumi.Input['ConnectorProfilePardotConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by Salesforce Pardot. + """ + redshift: NotRequired[pulumi.Input['ConnectorProfileRedshiftConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by Amazon Redshift. + """ + salesforce: NotRequired[pulumi.Input['ConnectorProfileSalesforceConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by Salesforce. + """ + sapo_data: NotRequired[pulumi.Input['ConnectorProfileSapoDataConnectorProfilePropertiesArgsDict']] + """ + The connector-specific profile properties required when using SAPOData. + """ + service_now: NotRequired[pulumi.Input['ConnectorProfileServiceNowConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by serviceNow. + """ + slack: NotRequired[pulumi.Input['ConnectorProfileSlackConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by Slack. + """ + snowflake: NotRequired[pulumi.Input['ConnectorProfileSnowflakeConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by Snowflake. + """ + veeva: NotRequired[pulumi.Input['ConnectorProfileVeevaConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by Veeva. + """ + zendesk: NotRequired[pulumi.Input['ConnectorProfileZendeskConnectorProfilePropertiesArgsDict']] + """ + The connector-specific properties required by Zendesk. + """ +elif False: + ConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -1701,6 +2298,19 @@ def zendesk(self, value: Optional[pulumi.Input['ConnectorProfileZendeskConnector pulumi.set(self, "zendesk", value) +if not MYPY: + class ConnectorProfileRedshiftConnectorProfileCredentialsArgsDict(TypedDict): + password: NotRequired[pulumi.Input[str]] + """ + The password that corresponds to the username. + """ + username: NotRequired[pulumi.Input[str]] + """ + The name of the user. + """ +elif False: + ConnectorProfileRedshiftConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileRedshiftConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -1740,6 +2350,47 @@ def username(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "username", value) +if not MYPY: + class ConnectorProfileRedshiftConnectorProfilePropertiesArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + """ + The name of the Amazon S3 bucket associated with Redshift. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the IAM role. + """ + bucket_prefix: NotRequired[pulumi.Input[str]] + """ + The object key for the destination bucket in which Amazon AppFlow will place the files. + """ + cluster_identifier: NotRequired[pulumi.Input[str]] + """ + The unique identifier of the Amazon Redshift cluster. + """ + data_api_role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the IAM role that grants Amazon AppFlow access to the data through the Amazon Redshift Data API. + """ + database_name: NotRequired[pulumi.Input[str]] + """ + The name of the Amazon Redshift database that will store the transferred data. + """ + database_url: NotRequired[pulumi.Input[str]] + """ + The JDBC URL of the Amazon Redshift cluster. + """ + is_redshift_serverless: NotRequired[pulumi.Input[bool]] + """ + If Amazon AppFlow will connect to Amazon Redshift Serverless or Amazon Redshift cluster. + """ + workgroup_name: NotRequired[pulumi.Input[str]] + """ + The name of the Amazon Redshift serverless workgroup + """ +elif False: + ConnectorProfileRedshiftConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileRedshiftConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -1889,6 +2540,35 @@ def workgroup_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "workgroup_name", value) +if not MYPY: + class ConnectorProfileSalesforceConnectorProfileCredentialsArgsDict(TypedDict): + access_token: NotRequired[pulumi.Input[str]] + """ + The credentials used to access protected resources. + """ + client_credentials_arn: NotRequired[pulumi.Input[str]] + """ + The client credentials to fetch access token and refresh token. + """ + connector_o_auth_request: NotRequired[pulumi.Input['ConnectorProfileConnectorOAuthRequestArgsDict']] + """ + The oauth needed to request security tokens from the connector endpoint. + """ + jwt_token: NotRequired[pulumi.Input[str]] + """ + The credentials used to access your Salesforce records + """ + o_auth2_grant_type: NotRequired[pulumi.Input['ConnectorProfileOAuth2GrantType']] + """ + The grant types to fetch an access token + """ + refresh_token: NotRequired[pulumi.Input[str]] + """ + The credentials used to acquire new access tokens. + """ +elif False: + ConnectorProfileSalesforceConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileSalesforceConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -1992,6 +2672,23 @@ def refresh_token(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "refresh_token", value) +if not MYPY: + class ConnectorProfileSalesforceConnectorProfilePropertiesArgsDict(TypedDict): + instance_url: NotRequired[pulumi.Input[str]] + """ + The location of the Salesforce resource + """ + is_sandbox_environment: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the connector profile applies to a sandbox or production environment + """ + use_private_link_for_metadata_and_authorization: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to make Metadata And Authorization calls over Pivate Network + """ +elif False: + ConnectorProfileSalesforceConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileSalesforceConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -2047,6 +2744,19 @@ def use_private_link_for_metadata_and_authorization(self, value: Optional[pulumi pulumi.set(self, "use_private_link_for_metadata_and_authorization", value) +if not MYPY: + class ConnectorProfileSapoDataConnectorProfileCredentialsOAuthCredentialsPropertiesArgsDict(TypedDict): + """ + The SAPOData OAuth type authentication credentials. + """ + access_token: NotRequired[pulumi.Input[str]] + client_id: NotRequired[pulumi.Input[str]] + client_secret: NotRequired[pulumi.Input[str]] + connector_o_auth_request: NotRequired[pulumi.Input['ConnectorProfileConnectorOAuthRequestArgsDict']] + refresh_token: NotRequired[pulumi.Input[str]] +elif False: + ConnectorProfileSapoDataConnectorProfileCredentialsOAuthCredentialsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileSapoDataConnectorProfileCredentialsOAuthCredentialsPropertiesArgs: def __init__(__self__, *, @@ -2115,6 +2825,19 @@ def refresh_token(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "refresh_token", value) +if not MYPY: + class ConnectorProfileSapoDataConnectorProfileCredentialsArgsDict(TypedDict): + basic_auth_credentials: NotRequired[pulumi.Input['ConnectorProfileBasicAuthCredentialsArgsDict']] + """ + The SAPOData basic authentication credentials. + """ + o_auth_credentials: NotRequired[pulumi.Input['ConnectorProfileSapoDataConnectorProfileCredentialsOAuthCredentialsPropertiesArgsDict']] + """ + The SAPOData OAuth type authentication credentials. + """ +elif False: + ConnectorProfileSapoDataConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileSapoDataConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -2154,6 +2877,43 @@ def o_auth_credentials(self, value: Optional[pulumi.Input['ConnectorProfileSapoD pulumi.set(self, "o_auth_credentials", value) +if not MYPY: + class ConnectorProfileSapoDataConnectorProfilePropertiesArgsDict(TypedDict): + application_host_url: NotRequired[pulumi.Input[str]] + """ + The location of the SAPOData resource. + """ + application_service_path: NotRequired[pulumi.Input[str]] + """ + The application path to catalog service. + """ + client_number: NotRequired[pulumi.Input[str]] + """ + The client number for the client creating the connection. + """ + disable_sso: NotRequired[pulumi.Input[bool]] + """ + If you set this parameter to true, Amazon AppFlow bypasses the single sign-on (SSO) settings in your SAP account when it accesses your SAP OData instance. + """ + logon_language: NotRequired[pulumi.Input[str]] + """ + The logon language of SAPOData instance. + """ + o_auth_properties: NotRequired[pulumi.Input['ConnectorProfileOAuthPropertiesArgsDict']] + """ + The SAPOData OAuth properties required for OAuth type authentication. + """ + port_number: NotRequired[pulumi.Input[int]] + """ + The port number of the SAPOData instance. + """ + private_link_service_name: NotRequired[pulumi.Input[str]] + """ + The SAPOData Private Link service name to be used for private data transfers. + """ +elif False: + ConnectorProfileSapoDataConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileSapoDataConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -2289,6 +3049,23 @@ def private_link_service_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "private_link_service_name", value) +if not MYPY: + class ConnectorProfileServiceNowConnectorProfileCredentialsArgsDict(TypedDict): + o_auth2_credentials: NotRequired[pulumi.Input['ConnectorProfileOAuth2CredentialsArgsDict']] + """ + The OAuth 2.0 credentials required to authenticate the user. + """ + password: NotRequired[pulumi.Input[str]] + """ + The password that corresponds to the username. + """ + username: NotRequired[pulumi.Input[str]] + """ + The name of the user. + """ +elif False: + ConnectorProfileServiceNowConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileServiceNowConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -2344,6 +3121,15 @@ def username(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "username", value) +if not MYPY: + class ConnectorProfileServiceNowConnectorProfilePropertiesArgsDict(TypedDict): + instance_url: pulumi.Input[str] + """ + The location of the ServiceNow resource + """ +elif False: + ConnectorProfileServiceNowConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileServiceNowConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -2366,6 +3152,15 @@ def instance_url(self, value: pulumi.Input[str]): pulumi.set(self, "instance_url", value) +if not MYPY: + class ConnectorProfileSingularConnectorProfileCredentialsArgsDict(TypedDict): + api_key: pulumi.Input[str] + """ + A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API. + """ +elif False: + ConnectorProfileSingularConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileSingularConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -2388,6 +3183,27 @@ def api_key(self, value: pulumi.Input[str]): pulumi.set(self, "api_key", value) +if not MYPY: + class ConnectorProfileSlackConnectorProfileCredentialsArgsDict(TypedDict): + client_id: pulumi.Input[str] + """ + The identifier for the desired client. + """ + client_secret: pulumi.Input[str] + """ + The client secret used by the oauth client to authenticate to the authorization server. + """ + access_token: NotRequired[pulumi.Input[str]] + """ + The credentials used to access protected resources. + """ + connector_o_auth_request: NotRequired[pulumi.Input['ConnectorProfileConnectorOAuthRequestArgsDict']] + """ + The oauth needed to request security tokens from the connector endpoint. + """ +elif False: + ConnectorProfileSlackConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileSlackConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -2457,6 +3273,15 @@ def connector_o_auth_request(self, value: Optional[pulumi.Input['ConnectorProfil pulumi.set(self, "connector_o_auth_request", value) +if not MYPY: + class ConnectorProfileSlackConnectorProfilePropertiesArgsDict(TypedDict): + instance_url: pulumi.Input[str] + """ + The location of the Slack resource + """ +elif False: + ConnectorProfileSlackConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileSlackConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -2479,6 +3304,19 @@ def instance_url(self, value: pulumi.Input[str]): pulumi.set(self, "instance_url", value) +if not MYPY: + class ConnectorProfileSnowflakeConnectorProfileCredentialsArgsDict(TypedDict): + password: pulumi.Input[str] + """ + The password that corresponds to the username. + """ + username: pulumi.Input[str] + """ + The name of the user. + """ +elif False: + ConnectorProfileSnowflakeConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileSnowflakeConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -2516,6 +3354,40 @@ def username(self, value: pulumi.Input[str]): pulumi.set(self, "username", value) +if not MYPY: + class ConnectorProfileSnowflakeConnectorProfilePropertiesArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + """ + The name of the Amazon S3 bucket associated with Snowflake. + """ + stage: pulumi.Input[str] + """ + The name of the Amazon S3 stage that was created while setting up an Amazon S3 stage in the + Snowflake account. This is written in the following format: < Database>< Schema>. + """ + warehouse: pulumi.Input[str] + """ + The name of the Snowflake warehouse. + """ + account_name: NotRequired[pulumi.Input[str]] + """ + The name of the account. + """ + bucket_prefix: NotRequired[pulumi.Input[str]] + """ + The bucket prefix that refers to the Amazon S3 bucket associated with Snowflake. + """ + private_link_service_name: NotRequired[pulumi.Input[str]] + """ + The Snowflake Private Link service name to be used for private data transfers. + """ + region: NotRequired[pulumi.Input[str]] + """ + The region of the Snowflake account. + """ +elif False: + ConnectorProfileSnowflakeConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileSnowflakeConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -2634,6 +3506,15 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +if not MYPY: + class ConnectorProfileTrendmicroConnectorProfileCredentialsArgsDict(TypedDict): + api_secret_key: pulumi.Input[str] + """ + The Secret Access Key portion of the credentials. + """ +elif False: + ConnectorProfileTrendmicroConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileTrendmicroConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -2656,6 +3537,19 @@ def api_secret_key(self, value: pulumi.Input[str]): pulumi.set(self, "api_secret_key", value) +if not MYPY: + class ConnectorProfileVeevaConnectorProfileCredentialsArgsDict(TypedDict): + password: pulumi.Input[str] + """ + The password that corresponds to the username. + """ + username: pulumi.Input[str] + """ + The name of the user. + """ +elif False: + ConnectorProfileVeevaConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileVeevaConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -2693,6 +3587,15 @@ def username(self, value: pulumi.Input[str]): pulumi.set(self, "username", value) +if not MYPY: + class ConnectorProfileVeevaConnectorProfilePropertiesArgsDict(TypedDict): + instance_url: pulumi.Input[str] + """ + The location of the Veeva resource + """ +elif False: + ConnectorProfileVeevaConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileVeevaConnectorProfilePropertiesArgs: def __init__(__self__, *, @@ -2715,6 +3618,27 @@ def instance_url(self, value: pulumi.Input[str]): pulumi.set(self, "instance_url", value) +if not MYPY: + class ConnectorProfileZendeskConnectorProfileCredentialsArgsDict(TypedDict): + client_id: pulumi.Input[str] + """ + The identifier for the desired client. + """ + client_secret: pulumi.Input[str] + """ + The client secret used by the oauth client to authenticate to the authorization server. + """ + access_token: NotRequired[pulumi.Input[str]] + """ + The credentials used to access protected resources. + """ + connector_o_auth_request: NotRequired[pulumi.Input['ConnectorProfileConnectorOAuthRequestArgsDict']] + """ + The oauth needed to request security tokens from the connector endpoint. + """ +elif False: + ConnectorProfileZendeskConnectorProfileCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProfileZendeskConnectorProfileCredentialsArgs: def __init__(__self__, *, @@ -2784,7 +3708,16 @@ def connector_o_auth_request(self, value: Optional[pulumi.Input['ConnectorProfil pulumi.set(self, "connector_o_auth_request", value) -@pulumi.input_type +if not MYPY: + class ConnectorProfileZendeskConnectorProfilePropertiesArgsDict(TypedDict): + instance_url: pulumi.Input[str] + """ + The location of the Zendesk resource + """ +elif False: + ConnectorProfileZendeskConnectorProfilePropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type class ConnectorProfileZendeskConnectorProfilePropertiesArgs: def __init__(__self__, *, instance_url: pulumi.Input[str]): @@ -2806,6 +3739,18 @@ def instance_url(self, value: pulumi.Input[str]): pulumi.set(self, "instance_url", value) +if not MYPY: + class ConnectorProvisioningConfigArgsDict(TypedDict): + """ + Contains information about the configuration of the connector being registered. + """ + lambda_: NotRequired[pulumi.Input['ConnectorLambdaConnectorProvisioningConfigArgsDict']] + """ + Contains information about the configuration of the lambda which is being registered as the connector. + """ +elif False: + ConnectorProvisioningConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProvisioningConfigArgs: def __init__(__self__, *, @@ -2830,6 +3775,19 @@ def lambda_(self, value: Optional[pulumi.Input['ConnectorLambdaConnectorProvisio pulumi.set(self, "lambda_", value) +if not MYPY: + class FlowAggregationConfigArgsDict(TypedDict): + aggregation_type: NotRequired[pulumi.Input['FlowAggregationType']] + """ + Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated. + """ + target_file_size: NotRequired[pulumi.Input[int]] + """ + The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might differ from this target based on the number and size of the records that each file contains. + """ +elif False: + FlowAggregationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowAggregationConfigArgs: def __init__(__self__, *, @@ -2869,6 +3827,15 @@ def target_file_size(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "target_file_size", value) +if not MYPY: + class FlowAmplitudeSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Amplitude flow source. + """ +elif False: + FlowAmplitudeSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowAmplitudeSourcePropertiesArgs: def __init__(__self__, *, @@ -2891,6 +3858,82 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class FlowConnectorOperatorArgsDict(TypedDict): + """ + Operation to be performed on provided source fields + """ + amplitude: NotRequired[pulumi.Input['FlowAmplitudeConnectorOperator']] + """ + The operation to be performed on the provided Amplitude source fields. + """ + custom_connector: NotRequired[pulumi.Input['FlowOperator']] + """ + Operators supported by the custom connector. + """ + datadog: NotRequired[pulumi.Input['FlowDatadogConnectorOperator']] + """ + The operation to be performed on the provided Datadog source fields. + """ + dynatrace: NotRequired[pulumi.Input['FlowDynatraceConnectorOperator']] + """ + The operation to be performed on the provided Dynatrace source fields. + """ + google_analytics: NotRequired[pulumi.Input['FlowGoogleAnalyticsConnectorOperator']] + """ + The operation to be performed on the provided Google Analytics source fields. + """ + infor_nexus: NotRequired[pulumi.Input['FlowInforNexusConnectorOperator']] + """ + The operation to be performed on the provided Infor Nexus source fields. + """ + marketo: NotRequired[pulumi.Input['FlowMarketoConnectorOperator']] + """ + The operation to be performed on the provided Marketo source fields. + """ + pardot: NotRequired[pulumi.Input['FlowPardotConnectorOperator']] + """ + The operation to be performed on the provided Salesforce Pardot source fields. + """ + s3: NotRequired[pulumi.Input['FlowS3ConnectorOperator']] + """ + The operation to be performed on the provided Amazon S3 source fields. + """ + salesforce: NotRequired[pulumi.Input['FlowSalesforceConnectorOperator']] + """ + The operation to be performed on the provided Salesforce source fields. + """ + sapo_data: NotRequired[pulumi.Input['FlowSapoDataConnectorOperator']] + """ + The operation to be performed on the provided SAPOData source fields. + """ + service_now: NotRequired[pulumi.Input['FlowServiceNowConnectorOperator']] + """ + The operation to be performed on the provided ServiceNow source fields. + """ + singular: NotRequired[pulumi.Input['FlowSingularConnectorOperator']] + """ + The operation to be performed on the provided Singular source fields. + """ + slack: NotRequired[pulumi.Input['FlowSlackConnectorOperator']] + """ + The operation to be performed on the provided Slack source fields. + """ + trendmicro: NotRequired[pulumi.Input['FlowTrendmicroConnectorOperator']] + """ + The operation to be performed on the provided Trend Micro source fields. + """ + veeva: NotRequired[pulumi.Input['FlowVeevaConnectorOperator']] + """ + The operation to be performed on the provided Veeva source fields. + """ + zendesk: NotRequired[pulumi.Input['FlowZendeskConnectorOperator']] + """ + The operation to be performed on the provided Zendesk source fields. + """ +elif False: + FlowConnectorOperatorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowConnectorOperatorArgs: def __init__(__self__, *, @@ -3171,6 +4214,31 @@ def zendesk(self, value: Optional[pulumi.Input['FlowZendeskConnectorOperator']]) pulumi.set(self, "zendesk", value) +if not MYPY: + class FlowCustomConnectorDestinationPropertiesArgsDict(TypedDict): + entity_name: pulumi.Input[str] + """ + The entity specified in the custom connector as a destination in the flow. + """ + custom_properties: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The custom properties that are specific to the connector when it's used as a destination in the flow. + """ + error_handling_config: NotRequired[pulumi.Input['FlowErrorHandlingConfigArgsDict']] + """ + The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination. + """ + id_field_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of fields used as ID when performing a write operation. + """ + write_operation_type: NotRequired[pulumi.Input['FlowWriteOperationType']] + """ + Specifies the type of write operation to be performed in the custom connector when it's used as destination. + """ +elif False: + FlowCustomConnectorDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowCustomConnectorDestinationPropertiesArgs: def __init__(__self__, *, @@ -3257,6 +4325,16 @@ def write_operation_type(self, value: Optional[pulumi.Input['FlowWriteOperationT pulumi.set(self, "write_operation_type", value) +if not MYPY: + class FlowCustomConnectorSourcePropertiesDataTransferApiPropertiesArgsDict(TypedDict): + """ + The API of the connector application that Amazon AppFlow uses to transfer your data. + """ + name: pulumi.Input[str] + type: pulumi.Input['FlowCustomConnectorSourcePropertiesDataTransferApiPropertiesType'] +elif False: + FlowCustomConnectorSourcePropertiesDataTransferApiPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowCustomConnectorSourcePropertiesDataTransferApiPropertiesArgs: def __init__(__self__, *, @@ -3287,6 +4365,23 @@ def type(self, value: pulumi.Input['FlowCustomConnectorSourcePropertiesDataTrans pulumi.set(self, "type", value) +if not MYPY: + class FlowCustomConnectorSourcePropertiesArgsDict(TypedDict): + entity_name: pulumi.Input[str] + """ + The entity specified in the custom connector as a source in the flow. + """ + custom_properties: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Custom properties that are required to use the custom connector as a source. + """ + data_transfer_api: NotRequired[pulumi.Input['FlowCustomConnectorSourcePropertiesDataTransferApiPropertiesArgsDict']] + """ + The API of the connector application that Amazon AppFlow uses to transfer your data. + """ +elif False: + FlowCustomConnectorSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowCustomConnectorSourcePropertiesArgs: def __init__(__self__, *, @@ -3341,6 +4436,15 @@ def data_transfer_api(self, value: Optional[pulumi.Input['FlowCustomConnectorSou pulumi.set(self, "data_transfer_api", value) +if not MYPY: + class FlowDatadogSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Datadog flow source. + """ +elif False: + FlowDatadogSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowDatadogSourcePropertiesArgs: def __init__(__self__, *, @@ -3363,6 +4467,58 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class FlowDestinationConnectorPropertiesArgsDict(TypedDict): + """ + Destination connector details + """ + custom_connector: NotRequired[pulumi.Input['FlowCustomConnectorDestinationPropertiesArgsDict']] + """ + The properties that are required to query the custom Connector. + """ + event_bridge: NotRequired[pulumi.Input['FlowEventBridgeDestinationPropertiesArgsDict']] + """ + The properties required to query Amazon EventBridge. + """ + lookout_metrics: NotRequired[pulumi.Input['FlowLookoutMetricsDestinationPropertiesArgsDict']] + """ + The properties required to query Amazon Lookout for Metrics. + """ + marketo: NotRequired[pulumi.Input['FlowMarketoDestinationPropertiesArgsDict']] + """ + The properties required to query Marketo. + """ + redshift: NotRequired[pulumi.Input['FlowRedshiftDestinationPropertiesArgsDict']] + """ + The properties required to query Amazon Redshift. + """ + s3: NotRequired[pulumi.Input['FlowS3DestinationPropertiesArgsDict']] + """ + The properties required to query Amazon S3. + """ + salesforce: NotRequired[pulumi.Input['FlowSalesforceDestinationPropertiesArgsDict']] + """ + The properties required to query Salesforce. + """ + sapo_data: NotRequired[pulumi.Input['FlowSapoDataDestinationPropertiesArgsDict']] + """ + The properties required to query SAPOData. + """ + snowflake: NotRequired[pulumi.Input['FlowSnowflakeDestinationPropertiesArgsDict']] + """ + The properties required to query Snowflake. + """ + upsolver: NotRequired[pulumi.Input['FlowUpsolverDestinationPropertiesArgsDict']] + """ + The properties required to query Upsolver. + """ + zendesk: NotRequired[pulumi.Input['FlowZendeskDestinationPropertiesArgsDict']] + """ + The properties required to query Zendesk. + """ +elif False: + FlowDestinationConnectorPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowDestinationConnectorPropertiesArgs: def __init__(__self__, *, @@ -3547,6 +4703,30 @@ def zendesk(self, value: Optional[pulumi.Input['FlowZendeskDestinationProperties pulumi.set(self, "zendesk", value) +if not MYPY: + class FlowDestinationFlowConfigArgsDict(TypedDict): + """ + Configurations of destination connector. + """ + connector_type: pulumi.Input['FlowConnectorType'] + """ + Destination connector type + """ + destination_connector_properties: pulumi.Input['FlowDestinationConnectorPropertiesArgsDict'] + """ + Destination connector details + """ + api_version: NotRequired[pulumi.Input[str]] + """ + The API version that the destination connector uses. + """ + connector_profile_name: NotRequired[pulumi.Input[str]] + """ + Name of destination connector profile + """ +elif False: + FlowDestinationFlowConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowDestinationFlowConfigArgs: def __init__(__self__, *, @@ -3617,6 +4797,15 @@ def connector_profile_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "connector_profile_name", value) +if not MYPY: + class FlowDynatraceSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Dynatrace flow source. + """ +elif False: + FlowDynatraceSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowDynatraceSourcePropertiesArgs: def __init__(__self__, *, @@ -3639,6 +4828,23 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class FlowErrorHandlingConfigArgsDict(TypedDict): + bucket_name: NotRequired[pulumi.Input[str]] + """ + Specifies the name of the Amazon S3 bucket. + """ + bucket_prefix: NotRequired[pulumi.Input[str]] + """ + Specifies the Amazon S3 bucket prefix. + """ + fail_on_first_error: NotRequired[pulumi.Input[bool]] + """ + Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination. + """ +elif False: + FlowErrorHandlingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowErrorHandlingConfigArgs: def __init__(__self__, *, @@ -3694,6 +4900,19 @@ def fail_on_first_error(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "fail_on_first_error", value) +if not MYPY: + class FlowEventBridgeDestinationPropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Amazon EventBridge flow destination. + """ + error_handling_config: NotRequired[pulumi.Input['FlowErrorHandlingConfigArgsDict']] + """ + The object specified in the Amplitude flow source. + """ +elif False: + FlowEventBridgeDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowEventBridgeDestinationPropertiesArgs: def __init__(__self__, *, @@ -3732,6 +4951,26 @@ def error_handling_config(self, value: Optional[pulumi.Input['FlowErrorHandlingC pulumi.set(self, "error_handling_config", value) +if not MYPY: + class FlowGlueDataCatalogArgsDict(TypedDict): + """ + Trigger settings of the flow. + """ + database_name: pulumi.Input[str] + """ + A string containing the value for the tag + """ + role_arn: pulumi.Input[str] + """ + A string containing the value for the tag + """ + table_prefix: pulumi.Input[str] + """ + A string containing the value for the tag + """ +elif False: + FlowGlueDataCatalogArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowGlueDataCatalogArgs: def __init__(__self__, *, @@ -3785,6 +5024,15 @@ def table_prefix(self, value: pulumi.Input[str]): pulumi.set(self, "table_prefix", value) +if not MYPY: + class FlowGoogleAnalyticsSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Google Analytics flow source. + """ +elif False: + FlowGoogleAnalyticsSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowGoogleAnalyticsSourcePropertiesArgs: def __init__(__self__, *, @@ -3807,6 +5055,18 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class FlowIncrementalPullConfigArgsDict(TypedDict): + """ + Configuration for scheduled incremental data pull + """ + datetime_type_field_name: NotRequired[pulumi.Input[str]] + """ + A field that specifies the date time or timestamp field as the criteria to use when importing incremental records from the source. + """ +elif False: + FlowIncrementalPullConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowIncrementalPullConfigArgs: def __init__(__self__, *, @@ -3831,6 +5091,15 @@ def datetime_type_field_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "datetime_type_field_name", value) +if not MYPY: + class FlowInforNexusSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Infor Nexus flow source. + """ +elif False: + FlowInforNexusSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowInforNexusSourcePropertiesArgs: def __init__(__self__, *, @@ -3853,6 +5122,15 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class FlowLookoutMetricsDestinationPropertiesArgsDict(TypedDict): + object: NotRequired[pulumi.Input[str]] + """ + The object specified in the Amazon Lookout for Metrics flow destination. + """ +elif False: + FlowLookoutMetricsDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowLookoutMetricsDestinationPropertiesArgs: def __init__(__self__, *, @@ -3876,6 +5154,19 @@ def object(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "object", value) +if not MYPY: + class FlowMarketoDestinationPropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Marketo flow destination. + """ + error_handling_config: NotRequired[pulumi.Input['FlowErrorHandlingConfigArgsDict']] + """ + The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. `ErrorHandlingConfig` is a part of the destination connector details. + """ +elif False: + FlowMarketoDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowMarketoDestinationPropertiesArgs: def __init__(__self__, *, @@ -3914,6 +5205,15 @@ def error_handling_config(self, value: Optional[pulumi.Input['FlowErrorHandlingC pulumi.set(self, "error_handling_config", value) +if not MYPY: + class FlowMarketoSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Marketo flow source. + """ +elif False: + FlowMarketoSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowMarketoSourcePropertiesArgs: def __init__(__self__, *, @@ -3936,6 +5236,18 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class FlowMetadataCatalogConfigArgsDict(TypedDict): + """ + Configurations of metadata catalog of the flow. + """ + glue_data_catalog: NotRequired[pulumi.Input['FlowGlueDataCatalogArgsDict']] + """ + Configurations of glue data catalog of the flow. + """ +elif False: + FlowMetadataCatalogConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowMetadataCatalogConfigArgs: def __init__(__self__, *, @@ -3960,6 +5272,15 @@ def glue_data_catalog(self, value: Optional[pulumi.Input['FlowGlueDataCatalogArg pulumi.set(self, "glue_data_catalog", value) +if not MYPY: + class FlowPardotSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Salesforce Pardot flow source. + """ +elif False: + FlowPardotSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowPardotSourcePropertiesArgs: def __init__(__self__, *, @@ -3982,6 +5303,30 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class FlowPrefixConfigArgsDict(TypedDict): + path_prefix_hierarchy: NotRequired[pulumi.Input[Sequence[pulumi.Input['FlowPathPrefix']]]] + """ + Specifies whether the destination file path includes either or both of the following elements: + + - **EXECUTION_ID** - The ID that Amazon AppFlow assigns to the flow run. + - **SCHEMA_VERSION** - The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration: + + - Source-to-destination field mappings + - Field data types + - Partition keys + """ + prefix_format: NotRequired[pulumi.Input['FlowPrefixFormat']] + """ + Determines the level of granularity for the date and time that's included in the prefix. + """ + prefix_type: NotRequired[pulumi.Input['FlowPrefixType']] + """ + Determines the format of the prefix, and whether it applies to the file name, file path, or both. + """ +elif False: + FlowPrefixConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowPrefixConfigArgs: def __init__(__self__, *, @@ -4051,6 +5396,27 @@ def prefix_type(self, value: Optional[pulumi.Input['FlowPrefixType']]): pulumi.set(self, "prefix_type", value) +if not MYPY: + class FlowRedshiftDestinationPropertiesArgsDict(TypedDict): + intermediate_bucket_name: pulumi.Input[str] + """ + The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift. + """ + object: pulumi.Input[str] + """ + The object specified in the Amazon Redshift flow destination. + """ + bucket_prefix: NotRequired[pulumi.Input[str]] + """ + The object key for the bucket in which Amazon AppFlow places the destination files. + """ + error_handling_config: NotRequired[pulumi.Input['FlowErrorHandlingConfigArgsDict']] + """ + The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. `ErrorHandlingConfig` is a part of the destination connector details. + """ +elif False: + FlowRedshiftDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowRedshiftDestinationPropertiesArgs: def __init__(__self__, *, @@ -4120,6 +5486,23 @@ def error_handling_config(self, value: Optional[pulumi.Input['FlowErrorHandlingC pulumi.set(self, "error_handling_config", value) +if not MYPY: + class FlowS3DestinationPropertiesArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + """ + The Amazon S3 bucket name in which Amazon AppFlow places the transferred data. + """ + bucket_prefix: NotRequired[pulumi.Input[str]] + """ + The object key for the destination bucket in which Amazon AppFlow places the files. + """ + s3_output_format_config: NotRequired[pulumi.Input['FlowS3OutputFormatConfigArgsDict']] + """ + The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination. + """ +elif False: + FlowS3DestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowS3DestinationPropertiesArgs: def __init__(__self__, *, @@ -4174,6 +5557,15 @@ def s3_output_format_config(self, value: Optional[pulumi.Input['FlowS3OutputForm pulumi.set(self, "s3_output_format_config", value) +if not MYPY: + class FlowS3InputFormatConfigArgsDict(TypedDict): + s3_input_file_type: NotRequired[pulumi.Input['FlowS3InputFormatConfigS3InputFileType']] + """ + The file type that Amazon AppFlow gets from your Amazon S3 bucket. + """ +elif False: + FlowS3InputFormatConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowS3InputFormatConfigArgs: def __init__(__self__, *, @@ -4197,6 +5589,30 @@ def s3_input_file_type(self, value: Optional[pulumi.Input['FlowS3InputFormatConf pulumi.set(self, "s3_input_file_type", value) +if not MYPY: + class FlowS3OutputFormatConfigArgsDict(TypedDict): + aggregation_config: NotRequired[pulumi.Input['FlowAggregationConfigArgsDict']] + """ + The aggregation settings that you can use to customize the output format of your flow data. + """ + file_type: NotRequired[pulumi.Input['FlowFileType']] + """ + Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket. + """ + prefix_config: NotRequired[pulumi.Input['FlowPrefixConfigArgsDict']] + """ + Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date. + """ + preserve_source_data_typing: NotRequired[pulumi.Input[bool]] + """ + If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3. + + - `true` : Amazon AppFlow preserves the data types when it writes to Amazon S3. For example, an integer or `1` in your source data is still an integer in your output. + - `false` : Amazon AppFlow converts all of the source data into strings when it writes to Amazon S3. For example, an integer of `1` in your source data becomes the string `"1"` in the output. + """ +elif False: + FlowS3OutputFormatConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowS3OutputFormatConfigArgs: def __init__(__self__, *, @@ -4274,6 +5690,23 @@ def preserve_source_data_typing(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "preserve_source_data_typing", value) +if not MYPY: + class FlowS3SourcePropertiesArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + """ + The Amazon S3 bucket name where the source files are stored. + """ + bucket_prefix: pulumi.Input[str] + """ + The object key for the Amazon S3 bucket in which the source files are stored. + """ + s3_input_format_config: NotRequired[pulumi.Input['FlowS3InputFormatConfigArgsDict']] + """ + When you use Amazon S3 as the source, the configuration format that you provide the flow input data. + """ +elif False: + FlowS3SourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowS3SourcePropertiesArgs: def __init__(__self__, *, @@ -4327,6 +5760,41 @@ def s3_input_format_config(self, value: Optional[pulumi.Input['FlowS3InputFormat pulumi.set(self, "s3_input_format_config", value) +if not MYPY: + class FlowSalesforceDestinationPropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Salesforce flow destination. + """ + data_transfer_api: NotRequired[pulumi.Input['FlowDataTransferApi']] + """ + Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data to Salesforce. + + - **AUTOMATIC** - The default. Amazon AppFlow selects which API to use based on the number of records that your flow transfers to Salesforce. If your flow transfers fewer than 1,000 records, Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000 records or more, Amazon AppFlow uses Salesforce Bulk API 2.0. + + Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects the API automatically, be aware that, for recurring flows, the data output might vary from one flow run to the next. For example, if a flow runs daily, it might use REST API on one day to transfer 900 records, and it might use Bulk API 2.0 on the next day to transfer 1,100 records. For each of these flow runs, the respective Salesforce API formats the data differently. Some of the differences include how dates are formatted and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound fields. + + By choosing this option, you optimize flow performance for both small and large data transfers, but the tradeoff is inconsistent formatting in the output. + - **BULKV2** - Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data transfers, and it's optimal for large sets of data. By choosing this option, you ensure that your flow writes consistent output, but you optimize performance only for large data transfers. + + Note that Bulk API 2.0 does not transfer Salesforce compound fields. + - **REST_SYNC** - Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure that your flow writes consistent output, but you decrease performance for large data transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts to transfer a vary large set of data, it might fail with a timed out error. + """ + error_handling_config: NotRequired[pulumi.Input['FlowErrorHandlingConfigArgsDict']] + """ + The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. `ErrorHandlingConfig` is a part of the destination connector details. + """ + id_field_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of fields used as ID when performing a write operation. + """ + write_operation_type: NotRequired[pulumi.Input['FlowWriteOperationType']] + """ + This specifies the type of write operation to be performed in Salesforce. When the value is `UPSERT` , then `idFieldNames` is required. + """ +elif False: + FlowSalesforceDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSalesforceDestinationPropertiesArgs: def __init__(__self__, *, @@ -4433,6 +5901,37 @@ def write_operation_type(self, value: Optional[pulumi.Input['FlowWriteOperationT pulumi.set(self, "write_operation_type", value) +if not MYPY: + class FlowSalesforceSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Salesforce flow source. + """ + data_transfer_api: NotRequired[pulumi.Input['FlowDataTransferApi']] + """ + Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data from Salesforce. + + - **AUTOMATIC** - The default. Amazon AppFlow selects which API to use based on the number of records that your flow transfers from Salesforce. If your flow transfers fewer than 1,000,000 records, Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000,000 records or more, Amazon AppFlow uses Salesforce Bulk API 2.0. + + Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects the API automatically, be aware that, for recurring flows, the data output might vary from one flow run to the next. For example, if a flow runs daily, it might use REST API on one day to transfer 900,000 records, and it might use Bulk API 2.0 on the next day to transfer 1,100,000 records. For each of these flow runs, the respective Salesforce API formats the data differently. Some of the differences include how dates are formatted and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound fields. + + By choosing this option, you optimize flow performance for both small and large data transfers, but the tradeoff is inconsistent formatting in the output. + - **BULKV2** - Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data transfers, and it's optimal for large sets of data. By choosing this option, you ensure that your flow writes consistent output, but you optimize performance only for large data transfers. + + Note that Bulk API 2.0 does not transfer Salesforce compound fields. + - **REST_SYNC** - Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure that your flow writes consistent output, but you decrease performance for large data transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts to transfer a vary large set of data, it might fail wituh a timed out error. + """ + enable_dynamic_field_update: NotRequired[pulumi.Input[bool]] + """ + The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow. + """ + include_deleted_records: NotRequired[pulumi.Input[bool]] + """ + Indicates whether Amazon AppFlow includes deleted files in the flow run. + """ +elif False: + FlowSalesforceSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSalesforceSourcePropertiesArgs: def __init__(__self__, *, @@ -4514,14 +6013,41 @@ def enable_dynamic_field_update(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="includeDeletedRecords") def include_deleted_records(self) -> Optional[pulumi.Input[bool]]: """ - Indicates whether Amazon AppFlow includes deleted files in the flow run. + Indicates whether Amazon AppFlow includes deleted files in the flow run. + """ + return pulumi.get(self, "include_deleted_records") + + @include_deleted_records.setter + def include_deleted_records(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "include_deleted_records", value) + + +if not MYPY: + class FlowSapoDataDestinationPropertiesArgsDict(TypedDict): + object_path: pulumi.Input[str] + """ + The object path specified in the SAPOData flow destination. + """ + error_handling_config: NotRequired[pulumi.Input['FlowErrorHandlingConfigArgsDict']] + """ + The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. `ErrorHandlingConfig` is a part of the destination connector details. + """ + id_field_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ - return pulumi.get(self, "include_deleted_records") - - @include_deleted_records.setter - def include_deleted_records(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "include_deleted_records", value) + List of fields used as ID when performing a write operation. + """ + success_response_handling_config: NotRequired[pulumi.Input['FlowSuccessResponseHandlingConfigArgsDict']] + """ + Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data. + For example, this setting would determine where to write the response from a destination connector upon a successful insert operation. + """ + write_operation_type: NotRequired[pulumi.Input['FlowWriteOperationType']] + """ + The possible write operations in the destination connector. When this value is not provided, this defaults to the `INSERT` operation. + """ +elif False: + FlowSapoDataDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class FlowSapoDataDestinationPropertiesArgs: @@ -4613,6 +6139,15 @@ def write_operation_type(self, value: Optional[pulumi.Input['FlowWriteOperationT pulumi.set(self, "write_operation_type", value) +if not MYPY: + class FlowSapoDataPaginationConfigArgsDict(TypedDict): + """ + SAP Source connector page size + """ + max_page_size: pulumi.Input[int] +elif False: + FlowSapoDataPaginationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSapoDataPaginationConfigArgs: def __init__(__self__, *, @@ -4632,6 +6167,15 @@ def max_page_size(self, value: pulumi.Input[int]): pulumi.set(self, "max_page_size", value) +if not MYPY: + class FlowSapoDataParallelismConfigArgsDict(TypedDict): + """ + SAP Source connector parallelism factor + """ + max_parallelism: pulumi.Input[int] +elif False: + FlowSapoDataParallelismConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSapoDataParallelismConfigArgs: def __init__(__self__, *, @@ -4651,6 +6195,17 @@ def max_parallelism(self, value: pulumi.Input[int]): pulumi.set(self, "max_parallelism", value) +if not MYPY: + class FlowSapoDataSourcePropertiesArgsDict(TypedDict): + object_path: pulumi.Input[str] + """ + The object path specified in the SAPOData flow source. + """ + pagination_config: NotRequired[pulumi.Input['FlowSapoDataPaginationConfigArgsDict']] + parallelism_config: NotRequired[pulumi.Input['FlowSapoDataParallelismConfigArgsDict']] +elif False: + FlowSapoDataSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSapoDataSourcePropertiesArgs: def __init__(__self__, *, @@ -4697,6 +6252,48 @@ def parallelism_config(self, value: Optional[pulumi.Input['FlowSapoDataParalleli pulumi.set(self, "parallelism_config", value) +if not MYPY: + class FlowScheduledTriggerPropertiesArgsDict(TypedDict): + """ + Details required for scheduled trigger type + """ + schedule_expression: pulumi.Input[str] + """ + The scheduling expression that determines the rate at which the schedule will run, for example `rate(5minutes)` . + """ + data_pull_mode: NotRequired[pulumi.Input['FlowScheduledTriggerPropertiesDataPullMode']] + """ + Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run. + """ + first_execution_from: NotRequired[pulumi.Input[float]] + """ + Specifies the date range for the records to import from the connector in the first flow run. + """ + flow_error_deactivation_threshold: NotRequired[pulumi.Input[int]] + """ + Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it. + """ + schedule_end_time: NotRequired[pulumi.Input[float]] + """ + The time at which the scheduled flow ends. The time is formatted as a timestamp that follows the ISO 8601 standard, such as `2022-04-27T13:00:00-07:00` . + """ + schedule_offset: NotRequired[pulumi.Input[float]] + """ + Specifies the optional offset that is added to the time interval for a schedule-triggered flow. + """ + schedule_start_time: NotRequired[pulumi.Input[float]] + """ + The time at which the scheduled flow starts. The time is formatted as a timestamp that follows the ISO 8601 standard, such as `2022-04-26T13:00:00-07:00` . + """ + time_zone: NotRequired[pulumi.Input[str]] + """ + Specifies the time zone used when referring to the dates and times of a scheduled flow, such as `America/New_York` . This time zone is only a descriptive label. It doesn't affect how Amazon AppFlow interprets the timestamps that you specify to schedule the flow. + + If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC offset in your timestamps. For example, the UTC offsets for the `America/New_York` timezone are `-04:00` EDT and `-05:00 EST` . + """ +elif False: + FlowScheduledTriggerPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowScheduledTriggerPropertiesArgs: def __init__(__self__, *, @@ -4836,6 +6433,15 @@ def time_zone(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "time_zone", value) +if not MYPY: + class FlowServiceNowSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the ServiceNow flow source. + """ +elif False: + FlowServiceNowSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowServiceNowSourcePropertiesArgs: def __init__(__self__, *, @@ -4858,6 +6464,15 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class FlowSingularSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Singular flow source. + """ +elif False: + FlowSingularSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSingularSourcePropertiesArgs: def __init__(__self__, *, @@ -4880,6 +6495,15 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class FlowSlackSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Slack flow source. + """ +elif False: + FlowSlackSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSlackSourcePropertiesArgs: def __init__(__self__, *, @@ -4902,6 +6526,27 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class FlowSnowflakeDestinationPropertiesArgsDict(TypedDict): + intermediate_bucket_name: pulumi.Input[str] + """ + The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake. + """ + object: pulumi.Input[str] + """ + The object specified in the Snowflake flow destination. + """ + bucket_prefix: NotRequired[pulumi.Input[str]] + """ + The object key for the destination bucket in which Amazon AppFlow places the files. + """ + error_handling_config: NotRequired[pulumi.Input['FlowErrorHandlingConfigArgsDict']] + """ + The settings that determine how Amazon AppFlow handles an error when placing data in the Snowflake destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. `ErrorHandlingConfig` is a part of the destination connector details. + """ +elif False: + FlowSnowflakeDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSnowflakeDestinationPropertiesArgs: def __init__(__self__, *, @@ -4971,6 +6616,82 @@ def error_handling_config(self, value: Optional[pulumi.Input['FlowErrorHandlingC pulumi.set(self, "error_handling_config", value) +if not MYPY: + class FlowSourceConnectorPropertiesArgsDict(TypedDict): + """ + Source connector details required to query a connector + """ + amplitude: NotRequired[pulumi.Input['FlowAmplitudeSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Amplitude. + """ + custom_connector: NotRequired[pulumi.Input['FlowCustomConnectorSourcePropertiesArgsDict']] + """ + The properties that are applied when the custom connector is being used as a source. + """ + datadog: NotRequired[pulumi.Input['FlowDatadogSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Datadog. + """ + dynatrace: NotRequired[pulumi.Input['FlowDynatraceSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Dynatrace. + """ + google_analytics: NotRequired[pulumi.Input['FlowGoogleAnalyticsSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Google Analytics. + """ + infor_nexus: NotRequired[pulumi.Input['FlowInforNexusSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Infor Nexus. + """ + marketo: NotRequired[pulumi.Input['FlowMarketoSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Marketo. + """ + pardot: NotRequired[pulumi.Input['FlowPardotSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Salesforce Pardot. + """ + s3: NotRequired[pulumi.Input['FlowS3SourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Amazon S3. + """ + salesforce: NotRequired[pulumi.Input['FlowSalesforceSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Salesforce. + """ + sapo_data: NotRequired[pulumi.Input['FlowSapoDataSourcePropertiesArgsDict']] + """ + The properties that are applied when using SAPOData as a flow source. + """ + service_now: NotRequired[pulumi.Input['FlowServiceNowSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying ServiceNow. + """ + singular: NotRequired[pulumi.Input['FlowSingularSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Singular. + """ + slack: NotRequired[pulumi.Input['FlowSlackSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Slack. + """ + trendmicro: NotRequired[pulumi.Input['FlowTrendmicroSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Trend Micro. + """ + veeva: NotRequired[pulumi.Input['FlowVeevaSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Veeva. + """ + zendesk: NotRequired[pulumi.Input['FlowZendeskSourcePropertiesArgsDict']] + """ + Specifies the information that is required for querying Zendesk. + """ +elif False: + FlowSourceConnectorPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSourceConnectorPropertiesArgs: def __init__(__self__, *, @@ -5251,6 +6972,34 @@ def zendesk(self, value: Optional[pulumi.Input['FlowZendeskSourcePropertiesArgs' pulumi.set(self, "zendesk", value) +if not MYPY: + class FlowSourceFlowConfigArgsDict(TypedDict): + """ + Configurations of Source connector of the flow. + """ + connector_type: pulumi.Input['FlowConnectorType'] + """ + Type of source connector + """ + source_connector_properties: pulumi.Input['FlowSourceConnectorPropertiesArgsDict'] + """ + Source connector details required to query a connector + """ + api_version: NotRequired[pulumi.Input[str]] + """ + The API version that the destination connector uses. + """ + connector_profile_name: NotRequired[pulumi.Input[str]] + """ + Name of source connector profile + """ + incremental_pull_config: NotRequired[pulumi.Input['FlowIncrementalPullConfigArgsDict']] + """ + Configuration for scheduled incremental data pull + """ +elif False: + FlowSourceFlowConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSourceFlowConfigArgs: def __init__(__self__, *, @@ -5337,6 +7086,19 @@ def incremental_pull_config(self, value: Optional[pulumi.Input['FlowIncrementalP pulumi.set(self, "incremental_pull_config", value) +if not MYPY: + class FlowSuccessResponseHandlingConfigArgsDict(TypedDict): + bucket_name: NotRequired[pulumi.Input[str]] + """ + The name of the Amazon S3 bucket. + """ + bucket_prefix: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 bucket prefix. + """ +elif False: + FlowSuccessResponseHandlingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSuccessResponseHandlingConfigArgs: def __init__(__self__, *, @@ -5376,6 +7138,22 @@ def bucket_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "bucket_prefix", value) +if not MYPY: + class FlowTaskPropertiesObjectArgsDict(TypedDict): + """ + An object used to store task related info + """ + key: pulumi.Input['FlowOperatorPropertiesKeys'] + """ + The task property key. + """ + value: pulumi.Input[str] + """ + The task property value. + """ +elif False: + FlowTaskPropertiesObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowTaskPropertiesObjectArgs: def __init__(__self__, *, @@ -5414,6 +7192,31 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class FlowTaskArgsDict(TypedDict): + source_fields: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Source fields on which particular task will be applied + """ + task_type: pulumi.Input['FlowTaskType'] + """ + Type of task + """ + connector_operator: NotRequired[pulumi.Input['FlowConnectorOperatorArgsDict']] + """ + Operation to be performed on provided source fields + """ + destination_field: NotRequired[pulumi.Input[str]] + """ + A field value on which source field should be validated + """ + task_properties: NotRequired[pulumi.Input[Sequence[pulumi.Input['FlowTaskPropertiesObjectArgsDict']]]] + """ + A Map used to store task related info + """ +elif False: + FlowTaskArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowTaskArgs: def __init__(__self__, *, @@ -5499,6 +7302,15 @@ def task_properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Fl pulumi.set(self, "task_properties", value) +if not MYPY: + class FlowTrendmicroSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Trend Micro flow source. + """ +elif False: + FlowTrendmicroSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowTrendmicroSourcePropertiesArgs: def __init__(__self__, *, @@ -5521,6 +7333,22 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class FlowTriggerConfigArgsDict(TypedDict): + """ + Trigger settings of the flow. + """ + trigger_type: pulumi.Input['FlowTriggerType'] + """ + Trigger type of the flow + """ + trigger_properties: NotRequired[pulumi.Input['FlowScheduledTriggerPropertiesArgsDict']] + """ + Details required based on the type of trigger + """ +elif False: + FlowTriggerConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowTriggerConfigArgs: def __init__(__self__, *, @@ -5560,6 +7388,23 @@ def trigger_properties(self, value: Optional[pulumi.Input['FlowScheduledTriggerP pulumi.set(self, "trigger_properties", value) +if not MYPY: + class FlowUpsolverDestinationPropertiesArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + """ + The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred data. + """ + s3_output_format_config: pulumi.Input['FlowUpsolverS3OutputFormatConfigArgsDict'] + """ + The configuration that determines how data is formatted when Upsolver is used as the flow destination. + """ + bucket_prefix: NotRequired[pulumi.Input[str]] + """ + The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow places the files. + """ +elif False: + FlowUpsolverDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowUpsolverDestinationPropertiesArgs: def __init__(__self__, *, @@ -5613,6 +7458,23 @@ def bucket_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "bucket_prefix", value) +if not MYPY: + class FlowUpsolverS3OutputFormatConfigArgsDict(TypedDict): + prefix_config: pulumi.Input['FlowPrefixConfigArgsDict'] + """ + Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination. + """ + aggregation_config: NotRequired[pulumi.Input['FlowAggregationConfigArgsDict']] + """ + The aggregation settings that you can use to customize the output format of your flow data. + """ + file_type: NotRequired[pulumi.Input['FlowFileType']] + """ + Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket. + """ +elif False: + FlowUpsolverS3OutputFormatConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowUpsolverS3OutputFormatConfigArgs: def __init__(__self__, *, @@ -5667,6 +7529,31 @@ def file_type(self, value: Optional[pulumi.Input['FlowFileType']]): pulumi.set(self, "file_type", value) +if not MYPY: + class FlowVeevaSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Veeva flow source. + """ + document_type: NotRequired[pulumi.Input[str]] + """ + The document type specified in the Veeva document extract flow. + """ + include_all_versions: NotRequired[pulumi.Input[bool]] + """ + Boolean value to include All Versions of files in Veeva document extract flow. + """ + include_renditions: NotRequired[pulumi.Input[bool]] + """ + Boolean value to include file renditions in Veeva document extract flow. + """ + include_source_files: NotRequired[pulumi.Input[bool]] + """ + Boolean value to include source files in Veeva document extract flow. + """ +elif False: + FlowVeevaSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowVeevaSourcePropertiesArgs: def __init__(__self__, *, @@ -5753,6 +7640,27 @@ def include_source_files(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "include_source_files", value) +if not MYPY: + class FlowZendeskDestinationPropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Zendesk flow destination. + """ + error_handling_config: NotRequired[pulumi.Input['FlowErrorHandlingConfigArgsDict']] + """ + The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. `ErrorHandlingConfig` is a part of the destination connector details. + """ + id_field_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of fields used as ID when performing a write operation. + """ + write_operation_type: NotRequired[pulumi.Input['FlowWriteOperationType']] + """ + The possible write operations in the destination connector. When this value is not provided, this defaults to the `INSERT` operation. + """ +elif False: + FlowZendeskDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowZendeskDestinationPropertiesArgs: def __init__(__self__, *, @@ -5823,6 +7731,15 @@ def write_operation_type(self, value: Optional[pulumi.Input['FlowWriteOperationT pulumi.set(self, "write_operation_type", value) +if not MYPY: + class FlowZendeskSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Zendesk flow source. + """ +elif False: + FlowZendeskSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowZendeskSourcePropertiesArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/appflow/connector.py b/sdk/python/pulumi_aws_native/appflow/connector.py index cc72f53b63..49df9b595a 100644 --- a/sdk/python/pulumi_aws_native/appflow/connector.py +++ b/sdk/python/pulumi_aws_native/appflow/connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/appflow/connector_profile.py b/sdk/python/pulumi_aws_native/appflow/connector_profile.py index f515e93f25..ebfb6b2c1b 100644 --- a/sdk/python/pulumi_aws_native/appflow/connector_profile.py +++ b/sdk/python/pulumi_aws_native/appflow/connector_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/appflow/flow.py b/sdk/python/pulumi_aws_native/appflow/flow.py index d5cc09d339..c3c9e19148 100644 --- a/sdk/python/pulumi_aws_native/appflow/flow.py +++ b/sdk/python/pulumi_aws_native/appflow/flow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/appflow/get_connector.py b/sdk/python/pulumi_aws_native/appflow/get_connector.py index bc7c504dd2..489b34e239 100644 --- a/sdk/python/pulumi_aws_native/appflow/get_connector.py +++ b/sdk/python/pulumi_aws_native/appflow/get_connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -96,9 +101,6 @@ def get_connector(connector_label: Optional[str] = None, connector_provisioning_config=pulumi.get(__ret__, 'connector_provisioning_config'), connector_provisioning_type=pulumi.get(__ret__, 'connector_provisioning_type'), description=pulumi.get(__ret__, 'description')) - - -@_utilities.lift_output_func(get_connector) def get_connector_output(connector_label: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectorResult]: """ @@ -107,4 +109,12 @@ def get_connector_output(connector_label: Optional[pulumi.Input[str]] = None, :param str connector_label: The name of the connector. The name is unique for each ConnectorRegistration in your AWS account. """ - ... + __args__ = dict() + __args__['connectorLabel'] = connector_label + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appflow:getConnector', __args__, opts=opts, typ=GetConnectorResult) + return __ret__.apply(lambda __response__: GetConnectorResult( + connector_arn=pulumi.get(__response__, 'connector_arn'), + connector_provisioning_config=pulumi.get(__response__, 'connector_provisioning_config'), + connector_provisioning_type=pulumi.get(__response__, 'connector_provisioning_type'), + description=pulumi.get(__response__, 'description'))) diff --git a/sdk/python/pulumi_aws_native/appflow/get_connector_profile.py b/sdk/python/pulumi_aws_native/appflow/get_connector_profile.py index 440eaef499..497d02c59d 100644 --- a/sdk/python/pulumi_aws_native/appflow/get_connector_profile.py +++ b/sdk/python/pulumi_aws_native/appflow/get_connector_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -83,9 +88,6 @@ def get_connector_profile(connector_profile_name: Optional[str] = None, connection_mode=pulumi.get(__ret__, 'connection_mode'), connector_profile_arn=pulumi.get(__ret__, 'connector_profile_arn'), credentials_arn=pulumi.get(__ret__, 'credentials_arn')) - - -@_utilities.lift_output_func(get_connector_profile) def get_connector_profile_output(connector_profile_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectorProfileResult]: """ @@ -94,4 +96,11 @@ def get_connector_profile_output(connector_profile_name: Optional[pulumi.Input[s :param str connector_profile_name: The maximum number of items to retrieve in a single batch. """ - ... + __args__ = dict() + __args__['connectorProfileName'] = connector_profile_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appflow:getConnectorProfile', __args__, opts=opts, typ=GetConnectorProfileResult) + return __ret__.apply(lambda __response__: GetConnectorProfileResult( + connection_mode=pulumi.get(__response__, 'connection_mode'), + connector_profile_arn=pulumi.get(__response__, 'connector_profile_arn'), + credentials_arn=pulumi.get(__response__, 'credentials_arn'))) diff --git a/sdk/python/pulumi_aws_native/appflow/get_flow.py b/sdk/python/pulumi_aws_native/appflow/get_flow.py index 9755852c97..a85a9fafb0 100644 --- a/sdk/python/pulumi_aws_native/appflow/get_flow.py +++ b/sdk/python/pulumi_aws_native/appflow/get_flow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -163,9 +168,6 @@ def get_flow(flow_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), tasks=pulumi.get(__ret__, 'tasks'), trigger_config=pulumi.get(__ret__, 'trigger_config')) - - -@_utilities.lift_output_func(get_flow) def get_flow_output(flow_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlowResult]: """ @@ -174,4 +176,17 @@ def get_flow_output(flow_name: Optional[pulumi.Input[str]] = None, :param str flow_name: Name of the flow. """ - ... + __args__ = dict() + __args__['flowName'] = flow_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appflow:getFlow', __args__, opts=opts, typ=GetFlowResult) + return __ret__.apply(lambda __response__: GetFlowResult( + description=pulumi.get(__response__, 'description'), + destination_flow_config_list=pulumi.get(__response__, 'destination_flow_config_list'), + flow_arn=pulumi.get(__response__, 'flow_arn'), + flow_status=pulumi.get(__response__, 'flow_status'), + metadata_catalog_config=pulumi.get(__response__, 'metadata_catalog_config'), + source_flow_config=pulumi.get(__response__, 'source_flow_config'), + tags=pulumi.get(__response__, 'tags'), + tasks=pulumi.get(__response__, 'tasks'), + trigger_config=pulumi.get(__response__, 'trigger_config'))) diff --git a/sdk/python/pulumi_aws_native/appflow/outputs.py b/sdk/python/pulumi_aws_native/appflow/outputs.py index c7a9f40c34..6b80c1db17 100644 --- a/sdk/python/pulumi_aws_native/appflow/outputs.py +++ b/sdk/python/pulumi_aws_native/appflow/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/appintegrations/_inputs.py b/sdk/python/pulumi_aws_native/appintegrations/_inputs.py index e978085111..8847c85746 100644 --- a/sdk/python/pulumi_aws_native/appintegrations/_inputs.py +++ b/sdk/python/pulumi_aws_native/appintegrations/_inputs.py @@ -4,19 +4,44 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'ApplicationExternalUrlConfigArgs', + 'ApplicationExternalUrlConfigArgsDict', 'ApplicationSourceConfigPropertiesArgs', + 'ApplicationSourceConfigPropertiesArgsDict', 'DataIntegrationFileConfigurationArgs', + 'DataIntegrationFileConfigurationArgsDict', 'DataIntegrationScheduleConfigArgs', + 'DataIntegrationScheduleConfigArgsDict', 'EventIntegrationEventFilterArgs', + 'EventIntegrationEventFilterArgsDict', ] +MYPY = False + +if not MYPY: + class ApplicationExternalUrlConfigArgsDict(TypedDict): + access_url: pulumi.Input[str] + """ + The URL to access the application. + """ + approved_origins: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Additional URLs to allow list if different than the access URL. + """ +elif False: + ApplicationExternalUrlConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationExternalUrlConfigArgs: def __init__(__self__, *, @@ -55,6 +80,18 @@ def approved_origins(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[st pulumi.set(self, "approved_origins", value) +if not MYPY: + class ApplicationSourceConfigPropertiesArgsDict(TypedDict): + """ + Application source config + """ + external_url_config: pulumi.Input['ApplicationExternalUrlConfigArgsDict'] + """ + The external URL source for the application. + """ +elif False: + ApplicationSourceConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationSourceConfigPropertiesArgs: def __init__(__self__, *, @@ -78,6 +115,22 @@ def external_url_config(self, value: pulumi.Input['ApplicationExternalUrlConfigA pulumi.set(self, "external_url_config", value) +if not MYPY: + class DataIntegrationFileConfigurationArgsDict(TypedDict): + """ + The configuration for what files should be pulled from the source. + """ + folders: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Identifiers for the source folders to pull all files from recursively. + """ + filters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[Sequence[pulumi.Input[str]]]]]] + """ + Restrictions for what files should be pulled from the source. + """ +elif False: + DataIntegrationFileConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataIntegrationFileConfigurationArgs: def __init__(__self__, *, @@ -117,6 +170,23 @@ def filters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[Sequenc pulumi.set(self, "filters", value) +if not MYPY: + class DataIntegrationScheduleConfigArgsDict(TypedDict): + schedule_expression: pulumi.Input[str] + """ + How often the data should be pulled from data source. + """ + first_execution_from: NotRequired[pulumi.Input[str]] + """ + The start date for objects to import in the first flow run. Epoch or ISO timestamp format is supported. + """ + object: NotRequired[pulumi.Input[str]] + """ + The name of the object to pull from the data source. + """ +elif False: + DataIntegrationScheduleConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataIntegrationScheduleConfigArgs: def __init__(__self__, *, @@ -171,6 +241,15 @@ def object(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "object", value) +if not MYPY: + class EventIntegrationEventFilterArgsDict(TypedDict): + source: pulumi.Input[str] + """ + The source of the events. + """ +elif False: + EventIntegrationEventFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventIntegrationEventFilterArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/appintegrations/application.py b/sdk/python/pulumi_aws_native/appintegrations/application.py index fccdfb58ca..0a2f9bad5d 100644 --- a/sdk/python/pulumi_aws_native/appintegrations/application.py +++ b/sdk/python/pulumi_aws_native/appintegrations/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/appintegrations/data_integration.py b/sdk/python/pulumi_aws_native/appintegrations/data_integration.py index 0013c4e9c8..b5f4b47737 100644 --- a/sdk/python/pulumi_aws_native/appintegrations/data_integration.py +++ b/sdk/python/pulumi_aws_native/appintegrations/data_integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/appintegrations/event_integration.py b/sdk/python/pulumi_aws_native/appintegrations/event_integration.py index 3a538c885e..e0b7146044 100644 --- a/sdk/python/pulumi_aws_native/appintegrations/event_integration.py +++ b/sdk/python/pulumi_aws_native/appintegrations/event_integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/appintegrations/get_application.py b/sdk/python/pulumi_aws_native/appintegrations/get_application.py index 7e00c3d30b..a219753320 100644 --- a/sdk/python/pulumi_aws_native/appintegrations/get_application.py +++ b/sdk/python/pulumi_aws_native/appintegrations/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -149,9 +154,6 @@ def get_application(application_arn: Optional[str] = None, namespace=pulumi.get(__ret__, 'namespace'), permissions=pulumi.get(__ret__, 'permissions'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -160,4 +162,16 @@ def get_application_output(application_arn: Optional[pulumi.Input[str]] = None, :param str application_arn: The Amazon Resource Name (ARN) of the application. """ - ... + __args__ = dict() + __args__['applicationArn'] = application_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appintegrations:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + application_arn=pulumi.get(__response__, 'application_arn'), + application_source_config=pulumi.get(__response__, 'application_source_config'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + namespace=pulumi.get(__response__, 'namespace'), + permissions=pulumi.get(__response__, 'permissions'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/appintegrations/get_data_integration.py b/sdk/python/pulumi_aws_native/appintegrations/get_data_integration.py index 300fba9031..3b2f385508 100644 --- a/sdk/python/pulumi_aws_native/appintegrations/get_data_integration.py +++ b/sdk/python/pulumi_aws_native/appintegrations/get_data_integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -136,9 +141,6 @@ def get_data_integration(id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), object_configuration=pulumi.get(__ret__, 'object_configuration'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_data_integration) def get_data_integration_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataIntegrationResult]: """ @@ -147,4 +149,15 @@ def get_data_integration_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique identifer of the data integration. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appintegrations:getDataIntegration', __args__, opts=opts, typ=GetDataIntegrationResult) + return __ret__.apply(lambda __response__: GetDataIntegrationResult( + data_integration_arn=pulumi.get(__response__, 'data_integration_arn'), + description=pulumi.get(__response__, 'description'), + file_configuration=pulumi.get(__response__, 'file_configuration'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + object_configuration=pulumi.get(__response__, 'object_configuration'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/appintegrations/get_event_integration.py b/sdk/python/pulumi_aws_native/appintegrations/get_event_integration.py index d2c160cc3c..8ef2c00706 100644 --- a/sdk/python/pulumi_aws_native/appintegrations/get_event_integration.py +++ b/sdk/python/pulumi_aws_native/appintegrations/get_event_integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_event_integration(name: Optional[str] = None, description=pulumi.get(__ret__, 'description'), event_integration_arn=pulumi.get(__ret__, 'event_integration_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_event_integration) def get_event_integration_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventIntegrationResult]: """ @@ -94,4 +96,11 @@ def get_event_integration_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the event integration. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appintegrations:getEventIntegration', __args__, opts=opts, typ=GetEventIntegrationResult) + return __ret__.apply(lambda __response__: GetEventIntegrationResult( + description=pulumi.get(__response__, 'description'), + event_integration_arn=pulumi.get(__response__, 'event_integration_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/appintegrations/outputs.py b/sdk/python/pulumi_aws_native/appintegrations/outputs.py index 9378d1592c..68a5640aa7 100644 --- a/sdk/python/pulumi_aws_native/appintegrations/outputs.py +++ b/sdk/python/pulumi_aws_native/appintegrations/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/applicationautoscaling/_inputs.py b/sdk/python/pulumi_aws_native/applicationautoscaling/_inputs.py index 2eaea7b4f4..555b030ce3 100644 --- a/sdk/python/pulumi_aws_native/applicationautoscaling/_inputs.py +++ b/sdk/python/pulumi_aws_native/applicationautoscaling/_inputs.py @@ -4,27 +4,63 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'ScalableTargetActionArgs', + 'ScalableTargetActionArgsDict', 'ScalableTargetScheduledActionArgs', + 'ScalableTargetScheduledActionArgsDict', 'ScalableTargetSuspendedStateArgs', + 'ScalableTargetSuspendedStateArgsDict', 'ScalingPolicyCustomizedMetricSpecificationArgs', + 'ScalingPolicyCustomizedMetricSpecificationArgsDict', 'ScalingPolicyMetricDimensionArgs', + 'ScalingPolicyMetricDimensionArgsDict', 'ScalingPolicyPredefinedMetricSpecificationArgs', + 'ScalingPolicyPredefinedMetricSpecificationArgsDict', 'ScalingPolicyStepAdjustmentArgs', + 'ScalingPolicyStepAdjustmentArgsDict', 'ScalingPolicyStepScalingPolicyConfigurationArgs', + 'ScalingPolicyStepScalingPolicyConfigurationArgsDict', 'ScalingPolicyTargetTrackingMetricDataQueryArgs', + 'ScalingPolicyTargetTrackingMetricDataQueryArgsDict', 'ScalingPolicyTargetTrackingMetricDimensionArgs', + 'ScalingPolicyTargetTrackingMetricDimensionArgsDict', 'ScalingPolicyTargetTrackingMetricStatArgs', + 'ScalingPolicyTargetTrackingMetricStatArgsDict', 'ScalingPolicyTargetTrackingMetricArgs', + 'ScalingPolicyTargetTrackingMetricArgsDict', 'ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs', + 'ScalingPolicyTargetTrackingScalingPolicyConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ScalableTargetActionArgsDict(TypedDict): + """ + ``ScalableTargetAction`` specifies the minimum and maximum capacity for the ``ScalableTargetAction`` property of the [AWS::ApplicationAutoScaling::ScalableTarget ScheduledAction](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html) property type. + """ + max_capacity: NotRequired[pulumi.Input[int]] + """ + The maximum capacity. + """ + min_capacity: NotRequired[pulumi.Input[int]] + """ + The minimum capacity. + """ +elif False: + ScalableTargetActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalableTargetActionArgs: def __init__(__self__, *, @@ -65,6 +101,47 @@ def min_capacity(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min_capacity", value) +if not MYPY: + class ScalableTargetScheduledActionArgsDict(TypedDict): + """ + ``ScheduledAction`` is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies a scheduled action for a scalable target. + For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html) in the *Application Auto Scaling User Guide*. + """ + schedule: pulumi.Input[str] + """ + The schedule for this action. The following formats are supported: + + At expressions - "``at(yyyy-mm-ddThh:mm:ss)``" + + Rate expressions - "``rate(value unit)``" + + Cron expressions - "``cron(fields)``" + + At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval. + At and cron expressions use Universal Coordinated Time (UTC) by default. + The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year]. + For rate expressions, *value* is a positive integer and *unit* is ``minute`` | ``minutes`` | ``hour`` | ``hours`` | ``day`` | ``days``. + """ + scheduled_action_name: pulumi.Input[str] + """ + The name of the scheduled action. This name must be unique among all other scheduled actions on the specified scalable target. + """ + end_time: NotRequired[pulumi.Input[str]] + """ + The date and time that the action is scheduled to end, in UTC. + """ + scalable_target_action: NotRequired[pulumi.Input['ScalableTargetActionArgsDict']] + """ + The new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity. + """ + start_time: NotRequired[pulumi.Input[str]] + """ + The date and time that the action is scheduled to begin, in UTC. + """ + timezone: NotRequired[pulumi.Input[str]] + """ + The time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression. + """ +elif False: + ScalableTargetScheduledActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalableTargetScheduledActionArgs: def __init__(__self__, *, @@ -184,6 +261,27 @@ def timezone(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "timezone", value) +if not MYPY: + class ScalableTargetSuspendedStateArgsDict(TypedDict): + """ + ``SuspendedState`` is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies whether the scaling activities for a scalable target are in a suspended state. + For more information, see [Suspending and resuming scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) in the *Application Auto Scaling User Guide*. + """ + dynamic_scaling_in_suspended: NotRequired[pulumi.Input[bool]] + """ + Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to ``true`` if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is ``false``. + """ + dynamic_scaling_out_suspended: NotRequired[pulumi.Input[bool]] + """ + Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to ``true`` if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is ``false``. + """ + scheduled_scaling_suspended: NotRequired[pulumi.Input[bool]] + """ + Whether scheduled scaling is suspended. Set the value to ``true`` if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is ``false``. + """ +elif False: + ScalableTargetSuspendedStateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalableTargetSuspendedStateArgs: def __init__(__self__, *, @@ -241,6 +339,47 @@ def scheduled_scaling_suspended(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "scheduled_scaling_suspended", value) +if not MYPY: + class ScalingPolicyCustomizedMetricSpecificationArgsDict(TypedDict): + """ + Contains customized metric specification information for a target tracking scaling policy for Application Auto Scaling. + For information about the available metrics for a service, see [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*. + To create your customized metric specification: + + Add values for each required parameter from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see [Publish custom metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the *Amazon CloudWatch User Guide*. + + Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases, and increase when capacity decreases. + + For an example of how creating new metrics can be useful, see [Scaling based on Amazon SQS](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html) in the *Amazon EC2 Auto Scaling User Guide*. This topic mentions Auto Scaling groups, but the same scenario for Amazon SQS can apply to the target tracking scaling policies that you create for a Spot Fleet by using Application Auto Scaling. + For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html). + ``CustomizedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type. + """ + dimensions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ScalingPolicyMetricDimensionArgsDict']]]] + """ + The dimensions of the metric. + Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy. + """ + metric_name: NotRequired[pulumi.Input[str]] + """ + The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that's returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html). + """ + metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['ScalingPolicyTargetTrackingMetricDataQueryArgsDict']]]] + """ + The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions. + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The namespace of the metric. + """ + statistic: NotRequired[pulumi.Input[str]] + """ + The statistic of the metric. + """ + unit: NotRequired[pulumi.Input[str]] + """ + The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*. + """ +elif False: + ScalingPolicyCustomizedMetricSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyCustomizedMetricSpecificationArgs: def __init__(__self__, *, @@ -355,6 +494,22 @@ def unit(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit", value) +if not MYPY: + class ScalingPolicyMetricDimensionArgsDict(TypedDict): + """ + ``MetricDimension`` specifies a name/value pair that is part of the identity of a CloudWatch metric for the ``Dimensions`` property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type. Duplicate dimensions are not allowed. + """ + name: pulumi.Input[str] + """ + The name of the dimension. + """ + value: pulumi.Input[str] + """ + The value of the dimension. + """ +elif False: + ScalingPolicyMetricDimensionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyMetricDimensionArgs: def __init__(__self__, *, @@ -393,6 +548,30 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ScalingPolicyPredefinedMetricSpecificationArgsDict(TypedDict): + """ + Contains predefined metric specification information for a target tracking scaling policy for Application Auto Scaling. + ``PredefinedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type. + """ + predefined_metric_type: pulumi.Input[str] + """ + The metric type. The ``ALBRequestCountPerTarget`` metric type applies only to Spot fleet requests and ECS services. + """ + resource_label: NotRequired[pulumi.Input[str]] + """ + Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ``ALBRequestCountPerTarget`` and there is a target group attached to the Spot Fleet or ECS service. + You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is: + ``app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff``. + Where: + + app// is the final portion of the load balancer ARN + + targetgroup// is the final portion of the target group ARN. + + To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation. + """ +elif False: + ScalingPolicyPredefinedMetricSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyPredefinedMetricSpecificationArgs: def __init__(__self__, *, @@ -447,6 +626,34 @@ def resource_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "resource_label", value) +if not MYPY: + class ScalingPolicyStepAdjustmentArgsDict(TypedDict): + """ + ``StepAdjustment`` specifies a step adjustment for the ``StepAdjustments`` property of the [AWS::ApplicationAutoScaling::ScalingPolicy StepScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html) property type. + For the following examples, suppose that you have an alarm with a breach threshold of 50: + + To trigger a step adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10. + + To trigger a step adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0. + + For more information, see [Step adjustments](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#as-scaling-steps) in the *Application Auto Scaling User Guide*. + You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#aws-resource-applicationautoscaling-scalingpolicy--examples) section of the ``AWS::ApplicationAutoScaling::ScalingPolicy`` documentation. + """ + scaling_adjustment: pulumi.Input[int] + """ + The amount by which to scale. The adjustment is based on the value that you specified in the ``AdjustmentType`` property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity. + """ + metric_interval_lower_bound: NotRequired[pulumi.Input[float]] + """ + The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity. + You must specify at least one upper or lower bound. + """ + metric_interval_upper_bound: NotRequired[pulumi.Input[float]] + """ + The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. + You must specify at least one upper or lower bound. + """ +elif False: + ScalingPolicyStepAdjustmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyStepAdjustmentArgs: def __init__(__self__, *, @@ -512,6 +719,36 @@ def metric_interval_upper_bound(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "metric_interval_upper_bound", value) +if not MYPY: + class ScalingPolicyStepScalingPolicyConfigurationArgsDict(TypedDict): + """ + ``StepScalingPolicyConfiguration`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a step scaling policy configuration for Application Auto Scaling. + For more information, see [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*. + """ + adjustment_type: NotRequired[pulumi.Input[str]] + """ + Specifies whether the ``ScalingAdjustment`` value in the ``StepAdjustment`` property is an absolute number or a percentage of the current capacity. + """ + cooldown: NotRequired[pulumi.Input[int]] + """ + The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the default value is 300. For more information, see [Cooldown period](https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown) in the *Application Auto Scaling User Guide*. + """ + metric_aggregation_type: NotRequired[pulumi.Input[str]] + """ + The aggregation type for the CloudWatch metrics. Valid values are ``Minimum``, ``Maximum``, and ``Average``. If the aggregation type is null, the value is treated as ``Average``. + """ + min_adjustment_magnitude: NotRequired[pulumi.Input[int]] + """ + The minimum value to scale by when the adjustment type is ``PercentChangeInCapacity``. For example, suppose that you create a step scaling policy to scale out an Amazon ECS service by 25 percent and you specify a ``MinAdjustmentMagnitude`` of 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a ``MinAdjustmentMagnitude`` of 2, Application Auto Scaling scales out the service by 2 tasks. + """ + step_adjustments: NotRequired[pulumi.Input[Sequence[pulumi.Input['ScalingPolicyStepAdjustmentArgsDict']]]] + """ + A set of adjustments that enable you to scale based on the size of the alarm breach. + At least one step adjustment is required if you are adding a new step scaling policy configuration. + """ +elif False: + ScalingPolicyStepScalingPolicyConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyStepScalingPolicyConfigurationArgs: def __init__(__self__, *, @@ -603,6 +840,41 @@ def step_adjustments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['S pulumi.set(self, "step_adjustments", value) +if not MYPY: + class ScalingPolicyTargetTrackingMetricDataQueryArgsDict(TypedDict): + """ + The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp. + You can call for a single metric or perform math expressions on multiple metrics. Any expressions used in a metric specification must eventually return a single time series. + For more information and examples, see [Create a target tracking scaling policy for Application Auto Scaling using metric math](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html) in the *Application Auto Scaling User Guide*. + ``TargetTrackingMetricDataQuery`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type. + """ + expression: NotRequired[pulumi.Input[str]] + """ + The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the ``Id`` of the other metrics to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions. + Conditional: Within each ``TargetTrackingMetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both. + """ + id: NotRequired[pulumi.Input[str]] + """ + A short name that identifies the object's results in the response. This name must be unique among all ``MetricDataQuery`` objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter. + """ + label: NotRequired[pulumi.Input[str]] + """ + A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents. + """ + metric_stat: NotRequired[pulumi.Input['ScalingPolicyTargetTrackingMetricStatArgsDict']] + """ + Information about the metric data to return. + Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both. + """ + return_data: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to return the timestamps and raw data values of this metric. + If you use any math expressions, specify ``true`` for this value for only the final math expression that the metric specification is based on. You must specify ``false`` for ``ReturnData`` for all the other metrics and expressions used in the metric specification. + If you are only retrieving metrics and not performing any math expressions, do not specify anything for ``ReturnData``. This sets it to its default (``true``). + """ +elif False: + ScalingPolicyTargetTrackingMetricDataQueryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyTargetTrackingMetricDataQueryArgs: def __init__(__self__, *, @@ -702,6 +974,22 @@ def return_data(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "return_data", value) +if not MYPY: + class ScalingPolicyTargetTrackingMetricDimensionArgsDict(TypedDict): + """ + ``TargetTrackingMetricDimension`` specifies a name/value pair that is part of the identity of a CloudWatch metric for the ``Dimensions`` property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html) property type. Duplicate dimensions are not allowed. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the dimension. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of the dimension. + """ +elif False: + ScalingPolicyTargetTrackingMetricDimensionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyTargetTrackingMetricDimensionArgs: def __init__(__self__, *, @@ -742,6 +1030,29 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ScalingPolicyTargetTrackingMetricStatArgsDict(TypedDict): + """ + This structure defines the CloudWatch metric to return, along with the statistic and unit. + ``TargetTrackingMetricStat`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html) property type. + For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) in the *Amazon CloudWatch User Guide*. + """ + metric: NotRequired[pulumi.Input['ScalingPolicyTargetTrackingMetricArgsDict']] + """ + The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html). + """ + stat: NotRequired[pulumi.Input[str]] + """ + The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*. + The most commonly used metric for scaling is ``Average``. + """ + unit: NotRequired[pulumi.Input[str]] + """ + The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*. + """ +elif False: + ScalingPolicyTargetTrackingMetricStatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyTargetTrackingMetricStatArgs: def __init__(__self__, *, @@ -802,6 +1113,28 @@ def unit(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit", value) +if not MYPY: + class ScalingPolicyTargetTrackingMetricArgsDict(TypedDict): + """ + Represents a specific metric for a target tracking scaling policy for Application Auto Scaling. + Metric is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html) property type. + """ + dimensions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ScalingPolicyTargetTrackingMetricDimensionArgsDict']]]] + """ + The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*. + Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy. + """ + metric_name: NotRequired[pulumi.Input[str]] + """ + The name of the metric. + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The namespace of the metric. For more information, see the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*. + """ +elif False: + ScalingPolicyTargetTrackingMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyTargetTrackingMetricArgs: def __init__(__self__, *, @@ -861,6 +1194,39 @@ def namespace(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "namespace", value) +if not MYPY: + class ScalingPolicyTargetTrackingScalingPolicyConfigurationArgsDict(TypedDict): + """ + ``TargetTrackingScalingPolicyConfiguration`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a target tracking scaling policy configuration for Application Auto Scaling. Use a target tracking scaling policy to adjust the capacity of the specified scalable target in response to actual workloads, so that resource utilization remains at or near the target utilization value. + For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) in the *Application Auto Scaling User Guide*. + """ + target_value: pulumi.Input[float] + """ + The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out. + """ + customized_metric_specification: NotRequired[pulumi.Input['ScalingPolicyCustomizedMetricSpecificationArgsDict']] + """ + A customized metric. You can specify either a predefined metric or a customized metric. + """ + disable_scale_in: NotRequired[pulumi.Input[bool]] + """ + Indicates whether scale in by the target tracking scaling policy is disabled. If the value is ``true``, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is ``false``. + """ + predefined_metric_specification: NotRequired[pulumi.Input['ScalingPolicyPredefinedMetricSpecificationArgsDict']] + """ + A predefined metric. You can specify either a predefined metric or a customized metric. + """ + scale_in_cooldown: NotRequired[pulumi.Input[int]] + """ + The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*. + """ + scale_out_cooldown: NotRequired[pulumi.Input[int]] + """ + The amount of time, in seconds, to wait for a previous scale-out activity to take effect. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*. + """ +elif False: + ScalingPolicyTargetTrackingScalingPolicyConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/applicationautoscaling/get_scalable_target.py b/sdk/python/pulumi_aws_native/applicationautoscaling/get_scalable_target.py index dc9ed9baf5..b677c31bc8 100644 --- a/sdk/python/pulumi_aws_native/applicationautoscaling/get_scalable_target.py +++ b/sdk/python/pulumi_aws_native/applicationautoscaling/get_scalable_target.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -158,9 +163,6 @@ def get_scalable_target(resource_id: Optional[str] = None, min_capacity=pulumi.get(__ret__, 'min_capacity'), scheduled_actions=pulumi.get(__ret__, 'scheduled_actions'), suspended_state=pulumi.get(__ret__, 'suspended_state')) - - -@_utilities.lift_output_func(get_scalable_target) def get_scalable_target_output(resource_id: Optional[pulumi.Input[str]] = None, scalable_dimension: Optional[pulumi.Input[str]] = None, service_namespace: Optional[pulumi.Input[str]] = None, @@ -215,4 +217,15 @@ def get_scalable_target_output(resource_id: Optional[pulumi.Input[str]] = None, + ``sagemaker:inference-component:DesiredCopyCount`` - The number of copies across an endpoint for a SageMaker inference component. :param str service_namespace: The namespace of the AWS service that provides the resource, or a ``custom-resource``. """ - ... + __args__ = dict() + __args__['resourceId'] = resource_id + __args__['scalableDimension'] = scalable_dimension + __args__['serviceNamespace'] = service_namespace + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:applicationautoscaling:getScalableTarget', __args__, opts=opts, typ=GetScalableTargetResult) + return __ret__.apply(lambda __response__: GetScalableTargetResult( + id=pulumi.get(__response__, 'id'), + max_capacity=pulumi.get(__response__, 'max_capacity'), + min_capacity=pulumi.get(__response__, 'min_capacity'), + scheduled_actions=pulumi.get(__response__, 'scheduled_actions'), + suspended_state=pulumi.get(__response__, 'suspended_state'))) diff --git a/sdk/python/pulumi_aws_native/applicationautoscaling/get_scaling_policy.py b/sdk/python/pulumi_aws_native/applicationautoscaling/get_scaling_policy.py index 3f2a0925dc..0991cfa9a9 100644 --- a/sdk/python/pulumi_aws_native/applicationautoscaling/get_scaling_policy.py +++ b/sdk/python/pulumi_aws_native/applicationautoscaling/get_scaling_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -126,9 +131,6 @@ def get_scaling_policy(arn: Optional[str] = None, policy_type=pulumi.get(__ret__, 'policy_type'), step_scaling_policy_configuration=pulumi.get(__ret__, 'step_scaling_policy_configuration'), target_tracking_scaling_policy_configuration=pulumi.get(__ret__, 'target_tracking_scaling_policy_configuration')) - - -@_utilities.lift_output_func(get_scaling_policy) def get_scaling_policy_output(arn: Optional[pulumi.Input[str]] = None, scalable_dimension: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScalingPolicyResult]: @@ -163,4 +165,13 @@ def get_scaling_policy_output(arn: Optional[pulumi.Input[str]] = None, + ``sagemaker:inference-component:DesiredCopyCount`` - The number of copies across an endpoint for a SageMaker inference component. + ``workspaces:workspacespool:DesiredUserSessions`` - The number of user sessions for the WorkSpaces in the pool. """ - ... + __args__ = dict() + __args__['arn'] = arn + __args__['scalableDimension'] = scalable_dimension + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:applicationautoscaling:getScalingPolicy', __args__, opts=opts, typ=GetScalingPolicyResult) + return __ret__.apply(lambda __response__: GetScalingPolicyResult( + arn=pulumi.get(__response__, 'arn'), + policy_type=pulumi.get(__response__, 'policy_type'), + step_scaling_policy_configuration=pulumi.get(__response__, 'step_scaling_policy_configuration'), + target_tracking_scaling_policy_configuration=pulumi.get(__response__, 'target_tracking_scaling_policy_configuration'))) diff --git a/sdk/python/pulumi_aws_native/applicationautoscaling/outputs.py b/sdk/python/pulumi_aws_native/applicationautoscaling/outputs.py index ba93666389..69051c1b70 100644 --- a/sdk/python/pulumi_aws_native/applicationautoscaling/outputs.py +++ b/sdk/python/pulumi_aws_native/applicationautoscaling/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/applicationautoscaling/scalable_target.py b/sdk/python/pulumi_aws_native/applicationautoscaling/scalable_target.py index 46ef0565b1..64e6a347cb 100644 --- a/sdk/python/pulumi_aws_native/applicationautoscaling/scalable_target.py +++ b/sdk/python/pulumi_aws_native/applicationautoscaling/scalable_target.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/applicationautoscaling/scaling_policy.py b/sdk/python/pulumi_aws_native/applicationautoscaling/scaling_policy.py index b59e31568a..b9a18f8d1c 100644 --- a/sdk/python/pulumi_aws_native/applicationautoscaling/scaling_policy.py +++ b/sdk/python/pulumi_aws_native/applicationautoscaling/scaling_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/applicationinsights/_inputs.py b/sdk/python/pulumi_aws_native/applicationinsights/_inputs.py index 739dc5b858..f8e19a13c4 100644 --- a/sdk/python/pulumi_aws_native/applicationinsights/_inputs.py +++ b/sdk/python/pulumi_aws_native/applicationinsights/_inputs.py @@ -4,33 +4,70 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ApplicationAlarmMetricArgs', + 'ApplicationAlarmMetricArgsDict', 'ApplicationAlarmArgs', + 'ApplicationAlarmArgsDict', 'ApplicationComponentConfigurationArgs', + 'ApplicationComponentConfigurationArgsDict', 'ApplicationComponentMonitoringSettingArgs', + 'ApplicationComponentMonitoringSettingArgsDict', 'ApplicationConfigurationDetailsArgs', + 'ApplicationConfigurationDetailsArgsDict', 'ApplicationCustomComponentArgs', + 'ApplicationCustomComponentArgsDict', 'ApplicationHaClusterPrometheusExporterArgs', + 'ApplicationHaClusterPrometheusExporterArgsDict', 'ApplicationHanaPrometheusExporterArgs', + 'ApplicationHanaPrometheusExporterArgsDict', 'ApplicationJmxPrometheusExporterArgs', + 'ApplicationJmxPrometheusExporterArgsDict', 'ApplicationLogPatternSetArgs', + 'ApplicationLogPatternSetArgsDict', 'ApplicationLogPatternArgs', + 'ApplicationLogPatternArgsDict', 'ApplicationLogArgs', + 'ApplicationLogArgsDict', 'ApplicationNetWeaverPrometheusExporterArgs', + 'ApplicationNetWeaverPrometheusExporterArgsDict', 'ApplicationProcessArgs', + 'ApplicationProcessArgsDict', 'ApplicationSqlServerPrometheusExporterArgs', + 'ApplicationSqlServerPrometheusExporterArgsDict', 'ApplicationSubComponentConfigurationDetailsArgs', + 'ApplicationSubComponentConfigurationDetailsArgsDict', 'ApplicationSubComponentTypeConfigurationArgs', + 'ApplicationSubComponentTypeConfigurationArgsDict', 'ApplicationWindowsEventArgs', + 'ApplicationWindowsEventArgsDict', ] +MYPY = False + +if not MYPY: + class ApplicationAlarmMetricArgsDict(TypedDict): + """ + A metric to be monitored for the component. + """ + alarm_metric_name: pulumi.Input[str] + """ + The name of the metric to be monitored for the component. + """ +elif False: + ApplicationAlarmMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationAlarmMetricArgs: def __init__(__self__, *, @@ -54,6 +91,22 @@ def alarm_metric_name(self, value: pulumi.Input[str]): pulumi.set(self, "alarm_metric_name", value) +if not MYPY: + class ApplicationAlarmArgsDict(TypedDict): + """ + A CloudWatch alarm to be monitored for the component. + """ + alarm_name: pulumi.Input[str] + """ + The name of the CloudWatch alarm to be monitored for the component. + """ + severity: NotRequired[pulumi.Input['ApplicationAlarmSeverity']] + """ + Indicates the degree of outage when the alarm goes off. + """ +elif False: + ApplicationAlarmArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationAlarmArgs: def __init__(__self__, *, @@ -93,6 +146,22 @@ def severity(self, value: Optional[pulumi.Input['ApplicationAlarmSeverity']]): pulumi.set(self, "severity", value) +if not MYPY: + class ApplicationComponentConfigurationArgsDict(TypedDict): + """ + The configuration settings of the component. + """ + configuration_details: NotRequired[pulumi.Input['ApplicationConfigurationDetailsArgsDict']] + """ + The configuration settings + """ + sub_component_type_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationSubComponentTypeConfigurationArgsDict']]]] + """ + Sub component configurations of the component. + """ +elif False: + ApplicationComponentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationComponentConfigurationArgs: def __init__(__self__, *, @@ -133,6 +202,38 @@ def sub_component_type_configurations(self, value: Optional[pulumi.Input[Sequenc pulumi.set(self, "sub_component_type_configurations", value) +if not MYPY: + class ApplicationComponentMonitoringSettingArgsDict(TypedDict): + """ + The monitoring setting of the component. + """ + component_configuration_mode: pulumi.Input['ApplicationComponentMonitoringSettingComponentConfigurationMode'] + """ + The component monitoring configuration mode. + """ + tier: pulumi.Input[str] + """ + The tier of the application component. + """ + component_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the compnonent. + """ + component_name: NotRequired[pulumi.Input[str]] + """ + The name of the component. + """ + custom_component_configuration: NotRequired[pulumi.Input['ApplicationComponentConfigurationArgsDict']] + """ + The monitoring configuration of the component. + """ + default_overwrite_component_configuration: NotRequired[pulumi.Input['ApplicationComponentConfigurationArgsDict']] + """ + The overwritten settings on default component monitoring configuration. + """ +elif False: + ApplicationComponentMonitoringSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationComponentMonitoringSettingArgs: def __init__(__self__, *, @@ -235,6 +336,54 @@ def default_overwrite_component_configuration(self, value: Optional[pulumi.Input pulumi.set(self, "default_overwrite_component_configuration", value) +if not MYPY: + class ApplicationConfigurationDetailsArgsDict(TypedDict): + """ + The configuration settings. + """ + alarm_metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationAlarmMetricArgsDict']]]] + """ + A list of metrics to monitor for the component. + """ + alarms: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationAlarmArgsDict']]]] + """ + A list of alarms to monitor for the component. + """ + ha_cluster_prometheus_exporter: NotRequired[pulumi.Input['ApplicationHaClusterPrometheusExporterArgsDict']] + """ + The HA cluster Prometheus Exporter settings. + """ + hana_prometheus_exporter: NotRequired[pulumi.Input['ApplicationHanaPrometheusExporterArgsDict']] + """ + The HANA DB Prometheus Exporter settings. + """ + jmx_prometheus_exporter: NotRequired[pulumi.Input['ApplicationJmxPrometheusExporterArgsDict']] + """ + The JMX Prometheus Exporter settings. + """ + logs: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationLogArgsDict']]]] + """ + A list of logs to monitor for the component. + """ + net_weaver_prometheus_exporter: NotRequired[pulumi.Input['ApplicationNetWeaverPrometheusExporterArgsDict']] + """ + The NetWeaver Prometheus Exporter settings. + """ + processes: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationProcessArgsDict']]]] + """ + A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section. + """ + sql_server_prometheus_exporter: NotRequired[pulumi.Input['ApplicationSqlServerPrometheusExporterArgsDict']] + """ + The SQL Prometheus Exporter settings. + """ + windows_events: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationWindowsEventArgsDict']]]] + """ + A list of Windows Events to log. + """ +elif False: + ApplicationConfigurationDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationConfigurationDetailsArgs: def __init__(__self__, *, @@ -403,6 +552,22 @@ def windows_events(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['App pulumi.set(self, "windows_events", value) +if not MYPY: + class ApplicationCustomComponentArgsDict(TypedDict): + """ + The custom grouped component. + """ + component_name: pulumi.Input[str] + """ + The name of the component. + """ + resource_list: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of resource ARNs that belong to the component. + """ +elif False: + ApplicationCustomComponentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationCustomComponentArgs: def __init__(__self__, *, @@ -441,6 +606,18 @@ def resource_list(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "resource_list", value) +if not MYPY: + class ApplicationHaClusterPrometheusExporterArgsDict(TypedDict): + """ + The HA cluster Prometheus Exporter settings. + """ + prometheus_port: NotRequired[pulumi.Input[str]] + """ + Prometheus exporter port. + """ +elif False: + ApplicationHaClusterPrometheusExporterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationHaClusterPrometheusExporterArgs: def __init__(__self__, *, @@ -465,6 +642,37 @@ def prometheus_port(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prometheus_port", value) +if not MYPY: + class ApplicationHanaPrometheusExporterArgsDict(TypedDict): + """ + The HANA DB Prometheus Exporter settings. + """ + agree_to_install_hanadb_client: pulumi.Input[bool] + """ + A flag which indicates agreeing to install SAP HANA DB client. + """ + hana_port: pulumi.Input[str] + """ + The HANA DB port. + """ + hana_secret_name: pulumi.Input[str] + """ + The secret name which manages the HANA DB credentials e.g. { + "username": "<>", + "password": "<>" + }. + """ + hanasid: pulumi.Input[str] + """ + HANA DB SID. + """ + prometheus_port: NotRequired[pulumi.Input[str]] + """ + Prometheus exporter port. + """ +elif False: + ApplicationHanaPrometheusExporterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationHanaPrometheusExporterArgs: def __init__(__self__, *, @@ -555,6 +763,26 @@ def prometheus_port(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prometheus_port", value) +if not MYPY: + class ApplicationJmxPrometheusExporterArgsDict(TypedDict): + """ + The JMX Prometheus Exporter settings. + """ + host_port: NotRequired[pulumi.Input[str]] + """ + Java agent host port + """ + jmxurl: NotRequired[pulumi.Input[str]] + """ + JMX service URL. + """ + prometheus_port: NotRequired[pulumi.Input[str]] + """ + Prometheus exporter port. + """ +elif False: + ApplicationJmxPrometheusExporterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationJmxPrometheusExporterArgs: def __init__(__self__, *, @@ -611,6 +839,22 @@ def prometheus_port(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prometheus_port", value) +if not MYPY: + class ApplicationLogPatternSetArgsDict(TypedDict): + """ + The log pattern set. + """ + log_patterns: pulumi.Input[Sequence[pulumi.Input['ApplicationLogPatternArgsDict']]] + """ + The log patterns of a set. + """ + pattern_set_name: pulumi.Input[str] + """ + The name of the log pattern set. + """ +elif False: + ApplicationLogPatternSetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationLogPatternSetArgs: def __init__(__self__, *, @@ -649,6 +893,26 @@ def pattern_set_name(self, value: pulumi.Input[str]): pulumi.set(self, "pattern_set_name", value) +if not MYPY: + class ApplicationLogPatternArgsDict(TypedDict): + """ + The log pattern. + """ + pattern: pulumi.Input[str] + """ + The log pattern. + """ + pattern_name: pulumi.Input[str] + """ + The name of the log pattern. + """ + rank: pulumi.Input[int] + """ + Rank of the log pattern. + """ +elif False: + ApplicationLogPatternArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationLogPatternArgs: def __init__(__self__, *, @@ -702,6 +966,34 @@ def rank(self, value: pulumi.Input[int]): pulumi.set(self, "rank", value) +if not MYPY: + class ApplicationLogArgsDict(TypedDict): + """ + A log to be monitored for the component. + """ + log_type: pulumi.Input[str] + """ + The log type decides the log patterns against which Application Insights analyzes the log. + """ + encoding: NotRequired[pulumi.Input['ApplicationLogEncoding']] + """ + The type of encoding of the logs to be monitored. + """ + log_group_name: NotRequired[pulumi.Input[str]] + """ + The CloudWatch log group name to be associated to the monitored log. + """ + log_path: NotRequired[pulumi.Input[str]] + """ + The path of the logs to be monitored. + """ + pattern_set: NotRequired[pulumi.Input[str]] + """ + The name of the log pattern set. + """ +elif False: + ApplicationLogArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationLogArgs: def __init__(__self__, *, @@ -789,6 +1081,26 @@ def pattern_set(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "pattern_set", value) +if not MYPY: + class ApplicationNetWeaverPrometheusExporterArgsDict(TypedDict): + """ + The NetWeaver Prometheus Exporter Settings. + """ + instance_numbers: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + SAP instance numbers for ASCS, ERS, and App Servers. + """ + sapsid: pulumi.Input[str] + """ + SAP NetWeaver SID. + """ + prometheus_port: NotRequired[pulumi.Input[str]] + """ + Prometheus exporter port. + """ +elif False: + ApplicationNetWeaverPrometheusExporterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationNetWeaverPrometheusExporterArgs: def __init__(__self__, *, @@ -843,6 +1155,22 @@ def prometheus_port(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prometheus_port", value) +if not MYPY: + class ApplicationProcessArgsDict(TypedDict): + """ + A process to be monitored for the component. + """ + alarm_metrics: pulumi.Input[Sequence[pulumi.Input['ApplicationAlarmMetricArgsDict']]] + """ + A list of metrics to monitor for the component. + """ + process_name: pulumi.Input[str] + """ + The name of the process to be monitored for the component. + """ +elif False: + ApplicationProcessArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationProcessArgs: def __init__(__self__, *, @@ -881,6 +1209,22 @@ def process_name(self, value: pulumi.Input[str]): pulumi.set(self, "process_name", value) +if not MYPY: + class ApplicationSqlServerPrometheusExporterArgsDict(TypedDict): + """ + The SQL prometheus exporter settings. + """ + prometheus_port: pulumi.Input[str] + """ + Prometheus exporter port. + """ + sql_secret_name: pulumi.Input[str] + """ + Secret name which managers SQL exporter connection. e.g. {"data_source_name": "sqlserver://:@localhost:1433"} + """ +elif False: + ApplicationSqlServerPrometheusExporterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationSqlServerPrometheusExporterArgs: def __init__(__self__, *, @@ -919,6 +1263,30 @@ def sql_secret_name(self, value: pulumi.Input[str]): pulumi.set(self, "sql_secret_name", value) +if not MYPY: + class ApplicationSubComponentConfigurationDetailsArgsDict(TypedDict): + """ + The configuration settings of sub components. + """ + alarm_metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationAlarmMetricArgsDict']]]] + """ + A list of metrics to monitor for the component. + """ + logs: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationLogArgsDict']]]] + """ + A list of logs to monitor for the component. + """ + processes: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationProcessArgsDict']]]] + """ + A list of processes to monitor for the component. Only Windows EC2 instances can have a processes section. + """ + windows_events: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationWindowsEventArgsDict']]]] + """ + A list of Windows Events to log. + """ +elif False: + ApplicationSubComponentConfigurationDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationSubComponentConfigurationDetailsArgs: def __init__(__self__, *, @@ -991,6 +1359,22 @@ def windows_events(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['App pulumi.set(self, "windows_events", value) +if not MYPY: + class ApplicationSubComponentTypeConfigurationArgsDict(TypedDict): + """ + One type sub component configurations for the component. + """ + sub_component_configuration_details: pulumi.Input['ApplicationSubComponentConfigurationDetailsArgsDict'] + """ + The configuration settings of sub components. + """ + sub_component_type: pulumi.Input['ApplicationSubComponentTypeConfigurationSubComponentType'] + """ + The sub component type. + """ +elif False: + ApplicationSubComponentTypeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationSubComponentTypeConfigurationArgs: def __init__(__self__, *, @@ -1029,6 +1413,30 @@ def sub_component_type(self, value: pulumi.Input['ApplicationSubComponentTypeCon pulumi.set(self, "sub_component_type", value) +if not MYPY: + class ApplicationWindowsEventArgsDict(TypedDict): + """ + A Windows Event to be monitored for the component. + """ + event_levels: pulumi.Input[Sequence[pulumi.Input['ApplicationEventLevel']]] + """ + The levels of event to log. + """ + event_name: pulumi.Input[str] + """ + The type of Windows Events to log. + """ + log_group_name: pulumi.Input[str] + """ + The CloudWatch log group name to be associated to the monitored log. + """ + pattern_set: NotRequired[pulumi.Input[str]] + """ + The name of the log pattern set. + """ +elif False: + ApplicationWindowsEventArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationWindowsEventArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/applicationinsights/application.py b/sdk/python/pulumi_aws_native/applicationinsights/application.py index d77df8b442..5a3e69a893 100644 --- a/sdk/python/pulumi_aws_native/applicationinsights/application.py +++ b/sdk/python/pulumi_aws_native/applicationinsights/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/applicationinsights/get_application.py b/sdk/python/pulumi_aws_native/applicationinsights/get_application.py index ba337933d0..3df712fc0b 100644 --- a/sdk/python/pulumi_aws_native/applicationinsights/get_application.py +++ b/sdk/python/pulumi_aws_native/applicationinsights/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_application(application_arn: Optional[str] = None, cwe_monitor_enabled=pulumi.get(__ret__, 'cwe_monitor_enabled'), ops_center_enabled=pulumi.get(__ret__, 'ops_center_enabled'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -120,4 +122,13 @@ def get_application_output(application_arn: Optional[pulumi.Input[str]] = None, :param str application_arn: The ARN of the ApplicationInsights application. """ - ... + __args__ = dict() + __args__['applicationArn'] = application_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:applicationinsights:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + application_arn=pulumi.get(__response__, 'application_arn'), + auto_configuration_enabled=pulumi.get(__response__, 'auto_configuration_enabled'), + cwe_monitor_enabled=pulumi.get(__response__, 'cwe_monitor_enabled'), + ops_center_enabled=pulumi.get(__response__, 'ops_center_enabled'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/applicationinsights/outputs.py b/sdk/python/pulumi_aws_native/applicationinsights/outputs.py index b79130553a..38e349cb7f 100644 --- a/sdk/python/pulumi_aws_native/applicationinsights/outputs.py +++ b/sdk/python/pulumi_aws_native/applicationinsights/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/applicationsignals/_inputs.py b/sdk/python/pulumi_aws_native/applicationsignals/_inputs.py index bd06e9d1cf..bd6b8409b3 100644 --- a/sdk/python/pulumi_aws_native/applicationsignals/_inputs.py +++ b/sdk/python/pulumi_aws_native/applicationsignals/_inputs.py @@ -4,28 +4,69 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ServiceLevelObjectiveCalendarIntervalArgs', + 'ServiceLevelObjectiveCalendarIntervalArgsDict', 'ServiceLevelObjectiveDimensionArgs', + 'ServiceLevelObjectiveDimensionArgsDict', 'ServiceLevelObjectiveGoalArgs', + 'ServiceLevelObjectiveGoalArgsDict', 'ServiceLevelObjectiveIntervalArgs', + 'ServiceLevelObjectiveIntervalArgsDict', 'ServiceLevelObjectiveMetricDataQueryArgs', + 'ServiceLevelObjectiveMetricDataQueryArgsDict', 'ServiceLevelObjectiveMetricStatArgs', + 'ServiceLevelObjectiveMetricStatArgsDict', 'ServiceLevelObjectiveMetricArgs', + 'ServiceLevelObjectiveMetricArgsDict', 'ServiceLevelObjectiveMonitoredRequestCountMetricArgs', + 'ServiceLevelObjectiveMonitoredRequestCountMetricArgsDict', 'ServiceLevelObjectiveRequestBasedSliMetricArgs', + 'ServiceLevelObjectiveRequestBasedSliMetricArgsDict', 'ServiceLevelObjectiveRequestBasedSliArgs', + 'ServiceLevelObjectiveRequestBasedSliArgsDict', 'ServiceLevelObjectiveRollingIntervalArgs', + 'ServiceLevelObjectiveRollingIntervalArgsDict', 'ServiceLevelObjectiveSliMetricArgs', + 'ServiceLevelObjectiveSliMetricArgsDict', 'ServiceLevelObjectiveSliArgs', + 'ServiceLevelObjectiveSliArgsDict', ] +MYPY = False + +if not MYPY: + class ServiceLevelObjectiveCalendarIntervalArgsDict(TypedDict): + """ + If the interval for this service level objective is a calendar interval, this structure contains the interval specifications. + """ + duration: pulumi.Input[int] + """ + Specifies the duration of each calendar interval. For example, if `Duration` is `1` and `DurationUnit` is `MONTH` , each interval is one month, aligned with the calendar. + """ + duration_unit: pulumi.Input['ServiceLevelObjectiveDurationUnit'] + """ + Specifies the calendar interval unit. + """ + start_time: pulumi.Input[int] + """ + Epoch time in seconds you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m. + As soon as one calendar interval ends, another automatically begins. + """ +elif False: + ServiceLevelObjectiveCalendarIntervalArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveCalendarIntervalArgs: def __init__(__self__, *, @@ -81,6 +122,22 @@ def start_time(self, value: pulumi.Input[int]): pulumi.set(self, "start_time", value) +if not MYPY: + class ServiceLevelObjectiveDimensionArgsDict(TypedDict): + """ + A dimension is a name/value pair that is part of the identity of a metric. Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish `InstanceId` as a dimension name, and the actual instance ID as the value for that dimension. You can assign up to 30 dimensions to a metric. + """ + name: pulumi.Input[str] + """ + The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:). ASCII control characters are not supported as part of dimension names. + """ + value: pulumi.Input[str] + """ + The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values + """ +elif False: + ServiceLevelObjectiveDimensionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveDimensionArgs: def __init__(__self__, *, @@ -119,6 +176,29 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ServiceLevelObjectiveGoalArgsDict(TypedDict): + """ + A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold. + """ + attainment_goal: NotRequired[pulumi.Input[float]] + """ + The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. + If you omit this parameter, 99 is used to represent 99% as the attainment goal. + """ + interval: NotRequired[pulumi.Input['ServiceLevelObjectiveIntervalArgsDict']] + """ + The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval. + + If you omit this parameter, a rolling interval of 7 days is used. + """ + warning_threshold: NotRequired[pulumi.Input[float]] + """ + The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used. + """ +elif False: + ServiceLevelObjectiveGoalArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveGoalArgs: def __init__(__self__, *, @@ -181,6 +261,23 @@ def warning_threshold(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "warning_threshold", value) +if not MYPY: + class ServiceLevelObjectiveIntervalArgsDict(TypedDict): + """ + The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval. + If you omit this parameter, a rolling interval of 7 days is used. + """ + calendar_interval: NotRequired[pulumi.Input['ServiceLevelObjectiveCalendarIntervalArgsDict']] + """ + If the interval is a calendar interval, this structure contains the interval specifications. + """ + rolling_interval: NotRequired[pulumi.Input['ServiceLevelObjectiveRollingIntervalArgsDict']] + """ + If the interval is a rolling interval, this structure contains the interval specifications. + """ +elif False: + ServiceLevelObjectiveIntervalArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveIntervalArgs: def __init__(__self__, *, @@ -222,6 +319,35 @@ def rolling_interval(self, value: Optional[pulumi.Input['ServiceLevelObjectiveRo pulumi.set(self, "rolling_interval", value) +if not MYPY: + class ServiceLevelObjectiveMetricDataQueryArgsDict(TypedDict): + """ + Use this structure to define a metric or metric math expression that you want to use as for a service level objective. + Each `MetricDataQuery` in the `MetricDataQueries` array specifies either a metric to retrieve, or a metric math expression to be performed on retrieved metrics. A single `MetricDataQueries` array can include as many as 20 `MetricDataQuery` structures in the array. The 20 structures can include as many as 10 structures that contain a `MetricStat` parameter to retrieve a metric, and as many as 10 structures that contain the `Expression` parameter to perform a math expression. Of those Expression structures, exactly one must have true as the value for `ReturnData`. The result of this expression used for the SLO. + """ + id: pulumi.Input[str] + """ + A short name used to tie this object to the results in the response. + """ + account_id: NotRequired[pulumi.Input[str]] + """ + The ID of the account where the metrics are located, if this is a cross-account alarm. + """ + expression: NotRequired[pulumi.Input[str]] + """ + The math expression to be performed on the returned data. + """ + metric_stat: NotRequired[pulumi.Input['ServiceLevelObjectiveMetricStatArgsDict']] + """ + A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery, you must specify either Expression or MetricStat but not both. + """ + return_data: NotRequired[pulumi.Input[bool]] + """ + This option indicates whether to return the timestamps and raw data values of this metric. + """ +elif False: + ServiceLevelObjectiveMetricDataQueryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveMetricDataQueryArgs: def __init__(__self__, *, @@ -310,6 +436,27 @@ def return_data(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "return_data", value) +if not MYPY: + class ServiceLevelObjectiveMetricStatArgsDict(TypedDict): + """ + A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery object, you must specify either Expression or MetricStat but not both. + """ + metric: pulumi.Input['ServiceLevelObjectiveMetricArgsDict'] + period: pulumi.Input[int] + """ + The granularity, in seconds, to be used for the metric. + """ + stat: pulumi.Input[str] + """ + The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic. + """ + unit: NotRequired[pulumi.Input[str]] + """ + If you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions. + """ +elif False: + ServiceLevelObjectiveMetricStatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveMetricStatArgs: def __init__(__self__, *, @@ -375,6 +522,26 @@ def unit(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit", value) +if not MYPY: + class ServiceLevelObjectiveMetricArgsDict(TypedDict): + """ + This structure defines the metric used for a service level indicator, including the metric name, namespace, and dimensions. + """ + dimensions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceLevelObjectiveDimensionArgsDict']]]] + """ + An array of one or more dimensions to use to define the metric that you want to use. + """ + metric_name: NotRequired[pulumi.Input[str]] + """ + The name of the metric to use. + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The namespace of the metric. + """ +elif False: + ServiceLevelObjectiveMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveMetricArgs: def __init__(__self__, *, @@ -431,6 +598,22 @@ def namespace(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "namespace", value) +if not MYPY: + class ServiceLevelObjectiveMonitoredRequestCountMetricArgsDict(TypedDict): + """ + This structure defines the metric that is used as the "good request" or "bad request" value for a request-based SLO. This value observed for the metric defined in `TotalRequestCountMetric` is divided by the number found for `MonitoredRequestCountMetric` to determine the percentage of successful requests that this SLO tracks. + """ + bad_count_metric: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceLevelObjectiveMetricDataQueryArgsDict']]]] + """ + If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure. + """ + good_count_metric: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceLevelObjectiveMetricDataQueryArgsDict']]]] + """ + If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure. + """ +elif False: + ServiceLevelObjectiveMonitoredRequestCountMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveMonitoredRequestCountMetricArgs: def __init__(__self__, *, @@ -471,6 +654,40 @@ def good_count_metric(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "good_count_metric", value) +if not MYPY: + class ServiceLevelObjectiveRequestBasedSliMetricArgsDict(TypedDict): + """ + This structure contains the information about the metric that is used for a request-based SLO. + """ + key_attributes: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + This is a string-to-string map that contains information about the type of object that this SLO is related to. It can include the following fields. + + - `Type` designates the type of object that this SLO is related to. + - `ResourceType` specifies the type of the resource. This field is used only when the value of the `Type` field is `Resource` or `AWS::Resource` . + - `Name` specifies the name of the object. This is used only if the value of the `Type` field is `Service` , `RemoteService` , or `AWS::Service` . + - `Identifier` identifies the resource objects of this resource. This is used only if the value of the `Type` field is `Resource` or `AWS::Resource` . + - `Environment` specifies the location where this object is hosted, or what it belongs to. + """ + metric_type: NotRequired[pulumi.Input['ServiceLevelObjectiveRequestBasedSliMetricMetricType']] + """ + If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used. + """ + monitored_request_count_metric: NotRequired[pulumi.Input['ServiceLevelObjectiveMonitoredRequestCountMetricArgsDict']] + """ + Use this structure to define the metric that you want to use as the "good request" or "bad request" value for a request-based SLO. This value observed for the metric defined in `TotalRequestCountMetric` will be divided by the number found for `MonitoredRequestCountMetric` to determine the percentage of successful requests that this SLO tracks. + """ + operation_name: NotRequired[pulumi.Input[str]] + """ + If the SLO monitors a specific operation of the service, this field displays that operation name. + """ + total_request_count_metric: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceLevelObjectiveMetricDataQueryArgsDict']]]] + """ + This structure defines the metric that is used as the "total requests" number for a request-based SLO. The number observed for this metric is divided by the number of "good requests" or "bad requests" that is observed for the metric defined in `MonitoredRequestCountMetric`. + """ +elif False: + ServiceLevelObjectiveRequestBasedSliMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveRequestBasedSliMetricArgs: def __init__(__self__, *, @@ -571,6 +788,26 @@ def total_request_count_metric(self, value: Optional[pulumi.Input[Sequence[pulum pulumi.set(self, "total_request_count_metric", value) +if not MYPY: + class ServiceLevelObjectiveRequestBasedSliArgsDict(TypedDict): + """ + This structure contains information about the performance metric that a request-based SLO monitors. + """ + request_based_sli_metric: pulumi.Input['ServiceLevelObjectiveRequestBasedSliMetricArgsDict'] + """ + A structure that contains information about the metric that the SLO monitors. + """ + comparison_operator: NotRequired[pulumi.Input['ServiceLevelObjectiveRequestBasedSliComparisonOperator']] + """ + The arithmetic operation used when comparing the specified metric to the threshold. + """ + metric_threshold: NotRequired[pulumi.Input[float]] + """ + The value that the SLI metric is compared to. + """ +elif False: + ServiceLevelObjectiveRequestBasedSliArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveRequestBasedSliArgs: def __init__(__self__, *, @@ -626,6 +863,22 @@ def metric_threshold(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "metric_threshold", value) +if not MYPY: + class ServiceLevelObjectiveRollingIntervalArgsDict(TypedDict): + """ + If the interval is a calendar interval, this structure contains the interval specifications. + """ + duration: pulumi.Input[int] + """ + Specifies the duration of each rolling interval. For example, if `Duration` is `7` and `DurationUnit` is `DAY` , each rolling interval is seven days. + """ + duration_unit: pulumi.Input['ServiceLevelObjectiveDurationUnit'] + """ + Specifies the rolling interval unit. + """ +elif False: + ServiceLevelObjectiveRollingIntervalArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveRollingIntervalArgs: def __init__(__self__, *, @@ -664,6 +917,46 @@ def duration_unit(self, value: pulumi.Input['ServiceLevelObjectiveDurationUnit'] pulumi.set(self, "duration_unit", value) +if not MYPY: + class ServiceLevelObjectiveSliMetricArgsDict(TypedDict): + """ + A structure that contains information about the metric that the SLO monitors. + """ + key_attributes: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to. To do so, you must specify at least the `Type` , `Name` , and `Environment` attributes. + + This is a string-to-string map. It can include the following fields. + + - `Type` designates the type of object this is. + - `ResourceType` specifies the type of the resource. This field is used only when the value of the `Type` field is `Resource` or `AWS::Resource` . + - `Name` specifies the name of the object. This is used only if the value of the `Type` field is `Service` , `RemoteService` , or `AWS::Service` . + - `Identifier` identifies the resource objects of this resource. This is used only if the value of the `Type` field is `Resource` or `AWS::Resource` . + - `Environment` specifies the location where this object is hosted, or what it belongs to. + """ + metric_data_queries: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceLevelObjectiveMetricDataQueryArgsDict']]]] + """ + If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression. + """ + metric_type: NotRequired[pulumi.Input['ServiceLevelObjectiveSliMetricMetricType']] + """ + If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used. + """ + operation_name: NotRequired[pulumi.Input[str]] + """ + If the SLO monitors a specific operation of the service, this field displays that operation name. + """ + period_seconds: NotRequired[pulumi.Input[int]] + """ + The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance. + """ + statistic: NotRequired[pulumi.Input[str]] + """ + The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic + """ +elif False: + ServiceLevelObjectiveSliMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveSliMetricArgs: def __init__(__self__, *, @@ -784,6 +1077,26 @@ def statistic(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "statistic", value) +if not MYPY: + class ServiceLevelObjectiveSliArgsDict(TypedDict): + """ + This structure contains information about the performance metric that an SLO monitors. + """ + comparison_operator: pulumi.Input['ServiceLevelObjectiveSliComparisonOperator'] + """ + The arithmetic operation used when comparing the specified metric to the threshold. + """ + metric_threshold: pulumi.Input[float] + """ + The value that the SLI metric is compared to. + """ + sli_metric: pulumi.Input['ServiceLevelObjectiveSliMetricArgsDict'] + """ + Use this structure to specify the metric to be used for the SLO. + """ +elif False: + ServiceLevelObjectiveSliArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLevelObjectiveSliArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/applicationsignals/get_service_level_objective.py b/sdk/python/pulumi_aws_native/applicationsignals/get_service_level_objective.py index c93be07783..bcb2e739c3 100644 --- a/sdk/python/pulumi_aws_native/applicationsignals/get_service_level_objective.py +++ b/sdk/python/pulumi_aws_native/applicationsignals/get_service_level_objective.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -165,9 +170,6 @@ def get_service_level_objective(arn: Optional[str] = None, request_based_sli=pulumi.get(__ret__, 'request_based_sli'), sli=pulumi.get(__ret__, 'sli'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service_level_objective) def get_service_level_objective_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceLevelObjectiveResult]: """ @@ -176,4 +178,17 @@ def get_service_level_objective_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of this SLO. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:applicationsignals:getServiceLevelObjective', __args__, opts=opts, typ=GetServiceLevelObjectiveResult) + return __ret__.apply(lambda __response__: GetServiceLevelObjectiveResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + description=pulumi.get(__response__, 'description'), + evaluation_type=pulumi.get(__response__, 'evaluation_type'), + goal=pulumi.get(__response__, 'goal'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + request_based_sli=pulumi.get(__response__, 'request_based_sli'), + sli=pulumi.get(__response__, 'sli'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/applicationsignals/outputs.py b/sdk/python/pulumi_aws_native/applicationsignals/outputs.py index a544d9b818..05838f1e7b 100644 --- a/sdk/python/pulumi_aws_native/applicationsignals/outputs.py +++ b/sdk/python/pulumi_aws_native/applicationsignals/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/applicationsignals/service_level_objective.py b/sdk/python/pulumi_aws_native/applicationsignals/service_level_objective.py index d4dee30272..ec9f22db0d 100644 --- a/sdk/python/pulumi_aws_native/applicationsignals/service_level_objective.py +++ b/sdk/python/pulumi_aws_native/applicationsignals/service_level_objective.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/apprunner/_inputs.py b/sdk/python/pulumi_aws_native/apprunner/_inputs.py index 7a975c7a26..c43a379312 100644 --- a/sdk/python/pulumi_aws_native/apprunner/_inputs.py +++ b/sdk/python/pulumi_aws_native/apprunner/_inputs.py @@ -4,33 +4,70 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ObservabilityConfigurationTraceConfigurationArgs', + 'ObservabilityConfigurationTraceConfigurationArgsDict', 'ServiceAuthenticationConfigurationArgs', + 'ServiceAuthenticationConfigurationArgsDict', 'ServiceCodeConfigurationValuesArgs', + 'ServiceCodeConfigurationValuesArgsDict', 'ServiceCodeConfigurationArgs', + 'ServiceCodeConfigurationArgsDict', 'ServiceCodeRepositoryArgs', + 'ServiceCodeRepositoryArgsDict', 'ServiceEgressConfigurationArgs', + 'ServiceEgressConfigurationArgsDict', 'ServiceEncryptionConfigurationArgs', + 'ServiceEncryptionConfigurationArgsDict', 'ServiceHealthCheckConfigurationArgs', + 'ServiceHealthCheckConfigurationArgsDict', 'ServiceImageConfigurationArgs', + 'ServiceImageConfigurationArgsDict', 'ServiceImageRepositoryArgs', + 'ServiceImageRepositoryArgsDict', 'ServiceIngressConfigurationArgs', + 'ServiceIngressConfigurationArgsDict', 'ServiceInstanceConfigurationArgs', + 'ServiceInstanceConfigurationArgsDict', 'ServiceKeyValuePairArgs', + 'ServiceKeyValuePairArgsDict', 'ServiceNetworkConfigurationArgs', + 'ServiceNetworkConfigurationArgsDict', 'ServiceObservabilityConfigurationArgs', + 'ServiceObservabilityConfigurationArgsDict', 'ServiceSourceCodeVersionArgs', + 'ServiceSourceCodeVersionArgsDict', 'ServiceSourceConfigurationArgs', + 'ServiceSourceConfigurationArgsDict', 'VpcIngressConnectionIngressVpcConfigurationArgs', + 'VpcIngressConnectionIngressVpcConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ObservabilityConfigurationTraceConfigurationArgsDict(TypedDict): + """ + Describes the configuration of the tracing feature within an AWS App Runner observability configuration. + """ + vendor: pulumi.Input['ObservabilityConfigurationTraceConfigurationVendor'] + """ + The implementation provider chosen for tracing App Runner services. + """ +elif False: + ObservabilityConfigurationTraceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ObservabilityConfigurationTraceConfigurationArgs: def __init__(__self__, *, @@ -54,6 +91,22 @@ def vendor(self, value: pulumi.Input['ObservabilityConfigurationTraceConfigurati pulumi.set(self, "vendor", value) +if not MYPY: + class ServiceAuthenticationConfigurationArgsDict(TypedDict): + """ + Authentication Configuration + """ + access_role_arn: NotRequired[pulumi.Input[str]] + """ + Access Role Arn + """ + connection_arn: NotRequired[pulumi.Input[str]] + """ + Connection Arn + """ +elif False: + ServiceAuthenticationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceAuthenticationConfigurationArgs: def __init__(__self__, *, @@ -94,6 +147,38 @@ def connection_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "connection_arn", value) +if not MYPY: + class ServiceCodeConfigurationValuesArgsDict(TypedDict): + """ + Code Configuration Values + """ + runtime: pulumi.Input['ServiceCodeConfigurationValuesRuntime'] + """ + Runtime + """ + build_command: NotRequired[pulumi.Input[str]] + """ + Build Command + """ + port: NotRequired[pulumi.Input[str]] + """ + Port + """ + runtime_environment_secrets: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceKeyValuePairArgsDict']]]] + """ + The secrets and parameters that get referenced by your service as environment variables + """ + runtime_environment_variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceKeyValuePairArgsDict']]]] + """ + The environment variables that are available to your running AWS App Runner service. An array of key-value pairs. + """ + start_command: NotRequired[pulumi.Input[str]] + """ + Start Command + """ +elif False: + ServiceCodeConfigurationValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceCodeConfigurationValuesArgs: def __init__(__self__, *, @@ -197,6 +282,22 @@ def start_command(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start_command", value) +if not MYPY: + class ServiceCodeConfigurationArgsDict(TypedDict): + """ + Code Configuration + """ + configuration_source: pulumi.Input['ServiceCodeConfigurationConfigurationSource'] + """ + Configuration Source + """ + code_configuration_values: NotRequired[pulumi.Input['ServiceCodeConfigurationValuesArgsDict']] + """ + The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a `apprunner.yaml` file in the source code repository (or ignoring the file if it exists). + """ +elif False: + ServiceCodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceCodeConfigurationArgs: def __init__(__self__, *, @@ -236,6 +337,32 @@ def code_configuration_values(self, value: Optional[pulumi.Input['ServiceCodeCon pulumi.set(self, "code_configuration_values", value) +if not MYPY: + class ServiceCodeRepositoryArgsDict(TypedDict): + """ + Source Code Repository + """ + repository_url: pulumi.Input[str] + """ + Repository Url + """ + source_code_version: pulumi.Input['ServiceSourceCodeVersionArgsDict'] + """ + The version that should be used within the source code repository. + """ + code_configuration: NotRequired[pulumi.Input['ServiceCodeConfigurationArgsDict']] + """ + Configuration for building and running the service from a source code repository. + + > `CodeConfiguration` is required only for `CreateService` request. + """ + source_directory: NotRequired[pulumi.Input[str]] + """ + Source Directory + """ +elif False: + ServiceCodeRepositoryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceCodeRepositoryArgs: def __init__(__self__, *, @@ -310,6 +437,22 @@ def source_directory(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_directory", value) +if not MYPY: + class ServiceEgressConfigurationArgsDict(TypedDict): + """ + Network egress configuration + """ + egress_type: pulumi.Input['ServiceEgressConfigurationEgressType'] + """ + Network egress type. + """ + vpc_connector_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the App Runner VpcConnector. + """ +elif False: + ServiceEgressConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceEgressConfigurationArgs: def __init__(__self__, *, @@ -349,6 +492,18 @@ def vpc_connector_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_connector_arn", value) +if not MYPY: + class ServiceEncryptionConfigurationArgsDict(TypedDict): + """ + Encryption configuration (KMS key) + """ + kms_key: pulumi.Input[str] + """ + The KMS Key + """ +elif False: + ServiceEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceEncryptionConfigurationArgs: def __init__(__self__, *, @@ -372,6 +527,38 @@ def kms_key(self, value: pulumi.Input[str]): pulumi.set(self, "kms_key", value) +if not MYPY: + class ServiceHealthCheckConfigurationArgsDict(TypedDict): + """ + Health check configuration + """ + healthy_threshold: NotRequired[pulumi.Input[int]] + """ + Health check Healthy Threshold + """ + interval: NotRequired[pulumi.Input[int]] + """ + Health check Interval + """ + path: NotRequired[pulumi.Input[str]] + """ + Health check Path + """ + protocol: NotRequired[pulumi.Input['ServiceHealthCheckConfigurationProtocol']] + """ + Health Check Protocol + """ + timeout: NotRequired[pulumi.Input[int]] + """ + Health check Timeout + """ + unhealthy_threshold: NotRequired[pulumi.Input[int]] + """ + Health check Unhealthy Threshold + """ +elif False: + ServiceHealthCheckConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceHealthCheckConfigurationArgs: def __init__(__self__, *, @@ -476,6 +663,30 @@ def unhealthy_threshold(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "unhealthy_threshold", value) +if not MYPY: + class ServiceImageConfigurationArgsDict(TypedDict): + """ + Image Configuration + """ + port: NotRequired[pulumi.Input[str]] + """ + Port + """ + runtime_environment_secrets: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceKeyValuePairArgsDict']]]] + """ + The secrets and parameters that get referenced by your service as environment variables + """ + runtime_environment_variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceKeyValuePairArgsDict']]]] + """ + Environment variables that are available to your running App Runner service. An array of key-value pairs. + """ + start_command: NotRequired[pulumi.Input[str]] + """ + Start Command + """ +elif False: + ServiceImageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceImageConfigurationArgs: def __init__(__self__, *, @@ -548,6 +759,26 @@ def start_command(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start_command", value) +if not MYPY: + class ServiceImageRepositoryArgsDict(TypedDict): + """ + Image Repository + """ + image_identifier: pulumi.Input[str] + """ + Image Identifier + """ + image_repository_type: pulumi.Input['ServiceImageRepositoryImageRepositoryType'] + """ + Image Repository Type + """ + image_configuration: NotRequired[pulumi.Input['ServiceImageConfigurationArgsDict']] + """ + Configuration for running the identified image. + """ +elif False: + ServiceImageRepositoryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceImageRepositoryArgs: def __init__(__self__, *, @@ -602,6 +833,18 @@ def image_configuration(self, value: Optional[pulumi.Input['ServiceImageConfigur pulumi.set(self, "image_configuration", value) +if not MYPY: + class ServiceIngressConfigurationArgsDict(TypedDict): + """ + Network ingress configuration + """ + is_publicly_accessible: pulumi.Input[bool] + """ + It's set to true if the Apprunner service is publicly accessible. It's set to false otherwise. + """ +elif False: + ServiceIngressConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceIngressConfigurationArgs: def __init__(__self__, *, @@ -625,6 +868,26 @@ def is_publicly_accessible(self, value: pulumi.Input[bool]): pulumi.set(self, "is_publicly_accessible", value) +if not MYPY: + class ServiceInstanceConfigurationArgsDict(TypedDict): + """ + Instance Configuration + """ + cpu: NotRequired[pulumi.Input[str]] + """ + CPU + """ + instance_role_arn: NotRequired[pulumi.Input[str]] + """ + Instance Role Arn + """ + memory: NotRequired[pulumi.Input[str]] + """ + Memory + """ +elif False: + ServiceInstanceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceInstanceConfigurationArgs: def __init__(__self__, *, @@ -681,6 +944,19 @@ def memory(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "memory", value) +if not MYPY: + class ServiceKeyValuePairArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The key name string to map to a value. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value string to which the key name is mapped. + """ +elif False: + ServiceKeyValuePairArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceKeyValuePairArgs: def __init__(__self__, *, @@ -720,6 +996,26 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ServiceNetworkConfigurationArgsDict(TypedDict): + """ + Network configuration + """ + egress_configuration: NotRequired[pulumi.Input['ServiceEgressConfigurationArgsDict']] + """ + Network configuration settings for outbound message traffic. + """ + ingress_configuration: NotRequired[pulumi.Input['ServiceIngressConfigurationArgsDict']] + """ + Network configuration settings for inbound message traffic. + """ + ip_address_type: NotRequired[pulumi.Input['ServiceNetworkConfigurationIpAddressType']] + """ + App Runner service endpoint IP address type + """ +elif False: + ServiceNetworkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceNetworkConfigurationArgs: def __init__(__self__, *, @@ -776,6 +1072,22 @@ def ip_address_type(self, value: Optional[pulumi.Input['ServiceNetworkConfigurat pulumi.set(self, "ip_address_type", value) +if not MYPY: + class ServiceObservabilityConfigurationArgsDict(TypedDict): + """ + Service observability configuration + """ + observability_enabled: pulumi.Input[bool] + """ + Observability enabled + """ + observability_configuration_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the App Runner ObservabilityConfiguration. + """ +elif False: + ServiceObservabilityConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceObservabilityConfigurationArgs: def __init__(__self__, *, @@ -815,6 +1127,22 @@ def observability_configuration_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "observability_configuration_arn", value) +if not MYPY: + class ServiceSourceCodeVersionArgsDict(TypedDict): + """ + Source Code Version + """ + type: pulumi.Input['ServiceSourceCodeVersionType'] + """ + Source Code Version Type + """ + value: pulumi.Input[str] + """ + Source Code Version Value + """ +elif False: + ServiceSourceCodeVersionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceSourceCodeVersionArgs: def __init__(__self__, *, @@ -853,6 +1181,34 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ServiceSourceConfigurationArgsDict(TypedDict): + """ + Source Code configuration + """ + authentication_configuration: NotRequired[pulumi.Input['ServiceAuthenticationConfigurationArgsDict']] + """ + Describes the resources that are needed to authenticate access to some source repositories. + """ + auto_deployments_enabled: NotRequired[pulumi.Input[bool]] + """ + Auto Deployment enabled + """ + code_repository: NotRequired[pulumi.Input['ServiceCodeRepositoryArgsDict']] + """ + The description of a source code repository. + + You must provide either this member or `ImageRepository` (but not both). + """ + image_repository: NotRequired[pulumi.Input['ServiceImageRepositoryArgsDict']] + """ + The description of a source image repository. + + You must provide either this member or `CodeRepository` (but not both). + """ +elif False: + ServiceSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceSourceConfigurationArgs: def __init__(__self__, *, @@ -933,6 +1289,22 @@ def image_repository(self, value: Optional[pulumi.Input['ServiceImageRepositoryA pulumi.set(self, "image_repository", value) +if not MYPY: + class VpcIngressConnectionIngressVpcConfigurationArgsDict(TypedDict): + """ + The configuration of customer’s VPC and related VPC endpoint + """ + vpc_endpoint_id: pulumi.Input[str] + """ + The ID of the VPC endpoint that your App Runner service connects to. + """ + vpc_id: pulumi.Input[str] + """ + The ID of the VPC that the VPC endpoint is used in. + """ +elif False: + VpcIngressConnectionIngressVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpcIngressConnectionIngressVpcConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/apprunner/auto_scaling_configuration.py b/sdk/python/pulumi_aws_native/apprunner/auto_scaling_configuration.py index 761cd74b26..5948ac25df 100644 --- a/sdk/python/pulumi_aws_native/apprunner/auto_scaling_configuration.py +++ b/sdk/python/pulumi_aws_native/apprunner/auto_scaling_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/apprunner/get_auto_scaling_configuration.py b/sdk/python/pulumi_aws_native/apprunner/get_auto_scaling_configuration.py index 6e6299ed72..2b780aebc3 100644 --- a/sdk/python/pulumi_aws_native/apprunner/get_auto_scaling_configuration.py +++ b/sdk/python/pulumi_aws_native/apprunner/get_auto_scaling_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_auto_scaling_configuration(auto_scaling_configuration_arn: Optional[str] auto_scaling_configuration_arn=pulumi.get(__ret__, 'auto_scaling_configuration_arn'), auto_scaling_configuration_revision=pulumi.get(__ret__, 'auto_scaling_configuration_revision'), latest=pulumi.get(__ret__, 'latest')) - - -@_utilities.lift_output_func(get_auto_scaling_configuration) def get_auto_scaling_configuration_output(auto_scaling_configuration_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutoScalingConfigurationResult]: """ @@ -93,4 +95,11 @@ def get_auto_scaling_configuration_output(auto_scaling_configuration_arn: Option :param str auto_scaling_configuration_arn: The Amazon Resource Name (ARN) of this auto scaling configuration. """ - ... + __args__ = dict() + __args__['autoScalingConfigurationArn'] = auto_scaling_configuration_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apprunner:getAutoScalingConfiguration', __args__, opts=opts, typ=GetAutoScalingConfigurationResult) + return __ret__.apply(lambda __response__: GetAutoScalingConfigurationResult( + auto_scaling_configuration_arn=pulumi.get(__response__, 'auto_scaling_configuration_arn'), + auto_scaling_configuration_revision=pulumi.get(__response__, 'auto_scaling_configuration_revision'), + latest=pulumi.get(__response__, 'latest'))) diff --git a/sdk/python/pulumi_aws_native/apprunner/get_observability_configuration.py b/sdk/python/pulumi_aws_native/apprunner/get_observability_configuration.py index 0c2742b09c..9142507188 100644 --- a/sdk/python/pulumi_aws_native/apprunner/get_observability_configuration.py +++ b/sdk/python/pulumi_aws_native/apprunner/get_observability_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_observability_configuration(observability_configuration_arn: Optional[st latest=pulumi.get(__ret__, 'latest'), observability_configuration_arn=pulumi.get(__ret__, 'observability_configuration_arn'), observability_configuration_revision=pulumi.get(__ret__, 'observability_configuration_revision')) - - -@_utilities.lift_output_func(get_observability_configuration) def get_observability_configuration_output(observability_configuration_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetObservabilityConfigurationResult]: """ @@ -93,4 +95,11 @@ def get_observability_configuration_output(observability_configuration_arn: Opti :param str observability_configuration_arn: The Amazon Resource Name (ARN) of this ObservabilityConfiguration """ - ... + __args__ = dict() + __args__['observabilityConfigurationArn'] = observability_configuration_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apprunner:getObservabilityConfiguration', __args__, opts=opts, typ=GetObservabilityConfigurationResult) + return __ret__.apply(lambda __response__: GetObservabilityConfigurationResult( + latest=pulumi.get(__response__, 'latest'), + observability_configuration_arn=pulumi.get(__response__, 'observability_configuration_arn'), + observability_configuration_revision=pulumi.get(__response__, 'observability_configuration_revision'))) diff --git a/sdk/python/pulumi_aws_native/apprunner/get_service.py b/sdk/python/pulumi_aws_native/apprunner/get_service.py index e633eaa1de..ad67614d28 100644 --- a/sdk/python/pulumi_aws_native/apprunner/get_service.py +++ b/sdk/python/pulumi_aws_native/apprunner/get_service.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -162,9 +167,6 @@ def get_service(service_arn: Optional[str] = None, service_url=pulumi.get(__ret__, 'service_url'), source_configuration=pulumi.get(__ret__, 'source_configuration'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_service) def get_service_output(service_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceResult]: """ @@ -173,4 +175,17 @@ def get_service_output(service_arn: Optional[pulumi.Input[str]] = None, :param str service_arn: The Amazon Resource Name (ARN) of the AppRunner Service. """ - ... + __args__ = dict() + __args__['serviceArn'] = service_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apprunner:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + health_check_configuration=pulumi.get(__response__, 'health_check_configuration'), + instance_configuration=pulumi.get(__response__, 'instance_configuration'), + network_configuration=pulumi.get(__response__, 'network_configuration'), + observability_configuration=pulumi.get(__response__, 'observability_configuration'), + service_arn=pulumi.get(__response__, 'service_arn'), + service_id=pulumi.get(__response__, 'service_id'), + service_url=pulumi.get(__response__, 'service_url'), + source_configuration=pulumi.get(__response__, 'source_configuration'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/apprunner/get_vpc_connector.py b/sdk/python/pulumi_aws_native/apprunner/get_vpc_connector.py index 3eabdf5954..ec0123f7a4 100644 --- a/sdk/python/pulumi_aws_native/apprunner/get_vpc_connector.py +++ b/sdk/python/pulumi_aws_native/apprunner/get_vpc_connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_vpc_connector(vpc_connector_arn: Optional[str] = None, return AwaitableGetVpcConnectorResult( vpc_connector_arn=pulumi.get(__ret__, 'vpc_connector_arn'), vpc_connector_revision=pulumi.get(__ret__, 'vpc_connector_revision')) - - -@_utilities.lift_output_func(get_vpc_connector) def get_vpc_connector_output(vpc_connector_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcConnectorResult]: """ @@ -80,4 +82,10 @@ def get_vpc_connector_output(vpc_connector_arn: Optional[pulumi.Input[str]] = No :param str vpc_connector_arn: The Amazon Resource Name (ARN) of this VPC connector. """ - ... + __args__ = dict() + __args__['vpcConnectorArn'] = vpc_connector_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apprunner:getVpcConnector', __args__, opts=opts, typ=GetVpcConnectorResult) + return __ret__.apply(lambda __response__: GetVpcConnectorResult( + vpc_connector_arn=pulumi.get(__response__, 'vpc_connector_arn'), + vpc_connector_revision=pulumi.get(__response__, 'vpc_connector_revision'))) diff --git a/sdk/python/pulumi_aws_native/apprunner/get_vpc_ingress_connection.py b/sdk/python/pulumi_aws_native/apprunner/get_vpc_ingress_connection.py index 9cf0a9c730..d2ef092f34 100644 --- a/sdk/python/pulumi_aws_native/apprunner/get_vpc_ingress_connection.py +++ b/sdk/python/pulumi_aws_native/apprunner/get_vpc_ingress_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -97,9 +102,6 @@ def get_vpc_ingress_connection(vpc_ingress_connection_arn: Optional[str] = None, ingress_vpc_configuration=pulumi.get(__ret__, 'ingress_vpc_configuration'), status=pulumi.get(__ret__, 'status'), vpc_ingress_connection_arn=pulumi.get(__ret__, 'vpc_ingress_connection_arn')) - - -@_utilities.lift_output_func(get_vpc_ingress_connection) def get_vpc_ingress_connection_output(vpc_ingress_connection_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcIngressConnectionResult]: """ @@ -108,4 +110,12 @@ def get_vpc_ingress_connection_output(vpc_ingress_connection_arn: Optional[pulum :param str vpc_ingress_connection_arn: The Amazon Resource Name (ARN) of the VpcIngressConnection. """ - ... + __args__ = dict() + __args__['vpcIngressConnectionArn'] = vpc_ingress_connection_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:apprunner:getVpcIngressConnection', __args__, opts=opts, typ=GetVpcIngressConnectionResult) + return __ret__.apply(lambda __response__: GetVpcIngressConnectionResult( + domain_name=pulumi.get(__response__, 'domain_name'), + ingress_vpc_configuration=pulumi.get(__response__, 'ingress_vpc_configuration'), + status=pulumi.get(__response__, 'status'), + vpc_ingress_connection_arn=pulumi.get(__response__, 'vpc_ingress_connection_arn'))) diff --git a/sdk/python/pulumi_aws_native/apprunner/observability_configuration.py b/sdk/python/pulumi_aws_native/apprunner/observability_configuration.py index 76917e6116..643b082ab3 100644 --- a/sdk/python/pulumi_aws_native/apprunner/observability_configuration.py +++ b/sdk/python/pulumi_aws_native/apprunner/observability_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/apprunner/outputs.py b/sdk/python/pulumi_aws_native/apprunner/outputs.py index 91cf1fc755..195f42824d 100644 --- a/sdk/python/pulumi_aws_native/apprunner/outputs.py +++ b/sdk/python/pulumi_aws_native/apprunner/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/apprunner/service.py b/sdk/python/pulumi_aws_native/apprunner/service.py index a8e5b26c46..e0f1beea47 100644 --- a/sdk/python/pulumi_aws_native/apprunner/service.py +++ b/sdk/python/pulumi_aws_native/apprunner/service.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/apprunner/vpc_connector.py b/sdk/python/pulumi_aws_native/apprunner/vpc_connector.py index 0033446b0d..f7e2170ee1 100644 --- a/sdk/python/pulumi_aws_native/apprunner/vpc_connector.py +++ b/sdk/python/pulumi_aws_native/apprunner/vpc_connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/apprunner/vpc_ingress_connection.py b/sdk/python/pulumi_aws_native/apprunner/vpc_ingress_connection.py index eab4cf37c9..53e94e92a3 100644 --- a/sdk/python/pulumi_aws_native/apprunner/vpc_ingress_connection.py +++ b/sdk/python/pulumi_aws_native/apprunner/vpc_ingress_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/appstream/_inputs.py b/sdk/python/pulumi_aws_native/appstream/_inputs.py index 1e17b3d46c..19de1ea3d0 100644 --- a/sdk/python/pulumi_aws_native/appstream/_inputs.py +++ b/sdk/python/pulumi_aws_native/appstream/_inputs.py @@ -4,29 +4,64 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'AppBlockBuilderAccessEndpointArgs', + 'AppBlockBuilderAccessEndpointArgsDict', 'AppBlockBuilderVpcConfigArgs', + 'AppBlockBuilderVpcConfigArgsDict', 'AppBlockS3LocationArgs', + 'AppBlockS3LocationArgsDict', 'AppBlockScriptDetailsArgs', + 'AppBlockScriptDetailsArgsDict', 'AppBlockTag0PropertiesArgs', + 'AppBlockTag0PropertiesArgsDict', 'AppBlockTag1PropertiesArgs', + 'AppBlockTag1PropertiesArgsDict', 'ApplicationS3LocationArgs', + 'ApplicationS3LocationArgsDict', 'ApplicationTag0PropertiesArgs', + 'ApplicationTag0PropertiesArgsDict', 'ApplicationTag1PropertiesArgs', + 'ApplicationTag1PropertiesArgsDict', 'DirectoryConfigCertificateBasedAuthPropertiesArgs', + 'DirectoryConfigCertificateBasedAuthPropertiesArgsDict', 'DirectoryConfigServiceAccountCredentialsArgs', + 'DirectoryConfigServiceAccountCredentialsArgsDict', 'EntitlementAttributeArgs', + 'EntitlementAttributeArgsDict', 'ImageBuilderAccessEndpointArgs', + 'ImageBuilderAccessEndpointArgsDict', 'ImageBuilderDomainJoinInfoArgs', + 'ImageBuilderDomainJoinInfoArgsDict', 'ImageBuilderVpcConfigArgs', + 'ImageBuilderVpcConfigArgsDict', ] +MYPY = False + +if not MYPY: + class AppBlockBuilderAccessEndpointArgsDict(TypedDict): + endpoint_type: pulumi.Input[str] + """ + The type of interface endpoint. + """ + vpce_id: pulumi.Input[str] + """ + The identifier (ID) of the VPC in which the interface endpoint is used. + """ +elif False: + AppBlockBuilderAccessEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppBlockBuilderAccessEndpointArgs: def __init__(__self__, *, @@ -64,6 +99,19 @@ def vpce_id(self, value: pulumi.Input[str]): pulumi.set(self, "vpce_id", value) +if not MYPY: + class AppBlockBuilderVpcConfigArgsDict(TypedDict): + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The identifiers of the security groups for the fleet or image builder. + """ + subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet. + """ +elif False: + AppBlockBuilderVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppBlockBuilderVpcConfigArgs: def __init__(__self__, *, @@ -103,6 +151,21 @@ def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "subnet_ids", value) +if not MYPY: + class AppBlockS3LocationArgsDict(TypedDict): + s3_bucket: pulumi.Input[str] + """ + The S3 bucket of the app block. + """ + s3_key: NotRequired[pulumi.Input[str]] + """ + The S3 key of the S3 object of the virtual hard disk. + + This is required when it's used by `SetupScriptDetails` and `PostSetupScriptDetails` . + """ +elif False: + AppBlockS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppBlockS3LocationArgs: def __init__(__self__, *, @@ -145,6 +208,27 @@ def s3_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_key", value) +if not MYPY: + class AppBlockScriptDetailsArgsDict(TypedDict): + executable_path: pulumi.Input[str] + """ + The run path for the script. + """ + script_s3_location: pulumi.Input['AppBlockS3LocationArgsDict'] + """ + The S3 object location of the script. + """ + timeout_in_seconds: pulumi.Input[int] + """ + The run timeout, in seconds, for the script. + """ + executable_parameters: NotRequired[pulumi.Input[str]] + """ + The parameters used in the run path for the script. + """ +elif False: + AppBlockScriptDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppBlockScriptDetailsArgs: def __init__(__self__, *, @@ -213,6 +297,13 @@ def executable_parameters(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "executable_parameters", value) +if not MYPY: + class AppBlockTag0PropertiesArgsDict(TypedDict): + key: pulumi.Input[str] + value: pulumi.Input[str] +elif False: + AppBlockTag0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppBlockTag0PropertiesArgs: def __init__(__self__, *, @@ -240,6 +331,13 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class AppBlockTag1PropertiesArgsDict(TypedDict): + tag_key: pulumi.Input[str] + tag_value: pulumi.Input[str] +elif False: + AppBlockTag1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppBlockTag1PropertiesArgs: def __init__(__self__, *, @@ -267,6 +365,19 @@ def tag_value(self, value: pulumi.Input[str]): pulumi.set(self, "tag_value", value) +if not MYPY: + class ApplicationS3LocationArgsDict(TypedDict): + s3_bucket: pulumi.Input[str] + """ + The S3 bucket of the S3 object. + """ + s3_key: pulumi.Input[str] + """ + The S3 key of the S3 object. + """ +elif False: + ApplicationS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationS3LocationArgs: def __init__(__self__, *, @@ -304,6 +415,13 @@ def s3_key(self, value: pulumi.Input[str]): pulumi.set(self, "s3_key", value) +if not MYPY: + class ApplicationTag0PropertiesArgsDict(TypedDict): + key: pulumi.Input[str] + value: pulumi.Input[str] +elif False: + ApplicationTag0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationTag0PropertiesArgs: def __init__(__self__, *, @@ -331,6 +449,13 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ApplicationTag1PropertiesArgsDict(TypedDict): + tag_key: pulumi.Input[str] + tag_value: pulumi.Input[str] +elif False: + ApplicationTag1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationTag1PropertiesArgs: def __init__(__self__, *, @@ -358,6 +483,19 @@ def tag_value(self, value: pulumi.Input[str]): pulumi.set(self, "tag_value", value) +if not MYPY: + class DirectoryConfigCertificateBasedAuthPropertiesArgsDict(TypedDict): + certificate_authority_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the AWS Certificate Manager Private CA resource. + """ + status: NotRequired[pulumi.Input[str]] + """ + The status of the certificate-based authentication properties. Fallback is turned on by default when certificate-based authentication is *Enabled* . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. *Enabled_no_directory_login_fallback* enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates. + """ +elif False: + DirectoryConfigCertificateBasedAuthPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DirectoryConfigCertificateBasedAuthPropertiesArgs: def __init__(__self__, *, @@ -397,6 +535,19 @@ def status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "status", value) +if not MYPY: + class DirectoryConfigServiceAccountCredentialsArgsDict(TypedDict): + account_name: pulumi.Input[str] + """ + The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified. + """ + account_password: pulumi.Input[str] + """ + The password for the account. + """ +elif False: + DirectoryConfigServiceAccountCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DirectoryConfigServiceAccountCredentialsArgs: def __init__(__self__, *, @@ -434,6 +585,29 @@ def account_password(self, value: pulumi.Input[str]): pulumi.set(self, "account_password", value) +if not MYPY: + class EntitlementAttributeArgsDict(TypedDict): + name: pulumi.Input[str] + """ + A supported AWS IAM SAML PrincipalTag attribute that is matched to a value when a user identity federates to an AppStream 2.0 SAML application. + + The following are supported values: + + - roles + - department + - organization + - groups + - title + - costCenter + - userType + """ + value: pulumi.Input[str] + """ + A value that is matched to a supported SAML attribute name when a user identity federates to an AppStream 2.0 SAML application. + """ +elif False: + EntitlementAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntitlementAttributeArgs: def __init__(__self__, *, @@ -491,6 +665,19 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ImageBuilderAccessEndpointArgsDict(TypedDict): + endpoint_type: pulumi.Input[str] + """ + The type of interface endpoint. + """ + vpce_id: pulumi.Input[str] + """ + The identifier (ID) of the VPC in which the interface endpoint is used. + """ +elif False: + ImageBuilderAccessEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageBuilderAccessEndpointArgs: def __init__(__self__, *, @@ -528,6 +715,19 @@ def vpce_id(self, value: pulumi.Input[str]): pulumi.set(self, "vpce_id", value) +if not MYPY: + class ImageBuilderDomainJoinInfoArgsDict(TypedDict): + directory_name: NotRequired[pulumi.Input[str]] + """ + The fully qualified name of the directory (for example, corp.example.com). + """ + organizational_unit_distinguished_name: NotRequired[pulumi.Input[str]] + """ + The distinguished name of the organizational unit for computer accounts. + """ +elif False: + ImageBuilderDomainJoinInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageBuilderDomainJoinInfoArgs: def __init__(__self__, *, @@ -567,6 +767,19 @@ def organizational_unit_distinguished_name(self, value: Optional[pulumi.Input[st pulumi.set(self, "organizational_unit_distinguished_name", value) +if not MYPY: + class ImageBuilderVpcConfigArgsDict(TypedDict): + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The identifiers of the security groups for the image builder. + """ + subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The identifier of the subnet to which a network interface is attached from the image builder instance. An image builder instance can use one subnet. + """ +elif False: + ImageBuilderVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageBuilderVpcConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/appstream/app_block.py b/sdk/python/pulumi_aws_native/appstream/app_block.py index 17f6ba3ba9..818036613f 100644 --- a/sdk/python/pulumi_aws_native/appstream/app_block.py +++ b/sdk/python/pulumi_aws_native/appstream/app_block.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/appstream/app_block_builder.py b/sdk/python/pulumi_aws_native/appstream/app_block_builder.py index 769b2810e2..9c4e99ee28 100644 --- a/sdk/python/pulumi_aws_native/appstream/app_block_builder.py +++ b/sdk/python/pulumi_aws_native/appstream/app_block_builder.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/appstream/application.py b/sdk/python/pulumi_aws_native/appstream/application.py index 8785ab5647..7c89bfd2a5 100644 --- a/sdk/python/pulumi_aws_native/appstream/application.py +++ b/sdk/python/pulumi_aws_native/appstream/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/appstream/application_entitlement_association.py b/sdk/python/pulumi_aws_native/appstream/application_entitlement_association.py index 0a9895194d..9c250911ab 100644 --- a/sdk/python/pulumi_aws_native/appstream/application_entitlement_association.py +++ b/sdk/python/pulumi_aws_native/appstream/application_entitlement_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ApplicationEntitlementAssociationArgs', 'ApplicationEntitlementAssociation'] diff --git a/sdk/python/pulumi_aws_native/appstream/application_fleet_association.py b/sdk/python/pulumi_aws_native/appstream/application_fleet_association.py index 033892973d..ad78c5b1cd 100644 --- a/sdk/python/pulumi_aws_native/appstream/application_fleet_association.py +++ b/sdk/python/pulumi_aws_native/appstream/application_fleet_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ApplicationFleetAssociationArgs', 'ApplicationFleetAssociation'] diff --git a/sdk/python/pulumi_aws_native/appstream/directory_config.py b/sdk/python/pulumi_aws_native/appstream/directory_config.py index 5c43aff532..f959ca6fd9 100644 --- a/sdk/python/pulumi_aws_native/appstream/directory_config.py +++ b/sdk/python/pulumi_aws_native/appstream/directory_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/appstream/entitlement.py b/sdk/python/pulumi_aws_native/appstream/entitlement.py index 77479c994e..e8addb6b52 100644 --- a/sdk/python/pulumi_aws_native/appstream/entitlement.py +++ b/sdk/python/pulumi_aws_native/appstream/entitlement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/appstream/get_app_block.py b/sdk/python/pulumi_aws_native/appstream/get_app_block.py index f0f553c3d3..d022ece238 100644 --- a/sdk/python/pulumi_aws_native/appstream/get_app_block.py +++ b/sdk/python/pulumi_aws_native/appstream/get_app_block.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_app_block(arn: Optional[str] = None, return AwaitableGetAppBlockResult( arn=pulumi.get(__ret__, 'arn'), created_time=pulumi.get(__ret__, 'created_time')) - - -@_utilities.lift_output_func(get_app_block) def get_app_block_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppBlockResult]: """ @@ -80,4 +82,10 @@ def get_app_block_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the app block. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appstream:getAppBlock', __args__, opts=opts, typ=GetAppBlockResult) + return __ret__.apply(lambda __response__: GetAppBlockResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'))) diff --git a/sdk/python/pulumi_aws_native/appstream/get_app_block_builder.py b/sdk/python/pulumi_aws_native/appstream/get_app_block_builder.py index 80e93e936e..629e726833 100644 --- a/sdk/python/pulumi_aws_native/appstream/get_app_block_builder.py +++ b/sdk/python/pulumi_aws_native/appstream/get_app_block_builder.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -176,9 +181,6 @@ def get_app_block_builder(name: Optional[str] = None, instance_type=pulumi.get(__ret__, 'instance_type'), platform=pulumi.get(__ret__, 'platform'), vpc_config=pulumi.get(__ret__, 'vpc_config')) - - -@_utilities.lift_output_func(get_app_block_builder) def get_app_block_builder_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppBlockBuilderResult]: """ @@ -187,4 +189,18 @@ def get_app_block_builder_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the app block builder. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appstream:getAppBlockBuilder', __args__, opts=opts, typ=GetAppBlockBuilderResult) + return __ret__.apply(lambda __response__: GetAppBlockBuilderResult( + access_endpoints=pulumi.get(__response__, 'access_endpoints'), + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + enable_default_internet_access=pulumi.get(__response__, 'enable_default_internet_access'), + iam_role_arn=pulumi.get(__response__, 'iam_role_arn'), + instance_type=pulumi.get(__response__, 'instance_type'), + platform=pulumi.get(__response__, 'platform'), + vpc_config=pulumi.get(__response__, 'vpc_config'))) diff --git a/sdk/python/pulumi_aws_native/appstream/get_application.py b/sdk/python/pulumi_aws_native/appstream/get_application.py index 6ba03f1d48..6b8feeb823 100644 --- a/sdk/python/pulumi_aws_native/appstream/get_application.py +++ b/sdk/python/pulumi_aws_native/appstream/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -161,9 +166,6 @@ def get_application(arn: Optional[str] = None, launch_parameters=pulumi.get(__ret__, 'launch_parameters'), launch_path=pulumi.get(__ret__, 'launch_path'), working_directory=pulumi.get(__ret__, 'working_directory')) - - -@_utilities.lift_output_func(get_application) def get_application_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -172,4 +174,17 @@ def get_application_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the application. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appstream:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + app_block_arn=pulumi.get(__response__, 'app_block_arn'), + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + icon_s3_location=pulumi.get(__response__, 'icon_s3_location'), + launch_parameters=pulumi.get(__response__, 'launch_parameters'), + launch_path=pulumi.get(__response__, 'launch_path'), + working_directory=pulumi.get(__response__, 'working_directory'))) diff --git a/sdk/python/pulumi_aws_native/appstream/get_directory_config.py b/sdk/python/pulumi_aws_native/appstream/get_directory_config.py index d719ae45ff..81727784bc 100644 --- a/sdk/python/pulumi_aws_native/appstream/get_directory_config.py +++ b/sdk/python/pulumi_aws_native/appstream/get_directory_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_directory_config(directory_name: Optional[str] = None, certificate_based_auth_properties=pulumi.get(__ret__, 'certificate_based_auth_properties'), organizational_unit_distinguished_names=pulumi.get(__ret__, 'organizational_unit_distinguished_names'), service_account_credentials=pulumi.get(__ret__, 'service_account_credentials')) - - -@_utilities.lift_output_func(get_directory_config) def get_directory_config_output(directory_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDirectoryConfigResult]: """ @@ -94,4 +96,11 @@ def get_directory_config_output(directory_name: Optional[pulumi.Input[str]] = No :param str directory_name: The fully qualified name of the directory (for example, corp.example.com). """ - ... + __args__ = dict() + __args__['directoryName'] = directory_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appstream:getDirectoryConfig', __args__, opts=opts, typ=GetDirectoryConfigResult) + return __ret__.apply(lambda __response__: GetDirectoryConfigResult( + certificate_based_auth_properties=pulumi.get(__response__, 'certificate_based_auth_properties'), + organizational_unit_distinguished_names=pulumi.get(__response__, 'organizational_unit_distinguished_names'), + service_account_credentials=pulumi.get(__response__, 'service_account_credentials'))) diff --git a/sdk/python/pulumi_aws_native/appstream/get_entitlement.py b/sdk/python/pulumi_aws_native/appstream/get_entitlement.py index 88b2d0a43c..9af78e38ca 100644 --- a/sdk/python/pulumi_aws_native/appstream/get_entitlement.py +++ b/sdk/python/pulumi_aws_native/appstream/get_entitlement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -112,9 +117,6 @@ def get_entitlement(name: Optional[str] = None, created_time=pulumi.get(__ret__, 'created_time'), description=pulumi.get(__ret__, 'description'), last_modified_time=pulumi.get(__ret__, 'last_modified_time')) - - -@_utilities.lift_output_func(get_entitlement) def get_entitlement_output(name: Optional[pulumi.Input[str]] = None, stack_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEntitlementResult]: @@ -125,4 +127,14 @@ def get_entitlement_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the entitlement. :param str stack_name: The name of the stack. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['stackName'] = stack_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appstream:getEntitlement', __args__, opts=opts, typ=GetEntitlementResult) + return __ret__.apply(lambda __response__: GetEntitlementResult( + app_visibility=pulumi.get(__response__, 'app_visibility'), + attributes=pulumi.get(__response__, 'attributes'), + created_time=pulumi.get(__response__, 'created_time'), + description=pulumi.get(__response__, 'description'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'))) diff --git a/sdk/python/pulumi_aws_native/appstream/get_image_builder.py b/sdk/python/pulumi_aws_native/appstream/get_image_builder.py index 116c9821c9..498a314f54 100644 --- a/sdk/python/pulumi_aws_native/appstream/get_image_builder.py +++ b/sdk/python/pulumi_aws_native/appstream/get_image_builder.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -263,9 +268,6 @@ def get_image_builder(name: Optional[str] = None, streaming_url=pulumi.get(__ret__, 'streaming_url'), tags=pulumi.get(__ret__, 'tags'), vpc_config=pulumi.get(__ret__, 'vpc_config')) - - -@_utilities.lift_output_func(get_image_builder) def get_image_builder_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetImageBuilderResult]: """ @@ -274,4 +276,22 @@ def get_image_builder_output(name: Optional[pulumi.Input[str]] = None, :param str name: A unique name for the image builder. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appstream:getImageBuilder', __args__, opts=opts, typ=GetImageBuilderResult) + return __ret__.apply(lambda __response__: GetImageBuilderResult( + access_endpoints=pulumi.get(__response__, 'access_endpoints'), + appstream_agent_version=pulumi.get(__response__, 'appstream_agent_version'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + domain_join_info=pulumi.get(__response__, 'domain_join_info'), + enable_default_internet_access=pulumi.get(__response__, 'enable_default_internet_access'), + iam_role_arn=pulumi.get(__response__, 'iam_role_arn'), + image_arn=pulumi.get(__response__, 'image_arn'), + image_name=pulumi.get(__response__, 'image_name'), + instance_type=pulumi.get(__response__, 'instance_type'), + name=pulumi.get(__response__, 'name'), + streaming_url=pulumi.get(__response__, 'streaming_url'), + tags=pulumi.get(__response__, 'tags'), + vpc_config=pulumi.get(__response__, 'vpc_config'))) diff --git a/sdk/python/pulumi_aws_native/appstream/image_builder.py b/sdk/python/pulumi_aws_native/appstream/image_builder.py index 56ea878bf2..c342dd18b5 100644 --- a/sdk/python/pulumi_aws_native/appstream/image_builder.py +++ b/sdk/python/pulumi_aws_native/appstream/image_builder.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/appstream/outputs.py b/sdk/python/pulumi_aws_native/appstream/outputs.py index 74a2cafdb6..362c733dbd 100644 --- a/sdk/python/pulumi_aws_native/appstream/outputs.py +++ b/sdk/python/pulumi_aws_native/appstream/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/appsync/_inputs.py b/sdk/python/pulumi_aws_native/appsync/_inputs.py index ded59f10ed..4b803a67c1 100644 --- a/sdk/python/pulumi_aws_native/appsync/_inputs.py +++ b/sdk/python/pulumi_aws_native/appsync/_inputs.py @@ -4,24 +4,56 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'FunctionConfigurationAppSyncRuntimeArgs', + 'FunctionConfigurationAppSyncRuntimeArgsDict', 'FunctionConfigurationLambdaConflictHandlerConfigArgs', + 'FunctionConfigurationLambdaConflictHandlerConfigArgsDict', 'FunctionConfigurationSyncConfigArgs', + 'FunctionConfigurationSyncConfigArgsDict', 'ResolverAppSyncRuntimeArgs', + 'ResolverAppSyncRuntimeArgsDict', 'ResolverCachingConfigArgs', + 'ResolverCachingConfigArgsDict', 'ResolverLambdaConflictHandlerConfigArgs', + 'ResolverLambdaConflictHandlerConfigArgsDict', 'ResolverPipelineConfigArgs', + 'ResolverPipelineConfigArgsDict', 'ResolverSyncConfigArgs', + 'ResolverSyncConfigArgsDict', 'SourceApiAssociationConfigArgs', + 'SourceApiAssociationConfigArgsDict', ] +MYPY = False + +if not MYPY: + class FunctionConfigurationAppSyncRuntimeArgsDict(TypedDict): + """ + Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. + """ + name: pulumi.Input[str] + """ + The name of the runtime to use. Currently, the only allowed value is APPSYNC_JS. + """ + runtime_version: pulumi.Input[str] + """ + The version of the runtime to use. Currently, the only allowed version is 1.0.0. + """ +elif False: + FunctionConfigurationAppSyncRuntimeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionConfigurationAppSyncRuntimeArgs: def __init__(__self__, *, @@ -60,6 +92,18 @@ def runtime_version(self, value: pulumi.Input[str]): pulumi.set(self, "runtime_version", value) +if not MYPY: + class FunctionConfigurationLambdaConflictHandlerConfigArgsDict(TypedDict): + """ + The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler. + """ + lambda_conflict_handler_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler. + """ +elif False: + FunctionConfigurationLambdaConflictHandlerConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionConfigurationLambdaConflictHandlerConfigArgs: def __init__(__self__, *, @@ -84,6 +128,26 @@ def lambda_conflict_handler_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "lambda_conflict_handler_arn", value) +if not MYPY: + class FunctionConfigurationSyncConfigArgsDict(TypedDict): + """ + Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked. + """ + conflict_detection: pulumi.Input[str] + """ + The Conflict Detection strategy to use. + """ + conflict_handler: NotRequired[pulumi.Input[str]] + """ + The Conflict Resolution strategy to perform in the event of a conflict. + """ + lambda_conflict_handler_config: NotRequired[pulumi.Input['FunctionConfigurationLambdaConflictHandlerConfigArgsDict']] + """ + The `LambdaConflictHandlerConfig` when configuring `LAMBDA` as the Conflict Handler. + """ +elif False: + FunctionConfigurationSyncConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionConfigurationSyncConfigArgs: def __init__(__self__, *, @@ -139,6 +203,22 @@ def lambda_conflict_handler_config(self, value: Optional[pulumi.Input['FunctionC pulumi.set(self, "lambda_conflict_handler_config", value) +if not MYPY: + class ResolverAppSyncRuntimeArgsDict(TypedDict): + """ + Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. + """ + name: pulumi.Input[str] + """ + The ``name`` of the runtime to use. Currently, the only allowed value is ``APPSYNC_JS``. + """ + runtime_version: pulumi.Input[str] + """ + The ``version`` of the runtime to use. Currently, the only allowed version is ``1.0.0``. + """ +elif False: + ResolverAppSyncRuntimeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResolverAppSyncRuntimeArgs: def __init__(__self__, *, @@ -177,6 +257,24 @@ def runtime_version(self, value: pulumi.Input[str]): pulumi.set(self, "runtime_version", value) +if not MYPY: + class ResolverCachingConfigArgsDict(TypedDict): + """ + The caching configuration for a resolver that has caching activated. + """ + ttl: pulumi.Input[float] + """ + The TTL in seconds for a resolver that has caching activated. + Valid values are 1–3,600 seconds. + """ + caching_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The caching keys for a resolver that has caching activated. + Valid values are entries from the ``$context.arguments``, ``$context.source``, and ``$context.identity`` maps. + """ +elif False: + ResolverCachingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResolverCachingConfigArgs: def __init__(__self__, *, @@ -220,6 +318,18 @@ def caching_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]] pulumi.set(self, "caching_keys", value) +if not MYPY: + class ResolverLambdaConflictHandlerConfigArgsDict(TypedDict): + """ + The ``LambdaConflictHandlerConfig`` when configuring LAMBDA as the Conflict Handler. + """ + lambda_conflict_handler_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler. + """ +elif False: + ResolverLambdaConflictHandlerConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResolverLambdaConflictHandlerConfigArgs: def __init__(__self__, *, @@ -244,6 +354,19 @@ def lambda_conflict_handler_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "lambda_conflict_handler_arn", value) +if not MYPY: + class ResolverPipelineConfigArgsDict(TypedDict): + """ + Use the ``PipelineConfig`` property type to specify ``PipelineConfig`` for an APSYlong resolver. + ``PipelineConfig`` is a property of the [AWS::AppSync::Resolver](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html) resource. + """ + functions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of ``Function`` objects. + """ +elif False: + ResolverPipelineConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResolverPipelineConfigArgs: def __init__(__self__, *, @@ -269,6 +392,32 @@ def functions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "functions", value) +if not MYPY: + class ResolverSyncConfigArgsDict(TypedDict): + """ + Describes a Sync configuration for a resolver. + Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked. + """ + conflict_detection: pulumi.Input[str] + """ + The Conflict Detection strategy to use. + + *VERSION*: Detect conflicts based on object versions for this resolver. + + *NONE*: Do not detect conflicts when invoking this resolver. + """ + conflict_handler: NotRequired[pulumi.Input[str]] + """ + The Conflict Resolution strategy to perform in the event of a conflict. + + *OPTIMISTIC_CONCURRENCY*: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server. + + *AUTOMERGE*: Resolve conflicts with the Automerge conflict resolution strategy. + + *LAMBDA*: Resolve conflicts with an LAMlong function supplied in the ``LambdaConflictHandlerConfig``. + """ + lambda_conflict_handler_config: NotRequired[pulumi.Input['ResolverLambdaConflictHandlerConfigArgsDict']] + """ + The ``LambdaConflictHandlerConfig`` when configuring ``LAMBDA`` as the Conflict Handler. + """ +elif False: + ResolverSyncConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResolverSyncConfigArgs: def __init__(__self__, *, @@ -335,6 +484,15 @@ def lambda_conflict_handler_config(self, value: Optional[pulumi.Input['ResolverL pulumi.set(self, "lambda_conflict_handler_config", value) +if not MYPY: + class SourceApiAssociationConfigArgsDict(TypedDict): + merge_type: NotRequired[pulumi.Input['SourceApiAssociationConfigMergeType']] + """ + Configuration of the merged behavior for the association. For example when it could be auto or has to be manual. + """ +elif False: + SourceApiAssociationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SourceApiAssociationConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/appsync/domain_name.py b/sdk/python/pulumi_aws_native/appsync/domain_name.py index 2a3bd26914..5588187d5b 100644 --- a/sdk/python/pulumi_aws_native/appsync/domain_name.py +++ b/sdk/python/pulumi_aws_native/appsync/domain_name.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DomainNameArgs', 'DomainName'] diff --git a/sdk/python/pulumi_aws_native/appsync/domain_name_api_association.py b/sdk/python/pulumi_aws_native/appsync/domain_name_api_association.py index 1c15fe4776..00b9c30422 100644 --- a/sdk/python/pulumi_aws_native/appsync/domain_name_api_association.py +++ b/sdk/python/pulumi_aws_native/appsync/domain_name_api_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DomainNameApiAssociationArgs', 'DomainNameApiAssociation'] diff --git a/sdk/python/pulumi_aws_native/appsync/function_configuration.py b/sdk/python/pulumi_aws_native/appsync/function_configuration.py index 616b4d8055..31effdb6f6 100644 --- a/sdk/python/pulumi_aws_native/appsync/function_configuration.py +++ b/sdk/python/pulumi_aws_native/appsync/function_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/appsync/get_domain_name.py b/sdk/python/pulumi_aws_native/appsync/get_domain_name.py index e2f52b13b6..130e20219b 100644 --- a/sdk/python/pulumi_aws_native/appsync/get_domain_name.py +++ b/sdk/python/pulumi_aws_native/appsync/get_domain_name.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_domain_name(domain_name: Optional[str] = None, app_sync_domain_name=pulumi.get(__ret__, 'app_sync_domain_name'), description=pulumi.get(__ret__, 'description'), hosted_zone_id=pulumi.get(__ret__, 'hosted_zone_id')) - - -@_utilities.lift_output_func(get_domain_name) def get_domain_name_output(domain_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainNameResult]: """ @@ -93,4 +95,11 @@ def get_domain_name_output(domain_name: Optional[pulumi.Input[str]] = None, :param str domain_name: The domain name. """ - ... + __args__ = dict() + __args__['domainName'] = domain_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appsync:getDomainName', __args__, opts=opts, typ=GetDomainNameResult) + return __ret__.apply(lambda __response__: GetDomainNameResult( + app_sync_domain_name=pulumi.get(__response__, 'app_sync_domain_name'), + description=pulumi.get(__response__, 'description'), + hosted_zone_id=pulumi.get(__response__, 'hosted_zone_id'))) diff --git a/sdk/python/pulumi_aws_native/appsync/get_domain_name_api_association.py b/sdk/python/pulumi_aws_native/appsync/get_domain_name_api_association.py index 850ecfba3a..031f32712f 100644 --- a/sdk/python/pulumi_aws_native/appsync/get_domain_name_api_association.py +++ b/sdk/python/pulumi_aws_native/appsync/get_domain_name_api_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -63,12 +68,15 @@ def get_domain_name_api_association(api_association_identifier: Optional[str] = return AwaitableGetDomainNameApiAssociationResult( api_association_identifier=pulumi.get(__ret__, 'api_association_identifier'), api_id=pulumi.get(__ret__, 'api_id')) - - -@_utilities.lift_output_func(get_domain_name_api_association) def get_domain_name_api_association_output(api_association_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainNameApiAssociationResult]: """ Resource Type definition for AWS::AppSync::DomainNameApiAssociation """ - ... + __args__ = dict() + __args__['apiAssociationIdentifier'] = api_association_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appsync:getDomainNameApiAssociation', __args__, opts=opts, typ=GetDomainNameApiAssociationResult) + return __ret__.apply(lambda __response__: GetDomainNameApiAssociationResult( + api_association_identifier=pulumi.get(__response__, 'api_association_identifier'), + api_id=pulumi.get(__response__, 'api_id'))) diff --git a/sdk/python/pulumi_aws_native/appsync/get_function_configuration.py b/sdk/python/pulumi_aws_native/appsync/get_function_configuration.py index ef6f7ba607..5e6aa623d2 100644 --- a/sdk/python/pulumi_aws_native/appsync/get_function_configuration.py +++ b/sdk/python/pulumi_aws_native/appsync/get_function_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -200,9 +205,6 @@ def get_function_configuration(function_arn: Optional[str] = None, response_mapping_template=pulumi.get(__ret__, 'response_mapping_template'), runtime=pulumi.get(__ret__, 'runtime'), sync_config=pulumi.get(__ret__, 'sync_config')) - - -@_utilities.lift_output_func(get_function_configuration) def get_function_configuration_output(function_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionConfigurationResult]: """ @@ -211,4 +213,20 @@ def get_function_configuration_output(function_arn: Optional[pulumi.Input[str]] :param str function_arn: The ARN for the function generated by the service """ - ... + __args__ = dict() + __args__['functionArn'] = function_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appsync:getFunctionConfiguration', __args__, opts=opts, typ=GetFunctionConfigurationResult) + return __ret__.apply(lambda __response__: GetFunctionConfigurationResult( + code=pulumi.get(__response__, 'code'), + data_source_name=pulumi.get(__response__, 'data_source_name'), + description=pulumi.get(__response__, 'description'), + function_arn=pulumi.get(__response__, 'function_arn'), + function_id=pulumi.get(__response__, 'function_id'), + function_version=pulumi.get(__response__, 'function_version'), + max_batch_size=pulumi.get(__response__, 'max_batch_size'), + name=pulumi.get(__response__, 'name'), + request_mapping_template=pulumi.get(__response__, 'request_mapping_template'), + response_mapping_template=pulumi.get(__response__, 'response_mapping_template'), + runtime=pulumi.get(__response__, 'runtime'), + sync_config=pulumi.get(__response__, 'sync_config'))) diff --git a/sdk/python/pulumi_aws_native/appsync/get_resolver.py b/sdk/python/pulumi_aws_native/appsync/get_resolver.py index f8a8f07a3c..6e2918bb3c 100644 --- a/sdk/python/pulumi_aws_native/appsync/get_resolver.py +++ b/sdk/python/pulumi_aws_native/appsync/get_resolver.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -206,9 +211,6 @@ def get_resolver(resolver_arn: Optional[str] = None, response_mapping_template=pulumi.get(__ret__, 'response_mapping_template'), runtime=pulumi.get(__ret__, 'runtime'), sync_config=pulumi.get(__ret__, 'sync_config')) - - -@_utilities.lift_output_func(get_resolver) def get_resolver_output(resolver_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverResult]: """ @@ -219,4 +221,20 @@ def get_resolver_output(resolver_arn: Optional[pulumi.Input[str]] = None, :param str resolver_arn: ARN of the resolver, such as `arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/types/typename/resolvers/resolvername` . """ - ... + __args__ = dict() + __args__['resolverArn'] = resolver_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appsync:getResolver', __args__, opts=opts, typ=GetResolverResult) + return __ret__.apply(lambda __response__: GetResolverResult( + caching_config=pulumi.get(__response__, 'caching_config'), + code=pulumi.get(__response__, 'code'), + data_source_name=pulumi.get(__response__, 'data_source_name'), + kind=pulumi.get(__response__, 'kind'), + max_batch_size=pulumi.get(__response__, 'max_batch_size'), + metrics_config=pulumi.get(__response__, 'metrics_config'), + pipeline_config=pulumi.get(__response__, 'pipeline_config'), + request_mapping_template=pulumi.get(__response__, 'request_mapping_template'), + resolver_arn=pulumi.get(__response__, 'resolver_arn'), + response_mapping_template=pulumi.get(__response__, 'response_mapping_template'), + runtime=pulumi.get(__response__, 'runtime'), + sync_config=pulumi.get(__response__, 'sync_config'))) diff --git a/sdk/python/pulumi_aws_native/appsync/get_source_api_association.py b/sdk/python/pulumi_aws_native/appsync/get_source_api_association.py index 0315da9065..7097ab6c5d 100644 --- a/sdk/python/pulumi_aws_native/appsync/get_source_api_association.py +++ b/sdk/python/pulumi_aws_native/appsync/get_source_api_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -188,9 +193,6 @@ def get_source_api_association(association_arn: Optional[str] = None, source_api_association_status=pulumi.get(__ret__, 'source_api_association_status'), source_api_association_status_detail=pulumi.get(__ret__, 'source_api_association_status_detail'), source_api_id=pulumi.get(__ret__, 'source_api_id')) - - -@_utilities.lift_output_func(get_source_api_association) def get_source_api_association_output(association_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSourceApiAssociationResult]: """ @@ -199,4 +201,19 @@ def get_source_api_association_output(association_arn: Optional[pulumi.Input[str :param str association_arn: ARN of the SourceApiAssociation. """ - ... + __args__ = dict() + __args__['associationArn'] = association_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:appsync:getSourceApiAssociation', __args__, opts=opts, typ=GetSourceApiAssociationResult) + return __ret__.apply(lambda __response__: GetSourceApiAssociationResult( + association_arn=pulumi.get(__response__, 'association_arn'), + association_id=pulumi.get(__response__, 'association_id'), + description=pulumi.get(__response__, 'description'), + last_successful_merge_date=pulumi.get(__response__, 'last_successful_merge_date'), + merged_api_arn=pulumi.get(__response__, 'merged_api_arn'), + merged_api_id=pulumi.get(__response__, 'merged_api_id'), + source_api_arn=pulumi.get(__response__, 'source_api_arn'), + source_api_association_config=pulumi.get(__response__, 'source_api_association_config'), + source_api_association_status=pulumi.get(__response__, 'source_api_association_status'), + source_api_association_status_detail=pulumi.get(__response__, 'source_api_association_status_detail'), + source_api_id=pulumi.get(__response__, 'source_api_id'))) diff --git a/sdk/python/pulumi_aws_native/appsync/outputs.py b/sdk/python/pulumi_aws_native/appsync/outputs.py index 5c04f93118..972e0ff5c4 100644 --- a/sdk/python/pulumi_aws_native/appsync/outputs.py +++ b/sdk/python/pulumi_aws_native/appsync/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/appsync/resolver.py b/sdk/python/pulumi_aws_native/appsync/resolver.py index 943ffcbbbb..2dfc937f37 100644 --- a/sdk/python/pulumi_aws_native/appsync/resolver.py +++ b/sdk/python/pulumi_aws_native/appsync/resolver.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/appsync/source_api_association.py b/sdk/python/pulumi_aws_native/appsync/source_api_association.py index c63ca7ba1d..dff526cdd5 100644 --- a/sdk/python/pulumi_aws_native/appsync/source_api_association.py +++ b/sdk/python/pulumi_aws_native/appsync/source_api_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/aps/_inputs.py b/sdk/python/pulumi_aws_native/aps/_inputs.py index 5e17606fb6..0fdbad7055 100644 --- a/sdk/python/pulumi_aws_native/aps/_inputs.py +++ b/sdk/python/pulumi_aws_native/aps/_inputs.py @@ -4,20 +4,45 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'ScraperDestinationAmpConfigurationPropertiesArgs', + 'ScraperDestinationAmpConfigurationPropertiesArgsDict', 'ScraperDestinationArgs', + 'ScraperDestinationArgsDict', 'ScraperScrapeConfigurationArgs', + 'ScraperScrapeConfigurationArgsDict', 'ScraperSourceEksConfigurationPropertiesArgs', + 'ScraperSourceEksConfigurationPropertiesArgsDict', 'ScraperSourceArgs', + 'ScraperSourceArgsDict', 'WorkspaceLoggingConfigurationArgs', + 'WorkspaceLoggingConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ScraperDestinationAmpConfigurationPropertiesArgsDict(TypedDict): + """ + Configuration for Amazon Managed Prometheus metrics destination + """ + workspace_arn: pulumi.Input[str] + """ + ARN of an Amazon Managed Prometheus workspace + """ +elif False: + ScraperDestinationAmpConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScraperDestinationAmpConfigurationPropertiesArgs: def __init__(__self__, *, @@ -41,6 +66,18 @@ def workspace_arn(self, value: pulumi.Input[str]): pulumi.set(self, "workspace_arn", value) +if not MYPY: + class ScraperDestinationArgsDict(TypedDict): + """ + Scraper metrics destination + """ + amp_configuration: NotRequired[pulumi.Input['ScraperDestinationAmpConfigurationPropertiesArgsDict']] + """ + Configuration for Amazon Managed Prometheus metrics destination + """ +elif False: + ScraperDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScraperDestinationArgs: def __init__(__self__, *, @@ -65,6 +102,18 @@ def amp_configuration(self, value: Optional[pulumi.Input['ScraperDestinationAmpC pulumi.set(self, "amp_configuration", value) +if not MYPY: + class ScraperScrapeConfigurationArgsDict(TypedDict): + """ + Scraper configuration + """ + configuration_blob: NotRequired[pulumi.Input[str]] + """ + Prometheus compatible scrape configuration in base64 encoded blob format + """ +elif False: + ScraperScrapeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScraperScrapeConfigurationArgs: def __init__(__self__, *, @@ -89,6 +138,26 @@ def configuration_blob(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "configuration_blob", value) +if not MYPY: + class ScraperSourceEksConfigurationPropertiesArgsDict(TypedDict): + """ + Configuration for EKS metrics source + """ + cluster_arn: pulumi.Input[str] + """ + ARN of an EKS cluster + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + List of subnet IDs + """ + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of security group IDs + """ +elif False: + ScraperSourceEksConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScraperSourceEksConfigurationPropertiesArgs: def __init__(__self__, *, @@ -143,6 +212,18 @@ def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "security_group_ids", value) +if not MYPY: + class ScraperSourceArgsDict(TypedDict): + """ + Scraper metrics source + """ + eks_configuration: NotRequired[pulumi.Input['ScraperSourceEksConfigurationPropertiesArgsDict']] + """ + Configuration for EKS metrics source + """ +elif False: + ScraperSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScraperSourceArgs: def __init__(__self__, *, @@ -167,6 +248,18 @@ def eks_configuration(self, value: Optional[pulumi.Input['ScraperSourceEksConfig pulumi.set(self, "eks_configuration", value) +if not MYPY: + class WorkspaceLoggingConfigurationArgsDict(TypedDict): + """ + Logging configuration + """ + log_group_arn: NotRequired[pulumi.Input[str]] + """ + CloudWatch log group ARN + """ +elif False: + WorkspaceLoggingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkspaceLoggingConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/aps/get_rule_groups_namespace.py b/sdk/python/pulumi_aws_native/aps/get_rule_groups_namespace.py index a530a94c03..81243afd6d 100644 --- a/sdk/python/pulumi_aws_native/aps/get_rule_groups_namespace.py +++ b/sdk/python/pulumi_aws_native/aps/get_rule_groups_namespace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_rule_groups_namespace(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), data=pulumi.get(__ret__, 'data'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_rule_groups_namespace) def get_rule_groups_namespace_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRuleGroupsNamespaceResult]: """ @@ -94,4 +96,11 @@ def get_rule_groups_namespace_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The RuleGroupsNamespace ARN. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:aps:getRuleGroupsNamespace', __args__, opts=opts, typ=GetRuleGroupsNamespaceResult) + return __ret__.apply(lambda __response__: GetRuleGroupsNamespaceResult( + arn=pulumi.get(__response__, 'arn'), + data=pulumi.get(__response__, 'data'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/aps/get_scraper.py b/sdk/python/pulumi_aws_native/aps/get_scraper.py index 6dc0659a3a..ad79a8fe1b 100644 --- a/sdk/python/pulumi_aws_native/aps/get_scraper.py +++ b/sdk/python/pulumi_aws_native/aps/get_scraper.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_scraper(arn: Optional[str] = None, role_arn=pulumi.get(__ret__, 'role_arn'), scraper_id=pulumi.get(__ret__, 'scraper_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_scraper) def get_scraper_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScraperResult]: """ @@ -107,4 +109,12 @@ def get_scraper_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Scraper ARN. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:aps:getScraper', __args__, opts=opts, typ=GetScraperResult) + return __ret__.apply(lambda __response__: GetScraperResult( + arn=pulumi.get(__response__, 'arn'), + role_arn=pulumi.get(__response__, 'role_arn'), + scraper_id=pulumi.get(__response__, 'scraper_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/aps/get_workspace.py b/sdk/python/pulumi_aws_native/aps/get_workspace.py index b4d23dd836..0fe8de1b16 100644 --- a/sdk/python/pulumi_aws_native/aps/get_workspace.py +++ b/sdk/python/pulumi_aws_native/aps/get_workspace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -136,9 +141,6 @@ def get_workspace(arn: Optional[str] = None, prometheus_endpoint=pulumi.get(__ret__, 'prometheus_endpoint'), tags=pulumi.get(__ret__, 'tags'), workspace_id=pulumi.get(__ret__, 'workspace_id')) - - -@_utilities.lift_output_func(get_workspace) def get_workspace_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceResult]: """ @@ -147,4 +149,15 @@ def get_workspace_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Workspace arn. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:aps:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult) + return __ret__.apply(lambda __response__: GetWorkspaceResult( + alert_manager_definition=pulumi.get(__response__, 'alert_manager_definition'), + alias=pulumi.get(__response__, 'alias'), + arn=pulumi.get(__response__, 'arn'), + logging_configuration=pulumi.get(__response__, 'logging_configuration'), + prometheus_endpoint=pulumi.get(__response__, 'prometheus_endpoint'), + tags=pulumi.get(__response__, 'tags'), + workspace_id=pulumi.get(__response__, 'workspace_id'))) diff --git a/sdk/python/pulumi_aws_native/aps/outputs.py b/sdk/python/pulumi_aws_native/aps/outputs.py index a01826d0b7..f89218148a 100644 --- a/sdk/python/pulumi_aws_native/aps/outputs.py +++ b/sdk/python/pulumi_aws_native/aps/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/aps/rule_groups_namespace.py b/sdk/python/pulumi_aws_native/aps/rule_groups_namespace.py index e8c6395d16..ed60964950 100644 --- a/sdk/python/pulumi_aws_native/aps/rule_groups_namespace.py +++ b/sdk/python/pulumi_aws_native/aps/rule_groups_namespace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/aps/scraper.py b/sdk/python/pulumi_aws_native/aps/scraper.py index afab91bee5..a242f31077 100644 --- a/sdk/python/pulumi_aws_native/aps/scraper.py +++ b/sdk/python/pulumi_aws_native/aps/scraper.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/aps/workspace.py b/sdk/python/pulumi_aws_native/aps/workspace.py index a77cf08814..4612e76a0e 100644 --- a/sdk/python/pulumi_aws_native/aps/workspace.py +++ b/sdk/python/pulumi_aws_native/aps/workspace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/arczonalshift/_inputs.py b/sdk/python/pulumi_aws_native/arczonalshift/_inputs.py index 5eb87d0e95..ad66f6c525 100644 --- a/sdk/python/pulumi_aws_native/arczonalshift/_inputs.py +++ b/sdk/python/pulumi_aws_native/arczonalshift/_inputs.py @@ -4,17 +4,39 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ZonalAutoshiftConfigurationControlConditionArgs', + 'ZonalAutoshiftConfigurationControlConditionArgsDict', 'ZonalAutoshiftConfigurationPracticeRunConfigurationArgs', + 'ZonalAutoshiftConfigurationPracticeRunConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ZonalAutoshiftConfigurationControlConditionArgsDict(TypedDict): + alarm_identifier: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that you specify as a control condition for a practice run. + """ + type: pulumi.Input[str] + """ + The type of alarm specified for a practice run. You can only specify Amazon CloudWatch alarms for practice runs, so the only valid value is `CLOUDWATCH` . + """ +elif False: + ZonalAutoshiftConfigurationControlConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ZonalAutoshiftConfigurationControlConditionArgs: def __init__(__self__, *, @@ -52,6 +74,31 @@ def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) +if not MYPY: + class ZonalAutoshiftConfigurationPracticeRunConfigurationArgsDict(TypedDict): + outcome_alarms: pulumi.Input[Sequence[pulumi.Input['ZonalAutoshiftConfigurationControlConditionArgsDict']]] + """ + The alarm that you specify to monitor the health of your application during practice runs. When the outcome alarm goes into an `ALARM` state, the practice run is ended and the outcome is set to `FAILED` . + """ + blocked_dates: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of one or more dates that you can specify when AWS does not start practice runs for a resource. Dates are in UTC. + + Specify blocked dates in the format `YYYY-MM-DD` , separated by spaces. + """ + blocked_windows: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of one or more days and times that you can specify when Route 53 ARC does not start practice runs for a resource. Days and times are in UTC. + + Specify blocked windows in the format `DAY:HH:MM-DAY:HH:MM` , separated by spaces. For example, `MON:18:30-MON:19:30 TUE:18:30-TUE:19:30` . + """ + blocking_alarms: NotRequired[pulumi.Input[Sequence[pulumi.Input['ZonalAutoshiftConfigurationControlConditionArgsDict']]]] + """ + An optional alarm that you can specify that blocks practice runs when the alarm is in an `ALARM` state. When a blocking alarm goes into an `ALARM` state, it prevents practice runs from being started, and ends practice runs that are in progress. + """ +elif False: + ZonalAutoshiftConfigurationPracticeRunConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ZonalAutoshiftConfigurationPracticeRunConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/arczonalshift/autoshift_observer_notification_status.py b/sdk/python/pulumi_aws_native/arczonalshift/autoshift_observer_notification_status.py index 99901a97cc..cb634aafcc 100644 --- a/sdk/python/pulumi_aws_native/arczonalshift/autoshift_observer_notification_status.py +++ b/sdk/python/pulumi_aws_native/arczonalshift/autoshift_observer_notification_status.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/arczonalshift/get_autoshift_observer_notification_status.py b/sdk/python/pulumi_aws_native/arczonalshift/get_autoshift_observer_notification_status.py index b992e670a7..ca854cd15c 100644 --- a/sdk/python/pulumi_aws_native/arczonalshift/get_autoshift_observer_notification_status.py +++ b/sdk/python/pulumi_aws_native/arczonalshift/get_autoshift_observer_notification_status.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -62,13 +67,17 @@ def get_autoshift_observer_notification_status(account_id: Optional[str] = None, return AwaitableGetAutoshiftObserverNotificationStatusResult( account_id=pulumi.get(__ret__, 'account_id'), region=pulumi.get(__ret__, 'region')) - - -@_utilities.lift_output_func(get_autoshift_observer_notification_status) def get_autoshift_observer_notification_status_output(account_id: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutoshiftObserverNotificationStatusResult]: """ Definition of AWS::ARCZonalShift::AutoshiftObserverNotificationStatus Resource Type """ - ... + __args__ = dict() + __args__['accountId'] = account_id + __args__['region'] = region + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:arczonalshift:getAutoshiftObserverNotificationStatus', __args__, opts=opts, typ=GetAutoshiftObserverNotificationStatusResult) + return __ret__.apply(lambda __response__: GetAutoshiftObserverNotificationStatusResult( + account_id=pulumi.get(__response__, 'account_id'), + region=pulumi.get(__response__, 'region'))) diff --git a/sdk/python/pulumi_aws_native/arczonalshift/get_zonal_autoshift_configuration.py b/sdk/python/pulumi_aws_native/arczonalshift/get_zonal_autoshift_configuration.py index 4f3d95babd..9d6c87d108 100644 --- a/sdk/python/pulumi_aws_native/arczonalshift/get_zonal_autoshift_configuration.py +++ b/sdk/python/pulumi_aws_native/arczonalshift/get_zonal_autoshift_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -77,9 +82,6 @@ def get_zonal_autoshift_configuration(resource_identifier: Optional[str] = None, return AwaitableGetZonalAutoshiftConfigurationResult( practice_run_configuration=pulumi.get(__ret__, 'practice_run_configuration'), zonal_autoshift_status=pulumi.get(__ret__, 'zonal_autoshift_status')) - - -@_utilities.lift_output_func(get_zonal_autoshift_configuration) def get_zonal_autoshift_configuration_output(resource_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetZonalAutoshiftConfigurationResult]: """ @@ -90,4 +92,10 @@ def get_zonal_autoshift_configuration_output(resource_identifier: Optional[pulum At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off. """ - ... + __args__ = dict() + __args__['resourceIdentifier'] = resource_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:arczonalshift:getZonalAutoshiftConfiguration', __args__, opts=opts, typ=GetZonalAutoshiftConfigurationResult) + return __ret__.apply(lambda __response__: GetZonalAutoshiftConfigurationResult( + practice_run_configuration=pulumi.get(__response__, 'practice_run_configuration'), + zonal_autoshift_status=pulumi.get(__response__, 'zonal_autoshift_status'))) diff --git a/sdk/python/pulumi_aws_native/arczonalshift/outputs.py b/sdk/python/pulumi_aws_native/arczonalshift/outputs.py index 99b010a242..68122da66c 100644 --- a/sdk/python/pulumi_aws_native/arczonalshift/outputs.py +++ b/sdk/python/pulumi_aws_native/arczonalshift/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/arczonalshift/zonal_autoshift_configuration.py b/sdk/python/pulumi_aws_native/arczonalshift/zonal_autoshift_configuration.py index bfa41676fd..fff5dfd0e6 100644 --- a/sdk/python/pulumi_aws_native/arczonalshift/zonal_autoshift_configuration.py +++ b/sdk/python/pulumi_aws_native/arczonalshift/zonal_autoshift_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/athena/_inputs.py b/sdk/python/pulumi_aws_native/athena/_inputs.py index 48fde4acd9..dad311f45e 100644 --- a/sdk/python/pulumi_aws_native/athena/_inputs.py +++ b/sdk/python/pulumi_aws_native/athena/_inputs.py @@ -4,25 +4,54 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CapacityReservationCapacityAssignmentConfigurationArgs', + 'CapacityReservationCapacityAssignmentConfigurationArgsDict', 'CapacityReservationCapacityAssignmentArgs', + 'CapacityReservationCapacityAssignmentArgsDict', 'WorkGroupAclConfigurationArgs', + 'WorkGroupAclConfigurationArgsDict', 'WorkGroupConfigurationUpdatesArgs', + 'WorkGroupConfigurationUpdatesArgsDict', 'WorkGroupConfigurationArgs', + 'WorkGroupConfigurationArgsDict', 'WorkGroupCustomerContentEncryptionConfigurationArgs', + 'WorkGroupCustomerContentEncryptionConfigurationArgsDict', 'WorkGroupEncryptionConfigurationArgs', + 'WorkGroupEncryptionConfigurationArgsDict', 'WorkGroupEngineVersionArgs', + 'WorkGroupEngineVersionArgsDict', 'WorkGroupResultConfigurationUpdatesArgs', + 'WorkGroupResultConfigurationUpdatesArgsDict', 'WorkGroupResultConfigurationArgs', + 'WorkGroupResultConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class CapacityReservationCapacityAssignmentConfigurationArgsDict(TypedDict): + """ + Assignment configuration to assign workgroups to a reservation + """ + capacity_assignments: pulumi.Input[Sequence[pulumi.Input['CapacityReservationCapacityAssignmentArgsDict']]] + """ + The list of assignments that make up the capacity assignment configuration. + """ +elif False: + CapacityReservationCapacityAssignmentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapacityReservationCapacityAssignmentConfigurationArgs: def __init__(__self__, *, @@ -46,6 +75,12 @@ def capacity_assignments(self, value: pulumi.Input[Sequence[pulumi.Input['Capaci pulumi.set(self, "capacity_assignments", value) +if not MYPY: + class CapacityReservationCapacityAssignmentArgsDict(TypedDict): + workgroup_names: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + CapacityReservationCapacityAssignmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapacityReservationCapacityAssignmentArgs: def __init__(__self__, *, @@ -62,6 +97,18 @@ def workgroup_names(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "workgroup_names", value) +if not MYPY: + class WorkGroupAclConfigurationArgsDict(TypedDict): + """ + Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results + """ + s3_acl_option: pulumi.Input['WorkGroupS3AclOption'] + """ + The Amazon S3 canned ACL that Athena should specify when storing query results, including data files inserted by Athena as the result of statements like CTAS or INSERT INTO. Currently the only supported canned ACL is `BUCKET_OWNER_FULL_CONTROL` . If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl) in the *Amazon S3 User Guide* . + """ +elif False: + WorkGroupAclConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkGroupAclConfigurationArgs: def __init__(__self__, *, @@ -85,6 +132,25 @@ def s3_acl_option(self, value: pulumi.Input['WorkGroupS3AclOption']): pulumi.set(self, "s3_acl_option", value) +if not MYPY: + class WorkGroupConfigurationUpdatesArgsDict(TypedDict): + """ + The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified. + """ + additional_configuration: NotRequired[pulumi.Input[str]] + bytes_scanned_cutoff_per_query: NotRequired[pulumi.Input[int]] + customer_content_encryption_configuration: NotRequired[pulumi.Input['WorkGroupCustomerContentEncryptionConfigurationArgsDict']] + enforce_work_group_configuration: NotRequired[pulumi.Input[bool]] + engine_version: NotRequired[pulumi.Input['WorkGroupEngineVersionArgsDict']] + execution_role: NotRequired[pulumi.Input[str]] + publish_cloud_watch_metrics_enabled: NotRequired[pulumi.Input[bool]] + remove_bytes_scanned_cutoff_per_query: NotRequired[pulumi.Input[bool]] + remove_customer_content_encryption_configuration: NotRequired[pulumi.Input[bool]] + requester_pays_enabled: NotRequired[pulumi.Input[bool]] + result_configuration_updates: NotRequired[pulumi.Input['WorkGroupResultConfigurationUpdatesArgsDict']] +elif False: + WorkGroupConfigurationUpdatesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkGroupConfigurationUpdatesArgs: def __init__(__self__, *, @@ -225,6 +291,49 @@ def result_configuration_updates(self, value: Optional[pulumi.Input['WorkGroupRe pulumi.set(self, "result_configuration_updates", value) +if not MYPY: + class WorkGroupConfigurationArgsDict(TypedDict): + additional_configuration: NotRequired[pulumi.Input[str]] + """ + Specifies a user defined JSON string that is passed to the session engine. + """ + bytes_scanned_cutoff_per_query: NotRequired[pulumi.Input[int]] + """ + The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. No default is defined. + + > This property currently supports integer types. Support for long values is planned. + """ + customer_content_encryption_configuration: NotRequired[pulumi.Input['WorkGroupCustomerContentEncryptionConfigurationArgsDict']] + """ + Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups. + """ + enforce_work_group_configuration: NotRequired[pulumi.Input[bool]] + """ + If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see [Override client-side settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . + """ + engine_version: NotRequired[pulumi.Input['WorkGroupEngineVersionArgsDict']] + """ + The engine version that all queries running on the workgroup use. + """ + execution_role: NotRequired[pulumi.Input[str]] + """ + Role used to access user resources in an Athena for Apache Spark session. This property applies only to Spark-enabled workgroups in Athena. + """ + publish_cloud_watch_metrics_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates that the Amazon CloudWatch metrics are enabled for the workgroup. + """ + requester_pays_enabled: NotRequired[pulumi.Input[bool]] + """ + If set to `true` , allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to `false` , workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is `false` . For more information about Requester Pays buckets, see [Requester Pays Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) in the *Amazon Simple Storage Service Developer Guide* . + """ + result_configuration: NotRequired[pulumi.Input['WorkGroupResultConfigurationArgsDict']] + """ + Specifies the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. For more information, see [Work with query results and recent queries](https://docs.aws.amazon.com/athena/latest/ug/querying.html) . + """ +elif False: + WorkGroupConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkGroupConfigurationArgs: def __init__(__self__, *, @@ -380,6 +489,18 @@ def result_configuration(self, value: Optional[pulumi.Input['WorkGroupResultConf pulumi.set(self, "result_configuration", value) +if not MYPY: + class WorkGroupCustomerContentEncryptionConfigurationArgsDict(TypedDict): + """ + Indicates the KMS key for encrypting notebook content. + """ + kms_key: pulumi.Input[str] + """ + The customer managed KMS key that is used to encrypt the user's data stores in Athena. + """ +elif False: + WorkGroupCustomerContentEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkGroupCustomerContentEncryptionConfigurationArgs: def __init__(__self__, *, @@ -403,6 +524,24 @@ def kms_key(self, value: pulumi.Input[str]): pulumi.set(self, "kms_key", value) +if not MYPY: + class WorkGroupEncryptionConfigurationArgsDict(TypedDict): + """ + If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE-KMS or CSE-KMS) and key information. + """ + encryption_option: pulumi.Input['WorkGroupEncryptionOption'] + """ + Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys ( `SSE_S3` ), server-side encryption with KMS-managed keys ( `SSE_KMS` ), or client-side encryption with KMS-managed keys ( `CSE_KMS` ) is used. + + If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup. + """ + kms_key: NotRequired[pulumi.Input[str]] + """ + For `SSE_KMS` and `CSE_KMS` , this is the KMS key ARN or ID. + """ +elif False: + WorkGroupEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkGroupEncryptionConfigurationArgs: def __init__(__self__, *, @@ -446,6 +585,22 @@ def kms_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key", value) +if not MYPY: + class WorkGroupEngineVersionArgsDict(TypedDict): + """ + The Athena engine version for running queries. + """ + effective_engine_version: NotRequired[pulumi.Input[str]] + """ + Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a `CreateWorkGroup` or `UpdateWorkGroup` operation, the `EffectiveEngineVersion` field is ignored. + """ + selected_engine_version: NotRequired[pulumi.Input[str]] + """ + The engine version requested by the user. Possible values are determined by the output of `ListEngineVersions` , including AUTO. The default is AUTO. + """ +elif False: + WorkGroupEngineVersionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkGroupEngineVersionArgs: def __init__(__self__, *, @@ -486,6 +641,48 @@ def selected_engine_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "selected_engine_version", value) +if not MYPY: + class WorkGroupResultConfigurationUpdatesArgsDict(TypedDict): + """ + The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results. + """ + acl_configuration: NotRequired[pulumi.Input['WorkGroupAclConfigurationArgsDict']] + """ + The ACL configuration for the query results. + """ + encryption_configuration: NotRequired[pulumi.Input['WorkGroupEncryptionConfigurationArgsDict']] + """ + The encryption configuration for the query results. + """ + expected_bucket_owner: NotRequired[pulumi.Input[str]] + """ + The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by `ResultConfiguration$OutputLocation` . If set, Athena uses the value for `ExpectedBucketOwner` when it makes Amazon S3 calls to your specified output location. If the `ExpectedBucketOwner` AWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. + + If workgroup settings override client-side settings, then the query uses the `ExpectedBucketOwner` setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See `WorkGroupConfiguration$EnforceWorkGroupConfiguration` and [Workgroup Settings Override Client-Side Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . + """ + output_location: NotRequired[pulumi.Input[str]] + """ + The location in Amazon S3 where your query results are stored, such as `s3://path/to/query/bucket/` . For more information, see [Query Results](https://docs.aws.amazon.com/athena/latest/ug/querying.html) If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See `EnforceWorkGroupConfiguration` . + """ + remove_acl_configuration: NotRequired[pulumi.Input[bool]] + """ + If set to `true` , indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to `false` or not set, and a value is present in the `AclConfiguration` of `ResultConfigurationUpdates` , the `AclConfiguration` in the workgroup's `ResultConfiguration` is updated with the new value. For more information, see [Workgroup Settings Override Client-Side Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . + """ + remove_encryption_configuration: NotRequired[pulumi.Input[bool]] + """ + If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see [Override Client-Side Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . + """ + remove_expected_bucket_owner: NotRequired[pulumi.Input[bool]] + """ + If set to "true", removes the AWS account ID previously specified for `ResultConfiguration$ExpectedBucketOwner` . If set to "false" or not set, and a value is present in the `ExpectedBucketOwner` in `ResultConfigurationUpdates` (the client-side setting), the `ExpectedBucketOwner` in the workgroup's `ResultConfiguration` is updated with the new value. For more information, see [Workgroup Settings Override Client-Side Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . + """ + remove_output_location: NotRequired[pulumi.Input[bool]] + """ + If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see [Override Client-Side Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . + """ +elif False: + WorkGroupResultConfigurationUpdatesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkGroupResultConfigurationUpdatesArgs: def __init__(__self__, *, @@ -626,6 +823,32 @@ def remove_output_location(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "remove_output_location", value) +if not MYPY: + class WorkGroupResultConfigurationArgsDict(TypedDict): + """ + The location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the workgroup settings. + """ + acl_configuration: NotRequired[pulumi.Input['WorkGroupAclConfigurationArgsDict']] + """ + Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is `BUCKET_OWNER_FULL_CONTROL` . This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See `EnforceWorkGroupConfiguration` . + """ + encryption_configuration: NotRequired[pulumi.Input['WorkGroupEncryptionConfigurationArgsDict']] + """ + If query results are encrypted in Amazon S3, indicates the encryption option used (for example, `SSE_KMS` or `CSE_KMS` ) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See `EnforceWorkGroupConfiguration` and [Override client-side settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html) . + """ + expected_bucket_owner: NotRequired[pulumi.Input[str]] + """ + The account ID that you expect to be the owner of the Amazon S3 bucket specified by `ResultConfiguration:OutputLocation` . If set, Athena uses the value for `ExpectedBucketOwner` when it makes Amazon S3 calls to your specified output location. If the `ExpectedBucketOwner` account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. + + This is a client-side setting. If workgroup settings override client-side settings, then the query uses the `ExpectedBucketOwner` setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See `EnforceWorkGroupConfiguration` . + """ + output_location: NotRequired[pulumi.Input[str]] + """ + The location in Amazon S3 where your query results are stored, such as `s3://path/to/query/bucket/` . To run a query, you must specify the query results location using either a client-side setting for individual queries or a location specified by the workgroup. If workgroup settings override client-side settings, then the query uses the location specified for the workgroup. If no query location is set, Athena issues an error. For more information, see [Work with query results and recent queries](https://docs.aws.amazon.com/athena/latest/ug/querying.html) and `EnforceWorkGroupConfiguration` . + """ +elif False: + WorkGroupResultConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkGroupResultConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/athena/capacity_reservation.py b/sdk/python/pulumi_aws_native/athena/capacity_reservation.py index c3fd35927d..c3b159cb3d 100644 --- a/sdk/python/pulumi_aws_native/athena/capacity_reservation.py +++ b/sdk/python/pulumi_aws_native/athena/capacity_reservation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/athena/data_catalog.py b/sdk/python/pulumi_aws_native/athena/data_catalog.py index 8927147d57..e91fa84d59 100644 --- a/sdk/python/pulumi_aws_native/athena/data_catalog.py +++ b/sdk/python/pulumi_aws_native/athena/data_catalog.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/athena/get_capacity_reservation.py b/sdk/python/pulumi_aws_native/athena/get_capacity_reservation.py index 6bdf39b1bf..d136f62e3e 100644 --- a/sdk/python/pulumi_aws_native/athena/get_capacity_reservation.py +++ b/sdk/python/pulumi_aws_native/athena/get_capacity_reservation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_capacity_reservation(arn: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), target_dpus=pulumi.get(__ret__, 'target_dpus')) - - -@_utilities.lift_output_func(get_capacity_reservation) def get_capacity_reservation_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCapacityReservationResult]: """ @@ -161,4 +163,16 @@ def get_capacity_reservation_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the capacity reservation. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:athena:getCapacityReservation', __args__, opts=opts, typ=GetCapacityReservationResult) + return __ret__.apply(lambda __response__: GetCapacityReservationResult( + allocated_dpus=pulumi.get(__response__, 'allocated_dpus'), + arn=pulumi.get(__response__, 'arn'), + capacity_assignment_configuration=pulumi.get(__response__, 'capacity_assignment_configuration'), + creation_time=pulumi.get(__response__, 'creation_time'), + last_successful_allocation_time=pulumi.get(__response__, 'last_successful_allocation_time'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + target_dpus=pulumi.get(__response__, 'target_dpus'))) diff --git a/sdk/python/pulumi_aws_native/athena/get_data_catalog.py b/sdk/python/pulumi_aws_native/athena/get_data_catalog.py index eafe4f1e3f..a9fde39a1d 100644 --- a/sdk/python/pulumi_aws_native/athena/get_data_catalog.py +++ b/sdk/python/pulumi_aws_native/athena/get_data_catalog.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -97,9 +102,6 @@ def get_data_catalog(name: Optional[str] = None, parameters=pulumi.get(__ret__, 'parameters'), tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_data_catalog) def get_data_catalog_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataCatalogResult]: """ @@ -108,4 +110,12 @@ def get_data_catalog_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:athena:getDataCatalog', __args__, opts=opts, typ=GetDataCatalogResult) + return __ret__.apply(lambda __response__: GetDataCatalogResult( + description=pulumi.get(__response__, 'description'), + parameters=pulumi.get(__response__, 'parameters'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/athena/get_named_query.py b/sdk/python/pulumi_aws_native/athena/get_named_query.py index 2317e6999d..1841ef690f 100644 --- a/sdk/python/pulumi_aws_native/athena/get_named_query.py +++ b/sdk/python/pulumi_aws_native/athena/get_named_query.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_named_query(named_query_id: Optional[str] = None, return AwaitableGetNamedQueryResult( named_query_id=pulumi.get(__ret__, 'named_query_id')) - - -@_utilities.lift_output_func(get_named_query) def get_named_query_output(named_query_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamedQueryResult]: """ @@ -67,4 +69,9 @@ def get_named_query_output(named_query_id: Optional[pulumi.Input[str]] = None, :param str named_query_id: The unique ID of the query. """ - ... + __args__ = dict() + __args__['namedQueryId'] = named_query_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:athena:getNamedQuery', __args__, opts=opts, typ=GetNamedQueryResult) + return __ret__.apply(lambda __response__: GetNamedQueryResult( + named_query_id=pulumi.get(__response__, 'named_query_id'))) diff --git a/sdk/python/pulumi_aws_native/athena/get_prepared_statement.py b/sdk/python/pulumi_aws_native/athena/get_prepared_statement.py index a314f0066c..25e51512da 100644 --- a/sdk/python/pulumi_aws_native/athena/get_prepared_statement.py +++ b/sdk/python/pulumi_aws_native/athena/get_prepared_statement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_prepared_statement(statement_name: Optional[str] = None, return AwaitableGetPreparedStatementResult( description=pulumi.get(__ret__, 'description'), query_statement=pulumi.get(__ret__, 'query_statement')) - - -@_utilities.lift_output_func(get_prepared_statement) def get_prepared_statement_output(statement_name: Optional[pulumi.Input[str]] = None, work_group: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPreparedStatementResult]: @@ -85,4 +87,11 @@ def get_prepared_statement_output(statement_name: Optional[pulumi.Input[str]] = :param str statement_name: The name of the prepared statement. :param str work_group: The name of the workgroup to which the prepared statement belongs. """ - ... + __args__ = dict() + __args__['statementName'] = statement_name + __args__['workGroup'] = work_group + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:athena:getPreparedStatement', __args__, opts=opts, typ=GetPreparedStatementResult) + return __ret__.apply(lambda __response__: GetPreparedStatementResult( + description=pulumi.get(__response__, 'description'), + query_statement=pulumi.get(__response__, 'query_statement'))) diff --git a/sdk/python/pulumi_aws_native/athena/get_work_group.py b/sdk/python/pulumi_aws_native/athena/get_work_group.py index 7811b717f6..c66ba549b6 100644 --- a/sdk/python/pulumi_aws_native/athena/get_work_group.py +++ b/sdk/python/pulumi_aws_native/athena/get_work_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -111,9 +116,6 @@ def get_work_group(name: Optional[str] = None, state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags'), work_group_configuration=pulumi.get(__ret__, 'work_group_configuration')) - - -@_utilities.lift_output_func(get_work_group) def get_work_group_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkGroupResult]: """ @@ -122,4 +124,13 @@ def get_work_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: The workGroup name. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:athena:getWorkGroup', __args__, opts=opts, typ=GetWorkGroupResult) + return __ret__.apply(lambda __response__: GetWorkGroupResult( + creation_time=pulumi.get(__response__, 'creation_time'), + description=pulumi.get(__response__, 'description'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + work_group_configuration=pulumi.get(__response__, 'work_group_configuration'))) diff --git a/sdk/python/pulumi_aws_native/athena/named_query.py b/sdk/python/pulumi_aws_native/athena/named_query.py index 5110503323..460dca06ce 100644 --- a/sdk/python/pulumi_aws_native/athena/named_query.py +++ b/sdk/python/pulumi_aws_native/athena/named_query.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['NamedQueryArgs', 'NamedQuery'] diff --git a/sdk/python/pulumi_aws_native/athena/outputs.py b/sdk/python/pulumi_aws_native/athena/outputs.py index d1a2375bde..97ed35ee4d 100644 --- a/sdk/python/pulumi_aws_native/athena/outputs.py +++ b/sdk/python/pulumi_aws_native/athena/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/athena/prepared_statement.py b/sdk/python/pulumi_aws_native/athena/prepared_statement.py index ebcfc3fd0d..9d67f08ccb 100644 --- a/sdk/python/pulumi_aws_native/athena/prepared_statement.py +++ b/sdk/python/pulumi_aws_native/athena/prepared_statement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['PreparedStatementArgs', 'PreparedStatement'] diff --git a/sdk/python/pulumi_aws_native/athena/work_group.py b/sdk/python/pulumi_aws_native/athena/work_group.py index df695659e5..d07a9f98f4 100644 --- a/sdk/python/pulumi_aws_native/athena/work_group.py +++ b/sdk/python/pulumi_aws_native/athena/work_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/auditmanager/_inputs.py b/sdk/python/pulumi_aws_native/auditmanager/_inputs.py index c5e9274c35..df466b2240 100644 --- a/sdk/python/pulumi_aws_native/auditmanager/_inputs.py +++ b/sdk/python/pulumi_aws_native/auditmanager/_inputs.py @@ -4,21 +4,54 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AssessmentAwsAccountArgs', + 'AssessmentAwsAccountArgsDict', 'AssessmentAwsServiceArgs', + 'AssessmentAwsServiceArgsDict', 'AssessmentDelegationArgs', + 'AssessmentDelegationArgsDict', 'AssessmentReportsDestinationArgs', + 'AssessmentReportsDestinationArgsDict', 'AssessmentRoleArgs', + 'AssessmentRoleArgsDict', 'AssessmentScopeArgs', + 'AssessmentScopeArgsDict', ] +MYPY = False + +if not MYPY: + class AssessmentAwsAccountArgsDict(TypedDict): + """ + The AWS account associated with the assessment. + """ + email_address: NotRequired[pulumi.Input[str]] + """ + The email address that's associated with the AWS account . + """ + id: NotRequired[pulumi.Input[str]] + """ + The identifier for the AWS account . + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the AWS account . + """ +elif False: + AssessmentAwsAccountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssessmentAwsAccountArgs: def __init__(__self__, *, @@ -75,6 +108,18 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class AssessmentAwsServiceArgsDict(TypedDict): + """ + An AWS service such as Amazon S3, AWS CloudTrail, and so on. + """ + service_name: NotRequired[pulumi.Input[str]] + """ + The name of the AWS service . + """ +elif False: + AssessmentAwsServiceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssessmentAwsServiceArgs: def __init__(__self__, *, @@ -99,6 +144,70 @@ def service_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "service_name", value) +if not MYPY: + class AssessmentDelegationArgsDict(TypedDict): + """ + The assignment of a control set to a delegate for review. + """ + assessment_id: NotRequired[pulumi.Input[str]] + """ + The identifier for the assessment that's associated with the delegation. + """ + assessment_name: NotRequired[pulumi.Input[str]] + """ + The name of the assessment that's associated with the delegation. + """ + comment: NotRequired[pulumi.Input[str]] + """ + The comment that's related to the delegation. + """ + control_set_id: NotRequired[pulumi.Input[str]] + """ + The identifier for the control set that's associated with the delegation. + """ + created_by: NotRequired[pulumi.Input[str]] + """ + The user or role that created the delegation. + + *Minimum* : `1` + + *Maximum* : `100` + + *Pattern* : `^[a-zA-Z0-9-_()\\\\[\\\\]\\\\s]+$` + """ + creation_time: NotRequired[pulumi.Input[float]] + """ + Specifies when the delegation was created. + """ + id: NotRequired[pulumi.Input[str]] + """ + The unique identifier for the delegation. + """ + last_updated: NotRequired[pulumi.Input[float]] + """ + Specifies when the delegation was last updated. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the IAM role. + """ + role_type: NotRequired[pulumi.Input['AssessmentRoleType']] + """ + The type of customer persona. + + > In `CreateAssessment` , `roleType` can only be `PROCESS_OWNER` . + > + > In `UpdateSettings` , `roleType` can only be `PROCESS_OWNER` . + > + > In `BatchCreateDelegationByAssessment` , `roleType` can only be `RESOURCE_OWNER` . + """ + status: NotRequired[pulumi.Input['AssessmentDelegationStatus']] + """ + The status of the delegation. + """ +elif False: + AssessmentDelegationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssessmentDelegationArgs: def __init__(__self__, *, @@ -307,6 +416,22 @@ def status(self, value: Optional[pulumi.Input['AssessmentDelegationStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class AssessmentReportsDestinationArgsDict(TypedDict): + """ + The destination in which evidence reports are stored for the specified assessment. + """ + destination: NotRequired[pulumi.Input[str]] + """ + The destination bucket where Audit Manager stores assessment reports. + """ + destination_type: NotRequired[pulumi.Input['AssessmentReportDestinationType']] + """ + The destination type, such as Amazon S3. + """ +elif False: + AssessmentReportsDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssessmentReportsDestinationArgs: def __init__(__self__, *, @@ -347,6 +472,28 @@ def destination_type(self, value: Optional[pulumi.Input['AssessmentReportDestina pulumi.set(self, "destination_type", value) +if not MYPY: + class AssessmentRoleArgsDict(TypedDict): + """ + The wrapper that contains AWS Audit Manager role information, such as the role type and IAM ARN. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the IAM role. + """ + role_type: NotRequired[pulumi.Input['AssessmentRoleType']] + """ + The type of customer persona. + + > In `CreateAssessment` , `roleType` can only be `PROCESS_OWNER` . + > + > In `UpdateSettings` , `roleType` can only be `PROCESS_OWNER` . + > + > In `BatchCreateDelegationByAssessment` , `roleType` can only be `RESOURCE_OWNER` . + """ +elif False: + AssessmentRoleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssessmentRoleArgs: def __init__(__self__, *, @@ -399,6 +546,22 @@ def role_type(self, value: Optional[pulumi.Input['AssessmentRoleType']]): pulumi.set(self, "role_type", value) +if not MYPY: + class AssessmentScopeArgsDict(TypedDict): + """ + The wrapper that contains the AWS accounts and AWS services in scope for the assessment. + """ + aws_accounts: NotRequired[pulumi.Input[Sequence[pulumi.Input['AssessmentAwsAccountArgsDict']]]] + """ + The AWS accounts included in scope. + """ + aws_services: NotRequired[pulumi.Input[Sequence[pulumi.Input['AssessmentAwsServiceArgsDict']]]] + """ + The AWS services included in scope. + """ +elif False: + AssessmentScopeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssessmentScopeArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/auditmanager/assessment.py b/sdk/python/pulumi_aws_native/auditmanager/assessment.py index ecd8ac1307..619b0bf097 100644 --- a/sdk/python/pulumi_aws_native/auditmanager/assessment.py +++ b/sdk/python/pulumi_aws_native/auditmanager/assessment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/auditmanager/get_assessment.py b/sdk/python/pulumi_aws_native/auditmanager/get_assessment.py index aafdaca4d8..5ef6f5533e 100644 --- a/sdk/python/pulumi_aws_native/auditmanager/get_assessment.py +++ b/sdk/python/pulumi_aws_native/auditmanager/get_assessment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -167,9 +172,6 @@ def get_assessment(assessment_id: Optional[str] = None, scope=pulumi.get(__ret__, 'scope'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_assessment) def get_assessment_output(assessment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAssessmentResult]: """ @@ -178,4 +180,17 @@ def get_assessment_output(assessment_id: Optional[pulumi.Input[str]] = None, :param str assessment_id: The unique identifier for the assessment. """ - ... + __args__ = dict() + __args__['assessmentId'] = assessment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:auditmanager:getAssessment', __args__, opts=opts, typ=GetAssessmentResult) + return __ret__.apply(lambda __response__: GetAssessmentResult( + arn=pulumi.get(__response__, 'arn'), + assessment_id=pulumi.get(__response__, 'assessment_id'), + assessment_reports_destination=pulumi.get(__response__, 'assessment_reports_destination'), + creation_time=pulumi.get(__response__, 'creation_time'), + delegations=pulumi.get(__response__, 'delegations'), + roles=pulumi.get(__response__, 'roles'), + scope=pulumi.get(__response__, 'scope'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/auditmanager/outputs.py b/sdk/python/pulumi_aws_native/auditmanager/outputs.py index 81795fafa6..5a9ce69654 100644 --- a/sdk/python/pulumi_aws_native/auditmanager/outputs.py +++ b/sdk/python/pulumi_aws_native/auditmanager/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/autoscaling/_inputs.py b/sdk/python/pulumi_aws_native/autoscaling/_inputs.py index 7e9dd798e4..727d6294a2 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/_inputs.py +++ b/sdk/python/pulumi_aws_native/autoscaling/_inputs.py @@ -4,56 +4,121 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'AutoScalingGroupAcceleratorCountRequestArgs', + 'AutoScalingGroupAcceleratorCountRequestArgsDict', 'AutoScalingGroupAcceleratorTotalMemoryMiBRequestArgs', + 'AutoScalingGroupAcceleratorTotalMemoryMiBRequestArgsDict', 'AutoScalingGroupBaselineEbsBandwidthMbpsRequestArgs', + 'AutoScalingGroupBaselineEbsBandwidthMbpsRequestArgsDict', 'AutoScalingGroupInstanceMaintenancePolicyArgs', + 'AutoScalingGroupInstanceMaintenancePolicyArgsDict', 'AutoScalingGroupInstanceRequirementsArgs', + 'AutoScalingGroupInstanceRequirementsArgsDict', 'AutoScalingGroupInstancesDistributionArgs', + 'AutoScalingGroupInstancesDistributionArgsDict', 'AutoScalingGroupLaunchTemplateOverridesArgs', + 'AutoScalingGroupLaunchTemplateOverridesArgsDict', 'AutoScalingGroupLaunchTemplateSpecificationArgs', + 'AutoScalingGroupLaunchTemplateSpecificationArgsDict', 'AutoScalingGroupLaunchTemplateArgs', + 'AutoScalingGroupLaunchTemplateArgsDict', 'AutoScalingGroupLifecycleHookSpecificationArgs', + 'AutoScalingGroupLifecycleHookSpecificationArgsDict', 'AutoScalingGroupMemoryGiBPerVCpuRequestArgs', + 'AutoScalingGroupMemoryGiBPerVCpuRequestArgsDict', 'AutoScalingGroupMemoryMiBRequestArgs', + 'AutoScalingGroupMemoryMiBRequestArgsDict', 'AutoScalingGroupMetricsCollectionArgs', + 'AutoScalingGroupMetricsCollectionArgsDict', 'AutoScalingGroupMixedInstancesPolicyArgs', + 'AutoScalingGroupMixedInstancesPolicyArgsDict', 'AutoScalingGroupNetworkBandwidthGbpsRequestArgs', + 'AutoScalingGroupNetworkBandwidthGbpsRequestArgsDict', 'AutoScalingGroupNetworkInterfaceCountRequestArgs', + 'AutoScalingGroupNetworkInterfaceCountRequestArgsDict', 'AutoScalingGroupNotificationConfigurationArgs', + 'AutoScalingGroupNotificationConfigurationArgsDict', 'AutoScalingGroupTagPropertyArgs', + 'AutoScalingGroupTagPropertyArgsDict', 'AutoScalingGroupTotalLocalStorageGbRequestArgs', + 'AutoScalingGroupTotalLocalStorageGbRequestArgsDict', 'AutoScalingGroupVCpuCountRequestArgs', + 'AutoScalingGroupVCpuCountRequestArgsDict', 'LaunchConfigurationBlockDeviceMappingArgs', + 'LaunchConfigurationBlockDeviceMappingArgsDict', 'LaunchConfigurationBlockDeviceArgs', + 'LaunchConfigurationBlockDeviceArgsDict', 'LaunchConfigurationMetadataOptionsArgs', + 'LaunchConfigurationMetadataOptionsArgsDict', 'ScalingPolicyCustomizedMetricSpecificationArgs', + 'ScalingPolicyCustomizedMetricSpecificationArgsDict', 'ScalingPolicyMetricDataQueryArgs', + 'ScalingPolicyMetricDataQueryArgsDict', 'ScalingPolicyMetricDimensionArgs', + 'ScalingPolicyMetricDimensionArgsDict', 'ScalingPolicyMetricStatArgs', + 'ScalingPolicyMetricStatArgsDict', 'ScalingPolicyMetricArgs', + 'ScalingPolicyMetricArgsDict', 'ScalingPolicyPredefinedMetricSpecificationArgs', + 'ScalingPolicyPredefinedMetricSpecificationArgsDict', 'ScalingPolicyPredictiveScalingConfigurationArgs', + 'ScalingPolicyPredictiveScalingConfigurationArgsDict', 'ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs', + 'ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgsDict', 'ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs', + 'ScalingPolicyPredictiveScalingCustomizedLoadMetricArgsDict', 'ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs', + 'ScalingPolicyPredictiveScalingCustomizedScalingMetricArgsDict', 'ScalingPolicyPredictiveScalingMetricSpecificationArgs', + 'ScalingPolicyPredictiveScalingMetricSpecificationArgsDict', 'ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs', + 'ScalingPolicyPredictiveScalingPredefinedLoadMetricArgsDict', 'ScalingPolicyPredictiveScalingPredefinedMetricPairArgs', + 'ScalingPolicyPredictiveScalingPredefinedMetricPairArgsDict', 'ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs', + 'ScalingPolicyPredictiveScalingPredefinedScalingMetricArgsDict', 'ScalingPolicyStepAdjustmentArgs', + 'ScalingPolicyStepAdjustmentArgsDict', 'ScalingPolicyTargetTrackingConfigurationArgs', + 'ScalingPolicyTargetTrackingConfigurationArgsDict', 'ScalingPolicyTargetTrackingMetricDataQueryArgs', + 'ScalingPolicyTargetTrackingMetricDataQueryArgsDict', 'ScalingPolicyTargetTrackingMetricStatArgs', + 'ScalingPolicyTargetTrackingMetricStatArgsDict', 'WarmPoolInstanceReusePolicyArgs', + 'WarmPoolInstanceReusePolicyArgsDict', ] +MYPY = False + +if not MYPY: + class AutoScalingGroupAcceleratorCountRequestArgsDict(TypedDict): + """ + ``AcceleratorCountRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum number of accelerators for an instance type. + """ + max: NotRequired[pulumi.Input[int]] + """ + The maximum value. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum value. + """ +elif False: + AutoScalingGroupAcceleratorCountRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupAcceleratorCountRequestArgs: def __init__(__self__, *, @@ -94,6 +159,22 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class AutoScalingGroupAcceleratorTotalMemoryMiBRequestArgsDict(TypedDict): + """ + ``AcceleratorTotalMemoryMiBRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum total memory size for the accelerators for an instance type, in MiB. + """ + max: NotRequired[pulumi.Input[int]] + """ + The memory maximum in MiB. + """ + min: NotRequired[pulumi.Input[int]] + """ + The memory minimum in MiB. + """ +elif False: + AutoScalingGroupAcceleratorTotalMemoryMiBRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupAcceleratorTotalMemoryMiBRequestArgs: def __init__(__self__, *, @@ -134,6 +215,22 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class AutoScalingGroupBaselineEbsBandwidthMbpsRequestArgsDict(TypedDict): + """ + ``BaselineEbsBandwidthMbpsRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum baseline bandwidth performance for an instance type, in Mbps. + """ + max: NotRequired[pulumi.Input[int]] + """ + The maximum value in Mbps. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum value in Mbps. + """ +elif False: + AutoScalingGroupBaselineEbsBandwidthMbpsRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupBaselineEbsBandwidthMbpsRequestArgs: def __init__(__self__, *, @@ -174,6 +271,24 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class AutoScalingGroupInstanceMaintenancePolicyArgsDict(TypedDict): + """ + ``InstanceMaintenancePolicy`` is a property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource. + For more information, see [Instance maintenance policies](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html) in the *Amazon EC2 Auto Scaling User Guide*. + """ + max_healthy_percentage: NotRequired[pulumi.Input[int]] + """ + Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of ``-1``. + Both ``MinHealthyPercentage`` and ``MaxHealthyPercentage`` must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time. + """ + min_healthy_percentage: NotRequired[pulumi.Input[int]] + """ + Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of ``-1``. + """ +elif False: + AutoScalingGroupInstanceMaintenancePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupInstanceMaintenancePolicyArgs: def __init__(__self__, *, @@ -217,6 +332,182 @@ def min_healthy_percentage(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min_healthy_percentage", value) +if not MYPY: + class AutoScalingGroupInstanceRequirementsArgsDict(TypedDict): + """ + The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. + When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. + To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request: + + ``AllowedInstanceTypes`` - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. + + ``ExcludedInstanceTypes`` - The instance types to exclude from the list, even if they match your specified attributes. + + You must specify ``VCpuCount`` and ``MemoryMiB``. All other attributes are optional. Any unspecified optional attribute is set to its default. + For an example template, see [Configure Amazon EC2 Auto Scaling resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-ec2-auto-scaling.html). + For more information, see [Creating an Auto Scaling group using attribute-based instance type selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html) in the *Amazon EC2 Auto Scaling User Guide*. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see [Preview instance types with specified attributes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements) in the *Amazon EC2 User Guide for Linux Instances*. + ``InstanceRequirements`` is a property of the ``LaunchTemplateOverrides`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html) property type. + """ + memory_mi_b: pulumi.Input['AutoScalingGroupMemoryMiBRequestArgsDict'] + """ + The minimum and maximum instance memory size for an instance type, in MiB. + """ + v_cpu_count: pulumi.Input['AutoScalingGroupVCpuCountRequestArgsDict'] + """ + The minimum and maximum number of vCPUs for an instance type. + """ + accelerator_count: NotRequired[pulumi.Input['AutoScalingGroupAcceleratorCountRequestArgsDict']] + """ + The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) for an instance type. + To exclude accelerator-enabled instance types, set ``Max`` to ``0``. + Default: No minimum or maximum limits + """ + accelerator_manufacturers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Indicates whether instance types must have accelerators by specific manufacturers. + + For instance types with NVIDIA devices, specify ``nvidia``. + + For instance types with AMD devices, specify ``amd``. + + For instance types with AWS devices, specify ``amazon-web-services``. + + For instance types with Xilinx devices, specify ``xilinx``. + + Default: Any manufacturer + """ + accelerator_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Lists the accelerators that must be on an instance type. + + For instance types with NVIDIA A100 GPUs, specify ``a100``. + + For instance types with NVIDIA V100 GPUs, specify ``v100``. + + For instance types with NVIDIA K80 GPUs, specify ``k80``. + + For instance types with NVIDIA T4 GPUs, specify ``t4``. + + For instance types with NVIDIA M60 GPUs, specify ``m60``. + + For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520``. + + For instance types with Xilinx VU9P FPGAs, specify ``vu9p``. + + Default: Any accelerator + """ + accelerator_total_memory_mi_b: NotRequired[pulumi.Input['AutoScalingGroupAcceleratorTotalMemoryMiBRequestArgsDict']] + """ + The minimum and maximum total memory size for the accelerators on an instance type, in MiB. + Default: No minimum or maximum limits + """ + accelerator_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Lists the accelerator types that must be on an instance type. + + For instance types with GPU accelerators, specify ``gpu``. + + For instance types with FPGA accelerators, specify ``fpga``. + + For instance types with inference accelerators, specify ``inference``. + + Default: Any accelerator type + """ + allowed_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. + You can use strings with one or more wild cards, represented by an asterisk (``*``), to allow an instance type, size, or generation. The following are examples: ``m5.8xlarge``, ``c5*.*``, ``m5a.*``, ``r*``, ``*3*``. + For example, if you specify ``c5*``, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*``, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types. + If you specify ``AllowedInstanceTypes``, you can't specify ``ExcludedInstanceTypes``. + Default: All instance types + """ + bare_metal: NotRequired[pulumi.Input[str]] + """ + Indicates whether bare metal instance types are included, excluded, or required. + Default: ``excluded`` + """ + baseline_ebs_bandwidth_mbps: NotRequired[pulumi.Input['AutoScalingGroupBaselineEbsBandwidthMbpsRequestArgsDict']] + """ + The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see [Amazon EBS–optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the *Amazon EC2 User Guide for Linux Instances*. + Default: No minimum or maximum limits + """ + burstable_performance: NotRequired[pulumi.Input[str]] + """ + Indicates whether burstable performance instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) in the *Amazon EC2 User Guide for Linux Instances*. + Default: ``excluded`` + """ + cpu_manufacturers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Lists which specific CPU manufacturers to include. + + For instance types with Intel CPUs, specify ``intel``. + + For instance types with AMD CPUs, specify ``amd``. + + For instance types with AWS CPUs, specify ``amazon-web-services``. + + Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + Default: Any manufacturer + """ + excluded_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (``*``), to exclude an instance family, type, size, or generation. The following are examples: ``m5.8xlarge``, ``c5*.*``, ``m5a.*``, ``r*``, ``*3*``. + For example, if you specify ``c5*``, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*``, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types. + If you specify ``ExcludedInstanceTypes``, you can't specify ``AllowedInstanceTypes``. + Default: No excluded instance types + """ + instance_generations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Indicates whether current or previous generation instance types are included. + + For current generation instance types, specify ``current``. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide for Linux Instances*. + + For previous generation instance types, specify ``previous``. + + Default: Any current or previous generation + """ + local_storage: NotRequired[pulumi.Input[str]] + """ + Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see [Amazon EC2 instance store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) in the *Amazon EC2 User Guide for Linux Instances*. + Default: ``included`` + """ + local_storage_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Indicates the type of local storage that is required. + + For instance types with hard disk drive (HDD) storage, specify ``hdd``. + + For instance types with solid state drive (SSD) storage, specify ``ssd``. + + Default: Any local storage type + """ + max_spot_price_as_percentage_of_optimal_on_demand_price: NotRequired[pulumi.Input[int]] + """ + [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. + The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. + If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. + Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as ``999999``. + """ + memory_gi_b_per_v_cpu: NotRequired[pulumi.Input['AutoScalingGroupMemoryGiBPerVCpuRequestArgsDict']] + """ + The minimum and maximum amount of memory per vCPU for an instance type, in GiB. + Default: No minimum or maximum limits + """ + network_bandwidth_gbps: NotRequired[pulumi.Input['AutoScalingGroupNetworkBandwidthGbpsRequestArgsDict']] + """ + The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). + Default: No minimum or maximum limits + """ + network_interface_count: NotRequired[pulumi.Input['AutoScalingGroupNetworkInterfaceCountRequestArgsDict']] + """ + The minimum and maximum number of network interfaces for an instance type. + Default: No minimum or maximum limits + """ + on_demand_max_price_percentage_over_lowest_price: NotRequired[pulumi.Input[int]] + """ + [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. + The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. + To turn off price protection, specify a high value, such as ``999999``. + If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. + Default: ``20`` + """ + require_hibernate_support: NotRequired[pulumi.Input[bool]] + """ + Indicates whether instance types must provide On-Demand Instance hibernation support. + Default: ``false`` + """ + spot_max_price_percentage_over_lowest_price: NotRequired[pulumi.Input[int]] + """ + [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. + The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. + If you set ``DesiredCapacityType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. + Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as ``999999``. + """ + total_local_storage_gb: NotRequired[pulumi.Input['AutoScalingGroupTotalLocalStorageGbRequestArgsDict']] + """ + The minimum and maximum total local storage size for an instance type, in GB. + Default: No minimum or maximum limits + """ +elif False: + AutoScalingGroupInstanceRequirementsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupInstanceRequirementsArgs: def __init__(__self__, *, @@ -742,6 +1033,52 @@ def total_local_storage_gb(self, value: Optional[pulumi.Input['AutoScalingGroupT pulumi.set(self, "total_local_storage_gb", value) +if not MYPY: + class AutoScalingGroupInstancesDistributionArgsDict(TypedDict): + """ + Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy. + For more information, see [Auto Scaling groups with multiple instance types and purchase options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html) in the *Amazon EC2 Auto Scaling User Guide*. + ``InstancesDistribution`` is a property of the [AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-mixedinstancespolicy.html) property type. + """ + on_demand_allocation_strategy: NotRequired[pulumi.Input[str]] + """ + The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. + The following lists the valid values: + + lowest-price Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements. + prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do. + """ + on_demand_base_capacity: NotRequired[pulumi.Input[int]] + """ + The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales. + This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement. + Default: 0 + An update to this setting means a gradual replacement of instances to adjust the current On-Demand Instance levels. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. + """ + on_demand_percentage_above_base_capacity: NotRequired[pulumi.Input[int]] + """ + Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond ``OnDemandBaseCapacity``. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used. + Default: 100 + An update to this setting means a gradual replacement of instances to adjust the current On-Demand and Spot Instance levels for your additional capacity higher than the base capacity. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the previous ones. + """ + spot_allocation_strategy: NotRequired[pulumi.Input[str]] + """ + The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. + The following lists the valid values: + + capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. + capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. + lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. + price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price. + """ + spot_instance_pools: NotRequired[pulumi.Input[int]] + """ + The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the ``SpotAllocationStrategy`` is ``lowest-price``. Value must be in the range of 1–20. + Default: 2 + """ + spot_max_price: NotRequired[pulumi.Input[str]] + """ + The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ("") for the value. + If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one. + Valid Range: Minimum value of 0.001 + """ +elif False: + AutoScalingGroupInstancesDistributionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupInstancesDistributionArgs: def __init__(__self__, *, @@ -872,6 +1209,42 @@ def spot_max_price(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "spot_max_price", value) +if not MYPY: + class AutoScalingGroupLaunchTemplateOverridesArgsDict(TypedDict): + """ + Use this structure to let Amazon EC2 Auto Scaling do the following when the Auto Scaling group has a mixed instances policy: + + Override the instance type that is specified in the launch template. + + Use multiple instance types. + + Specify the instance types that you want, or define your instance requirements instead and let Amazon EC2 Auto Scaling provision the available instance types that meet your requirements. This can provide Amazon EC2 Auto Scaling with a larger selection of instance types to choose from when fulfilling Spot and On-Demand capacities. You can view which instance types are matched before you apply the instance requirements to your Auto Scaling group. + After you define your instance requirements, you don't have to keep updating these settings to get new EC2 instance types automatically. Amazon EC2 Auto Scaling uses the instance requirements of the Auto Scaling group to determine whether a new EC2 instance type can be used. + ``LaunchTemplateOverrides`` is a property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html) property type. + """ + instance_requirements: NotRequired[pulumi.Input['AutoScalingGroupInstanceRequirementsArgsDict']] + """ + The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types. + You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template. + If you specify ``InstanceRequirements``, you can't specify ``InstanceType``. + """ + instance_type: NotRequired[pulumi.Input[str]] + """ + The instance type, such as ``m3.xlarge``. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide for Linux Instances*. + You can specify up to 40 instance types per Auto Scaling group. + """ + launch_template_specification: NotRequired[pulumi.Input['AutoScalingGroupLaunchTemplateSpecificationArgsDict']] + """ + Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the ``LaunchTemplate`` definition. For more information, see [Specifying a different launch template for an instance type](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-launch-template-overrides.html) in the *Amazon EC2 Auto Scaling User Guide*. + You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in the ``LaunchTemplate`` definition count towards this limit. + """ + weighted_capacity: NotRequired[pulumi.Input[str]] + """ + If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a ``WeightedCapacity`` of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see [Configure instance weighting for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html) in the *Amazon EC2 Auto Scaling User Guide*. Value must be in the range of 1-999. + If you specify a value for ``WeightedCapacity`` for one instance type, you must specify a value for ``WeightedCapacity`` for all of them. + Every Auto Scaling group has three size parameters (``DesiredCapacity``, ``MaxSize``, and ``MinSize``). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances. + """ +elif False: + AutoScalingGroupLaunchTemplateOverridesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupLaunchTemplateOverridesArgs: def __init__(__self__, *, @@ -962,6 +1335,37 @@ def weighted_capacity(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "weighted_capacity", value) +if not MYPY: + class AutoScalingGroupLaunchTemplateSpecificationArgsDict(TypedDict): + """ + Specifies a launch template to use when provisioning EC2 instances for an Auto Scaling group. + You must specify the following: + + The ID or the name of the launch template, but not both. + + The version of the launch template. + + ``LaunchTemplateSpecification`` is property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource. It is also a property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplate.html) and [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property types. + For information about creating a launch template, see [AWS::EC2::LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html) and [Create a launch template for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html) in the *Amazon EC2 Auto Scaling User Guide*. + For examples of launch templates, see [Create launch templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-ec2-launch-templates.html). + """ + version: pulumi.Input[str] + """ + The version number of the launch template. + Specifying ``$Latest`` or ``$Default`` for the template version number is not supported. However, you can specify ``LatestVersionNumber`` or ``DefaultVersionNumber`` using the ``Fn::GetAtt`` intrinsic function. For more information, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html). + For an example of using the ``Fn::GetAtt`` function, see the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#aws-resource-autoscaling-autoscalinggroup--examples) section of the ``AWS::AutoScaling::AutoScalingGroup`` resource. + """ + launch_template_id: NotRequired[pulumi.Input[str]] + """ + The ID of the launch template. + You must specify the ``LaunchTemplateID`` or the ``LaunchTemplateName``, but not both. + """ + launch_template_name: NotRequired[pulumi.Input[str]] + """ + The name of the launch template. + You must specify the ``LaunchTemplateName`` or the ``LaunchTemplateID``, but not both. + """ +elif False: + AutoScalingGroupLaunchTemplateSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupLaunchTemplateSpecificationArgs: def __init__(__self__, *, @@ -1032,6 +1436,23 @@ def launch_template_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "launch_template_name", value) +if not MYPY: + class AutoScalingGroupLaunchTemplateArgsDict(TypedDict): + """ + Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy. + ``LaunchTemplate`` is a property of the [AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-mixedinstancespolicy.html) property type. + """ + launch_template_specification: pulumi.Input['AutoScalingGroupLaunchTemplateSpecificationArgsDict'] + """ + The launch template. + """ + overrides: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutoScalingGroupLaunchTemplateOverridesArgsDict']]]] + """ + Any properties that you specify override the same properties in the launch template. + """ +elif False: + AutoScalingGroupLaunchTemplateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupLaunchTemplateArgs: def __init__(__self__, *, @@ -1072,6 +1493,47 @@ def overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AutoScal pulumi.set(self, "overrides", value) +if not MYPY: + class AutoScalingGroupLifecycleHookSpecificationArgsDict(TypedDict): + """ + ``LifecycleHookSpecification`` specifies a lifecycle hook for the ``LifecycleHookSpecificationList`` property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource. A lifecycle hook specifies actions to perform when Amazon EC2 Auto Scaling launches or terminates instances. + For more information, see [Amazon EC2 Auto Scaling lifecycle hooks](https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html) in the *Amazon EC2 Auto Scaling User Guide*. You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html#aws-resource-as-lifecyclehook--examples) section of the ``AWS::AutoScaling::LifecycleHook`` resource. + """ + lifecycle_hook_name: pulumi.Input[str] + """ + The name of the lifecycle hook. + """ + lifecycle_transition: pulumi.Input[str] + """ + The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions. + + To create a lifecycle hook for scale-out events, specify ``autoscaling:EC2_INSTANCE_LAUNCHING``. + + To create a lifecycle hook for scale-in events, specify ``autoscaling:EC2_INSTANCE_TERMINATING``. + """ + default_result: NotRequired[pulumi.Input[str]] + """ + The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is ``ABANDON``. + Valid values: ``CONTINUE`` | ``ABANDON`` + """ + heartbeat_timeout: NotRequired[pulumi.Input[int]] + """ + The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from ``30`` to ``7200`` seconds. The default value is ``3600`` seconds (1 hour). + """ + notification_metadata: NotRequired[pulumi.Input[str]] + """ + Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target. + """ + notification_target_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see [Prepare to add a lifecycle hook to your Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html) in the *Amazon EC2 Auto Scaling User Guide*. + Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue. + """ +elif False: + AutoScalingGroupLifecycleHookSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupLifecycleHookSpecificationArgs: def __init__(__self__, *, @@ -1199,6 +1661,22 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class AutoScalingGroupMemoryGiBPerVCpuRequestArgsDict(TypedDict): + """ + ``MemoryGiBPerVCpuRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum amount of memory per vCPU for an instance type, in GiB. + """ + max: NotRequired[pulumi.Input[float]] + """ + The memory maximum in GiB. + """ + min: NotRequired[pulumi.Input[float]] + """ + The memory minimum in GiB. + """ +elif False: + AutoScalingGroupMemoryGiBPerVCpuRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupMemoryGiBPerVCpuRequestArgs: def __init__(__self__, *, @@ -1239,6 +1717,22 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class AutoScalingGroupMemoryMiBRequestArgsDict(TypedDict): + """ + ``MemoryMiBRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum instance memory size for an instance type, in MiB. + """ + max: NotRequired[pulumi.Input[int]] + """ + The memory maximum in MiB. + """ + min: NotRequired[pulumi.Input[int]] + """ + The memory minimum in MiB. + """ +elif False: + AutoScalingGroupMemoryMiBRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupMemoryMiBRequestArgs: def __init__(__self__, *, @@ -1279,6 +1773,47 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class AutoScalingGroupMetricsCollectionArgsDict(TypedDict): + """ + ``MetricsCollection`` is a property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource that describes the group metrics that an Amazon EC2 Auto Scaling group sends to Amazon CloudWatch. These metrics describe the group rather than any of its instances. + For more information, see [Monitor CloudWatch metrics for your Auto Scaling groups and instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html) in the *Amazon EC2 Auto Scaling User Guide*. You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#aws-resource-autoscaling-autoscalinggroup--examples) section of the ``AWS::AutoScaling::AutoScalingGroup`` resource. + """ + granularity: pulumi.Input[str] + """ + The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is ``1Minute``. + """ + metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Identifies the metrics to enable. + You can specify one or more of the following metrics: + + ``GroupMinSize`` + + ``GroupMaxSize`` + + ``GroupDesiredCapacity`` + + ``GroupInServiceInstances`` + + ``GroupPendingInstances`` + + ``GroupStandbyInstances`` + + ``GroupTerminatingInstances`` + + ``GroupTotalInstances`` + + ``GroupInServiceCapacity`` + + ``GroupPendingCapacity`` + + ``GroupStandbyCapacity`` + + ``GroupTerminatingCapacity`` + + ``GroupTotalCapacity`` + + ``WarmPoolDesiredCapacity`` + + ``WarmPoolWarmedCapacity`` + + ``WarmPoolPendingCapacity`` + + ``WarmPoolTerminatingCapacity`` + + ``WarmPoolTotalCapacity`` + + ``GroupAndWarmPoolDesiredCapacity`` + + ``GroupAndWarmPoolTotalCapacity`` + + If you specify ``Granularity`` and don't specify any metrics, all metrics are enabled. + For more information, see [Amazon CloudWatch metrics for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html) in the *Amazon EC2 Auto Scaling User Guide*. + """ +elif False: + AutoScalingGroupMetricsCollectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupMetricsCollectionArgs: def __init__(__self__, *, @@ -1367,6 +1902,30 @@ def metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "metrics", value) +if not MYPY: + class AutoScalingGroupMixedInstancesPolicyArgsDict(TypedDict): + """ + Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group. + A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see [Auto Scaling groups with multiple instance types and purchase options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html) in the *Amazon EC2 Auto Scaling User Guide*. + You can create a mixed instances policy for new and existing Auto Scaling groups. You must use a launch template to configure the policy. You cannot use a launch configuration. + There are key differences between Spot Instances and On-Demand Instances: + + The price for Spot Instances varies based on demand + + Amazon EC2 can terminate an individual Spot Instance as the availability of, or price for, Spot Instances changes + + When a Spot Instance is terminated, Amazon EC2 Auto Scaling group attempts to launch a replacement instance to maintain the desired capacity for the group. + ``MixedInstancesPolicy`` is a property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource. + """ + launch_template: pulumi.Input['AutoScalingGroupLaunchTemplateArgsDict'] + """ + One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. + """ + instances_distribution: NotRequired[pulumi.Input['AutoScalingGroupInstancesDistributionArgsDict']] + """ + The instances distribution. + """ +elif False: + AutoScalingGroupMixedInstancesPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupMixedInstancesPolicyArgs: def __init__(__self__, *, @@ -1414,6 +1973,23 @@ def instances_distribution(self, value: Optional[pulumi.Input['AutoScalingGroupI pulumi.set(self, "instances_distribution", value) +if not MYPY: + class AutoScalingGroupNetworkBandwidthGbpsRequestArgsDict(TypedDict): + """ + ``NetworkBandwidthGbpsRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum network bandwidth for an instance type, in Gbps. + Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see [Available instance bandwidth](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth) in the *Amazon EC2 User Guide for Linux Instances*. + """ + max: NotRequired[pulumi.Input[float]] + """ + The maximum amount of network bandwidth, in gigabits per second (Gbps). + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum amount of network bandwidth, in gigabits per second (Gbps). + """ +elif False: + AutoScalingGroupNetworkBandwidthGbpsRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupNetworkBandwidthGbpsRequestArgs: def __init__(__self__, *, @@ -1455,6 +2031,22 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class AutoScalingGroupNetworkInterfaceCountRequestArgsDict(TypedDict): + """ + ``NetworkInterfaceCountRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum number of network interfaces for an instance type. + """ + max: NotRequired[pulumi.Input[int]] + """ + The maximum number of network interfaces. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum number of network interfaces. + """ +elif False: + AutoScalingGroupNetworkInterfaceCountRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupNetworkInterfaceCountRequestArgs: def __init__(__self__, *, @@ -1495,6 +2087,30 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class AutoScalingGroupNotificationConfigurationArgsDict(TypedDict): + """ + A structure that specifies an Amazon SNS notification configuration for the ``NotificationConfigurations`` property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource. + For an example template snippet, see [Configure Amazon EC2 Auto Scaling resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-ec2-auto-scaling.html). + For more information, see [Get Amazon SNS notifications when your Auto Scaling group scales](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html) in the *Amazon EC2 Auto Scaling User Guide*. + """ + topic_arn: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The Amazon Resource Name (ARN) of the Amazon SNS topic. + """ + notification_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of event types that send a notification. Event types can include any of the following types. + *Allowed values*: + + ``autoscaling:EC2_INSTANCE_LAUNCH`` + + ``autoscaling:EC2_INSTANCE_LAUNCH_ERROR`` + + ``autoscaling:EC2_INSTANCE_TERMINATE`` + + ``autoscaling:EC2_INSTANCE_TERMINATE_ERROR`` + + ``autoscaling:TEST_NOTIFICATION`` + """ +elif False: + AutoScalingGroupNotificationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupNotificationConfigurationArgs: def __init__(__self__, *, @@ -1548,6 +2164,31 @@ def notification_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "notification_types", value) +if not MYPY: + class AutoScalingGroupTagPropertyArgsDict(TypedDict): + """ + A structure that specifies a tag for the ``Tags`` property of [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html) resource. + For more information, see [Tag Auto Scaling groups and instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html) in the *Amazon EC2 Auto Scaling User Guide*. You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#aws-resource-autoscaling-autoscalinggroup--examples) section of the ``AWS::AutoScaling::AutoScalingGroup`` resource. + CloudFormation adds the following tags to all Auto Scaling groups and associated instances: + + aws:cloudformation:stack-name + + aws:cloudformation:stack-id + + aws:cloudformation:logical-id + """ + key: pulumi.Input[str] + """ + The tag key. + """ + propagate_at_launch: pulumi.Input[bool] + """ + Set to ``true`` if you want CloudFormation to copy the tag to EC2 instances that are launched as part of the Auto Scaling group. Set to ``false`` if you want the tag attached only to the Auto Scaling group and not copied to any instances launched as part of the Auto Scaling group. + """ + value: pulumi.Input[str] + """ + The tag value. + """ +elif False: + AutoScalingGroupTagPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupTagPropertyArgs: def __init__(__self__, *, @@ -1606,6 +2247,22 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class AutoScalingGroupTotalLocalStorageGbRequestArgsDict(TypedDict): + """ + ``TotalLocalStorageGBRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum total local storage size for an instance type, in GB. + """ + max: NotRequired[pulumi.Input[float]] + """ + The storage maximum in GB. + """ + min: NotRequired[pulumi.Input[float]] + """ + The storage minimum in GB. + """ +elif False: + AutoScalingGroupTotalLocalStorageGbRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupTotalLocalStorageGbRequestArgs: def __init__(__self__, *, @@ -1646,6 +2303,22 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class AutoScalingGroupVCpuCountRequestArgsDict(TypedDict): + """ + ``VCpuCountRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum number of vCPUs for an instance type. + """ + max: NotRequired[pulumi.Input[int]] + """ + The maximum number of vCPUs. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum number of vCPUs. + """ +elif False: + AutoScalingGroupVCpuCountRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutoScalingGroupVCpuCountRequestArgs: def __init__(__self__, *, @@ -1686,6 +2359,30 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class LaunchConfigurationBlockDeviceMappingArgsDict(TypedDict): + """ + BlockDeviceMapping is a property of AWS::AutoScaling::LaunchConfiguration that describes a block device mapping for an Auto Scaling group. + """ + device_name: pulumi.Input[str] + """ + The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). + """ + ebs: NotRequired[pulumi.Input['LaunchConfigurationBlockDeviceArgsDict']] + """ + Parameters used to automatically set up EBS volumes when an instance is launched. + """ + no_device: NotRequired[pulumi.Input[bool]] + """ + Setting this value to true suppresses the specified device included in the block device mapping of the AMI. + """ + virtual_name: NotRequired[pulumi.Input[str]] + """ + The name of the virtual device. + """ +elif False: + LaunchConfigurationBlockDeviceMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchConfigurationBlockDeviceMappingArgs: def __init__(__self__, *, @@ -1757,6 +2454,42 @@ def virtual_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "virtual_name", value) +if not MYPY: + class LaunchConfigurationBlockDeviceArgsDict(TypedDict): + """ + BlockDevice is a subproperty of BlockDeviceMapping that describes an Amazon EBS volume. + """ + delete_on_termination: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the volume is deleted on instance termination. + """ + encrypted: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the volume should be encrypted. + """ + iops: NotRequired[pulumi.Input[int]] + """ + The number of input/output (I/O) operations per second (IOPS) to provision for the volume. + """ + snapshot_id: NotRequired[pulumi.Input[str]] + """ + The snapshot ID of the volume to use. + """ + throughput: NotRequired[pulumi.Input[int]] + """ + The throughput (MiBps) to provision for a gp3 volume. + """ + volume_size: NotRequired[pulumi.Input[int]] + """ + The volume size, in GiBs. + """ + volume_type: NotRequired[pulumi.Input[str]] + """ + The volume type. + """ +elif False: + LaunchConfigurationBlockDeviceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchConfigurationBlockDeviceArgs: def __init__(__self__, *, @@ -1877,6 +2610,26 @@ def volume_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_type", value) +if not MYPY: + class LaunchConfigurationMetadataOptionsArgsDict(TypedDict): + """ + MetadataOptions is a property of AWS::AutoScaling::LaunchConfiguration that describes metadata options for the instances. + """ + http_endpoint: NotRequired[pulumi.Input[str]] + """ + This parameter enables or disables the HTTP metadata endpoint on your instances. + """ + http_put_response_hop_limit: NotRequired[pulumi.Input[int]] + """ + The desired HTTP PUT response hop limit for instance metadata requests. + """ + http_tokens: NotRequired[pulumi.Input[str]] + """ + The state of token usage for your instance metadata requests. + """ +elif False: + LaunchConfigurationMetadataOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchConfigurationMetadataOptionsArgs: def __init__(__self__, *, @@ -1933,6 +2686,37 @@ def http_tokens(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "http_tokens", value) +if not MYPY: + class ScalingPolicyCustomizedMetricSpecificationArgsDict(TypedDict): + dimensions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ScalingPolicyMetricDimensionArgsDict']]]] + """ + The dimensions of the metric. + + Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy. + """ + metric_name: NotRequired[pulumi.Input[str]] + """ + The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html) . + """ + metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['ScalingPolicyTargetTrackingMetricDataQueryArgsDict']]]] + """ + The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions. + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The namespace of the metric. + """ + statistic: NotRequired[pulumi.Input[str]] + """ + The statistic of the metric. + """ + unit: NotRequired[pulumi.Input[str]] + """ + The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference* . + """ +elif False: + ScalingPolicyCustomizedMetricSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyCustomizedMetricSpecificationArgs: def __init__(__self__, *, @@ -2027,18 +2811,51 @@ def statistic(self) -> Optional[pulumi.Input[str]]: def statistic(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "statistic", value) - @property - @pulumi.getter - def unit(self) -> Optional[pulumi.Input[str]]: + @property + @pulumi.getter + def unit(self) -> Optional[pulumi.Input[str]]: + """ + The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference* . + """ + return pulumi.get(self, "unit") + + @unit.setter + def unit(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "unit", value) + + +if not MYPY: + class ScalingPolicyMetricDataQueryArgsDict(TypedDict): + id: pulumi.Input[str] + """ + A short name that identifies the object's results in the response. This name must be unique among all `MetricDataQuery` objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter. + """ + expression: NotRequired[pulumi.Input[str]] + """ + The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the `Id` of the other metrics to refer to those metrics, and can also use the `Id` of other expressions to use the result of those expressions. + + Conditional: Within each `MetricDataQuery` object, you must specify either `Expression` or `MetricStat` , but not both. + """ + label: NotRequired[pulumi.Input[str]] + """ + A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents. + """ + metric_stat: NotRequired[pulumi.Input['ScalingPolicyMetricStatArgsDict']] + """ + Information about the metric data to return. + + Conditional: Within each `MetricDataQuery` object, you must specify either `Expression` or `MetricStat` , but not both. """ - The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference* . + return_data: NotRequired[pulumi.Input[bool]] """ - return pulumi.get(self, "unit") + Indicates whether to return the timestamps and raw data values of this metric. - @unit.setter - def unit(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "unit", value) + If you use any math expressions, specify `true` for this value for only the final math expression that the metric specification is based on. You must specify `false` for `ReturnData` for all the other metrics and expressions used in the metric specification. + If you are only retrieving metrics and not performing any math expressions, do not specify anything for `ReturnData` . This sets it to its default ( `true` ). + """ +elif False: + ScalingPolicyMetricDataQueryArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class ScalingPolicyMetricDataQueryArgs: @@ -2142,6 +2959,19 @@ def return_data(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "return_data", value) +if not MYPY: + class ScalingPolicyMetricDimensionArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the dimension. + """ + value: pulumi.Input[str] + """ + The value of the dimension. + """ +elif False: + ScalingPolicyMetricDimensionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyMetricDimensionArgs: def __init__(__self__, *, @@ -2179,6 +3009,25 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ScalingPolicyMetricStatArgsDict(TypedDict): + metric: pulumi.Input['ScalingPolicyMetricArgsDict'] + """ + The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html) . + """ + stat: pulumi.Input[str] + """ + The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide* . + + The most commonly used metrics for predictive scaling are `Average` and `Sum` . + """ + unit: NotRequired[pulumi.Input[str]] + """ + The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference* . + """ +elif False: + ScalingPolicyMetricStatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyMetricStatArgs: def __init__(__self__, *, @@ -2236,6 +3085,25 @@ def unit(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit", value) +if not MYPY: + class ScalingPolicyMetricArgsDict(TypedDict): + metric_name: pulumi.Input[str] + """ + The name of the metric. + """ + namespace: pulumi.Input[str] + """ + The namespace of the metric. For more information, see the table in [AWS services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide* . + """ + dimensions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ScalingPolicyMetricDimensionArgsDict']]]] + """ + The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in [AWS services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide* . + + Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy. + """ +elif False: + ScalingPolicyMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyMetricArgs: def __init__(__self__, *, @@ -2293,6 +3161,35 @@ def dimensions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Scaling pulumi.set(self, "dimensions", value) +if not MYPY: + class ScalingPolicyPredefinedMetricSpecificationArgsDict(TypedDict): + predefined_metric_type: pulumi.Input[str] + """ + The metric type. The following predefined metrics are available: + + - `ASGAverageCPUUtilization` - Average CPU utilization of the Auto Scaling group. + - `ASGAverageNetworkIn` - Average number of bytes received on all network interfaces by the Auto Scaling group. + - `ASGAverageNetworkOut` - Average number of bytes sent out on all network interfaces by the Auto Scaling group. + - `ALBRequestCountPerTarget` - Average Application Load Balancer request count per target for your Auto Scaling group. + """ + resource_label: NotRequired[pulumi.Input[str]] + """ + A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group. + + You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is: + + `app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff` . + + Where: + + - app// is the final portion of the load balancer ARN + - targetgroup// is the final portion of the target group ARN. + + To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation. + """ +elif False: + ScalingPolicyPredefinedMetricSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyPredefinedMetricSpecificationArgs: def __init__(__self__, *, @@ -2363,6 +3260,46 @@ def resource_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "resource_label", value) +if not MYPY: + class ScalingPolicyPredictiveScalingConfigurationArgsDict(TypedDict): + metric_specifications: pulumi.Input[Sequence[pulumi.Input['ScalingPolicyPredictiveScalingMetricSpecificationArgsDict']]] + """ + This structure includes the metrics and target utilization to use for predictive scaling. + + This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric. + """ + max_capacity_breach_behavior: NotRequired[pulumi.Input[str]] + """ + Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Defaults to `HonorMaxCapacity` if not specified. + + The following are possible values: + + - `HonorMaxCapacity` - Amazon EC2 Auto Scaling can't increase the maximum capacity of the group when the forecast capacity is close to or exceeds the maximum capacity. + - `IncreaseMaxCapacity` - Amazon EC2 Auto Scaling can increase the maximum capacity of the group when the forecast capacity is close to or exceeds the maximum capacity. The upper limit is determined by the forecasted capacity and the value for `MaxCapacityBuffer` . + + > Use caution when allowing the maximum capacity to be automatically increased. This can lead to more instances being launched than intended if the increased maximum capacity is not monitored and managed. The increased maximum capacity then becomes the new normal maximum capacity for the Auto Scaling group until you manually update it. The maximum capacity does not automatically decrease back to the original maximum. + """ + max_capacity_buffer: NotRequired[pulumi.Input[int]] + """ + The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55. + + If set to 0, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity. + + Required if the `MaxCapacityBreachBehavior` property is set to `IncreaseMaxCapacity` , and cannot be used otherwise. + """ + mode: NotRequired[pulumi.Input[str]] + """ + The predictive scaling mode. Defaults to `ForecastOnly` if not specified. + """ + scheduling_buffer_time: NotRequired[pulumi.Input[int]] + """ + The amount of time, in seconds, by which the instance launch time can be advanced. For example, the forecast says to add capacity at 10:00 AM, and you choose to pre-launch instances by 5 minutes. In that case, the instances will be launched at 9:55 AM. The intention is to give resources time to be provisioned. It can take a few minutes to launch an EC2 instance. The actual amount of time required depends on several factors, such as the size of the instance and whether there are startup scripts to complete. + + The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified. + """ +elif False: + ScalingPolicyPredictiveScalingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyPredictiveScalingConfigurationArgs: def __init__(__self__, *, @@ -2479,6 +3416,15 @@ def scheduling_buffer_time(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "scheduling_buffer_time", value) +if not MYPY: + class ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgsDict(TypedDict): + metric_data_queries: pulumi.Input[Sequence[pulumi.Input['ScalingPolicyMetricDataQueryArgsDict']]] + """ + One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data. + """ +elif False: + ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs: def __init__(__self__, *, @@ -2501,6 +3447,15 @@ def metric_data_queries(self, value: pulumi.Input[Sequence[pulumi.Input['Scaling pulumi.set(self, "metric_data_queries", value) +if not MYPY: + class ScalingPolicyPredictiveScalingCustomizedLoadMetricArgsDict(TypedDict): + metric_data_queries: pulumi.Input[Sequence[pulumi.Input['ScalingPolicyMetricDataQueryArgsDict']]] + """ + One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data. + """ +elif False: + ScalingPolicyPredictiveScalingCustomizedLoadMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs: def __init__(__self__, *, @@ -2523,6 +3478,15 @@ def metric_data_queries(self, value: pulumi.Input[Sequence[pulumi.Input['Scaling pulumi.set(self, "metric_data_queries", value) +if not MYPY: + class ScalingPolicyPredictiveScalingCustomizedScalingMetricArgsDict(TypedDict): + metric_data_queries: pulumi.Input[Sequence[pulumi.Input['ScalingPolicyMetricDataQueryArgsDict']]] + """ + One or more metric data queries to provide the data points for a scaling metric. Use multiple metric data queries only if you are performing a math expression on returned data. + """ +elif False: + ScalingPolicyPredictiveScalingCustomizedScalingMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs: def __init__(__self__, *, @@ -2545,6 +3509,41 @@ def metric_data_queries(self, value: pulumi.Input[Sequence[pulumi.Input['Scaling pulumi.set(self, "metric_data_queries", value) +if not MYPY: + class ScalingPolicyPredictiveScalingMetricSpecificationArgsDict(TypedDict): + target_value: pulumi.Input[float] + """ + Specifies the target utilization. + + > Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval. + """ + customized_capacity_metric_specification: NotRequired[pulumi.Input['ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgsDict']] + """ + The customized capacity metric specification. + """ + customized_load_metric_specification: NotRequired[pulumi.Input['ScalingPolicyPredictiveScalingCustomizedLoadMetricArgsDict']] + """ + The customized load metric specification. + """ + customized_scaling_metric_specification: NotRequired[pulumi.Input['ScalingPolicyPredictiveScalingCustomizedScalingMetricArgsDict']] + """ + The customized scaling metric specification. + """ + predefined_load_metric_specification: NotRequired[pulumi.Input['ScalingPolicyPredictiveScalingPredefinedLoadMetricArgsDict']] + """ + The predefined load metric specification. + """ + predefined_metric_pair_specification: NotRequired[pulumi.Input['ScalingPolicyPredictiveScalingPredefinedMetricPairArgsDict']] + """ + The predefined metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use. + """ + predefined_scaling_metric_specification: NotRequired[pulumi.Input['ScalingPolicyPredictiveScalingPredefinedScalingMetricArgsDict']] + """ + The predefined scaling metric specification. + """ +elif False: + ScalingPolicyPredictiveScalingMetricSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyPredictiveScalingMetricSpecificationArgs: def __init__(__self__, *, @@ -2667,6 +3666,30 @@ def predefined_scaling_metric_specification(self, value: Optional[pulumi.Input[' pulumi.set(self, "predefined_scaling_metric_specification", value) +if not MYPY: + class ScalingPolicyPredictiveScalingPredefinedLoadMetricArgsDict(TypedDict): + predefined_metric_type: pulumi.Input[str] + """ + The metric type. + """ + resource_label: NotRequired[pulumi.Input[str]] + """ + A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group. + + You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is: + + `app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff` . + + Where: + + - app// is the final portion of the load balancer ARN + - targetgroup// is the final portion of the target group ARN. + + To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation. + """ +elif False: + ScalingPolicyPredictiveScalingPredefinedLoadMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs: def __init__(__self__, *, @@ -2727,6 +3750,30 @@ def resource_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "resource_label", value) +if not MYPY: + class ScalingPolicyPredictiveScalingPredefinedMetricPairArgsDict(TypedDict): + predefined_metric_type: pulumi.Input[str] + """ + Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric. For example, if the metric type is `ASGCPUUtilization` , the Auto Scaling group's total CPU metric is used as the load metric, and the average CPU metric is used for the scaling metric. + """ + resource_label: NotRequired[pulumi.Input[str]] + """ + A label that uniquely identifies a specific Application Load Balancer target group from which to determine the total and average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group. + + You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is: + + `app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff` . + + Where: + + - app// is the final portion of the load balancer ARN + - targetgroup// is the final portion of the target group ARN. + + To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation. + """ +elif False: + ScalingPolicyPredictiveScalingPredefinedMetricPairArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyPredictiveScalingPredefinedMetricPairArgs: def __init__(__self__, *, @@ -2787,6 +3834,30 @@ def resource_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "resource_label", value) +if not MYPY: + class ScalingPolicyPredictiveScalingPredefinedScalingMetricArgsDict(TypedDict): + predefined_metric_type: pulumi.Input[str] + """ + The metric type. + """ + resource_label: NotRequired[pulumi.Input[str]] + """ + A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group. + + You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is: + + `app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff` . + + Where: + + - app// is the final portion of the load balancer ARN + - targetgroup// is the final portion of the target group ARN. + + To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation. + """ +elif False: + ScalingPolicyPredictiveScalingPredefinedScalingMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs: def __init__(__self__, *, @@ -2847,6 +3918,25 @@ def resource_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "resource_label", value) +if not MYPY: + class ScalingPolicyStepAdjustmentArgsDict(TypedDict): + scaling_adjustment: pulumi.Input[int] + """ + The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a non-negative value. + """ + metric_interval_lower_bound: NotRequired[pulumi.Input[float]] + """ + The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity. + """ + metric_interval_upper_bound: NotRequired[pulumi.Input[float]] + """ + The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. + + The upper bound must be greater than the lower bound. + """ +elif False: + ScalingPolicyStepAdjustmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyStepAdjustmentArgs: def __init__(__self__, *, @@ -2905,6 +3995,29 @@ def metric_interval_upper_bound(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "metric_interval_upper_bound", value) +if not MYPY: + class ScalingPolicyTargetTrackingConfigurationArgsDict(TypedDict): + target_value: pulumi.Input[float] + """ + The target value for the metric. + + > Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval. + """ + customized_metric_specification: NotRequired[pulumi.Input['ScalingPolicyCustomizedMetricSpecificationArgsDict']] + """ + A customized metric. You must specify either a predefined metric or a customized metric. + """ + disable_scale_in: NotRequired[pulumi.Input[bool]] + """ + Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is `false` . + """ + predefined_metric_specification: NotRequired[pulumi.Input['ScalingPolicyPredefinedMetricSpecificationArgsDict']] + """ + A predefined metric. You must specify either a predefined metric or a customized metric. + """ +elif False: + ScalingPolicyTargetTrackingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyTargetTrackingConfigurationArgs: def __init__(__self__, *, @@ -2979,6 +4092,39 @@ def predefined_metric_specification(self, value: Optional[pulumi.Input['ScalingP pulumi.set(self, "predefined_metric_specification", value) +if not MYPY: + class ScalingPolicyTargetTrackingMetricDataQueryArgsDict(TypedDict): + id: pulumi.Input[str] + """ + A short name that identifies the object's results in the response. This name must be unique among all `TargetTrackingMetricDataQuery` objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter. + """ + expression: NotRequired[pulumi.Input[str]] + """ + The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the `Id` of the other metrics to refer to those metrics, and can also use the `Id` of other expressions to use the result of those expressions. + + Conditional: Within each `TargetTrackingMetricDataQuery` object, you must specify either `Expression` or `MetricStat` , but not both. + """ + label: NotRequired[pulumi.Input[str]] + """ + A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents. + """ + metric_stat: NotRequired[pulumi.Input['ScalingPolicyTargetTrackingMetricStatArgsDict']] + """ + Information about the metric data to return. + + Conditional: Within each `TargetTrackingMetricDataQuery` object, you must specify either `Expression` or `MetricStat` , but not both. + """ + return_data: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to return the timestamps and raw data values of this metric. + + If you use any math expressions, specify `true` for this value for only the final math expression that the metric specification is based on. You must specify `false` for `ReturnData` for all the other metrics and expressions used in the metric specification. + + If you are only retrieving metrics and not performing any math expressions, do not specify anything for `ReturnData` . This sets it to its default ( `true` ). + """ +elif False: + ScalingPolicyTargetTrackingMetricDataQueryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyTargetTrackingMetricDataQueryArgs: def __init__(__self__, *, @@ -3081,6 +4227,25 @@ def return_data(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "return_data", value) +if not MYPY: + class ScalingPolicyTargetTrackingMetricStatArgsDict(TypedDict): + metric: pulumi.Input['ScalingPolicyMetricArgsDict'] + """ + The metric to use. + """ + stat: pulumi.Input[str] + """ + The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide* . + + The most commonly used metric for scaling is `Average` . + """ + unit: NotRequired[pulumi.Input[str]] + """ + The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference* . + """ +elif False: + ScalingPolicyTargetTrackingMetricStatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScalingPolicyTargetTrackingMetricStatArgs: def __init__(__self__, *, @@ -3138,6 +4303,15 @@ def unit(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit", value) +if not MYPY: + class WarmPoolInstanceReusePolicyArgsDict(TypedDict): + reuse_on_scale_in: NotRequired[pulumi.Input[bool]] + """ + Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in. + """ +elif False: + WarmPoolInstanceReusePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WarmPoolInstanceReusePolicyArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/autoscaling/auto_scaling_group.py b/sdk/python/pulumi_aws_native/autoscaling/auto_scaling_group.py index 9af9f6c3ad..6b08463435 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/auto_scaling_group.py +++ b/sdk/python/pulumi_aws_native/autoscaling/auto_scaling_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/autoscaling/get_auto_scaling_group.py b/sdk/python/pulumi_aws_native/autoscaling/get_auto_scaling_group.py index d983af53e6..6e7be18ada 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/get_auto_scaling_group.py +++ b/sdk/python/pulumi_aws_native/autoscaling/get_auto_scaling_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -432,9 +437,6 @@ def get_auto_scaling_group(auto_scaling_group_name: Optional[str] = None, target_group_arns=pulumi.get(__ret__, 'target_group_arns'), termination_policies=pulumi.get(__ret__, 'termination_policies'), vpc_zone_identifier=pulumi.get(__ret__, 'vpc_zone_identifier')) - - -@_utilities.lift_output_func(get_auto_scaling_group) def get_auto_scaling_group_output(auto_scaling_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutoScalingGroupResult]: """ @@ -448,4 +450,36 @@ def get_auto_scaling_group_output(auto_scaling_group_name: Optional[pulumi.Input The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. You cannot use a colon (:) in the name. """ - ... + __args__ = dict() + __args__['autoScalingGroupName'] = auto_scaling_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:autoscaling:getAutoScalingGroup', __args__, opts=opts, typ=GetAutoScalingGroupResult) + return __ret__.apply(lambda __response__: GetAutoScalingGroupResult( + availability_zones=pulumi.get(__response__, 'availability_zones'), + capacity_rebalance=pulumi.get(__response__, 'capacity_rebalance'), + context=pulumi.get(__response__, 'context'), + cooldown=pulumi.get(__response__, 'cooldown'), + default_instance_warmup=pulumi.get(__response__, 'default_instance_warmup'), + desired_capacity=pulumi.get(__response__, 'desired_capacity'), + desired_capacity_type=pulumi.get(__response__, 'desired_capacity_type'), + health_check_grace_period=pulumi.get(__response__, 'health_check_grace_period'), + health_check_type=pulumi.get(__response__, 'health_check_type'), + instance_maintenance_policy=pulumi.get(__response__, 'instance_maintenance_policy'), + launch_configuration_name=pulumi.get(__response__, 'launch_configuration_name'), + launch_template=pulumi.get(__response__, 'launch_template'), + lifecycle_hook_specification_list=pulumi.get(__response__, 'lifecycle_hook_specification_list'), + load_balancer_names=pulumi.get(__response__, 'load_balancer_names'), + max_instance_lifetime=pulumi.get(__response__, 'max_instance_lifetime'), + max_size=pulumi.get(__response__, 'max_size'), + metrics_collection=pulumi.get(__response__, 'metrics_collection'), + min_size=pulumi.get(__response__, 'min_size'), + mixed_instances_policy=pulumi.get(__response__, 'mixed_instances_policy'), + new_instances_protected_from_scale_in=pulumi.get(__response__, 'new_instances_protected_from_scale_in'), + notification_configuration=pulumi.get(__response__, 'notification_configuration'), + notification_configurations=pulumi.get(__response__, 'notification_configurations'), + placement_group=pulumi.get(__response__, 'placement_group'), + service_linked_role_arn=pulumi.get(__response__, 'service_linked_role_arn'), + tags=pulumi.get(__response__, 'tags'), + target_group_arns=pulumi.get(__response__, 'target_group_arns'), + termination_policies=pulumi.get(__response__, 'termination_policies'), + vpc_zone_identifier=pulumi.get(__response__, 'vpc_zone_identifier'))) diff --git a/sdk/python/pulumi_aws_native/autoscaling/get_lifecycle_hook.py b/sdk/python/pulumi_aws_native/autoscaling/get_lifecycle_hook.py index 0f5ca2353a..b19d38bc63 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/get_lifecycle_hook.py +++ b/sdk/python/pulumi_aws_native/autoscaling/get_lifecycle_hook.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -124,9 +129,6 @@ def get_lifecycle_hook(auto_scaling_group_name: Optional[str] = None, notification_metadata=pulumi.get(__ret__, 'notification_metadata'), notification_target_arn=pulumi.get(__ret__, 'notification_target_arn'), role_arn=pulumi.get(__ret__, 'role_arn')) - - -@_utilities.lift_output_func(get_lifecycle_hook) def get_lifecycle_hook_output(auto_scaling_group_name: Optional[pulumi.Input[str]] = None, lifecycle_hook_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLifecycleHookResult]: @@ -137,4 +139,15 @@ def get_lifecycle_hook_output(auto_scaling_group_name: Optional[pulumi.Input[str :param str auto_scaling_group_name: The name of the Auto Scaling group for the lifecycle hook. :param str lifecycle_hook_name: The name of the lifecycle hook. """ - ... + __args__ = dict() + __args__['autoScalingGroupName'] = auto_scaling_group_name + __args__['lifecycleHookName'] = lifecycle_hook_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:autoscaling:getLifecycleHook', __args__, opts=opts, typ=GetLifecycleHookResult) + return __ret__.apply(lambda __response__: GetLifecycleHookResult( + default_result=pulumi.get(__response__, 'default_result'), + heartbeat_timeout=pulumi.get(__response__, 'heartbeat_timeout'), + lifecycle_transition=pulumi.get(__response__, 'lifecycle_transition'), + notification_metadata=pulumi.get(__response__, 'notification_metadata'), + notification_target_arn=pulumi.get(__response__, 'notification_target_arn'), + role_arn=pulumi.get(__response__, 'role_arn'))) diff --git a/sdk/python/pulumi_aws_native/autoscaling/get_scaling_policy.py b/sdk/python/pulumi_aws_native/autoscaling/get_scaling_policy.py index dec9876fed..9386ebb845 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/get_scaling_policy.py +++ b/sdk/python/pulumi_aws_native/autoscaling/get_scaling_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -200,9 +205,6 @@ def get_scaling_policy(arn: Optional[str] = None, scaling_adjustment=pulumi.get(__ret__, 'scaling_adjustment'), step_adjustments=pulumi.get(__ret__, 'step_adjustments'), target_tracking_configuration=pulumi.get(__ret__, 'target_tracking_configuration')) - - -@_utilities.lift_output_func(get_scaling_policy) def get_scaling_policy_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScalingPolicyResult]: """ @@ -211,4 +213,20 @@ def get_scaling_policy_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the AutoScaling scaling policy """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:autoscaling:getScalingPolicy', __args__, opts=opts, typ=GetScalingPolicyResult) + return __ret__.apply(lambda __response__: GetScalingPolicyResult( + adjustment_type=pulumi.get(__response__, 'adjustment_type'), + arn=pulumi.get(__response__, 'arn'), + cooldown=pulumi.get(__response__, 'cooldown'), + estimated_instance_warmup=pulumi.get(__response__, 'estimated_instance_warmup'), + metric_aggregation_type=pulumi.get(__response__, 'metric_aggregation_type'), + min_adjustment_magnitude=pulumi.get(__response__, 'min_adjustment_magnitude'), + policy_name=pulumi.get(__response__, 'policy_name'), + policy_type=pulumi.get(__response__, 'policy_type'), + predictive_scaling_configuration=pulumi.get(__response__, 'predictive_scaling_configuration'), + scaling_adjustment=pulumi.get(__response__, 'scaling_adjustment'), + step_adjustments=pulumi.get(__response__, 'step_adjustments'), + target_tracking_configuration=pulumi.get(__response__, 'target_tracking_configuration'))) diff --git a/sdk/python/pulumi_aws_native/autoscaling/get_scheduled_action.py b/sdk/python/pulumi_aws_native/autoscaling/get_scheduled_action.py index 014c46265f..de4a0d2057 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/get_scheduled_action.py +++ b/sdk/python/pulumi_aws_native/autoscaling/get_scheduled_action.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -150,9 +155,6 @@ def get_scheduled_action(auto_scaling_group_name: Optional[str] = None, scheduled_action_name=pulumi.get(__ret__, 'scheduled_action_name'), start_time=pulumi.get(__ret__, 'start_time'), time_zone=pulumi.get(__ret__, 'time_zone')) - - -@_utilities.lift_output_func(get_scheduled_action) def get_scheduled_action_output(auto_scaling_group_name: Optional[pulumi.Input[str]] = None, scheduled_action_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduledActionResult]: @@ -163,4 +165,17 @@ def get_scheduled_action_output(auto_scaling_group_name: Optional[pulumi.Input[s :param str auto_scaling_group_name: The name of the Auto Scaling group. :param str scheduled_action_name: Auto-generated unique identifier """ - ... + __args__ = dict() + __args__['autoScalingGroupName'] = auto_scaling_group_name + __args__['scheduledActionName'] = scheduled_action_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:autoscaling:getScheduledAction', __args__, opts=opts, typ=GetScheduledActionResult) + return __ret__.apply(lambda __response__: GetScheduledActionResult( + desired_capacity=pulumi.get(__response__, 'desired_capacity'), + end_time=pulumi.get(__response__, 'end_time'), + max_size=pulumi.get(__response__, 'max_size'), + min_size=pulumi.get(__response__, 'min_size'), + recurrence=pulumi.get(__response__, 'recurrence'), + scheduled_action_name=pulumi.get(__response__, 'scheduled_action_name'), + start_time=pulumi.get(__response__, 'start_time'), + time_zone=pulumi.get(__response__, 'time_zone'))) diff --git a/sdk/python/pulumi_aws_native/autoscaling/get_warm_pool.py b/sdk/python/pulumi_aws_native/autoscaling/get_warm_pool.py index 49b4eea8b7..5ef7cccea1 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/get_warm_pool.py +++ b/sdk/python/pulumi_aws_native/autoscaling/get_warm_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -102,9 +107,6 @@ def get_warm_pool(auto_scaling_group_name: Optional[str] = None, max_group_prepared_capacity=pulumi.get(__ret__, 'max_group_prepared_capacity'), min_size=pulumi.get(__ret__, 'min_size'), pool_state=pulumi.get(__ret__, 'pool_state')) - - -@_utilities.lift_output_func(get_warm_pool) def get_warm_pool_output(auto_scaling_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWarmPoolResult]: """ @@ -113,4 +115,12 @@ def get_warm_pool_output(auto_scaling_group_name: Optional[pulumi.Input[str]] = :param str auto_scaling_group_name: The name of the Auto Scaling group. """ - ... + __args__ = dict() + __args__['autoScalingGroupName'] = auto_scaling_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:autoscaling:getWarmPool', __args__, opts=opts, typ=GetWarmPoolResult) + return __ret__.apply(lambda __response__: GetWarmPoolResult( + instance_reuse_policy=pulumi.get(__response__, 'instance_reuse_policy'), + max_group_prepared_capacity=pulumi.get(__response__, 'max_group_prepared_capacity'), + min_size=pulumi.get(__response__, 'min_size'), + pool_state=pulumi.get(__response__, 'pool_state'))) diff --git a/sdk/python/pulumi_aws_native/autoscaling/launch_configuration.py b/sdk/python/pulumi_aws_native/autoscaling/launch_configuration.py index 7ec155615c..2cb8035fd7 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/launch_configuration.py +++ b/sdk/python/pulumi_aws_native/autoscaling/launch_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/autoscaling/lifecycle_hook.py b/sdk/python/pulumi_aws_native/autoscaling/lifecycle_hook.py index ab53c37295..5356fc1e96 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/lifecycle_hook.py +++ b/sdk/python/pulumi_aws_native/autoscaling/lifecycle_hook.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['LifecycleHookArgs', 'LifecycleHook'] diff --git a/sdk/python/pulumi_aws_native/autoscaling/outputs.py b/sdk/python/pulumi_aws_native/autoscaling/outputs.py index 44381c6cd5..09e8910b0b 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/outputs.py +++ b/sdk/python/pulumi_aws_native/autoscaling/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/autoscaling/scaling_policy.py b/sdk/python/pulumi_aws_native/autoscaling/scaling_policy.py index 7d6ab379b0..a1164147cf 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/scaling_policy.py +++ b/sdk/python/pulumi_aws_native/autoscaling/scaling_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/autoscaling/scheduled_action.py b/sdk/python/pulumi_aws_native/autoscaling/scheduled_action.py index 48ea708c16..66cf88f055 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/scheduled_action.py +++ b/sdk/python/pulumi_aws_native/autoscaling/scheduled_action.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ScheduledActionArgs', 'ScheduledAction'] diff --git a/sdk/python/pulumi_aws_native/autoscaling/warm_pool.py b/sdk/python/pulumi_aws_native/autoscaling/warm_pool.py index df735067ec..6e0537ae3a 100644 --- a/sdk/python/pulumi_aws_native/autoscaling/warm_pool.py +++ b/sdk/python/pulumi_aws_native/autoscaling/warm_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/b2bi/_inputs.py b/sdk/python/pulumi_aws_native/b2bi/_inputs.py index 52304f9a03..b054942e08 100644 --- a/sdk/python/pulumi_aws_native/b2bi/_inputs.py +++ b/sdk/python/pulumi_aws_native/b2bi/_inputs.py @@ -4,35 +4,68 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CapabilityConfigurationPropertiesArgs', + 'CapabilityConfigurationPropertiesArgsDict', 'CapabilityEdiConfigurationArgs', + 'CapabilityEdiConfigurationArgsDict', 'CapabilityEdiTypePropertiesArgs', + 'CapabilityEdiTypePropertiesArgsDict', 'CapabilityS3LocationArgs', + 'CapabilityS3LocationArgsDict', 'CapabilityX12DetailsArgs', + 'CapabilityX12DetailsArgsDict', 'PartnershipCapabilityOptionsArgs', + 'PartnershipCapabilityOptionsArgsDict', 'PartnershipOutboundEdiOptionsPropertiesArgs', + 'PartnershipOutboundEdiOptionsPropertiesArgsDict', 'PartnershipX12DelimitersArgs', + 'PartnershipX12DelimitersArgsDict', 'PartnershipX12EnvelopeArgs', + 'PartnershipX12EnvelopeArgsDict', 'PartnershipX12FunctionalGroupHeadersArgs', + 'PartnershipX12FunctionalGroupHeadersArgsDict', 'PartnershipX12InterchangeControlHeadersArgs', + 'PartnershipX12InterchangeControlHeadersArgsDict', 'PartnershipX12OutboundEdiHeadersArgs', + 'PartnershipX12OutboundEdiHeadersArgsDict', 'TransformerEdiTypePropertiesArgs', + 'TransformerEdiTypePropertiesArgsDict', 'TransformerFormatOptionsPropertiesArgs', + 'TransformerFormatOptionsPropertiesArgsDict', 'TransformerInputConversionArgs', + 'TransformerInputConversionArgsDict', 'TransformerMappingArgs', + 'TransformerMappingArgsDict', 'TransformerOutputConversionArgs', + 'TransformerOutputConversionArgsDict', 'TransformerSampleDocumentKeysArgs', + 'TransformerSampleDocumentKeysArgsDict', 'TransformerSampleDocumentsArgs', + 'TransformerSampleDocumentsArgsDict', 'TransformerX12DetailsArgs', + 'TransformerX12DetailsArgsDict', ] +MYPY = False + +if not MYPY: + class CapabilityConfigurationPropertiesArgsDict(TypedDict): + edi: pulumi.Input['CapabilityEdiConfigurationArgsDict'] +elif False: + CapabilityConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapabilityConfigurationPropertiesArgs: def __init__(__self__, *, @@ -49,6 +82,16 @@ def edi(self, value: pulumi.Input['CapabilityEdiConfigurationArgs']): pulumi.set(self, "edi", value) +if not MYPY: + class CapabilityEdiConfigurationArgsDict(TypedDict): + input_location: pulumi.Input['CapabilityS3LocationArgsDict'] + output_location: pulumi.Input['CapabilityS3LocationArgsDict'] + transformer_id: pulumi.Input[str] + type: pulumi.Input['CapabilityEdiTypePropertiesArgsDict'] + capability_direction: NotRequired[pulumi.Input['CapabilityDirection']] +elif False: + CapabilityEdiConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapabilityEdiConfigurationArgs: def __init__(__self__, *, @@ -110,6 +153,12 @@ def capability_direction(self, value: Optional[pulumi.Input['CapabilityDirection pulumi.set(self, "capability_direction", value) +if not MYPY: + class CapabilityEdiTypePropertiesArgsDict(TypedDict): + x12_details: pulumi.Input['CapabilityX12DetailsArgsDict'] +elif False: + CapabilityEdiTypePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapabilityEdiTypePropertiesArgs: def __init__(__self__, *, @@ -126,6 +175,13 @@ def x12_details(self, value: pulumi.Input['CapabilityX12DetailsArgs']): pulumi.set(self, "x12_details", value) +if not MYPY: + class CapabilityS3LocationArgsDict(TypedDict): + bucket_name: NotRequired[pulumi.Input[str]] + key: NotRequired[pulumi.Input[str]] +elif False: + CapabilityS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapabilityS3LocationArgs: def __init__(__self__, *, @@ -155,6 +211,13 @@ def key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key", value) +if not MYPY: + class CapabilityX12DetailsArgsDict(TypedDict): + transaction_set: NotRequired[pulumi.Input['CapabilityX12TransactionSet']] + version: NotRequired[pulumi.Input['CapabilityX12Version']] +elif False: + CapabilityX12DetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapabilityX12DetailsArgs: def __init__(__self__, *, @@ -184,6 +247,15 @@ def version(self, value: Optional[pulumi.Input['CapabilityX12Version']]): pulumi.set(self, "version", value) +if not MYPY: + class PartnershipCapabilityOptionsArgsDict(TypedDict): + outbound_edi: NotRequired[pulumi.Input['PartnershipOutboundEdiOptionsPropertiesArgsDict']] + """ + A structure that contains the outbound EDI options. + """ +elif False: + PartnershipCapabilityOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PartnershipCapabilityOptionsArgs: def __init__(__self__, *, @@ -207,6 +279,12 @@ def outbound_edi(self, value: Optional[pulumi.Input['PartnershipOutboundEdiOptio pulumi.set(self, "outbound_edi", value) +if not MYPY: + class PartnershipOutboundEdiOptionsPropertiesArgsDict(TypedDict): + x12: pulumi.Input['PartnershipX12EnvelopeArgsDict'] +elif False: + PartnershipOutboundEdiOptionsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PartnershipOutboundEdiOptionsPropertiesArgs: def __init__(__self__, *, @@ -223,6 +301,14 @@ def x12(self, value: pulumi.Input['PartnershipX12EnvelopeArgs']): pulumi.set(self, "x12", value) +if not MYPY: + class PartnershipX12DelimitersArgsDict(TypedDict): + component_separator: NotRequired[pulumi.Input[str]] + data_element_separator: NotRequired[pulumi.Input[str]] + segment_terminator: NotRequired[pulumi.Input[str]] +elif False: + PartnershipX12DelimitersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PartnershipX12DelimitersArgs: def __init__(__self__, *, @@ -264,6 +350,12 @@ def segment_terminator(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "segment_terminator", value) +if not MYPY: + class PartnershipX12EnvelopeArgsDict(TypedDict): + common: NotRequired[pulumi.Input['PartnershipX12OutboundEdiHeadersArgsDict']] +elif False: + PartnershipX12EnvelopeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PartnershipX12EnvelopeArgs: def __init__(__self__, *, @@ -281,6 +373,14 @@ def common(self, value: Optional[pulumi.Input['PartnershipX12OutboundEdiHeadersA pulumi.set(self, "common", value) +if not MYPY: + class PartnershipX12FunctionalGroupHeadersArgsDict(TypedDict): + application_receiver_code: NotRequired[pulumi.Input[str]] + application_sender_code: NotRequired[pulumi.Input[str]] + responsible_agency_code: NotRequired[pulumi.Input[str]] +elif False: + PartnershipX12FunctionalGroupHeadersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PartnershipX12FunctionalGroupHeadersArgs: def __init__(__self__, *, @@ -322,6 +422,18 @@ def responsible_agency_code(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "responsible_agency_code", value) +if not MYPY: + class PartnershipX12InterchangeControlHeadersArgsDict(TypedDict): + acknowledgment_requested_code: NotRequired[pulumi.Input[str]] + receiver_id: NotRequired[pulumi.Input[str]] + receiver_id_qualifier: NotRequired[pulumi.Input[str]] + repetition_separator: NotRequired[pulumi.Input[str]] + sender_id: NotRequired[pulumi.Input[str]] + sender_id_qualifier: NotRequired[pulumi.Input[str]] + usage_indicator_code: NotRequired[pulumi.Input[str]] +elif False: + PartnershipX12InterchangeControlHeadersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PartnershipX12InterchangeControlHeadersArgs: def __init__(__self__, *, @@ -411,6 +523,15 @@ def usage_indicator_code(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "usage_indicator_code", value) +if not MYPY: + class PartnershipX12OutboundEdiHeadersArgsDict(TypedDict): + delimiters: NotRequired[pulumi.Input['PartnershipX12DelimitersArgsDict']] + functional_group_headers: NotRequired[pulumi.Input['PartnershipX12FunctionalGroupHeadersArgsDict']] + interchange_control_headers: NotRequired[pulumi.Input['PartnershipX12InterchangeControlHeadersArgsDict']] + validate_edi: NotRequired[pulumi.Input[bool]] +elif False: + PartnershipX12OutboundEdiHeadersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PartnershipX12OutboundEdiHeadersArgs: def __init__(__self__, *, @@ -464,6 +585,12 @@ def validate_edi(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "validate_edi", value) +if not MYPY: + class TransformerEdiTypePropertiesArgsDict(TypedDict): + x12_details: pulumi.Input['TransformerX12DetailsArgsDict'] +elif False: + TransformerEdiTypePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransformerEdiTypePropertiesArgs: def __init__(__self__, *, @@ -480,6 +607,12 @@ def x12_details(self, value: pulumi.Input['TransformerX12DetailsArgs']): pulumi.set(self, "x12_details", value) +if not MYPY: + class TransformerFormatOptionsPropertiesArgsDict(TypedDict): + x12: pulumi.Input['TransformerX12DetailsArgsDict'] +elif False: + TransformerFormatOptionsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransformerFormatOptionsPropertiesArgs: def __init__(__self__, *, @@ -496,6 +629,13 @@ def x12(self, value: pulumi.Input['TransformerX12DetailsArgs']): pulumi.set(self, "x12", value) +if not MYPY: + class TransformerInputConversionArgsDict(TypedDict): + from_format: pulumi.Input['TransformerFromFormat'] + format_options: NotRequired[pulumi.Input['TransformerFormatOptionsPropertiesArgsDict']] +elif False: + TransformerInputConversionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransformerInputConversionArgs: def __init__(__self__, *, @@ -524,6 +664,13 @@ def format_options(self, value: Optional[pulumi.Input['TransformerFormatOptionsP pulumi.set(self, "format_options", value) +if not MYPY: + class TransformerMappingArgsDict(TypedDict): + template_language: pulumi.Input['TransformerMappingTemplateLanguage'] + template: NotRequired[pulumi.Input[str]] +elif False: + TransformerMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransformerMappingArgs: def __init__(__self__, *, @@ -552,6 +699,13 @@ def template(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "template", value) +if not MYPY: + class TransformerOutputConversionArgsDict(TypedDict): + to_format: pulumi.Input['TransformerToFormat'] + format_options: NotRequired[pulumi.Input['TransformerFormatOptionsPropertiesArgsDict']] +elif False: + TransformerOutputConversionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransformerOutputConversionArgs: def __init__(__self__, *, @@ -580,6 +734,13 @@ def format_options(self, value: Optional[pulumi.Input['TransformerFormatOptionsP pulumi.set(self, "format_options", value) +if not MYPY: + class TransformerSampleDocumentKeysArgsDict(TypedDict): + input: NotRequired[pulumi.Input[str]] + output: NotRequired[pulumi.Input[str]] +elif False: + TransformerSampleDocumentKeysArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransformerSampleDocumentKeysArgs: def __init__(__self__, *, @@ -609,6 +770,13 @@ def output(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "output", value) +if not MYPY: + class TransformerSampleDocumentsArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + keys: pulumi.Input[Sequence[pulumi.Input['TransformerSampleDocumentKeysArgsDict']]] +elif False: + TransformerSampleDocumentsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransformerSampleDocumentsArgs: def __init__(__self__, *, @@ -636,6 +804,13 @@ def keys(self, value: pulumi.Input[Sequence[pulumi.Input['TransformerSampleDocum pulumi.set(self, "keys", value) +if not MYPY: + class TransformerX12DetailsArgsDict(TypedDict): + transaction_set: NotRequired[pulumi.Input['TransformerX12TransactionSet']] + version: NotRequired[pulumi.Input['TransformerX12Version']] +elif False: + TransformerX12DetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransformerX12DetailsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/b2bi/capability.py b/sdk/python/pulumi_aws_native/b2bi/capability.py index fcb8354031..31bd76b187 100644 --- a/sdk/python/pulumi_aws_native/b2bi/capability.py +++ b/sdk/python/pulumi_aws_native/b2bi/capability.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/b2bi/get_capability.py b/sdk/python/pulumi_aws_native/b2bi/get_capability.py index 628b234db7..85db08b909 100644 --- a/sdk/python/pulumi_aws_native/b2bi/get_capability.py +++ b/sdk/python/pulumi_aws_native/b2bi/get_capability.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_capability(capability_id: Optional[str] = None, modified_at=pulumi.get(__ret__, 'modified_at'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_capability) def get_capability_output(capability_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCapabilityResult]: """ @@ -161,4 +163,16 @@ def get_capability_output(capability_id: Optional[pulumi.Input[str]] = None, :param str capability_id: Returns a system-assigned unique identifier for the capability. """ - ... + __args__ = dict() + __args__['capabilityId'] = capability_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:b2bi:getCapability', __args__, opts=opts, typ=GetCapabilityResult) + return __ret__.apply(lambda __response__: GetCapabilityResult( + capability_arn=pulumi.get(__response__, 'capability_arn'), + capability_id=pulumi.get(__response__, 'capability_id'), + configuration=pulumi.get(__response__, 'configuration'), + created_at=pulumi.get(__response__, 'created_at'), + instructions_documents=pulumi.get(__response__, 'instructions_documents'), + modified_at=pulumi.get(__response__, 'modified_at'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/b2bi/get_partnership.py b/sdk/python/pulumi_aws_native/b2bi/get_partnership.py index a11cc40d27..1586008391 100644 --- a/sdk/python/pulumi_aws_native/b2bi/get_partnership.py +++ b/sdk/python/pulumi_aws_native/b2bi/get_partnership.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -162,9 +167,6 @@ def get_partnership(partnership_id: Optional[str] = None, partnership_id=pulumi.get(__ret__, 'partnership_id'), tags=pulumi.get(__ret__, 'tags'), trading_partner_id=pulumi.get(__ret__, 'trading_partner_id')) - - -@_utilities.lift_output_func(get_partnership) def get_partnership_output(partnership_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPartnershipResult]: """ @@ -173,4 +175,17 @@ def get_partnership_output(partnership_id: Optional[pulumi.Input[str]] = None, :param str partnership_id: Returns the unique, system-generated identifier for a partnership. """ - ... + __args__ = dict() + __args__['partnershipId'] = partnership_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:b2bi:getPartnership', __args__, opts=opts, typ=GetPartnershipResult) + return __ret__.apply(lambda __response__: GetPartnershipResult( + capabilities=pulumi.get(__response__, 'capabilities'), + capability_options=pulumi.get(__response__, 'capability_options'), + created_at=pulumi.get(__response__, 'created_at'), + modified_at=pulumi.get(__response__, 'modified_at'), + name=pulumi.get(__response__, 'name'), + partnership_arn=pulumi.get(__response__, 'partnership_arn'), + partnership_id=pulumi.get(__response__, 'partnership_id'), + tags=pulumi.get(__response__, 'tags'), + trading_partner_id=pulumi.get(__response__, 'trading_partner_id'))) diff --git a/sdk/python/pulumi_aws_native/b2bi/get_profile.py b/sdk/python/pulumi_aws_native/b2bi/get_profile.py index fe268eb6dd..c5ad4b3bd9 100644 --- a/sdk/python/pulumi_aws_native/b2bi/get_profile.py +++ b/sdk/python/pulumi_aws_native/b2bi/get_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -162,12 +167,23 @@ def get_profile(profile_id: Optional[str] = None, profile_arn=pulumi.get(__ret__, 'profile_arn'), profile_id=pulumi.get(__ret__, 'profile_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_profile) def get_profile_output(profile_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfileResult]: """ Definition of AWS::B2BI::Profile Resource Type """ - ... + __args__ = dict() + __args__['profileId'] = profile_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:b2bi:getProfile', __args__, opts=opts, typ=GetProfileResult) + return __ret__.apply(lambda __response__: GetProfileResult( + business_name=pulumi.get(__response__, 'business_name'), + created_at=pulumi.get(__response__, 'created_at'), + email=pulumi.get(__response__, 'email'), + log_group_name=pulumi.get(__response__, 'log_group_name'), + modified_at=pulumi.get(__response__, 'modified_at'), + name=pulumi.get(__response__, 'name'), + phone=pulumi.get(__response__, 'phone'), + profile_arn=pulumi.get(__response__, 'profile_arn'), + profile_id=pulumi.get(__response__, 'profile_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/b2bi/get_transformer.py b/sdk/python/pulumi_aws_native/b2bi/get_transformer.py index 6326f16000..4c70266c64 100644 --- a/sdk/python/pulumi_aws_native/b2bi/get_transformer.py +++ b/sdk/python/pulumi_aws_native/b2bi/get_transformer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -235,9 +240,6 @@ def get_transformer(transformer_id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), transformer_arn=pulumi.get(__ret__, 'transformer_arn'), transformer_id=pulumi.get(__ret__, 'transformer_id')) - - -@_utilities.lift_output_func(get_transformer) def get_transformer_output(transformer_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransformerResult]: """ @@ -246,4 +248,23 @@ def get_transformer_output(transformer_id: Optional[pulumi.Input[str]] = None, :param str transformer_id: The system-assigned unique identifier for the transformer. """ - ... + __args__ = dict() + __args__['transformerId'] = transformer_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:b2bi:getTransformer', __args__, opts=opts, typ=GetTransformerResult) + return __ret__.apply(lambda __response__: GetTransformerResult( + created_at=pulumi.get(__response__, 'created_at'), + edi_type=pulumi.get(__response__, 'edi_type'), + file_format=pulumi.get(__response__, 'file_format'), + input_conversion=pulumi.get(__response__, 'input_conversion'), + mapping=pulumi.get(__response__, 'mapping'), + mapping_template=pulumi.get(__response__, 'mapping_template'), + modified_at=pulumi.get(__response__, 'modified_at'), + name=pulumi.get(__response__, 'name'), + output_conversion=pulumi.get(__response__, 'output_conversion'), + sample_document=pulumi.get(__response__, 'sample_document'), + sample_documents=pulumi.get(__response__, 'sample_documents'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + transformer_arn=pulumi.get(__response__, 'transformer_arn'), + transformer_id=pulumi.get(__response__, 'transformer_id'))) diff --git a/sdk/python/pulumi_aws_native/b2bi/outputs.py b/sdk/python/pulumi_aws_native/b2bi/outputs.py index c7425ebe18..85b14f780b 100644 --- a/sdk/python/pulumi_aws_native/b2bi/outputs.py +++ b/sdk/python/pulumi_aws_native/b2bi/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/b2bi/partnership.py b/sdk/python/pulumi_aws_native/b2bi/partnership.py index 6d971606c8..54653e6017 100644 --- a/sdk/python/pulumi_aws_native/b2bi/partnership.py +++ b/sdk/python/pulumi_aws_native/b2bi/partnership.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/b2bi/profile.py b/sdk/python/pulumi_aws_native/b2bi/profile.py index 54e6aae378..6a799c6118 100644 --- a/sdk/python/pulumi_aws_native/b2bi/profile.py +++ b/sdk/python/pulumi_aws_native/b2bi/profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/b2bi/transformer.py b/sdk/python/pulumi_aws_native/b2bi/transformer.py index ed739aae8d..5a5ff77234 100644 --- a/sdk/python/pulumi_aws_native/b2bi/transformer.py +++ b/sdk/python/pulumi_aws_native/b2bi/transformer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/backup/_inputs.py b/sdk/python/pulumi_aws_native/backup/_inputs.py index 9936de206e..6520f31494 100644 --- a/sdk/python/pulumi_aws_native/backup/_inputs.py +++ b/sdk/python/pulumi_aws_native/backup/_inputs.py @@ -4,35 +4,85 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'BackupPlanAdvancedBackupSettingResourceTypeArgs', + 'BackupPlanAdvancedBackupSettingResourceTypeArgsDict', 'BackupPlanBackupRuleResourceTypeArgs', + 'BackupPlanBackupRuleResourceTypeArgsDict', 'BackupPlanCopyActionResourceTypeArgs', + 'BackupPlanCopyActionResourceTypeArgsDict', 'BackupPlanLifecycleResourceTypeArgs', + 'BackupPlanLifecycleResourceTypeArgsDict', 'BackupPlanResourceTypeArgs', + 'BackupPlanResourceTypeArgsDict', 'BackupSelectionConditionParameterArgs', + 'BackupSelectionConditionParameterArgsDict', 'BackupSelectionConditionResourceTypeArgs', + 'BackupSelectionConditionResourceTypeArgsDict', 'BackupSelectionResourceTypeConditionsPropertiesArgs', + 'BackupSelectionResourceTypeConditionsPropertiesArgsDict', 'BackupSelectionResourceTypeArgs', + 'BackupSelectionResourceTypeArgsDict', 'BackupVaultLockConfigurationTypeArgs', + 'BackupVaultLockConfigurationTypeArgsDict', 'BackupVaultNotificationObjectTypeArgs', + 'BackupVaultNotificationObjectTypeArgsDict', 'FrameworkControlControlScopePropertiesArgs', + 'FrameworkControlControlScopePropertiesArgsDict', 'FrameworkControlInputParameterArgs', + 'FrameworkControlInputParameterArgsDict', 'FrameworkControlArgs', + 'FrameworkControlArgsDict', 'FrameworkTagArgs', + 'FrameworkTagArgsDict', 'ReportDeliveryChannelPropertiesArgs', + 'ReportDeliveryChannelPropertiesArgsDict', 'ReportSettingPropertiesArgs', + 'ReportSettingPropertiesArgsDict', 'RestoreTestingPlanRestoreTestingRecoveryPointSelectionArgs', + 'RestoreTestingPlanRestoreTestingRecoveryPointSelectionArgsDict', 'RestoreTestingSelectionKeyValueArgs', + 'RestoreTestingSelectionKeyValueArgsDict', 'RestoreTestingSelectionProtectedResourceConditionsArgs', + 'RestoreTestingSelectionProtectedResourceConditionsArgsDict', ] +MYPY = False + +if not MYPY: + class BackupPlanAdvancedBackupSettingResourceTypeArgsDict(TypedDict): + backup_options: Any + """ + The backup option for the resource. Each option is a key-value pair. This option is only available for Windows VSS backup jobs. + + Valid values: + + Set to `"WindowsVSS":"enabled"` to enable the `WindowsVSS` backup option and create a Windows VSS backup. + + Set to `"WindowsVSS":"disabled"` to create a regular backup. The `WindowsVSS` option is not enabled by default. + + If you specify an invalid option, you get an `InvalidParameterValueException` exception. + + For more information about Windows VSS backups, see [Creating a VSS-Enabled Windows Backup](https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html) . + """ + resource_type: pulumi.Input[str] + """ + The name of a resource type. The only supported resource type is EC2. + """ +elif False: + BackupPlanAdvancedBackupSettingResourceTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BackupPlanAdvancedBackupSettingResourceTypeArgs: def __init__(__self__, *, @@ -90,6 +140,53 @@ def resource_type(self, value: pulumi.Input[str]): pulumi.set(self, "resource_type", value) +if not MYPY: + class BackupPlanBackupRuleResourceTypeArgsDict(TypedDict): + rule_name: pulumi.Input[str] + """ + A display name for a backup rule. + """ + target_backup_vault: pulumi.Input[str] + """ + The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of letters, numbers, and hyphens. + """ + completion_window_minutes: NotRequired[pulumi.Input[float]] + """ + A value in minutes after a backup job is successfully started before it must be completed or it is canceled by AWS Backup . + """ + copy_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['BackupPlanCopyActionResourceTypeArgsDict']]]] + """ + An array of CopyAction objects, which contains the details of the copy operation. + """ + enable_continuous_backup: NotRequired[pulumi.Input[bool]] + """ + Enables continuous backup and point-in-time restores (PITR). + """ + lifecycle: NotRequired[pulumi.Input['BackupPlanLifecycleResourceTypeArgsDict']] + """ + The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define. + """ + recovery_point_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The tags to assign to the resources. + """ + schedule_expression: NotRequired[pulumi.Input[str]] + """ + A CRON expression specifying when AWS Backup initiates a backup job. + """ + schedule_expression_timezone: NotRequired[pulumi.Input[str]] + """ + This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone. + """ + start_window_minutes: NotRequired[pulumi.Input[float]] + """ + An optional value that specifies a period of time in minutes after a backup is scheduled before a job is canceled if it doesn't start successfully. + + If this value is included, it must be at least 60 minutes to avoid errors. + """ +elif False: + BackupPlanBackupRuleResourceTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BackupPlanBackupRuleResourceTypeArgs: def __init__(__self__, *, @@ -259,6 +356,21 @@ def start_window_minutes(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "start_window_minutes", value) +if not MYPY: + class BackupPlanCopyActionResourceTypeArgsDict(TypedDict): + destination_backup_vault_arn: pulumi.Input[str] + """ + An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. For example, `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.` + """ + lifecycle: NotRequired[pulumi.Input['BackupPlanLifecycleResourceTypeArgsDict']] + """ + Defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define. If you do not specify a lifecycle, AWS Backup applies the lifecycle policy of the source backup to the destination backup. + + Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. + """ +elif False: + BackupPlanCopyActionResourceTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BackupPlanCopyActionResourceTypeArgs: def __init__(__self__, *, @@ -301,6 +413,23 @@ def lifecycle(self, value: Optional[pulumi.Input['BackupPlanLifecycleResourceTyp pulumi.set(self, "lifecycle", value) +if not MYPY: + class BackupPlanLifecycleResourceTypeArgsDict(TypedDict): + delete_after_days: NotRequired[pulumi.Input[float]] + """ + Specifies the number of days after creation that a recovery point is deleted. Must be greater than `MoveToColdStorageAfterDays` . + """ + move_to_cold_storage_after_days: NotRequired[pulumi.Input[float]] + """ + Specifies the number of days after creation that a recovery point is moved to cold storage. + """ + opt_in_to_archive_for_supported_resources: NotRequired[pulumi.Input[bool]] + """ + If the value is true, your backup plan transitions supported resources to archive (cold) storage tier in accordance with your lifecycle settings. + """ +elif False: + BackupPlanLifecycleResourceTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BackupPlanLifecycleResourceTypeArgs: def __init__(__self__, *, @@ -356,6 +485,23 @@ def opt_in_to_archive_for_supported_resources(self, value: Optional[pulumi.Input pulumi.set(self, "opt_in_to_archive_for_supported_resources", value) +if not MYPY: + class BackupPlanResourceTypeArgsDict(TypedDict): + backup_plan_name: pulumi.Input[str] + """ + The display name of a backup plan. + """ + backup_plan_rule: pulumi.Input[Sequence[pulumi.Input['BackupPlanBackupRuleResourceTypeArgsDict']]] + """ + An array of `BackupRule` objects, each of which specifies a scheduled task that is used to back up a selection of resources. + """ + advanced_backup_settings: NotRequired[pulumi.Input[Sequence[pulumi.Input['BackupPlanAdvancedBackupSettingResourceTypeArgsDict']]]] + """ + A list of backup options for each resource type. + """ +elif False: + BackupPlanResourceTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BackupPlanResourceTypeArgs: def __init__(__self__, *, @@ -409,6 +555,19 @@ def advanced_backup_settings(self, value: Optional[pulumi.Input[Sequence[pulumi. pulumi.set(self, "advanced_backup_settings", value) +if not MYPY: + class BackupSelectionConditionParameterArgsDict(TypedDict): + condition_key: NotRequired[pulumi.Input[str]] + """ + The key in a key-value pair. For example, in the tag `Department: Accounting` , `Department` is the key. + """ + condition_value: NotRequired[pulumi.Input[str]] + """ + The value in a key-value pair. For example, in the tag `Department: Accounting` , `Accounting` is the value. + """ +elif False: + BackupSelectionConditionParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BackupSelectionConditionParameterArgs: def __init__(__self__, *, @@ -448,6 +607,23 @@ def condition_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "condition_value", value) +if not MYPY: + class BackupSelectionConditionResourceTypeArgsDict(TypedDict): + condition_key: pulumi.Input[str] + """ + The key in a key-value pair. For example, in `"Department": "accounting"` , `"Department"` is the key. + """ + condition_type: pulumi.Input[str] + """ + An operation, such as `STRINGEQUALS` , that is applied to a key-value pair used to filter resources in a selection. + """ + condition_value: pulumi.Input[str] + """ + The value in a key-value pair. For example, in `"Department": "accounting"` , `"accounting"` is the value. + """ +elif False: + BackupSelectionConditionResourceTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BackupSelectionConditionResourceTypeArgs: def __init__(__self__, *, @@ -500,6 +676,23 @@ def condition_value(self, value: pulumi.Input[str]): pulumi.set(self, "condition_value", value) +if not MYPY: + class BackupSelectionResourceTypeConditionsPropertiesArgsDict(TypedDict): + """ + A list of conditions that you define to assign resources to your backup plans using tags. For example, `"StringEquals": { "ConditionKey": "aws:ResourceTag/CreatedByCryo", "ConditionValue": "true" },` . Condition operators are case sensitive. + + `Conditions` differs from `ListOfTags` as follows: + + - When you specify more than one condition, you only assign the resources that match ALL conditions (using AND logic). + - `Conditions` supports `StringEquals` , `StringLike` , `StringNotEquals` , and `StringNotLike` . `ListOfTags` only supports `StringEquals` . + """ + string_equals: NotRequired[pulumi.Input[Sequence[pulumi.Input['BackupSelectionConditionParameterArgsDict']]]] + string_like: NotRequired[pulumi.Input[Sequence[pulumi.Input['BackupSelectionConditionParameterArgsDict']]]] + string_not_equals: NotRequired[pulumi.Input[Sequence[pulumi.Input['BackupSelectionConditionParameterArgsDict']]]] + string_not_like: NotRequired[pulumi.Input[Sequence[pulumi.Input['BackupSelectionConditionParameterArgsDict']]]] +elif False: + BackupSelectionResourceTypeConditionsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BackupSelectionResourceTypeConditionsPropertiesArgs: def __init__(__self__, *, @@ -561,6 +754,47 @@ def string_not_like(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Ba pulumi.set(self, "string_not_like", value) +if not MYPY: + class BackupSelectionResourceTypeArgsDict(TypedDict): + iam_role_arn: pulumi.Input[str] + """ + The ARN of the IAM role that AWS Backup uses to authenticate when backing up the target resource; for example, `arn:aws:iam::123456789012:role/S3Access` . + """ + selection_name: pulumi.Input[str] + """ + The display name of a resource selection document. + """ + conditions: NotRequired[pulumi.Input['BackupSelectionResourceTypeConditionsPropertiesArgsDict']] + """ + A list of conditions that you define to assign resources to your backup plans using tags. For example, `"StringEquals": { "ConditionKey": "aws:ResourceTag/CreatedByCryo", "ConditionValue": "true" },` . Condition operators are case sensitive. + + `Conditions` differs from `ListOfTags` as follows: + + - When you specify more than one condition, you only assign the resources that match ALL conditions (using AND logic). + - `Conditions` supports `StringEquals` , `StringLike` , `StringNotEquals` , and `StringNotLike` . `ListOfTags` only supports `StringEquals` . + """ + list_of_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['BackupSelectionConditionResourceTypeArgsDict']]]] + """ + A list of conditions that you define to assign resources to your backup plans using tags. For example, `"StringEquals": { "ConditionKey": "aws:ResourceTag/CreatedByCryo", "ConditionValue": "true" },` . Condition operators are case sensitive. + + `ListOfTags` differs from `Conditions` as follows: + + - When you specify more than one condition, you assign all resources that match AT LEAST ONE condition (using OR logic). + - `ListOfTags` only supports `StringEquals` . `Conditions` supports `StringEquals` , `StringLike` , `StringNotEquals` , and `StringNotLike` . + """ + not_resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of Amazon Resource Names (ARNs) to exclude from a backup plan. The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards. + + If you need to exclude many resources from a backup plan, consider a different resource selection strategy, such as assigning only one or a few resource types or refining your resource selection using tags. + """ + resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan. + """ +elif False: + BackupSelectionResourceTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BackupSelectionResourceTypeArgs: def __init__(__self__, *, @@ -686,6 +920,37 @@ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "resources", value) +if not MYPY: + class BackupVaultLockConfigurationTypeArgsDict(TypedDict): + min_retention_days: pulumi.Input[int] + """ + The AWS Backup Vault Lock configuration that specifies the minimum retention period that the vault retains its recovery points. This setting can be useful if, for example, your organization's policies require you to retain certain data for at least seven years (2555 days). + + If this parameter is not specified, Vault Lock will not enforce a minimum retention period. + + If this parameter is specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If the job's retention period is shorter than that minimum retention period, then the vault fails that backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already saved in the vault prior to Vault Lock are not affected. + """ + changeable_for_days: NotRequired[pulumi.Input[int]] + """ + The AWS Backup Vault Lock configuration that specifies the number of days before the lock date. For example, setting `ChangeableForDays` to 30 on Jan. 1, 2022 at 8pm UTC will set the lock date to Jan. 31, 2022 at 8pm UTC. + + AWS Backup enforces a 72-hour cooling-off period before Vault Lock takes effect and becomes immutable. Therefore, you must set `ChangeableForDays` to 3 or greater. + + Before the lock date, you can delete Vault Lock from the vault using `DeleteBackupVaultLockConfiguration` or change the Vault Lock configuration using `PutBackupVaultLockConfiguration` . On and after the lock date, the Vault Lock becomes immutable and cannot be changed or deleted. + + If this parameter is not specified, you can delete Vault Lock from the vault using `DeleteBackupVaultLockConfiguration` or change the Vault Lock configuration using `PutBackupVaultLockConfiguration` at any time. + """ + max_retention_days: NotRequired[pulumi.Input[int]] + """ + The AWS Backup Vault Lock configuration that specifies the maximum retention period that the vault retains its recovery points. This setting can be useful if, for example, your organization's policies require you to destroy certain data after retaining it for four years (1460 days). + + If this parameter is not included, Vault Lock does not enforce a maximum retention period on the recovery points in the vault. If this parameter is included without a value, Vault Lock will not enforce a maximum retention period. + + If this parameter is specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. Recovery points already saved in the vault prior to Vault Lock are not affected. + """ +elif False: + BackupVaultLockConfigurationTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BackupVaultLockConfigurationTypeArgs: def __init__(__self__, *, @@ -768,6 +1033,19 @@ def max_retention_days(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_retention_days", value) +if not MYPY: + class BackupVaultNotificationObjectTypeArgsDict(TypedDict): + backup_vault_events: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + An array of events that indicate the status of jobs to back up resources to the backup vault. For valid events, see [BackupVaultEvents](https://docs.aws.amazon.com/aws-backup/latest/devguide/API_PutBackupVaultNotifications.html#API_PutBackupVaultNotifications_RequestSyntax) in the *AWS Backup API Guide* . + """ + sns_topic_arn: pulumi.Input[str] + """ + An ARN that uniquely identifies an Amazon Simple Notification Service (Amazon SNS) topic; for example, `arn:aws:sns:us-west-2:111122223333:MyTopic` . + """ +elif False: + BackupVaultNotificationObjectTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BackupVaultNotificationObjectTypeArgs: def __init__(__self__, *, @@ -805,6 +1083,26 @@ def sns_topic_arn(self, value: pulumi.Input[str]): pulumi.set(self, "sns_topic_arn", value) +if not MYPY: + class FrameworkControlControlScopePropertiesArgsDict(TypedDict): + """ + The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. + """ + compliance_resource_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The ID of the only AWS resource that you want your control scope to contain. + """ + compliance_resource_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Describes whether the control scope includes one or more types of resources, such as `EFS` or `RDS`. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['FrameworkTagArgsDict']]]] + """ + Describes whether the control scope includes resources with one or more tags. Each tag is a key-value pair. + """ +elif False: + FrameworkControlControlScopePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FrameworkControlControlScopePropertiesArgs: def __init__(__self__, *, @@ -861,6 +1159,19 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FrameworkTagA pulumi.set(self, "tags", value) +if not MYPY: + class FrameworkControlInputParameterArgsDict(TypedDict): + parameter_name: pulumi.Input[str] + """ + The name of a parameter, for example, `BackupPlanFrequency` . + """ + parameter_value: pulumi.Input[str] + """ + The value of parameter, for example, `hourly` . + """ +elif False: + FrameworkControlInputParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FrameworkControlInputParameterArgs: def __init__(__self__, *, @@ -898,6 +1209,23 @@ def parameter_value(self, value: pulumi.Input[str]): pulumi.set(self, "parameter_value", value) +if not MYPY: + class FrameworkControlArgsDict(TypedDict): + control_name: pulumi.Input[str] + """ + The name of a control. This name is between 1 and 256 characters. + """ + control_input_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['FrameworkControlInputParameterArgsDict']]]] + """ + A list of ParameterName and ParameterValue pairs. + """ + control_scope: NotRequired[pulumi.Input['FrameworkControlControlScopePropertiesArgsDict']] + """ + The scope of a control. The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. + """ +elif False: + FrameworkControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FrameworkControlArgs: def __init__(__self__, *, @@ -952,6 +1280,22 @@ def control_scope(self, value: Optional[pulumi.Input['FrameworkControlControlSco pulumi.set(self, "control_scope", value) +if not MYPY: + class FrameworkTagArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + key: NotRequired[pulumi.Input[str]] + """ + The key name of the tag. You can specify a value that is 1 to 128 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 -. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value for the tag. You can specify a value that is 0 to 256 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 -. + """ +elif False: + FrameworkTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FrameworkTagArgs: def __init__(__self__, *, @@ -992,6 +1336,26 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ReportDeliveryChannelPropertiesArgsDict(TypedDict): + """ + A structure that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. + """ + s3_bucket_name: pulumi.Input[str] + """ + The unique name of the S3 bucket that receives your reports. + """ + formats: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the format of your reports: CSV, JSON, or both. If not specified, the default format is CSV. + """ + s3_key_prefix: NotRequired[pulumi.Input[str]] + """ + The prefix for where AWS Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix. + """ +elif False: + ReportDeliveryChannelPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReportDeliveryChannelPropertiesArgs: def __init__(__self__, *, @@ -1047,6 +1411,34 @@ def s3_key_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_key_prefix", value) +if not MYPY: + class ReportSettingPropertiesArgsDict(TypedDict): + """ + Identifies the report template for the report. Reports are built using a report template. + """ + report_template: pulumi.Input[str] + """ + Identifies the report template for the report. Reports are built using a report template. The report templates are: `BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT` + """ + accounts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of AWS accounts that a report covers. + """ + framework_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The Amazon Resource Names (ARNs) of the frameworks a report covers. + """ + organization_units: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of AWS organization units that a report covers. + """ + regions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of AWS regions that a report covers. + """ +elif False: + ReportSettingPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReportSettingPropertiesArgs: def __init__(__self__, *, @@ -1134,6 +1526,33 @@ def regions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "regions", value) +if not MYPY: + class RestoreTestingPlanRestoreTestingRecoveryPointSelectionArgsDict(TypedDict): + algorithm: pulumi.Input['RestoreTestingPlanRestoreTestingRecoveryPointSelectionAlgorithm'] + """ + Acceptable values include "LATEST_WITHIN_WINDOW" or "RANDOM_WITHIN_WINDOW" + """ + include_vaults: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Accepted values include wildcard ["*"] or by specific ARNs or ARN wilcard replacement ["arn:aws:backup:us-west-2:123456789012:backup-vault:asdf", ...] ["arn:aws:backup:*:*:backup-vault:asdf-*", ...] + """ + recovery_point_types: pulumi.Input[Sequence[pulumi.Input['RestoreTestingPlanRestoreTestingRecoveryPointType']]] + """ + These are the types of recovery points. + + Include `SNAPSHOT` to restore only snapshot recovery points; include `CONTINUOUS` to restore continuous recovery points (point in time restore / PITR); use both to restore either a snapshot or a continuous recovery point. The recovery point will be determined by the value for `Algorithm` . + """ + exclude_vaults: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Accepted values include specific ARNs or list of selectors. Defaults to empty list if not listed. + """ + selection_window_days: NotRequired[pulumi.Input[int]] + """ + Accepted values are integers from 1 to 365. + """ +elif False: + RestoreTestingPlanRestoreTestingRecoveryPointSelectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RestoreTestingPlanRestoreTestingRecoveryPointSelectionArgs: def __init__(__self__, *, @@ -1222,6 +1641,19 @@ def selection_window_days(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "selection_window_days", value) +if not MYPY: + class RestoreTestingSelectionKeyValueArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The tag key. + """ + value: pulumi.Input[str] + """ + The tag value. + """ +elif False: + RestoreTestingSelectionKeyValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RestoreTestingSelectionKeyValueArgs: def __init__(__self__, *, @@ -1259,6 +1691,19 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class RestoreTestingSelectionProtectedResourceConditionsArgsDict(TypedDict): + string_equals: NotRequired[pulumi.Input[Sequence[pulumi.Input['RestoreTestingSelectionKeyValueArgsDict']]]] + """ + Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching." + """ + string_not_equals: NotRequired[pulumi.Input[Sequence[pulumi.Input['RestoreTestingSelectionKeyValueArgsDict']]]] + """ + Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching." + """ +elif False: + RestoreTestingSelectionProtectedResourceConditionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RestoreTestingSelectionProtectedResourceConditionsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/backup/backup_plan.py b/sdk/python/pulumi_aws_native/backup/backup_plan.py index 5c629a8bab..7aac6f821c 100644 --- a/sdk/python/pulumi_aws_native/backup/backup_plan.py +++ b/sdk/python/pulumi_aws_native/backup/backup_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/backup/backup_selection.py b/sdk/python/pulumi_aws_native/backup/backup_selection.py index 68db6aae24..181a7b43c7 100644 --- a/sdk/python/pulumi_aws_native/backup/backup_selection.py +++ b/sdk/python/pulumi_aws_native/backup/backup_selection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/backup/backup_vault.py b/sdk/python/pulumi_aws_native/backup/backup_vault.py index e6ddb62bbc..95abd44dc8 100644 --- a/sdk/python/pulumi_aws_native/backup/backup_vault.py +++ b/sdk/python/pulumi_aws_native/backup/backup_vault.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/backup/framework.py b/sdk/python/pulumi_aws_native/backup/framework.py index 7b1ae665d2..2fb8aa45c9 100644 --- a/sdk/python/pulumi_aws_native/backup/framework.py +++ b/sdk/python/pulumi_aws_native/backup/framework.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/backup/get_backup_plan.py b/sdk/python/pulumi_aws_native/backup/get_backup_plan.py index c4d5bc6244..3d86e0aa9a 100644 --- a/sdk/python/pulumi_aws_native/backup/get_backup_plan.py +++ b/sdk/python/pulumi_aws_native/backup/get_backup_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -109,9 +114,6 @@ def get_backup_plan(backup_plan_id: Optional[str] = None, backup_plan_id=pulumi.get(__ret__, 'backup_plan_id'), backup_plan_tags=pulumi.get(__ret__, 'backup_plan_tags'), version_id=pulumi.get(__ret__, 'version_id')) - - -@_utilities.lift_output_func(get_backup_plan) def get_backup_plan_output(backup_plan_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBackupPlanResult]: """ @@ -120,4 +122,13 @@ def get_backup_plan_output(backup_plan_id: Optional[pulumi.Input[str]] = None, :param str backup_plan_id: Uniquely identifies a backup plan. """ - ... + __args__ = dict() + __args__['backupPlanId'] = backup_plan_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:backup:getBackupPlan', __args__, opts=opts, typ=GetBackupPlanResult) + return __ret__.apply(lambda __response__: GetBackupPlanResult( + backup_plan=pulumi.get(__response__, 'backup_plan'), + backup_plan_arn=pulumi.get(__response__, 'backup_plan_arn'), + backup_plan_id=pulumi.get(__response__, 'backup_plan_id'), + backup_plan_tags=pulumi.get(__response__, 'backup_plan_tags'), + version_id=pulumi.get(__response__, 'version_id'))) diff --git a/sdk/python/pulumi_aws_native/backup/get_backup_selection.py b/sdk/python/pulumi_aws_native/backup/get_backup_selection.py index ff58014a7c..dc39aa0b76 100644 --- a/sdk/python/pulumi_aws_native/backup/get_backup_selection.py +++ b/sdk/python/pulumi_aws_native/backup/get_backup_selection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_backup_selection(id: Optional[str] = None, return AwaitableGetBackupSelectionResult( id=pulumi.get(__ret__, 'id'), selection_id=pulumi.get(__ret__, 'selection_id')) - - -@_utilities.lift_output_func(get_backup_selection) def get_backup_selection_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBackupSelectionResult]: """ @@ -80,4 +82,10 @@ def get_backup_selection_output(id: Optional[pulumi.Input[str]] = None, :param str id: Uniquely identifies the backup selection. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:backup:getBackupSelection', __args__, opts=opts, typ=GetBackupSelectionResult) + return __ret__.apply(lambda __response__: GetBackupSelectionResult( + id=pulumi.get(__response__, 'id'), + selection_id=pulumi.get(__response__, 'selection_id'))) diff --git a/sdk/python/pulumi_aws_native/backup/get_backup_vault.py b/sdk/python/pulumi_aws_native/backup/get_backup_vault.py index a4aa9f44fb..d07de0c9ea 100644 --- a/sdk/python/pulumi_aws_native/backup/get_backup_vault.py +++ b/sdk/python/pulumi_aws_native/backup/get_backup_vault.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -111,9 +116,6 @@ def get_backup_vault(backup_vault_name: Optional[str] = None, backup_vault_tags=pulumi.get(__ret__, 'backup_vault_tags'), lock_configuration=pulumi.get(__ret__, 'lock_configuration'), notifications=pulumi.get(__ret__, 'notifications')) - - -@_utilities.lift_output_func(get_backup_vault) def get_backup_vault_output(backup_vault_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBackupVaultResult]: """ @@ -122,4 +124,13 @@ def get_backup_vault_output(backup_vault_name: Optional[pulumi.Input[str]] = Non :param str backup_vault_name: The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. """ - ... + __args__ = dict() + __args__['backupVaultName'] = backup_vault_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:backup:getBackupVault', __args__, opts=opts, typ=GetBackupVaultResult) + return __ret__.apply(lambda __response__: GetBackupVaultResult( + access_policy=pulumi.get(__response__, 'access_policy'), + backup_vault_arn=pulumi.get(__response__, 'backup_vault_arn'), + backup_vault_tags=pulumi.get(__response__, 'backup_vault_tags'), + lock_configuration=pulumi.get(__response__, 'lock_configuration'), + notifications=pulumi.get(__response__, 'notifications'))) diff --git a/sdk/python/pulumi_aws_native/backup/get_framework.py b/sdk/python/pulumi_aws_native/backup/get_framework.py index 9940cea72d..c3db8adb45 100644 --- a/sdk/python/pulumi_aws_native/backup/get_framework.py +++ b/sdk/python/pulumi_aws_native/backup/get_framework.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -144,9 +149,6 @@ def get_framework(framework_arn: Optional[str] = None, framework_description=pulumi.get(__ret__, 'framework_description'), framework_status=pulumi.get(__ret__, 'framework_status'), framework_tags=pulumi.get(__ret__, 'framework_tags')) - - -@_utilities.lift_output_func(get_framework) def get_framework_output(framework_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFrameworkResult]: """ @@ -155,4 +157,15 @@ def get_framework_output(framework_arn: Optional[pulumi.Input[str]] = None, :param str framework_arn: An Amazon Resource Name (ARN) that uniquely identifies Framework as a resource """ - ... + __args__ = dict() + __args__['frameworkArn'] = framework_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:backup:getFramework', __args__, opts=opts, typ=GetFrameworkResult) + return __ret__.apply(lambda __response__: GetFrameworkResult( + creation_time=pulumi.get(__response__, 'creation_time'), + deployment_status=pulumi.get(__response__, 'deployment_status'), + framework_arn=pulumi.get(__response__, 'framework_arn'), + framework_controls=pulumi.get(__response__, 'framework_controls'), + framework_description=pulumi.get(__response__, 'framework_description'), + framework_status=pulumi.get(__response__, 'framework_status'), + framework_tags=pulumi.get(__response__, 'framework_tags'))) diff --git a/sdk/python/pulumi_aws_native/backup/get_report_plan.py b/sdk/python/pulumi_aws_native/backup/get_report_plan.py index 2fe90bf70e..969b4db9ed 100644 --- a/sdk/python/pulumi_aws_native/backup/get_report_plan.py +++ b/sdk/python/pulumi_aws_native/backup/get_report_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -110,9 +115,6 @@ def get_report_plan(report_plan_arn: Optional[str] = None, report_plan_description=pulumi.get(__ret__, 'report_plan_description'), report_plan_tags=pulumi.get(__ret__, 'report_plan_tags'), report_setting=pulumi.get(__ret__, 'report_setting')) - - -@_utilities.lift_output_func(get_report_plan) def get_report_plan_output(report_plan_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReportPlanResult]: """ @@ -121,4 +123,13 @@ def get_report_plan_output(report_plan_arn: Optional[pulumi.Input[str]] = None, :param str report_plan_arn: An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type. """ - ... + __args__ = dict() + __args__['reportPlanArn'] = report_plan_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:backup:getReportPlan', __args__, opts=opts, typ=GetReportPlanResult) + return __ret__.apply(lambda __response__: GetReportPlanResult( + report_delivery_channel=pulumi.get(__response__, 'report_delivery_channel'), + report_plan_arn=pulumi.get(__response__, 'report_plan_arn'), + report_plan_description=pulumi.get(__response__, 'report_plan_description'), + report_plan_tags=pulumi.get(__response__, 'report_plan_tags'), + report_setting=pulumi.get(__response__, 'report_setting'))) diff --git a/sdk/python/pulumi_aws_native/backup/get_restore_testing_plan.py b/sdk/python/pulumi_aws_native/backup/get_restore_testing_plan.py index 40f509ff25..ba372e9589 100644 --- a/sdk/python/pulumi_aws_native/backup/get_restore_testing_plan.py +++ b/sdk/python/pulumi_aws_native/backup/get_restore_testing_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -136,9 +141,6 @@ def get_restore_testing_plan(restore_testing_plan_name: Optional[str] = None, schedule_status=pulumi.get(__ret__, 'schedule_status'), start_window_hours=pulumi.get(__ret__, 'start_window_hours'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_restore_testing_plan) def get_restore_testing_plan_output(restore_testing_plan_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRestoreTestingPlanResult]: """ @@ -147,4 +149,15 @@ def get_restore_testing_plan_output(restore_testing_plan_name: Optional[pulumi.I :param str restore_testing_plan_name: The RestoreTestingPlanName is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores. """ - ... + __args__ = dict() + __args__['restoreTestingPlanName'] = restore_testing_plan_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:backup:getRestoreTestingPlan', __args__, opts=opts, typ=GetRestoreTestingPlanResult) + return __ret__.apply(lambda __response__: GetRestoreTestingPlanResult( + recovery_point_selection=pulumi.get(__response__, 'recovery_point_selection'), + restore_testing_plan_arn=pulumi.get(__response__, 'restore_testing_plan_arn'), + schedule_expression=pulumi.get(__response__, 'schedule_expression'), + schedule_expression_timezone=pulumi.get(__response__, 'schedule_expression_timezone'), + schedule_status=pulumi.get(__response__, 'schedule_status'), + start_window_hours=pulumi.get(__response__, 'start_window_hours'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/backup/get_restore_testing_selection.py b/sdk/python/pulumi_aws_native/backup/get_restore_testing_selection.py index 60595b19c8..5675379a01 100644 --- a/sdk/python/pulumi_aws_native/backup/get_restore_testing_selection.py +++ b/sdk/python/pulumi_aws_native/backup/get_restore_testing_selection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -116,9 +121,6 @@ def get_restore_testing_selection(restore_testing_plan_name: Optional[str] = Non protected_resource_conditions=pulumi.get(__ret__, 'protected_resource_conditions'), restore_metadata_overrides=pulumi.get(__ret__, 'restore_metadata_overrides'), validation_window_hours=pulumi.get(__ret__, 'validation_window_hours')) - - -@_utilities.lift_output_func(get_restore_testing_selection) def get_restore_testing_selection_output(restore_testing_plan_name: Optional[pulumi.Input[str]] = None, restore_testing_selection_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRestoreTestingSelectionResult]: @@ -131,4 +133,14 @@ def get_restore_testing_selection_output(restore_testing_plan_name: Optional[pul The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50. :param str restore_testing_selection_name: The unique name of the restore testing selection that belongs to the related restore testing plan. """ - ... + __args__ = dict() + __args__['restoreTestingPlanName'] = restore_testing_plan_name + __args__['restoreTestingSelectionName'] = restore_testing_selection_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:backup:getRestoreTestingSelection', __args__, opts=opts, typ=GetRestoreTestingSelectionResult) + return __ret__.apply(lambda __response__: GetRestoreTestingSelectionResult( + iam_role_arn=pulumi.get(__response__, 'iam_role_arn'), + protected_resource_arns=pulumi.get(__response__, 'protected_resource_arns'), + protected_resource_conditions=pulumi.get(__response__, 'protected_resource_conditions'), + restore_metadata_overrides=pulumi.get(__response__, 'restore_metadata_overrides'), + validation_window_hours=pulumi.get(__response__, 'validation_window_hours'))) diff --git a/sdk/python/pulumi_aws_native/backup/outputs.py b/sdk/python/pulumi_aws_native/backup/outputs.py index d2f16a433d..cab9757918 100644 --- a/sdk/python/pulumi_aws_native/backup/outputs.py +++ b/sdk/python/pulumi_aws_native/backup/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/backup/report_plan.py b/sdk/python/pulumi_aws_native/backup/report_plan.py index 83218c5f41..fdb869e4dd 100644 --- a/sdk/python/pulumi_aws_native/backup/report_plan.py +++ b/sdk/python/pulumi_aws_native/backup/report_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/backup/restore_testing_plan.py b/sdk/python/pulumi_aws_native/backup/restore_testing_plan.py index 0204a576d3..a8998f710f 100644 --- a/sdk/python/pulumi_aws_native/backup/restore_testing_plan.py +++ b/sdk/python/pulumi_aws_native/backup/restore_testing_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/backup/restore_testing_selection.py b/sdk/python/pulumi_aws_native/backup/restore_testing_selection.py index 91605deca2..3d3af8ee50 100644 --- a/sdk/python/pulumi_aws_native/backup/restore_testing_selection.py +++ b/sdk/python/pulumi_aws_native/backup/restore_testing_selection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/backupgateway/get_hypervisor.py b/sdk/python/pulumi_aws_native/backupgateway/get_hypervisor.py index d79682a880..10686f07fe 100644 --- a/sdk/python/pulumi_aws_native/backupgateway/get_hypervisor.py +++ b/sdk/python/pulumi_aws_native/backupgateway/get_hypervisor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_hypervisor(hypervisor_arn: Optional[str] = None, return AwaitableGetHypervisorResult( host=pulumi.get(__ret__, 'host'), hypervisor_arn=pulumi.get(__ret__, 'hypervisor_arn')) - - -@_utilities.lift_output_func(get_hypervisor) def get_hypervisor_output(hypervisor_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHypervisorResult]: """ @@ -80,4 +82,10 @@ def get_hypervisor_output(hypervisor_arn: Optional[pulumi.Input[str]] = None, :param str hypervisor_arn: Returns `HypervisorArn` , an Amazon Resource Name (ARN) that uniquely identifies a Hypervisor. For example: `arn:aws:backup-gateway:us-east-1:123456789012:hypervisor/hype-1234D67D` """ - ... + __args__ = dict() + __args__['hypervisorArn'] = hypervisor_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:backupgateway:getHypervisor', __args__, opts=opts, typ=GetHypervisorResult) + return __ret__.apply(lambda __response__: GetHypervisorResult( + host=pulumi.get(__response__, 'host'), + hypervisor_arn=pulumi.get(__response__, 'hypervisor_arn'))) diff --git a/sdk/python/pulumi_aws_native/backupgateway/hypervisor.py b/sdk/python/pulumi_aws_native/backupgateway/hypervisor.py index 4759e7b5bb..d8fc50be04 100644 --- a/sdk/python/pulumi_aws_native/backupgateway/hypervisor.py +++ b/sdk/python/pulumi_aws_native/backupgateway/hypervisor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/batch/_inputs.py b/sdk/python/pulumi_aws_native/batch/_inputs.py index f3750e9f3a..d5d25d4fe2 100644 --- a/sdk/python/pulumi_aws_native/batch/_inputs.py +++ b/sdk/python/pulumi_aws_native/batch/_inputs.py @@ -4,65 +4,274 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ComputeEnvironmentComputeResourcesArgs', + 'ComputeEnvironmentComputeResourcesArgsDict', 'ComputeEnvironmentEc2ConfigurationObjectArgs', + 'ComputeEnvironmentEc2ConfigurationObjectArgsDict', 'ComputeEnvironmentEksConfigurationArgs', + 'ComputeEnvironmentEksConfigurationArgsDict', 'ComputeEnvironmentLaunchTemplateSpecificationArgs', + 'ComputeEnvironmentLaunchTemplateSpecificationArgsDict', 'ComputeEnvironmentUpdatePolicyArgs', + 'ComputeEnvironmentUpdatePolicyArgsDict', 'JobDefinitionAuthorizationConfigArgs', + 'JobDefinitionAuthorizationConfigArgsDict', 'JobDefinitionContainerPropertiesArgs', + 'JobDefinitionContainerPropertiesArgsDict', 'JobDefinitionDeviceArgs', + 'JobDefinitionDeviceArgsDict', 'JobDefinitionEcsPropertiesArgs', + 'JobDefinitionEcsPropertiesArgsDict', 'JobDefinitionEcsTaskPropertiesArgs', + 'JobDefinitionEcsTaskPropertiesArgsDict', 'JobDefinitionEfsVolumeConfigurationArgs', + 'JobDefinitionEfsVolumeConfigurationArgsDict', 'JobDefinitionEksContainerEnvironmentVariableArgs', + 'JobDefinitionEksContainerEnvironmentVariableArgsDict', 'JobDefinitionEksContainerResourceRequirementsArgs', + 'JobDefinitionEksContainerResourceRequirementsArgsDict', 'JobDefinitionEksContainerSecurityContextArgs', + 'JobDefinitionEksContainerSecurityContextArgsDict', 'JobDefinitionEksContainerVolumeMountArgs', + 'JobDefinitionEksContainerVolumeMountArgsDict', 'JobDefinitionEksContainerArgs', + 'JobDefinitionEksContainerArgsDict', 'JobDefinitionEksEmptyDirArgs', + 'JobDefinitionEksEmptyDirArgsDict', 'JobDefinitionEksHostPathArgs', + 'JobDefinitionEksHostPathArgsDict', 'JobDefinitionEksPropertiesArgs', + 'JobDefinitionEksPropertiesArgsDict', 'JobDefinitionEksSecretArgs', + 'JobDefinitionEksSecretArgsDict', 'JobDefinitionEksVolumeArgs', + 'JobDefinitionEksVolumeArgsDict', 'JobDefinitionEnvironmentArgs', + 'JobDefinitionEnvironmentArgsDict', 'JobDefinitionEphemeralStorageArgs', + 'JobDefinitionEphemeralStorageArgsDict', 'JobDefinitionEvaluateOnExitArgs', + 'JobDefinitionEvaluateOnExitArgsDict', 'JobDefinitionFargatePlatformConfigurationArgs', + 'JobDefinitionFargatePlatformConfigurationArgsDict', 'JobDefinitionImagePullSecretArgs', + 'JobDefinitionImagePullSecretArgsDict', 'JobDefinitionLinuxParametersArgs', + 'JobDefinitionLinuxParametersArgsDict', 'JobDefinitionLogConfigurationArgs', + 'JobDefinitionLogConfigurationArgsDict', 'JobDefinitionMetadataArgs', + 'JobDefinitionMetadataArgsDict', 'JobDefinitionMountPointsArgs', + 'JobDefinitionMountPointsArgsDict', 'JobDefinitionNetworkConfigurationArgs', + 'JobDefinitionNetworkConfigurationArgsDict', 'JobDefinitionNodePropertiesArgs', + 'JobDefinitionNodePropertiesArgsDict', 'JobDefinitionNodeRangePropertyArgs', + 'JobDefinitionNodeRangePropertyArgsDict', 'JobDefinitionPodPropertiesArgs', + 'JobDefinitionPodPropertiesArgsDict', 'JobDefinitionRepositoryCredentialsArgs', + 'JobDefinitionRepositoryCredentialsArgsDict', 'JobDefinitionResourceRequirementArgs', + 'JobDefinitionResourceRequirementArgsDict', 'JobDefinitionRetryStrategyArgs', + 'JobDefinitionRetryStrategyArgsDict', 'JobDefinitionRuntimePlatformArgs', + 'JobDefinitionRuntimePlatformArgsDict', 'JobDefinitionSecretArgs', + 'JobDefinitionSecretArgsDict', 'JobDefinitionTaskContainerDependencyArgs', + 'JobDefinitionTaskContainerDependencyArgsDict', 'JobDefinitionTaskContainerPropertiesArgs', + 'JobDefinitionTaskContainerPropertiesArgsDict', 'JobDefinitionTimeoutArgs', + 'JobDefinitionTimeoutArgsDict', 'JobDefinitionTmpfsArgs', + 'JobDefinitionTmpfsArgsDict', 'JobDefinitionUlimitArgs', + 'JobDefinitionUlimitArgsDict', 'JobDefinitionVolumesHostArgs', + 'JobDefinitionVolumesHostArgsDict', 'JobDefinitionVolumesArgs', + 'JobDefinitionVolumesArgsDict', 'JobQueueComputeEnvironmentOrderArgs', + 'JobQueueComputeEnvironmentOrderArgsDict', 'JobQueueJobStateTimeLimitActionArgs', + 'JobQueueJobStateTimeLimitActionArgsDict', 'SchedulingPolicyFairsharePolicyArgs', + 'SchedulingPolicyFairsharePolicyArgsDict', 'SchedulingPolicyShareAttributesArgs', + 'SchedulingPolicyShareAttributesArgsDict', ] +MYPY = False + +if not MYPY: + class ComputeEnvironmentComputeResourcesArgsDict(TypedDict): + maxv_cpus: pulumi.Input[int] + """ + The maximum number of Amazon EC2 vCPUs that an environment can reach. + + > With `BEST_FIT_PROGRESSIVE` , `SPOT_CAPACITY_OPTIMIZED` and `SPOT_PRICE_CAPACITY_OPTIMIZED` (recommended) strategies using On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot Instances, AWS Batch might need to exceed `maxvCpus` to meet your capacity requirements. In this event, AWS Batch never exceeds `maxvCpus` by more than a single instance. + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The VPC subnets where the compute resources are launched. Fargate compute resources can contain up to 16 subnets. For Fargate compute resources, providing an empty list will be handled as if this parameter wasn't specified and no change is made. For Amazon EC2 compute resources, providing an empty list removes the VPC subnets from the compute resource. For more information, see [VPCs and subnets](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in the *Amazon VPC User Guide* . + + When updating a compute environment, changing the VPC subnets requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . + + > AWS Batch on Amazon EC2 and AWS Batch on Amazon EKS support Local Zones. For more information, see [Local Zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-local-zones) in the *Amazon EC2 User Guide for Linux Instances* , [Amazon EKS and AWS Local Zones](https://docs.aws.amazon.com/eks/latest/userguide/local-zones.html) in the *Amazon EKS User Guide* and [Amazon ECS clusters in Local Zones, Wavelength Zones, and AWS Outposts](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-regions-zones.html#clusters-local-zones) in the *Amazon ECS Developer Guide* . + > + > AWS Batch on Fargate doesn't currently support Local Zones. + """ + type: pulumi.Input[str] + """ + The type of compute environment: `EC2` , `SPOT` , `FARGATE` , or `FARGATE_SPOT` . For more information, see [Compute environments](https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the *AWS Batch User Guide* . + + If you choose `SPOT` , you must also specify an Amazon EC2 Spot Fleet role with the `spotIamFleetRole` parameter. For more information, see [Amazon EC2 spot fleet role](https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) in the *AWS Batch User Guide* . + + When updating compute environment, changing the type of a compute environment requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . + + When updating the type of a compute environment, changing between `EC2` and `SPOT` or between `FARGATE` and `FARGATE_SPOT` will initiate an infrastructure update, but if you switch between `EC2` and `FARGATE` , AWS CloudFormation will create a new compute environment. + """ + allocation_strategy: NotRequired[pulumi.Input[str]] + """ + The allocation strategy to use for the compute resource if not enough instances of the best fitting instance type can be allocated. This might be because of availability of the instance type in the Region or [Amazon EC2 service limits](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html) . For more information, see [Allocation strategies](https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html) in the *AWS Batch User Guide* . + + When updating a compute environment, changing the allocation strategy requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . `BEST_FIT` is not supported when updating a compute environment. + + > This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified. + + - **BEST_FIT (default)** - AWS Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost instance type. If additional instances of the selected instance type aren't available, AWS Batch waits for the additional instances to be available. If there aren't enough instances available, or if the user is reaching [Amazon EC2 service limits](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html) then additional jobs aren't run until the currently running jobs have completed. This allocation strategy keeps costs lower but can limit scaling. If you are using Spot Fleets with `BEST_FIT` then the Spot Fleet IAM role must be specified. + - **BEST_FIT_PROGRESSIVE** - AWS Batch will select additional instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types with a lower cost per unit vCPU. If additional instances of the previously selected instance types aren't available, AWS Batch will select new instance types. + - **SPOT_CAPACITY_OPTIMIZED** - AWS Batch will select one or more instance types that are large enough to meet the requirements of the jobs in the queue, with a preference for instance types that are less likely to be interrupted. This allocation strategy is only available for Spot Instance compute resources. + - **SPOT_PRICE_CAPACITY_OPTIMIZED** - The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price. This allocation strategy is only available for Spot Instance compute resources. + + > We recommend that you use `SPOT_PRICE_CAPACITY_OPTIMIZED` rather than `SPOT_CAPACITY_OPTIMIZED` in most instances. + + With `BEST_FIT_PROGRESSIVE` , `SPOT_CAPACITY_OPTIMIZED` , and `SPOT_PRICE_CAPACITY_OPTIMIZED` allocation strategies using On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot Instances, AWS Batch might need to go above `maxvCpus` to meet your capacity requirements. In this event, AWS Batch never exceeds `maxvCpus` by more than a single instance. + """ + bid_percentage: NotRequired[pulumi.Input[int]] + """ + The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your maximum percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum percentage. For most use cases, we recommend leaving this field empty. + + When updating a compute environment, changing the bid percentage requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. + """ + desiredv_cpus: NotRequired[pulumi.Input[int]] + """ + The desired number of vCPUS in the compute environment. AWS Batch modifies this value between the minimum and maximum values based on job queue demand. + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > AWS Batch doesn't support changing the desired number of vCPUs of an existing compute environment. Don't specify this parameter for compute environments using Amazon EKS clusters. > When you update the `desiredvCpus` setting, the value must be between the `minvCpus` and `maxvCpus` values. + > + > Additionally, the updated `desiredvCpus` value must be greater than or equal to the current `desiredvCpus` value. For more information, see [Troubleshooting AWS Batch](https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#error-desired-vcpus-update) in the *AWS Batch User Guide* . + """ + ec2_configuration: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComputeEnvironmentEc2ConfigurationObjectArgsDict']]]] + """ + Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the compute environment. If `Ec2Configuration` isn't specified, the default is `ECS_AL2` . + + When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . To remove the Amazon EC2 configuration and any custom AMI ID specified in `imageIdOverride` , set this value to an empty string. + + One or two values can be provided. + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. + """ + ec2_key_pair: NotRequired[pulumi.Input[str]] + """ + The Amazon EC2 key pair that's used for instances launched in the compute environment. You can use this key pair to log in to your instances with SSH. To remove the Amazon EC2 key pair, set this value to an empty string. + + When updating a compute environment, changing the Amazon EC2 key pair requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. + """ + image_id: NotRequired[pulumi.Input[str]] + """ + The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is overridden by the `imageIdOverride` member of the `Ec2Configuration` structure. To remove the custom AMI ID and use the default AMI ID, set this value to an empty string. + + When updating a compute environment, changing the AMI ID requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + instance_role: NotRequired[pulumi.Input[str]] + """ + The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. Required for Amazon EC2 instances. You can specify the short name or full Amazon Resource Name (ARN) of an instance profile. For example, `*ecsInstanceRole*` or `arn:aws:iam:: ** :instance-profile/ *ecsInstanceRole*` . For more information, see [Amazon ECS instance role](https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html) in the *AWS Batch User Guide* . + + When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. + """ + instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The instances types that can be launched. You can specify instance families to launch any instance type within those families (for example, `c5` or `p3` ), or you can specify specific sizes within a family (such as `c5.8xlarge` ). You can also choose `optimal` to select instance types (from the C4, M4, and R4 instance families) that match the demand of your job queues. + + When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > When you create a compute environment, the instance types that you select for the compute environment must share the same architecture. For example, you can't mix x86 and ARM instances in the same compute environment. > Currently, `optimal` uses instance types from the C4, M4, and R4 instance families. In Regions that don't have instance types from those instance families, instance types from the C5, M5, and R5 instance families are used. + """ + launch_template: NotRequired[pulumi.Input['ComputeEnvironmentLaunchTemplateSpecificationArgsDict']] + """ + The launch template to use for your compute resources. Any other compute resource parameters that you specify in a [CreateComputeEnvironment](https://docs.aws.amazon.com/batch/latest/APIReference/API_CreateComputeEnvironment.html) API operation override the same parameters in the launch template. You must specify either the launch template ID or launch template name in the request, but not both. For more information, see [Launch Template Support](https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html) in the ** . Removing the launch template from a compute environment will not remove the AMI specified in the launch template. In order to update the AMI specified in a launch template, the `updateToLatestImageVersion` parameter must be set to `true` . + + When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the ** . + + > This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. + """ + minv_cpus: NotRequired[pulumi.Input[int]] + """ + The minimum number of vCPUs that an environment should maintain (even if the compute environment is `DISABLED` ). + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. + """ + placement_group: NotRequired[pulumi.Input[str]] + """ + The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel jobs to your compute environment, you should consider creating a cluster placement group and associate it with your compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single Availability Zone with high network flow potential. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the *Amazon EC2 User Guide for Linux Instances* . + + When updating a compute environment, changing the placement group requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. + """ + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The Amazon EC2 security groups that are associated with instances launched in the compute environment. This parameter is required for Fargate compute resources, where it can contain up to 5 security groups. For Fargate compute resources, providing an empty list is handled as if this parameter wasn't specified and no change is made. For Amazon EC2 compute resources, providing an empty list removes the security groups from the compute resource. + + When updating a compute environment, changing the Amazon EC2 security groups requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . + """ + spot_iam_fleet_role: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a `SPOT` compute environment. This role is required if the allocation strategy set to `BEST_FIT` or if the allocation strategy isn't specified. For more information, see [Amazon EC2 spot fleet role](https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html) in the *AWS Batch User Guide* . + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it. > To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer *AmazonEC2SpotFleetTaggingRole* managed policy. The previously recommended *AmazonEC2SpotFleetRole* managed policy doesn't have the required permissions to tag Spot Instances. For more information, see [Spot instances not tagged on creation](https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#spot-instance-no-tag) in the *AWS Batch User Guide* . + """ + tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A key-value pair to associate with a resource. + """ + update_to_latest_image_version: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the AMI ID is updated to the latest one that's supported by AWS Batch when the compute environment has an infrastructure update. The default value is `false` . + + > An AMI ID can either be specified in the `imageId` or `imageIdOverride` parameters or be determined by the launch template that's specified in the `launchTemplate` parameter. If an AMI ID is specified any of these ways, this parameter is ignored. For more information about to update AMI IDs during an infrastructure update, see [Updating the AMI ID](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html#updating-compute-environments-ami) in the *AWS Batch User Guide* . + + When updating a compute environment, changing this setting requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . + """ +elif False: + ComputeEnvironmentComputeResourcesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComputeEnvironmentComputeResourcesArgs: def __init__(__self__, *, @@ -505,6 +714,38 @@ def update_to_latest_image_version(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "update_to_latest_image_version", value) +if not MYPY: + class ComputeEnvironmentEc2ConfigurationObjectArgsDict(TypedDict): + image_type: pulumi.Input[str] + """ + The image type to match with the instance type to select an AMI. The supported values are different for `ECS` and `EKS` resources. + + - **ECS** - If the `imageIdOverride` parameter isn't specified, then a recent [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) ( `ECS_AL2` ) is used. If a new image type is specified in an update, but neither an `imageId` nor a `imageIdOverride` parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's supported by AWS Batch is used. + + - **ECS_AL2** - [Amazon Linux 2](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) : Default for all non-GPU instance families. + - **ECS_AL2_NVIDIA** - [Amazon Linux 2 (GPU)](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami) : Default for all GPU instance families (for example `P4` and `G4` ) and can be used for all non AWS Graviton-based instance types. + - **ECS_AL2023** - [Amazon Linux 2023](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) : AWS Batch supports Amazon Linux 2023. + + > Amazon Linux 2023 does not support `A1` instances. + - **ECS_AL1** - [Amazon Linux](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami) . Amazon Linux has reached the end-of-life of standard support. For more information, see [Amazon Linux AMI](https://docs.aws.amazon.com/amazon-linux-ami/) . + - **EKS** - If the `imageIdOverride` parameter isn't specified, then a recent [Amazon EKS-optimized Amazon Linux AMI](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) ( `EKS_AL2` ) is used. If a new image type is specified in an update, but neither an `imageId` nor a `imageIdOverride` parameter is specified, then the latest Amazon EKS optimized AMI for that image type that AWS Batch supports is used. + + - **EKS_AL2** - [Amazon Linux 2](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : Default for all non-GPU instance families. + - **EKS_AL2_NVIDIA** - [Amazon Linux 2 (accelerated)](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : Default for all GPU instance families (for example, `P4` and `G4` ) and can be used for all non AWS Graviton-based instance types. + """ + image_id_override: NotRequired[pulumi.Input[str]] + """ + The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the `imageId` set in the `computeResource` object. + + > The AMI that you choose for a compute environment must match the architecture of the instance types that you intend to use for that compute environment. For example, if your compute environment uses A1 instance types, the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + image_kubernetes_version: NotRequired[pulumi.Input[str]] + """ + The Kubernetes version for the compute environment. If you don't specify a value, the latest version that AWS Batch supports is used. + """ +elif False: + ComputeEnvironmentEc2ConfigurationObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComputeEnvironmentEc2ConfigurationObjectArgs: def __init__(__self__, *, @@ -589,6 +830,19 @@ def image_kubernetes_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "image_kubernetes_version", value) +if not MYPY: + class ComputeEnvironmentEksConfigurationArgsDict(TypedDict): + eks_cluster_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is `arn: *aws* :eks: *us-east-1* : *123456789012* :cluster/ *ClusterForBatch*` . + """ + kubernetes_namespace: pulumi.Input[str] + """ + The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace. The value can't left empty or null. It must be fewer than 64 characters long, can't be set to `default` , can't start with " `kube-` ," and must match this regular expression: `^[a-z0-9]([-a-z0-9]*[a-z0-9])?$` . For more information, see [Namespaces](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/) in the Kubernetes documentation. + """ +elif False: + ComputeEnvironmentEksConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComputeEnvironmentEksConfigurationArgs: def __init__(__self__, *, @@ -626,6 +880,29 @@ def kubernetes_namespace(self, value: pulumi.Input[str]): pulumi.set(self, "kubernetes_namespace", value) +if not MYPY: + class ComputeEnvironmentLaunchTemplateSpecificationArgsDict(TypedDict): + launch_template_id: NotRequired[pulumi.Input[str]] + """ + The ID of the launch template. + """ + launch_template_name: NotRequired[pulumi.Input[str]] + """ + The name of the launch template. + """ + version: NotRequired[pulumi.Input[str]] + """ + The version number of the launch template, `$Latest` , or `$Default` . + + If the value is `$Latest` , the latest version of the launch template is used. If the value is `$Default` , the default version of the launch template is used. + + > If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the `updateToLatestImageVersion` parameter for the compute environment is set to `true` . During an infrastructure update, if either `$Latest` or `$Default` is specified, AWS Batch re-evaluates the launch template version, and it might use a different version of the launch template. This is the case even if the launch template isn't specified in the update. When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see [Updating compute environments](https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the *AWS Batch User Guide* . + + Default: `$Default` . + """ +elif False: + ComputeEnvironmentLaunchTemplateSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComputeEnvironmentLaunchTemplateSpecificationArgs: def __init__(__self__, *, @@ -693,6 +970,19 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class ComputeEnvironmentUpdatePolicyArgsDict(TypedDict): + job_execution_timeout_minutes: NotRequired[pulumi.Input[int]] + """ + Specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. + """ + terminate_jobs_on_update: NotRequired[pulumi.Input[bool]] + """ + Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is `false` . + """ +elif False: + ComputeEnvironmentUpdatePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComputeEnvironmentUpdatePolicyArgs: def __init__(__self__, *, @@ -732,6 +1022,19 @@ def terminate_jobs_on_update(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "terminate_jobs_on_update", value) +if not MYPY: + class JobDefinitionAuthorizationConfigArgsDict(TypedDict): + access_point_id: NotRequired[pulumi.Input[str]] + """ + The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the `EFSVolumeConfiguration` must either be omitted or set to `/` which enforces the path set on the EFS access point. If an access point is used, transit encryption must be enabled in the `EFSVolumeConfiguration` . For more information, see [Working with Amazon EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) in the *Amazon Elastic File System User Guide* . + """ + iam: NotRequired[pulumi.Input[str]] + """ + Whether or not to use the AWS Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the `EFSVolumeConfiguration` . If this parameter is omitted, the default value of `DISABLED` is used. For more information, see [Using Amazon EFS access points](https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html#efs-volume-accesspoints) in the *AWS Batch User Guide* . EFS IAM authorization requires that `TransitEncryption` be `ENABLED` and that a `JobRoleArn` is specified. + """ +elif False: + JobDefinitionAuthorizationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionAuthorizationConfigArgs: def __init__(__self__, *, @@ -771,6 +1074,129 @@ def iam(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "iam", value) +if not MYPY: + class JobDefinitionContainerPropertiesArgsDict(TypedDict): + image: pulumi.Input[str] + """ + Required. The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with `*repository-url* / *image* : *tag*` . It can be 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), underscores (_), colons (:), periods (.), forward slashes (/), and number signs (#). This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `IMAGE` parameter of [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + + > Docker image architecture must match the processor architecture of the compute resources that they're scheduled on. For example, ARM-based Docker images can only run on ARM-based compute resources. + + - Images in Amazon ECR Public repositories use the full `registry/repository[:tag]` or `registry/repository[@digest]` naming conventions. For example, `public.ecr.aws/ *registry_alias* / *my-web-app* : *latest*` . + - Images in Amazon ECR repositories use the full registry and repository URI (for example, `123456789012.dkr.ecr..amazonaws.com/` ). + - Images in official repositories on Docker Hub use a single name (for example, `ubuntu` or `mongo` ). + - Images in other repositories on Docker Hub are qualified with an organization name (for example, `amazon/amazon-ecs-agent` ). + - Images in other online repositories are qualified further by a domain name (for example, `quay.io/assemblyline/ubuntu` ). + """ + command: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The command that's passed to the container. This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [https://docs.docker.com/engine/reference/builder/#cmd](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) . + """ + environment: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionEnvironmentArgsDict']]]] + """ + The environment variables to pass to a container. This parameter maps to `Env` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--env` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + + > We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets. + """ + ephemeral_storage: NotRequired[pulumi.Input['JobDefinitionEphemeralStorageArgsDict']] + """ + The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate . + """ + execution_role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. For more information, see [AWS Batch execution IAM role](https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) in the *AWS Batch User Guide* . + """ + fargate_platform_configuration: NotRequired[pulumi.Input['JobDefinitionFargatePlatformConfigurationArgsDict']] + """ + The platform configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter. + """ + instance_type: NotRequired[pulumi.Input[str]] + """ + The instance type to use for a multi-node parallel job. All node groups in a multi-node parallel job must use the same instance type. + + > This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided. + """ + job_role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. For more information, see [IAM roles for tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + linux_parameters: NotRequired[pulumi.Input['JobDefinitionLinuxParametersArgsDict']] + """ + Linux-specific modifications that are applied to the container, such as details for device mappings. + """ + log_configuration: NotRequired[pulumi.Input['JobDefinitionLogConfigurationArgsDict']] + """ + The log configuration specification for the container. + + This parameter maps to `LogConfig` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--log-driver` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . By default, containers use the same logging driver that the Docker daemon uses. However the container might use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the Docker documentation. + + > AWS Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the [LogConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html) data type). + + This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` + + > The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + memory: NotRequired[pulumi.Input[int]] + """ + This parameter is deprecated, use `resourceRequirements` to specify the memory requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs that run on Amazon EC2 resources, it specifies the memory hard limit (in MiB) for a container. If your container attempts to exceed the specified number, it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can be specified in several places. It must be specified for each node at least once. + """ + mount_points: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionMountPointsArgsDict']]]] + """ + The mount points for data volumes in your container. This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--volume` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + """ + network_configuration: NotRequired[pulumi.Input['JobDefinitionNetworkConfigurationArgsDict']] + """ + The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter. + """ + privileged: NotRequired[pulumi.Input[bool]] + """ + When this parameter is true, the container is given elevated permissions on the host container instance (similar to the `root` user). This parameter maps to `Privileged` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--privileged` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . The default value is false. + + > This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided, or specified as false. + """ + readonly_root_filesystem: NotRequired[pulumi.Input[bool]] + """ + When this parameter is true, the container is given read-only access to its root file system. This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--read-only` option to `docker run` . + """ + repository_credentials: NotRequired[pulumi.Input['JobDefinitionRepositoryCredentialsArgsDict']] + """ + The private repository authentication credentials to use. + """ + resource_requirements: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionResourceRequirementArgsDict']]]] + """ + The type and amount of resources to assign to a container. The supported resources include `GPU` , `MEMORY` , and `VCPU` . + """ + runtime_platform: NotRequired[pulumi.Input['JobDefinitionRuntimePlatformArgsDict']] + """ + An object that represents the compute environment architecture for AWS Batch jobs on Fargate. + """ + secrets: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionSecretArgsDict']]]] + """ + The secrets for the container. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) in the *AWS Batch User Guide* . + """ + ulimits: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionUlimitArgsDict']]]] + """ + A list of `ulimits` to set in the container. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + + > This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided. + """ + user: NotRequired[pulumi.Input[str]] + """ + The user name to use inside the container. This parameter maps to `User` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--user` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + """ + vcpus: NotRequired[pulumi.Input[int]] + """ + This parameter is deprecated, use `resourceRequirements` to specify the vCPU requirements for the job definition. It's not supported for jobs running on Fargate resources. For jobs running on Amazon EC2 resources, it specifies the number of vCPUs reserved for the job. + + Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to `CpuShares` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--cpu-shares` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . The number of vCPUs must be specified but can be specified in several places. You must specify it at least once for each node. + """ + volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionVolumesArgsDict']]]] + """ + A list of data volumes used in a job. + """ +elif False: + JobDefinitionContainerPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionContainerPropertiesArgs: def __init__(__self__, *, @@ -1197,6 +1623,23 @@ def volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobDefinit pulumi.set(self, "volumes", value) +if not MYPY: + class JobDefinitionDeviceArgsDict(TypedDict): + container_path: NotRequired[pulumi.Input[str]] + """ + The path inside the container that's used to expose the host device. By default, the `hostPath` value is used. + """ + host_path: NotRequired[pulumi.Input[str]] + """ + The path for the device on the host container instance. + """ + permissions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The explicit permissions to provide to the container for the device. By default, the container has permissions for `read` , `write` , and `mknod` for the device. + """ +elif False: + JobDefinitionDeviceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionDeviceArgs: def __init__(__self__, *, @@ -1252,6 +1695,17 @@ def permissions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "permissions", value) +if not MYPY: + class JobDefinitionEcsPropertiesArgsDict(TypedDict): + task_properties: pulumi.Input[Sequence[pulumi.Input['JobDefinitionEcsTaskPropertiesArgsDict']]] + """ + An object that contains the properties for the Amazon ECS task definition of a job. + + > This object is currently limited to one task element. However, the task element can run up to 10 containers. + """ +elif False: + JobDefinitionEcsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEcsPropertiesArgs: def __init__(__self__, *, @@ -1278,6 +1732,67 @@ def task_properties(self, value: pulumi.Input[Sequence[pulumi.Input['JobDefiniti pulumi.set(self, "task_properties", value) +if not MYPY: + class JobDefinitionEcsTaskPropertiesArgsDict(TypedDict): + containers: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionTaskContainerPropertiesArgsDict']]]] + """ + This object is a list of containers. + """ + ephemeral_storage: NotRequired[pulumi.Input['JobDefinitionEphemeralStorageArgsDict']] + """ + The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate . + """ + execution_role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must provide an execution role. For more information, see [AWS Batch execution IAM role](https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) in the *AWS Batch User Guide* . + """ + ipc_mode: NotRequired[pulumi.Input[str]] + """ + The IPC resource namespace to use for the containers in the task. The valid values are `host` , `task` , or `none` . + + If `host` is specified, all containers within the tasks that specified the `host` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. + + If `task` is specified, all containers within the specified `task` share the same IPC resources. + + If `none` is specified, the IPC resources within the containers of a task are private, and are not shared with other containers in a task or on the container instance. + + If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. For more information, see [IPC settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#ipc-settings---ipc) in the Docker run reference. + """ + network_configuration: NotRequired[pulumi.Input['JobDefinitionNetworkConfigurationArgsDict']] + """ + The network configuration for jobs that are running on Fargate resources. Jobs that are running on Amazon EC2 resources must not specify this parameter. + """ + pid_mode: NotRequired[pulumi.Input[str]] + """ + The process namespace to use for the containers in the task. The valid values are `host` or `task` . For example, monitoring sidecars might need `pidMode` to access information about other containers running in the same task. + + If `host` is specified, all containers within the tasks that specified the `host` PID mode on the same container instance share the process namespace with the host Amazon EC2 instance. + + If `task` is specified, all containers within the specified task share the same process namespace. + + If no value is specified, the default is a private namespace for each container. For more information, see [PID settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#pid-settings---pid) in the Docker run reference. + """ + platform_version: NotRequired[pulumi.Input[str]] + """ + The Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + runtime_platform: NotRequired[pulumi.Input['JobDefinitionRuntimePlatformArgsDict']] + """ + An object that represents the compute environment architecture for AWS Batch jobs on Fargate. + """ + task_role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) that's associated with the Amazon ECS task. + + > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) . + """ + volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionVolumesArgsDict']]]] + """ + A list of volumes that are associated with the job. + """ +elif False: + JobDefinitionEcsTaskPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEcsTaskPropertiesArgs: def __init__(__self__, *, @@ -1477,6 +1992,33 @@ def volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobDefinit pulumi.set(self, "volumes", value) +if not MYPY: + class JobDefinitionEfsVolumeConfigurationArgsDict(TypedDict): + file_system_id: pulumi.Input[str] + """ + The Amazon EFS file system ID to use. + """ + authorization_config: NotRequired[pulumi.Input['JobDefinitionAuthorizationConfigArgsDict']] + """ + The authorization configuration details for the Amazon EFS file system. + """ + root_directory: NotRequired[pulumi.Input[str]] + """ + The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume is used instead. Specifying `/` has the same effect as omitting this parameter. The maximum length is 4,096 characters. + + > If an EFS access point is specified in the `authorizationConfig` , the root directory parameter must either be omitted or set to `/` , which enforces the path set on the Amazon EFS access point. + """ + transit_encryption: NotRequired[pulumi.Input[str]] + """ + Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of `DISABLED` is used. For more information, see [Encrypting data in transit](https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) in the *Amazon Elastic File System User Guide* . + """ + transit_encryption_port: NotRequired[pulumi.Input[int]] + """ + The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you don't specify a transit encryption port, it uses the port selection strategy that the Amazon EFS mount helper uses. The value must be between 0 and 65,535. For more information, see [EFS mount helper](https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) in the *Amazon Elastic File System User Guide* . + """ +elif False: + JobDefinitionEfsVolumeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEfsVolumeConfigurationArgs: def __init__(__self__, *, @@ -1567,6 +2109,19 @@ def transit_encryption_port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "transit_encryption_port", value) +if not MYPY: + class JobDefinitionEksContainerEnvironmentVariableArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the environment variable. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of the environment variable. + """ +elif False: + JobDefinitionEksContainerEnvironmentVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEksContainerEnvironmentVariableArgs: def __init__(__self__, *, @@ -1605,6 +2160,31 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class JobDefinitionEksContainerResourceRequirementsArgsDict(TypedDict): + limits: NotRequired[Any] + """ + The type and quantity of the resources to reserve for the container. The values vary based on the `name` that's specified. Resources can be requested using either the `limits` or the `requests` objects. + + - **memory** - The memory hard limit (in MiB) for the container, using whole integers, with a "Mi" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both places, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . + + > To maximize your resource utilization, provide your jobs with as much memory as possible for the specific instance type that you are using. To learn how, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . + - **cpu** - The number of CPUs that's reserved for the container. Values must be an even multiple of `0.25` . `cpu` can be specified in `limits` , `requests` , or both. If `cpu` is specified in both places, then the value that's specified in `limits` must be at least as large as the value that's specified in `requests` . + - **nvidia.com/gpu** - The number of GPUs that's reserved for the container. Values must be a whole integer. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both places, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . + """ + requests: NotRequired[Any] + """ + The type and quantity of the resources to request for the container. The values vary based on the `name` that's specified. Resources can be requested by using either the `limits` or the `requests` objects. + + - **memory** - The memory hard limit (in MiB) for the container, using whole integers, with a "Mi" suffix. If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job. `memory` can be specified in `limits` , `requests` , or both. If `memory` is specified in both, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . + + > If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . + - **cpu** - The number of CPUs that are reserved for the container. Values must be an even multiple of `0.25` . `cpu` can be specified in `limits` , `requests` , or both. If `cpu` is specified in both, then the value that's specified in `limits` must be at least as large as the value that's specified in `requests` . + - **nvidia.com/gpu** - The number of GPUs that are reserved for the container. Values must be a whole integer. `nvidia.com/gpu` can be specified in `limits` , `requests` , or both. If `nvidia.com/gpu` is specified in both, then the value that's specified in `limits` must be equal to the value that's specified in `requests` . + """ +elif False: + JobDefinitionEksContainerResourceRequirementsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEksContainerResourceRequirementsArgs: def __init__(__self__, *, @@ -1668,6 +2248,35 @@ def requests(self, value: Optional[Any]): pulumi.set(self, "requests", value) +if not MYPY: + class JobDefinitionEksContainerSecurityContextArgsDict(TypedDict): + allow_privilege_escalation: NotRequired[pulumi.Input[bool]] + """ + Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process. The default value is `false` . + """ + privileged: NotRequired[pulumi.Input[bool]] + """ + When this parameter is `true` , the container is given elevated permissions on the host container instance. The level of permissions are similar to the `root` user permissions. The default value is `false` . This parameter maps to `privileged` policy in the [Privileged pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#privileged) in the *Kubernetes documentation* . + """ + read_only_root_filesystem: NotRequired[pulumi.Input[bool]] + """ + When this parameter is `true` , the container is given read-only access to its root file system. The default value is `false` . This parameter maps to `ReadOnlyRootFilesystem` policy in the [Volumes and file systems pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#volumes-and-file-systems) in the *Kubernetes documentation* . + """ + run_as_group: NotRequired[pulumi.Input[int]] + """ + When this parameter is specified, the container is run as the specified group ID ( `gid` ). If this parameter isn't specified, the default is the group that's specified in the image metadata. This parameter maps to `RunAsGroup` and `MustRunAs` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* . + """ + run_as_non_root: NotRequired[pulumi.Input[bool]] + """ + When this parameter is specified, the container is run as a user with a `uid` other than 0. If this parameter isn't specified, so such rule is enforced. This parameter maps to `RunAsUser` and `MustRunAsNonRoot` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* . + """ + run_as_user: NotRequired[pulumi.Input[int]] + """ + When this parameter is specified, the container is run as the specified user ID ( `uid` ). If this parameter isn't specified, the default is the user that's specified in the image metadata. This parameter maps to `RunAsUser` and `MustRanAs` policy in the [Users and groups pod security policies](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups) in the *Kubernetes documentation* . + """ +elif False: + JobDefinitionEksContainerSecurityContextArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEksContainerSecurityContextArgs: def __init__(__self__, *, @@ -1771,6 +2380,23 @@ def run_as_user(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "run_as_user", value) +if not MYPY: + class JobDefinitionEksContainerVolumeMountArgsDict(TypedDict): + mount_path: NotRequired[pulumi.Input[str]] + """ + The path on the container where the volume is mounted. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name the volume mount. This must match the name of one of the volumes in the pod. + """ + read_only: NotRequired[pulumi.Input[bool]] + """ + If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . + """ +elif False: + JobDefinitionEksContainerVolumeMountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEksContainerVolumeMountArgs: def __init__(__self__, *, @@ -1826,6 +2452,53 @@ def read_only(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "read_only", value) +if not MYPY: + class JobDefinitionEksContainerArgsDict(TypedDict): + image: pulumi.Input[str] + """ + The Docker image used to start the container. + """ + args: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of arguments to the entrypoint. If this isn't specified, the `CMD` of the container image is used. This corresponds to the `args` member in the [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) portion of the [Pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/) in Kubernetes. Environment variable references are expanded using the container's environment. + + If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` , and the resulting string isn't expanded. For example, `$$(VAR_NAME)` is passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) and [Define a command and arguments for a pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) in the *Kubernetes documentation* . + """ + command: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The entrypoint for the container. This isn't run within a shell. If this isn't specified, the `ENTRYPOINT` of the container image is used. Environment variable references are expanded using the container's environment. + + If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` and the resulting string isn't expanded. For example, `$$(VAR_NAME)` will be passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. The entrypoint can't be updated. For more information, see [ENTRYPOINT](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#entrypoint) in the *Dockerfile reference* and [Define a command and arguments for a container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) and [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) in the *Kubernetes documentation* . + """ + env: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionEksContainerEnvironmentVariableArgsDict']]]] + """ + The environment variables to pass to a container. + + > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets. + """ + image_pull_policy: NotRequired[pulumi.Input[str]] + """ + The image pull policy for the container. Supported values are `Always` , `IfNotPresent` , and `Never` . This parameter defaults to `IfNotPresent` . However, if the `:latest` tag is specified, it defaults to `Always` . For more information, see [Updating images](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/containers/images/#updating-images) in the *Kubernetes documentation* . + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the container. If the name isn't specified, the default name " `Default` " is used. Each container in a pod must have a unique name. + """ + resources: NotRequired[pulumi.Input['JobDefinitionEksContainerResourceRequirementsArgsDict']] + """ + The type and amount of resources to assign to a container. The supported resources include `memory` , `cpu` , and `nvidia.com/gpu` . For more information, see [Resource management for pods and containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) in the *Kubernetes documentation* . + """ + security_context: NotRequired[pulumi.Input['JobDefinitionEksContainerSecurityContextArgsDict']] + """ + The security context for a job. For more information, see [Configure a security context for a pod or container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) in the *Kubernetes documentation* . + """ + volume_mounts: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionEksContainerVolumeMountArgsDict']]]] + """ + The volume mounts for the container. AWS Batch supports `emptyDir` , `hostPath` , and `secret` volume types. For more information about volumes and volume mounts in Kubernetes, see [Volumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/) in the *Kubernetes documentation* . + """ +elif False: + JobDefinitionEksContainerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEksContainerArgs: def __init__(__self__, *, @@ -1988,6 +2661,22 @@ def volume_mounts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobD pulumi.set(self, "volume_mounts", value) +if not MYPY: + class JobDefinitionEksEmptyDirArgsDict(TypedDict): + medium: NotRequired[pulumi.Input[str]] + """ + The medium to store the volume. The default value is an empty string, which uses the storage of the node. + + - **""** - *(Default)* Use the disk storage of the node. + - **"Memory"** - Use the `tmpfs` volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit. + """ + size_limit: NotRequired[pulumi.Input[str]] + """ + The maximum size of the volume. By default, there's no maximum size defined. + """ +elif False: + JobDefinitionEksEmptyDirArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEksEmptyDirArgs: def __init__(__self__, *, @@ -2033,6 +2722,15 @@ def size_limit(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "size_limit", value) +if not MYPY: + class JobDefinitionEksHostPathArgsDict(TypedDict): + path: NotRequired[pulumi.Input[str]] + """ + The path of the file or directory on the host to mount into containers on the pod. + """ +elif False: + JobDefinitionEksHostPathArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEksHostPathArgs: def __init__(__self__, *, @@ -2056,6 +2754,15 @@ def path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "path", value) +if not MYPY: + class JobDefinitionEksPropertiesArgsDict(TypedDict): + pod_properties: NotRequired[pulumi.Input['JobDefinitionPodPropertiesArgsDict']] + """ + The properties for the Kubernetes pod resources of a job. + """ +elif False: + JobDefinitionEksPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEksPropertiesArgs: def __init__(__self__, *, @@ -2079,6 +2786,19 @@ def pod_properties(self, value: Optional[pulumi.Input['JobDefinitionPodPropertie pulumi.set(self, "pod_properties", value) +if not MYPY: + class JobDefinitionEksSecretArgsDict(TypedDict): + secret_name: pulumi.Input[str] + """ + The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . + """ + optional: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the secret or the secret's keys must be defined. + """ +elif False: + JobDefinitionEksSecretArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEksSecretArgs: def __init__(__self__, *, @@ -2117,6 +2837,27 @@ def optional(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "optional", value) +if not MYPY: + class JobDefinitionEksVolumeArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the volume. The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* . + """ + empty_dir: NotRequired[pulumi.Input['JobDefinitionEksEmptyDirArgsDict']] + """ + Specifies the configuration of a Kubernetes `emptyDir` volume. For more information, see [emptyDir](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the *Kubernetes documentation* . + """ + host_path: NotRequired[pulumi.Input['JobDefinitionEksHostPathArgsDict']] + """ + Specifies the configuration of a Kubernetes `hostPath` volume. For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* . + """ + secret: NotRequired[pulumi.Input['JobDefinitionEksSecretArgsDict']] + """ + Specifies the configuration of a Kubernetes `secret` volume. For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* . + """ +elif False: + JobDefinitionEksVolumeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEksVolumeArgs: def __init__(__self__, *, @@ -2187,6 +2928,19 @@ def secret(self, value: Optional[pulumi.Input['JobDefinitionEksSecretArgs']]): pulumi.set(self, "secret", value) +if not MYPY: + class JobDefinitionEnvironmentArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The name of the environment variable. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of the environment variable. + """ +elif False: + JobDefinitionEnvironmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEnvironmentArgs: def __init__(__self__, *, @@ -2226,6 +2980,15 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class JobDefinitionEphemeralStorageArgsDict(TypedDict): + size_in_gi_b: pulumi.Input[int] + """ + The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is `21` GiB and the maximum supported value is `200` GiB. + """ +elif False: + JobDefinitionEphemeralStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEphemeralStorageArgs: def __init__(__self__, *, @@ -2248,6 +3011,29 @@ def size_in_gi_b(self, value: pulumi.Input[int]): pulumi.set(self, "size_in_gi_b", value) +if not MYPY: + class JobDefinitionEvaluateOnExitArgsDict(TypedDict): + action: pulumi.Input[str] + """ + Specifies the action to take if all of the specified conditions ( `onStatusReason` , `onReason` , and `onExitCode` ) are met. The values aren't case sensitive. + """ + on_exit_code: NotRequired[pulumi.Input[str]] + """ + Contains a glob pattern to match against the decimal representation of the `ExitCode` returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match. + + The string can contain up to 512 characters. + """ + on_reason: NotRequired[pulumi.Input[str]] + """ + Contains a glob pattern to match against the `Reason` returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match. + """ + on_status_reason: NotRequired[pulumi.Input[str]] + """ + Contains a glob pattern to match against the `StatusReason` returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match. + """ +elif False: + JobDefinitionEvaluateOnExitArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionEvaluateOnExitArgs: def __init__(__self__, *, @@ -2322,6 +3108,15 @@ def on_status_reason(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "on_status_reason", value) +if not MYPY: + class JobDefinitionFargatePlatformConfigurationArgsDict(TypedDict): + platform_version: NotRequired[pulumi.Input[str]] + """ + The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the AWS Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* . + """ +elif False: + JobDefinitionFargatePlatformConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionFargatePlatformConfigurationArgs: def __init__(__self__, *, @@ -2345,6 +3140,15 @@ def platform_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "platform_version", value) +if not MYPY: + class JobDefinitionImagePullSecretArgsDict(TypedDict): + name: pulumi.Input[str] + """ + Provides a unique identifier for the `ImagePullSecret` . This object is required when `EksPodProperties$imagePullSecrets` is used. + """ +elif False: + JobDefinitionImagePullSecretArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionImagePullSecretArgs: def __init__(__self__, *, @@ -2367,6 +3171,55 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class JobDefinitionLinuxParametersArgsDict(TypedDict): + devices: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionDeviceArgsDict']]]] + """ + Any of the host devices to expose to the container. This parameter maps to `Devices` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--device` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. + """ + init_process_enabled: NotRequired[pulumi.Input[bool]] + """ + If true, run an `init` process inside the container that forwards signals and reaps processes. This parameter maps to the `--init` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` + """ + max_swap: NotRequired[pulumi.Input[int]] + """ + The total amount of swap memory (in MiB) a container can use. This parameter is translated to the `--memory-swap` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) where the value is the sum of the container memory plus the `maxSwap` value. For more information, see [`--memory-swap` details](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details) in the Docker documentation. + + If a `maxSwap` value of `0` is specified, the container doesn't use swap. Accepted values are `0` or any positive integer. If the `maxSwap` parameter is omitted, the container doesn't use the swap configuration for the container instance that it's running on. A `maxSwap` value must be set for the `swappiness` parameter to be used. + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. + """ + shared_memory_size: NotRequired[pulumi.Input[int]] + """ + The value for the size (in MiB) of the `/dev/shm` volume. This parameter maps to the `--shm-size` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. + """ + swappiness: NotRequired[pulumi.Input[int]] + """ + You can use this parameter to tune a container's memory swappiness behavior. A `swappiness` value of `0` causes swapping to not occur unless absolutely necessary. A `swappiness` value of `100` causes pages to be swapped aggressively. Valid values are whole numbers between `0` and `100` . If the `swappiness` parameter isn't specified, a default value of `60` is used. If a value isn't specified for `maxSwap` , then this parameter is ignored. If `maxSwap` is set to 0, the container doesn't use swap. This parameter maps to the `--memory-swappiness` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + + Consider the following when you use a per-container swap configuration. + + - Swap space must be enabled and allocated on the container instance for the containers to use. + + > By default, the Amazon ECS optimized AMIs don't have swap enabled. You must enable swap on the instance to use this feature. For more information, see [Instance store swap volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html) in the *Amazon EC2 User Guide for Linux Instances* or [How do I allocate memory to work as swap space in an Amazon EC2 instance by using a swap file?](https://docs.aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/) + - The swap space parameters are only supported for job definitions using EC2 resources. + - If the `maxSwap` and `swappiness` parameters are omitted from a job definition, each container has a default `swappiness` value of 60. Moreover, the total swap usage is limited to two times the memory reservation of the container. + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. + """ + tmpfs: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionTmpfsArgsDict']]]] + """ + The container path, mount options, and size (in MiB) of the `tmpfs` mount. This parameter maps to the `--tmpfs` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + + > This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide this parameter for this resource type. + """ +elif False: + JobDefinitionLinuxParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionLinuxParametersArgs: def __init__(__self__, *, @@ -2510,6 +3363,39 @@ def tmpfs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobDefinitio pulumi.set(self, "tmpfs", value) +if not MYPY: + class JobDefinitionLogConfigurationArgsDict(TypedDict): + log_driver: pulumi.Input[str] + """ + The log driver to use for the container. The valid values that are listed for this parameter are log drivers that the Amazon ECS container agent can communicate with by default. + + The supported log drivers are `awslogs` , `fluentd` , `gelf` , `json-file` , `journald` , `logentries` , `syslog` , and `splunk` . + + > Jobs that are running on Fargate resources are restricted to the `awslogs` and `splunk` log drivers. + + - **awslogs** - Specifies the Amazon CloudWatch Logs logging driver. For more information, see [Using the awslogs log driver](https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html) in the *AWS Batch User Guide* and [Amazon CloudWatch Logs logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/awslogs/) in the Docker documentation. + - **fluentd** - Specifies the Fluentd logging driver. For more information including usage and options, see [Fluentd logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/fluentd/) in the *Docker documentation* . + - **gelf** - Specifies the Graylog Extended Format (GELF) logging driver. For more information including usage and options, see [Graylog Extended Format logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/gelf/) in the *Docker documentation* . + - **journald** - Specifies the journald logging driver. For more information including usage and options, see [Journald logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/journald/) in the *Docker documentation* . + - **json-file** - Specifies the JSON file logging driver. For more information including usage and options, see [JSON File logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/json-file/) in the *Docker documentation* . + - **splunk** - Specifies the Splunk logging driver. For more information including usage and options, see [Splunk logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/splunk/) in the *Docker documentation* . + - **syslog** - Specifies the syslog logging driver. For more information including usage and options, see [Syslog logging driver](https://docs.aws.amazon.com/https://docs.docker.com/config/containers/logging/syslog/) in the *Docker documentation* . + + > If you have a custom driver that's not listed earlier that you want to work with the Amazon ECS container agent, you can fork the Amazon ECS container agent project that's [available on GitHub](https://docs.aws.amazon.com/https://github.com/aws/amazon-ecs-agent) and customize it to work with that driver. We encourage you to submit pull requests for changes that you want to have included. However, Amazon Web Services doesn't currently support running modified copies of this software. + + This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` + """ + options: NotRequired[Any] + """ + The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: `sudo docker version | grep "Server API version"` + """ + secret_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionSecretArgsDict']]]] + """ + The secrets to pass to the log configuration. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) in the *AWS Batch User Guide* . + """ +elif False: + JobDefinitionLogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionLogConfigurationArgs: def __init__(__self__, *, @@ -2596,6 +3482,15 @@ def secret_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Job pulumi.set(self, "secret_options", value) +if not MYPY: + class JobDefinitionMetadataArgsDict(TypedDict): + labels: NotRequired[Any] + """ + Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object. + """ +elif False: + JobDefinitionMetadataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionMetadataArgs: def __init__(__self__, *, @@ -2619,6 +3514,23 @@ def labels(self, value: Optional[Any]): pulumi.set(self, "labels", value) +if not MYPY: + class JobDefinitionMountPointsArgsDict(TypedDict): + container_path: NotRequired[pulumi.Input[str]] + """ + The path on the container where the host volume is mounted. + """ + read_only: NotRequired[pulumi.Input[bool]] + """ + If this value is `true` , the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is `false` . + """ + source_volume: NotRequired[pulumi.Input[str]] + """ + The name of the volume to mount. + """ +elif False: + JobDefinitionMountPointsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionMountPointsArgs: def __init__(__self__, *, @@ -2674,6 +3586,15 @@ def source_volume(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_volume", value) +if not MYPY: + class JobDefinitionNetworkConfigurationArgsDict(TypedDict): + assign_public_ip: NotRequired[pulumi.Input[str]] + """ + Indicates whether the job has a public IP address. For a job that's running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet. For more information, see [Amazon ECS task networking](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html) in the *Amazon Elastic Container Service Developer Guide* . The default value is " `DISABLED` ". + """ +elif False: + JobDefinitionNetworkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionNetworkConfigurationArgs: def __init__(__self__, *, @@ -2697,6 +3618,23 @@ def assign_public_ip(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "assign_public_ip", value) +if not MYPY: + class JobDefinitionNodePropertiesArgsDict(TypedDict): + main_node: pulumi.Input[int] + """ + Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes. + """ + node_range_properties: pulumi.Input[Sequence[pulumi.Input['JobDefinitionNodeRangePropertyArgsDict']]] + """ + A list of node ranges and their properties that are associated with a multi-node parallel job. + """ + num_nodes: pulumi.Input[int] + """ + The number of nodes that are associated with a multi-node parallel job. + """ +elif False: + JobDefinitionNodePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionNodePropertiesArgs: def __init__(__self__, *, @@ -2749,6 +3687,35 @@ def num_nodes(self, value: pulumi.Input[int]): pulumi.set(self, "num_nodes", value) +if not MYPY: + class JobDefinitionNodeRangePropertyArgsDict(TypedDict): + target_nodes: pulumi.Input[str] + """ + The range of nodes, using node index values. A range of `0:3` indicates nodes with index values of `0` through `3` . If the starting range value is omitted ( `:n` ), then `0` is used to start the range. If the ending range value is omitted ( `n:` ), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes ( `0:n` ). You can nest node ranges (for example, `0:10` and `4:5` ). In this case, the `4:5` range properties override the `0:10` properties. + """ + container: NotRequired[pulumi.Input['JobDefinitionContainerPropertiesArgsDict']] + """ + The container details for the node range. + """ + ecs_properties: NotRequired[pulumi.Input['JobDefinitionEcsPropertiesArgsDict']] + """ + This is an object that represents the properties of the node range for a multi-node parallel job. + """ + eks_properties: NotRequired[pulumi.Input['JobDefinitionEksPropertiesArgsDict']] + """ + This is an object that represents the properties of the node range for a multi-node parallel job. + """ + instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The instance types of the underlying host infrastructure of a multi-node parallel job. + + > This parameter isn't applicable to jobs that are running on Fargate resources. + > + > In addition, this list object is currently limited to one element. + """ +elif False: + JobDefinitionNodeRangePropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionNodeRangePropertyArgs: def __init__(__self__, *, @@ -2843,6 +3810,50 @@ def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] pulumi.set(self, "instance_types", value) +if not MYPY: + class JobDefinitionPodPropertiesArgsDict(TypedDict): + containers: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionEksContainerArgsDict']]]] + """ + The properties of the container that's used on the Amazon EKS pod. + + > This object is limited to 10 elements. + """ + dns_policy: NotRequired[pulumi.Input[str]] + """ + The DNS policy for the pod. The default value is `ClusterFirst` . If the `hostNetwork` parameter is not specified, the default is `ClusterFirstWithHostNet` . `ClusterFirst` indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see [Pod's DNS policy](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy) in the *Kubernetes documentation* . + + Valid values: `Default` | `ClusterFirst` | `ClusterFirstWithHostNet` + """ + host_network: NotRequired[pulumi.Input[bool]] + """ + Indicates if the pod uses the hosts' network IP address. The default value is `true` . Setting this to `false` enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections. For more information, see [Host namespaces](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/security/pod-security-policy/#host-namespaces) and [Pod networking](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/#pod-networking) in the *Kubernetes documentation* . + """ + image_pull_secrets: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionImagePullSecretArgsDict']]]] + init_containers: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionEksContainerArgsDict']]]] + """ + These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see [Init Containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/workloads/pods/init-containers/) in the *Kubernetes documentation* . + + > This object is limited to 10 elements. + """ + metadata: NotRequired[pulumi.Input['JobDefinitionMetadataArgsDict']] + """ + Metadata about the Kubernetes pod. For more information, see [Understanding Kubernetes Objects](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/) in the *Kubernetes documentation* . + """ + service_account_name: NotRequired[pulumi.Input[str]] + """ + The name of the service account that's used to run the pod. For more information, see [Kubernetes service accounts](https://docs.aws.amazon.com/eks/latest/userguide/service-accounts.html) and [Configure a Kubernetes service account to assume an IAM role](https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html) in the *Amazon EKS User Guide* and [Configure service accounts for pods](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/) in the *Kubernetes documentation* . + """ + share_process_namespace: NotRequired[pulumi.Input[bool]] + """ + Indicates if the processes in a container are shared, or visible, to other containers in the same pod. For more information, see [Share Process Namespace between Containers in a Pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/) . + """ + volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionEksVolumeArgsDict']]]] + """ + Specifies the volumes for a job definition that uses Amazon EKS resources. + """ +elif False: + JobDefinitionPodPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionPodPropertiesArgs: def __init__(__self__, *, @@ -3002,27 +4013,86 @@ def volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobDefinit pulumi.set(self, "volumes", value) -@pulumi.input_type -class JobDefinitionRepositoryCredentialsArgs: - def __init__(__self__, *, - credentials_parameter: pulumi.Input[str]): - """ - :param pulumi.Input[str] credentials_parameter: The Amazon Resource Name (ARN) of the secret containing the private repository credentials. - """ - pulumi.set(__self__, "credentials_parameter", credentials_parameter) +if not MYPY: + class JobDefinitionRepositoryCredentialsArgsDict(TypedDict): + credentials_parameter: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the secret containing the private repository credentials. + """ +elif False: + JobDefinitionRepositoryCredentialsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class JobDefinitionRepositoryCredentialsArgs: + def __init__(__self__, *, + credentials_parameter: pulumi.Input[str]): + """ + :param pulumi.Input[str] credentials_parameter: The Amazon Resource Name (ARN) of the secret containing the private repository credentials. + """ + pulumi.set(__self__, "credentials_parameter", credentials_parameter) + + @property + @pulumi.getter(name="credentialsParameter") + def credentials_parameter(self) -> pulumi.Input[str]: + """ + The Amazon Resource Name (ARN) of the secret containing the private repository credentials. + """ + return pulumi.get(self, "credentials_parameter") + + @credentials_parameter.setter + def credentials_parameter(self, value: pulumi.Input[str]): + pulumi.set(self, "credentials_parameter", value) + + +if not MYPY: + class JobDefinitionResourceRequirementArgsDict(TypedDict): + type: NotRequired[pulumi.Input[str]] + """ + The type of resource to assign to a container. The supported resources include `GPU` , `MEMORY` , and `VCPU` . + """ + value: NotRequired[pulumi.Input[str]] + """ + The quantity of the specified resource to reserve for the container. The values vary based on the `type` specified. + + - **type="GPU"** - The number of physical GPUs to reserve for the container. Make sure that the number of GPUs reserved for all containers in a job doesn't exceed the number of available GPUs on the compute resource that the job is launched on. + + > GPUs aren't available for jobs that are running on Fargate resources. + - **type="MEMORY"** - The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are running on Amazon EC2 resources. If your container attempts to exceed the memory specified, the container is terminated. This parameter maps to `Memory` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--memory` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to `Memory` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--memory` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + + > If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . + + For jobs that are running on Fargate resources, then `value` is the hard limit (in MiB), and must match one of the supported values and the `VCPU` values must be one of the values supported for that memory value. + + - **value = 512** - `VCPU` = 0.25 + - **value = 1024** - `VCPU` = 0.25 or 0.5 + - **value = 2048** - `VCPU` = 0.25, 0.5, or 1 + - **value = 3072** - `VCPU` = 0.5, or 1 + - **value = 4096** - `VCPU` = 0.5, 1, or 2 + - **value = 5120, 6144, or 7168** - `VCPU` = 1 or 2 + - **value = 8192** - `VCPU` = 1, 2, or 4 + - **value = 9216, 10240, 11264, 12288, 13312, 14336, or 15360** - `VCPU` = 2 or 4 + - **value = 16384** - `VCPU` = 2, 4, or 8 + - **value = 17408, 18432, 19456, 21504, 22528, 23552, 25600, 26624, 27648, 29696, or 30720** - `VCPU` = 4 + - **value = 20480, 24576, or 28672** - `VCPU` = 4 or 8 + - **value = 36864, 45056, 53248, or 61440** - `VCPU` = 8 + - **value = 32768, 40960, 49152, or 57344** - `VCPU` = 8 or 16 + - **value = 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880** - `VCPU` = 16 + - **type="VCPU"** - The number of vCPUs reserved for the container. This parameter maps to `CpuShares` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--cpu-shares` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . Each vCPU is equivalent to 1,024 CPU shares. For Amazon EC2 resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be specified for each node at least once. + + The default for the Fargate On-Demand vCPU resource count quota is 6 vCPUs. For more information about Fargate quotas, see [AWS Fargate quotas](https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate) in the *AWS General Reference* . + + For jobs that are running on Fargate resources, then `value` must match one of the supported values and the `MEMORY` values must be one of the values supported for that `VCPU` value. The supported values are 0.25, 0.5, 1, 2, 4, 8, and 16 - @property - @pulumi.getter(name="credentialsParameter") - def credentials_parameter(self) -> pulumi.Input[str]: - """ - The Amazon Resource Name (ARN) of the secret containing the private repository credentials. + - **value = 0.25** - `MEMORY` = 512, 1024, or 2048 + - **value = 0.5** - `MEMORY` = 1024, 2048, 3072, or 4096 + - **value = 1** - `MEMORY` = 2048, 3072, 4096, 5120, 6144, 7168, or 8192 + - **value = 2** - `MEMORY` = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384 + - **value = 4** - `MEMORY` = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720 + - **value = 8** - `MEMORY` = 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, or 61440 + - **value = 16** - `MEMORY` = 32768, 40960, 49152, 57344, 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880 """ - return pulumi.get(self, "credentials_parameter") - - @credentials_parameter.setter - def credentials_parameter(self, value: pulumi.Input[str]): - pulumi.set(self, "credentials_parameter", value) - +elif False: + JobDefinitionResourceRequirementArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class JobDefinitionResourceRequirementArgs: @@ -3137,6 +4207,19 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class JobDefinitionRetryStrategyArgsDict(TypedDict): + attempts: NotRequired[pulumi.Input[int]] + """ + The number of times to move a job to the `RUNNABLE` status. You can specify between 1 and 10 attempts. If the value of `attempts` is greater than one, the job is retried on failure the same number of attempts as the value. + """ + evaluate_on_exit: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionEvaluateOnExitArgsDict']]]] + """ + Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the `attempts` parameter must also be specified. If none of the listed conditions match, then the job is retried. + """ +elif False: + JobDefinitionRetryStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionRetryStrategyArgs: def __init__(__self__, *, @@ -3176,6 +4259,23 @@ def evaluate_on_exit(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['J pulumi.set(self, "evaluate_on_exit", value) +if not MYPY: + class JobDefinitionRuntimePlatformArgsDict(TypedDict): + cpu_architecture: NotRequired[pulumi.Input[str]] + """ + The vCPU architecture. The default value is `X86_64` . Valid values are `X86_64` and `ARM64` . + + > This parameter must be set to `X86_64` for Windows containers. > Fargate Spot is not supported for `ARM64` and Windows-based containers on Fargate. A job queue will be blocked if a Fargate `ARM64` or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both `FARGATE` and `FARGATE_SPOT` compute environments to the same job queue. + """ + operating_system_family: NotRequired[pulumi.Input[str]] + """ + The operating system for the compute environment. Valid values are: `LINUX` (default), `WINDOWS_SERVER_2019_CORE` , `WINDOWS_SERVER_2019_FULL` , `WINDOWS_SERVER_2022_CORE` , and `WINDOWS_SERVER_2022_FULL` . + + > The following parameters can’t be set for Windows containers: `linuxParameters` , `privileged` , `user` , `ulimits` , `readonlyRootFilesystem` , and `efsVolumeConfiguration` . > The AWS Batch Scheduler checks the compute environments that are attached to the job queue before registering a task definition with Fargate. In this scenario, the job queue is where the job is submitted. If the job requires a Windows container and the first compute environment is `LINUX` , the compute environment is skipped and the next compute environment is checked until a Windows-based compute environment is found. > Fargate Spot is not supported for `ARM64` and Windows-based containers on Fargate. A job queue will be blocked if a Fargate `ARM64` or Windows job is submitted to a job queue with only Fargate Spot compute environments. However, you can attach both `FARGATE` and `FARGATE_SPOT` compute environments to the same job queue. + """ +elif False: + JobDefinitionRuntimePlatformArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionRuntimePlatformArgs: def __init__(__self__, *, @@ -3223,6 +4323,21 @@ def operating_system_family(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "operating_system_family", value) +if not MYPY: + class JobDefinitionSecretArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the secret. + """ + value_from: pulumi.Input[str] + """ + The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of the AWS Secrets Manager secret or the full ARN of the parameter in the AWS Systems Manager Parameter Store. + + > If the AWS Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified. + """ +elif False: + JobDefinitionSecretArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionSecretArgs: def __init__(__self__, *, @@ -3264,6 +4379,23 @@ def value_from(self, value: pulumi.Input[str]): pulumi.set(self, "value_from", value) +if not MYPY: + class JobDefinitionTaskContainerDependencyArgsDict(TypedDict): + condition: pulumi.Input[str] + """ + The dependency condition of the container. The following are the available conditions and their behavior: + + - `START` - This condition emulates the behavior of links and volumes today. It validates that a dependent container is started before permitting other containers to start. + - `COMPLETE` - This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. This can be useful for nonessential containers that run a script and then exit. This condition can't be set on an essential container. + - `SUCCESS` - This condition is the same as `COMPLETE` , but it also requires that the container exits with a zero status. This condition can't be set on an essential container. + """ + container_name: pulumi.Input[str] + """ + A unique identifier for the container. + """ +elif False: + JobDefinitionTaskContainerDependencyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionTaskContainerDependencyArgs: def __init__(__self__, *, @@ -3309,6 +4441,116 @@ def container_name(self, value: pulumi.Input[str]): pulumi.set(self, "container_name", value) +if not MYPY: + class JobDefinitionTaskContainerPropertiesArgsDict(TypedDict): + image: pulumi.Input[str] + """ + The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either `repository-url/image:tag` or `repository-url/image@digest` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `IMAGE` parameter of the [*docker run*](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . + """ + command: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The command that's passed to the container. This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) . + """ + depends_on: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionTaskContainerDependencyArgsDict']]]] + """ + A list of containers that this container depends on. + """ + environment: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionEnvironmentArgsDict']]]] + """ + The environment variables to pass to a container. This parameter maps to Env inthe [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--env` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + + > We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with `AWS_BATCH` . This naming convention is reserved for variables that AWS Batch sets. + """ + essential: NotRequired[pulumi.Input[bool]] + """ + If the essential parameter of a container is marked as `true` , and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the `essential` parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. + + All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see [Application Architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + linux_parameters: NotRequired[pulumi.Input['JobDefinitionLinuxParametersArgsDict']] + """ + Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more information, see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html) . + """ + log_configuration: NotRequired[pulumi.Input['JobDefinitionLogConfigurationArgsDict']] + """ + The log configuration specification for the container. + + This parameter maps to `LogConfig` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--log-driver` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . + + By default, containers use the same logging driver that the Docker daemon uses. However the container can use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information about the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the *Docker documentation* . + + > Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the `LogConfiguration` data type). Additional log drivers may be available in future releases of the Amazon ECS container agent. + + This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'` + + > The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + mount_points: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionMountPointsArgsDict']]]] + """ + The mount points for data volumes in your container. + + This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the [--volume](https://docs.aws.amazon.com/) option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . + + Windows containers can mount whole directories on the same drive as `$env:ProgramData` . Windows containers can't mount directories on a different drive, and mount point can't be across drives. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a container. The name can be used as a unique identifier to target your `dependsOn` and `Overrides` objects. + """ + privileged: NotRequired[pulumi.Input[bool]] + """ + When this parameter is `true` , the container is given elevated privileges on the host container instance (similar to the `root` user). This parameter maps to `Privileged` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--privileged` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . + + > This parameter is not supported for Windows containers or tasks run on Fargate. + """ + readonly_root_filesystem: NotRequired[pulumi.Input[bool]] + """ + When this parameter is true, the container is given read-only access to its root file system. This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--read-only` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . + + > This parameter is not supported for Windows containers. + """ + repository_credentials: NotRequired[pulumi.Input['JobDefinitionRepositoryCredentialsArgsDict']] + """ + The private repository authentication credentials to use. + """ + resource_requirements: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionResourceRequirementArgsDict']]]] + """ + The type and amount of a resource to assign to a container. The only supported resource is a GPU. + """ + secrets: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionSecretArgsDict']]]] + """ + The secrets to pass to the container. For more information, see [Specifying Sensitive Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the Amazon Elastic Container Service Developer Guide. + """ + ulimits: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobDefinitionUlimitArgsDict']]]] + """ + A list of `ulimits` to set in the container. If a `ulimit` value is specified in a task definition, it overrides the default values set by Docker. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) . + + Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which Fargate overrides. The `nofile` resource limit sets a restriction on the number of open files that a container can use. The default `nofile` soft limit is `1024` and the default hard limit is `65535` . + + This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'` + + > This parameter is not supported for Windows containers. + """ + user: NotRequired[pulumi.Input[str]] + """ + The user to use inside the container. This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run. + + > When running tasks using the `host` network mode, don't run containers using the `root user (UID 0)` . We recommend using a non-root user for better security. + + You can specify the `user` using the following formats. If specifying a UID or GID, you must specify it as a positive integer. + + - `user` + - `user:group` + - `uid` + - `uid:gid` + - `user:gi` + - `uid:group` + + > This parameter is not supported for Windows containers. + """ +elif False: + JobDefinitionTaskContainerPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionTaskContainerPropertiesArgs: def __init__(__self__, *, @@ -3653,6 +4895,19 @@ def user(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user", value) +if not MYPY: + class JobDefinitionTimeoutArgsDict(TypedDict): + attempt_duration_seconds: NotRequired[pulumi.Input[int]] + """ + The job timeout time (in seconds) that's measured from the job attempt's `startedAt` timestamp. After this time passes, AWS Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds. + + For array jobs, the timeout applies to the child jobs, not to the parent array job. + + For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes. + """ +elif False: + JobDefinitionTimeoutArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionTimeoutArgs: def __init__(__self__, *, @@ -3684,6 +4939,25 @@ def attempt_duration_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "attempt_duration_seconds", value) +if not MYPY: + class JobDefinitionTmpfsArgsDict(TypedDict): + container_path: pulumi.Input[str] + """ + The absolute file path in the container where the `tmpfs` volume is mounted. + """ + size: pulumi.Input[int] + """ + The size (in MiB) of the `tmpfs` volume. + """ + mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of `tmpfs` volume mount options. + + Valid values: " `defaults` " | " `ro` " | " `rw` " | " `suid` " | " `nosuid` " | " `dev` " | " `nodev` " | " `exec` " | " `noexec` " | " `sync` " | " `async` " | " `dirsync` " | " `remount` " | " `mand` " | " `nomand` " | " `atime` " | " `noatime` " | " `diratime` " | " `nodiratime` " | " `bind` " | " `rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime` " | " `norelatime` " | " `strictatime` " | " `nostrictatime` " | " `mode` " | " `uid` " | " `gid` " | " `nr_inodes` " | " `nr_blocks` " | " `mpol` " + """ +elif False: + JobDefinitionTmpfsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionTmpfsArgs: def __init__(__self__, *, @@ -3741,6 +5015,23 @@ def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "mount_options", value) +if not MYPY: + class JobDefinitionUlimitArgsDict(TypedDict): + hard_limit: pulumi.Input[int] + """ + The hard limit for the `ulimit` type. + """ + name: pulumi.Input[str] + """ + The `type` of the `ulimit` . Valid values are: `core` | `cpu` | `data` | `fsize` | `locks` | `memlock` | `msgqueue` | `nice` | `nofile` | `nproc` | `rss` | `rtprio` | `rttime` | `sigpending` | `stack` . + """ + soft_limit: pulumi.Input[int] + """ + The soft limit for the `ulimit` type. + """ +elif False: + JobDefinitionUlimitArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionUlimitArgs: def __init__(__self__, *, @@ -3793,6 +5084,17 @@ def soft_limit(self, value: pulumi.Input[int]): pulumi.set(self, "soft_limit", value) +if not MYPY: + class JobDefinitionVolumesHostArgsDict(TypedDict): + source_path: NotRequired[pulumi.Input[str]] + """ + The path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported. + + > This parameter isn't applicable to jobs that run on Fargate resources. Don't provide this for these jobs. + """ +elif False: + JobDefinitionVolumesHostArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionVolumesHostArgs: def __init__(__self__, *, @@ -3820,6 +5122,25 @@ def source_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_path", value) +if not MYPY: + class JobDefinitionVolumesArgsDict(TypedDict): + efs_volume_configuration: NotRequired[pulumi.Input['JobDefinitionEfsVolumeConfigurationArgsDict']] + """ + This is used when you're using an Amazon Elastic File System file system for job storage. For more information, see [Amazon EFS Volumes](https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html) in the *AWS Batch User Guide* . + """ + host: NotRequired[pulumi.Input['JobDefinitionVolumesHostArgsDict']] + """ + The contents of the `host` parameter determine whether your data volume persists on the host container instance and where it's stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it stop running. + + > This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the volume. It can be up to 255 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). This name is referenced in the `sourceVolume` parameter of container definition `mountPoints` . + """ +elif False: + JobDefinitionVolumesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDefinitionVolumesArgs: def __init__(__self__, *, @@ -3879,6 +5200,19 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class JobQueueComputeEnvironmentOrderArgsDict(TypedDict): + compute_environment: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the compute environment. + """ + order: pulumi.Input[int] + """ + The order of the compute environment. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower `order` integer value is tried for job placement first. + """ +elif False: + JobQueueComputeEnvironmentOrderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobQueueComputeEnvironmentOrderArgs: def __init__(__self__, *, @@ -3916,6 +5250,27 @@ def order(self, value: pulumi.Input[int]): pulumi.set(self, "order", value) +if not MYPY: + class JobQueueJobStateTimeLimitActionArgsDict(TypedDict): + action: pulumi.Input['JobQueueJobStateTimeLimitActionAction'] + """ + The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is `CANCEL` , which will cancel the job. + """ + max_time_seconds: pulumi.Input[int] + """ + The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours). + """ + reason: pulumi.Input[str] + """ + The reason to log for the action being taken. + """ + state: pulumi.Input['JobQueueJobStateTimeLimitActionState'] + """ + The state of the job needed to trigger the action. The only supported value is `RUNNABLE` . + """ +elif False: + JobQueueJobStateTimeLimitActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobQueueJobStateTimeLimitActionArgs: def __init__(__self__, *, @@ -3983,6 +5338,32 @@ def state(self, value: pulumi.Input['JobQueueJobStateTimeLimitActionState']): pulumi.set(self, "state", value) +if not MYPY: + class SchedulingPolicyFairsharePolicyArgsDict(TypedDict): + """ + Fair Share Policy for the Job Queue. + """ + compute_reservation: NotRequired[pulumi.Input[float]] + """ + A value used to reserve some of the available maximum vCPU for fair share identifiers that aren't already used. + + The reserved ratio is `( *computeReservation* /100)^ *ActiveFairShares*` where `*ActiveFairShares*` is the number of active fair share identifiers. + + For example, a `computeReservation` value of 50 indicates that AWS Batch reserves 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if there are two fair share identifiers. It reserves 12.5% if there are three fair share identifiers. A `computeReservation` value of 25 indicates that AWS Batch should reserve 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% if there are three fair share identifiers. + + The minimum value is 0 and the maximum value is 99. + """ + share_decay_seconds: NotRequired[pulumi.Input[float]] + """ + The amount of time (in seconds) to use to calculate a fair share percentage for each fair share identifier in use. A value of zero (0) indicates that only current usage is measured. The decay allows for more recently run jobs to have more weight than jobs that ran earlier. The maximum supported value is 604800 (1 week). + """ + share_distribution: NotRequired[pulumi.Input[Sequence[pulumi.Input['SchedulingPolicyShareAttributesArgsDict']]]] + """ + List of Share Attributes + """ +elif False: + SchedulingPolicyFairsharePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SchedulingPolicyFairsharePolicyArgs: def __init__(__self__, *, @@ -4051,6 +5432,25 @@ def share_distribution(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "share_distribution", value) +if not MYPY: + class SchedulingPolicyShareAttributesArgsDict(TypedDict): + share_identifier: NotRequired[pulumi.Input[str]] + """ + A fair share identifier or fair share identifier prefix. If the string ends with an asterisk (*), this entry specifies the weight factor to use for fair share identifiers that start with that prefix. The list of fair share identifiers in a fair share policy can't overlap. For example, you can't have one that specifies a `shareIdentifier` of `UserA*` and another that specifies a `shareIdentifier` of `UserA-1` . + + There can be no more than 500 fair share identifiers active in a job queue. + + The string is limited to 255 alphanumeric characters, and can be followed by an asterisk (*). + """ + weight_factor: NotRequired[pulumi.Input[float]] + """ + The weight factor for the fair share identifier. The default value is 1.0. A lower value has a higher priority for compute resources. For example, jobs that use a share identifier with a weight factor of 0.125 (1/8) get 8 times the compute resources of jobs that use a share identifier with a weight factor of 1. + + The smallest supported value is 0.0001, and the largest supported value is 999.9999. + """ +elif False: + SchedulingPolicyShareAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SchedulingPolicyShareAttributesArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/batch/compute_environment.py b/sdk/python/pulumi_aws_native/batch/compute_environment.py index 2254ba0066..566df6d00c 100644 --- a/sdk/python/pulumi_aws_native/batch/compute_environment.py +++ b/sdk/python/pulumi_aws_native/batch/compute_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/batch/get_compute_environment.py b/sdk/python/pulumi_aws_native/batch/get_compute_environment.py index d2459c9144..fec68d1d9f 100644 --- a/sdk/python/pulumi_aws_native/batch/get_compute_environment.py +++ b/sdk/python/pulumi_aws_native/batch/get_compute_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -138,9 +143,6 @@ def get_compute_environment(compute_environment_arn: Optional[str] = None, service_role=pulumi.get(__ret__, 'service_role'), state=pulumi.get(__ret__, 'state'), unmanagedv_cpus=pulumi.get(__ret__, 'unmanagedv_cpus')) - - -@_utilities.lift_output_func(get_compute_environment) def get_compute_environment_output(compute_environment_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetComputeEnvironmentResult]: """ @@ -149,4 +151,14 @@ def get_compute_environment_output(compute_environment_arn: Optional[pulumi.Inpu :param str compute_environment_arn: Returns the compute environment ARN, such as `batch: *us-east-1* : *111122223333* :compute-environment/ *ComputeEnvironmentName*` . """ - ... + __args__ = dict() + __args__['computeEnvironmentArn'] = compute_environment_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:batch:getComputeEnvironment', __args__, opts=opts, typ=GetComputeEnvironmentResult) + return __ret__.apply(lambda __response__: GetComputeEnvironmentResult( + compute_environment_arn=pulumi.get(__response__, 'compute_environment_arn'), + compute_resources=pulumi.get(__response__, 'compute_resources'), + context=pulumi.get(__response__, 'context'), + service_role=pulumi.get(__response__, 'service_role'), + state=pulumi.get(__response__, 'state'), + unmanagedv_cpus=pulumi.get(__response__, 'unmanagedv_cpus'))) diff --git a/sdk/python/pulumi_aws_native/batch/get_job_definition.py b/sdk/python/pulumi_aws_native/batch/get_job_definition.py index 48234eb799..f3012c4ddc 100644 --- a/sdk/python/pulumi_aws_native/batch/get_job_definition.py +++ b/sdk/python/pulumi_aws_native/batch/get_job_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -203,12 +208,25 @@ def get_job_definition(id: Optional[str] = None, scheduling_priority=pulumi.get(__ret__, 'scheduling_priority'), timeout=pulumi.get(__ret__, 'timeout'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_job_definition) def get_job_definition_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetJobDefinitionResult]: """ Resource Type definition for AWS::Batch::JobDefinition """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:batch:getJobDefinition', __args__, opts=opts, typ=GetJobDefinitionResult) + return __ret__.apply(lambda __response__: GetJobDefinitionResult( + container_properties=pulumi.get(__response__, 'container_properties'), + ecs_properties=pulumi.get(__response__, 'ecs_properties'), + eks_properties=pulumi.get(__response__, 'eks_properties'), + id=pulumi.get(__response__, 'id'), + node_properties=pulumi.get(__response__, 'node_properties'), + parameters=pulumi.get(__response__, 'parameters'), + platform_capabilities=pulumi.get(__response__, 'platform_capabilities'), + propagate_tags=pulumi.get(__response__, 'propagate_tags'), + retry_strategy=pulumi.get(__response__, 'retry_strategy'), + scheduling_priority=pulumi.get(__response__, 'scheduling_priority'), + timeout=pulumi.get(__response__, 'timeout'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/batch/get_job_queue.py b/sdk/python/pulumi_aws_native/batch/get_job_queue.py index d76ffc3c94..8c969650bc 100644 --- a/sdk/python/pulumi_aws_native/batch/get_job_queue.py +++ b/sdk/python/pulumi_aws_native/batch/get_job_queue.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -125,9 +130,6 @@ def get_job_queue(job_queue_arn: Optional[str] = None, priority=pulumi.get(__ret__, 'priority'), scheduling_policy_arn=pulumi.get(__ret__, 'scheduling_policy_arn'), state=pulumi.get(__ret__, 'state')) - - -@_utilities.lift_output_func(get_job_queue) def get_job_queue_output(job_queue_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetJobQueueResult]: """ @@ -136,4 +138,14 @@ def get_job_queue_output(job_queue_arn: Optional[pulumi.Input[str]] = None, :param str job_queue_arn: Returns the job queue ARN, such as `batch: *us-east-1* : *111122223333* :job-queue/ *JobQueueName*` . """ - ... + __args__ = dict() + __args__['jobQueueArn'] = job_queue_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:batch:getJobQueue', __args__, opts=opts, typ=GetJobQueueResult) + return __ret__.apply(lambda __response__: GetJobQueueResult( + compute_environment_order=pulumi.get(__response__, 'compute_environment_order'), + job_queue_arn=pulumi.get(__response__, 'job_queue_arn'), + job_state_time_limit_actions=pulumi.get(__response__, 'job_state_time_limit_actions'), + priority=pulumi.get(__response__, 'priority'), + scheduling_policy_arn=pulumi.get(__response__, 'scheduling_policy_arn'), + state=pulumi.get(__response__, 'state'))) diff --git a/sdk/python/pulumi_aws_native/batch/get_scheduling_policy.py b/sdk/python/pulumi_aws_native/batch/get_scheduling_policy.py index 06fecfa451..e7ed1ffcd4 100644 --- a/sdk/python/pulumi_aws_native/batch/get_scheduling_policy.py +++ b/sdk/python/pulumi_aws_native/batch/get_scheduling_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_scheduling_policy(arn: Optional[str] = None, return AwaitableGetSchedulingPolicyResult( arn=pulumi.get(__ret__, 'arn'), fairshare_policy=pulumi.get(__ret__, 'fairshare_policy')) - - -@_utilities.lift_output_func(get_scheduling_policy) def get_scheduling_policy_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchedulingPolicyResult]: """ @@ -81,4 +83,10 @@ def get_scheduling_policy_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Returns the scheduling policy ARN, such as `batch: *us-east-1* : *111122223333* :scheduling-policy/ *HighPriority*` . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:batch:getSchedulingPolicy', __args__, opts=opts, typ=GetSchedulingPolicyResult) + return __ret__.apply(lambda __response__: GetSchedulingPolicyResult( + arn=pulumi.get(__response__, 'arn'), + fairshare_policy=pulumi.get(__response__, 'fairshare_policy'))) diff --git a/sdk/python/pulumi_aws_native/batch/job_definition.py b/sdk/python/pulumi_aws_native/batch/job_definition.py index 599369f4f3..dd490700f8 100644 --- a/sdk/python/pulumi_aws_native/batch/job_definition.py +++ b/sdk/python/pulumi_aws_native/batch/job_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/batch/job_queue.py b/sdk/python/pulumi_aws_native/batch/job_queue.py index 21c3706ef6..6dae9bb2dc 100644 --- a/sdk/python/pulumi_aws_native/batch/job_queue.py +++ b/sdk/python/pulumi_aws_native/batch/job_queue.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/batch/outputs.py b/sdk/python/pulumi_aws_native/batch/outputs.py index 76cdffedbf..90864b6d04 100644 --- a/sdk/python/pulumi_aws_native/batch/outputs.py +++ b/sdk/python/pulumi_aws_native/batch/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/batch/scheduling_policy.py b/sdk/python/pulumi_aws_native/batch/scheduling_policy.py index c5d34e2249..5a4e2f958d 100644 --- a/sdk/python/pulumi_aws_native/batch/scheduling_policy.py +++ b/sdk/python/pulumi_aws_native/batch/scheduling_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/bedrock/_inputs.py b/sdk/python/pulumi_aws_native/bedrock/_inputs.py index 2616d9ea5f..44b90f5d67 100644 --- a/sdk/python/pulumi_aws_native/bedrock/_inputs.py +++ b/sdk/python/pulumi_aws_native/bedrock/_inputs.py @@ -4,147 +4,298 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AgentActionGroupExecutor0PropertiesArgs', + 'AgentActionGroupExecutor0PropertiesArgsDict', 'AgentActionGroupExecutor1PropertiesArgs', + 'AgentActionGroupExecutor1PropertiesArgsDict', 'AgentActionGroupArgs', + 'AgentActionGroupArgsDict', 'AgentAliasRoutingConfigurationListItemArgs', + 'AgentAliasRoutingConfigurationListItemArgsDict', 'AgentApiSchema0PropertiesArgs', + 'AgentApiSchema0PropertiesArgsDict', 'AgentApiSchema1PropertiesArgs', + 'AgentApiSchema1PropertiesArgsDict', 'AgentFunctionSchemaArgs', + 'AgentFunctionSchemaArgsDict', 'AgentFunctionArgs', + 'AgentFunctionArgsDict', 'AgentGuardrailConfigurationArgs', + 'AgentGuardrailConfigurationArgsDict', 'AgentInferenceConfigurationArgs', + 'AgentInferenceConfigurationArgsDict', 'AgentKnowledgeBaseArgs', + 'AgentKnowledgeBaseArgsDict', 'AgentParameterDetailArgs', + 'AgentParameterDetailArgsDict', 'AgentPromptConfigurationArgs', + 'AgentPromptConfigurationArgsDict', 'AgentPromptOverrideConfigurationArgs', + 'AgentPromptOverrideConfigurationArgsDict', 'AgentS3IdentifierArgs', + 'AgentS3IdentifierArgsDict', 'DataSourceBedrockFoundationModelConfigurationArgs', + 'DataSourceBedrockFoundationModelConfigurationArgsDict', 'DataSourceChunkingConfigurationArgs', + 'DataSourceChunkingConfigurationArgsDict', 'DataSourceConfigurationArgs', + 'DataSourceConfigurationArgsDict', 'DataSourceConfluenceCrawlerConfigurationArgs', + 'DataSourceConfluenceCrawlerConfigurationArgsDict', 'DataSourceConfluenceDataSourceConfigurationArgs', + 'DataSourceConfluenceDataSourceConfigurationArgsDict', 'DataSourceConfluenceSourceConfigurationArgs', + 'DataSourceConfluenceSourceConfigurationArgsDict', 'DataSourceCrawlFilterConfigurationArgs', + 'DataSourceCrawlFilterConfigurationArgsDict', 'DataSourceCustomTransformationConfigurationArgs', + 'DataSourceCustomTransformationConfigurationArgsDict', 'DataSourceFixedSizeChunkingConfigurationArgs', + 'DataSourceFixedSizeChunkingConfigurationArgsDict', 'DataSourceHierarchicalChunkingConfigurationArgs', + 'DataSourceHierarchicalChunkingConfigurationArgsDict', 'DataSourceHierarchicalChunkingLevelConfigurationArgs', + 'DataSourceHierarchicalChunkingLevelConfigurationArgsDict', 'DataSourceIntermediateStorageArgs', + 'DataSourceIntermediateStorageArgsDict', 'DataSourceParsingConfigurationArgs', + 'DataSourceParsingConfigurationArgsDict', 'DataSourceParsingPromptArgs', + 'DataSourceParsingPromptArgsDict', 'DataSourcePatternObjectFilterConfigurationArgs', + 'DataSourcePatternObjectFilterConfigurationArgsDict', 'DataSourcePatternObjectFilterArgs', + 'DataSourcePatternObjectFilterArgsDict', 'DataSourceS3DataSourceConfigurationArgs', + 'DataSourceS3DataSourceConfigurationArgsDict', 'DataSourceS3LocationArgs', + 'DataSourceS3LocationArgsDict', 'DataSourceSalesforceCrawlerConfigurationArgs', + 'DataSourceSalesforceCrawlerConfigurationArgsDict', 'DataSourceSalesforceDataSourceConfigurationArgs', + 'DataSourceSalesforceDataSourceConfigurationArgsDict', 'DataSourceSalesforceSourceConfigurationArgs', + 'DataSourceSalesforceSourceConfigurationArgsDict', 'DataSourceSeedUrlArgs', + 'DataSourceSeedUrlArgsDict', 'DataSourceSemanticChunkingConfigurationArgs', + 'DataSourceSemanticChunkingConfigurationArgsDict', 'DataSourceServerSideEncryptionConfigurationArgs', + 'DataSourceServerSideEncryptionConfigurationArgsDict', 'DataSourceSharePointCrawlerConfigurationArgs', + 'DataSourceSharePointCrawlerConfigurationArgsDict', 'DataSourceSharePointDataSourceConfigurationArgs', + 'DataSourceSharePointDataSourceConfigurationArgsDict', 'DataSourceSharePointSourceConfigurationArgs', + 'DataSourceSharePointSourceConfigurationArgsDict', 'DataSourceTransformationFunctionArgs', + 'DataSourceTransformationFunctionArgsDict', 'DataSourceTransformationLambdaConfigurationArgs', + 'DataSourceTransformationLambdaConfigurationArgsDict', 'DataSourceTransformationArgs', + 'DataSourceTransformationArgsDict', 'DataSourceUrlConfigurationArgs', + 'DataSourceUrlConfigurationArgsDict', 'DataSourceVectorIngestionConfigurationArgs', + 'DataSourceVectorIngestionConfigurationArgsDict', 'DataSourceWebCrawlerConfigurationArgs', + 'DataSourceWebCrawlerConfigurationArgsDict', 'DataSourceWebCrawlerLimitsArgs', + 'DataSourceWebCrawlerLimitsArgsDict', 'DataSourceWebDataSourceConfigurationArgs', + 'DataSourceWebDataSourceConfigurationArgsDict', 'DataSourceWebSourceConfigurationArgs', + 'DataSourceWebSourceConfigurationArgsDict', 'FlowAgentFlowNodeConfigurationArgs', + 'FlowAgentFlowNodeConfigurationArgsDict', 'FlowAliasRoutingConfigurationListItemArgs', + 'FlowAliasRoutingConfigurationListItemArgsDict', 'FlowCollectorFlowNodeConfigurationArgs', + 'FlowCollectorFlowNodeConfigurationArgsDict', 'FlowConditionFlowNodeConfigurationArgs', + 'FlowConditionFlowNodeConfigurationArgsDict', 'FlowConditionalConnectionConfigurationArgs', + 'FlowConditionalConnectionConfigurationArgsDict', 'FlowConditionArgs', + 'FlowConditionArgsDict', 'FlowConnectionConfiguration0PropertiesArgs', + 'FlowConnectionConfiguration0PropertiesArgsDict', 'FlowConnectionConfiguration1PropertiesArgs', + 'FlowConnectionConfiguration1PropertiesArgsDict', 'FlowConnectionArgs', + 'FlowConnectionArgsDict', 'FlowDataConnectionConfigurationArgs', + 'FlowDataConnectionConfigurationArgsDict', 'FlowDefinitionArgs', + 'FlowDefinitionArgsDict', 'FlowInputFlowNodeConfigurationArgs', + 'FlowInputFlowNodeConfigurationArgsDict', 'FlowIteratorFlowNodeConfigurationArgs', + 'FlowIteratorFlowNodeConfigurationArgsDict', 'FlowKnowledgeBaseFlowNodeConfigurationArgs', + 'FlowKnowledgeBaseFlowNodeConfigurationArgsDict', 'FlowLambdaFunctionFlowNodeConfigurationArgs', + 'FlowLambdaFunctionFlowNodeConfigurationArgsDict', 'FlowLexFlowNodeConfigurationArgs', + 'FlowLexFlowNodeConfigurationArgsDict', 'FlowNodeConfiguration0PropertiesArgs', + 'FlowNodeConfiguration0PropertiesArgsDict', 'FlowNodeConfiguration10PropertiesArgs', + 'FlowNodeConfiguration10PropertiesArgsDict', 'FlowNodeConfiguration11PropertiesArgs', + 'FlowNodeConfiguration11PropertiesArgsDict', 'FlowNodeConfiguration1PropertiesArgs', + 'FlowNodeConfiguration1PropertiesArgsDict', 'FlowNodeConfiguration2PropertiesArgs', + 'FlowNodeConfiguration2PropertiesArgsDict', 'FlowNodeConfiguration3PropertiesArgs', + 'FlowNodeConfiguration3PropertiesArgsDict', 'FlowNodeConfiguration4PropertiesArgs', + 'FlowNodeConfiguration4PropertiesArgsDict', 'FlowNodeConfiguration5PropertiesArgs', + 'FlowNodeConfiguration5PropertiesArgsDict', 'FlowNodeConfiguration6PropertiesArgs', + 'FlowNodeConfiguration6PropertiesArgsDict', 'FlowNodeConfiguration7PropertiesArgs', + 'FlowNodeConfiguration7PropertiesArgsDict', 'FlowNodeConfiguration8PropertiesArgs', + 'FlowNodeConfiguration8PropertiesArgsDict', 'FlowNodeConfiguration9PropertiesArgs', + 'FlowNodeConfiguration9PropertiesArgsDict', 'FlowNodeInputArgs', + 'FlowNodeInputArgsDict', 'FlowNodeOutputArgs', + 'FlowNodeOutputArgsDict', 'FlowNodeArgs', + 'FlowNodeArgsDict', 'FlowOutputFlowNodeConfigurationArgs', + 'FlowOutputFlowNodeConfigurationArgsDict', 'FlowPromptFlowNodeConfigurationArgs', + 'FlowPromptFlowNodeConfigurationArgsDict', 'FlowPromptFlowNodeInlineConfigurationArgs', + 'FlowPromptFlowNodeInlineConfigurationArgsDict', 'FlowPromptFlowNodeResourceConfigurationArgs', + 'FlowPromptFlowNodeResourceConfigurationArgsDict', 'FlowPromptFlowNodeSourceConfiguration0PropertiesArgs', + 'FlowPromptFlowNodeSourceConfiguration0PropertiesArgsDict', 'FlowPromptFlowNodeSourceConfiguration1PropertiesArgs', + 'FlowPromptFlowNodeSourceConfiguration1PropertiesArgsDict', 'FlowPromptInferenceConfigurationPropertiesArgs', + 'FlowPromptInferenceConfigurationPropertiesArgsDict', 'FlowPromptInputVariableArgs', + 'FlowPromptInputVariableArgsDict', 'FlowPromptModelInferenceConfigurationArgs', + 'FlowPromptModelInferenceConfigurationArgsDict', 'FlowPromptTemplateConfigurationPropertiesArgs', + 'FlowPromptTemplateConfigurationPropertiesArgsDict', 'FlowRetrievalFlowNodeConfigurationArgs', + 'FlowRetrievalFlowNodeConfigurationArgsDict', 'FlowRetrievalFlowNodeS3ConfigurationArgs', + 'FlowRetrievalFlowNodeS3ConfigurationArgsDict', 'FlowRetrievalFlowNodeServiceConfigurationPropertiesArgs', + 'FlowRetrievalFlowNodeServiceConfigurationPropertiesArgsDict', 'FlowS3LocationArgs', + 'FlowS3LocationArgsDict', 'FlowStorageFlowNodeConfigurationArgs', + 'FlowStorageFlowNodeConfigurationArgsDict', 'FlowStorageFlowNodeS3ConfigurationArgs', + 'FlowStorageFlowNodeS3ConfigurationArgsDict', 'FlowStorageFlowNodeServiceConfigurationPropertiesArgs', + 'FlowStorageFlowNodeServiceConfigurationPropertiesArgsDict', 'FlowTextPromptTemplateConfigurationArgs', + 'FlowTextPromptTemplateConfigurationArgsDict', 'GuardrailContentFilterConfigArgs', + 'GuardrailContentFilterConfigArgsDict', 'GuardrailContentPolicyConfigArgs', + 'GuardrailContentPolicyConfigArgsDict', 'GuardrailContextualGroundingFilterConfigArgs', + 'GuardrailContextualGroundingFilterConfigArgsDict', 'GuardrailContextualGroundingPolicyConfigArgs', + 'GuardrailContextualGroundingPolicyConfigArgsDict', 'GuardrailManagedWordsConfigArgs', + 'GuardrailManagedWordsConfigArgsDict', 'GuardrailPiiEntityConfigArgs', + 'GuardrailPiiEntityConfigArgsDict', 'GuardrailRegexConfigArgs', + 'GuardrailRegexConfigArgsDict', 'GuardrailSensitiveInformationPolicyConfigArgs', + 'GuardrailSensitiveInformationPolicyConfigArgsDict', 'GuardrailTopicConfigArgs', + 'GuardrailTopicConfigArgsDict', 'GuardrailTopicPolicyConfigArgs', + 'GuardrailTopicPolicyConfigArgsDict', 'GuardrailWordConfigArgs', + 'GuardrailWordConfigArgsDict', 'GuardrailWordPolicyConfigArgs', + 'GuardrailWordPolicyConfigArgsDict', 'KnowledgeBaseBedrockEmbeddingModelConfigurationArgs', + 'KnowledgeBaseBedrockEmbeddingModelConfigurationArgsDict', 'KnowledgeBaseConfigurationArgs', + 'KnowledgeBaseConfigurationArgsDict', 'KnowledgeBaseEmbeddingModelConfigurationArgs', + 'KnowledgeBaseEmbeddingModelConfigurationArgsDict', 'KnowledgeBaseMongoDbAtlasConfigurationArgs', + 'KnowledgeBaseMongoDbAtlasConfigurationArgsDict', 'KnowledgeBaseMongoDbAtlasFieldMappingArgs', + 'KnowledgeBaseMongoDbAtlasFieldMappingArgsDict', 'KnowledgeBaseOpenSearchServerlessConfigurationArgs', + 'KnowledgeBaseOpenSearchServerlessConfigurationArgsDict', 'KnowledgeBaseOpenSearchServerlessFieldMappingArgs', + 'KnowledgeBaseOpenSearchServerlessFieldMappingArgsDict', 'KnowledgeBasePineconeConfigurationArgs', + 'KnowledgeBasePineconeConfigurationArgsDict', 'KnowledgeBasePineconeFieldMappingArgs', + 'KnowledgeBasePineconeFieldMappingArgsDict', 'KnowledgeBaseRdsConfigurationArgs', + 'KnowledgeBaseRdsConfigurationArgsDict', 'KnowledgeBaseRdsFieldMappingArgs', + 'KnowledgeBaseRdsFieldMappingArgsDict', 'KnowledgeBaseStorageConfigurationArgs', + 'KnowledgeBaseStorageConfigurationArgsDict', 'KnowledgeBaseVectorKnowledgeBaseConfigurationArgs', + 'KnowledgeBaseVectorKnowledgeBaseConfigurationArgsDict', 'PromptInferenceConfigurationPropertiesArgs', + 'PromptInferenceConfigurationPropertiesArgsDict', 'PromptInputVariableArgs', + 'PromptInputVariableArgsDict', 'PromptModelInferenceConfigurationArgs', + 'PromptModelInferenceConfigurationArgsDict', 'PromptTemplateConfigurationPropertiesArgs', + 'PromptTemplateConfigurationPropertiesArgsDict', 'PromptTextPromptTemplateConfigurationArgs', + 'PromptTextPromptTemplateConfigurationArgsDict', 'PromptTextS3LocationArgs', + 'PromptTextS3LocationArgsDict', 'PromptVariantArgs', + 'PromptVariantArgsDict', ] +MYPY = False + +if not MYPY: + class AgentActionGroupExecutor0PropertiesArgsDict(TypedDict): + """ + Type of Executors for an Action Group + """ + lambda_: pulumi.Input[str] + """ + ARN of a Lambda. + """ +elif False: + AgentActionGroupExecutor0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentActionGroupExecutor0PropertiesArgs: def __init__(__self__, *, @@ -168,6 +319,15 @@ def lambda_(self, value: pulumi.Input[str]): pulumi.set(self, "lambda_", value) +if not MYPY: + class AgentActionGroupExecutor1PropertiesArgsDict(TypedDict): + """ + Type of Executors for an Action Group + """ + custom_control: pulumi.Input['AgentCustomControlMethod'] +elif False: + AgentActionGroupExecutor1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentActionGroupExecutor1PropertiesArgs: def __init__(__self__, *, @@ -187,6 +347,48 @@ def custom_control(self, value: pulumi.Input['AgentCustomControlMethod']): pulumi.set(self, "custom_control", value) +if not MYPY: + class AgentActionGroupArgsDict(TypedDict): + """ + Contains the information of an Agent Action Group + """ + action_group_name: pulumi.Input[str] + """ + Name of the action group + """ + action_group_executor: NotRequired[pulumi.Input[Union['AgentActionGroupExecutor0PropertiesArgsDict', 'AgentActionGroupExecutor1PropertiesArgsDict']]] + """ + The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user. + """ + action_group_state: NotRequired[pulumi.Input['AgentActionGroupState']] + """ + Specifies whether the action group is available for the agent to invoke or not when sending an [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) request. + """ + api_schema: NotRequired[pulumi.Input[Union['AgentApiSchema0PropertiesArgsDict', 'AgentApiSchema1PropertiesArgsDict']]] + """ + Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see [Action group OpenAPI schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html) . + """ + description: NotRequired[pulumi.Input[str]] + """ + Description of action group + """ + function_schema: NotRequired[pulumi.Input['AgentFunctionSchemaArgsDict']] + """ + Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group. + """ + parent_action_group_signature: NotRequired[pulumi.Input['AgentActionGroupSignature']] + """ + If this field is set as `AMAZON.UserInput` , the agent can request the user for additional information when trying to complete a task. The `description` , `apiSchema` , and `actionGroupExecutor` fields must be blank for this action group. + + During orchestration, if the agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an [Observation](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html) reprompting the user for more information. + """ + skip_resource_in_use_check_on_delete: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to allow deleting action group while it is in use. + """ +elif False: + AgentActionGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentActionGroupArgs: def __init__(__self__, *, @@ -326,6 +528,18 @@ def skip_resource_in_use_check_on_delete(self, value: Optional[pulumi.Input[bool pulumi.set(self, "skip_resource_in_use_check_on_delete", value) +if not MYPY: + class AgentAliasRoutingConfigurationListItemArgsDict(TypedDict): + """ + Details about the routing configuration for an Agent alias. + """ + agent_version: pulumi.Input[str] + """ + Agent Version. + """ +elif False: + AgentAliasRoutingConfigurationListItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentAliasRoutingConfigurationListItemArgs: def __init__(__self__, *, @@ -349,6 +563,15 @@ def agent_version(self, value: pulumi.Input[str]): pulumi.set(self, "agent_version", value) +if not MYPY: + class AgentApiSchema0PropertiesArgsDict(TypedDict): + """ + Contains information about the API Schema for the Action Group + """ + s3: pulumi.Input['AgentS3IdentifierArgsDict'] +elif False: + AgentApiSchema0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentApiSchema0PropertiesArgs: def __init__(__self__, *, @@ -368,6 +591,18 @@ def s3(self, value: pulumi.Input['AgentS3IdentifierArgs']): pulumi.set(self, "s3", value) +if not MYPY: + class AgentApiSchema1PropertiesArgsDict(TypedDict): + """ + Contains information about the API Schema for the Action Group + """ + payload: pulumi.Input[str] + """ + String OpenAPI Payload + """ +elif False: + AgentApiSchema1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentApiSchema1PropertiesArgs: def __init__(__self__, *, @@ -391,6 +626,18 @@ def payload(self, value: pulumi.Input[str]): pulumi.set(self, "payload", value) +if not MYPY: + class AgentFunctionSchemaArgsDict(TypedDict): + """ + Schema of Functions + """ + functions: pulumi.Input[Sequence[pulumi.Input['AgentFunctionArgsDict']]] + """ + List of Function definitions + """ +elif False: + AgentFunctionSchemaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentFunctionSchemaArgs: def __init__(__self__, *, @@ -414,6 +661,26 @@ def functions(self, value: pulumi.Input[Sequence[pulumi.Input['AgentFunctionArgs pulumi.set(self, "functions", value) +if not MYPY: + class AgentFunctionArgsDict(TypedDict): + """ + Function definition + """ + name: pulumi.Input[str] + """ + Name for a resource. + """ + description: NotRequired[pulumi.Input[str]] + """ + Description of function + """ + parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['AgentParameterDetailArgsDict']]]] + """ + The parameters that the agent elicits from the user to fulfill the function. + """ +elif False: + AgentFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentFunctionArgs: def __init__(__self__, *, @@ -469,6 +736,22 @@ def parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['Age pulumi.set(self, "parameters", value) +if not MYPY: + class AgentGuardrailConfigurationArgsDict(TypedDict): + """ + Configuration for a guardrail. + """ + guardrail_identifier: NotRequired[pulumi.Input[str]] + """ + Identifier for the guardrail, could be the id or the arn + """ + guardrail_version: NotRequired[pulumi.Input[str]] + """ + Version of the guardrail + """ +elif False: + AgentGuardrailConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentGuardrailConfigurationArgs: def __init__(__self__, *, @@ -509,6 +792,34 @@ def guardrail_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "guardrail_version", value) +if not MYPY: + class AgentInferenceConfigurationArgsDict(TypedDict): + """ + Configuration for inference in prompt configuration + """ + maximum_length: NotRequired[pulumi.Input[float]] + """ + Maximum length of output + """ + stop_sequences: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of stop sequences + """ + temperature: NotRequired[pulumi.Input[float]] + """ + Controls randomness, higher values increase diversity + """ + top_k: NotRequired[pulumi.Input[float]] + """ + Sample from the k most likely next tokens + """ + top_p: NotRequired[pulumi.Input[float]] + """ + Cumulative probability cutoff for token selection + """ +elif False: + AgentInferenceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentInferenceConfigurationArgs: def __init__(__self__, *, @@ -597,6 +908,26 @@ def top_p(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "top_p", value) +if not MYPY: + class AgentKnowledgeBaseArgsDict(TypedDict): + """ + Agent Knowledge Base + """ + description: pulumi.Input[str] + """ + Description of the Resource. + """ + knowledge_base_id: pulumi.Input[str] + """ + Identifier for a resource. + """ + knowledge_base_state: NotRequired[pulumi.Input['AgentKnowledgeBaseState']] + """ + Specifies whether to use the knowledge base or not when sending an [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) request. + """ +elif False: + AgentKnowledgeBaseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentKnowledgeBaseArgs: def __init__(__self__, *, @@ -651,6 +982,26 @@ def knowledge_base_state(self, value: Optional[pulumi.Input['AgentKnowledgeBaseS pulumi.set(self, "knowledge_base_state", value) +if not MYPY: + class AgentParameterDetailArgsDict(TypedDict): + """ + Parameter detail + """ + type: pulumi.Input['AgentType'] + """ + The data type of the parameter. + """ + description: NotRequired[pulumi.Input[str]] + """ + Description of function parameter. + """ + required: NotRequired[pulumi.Input[bool]] + """ + Information about if a parameter is required for function call. Default to false. + """ +elif False: + AgentParameterDetailArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentParameterDetailArgs: def __init__(__self__, *, @@ -706,6 +1057,43 @@ def required(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "required", value) +if not MYPY: + class AgentPromptConfigurationArgsDict(TypedDict): + """ + BasePromptConfiguration per Prompt Type. + """ + base_prompt_template: NotRequired[pulumi.Input[str]] + """ + Base Prompt Template. + """ + inference_configuration: NotRequired[pulumi.Input['AgentInferenceConfigurationArgsDict']] + """ + Contains inference parameters to use when the agent invokes a foundation model in the part of the agent sequence defined by the `promptType` . For more information, see [Inference parameters for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html) . + """ + parser_mode: NotRequired[pulumi.Input['AgentCreationMode']] + """ + Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the `promptType` . If you set the field as `OVERRIDEN` , the `overrideLambda` field in the [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) must be specified with the ARN of a Lambda function. + """ + prompt_creation_mode: NotRequired[pulumi.Input['AgentCreationMode']] + """ + Specifies whether to override the default prompt template for this `promptType` . Set this value to `OVERRIDDEN` to use the prompt that you provide in the `basePromptTemplate` . If you leave it as `DEFAULT` , the agent uses a default prompt template. + """ + prompt_state: NotRequired[pulumi.Input['AgentPromptState']] + """ + Specifies whether to allow the agent to carry out the step specified in the `promptType` . If you set this value to `DISABLED` , the agent skips that step. The default state for each `promptType` is as follows. + + - `PRE_PROCESSING` – `ENABLED` + - `ORCHESTRATION` – `ENABLED` + - `KNOWLEDGE_BASE_RESPONSE_GENERATION` – `ENABLED` + - `POST_PROCESSING` – `DISABLED` + """ + prompt_type: NotRequired[pulumi.Input['AgentPromptType']] + """ + The step in the agent sequence that this prompt configuration applies to. + """ +elif False: + AgentPromptConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentPromptConfigurationArgs: def __init__(__self__, *, @@ -820,6 +1208,22 @@ def prompt_type(self, value: Optional[pulumi.Input['AgentPromptType']]): pulumi.set(self, "prompt_type", value) +if not MYPY: + class AgentPromptOverrideConfigurationArgsDict(TypedDict): + """ + Configuration for prompt override. + """ + prompt_configurations: pulumi.Input[Sequence[pulumi.Input['AgentPromptConfigurationArgsDict']]] + """ + List of BasePromptConfiguration + """ + override_lambda: NotRequired[pulumi.Input[str]] + """ + ARN of a Lambda. + """ +elif False: + AgentPromptOverrideConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentPromptOverrideConfigurationArgs: def __init__(__self__, *, @@ -859,6 +1263,22 @@ def override_lambda(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "override_lambda", value) +if not MYPY: + class AgentS3IdentifierArgsDict(TypedDict): + """ + The identifier for the S3 resource. + """ + s3_bucket_name: NotRequired[pulumi.Input[str]] + """ + A bucket in S3. + """ + s3_object_key: NotRequired[pulumi.Input[str]] + """ + A object key in S3. + """ +elif False: + AgentS3IdentifierArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentS3IdentifierArgs: def __init__(__self__, *, @@ -899,6 +1319,22 @@ def s3_object_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_object_key", value) +if not MYPY: + class DataSourceBedrockFoundationModelConfigurationArgsDict(TypedDict): + """ + Settings for a foundation model used to parse documents for a data source. + """ + model_arn: pulumi.Input[str] + """ + The model's ARN. + """ + parsing_prompt: NotRequired[pulumi.Input['DataSourceParsingPromptArgsDict']] + """ + Instructions for interpreting the contents of a document. + """ +elif False: + DataSourceBedrockFoundationModelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceBedrockFoundationModelConfigurationArgs: def __init__(__self__, *, @@ -938,6 +1374,35 @@ def parsing_prompt(self, value: Optional[pulumi.Input['DataSourceParsingPromptAr pulumi.set(self, "parsing_prompt", value) +if not MYPY: + class DataSourceChunkingConfigurationArgsDict(TypedDict): + """ + Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. + """ + chunking_strategy: pulumi.Input['DataSourceChunkingStrategy'] + """ + Knowledge base can split your source data into chunks. A *chunk* refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for `NONE` , then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk. + + - `FIXED_SIZE` – Amazon Bedrock splits your source data into chunks of the approximate size that you set in the `fixedSizeChunkingConfiguration` . + - `HIERARCHICAL` – Split documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer. + - `SEMANTIC` – Split documents into chunks based on groups of similar content derived with natural language processing. + - `NONE` – Amazon Bedrock treats each file as one chunk. If you choose this option, you may want to pre-process your documents by splitting them into separate files. + """ + fixed_size_chunking_configuration: NotRequired[pulumi.Input['DataSourceFixedSizeChunkingConfigurationArgsDict']] + """ + Configurations for when you choose fixed-size chunking. If you set the `chunkingStrategy` as `NONE` , exclude this field. + """ + hierarchical_chunking_configuration: NotRequired[pulumi.Input['DataSourceHierarchicalChunkingConfigurationArgsDict']] + """ + Settings for hierarchical document chunking for a data source. Hierarchical chunking splits documents into layers of chunks where the first layer contains large chunks, and the second layer contains smaller chunks derived from the first layer. + """ + semantic_chunking_configuration: NotRequired[pulumi.Input['DataSourceSemanticChunkingConfigurationArgsDict']] + """ + Settings for semantic document chunking for a data source. Semantic chunking splits a document into into smaller documents based on groups of similar content derived from the text with natural language processing. + """ +elif False: + DataSourceChunkingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceChunkingConfigurationArgs: def __init__(__self__, *, @@ -1019,6 +1484,46 @@ def semantic_chunking_configuration(self, value: Optional[pulumi.Input['DataSour pulumi.set(self, "semantic_chunking_configuration", value) +if not MYPY: + class DataSourceConfigurationArgsDict(TypedDict): + """ + Specifies a raw data source location to ingest. + """ + type: pulumi.Input['DataSourceType'] + """ + The type of data source. + """ + confluence_configuration: NotRequired[pulumi.Input['DataSourceConfluenceDataSourceConfigurationArgsDict']] + """ + The configuration information to connect to Confluence as your data source. + + > Confluence data source connector is in preview release and is subject to change. + """ + s3_configuration: NotRequired[pulumi.Input['DataSourceS3DataSourceConfigurationArgsDict']] + """ + The configuration information to connect to Amazon S3 as your data source. + """ + salesforce_configuration: NotRequired[pulumi.Input['DataSourceSalesforceDataSourceConfigurationArgsDict']] + """ + The configuration information to connect to Salesforce as your data source. + + > Salesforce data source connector is in preview release and is subject to change. + """ + share_point_configuration: NotRequired[pulumi.Input['DataSourceSharePointDataSourceConfigurationArgsDict']] + """ + The configuration information to connect to SharePoint as your data source. + + > SharePoint data source connector is in preview release and is subject to change. + """ + web_configuration: NotRequired[pulumi.Input['DataSourceWebDataSourceConfigurationArgsDict']] + """ + The configuration of web URLs to crawl for your data source. You should be authorized to crawl the URLs. + + > Crawling web URLs as your data source is in preview release and is subject to change. + """ +elif False: + DataSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfigurationArgs: def __init__(__self__, *, @@ -1138,6 +1643,18 @@ def web_configuration(self, value: Optional[pulumi.Input['DataSourceWebDataSourc pulumi.set(self, "web_configuration", value) +if not MYPY: + class DataSourceConfluenceCrawlerConfigurationArgsDict(TypedDict): + """ + The configuration of the Confluence content. For example, configuring specific types of Confluence content. + """ + filter_configuration: NotRequired[pulumi.Input['DataSourceCrawlFilterConfigurationArgsDict']] + """ + The configuration of filtering the Confluence content. For example, configuring regular expression patterns to include or exclude certain content. + """ +elif False: + DataSourceConfluenceCrawlerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfluenceCrawlerConfigurationArgs: def __init__(__self__, *, @@ -1162,14 +1679,30 @@ def filter_configuration(self, value: Optional[pulumi.Input['DataSourceCrawlFilt pulumi.set(self, "filter_configuration", value) -@pulumi.input_type -class DataSourceConfluenceDataSourceConfigurationArgs: - def __init__(__self__, *, - source_configuration: pulumi.Input['DataSourceConfluenceSourceConfigurationArgs'], - crawler_configuration: Optional[pulumi.Input['DataSourceConfluenceCrawlerConfigurationArgs']] = None): +if not MYPY: + class DataSourceConfluenceDataSourceConfigurationArgsDict(TypedDict): """ The configuration information to connect to Confluence as your data source. - :param pulumi.Input['DataSourceConfluenceSourceConfigurationArgs'] source_configuration: The endpoint information to connect to your Confluence data source. + """ + source_configuration: pulumi.Input['DataSourceConfluenceSourceConfigurationArgsDict'] + """ + The endpoint information to connect to your Confluence data source. + """ + crawler_configuration: NotRequired[pulumi.Input['DataSourceConfluenceCrawlerConfigurationArgsDict']] + """ + The configuration of the Confluence content. For example, configuring specific types of Confluence content. + """ +elif False: + DataSourceConfluenceDataSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DataSourceConfluenceDataSourceConfigurationArgs: + def __init__(__self__, *, + source_configuration: pulumi.Input['DataSourceConfluenceSourceConfigurationArgs'], + crawler_configuration: Optional[pulumi.Input['DataSourceConfluenceCrawlerConfigurationArgs']] = None): + """ + The configuration information to connect to Confluence as your data source. + :param pulumi.Input['DataSourceConfluenceSourceConfigurationArgs'] source_configuration: The endpoint information to connect to your Confluence data source. :param pulumi.Input['DataSourceConfluenceCrawlerConfigurationArgs'] crawler_configuration: The configuration of the Confluence content. For example, configuring specific types of Confluence content. """ pulumi.set(__self__, "source_configuration", source_configuration) @@ -1201,6 +1734,30 @@ def crawler_configuration(self, value: Optional[pulumi.Input['DataSourceConfluen pulumi.set(self, "crawler_configuration", value) +if not MYPY: + class DataSourceConfluenceSourceConfigurationArgsDict(TypedDict): + """ + The endpoint information to connect to your Confluence data source. + """ + auth_type: pulumi.Input['DataSourceConfluenceSourceConfigurationAuthType'] + """ + The supported authentication type to authenticate and connect to your Confluence instance. + """ + credentials_secret_arn: pulumi.Input[str] + """ + The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your Confluence instance URL. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Confluence connection configuration. + """ + host_type: pulumi.Input['DataSourceConfluenceSourceConfigurationHostType'] + """ + The supported host type, whether online/cloud or server/on-premises. + """ + host_url: pulumi.Input[str] + """ + The Confluence host URL or instance URL. + """ +elif False: + DataSourceConfluenceSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfluenceSourceConfigurationArgs: def __init__(__self__, *, @@ -1269,6 +1826,22 @@ def host_url(self, value: pulumi.Input[str]): pulumi.set(self, "host_url", value) +if not MYPY: + class DataSourceCrawlFilterConfigurationArgsDict(TypedDict): + """ + The type of filtering that you want to apply to certain objects or content of the data source. For example, the PATTERN type is regular expression patterns you can apply to filter your content. + """ + type: pulumi.Input['DataSourceCrawlFilterConfigurationType'] + """ + The crawl filter type. + """ + pattern_object_filter: NotRequired[pulumi.Input['DataSourcePatternObjectFilterConfigurationArgsDict']] + """ + The configuration of filtering certain objects or content types of the data source. + """ +elif False: + DataSourceCrawlFilterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceCrawlFilterConfigurationArgs: def __init__(__self__, *, @@ -1308,6 +1881,22 @@ def pattern_object_filter(self, value: Optional[pulumi.Input['DataSourcePatternO pulumi.set(self, "pattern_object_filter", value) +if not MYPY: + class DataSourceCustomTransformationConfigurationArgsDict(TypedDict): + """ + Settings for customizing steps in the data source content ingestion pipeline. + """ + intermediate_storage: pulumi.Input['DataSourceIntermediateStorageArgsDict'] + """ + An S3 bucket path for input and output objects. + """ + transformations: pulumi.Input[Sequence[pulumi.Input['DataSourceTransformationArgsDict']]] + """ + A list of Lambda functions that process documents. + """ +elif False: + DataSourceCustomTransformationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceCustomTransformationConfigurationArgs: def __init__(__self__, *, @@ -1346,6 +1935,22 @@ def transformations(self, value: pulumi.Input[Sequence[pulumi.Input['DataSourceT pulumi.set(self, "transformations", value) +if not MYPY: + class DataSourceFixedSizeChunkingConfigurationArgsDict(TypedDict): + """ + Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field. + """ + max_tokens: pulumi.Input[int] + """ + The maximum number of tokens to include in a chunk. + """ + overlap_percentage: pulumi.Input[int] + """ + The percentage of overlap between adjacent chunks of a data source. + """ +elif False: + DataSourceFixedSizeChunkingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceFixedSizeChunkingConfigurationArgs: def __init__(__self__, *, @@ -1384,6 +1989,22 @@ def overlap_percentage(self, value: pulumi.Input[int]): pulumi.set(self, "overlap_percentage", value) +if not MYPY: + class DataSourceHierarchicalChunkingConfigurationArgsDict(TypedDict): + """ + Configurations for when you choose hierarchical chunking. If you set the chunkingStrategy as NONE, exclude this field. + """ + level_configurations: pulumi.Input[Sequence[pulumi.Input['DataSourceHierarchicalChunkingLevelConfigurationArgsDict']]] + """ + Token settings for each layer. + """ + overlap_tokens: pulumi.Input[int] + """ + The number of tokens to repeat across chunks in the same layer. + """ +elif False: + DataSourceHierarchicalChunkingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceHierarchicalChunkingConfigurationArgs: def __init__(__self__, *, @@ -1422,6 +2043,18 @@ def overlap_tokens(self, value: pulumi.Input[int]): pulumi.set(self, "overlap_tokens", value) +if not MYPY: + class DataSourceHierarchicalChunkingLevelConfigurationArgsDict(TypedDict): + """ + Token settings for a layer in a hierarchical chunking configuration. + """ + max_tokens: pulumi.Input[int] + """ + The maximum number of tokens that a chunk can contain in this layer. + """ +elif False: + DataSourceHierarchicalChunkingLevelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceHierarchicalChunkingLevelConfigurationArgs: def __init__(__self__, *, @@ -1445,6 +2078,18 @@ def max_tokens(self, value: pulumi.Input[int]): pulumi.set(self, "max_tokens", value) +if not MYPY: + class DataSourceIntermediateStorageArgsDict(TypedDict): + """ + A location for storing content from data sources temporarily as it is processed by custom components in the ingestion pipeline. + """ + s3_location: pulumi.Input['DataSourceS3LocationArgsDict'] + """ + An S3 bucket path. + """ +elif False: + DataSourceIntermediateStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceIntermediateStorageArgs: def __init__(__self__, *, @@ -1468,6 +2113,22 @@ def s3_location(self, value: pulumi.Input['DataSourceS3LocationArgs']): pulumi.set(self, "s3_location", value) +if not MYPY: + class DataSourceParsingConfigurationArgsDict(TypedDict): + """ + Settings for parsing document contents + """ + parsing_strategy: pulumi.Input['DataSourceParsingStrategy'] + """ + The parsing strategy for the data source. + """ + bedrock_foundation_model_configuration: NotRequired[pulumi.Input['DataSourceBedrockFoundationModelConfigurationArgsDict']] + """ + Settings for a foundation model used to parse documents for a data source. + """ +elif False: + DataSourceParsingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceParsingConfigurationArgs: def __init__(__self__, *, @@ -1507,6 +2168,18 @@ def bedrock_foundation_model_configuration(self, value: Optional[pulumi.Input['D pulumi.set(self, "bedrock_foundation_model_configuration", value) +if not MYPY: + class DataSourceParsingPromptArgsDict(TypedDict): + """ + Instructions for interpreting the contents of a document. + """ + parsing_prompt_text: pulumi.Input[str] + """ + Instructions for interpreting the contents of a document. + """ +elif False: + DataSourceParsingPromptArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceParsingPromptArgs: def __init__(__self__, *, @@ -1530,6 +2203,18 @@ def parsing_prompt_text(self, value: pulumi.Input[str]): pulumi.set(self, "parsing_prompt_text", value) +if not MYPY: + class DataSourcePatternObjectFilterConfigurationArgsDict(TypedDict): + """ + The configuration of specific filters applied to your data source content. You can filter out or include certain content. + """ + filters: pulumi.Input[Sequence[pulumi.Input['DataSourcePatternObjectFilterArgsDict']]] + """ + The configuration of specific filters applied to your data source content. You can filter out or include certain content. + """ +elif False: + DataSourcePatternObjectFilterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourcePatternObjectFilterConfigurationArgs: def __init__(__self__, *, @@ -1553,6 +2238,20 @@ def filters(self, value: pulumi.Input[Sequence[pulumi.Input['DataSourcePatternOb pulumi.set(self, "filters", value) +if not MYPY: + class DataSourcePatternObjectFilterArgsDict(TypedDict): + """ + The specific filters applied to your data source content. You can filter out or include certain content. + """ + object_type: pulumi.Input[str] + """ + The supported object type or content type of the data source. + """ + exclusion_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + inclusion_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + DataSourcePatternObjectFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourcePatternObjectFilterArgs: def __init__(__self__, *, @@ -1600,6 +2299,26 @@ def inclusion_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[s pulumi.set(self, "inclusion_filters", value) +if not MYPY: + class DataSourceS3DataSourceConfigurationArgsDict(TypedDict): + """ + The configuration information to connect to Amazon S3 as your data source. + """ + bucket_arn: pulumi.Input[str] + """ + The ARN of the bucket that contains the data source. + """ + bucket_owner_account_id: NotRequired[pulumi.Input[str]] + """ + The account ID for the owner of the S3 bucket. + """ + inclusion_prefixes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of S3 prefixes that define the object containing the data sources. + """ +elif False: + DataSourceS3DataSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceS3DataSourceConfigurationArgs: def __init__(__self__, *, @@ -1655,6 +2374,18 @@ def inclusion_prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "inclusion_prefixes", value) +if not MYPY: + class DataSourceS3LocationArgsDict(TypedDict): + """ + An Amazon S3 location. + """ + uri: pulumi.Input[str] + """ + The location's URI + """ +elif False: + DataSourceS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceS3LocationArgs: def __init__(__self__, *, @@ -1678,6 +2409,18 @@ def uri(self, value: pulumi.Input[str]): pulumi.set(self, "uri", value) +if not MYPY: + class DataSourceSalesforceCrawlerConfigurationArgsDict(TypedDict): + """ + The configuration of filtering the Salesforce content. For example, configuring regular expression patterns to include or exclude certain content. + """ + filter_configuration: NotRequired[pulumi.Input['DataSourceCrawlFilterConfigurationArgsDict']] + """ + The configuration of filtering the Salesforce content. For example, configuring regular expression patterns to include or exclude certain content. + """ +elif False: + DataSourceSalesforceCrawlerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSalesforceCrawlerConfigurationArgs: def __init__(__self__, *, @@ -1702,6 +2445,22 @@ def filter_configuration(self, value: Optional[pulumi.Input['DataSourceCrawlFilt pulumi.set(self, "filter_configuration", value) +if not MYPY: + class DataSourceSalesforceDataSourceConfigurationArgsDict(TypedDict): + """ + The configuration information to connect to Salesforce as your data source. + """ + source_configuration: pulumi.Input['DataSourceSalesforceSourceConfigurationArgsDict'] + """ + The endpoint information to connect to your Salesforce data source. + """ + crawler_configuration: NotRequired[pulumi.Input['DataSourceSalesforceCrawlerConfigurationArgsDict']] + """ + The configuration of the Salesforce content. For example, configuring specific types of Salesforce content. + """ +elif False: + DataSourceSalesforceDataSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSalesforceDataSourceConfigurationArgs: def __init__(__self__, *, @@ -1741,6 +2500,26 @@ def crawler_configuration(self, value: Optional[pulumi.Input['DataSourceSalesfor pulumi.set(self, "crawler_configuration", value) +if not MYPY: + class DataSourceSalesforceSourceConfigurationArgsDict(TypedDict): + """ + The endpoint information to connect to your Salesforce data source. + """ + auth_type: pulumi.Input['DataSourceSalesforceSourceConfigurationAuthType'] + """ + The supported authentication type to authenticate and connect to your Salesforce instance. + """ + credentials_secret_arn: pulumi.Input[str] + """ + The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your Salesforce instance URL. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Salesforce connection configuration. + """ + host_url: pulumi.Input[str] + """ + The Salesforce host URL or instance URL. + """ +elif False: + DataSourceSalesforceSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSalesforceSourceConfigurationArgs: def __init__(__self__, *, @@ -1794,6 +2573,18 @@ def host_url(self, value: pulumi.Input[str]): pulumi.set(self, "host_url", value) +if not MYPY: + class DataSourceSeedUrlArgsDict(TypedDict): + """ + A seed url object. + """ + url: pulumi.Input[str] + """ + A web url. + """ +elif False: + DataSourceSeedUrlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSeedUrlArgs: def __init__(__self__, *, @@ -1817,6 +2608,26 @@ def url(self, value: pulumi.Input[str]): pulumi.set(self, "url", value) +if not MYPY: + class DataSourceSemanticChunkingConfigurationArgsDict(TypedDict): + """ + Configurations for when you choose semantic chunking. If you set the chunkingStrategy as NONE, exclude this field. + """ + breakpoint_percentile_threshold: pulumi.Input[int] + """ + The dissimilarity threshold for splitting chunks. + """ + buffer_size: pulumi.Input[int] + """ + The buffer size. + """ + max_tokens: pulumi.Input[int] + """ + The maximum number of tokens that a chunk can contain. + """ +elif False: + DataSourceSemanticChunkingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSemanticChunkingConfigurationArgs: def __init__(__self__, *, @@ -1870,6 +2681,18 @@ def max_tokens(self, value: pulumi.Input[int]): pulumi.set(self, "max_tokens", value) +if not MYPY: + class DataSourceServerSideEncryptionConfigurationArgsDict(TypedDict): + """ + Contains details about the server-side encryption for the data source. + """ + kms_key_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the AWS KMS key used to encrypt the resource. + """ +elif False: + DataSourceServerSideEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceServerSideEncryptionConfigurationArgs: def __init__(__self__, *, @@ -1894,6 +2717,18 @@ def kms_key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_arn", value) +if not MYPY: + class DataSourceSharePointCrawlerConfigurationArgsDict(TypedDict): + """ + The configuration of the SharePoint content. For example, configuring specific types of SharePoint content. + """ + filter_configuration: NotRequired[pulumi.Input['DataSourceCrawlFilterConfigurationArgsDict']] + """ + The configuration of filtering the SharePoint content. For example, configuring regular expression patterns to include or exclude certain content. + """ +elif False: + DataSourceSharePointCrawlerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSharePointCrawlerConfigurationArgs: def __init__(__self__, *, @@ -1918,6 +2753,22 @@ def filter_configuration(self, value: Optional[pulumi.Input['DataSourceCrawlFilt pulumi.set(self, "filter_configuration", value) +if not MYPY: + class DataSourceSharePointDataSourceConfigurationArgsDict(TypedDict): + """ + The configuration information to connect to SharePoint as your data source. + """ + source_configuration: pulumi.Input['DataSourceSharePointSourceConfigurationArgsDict'] + """ + The endpoint information to connect to your SharePoint data source. + """ + crawler_configuration: NotRequired[pulumi.Input['DataSourceSharePointCrawlerConfigurationArgsDict']] + """ + The configuration of the SharePoint content. For example, configuring specific types of SharePoint content. + """ +elif False: + DataSourceSharePointDataSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSharePointDataSourceConfigurationArgs: def __init__(__self__, *, @@ -1957,6 +2808,38 @@ def crawler_configuration(self, value: Optional[pulumi.Input['DataSourceSharePoi pulumi.set(self, "crawler_configuration", value) +if not MYPY: + class DataSourceSharePointSourceConfigurationArgsDict(TypedDict): + """ + The endpoint information to connect to your SharePoint data source. + """ + auth_type: pulumi.Input['DataSourceSharePointSourceConfigurationAuthType'] + """ + The supported authentication type to authenticate and connect to your SharePoint site/sites. + """ + credentials_secret_arn: pulumi.Input[str] + """ + The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see SharePoint connection configuration. + """ + domain: pulumi.Input[str] + """ + The domain of your SharePoint instance or site URL/URLs. + """ + host_type: pulumi.Input['DataSourceSharePointSourceConfigurationHostType'] + """ + The supported host type, whether online/cloud or server/on-premises. + """ + site_urls: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of one or more SharePoint site URLs. + """ + tenant_id: NotRequired[pulumi.Input[str]] + """ + The identifier of your Microsoft 365 tenant. + """ +elif False: + DataSourceSharePointSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSharePointSourceConfigurationArgs: def __init__(__self__, *, @@ -2056,6 +2939,18 @@ def tenant_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tenant_id", value) +if not MYPY: + class DataSourceTransformationFunctionArgsDict(TypedDict): + """ + A Lambda function that processes documents. + """ + transformation_lambda_configuration: pulumi.Input['DataSourceTransformationLambdaConfigurationArgsDict'] + """ + The Lambda function. + """ +elif False: + DataSourceTransformationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceTransformationFunctionArgs: def __init__(__self__, *, @@ -2079,6 +2974,18 @@ def transformation_lambda_configuration(self, value: pulumi.Input['DataSourceTra pulumi.set(self, "transformation_lambda_configuration", value) +if not MYPY: + class DataSourceTransformationLambdaConfigurationArgsDict(TypedDict): + """ + A Lambda function that processes documents. + """ + lambda_arn: pulumi.Input[str] + """ + The function's ARN identifier. + """ +elif False: + DataSourceTransformationLambdaConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceTransformationLambdaConfigurationArgs: def __init__(__self__, *, @@ -2102,18 +3009,34 @@ def lambda_arn(self, value: pulumi.Input[str]): pulumi.set(self, "lambda_arn", value) -@pulumi.input_type -class DataSourceTransformationArgs: - def __init__(__self__, *, - step_to_apply: pulumi.Input['DataSourceTransformationStepToApply'], - transformation_function: pulumi.Input['DataSourceTransformationFunctionArgs']): +if not MYPY: + class DataSourceTransformationArgsDict(TypedDict): """ A Lambda function that processes documents. - :param pulumi.Input['DataSourceTransformationStepToApply'] step_to_apply: When the service applies the transformation. - :param pulumi.Input['DataSourceTransformationFunctionArgs'] transformation_function: A Lambda function that processes documents. """ - pulumi.set(__self__, "step_to_apply", step_to_apply) - pulumi.set(__self__, "transformation_function", transformation_function) + step_to_apply: pulumi.Input['DataSourceTransformationStepToApply'] + """ + When the service applies the transformation. + """ + transformation_function: pulumi.Input['DataSourceTransformationFunctionArgsDict'] + """ + A Lambda function that processes documents. + """ +elif False: + DataSourceTransformationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DataSourceTransformationArgs: + def __init__(__self__, *, + step_to_apply: pulumi.Input['DataSourceTransformationStepToApply'], + transformation_function: pulumi.Input['DataSourceTransformationFunctionArgs']): + """ + A Lambda function that processes documents. + :param pulumi.Input['DataSourceTransformationStepToApply'] step_to_apply: When the service applies the transformation. + :param pulumi.Input['DataSourceTransformationFunctionArgs'] transformation_function: A Lambda function that processes documents. + """ + pulumi.set(__self__, "step_to_apply", step_to_apply) + pulumi.set(__self__, "transformation_function", transformation_function) @property @pulumi.getter(name="stepToApply") @@ -2140,6 +3063,18 @@ def transformation_function(self, value: pulumi.Input['DataSourceTransformationF pulumi.set(self, "transformation_function", value) +if not MYPY: + class DataSourceUrlConfigurationArgsDict(TypedDict): + """ + A url configuration. + """ + seed_urls: pulumi.Input[Sequence[pulumi.Input['DataSourceSeedUrlArgsDict']]] + """ + One or more seed or starting point URLs. + """ +elif False: + DataSourceUrlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceUrlConfigurationArgs: def __init__(__self__, *, @@ -2163,6 +3098,26 @@ def seed_urls(self, value: pulumi.Input[Sequence[pulumi.Input['DataSourceSeedUrl pulumi.set(self, "seed_urls", value) +if not MYPY: + class DataSourceVectorIngestionConfigurationArgsDict(TypedDict): + """ + Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. + """ + chunking_configuration: NotRequired[pulumi.Input['DataSourceChunkingConfigurationArgsDict']] + """ + Details about how to chunk the documents in the data source. A *chunk* refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. + """ + custom_transformation_configuration: NotRequired[pulumi.Input['DataSourceCustomTransformationConfigurationArgsDict']] + """ + A custom document transformer for parsed data source documents. + """ + parsing_configuration: NotRequired[pulumi.Input['DataSourceParsingConfigurationArgsDict']] + """ + A custom parser for data source documents. + """ +elif False: + DataSourceVectorIngestionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceVectorIngestionConfigurationArgs: def __init__(__self__, *, @@ -2219,6 +3174,32 @@ def parsing_configuration(self, value: Optional[pulumi.Input['DataSourceParsingC pulumi.set(self, "parsing_configuration", value) +if not MYPY: + class DataSourceWebCrawlerConfigurationArgsDict(TypedDict): + """ + Configuration for the web crawler. + """ + crawler_limits: NotRequired[pulumi.Input['DataSourceWebCrawlerLimitsArgsDict']] + """ + The configuration of crawl limits for the web URLs. + """ + exclusion_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of one or more exclusion regular expression patterns to exclude certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled. + """ + inclusion_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of one or more inclusion regular expression patterns to include certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled. + """ + scope: NotRequired[pulumi.Input['DataSourceWebScopeType']] + """ + The scope of what is crawled for your URLs. + + You can choose to crawl only web pages that belong to the same host or primary domain. For example, only web pages that contain the seed URL "https://docs.aws.amazon.com/bedrock/latest/userguide/" and no other domains. You can choose to include sub domains in addition to the host or primary domain. For example, web pages that contain "aws.amazon.com" can also include sub domain "docs.aws.amazon.com". + """ +elif False: + DataSourceWebCrawlerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceWebCrawlerConfigurationArgs: def __init__(__self__, *, @@ -2295,6 +3276,18 @@ def scope(self, value: Optional[pulumi.Input['DataSourceWebScopeType']]): pulumi.set(self, "scope", value) +if not MYPY: + class DataSourceWebCrawlerLimitsArgsDict(TypedDict): + """ + Limit settings for the web crawler. + """ + rate_limit: NotRequired[pulumi.Input[int]] + """ + Rate of web URLs retrieved per minute. + """ +elif False: + DataSourceWebCrawlerLimitsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceWebCrawlerLimitsArgs: def __init__(__self__, *, @@ -2319,6 +3312,22 @@ def rate_limit(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "rate_limit", value) +if not MYPY: + class DataSourceWebDataSourceConfigurationArgsDict(TypedDict): + """ + Configures a web data source location. + """ + source_configuration: pulumi.Input['DataSourceWebSourceConfigurationArgsDict'] + """ + The source configuration details for the web data source. + """ + crawler_configuration: NotRequired[pulumi.Input['DataSourceWebCrawlerConfigurationArgsDict']] + """ + The Web Crawler configuration details for the web data source. + """ +elif False: + DataSourceWebDataSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceWebDataSourceConfigurationArgs: def __init__(__self__, *, @@ -2358,6 +3367,18 @@ def crawler_configuration(self, value: Optional[pulumi.Input['DataSourceWebCrawl pulumi.set(self, "crawler_configuration", value) +if not MYPY: + class DataSourceWebSourceConfigurationArgsDict(TypedDict): + """ + A web source configuration. + """ + url_configuration: pulumi.Input['DataSourceUrlConfigurationArgsDict'] + """ + The configuration of the URL/URLs. + """ +elif False: + DataSourceWebSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceWebSourceConfigurationArgs: def __init__(__self__, *, @@ -2381,6 +3402,18 @@ def url_configuration(self, value: pulumi.Input['DataSourceUrlConfigurationArgs' pulumi.set(self, "url_configuration", value) +if not MYPY: + class FlowAgentFlowNodeConfigurationArgsDict(TypedDict): + """ + Agent flow node configuration + """ + agent_alias_arn: pulumi.Input[str] + """ + Arn representation of the Agent Alias. + """ +elif False: + FlowAgentFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowAgentFlowNodeConfigurationArgs: def __init__(__self__, *, @@ -2404,6 +3437,18 @@ def agent_alias_arn(self, value: pulumi.Input[str]): pulumi.set(self, "agent_alias_arn", value) +if not MYPY: + class FlowAliasRoutingConfigurationListItemArgsDict(TypedDict): + """ + Details about the routing configuration for a Flow alias. + """ + flow_version: NotRequired[pulumi.Input[str]] + """ + Version. + """ +elif False: + FlowAliasRoutingConfigurationListItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowAliasRoutingConfigurationListItemArgs: def __init__(__self__, *, @@ -2428,6 +3473,15 @@ def flow_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "flow_version", value) +if not MYPY: + class FlowCollectorFlowNodeConfigurationArgsDict(TypedDict): + """ + Collector flow node configuration + """ + pass +elif False: + FlowCollectorFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowCollectorFlowNodeConfigurationArgs: def __init__(__self__): @@ -2437,6 +3491,18 @@ def __init__(__self__): pass +if not MYPY: + class FlowConditionFlowNodeConfigurationArgsDict(TypedDict): + """ + Condition flow node configuration + """ + conditions: pulumi.Input[Sequence[pulumi.Input['FlowConditionArgsDict']]] + """ + List of conditions in a condition node + """ +elif False: + FlowConditionFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowConditionFlowNodeConfigurationArgs: def __init__(__self__, *, @@ -2460,6 +3526,18 @@ def conditions(self, value: pulumi.Input[Sequence[pulumi.Input['FlowConditionArg pulumi.set(self, "conditions", value) +if not MYPY: + class FlowConditionalConnectionConfigurationArgsDict(TypedDict): + """ + Conditional connection configuration + """ + condition: pulumi.Input[str] + """ + Name of a condition in a flow + """ +elif False: + FlowConditionalConnectionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowConditionalConnectionConfigurationArgs: def __init__(__self__, *, @@ -2483,6 +3561,22 @@ def condition(self, value: pulumi.Input[str]): pulumi.set(self, "condition", value) +if not MYPY: + class FlowConditionArgsDict(TypedDict): + """ + Condition branch for a condition node + """ + name: pulumi.Input[str] + """ + Name of a condition in a flow + """ + expression: NotRequired[pulumi.Input[str]] + """ + Expression for a condition in a flow + """ +elif False: + FlowConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowConditionArgs: def __init__(__self__, *, @@ -2522,6 +3616,15 @@ def expression(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "expression", value) +if not MYPY: + class FlowConnectionConfiguration0PropertiesArgsDict(TypedDict): + """ + Connection configuration + """ + data: pulumi.Input['FlowDataConnectionConfigurationArgsDict'] +elif False: + FlowConnectionConfiguration0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowConnectionConfiguration0PropertiesArgs: def __init__(__self__, *, @@ -2541,6 +3644,15 @@ def data(self, value: pulumi.Input['FlowDataConnectionConfigurationArgs']): pulumi.set(self, "data", value) +if not MYPY: + class FlowConnectionConfiguration1PropertiesArgsDict(TypedDict): + """ + Connection configuration + """ + conditional: pulumi.Input['FlowConditionalConnectionConfigurationArgsDict'] +elif False: + FlowConnectionConfiguration1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowConnectionConfiguration1PropertiesArgs: def __init__(__self__, *, @@ -2560,6 +3672,34 @@ def conditional(self, value: pulumi.Input['FlowConditionalConnectionConfiguratio pulumi.set(self, "conditional", value) +if not MYPY: + class FlowConnectionArgsDict(TypedDict): + """ + Flow connection + """ + name: pulumi.Input[str] + """ + Name of a connection in a flow + """ + source: pulumi.Input[str] + """ + Name of a node in a flow + """ + target: pulumi.Input[str] + """ + Name of a node in a flow + """ + type: pulumi.Input['FlowConnectionType'] + """ + Whether the source node that the connection begins from is a condition node ( `Conditional` ) or not ( `Data` ). + """ + configuration: NotRequired[pulumi.Input[Union['FlowConnectionConfiguration0PropertiesArgsDict', 'FlowConnectionConfiguration1PropertiesArgsDict']]] + """ + The configuration of the connection. + """ +elif False: + FlowConnectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowConnectionArgs: def __init__(__self__, *, @@ -2644,6 +3784,22 @@ def configuration(self, value: Optional[pulumi.Input[Union['FlowConnectionConfig pulumi.set(self, "configuration", value) +if not MYPY: + class FlowDataConnectionConfigurationArgsDict(TypedDict): + """ + Data connection configuration + """ + source_output: pulumi.Input[str] + """ + Name of a node output in a flow + """ + target_input: pulumi.Input[str] + """ + Name of a node input in a flow + """ +elif False: + FlowDataConnectionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowDataConnectionConfigurationArgs: def __init__(__self__, *, @@ -2682,6 +3838,22 @@ def target_input(self, value: pulumi.Input[str]): pulumi.set(self, "target_input", value) +if not MYPY: + class FlowDefinitionArgsDict(TypedDict): + """ + Flow definition + """ + connections: NotRequired[pulumi.Input[Sequence[pulumi.Input['FlowConnectionArgsDict']]]] + """ + List of connections + """ + nodes: NotRequired[pulumi.Input[Sequence[pulumi.Input['FlowNodeArgsDict']]]] + """ + List of nodes in a flow + """ +elif False: + FlowDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowDefinitionArgs: def __init__(__self__, *, @@ -2722,6 +3894,15 @@ def nodes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FlowNodeArgs pulumi.set(self, "nodes", value) +if not MYPY: + class FlowInputFlowNodeConfigurationArgsDict(TypedDict): + """ + Input flow node configuration + """ + pass +elif False: + FlowInputFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowInputFlowNodeConfigurationArgs: def __init__(__self__): @@ -2731,6 +3912,15 @@ def __init__(__self__): pass +if not MYPY: + class FlowIteratorFlowNodeConfigurationArgsDict(TypedDict): + """ + Iterator flow node configuration + """ + pass +elif False: + FlowIteratorFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowIteratorFlowNodeConfigurationArgs: def __init__(__self__): @@ -2740,6 +3930,22 @@ def __init__(__self__): pass +if not MYPY: + class FlowKnowledgeBaseFlowNodeConfigurationArgsDict(TypedDict): + """ + Knowledge base flow node configuration + """ + knowledge_base_id: pulumi.Input[str] + """ + Identifier of the KnowledgeBase + """ + model_id: NotRequired[pulumi.Input[str]] + """ + ARN or name of a Bedrock model. + """ +elif False: + FlowKnowledgeBaseFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowKnowledgeBaseFlowNodeConfigurationArgs: def __init__(__self__, *, @@ -2779,6 +3985,18 @@ def model_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "model_id", value) +if not MYPY: + class FlowLambdaFunctionFlowNodeConfigurationArgsDict(TypedDict): + """ + Lambda function flow node configuration + """ + lambda_arn: pulumi.Input[str] + """ + ARN of a Lambda. + """ +elif False: + FlowLambdaFunctionFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowLambdaFunctionFlowNodeConfigurationArgs: def __init__(__self__, *, @@ -2802,6 +4020,22 @@ def lambda_arn(self, value: pulumi.Input[str]): pulumi.set(self, "lambda_arn", value) +if not MYPY: + class FlowLexFlowNodeConfigurationArgsDict(TypedDict): + """ + Lex flow node configuration + """ + bot_alias_arn: pulumi.Input[str] + """ + ARN of a Lex bot alias + """ + locale_id: pulumi.Input[str] + """ + Lex bot locale id + """ +elif False: + FlowLexFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowLexFlowNodeConfigurationArgs: def __init__(__self__, *, @@ -2840,6 +4074,15 @@ def locale_id(self, value: pulumi.Input[str]): pulumi.set(self, "locale_id", value) +if not MYPY: + class FlowNodeConfiguration0PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + input: pulumi.Input['FlowInputFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration0PropertiesArgs: def __init__(__self__, *, @@ -2859,6 +4102,15 @@ def input(self, value: pulumi.Input['FlowInputFlowNodeConfigurationArgs']): pulumi.set(self, "input", value) +if not MYPY: + class FlowNodeConfiguration10PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + collector: pulumi.Input['FlowCollectorFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration10PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration10PropertiesArgs: def __init__(__self__, *, @@ -2878,6 +4130,15 @@ def collector(self, value: pulumi.Input['FlowCollectorFlowNodeConfigurationArgs' pulumi.set(self, "collector", value) +if not MYPY: + class FlowNodeConfiguration11PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + retrieval: pulumi.Input['FlowRetrievalFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration11PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration11PropertiesArgs: def __init__(__self__, *, @@ -2897,6 +4158,15 @@ def retrieval(self, value: pulumi.Input['FlowRetrievalFlowNodeConfigurationArgs' pulumi.set(self, "retrieval", value) +if not MYPY: + class FlowNodeConfiguration1PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + output: pulumi.Input['FlowOutputFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration1PropertiesArgs: def __init__(__self__, *, @@ -2916,6 +4186,15 @@ def output(self, value: pulumi.Input['FlowOutputFlowNodeConfigurationArgs']): pulumi.set(self, "output", value) +if not MYPY: + class FlowNodeConfiguration2PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + knowledge_base: pulumi.Input['FlowKnowledgeBaseFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration2PropertiesArgs: def __init__(__self__, *, @@ -2935,6 +4214,15 @@ def knowledge_base(self, value: pulumi.Input['FlowKnowledgeBaseFlowNodeConfigura pulumi.set(self, "knowledge_base", value) +if not MYPY: + class FlowNodeConfiguration3PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + condition: pulumi.Input['FlowConditionFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration3PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration3PropertiesArgs: def __init__(__self__, *, @@ -2954,6 +4242,15 @@ def condition(self, value: pulumi.Input['FlowConditionFlowNodeConfigurationArgs' pulumi.set(self, "condition", value) +if not MYPY: + class FlowNodeConfiguration4PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + lex: pulumi.Input['FlowLexFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration4PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration4PropertiesArgs: def __init__(__self__, *, @@ -2973,6 +4270,15 @@ def lex(self, value: pulumi.Input['FlowLexFlowNodeConfigurationArgs']): pulumi.set(self, "lex", value) +if not MYPY: + class FlowNodeConfiguration5PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + prompt: pulumi.Input['FlowPromptFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration5PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration5PropertiesArgs: def __init__(__self__, *, @@ -2992,6 +4298,15 @@ def prompt(self, value: pulumi.Input['FlowPromptFlowNodeConfigurationArgs']): pulumi.set(self, "prompt", value) +if not MYPY: + class FlowNodeConfiguration6PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + lambda_function: pulumi.Input['FlowLambdaFunctionFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration6PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration6PropertiesArgs: def __init__(__self__, *, @@ -3011,6 +4326,15 @@ def lambda_function(self, value: pulumi.Input['FlowLambdaFunctionFlowNodeConfigu pulumi.set(self, "lambda_function", value) +if not MYPY: + class FlowNodeConfiguration7PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + agent: pulumi.Input['FlowAgentFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration7PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration7PropertiesArgs: def __init__(__self__, *, @@ -3030,6 +4354,15 @@ def agent(self, value: pulumi.Input['FlowAgentFlowNodeConfigurationArgs']): pulumi.set(self, "agent", value) +if not MYPY: + class FlowNodeConfiguration8PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + storage: pulumi.Input['FlowStorageFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration8PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration8PropertiesArgs: def __init__(__self__, *, @@ -3049,6 +4382,15 @@ def storage(self, value: pulumi.Input['FlowStorageFlowNodeConfigurationArgs']): pulumi.set(self, "storage", value) +if not MYPY: + class FlowNodeConfiguration9PropertiesArgsDict(TypedDict): + """ + Node configuration in a flow + """ + iterator: pulumi.Input['FlowIteratorFlowNodeConfigurationArgsDict'] +elif False: + FlowNodeConfiguration9PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeConfiguration9PropertiesArgs: def __init__(__self__, *, @@ -3068,6 +4410,26 @@ def iterator(self, value: pulumi.Input['FlowIteratorFlowNodeConfigurationArgs']) pulumi.set(self, "iterator", value) +if not MYPY: + class FlowNodeInputArgsDict(TypedDict): + """ + Input to a node in a flow + """ + expression: pulumi.Input[str] + """ + Expression for a node input in a flow + """ + name: pulumi.Input[str] + """ + Name of a node input in a flow + """ + type: pulumi.Input['FlowNodeIoDataType'] + """ + The data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown. + """ +elif False: + FlowNodeInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeInputArgs: def __init__(__self__, *, @@ -3121,6 +4483,22 @@ def type(self, value: pulumi.Input['FlowNodeIoDataType']): pulumi.set(self, "type", value) +if not MYPY: + class FlowNodeOutputArgsDict(TypedDict): + """ + Output of a node in a flow + """ + name: pulumi.Input[str] + """ + Name of a node output in a flow + """ + type: pulumi.Input['FlowNodeIoDataType'] + """ + The data type of the output. If the output doesn't match this type at runtime, a validation error will be thrown. + """ +elif False: + FlowNodeOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeOutputArgs: def __init__(__self__, *, @@ -3159,6 +4537,34 @@ def type(self, value: pulumi.Input['FlowNodeIoDataType']): pulumi.set(self, "type", value) +if not MYPY: + class FlowNodeArgsDict(TypedDict): + """ + Internal mixin for flow node + """ + name: pulumi.Input[str] + """ + Name of a node in a flow + """ + type: pulumi.Input['FlowNodeType'] + """ + The type of node. This value must match the name of the key that you provide in the configuration you provide in the `FlowNodeConfiguration` field. + """ + configuration: NotRequired[pulumi.Input[Union['FlowNodeConfiguration0PropertiesArgsDict', 'FlowNodeConfiguration1PropertiesArgsDict', 'FlowNodeConfiguration2PropertiesArgsDict', 'FlowNodeConfiguration3PropertiesArgsDict', 'FlowNodeConfiguration4PropertiesArgsDict', 'FlowNodeConfiguration5PropertiesArgsDict', 'FlowNodeConfiguration6PropertiesArgsDict', 'FlowNodeConfiguration7PropertiesArgsDict', 'FlowNodeConfiguration8PropertiesArgsDict', 'FlowNodeConfiguration9PropertiesArgsDict', 'FlowNodeConfiguration10PropertiesArgsDict', 'FlowNodeConfiguration11PropertiesArgsDict']]] + """ + Contains configurations for the node. + """ + inputs: NotRequired[pulumi.Input[Sequence[pulumi.Input['FlowNodeInputArgsDict']]]] + """ + List of node inputs in a flow + """ + outputs: NotRequired[pulumi.Input[Sequence[pulumi.Input['FlowNodeOutputArgsDict']]]] + """ + List of node outputs in a flow + """ +elif False: + FlowNodeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowNodeArgs: def __init__(__self__, *, @@ -3245,6 +4651,15 @@ def outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FlowNodeOu pulumi.set(self, "outputs", value) +if not MYPY: + class FlowOutputFlowNodeConfigurationArgsDict(TypedDict): + """ + Output flow node configuration + """ + pass +elif False: + FlowOutputFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowOutputFlowNodeConfigurationArgs: def __init__(__self__): @@ -3254,6 +4669,15 @@ def __init__(__self__): pass +if not MYPY: + class FlowPromptFlowNodeConfigurationArgsDict(TypedDict): + """ + Prompt flow node configuration + """ + source_configuration: pulumi.Input[Union['FlowPromptFlowNodeSourceConfiguration0PropertiesArgsDict', 'FlowPromptFlowNodeSourceConfiguration1PropertiesArgsDict']] +elif False: + FlowPromptFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowPromptFlowNodeConfigurationArgs: def __init__(__self__, *, @@ -3273,6 +4697,21 @@ def source_configuration(self, value: pulumi.Input[Union['FlowPromptFlowNodeSour pulumi.set(self, "source_configuration", value) +if not MYPY: + class FlowPromptFlowNodeInlineConfigurationArgsDict(TypedDict): + """ + Inline prompt configuration for prompt node + """ + model_id: pulumi.Input[str] + """ + ARN or name of a Bedrock model. + """ + template_configuration: pulumi.Input['FlowPromptTemplateConfigurationPropertiesArgsDict'] + template_type: pulumi.Input['FlowPromptTemplateType'] + inference_configuration: NotRequired[pulumi.Input['FlowPromptInferenceConfigurationPropertiesArgsDict']] +elif False: + FlowPromptFlowNodeInlineConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowPromptFlowNodeInlineConfigurationArgs: def __init__(__self__, *, @@ -3330,6 +4769,18 @@ def inference_configuration(self, value: Optional[pulumi.Input['FlowPromptInfere pulumi.set(self, "inference_configuration", value) +if not MYPY: + class FlowPromptFlowNodeResourceConfigurationArgsDict(TypedDict): + """ + Resource prompt configuration for prompt node + """ + prompt_arn: pulumi.Input[str] + """ + ARN of a prompt resource possibly with a version + """ +elif False: + FlowPromptFlowNodeResourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowPromptFlowNodeResourceConfigurationArgs: def __init__(__self__, *, @@ -3353,6 +4804,15 @@ def prompt_arn(self, value: pulumi.Input[str]): pulumi.set(self, "prompt_arn", value) +if not MYPY: + class FlowPromptFlowNodeSourceConfiguration0PropertiesArgsDict(TypedDict): + """ + Prompt source configuration for prompt node + """ + resource: pulumi.Input['FlowPromptFlowNodeResourceConfigurationArgsDict'] +elif False: + FlowPromptFlowNodeSourceConfiguration0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowPromptFlowNodeSourceConfiguration0PropertiesArgs: def __init__(__self__, *, @@ -3372,6 +4832,15 @@ def resource(self, value: pulumi.Input['FlowPromptFlowNodeResourceConfigurationA pulumi.set(self, "resource", value) +if not MYPY: + class FlowPromptFlowNodeSourceConfiguration1PropertiesArgsDict(TypedDict): + """ + Prompt source configuration for prompt node + """ + inline: pulumi.Input['FlowPromptFlowNodeInlineConfigurationArgsDict'] +elif False: + FlowPromptFlowNodeSourceConfiguration1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowPromptFlowNodeSourceConfiguration1PropertiesArgs: def __init__(__self__, *, @@ -3391,6 +4860,15 @@ def inline(self, value: pulumi.Input['FlowPromptFlowNodeInlineConfigurationArgs' pulumi.set(self, "inline", value) +if not MYPY: + class FlowPromptInferenceConfigurationPropertiesArgsDict(TypedDict): + """ + Model inference configuration + """ + text: pulumi.Input['FlowPromptModelInferenceConfigurationArgsDict'] +elif False: + FlowPromptInferenceConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowPromptInferenceConfigurationPropertiesArgs: def __init__(__self__, *, @@ -3410,6 +4888,18 @@ def text(self, value: pulumi.Input['FlowPromptModelInferenceConfigurationArgs']) pulumi.set(self, "text", value) +if not MYPY: + class FlowPromptInputVariableArgsDict(TypedDict): + """ + Input variable + """ + name: NotRequired[pulumi.Input[str]] + """ + Name for an input variable + """ +elif False: + FlowPromptInputVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowPromptInputVariableArgs: def __init__(__self__, *, @@ -3434,6 +4924,34 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class FlowPromptModelInferenceConfigurationArgsDict(TypedDict): + """ + Prompt model inference configuration + """ + max_tokens: NotRequired[pulumi.Input[float]] + """ + Maximum length of output + """ + stop_sequences: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of stop sequences + """ + temperature: NotRequired[pulumi.Input[float]] + """ + Controls randomness, higher values increase diversity + """ + top_k: NotRequired[pulumi.Input[float]] + """ + Sample from the k most likely next tokens + """ + top_p: NotRequired[pulumi.Input[float]] + """ + Cumulative probability cutoff for token selection + """ +elif False: + FlowPromptModelInferenceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowPromptModelInferenceConfigurationArgs: def __init__(__self__, *, @@ -3522,6 +5040,15 @@ def top_p(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "top_p", value) +if not MYPY: + class FlowPromptTemplateConfigurationPropertiesArgsDict(TypedDict): + """ + Prompt template configuration + """ + text: pulumi.Input['FlowTextPromptTemplateConfigurationArgsDict'] +elif False: + FlowPromptTemplateConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowPromptTemplateConfigurationPropertiesArgs: def __init__(__self__, *, @@ -3541,6 +5068,15 @@ def text(self, value: pulumi.Input['FlowTextPromptTemplateConfigurationArgs']): pulumi.set(self, "text", value) +if not MYPY: + class FlowRetrievalFlowNodeConfigurationArgsDict(TypedDict): + """ + Retrieval flow node configuration + """ + service_configuration: pulumi.Input['FlowRetrievalFlowNodeServiceConfigurationPropertiesArgsDict'] +elif False: + FlowRetrievalFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowRetrievalFlowNodeConfigurationArgs: def __init__(__self__, *, @@ -3560,6 +5096,18 @@ def service_configuration(self, value: pulumi.Input['FlowRetrievalFlowNodeServic pulumi.set(self, "service_configuration", value) +if not MYPY: + class FlowRetrievalFlowNodeS3ConfigurationArgsDict(TypedDict): + """ + s3 Retrieval configuration for Retrieval node + """ + bucket_name: pulumi.Input[str] + """ + bucket name of an s3 that will be used for Retrieval flow node configuration + """ +elif False: + FlowRetrievalFlowNodeS3ConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowRetrievalFlowNodeS3ConfigurationArgs: def __init__(__self__, *, @@ -3583,6 +5131,15 @@ def bucket_name(self, value: pulumi.Input[str]): pulumi.set(self, "bucket_name", value) +if not MYPY: + class FlowRetrievalFlowNodeServiceConfigurationPropertiesArgsDict(TypedDict): + """ + Retrieval service configuration for Retrieval node + """ + s3: NotRequired[pulumi.Input['FlowRetrievalFlowNodeS3ConfigurationArgsDict']] +elif False: + FlowRetrievalFlowNodeServiceConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowRetrievalFlowNodeServiceConfigurationPropertiesArgs: def __init__(__self__, *, @@ -3603,6 +5160,26 @@ def s3(self, value: Optional[pulumi.Input['FlowRetrievalFlowNodeS3ConfigurationA pulumi.set(self, "s3", value) +if not MYPY: + class FlowS3LocationArgsDict(TypedDict): + """ + A bucket, key and optional version pointing to an S3 object containing a UTF-8 encoded JSON string Definition with the same schema as the Definition property of this resource + """ + bucket: pulumi.Input[str] + """ + A bucket in S3 + """ + key: pulumi.Input[str] + """ + A object key in S3 + """ + version: NotRequired[pulumi.Input[str]] + """ + The version of the the S3 object to use + """ +elif False: + FlowS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowS3LocationArgs: def __init__(__self__, *, @@ -3657,6 +5234,15 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class FlowStorageFlowNodeConfigurationArgsDict(TypedDict): + """ + Storage flow node configuration + """ + service_configuration: pulumi.Input['FlowStorageFlowNodeServiceConfigurationPropertiesArgsDict'] +elif False: + FlowStorageFlowNodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowStorageFlowNodeConfigurationArgs: def __init__(__self__, *, @@ -3676,6 +5262,18 @@ def service_configuration(self, value: pulumi.Input['FlowStorageFlowNodeServiceC pulumi.set(self, "service_configuration", value) +if not MYPY: + class FlowStorageFlowNodeS3ConfigurationArgsDict(TypedDict): + """ + s3 storage configuration for storage node + """ + bucket_name: pulumi.Input[str] + """ + bucket name of an s3 that will be used for storage flow node configuration + """ +elif False: + FlowStorageFlowNodeS3ConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowStorageFlowNodeS3ConfigurationArgs: def __init__(__self__, *, @@ -3699,6 +5297,15 @@ def bucket_name(self, value: pulumi.Input[str]): pulumi.set(self, "bucket_name", value) +if not MYPY: + class FlowStorageFlowNodeServiceConfigurationPropertiesArgsDict(TypedDict): + """ + storage service configuration for storage node + """ + s3: NotRequired[pulumi.Input['FlowStorageFlowNodeS3ConfigurationArgsDict']] +elif False: + FlowStorageFlowNodeServiceConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowStorageFlowNodeServiceConfigurationPropertiesArgs: def __init__(__self__, *, @@ -3719,6 +5326,22 @@ def s3(self, value: Optional[pulumi.Input['FlowStorageFlowNodeS3ConfigurationArg pulumi.set(self, "s3", value) +if not MYPY: + class FlowTextPromptTemplateConfigurationArgsDict(TypedDict): + """ + Configuration for text prompt template + """ + text: pulumi.Input[str] + """ + Prompt content for String prompt template + """ + input_variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['FlowPromptInputVariableArgsDict']]]] + """ + List of input variables + """ +elif False: + FlowTextPromptTemplateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowTextPromptTemplateConfigurationArgs: def __init__(__self__, *, @@ -3758,6 +5381,26 @@ def input_variables(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Fl pulumi.set(self, "input_variables", value) +if not MYPY: + class GuardrailContentFilterConfigArgsDict(TypedDict): + """ + Content filter config in content policy. + """ + input_strength: pulumi.Input['GuardrailFilterStrength'] + """ + The strength of the content filter to apply to prompts. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces. + """ + output_strength: pulumi.Input['GuardrailFilterStrength'] + """ + The strength of the content filter to apply to model responses. As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces. + """ + type: pulumi.Input['GuardrailContentFilterType'] + """ + The harmful category that the content filter is applied to. + """ +elif False: + GuardrailContentFilterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailContentFilterConfigArgs: def __init__(__self__, *, @@ -3811,6 +5454,18 @@ def type(self, value: pulumi.Input['GuardrailContentFilterType']): pulumi.set(self, "type", value) +if not MYPY: + class GuardrailContentPolicyConfigArgsDict(TypedDict): + """ + Content policy config for a guardrail. + """ + filters_config: pulumi.Input[Sequence[pulumi.Input['GuardrailContentFilterConfigArgsDict']]] + """ + List of content filter configs in content policy. + """ +elif False: + GuardrailContentPolicyConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailContentPolicyConfigArgs: def __init__(__self__, *, @@ -3834,6 +5489,22 @@ def filters_config(self, value: pulumi.Input[Sequence[pulumi.Input['GuardrailCon pulumi.set(self, "filters_config", value) +if not MYPY: + class GuardrailContextualGroundingFilterConfigArgsDict(TypedDict): + """ + A config for grounding filter. + """ + threshold: pulumi.Input[float] + """ + The threshold for this filter. + """ + type: pulumi.Input['GuardrailContextualGroundingFilterType'] + """ + The filter details for the guardrails contextual grounding filter. + """ +elif False: + GuardrailContextualGroundingFilterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailContextualGroundingFilterConfigArgs: def __init__(__self__, *, @@ -3872,6 +5543,18 @@ def type(self, value: pulumi.Input['GuardrailContextualGroundingFilterType']): pulumi.set(self, "type", value) +if not MYPY: + class GuardrailContextualGroundingPolicyConfigArgsDict(TypedDict): + """ + Contextual grounding policy config for a guardrail. + """ + filters_config: pulumi.Input[Sequence[pulumi.Input['GuardrailContextualGroundingFilterConfigArgsDict']]] + """ + List of contextual grounding filter configs. + """ +elif False: + GuardrailContextualGroundingPolicyConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailContextualGroundingPolicyConfigArgs: def __init__(__self__, *, @@ -3895,6 +5578,18 @@ def filters_config(self, value: pulumi.Input[Sequence[pulumi.Input['GuardrailCon pulumi.set(self, "filters_config", value) +if not MYPY: + class GuardrailManagedWordsConfigArgsDict(TypedDict): + """ + A managed words config. + """ + type: pulumi.Input['GuardrailManagedWordsType'] + """ + The managed word type to configure for the guardrail. + """ +elif False: + GuardrailManagedWordsConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailManagedWordsConfigArgs: def __init__(__self__, *, @@ -3918,6 +5613,139 @@ def type(self, value: pulumi.Input['GuardrailManagedWordsType']): pulumi.set(self, "type", value) +if not MYPY: + class GuardrailPiiEntityConfigArgsDict(TypedDict): + """ + Pii entity configuration. + """ + action: pulumi.Input['GuardrailSensitiveInformationAction'] + """ + Configure guardrail action when the PII entity is detected. + """ + type: pulumi.Input['GuardrailPiiEntityType'] + """ + Configure guardrail type when the PII entity is detected. + + The following PIIs are used to block or mask sensitive information: + + - *General* + + - *ADDRESS* + + A physical address, such as "100 Main Street, Anytown, USA" or "Suite #12, Building 123". An address can include information such as the street, building, location, city, state, country, county, zip code, precinct, and neighborhood. + - *AGE* + + An individual's age, including the quantity and unit of time. For example, in the phrase "I am 40 years old," Guarrails recognizes "40 years" as an age. + - *NAME* + + An individual's name. This entity type does not include titles, such as Dr., Mr., Mrs., or Miss. guardrails doesn't apply this entity type to names that are part of organizations or addresses. For example, guardrails recognizes the "John Doe Organization" as an organization, and it recognizes "Jane Doe Street" as an address. + - *EMAIL* + + An email address, such as *marymajor@email.com* . + - *PHONE* + + A phone number. This entity type also includes fax and pager numbers. + - *USERNAME* + + A user name that identifies an account, such as a login name, screen name, nick name, or handle. + - *PASSWORD* + + An alphanumeric string that is used as a password, such as "* *very20special#pass** ". + - *DRIVER_ID* + + The number assigned to a driver's license, which is an official document permitting an individual to operate one or more motorized vehicles on a public road. A driver's license number consists of alphanumeric characters. + - *LICENSE_PLATE* + + A license plate for a vehicle is issued by the state or country where the vehicle is registered. The format for passenger vehicles is typically five to eight digits, consisting of upper-case letters and numbers. The format varies depending on the location of the issuing state or country. + - *VEHICLE_IDENTIFICATION_NUMBER* + + A Vehicle Identification Number (VIN) uniquely identifies a vehicle. VIN content and format are defined in the *ISO 3779* specification. Each country has specific codes and formats for VINs. + - *Finance* + + - *REDIT_DEBIT_CARD_CVV* + + A three-digit card verification code (CVV) that is present on VISA, MasterCard, and Discover credit and debit cards. For American Express credit or debit cards, the CVV is a four-digit numeric code. + - *CREDIT_DEBIT_CARD_EXPIRY* + + The expiration date for a credit or debit card. This number is usually four digits long and is often formatted as *month/year* or *MM/YY* . Guardrails recognizes expiration dates such as *01/21* , *01/2021* , and *Jan 2021* . + - *CREDIT_DEBIT_CARD_NUMBER* + + The number for a credit or debit card. These numbers can vary from 13 to 16 digits in length. However, Amazon Comprehend also recognizes credit or debit card numbers when only the last four digits are present. + - *PIN* + + A four-digit personal identification number (PIN) with which you can access your bank account. + - *INTERNATIONAL_BANK_ACCOUNT_NUMBER* + + An International Bank Account Number has specific formats in each country. For more information, see [www.iban.com/structure](https://docs.aws.amazon.com/https://www.iban.com/structure) . + - *SWIFT_CODE* + + A SWIFT code is a standard format of Bank Identifier Code (BIC) used to specify a particular bank or branch. Banks use these codes for money transfers such as international wire transfers. + + SWIFT codes consist of eight or 11 characters. The 11-digit codes refer to specific branches, while eight-digit codes (or 11-digit codes ending in 'XXX') refer to the head or primary office. + - *IT* + + - *IP_ADDRESS* + + An IPv4 address, such as *198.51.100.0* . + - *MAC_ADDRESS* + + A *media access control* (MAC) address is a unique identifier assigned to a network interface controller (NIC). + - *URL* + + A web address, such as *www.example.com* . + - *AWS_ACCESS_KEY* + + A unique identifier that's associated with a secret access key; you use the access key ID and secret access key to sign programmatic AWS requests cryptographically. + - *AWS_SECRET_KEY* + + A unique identifier that's associated with an access key. You use the access key ID and secret access key to sign programmatic AWS requests cryptographically. + - *USA specific* + + - *US_BANK_ACCOUNT_NUMBER* + + A US bank account number, which is typically 10 to 12 digits long. + - *US_BANK_ROUTING_NUMBER* + + A US bank account routing number. These are typically nine digits long, + - *US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER* + + A US Individual Taxpayer Identification Number (ITIN) is a nine-digit number that starts with a "9" and contain a "7" or "8" as the fourth digit. An ITIN can be formatted with a space or a dash after the third and forth digits. + - *US_PASSPORT_NUMBER* + + A US passport number. Passport numbers range from six to nine alphanumeric characters. + - *US_SOCIAL_SECURITY_NUMBER* + + A US Social Security Number (SSN) is a nine-digit number that is issued to US citizens, permanent residents, and temporary working residents. + - *Canada specific* + + - *CA_HEALTH_NUMBER* + + A Canadian Health Service Number is a 10-digit unique identifier, required for individuals to access healthcare benefits. + - *CA_SOCIAL_INSURANCE_NUMBER* + + A Canadian Social Insurance Number (SIN) is a nine-digit unique identifier, required for individuals to access government programs and benefits. + + The SIN is formatted as three groups of three digits, such as *123-456-789* . A SIN can be validated through a simple check-digit process called the [Luhn algorithm](https://docs.aws.amazon.com/https://www.wikipedia.org/wiki/Luhn_algorithm) . + - *UK Specific* + + - *UK_NATIONAL_HEALTH_SERVICE_NUMBER* + + A UK National Health Service Number is a 10-17 digit number, such as *485 777 3456* . The current system formats the 10-digit number with spaces after the third and sixth digits. The final digit is an error-detecting checksum. + - *UK_NATIONAL_INSURANCE_NUMBER* + + A UK National Insurance Number (NINO) provides individuals with access to National Insurance (social security) benefits. It is also used for some purposes in the UK tax system. + + The number is nine digits long and starts with two letters, followed by six numbers and one letter. A NINO can be formatted with a space or a dash after the two letters and after the second, forth, and sixth digits. + - *UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER* + + A UK Unique Taxpayer Reference (UTR) is a 10-digit number that identifies a taxpayer or a business. + - *Custom* + + - *Regex filter* - You can use a regular expressions to define patterns for a guardrail to recognize and act upon such as serial number, booking ID etc.. + """ +elif False: + GuardrailPiiEntityConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailPiiEntityConfigArgs: def __init__(__self__, *, @@ -4190,6 +6018,30 @@ def type(self, value: pulumi.Input['GuardrailPiiEntityType']): pulumi.set(self, "type", value) +if not MYPY: + class GuardrailRegexConfigArgsDict(TypedDict): + """ + A regex configuration. + """ + action: pulumi.Input['GuardrailSensitiveInformationAction'] + """ + The guardrail action to configure when matching regular expression is detected. + """ + name: pulumi.Input[str] + """ + The regex name. + """ + pattern: pulumi.Input[str] + """ + The regex pattern. + """ + description: NotRequired[pulumi.Input[str]] + """ + The regex description. + """ +elif False: + GuardrailRegexConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailRegexConfigArgs: def __init__(__self__, *, @@ -4259,6 +6111,22 @@ def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) +if not MYPY: + class GuardrailSensitiveInformationPolicyConfigArgsDict(TypedDict): + """ + Sensitive information policy config for a guardrail. + """ + pii_entities_config: NotRequired[pulumi.Input[Sequence[pulumi.Input['GuardrailPiiEntityConfigArgsDict']]]] + """ + List of entities. + """ + regexes_config: NotRequired[pulumi.Input[Sequence[pulumi.Input['GuardrailRegexConfigArgsDict']]]] + """ + List of regex. + """ +elif False: + GuardrailSensitiveInformationPolicyConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailSensitiveInformationPolicyConfigArgs: def __init__(__self__, *, @@ -4299,6 +6167,30 @@ def regexes_config(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Gua pulumi.set(self, "regexes_config", value) +if not MYPY: + class GuardrailTopicConfigArgsDict(TypedDict): + """ + Topic config in topic policy. + """ + definition: pulumi.Input[str] + """ + Definition of topic in topic policy + """ + name: pulumi.Input[str] + """ + Name of topic in topic policy + """ + type: pulumi.Input['GuardrailTopicType'] + """ + Specifies to deny the topic. + """ + examples: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of text examples + """ +elif False: + GuardrailTopicConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailTopicConfigArgs: def __init__(__self__, *, @@ -4368,6 +6260,18 @@ def examples(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "examples", value) +if not MYPY: + class GuardrailTopicPolicyConfigArgsDict(TypedDict): + """ + Topic policy config for a guardrail. + """ + topics_config: pulumi.Input[Sequence[pulumi.Input['GuardrailTopicConfigArgsDict']]] + """ + List of topic configs in topic policy. + """ +elif False: + GuardrailTopicPolicyConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailTopicPolicyConfigArgs: def __init__(__self__, *, @@ -4391,6 +6295,18 @@ def topics_config(self, value: pulumi.Input[Sequence[pulumi.Input['GuardrailTopi pulumi.set(self, "topics_config", value) +if not MYPY: + class GuardrailWordConfigArgsDict(TypedDict): + """ + A custom word config. + """ + text: pulumi.Input[str] + """ + The custom word text. + """ +elif False: + GuardrailWordConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailWordConfigArgs: def __init__(__self__, *, @@ -4414,6 +6330,22 @@ def text(self, value: pulumi.Input[str]): pulumi.set(self, "text", value) +if not MYPY: + class GuardrailWordPolicyConfigArgsDict(TypedDict): + """ + Word policy config for a guardrail. + """ + managed_word_lists_config: NotRequired[pulumi.Input[Sequence[pulumi.Input['GuardrailManagedWordsConfigArgsDict']]]] + """ + A config for the list of managed words. + """ + words_config: NotRequired[pulumi.Input[Sequence[pulumi.Input['GuardrailWordConfigArgsDict']]]] + """ + List of custom word configs. + """ +elif False: + GuardrailWordPolicyConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GuardrailWordPolicyConfigArgs: def __init__(__self__, *, @@ -4454,6 +6386,18 @@ def words_config(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Guard pulumi.set(self, "words_config", value) +if not MYPY: + class KnowledgeBaseBedrockEmbeddingModelConfigurationArgsDict(TypedDict): + """ + The vector configuration details for the Bedrock embeddings model. + """ + dimensions: NotRequired[pulumi.Input[int]] + """ + The dimensions details for the vector configuration used on the Bedrock embeddings model. + """ +elif False: + KnowledgeBaseBedrockEmbeddingModelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseBedrockEmbeddingModelConfigurationArgs: def __init__(__self__, *, @@ -4478,6 +6422,22 @@ def dimensions(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "dimensions", value) +if not MYPY: + class KnowledgeBaseConfigurationArgsDict(TypedDict): + """ + Contains details about the embeddings model used for the knowledge base. + """ + type: pulumi.Input['KnowledgeBaseType'] + """ + The type of data that the data source is converted into for the knowledge base. + """ + vector_knowledge_base_configuration: pulumi.Input['KnowledgeBaseVectorKnowledgeBaseConfigurationArgsDict'] + """ + Contains details about the model that's used to convert the data source into vector embeddings. + """ +elif False: + KnowledgeBaseConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseConfigurationArgs: def __init__(__self__, *, @@ -4516,6 +6476,18 @@ def vector_knowledge_base_configuration(self, value: pulumi.Input['KnowledgeBase pulumi.set(self, "vector_knowledge_base_configuration", value) +if not MYPY: + class KnowledgeBaseEmbeddingModelConfigurationArgsDict(TypedDict): + """ + The embeddings model configuration details for the vector model used in Knowledge Base. + """ + bedrock_embedding_model_configuration: NotRequired[pulumi.Input['KnowledgeBaseBedrockEmbeddingModelConfigurationArgsDict']] + """ + The vector configuration details on the Bedrock embeddings model. + """ +elif False: + KnowledgeBaseEmbeddingModelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseEmbeddingModelConfigurationArgs: def __init__(__self__, *, @@ -4540,6 +6512,42 @@ def bedrock_embedding_model_configuration(self, value: Optional[pulumi.Input['Kn pulumi.set(self, "bedrock_embedding_model_configuration", value) +if not MYPY: + class KnowledgeBaseMongoDbAtlasConfigurationArgsDict(TypedDict): + """ + Contains the storage configuration of the knowledge base in MongoDb Atlas Cloud. + """ + collection_name: pulumi.Input[str] + """ + Name of the collection within MongoDB Atlas. + """ + credentials_secret_arn: pulumi.Input[str] + """ + The ARN of the secret that you created in AWS Secrets Manager that is linked to your Amazon Mongo database. + """ + database_name: pulumi.Input[str] + """ + Name of the database within MongoDB Atlas. + """ + endpoint: pulumi.Input[str] + """ + MongoDB Atlas endpoint. + """ + field_mapping: pulumi.Input['KnowledgeBaseMongoDbAtlasFieldMappingArgsDict'] + """ + Contains the names of the fields to which to map information about the vector store. + """ + vector_index_name: pulumi.Input[str] + """ + Name of a MongoDB Atlas index. + """ + endpoint_service_name: NotRequired[pulumi.Input[str]] + """ + MongoDB Atlas endpoint service name. + """ +elif False: + KnowledgeBaseMongoDbAtlasConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseMongoDbAtlasConfigurationArgs: def __init__(__self__, *, @@ -4654,6 +6662,26 @@ def endpoint_service_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "endpoint_service_name", value) +if not MYPY: + class KnowledgeBaseMongoDbAtlasFieldMappingArgsDict(TypedDict): + """ + Contains the names of the fields to which to map information about the vector store. + """ + metadata_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores metadata about the vector store. + """ + text_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. + """ + vector_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. + """ +elif False: + KnowledgeBaseMongoDbAtlasFieldMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseMongoDbAtlasFieldMappingArgs: def __init__(__self__, *, @@ -4707,6 +6735,26 @@ def vector_field(self, value: pulumi.Input[str]): pulumi.set(self, "vector_field", value) +if not MYPY: + class KnowledgeBaseOpenSearchServerlessConfigurationArgsDict(TypedDict): + """ + Contains the storage configuration of the knowledge base in Amazon OpenSearch Service. + """ + collection_arn: pulumi.Input[str] + """ + The ARN of the OpenSearch Service vector store. + """ + field_mapping: pulumi.Input['KnowledgeBaseOpenSearchServerlessFieldMappingArgsDict'] + """ + Contains the names of the fields to which to map information about the vector store. + """ + vector_index_name: pulumi.Input[str] + """ + The name of the vector store. + """ +elif False: + KnowledgeBaseOpenSearchServerlessConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseOpenSearchServerlessConfigurationArgs: def __init__(__self__, *, @@ -4760,6 +6808,26 @@ def vector_index_name(self, value: pulumi.Input[str]): pulumi.set(self, "vector_index_name", value) +if not MYPY: + class KnowledgeBaseOpenSearchServerlessFieldMappingArgsDict(TypedDict): + """ + A mapping of Bedrock Knowledge Base fields to OpenSearch Serverless field names + """ + metadata_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores metadata about the vector store. + """ + text_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. + """ + vector_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. + """ +elif False: + KnowledgeBaseOpenSearchServerlessFieldMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseOpenSearchServerlessFieldMappingArgs: def __init__(__self__, *, @@ -4813,6 +6881,30 @@ def vector_field(self, value: pulumi.Input[str]): pulumi.set(self, "vector_field", value) +if not MYPY: + class KnowledgeBasePineconeConfigurationArgsDict(TypedDict): + """ + Contains the storage configuration of the knowledge base in Pinecone. + """ + connection_string: pulumi.Input[str] + """ + The endpoint URL for your index management page. + """ + credentials_secret_arn: pulumi.Input[str] + """ + The ARN of the secret that you created in AWS Secrets Manager that is linked to your Pinecone API key. + """ + field_mapping: pulumi.Input['KnowledgeBasePineconeFieldMappingArgsDict'] + """ + Contains the names of the fields to which to map information about the vector store. + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The namespace to be used to write new data to your database. + """ +elif False: + KnowledgeBasePineconeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBasePineconeConfigurationArgs: def __init__(__self__, *, @@ -4882,6 +6974,22 @@ def namespace(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "namespace", value) +if not MYPY: + class KnowledgeBasePineconeFieldMappingArgsDict(TypedDict): + """ + Contains the names of the fields to which to map information about the vector store. + """ + metadata_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores metadata about the vector store. + """ + text_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. + """ +elif False: + KnowledgeBasePineconeFieldMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBasePineconeFieldMappingArgs: def __init__(__self__, *, @@ -4920,6 +7028,34 @@ def text_field(self, value: pulumi.Input[str]): pulumi.set(self, "text_field", value) +if not MYPY: + class KnowledgeBaseRdsConfigurationArgsDict(TypedDict): + """ + Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS. + """ + credentials_secret_arn: pulumi.Input[str] + """ + The ARN of the secret that you created in AWS Secrets Manager that is linked to your Amazon RDS database. + """ + database_name: pulumi.Input[str] + """ + The name of your Amazon RDS database. + """ + field_mapping: pulumi.Input['KnowledgeBaseRdsFieldMappingArgsDict'] + """ + Contains the names of the fields to which to map information about the vector store. + """ + resource_arn: pulumi.Input[str] + """ + The ARN of the vector store. + """ + table_name: pulumi.Input[str] + """ + The name of the table in the database. + """ +elif False: + KnowledgeBaseRdsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseRdsConfigurationArgs: def __init__(__self__, *, @@ -5003,6 +7139,30 @@ def table_name(self, value: pulumi.Input[str]): pulumi.set(self, "table_name", value) +if not MYPY: + class KnowledgeBaseRdsFieldMappingArgsDict(TypedDict): + """ + Contains the names of the fields to which to map information about the vector store. + """ + metadata_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores metadata about the vector store. + """ + primary_key_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores the ID for each entry. + """ + text_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose. + """ + vector_field: pulumi.Input[str] + """ + The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. + """ +elif False: + KnowledgeBaseRdsFieldMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseRdsFieldMappingArgs: def __init__(__self__, *, @@ -5071,6 +7231,34 @@ def vector_field(self, value: pulumi.Input[str]): pulumi.set(self, "vector_field", value) +if not MYPY: + class KnowledgeBaseStorageConfigurationArgsDict(TypedDict): + """ + The vector store service in which the knowledge base is stored. + """ + type: pulumi.Input['KnowledgeBaseStorageType'] + """ + The vector store service in which the knowledge base is stored. + """ + mongo_db_atlas_configuration: NotRequired[pulumi.Input['KnowledgeBaseMongoDbAtlasConfigurationArgsDict']] + """ + Contains the storage configuration of the knowledge base in MongoDB Atlas. + """ + opensearch_serverless_configuration: NotRequired[pulumi.Input['KnowledgeBaseOpenSearchServerlessConfigurationArgsDict']] + """ + Contains the storage configuration of the knowledge base in Amazon OpenSearch Service. + """ + pinecone_configuration: NotRequired[pulumi.Input['KnowledgeBasePineconeConfigurationArgsDict']] + """ + Contains the storage configuration of the knowledge base in Pinecone. + """ + rds_configuration: NotRequired[pulumi.Input['KnowledgeBaseRdsConfigurationArgsDict']] + """ + Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see [Create a vector index in Amazon RDS](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-rds.html) . + """ +elif False: + KnowledgeBaseStorageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseStorageConfigurationArgs: def __init__(__self__, *, @@ -5158,6 +7346,22 @@ def rds_configuration(self, value: Optional[pulumi.Input['KnowledgeBaseRdsConfig pulumi.set(self, "rds_configuration", value) +if not MYPY: + class KnowledgeBaseVectorKnowledgeBaseConfigurationArgsDict(TypedDict): + """ + Contains details about the model used to create vector embeddings for the knowledge base. + """ + embedding_model_arn: pulumi.Input[str] + """ + The ARN of the model used to create vector embeddings for the knowledge base. + """ + embedding_model_configuration: NotRequired[pulumi.Input['KnowledgeBaseEmbeddingModelConfigurationArgsDict']] + """ + The embeddings model configuration details for the vector model used in Knowledge Base. + """ +elif False: + KnowledgeBaseVectorKnowledgeBaseConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseVectorKnowledgeBaseConfigurationArgs: def __init__(__self__, *, @@ -5197,6 +7401,15 @@ def embedding_model_configuration(self, value: Optional[pulumi.Input['KnowledgeB pulumi.set(self, "embedding_model_configuration", value) +if not MYPY: + class PromptInferenceConfigurationPropertiesArgsDict(TypedDict): + """ + Model inference configuration + """ + text: pulumi.Input['PromptModelInferenceConfigurationArgsDict'] +elif False: + PromptInferenceConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PromptInferenceConfigurationPropertiesArgs: def __init__(__self__, *, @@ -5216,6 +7429,18 @@ def text(self, value: pulumi.Input['PromptModelInferenceConfigurationArgs']): pulumi.set(self, "text", value) +if not MYPY: + class PromptInputVariableArgsDict(TypedDict): + """ + Input variable + """ + name: NotRequired[pulumi.Input[str]] + """ + Name for an input variable + """ +elif False: + PromptInputVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PromptInputVariableArgs: def __init__(__self__, *, @@ -5240,6 +7465,34 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class PromptModelInferenceConfigurationArgsDict(TypedDict): + """ + Prompt model inference configuration + """ + max_tokens: NotRequired[pulumi.Input[float]] + """ + Maximum length of output + """ + stop_sequences: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of stop sequences + """ + temperature: NotRequired[pulumi.Input[float]] + """ + Controls randomness, higher values increase diversity + """ + top_k: NotRequired[pulumi.Input[float]] + """ + Sample from the k most likely next tokens + """ + top_p: NotRequired[pulumi.Input[float]] + """ + Cumulative probability cutoff for token selection + """ +elif False: + PromptModelInferenceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PromptModelInferenceConfigurationArgs: def __init__(__self__, *, @@ -5328,6 +7581,15 @@ def top_p(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "top_p", value) +if not MYPY: + class PromptTemplateConfigurationPropertiesArgsDict(TypedDict): + """ + Prompt template configuration + """ + text: pulumi.Input['PromptTextPromptTemplateConfigurationArgsDict'] +elif False: + PromptTemplateConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PromptTemplateConfigurationPropertiesArgs: def __init__(__self__, *, @@ -5347,6 +7609,23 @@ def text(self, value: pulumi.Input['PromptTextPromptTemplateConfigurationArgs']) pulumi.set(self, "text", value) +if not MYPY: + class PromptTextPromptTemplateConfigurationArgsDict(TypedDict): + """ + Configuration for text prompt template + """ + input_variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['PromptInputVariableArgsDict']]]] + """ + List of input variables + """ + text: NotRequired[pulumi.Input[str]] + """ + Prompt content for String prompt template + """ + text_s3_location: NotRequired[pulumi.Input['PromptTextS3LocationArgsDict']] +elif False: + PromptTextPromptTemplateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PromptTextPromptTemplateConfigurationArgs: def __init__(__self__, *, @@ -5399,6 +7678,26 @@ def text_s3_location(self, value: Optional[pulumi.Input['PromptTextS3LocationArg pulumi.set(self, "text_s3_location", value) +if not MYPY: + class PromptTextS3LocationArgsDict(TypedDict): + """ + The identifier for the S3 resource. + """ + bucket: pulumi.Input[str] + """ + A bucket in S3 + """ + key: pulumi.Input[str] + """ + A object key in S3 + """ + version: NotRequired[pulumi.Input[str]] + """ + The version of the the S3 object to use + """ +elif False: + PromptTextS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PromptTextS3LocationArgs: def __init__(__self__, *, @@ -5453,6 +7752,34 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class PromptVariantArgsDict(TypedDict): + """ + Prompt variant + """ + name: pulumi.Input[str] + """ + Name for a variant. + """ + template_type: pulumi.Input['PromptTemplateType'] + """ + The type of prompt template to use. + """ + inference_configuration: NotRequired[pulumi.Input['PromptInferenceConfigurationPropertiesArgsDict']] + """ + Contains inference configurations for the prompt variant. + """ + model_id: NotRequired[pulumi.Input[str]] + """ + ARN or name of a Bedrock model. + """ + template_configuration: NotRequired[pulumi.Input['PromptTemplateConfigurationPropertiesArgsDict']] + """ + Contains configurations for the prompt template. + """ +elif False: + PromptVariantArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PromptVariantArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/bedrock/agent.py b/sdk/python/pulumi_aws_native/bedrock/agent.py index bb54f565d8..b4f0a37175 100644 --- a/sdk/python/pulumi_aws_native/bedrock/agent.py +++ b/sdk/python/pulumi_aws_native/bedrock/agent.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/bedrock/agent_alias.py b/sdk/python/pulumi_aws_native/bedrock/agent_alias.py index efa08aafdc..8314219a91 100644 --- a/sdk/python/pulumi_aws_native/bedrock/agent_alias.py +++ b/sdk/python/pulumi_aws_native/bedrock/agent_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/bedrock/data_source.py b/sdk/python/pulumi_aws_native/bedrock/data_source.py index 3ecbe37046..ad19c2b0d1 100644 --- a/sdk/python/pulumi_aws_native/bedrock/data_source.py +++ b/sdk/python/pulumi_aws_native/bedrock/data_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/bedrock/flow.py b/sdk/python/pulumi_aws_native/bedrock/flow.py index 4231c20275..ad360b7b1d 100644 --- a/sdk/python/pulumi_aws_native/bedrock/flow.py +++ b/sdk/python/pulumi_aws_native/bedrock/flow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/bedrock/flow_alias.py b/sdk/python/pulumi_aws_native/bedrock/flow_alias.py index 1743fabcf2..cab6811376 100644 --- a/sdk/python/pulumi_aws_native/bedrock/flow_alias.py +++ b/sdk/python/pulumi_aws_native/bedrock/flow_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/bedrock/flow_version.py b/sdk/python/pulumi_aws_native/bedrock/flow_version.py index 780913e8ab..a2a4967fff 100644 --- a/sdk/python/pulumi_aws_native/bedrock/flow_version.py +++ b/sdk/python/pulumi_aws_native/bedrock/flow_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/bedrock/get_agent.py b/sdk/python/pulumi_aws_native/bedrock/get_agent.py index 1da3467f18..963e77e2cc 100644 --- a/sdk/python/pulumi_aws_native/bedrock/get_agent.py +++ b/sdk/python/pulumi_aws_native/bedrock/get_agent.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -345,9 +350,6 @@ def get_agent(agent_id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), test_alias_tags=pulumi.get(__ret__, 'test_alias_tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_agent) def get_agent_output(agent_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentResult]: """ @@ -356,4 +358,30 @@ def get_agent_output(agent_id: Optional[pulumi.Input[str]] = None, :param str agent_id: Identifier for a resource. """ - ... + __args__ = dict() + __args__['agentId'] = agent_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getAgent', __args__, opts=opts, typ=GetAgentResult) + return __ret__.apply(lambda __response__: GetAgentResult( + action_groups=pulumi.get(__response__, 'action_groups'), + agent_arn=pulumi.get(__response__, 'agent_arn'), + agent_id=pulumi.get(__response__, 'agent_id'), + agent_name=pulumi.get(__response__, 'agent_name'), + agent_resource_role_arn=pulumi.get(__response__, 'agent_resource_role_arn'), + agent_status=pulumi.get(__response__, 'agent_status'), + agent_version=pulumi.get(__response__, 'agent_version'), + created_at=pulumi.get(__response__, 'created_at'), + customer_encryption_key_arn=pulumi.get(__response__, 'customer_encryption_key_arn'), + description=pulumi.get(__response__, 'description'), + failure_reasons=pulumi.get(__response__, 'failure_reasons'), + foundation_model=pulumi.get(__response__, 'foundation_model'), + guardrail_configuration=pulumi.get(__response__, 'guardrail_configuration'), + idle_session_ttl_in_seconds=pulumi.get(__response__, 'idle_session_ttl_in_seconds'), + instruction=pulumi.get(__response__, 'instruction'), + knowledge_bases=pulumi.get(__response__, 'knowledge_bases'), + prepared_at=pulumi.get(__response__, 'prepared_at'), + prompt_override_configuration=pulumi.get(__response__, 'prompt_override_configuration'), + recommended_actions=pulumi.get(__response__, 'recommended_actions'), + tags=pulumi.get(__response__, 'tags'), + test_alias_tags=pulumi.get(__response__, 'test_alias_tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/get_agent_alias.py b/sdk/python/pulumi_aws_native/bedrock/get_agent_alias.py index ed9f48e860..8b70a6049e 100644 --- a/sdk/python/pulumi_aws_native/bedrock/get_agent_alias.py +++ b/sdk/python/pulumi_aws_native/bedrock/get_agent_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -187,9 +192,6 @@ def get_agent_alias(agent_alias_id: Optional[str] = None, routing_configuration=pulumi.get(__ret__, 'routing_configuration'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_agent_alias) def get_agent_alias_output(agent_alias_id: Optional[pulumi.Input[str]] = None, agent_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentAliasResult]: @@ -200,4 +202,19 @@ def get_agent_alias_output(agent_alias_id: Optional[pulumi.Input[str]] = None, :param str agent_alias_id: Id for an Agent Alias generated at the server side. :param str agent_id: Identifier for a resource. """ - ... + __args__ = dict() + __args__['agentAliasId'] = agent_alias_id + __args__['agentId'] = agent_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getAgentAlias', __args__, opts=opts, typ=GetAgentAliasResult) + return __ret__.apply(lambda __response__: GetAgentAliasResult( + agent_alias_arn=pulumi.get(__response__, 'agent_alias_arn'), + agent_alias_history_events=pulumi.get(__response__, 'agent_alias_history_events'), + agent_alias_id=pulumi.get(__response__, 'agent_alias_id'), + agent_alias_name=pulumi.get(__response__, 'agent_alias_name'), + agent_alias_status=pulumi.get(__response__, 'agent_alias_status'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + routing_configuration=pulumi.get(__response__, 'routing_configuration'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/get_data_source.py b/sdk/python/pulumi_aws_native/bedrock/get_data_source.py index d762667ed8..a62fbee03c 100644 --- a/sdk/python/pulumi_aws_native/bedrock/get_data_source.py +++ b/sdk/python/pulumi_aws_native/bedrock/get_data_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -194,9 +199,6 @@ def get_data_source(data_source_id: Optional[str] = None, server_side_encryption_configuration=pulumi.get(__ret__, 'server_side_encryption_configuration'), updated_at=pulumi.get(__ret__, 'updated_at'), vector_ingestion_configuration=pulumi.get(__ret__, 'vector_ingestion_configuration')) - - -@_utilities.lift_output_func(get_data_source) def get_data_source_output(data_source_id: Optional[pulumi.Input[str]] = None, knowledge_base_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataSourceResult]: @@ -207,4 +209,20 @@ def get_data_source_output(data_source_id: Optional[pulumi.Input[str]] = None, :param str data_source_id: Identifier for a resource. :param str knowledge_base_id: The unique identifier of the knowledge base to which to add the data source. """ - ... + __args__ = dict() + __args__['dataSourceId'] = data_source_id + __args__['knowledgeBaseId'] = knowledge_base_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getDataSource', __args__, opts=opts, typ=GetDataSourceResult) + return __ret__.apply(lambda __response__: GetDataSourceResult( + created_at=pulumi.get(__response__, 'created_at'), + data_deletion_policy=pulumi.get(__response__, 'data_deletion_policy'), + data_source_configuration=pulumi.get(__response__, 'data_source_configuration'), + data_source_id=pulumi.get(__response__, 'data_source_id'), + data_source_status=pulumi.get(__response__, 'data_source_status'), + description=pulumi.get(__response__, 'description'), + failure_reasons=pulumi.get(__response__, 'failure_reasons'), + name=pulumi.get(__response__, 'name'), + server_side_encryption_configuration=pulumi.get(__response__, 'server_side_encryption_configuration'), + updated_at=pulumi.get(__response__, 'updated_at'), + vector_ingestion_configuration=pulumi.get(__response__, 'vector_ingestion_configuration'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/get_flow.py b/sdk/python/pulumi_aws_native/bedrock/get_flow.py index c3dc49d62b..0c8d3183ef 100644 --- a/sdk/python/pulumi_aws_native/bedrock/get_flow.py +++ b/sdk/python/pulumi_aws_native/bedrock/get_flow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -229,9 +234,6 @@ def get_flow(arn: Optional[str] = None, updated_at=pulumi.get(__ret__, 'updated_at'), validations=pulumi.get(__ret__, 'validations'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_flow) def get_flow_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlowResult]: """ @@ -240,4 +242,22 @@ def get_flow_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Arn representation of the Flow """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getFlow', __args__, opts=opts, typ=GetFlowResult) + return __ret__.apply(lambda __response__: GetFlowResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + customer_encryption_key_arn=pulumi.get(__response__, 'customer_encryption_key_arn'), + definition=pulumi.get(__response__, 'definition'), + description=pulumi.get(__response__, 'description'), + execution_role_arn=pulumi.get(__response__, 'execution_role_arn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + test_alias_tags=pulumi.get(__response__, 'test_alias_tags'), + updated_at=pulumi.get(__response__, 'updated_at'), + validations=pulumi.get(__response__, 'validations'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/get_flow_alias.py b/sdk/python/pulumi_aws_native/bedrock/get_flow_alias.py index 53f357b9a5..429656ed40 100644 --- a/sdk/python/pulumi_aws_native/bedrock/get_flow_alias.py +++ b/sdk/python/pulumi_aws_native/bedrock/get_flow_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -167,9 +172,6 @@ def get_flow_alias(arn: Optional[str] = None, routing_configuration=pulumi.get(__ret__, 'routing_configuration'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_flow_alias) def get_flow_alias_output(arn: Optional[pulumi.Input[str]] = None, flow_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlowAliasResult]: @@ -180,4 +182,18 @@ def get_flow_alias_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Arn of the Flow Alias :param str flow_arn: Arn representation of the Flow """ - ... + __args__ = dict() + __args__['arn'] = arn + __args__['flowArn'] = flow_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getFlowAlias', __args__, opts=opts, typ=GetFlowAliasResult) + return __ret__.apply(lambda __response__: GetFlowAliasResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + flow_id=pulumi.get(__response__, 'flow_id'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + routing_configuration=pulumi.get(__response__, 'routing_configuration'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/get_flow_version.py b/sdk/python/pulumi_aws_native/bedrock/get_flow_version.py index 0242fb929d..bcffb46606 100644 --- a/sdk/python/pulumi_aws_native/bedrock/get_flow_version.py +++ b/sdk/python/pulumi_aws_native/bedrock/get_flow_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -149,9 +154,6 @@ def get_flow_version(flow_arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), status=pulumi.get(__ret__, 'status'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_flow_version) def get_flow_version_output(flow_arn: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlowVersionResult]: @@ -162,4 +164,17 @@ def get_flow_version_output(flow_arn: Optional[pulumi.Input[str]] = None, :param str flow_arn: Arn representation of the Flow :param str version: Numerical Version. """ - ... + __args__ = dict() + __args__['flowArn'] = flow_arn + __args__['version'] = version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getFlowVersion', __args__, opts=opts, typ=GetFlowVersionResult) + return __ret__.apply(lambda __response__: GetFlowVersionResult( + created_at=pulumi.get(__response__, 'created_at'), + customer_encryption_key_arn=pulumi.get(__response__, 'customer_encryption_key_arn'), + definition=pulumi.get(__response__, 'definition'), + execution_role_arn=pulumi.get(__response__, 'execution_role_arn'), + flow_id=pulumi.get(__response__, 'flow_id'), + name=pulumi.get(__response__, 'name'), + status=pulumi.get(__response__, 'status'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/get_guardrail.py b/sdk/python/pulumi_aws_native/bedrock/get_guardrail.py index ee70c43de8..0cdb48b9ad 100644 --- a/sdk/python/pulumi_aws_native/bedrock/get_guardrail.py +++ b/sdk/python/pulumi_aws_native/bedrock/get_guardrail.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -290,9 +295,6 @@ def get_guardrail(guardrail_arn: Optional[str] = None, updated_at=pulumi.get(__ret__, 'updated_at'), version=pulumi.get(__ret__, 'version'), word_policy_config=pulumi.get(__ret__, 'word_policy_config')) - - -@_utilities.lift_output_func(get_guardrail) def get_guardrail_output(guardrail_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGuardrailResult]: """ @@ -301,4 +303,27 @@ def get_guardrail_output(guardrail_arn: Optional[pulumi.Input[str]] = None, :param str guardrail_arn: Arn representation for the guardrail """ - ... + __args__ = dict() + __args__['guardrailArn'] = guardrail_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getGuardrail', __args__, opts=opts, typ=GetGuardrailResult) + return __ret__.apply(lambda __response__: GetGuardrailResult( + blocked_input_messaging=pulumi.get(__response__, 'blocked_input_messaging'), + blocked_outputs_messaging=pulumi.get(__response__, 'blocked_outputs_messaging'), + content_policy_config=pulumi.get(__response__, 'content_policy_config'), + contextual_grounding_policy_config=pulumi.get(__response__, 'contextual_grounding_policy_config'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + failure_recommendations=pulumi.get(__response__, 'failure_recommendations'), + guardrail_arn=pulumi.get(__response__, 'guardrail_arn'), + guardrail_id=pulumi.get(__response__, 'guardrail_id'), + kms_key_arn=pulumi.get(__response__, 'kms_key_arn'), + name=pulumi.get(__response__, 'name'), + sensitive_information_policy_config=pulumi.get(__response__, 'sensitive_information_policy_config'), + status=pulumi.get(__response__, 'status'), + status_reasons=pulumi.get(__response__, 'status_reasons'), + tags=pulumi.get(__response__, 'tags'), + topic_policy_config=pulumi.get(__response__, 'topic_policy_config'), + updated_at=pulumi.get(__response__, 'updated_at'), + version=pulumi.get(__response__, 'version'), + word_policy_config=pulumi.get(__response__, 'word_policy_config'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/get_guardrail_version.py b/sdk/python/pulumi_aws_native/bedrock/get_guardrail_version.py index 92e34a7e1f..ba53ac8c46 100644 --- a/sdk/python/pulumi_aws_native/bedrock/get_guardrail_version.py +++ b/sdk/python/pulumi_aws_native/bedrock/get_guardrail_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -85,9 +90,6 @@ def get_guardrail_version(guardrail_id: Optional[str] = None, guardrail_arn=pulumi.get(__ret__, 'guardrail_arn'), guardrail_id=pulumi.get(__ret__, 'guardrail_id'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_guardrail_version) def get_guardrail_version_output(guardrail_id: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGuardrailVersionResult]: @@ -98,4 +100,12 @@ def get_guardrail_version_output(guardrail_id: Optional[pulumi.Input[str]] = Non :param str guardrail_id: Unique id for the guardrail :param str version: Guardrail version """ - ... + __args__ = dict() + __args__['guardrailId'] = guardrail_id + __args__['version'] = version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getGuardrailVersion', __args__, opts=opts, typ=GetGuardrailVersionResult) + return __ret__.apply(lambda __response__: GetGuardrailVersionResult( + guardrail_arn=pulumi.get(__response__, 'guardrail_arn'), + guardrail_id=pulumi.get(__response__, 'guardrail_id'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/get_knowledge_base.py b/sdk/python/pulumi_aws_native/bedrock/get_knowledge_base.py index 7720308390..e925c4a904 100644 --- a/sdk/python/pulumi_aws_native/bedrock/get_knowledge_base.py +++ b/sdk/python/pulumi_aws_native/bedrock/get_knowledge_base.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -177,9 +182,6 @@ def get_knowledge_base(knowledge_base_id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_knowledge_base) def get_knowledge_base_output(knowledge_base_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKnowledgeBaseResult]: """ @@ -188,4 +190,18 @@ def get_knowledge_base_output(knowledge_base_id: Optional[pulumi.Input[str]] = N :param str knowledge_base_id: The unique identifier of the knowledge base. """ - ... + __args__ = dict() + __args__['knowledgeBaseId'] = knowledge_base_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getKnowledgeBase', __args__, opts=opts, typ=GetKnowledgeBaseResult) + return __ret__.apply(lambda __response__: GetKnowledgeBaseResult( + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + failure_reasons=pulumi.get(__response__, 'failure_reasons'), + knowledge_base_arn=pulumi.get(__response__, 'knowledge_base_arn'), + knowledge_base_id=pulumi.get(__response__, 'knowledge_base_id'), + name=pulumi.get(__response__, 'name'), + role_arn=pulumi.get(__response__, 'role_arn'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/get_prompt.py b/sdk/python/pulumi_aws_native/bedrock/get_prompt.py index 983b6f8233..d990df25b3 100644 --- a/sdk/python/pulumi_aws_native/bedrock/get_prompt.py +++ b/sdk/python/pulumi_aws_native/bedrock/get_prompt.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -191,9 +196,6 @@ def get_prompt(arn: Optional[str] = None, updated_at=pulumi.get(__ret__, 'updated_at'), variants=pulumi.get(__ret__, 'variants'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_prompt) def get_prompt_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPromptResult]: """ @@ -202,4 +204,19 @@ def get_prompt_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: ARN of a prompt resource possibly with a version """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getPrompt', __args__, opts=opts, typ=GetPromptResult) + return __ret__.apply(lambda __response__: GetPromptResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + customer_encryption_key_arn=pulumi.get(__response__, 'customer_encryption_key_arn'), + default_variant=pulumi.get(__response__, 'default_variant'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'), + variants=pulumi.get(__response__, 'variants'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/get_prompt_version.py b/sdk/python/pulumi_aws_native/bedrock/get_prompt_version.py index 07a5678fbc..fa5c2db6b9 100644 --- a/sdk/python/pulumi_aws_native/bedrock/get_prompt_version.py +++ b/sdk/python/pulumi_aws_native/bedrock/get_prompt_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -172,9 +177,6 @@ def get_prompt_version(arn: Optional[str] = None, updated_at=pulumi.get(__ret__, 'updated_at'), variants=pulumi.get(__ret__, 'variants'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_prompt_version) def get_prompt_version_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPromptVersionResult]: """ @@ -183,4 +185,18 @@ def get_prompt_version_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: ARN of a prompt version resource """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:bedrock:getPromptVersion', __args__, opts=opts, typ=GetPromptVersionResult) + return __ret__.apply(lambda __response__: GetPromptVersionResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + customer_encryption_key_arn=pulumi.get(__response__, 'customer_encryption_key_arn'), + default_variant=pulumi.get(__response__, 'default_variant'), + name=pulumi.get(__response__, 'name'), + prompt_id=pulumi.get(__response__, 'prompt_id'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'), + variants=pulumi.get(__response__, 'variants'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/bedrock/guardrail.py b/sdk/python/pulumi_aws_native/bedrock/guardrail.py index de0fb3accf..4f00820321 100644 --- a/sdk/python/pulumi_aws_native/bedrock/guardrail.py +++ b/sdk/python/pulumi_aws_native/bedrock/guardrail.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/bedrock/guardrail_version.py b/sdk/python/pulumi_aws_native/bedrock/guardrail_version.py index 8098d26be5..4bb6822a16 100644 --- a/sdk/python/pulumi_aws_native/bedrock/guardrail_version.py +++ b/sdk/python/pulumi_aws_native/bedrock/guardrail_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['GuardrailVersionArgs', 'GuardrailVersion'] diff --git a/sdk/python/pulumi_aws_native/bedrock/knowledge_base.py b/sdk/python/pulumi_aws_native/bedrock/knowledge_base.py index 408ca26a0a..0787d8fce8 100644 --- a/sdk/python/pulumi_aws_native/bedrock/knowledge_base.py +++ b/sdk/python/pulumi_aws_native/bedrock/knowledge_base.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/bedrock/outputs.py b/sdk/python/pulumi_aws_native/bedrock/outputs.py index eb925d0fad..8f1a33b5d6 100644 --- a/sdk/python/pulumi_aws_native/bedrock/outputs.py +++ b/sdk/python/pulumi_aws_native/bedrock/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/bedrock/prompt.py b/sdk/python/pulumi_aws_native/bedrock/prompt.py index 25a255ef3f..a94a25af15 100644 --- a/sdk/python/pulumi_aws_native/bedrock/prompt.py +++ b/sdk/python/pulumi_aws_native/bedrock/prompt.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/bedrock/prompt_version.py b/sdk/python/pulumi_aws_native/bedrock/prompt_version.py index 883ff12507..5402e67af7 100644 --- a/sdk/python/pulumi_aws_native/bedrock/prompt_version.py +++ b/sdk/python/pulumi_aws_native/bedrock/prompt_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/budgets/_inputs.py b/sdk/python/pulumi_aws_native/budgets/_inputs.py index 60924288c8..831e539e75 100644 --- a/sdk/python/pulumi_aws_native/budgets/_inputs.py +++ b/sdk/python/pulumi_aws_native/budgets/_inputs.py @@ -4,21 +4,47 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'BudgetsActionActionThresholdArgs', + 'BudgetsActionActionThresholdArgsDict', 'BudgetsActionDefinitionArgs', + 'BudgetsActionDefinitionArgsDict', 'BudgetsActionIamActionDefinitionArgs', + 'BudgetsActionIamActionDefinitionArgsDict', 'BudgetsActionScpActionDefinitionArgs', + 'BudgetsActionScpActionDefinitionArgsDict', 'BudgetsActionSsmActionDefinitionArgs', + 'BudgetsActionSsmActionDefinitionArgsDict', 'BudgetsActionSubscriberArgs', + 'BudgetsActionSubscriberArgsDict', ] +MYPY = False + +if not MYPY: + class BudgetsActionActionThresholdArgsDict(TypedDict): + type: pulumi.Input['BudgetsActionActionThresholdType'] + """ + The type of threshold for a notification. + """ + value: pulumi.Input[float] + """ + The threshold of a notification. + """ +elif False: + BudgetsActionActionThresholdArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BudgetsActionActionThresholdArgs: def __init__(__self__, *, @@ -56,6 +82,23 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class BudgetsActionDefinitionArgsDict(TypedDict): + iam_action_definition: NotRequired[pulumi.Input['BudgetsActionIamActionDefinitionArgsDict']] + """ + The AWS Identity and Access Management ( IAM ) action definition details. + """ + scp_action_definition: NotRequired[pulumi.Input['BudgetsActionScpActionDefinitionArgsDict']] + """ + The service control policies (SCP) action definition details. + """ + ssm_action_definition: NotRequired[pulumi.Input['BudgetsActionSsmActionDefinitionArgsDict']] + """ + The Amazon EC2 Systems Manager ( SSM ) action definition details. + """ +elif False: + BudgetsActionDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BudgetsActionDefinitionArgs: def __init__(__self__, *, @@ -111,6 +154,27 @@ def ssm_action_definition(self, value: Optional[pulumi.Input['BudgetsActionSsmAc pulumi.set(self, "ssm_action_definition", value) +if not MYPY: + class BudgetsActionIamActionDefinitionArgsDict(TypedDict): + policy_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the policy to be attached. + """ + groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of groups to be attached. There must be at least one group. + """ + roles: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of roles to be attached. There must be at least one role. + """ + users: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of users to be attached. There must be at least one user. + """ +elif False: + BudgetsActionIamActionDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BudgetsActionIamActionDefinitionArgs: def __init__(__self__, *, @@ -181,6 +245,19 @@ def users(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "users", value) +if not MYPY: + class BudgetsActionScpActionDefinitionArgsDict(TypedDict): + policy_id: pulumi.Input[str] + """ + The policy ID attached. + """ + target_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of target IDs. + """ +elif False: + BudgetsActionScpActionDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BudgetsActionScpActionDefinitionArgs: def __init__(__self__, *, @@ -218,6 +295,23 @@ def target_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "target_ids", value) +if not MYPY: + class BudgetsActionSsmActionDefinitionArgsDict(TypedDict): + instance_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The EC2 and RDS instance IDs. + """ + region: pulumi.Input[str] + """ + The Region to run the ( SSM ) document. + """ + subtype: pulumi.Input['BudgetsActionSsmActionDefinitionSubtype'] + """ + The action subType. + """ +elif False: + BudgetsActionSsmActionDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BudgetsActionSsmActionDefinitionArgs: def __init__(__self__, *, @@ -270,6 +364,21 @@ def subtype(self, value: pulumi.Input['BudgetsActionSsmActionDefinitionSubtype'] pulumi.set(self, "subtype", value) +if not MYPY: + class BudgetsActionSubscriberArgsDict(TypedDict): + address: pulumi.Input[str] + """ + The address that AWS sends budget notifications to, either an SNS topic or an email. + + When you create a subscriber, the value of `Address` can't contain line breaks. + """ + type: pulumi.Input['BudgetsActionSubscriberType'] + """ + The type of notification that AWS sends to a subscriber. + """ +elif False: + BudgetsActionSubscriberArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BudgetsActionSubscriberArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/budgets/budgets_action.py b/sdk/python/pulumi_aws_native/budgets/budgets_action.py index 3099c9cc24..96b85fa0dd 100644 --- a/sdk/python/pulumi_aws_native/budgets/budgets_action.py +++ b/sdk/python/pulumi_aws_native/budgets/budgets_action.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/budgets/get_budgets_action.py b/sdk/python/pulumi_aws_native/budgets/get_budgets_action.py index ecd62f07aa..289af72b9d 100644 --- a/sdk/python/pulumi_aws_native/budgets/get_budgets_action.py +++ b/sdk/python/pulumi_aws_native/budgets/get_budgets_action.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -153,9 +158,6 @@ def get_budgets_action(action_id: Optional[str] = None, notification_type=pulumi.get(__ret__, 'notification_type'), resource_tags=pulumi.get(__ret__, 'resource_tags'), subscribers=pulumi.get(__ret__, 'subscribers')) - - -@_utilities.lift_output_func(get_budgets_action) def get_budgets_action_output(action_id: Optional[pulumi.Input[str]] = None, budget_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBudgetsActionResult]: @@ -166,4 +168,17 @@ def get_budgets_action_output(action_id: Optional[pulumi.Input[str]] = None, :param str action_id: A system-generated universally unique identifier (UUID) for the action. :param str budget_name: A string that represents the budget name. ":" and "\\" characters aren't allowed. """ - ... + __args__ = dict() + __args__['actionId'] = action_id + __args__['budgetName'] = budget_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:budgets:getBudgetsAction', __args__, opts=opts, typ=GetBudgetsActionResult) + return __ret__.apply(lambda __response__: GetBudgetsActionResult( + action_id=pulumi.get(__response__, 'action_id'), + action_threshold=pulumi.get(__response__, 'action_threshold'), + approval_model=pulumi.get(__response__, 'approval_model'), + definition=pulumi.get(__response__, 'definition'), + execution_role_arn=pulumi.get(__response__, 'execution_role_arn'), + notification_type=pulumi.get(__response__, 'notification_type'), + resource_tags=pulumi.get(__response__, 'resource_tags'), + subscribers=pulumi.get(__response__, 'subscribers'))) diff --git a/sdk/python/pulumi_aws_native/budgets/outputs.py b/sdk/python/pulumi_aws_native/budgets/outputs.py index 3ea37c3512..0bbf295261 100644 --- a/sdk/python/pulumi_aws_native/budgets/outputs.py +++ b/sdk/python/pulumi_aws_native/budgets/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cassandra/_inputs.py b/sdk/python/pulumi_aws_native/cassandra/_inputs.py index 368ee35928..68da7363e0 100644 --- a/sdk/python/pulumi_aws_native/cassandra/_inputs.py +++ b/sdk/python/pulumi_aws_native/cassandra/_inputs.py @@ -4,26 +4,62 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'KeyspaceReplicationSpecificationArgs', + 'KeyspaceReplicationSpecificationArgsDict', 'TableAutoScalingSettingArgs', + 'TableAutoScalingSettingArgsDict', 'TableAutoScalingSpecificationArgs', + 'TableAutoScalingSpecificationArgsDict', 'TableBillingModeArgs', + 'TableBillingModeArgsDict', 'TableClusteringKeyColumnArgs', + 'TableClusteringKeyColumnArgsDict', 'TableColumnArgs', + 'TableColumnArgsDict', 'TableEncryptionSpecificationArgs', + 'TableEncryptionSpecificationArgsDict', 'TableProvisionedThroughputArgs', + 'TableProvisionedThroughputArgsDict', 'TableReplicaSpecificationArgs', + 'TableReplicaSpecificationArgsDict', 'TableScalingPolicyArgs', + 'TableScalingPolicyArgsDict', 'TableTargetTrackingScalingPolicyConfigurationArgs', + 'TableTargetTrackingScalingPolicyConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class KeyspaceReplicationSpecificationArgsDict(TypedDict): + region_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['KeyspaceRegionListItem']]]] + """ + Specifies the AWS Regions that the keyspace is replicated in. You must specify at least two and up to six Regions, including the Region that the keyspace is being created in. + """ + replication_strategy: NotRequired[pulumi.Input['KeyspaceReplicationSpecificationReplicationStrategy']] + """ + The options are: + + - `SINGLE_REGION` (optional) + - `MULTI_REGION` + + If no value is specified, the default is `SINGLE_REGION` . If `MULTI_REGION` is specified, `RegionList` is required. + """ +elif False: + KeyspaceReplicationSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KeyspaceReplicationSpecificationArgs: def __init__(__self__, *, @@ -73,6 +109,30 @@ def replication_strategy(self, value: Optional[pulumi.Input['KeyspaceReplication pulumi.set(self, "replication_strategy", value) +if not MYPY: + class TableAutoScalingSettingArgsDict(TypedDict): + """ + Represents configuration for auto scaling. + """ + auto_scaling_disabled: NotRequired[pulumi.Input[bool]] + """ + This optional parameter enables auto scaling for the table if set to `false` . + """ + maximum_units: NotRequired[pulumi.Input[int]] + """ + Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default). + """ + minimum_units: NotRequired[pulumi.Input[int]] + """ + The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default). + """ + scaling_policy: NotRequired[pulumi.Input['TableScalingPolicyArgsDict']] + """ + Amazon Keyspaces supports the `target tracking` auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90. + """ +elif False: + TableAutoScalingSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableAutoScalingSettingArgs: def __init__(__self__, *, @@ -145,6 +205,22 @@ def scaling_policy(self, value: Optional[pulumi.Input['TableScalingPolicyArgs']] pulumi.set(self, "scaling_policy", value) +if not MYPY: + class TableAutoScalingSpecificationArgsDict(TypedDict): + """ + Represents the read and write settings used for AutoScaling. + """ + read_capacity_auto_scaling: NotRequired[pulumi.Input['TableAutoScalingSettingArgsDict']] + """ + The auto scaling settings for the table's read capacity. + """ + write_capacity_auto_scaling: NotRequired[pulumi.Input['TableAutoScalingSettingArgsDict']] + """ + The auto scaling settings for the table's write capacity. + """ +elif False: + TableAutoScalingSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableAutoScalingSpecificationArgs: def __init__(__self__, *, @@ -185,6 +261,26 @@ def write_capacity_auto_scaling(self, value: Optional[pulumi.Input['TableAutoSca pulumi.set(self, "write_capacity_auto_scaling", value) +if not MYPY: + class TableBillingModeArgsDict(TypedDict): + mode: pulumi.Input['TableMode'] + """ + The billing mode for the table: + + - On-demand mode - `ON_DEMAND` + - Provisioned mode - `PROVISIONED` + + > If you choose `PROVISIONED` mode, then you also need to specify provisioned throughput (read and write capacity) for the table. + + Valid values: `ON_DEMAND` | `PROVISIONED` + """ + provisioned_throughput: NotRequired[pulumi.Input['TableProvisionedThroughputArgsDict']] + """ + The provisioned read capacity and write capacity for the table. For more information, see [Provisioned throughput capacity mode](https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html#ReadWriteCapacityMode.Provisioned) in the *Amazon Keyspaces Developer Guide* . + """ +elif False: + TableBillingModeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableBillingModeArgs: def __init__(__self__, *, @@ -237,6 +333,22 @@ def provisioned_throughput(self, value: Optional[pulumi.Input['TableProvisionedT pulumi.set(self, "provisioned_throughput", value) +if not MYPY: + class TableClusteringKeyColumnArgsDict(TypedDict): + column: pulumi.Input['TableColumnArgsDict'] + """ + The name and data type of this clustering key column. + """ + order_by: NotRequired[pulumi.Input['TableClusteringKeyColumnOrderBy']] + """ + The order in which this column's data is stored: + + - `ASC` (default) - The column's data is stored in ascending order. + - `DESC` - The column's data is stored in descending order. + """ +elif False: + TableClusteringKeyColumnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableClusteringKeyColumnArgs: def __init__(__self__, *, @@ -281,6 +393,19 @@ def order_by(self, value: Optional[pulumi.Input['TableClusteringKeyColumnOrderBy pulumi.set(self, "order_by", value) +if not MYPY: + class TableColumnArgsDict(TypedDict): + column_name: pulumi.Input[str] + """ + The name of the column. For more information, see [Identifiers](https://docs.aws.amazon.com/keyspaces/latest/devguide/cql.elements.html#cql.elements.identifier) in the *Amazon Keyspaces Developer Guide* . + """ + column_type: pulumi.Input[str] + """ + The data type of the column. For more information, see [Data types](https://docs.aws.amazon.com/keyspaces/latest/devguide/cql.elements.html#cql.data-types) in the *Amazon Keyspaces Developer Guide* . + """ +elif False: + TableColumnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableColumnArgs: def __init__(__self__, *, @@ -318,6 +443,29 @@ def column_type(self, value: pulumi.Input[str]): pulumi.set(self, "column_type", value) +if not MYPY: + class TableEncryptionSpecificationArgsDict(TypedDict): + """ + Represents the settings used to enable server-side encryption + """ + encryption_type: pulumi.Input['TableEncryptionType'] + """ + The encryption at rest options for the table. + + - *AWS owned key* (default) - `AWS_OWNED_KMS_KEY` + - *Customer managed key* - `CUSTOMER_MANAGED_KMS_KEY` + + > If you choose `CUSTOMER_MANAGED_KMS_KEY` , a `kms_key_identifier` in the format of a key ARN is required. + + Valid values: `CUSTOMER_MANAGED_KMS_KEY` | `AWS_OWNED_KMS_KEY` . + """ + kms_key_identifier: NotRequired[pulumi.Input[str]] + """ + Requires a `kms_key_identifier` in the format of a key ARN. + """ +elif False: + TableEncryptionSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableEncryptionSpecificationArgs: def __init__(__self__, *, @@ -371,6 +519,22 @@ def kms_key_identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_identifier", value) +if not MYPY: + class TableProvisionedThroughputArgsDict(TypedDict): + """ + Throughput for the specified table, which consists of values for ReadCapacityUnits and WriteCapacityUnits + """ + read_capacity_units: pulumi.Input[int] + """ + The amount of read capacity that's provisioned for the table. For more information, see [Read/write capacity mode](https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html) in the *Amazon Keyspaces Developer Guide* . + """ + write_capacity_units: pulumi.Input[int] + """ + The amount of write capacity that's provisioned for the table. For more information, see [Read/write capacity mode](https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html) in the *Amazon Keyspaces Developer Guide* . + """ +elif False: + TableProvisionedThroughputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableProvisionedThroughputArgs: def __init__(__self__, *, @@ -409,6 +573,26 @@ def write_capacity_units(self, value: pulumi.Input[int]): pulumi.set(self, "write_capacity_units", value) +if not MYPY: + class TableReplicaSpecificationArgsDict(TypedDict): + """ + Represents replica specifications. + """ + region: pulumi.Input[str] + """ + The AWS Region. + """ + read_capacity_auto_scaling: NotRequired[pulumi.Input['TableAutoScalingSettingArgsDict']] + """ + The read capacity auto scaling settings for the multi-Region table in the specified AWS Region. + """ + read_capacity_units: NotRequired[pulumi.Input[int]] + """ + The provisioned read capacity units for the multi-Region table in the specified AWS Region. + """ +elif False: + TableReplicaSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableReplicaSpecificationArgs: def __init__(__self__, *, @@ -464,6 +648,18 @@ def read_capacity_units(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "read_capacity_units", value) +if not MYPY: + class TableScalingPolicyArgsDict(TypedDict): + """ + Represents scaling policy. + """ + target_tracking_scaling_policy_configuration: NotRequired[pulumi.Input['TableTargetTrackingScalingPolicyConfigurationArgsDict']] + """ + The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity. + """ +elif False: + TableScalingPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableScalingPolicyArgs: def __init__(__self__, *, @@ -488,6 +684,38 @@ def target_tracking_scaling_policy_configuration(self, value: Optional[pulumi.In pulumi.set(self, "target_tracking_scaling_policy_configuration", value) +if not MYPY: + class TableTargetTrackingScalingPolicyConfigurationArgsDict(TypedDict): + """ + Represents configuration for target tracking scaling policy. + """ + target_value: pulumi.Input[int] + """ + Specifies the target value for the target tracking auto scaling policy. + + Amazon Keyspaces auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. This ensures that the ratio of consumed capacity to provisioned capacity stays at or near this value. You define `targetValue` as a percentage. An `integer` between 20 and 90. + """ + disable_scale_in: NotRequired[pulumi.Input[bool]] + """ + Specifies if `scale-in` is enabled. + + When auto scaling automatically decreases capacity for a table, the table *scales in* . When scaling policies are set, they can't scale in the table lower than its minimum capacity. + """ + scale_in_cooldown: NotRequired[pulumi.Input[int]] + """ + Specifies a `scale-in` cool down period. + + A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts. + """ + scale_out_cooldown: NotRequired[pulumi.Input[int]] + """ + Specifies a scale out cool down period. + + A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts. + """ +elif False: + TableTargetTrackingScalingPolicyConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableTargetTrackingScalingPolicyConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/cassandra/get_keyspace.py b/sdk/python/pulumi_aws_native/cassandra/get_keyspace.py index cd75271d53..f45b0cde9c 100644 --- a/sdk/python/pulumi_aws_native/cassandra/get_keyspace.py +++ b/sdk/python/pulumi_aws_native/cassandra/get_keyspace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -59,9 +64,6 @@ def get_keyspace(keyspace_name: Optional[str] = None, return AwaitableGetKeyspaceResult( tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_keyspace) def get_keyspace_output(keyspace_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyspaceResult]: """ @@ -70,4 +72,9 @@ def get_keyspace_output(keyspace_name: Optional[pulumi.Input[str]] = None, :param str keyspace_name: Name for Cassandra keyspace """ - ... + __args__ = dict() + __args__['keyspaceName'] = keyspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cassandra:getKeyspace', __args__, opts=opts, typ=GetKeyspaceResult) + return __ret__.apply(lambda __response__: GetKeyspaceResult( + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cassandra/get_table.py b/sdk/python/pulumi_aws_native/cassandra/get_table.py index 306be0050d..34a8fcc061 100644 --- a/sdk/python/pulumi_aws_native/cassandra/get_table.py +++ b/sdk/python/pulumi_aws_native/cassandra/get_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -139,9 +144,6 @@ def get_table(keyspace_name: Optional[str] = None, point_in_time_recovery_enabled=pulumi.get(__ret__, 'point_in_time_recovery_enabled'), regular_columns=pulumi.get(__ret__, 'regular_columns'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_table) def get_table_output(keyspace_name: Optional[pulumi.Input[str]] = None, table_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTableResult]: @@ -152,4 +154,15 @@ def get_table_output(keyspace_name: Optional[pulumi.Input[str]] = None, :param str keyspace_name: Name for Cassandra keyspace :param str table_name: Name for Cassandra table """ - ... + __args__ = dict() + __args__['keyspaceName'] = keyspace_name + __args__['tableName'] = table_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cassandra:getTable', __args__, opts=opts, typ=GetTableResult) + return __ret__.apply(lambda __response__: GetTableResult( + billing_mode=pulumi.get(__response__, 'billing_mode'), + default_time_to_live=pulumi.get(__response__, 'default_time_to_live'), + encryption_specification=pulumi.get(__response__, 'encryption_specification'), + point_in_time_recovery_enabled=pulumi.get(__response__, 'point_in_time_recovery_enabled'), + regular_columns=pulumi.get(__response__, 'regular_columns'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cassandra/keyspace.py b/sdk/python/pulumi_aws_native/cassandra/keyspace.py index 36064c0437..5b9e925088 100644 --- a/sdk/python/pulumi_aws_native/cassandra/keyspace.py +++ b/sdk/python/pulumi_aws_native/cassandra/keyspace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cassandra/outputs.py b/sdk/python/pulumi_aws_native/cassandra/outputs.py index b52fcedc3c..c48a64eb03 100644 --- a/sdk/python/pulumi_aws_native/cassandra/outputs.py +++ b/sdk/python/pulumi_aws_native/cassandra/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cassandra/table.py b/sdk/python/pulumi_aws_native/cassandra/table.py index 308b2e4b43..8bd6365d81 100644 --- a/sdk/python/pulumi_aws_native/cassandra/table.py +++ b/sdk/python/pulumi_aws_native/cassandra/table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ce/_inputs.py b/sdk/python/pulumi_aws_native/ce/_inputs.py index eca5212470..bbefc62c6a 100644 --- a/sdk/python/pulumi_aws_native/ce/_inputs.py +++ b/sdk/python/pulumi_aws_native/ce/_inputs.py @@ -4,18 +4,44 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AnomalyMonitorResourceTagArgs', + 'AnomalyMonitorResourceTagArgsDict', 'AnomalySubscriptionResourceTagArgs', + 'AnomalySubscriptionResourceTagArgsDict', 'AnomalySubscriptionSubscriberArgs', + 'AnomalySubscriptionSubscriberArgsDict', ] +MYPY = False + +if not MYPY: + class AnomalyMonitorResourceTagArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + key: pulumi.Input[str] + """ + The key name for the tag. + """ + value: pulumi.Input[str] + """ + The value for the tag. + """ +elif False: + AnomalyMonitorResourceTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyMonitorResourceTagArgs: def __init__(__self__, *, @@ -54,6 +80,22 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class AnomalySubscriptionResourceTagArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + key: pulumi.Input[str] + """ + The key name for the tag. + """ + value: pulumi.Input[str] + """ + The value for the tag. + """ +elif False: + AnomalySubscriptionResourceTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalySubscriptionResourceTagArgs: def __init__(__self__, *, @@ -92,6 +134,23 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class AnomalySubscriptionSubscriberArgsDict(TypedDict): + address: pulumi.Input[str] + """ + The email address or SNS Topic Amazon Resource Name (ARN), depending on the `Type` . + """ + type: pulumi.Input['AnomalySubscriptionSubscriberType'] + """ + The notification delivery channel. + """ + status: NotRequired[pulumi.Input['AnomalySubscriptionSubscriberStatus']] + """ + Indicates if the subscriber accepts the notifications. + """ +elif False: + AnomalySubscriptionSubscriberArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalySubscriptionSubscriberArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/ce/anomaly_monitor.py b/sdk/python/pulumi_aws_native/ce/anomaly_monitor.py index de604612b6..3b11e2ad34 100644 --- a/sdk/python/pulumi_aws_native/ce/anomaly_monitor.py +++ b/sdk/python/pulumi_aws_native/ce/anomaly_monitor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ce/anomaly_subscription.py b/sdk/python/pulumi_aws_native/ce/anomaly_subscription.py index 84e63adb6f..5b78ed462c 100644 --- a/sdk/python/pulumi_aws_native/ce/anomaly_subscription.py +++ b/sdk/python/pulumi_aws_native/ce/anomaly_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ce/cost_category.py b/sdk/python/pulumi_aws_native/ce/cost_category.py index c19f91659b..f93f194947 100644 --- a/sdk/python/pulumi_aws_native/ce/cost_category.py +++ b/sdk/python/pulumi_aws_native/ce/cost_category.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ce/get_anomaly_monitor.py b/sdk/python/pulumi_aws_native/ce/get_anomaly_monitor.py index ce44731ec3..2d4e2d8da5 100644 --- a/sdk/python/pulumi_aws_native/ce/get_anomaly_monitor.py +++ b/sdk/python/pulumi_aws_native/ce/get_anomaly_monitor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -121,9 +126,6 @@ def get_anomaly_monitor(monitor_arn: Optional[str] = None, last_updated_date=pulumi.get(__ret__, 'last_updated_date'), monitor_arn=pulumi.get(__ret__, 'monitor_arn'), monitor_name=pulumi.get(__ret__, 'monitor_name')) - - -@_utilities.lift_output_func(get_anomaly_monitor) def get_anomaly_monitor_output(monitor_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAnomalyMonitorResult]: """ @@ -132,4 +134,14 @@ def get_anomaly_monitor_output(monitor_arn: Optional[pulumi.Input[str]] = None, :param str monitor_arn: The Amazon Resource Name (ARN) value for the monitor. """ - ... + __args__ = dict() + __args__['monitorArn'] = monitor_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ce:getAnomalyMonitor', __args__, opts=opts, typ=GetAnomalyMonitorResult) + return __ret__.apply(lambda __response__: GetAnomalyMonitorResult( + creation_date=pulumi.get(__response__, 'creation_date'), + dimensional_value_count=pulumi.get(__response__, 'dimensional_value_count'), + last_evaluated_date=pulumi.get(__response__, 'last_evaluated_date'), + last_updated_date=pulumi.get(__response__, 'last_updated_date'), + monitor_arn=pulumi.get(__response__, 'monitor_arn'), + monitor_name=pulumi.get(__response__, 'monitor_name'))) diff --git a/sdk/python/pulumi_aws_native/ce/get_anomaly_subscription.py b/sdk/python/pulumi_aws_native/ce/get_anomaly_subscription.py index e050645f2e..5fd904553f 100644 --- a/sdk/python/pulumi_aws_native/ce/get_anomaly_subscription.py +++ b/sdk/python/pulumi_aws_native/ce/get_anomaly_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -149,9 +154,6 @@ def get_anomaly_subscription(subscription_arn: Optional[str] = None, subscription_name=pulumi.get(__ret__, 'subscription_name'), threshold=pulumi.get(__ret__, 'threshold'), threshold_expression=pulumi.get(__ret__, 'threshold_expression')) - - -@_utilities.lift_output_func(get_anomaly_subscription) def get_anomaly_subscription_output(subscription_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAnomalySubscriptionResult]: """ @@ -160,4 +162,16 @@ def get_anomaly_subscription_output(subscription_arn: Optional[pulumi.Input[str] :param str subscription_arn: The `AnomalySubscription` Amazon Resource Name (ARN). """ - ... + __args__ = dict() + __args__['subscriptionArn'] = subscription_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ce:getAnomalySubscription', __args__, opts=opts, typ=GetAnomalySubscriptionResult) + return __ret__.apply(lambda __response__: GetAnomalySubscriptionResult( + account_id=pulumi.get(__response__, 'account_id'), + frequency=pulumi.get(__response__, 'frequency'), + monitor_arn_list=pulumi.get(__response__, 'monitor_arn_list'), + subscribers=pulumi.get(__response__, 'subscribers'), + subscription_arn=pulumi.get(__response__, 'subscription_arn'), + subscription_name=pulumi.get(__response__, 'subscription_name'), + threshold=pulumi.get(__response__, 'threshold'), + threshold_expression=pulumi.get(__response__, 'threshold_expression'))) diff --git a/sdk/python/pulumi_aws_native/ce/get_cost_category.py b/sdk/python/pulumi_aws_native/ce/get_cost_category.py index 9437d82cd1..0fbc95c64e 100644 --- a/sdk/python/pulumi_aws_native/ce/get_cost_category.py +++ b/sdk/python/pulumi_aws_native/ce/get_cost_category.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -122,9 +127,6 @@ def get_cost_category(arn: Optional[str] = None, rule_version=pulumi.get(__ret__, 'rule_version'), rules=pulumi.get(__ret__, 'rules'), split_charge_rules=pulumi.get(__ret__, 'split_charge_rules')) - - -@_utilities.lift_output_func(get_cost_category) def get_cost_category_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCostCategoryResult]: """ @@ -133,4 +135,14 @@ def get_cost_category_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Cost category ARN """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ce:getCostCategory', __args__, opts=opts, typ=GetCostCategoryResult) + return __ret__.apply(lambda __response__: GetCostCategoryResult( + arn=pulumi.get(__response__, 'arn'), + default_value=pulumi.get(__response__, 'default_value'), + effective_start=pulumi.get(__response__, 'effective_start'), + rule_version=pulumi.get(__response__, 'rule_version'), + rules=pulumi.get(__response__, 'rules'), + split_charge_rules=pulumi.get(__response__, 'split_charge_rules'))) diff --git a/sdk/python/pulumi_aws_native/ce/outputs.py b/sdk/python/pulumi_aws_native/ce/outputs.py index b4c7bdcf34..803bf37c6e 100644 --- a/sdk/python/pulumi_aws_native/ce/outputs.py +++ b/sdk/python/pulumi_aws_native/ce/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/certificatemanager/_inputs.py b/sdk/python/pulumi_aws_native/certificatemanager/_inputs.py index f87331e128..0110e264e1 100644 --- a/sdk/python/pulumi_aws_native/certificatemanager/_inputs.py +++ b/sdk/python/pulumi_aws_native/certificatemanager/_inputs.py @@ -4,15 +4,32 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'AccountExpiryEventsConfigurationArgs', + 'AccountExpiryEventsConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class AccountExpiryEventsConfigurationArgsDict(TypedDict): + days_before_expiry: NotRequired[pulumi.Input[int]] + """ + This option specifies the number of days prior to certificate expiration when ACM starts generating `EventBridge` events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration. + """ +elif False: + AccountExpiryEventsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccountExpiryEventsConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/certificatemanager/account.py b/sdk/python/pulumi_aws_native/certificatemanager/account.py index 63f366aee8..2e30ba936b 100644 --- a/sdk/python/pulumi_aws_native/certificatemanager/account.py +++ b/sdk/python/pulumi_aws_native/certificatemanager/account.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/certificatemanager/get_account.py b/sdk/python/pulumi_aws_native/certificatemanager/get_account.py index 7fbee05979..b9d1eb0dcd 100644 --- a/sdk/python/pulumi_aws_native/certificatemanager/get_account.py +++ b/sdk/python/pulumi_aws_native/certificatemanager/get_account.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_account(account_id: Optional[str] = None, return AwaitableGetAccountResult( account_id=pulumi.get(__ret__, 'account_id'), expiry_events_configuration=pulumi.get(__ret__, 'expiry_events_configuration')) - - -@_utilities.lift_output_func(get_account) def get_account_output(account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountResult]: """ @@ -81,4 +83,10 @@ def get_account_output(account_id: Optional[pulumi.Input[str]] = None, :param str account_id: ID of the AWS account that owns the certificate. """ - ... + __args__ = dict() + __args__['accountId'] = account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:certificatemanager:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + account_id=pulumi.get(__response__, 'account_id'), + expiry_events_configuration=pulumi.get(__response__, 'expiry_events_configuration'))) diff --git a/sdk/python/pulumi_aws_native/certificatemanager/outputs.py b/sdk/python/pulumi_aws_native/certificatemanager/outputs.py index cf4d25ba9f..80c8d6608f 100644 --- a/sdk/python/pulumi_aws_native/certificatemanager/outputs.py +++ b/sdk/python/pulumi_aws_native/certificatemanager/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/chatbot/get_microsoft_teams_channel_configuration.py b/sdk/python/pulumi_aws_native/chatbot/get_microsoft_teams_channel_configuration.py index c86fc168be..2919d7618d 100644 --- a/sdk/python/pulumi_aws_native/chatbot/get_microsoft_teams_channel_configuration.py +++ b/sdk/python/pulumi_aws_native/chatbot/get_microsoft_teams_channel_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -148,9 +153,6 @@ def get_microsoft_teams_channel_configuration(arn: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), teams_channel_id=pulumi.get(__ret__, 'teams_channel_id'), user_role_required=pulumi.get(__ret__, 'user_role_required')) - - -@_utilities.lift_output_func(get_microsoft_teams_channel_configuration) def get_microsoft_teams_channel_configuration_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMicrosoftTeamsChannelConfigurationResult]: """ @@ -159,4 +161,16 @@ def get_microsoft_teams_channel_configuration_output(arn: Optional[pulumi.Input[ :param str arn: Amazon Resource Name (ARN) of the configuration """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:chatbot:getMicrosoftTeamsChannelConfiguration', __args__, opts=opts, typ=GetMicrosoftTeamsChannelConfigurationResult) + return __ret__.apply(lambda __response__: GetMicrosoftTeamsChannelConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + guardrail_policies=pulumi.get(__response__, 'guardrail_policies'), + iam_role_arn=pulumi.get(__response__, 'iam_role_arn'), + logging_level=pulumi.get(__response__, 'logging_level'), + sns_topic_arns=pulumi.get(__response__, 'sns_topic_arns'), + tags=pulumi.get(__response__, 'tags'), + teams_channel_id=pulumi.get(__response__, 'teams_channel_id'), + user_role_required=pulumi.get(__response__, 'user_role_required'))) diff --git a/sdk/python/pulumi_aws_native/chatbot/get_slack_channel_configuration.py b/sdk/python/pulumi_aws_native/chatbot/get_slack_channel_configuration.py index 077d55d976..fa0636c6df 100644 --- a/sdk/python/pulumi_aws_native/chatbot/get_slack_channel_configuration.py +++ b/sdk/python/pulumi_aws_native/chatbot/get_slack_channel_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -148,9 +153,6 @@ def get_slack_channel_configuration(arn: Optional[str] = None, sns_topic_arns=pulumi.get(__ret__, 'sns_topic_arns'), tags=pulumi.get(__ret__, 'tags'), user_role_required=pulumi.get(__ret__, 'user_role_required')) - - -@_utilities.lift_output_func(get_slack_channel_configuration) def get_slack_channel_configuration_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSlackChannelConfigurationResult]: """ @@ -159,4 +161,16 @@ def get_slack_channel_configuration_output(arn: Optional[pulumi.Input[str]] = No :param str arn: Amazon Resource Name (ARN) of the configuration """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:chatbot:getSlackChannelConfiguration', __args__, opts=opts, typ=GetSlackChannelConfigurationResult) + return __ret__.apply(lambda __response__: GetSlackChannelConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + guardrail_policies=pulumi.get(__response__, 'guardrail_policies'), + iam_role_arn=pulumi.get(__response__, 'iam_role_arn'), + logging_level=pulumi.get(__response__, 'logging_level'), + slack_channel_id=pulumi.get(__response__, 'slack_channel_id'), + sns_topic_arns=pulumi.get(__response__, 'sns_topic_arns'), + tags=pulumi.get(__response__, 'tags'), + user_role_required=pulumi.get(__response__, 'user_role_required'))) diff --git a/sdk/python/pulumi_aws_native/chatbot/microsoft_teams_channel_configuration.py b/sdk/python/pulumi_aws_native/chatbot/microsoft_teams_channel_configuration.py index 4ffc9a71f2..ea19bef7f0 100644 --- a/sdk/python/pulumi_aws_native/chatbot/microsoft_teams_channel_configuration.py +++ b/sdk/python/pulumi_aws_native/chatbot/microsoft_teams_channel_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/chatbot/slack_channel_configuration.py b/sdk/python/pulumi_aws_native/chatbot/slack_channel_configuration.py index 6816932f5d..fbb8c393a3 100644 --- a/sdk/python/pulumi_aws_native/chatbot/slack_channel_configuration.py +++ b/sdk/python/pulumi_aws_native/chatbot/slack_channel_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/cidr.py b/sdk/python/pulumi_aws_native/cidr.py index a1694b6526..f26e1f3f56 100644 --- a/sdk/python/pulumi_aws_native/cidr.py +++ b/sdk/python/pulumi_aws_native/cidr.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = [ @@ -54,9 +59,6 @@ def cidr(cidr_bits: Optional[int] = None, return AwaitableCidrResult( subnets=pulumi.get(__ret__, 'subnets')) - - -@_utilities.lift_output_func(cidr) def cidr_output(cidr_bits: Optional[pulumi.Input[int]] = None, count: Optional[pulumi.Input[int]] = None, ip_block: Optional[pulumi.Input[str]] = None, @@ -64,4 +66,11 @@ def cidr_output(cidr_bits: Optional[pulumi.Input[int]] = None, """ Use this data source to access information about an existing resource. """ - ... + __args__ = dict() + __args__['cidrBits'] = cidr_bits + __args__['count'] = count + __args__['ipBlock'] = ip_block + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:index:cidr', __args__, opts=opts, typ=CidrResult) + return __ret__.apply(lambda __response__: CidrResult( + subnets=pulumi.get(__response__, 'subnets'))) diff --git a/sdk/python/pulumi_aws_native/cleanrooms/_inputs.py b/sdk/python/pulumi_aws_native/cleanrooms/_inputs.py index 3ac299cd35..4fd81f4da8 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/_inputs.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/_inputs.py @@ -4,52 +4,113 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AnalysisTemplateAnalysisParameterArgs', + 'AnalysisTemplateAnalysisParameterArgsDict', 'AnalysisTemplateAnalysisSourceArgs', + 'AnalysisTemplateAnalysisSourceArgsDict', 'CollaborationDataEncryptionMetadataArgs', + 'CollaborationDataEncryptionMetadataArgsDict', 'CollaborationMemberSpecificationArgs', + 'CollaborationMemberSpecificationArgsDict', 'CollaborationPaymentConfigurationArgs', + 'CollaborationPaymentConfigurationArgsDict', 'CollaborationQueryComputePaymentConfigArgs', + 'CollaborationQueryComputePaymentConfigArgsDict', 'ConfiguredTableAggregateColumnArgs', + 'ConfiguredTableAggregateColumnArgsDict', 'ConfiguredTableAggregationConstraintArgs', + 'ConfiguredTableAggregationConstraintArgsDict', 'ConfiguredTableAnalysisRuleAggregationArgs', + 'ConfiguredTableAnalysisRuleAggregationArgsDict', 'ConfiguredTableAnalysisRuleCustomArgs', + 'ConfiguredTableAnalysisRuleCustomArgsDict', 'ConfiguredTableAnalysisRuleListArgs', + 'ConfiguredTableAnalysisRuleListArgsDict', 'ConfiguredTableAnalysisRulePolicyV10PropertiesArgs', + 'ConfiguredTableAnalysisRulePolicyV10PropertiesArgsDict', 'ConfiguredTableAnalysisRulePolicyV11PropertiesArgs', + 'ConfiguredTableAnalysisRulePolicyV11PropertiesArgsDict', 'ConfiguredTableAnalysisRulePolicyV12PropertiesArgs', + 'ConfiguredTableAnalysisRulePolicyV12PropertiesArgsDict', 'ConfiguredTableAnalysisRulePolicyArgs', + 'ConfiguredTableAnalysisRulePolicyArgsDict', 'ConfiguredTableAnalysisRuleArgs', + 'ConfiguredTableAnalysisRuleArgsDict', 'ConfiguredTableAssociationAnalysisRuleAggregationArgs', + 'ConfiguredTableAssociationAnalysisRuleAggregationArgsDict', 'ConfiguredTableAssociationAnalysisRuleCustomArgs', + 'ConfiguredTableAssociationAnalysisRuleCustomArgsDict', 'ConfiguredTableAssociationAnalysisRuleListArgs', + 'ConfiguredTableAssociationAnalysisRuleListArgsDict', 'ConfiguredTableAssociationAnalysisRulePolicyV10PropertiesArgs', + 'ConfiguredTableAssociationAnalysisRulePolicyV10PropertiesArgsDict', 'ConfiguredTableAssociationAnalysisRulePolicyV11PropertiesArgs', + 'ConfiguredTableAssociationAnalysisRulePolicyV11PropertiesArgsDict', 'ConfiguredTableAssociationAnalysisRulePolicyV12PropertiesArgs', + 'ConfiguredTableAssociationAnalysisRulePolicyV12PropertiesArgsDict', 'ConfiguredTableAssociationAnalysisRulePolicyArgs', + 'ConfiguredTableAssociationAnalysisRulePolicyArgsDict', 'ConfiguredTableAssociationAnalysisRuleArgs', + 'ConfiguredTableAssociationAnalysisRuleArgsDict', 'ConfiguredTableDifferentialPrivacyColumnArgs', + 'ConfiguredTableDifferentialPrivacyColumnArgsDict', 'ConfiguredTableDifferentialPrivacyArgs', + 'ConfiguredTableDifferentialPrivacyArgsDict', 'ConfiguredTableGlueTableReferenceArgs', + 'ConfiguredTableGlueTableReferenceArgsDict', 'ConfiguredTableTableReferenceArgs', + 'ConfiguredTableTableReferenceArgsDict', 'IdMappingTableInputReferenceConfigArgs', + 'IdMappingTableInputReferenceConfigArgsDict', 'IdNamespaceAssociationIdMappingConfigArgs', + 'IdNamespaceAssociationIdMappingConfigArgsDict', 'IdNamespaceAssociationInputReferenceConfigArgs', + 'IdNamespaceAssociationInputReferenceConfigArgsDict', 'MembershipPaymentConfigurationArgs', + 'MembershipPaymentConfigurationArgsDict', 'MembershipProtectedQueryOutputConfigurationArgs', + 'MembershipProtectedQueryOutputConfigurationArgsDict', 'MembershipProtectedQueryResultConfigurationArgs', + 'MembershipProtectedQueryResultConfigurationArgsDict', 'MembershipProtectedQueryS3OutputConfigurationArgs', + 'MembershipProtectedQueryS3OutputConfigurationArgsDict', 'MembershipQueryComputePaymentConfigArgs', + 'MembershipQueryComputePaymentConfigArgsDict', 'ParametersPropertiesArgs', + 'ParametersPropertiesArgsDict', ] +MYPY = False + +if not MYPY: + class AnalysisTemplateAnalysisParameterArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter. The name must use only alphanumeric, underscore (_), or hyphen (-) characters but cannot start or end with a hyphen. + """ + type: pulumi.Input['AnalysisTemplateAnalysisParameterType'] + """ + The type of parameter. + """ + default_value: NotRequired[pulumi.Input[str]] + """ + Optional. The default value that is applied in the analysis template. The member who can query can override this value in the query editor. + """ +elif False: + AnalysisTemplateAnalysisParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTemplateAnalysisParameterArgs: def __init__(__self__, *, @@ -103,6 +164,15 @@ def default_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "default_value", value) +if not MYPY: + class AnalysisTemplateAnalysisSourceArgsDict(TypedDict): + text: pulumi.Input[str] + """ + The query text. + """ +elif False: + AnalysisTemplateAnalysisSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTemplateAnalysisSourceArgs: def __init__(__self__, *, @@ -125,6 +195,27 @@ def text(self, value: pulumi.Input[str]): pulumi.set(self, "text", value) +if not MYPY: + class CollaborationDataEncryptionMetadataArgsDict(TypedDict): + allow_cleartext: pulumi.Input[bool] + """ + Indicates whether encrypted tables can contain cleartext data ( `TRUE` ) or are to cryptographically process every column ( `FALSE` ). + """ + allow_duplicates: pulumi.Input[bool] + """ + Indicates whether Fingerprint columns can contain duplicate entries ( `TRUE` ) or are to contain only non-repeated values ( `FALSE` ). + """ + allow_joins_on_columns_with_different_names: pulumi.Input[bool] + """ + Indicates whether Fingerprint columns can be joined on any other Fingerprint column with a different name ( `TRUE` ) or can only be joined on Fingerprint columns of the same name ( `FALSE` ). + """ + preserve_nulls: pulumi.Input[bool] + """ + Indicates whether NULL values are to be copied as NULL to encrypted tables ( `TRUE` ) or cryptographically processed ( `FALSE` ). + """ +elif False: + CollaborationDataEncryptionMetadataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CollaborationDataEncryptionMetadataArgs: def __init__(__self__, *, @@ -192,6 +283,31 @@ def preserve_nulls(self, value: pulumi.Input[bool]): pulumi.set(self, "preserve_nulls", value) +if not MYPY: + class CollaborationMemberSpecificationArgsDict(TypedDict): + account_id: pulumi.Input[str] + """ + The identifier used to reference members of the collaboration. Currently only supports AWS account ID. + """ + display_name: pulumi.Input[str] + """ + The member's display name. + """ + member_abilities: pulumi.Input[Sequence[pulumi.Input['CollaborationMemberAbility']]] + """ + The abilities granted to the collaboration member. + + *Allowed Values* : `CAN_QUERY` | `CAN_RECEIVE_RESULTS` + """ + payment_configuration: NotRequired[pulumi.Input['CollaborationPaymentConfigurationArgsDict']] + """ + The collaboration member's payment responsibilities set by the collaboration creator. + + If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer. + """ +elif False: + CollaborationMemberSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CollaborationMemberSpecificationArgs: def __init__(__self__, *, @@ -268,6 +384,15 @@ def payment_configuration(self, value: Optional[pulumi.Input['CollaborationPayme pulumi.set(self, "payment_configuration", value) +if not MYPY: + class CollaborationPaymentConfigurationArgsDict(TypedDict): + query_compute: pulumi.Input['CollaborationQueryComputePaymentConfigArgsDict'] + """ + The collaboration member's payment responsibilities set by the collaboration creator for query compute costs. + """ +elif False: + CollaborationPaymentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CollaborationPaymentConfigurationArgs: def __init__(__self__, *, @@ -290,6 +415,19 @@ def query_compute(self, value: pulumi.Input['CollaborationQueryComputePaymentCon pulumi.set(self, "query_compute", value) +if not MYPY: + class CollaborationQueryComputePaymentConfigArgsDict(TypedDict): + is_responsible: pulumi.Input[bool] + """ + Indicates whether the collaboration creator has configured the collaboration member to pay for query compute costs ( `TRUE` ) or has not configured the collaboration member to pay for query compute costs ( `FALSE` ). + + Exactly one member can be configured to pay for query compute costs. An error is returned if the collaboration creator sets a `TRUE` value for more than one member in the collaboration. + + If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a `FALSE` value for the member who can query. + """ +elif False: + CollaborationQueryComputePaymentConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CollaborationQueryComputePaymentConfigArgs: def __init__(__self__, *, @@ -320,6 +458,13 @@ def is_responsible(self, value: pulumi.Input[bool]): pulumi.set(self, "is_responsible", value) +if not MYPY: + class ConfiguredTableAggregateColumnArgsDict(TypedDict): + column_names: pulumi.Input[Sequence[pulumi.Input[str]]] + function: pulumi.Input['ConfiguredTableAggregateFunctionName'] +elif False: + ConfiguredTableAggregateColumnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAggregateColumnArgs: def __init__(__self__, *, @@ -347,6 +492,14 @@ def function(self, value: pulumi.Input['ConfiguredTableAggregateFunctionName']): pulumi.set(self, "function", value) +if not MYPY: + class ConfiguredTableAggregationConstraintArgsDict(TypedDict): + column_name: pulumi.Input[str] + minimum: pulumi.Input[float] + type: pulumi.Input['ConfiguredTableAggregationType'] +elif False: + ConfiguredTableAggregationConstraintArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAggregationConstraintArgs: def __init__(__self__, *, @@ -385,6 +538,19 @@ def type(self, value: pulumi.Input['ConfiguredTableAggregationType']): pulumi.set(self, "type", value) +if not MYPY: + class ConfiguredTableAnalysisRuleAggregationArgsDict(TypedDict): + aggregate_columns: pulumi.Input[Sequence[pulumi.Input['ConfiguredTableAggregateColumnArgsDict']]] + dimension_columns: pulumi.Input[Sequence[pulumi.Input[str]]] + join_columns: pulumi.Input[Sequence[pulumi.Input[str]]] + output_constraints: pulumi.Input[Sequence[pulumi.Input['ConfiguredTableAggregationConstraintArgsDict']]] + scalar_functions: pulumi.Input[Sequence[pulumi.Input['ConfiguredTableScalarFunctions']]] + additional_analyses: NotRequired[pulumi.Input['ConfiguredTableAdditionalAnalyses']] + allowed_join_operators: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConfiguredTableJoinOperator']]]] + join_required: NotRequired[pulumi.Input['ConfiguredTableJoinRequiredOption']] +elif False: + ConfiguredTableAnalysisRuleAggregationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAnalysisRuleAggregationArgs: def __init__(__self__, *, @@ -481,6 +647,16 @@ def join_required(self, value: Optional[pulumi.Input['ConfiguredTableJoinRequire pulumi.set(self, "join_required", value) +if not MYPY: + class ConfiguredTableAnalysisRuleCustomArgsDict(TypedDict): + allowed_analyses: pulumi.Input[Sequence[pulumi.Input[str]]] + additional_analyses: NotRequired[pulumi.Input['ConfiguredTableAdditionalAnalyses']] + allowed_analysis_providers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + differential_privacy: NotRequired[pulumi.Input['ConfiguredTableDifferentialPrivacyArgsDict']] + disallowed_output_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + ConfiguredTableAnalysisRuleCustomArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAnalysisRuleCustomArgs: def __init__(__self__, *, @@ -545,6 +721,15 @@ def disallowed_output_columns(self, value: Optional[pulumi.Input[Sequence[pulumi pulumi.set(self, "disallowed_output_columns", value) +if not MYPY: + class ConfiguredTableAnalysisRuleListArgsDict(TypedDict): + join_columns: pulumi.Input[Sequence[pulumi.Input[str]]] + list_columns: pulumi.Input[Sequence[pulumi.Input[str]]] + additional_analyses: NotRequired[pulumi.Input['ConfiguredTableAdditionalAnalyses']] + allowed_join_operators: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConfiguredTableJoinOperator']]]] +elif False: + ConfiguredTableAnalysisRuleListArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAnalysisRuleListArgs: def __init__(__self__, *, @@ -596,6 +781,12 @@ def allowed_join_operators(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "allowed_join_operators", value) +if not MYPY: + class ConfiguredTableAnalysisRulePolicyV10PropertiesArgsDict(TypedDict): + list: pulumi.Input['ConfiguredTableAnalysisRuleListArgsDict'] +elif False: + ConfiguredTableAnalysisRulePolicyV10PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAnalysisRulePolicyV10PropertiesArgs: def __init__(__self__, *, @@ -612,6 +803,12 @@ def list(self, value: pulumi.Input['ConfiguredTableAnalysisRuleListArgs']): pulumi.set(self, "list", value) +if not MYPY: + class ConfiguredTableAnalysisRulePolicyV11PropertiesArgsDict(TypedDict): + aggregation: pulumi.Input['ConfiguredTableAnalysisRuleAggregationArgsDict'] +elif False: + ConfiguredTableAnalysisRulePolicyV11PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAnalysisRulePolicyV11PropertiesArgs: def __init__(__self__, *, @@ -628,6 +825,12 @@ def aggregation(self, value: pulumi.Input['ConfiguredTableAnalysisRuleAggregatio pulumi.set(self, "aggregation", value) +if not MYPY: + class ConfiguredTableAnalysisRulePolicyV12PropertiesArgsDict(TypedDict): + custom: pulumi.Input['ConfiguredTableAnalysisRuleCustomArgsDict'] +elif False: + ConfiguredTableAnalysisRulePolicyV12PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAnalysisRulePolicyV12PropertiesArgs: def __init__(__self__, *, @@ -644,6 +847,15 @@ def custom(self, value: pulumi.Input['ConfiguredTableAnalysisRuleCustomArgs']): pulumi.set(self, "custom", value) +if not MYPY: + class ConfiguredTableAnalysisRulePolicyArgsDict(TypedDict): + v1: pulumi.Input[Union['ConfiguredTableAnalysisRulePolicyV10PropertiesArgsDict', 'ConfiguredTableAnalysisRulePolicyV11PropertiesArgsDict', 'ConfiguredTableAnalysisRulePolicyV12PropertiesArgsDict']] + """ + Controls on the query specifications that can be run on a configured table. + """ +elif False: + ConfiguredTableAnalysisRulePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAnalysisRulePolicyArgs: def __init__(__self__, *, @@ -666,6 +878,19 @@ def v1(self, value: pulumi.Input[Union['ConfiguredTableAnalysisRulePolicyV10Prop pulumi.set(self, "v1", value) +if not MYPY: + class ConfiguredTableAnalysisRuleArgsDict(TypedDict): + policy: pulumi.Input['ConfiguredTableAnalysisRulePolicyArgsDict'] + """ + A policy that describes the associated data usage limitations. + """ + type: pulumi.Input['ConfiguredTableAnalysisRuleType'] + """ + The type of analysis rule. + """ +elif False: + ConfiguredTableAnalysisRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAnalysisRuleArgs: def __init__(__self__, *, @@ -703,6 +928,13 @@ def type(self, value: pulumi.Input['ConfiguredTableAnalysisRuleType']): pulumi.set(self, "type", value) +if not MYPY: + class ConfiguredTableAssociationAnalysisRuleAggregationArgsDict(TypedDict): + allowed_additional_analyses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + allowed_result_receivers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + ConfiguredTableAssociationAnalysisRuleAggregationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAssociationAnalysisRuleAggregationArgs: def __init__(__self__, *, @@ -732,6 +964,13 @@ def allowed_result_receivers(self, value: Optional[pulumi.Input[Sequence[pulumi. pulumi.set(self, "allowed_result_receivers", value) +if not MYPY: + class ConfiguredTableAssociationAnalysisRuleCustomArgsDict(TypedDict): + allowed_additional_analyses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + allowed_result_receivers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + ConfiguredTableAssociationAnalysisRuleCustomArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAssociationAnalysisRuleCustomArgs: def __init__(__self__, *, @@ -761,6 +1000,13 @@ def allowed_result_receivers(self, value: Optional[pulumi.Input[Sequence[pulumi. pulumi.set(self, "allowed_result_receivers", value) +if not MYPY: + class ConfiguredTableAssociationAnalysisRuleListArgsDict(TypedDict): + allowed_additional_analyses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + allowed_result_receivers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + ConfiguredTableAssociationAnalysisRuleListArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAssociationAnalysisRuleListArgs: def __init__(__self__, *, @@ -790,6 +1036,12 @@ def allowed_result_receivers(self, value: Optional[pulumi.Input[Sequence[pulumi. pulumi.set(self, "allowed_result_receivers", value) +if not MYPY: + class ConfiguredTableAssociationAnalysisRulePolicyV10PropertiesArgsDict(TypedDict): + list: pulumi.Input['ConfiguredTableAssociationAnalysisRuleListArgsDict'] +elif False: + ConfiguredTableAssociationAnalysisRulePolicyV10PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAssociationAnalysisRulePolicyV10PropertiesArgs: def __init__(__self__, *, @@ -806,6 +1058,12 @@ def list(self, value: pulumi.Input['ConfiguredTableAssociationAnalysisRuleListAr pulumi.set(self, "list", value) +if not MYPY: + class ConfiguredTableAssociationAnalysisRulePolicyV11PropertiesArgsDict(TypedDict): + aggregation: pulumi.Input['ConfiguredTableAssociationAnalysisRuleAggregationArgsDict'] +elif False: + ConfiguredTableAssociationAnalysisRulePolicyV11PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAssociationAnalysisRulePolicyV11PropertiesArgs: def __init__(__self__, *, @@ -822,6 +1080,12 @@ def aggregation(self, value: pulumi.Input['ConfiguredTableAssociationAnalysisRul pulumi.set(self, "aggregation", value) +if not MYPY: + class ConfiguredTableAssociationAnalysisRulePolicyV12PropertiesArgsDict(TypedDict): + custom: pulumi.Input['ConfiguredTableAssociationAnalysisRuleCustomArgsDict'] +elif False: + ConfiguredTableAssociationAnalysisRulePolicyV12PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAssociationAnalysisRulePolicyV12PropertiesArgs: def __init__(__self__, *, @@ -838,6 +1102,15 @@ def custom(self, value: pulumi.Input['ConfiguredTableAssociationAnalysisRuleCust pulumi.set(self, "custom", value) +if not MYPY: + class ConfiguredTableAssociationAnalysisRulePolicyArgsDict(TypedDict): + v1: pulumi.Input[Union['ConfiguredTableAssociationAnalysisRulePolicyV10PropertiesArgsDict', 'ConfiguredTableAssociationAnalysisRulePolicyV11PropertiesArgsDict', 'ConfiguredTableAssociationAnalysisRulePolicyV12PropertiesArgsDict']] + """ + The policy for the configured table association analysis rule. + """ +elif False: + ConfiguredTableAssociationAnalysisRulePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAssociationAnalysisRulePolicyArgs: def __init__(__self__, *, @@ -860,6 +1133,19 @@ def v1(self, value: pulumi.Input[Union['ConfiguredTableAssociationAnalysisRulePo pulumi.set(self, "v1", value) +if not MYPY: + class ConfiguredTableAssociationAnalysisRuleArgsDict(TypedDict): + policy: pulumi.Input['ConfiguredTableAssociationAnalysisRulePolicyArgsDict'] + """ + The policy of the configured table association analysis rule. + """ + type: pulumi.Input['ConfiguredTableAssociationAnalysisRuleType'] + """ + The type of the configured table association analysis rule. + """ +elif False: + ConfiguredTableAssociationAnalysisRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableAssociationAnalysisRuleArgs: def __init__(__self__, *, @@ -897,6 +1183,12 @@ def type(self, value: pulumi.Input['ConfiguredTableAssociationAnalysisRuleType'] pulumi.set(self, "type", value) +if not MYPY: + class ConfiguredTableDifferentialPrivacyColumnArgsDict(TypedDict): + name: pulumi.Input[str] +elif False: + ConfiguredTableDifferentialPrivacyColumnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableDifferentialPrivacyColumnArgs: def __init__(__self__, *, @@ -913,6 +1205,12 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class ConfiguredTableDifferentialPrivacyArgsDict(TypedDict): + columns: pulumi.Input[Sequence[pulumi.Input['ConfiguredTableDifferentialPrivacyColumnArgsDict']]] +elif False: + ConfiguredTableDifferentialPrivacyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableDifferentialPrivacyArgs: def __init__(__self__, *, @@ -929,6 +1227,19 @@ def columns(self, value: pulumi.Input[Sequence[pulumi.Input['ConfiguredTableDiff pulumi.set(self, "columns", value) +if not MYPY: + class ConfiguredTableGlueTableReferenceArgsDict(TypedDict): + database_name: pulumi.Input[str] + """ + The name of the database the AWS Glue table belongs to. + """ + table_name: pulumi.Input[str] + """ + The name of the AWS Glue table. + """ +elif False: + ConfiguredTableGlueTableReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableGlueTableReferenceArgs: def __init__(__self__, *, @@ -966,6 +1277,15 @@ def table_name(self, value: pulumi.Input[str]): pulumi.set(self, "table_name", value) +if not MYPY: + class ConfiguredTableTableReferenceArgsDict(TypedDict): + glue: pulumi.Input['ConfiguredTableGlueTableReferenceArgsDict'] + """ + If present, a reference to the AWS Glue table referred to by this table reference. + """ +elif False: + ConfiguredTableTableReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfiguredTableTableReferenceArgs: def __init__(__self__, *, @@ -988,6 +1308,21 @@ def glue(self, value: pulumi.Input['ConfiguredTableGlueTableReferenceArgs']): pulumi.set(self, "glue", value) +if not MYPY: + class IdMappingTableInputReferenceConfigArgsDict(TypedDict): + input_reference_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the referenced resource in AWS Entity Resolution . Valid values are ID mapping workflow ARNs. + """ + manage_resource_policies: pulumi.Input[bool] + """ + When `TRUE` , AWS Clean Rooms manages permissions for the ID mapping table resource. + + When `FALSE` , the resource owner manages permissions for the ID mapping table resource. + """ +elif False: + IdMappingTableInputReferenceConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdMappingTableInputReferenceConfigArgs: def __init__(__self__, *, @@ -1029,6 +1364,17 @@ def manage_resource_policies(self, value: pulumi.Input[bool]): pulumi.set(self, "manage_resource_policies", value) +if not MYPY: + class IdNamespaceAssociationIdMappingConfigArgsDict(TypedDict): + allow_use_as_dimension_column: pulumi.Input[bool] + """ + An indicator as to whether you can use your column as a dimension column in the ID mapping table ( `TRUE` ) or not ( `FALSE` ). + + Default is `FALSE` . + """ +elif False: + IdNamespaceAssociationIdMappingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdNamespaceAssociationIdMappingConfigArgs: def __init__(__self__, *, @@ -1055,6 +1401,21 @@ def allow_use_as_dimension_column(self, value: pulumi.Input[bool]): pulumi.set(self, "allow_use_as_dimension_column", value) +if not MYPY: + class IdNamespaceAssociationInputReferenceConfigArgsDict(TypedDict): + input_reference_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the AWS Entity Resolution resource that is being associated to the collaboration. Valid resource ARNs are from the ID namespaces that you own. + """ + manage_resource_policies: pulumi.Input[bool] + """ + When `TRUE` , AWS Clean Rooms manages permissions for the ID namespace association resource. + + When `FALSE` , the resource owner manages permissions for the ID namespace association resource. + """ +elif False: + IdNamespaceAssociationInputReferenceConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdNamespaceAssociationInputReferenceConfigArgs: def __init__(__self__, *, @@ -1096,6 +1457,15 @@ def manage_resource_policies(self, value: pulumi.Input[bool]): pulumi.set(self, "manage_resource_policies", value) +if not MYPY: + class MembershipPaymentConfigurationArgsDict(TypedDict): + query_compute: pulumi.Input['MembershipQueryComputePaymentConfigArgsDict'] + """ + The payment responsibilities accepted by the collaboration member for query compute costs. + """ +elif False: + MembershipPaymentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MembershipPaymentConfigurationArgs: def __init__(__self__, *, @@ -1118,6 +1488,15 @@ def query_compute(self, value: pulumi.Input['MembershipQueryComputePaymentConfig pulumi.set(self, "query_compute", value) +if not MYPY: + class MembershipProtectedQueryOutputConfigurationArgsDict(TypedDict): + s3: pulumi.Input['MembershipProtectedQueryS3OutputConfigurationArgsDict'] + """ + Required configuration for a protected query with an `s3` output type. + """ +elif False: + MembershipProtectedQueryOutputConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MembershipProtectedQueryOutputConfigurationArgs: def __init__(__self__, *, @@ -1140,6 +1519,19 @@ def s3(self, value: pulumi.Input['MembershipProtectedQueryS3OutputConfigurationA pulumi.set(self, "s3", value) +if not MYPY: + class MembershipProtectedQueryResultConfigurationArgsDict(TypedDict): + output_configuration: pulumi.Input['MembershipProtectedQueryOutputConfigurationArgsDict'] + """ + Configuration for protected query results. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The unique ARN for an IAM role that is used by AWS Clean Rooms to write protected query results to the result location, given by the member who can receive results. + """ +elif False: + MembershipProtectedQueryResultConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MembershipProtectedQueryResultConfigurationArgs: def __init__(__self__, *, @@ -1178,6 +1570,23 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class MembershipProtectedQueryS3OutputConfigurationArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + The S3 bucket to unload the protected query results. + """ + result_format: pulumi.Input['MembershipResultFormat'] + """ + Intended file format of the result. + """ + key_prefix: NotRequired[pulumi.Input[str]] + """ + The S3 prefix to unload the protected query results. + """ +elif False: + MembershipProtectedQueryS3OutputConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MembershipProtectedQueryS3OutputConfigurationArgs: def __init__(__self__, *, @@ -1231,6 +1640,22 @@ def key_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_prefix", value) +if not MYPY: + class MembershipQueryComputePaymentConfigArgsDict(TypedDict): + is_responsible: pulumi.Input[bool] + """ + Indicates whether the collaboration member has accepted to pay for query compute costs ( `TRUE` ) or has not accepted to pay for query compute costs ( `FALSE` ). + + If the collaboration creator has not specified anyone to pay for query compute costs, then the member who can query is the default payer. + + An error message is returned for the following reasons: + + - If you set the value to `FALSE` but you are responsible to pay for query compute costs. + - If you set the value to `TRUE` but you are not responsible to pay for query compute costs. + """ +elif False: + MembershipQueryComputePaymentConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MembershipQueryComputePaymentConfigArgs: def __init__(__self__, *, @@ -1267,6 +1692,22 @@ def is_responsible(self, value: pulumi.Input[bool]): pulumi.set(self, "is_responsible", value) +if not MYPY: + class ParametersPropertiesArgsDict(TypedDict): + """ + Specifies the epsilon and noise parameters for the privacy budget template. + """ + epsilon: pulumi.Input[int] + """ + The epsilon value that you want to use. + """ + users_noise_per_query: pulumi.Input[int] + """ + Noise added per query is measured in terms of the number of users whose contributions you want to obscure. This value governs the rate at which the privacy budget is depleted. + """ +elif False: + ParametersPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ParametersPropertiesArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/cleanrooms/analysis_template.py b/sdk/python/pulumi_aws_native/cleanrooms/analysis_template.py index 60e0790604..d47f1d7526 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/analysis_template.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/analysis_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cleanrooms/collaboration.py b/sdk/python/pulumi_aws_native/cleanrooms/collaboration.py index e1f3871e9a..f188e5ec7f 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/collaboration.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/collaboration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cleanrooms/configured_table.py b/sdk/python/pulumi_aws_native/cleanrooms/configured_table.py index cfcef68b5a..0c5b9777bb 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/configured_table.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/configured_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cleanrooms/configured_table_association.py b/sdk/python/pulumi_aws_native/cleanrooms/configured_table_association.py index 8224ec40d8..53bcfb4d43 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/configured_table_association.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/configured_table_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cleanrooms/get_analysis_template.py b/sdk/python/pulumi_aws_native/cleanrooms/get_analysis_template.py index 62b928db8c..8b0ef12826 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/get_analysis_template.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/get_analysis_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -161,9 +166,6 @@ def get_analysis_template(analysis_template_identifier: Optional[str] = None, membership_arn=pulumi.get(__ret__, 'membership_arn'), schema=pulumi.get(__ret__, 'schema'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_analysis_template) def get_analysis_template_output(analysis_template_identifier: Optional[pulumi.Input[str]] = None, membership_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAnalysisTemplateResult]: @@ -176,4 +178,17 @@ def get_analysis_template_output(analysis_template_identifier: Optional[pulumi.I Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE2222` :param str membership_identifier: The identifier for a membership resource. """ - ... + __args__ = dict() + __args__['analysisTemplateIdentifier'] = analysis_template_identifier + __args__['membershipIdentifier'] = membership_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cleanrooms:getAnalysisTemplate', __args__, opts=opts, typ=GetAnalysisTemplateResult) + return __ret__.apply(lambda __response__: GetAnalysisTemplateResult( + analysis_template_identifier=pulumi.get(__response__, 'analysis_template_identifier'), + arn=pulumi.get(__response__, 'arn'), + collaboration_arn=pulumi.get(__response__, 'collaboration_arn'), + collaboration_identifier=pulumi.get(__response__, 'collaboration_identifier'), + description=pulumi.get(__response__, 'description'), + membership_arn=pulumi.get(__response__, 'membership_arn'), + schema=pulumi.get(__response__, 'schema'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cleanrooms/get_collaboration.py b/sdk/python/pulumi_aws_native/cleanrooms/get_collaboration.py index 9a1f24cc8d..ab04d853b4 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/get_collaboration.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/get_collaboration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -115,9 +120,6 @@ def get_collaboration(collaboration_identifier: Optional[str] = None, description=pulumi.get(__ret__, 'description'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_collaboration) def get_collaboration_output(collaboration_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCollaborationResult]: """ @@ -128,4 +130,13 @@ def get_collaboration_output(collaboration_identifier: Optional[pulumi.Input[str Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE11111` """ - ... + __args__ = dict() + __args__['collaborationIdentifier'] = collaboration_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cleanrooms:getCollaboration', __args__, opts=opts, typ=GetCollaborationResult) + return __ret__.apply(lambda __response__: GetCollaborationResult( + arn=pulumi.get(__response__, 'arn'), + collaboration_identifier=pulumi.get(__response__, 'collaboration_identifier'), + description=pulumi.get(__response__, 'description'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cleanrooms/get_configured_table.py b/sdk/python/pulumi_aws_native/cleanrooms/get_configured_table.py index cf10c61bf5..16f37bed3e 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/get_configured_table.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/get_configured_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -130,9 +135,6 @@ def get_configured_table(configured_table_identifier: Optional[str] = None, description=pulumi.get(__ret__, 'description'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_configured_table) def get_configured_table_output(configured_table_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfiguredTableResult]: """ @@ -143,4 +145,14 @@ def get_configured_table_output(configured_table_identifier: Optional[pulumi.Inp Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE33333` """ - ... + __args__ = dict() + __args__['configuredTableIdentifier'] = configured_table_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cleanrooms:getConfiguredTable', __args__, opts=opts, typ=GetConfiguredTableResult) + return __ret__.apply(lambda __response__: GetConfiguredTableResult( + analysis_rules=pulumi.get(__response__, 'analysis_rules'), + arn=pulumi.get(__response__, 'arn'), + configured_table_identifier=pulumi.get(__response__, 'configured_table_identifier'), + description=pulumi.get(__response__, 'description'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cleanrooms/get_configured_table_association.py b/sdk/python/pulumi_aws_native/cleanrooms/get_configured_table_association.py index 7415c8ba96..c001e2d62c 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/get_configured_table_association.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/get_configured_table_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -133,9 +138,6 @@ def get_configured_table_association(configured_table_association_identifier: Op description=pulumi.get(__ret__, 'description'), role_arn=pulumi.get(__ret__, 'role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_configured_table_association) def get_configured_table_association_output(configured_table_association_identifier: Optional[pulumi.Input[str]] = None, membership_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfiguredTableAssociationResult]: @@ -148,4 +150,15 @@ def get_configured_table_association_output(configured_table_association_identif Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE33333` :param str membership_identifier: The unique ID for the membership this configured table association belongs to. """ - ... + __args__ = dict() + __args__['configuredTableAssociationIdentifier'] = configured_table_association_identifier + __args__['membershipIdentifier'] = membership_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cleanrooms:getConfiguredTableAssociation', __args__, opts=opts, typ=GetConfiguredTableAssociationResult) + return __ret__.apply(lambda __response__: GetConfiguredTableAssociationResult( + arn=pulumi.get(__response__, 'arn'), + configured_table_association_analysis_rules=pulumi.get(__response__, 'configured_table_association_analysis_rules'), + configured_table_association_identifier=pulumi.get(__response__, 'configured_table_association_identifier'), + description=pulumi.get(__response__, 'description'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cleanrooms/get_id_mapping_table.py b/sdk/python/pulumi_aws_native/cleanrooms/get_id_mapping_table.py index 944c51887c..4d66c68085 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/get_id_mapping_table.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/get_id_mapping_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -156,9 +161,6 @@ def get_id_mapping_table(id_mapping_table_identifier: Optional[str] = None, kms_key_arn=pulumi.get(__ret__, 'kms_key_arn'), membership_arn=pulumi.get(__ret__, 'membership_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_id_mapping_table) def get_id_mapping_table_output(id_mapping_table_identifier: Optional[pulumi.Input[str]] = None, membership_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIdMappingTableResult]: @@ -168,4 +170,18 @@ def get_id_mapping_table_output(id_mapping_table_identifier: Optional[pulumi.Inp :param str membership_identifier: The unique identifier of the membership resource for the ID mapping table. """ - ... + __args__ = dict() + __args__['idMappingTableIdentifier'] = id_mapping_table_identifier + __args__['membershipIdentifier'] = membership_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cleanrooms:getIdMappingTable', __args__, opts=opts, typ=GetIdMappingTableResult) + return __ret__.apply(lambda __response__: GetIdMappingTableResult( + arn=pulumi.get(__response__, 'arn'), + collaboration_arn=pulumi.get(__response__, 'collaboration_arn'), + collaboration_identifier=pulumi.get(__response__, 'collaboration_identifier'), + description=pulumi.get(__response__, 'description'), + id_mapping_table_identifier=pulumi.get(__response__, 'id_mapping_table_identifier'), + input_reference_properties=pulumi.get(__response__, 'input_reference_properties'), + kms_key_arn=pulumi.get(__response__, 'kms_key_arn'), + membership_arn=pulumi.get(__response__, 'membership_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cleanrooms/get_id_namespace_association.py b/sdk/python/pulumi_aws_native/cleanrooms/get_id_namespace_association.py index 693fa0b792..3831683f73 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/get_id_namespace_association.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/get_id_namespace_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -166,9 +171,6 @@ def get_id_namespace_association(id_namespace_association_identifier: Optional[s membership_arn=pulumi.get(__ret__, 'membership_arn'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_id_namespace_association) def get_id_namespace_association_output(id_namespace_association_identifier: Optional[pulumi.Input[str]] = None, membership_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIdNamespaceAssociationResult]: @@ -178,4 +180,19 @@ def get_id_namespace_association_output(id_namespace_association_identifier: Opt :param str membership_identifier: The unique identifier of the membership that contains the ID namespace association. """ - ... + __args__ = dict() + __args__['idNamespaceAssociationIdentifier'] = id_namespace_association_identifier + __args__['membershipIdentifier'] = membership_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cleanrooms:getIdNamespaceAssociation', __args__, opts=opts, typ=GetIdNamespaceAssociationResult) + return __ret__.apply(lambda __response__: GetIdNamespaceAssociationResult( + arn=pulumi.get(__response__, 'arn'), + collaboration_arn=pulumi.get(__response__, 'collaboration_arn'), + collaboration_identifier=pulumi.get(__response__, 'collaboration_identifier'), + description=pulumi.get(__response__, 'description'), + id_mapping_config=pulumi.get(__response__, 'id_mapping_config'), + id_namespace_association_identifier=pulumi.get(__response__, 'id_namespace_association_identifier'), + input_reference_properties=pulumi.get(__response__, 'input_reference_properties'), + membership_arn=pulumi.get(__response__, 'membership_arn'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cleanrooms/get_membership.py b/sdk/python/pulumi_aws_native/cleanrooms/get_membership.py index 76a4a76df6..0c8b670b73 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/get_membership.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/get_membership.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -160,9 +165,6 @@ def get_membership(membership_identifier: Optional[str] = None, payment_configuration=pulumi.get(__ret__, 'payment_configuration'), query_log_status=pulumi.get(__ret__, 'query_log_status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_membership) def get_membership_output(membership_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMembershipResult]: """ @@ -173,4 +175,16 @@ def get_membership_output(membership_identifier: Optional[pulumi.Input[str]] = N Example: `a1b2c3d4-5678-90ab-cdef-EXAMPLE22222` """ - ... + __args__ = dict() + __args__['membershipIdentifier'] = membership_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cleanrooms:getMembership', __args__, opts=opts, typ=GetMembershipResult) + return __ret__.apply(lambda __response__: GetMembershipResult( + arn=pulumi.get(__response__, 'arn'), + collaboration_arn=pulumi.get(__response__, 'collaboration_arn'), + collaboration_creator_account_id=pulumi.get(__response__, 'collaboration_creator_account_id'), + default_result_configuration=pulumi.get(__response__, 'default_result_configuration'), + membership_identifier=pulumi.get(__response__, 'membership_identifier'), + payment_configuration=pulumi.get(__response__, 'payment_configuration'), + query_log_status=pulumi.get(__response__, 'query_log_status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cleanrooms/get_privacy_budget_template.py b/sdk/python/pulumi_aws_native/cleanrooms/get_privacy_budget_template.py index 39bd0a6b45..a1e405041a 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/get_privacy_budget_template.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/get_privacy_budget_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -139,9 +144,6 @@ def get_privacy_budget_template(membership_identifier: Optional[str] = None, parameters=pulumi.get(__ret__, 'parameters'), privacy_budget_template_identifier=pulumi.get(__ret__, 'privacy_budget_template_identifier'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_privacy_budget_template) def get_privacy_budget_template_output(membership_identifier: Optional[pulumi.Input[str]] = None, privacy_budget_template_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivacyBudgetTemplateResult]: @@ -152,4 +154,16 @@ def get_privacy_budget_template_output(membership_identifier: Optional[pulumi.In :param str membership_identifier: The identifier for a membership resource. :param str privacy_budget_template_identifier: A unique identifier for one of your memberships for a collaboration. The privacy budget template is created in the collaboration that this membership belongs to. Accepts a membership ID. """ - ... + __args__ = dict() + __args__['membershipIdentifier'] = membership_identifier + __args__['privacyBudgetTemplateIdentifier'] = privacy_budget_template_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cleanrooms:getPrivacyBudgetTemplate', __args__, opts=opts, typ=GetPrivacyBudgetTemplateResult) + return __ret__.apply(lambda __response__: GetPrivacyBudgetTemplateResult( + arn=pulumi.get(__response__, 'arn'), + collaboration_arn=pulumi.get(__response__, 'collaboration_arn'), + collaboration_identifier=pulumi.get(__response__, 'collaboration_identifier'), + membership_arn=pulumi.get(__response__, 'membership_arn'), + parameters=pulumi.get(__response__, 'parameters'), + privacy_budget_template_identifier=pulumi.get(__response__, 'privacy_budget_template_identifier'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cleanrooms/id_mapping_table.py b/sdk/python/pulumi_aws_native/cleanrooms/id_mapping_table.py index ebb0422741..20ed091d72 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/id_mapping_table.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/id_mapping_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cleanrooms/id_namespace_association.py b/sdk/python/pulumi_aws_native/cleanrooms/id_namespace_association.py index a9197751d5..b84a2c1acd 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/id_namespace_association.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/id_namespace_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cleanrooms/membership.py b/sdk/python/pulumi_aws_native/cleanrooms/membership.py index 1f46d76fa8..bcf03e0b31 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/membership.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/membership.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cleanrooms/outputs.py b/sdk/python/pulumi_aws_native/cleanrooms/outputs.py index f8650f75ef..dc7a70ec68 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/outputs.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cleanrooms/privacy_budget_template.py b/sdk/python/pulumi_aws_native/cleanrooms/privacy_budget_template.py index 11223b89a1..4de950e470 100644 --- a/sdk/python/pulumi_aws_native/cleanrooms/privacy_budget_template.py +++ b/sdk/python/pulumi_aws_native/cleanrooms/privacy_budget_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cleanroomsml/_inputs.py b/sdk/python/pulumi_aws_native/cleanroomsml/_inputs.py index d2f9f3f58a..b178e9c3de 100644 --- a/sdk/python/pulumi_aws_native/cleanroomsml/_inputs.py +++ b/sdk/python/pulumi_aws_native/cleanroomsml/_inputs.py @@ -4,20 +4,45 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'TrainingDatasetColumnSchemaArgs', + 'TrainingDatasetColumnSchemaArgsDict', 'TrainingDatasetDataSourceArgs', + 'TrainingDatasetDataSourceArgsDict', 'TrainingDatasetDatasetInputConfigArgs', + 'TrainingDatasetDatasetInputConfigArgsDict', 'TrainingDatasetDatasetArgs', + 'TrainingDatasetDatasetArgsDict', 'TrainingDatasetGlueDataSourceArgs', + 'TrainingDatasetGlueDataSourceArgsDict', ] +MYPY = False + +if not MYPY: + class TrainingDatasetColumnSchemaArgsDict(TypedDict): + column_name: pulumi.Input[str] + """ + The name of a column. + """ + column_types: pulumi.Input[Sequence[pulumi.Input['TrainingDatasetColumnType']]] + """ + The data type of column. + """ +elif False: + TrainingDatasetColumnSchemaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrainingDatasetColumnSchemaArgs: def __init__(__self__, *, @@ -55,6 +80,15 @@ def column_types(self, value: pulumi.Input[Sequence[pulumi.Input['TrainingDatase pulumi.set(self, "column_types", value) +if not MYPY: + class TrainingDatasetDataSourceArgsDict(TypedDict): + glue_data_source: pulumi.Input['TrainingDatasetGlueDataSourceArgsDict'] + """ + A GlueDataSource object that defines the catalog ID, database name, and table name for the training data. + """ +elif False: + TrainingDatasetDataSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrainingDatasetDataSourceArgs: def __init__(__self__, *, @@ -77,6 +111,19 @@ def glue_data_source(self, value: pulumi.Input['TrainingDatasetGlueDataSourceArg pulumi.set(self, "glue_data_source", value) +if not MYPY: + class TrainingDatasetDatasetInputConfigArgsDict(TypedDict): + data_source: pulumi.Input['TrainingDatasetDataSourceArgsDict'] + """ + A DataSource object that specifies the Glue data source for the training data. + """ + schema: pulumi.Input[Sequence[pulumi.Input['TrainingDatasetColumnSchemaArgsDict']]] + """ + The schema information for the training data. + """ +elif False: + TrainingDatasetDatasetInputConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrainingDatasetDatasetInputConfigArgs: def __init__(__self__, *, @@ -114,6 +161,19 @@ def schema(self, value: pulumi.Input[Sequence[pulumi.Input['TrainingDatasetColum pulumi.set(self, "schema", value) +if not MYPY: + class TrainingDatasetDatasetArgsDict(TypedDict): + input_config: pulumi.Input['TrainingDatasetDatasetInputConfigArgsDict'] + """ + A DatasetInputConfig object that defines the data source and schema mapping. + """ + type: pulumi.Input['TrainingDatasetDatasetType'] + """ + What type of information is found in the dataset. + """ +elif False: + TrainingDatasetDatasetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrainingDatasetDatasetArgs: def __init__(__self__, *, @@ -151,6 +211,23 @@ def type(self, value: pulumi.Input['TrainingDatasetDatasetType']): pulumi.set(self, "type", value) +if not MYPY: + class TrainingDatasetGlueDataSourceArgsDict(TypedDict): + database_name: pulumi.Input[str] + """ + The Glue database that contains the training data. + """ + table_name: pulumi.Input[str] + """ + The Glue table that contains the training data. + """ + catalog_id: NotRequired[pulumi.Input[str]] + """ + The Glue catalog that contains the training data. + """ +elif False: + TrainingDatasetGlueDataSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrainingDatasetGlueDataSourceArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/cleanroomsml/get_training_dataset.py b/sdk/python/pulumi_aws_native/cleanroomsml/get_training_dataset.py index 1717cfd5f5..74ec14ddc5 100644 --- a/sdk/python/pulumi_aws_native/cleanroomsml/get_training_dataset.py +++ b/sdk/python/pulumi_aws_native/cleanroomsml/get_training_dataset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -84,9 +89,6 @@ def get_training_dataset(training_dataset_arn: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), training_dataset_arn=pulumi.get(__ret__, 'training_dataset_arn')) - - -@_utilities.lift_output_func(get_training_dataset) def get_training_dataset_output(training_dataset_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTrainingDatasetResult]: """ @@ -95,4 +97,11 @@ def get_training_dataset_output(training_dataset_arn: Optional[pulumi.Input[str] :param str training_dataset_arn: The Amazon Resource Name (ARN) of the training dataset. """ - ... + __args__ = dict() + __args__['trainingDatasetArn'] = training_dataset_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cleanroomsml:getTrainingDataset', __args__, opts=opts, typ=GetTrainingDatasetResult) + return __ret__.apply(lambda __response__: GetTrainingDatasetResult( + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + training_dataset_arn=pulumi.get(__response__, 'training_dataset_arn'))) diff --git a/sdk/python/pulumi_aws_native/cleanroomsml/outputs.py b/sdk/python/pulumi_aws_native/cleanroomsml/outputs.py index 58b175c064..126d251981 100644 --- a/sdk/python/pulumi_aws_native/cleanroomsml/outputs.py +++ b/sdk/python/pulumi_aws_native/cleanroomsml/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cleanroomsml/training_dataset.py b/sdk/python/pulumi_aws_native/cleanroomsml/training_dataset.py index 905c44ef91..cd4e3e43c0 100644 --- a/sdk/python/pulumi_aws_native/cleanroomsml/training_dataset.py +++ b/sdk/python/pulumi_aws_native/cleanroomsml/training_dataset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cloudformation/_inputs.py b/sdk/python/pulumi_aws_native/cloudformation/_inputs.py index ea198bb502..2a247e6147 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/_inputs.py +++ b/sdk/python/pulumi_aws_native/cloudformation/_inputs.py @@ -4,24 +4,53 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'HookVersionLoggingConfigArgs', + 'HookVersionLoggingConfigArgsDict', 'ManagedExecutionPropertiesArgs', + 'ManagedExecutionPropertiesArgsDict', 'ResourceVersionLoggingConfigArgs', + 'ResourceVersionLoggingConfigArgsDict', 'StackSetAutoDeploymentArgs', + 'StackSetAutoDeploymentArgsDict', 'StackSetDeploymentTargetsArgs', + 'StackSetDeploymentTargetsArgsDict', 'StackSetOperationPreferencesArgs', + 'StackSetOperationPreferencesArgsDict', 'StackSetParameterArgs', + 'StackSetParameterArgsDict', 'StackSetStackInstancesArgs', + 'StackSetStackInstancesArgsDict', 'TypeActivationLoggingConfigArgs', + 'TypeActivationLoggingConfigArgsDict', ] +MYPY = False + +if not MYPY: + class HookVersionLoggingConfigArgsDict(TypedDict): + log_group_name: NotRequired[pulumi.Input[str]] + """ + The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the type's handlers. + """ + log_role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs. + """ +elif False: + HookVersionLoggingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class HookVersionLoggingConfigArgs: def __init__(__self__, *, @@ -61,6 +90,24 @@ def log_role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_role_arn", value) +if not MYPY: + class ManagedExecutionPropertiesArgsDict(TypedDict): + """ + Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations. + """ + active: NotRequired[pulumi.Input[bool]] + """ + When `true` , StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order. + + > If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting. + > + > You can't modify your stack set's execution configuration while there are running or queued operations for that stack set. + + When `false` (default), StackSets performs one operation at a time in request order. + """ +elif False: + ManagedExecutionPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ManagedExecutionPropertiesArgs: def __init__(__self__, *, @@ -97,6 +144,19 @@ def active(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "active", value) +if not MYPY: + class ResourceVersionLoggingConfigArgsDict(TypedDict): + log_group_name: NotRequired[pulumi.Input[str]] + """ + The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the type's handlers. + """ + log_role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs. + """ +elif False: + ResourceVersionLoggingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceVersionLoggingConfigArgs: def __init__(__self__, *, @@ -136,6 +196,19 @@ def log_role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_role_arn", value) +if not MYPY: + class StackSetAutoDeploymentArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + If set to true, StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions. + """ + retain_stacks_on_account_removal: NotRequired[pulumi.Input[bool]] + """ + If set to true, stack resources are retained when an account is removed from a target organization or OU. If set to false, stack resources are deleted. Specify only if Enabled is set to True. + """ +elif False: + StackSetAutoDeploymentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StackSetAutoDeploymentArgs: def __init__(__self__, *, @@ -175,6 +248,30 @@ def retain_stacks_on_account_removal(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "retain_stacks_on_account_removal", value) +if not MYPY: + class StackSetDeploymentTargetsArgsDict(TypedDict): + """ + The AWS OrganizationalUnitIds or Accounts for which to create stack instances in the specified Regions. + """ + account_filter_type: NotRequired[pulumi.Input['StackSetDeploymentTargetsAccountFilterType']] + """ + The filter type you want to apply on organizational units and accounts. + """ + accounts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + AWS accounts that you want to create stack instances in the specified Region(s) for. + """ + accounts_url: NotRequired[pulumi.Input[str]] + """ + Returns the value of the AccountsUrl property. + """ + organizational_unit_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The organization root ID or organizational unit (OU) IDs to which StackSets deploys. + """ +elif False: + StackSetDeploymentTargetsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StackSetDeploymentTargetsArgs: def __init__(__self__, *, @@ -247,6 +344,65 @@ def organizational_unit_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "organizational_unit_ids", value) +if not MYPY: + class StackSetOperationPreferencesArgsDict(TypedDict): + """ + The user-specified preferences for how AWS CloudFormation performs a stack set operation. + """ + concurrency_mode: NotRequired[pulumi.Input['StackSetConcurrencyMode']] + """ + Specifies how the concurrency level behaves during the operation execution. + + - `STRICT_FAILURE_TOLERANCE` : This option dynamically lowers the concurrency level to ensure the number of failed accounts never exceeds the value of `FailureToleranceCount` +1. The initial actual concurrency is set to the lower of either the value of the `MaxConcurrentCount` , or the value of `FailureToleranceCount` +1. The actual concurrency is then reduced proportionally by the number of failures. This is the default behavior. + + If failure tolerance or Maximum concurrent accounts are set to percentages, the behavior is similar. + - `SOFT_FAILURE_TOLERANCE` : This option decouples `FailureToleranceCount` from the actual concurrency. This allows stack set operations to run at the concurrency level set by the `MaxConcurrentCount` value, or `MaxConcurrentPercentage` , regardless of the number of failures. + """ + failure_tolerance_count: NotRequired[pulumi.Input[int]] + """ + The number of accounts, per Region, for which this operation can fail before AWS CloudFormation stops the operation in that Region. If the operation is stopped in a Region, AWS CloudFormation doesn't attempt the operation in any subsequent Regions. + + Conditional: You must specify either `FailureToleranceCount` or `FailureTolerancePercentage` (but not both). + """ + failure_tolerance_percentage: NotRequired[pulumi.Input[int]] + """ + The percentage of accounts, per Region, for which this stack operation can fail before AWS CloudFormation stops the operation in that Region. If the operation is stopped in a Region, AWS CloudFormation doesn't attempt the operation in any subsequent Regions. + + When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds *down* to the next whole number. + + Conditional: You must specify either `FailureToleranceCount` or `FailureTolerancePercentage` , but not both. + """ + max_concurrent_count: NotRequired[pulumi.Input[int]] + """ + The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of `FailureToleranceCount` . `MaxConcurrentCount` is at most one more than the `FailureToleranceCount` . + + Note that this setting lets you specify the *maximum* for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. + + Conditional: You must specify either `MaxConcurrentCount` or `MaxConcurrentPercentage` , but not both. + """ + max_concurrent_percentage: NotRequired[pulumi.Input[int]] + """ + The maximum percentage of accounts in which to perform this operation at one time. + + When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead. + + Note that this setting lets you specify the *maximum* for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. + + Conditional: You must specify either `MaxConcurrentCount` or `MaxConcurrentPercentage` , but not both. + """ + region_concurrency_type: NotRequired[pulumi.Input['StackSetRegionConcurrencyType']] + """ + The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time. + """ + region_order: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The order of the Regions where you want to perform the stack operation. + + > `RegionOrder` isn't followed if `AutoDeployment` is enabled. + """ +elif False: + StackSetOperationPreferencesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StackSetOperationPreferencesArgs: def __init__(__self__, *, @@ -413,6 +569,19 @@ def region_order(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]] pulumi.set(self, "region_order", value) +if not MYPY: + class StackSetParameterArgsDict(TypedDict): + parameter_key: pulumi.Input[str] + """ + The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template. + """ + parameter_value: pulumi.Input[str] + """ + The input value associated with the parameter. + """ +elif False: + StackSetParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StackSetParameterArgs: def __init__(__self__, *, @@ -450,6 +619,26 @@ def parameter_value(self, value: pulumi.Input[str]): pulumi.set(self, "parameter_value", value) +if not MYPY: + class StackSetStackInstancesArgsDict(TypedDict): + """ + Stack instances in some specific accounts and Regions. + """ + deployment_targets: pulumi.Input['StackSetDeploymentTargetsArgsDict'] + """ + The AWS `OrganizationalUnitIds` or `Accounts` for which to create stack instances in the specified Regions. + """ + regions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The names of one or more Regions where you want to create stack instances using the specified AWS account(s). + """ + parameter_overrides: NotRequired[pulumi.Input[Sequence[pulumi.Input['StackSetParameterArgsDict']]]] + """ + A list of stack set parameters whose values you want to override in the selected stack instances. + """ +elif False: + StackSetStackInstancesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StackSetStackInstancesArgs: def __init__(__self__, *, @@ -504,6 +693,19 @@ def parameter_overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "parameter_overrides", value) +if not MYPY: + class TypeActivationLoggingConfigArgsDict(TypedDict): + log_group_name: NotRequired[pulumi.Input[str]] + """ + The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the type's handlers. + """ + log_role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs. + """ +elif False: + TypeActivationLoggingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TypeActivationLoggingConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_hook_default_version.py b/sdk/python/pulumi_aws_native/cloudformation/get_hook_default_version.py index 27f416231b..3f3e781da1 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_hook_default_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_hook_default_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -97,9 +102,6 @@ def get_hook_default_version(arn: Optional[str] = None, type_name=pulumi.get(__ret__, 'type_name'), type_version_arn=pulumi.get(__ret__, 'type_version_arn'), version_id=pulumi.get(__ret__, 'version_id')) - - -@_utilities.lift_output_func(get_hook_default_version) def get_hook_default_version_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHookDefaultVersionResult]: """ @@ -108,4 +110,12 @@ def get_hook_default_version_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudformation:getHookDefaultVersion', __args__, opts=opts, typ=GetHookDefaultVersionResult) + return __ret__.apply(lambda __response__: GetHookDefaultVersionResult( + arn=pulumi.get(__response__, 'arn'), + type_name=pulumi.get(__response__, 'type_name'), + type_version_arn=pulumi.get(__response__, 'type_version_arn'), + version_id=pulumi.get(__response__, 'version_id'))) diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_hook_type_config.py b/sdk/python/pulumi_aws_native/cloudformation/get_hook_type_config.py index 94fe6ee407..1dc4fd856b 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_hook_type_config.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_hook_type_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -97,9 +102,6 @@ def get_hook_type_config(configuration_arn: Optional[str] = None, configuration_arn=pulumi.get(__ret__, 'configuration_arn'), type_arn=pulumi.get(__ret__, 'type_arn'), type_name=pulumi.get(__ret__, 'type_name')) - - -@_utilities.lift_output_func(get_hook_type_config) def get_hook_type_config_output(configuration_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHookTypeConfigResult]: """ @@ -108,4 +110,12 @@ def get_hook_type_config_output(configuration_arn: Optional[pulumi.Input[str]] = :param str configuration_arn: The Amazon Resource Name (ARN) for the configuration data, in this account and region. """ - ... + __args__ = dict() + __args__['configurationArn'] = configuration_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudformation:getHookTypeConfig', __args__, opts=opts, typ=GetHookTypeConfigResult) + return __ret__.apply(lambda __response__: GetHookTypeConfigResult( + configuration=pulumi.get(__response__, 'configuration'), + configuration_arn=pulumi.get(__response__, 'configuration_arn'), + type_arn=pulumi.get(__response__, 'type_arn'), + type_name=pulumi.get(__response__, 'type_name'))) diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_hook_version.py b/sdk/python/pulumi_aws_native/cloudformation/get_hook_version.py index a645db57c9..68a243996f 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_hook_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_hook_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -115,9 +120,6 @@ def get_hook_version(arn: Optional[str] = None, type_arn=pulumi.get(__ret__, 'type_arn'), version_id=pulumi.get(__ret__, 'version_id'), visibility=pulumi.get(__ret__, 'visibility')) - - -@_utilities.lift_output_func(get_hook_version) def get_hook_version_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHookVersionResult]: """ @@ -126,4 +128,13 @@ def get_hook_version_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudformation:getHookVersion', __args__, opts=opts, typ=GetHookVersionResult) + return __ret__.apply(lambda __response__: GetHookVersionResult( + arn=pulumi.get(__response__, 'arn'), + is_default_version=pulumi.get(__response__, 'is_default_version'), + type_arn=pulumi.get(__response__, 'type_arn'), + version_id=pulumi.get(__response__, 'version_id'), + visibility=pulumi.get(__response__, 'visibility'))) diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_module_version.py b/sdk/python/pulumi_aws_native/cloudformation/get_module_version.py index 04be213083..b9850e06c5 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_module_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_module_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -152,9 +157,6 @@ def get_module_version(arn: Optional[str] = None, time_created=pulumi.get(__ret__, 'time_created'), version_id=pulumi.get(__ret__, 'version_id'), visibility=pulumi.get(__ret__, 'visibility')) - - -@_utilities.lift_output_func(get_module_version) def get_module_version_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetModuleVersionResult]: """ @@ -163,4 +165,16 @@ def get_module_version_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the module. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudformation:getModuleVersion', __args__, opts=opts, typ=GetModuleVersionResult) + return __ret__.apply(lambda __response__: GetModuleVersionResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + documentation_url=pulumi.get(__response__, 'documentation_url'), + is_default_version=pulumi.get(__response__, 'is_default_version'), + schema=pulumi.get(__response__, 'schema'), + time_created=pulumi.get(__response__, 'time_created'), + version_id=pulumi.get(__response__, 'version_id'), + visibility=pulumi.get(__response__, 'visibility'))) diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_public_type_version.py b/sdk/python/pulumi_aws_native/cloudformation/get_public_type_version.py index 0949a6d164..338e20c57c 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_public_type_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_public_type_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_public_type_version(public_type_arn: Optional[str] = None, public_type_arn=pulumi.get(__ret__, 'public_type_arn'), publisher_id=pulumi.get(__ret__, 'publisher_id'), type_version_arn=pulumi.get(__ret__, 'type_version_arn')) - - -@_utilities.lift_output_func(get_public_type_version) def get_public_type_version_output(public_type_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPublicTypeVersionResult]: """ @@ -93,4 +95,11 @@ def get_public_type_version_output(public_type_arn: Optional[pulumi.Input[str]] :param str public_type_arn: The Amazon Resource Number (ARN) assigned to the public extension upon publication """ - ... + __args__ = dict() + __args__['publicTypeArn'] = public_type_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudformation:getPublicTypeVersion', __args__, opts=opts, typ=GetPublicTypeVersionResult) + return __ret__.apply(lambda __response__: GetPublicTypeVersionResult( + public_type_arn=pulumi.get(__response__, 'public_type_arn'), + publisher_id=pulumi.get(__response__, 'publisher_id'), + type_version_arn=pulumi.get(__response__, 'type_version_arn'))) diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_publisher.py b/sdk/python/pulumi_aws_native/cloudformation/get_publisher.py index 3f7568e010..356950c925 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_publisher.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_publisher.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -96,9 +101,6 @@ def get_publisher(publisher_id: Optional[str] = None, publisher_id=pulumi.get(__ret__, 'publisher_id'), publisher_profile=pulumi.get(__ret__, 'publisher_profile'), publisher_status=pulumi.get(__ret__, 'publisher_status')) - - -@_utilities.lift_output_func(get_publisher) def get_publisher_output(publisher_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPublisherResult]: """ @@ -107,4 +109,12 @@ def get_publisher_output(publisher_id: Optional[pulumi.Input[str]] = None, :param str publisher_id: The publisher id assigned by CloudFormation for publishing in this region. """ - ... + __args__ = dict() + __args__['publisherId'] = publisher_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudformation:getPublisher', __args__, opts=opts, typ=GetPublisherResult) + return __ret__.apply(lambda __response__: GetPublisherResult( + identity_provider=pulumi.get(__response__, 'identity_provider'), + publisher_id=pulumi.get(__response__, 'publisher_id'), + publisher_profile=pulumi.get(__response__, 'publisher_profile'), + publisher_status=pulumi.get(__response__, 'publisher_status'))) diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_resource_default_version.py b/sdk/python/pulumi_aws_native/cloudformation/get_resource_default_version.py index efd9aa52ec..0263c8b93f 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_resource_default_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_resource_default_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -97,9 +102,6 @@ def get_resource_default_version(arn: Optional[str] = None, type_name=pulumi.get(__ret__, 'type_name'), type_version_arn=pulumi.get(__ret__, 'type_version_arn'), version_id=pulumi.get(__ret__, 'version_id')) - - -@_utilities.lift_output_func(get_resource_default_version) def get_resource_default_version_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceDefaultVersionResult]: """ @@ -108,4 +110,12 @@ def get_resource_default_version_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudformation:getResourceDefaultVersion', __args__, opts=opts, typ=GetResourceDefaultVersionResult) + return __ret__.apply(lambda __response__: GetResourceDefaultVersionResult( + arn=pulumi.get(__response__, 'arn'), + type_name=pulumi.get(__response__, 'type_name'), + type_version_arn=pulumi.get(__response__, 'type_version_arn'), + version_id=pulumi.get(__response__, 'version_id'))) diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_resource_version.py b/sdk/python/pulumi_aws_native/cloudformation/get_resource_version.py index 9611d29f83..4a4b68b7ef 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_resource_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_resource_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -128,9 +133,6 @@ def get_resource_version(arn: Optional[str] = None, type_arn=pulumi.get(__ret__, 'type_arn'), version_id=pulumi.get(__ret__, 'version_id'), visibility=pulumi.get(__ret__, 'visibility')) - - -@_utilities.lift_output_func(get_resource_version) def get_resource_version_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceVersionResult]: """ @@ -139,4 +141,14 @@ def get_resource_version_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudformation:getResourceVersion', __args__, opts=opts, typ=GetResourceVersionResult) + return __ret__.apply(lambda __response__: GetResourceVersionResult( + arn=pulumi.get(__response__, 'arn'), + is_default_version=pulumi.get(__response__, 'is_default_version'), + provisioning_type=pulumi.get(__response__, 'provisioning_type'), + type_arn=pulumi.get(__response__, 'type_arn'), + version_id=pulumi.get(__response__, 'version_id'), + visibility=pulumi.get(__response__, 'visibility'))) diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_stack.py b/sdk/python/pulumi_aws_native/cloudformation/get_stack.py index 4d77deacdb..61cb5efcf7 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_stack.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_stack.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -363,9 +368,6 @@ def get_stack(stack_id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), template_body=pulumi.get(__ret__, 'template_body'), timeout_in_minutes=pulumi.get(__ret__, 'timeout_in_minutes')) - - -@_utilities.lift_output_func(get_stack) def get_stack_output(stack_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStackResult]: """ @@ -374,4 +376,28 @@ def get_stack_output(stack_id: Optional[pulumi.Input[str]] = None, :param str stack_id: Unique identifier of the stack. """ - ... + __args__ = dict() + __args__['stackId'] = stack_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudformation:getStack', __args__, opts=opts, typ=GetStackResult) + return __ret__.apply(lambda __response__: GetStackResult( + capabilities=pulumi.get(__response__, 'capabilities'), + change_set_id=pulumi.get(__response__, 'change_set_id'), + creation_time=pulumi.get(__response__, 'creation_time'), + description=pulumi.get(__response__, 'description'), + disable_rollback=pulumi.get(__response__, 'disable_rollback'), + enable_termination_protection=pulumi.get(__response__, 'enable_termination_protection'), + last_update_time=pulumi.get(__response__, 'last_update_time'), + notification_arns=pulumi.get(__response__, 'notification_arns'), + outputs=pulumi.get(__response__, 'outputs'), + parameters=pulumi.get(__response__, 'parameters'), + parent_id=pulumi.get(__response__, 'parent_id'), + role_arn=pulumi.get(__response__, 'role_arn'), + root_id=pulumi.get(__response__, 'root_id'), + stack_id=pulumi.get(__response__, 'stack_id'), + stack_policy_body=pulumi.get(__response__, 'stack_policy_body'), + stack_status=pulumi.get(__response__, 'stack_status'), + stack_status_reason=pulumi.get(__response__, 'stack_status_reason'), + tags=pulumi.get(__response__, 'tags'), + template_body=pulumi.get(__response__, 'template_body'), + timeout_in_minutes=pulumi.get(__response__, 'timeout_in_minutes'))) diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_stack_set.py b/sdk/python/pulumi_aws_native/cloudformation/get_stack_set.py index ce2e70a480..ca8e7404b2 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_stack_set.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_stack_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -176,9 +181,6 @@ def get_stack_set(stack_set_id: Optional[str] = None, stack_set_id=pulumi.get(__ret__, 'stack_set_id'), tags=pulumi.get(__ret__, 'tags'), template_body=pulumi.get(__ret__, 'template_body')) - - -@_utilities.lift_output_func(get_stack_set) def get_stack_set_output(stack_set_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStackSetResult]: """ @@ -187,4 +189,18 @@ def get_stack_set_output(stack_set_id: Optional[pulumi.Input[str]] = None, :param str stack_set_id: The ID of the stack set that you're creating. """ - ... + __args__ = dict() + __args__['stackSetId'] = stack_set_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudformation:getStackSet', __args__, opts=opts, typ=GetStackSetResult) + return __ret__.apply(lambda __response__: GetStackSetResult( + administration_role_arn=pulumi.get(__response__, 'administration_role_arn'), + auto_deployment=pulumi.get(__response__, 'auto_deployment'), + capabilities=pulumi.get(__response__, 'capabilities'), + description=pulumi.get(__response__, 'description'), + execution_role_name=pulumi.get(__response__, 'execution_role_name'), + managed_execution=pulumi.get(__response__, 'managed_execution'), + parameters=pulumi.get(__response__, 'parameters'), + stack_set_id=pulumi.get(__response__, 'stack_set_id'), + tags=pulumi.get(__response__, 'tags'), + template_body=pulumi.get(__response__, 'template_body'))) diff --git a/sdk/python/pulumi_aws_native/cloudformation/get_type_activation.py b/sdk/python/pulumi_aws_native/cloudformation/get_type_activation.py index 9943a3b99d..662aa3c412 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/get_type_activation.py +++ b/sdk/python/pulumi_aws_native/cloudformation/get_type_activation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -110,9 +115,6 @@ def get_type_activation(arn: Optional[str] = None, publisher_id=pulumi.get(__ret__, 'publisher_id'), type_name=pulumi.get(__ret__, 'type_name'), type_name_alias=pulumi.get(__ret__, 'type_name_alias')) - - -@_utilities.lift_output_func(get_type_activation) def get_type_activation_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTypeActivationResult]: """ @@ -121,4 +123,13 @@ def get_type_activation_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the extension. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudformation:getTypeActivation', __args__, opts=opts, typ=GetTypeActivationResult) + return __ret__.apply(lambda __response__: GetTypeActivationResult( + arn=pulumi.get(__response__, 'arn'), + public_type_arn=pulumi.get(__response__, 'public_type_arn'), + publisher_id=pulumi.get(__response__, 'publisher_id'), + type_name=pulumi.get(__response__, 'type_name'), + type_name_alias=pulumi.get(__response__, 'type_name_alias'))) diff --git a/sdk/python/pulumi_aws_native/cloudformation/hook_default_version.py b/sdk/python/pulumi_aws_native/cloudformation/hook_default_version.py index cd59491eac..e5bfba7d17 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/hook_default_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/hook_default_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['HookDefaultVersionArgs', 'HookDefaultVersion'] diff --git a/sdk/python/pulumi_aws_native/cloudformation/hook_type_config.py b/sdk/python/pulumi_aws_native/cloudformation/hook_type_config.py index 1512b66b4e..1c57e2f4ce 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/hook_type_config.py +++ b/sdk/python/pulumi_aws_native/cloudformation/hook_type_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudformation/hook_version.py b/sdk/python/pulumi_aws_native/cloudformation/hook_version.py index fa8d326ef1..63d7d91d49 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/hook_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/hook_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudformation/module_default_version.py b/sdk/python/pulumi_aws_native/cloudformation/module_default_version.py index 886f43acb3..d89d7e91ff 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/module_default_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/module_default_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ModuleDefaultVersionArgs', 'ModuleDefaultVersion'] diff --git a/sdk/python/pulumi_aws_native/cloudformation/module_version.py b/sdk/python/pulumi_aws_native/cloudformation/module_version.py index a1dbc56c8d..1142f0d396 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/module_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/module_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudformation/outputs.py b/sdk/python/pulumi_aws_native/cloudformation/outputs.py index a70f979d46..9013c48ffd 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/outputs.py +++ b/sdk/python/pulumi_aws_native/cloudformation/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudformation/public_type_version.py b/sdk/python/pulumi_aws_native/cloudformation/public_type_version.py index 2edbe3facc..22bfce2cc9 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/public_type_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/public_type_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudformation/publisher.py b/sdk/python/pulumi_aws_native/cloudformation/publisher.py index 9e69dfc91f..7c94e386b2 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/publisher.py +++ b/sdk/python/pulumi_aws_native/cloudformation/publisher.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudformation/resource_default_version.py b/sdk/python/pulumi_aws_native/cloudformation/resource_default_version.py index 8cfb50fe3f..805dcf89b7 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/resource_default_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/resource_default_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ResourceDefaultVersionArgs', 'ResourceDefaultVersion'] diff --git a/sdk/python/pulumi_aws_native/cloudformation/resource_version.py b/sdk/python/pulumi_aws_native/cloudformation/resource_version.py index 359b5dcb1b..bf1453d14b 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/resource_version.py +++ b/sdk/python/pulumi_aws_native/cloudformation/resource_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudformation/stack.py b/sdk/python/pulumi_aws_native/cloudformation/stack.py index 1fd6d459c0..8aaa3db362 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/stack.py +++ b/sdk/python/pulumi_aws_native/cloudformation/stack.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cloudformation/stack_set.py b/sdk/python/pulumi_aws_native/cloudformation/stack_set.py index 8af743d65e..5f86fcb52b 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/stack_set.py +++ b/sdk/python/pulumi_aws_native/cloudformation/stack_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cloudformation/type_activation.py b/sdk/python/pulumi_aws_native/cloudformation/type_activation.py index df8e284b57..d99bc32f0e 100644 --- a/sdk/python/pulumi_aws_native/cloudformation/type_activation.py +++ b/sdk/python/pulumi_aws_native/cloudformation/type_activation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/_inputs.py b/sdk/python/pulumi_aws_native/cloudfront/_inputs.py index 46c0cccbf2..6944492eaf 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/_inputs.py +++ b/sdk/python/pulumi_aws_native/cloudfront/_inputs.py @@ -4,86 +4,197 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CachePolicyConfigArgs', + 'CachePolicyConfigArgsDict', 'CachePolicyCookiesConfigArgs', + 'CachePolicyCookiesConfigArgsDict', 'CachePolicyHeadersConfigArgs', + 'CachePolicyHeadersConfigArgsDict', 'CachePolicyParametersInCacheKeyAndForwardedToOriginArgs', + 'CachePolicyParametersInCacheKeyAndForwardedToOriginArgsDict', 'CachePolicyQueryStringsConfigArgs', + 'CachePolicyQueryStringsConfigArgsDict', 'CloudFrontOriginAccessIdentityConfigArgs', + 'CloudFrontOriginAccessIdentityConfigArgsDict', 'ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigPropertiesArgs', + 'ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigPropertiesArgsDict', 'ContinuousDeploymentPolicyConfigSingleWeightPolicyConfigPropertiesArgs', + 'ContinuousDeploymentPolicyConfigSingleWeightPolicyConfigPropertiesArgsDict', 'ContinuousDeploymentPolicyConfigArgs', + 'ContinuousDeploymentPolicyConfigArgsDict', 'ContinuousDeploymentPolicySessionStickinessConfigArgs', + 'ContinuousDeploymentPolicySessionStickinessConfigArgsDict', 'ContinuousDeploymentPolicySingleHeaderConfigArgs', + 'ContinuousDeploymentPolicySingleHeaderConfigArgsDict', 'ContinuousDeploymentPolicySingleWeightConfigArgs', + 'ContinuousDeploymentPolicySingleWeightConfigArgsDict', 'ContinuousDeploymentPolicyTrafficConfigArgs', + 'ContinuousDeploymentPolicyTrafficConfigArgsDict', 'DistributionCacheBehaviorArgs', + 'DistributionCacheBehaviorArgsDict', 'DistributionConfigArgs', + 'DistributionConfigArgsDict', 'DistributionCookiesArgs', + 'DistributionCookiesArgsDict', 'DistributionCustomErrorResponseArgs', + 'DistributionCustomErrorResponseArgsDict', 'DistributionCustomOriginConfigArgs', + 'DistributionCustomOriginConfigArgsDict', 'DistributionDefaultCacheBehaviorArgs', + 'DistributionDefaultCacheBehaviorArgsDict', 'DistributionForwardedValuesArgs', + 'DistributionForwardedValuesArgsDict', 'DistributionFunctionAssociationArgs', + 'DistributionFunctionAssociationArgsDict', 'DistributionGeoRestrictionArgs', + 'DistributionGeoRestrictionArgsDict', 'DistributionLambdaFunctionAssociationArgs', + 'DistributionLambdaFunctionAssociationArgsDict', 'DistributionLegacyCustomOriginArgs', + 'DistributionLegacyCustomOriginArgsDict', 'DistributionLegacyS3OriginArgs', + 'DistributionLegacyS3OriginArgsDict', 'DistributionLoggingArgs', + 'DistributionLoggingArgsDict', 'DistributionOriginCustomHeaderArgs', + 'DistributionOriginCustomHeaderArgsDict', 'DistributionOriginGroupFailoverCriteriaArgs', + 'DistributionOriginGroupFailoverCriteriaArgsDict', 'DistributionOriginGroupMembersArgs', + 'DistributionOriginGroupMembersArgsDict', 'DistributionOriginGroupMemberArgs', + 'DistributionOriginGroupMemberArgsDict', 'DistributionOriginGroupsArgs', + 'DistributionOriginGroupsArgsDict', 'DistributionOriginGroupArgs', + 'DistributionOriginGroupArgsDict', 'DistributionOriginShieldArgs', + 'DistributionOriginShieldArgsDict', 'DistributionOriginArgs', + 'DistributionOriginArgsDict', 'DistributionRestrictionsArgs', + 'DistributionRestrictionsArgsDict', 'DistributionS3OriginConfigArgs', + 'DistributionS3OriginConfigArgsDict', 'DistributionStatusCodesArgs', + 'DistributionStatusCodesArgsDict', 'DistributionViewerCertificateArgs', + 'DistributionViewerCertificateArgsDict', 'FunctionConfigArgs', + 'FunctionConfigArgsDict', 'FunctionKeyValueStoreAssociationArgs', + 'FunctionKeyValueStoreAssociationArgsDict', 'FunctionMetadataArgs', + 'FunctionMetadataArgsDict', 'KeyGroupConfigArgs', + 'KeyGroupConfigArgsDict', 'KeyValueStoreImportSourceArgs', + 'KeyValueStoreImportSourceArgsDict', 'MonitoringSubscriptionRealtimeMetricsSubscriptionConfigArgs', + 'MonitoringSubscriptionRealtimeMetricsSubscriptionConfigArgsDict', 'MonitoringSubscriptionArgs', + 'MonitoringSubscriptionArgsDict', 'OriginAccessControlConfigArgs', + 'OriginAccessControlConfigArgsDict', 'OriginRequestPolicyConfigArgs', + 'OriginRequestPolicyConfigArgsDict', 'OriginRequestPolicyCookiesConfigArgs', + 'OriginRequestPolicyCookiesConfigArgsDict', 'OriginRequestPolicyHeadersConfigArgs', + 'OriginRequestPolicyHeadersConfigArgsDict', 'OriginRequestPolicyQueryStringsConfigArgs', + 'OriginRequestPolicyQueryStringsConfigArgsDict', 'PublicKeyConfigArgs', + 'PublicKeyConfigArgsDict', 'RealtimeLogConfigEndPointArgs', + 'RealtimeLogConfigEndPointArgsDict', 'RealtimeLogConfigKinesisStreamConfigArgs', + 'RealtimeLogConfigKinesisStreamConfigArgsDict', 'ResponseHeadersPolicyAccessControlAllowHeadersArgs', + 'ResponseHeadersPolicyAccessControlAllowHeadersArgsDict', 'ResponseHeadersPolicyAccessControlAllowMethodsArgs', + 'ResponseHeadersPolicyAccessControlAllowMethodsArgsDict', 'ResponseHeadersPolicyAccessControlAllowOriginsArgs', + 'ResponseHeadersPolicyAccessControlAllowOriginsArgsDict', 'ResponseHeadersPolicyAccessControlExposeHeadersArgs', + 'ResponseHeadersPolicyAccessControlExposeHeadersArgsDict', 'ResponseHeadersPolicyConfigArgs', + 'ResponseHeadersPolicyConfigArgsDict', 'ResponseHeadersPolicyContentSecurityPolicyArgs', + 'ResponseHeadersPolicyContentSecurityPolicyArgsDict', 'ResponseHeadersPolicyContentTypeOptionsArgs', + 'ResponseHeadersPolicyContentTypeOptionsArgsDict', 'ResponseHeadersPolicyCorsConfigArgs', + 'ResponseHeadersPolicyCorsConfigArgsDict', 'ResponseHeadersPolicyCustomHeadersConfigArgs', + 'ResponseHeadersPolicyCustomHeadersConfigArgsDict', 'ResponseHeadersPolicyCustomHeaderArgs', + 'ResponseHeadersPolicyCustomHeaderArgsDict', 'ResponseHeadersPolicyFrameOptionsArgs', + 'ResponseHeadersPolicyFrameOptionsArgsDict', 'ResponseHeadersPolicyReferrerPolicyArgs', + 'ResponseHeadersPolicyReferrerPolicyArgsDict', 'ResponseHeadersPolicyRemoveHeadersConfigArgs', + 'ResponseHeadersPolicyRemoveHeadersConfigArgsDict', 'ResponseHeadersPolicyRemoveHeaderArgs', + 'ResponseHeadersPolicyRemoveHeaderArgsDict', 'ResponseHeadersPolicySecurityHeadersConfigArgs', + 'ResponseHeadersPolicySecurityHeadersConfigArgsDict', 'ResponseHeadersPolicyServerTimingHeadersConfigArgs', + 'ResponseHeadersPolicyServerTimingHeadersConfigArgsDict', 'ResponseHeadersPolicyStrictTransportSecurityArgs', + 'ResponseHeadersPolicyStrictTransportSecurityArgsDict', 'ResponseHeadersPolicyXssProtectionArgs', + 'ResponseHeadersPolicyXssProtectionArgsDict', ] +MYPY = False + +if not MYPY: + class CachePolicyConfigArgsDict(TypedDict): + default_ttl: pulumi.Input[float] + """ + The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object's time to live (TTL) only when the origin does *not* send `Cache-Control` or `Expires` headers with the object. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide* . + + The default value for this field is 86400 seconds (one day). If the value of `MinTTL` is more than 86400 seconds, then the default value for this field is the same as the value of `MinTTL` . + """ + max_ttl: pulumi.Input[float] + """ + The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends `Cache-Control` or `Expires` headers with the object. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide* . + + The default value for this field is 31536000 seconds (one year). If the value of `MinTTL` or `DefaultTTL` is more than 31536000 seconds, then the default value for this field is the same as the value of `DefaultTTL` . + """ + min_ttl: pulumi.Input[float] + """ + The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide* . + """ + name: pulumi.Input[str] + """ + A unique name to identify the cache policy. + """ + parameters_in_cache_key_and_forwarded_to_origin: pulumi.Input['CachePolicyParametersInCacheKeyAndForwardedToOriginArgsDict'] + """ + The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are also included in requests that CloudFront sends to the origin. + """ + comment: NotRequired[pulumi.Input[str]] + """ + A comment to describe the cache policy. The comment cannot be longer than 128 characters. + """ +elif False: + CachePolicyConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CachePolicyConfigArgs: def __init__(__self__, *, @@ -190,6 +301,24 @@ def comment(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "comment", value) +if not MYPY: + class CachePolicyCookiesConfigArgsDict(TypedDict): + cookie_behavior: pulumi.Input[str] + """ + Determines whether any cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are: + + - `none` – No cookies in viewer requests are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to `none` , any cookies that are listed in an `OriginRequestPolicy` *are* included in origin requests. + - `whitelist` – Only the cookies in viewer requests that are listed in the `CookieNames` type are included in the cache key and in requests that CloudFront sends to the origin. + - `allExcept` – All cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin, **except** for those that are listed in the `CookieNames` type, which are not included. + - `all` – All cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. + """ + cookies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Contains a list of cookie names. + """ +elif False: + CachePolicyCookiesConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CachePolicyCookiesConfigArgs: def __init__(__self__, *, @@ -238,6 +367,22 @@ def cookies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "cookies", value) +if not MYPY: + class CachePolicyHeadersConfigArgsDict(TypedDict): + header_behavior: pulumi.Input[str] + """ + Determines whether any HTTP headers are included in the cache key and in requests that CloudFront sends to the origin. Valid values are: + + - `none` – No HTTP headers are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to `none` , any headers that are listed in an `OriginRequestPolicy` *are* included in origin requests. + - `whitelist` – Only the HTTP headers that are listed in the `Headers` type are included in the cache key and in requests that CloudFront sends to the origin. + """ + headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Contains a list of HTTP header names. + """ +elif False: + CachePolicyHeadersConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CachePolicyHeadersConfigArgs: def __init__(__self__, *, @@ -282,6 +427,55 @@ def headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "headers", value) +if not MYPY: + class CachePolicyParametersInCacheKeyAndForwardedToOriginArgsDict(TypedDict): + cookies_config: pulumi.Input['CachePolicyCookiesConfigArgsDict'] + """ + An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin. + """ + enable_accept_encoding_gzip: pulumi.Input[bool] + """ + A flag that can affect whether the `Accept-Encoding` HTTP header is included in the cache key and included in requests that CloudFront sends to the origin. + + This field is related to the `EnableAcceptEncodingBrotli` field. If one or both of these fields is `true` *and* the viewer request includes the `Accept-Encoding` header, then CloudFront does the following: + + - Normalizes the value of the viewer's `Accept-Encoding` header + - Includes the normalized header in the cache key + - Includes the normalized header in the request to the origin, if a request is necessary + + For more information, see [Compression support](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-policy-compressed-objects) in the *Amazon CloudFront Developer Guide* . + + If you set this value to `true` , and this cache behavior also has an origin request policy attached, do not include the `Accept-Encoding` header in the origin request policy. CloudFront always includes the `Accept-Encoding` header in origin requests when the value of this field is `true` , so including this header in an origin request policy has no effect. + + If both of these fields are `false` , then CloudFront treats the `Accept-Encoding` header the same as any other HTTP header in the viewer request. By default, it's not included in the cache key and it's not included in origin requests. In this case, you can manually add `Accept-Encoding` to the headers whitelist like any other HTTP header. + """ + headers_config: pulumi.Input['CachePolicyHeadersConfigArgsDict'] + """ + An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin. + """ + query_strings_config: pulumi.Input['CachePolicyQueryStringsConfigArgsDict'] + """ + An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and in requests that CloudFront sends to the origin. + """ + enable_accept_encoding_brotli: NotRequired[pulumi.Input[bool]] + """ + A flag that can affect whether the `Accept-Encoding` HTTP header is included in the cache key and included in requests that CloudFront sends to the origin. + + This field is related to the `EnableAcceptEncodingGzip` field. If one or both of these fields is `true` *and* the viewer request includes the `Accept-Encoding` header, then CloudFront does the following: + + - Normalizes the value of the viewer's `Accept-Encoding` header + - Includes the normalized header in the cache key + - Includes the normalized header in the request to the origin, if a request is necessary + + For more information, see [Compression support](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-policy-compressed-objects) in the *Amazon CloudFront Developer Guide* . + + If you set this value to `true` , and this cache behavior also has an origin request policy attached, do not include the `Accept-Encoding` header in the origin request policy. CloudFront always includes the `Accept-Encoding` header in origin requests when the value of this field is `true` , so including this header in an origin request policy has no effect. + + If both of these fields are `false` , then CloudFront treats the `Accept-Encoding` header the same as any other HTTP header in the viewer request. By default, it's not included in the cache key and it's not included in origin requests. In this case, you can manually add `Accept-Encoding` to the headers whitelist like any other HTTP header. + """ +elif False: + CachePolicyParametersInCacheKeyAndForwardedToOriginArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CachePolicyParametersInCacheKeyAndForwardedToOriginArgs: def __init__(__self__, *, @@ -413,6 +607,24 @@ def enable_accept_encoding_brotli(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enable_accept_encoding_brotli", value) +if not MYPY: + class CachePolicyQueryStringsConfigArgsDict(TypedDict): + query_string_behavior: pulumi.Input[str] + """ + Determines whether any URL query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are: + + - `none` – No query strings in viewer requests are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to `none` , any query strings that are listed in an `OriginRequestPolicy` *are* included in origin requests. + - `whitelist` – Only the query strings in viewer requests that are listed in the `QueryStringNames` type are included in the cache key and in requests that CloudFront sends to the origin. + - `allExcept` – All query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin, **except** those that are listed in the `QueryStringNames` type, which are not included. + - `all` – All query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. + """ + query_strings: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Contains a list of query string names. + """ +elif False: + CachePolicyQueryStringsConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CachePolicyQueryStringsConfigArgs: def __init__(__self__, *, @@ -461,6 +673,15 @@ def query_strings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "query_strings", value) +if not MYPY: + class CloudFrontOriginAccessIdentityConfigArgsDict(TypedDict): + comment: pulumi.Input[str] + """ + A comment to describe the origin access identity. The comment cannot be longer than 128 characters. + """ +elif False: + CloudFrontOriginAccessIdentityConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CloudFrontOriginAccessIdentityConfigArgs: def __init__(__self__, *, @@ -483,6 +704,16 @@ def comment(self, value: pulumi.Input[str]): pulumi.set(self, "comment", value) +if not MYPY: + class ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigPropertiesArgsDict(TypedDict): + """ + This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution. + """ + header: pulumi.Input[str] + value: pulumi.Input[str] +elif False: + ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigPropertiesArgs: def __init__(__self__, *, @@ -513,6 +744,16 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ContinuousDeploymentPolicyConfigSingleWeightPolicyConfigPropertiesArgsDict(TypedDict): + """ + This configuration determines the percentage of HTTP requests that are sent to the staging distribution. + """ + weight: pulumi.Input[float] + session_stickiness_config: NotRequired[pulumi.Input['ContinuousDeploymentPolicySessionStickinessConfigArgsDict']] +elif False: + ContinuousDeploymentPolicyConfigSingleWeightPolicyConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContinuousDeploymentPolicyConfigSingleWeightPolicyConfigPropertiesArgs: def __init__(__self__, *, @@ -544,6 +785,35 @@ def session_stickiness_config(self, value: Optional[pulumi.Input['ContinuousDepl pulumi.set(self, "session_stickiness_config", value) +if not MYPY: + class ContinuousDeploymentPolicyConfigArgsDict(TypedDict): + enabled: pulumi.Input[bool] + """ + A Boolean that indicates whether this continuous deployment policy is enabled (in effect). When this value is `true` , this policy is enabled and in effect. When this value is `false` , this policy is not enabled and has no effect. + """ + staging_distribution_dns_names: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The CloudFront domain name of the staging distribution. For example: `d111111abcdef8.cloudfront.net` . + """ + single_header_policy_config: NotRequired[pulumi.Input['ContinuousDeploymentPolicyConfigSingleHeaderPolicyConfigPropertiesArgsDict']] + """ + This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution. + """ + single_weight_policy_config: NotRequired[pulumi.Input['ContinuousDeploymentPolicyConfigSingleWeightPolicyConfigPropertiesArgsDict']] + """ + This configuration determines the percentage of HTTP requests that are sent to the staging distribution. + """ + traffic_config: NotRequired[pulumi.Input['ContinuousDeploymentPolicyTrafficConfigArgsDict']] + """ + Contains the parameters for routing production traffic from your primary to staging distributions. + """ + type: NotRequired[pulumi.Input['ContinuousDeploymentPolicyConfigType']] + """ + The type of traffic configuration. + """ +elif False: + ContinuousDeploymentPolicyConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContinuousDeploymentPolicyConfigArgs: def __init__(__self__, *, @@ -645,6 +915,19 @@ def type(self, value: Optional[pulumi.Input['ContinuousDeploymentPolicyConfigTyp pulumi.set(self, "type", value) +if not MYPY: + class ContinuousDeploymentPolicySessionStickinessConfigArgsDict(TypedDict): + idle_ttl: pulumi.Input[int] + """ + The amount of time after which you want sessions to cease if no requests are received. Allowed values are 300–3600 seconds (5–60 minutes). + """ + maximum_ttl: pulumi.Input[int] + """ + The maximum amount of time to consider requests from the viewer as being part of the same session. Allowed values are 300–3600 seconds (5–60 minutes). + """ +elif False: + ContinuousDeploymentPolicySessionStickinessConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContinuousDeploymentPolicySessionStickinessConfigArgs: def __init__(__self__, *, @@ -682,6 +965,19 @@ def maximum_ttl(self, value: pulumi.Input[int]): pulumi.set(self, "maximum_ttl", value) +if not MYPY: + class ContinuousDeploymentPolicySingleHeaderConfigArgsDict(TypedDict): + header: pulumi.Input[str] + """ + The request header name that you want CloudFront to send to your staging distribution. The header must contain the prefix `aws-cf-cd-` . + """ + value: pulumi.Input[str] + """ + The request header value. + """ +elif False: + ContinuousDeploymentPolicySingleHeaderConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContinuousDeploymentPolicySingleHeaderConfigArgs: def __init__(__self__, *, @@ -719,6 +1015,19 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ContinuousDeploymentPolicySingleWeightConfigArgsDict(TypedDict): + weight: pulumi.Input[float] + """ + The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution. + """ + session_stickiness_config: NotRequired[pulumi.Input['ContinuousDeploymentPolicySessionStickinessConfigArgsDict']] + """ + Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values. + """ +elif False: + ContinuousDeploymentPolicySingleWeightConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContinuousDeploymentPolicySingleWeightConfigArgs: def __init__(__self__, *, @@ -757,6 +1066,23 @@ def session_stickiness_config(self, value: Optional[pulumi.Input['ContinuousDepl pulumi.set(self, "session_stickiness_config", value) +if not MYPY: + class ContinuousDeploymentPolicyTrafficConfigArgsDict(TypedDict): + type: pulumi.Input['ContinuousDeploymentPolicyTrafficConfigType'] + """ + The type of traffic configuration. + """ + single_header_config: NotRequired[pulumi.Input['ContinuousDeploymentPolicySingleHeaderConfigArgsDict']] + """ + Determines which HTTP requests are sent to the staging distribution. + """ + single_weight_config: NotRequired[pulumi.Input['ContinuousDeploymentPolicySingleWeightConfigArgsDict']] + """ + Contains the percentage of traffic to send to the staging distribution. + """ +elif False: + ContinuousDeploymentPolicyTrafficConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContinuousDeploymentPolicyTrafficConfigArgs: def __init__(__self__, *, @@ -811,29 +1137,8 @@ def single_weight_config(self, value: Optional[pulumi.Input['ContinuousDeploymen pulumi.set(self, "single_weight_config", value) -@pulumi.input_type -class DistributionCacheBehaviorArgs: - def __init__(__self__, *, - path_pattern: pulumi.Input[str], - target_origin_id: pulumi.Input[str], - viewer_protocol_policy: pulumi.Input[str], - allowed_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - cache_policy_id: Optional[pulumi.Input[str]] = None, - cached_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - compress: Optional[pulumi.Input[bool]] = None, - default_ttl: Optional[pulumi.Input[float]] = None, - field_level_encryption_id: Optional[pulumi.Input[str]] = None, - forwarded_values: Optional[pulumi.Input['DistributionForwardedValuesArgs']] = None, - function_associations: Optional[pulumi.Input[Sequence[pulumi.Input['DistributionFunctionAssociationArgs']]]] = None, - lambda_function_associations: Optional[pulumi.Input[Sequence[pulumi.Input['DistributionLambdaFunctionAssociationArgs']]]] = None, - max_ttl: Optional[pulumi.Input[float]] = None, - min_ttl: Optional[pulumi.Input[float]] = None, - origin_request_policy_id: Optional[pulumi.Input[str]] = None, - realtime_log_config_arn: Optional[pulumi.Input[str]] = None, - response_headers_policy_id: Optional[pulumi.Input[str]] = None, - smooth_streaming: Optional[pulumi.Input[bool]] = None, - trusted_key_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - trusted_signers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): +if not MYPY: + class DistributionCacheBehaviorArgsDict(TypedDict): """ A complex type that describes how CloudFront processes requests. You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used. @@ -842,80 +1147,225 @@ def __init__(__self__, *, To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty ``CacheBehaviors`` element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution. For more information about cache behaviors, see [Cache Behavior Settings](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesCacheBehavior) in the *Amazon CloudFront Developer Guide*. - :param pulumi.Input[str] path_pattern: The pattern (for example, ``images/*.jpg``) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. - You can optionally include a slash (``/``) at the beginning of the path pattern. For example, ``/images/*.jpg``. CloudFront behavior is the same with or without the leading ``/``. - The path pattern for the default cache behavior is ``*`` and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior. - For more information, see [Path Pattern](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesPathPattern) in the *Amazon CloudFront Developer Guide*. - :param pulumi.Input[str] target_origin_id: The value of ``ID`` for the origin that you want CloudFront to route requests to when they match this cache behavior. - :param pulumi.Input[str] viewer_protocol_policy: The protocol that viewers can use to access the files in the origin specified by ``TargetOriginId`` when a request matches the path pattern in ``PathPattern``. You can specify the following options: - + ``allow-all``: Viewers can use HTTP or HTTPS. - + ``redirect-to-https``: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. - + ``https-only``: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). - - For more information about requiring the HTTPS protocol, see [Requiring HTTPS Between Viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html) in the *Amazon CloudFront Developer Guide*. - The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see [Managing Cache Expiration](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. - :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_methods: A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices: - + CloudFront forwards only ``GET`` and ``HEAD`` requests. - + CloudFront forwards only ``GET``, ``HEAD``, and ``OPTIONS`` requests. - + CloudFront forwards ``GET, HEAD, OPTIONS, PUT, PATCH, POST``, and ``DELETE`` requests. - - If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin. - :param pulumi.Input[str] cache_policy_id: The unique identifier of the cache policy that is attached to this cache behavior. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. - A ``CacheBehavior`` must include either a ``CachePolicyId`` or ``ForwardedValues``. We recommend that you use a ``CachePolicyId``. - :param pulumi.Input[Sequence[pulumi.Input[str]]] cached_methods: A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices: - + CloudFront caches responses to ``GET`` and ``HEAD`` requests. - + CloudFront caches responses to ``GET``, ``HEAD``, and ``OPTIONS`` requests. - - If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly. - :param pulumi.Input[bool] compress: Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see [Serving Compressed Files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html) in the *Amazon CloudFront Developer Guide*. - :param pulumi.Input[float] default_ttl: This field is deprecated. We recommend that you use the ``DefaultTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. - The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as ``Cache-Control max-age``, ``Cache-Control s-maxage``, and ``Expires`` to objects. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. - :param pulumi.Input[str] field_level_encryption_id: The value of ``ID`` for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for this cache behavior. - :param pulumi.Input['DistributionForwardedValuesArgs'] forwarded_values: This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see [Working with policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html) in the *Amazon CloudFront Developer Guide*. - If you want to include values in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. - If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) or [Using the managed origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) in the *Amazon CloudFront Developer Guide*. - A ``CacheBehavior`` must include either a ``CachePolicyId`` or ``ForwardedValues``. We recommend that you use a ``CachePolicyId``. - A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers. - :param pulumi.Input[Sequence[pulumi.Input['DistributionFunctionAssociationArgs']]] function_associations: A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the ``LIVE`` stage to associate them with a cache behavior. - :param pulumi.Input[Sequence[pulumi.Input['DistributionLambdaFunctionAssociationArgs']]] lambda_function_associations: A complex type that contains zero or more Lambda@Edge function associations for a cache behavior. - :param pulumi.Input[float] max_ttl: This field is deprecated. We recommend that you use the ``MaxTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. - The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as ``Cache-Control max-age``, ``Cache-Control s-maxage``, and ``Expires`` to objects. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. - :param pulumi.Input[float] min_ttl: This field is deprecated. We recommend that you use the ``MinTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. - The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. - You must specify ``0`` for ``MinTTL`` if you configure CloudFront to forward all headers to your origin (under ``Headers``, if you specify ``1`` for ``Quantity`` and ``*`` for ``Name``). - :param pulumi.Input[str] origin_request_policy_id: The unique identifier of the origin request policy that is attached to this cache behavior. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) or [Using the managed origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) in the *Amazon CloudFront Developer Guide*. - :param pulumi.Input[str] realtime_log_config_arn: The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see [Real-time logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html) in the *Amazon CloudFront Developer Guide*. - :param pulumi.Input[str] response_headers_policy_id: The identifier for a response headers policy. - :param pulumi.Input[bool] smooth_streaming: Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify ``true``; if not, specify ``false``. If you specify ``true`` for ``SmoothStreaming``, you can still distribute other content using this cache behavior if the content matches the value of ``PathPattern``. - :param pulumi.Input[Sequence[pulumi.Input[str]]] trusted_key_groups: A list of key groups that CloudFront can use to validate signed URLs or signed cookies. - When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see [Serving private content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. - :param pulumi.Input[Sequence[pulumi.Input[str]]] trusted_signers: We recommend using ``TrustedKeyGroups`` instead of ``TrustedSigners``. - A list of AWS-account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies. - When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer's AWS-account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see [Serving private content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. """ - pulumi.set(__self__, "path_pattern", path_pattern) - pulumi.set(__self__, "target_origin_id", target_origin_id) - pulumi.set(__self__, "viewer_protocol_policy", viewer_protocol_policy) - if allowed_methods is not None: - pulumi.set(__self__, "allowed_methods", allowed_methods) - if cache_policy_id is not None: - pulumi.set(__self__, "cache_policy_id", cache_policy_id) - if cached_methods is not None: - pulumi.set(__self__, "cached_methods", cached_methods) - if compress is not None: - pulumi.set(__self__, "compress", compress) - if default_ttl is not None: - pulumi.set(__self__, "default_ttl", default_ttl) - if field_level_encryption_id is not None: - pulumi.set(__self__, "field_level_encryption_id", field_level_encryption_id) - if forwarded_values is not None: - pulumi.set(__self__, "forwarded_values", forwarded_values) - if function_associations is not None: - pulumi.set(__self__, "function_associations", function_associations) - if lambda_function_associations is not None: - pulumi.set(__self__, "lambda_function_associations", lambda_function_associations) - if max_ttl is not None: - pulumi.set(__self__, "max_ttl", max_ttl) + path_pattern: pulumi.Input[str] + """ + The pattern (for example, ``images/*.jpg``) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. + You can optionally include a slash (``/``) at the beginning of the path pattern. For example, ``/images/*.jpg``. CloudFront behavior is the same with or without the leading ``/``. + The path pattern for the default cache behavior is ``*`` and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior. + For more information, see [Path Pattern](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesPathPattern) in the *Amazon CloudFront Developer Guide*. + """ + target_origin_id: pulumi.Input[str] + """ + The value of ``ID`` for the origin that you want CloudFront to route requests to when they match this cache behavior. + """ + viewer_protocol_policy: pulumi.Input[str] + """ + The protocol that viewers can use to access the files in the origin specified by ``TargetOriginId`` when a request matches the path pattern in ``PathPattern``. You can specify the following options: + + ``allow-all``: Viewers can use HTTP or HTTPS. + + ``redirect-to-https``: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. + + ``https-only``: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). + + For more information about requiring the HTTPS protocol, see [Requiring HTTPS Between Viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html) in the *Amazon CloudFront Developer Guide*. + The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see [Managing Cache Expiration](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + """ + allowed_methods: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices: + + CloudFront forwards only ``GET`` and ``HEAD`` requests. + + CloudFront forwards only ``GET``, ``HEAD``, and ``OPTIONS`` requests. + + CloudFront forwards ``GET, HEAD, OPTIONS, PUT, PATCH, POST``, and ``DELETE`` requests. + + If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin. + """ + cache_policy_id: NotRequired[pulumi.Input[str]] + """ + The unique identifier of the cache policy that is attached to this cache behavior. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + A ``CacheBehavior`` must include either a ``CachePolicyId`` or ``ForwardedValues``. We recommend that you use a ``CachePolicyId``. + """ + cached_methods: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices: + + CloudFront caches responses to ``GET`` and ``HEAD`` requests. + + CloudFront caches responses to ``GET``, ``HEAD``, and ``OPTIONS`` requests. + + If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly. + """ + compress: NotRequired[pulumi.Input[bool]] + """ + Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see [Serving Compressed Files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html) in the *Amazon CloudFront Developer Guide*. + """ + default_ttl: NotRequired[pulumi.Input[float]] + """ + This field is deprecated. We recommend that you use the ``DefaultTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as ``Cache-Control max-age``, ``Cache-Control s-maxage``, and ``Expires`` to objects. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + """ + field_level_encryption_id: NotRequired[pulumi.Input[str]] + """ + The value of ``ID`` for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for this cache behavior. + """ + forwarded_values: NotRequired[pulumi.Input['DistributionForwardedValuesArgsDict']] + """ + This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see [Working with policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html) in the *Amazon CloudFront Developer Guide*. + If you want to include values in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) or [Using the managed origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) in the *Amazon CloudFront Developer Guide*. + A ``CacheBehavior`` must include either a ``CachePolicyId`` or ``ForwardedValues``. We recommend that you use a ``CachePolicyId``. + A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers. + """ + function_associations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DistributionFunctionAssociationArgsDict']]]] + """ + A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the ``LIVE`` stage to associate them with a cache behavior. + """ + lambda_function_associations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DistributionLambdaFunctionAssociationArgsDict']]]] + """ + A complex type that contains zero or more Lambda@Edge function associations for a cache behavior. + """ + max_ttl: NotRequired[pulumi.Input[float]] + """ + This field is deprecated. We recommend that you use the ``MaxTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as ``Cache-Control max-age``, ``Cache-Control s-maxage``, and ``Expires`` to objects. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + """ + min_ttl: NotRequired[pulumi.Input[float]] + """ + This field is deprecated. We recommend that you use the ``MinTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + You must specify ``0`` for ``MinTTL`` if you configure CloudFront to forward all headers to your origin (under ``Headers``, if you specify ``1`` for ``Quantity`` and ``*`` for ``Name``). + """ + origin_request_policy_id: NotRequired[pulumi.Input[str]] + """ + The unique identifier of the origin request policy that is attached to this cache behavior. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) or [Using the managed origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) in the *Amazon CloudFront Developer Guide*. + """ + realtime_log_config_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see [Real-time logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html) in the *Amazon CloudFront Developer Guide*. + """ + response_headers_policy_id: NotRequired[pulumi.Input[str]] + """ + The identifier for a response headers policy. + """ + smooth_streaming: NotRequired[pulumi.Input[bool]] + """ + Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify ``true``; if not, specify ``false``. If you specify ``true`` for ``SmoothStreaming``, you can still distribute other content using this cache behavior if the content matches the value of ``PathPattern``. + """ + trusted_key_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of key groups that CloudFront can use to validate signed URLs or signed cookies. + When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see [Serving private content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. + """ + trusted_signers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + We recommend using ``TrustedKeyGroups`` instead of ``TrustedSigners``. + A list of AWS-account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies. + When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer's AWS-account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see [Serving private content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. + """ +elif False: + DistributionCacheBehaviorArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DistributionCacheBehaviorArgs: + def __init__(__self__, *, + path_pattern: pulumi.Input[str], + target_origin_id: pulumi.Input[str], + viewer_protocol_policy: pulumi.Input[str], + allowed_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + cache_policy_id: Optional[pulumi.Input[str]] = None, + cached_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compress: Optional[pulumi.Input[bool]] = None, + default_ttl: Optional[pulumi.Input[float]] = None, + field_level_encryption_id: Optional[pulumi.Input[str]] = None, + forwarded_values: Optional[pulumi.Input['DistributionForwardedValuesArgs']] = None, + function_associations: Optional[pulumi.Input[Sequence[pulumi.Input['DistributionFunctionAssociationArgs']]]] = None, + lambda_function_associations: Optional[pulumi.Input[Sequence[pulumi.Input['DistributionLambdaFunctionAssociationArgs']]]] = None, + max_ttl: Optional[pulumi.Input[float]] = None, + min_ttl: Optional[pulumi.Input[float]] = None, + origin_request_policy_id: Optional[pulumi.Input[str]] = None, + realtime_log_config_arn: Optional[pulumi.Input[str]] = None, + response_headers_policy_id: Optional[pulumi.Input[str]] = None, + smooth_streaming: Optional[pulumi.Input[bool]] = None, + trusted_key_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + trusted_signers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + A complex type that describes how CloudFront processes requests. + You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to serve objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin is never used. + For the current quota (formerly known as limit) on the number of cache behaviors that you can add to a distribution, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) in the *Amazon CloudFront Developer Guide*. + If you don't want to specify any cache behaviors, include only an empty ``CacheBehaviors`` element. Don't include an empty ``CacheBehavior`` element because this is invalid. + To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty ``CacheBehaviors`` element. + To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution. + For more information about cache behaviors, see [Cache Behavior Settings](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesCacheBehavior) in the *Amazon CloudFront Developer Guide*. + :param pulumi.Input[str] path_pattern: The pattern (for example, ``images/*.jpg``) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. + You can optionally include a slash (``/``) at the beginning of the path pattern. For example, ``/images/*.jpg``. CloudFront behavior is the same with or without the leading ``/``. + The path pattern for the default cache behavior is ``*`` and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior. + For more information, see [Path Pattern](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesPathPattern) in the *Amazon CloudFront Developer Guide*. + :param pulumi.Input[str] target_origin_id: The value of ``ID`` for the origin that you want CloudFront to route requests to when they match this cache behavior. + :param pulumi.Input[str] viewer_protocol_policy: The protocol that viewers can use to access the files in the origin specified by ``TargetOriginId`` when a request matches the path pattern in ``PathPattern``. You can specify the following options: + + ``allow-all``: Viewers can use HTTP or HTTPS. + + ``redirect-to-https``: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. + + ``https-only``: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). + + For more information about requiring the HTTPS protocol, see [Requiring HTTPS Between Viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html) in the *Amazon CloudFront Developer Guide*. + The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see [Managing Cache Expiration](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_methods: A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices: + + CloudFront forwards only ``GET`` and ``HEAD`` requests. + + CloudFront forwards only ``GET``, ``HEAD``, and ``OPTIONS`` requests. + + CloudFront forwards ``GET, HEAD, OPTIONS, PUT, PATCH, POST``, and ``DELETE`` requests. + + If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin. + :param pulumi.Input[str] cache_policy_id: The unique identifier of the cache policy that is attached to this cache behavior. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + A ``CacheBehavior`` must include either a ``CachePolicyId`` or ``ForwardedValues``. We recommend that you use a ``CachePolicyId``. + :param pulumi.Input[Sequence[pulumi.Input[str]]] cached_methods: A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices: + + CloudFront caches responses to ``GET`` and ``HEAD`` requests. + + CloudFront caches responses to ``GET``, ``HEAD``, and ``OPTIONS`` requests. + + If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly. + :param pulumi.Input[bool] compress: Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see [Serving Compressed Files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html) in the *Amazon CloudFront Developer Guide*. + :param pulumi.Input[float] default_ttl: This field is deprecated. We recommend that you use the ``DefaultTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as ``Cache-Control max-age``, ``Cache-Control s-maxage``, and ``Expires`` to objects. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + :param pulumi.Input[str] field_level_encryption_id: The value of ``ID`` for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for this cache behavior. + :param pulumi.Input['DistributionForwardedValuesArgs'] forwarded_values: This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see [Working with policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html) in the *Amazon CloudFront Developer Guide*. + If you want to include values in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) or [Using the managed origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) in the *Amazon CloudFront Developer Guide*. + A ``CacheBehavior`` must include either a ``CachePolicyId`` or ``ForwardedValues``. We recommend that you use a ``CachePolicyId``. + A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers. + :param pulumi.Input[Sequence[pulumi.Input['DistributionFunctionAssociationArgs']]] function_associations: A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the ``LIVE`` stage to associate them with a cache behavior. + :param pulumi.Input[Sequence[pulumi.Input['DistributionLambdaFunctionAssociationArgs']]] lambda_function_associations: A complex type that contains zero or more Lambda@Edge function associations for a cache behavior. + :param pulumi.Input[float] max_ttl: This field is deprecated. We recommend that you use the ``MaxTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as ``Cache-Control max-age``, ``Cache-Control s-maxage``, and ``Expires`` to objects. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + :param pulumi.Input[float] min_ttl: This field is deprecated. We recommend that you use the ``MinTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + You must specify ``0`` for ``MinTTL`` if you configure CloudFront to forward all headers to your origin (under ``Headers``, if you specify ``1`` for ``Quantity`` and ``*`` for ``Name``). + :param pulumi.Input[str] origin_request_policy_id: The unique identifier of the origin request policy that is attached to this cache behavior. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) or [Using the managed origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) in the *Amazon CloudFront Developer Guide*. + :param pulumi.Input[str] realtime_log_config_arn: The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see [Real-time logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html) in the *Amazon CloudFront Developer Guide*. + :param pulumi.Input[str] response_headers_policy_id: The identifier for a response headers policy. + :param pulumi.Input[bool] smooth_streaming: Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify ``true``; if not, specify ``false``. If you specify ``true`` for ``SmoothStreaming``, you can still distribute other content using this cache behavior if the content matches the value of ``PathPattern``. + :param pulumi.Input[Sequence[pulumi.Input[str]]] trusted_key_groups: A list of key groups that CloudFront can use to validate signed URLs or signed cookies. + When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see [Serving private content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. + :param pulumi.Input[Sequence[pulumi.Input[str]]] trusted_signers: We recommend using ``TrustedKeyGroups`` instead of ``TrustedSigners``. + A list of AWS-account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies. + When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer's AWS-account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see [Serving private content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. + """ + pulumi.set(__self__, "path_pattern", path_pattern) + pulumi.set(__self__, "target_origin_id", target_origin_id) + pulumi.set(__self__, "viewer_protocol_policy", viewer_protocol_policy) + if allowed_methods is not None: + pulumi.set(__self__, "allowed_methods", allowed_methods) + if cache_policy_id is not None: + pulumi.set(__self__, "cache_policy_id", cache_policy_id) + if cached_methods is not None: + pulumi.set(__self__, "cached_methods", cached_methods) + if compress is not None: + pulumi.set(__self__, "compress", compress) + if default_ttl is not None: + pulumi.set(__self__, "default_ttl", default_ttl) + if field_level_encryption_id is not None: + pulumi.set(__self__, "field_level_encryption_id", field_level_encryption_id) + if forwarded_values is not None: + pulumi.set(__self__, "forwarded_values", forwarded_values) + if function_associations is not None: + pulumi.set(__self__, "function_associations", function_associations) + if lambda_function_associations is not None: + pulumi.set(__self__, "lambda_function_associations", lambda_function_associations) + if max_ttl is not None: + pulumi.set(__self__, "max_ttl", max_ttl) if min_ttl is not None: pulumi.set(__self__, "min_ttl", min_ttl) if origin_request_policy_id is not None: @@ -1202,6 +1652,126 @@ def trusted_signers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "trusted_signers", value) +if not MYPY: + class DistributionConfigArgsDict(TypedDict): + """ + A distribution configuration. + """ + default_cache_behavior: pulumi.Input['DistributionDefaultCacheBehaviorArgsDict'] + """ + A complex type that describes the default cache behavior if you don't specify a ``CacheBehavior`` element or if files don't match any of the values of ``PathPattern`` in ``CacheBehavior`` elements. You must create exactly one default cache behavior. + """ + enabled: pulumi.Input[bool] + """ + From this field, you can enable or disable the selected distribution. + """ + aliases: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution. + """ + cache_behaviors: NotRequired[pulumi.Input[Sequence[pulumi.Input['DistributionCacheBehaviorArgsDict']]]] + """ + A complex type that contains zero or more ``CacheBehavior`` elements. + """ + cnames: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An alias for the CloudFront distribution's domain name. + + > This property is legacy. We recommend that you use [Aliases](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-aliases) instead. + """ + comment: NotRequired[pulumi.Input[str]] + """ + A comment to describe the distribution. The comment cannot be longer than 128 characters. + """ + continuous_deployment_policy_id: NotRequired[pulumi.Input[str]] + """ + The identifier of a continuous deployment policy. For more information, see ``CreateContinuousDeploymentPolicy``. + """ + custom_error_responses: NotRequired[pulumi.Input[Sequence[pulumi.Input['DistributionCustomErrorResponseArgsDict']]]] + """ + A complex type that controls the following: + + Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. + + How long CloudFront caches HTTP status codes in the 4xx and 5xx range. + + For more information about custom error pages, see [Customizing Error Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) in the *Amazon CloudFront Developer Guide*. + """ + custom_origin: NotRequired[pulumi.Input['DistributionLegacyCustomOriginArgsDict']] + """ + The user-defined HTTP server that serves as the origin for content that CloudFront distributes. + + > This property is legacy. We recommend that you use [Origin](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html) instead. + """ + default_root_object: NotRequired[pulumi.Input[str]] + """ + The object that you want CloudFront to request from your origin (for example, ``index.html``) when a viewer requests the root URL for your distribution (``https://www.example.com``) instead of an object in your distribution (``https://www.example.com/product-description.html``). Specifying a default root object avoids exposing the contents of your distribution. + Specify only the object name, for example, ``index.html``. Don't add a ``/`` before the object name. + If you don't want to specify a default root object when you create a distribution, include an empty ``DefaultRootObject`` element. + To delete the default root object from an existing distribution, update the distribution configuration and include an empty ``DefaultRootObject`` element. + To replace the default root object, update the distribution configuration and specify the new object. + For more information about the default root object, see [Creating a Default Root Object](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html) in the *Amazon CloudFront Developer Guide*. + """ + http_version: NotRequired[pulumi.Input[str]] + """ + (Optional) Specify the maximum HTTP version(s) that you want viewers to use to communicate with CF. The default value for new distributions is ``http1.1``. + For viewers and CF to use HTTP/2, viewers must support TLSv1.2 or later, and must support Server Name Indication (SNI). + For viewers and CF to use HTTP/3, viewers must support TLSv1.3 and Server Name Indication (SNI). CF supports HTTP/3 connection migration to allow the viewer to switch networks without losing connection. For more information about connection migration, see [Connection Migration](https://docs.aws.amazon.com/https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration) at RFC 9000. For more information about supported TLSv1.3 ciphers, see [Supported protocols and ciphers between viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html). + """ + ipv6_enabled: NotRequired[pulumi.Input[bool]] + """ + If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify ``true``. If you specify ``false``, CloudFront responds to IPv6 DNS requests with the DNS response code ``NOERROR`` and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution. + In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the ``IpAddress`` parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see [Creating a Signed URL Using a Custom Policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html) in the *Amazon CloudFront Developer Guide*. + If you're using an R53AWSIntlong alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true: + + You enable IPv6 for the distribution + + You're using alternate domain names in the URLs for your objects + + For more information, see [Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html) in the *Developer Guide*. + If you created a CNAME resource record set, either with R53AWSIntlong or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request. + """ + logging: NotRequired[pulumi.Input['DistributionLoggingArgsDict']] + """ + A complex type that controls whether access logs are written for the distribution. + For more information about logging, see [Access Logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html) in the *Amazon CloudFront Developer Guide*. + """ + origin_groups: NotRequired[pulumi.Input['DistributionOriginGroupsArgsDict']] + """ + A complex type that contains information about origin groups for this distribution. + """ + origins: NotRequired[pulumi.Input[Sequence[pulumi.Input['DistributionOriginArgsDict']]]] + """ + A complex type that contains information about origins for this distribution. + """ + price_class: NotRequired[pulumi.Input[str]] + """ + The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify ``PriceClass_All``, CloudFront responds to requests for your objects from all CloudFront edge locations. + If you specify a price class other than ``PriceClass_All``, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance. + For more information about price classes, see [Choosing the Price Class for a CloudFront Distribution](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html) in the *Amazon CloudFront Developer Guide*. For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see [Amazon CloudFront Pricing](https://docs.aws.amazon.com/cloudfront/pricing/). + """ + restrictions: NotRequired[pulumi.Input['DistributionRestrictionsArgsDict']] + """ + A complex type that identifies ways in which you want to restrict distribution of your content. + """ + s3_origin: NotRequired[pulumi.Input['DistributionLegacyS3OriginArgsDict']] + """ + The origin as an Amazon S3 bucket. + + > This property is legacy. We recommend that you use [Origin](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html) instead. + """ + staging: NotRequired[pulumi.Input[bool]] + """ + A Boolean that indicates whether this is a staging distribution. When this value is ``true``, this is a staging distribution. When this value is ``false``, this is not a staging distribution. + """ + viewer_certificate: NotRequired[pulumi.Input['DistributionViewerCertificateArgsDict']] + """ + A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers. + """ + web_acl_id: NotRequired[pulumi.Input[str]] + """ + A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example ``arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a``. To specify a web ACL created using WAF Classic, use the ACL ID, for example ``473e64fd-f30b-4765-81a0-62ad96dd167a``. + WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the [Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html). + """ +elif False: + DistributionConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionConfigArgs: def __init__(__self__, *, @@ -1600,6 +2170,34 @@ def web_acl_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "web_acl_id", value) +if not MYPY: + class DistributionCookiesArgsDict(TypedDict): + """ + This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. + If you want to include cookies in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) in the *Amazon CloudFront Developer Guide*. + If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) in the *Amazon CloudFront Developer Guide*. + A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see [How CloudFront Forwards, Caches, and Logs Cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) in the *Amazon CloudFront Developer Guide*. + """ + forward: pulumi.Input[str] + """ + This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. + If you want to include cookies in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) in the *Amazon CloudFront Developer Guide*. + If you want to send cookies to the origin but not include them in the cache key, use origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) in the *Amazon CloudFront Developer Guide*. + Specifies which cookies to forward to the origin for this cache behavior: all, none, or the list of cookies specified in the ``WhitelistedNames`` complex type. + Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an Amazon S3 origin, specify none for the ``Forward`` element. + """ + whitelisted_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. + If you want to include cookies in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) in the *Amazon CloudFront Developer Guide*. + If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) in the *Amazon CloudFront Developer Guide*. + Required if you specify ``whitelist`` for the value of ``Forward``. A complex type that specifies how many different cookies you want CloudFront to forward to the origin for this cache behavior and, if you want to forward selected cookies, the names of those cookies. + If you specify ``all`` or ``none`` for the value of ``Forward``, omit ``WhitelistedNames``. If you change the value of ``Forward`` from ``whitelist`` to ``all`` or ``none`` and you don't delete the ``WhitelistedNames`` element and its child elements, CloudFront deletes them automatically. + For the current limit on the number of cookie names that you can whitelist for each cache behavior, see [CloudFront Limits](https://docs.aws.amazon.com/general/latest/gr/xrefaws_service_limits.html#limits_cloudfront) in the *General Reference*. + """ +elif False: + DistributionCookiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionCookiesArgs: def __init__(__self__, *, @@ -1660,6 +2258,45 @@ def whitelisted_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[s pulumi.set(self, "whitelisted_names", value) +if not MYPY: + class DistributionCustomErrorResponseArgsDict(TypedDict): + """ + A complex type that controls: + + Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer. + + How long CloudFront caches HTTP status codes in the 4xx and 5xx range. + + For more information about custom error pages, see [Customizing Error Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) in the *Amazon CloudFront Developer Guide*. + """ + error_code: pulumi.Input[int] + """ + The HTTP status code for which you want to specify a custom error page and/or a caching duration. + """ + error_caching_min_ttl: NotRequired[pulumi.Input[float]] + """ + The minimum amount of time, in seconds, that you want CloudFront to cache the HTTP status code specified in ``ErrorCode``. When this time period has elapsed, CloudFront queries your origin to see whether the problem that caused the error has been resolved and the requested object is now available. + For more information, see [Customizing Error Responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) in the *Amazon CloudFront Developer Guide*. + """ + response_code: NotRequired[pulumi.Input[int]] + """ + The HTTP status code that you want CloudFront to return to the viewer along with the custom error page. There are a variety of reasons that you might want CloudFront to return a status code different from the status code that your origin returned to CloudFront, for example: + + Some Internet devices (some firewalls and corporate proxies, for example) intercept HTTP 4xx and 5xx and prevent the response from being returned to the viewer. If you substitute ``200``, the response typically won't be intercepted. + + If you don't care about distinguishing among different client errors or server errors, you can specify ``400`` or ``500`` as the ``ResponseCode`` for all 4xx or 5xx errors. + + You might want to return a ``200`` status code (OK) and static website so your customers don't know that your website is down. + + If you specify a value for ``ResponseCode``, you must also specify a value for ``ResponsePagePath``. + """ + response_page_path: NotRequired[pulumi.Input[str]] + """ + The path to the custom error page that you want CloudFront to return to a viewer when your origin returns the HTTP status code specified by ``ErrorCode``, for example, ``/4xx-errors/403-forbidden.html``. If you want to store your objects and your custom error pages in different locations, your distribution must include a cache behavior for which the following is true: + + The value of ``PathPattern`` matches the path to your custom error messages. For example, suppose you saved custom error pages for 4xx errors in an Amazon S3 bucket in a directory named ``/4xx-errors``. Your distribution must include a cache behavior for which the path pattern routes requests for your custom error pages to that location, for example, ``/4xx-errors/*``. + + The value of ``TargetOriginId`` specifies the value of the ``ID`` element for the origin that contains your custom error pages. + + If you specify a value for ``ResponsePagePath``, you must also specify a value for ``ResponseCode``. + We recommend that you store custom error pages in an Amazon S3 bucket. If you store custom error pages on an HTTP server and the server starts to return 5xx errors, CloudFront can't get the files that you want to return to viewers because the origin server is unavailable. + """ +elif False: + DistributionCustomErrorResponseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionCustomErrorResponseArgs: def __init__(__self__, *, @@ -1757,6 +2394,44 @@ def response_page_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "response_page_path", value) +if not MYPY: + class DistributionCustomOriginConfigArgsDict(TypedDict): + """ + A custom origin. A custom origin is any origin that is *not* an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is [configured with static website hosting](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html) *is* a custom origin. + """ + origin_protocol_policy: pulumi.Input[str] + """ + Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are: + + ``http-only`` – CloudFront always uses HTTP to connect to the origin. + + ``match-viewer`` – CloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront. + + ``https-only`` – CloudFront always uses HTTPS to connect to the origin. + """ + http_port: NotRequired[pulumi.Input[int]] + """ + The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on. + """ + https_port: NotRequired[pulumi.Input[int]] + """ + The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on. + """ + origin_keepalive_timeout: NotRequired[pulumi.Input[int]] + """ + Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 5 seconds. + For more information, see [Origin Keep-alive Timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginKeepaliveTimeout) in the *Amazon CloudFront Developer Guide*. + """ + origin_read_timeout: NotRequired[pulumi.Input[int]] + """ + Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the *origin response timeout*. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds. + For more information, see [Origin Response Timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout) in the *Amazon CloudFront Developer Guide*. + """ + origin_ssl_protocols: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include ``SSLv3``, ``TLSv1``, ``TLSv1.1``, and ``TLSv1.2``. + For more information, see [Minimum Origin SSL Protocol](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginSSLProtocols) in the *Amazon CloudFront Developer Guide*. + """ +elif False: + DistributionCustomOriginConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionCustomOriginConfigArgs: def __init__(__self__, *, @@ -1872,6 +2547,117 @@ def origin_ssl_protocols(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "origin_ssl_protocols", value) +if not MYPY: + class DistributionDefaultCacheBehaviorArgsDict(TypedDict): + """ + A complex type that describes the default cache behavior if you don't specify a ``CacheBehavior`` element or if request URLs don't match any of the values of ``PathPattern`` in ``CacheBehavior`` elements. You must create exactly one default cache behavior. + """ + target_origin_id: pulumi.Input[str] + """ + The value of ``ID`` for the origin that you want CloudFront to route requests to when they use the default cache behavior. + """ + viewer_protocol_policy: pulumi.Input[str] + """ + The protocol that viewers can use to access the files in the origin specified by ``TargetOriginId`` when a request matches the path pattern in ``PathPattern``. You can specify the following options: + + ``allow-all``: Viewers can use HTTP or HTTPS. + + ``redirect-to-https``: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL. + + ``https-only``: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden). + + For more information about requiring the HTTPS protocol, see [Requiring HTTPS Between Viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html) in the *Amazon CloudFront Developer Guide*. + The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see [Managing Cache Expiration](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + """ + allowed_methods: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A complex type that controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin. There are three choices: + + CloudFront forwards only ``GET`` and ``HEAD`` requests. + + CloudFront forwards only ``GET``, ``HEAD``, and ``OPTIONS`` requests. + + CloudFront forwards ``GET, HEAD, OPTIONS, PUT, PATCH, POST``, and ``DELETE`` requests. + + If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or to your custom origin so users can't perform operations that you don't want them to. For example, you might not want users to have permissions to delete objects from your origin. + """ + cache_policy_id: NotRequired[pulumi.Input[str]] + """ + The unique identifier of the cache policy that is attached to the default cache behavior. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + A ``DefaultCacheBehavior`` must include either a ``CachePolicyId`` or ``ForwardedValues``. We recommend that you use a ``CachePolicyId``. + """ + cached_methods: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A complex type that controls whether CloudFront caches the response to requests using the specified HTTP methods. There are two choices: + + CloudFront caches responses to ``GET`` and ``HEAD`` requests. + + CloudFront caches responses to ``GET``, ``HEAD``, and ``OPTIONS`` requests. + + If you pick the second choice for your Amazon S3 Origin, you may need to forward Access-Control-Request-Method, Access-Control-Request-Headers, and Origin headers for the responses to be cached correctly. + """ + compress: NotRequired[pulumi.Input[bool]] + """ + Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify ``true``; if not, specify ``false``. For more information, see [Serving Compressed Files](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html) in the *Amazon CloudFront Developer Guide*. + """ + default_ttl: NotRequired[pulumi.Input[float]] + """ + This field is deprecated. We recommend that you use the ``DefaultTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as ``Cache-Control max-age``, ``Cache-Control s-maxage``, and ``Expires`` to objects. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + """ + field_level_encryption_id: NotRequired[pulumi.Input[str]] + """ + The value of ``ID`` for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for the default cache behavior. + """ + forwarded_values: NotRequired[pulumi.Input['DistributionForwardedValuesArgsDict']] + """ + This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see [Working with policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html) in the *Amazon CloudFront Developer Guide*. + If you want to include values in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) or [Using the managed origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) in the *Amazon CloudFront Developer Guide*. + A ``DefaultCacheBehavior`` must include either a ``CachePolicyId`` or ``ForwardedValues``. We recommend that you use a ``CachePolicyId``. + A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers. + """ + function_associations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DistributionFunctionAssociationArgsDict']]]] + """ + A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the ``LIVE`` stage to associate them with a cache behavior. + """ + lambda_function_associations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DistributionLambdaFunctionAssociationArgsDict']]]] + """ + A complex type that contains zero or more Lambda@Edge function associations for a cache behavior. + """ + max_ttl: NotRequired[pulumi.Input[float]] + """ + This field is deprecated. We recommend that you use the ``MaxTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as ``Cache-Control max-age``, ``Cache-Control s-maxage``, and ``Expires`` to objects. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + """ + min_ttl: NotRequired[pulumi.Input[float]] + """ + This field is deprecated. We recommend that you use the ``MinTTL`` field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the *Amazon CloudFront Developer Guide*. + The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*. + You must specify ``0`` for ``MinTTL`` if you configure CloudFront to forward all headers to your origin (under ``Headers``, if you specify ``1`` for ``Quantity`` and ``*`` for ``Name``). + """ + origin_request_policy_id: NotRequired[pulumi.Input[str]] + """ + The unique identifier of the origin request policy that is attached to the default cache behavior. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) or [Using the managed origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html) in the *Amazon CloudFront Developer Guide*. + """ + realtime_log_config_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see [Real-time logs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html) in the *Amazon CloudFront Developer Guide*. + """ + response_headers_policy_id: NotRequired[pulumi.Input[str]] + """ + The identifier for a response headers policy. + """ + smooth_streaming: NotRequired[pulumi.Input[bool]] + """ + Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify ``true``; if not, specify ``false``. If you specify ``true`` for ``SmoothStreaming``, you can still distribute other content using this cache behavior if the content matches the value of ``PathPattern``. + """ + trusted_key_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of key groups that CloudFront can use to validate signed URLs or signed cookies. + When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see [Serving private content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. + """ + trusted_signers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + We recommend using ``TrustedKeyGroups`` instead of ``TrustedSigners``. + A list of AWS-account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies. + When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer's AWS-account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see [Serving private content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. + """ +elif False: + DistributionDefaultCacheBehaviorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionDefaultCacheBehaviorArgs: def __init__(__self__, *, @@ -2215,26 +3001,70 @@ def trusted_key_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str] A list of key groups that CloudFront can use to validate signed URLs or signed cookies. When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see [Serving private content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. """ - return pulumi.get(self, "trusted_key_groups") - - @trusted_key_groups.setter - def trusted_key_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "trusted_key_groups", value) - - @property - @pulumi.getter(name="trustedSigners") - def trusted_signers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "trusted_key_groups") + + @trusted_key_groups.setter + def trusted_key_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "trusted_key_groups", value) + + @property + @pulumi.getter(name="trustedSigners") + def trusted_signers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + We recommend using ``TrustedKeyGroups`` instead of ``TrustedSigners``. + A list of AWS-account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies. + When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer's AWS-account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see [Serving private content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. + """ + return pulumi.get(self, "trusted_signers") + + @trusted_signers.setter + def trusted_signers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "trusted_signers", value) + + +if not MYPY: + class DistributionForwardedValuesArgsDict(TypedDict): + """ + This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. + If you want to include values in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) in the *Amazon CloudFront Developer Guide*. + If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) in the *Amazon CloudFront Developer Guide*. + A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers. + """ + query_string: pulumi.Input[bool] + """ + This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. + If you want to include query strings in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) in the *Amazon CloudFront Developer Guide*. + If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) in the *Amazon CloudFront Developer Guide*. + Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of ``QueryString`` and on the values that you specify for ``QueryStringCacheKeys``, if any: + If you specify true for ``QueryString`` and you don't specify any values for ``QueryStringCacheKeys``, CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin. + If you specify true for ``QueryString`` and you specify one or more values for ``QueryStringCacheKeys``, CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify. + If you specify false for ``QueryString``, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters. + For more information, see [Configuring CloudFront to Cache Based on Query String Parameters](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/QueryStringParameters.html) in the *Amazon CloudFront Developer Guide*. + """ + cookies: NotRequired[pulumi.Input['DistributionCookiesArgsDict']] + """ + This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. + If you want to include cookies in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) in the *Amazon CloudFront Developer Guide*. + If you want to send cookies to the origin but not include them in the cache key, use an origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) in the *Amazon CloudFront Developer Guide*. + A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see [How CloudFront Forwards, Caches, and Logs Cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) in the *Amazon CloudFront Developer Guide*. + """ + headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. + If you want to include headers in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) in the *Amazon CloudFront Developer Guide*. + If you want to send headers to the origin but not include them in the cache key, use an origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) in the *Amazon CloudFront Developer Guide*. + A complex type that specifies the ``Headers``, if any, that you want CloudFront to forward to the origin for this cache behavior (whitelisted headers). For the headers that you specify, CloudFront also caches separate versions of a specified object that is based on the header values in viewer requests. + For more information, see [Caching Content Based on Request Headers](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html) in the *Amazon CloudFront Developer Guide*. + """ + query_string_cache_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ - We recommend using ``TrustedKeyGroups`` instead of ``TrustedSigners``. - A list of AWS-account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies. - When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in a trusted signer's AWS-account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see [Serving private content](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. + This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. + If you want to include query strings in the cache key, use a cache policy. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) in the *Amazon CloudFront Developer Guide*. + If you want to send query strings to the origin but not include them in the cache key, use an origin request policy. For more information, see [Creating origin request policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy) in the *Amazon CloudFront Developer Guide*. + A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior. """ - return pulumi.get(self, "trusted_signers") - - @trusted_signers.setter - def trusted_signers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "trusted_signers", value) - +elif False: + DistributionForwardedValuesArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class DistributionForwardedValuesArgs: @@ -2344,6 +3174,22 @@ def query_string_cache_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "query_string_cache_keys", value) +if not MYPY: + class DistributionFunctionAssociationArgsDict(TypedDict): + """ + A CloudFront function that is associated with a cache behavior in a CloudFront distribution. + """ + event_type: NotRequired[pulumi.Input[str]] + """ + The event type of the function, either ``viewer-request`` or ``viewer-response``. You cannot use origin-facing event types (``origin-request`` and ``origin-response``) with a CloudFront function. + """ + function_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the function. + """ +elif False: + DistributionFunctionAssociationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionFunctionAssociationArgs: def __init__(__self__, *, @@ -2384,6 +3230,27 @@ def function_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "function_arn", value) +if not MYPY: + class DistributionGeoRestrictionArgsDict(TypedDict): + """ + A complex type that controls the countries in which your content is distributed. CF determines the location of your users using ``MaxMind`` GeoIP databases. To disable geo restriction, remove the [Restrictions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-restrictions) property from your stack template. + """ + restriction_type: pulumi.Input[str] + """ + The method that you want to use to restrict distribution of your content by country: + + ``none``: No geo restriction is enabled, meaning access to content is not restricted by client geo location. + + ``blacklist``: The ``Location`` elements specify the countries in which you don't want CloudFront to distribute your content. + + ``whitelist``: The ``Location`` elements specify the countries in which you want CloudFront to distribute your content. + """ + locations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A complex type that contains a ``Location`` element for each country in which you want CloudFront either to distribute your content (``whitelist``) or not distribute your content (``blacklist``). + The ``Location`` element is a two-letter, uppercase country code for a country that you want to include in your ``blacklist`` or ``whitelist``. Include one ``Location`` element for each country. + CloudFront and ``MaxMind`` both use ``ISO 3166`` country codes. For the current list of countries and the corresponding codes, see ``ISO 3166-1-alpha-2`` code on the *International Organization for Standardization* website. You can also refer to the country list on the CloudFront console, which includes both country names and codes. + """ +elif False: + DistributionGeoRestrictionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionGeoRestrictionArgs: def __init__(__self__, *, @@ -2433,6 +3300,31 @@ def locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "locations", value) +if not MYPY: + class DistributionLambdaFunctionAssociationArgsDict(TypedDict): + """ + A complex type that contains a Lambda@Edge function association. + """ + event_type: NotRequired[pulumi.Input[str]] + """ + Specifies the event type that triggers a Lambda@Edge function invocation. You can specify the following values: + + ``viewer-request``: The function executes when CloudFront receives a request from a viewer and before it checks to see whether the requested object is in the edge cache. + + ``origin-request``: The function executes only when CloudFront sends a request to your origin. When the requested object is in the edge cache, the function doesn't execute. + + ``origin-response``: The function executes after CloudFront receives a response from the origin and before it caches the object in the response. When the requested object is in the edge cache, the function doesn't execute. + + ``viewer-response``: The function executes before CloudFront returns the requested object to the viewer. The function executes regardless of whether the object was already in the edge cache. + If the origin returns an HTTP status code other than HTTP 200 (OK), the function doesn't execute. + """ + include_body: NotRequired[pulumi.Input[bool]] + """ + A flag that allows a Lambda@Edge function to have read access to the body content. For more information, see [Accessing the Request Body by Choosing the Include Body Option](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html) in the Amazon CloudFront Developer Guide. + """ + lambda_function_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the Lambda@Edge function. You must specify the ARN of a function version; you can't specify an alias or $LATEST. + """ +elif False: + DistributionLambdaFunctionAssociationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionLambdaFunctionAssociationArgs: def __init__(__self__, *, @@ -2499,6 +3391,33 @@ def lambda_function_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "lambda_function_arn", value) +if not MYPY: + class DistributionLegacyCustomOriginArgsDict(TypedDict): + dns_name: pulumi.Input[str] + """ + The domain name assigned to your CloudFront distribution. + """ + origin_protocol_policy: pulumi.Input[str] + """ + Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. + """ + origin_ssl_protocols: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The minimum SSL/TLS protocol version that CloudFront uses when communicating with your origin server over HTTPs. + + For more information, see [Minimum Origin SSL Protocol](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginSSLProtocols) in the *Amazon CloudFront Developer Guide* . + """ + http_port: NotRequired[pulumi.Input[int]] + """ + The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on. + """ + https_port: NotRequired[pulumi.Input[int]] + """ + The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on. + """ +elif False: + DistributionLegacyCustomOriginArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionLegacyCustomOriginArgs: def __init__(__self__, *, @@ -2587,6 +3506,21 @@ def https_port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "https_port", value) +if not MYPY: + class DistributionLegacyS3OriginArgsDict(TypedDict): + dns_name: pulumi.Input[str] + """ + The domain name assigned to your CloudFront distribution. + """ + origin_access_identity: NotRequired[pulumi.Input[str]] + """ + The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 through CloudFront . + + > This property is legacy. We recommend that you use [OriginAccessControl](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-originaccesscontrol.html) instead. + """ +elif False: + DistributionLegacyS3OriginArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionLegacyS3OriginArgs: def __init__(__self__, *, @@ -2629,6 +3563,26 @@ def origin_access_identity(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "origin_access_identity", value) +if not MYPY: + class DistributionLoggingArgsDict(TypedDict): + """ + A complex type that controls whether access logs are written for the distribution. + """ + bucket: pulumi.Input[str] + """ + The Amazon S3 bucket to store the access logs in, for example, ``myawslogbucket.s3.amazonaws.com``. + """ + include_cookies: NotRequired[pulumi.Input[bool]] + """ + Specifies whether you want CloudFront to include cookies in access logs, specify ``true`` for ``IncludeCookies``. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify ``false`` for ``IncludeCookies``. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + An optional string that you want CloudFront to prefix to the access log ``filenames`` for this distribution, for example, ``myprefix/``. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty ``Prefix`` element in the ``Logging`` element. + """ +elif False: + DistributionLoggingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionLoggingArgs: def __init__(__self__, *, @@ -2684,6 +3638,22 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class DistributionOriginCustomHeaderArgsDict(TypedDict): + """ + A complex type that contains ``HeaderName`` and ``HeaderValue`` elements, if any, for this distribution. + """ + header_name: pulumi.Input[str] + """ + The name of a header that you want CloudFront to send to your origin. For more information, see [Adding Custom Headers to Origin Requests](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/forward-custom-headers.html) in the *Amazon CloudFront Developer Guide*. + """ + header_value: pulumi.Input[str] + """ + The value for the header that you specified in the ``HeaderName`` field. + """ +elif False: + DistributionOriginCustomHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionOriginCustomHeaderArgs: def __init__(__self__, *, @@ -2722,6 +3692,18 @@ def header_value(self, value: pulumi.Input[str]): pulumi.set(self, "header_value", value) +if not MYPY: + class DistributionOriginGroupFailoverCriteriaArgsDict(TypedDict): + """ + A complex data type that includes information about the failover criteria for an origin group, including the status codes for which CloudFront will failover from the primary origin to the second origin. + """ + status_codes: pulumi.Input['DistributionStatusCodesArgsDict'] + """ + The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin. + """ +elif False: + DistributionOriginGroupFailoverCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionOriginGroupFailoverCriteriaArgs: def __init__(__self__, *, @@ -2745,6 +3727,22 @@ def status_codes(self, value: pulumi.Input['DistributionStatusCodesArgs']): pulumi.set(self, "status_codes", value) +if not MYPY: + class DistributionOriginGroupMembersArgsDict(TypedDict): + """ + A complex data type for the origins included in an origin group. + """ + items: pulumi.Input[Sequence[pulumi.Input['DistributionOriginGroupMemberArgsDict']]] + """ + Items (origins) in an origin group. + """ + quantity: pulumi.Input[int] + """ + The number of origins in an origin group. + """ +elif False: + DistributionOriginGroupMembersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionOriginGroupMembersArgs: def __init__(__self__, *, @@ -2783,6 +3781,18 @@ def quantity(self, value: pulumi.Input[int]): pulumi.set(self, "quantity", value) +if not MYPY: + class DistributionOriginGroupMemberArgsDict(TypedDict): + """ + An origin in an origin group. + """ + origin_id: pulumi.Input[str] + """ + The ID for an origin in an origin group. + """ +elif False: + DistributionOriginGroupMemberArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionOriginGroupMemberArgs: def __init__(__self__, *, @@ -2806,6 +3816,22 @@ def origin_id(self, value: pulumi.Input[str]): pulumi.set(self, "origin_id", value) +if not MYPY: + class DistributionOriginGroupsArgsDict(TypedDict): + """ + A complex data type for the origin groups specified for a distribution. + """ + quantity: pulumi.Input[int] + """ + The number of origin groups. + """ + items: NotRequired[pulumi.Input[Sequence[pulumi.Input['DistributionOriginGroupArgsDict']]]] + """ + The items (origin groups) in a distribution. + """ +elif False: + DistributionOriginGroupsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionOriginGroupsArgs: def __init__(__self__, *, @@ -2845,6 +3871,26 @@ def items(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Distribution pulumi.set(self, "items", value) +if not MYPY: + class DistributionOriginGroupArgsDict(TypedDict): + """ + An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify. You create an origin group to support origin failover in CloudFront. When you create or update a distribution, you can specify the origin group instead of a single origin, and CloudFront will failover from the primary origin to the second origin under the failover conditions that you've chosen. + """ + failover_criteria: pulumi.Input['DistributionOriginGroupFailoverCriteriaArgsDict'] + """ + A complex type that contains information about the failover criteria for an origin group. + """ + id: pulumi.Input[str] + """ + The origin group's ID. + """ + members: pulumi.Input['DistributionOriginGroupMembersArgsDict'] + """ + A complex type that contains information about the origins in an origin group. + """ +elif False: + DistributionOriginGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionOriginGroupArgs: def __init__(__self__, *, @@ -2898,52 +3944,140 @@ def members(self, value: pulumi.Input['DistributionOriginGroupMembersArgs']): pulumi.set(self, "members", value) +if not MYPY: + class DistributionOriginShieldArgsDict(TypedDict): + """ + CloudFront Origin Shield. + Using Origin Shield can help reduce the load on your origin. For more information, see [Using Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) in the *Amazon CloudFront Developer Guide*. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + A flag that specifies whether Origin Shield is enabled. + When it's enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it's disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches. + """ + origin_shield_region: NotRequired[pulumi.Input[str]] + """ + The AWS-Region for Origin Shield. + Specify the AWS-Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as ``us-east-2``. + When you enable CloudFront Origin Shield, you must specify the AWS-Region for Origin Shield. For the list of AWS-Regions that you can specify, and for help choosing the best Region for your origin, see [Choosing the for Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html#choose-origin-shield-region) in the *Amazon CloudFront Developer Guide*. + """ +elif False: + DistributionOriginShieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionOriginShieldArgs: def __init__(__self__, *, enabled: Optional[pulumi.Input[bool]] = None, origin_shield_region: Optional[pulumi.Input[str]] = None): """ - CloudFront Origin Shield. - Using Origin Shield can help reduce the load on your origin. For more information, see [Using Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) in the *Amazon CloudFront Developer Guide*. - :param pulumi.Input[bool] enabled: A flag that specifies whether Origin Shield is enabled. - When it's enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it's disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches. - :param pulumi.Input[str] origin_shield_region: The AWS-Region for Origin Shield. - Specify the AWS-Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as ``us-east-2``. - When you enable CloudFront Origin Shield, you must specify the AWS-Region for Origin Shield. For the list of AWS-Regions that you can specify, and for help choosing the best Region for your origin, see [Choosing the for Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html#choose-origin-shield-region) in the *Amazon CloudFront Developer Guide*. + CloudFront Origin Shield. + Using Origin Shield can help reduce the load on your origin. For more information, see [Using Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) in the *Amazon CloudFront Developer Guide*. + :param pulumi.Input[bool] enabled: A flag that specifies whether Origin Shield is enabled. + When it's enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it's disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches. + :param pulumi.Input[str] origin_shield_region: The AWS-Region for Origin Shield. + Specify the AWS-Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as ``us-east-2``. + When you enable CloudFront Origin Shield, you must specify the AWS-Region for Origin Shield. For the list of AWS-Regions that you can specify, and for help choosing the best Region for your origin, see [Choosing the for Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html#choose-origin-shield-region) in the *Amazon CloudFront Developer Guide*. + """ + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + if origin_shield_region is not None: + pulumi.set(__self__, "origin_shield_region", origin_shield_region) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + """ + A flag that specifies whether Origin Shield is enabled. + When it's enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it's disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + @property + @pulumi.getter(name="originShieldRegion") + def origin_shield_region(self) -> Optional[pulumi.Input[str]]: + """ + The AWS-Region for Origin Shield. + Specify the AWS-Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as ``us-east-2``. + When you enable CloudFront Origin Shield, you must specify the AWS-Region for Origin Shield. For the list of AWS-Regions that you can specify, and for help choosing the best Region for your origin, see [Choosing the for Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html#choose-origin-shield-region) in the *Amazon CloudFront Developer Guide*. + """ + return pulumi.get(self, "origin_shield_region") + + @origin_shield_region.setter + def origin_shield_region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "origin_shield_region", value) + + +if not MYPY: + class DistributionOriginArgsDict(TypedDict): + """ + An origin. + An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin: + + Use ``S3OriginConfig`` to specify an Amazon S3 bucket that is not configured with static website hosting. + + Use ``CustomOriginConfig`` to specify all other kinds of origins, including: + + An Amazon S3 bucket that is configured with static website hosting + + An Elastic Load Balancing load balancer + + An EMPlong endpoint + + An EMSlong container + + Any other HTTP server, running on an Amazon EC2 instance or any other kind of host + + + For the current maximum number of origins that you can specify per distribution, see [General Quotas on Web Distributions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html#limits-web-distributions) in the *Amazon CloudFront Developer Guide* (quotas were formerly referred to as limits). + """ + domain_name: pulumi.Input[str] + """ + The domain name for the origin. + For more information, see [Origin Domain Name](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesDomainName) in the *Amazon CloudFront Developer Guide*. + """ + id: pulumi.Input[str] + """ + A unique identifier for the origin. This value must be unique within the distribution. + Use this value to specify the ``TargetOriginId`` in a ``CacheBehavior`` or ``DefaultCacheBehavior``. + """ + connection_attempts: NotRequired[pulumi.Input[int]] + """ + The number of times that CloudFront attempts to connect to the origin. The minimum number is 1, the maximum is 3, and the default (if you don't specify otherwise) is 3. + For a custom origin (including an Amazon S3 bucket that's configured with static website hosting), this value also specifies the number of times that CloudFront attempts to get a response from the origin, in the case of an [Origin Response Timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout). + For more information, see [Origin Connection Attempts](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#origin-connection-attempts) in the *Amazon CloudFront Developer Guide*. + """ + connection_timeout: NotRequired[pulumi.Input[int]] + """ + The number of seconds that CloudFront waits when trying to establish a connection to the origin. The minimum timeout is 1 second, the maximum is 10 seconds, and the default (if you don't specify otherwise) is 10 seconds. + For more information, see [Origin Connection Timeout](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#origin-connection-timeout) in the *Amazon CloudFront Developer Guide*. + """ + custom_origin_config: NotRequired[pulumi.Input['DistributionCustomOriginConfigArgsDict']] + """ + Use this type to specify an origin that is not an Amazon S3 bucket, with one exception. If the Amazon S3 bucket is configured with static website hosting, use this type. If the Amazon S3 bucket is not configured with static website hosting, use the ``S3OriginConfig`` type instead. + """ + origin_access_control_id: NotRequired[pulumi.Input[str]] + """ + The unique identifier of an origin access control for this origin. + For more information, see [Restricting access to an Amazon S3 origin](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) in the *Amazon CloudFront Developer Guide*. """ - if enabled is not None: - pulumi.set(__self__, "enabled", enabled) - if origin_shield_region is not None: - pulumi.set(__self__, "origin_shield_region", origin_shield_region) - - @property - @pulumi.getter - def enabled(self) -> Optional[pulumi.Input[bool]]: + origin_custom_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input['DistributionOriginCustomHeaderArgsDict']]]] """ - A flag that specifies whether Origin Shield is enabled. - When it's enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it's disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches. + A list of HTTP header names and values that CloudFront adds to the requests that it sends to the origin. + For more information, see [Adding Custom Headers to Origin Requests](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/add-origin-custom-headers.html) in the *Amazon CloudFront Developer Guide*. """ - return pulumi.get(self, "enabled") - - @enabled.setter - def enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "enabled", value) - - @property - @pulumi.getter(name="originShieldRegion") - def origin_shield_region(self) -> Optional[pulumi.Input[str]]: + origin_path: NotRequired[pulumi.Input[str]] """ - The AWS-Region for Origin Shield. - Specify the AWS-Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as ``us-east-2``. - When you enable CloudFront Origin Shield, you must specify the AWS-Region for Origin Shield. For the list of AWS-Regions that you can specify, and for help choosing the best Region for your origin, see [Choosing the for Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html#choose-origin-shield-region) in the *Amazon CloudFront Developer Guide*. + An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. + For more information, see [Origin Path](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginPath) in the *Amazon CloudFront Developer Guide*. """ - return pulumi.get(self, "origin_shield_region") - - @origin_shield_region.setter - def origin_shield_region(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "origin_shield_region", value) - + origin_shield: NotRequired[pulumi.Input['DistributionOriginShieldArgsDict']] + """ + CloudFront Origin Shield. Using Origin Shield can help reduce the load on your origin. + For more information, see [Using Origin Shield](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html) in the *Amazon CloudFront Developer Guide*. + """ + s3_origin_config: NotRequired[pulumi.Input['DistributionS3OriginConfigArgsDict']] + """ + Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead. + """ +elif False: + DistributionOriginArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class DistributionOriginArgs: @@ -3140,6 +4274,18 @@ def s3_origin_config(self, value: Optional[pulumi.Input['DistributionS3OriginCon pulumi.set(self, "s3_origin_config", value) +if not MYPY: + class DistributionRestrictionsArgsDict(TypedDict): + """ + A complex type that identifies ways in which you want to restrict distribution of your content. + """ + geo_restriction: pulumi.Input['DistributionGeoRestrictionArgsDict'] + """ + A complex type that controls the countries in which your content is distributed. CF determines the location of your users using ``MaxMind`` GeoIP databases. To disable geo restriction, remove the [Restrictions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-distributionconfig.html#cfn-cloudfront-distribution-distributionconfig-restrictions) property from your stack template. + """ +elif False: + DistributionRestrictionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionRestrictionsArgs: def __init__(__self__, *, @@ -3163,6 +4309,24 @@ def geo_restriction(self, value: pulumi.Input['DistributionGeoRestrictionArgs']) pulumi.set(self, "geo_restriction", value) +if not MYPY: + class DistributionS3OriginConfigArgsDict(TypedDict): + """ + A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin or an S3 bucket that is configured as a website endpoint, use the ``CustomOriginConfig`` element instead. + """ + origin_access_identity: NotRequired[pulumi.Input[str]] + """ + The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that viewers can *only* access objects in an Amazon S3 bucket through CloudFront. The format of the value is: + origin-access-identity/cloudfront/*ID-of-origin-access-identity* + where ``ID-of-origin-access-identity`` is the value that CloudFront returned in the ``ID`` element when you created the origin access identity. + If you want viewers to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty ``OriginAccessIdentity`` element. + To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty ``OriginAccessIdentity`` element. + To replace the origin access identity, update the distribution configuration and specify the new origin access identity. + For more information about the origin access identity, see [Serving Private Content through CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the *Amazon CloudFront Developer Guide*. + """ +elif False: + DistributionS3OriginConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionS3OriginConfigArgs: def __init__(__self__, *, @@ -3199,6 +4363,22 @@ def origin_access_identity(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "origin_access_identity", value) +if not MYPY: + class DistributionStatusCodesArgsDict(TypedDict): + """ + A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin. + """ + items: pulumi.Input[Sequence[pulumi.Input[int]]] + """ + The items (status codes) for an origin group. + """ + quantity: pulumi.Input[int] + """ + The number of status codes. + """ +elif False: + DistributionStatusCodesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionStatusCodesArgs: def __init__(__self__, *, @@ -3237,6 +4417,69 @@ def quantity(self, value: pulumi.Input[int]): pulumi.set(self, "quantity", value) +if not MYPY: + class DistributionViewerCertificateArgsDict(TypedDict): + """ + A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers. + If the distribution doesn't use ``Aliases`` (also known as alternate domain names or CNAMEs)—that is, if the distribution uses the CloudFront domain name such as ``d111111abcdef8.cloudfront.net``—set ``CloudFrontDefaultCertificate`` to ``true`` and leave all other fields empty. + If the distribution uses ``Aliases`` (alternate domain names or CNAMEs), use the fields in this type to specify the following settings: + + Which viewers the distribution accepts HTTPS connections from: only viewers that support [server name indication (SNI)](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/Server_Name_Indication) (recommended), or all viewers including those that don't support SNI. + + To accept HTTPS connections from only viewers that support SNI, set ``SSLSupportMethod`` to ``sni-only``. This is recommended. Most browsers and clients support SNI. (In CloudFormation, the field name is ``SslSupportMethod``. Note the different capitalization.) + + To accept HTTPS connections from all viewers, including those that don't support SNI, set ``SSLSupportMethod`` to ``vip``. This is not recommended, and results in additional monthly charges from CloudFront. (In CloudFormation, the field name is ``SslSupportMethod``. Note the different capitalization.) + + + The minimum SSL/TLS protocol version that the distribution can use to communicate with viewers. To specify a minimum version, choose a value for ``MinimumProtocolVersion``. For more information, see [Security Policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy) in the *Amazon CloudFront Developer Guide*. + + The location of the SSL/TLS certificate, [(ACM)](https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html) (recommended) or [(IAM)](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html). You specify the location by setting a value in one of the following fields (not both): + + ``ACMCertificateArn`` (In CloudFormation, this field name is ``AcmCertificateArn``. Note the different capitalization.) + + ``IAMCertificateId`` (In CloudFormation, this field name is ``IamCertificateId``. Note the different capitalization.) + + + All distributions support HTTPS connections from viewers. To require viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use ``ViewerProtocolPolicy`` in the ``CacheBehavior`` or ``DefaultCacheBehavior``. To specify how CloudFront should use SSL/TLS to communicate with your custom origin, use ``CustomOriginConfig``. + For more information, see [Using HTTPS with CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https.html) and [Using Alternate Domain Names and HTTPS](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-alternate-domain-names.html) in the *Amazon CloudFront Developer Guide*. + """ + acm_certificate_arn: NotRequired[pulumi.Input[str]] + """ + In CloudFormation, this field name is ``AcmCertificateArn``. Note the different capitalization. + If the distribution uses ``Aliases`` (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in [(ACM)](https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html), provide the Amazon Resource Name (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East (N. Virginia) Region (``us-east-1``). + If you specify an ACM certificate ARN, you must also specify values for ``MinimumProtocolVersion`` and ``SSLSupportMethod``. (In CloudFormation, the field name is ``SslSupportMethod``. Note the different capitalization.) + """ + cloud_front_default_certificate: NotRequired[pulumi.Input[bool]] + """ + If the distribution uses the CloudFront domain name such as ``d111111abcdef8.cloudfront.net``, set this field to ``true``. + If the distribution uses ``Aliases`` (alternate domain names or CNAMEs), omit this field and specify values for the following fields: + + ``AcmCertificateArn`` or ``IamCertificateId`` (specify a value for one, not both) + + ``MinimumProtocolVersion`` + + ``SslSupportMethod`` + """ + iam_certificate_id: NotRequired[pulumi.Input[str]] + """ + In CloudFormation, this field name is ``IamCertificateId``. Note the different capitalization. + If the distribution uses ``Aliases`` (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in [(IAM)](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html), provide the ID of the IAM certificate. + If you specify an IAM certificate ID, you must also specify values for ``MinimumProtocolVersion`` and ``SSLSupportMethod``. (In CloudFormation, the field name is ``SslSupportMethod``. Note the different capitalization.) + """ + minimum_protocol_version: NotRequired[pulumi.Input[str]] + """ + If the distribution uses ``Aliases`` (alternate domain names or CNAMEs), specify the security policy that you want CloudFront to use for HTTPS connections with viewers. The security policy determines two settings: + + The minimum SSL/TLS protocol that CloudFront can use to communicate with viewers. + + The ciphers that CloudFront can use to encrypt the content that it returns to viewers. + + For more information, see [Security Policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy) and [Supported Protocols and Ciphers Between Viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html#secure-connections-supported-ciphers) in the *Amazon CloudFront Developer Guide*. + On the CloudFront console, this setting is called *Security Policy*. + When you're using SNI only (you set ``SSLSupportMethod`` to ``sni-only``), you must specify ``TLSv1`` or higher. (In CloudFormation, the field name is ``SslSupportMethod``. Note the different capitalization.) + If the distribution uses the CloudFront domain name such as ``d111111abcdef8.cloudfront.net`` (you set ``CloudFrontDefaultCertificate`` to ``true``), CloudFront automatically sets the security policy to ``TLSv1`` regardless of the value that you set here. + """ + ssl_support_method: NotRequired[pulumi.Input[str]] + """ + In CloudFormation, this field name is ``SslSupportMethod``. Note the different capitalization. + If the distribution uses ``Aliases`` (alternate domain names or CNAMEs), specify which viewers the distribution accepts HTTPS connections from. + + ``sni-only`` – The distribution accepts HTTPS connections from only viewers that support [server name indication (SNI)](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/Server_Name_Indication). This is recommended. Most browsers and clients support SNI. + + ``vip`` – The distribution accepts HTTPS connections from all viewers including those that don't support SNI. This is not recommended, and results in additional monthly charges from CloudFront. + + ``static-ip`` - Do not specify this value unless your distribution has been enabled for this feature by the CloudFront team. If you have a use case that requires static IP addresses for a distribution, contact CloudFront through the [Center](https://docs.aws.amazon.com/support/home). + + If the distribution uses the CloudFront domain name such as ``d111111abcdef8.cloudfront.net``, don't set a value for this field. + """ +elif False: + DistributionViewerCertificateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionViewerCertificateArgs: def __init__(__self__, *, @@ -3381,6 +4624,23 @@ def ssl_support_method(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ssl_support_method", value) +if not MYPY: + class FunctionConfigArgsDict(TypedDict): + comment: pulumi.Input[str] + """ + A comment to describe the function. + """ + runtime: pulumi.Input[str] + """ + The function's runtime environment version. + """ + key_value_store_associations: NotRequired[pulumi.Input[Sequence[pulumi.Input['FunctionKeyValueStoreAssociationArgsDict']]]] + """ + The configuration for the key value store associations. + """ +elif False: + FunctionConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionConfigArgs: def __init__(__self__, *, @@ -3434,6 +4694,15 @@ def key_value_store_associations(self, value: Optional[pulumi.Input[Sequence[pul pulumi.set(self, "key_value_store_associations", value) +if not MYPY: + class FunctionKeyValueStoreAssociationArgsDict(TypedDict): + key_value_store_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the key value store association. + """ +elif False: + FunctionKeyValueStoreAssociationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionKeyValueStoreAssociationArgs: def __init__(__self__, *, @@ -3456,6 +4725,15 @@ def key_value_store_arn(self, value: pulumi.Input[str]): pulumi.set(self, "key_value_store_arn", value) +if not MYPY: + class FunctionMetadataArgsDict(TypedDict): + function_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function. + """ +elif False: + FunctionMetadataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionMetadataArgs: def __init__(__self__, *, @@ -3479,6 +4757,23 @@ def function_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "function_arn", value) +if not MYPY: + class KeyGroupConfigArgsDict(TypedDict): + items: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of the identifiers of the public keys in the key group. + """ + name: pulumi.Input[str] + """ + A name to identify the key group. + """ + comment: NotRequired[pulumi.Input[str]] + """ + A comment to describe the key group. The comment cannot be longer than 128 characters. + """ +elif False: + KeyGroupConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KeyGroupConfigArgs: def __init__(__self__, *, @@ -3532,6 +4827,19 @@ def comment(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "comment", value) +if not MYPY: + class KeyValueStoreImportSourceArgsDict(TypedDict): + source_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the import source for the key value store. + """ + source_type: pulumi.Input[str] + """ + The source type of the import source for the key value store. + """ +elif False: + KeyValueStoreImportSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KeyValueStoreImportSourceArgs: def __init__(__self__, *, @@ -3569,6 +4877,15 @@ def source_type(self, value: pulumi.Input[str]): pulumi.set(self, "source_type", value) +if not MYPY: + class MonitoringSubscriptionRealtimeMetricsSubscriptionConfigArgsDict(TypedDict): + realtime_metrics_subscription_status: pulumi.Input['MonitoringSubscriptionRealtimeMetricsSubscriptionConfigRealtimeMetricsSubscriptionStatus'] + """ + A flag that indicates whether additional CloudWatch metrics are enabled for a given CloudFront distribution. + """ +elif False: + MonitoringSubscriptionRealtimeMetricsSubscriptionConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringSubscriptionRealtimeMetricsSubscriptionConfigArgs: def __init__(__self__, *, @@ -3591,6 +4908,15 @@ def realtime_metrics_subscription_status(self, value: pulumi.Input['MonitoringSu pulumi.set(self, "realtime_metrics_subscription_status", value) +if not MYPY: + class MonitoringSubscriptionArgsDict(TypedDict): + realtime_metrics_subscription_config: NotRequired[pulumi.Input['MonitoringSubscriptionRealtimeMetricsSubscriptionConfigArgsDict']] + """ + A subscription configuration for additional CloudWatch metrics. + """ +elif False: + MonitoringSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringSubscriptionArgs: def __init__(__self__, *, @@ -3614,6 +4940,37 @@ def realtime_metrics_subscription_config(self, value: Optional[pulumi.Input['Mon pulumi.set(self, "realtime_metrics_subscription_config", value) +if not MYPY: + class OriginAccessControlConfigArgsDict(TypedDict): + name: pulumi.Input[str] + """ + A name to identify the origin access control. You can specify up to 64 characters. + """ + origin_access_control_origin_type: pulumi.Input[str] + """ + The type of origin that this origin access control is for. + """ + signing_behavior: pulumi.Input[str] + """ + Specifies which requests CloudFront signs (adds authentication information to). Specify `always` for the most common use case. For more information, see [origin access control advanced settings](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings) in the *Amazon CloudFront Developer Guide* . + + This field can have one of the following values: + + - `always` – CloudFront signs all origin requests, overwriting the `Authorization` header from the viewer request if one exists. + - `never` – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control. + - `no-override` – If the viewer request doesn't contain the `Authorization` header, then CloudFront signs the origin request. If the viewer request contains the `Authorization` header, then CloudFront doesn't sign the origin request and instead passes along the `Authorization` header from the viewer request. *WARNING: To pass along the `Authorization` header from the viewer request, you *must* add the `Authorization` header to a [cache policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html) for all cache behaviors that use origins associated with this origin access control.* + """ + signing_protocol: pulumi.Input[str] + """ + The signing protocol of the origin access control, which determines how CloudFront signs (authenticates) requests. The only valid value is `sigv4` . + """ + description: NotRequired[pulumi.Input[str]] + """ + A description of the origin access control. + """ +elif False: + OriginAccessControlConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginAccessControlConfigArgs: def __init__(__self__, *, @@ -3709,6 +5066,31 @@ def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) +if not MYPY: + class OriginRequestPolicyConfigArgsDict(TypedDict): + cookies_config: pulumi.Input['OriginRequestPolicyCookiesConfigArgsDict'] + """ + The cookies from viewer requests to include in origin requests. + """ + headers_config: pulumi.Input['OriginRequestPolicyHeadersConfigArgsDict'] + """ + The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront. + """ + name: pulumi.Input[str] + """ + A unique name to identify the origin request policy. + """ + query_strings_config: pulumi.Input['OriginRequestPolicyQueryStringsConfigArgsDict'] + """ + The URL query strings from viewer requests to include in origin requests. + """ + comment: NotRequired[pulumi.Input[str]] + """ + A comment to describe the origin request policy. The comment cannot be longer than 128 characters. + """ +elif False: + OriginRequestPolicyConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginRequestPolicyConfigArgs: def __init__(__self__, *, @@ -3792,6 +5174,24 @@ def comment(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "comment", value) +if not MYPY: + class OriginRequestPolicyCookiesConfigArgsDict(TypedDict): + cookie_behavior: pulumi.Input[str] + """ + Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are: + + - `none` – No cookies in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to `none` , any cookies that are listed in a `CachePolicy` *are* included in origin requests. + - `whitelist` – Only the cookies in viewer requests that are listed in the `CookieNames` type are included in requests that CloudFront sends to the origin. + - `all` – All cookies in viewer requests are included in requests that CloudFront sends to the origin. + - `allExcept` – All cookies in viewer requests are included in requests that CloudFront sends to the origin, **except** for those listed in the `CookieNames` type, which are not included. + """ + cookies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Contains a list of cookie names. + """ +elif False: + OriginRequestPolicyCookiesConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginRequestPolicyCookiesConfigArgs: def __init__(__self__, *, @@ -3840,6 +5240,25 @@ def cookies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "cookies", value) +if not MYPY: + class OriginRequestPolicyHeadersConfigArgsDict(TypedDict): + header_behavior: pulumi.Input[str] + """ + Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are: + + - `none` – No HTTP headers in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to `none` , any headers that are listed in a `CachePolicy` *are* included in origin requests. + - `whitelist` – Only the HTTP headers that are listed in the `Headers` type are included in requests that CloudFront sends to the origin. + - `allViewer` – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin. + - `allViewerAndWhitelistCloudFront` – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the `Headers` type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront. + - `allExcept` – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin, **except** for those listed in the `Headers` type, which are not included. + """ + headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Contains a list of HTTP header names. + """ +elif False: + OriginRequestPolicyHeadersConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginRequestPolicyHeadersConfigArgs: def __init__(__self__, *, @@ -3881,14 +5300,32 @@ def header_behavior(self, value: pulumi.Input[str]): @pulumi.getter def headers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: """ - Contains a list of HTTP header names. + Contains a list of HTTP header names. + """ + return pulumi.get(self, "headers") + + @headers.setter + def headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "headers", value) + + +if not MYPY: + class OriginRequestPolicyQueryStringsConfigArgsDict(TypedDict): + query_string_behavior: pulumi.Input[str] + """ + Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are: + + - `none` – No query strings in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to `none` , any query strings that are listed in a `CachePolicy` *are* included in origin requests. + - `whitelist` – Only the query strings in viewer requests that are listed in the `QueryStringNames` type are included in requests that CloudFront sends to the origin. + - `all` – All query strings in viewer requests are included in requests that CloudFront sends to the origin. + - `allExcept` – All query strings in viewer requests are included in requests that CloudFront sends to the origin, **except** for those listed in the `QueryStringNames` type, which are not included. + """ + query_strings: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Contains a list of query string names. """ - return pulumi.get(self, "headers") - - @headers.setter - def headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "headers", value) - +elif False: + OriginRequestPolicyQueryStringsConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class OriginRequestPolicyQueryStringsConfigArgs: @@ -3938,6 +5375,27 @@ def query_strings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "query_strings", value) +if not MYPY: + class PublicKeyConfigArgsDict(TypedDict): + caller_reference: pulumi.Input[str] + """ + A string included in the request to help make sure that the request can't be replayed. + """ + encoded_key: pulumi.Input[str] + """ + The public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) , or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html) . + """ + name: pulumi.Input[str] + """ + A name to help identify the public key. + """ + comment: NotRequired[pulumi.Input[str]] + """ + A comment to describe the public key. The comment cannot be longer than 128 characters. + """ +elif False: + PublicKeyConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PublicKeyConfigArgs: def __init__(__self__, *, @@ -4006,6 +5464,19 @@ def comment(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "comment", value) +if not MYPY: + class RealtimeLogConfigEndPointArgsDict(TypedDict): + kinesis_stream_config: pulumi.Input['RealtimeLogConfigKinesisStreamConfigArgsDict'] + """ + Contains information about the Amazon Kinesis data stream where you are sending real-time log data. + """ + stream_type: pulumi.Input[str] + """ + The type of data stream where you are sending real-time log data. The only valid value is `Kinesis` . + """ +elif False: + RealtimeLogConfigEndPointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RealtimeLogConfigEndPointArgs: def __init__(__self__, *, @@ -4043,6 +5514,21 @@ def stream_type(self, value: pulumi.Input[str]): pulumi.set(self, "stream_type", value) +if not MYPY: + class RealtimeLogConfigKinesisStreamConfigArgsDict(TypedDict): + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream. + + For more information the IAM role, see [Real-time log configuration IAM role](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-iam-role) in the *Amazon CloudFront Developer Guide* . + """ + stream_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data. + """ +elif False: + RealtimeLogConfigKinesisStreamConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RealtimeLogConfigKinesisStreamConfigArgs: def __init__(__self__, *, @@ -4084,6 +5570,15 @@ def stream_arn(self, value: pulumi.Input[str]): pulumi.set(self, "stream_arn", value) +if not MYPY: + class ResponseHeadersPolicyAccessControlAllowHeadersArgsDict(TypedDict): + items: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of HTTP header names. You can specify `*` to allow all headers. + """ +elif False: + ResponseHeadersPolicyAccessControlAllowHeadersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyAccessControlAllowHeadersArgs: def __init__(__self__, *, @@ -4106,6 +5601,26 @@ def items(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "items", value) +if not MYPY: + class ResponseHeadersPolicyAccessControlAllowMethodsArgsDict(TypedDict): + items: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of HTTP methods. Valid values are: + + - `GET` + - `DELETE` + - `HEAD` + - `OPTIONS` + - `PATCH` + - `POST` + - `PUT` + - `ALL` + + `ALL` is a special value that includes all of the listed HTTP methods. + """ +elif False: + ResponseHeadersPolicyAccessControlAllowMethodsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyAccessControlAllowMethodsArgs: def __init__(__self__, *, @@ -4150,6 +5665,15 @@ def items(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "items", value) +if not MYPY: + class ResponseHeadersPolicyAccessControlAllowOriginsArgsDict(TypedDict): + items: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of origins (domain names). You can specify `*` to allow all origins. + """ +elif False: + ResponseHeadersPolicyAccessControlAllowOriginsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyAccessControlAllowOriginsArgs: def __init__(__self__, *, @@ -4172,6 +5696,15 @@ def items(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "items", value) +if not MYPY: + class ResponseHeadersPolicyAccessControlExposeHeadersArgsDict(TypedDict): + items: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of HTTP headers. You can specify `*` to expose all headers. + """ +elif False: + ResponseHeadersPolicyAccessControlExposeHeadersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyAccessControlExposeHeadersArgs: def __init__(__self__, *, @@ -4194,6 +5727,43 @@ def items(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "items", value) +if not MYPY: + class ResponseHeadersPolicyConfigArgsDict(TypedDict): + name: pulumi.Input[str] + """ + A name to identify the response headers policy. + + The name must be unique for response headers policies in this AWS account . + """ + comment: NotRequired[pulumi.Input[str]] + """ + A comment to describe the response headers policy. + + The comment cannot be longer than 128 characters. + """ + cors_config: NotRequired[pulumi.Input['ResponseHeadersPolicyCorsConfigArgsDict']] + """ + A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS). + """ + custom_headers_config: NotRequired[pulumi.Input['ResponseHeadersPolicyCustomHeadersConfigArgsDict']] + """ + A configuration for a set of custom HTTP response headers. + """ + remove_headers_config: NotRequired[pulumi.Input['ResponseHeadersPolicyRemoveHeadersConfigArgsDict']] + """ + A configuration for a set of HTTP headers to remove from the HTTP response. + """ + security_headers_config: NotRequired[pulumi.Input['ResponseHeadersPolicySecurityHeadersConfigArgsDict']] + """ + A configuration for a set of security-related HTTP response headers. + """ + server_timing_headers_config: NotRequired[pulumi.Input['ResponseHeadersPolicyServerTimingHeadersConfigArgsDict']] + """ + A configuration for enabling the `Server-Timing` header in HTTP responses sent from CloudFront. + """ +elif False: + ResponseHeadersPolicyConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyConfigArgs: def __init__(__self__, *, @@ -4320,6 +5890,19 @@ def server_timing_headers_config(self, value: Optional[pulumi.Input['ResponseHea pulumi.set(self, "server_timing_headers_config", value) +if not MYPY: + class ResponseHeadersPolicyContentSecurityPolicyArgsDict(TypedDict): + content_security_policy: pulumi.Input[str] + """ + The policy directives and their values that CloudFront includes as values for the `Content-Security-Policy` HTTP response header. + """ + override: pulumi.Input[bool] + """ + A Boolean that determines whether CloudFront overrides the `Content-Security-Policy` HTTP response header received from the origin with the one specified in this response headers policy. + """ +elif False: + ResponseHeadersPolicyContentSecurityPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyContentSecurityPolicyArgs: def __init__(__self__, *, @@ -4357,6 +5940,15 @@ def override(self, value: pulumi.Input[bool]): pulumi.set(self, "override", value) +if not MYPY: + class ResponseHeadersPolicyContentTypeOptionsArgsDict(TypedDict): + override: pulumi.Input[bool] + """ + A Boolean that determines whether CloudFront overrides the `X-Content-Type-Options` HTTP response header received from the origin with the one specified in this response headers policy. + """ +elif False: + ResponseHeadersPolicyContentTypeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyContentTypeOptionsArgs: def __init__(__self__, *, @@ -4379,6 +5971,51 @@ def override(self, value: pulumi.Input[bool]): pulumi.set(self, "override", value) +if not MYPY: + class ResponseHeadersPolicyCorsConfigArgsDict(TypedDict): + access_control_allow_credentials: pulumi.Input[bool] + """ + A Boolean that CloudFront uses as the value for the `Access-Control-Allow-Credentials` HTTP response header. + + For more information about the `Access-Control-Allow-Credentials` HTTP response header, see [Access-Control-Allow-Credentials](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials) in the MDN Web Docs. + """ + access_control_allow_headers: pulumi.Input['ResponseHeadersPolicyAccessControlAllowHeadersArgsDict'] + """ + A list of HTTP header names that CloudFront includes as values for the `Access-Control-Allow-Headers` HTTP response header. + + For more information about the `Access-Control-Allow-Headers` HTTP response header, see [Access-Control-Allow-Headers](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) in the MDN Web Docs. + """ + access_control_allow_methods: pulumi.Input['ResponseHeadersPolicyAccessControlAllowMethodsArgsDict'] + """ + A list of HTTP methods that CloudFront includes as values for the `Access-Control-Allow-Methods` HTTP response header. + + For more information about the `Access-Control-Allow-Methods` HTTP response header, see [Access-Control-Allow-Methods](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods) in the MDN Web Docs. + """ + access_control_allow_origins: pulumi.Input['ResponseHeadersPolicyAccessControlAllowOriginsArgsDict'] + """ + A list of origins (domain names) that CloudFront can use as the value for the `Access-Control-Allow-Origin` HTTP response header. + + For more information about the `Access-Control-Allow-Origin` HTTP response header, see [Access-Control-Allow-Origin](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin) in the MDN Web Docs. + """ + origin_override: pulumi.Input[bool] + """ + A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy. + """ + access_control_expose_headers: NotRequired[pulumi.Input['ResponseHeadersPolicyAccessControlExposeHeadersArgsDict']] + """ + A list of HTTP headers that CloudFront includes as values for the `Access-Control-Expose-Headers` HTTP response header. + + For more information about the `Access-Control-Expose-Headers` HTTP response header, see [Access-Control-Expose-Headers](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) in the MDN Web Docs. + """ + access_control_max_age_sec: NotRequired[pulumi.Input[int]] + """ + A number that CloudFront uses as the value for the `Access-Control-Max-Age` HTTP response header. + + For more information about the `Access-Control-Max-Age` HTTP response header, see [Access-Control-Max-Age](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age) in the MDN Web Docs. + """ +elif False: + ResponseHeadersPolicyCorsConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyCorsConfigArgs: def __init__(__self__, *, @@ -4517,6 +6154,15 @@ def access_control_max_age_sec(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "access_control_max_age_sec", value) +if not MYPY: + class ResponseHeadersPolicyCustomHeadersConfigArgsDict(TypedDict): + items: pulumi.Input[Sequence[pulumi.Input['ResponseHeadersPolicyCustomHeaderArgsDict']]] + """ + The list of HTTP response headers and their values. + """ +elif False: + ResponseHeadersPolicyCustomHeadersConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyCustomHeadersConfigArgs: def __init__(__self__, *, @@ -4539,6 +6185,23 @@ def items(self, value: pulumi.Input[Sequence[pulumi.Input['ResponseHeadersPolicy pulumi.set(self, "items", value) +if not MYPY: + class ResponseHeadersPolicyCustomHeaderArgsDict(TypedDict): + header: pulumi.Input[str] + """ + The HTTP response header name. + """ + override: pulumi.Input[bool] + """ + A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here. + """ + value: pulumi.Input[str] + """ + The value for the HTTP response header. + """ +elif False: + ResponseHeadersPolicyCustomHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyCustomHeaderArgs: def __init__(__self__, *, @@ -4591,6 +6254,21 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ResponseHeadersPolicyFrameOptionsArgsDict(TypedDict): + frame_option: pulumi.Input[str] + """ + The value of the `X-Frame-Options` HTTP response header. Valid values are `DENY` and `SAMEORIGIN` . + + For more information about these values, see [X-Frame-Options](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) in the MDN Web Docs. + """ + override: pulumi.Input[bool] + """ + A Boolean that determines whether CloudFront overrides the `X-Frame-Options` HTTP response header received from the origin with the one specified in this response headers policy. + """ +elif False: + ResponseHeadersPolicyFrameOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyFrameOptionsArgs: def __init__(__self__, *, @@ -4632,6 +6310,30 @@ def override(self, value: pulumi.Input[bool]): pulumi.set(self, "override", value) +if not MYPY: + class ResponseHeadersPolicyReferrerPolicyArgsDict(TypedDict): + override: pulumi.Input[bool] + """ + A Boolean that determines whether CloudFront overrides the `Referrer-Policy` HTTP response header received from the origin with the one specified in this response headers policy. + """ + referrer_policy: pulumi.Input[str] + """ + The value of the `Referrer-Policy` HTTP response header. Valid values are: + + - `no-referrer` + - `no-referrer-when-downgrade` + - `origin` + - `origin-when-cross-origin` + - `same-origin` + - `strict-origin` + - `strict-origin-when-cross-origin` + - `unsafe-url` + + For more information about these values, see [Referrer-Policy](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) in the MDN Web Docs. + """ +elif False: + ResponseHeadersPolicyReferrerPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyReferrerPolicyArgs: def __init__(__self__, *, @@ -4691,6 +6393,15 @@ def referrer_policy(self, value: pulumi.Input[str]): pulumi.set(self, "referrer_policy", value) +if not MYPY: + class ResponseHeadersPolicyRemoveHeadersConfigArgsDict(TypedDict): + items: pulumi.Input[Sequence[pulumi.Input['ResponseHeadersPolicyRemoveHeaderArgsDict']]] + """ + The list of HTTP header names. + """ +elif False: + ResponseHeadersPolicyRemoveHeadersConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyRemoveHeadersConfigArgs: def __init__(__self__, *, @@ -4713,6 +6424,15 @@ def items(self, value: pulumi.Input[Sequence[pulumi.Input['ResponseHeadersPolicy pulumi.set(self, "items", value) +if not MYPY: + class ResponseHeadersPolicyRemoveHeaderArgsDict(TypedDict): + header: pulumi.Input[str] + """ + The HTTP header name. + """ +elif False: + ResponseHeadersPolicyRemoveHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyRemoveHeaderArgs: def __init__(__self__, *, @@ -4735,6 +6455,47 @@ def header(self, value: pulumi.Input[str]): pulumi.set(self, "header", value) +if not MYPY: + class ResponseHeadersPolicySecurityHeadersConfigArgsDict(TypedDict): + content_security_policy: NotRequired[pulumi.Input['ResponseHeadersPolicyContentSecurityPolicyArgsDict']] + """ + The policy directives and their values that CloudFront includes as values for the `Content-Security-Policy` HTTP response header. + + For more information about the `Content-Security-Policy` HTTP response header, see [Content-Security-Policy](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) in the MDN Web Docs. + """ + content_type_options: NotRequired[pulumi.Input['ResponseHeadersPolicyContentTypeOptionsArgsDict']] + """ + Determines whether CloudFront includes the `X-Content-Type-Options` HTTP response header with its value set to `nosniff` . + + For more information about the `X-Content-Type-Options` HTTP response header, see [X-Content-Type-Options](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options) in the MDN Web Docs. + """ + frame_options: NotRequired[pulumi.Input['ResponseHeadersPolicyFrameOptionsArgsDict']] + """ + Determines whether CloudFront includes the `X-Frame-Options` HTTP response header and the header's value. + + For more information about the `X-Frame-Options` HTTP response header, see [X-Frame-Options](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) in the MDN Web Docs. + """ + referrer_policy: NotRequired[pulumi.Input['ResponseHeadersPolicyReferrerPolicyArgsDict']] + """ + Determines whether CloudFront includes the `Referrer-Policy` HTTP response header and the header's value. + + For more information about the `Referrer-Policy` HTTP response header, see [Referrer-Policy](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) in the MDN Web Docs. + """ + strict_transport_security: NotRequired[pulumi.Input['ResponseHeadersPolicyStrictTransportSecurityArgsDict']] + """ + Determines whether CloudFront includes the `Strict-Transport-Security` HTTP response header and the header's value. + + For more information about the `Strict-Transport-Security` HTTP response header, see [Security headers](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#understanding-response-headers-policies-security) in the *Amazon CloudFront Developer Guide* and [Strict-Transport-Security](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) in the MDN Web Docs. + """ + xss_protection: NotRequired[pulumi.Input['ResponseHeadersPolicyXssProtectionArgsDict']] + """ + Determines whether CloudFront includes the `X-XSS-Protection` HTTP response header and the header's value. + + For more information about the `X-XSS-Protection` HTTP response header, see [X-XSS-Protection](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in the MDN Web Docs. + """ +elif False: + ResponseHeadersPolicySecurityHeadersConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicySecurityHeadersConfigArgs: def __init__(__self__, *, @@ -4862,6 +6623,19 @@ def xss_protection(self, value: Optional[pulumi.Input['ResponseHeadersPolicyXssP pulumi.set(self, "xss_protection", value) +if not MYPY: + class ResponseHeadersPolicyServerTimingHeadersConfigArgsDict(TypedDict): + enabled: pulumi.Input[bool] + """ + A Boolean that determines whether CloudFront adds the `Server-Timing` header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy. + """ + sampling_rate: NotRequired[pulumi.Input[float]] + """ + A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the `Server-Timing` header to. When you set the sampling rate to 100, CloudFront adds the `Server-Timing` header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places. + """ +elif False: + ResponseHeadersPolicyServerTimingHeadersConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyServerTimingHeadersConfigArgs: def __init__(__self__, *, @@ -4900,6 +6674,27 @@ def sampling_rate(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "sampling_rate", value) +if not MYPY: + class ResponseHeadersPolicyStrictTransportSecurityArgsDict(TypedDict): + access_control_max_age_sec: pulumi.Input[int] + """ + A number that CloudFront uses as the value for the `max-age` directive in the `Strict-Transport-Security` HTTP response header. + """ + override: pulumi.Input[bool] + """ + A Boolean that determines whether CloudFront overrides the `Strict-Transport-Security` HTTP response header received from the origin with the one specified in this response headers policy. + """ + include_subdomains: NotRequired[pulumi.Input[bool]] + """ + A Boolean that determines whether CloudFront includes the `includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header. + """ + preload: NotRequired[pulumi.Input[bool]] + """ + A Boolean that determines whether CloudFront includes the `preload` directive in the `Strict-Transport-Security` HTTP response header. + """ +elif False: + ResponseHeadersPolicyStrictTransportSecurityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyStrictTransportSecurityArgs: def __init__(__self__, *, @@ -4969,6 +6764,35 @@ def preload(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "preload", value) +if not MYPY: + class ResponseHeadersPolicyXssProtectionArgsDict(TypedDict): + override: pulumi.Input[bool] + """ + A Boolean that determines whether CloudFront overrides the `X-XSS-Protection` HTTP response header received from the origin with the one specified in this response headers policy. + """ + protection: pulumi.Input[bool] + """ + A Boolean that determines the value of the `X-XSS-Protection` HTTP response header. When this setting is `true` , the value of the `X-XSS-Protection` header is `1` . When this setting is `false` , the value of the `X-XSS-Protection` header is `0` . + + For more information about these settings, see [X-XSS-Protection](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in the MDN Web Docs. + """ + mode_block: NotRequired[pulumi.Input[bool]] + """ + A Boolean that determines whether CloudFront includes the `mode=block` directive in the `X-XSS-Protection` header. + + For more information about this directive, see [X-XSS-Protection](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in the MDN Web Docs. + """ + report_uri: NotRequired[pulumi.Input[str]] + """ + A reporting URI, which CloudFront uses as the value of the `report` directive in the `X-XSS-Protection` header. + + You cannot specify a `ReportUri` when `ModeBlock` is `true` . + + For more information about using a reporting URL, see [X-XSS-Protection](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in the MDN Web Docs. + """ +elif False: + ResponseHeadersPolicyXssProtectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponseHeadersPolicyXssProtectionArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/cloudfront/cache_policy.py b/sdk/python/pulumi_aws_native/cloudfront/cache_policy.py index 7b18b38f00..efe54bff12 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/cache_policy.py +++ b/sdk/python/pulumi_aws_native/cloudfront/cache_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/cloud_front_origin_access_identity.py b/sdk/python/pulumi_aws_native/cloudfront/cloud_front_origin_access_identity.py index 3f2e17fb3f..4d6e638c9c 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/cloud_front_origin_access_identity.py +++ b/sdk/python/pulumi_aws_native/cloudfront/cloud_front_origin_access_identity.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/continuous_deployment_policy.py b/sdk/python/pulumi_aws_native/cloudfront/continuous_deployment_policy.py index 383cfd4356..e2173fdae7 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/continuous_deployment_policy.py +++ b/sdk/python/pulumi_aws_native/cloudfront/continuous_deployment_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/distribution.py b/sdk/python/pulumi_aws_native/cloudfront/distribution.py index edbb6236ca..4ffa8a336e 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/distribution.py +++ b/sdk/python/pulumi_aws_native/cloudfront/distribution.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cloudfront/function.py b/sdk/python/pulumi_aws_native/cloudfront/function.py index 638c70c0e6..295f727fdf 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/function.py +++ b/sdk/python/pulumi_aws_native/cloudfront/function.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_cache_policy.py b/sdk/python/pulumi_aws_native/cloudfront/get_cache_policy.py index 01d737a51a..e208bc9df9 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_cache_policy.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_cache_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_cache_policy(id: Optional[str] = None, cache_policy_config=pulumi.get(__ret__, 'cache_policy_config'), id=pulumi.get(__ret__, 'id'), last_modified_time=pulumi.get(__ret__, 'last_modified_time')) - - -@_utilities.lift_output_func(get_cache_policy) def get_cache_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCachePolicyResult]: """ @@ -94,4 +96,11 @@ def get_cache_policy_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique identifier for the cache policy. For example: `2766f7b2-75c5-41c6-8f06-bf4303a2f2f5` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getCachePolicy', __args__, opts=opts, typ=GetCachePolicyResult) + return __ret__.apply(lambda __response__: GetCachePolicyResult( + cache_policy_config=pulumi.get(__response__, 'cache_policy_config'), + id=pulumi.get(__response__, 'id'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_cloud_front_origin_access_identity.py b/sdk/python/pulumi_aws_native/cloudfront/get_cloud_front_origin_access_identity.py index 862e7b79ca..c28cf5eb53 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_cloud_front_origin_access_identity.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_cloud_front_origin_access_identity.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_cloud_front_origin_access_identity(id: Optional[str] = None, cloud_front_origin_access_identity_config=pulumi.get(__ret__, 'cloud_front_origin_access_identity_config'), id=pulumi.get(__ret__, 'id'), s3_canonical_user_id=pulumi.get(__ret__, 's3_canonical_user_id')) - - -@_utilities.lift_output_func(get_cloud_front_origin_access_identity) def get_cloud_front_origin_access_identity_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCloudFrontOriginAccessIdentityResult]: """ @@ -94,4 +96,11 @@ def get_cloud_front_origin_access_identity_output(id: Optional[pulumi.Input[str] :param str id: The ID for the origin access identity, for example, `E74FTE3AJFJ256A` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getCloudFrontOriginAccessIdentity', __args__, opts=opts, typ=GetCloudFrontOriginAccessIdentityResult) + return __ret__.apply(lambda __response__: GetCloudFrontOriginAccessIdentityResult( + cloud_front_origin_access_identity_config=pulumi.get(__response__, 'cloud_front_origin_access_identity_config'), + id=pulumi.get(__response__, 'id'), + s3_canonical_user_id=pulumi.get(__response__, 's3_canonical_user_id'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_continuous_deployment_policy.py b/sdk/python/pulumi_aws_native/cloudfront/get_continuous_deployment_policy.py index d6fd08d117..006274d0b6 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_continuous_deployment_policy.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_continuous_deployment_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -84,9 +89,6 @@ def get_continuous_deployment_policy(id: Optional[str] = None, continuous_deployment_policy_config=pulumi.get(__ret__, 'continuous_deployment_policy_config'), id=pulumi.get(__ret__, 'id'), last_modified_time=pulumi.get(__ret__, 'last_modified_time')) - - -@_utilities.lift_output_func(get_continuous_deployment_policy) def get_continuous_deployment_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContinuousDeploymentPolicyResult]: """ @@ -95,4 +97,11 @@ def get_continuous_deployment_policy_output(id: Optional[pulumi.Input[str]] = No :param str id: The identifier of the cotinuous deployment policy. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getContinuousDeploymentPolicy', __args__, opts=opts, typ=GetContinuousDeploymentPolicyResult) + return __ret__.apply(lambda __response__: GetContinuousDeploymentPolicyResult( + continuous_deployment_policy_config=pulumi.get(__response__, 'continuous_deployment_policy_config'), + id=pulumi.get(__response__, 'id'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_distribution.py b/sdk/python/pulumi_aws_native/cloudfront/get_distribution.py index bdac2722fd..75b28d835a 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_distribution.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_distribution.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -97,9 +102,6 @@ def get_distribution(id: Optional[str] = None, domain_name=pulumi.get(__ret__, 'domain_name'), id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_distribution) def get_distribution_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDistributionResult]: """ @@ -108,4 +110,12 @@ def get_distribution_output(id: Optional[pulumi.Input[str]] = None, :param str id: The distribution's identifier. For example: `E1U5RQF7T870K0` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getDistribution', __args__, opts=opts, typ=GetDistributionResult) + return __ret__.apply(lambda __response__: GetDistributionResult( + distribution_config=pulumi.get(__response__, 'distribution_config'), + domain_name=pulumi.get(__response__, 'domain_name'), + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_function.py b/sdk/python/pulumi_aws_native/cloudfront/get_function.py index 81df100d2a..002111dc31 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_function.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_function.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -131,9 +136,6 @@ def get_function(function_arn: Optional[str] = None, function_metadata=pulumi.get(__ret__, 'function_metadata'), name=pulumi.get(__ret__, 'name'), stage=pulumi.get(__ret__, 'stage')) - - -@_utilities.lift_output_func(get_function) def get_function_output(function_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionResult]: """ @@ -148,4 +150,14 @@ def get_function_output(function_arn: Optional[pulumi.Input[str]] = None, `!GetAtt *Function_Logical_ID* .FunctionMetadata.FunctionARN` """ - ... + __args__ = dict() + __args__['functionArn'] = function_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getFunction', __args__, opts=opts, typ=GetFunctionResult) + return __ret__.apply(lambda __response__: GetFunctionResult( + function_arn=pulumi.get(__response__, 'function_arn'), + function_code=pulumi.get(__response__, 'function_code'), + function_config=pulumi.get(__response__, 'function_config'), + function_metadata=pulumi.get(__response__, 'function_metadata'), + name=pulumi.get(__response__, 'name'), + stage=pulumi.get(__response__, 'stage'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_key_group.py b/sdk/python/pulumi_aws_native/cloudfront/get_key_group.py index fef68ed961..45088822d4 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_key_group.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_key_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_key_group(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), key_group_config=pulumi.get(__ret__, 'key_group_config'), last_modified_time=pulumi.get(__ret__, 'last_modified_time')) - - -@_utilities.lift_output_func(get_key_group) def get_key_group_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyGroupResult]: """ @@ -94,4 +96,11 @@ def get_key_group_output(id: Optional[pulumi.Input[str]] = None, :param str id: The identifier for the key group. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getKeyGroup', __args__, opts=opts, typ=GetKeyGroupResult) + return __ret__.apply(lambda __response__: GetKeyGroupResult( + id=pulumi.get(__response__, 'id'), + key_group_config=pulumi.get(__response__, 'key_group_config'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_key_value_store.py b/sdk/python/pulumi_aws_native/cloudfront/get_key_value_store.py index 5d7f47e617..1dd0b7a95d 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_key_value_store.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_key_value_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -95,9 +100,6 @@ def get_key_value_store(name: Optional[str] = None, comment=pulumi.get(__ret__, 'comment'), id=pulumi.get(__ret__, 'id'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_key_value_store) def get_key_value_store_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyValueStoreResult]: """ @@ -106,4 +108,12 @@ def get_key_value_store_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the key value store. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getKeyValueStore', __args__, opts=opts, typ=GetKeyValueStoreResult) + return __ret__.apply(lambda __response__: GetKeyValueStoreResult( + arn=pulumi.get(__response__, 'arn'), + comment=pulumi.get(__response__, 'comment'), + id=pulumi.get(__response__, 'id'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_monitoring_subscription.py b/sdk/python/pulumi_aws_native/cloudfront/get_monitoring_subscription.py index 21deb031d1..a0995c1459 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_monitoring_subscription.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_monitoring_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -58,9 +63,6 @@ def get_monitoring_subscription(distribution_id: Optional[str] = None, return AwaitableGetMonitoringSubscriptionResult( monitoring_subscription=pulumi.get(__ret__, 'monitoring_subscription')) - - -@_utilities.lift_output_func(get_monitoring_subscription) def get_monitoring_subscription_output(distribution_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringSubscriptionResult]: """ @@ -69,4 +71,9 @@ def get_monitoring_subscription_output(distribution_id: Optional[pulumi.Input[st :param str distribution_id: The ID of the distribution that you are enabling metrics for. """ - ... + __args__ = dict() + __args__['distributionId'] = distribution_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getMonitoringSubscription', __args__, opts=opts, typ=GetMonitoringSubscriptionResult) + return __ret__.apply(lambda __response__: GetMonitoringSubscriptionResult( + monitoring_subscription=pulumi.get(__response__, 'monitoring_subscription'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_origin_access_control.py b/sdk/python/pulumi_aws_native/cloudfront/get_origin_access_control.py index caef8fd793..f3eb7ab994 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_origin_access_control.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_origin_access_control.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_origin_access_control(id: Optional[str] = None, return AwaitableGetOriginAccessControlResult( id=pulumi.get(__ret__, 'id'), origin_access_control_config=pulumi.get(__ret__, 'origin_access_control_config')) - - -@_utilities.lift_output_func(get_origin_access_control) def get_origin_access_control_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOriginAccessControlResult]: """ @@ -81,4 +83,10 @@ def get_origin_access_control_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique identifier of the origin access control. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getOriginAccessControl', __args__, opts=opts, typ=GetOriginAccessControlResult) + return __ret__.apply(lambda __response__: GetOriginAccessControlResult( + id=pulumi.get(__response__, 'id'), + origin_access_control_config=pulumi.get(__response__, 'origin_access_control_config'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_origin_request_policy.py b/sdk/python/pulumi_aws_native/cloudfront/get_origin_request_policy.py index a0fe5aec1a..e50b8e36f0 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_origin_request_policy.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_origin_request_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_origin_request_policy(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), last_modified_time=pulumi.get(__ret__, 'last_modified_time'), origin_request_policy_config=pulumi.get(__ret__, 'origin_request_policy_config')) - - -@_utilities.lift_output_func(get_origin_request_policy) def get_origin_request_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOriginRequestPolicyResult]: """ @@ -94,4 +96,11 @@ def get_origin_request_policy_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique identifier for the origin request policy. For example: `befd7079-9bbc-4ebf-8ade-498a3694176c` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getOriginRequestPolicy', __args__, opts=opts, typ=GetOriginRequestPolicyResult) + return __ret__.apply(lambda __response__: GetOriginRequestPolicyResult( + id=pulumi.get(__response__, 'id'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'), + origin_request_policy_config=pulumi.get(__response__, 'origin_request_policy_config'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_public_key.py b/sdk/python/pulumi_aws_native/cloudfront/get_public_key.py index 7a7e4de9dd..6a78a7a6f5 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_public_key.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_public_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_public_key(id: Optional[str] = None, created_time=pulumi.get(__ret__, 'created_time'), id=pulumi.get(__ret__, 'id'), public_key_config=pulumi.get(__ret__, 'public_key_config')) - - -@_utilities.lift_output_func(get_public_key) def get_public_key_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPublicKeyResult]: """ @@ -94,4 +96,11 @@ def get_public_key_output(id: Optional[pulumi.Input[str]] = None, :param str id: The identifier of the public key. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getPublicKey', __args__, opts=opts, typ=GetPublicKeyResult) + return __ret__.apply(lambda __response__: GetPublicKeyResult( + created_time=pulumi.get(__response__, 'created_time'), + id=pulumi.get(__response__, 'id'), + public_key_config=pulumi.get(__response__, 'public_key_config'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_realtime_log_config.py b/sdk/python/pulumi_aws_native/cloudfront/get_realtime_log_config.py index 09ce7478d8..b945d871bd 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_realtime_log_config.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_realtime_log_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -98,9 +103,6 @@ def get_realtime_log_config(arn: Optional[str] = None, end_points=pulumi.get(__ret__, 'end_points'), fields=pulumi.get(__ret__, 'fields'), sampling_rate=pulumi.get(__ret__, 'sampling_rate')) - - -@_utilities.lift_output_func(get_realtime_log_config) def get_realtime_log_config_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRealtimeLogConfigResult]: """ @@ -109,4 +111,12 @@ def get_realtime_log_config_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the real-time log configuration. For example: `arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig` . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getRealtimeLogConfig', __args__, opts=opts, typ=GetRealtimeLogConfigResult) + return __ret__.apply(lambda __response__: GetRealtimeLogConfigResult( + arn=pulumi.get(__response__, 'arn'), + end_points=pulumi.get(__response__, 'end_points'), + fields=pulumi.get(__response__, 'fields'), + sampling_rate=pulumi.get(__response__, 'sampling_rate'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/get_response_headers_policy.py b/sdk/python/pulumi_aws_native/cloudfront/get_response_headers_policy.py index 68036f1437..833b44be95 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/get_response_headers_policy.py +++ b/sdk/python/pulumi_aws_native/cloudfront/get_response_headers_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_response_headers_policy(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), last_modified_time=pulumi.get(__ret__, 'last_modified_time'), response_headers_policy_config=pulumi.get(__ret__, 'response_headers_policy_config')) - - -@_utilities.lift_output_func(get_response_headers_policy) def get_response_headers_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResponseHeadersPolicyResult]: """ @@ -94,4 +96,11 @@ def get_response_headers_policy_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique identifier for the response headers policy. For example: `57f99797-3b20-4e1b-a728-27972a74082a` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudfront:getResponseHeadersPolicy', __args__, opts=opts, typ=GetResponseHeadersPolicyResult) + return __ret__.apply(lambda __response__: GetResponseHeadersPolicyResult( + id=pulumi.get(__response__, 'id'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'), + response_headers_policy_config=pulumi.get(__response__, 'response_headers_policy_config'))) diff --git a/sdk/python/pulumi_aws_native/cloudfront/key_group.py b/sdk/python/pulumi_aws_native/cloudfront/key_group.py index 44ec43df14..ea6ac7e1b6 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/key_group.py +++ b/sdk/python/pulumi_aws_native/cloudfront/key_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/key_value_store.py b/sdk/python/pulumi_aws_native/cloudfront/key_value_store.py index 6b15fedc48..120ae0fbb4 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/key_value_store.py +++ b/sdk/python/pulumi_aws_native/cloudfront/key_value_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/monitoring_subscription.py b/sdk/python/pulumi_aws_native/cloudfront/monitoring_subscription.py index 98125d5ba6..fe6a80375f 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/monitoring_subscription.py +++ b/sdk/python/pulumi_aws_native/cloudfront/monitoring_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/origin_access_control.py b/sdk/python/pulumi_aws_native/cloudfront/origin_access_control.py index 208c74af8a..a8e31415c6 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/origin_access_control.py +++ b/sdk/python/pulumi_aws_native/cloudfront/origin_access_control.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/origin_request_policy.py b/sdk/python/pulumi_aws_native/cloudfront/origin_request_policy.py index 5f2f3bfef5..c592b54a1f 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/origin_request_policy.py +++ b/sdk/python/pulumi_aws_native/cloudfront/origin_request_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/outputs.py b/sdk/python/pulumi_aws_native/cloudfront/outputs.py index e36bb04f30..cca5b65111 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/outputs.py +++ b/sdk/python/pulumi_aws_native/cloudfront/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/public_key.py b/sdk/python/pulumi_aws_native/cloudfront/public_key.py index dca6ff1679..1fa1e02838 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/public_key.py +++ b/sdk/python/pulumi_aws_native/cloudfront/public_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/realtime_log_config.py b/sdk/python/pulumi_aws_native/cloudfront/realtime_log_config.py index d92ccff1a2..2b6b1aade1 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/realtime_log_config.py +++ b/sdk/python/pulumi_aws_native/cloudfront/realtime_log_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cloudfront/response_headers_policy.py b/sdk/python/pulumi_aws_native/cloudfront/response_headers_policy.py index 5f01e1b38e..0597ba1d60 100644 --- a/sdk/python/pulumi_aws_native/cloudfront/response_headers_policy.py +++ b/sdk/python/pulumi_aws_native/cloudfront/response_headers_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cloudtrail/_inputs.py b/sdk/python/pulumi_aws_native/cloudtrail/_inputs.py index 16bfb2c950..7282520646 100644 --- a/sdk/python/pulumi_aws_native/cloudtrail/_inputs.py +++ b/sdk/python/pulumi_aws_native/cloudtrail/_inputs.py @@ -4,24 +4,56 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ChannelDestinationArgs', + 'ChannelDestinationArgsDict', 'EventDataStoreAdvancedEventSelectorArgs', + 'EventDataStoreAdvancedEventSelectorArgsDict', 'EventDataStoreAdvancedFieldSelectorArgs', + 'EventDataStoreAdvancedFieldSelectorArgsDict', 'EventDataStoreInsightSelectorArgs', + 'EventDataStoreInsightSelectorArgsDict', 'TrailAdvancedEventSelectorArgs', + 'TrailAdvancedEventSelectorArgsDict', 'TrailAdvancedFieldSelectorArgs', + 'TrailAdvancedFieldSelectorArgsDict', 'TrailDataResourceArgs', + 'TrailDataResourceArgsDict', 'TrailEventSelectorArgs', + 'TrailEventSelectorArgsDict', 'TrailInsightSelectorArgs', + 'TrailInsightSelectorArgsDict', ] +MYPY = False + +if not MYPY: + class ChannelDestinationArgsDict(TypedDict): + """ + The resource that receives events arriving from a channel. + """ + location: pulumi.Input[str] + """ + The ARN of a resource that receives events from a channel. + """ + type: pulumi.Input['ChannelDestinationType'] + """ + The type of destination for events arriving from a channel. + """ +elif False: + ChannelDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelDestinationArgs: def __init__(__self__, *, @@ -60,6 +92,22 @@ def type(self, value: pulumi.Input['ChannelDestinationType']): pulumi.set(self, "type", value) +if not MYPY: + class EventDataStoreAdvancedEventSelectorArgsDict(TypedDict): + """ + Advanced event selectors let you create fine-grained selectors for the following AWS CloudTrail event record fields. They help you control costs by logging only those events that are important to you. + """ + field_selectors: pulumi.Input[Sequence[pulumi.Input['EventDataStoreAdvancedFieldSelectorArgsDict']]] + """ + Contains all selector statements in an advanced event selector. + """ + name: NotRequired[pulumi.Input[str]] + """ + An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets". + """ +elif False: + EventDataStoreAdvancedEventSelectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventDataStoreAdvancedEventSelectorArgs: def __init__(__self__, *, @@ -99,6 +147,42 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class EventDataStoreAdvancedFieldSelectorArgsDict(TypedDict): + """ + A single selector statement in an advanced event selector. + """ + field: pulumi.Input[str] + """ + A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN. + """ + ends_with: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that includes events that match the last few characters of the event record field specified as the value of Field. + """ + equals: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields. + """ + not_ends_with: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that excludes events that match the last few characters of the event record field specified as the value of Field. + """ + not_equals: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that excludes events that match the exact value of the event record field specified as the value of Field. + """ + not_starts_with: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that excludes events that match the first few characters of the event record field specified as the value of Field. + """ + starts_with: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that includes events that match the first few characters of the event record field specified as the value of Field. + """ +elif False: + EventDataStoreAdvancedFieldSelectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventDataStoreAdvancedFieldSelectorArgs: def __init__(__self__, *, @@ -218,6 +302,18 @@ def starts_with(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "starts_with", value) +if not MYPY: + class EventDataStoreInsightSelectorArgsDict(TypedDict): + """ + A string that contains Insights types that are logged on an event data store. + """ + insight_type: NotRequired[pulumi.Input[str]] + """ + The type of Insights to log on an event data store. + """ +elif False: + EventDataStoreInsightSelectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventDataStoreInsightSelectorArgs: def __init__(__self__, *, @@ -242,6 +338,22 @@ def insight_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "insight_type", value) +if not MYPY: + class TrailAdvancedEventSelectorArgsDict(TypedDict): + """ + Advanced event selectors let you create fine-grained selectors for the following AWS CloudTrail event record fields. They help you control costs by logging only those events that are important to you. + """ + field_selectors: pulumi.Input[Sequence[pulumi.Input['TrailAdvancedFieldSelectorArgsDict']]] + """ + Contains all selector statements in an advanced event selector. + """ + name: NotRequired[pulumi.Input[str]] + """ + An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets". + """ +elif False: + TrailAdvancedEventSelectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrailAdvancedEventSelectorArgs: def __init__(__self__, *, @@ -281,6 +393,42 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class TrailAdvancedFieldSelectorArgsDict(TypedDict): + """ + A single selector statement in an advanced event selector. + """ + field: pulumi.Input[str] + """ + A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN. + """ + ends_with: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that includes events that match the last few characters of the event record field specified as the value of Field. + """ + equals: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields. + """ + not_ends_with: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that excludes events that match the last few characters of the event record field specified as the value of Field. + """ + not_equals: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that excludes events that match the exact value of the event record field specified as the value of Field. + """ + not_starts_with: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that excludes events that match the first few characters of the event record field specified as the value of Field. + """ + starts_with: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An operator that includes events that match the first few characters of the event record field specified as the value of Field. + """ +elif False: + TrailAdvancedFieldSelectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrailAdvancedFieldSelectorArgs: def __init__(__self__, *, @@ -400,6 +548,22 @@ def starts_with(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "starts_with", value) +if not MYPY: + class TrailDataResourceArgsDict(TypedDict): + """ + CloudTrail supports data event logging for Amazon S3 objects and AWS Lambda functions. You can specify up to 250 resources for an individual event selector, but the total number of data resources cannot exceed 250 across all event selectors in a trail. This limit does not apply if you configure resource logging for all data events. + """ + type: pulumi.Input[str] + """ + The resource type in which you want to log data events. You can specify AWS::S3::Object or AWS::Lambda::Function resources. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects. + """ +elif False: + TrailDataResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrailDataResourceArgs: def __init__(__self__, *, @@ -439,6 +603,34 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class TrailEventSelectorArgsDict(TypedDict): + """ + The type of email sending events to publish to the event destination. + """ + data_resources: NotRequired[pulumi.Input[Sequence[pulumi.Input['TrailDataResourceArgsDict']]]] + """ + CloudTrail supports data event logging for Amazon S3 objects in standard S3 buckets, AWS Lambda functions, and Amazon DynamoDB tables with basic event selectors. You can specify up to 250 resources for an individual event selector, but the total number of data resources cannot exceed 250 across all event selectors in a trail. This limit does not apply if you configure resource logging for all data events. + + For more information, see [Data Events](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) and [Limits in AWS CloudTrail](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html) in the *AWS CloudTrail User Guide* . + + > To log data events for all other resource types including objects stored in [directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html) , you must use [AdvancedEventSelectors](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html) . You must also use `AdvancedEventSelectors` if you want to filter on the `eventName` field. + """ + exclude_management_event_sources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter), or it can filter out AWS Key Management Service events by containing "kms.amazonaws.com". By default, ExcludeManagementEventSources is empty, and AWS KMS events are included in events that are logged to your trail. + """ + include_management_events: NotRequired[pulumi.Input[bool]] + """ + Specify if you want your event selector to include management events for your trail. + """ + read_write_type: NotRequired[pulumi.Input['TrailEventSelectorReadWriteType']] + """ + Specify if you want your trail to log read-only events, write-only events, or all. For example, the EC2 GetConsoleOutput is a read-only API operation and RunInstances is a write-only API operation. + """ +elif False: + TrailEventSelectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrailEventSelectorArgs: def __init__(__self__, *, @@ -519,6 +711,18 @@ def read_write_type(self, value: Optional[pulumi.Input['TrailEventSelectorReadWr pulumi.set(self, "read_write_type", value) +if not MYPY: + class TrailInsightSelectorArgsDict(TypedDict): + """ + A string that contains insight types that are logged on a trail. + """ + insight_type: NotRequired[pulumi.Input[str]] + """ + The type of insight to log on a trail. + """ +elif False: + TrailInsightSelectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrailInsightSelectorArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/cloudtrail/channel.py b/sdk/python/pulumi_aws_native/cloudtrail/channel.py index ad86cf4e73..86f172a549 100644 --- a/sdk/python/pulumi_aws_native/cloudtrail/channel.py +++ b/sdk/python/pulumi_aws_native/cloudtrail/channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cloudtrail/event_data_store.py b/sdk/python/pulumi_aws_native/cloudtrail/event_data_store.py index 8518cf551b..b5deb9921c 100644 --- a/sdk/python/pulumi_aws_native/cloudtrail/event_data_store.py +++ b/sdk/python/pulumi_aws_native/cloudtrail/event_data_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cloudtrail/get_channel.py b/sdk/python/pulumi_aws_native/cloudtrail/get_channel.py index 346e1ee9c0..d889d9254c 100644 --- a/sdk/python/pulumi_aws_native/cloudtrail/get_channel.py +++ b/sdk/python/pulumi_aws_native/cloudtrail/get_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -84,9 +89,6 @@ def get_channel(channel_arn: Optional[str] = None, channel_arn=pulumi.get(__ret__, 'channel_arn'), destinations=pulumi.get(__ret__, 'destinations'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_channel) def get_channel_output(channel_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetChannelResult]: """ @@ -95,4 +97,11 @@ def get_channel_output(channel_arn: Optional[pulumi.Input[str]] = None, :param str channel_arn: `Ref` returns the ARN of the CloudTrail channel, such as `arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890` . """ - ... + __args__ = dict() + __args__['channelArn'] = channel_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudtrail:getChannel', __args__, opts=opts, typ=GetChannelResult) + return __ret__.apply(lambda __response__: GetChannelResult( + channel_arn=pulumi.get(__response__, 'channel_arn'), + destinations=pulumi.get(__response__, 'destinations'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_aws_native/cloudtrail/get_event_data_store.py b/sdk/python/pulumi_aws_native/cloudtrail/get_event_data_store.py index c1a40cdee6..587677befe 100644 --- a/sdk/python/pulumi_aws_native/cloudtrail/get_event_data_store.py +++ b/sdk/python/pulumi_aws_native/cloudtrail/get_event_data_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -279,9 +284,6 @@ def get_event_data_store(event_data_store_arn: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), termination_protection_enabled=pulumi.get(__ret__, 'termination_protection_enabled'), updated_timestamp=pulumi.get(__ret__, 'updated_timestamp')) - - -@_utilities.lift_output_func(get_event_data_store) def get_event_data_store_output(event_data_store_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventDataStoreResult]: """ @@ -290,4 +292,26 @@ def get_event_data_store_output(event_data_store_arn: Optional[pulumi.Input[str] :param str event_data_store_arn: The ARN of the event data store. """ - ... + __args__ = dict() + __args__['eventDataStoreArn'] = event_data_store_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudtrail:getEventDataStore', __args__, opts=opts, typ=GetEventDataStoreResult) + return __ret__.apply(lambda __response__: GetEventDataStoreResult( + advanced_event_selectors=pulumi.get(__response__, 'advanced_event_selectors'), + billing_mode=pulumi.get(__response__, 'billing_mode'), + created_timestamp=pulumi.get(__response__, 'created_timestamp'), + event_data_store_arn=pulumi.get(__response__, 'event_data_store_arn'), + federation_enabled=pulumi.get(__response__, 'federation_enabled'), + federation_role_arn=pulumi.get(__response__, 'federation_role_arn'), + ingestion_enabled=pulumi.get(__response__, 'ingestion_enabled'), + insight_selectors=pulumi.get(__response__, 'insight_selectors'), + insights_destination=pulumi.get(__response__, 'insights_destination'), + kms_key_id=pulumi.get(__response__, 'kms_key_id'), + multi_region_enabled=pulumi.get(__response__, 'multi_region_enabled'), + name=pulumi.get(__response__, 'name'), + organization_enabled=pulumi.get(__response__, 'organization_enabled'), + retention_period=pulumi.get(__response__, 'retention_period'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + termination_protection_enabled=pulumi.get(__response__, 'termination_protection_enabled'), + updated_timestamp=pulumi.get(__response__, 'updated_timestamp'))) diff --git a/sdk/python/pulumi_aws_native/cloudtrail/get_resource_policy.py b/sdk/python/pulumi_aws_native/cloudtrail/get_resource_policy.py index 7b8aaeb74c..093c19a8dd 100644 --- a/sdk/python/pulumi_aws_native/cloudtrail/get_resource_policy.py +++ b/sdk/python/pulumi_aws_native/cloudtrail/get_resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -58,9 +63,6 @@ def get_resource_policy(resource_arn: Optional[str] = None, return AwaitableGetResourcePolicyResult( resource_policy=pulumi.get(__ret__, 'resource_policy')) - - -@_utilities.lift_output_func(get_resource_policy) def get_resource_policy_output(resource_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourcePolicyResult]: """ @@ -69,4 +71,9 @@ def get_resource_policy_output(resource_arn: Optional[pulumi.Input[str]] = None, :param str resource_arn: The ARN of the AWS CloudTrail resource to which the policy applies. """ - ... + __args__ = dict() + __args__['resourceArn'] = resource_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudtrail:getResourcePolicy', __args__, opts=opts, typ=GetResourcePolicyResult) + return __ret__.apply(lambda __response__: GetResourcePolicyResult( + resource_policy=pulumi.get(__response__, 'resource_policy'))) diff --git a/sdk/python/pulumi_aws_native/cloudtrail/get_trail.py b/sdk/python/pulumi_aws_native/cloudtrail/get_trail.py index fcc8e0ce1f..899bc0074f 100644 --- a/sdk/python/pulumi_aws_native/cloudtrail/get_trail.py +++ b/sdk/python/pulumi_aws_native/cloudtrail/get_trail.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -273,9 +278,6 @@ def get_trail(trail_name: Optional[str] = None, sns_topic_arn=pulumi.get(__ret__, 'sns_topic_arn'), sns_topic_name=pulumi.get(__ret__, 'sns_topic_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_trail) def get_trail_output(trail_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTrailResult]: """ @@ -290,4 +292,25 @@ def get_trail_output(trail_name: Optional[pulumi.Input[str]] = None, - Have no adjacent periods, underscores or dashes. Names like `my-_namespace` and `my--namespace` are not valid. - Not be in IP address format (for example, 192.168.5.4) """ - ... + __args__ = dict() + __args__['trailName'] = trail_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudtrail:getTrail', __args__, opts=opts, typ=GetTrailResult) + return __ret__.apply(lambda __response__: GetTrailResult( + advanced_event_selectors=pulumi.get(__response__, 'advanced_event_selectors'), + arn=pulumi.get(__response__, 'arn'), + cloud_watch_logs_log_group_arn=pulumi.get(__response__, 'cloud_watch_logs_log_group_arn'), + cloud_watch_logs_role_arn=pulumi.get(__response__, 'cloud_watch_logs_role_arn'), + enable_log_file_validation=pulumi.get(__response__, 'enable_log_file_validation'), + event_selectors=pulumi.get(__response__, 'event_selectors'), + include_global_service_events=pulumi.get(__response__, 'include_global_service_events'), + insight_selectors=pulumi.get(__response__, 'insight_selectors'), + is_logging=pulumi.get(__response__, 'is_logging'), + is_multi_region_trail=pulumi.get(__response__, 'is_multi_region_trail'), + is_organization_trail=pulumi.get(__response__, 'is_organization_trail'), + kms_key_id=pulumi.get(__response__, 'kms_key_id'), + s3_bucket_name=pulumi.get(__response__, 's3_bucket_name'), + s3_key_prefix=pulumi.get(__response__, 's3_key_prefix'), + sns_topic_arn=pulumi.get(__response__, 'sns_topic_arn'), + sns_topic_name=pulumi.get(__response__, 'sns_topic_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cloudtrail/outputs.py b/sdk/python/pulumi_aws_native/cloudtrail/outputs.py index 7113edb882..b18429b749 100644 --- a/sdk/python/pulumi_aws_native/cloudtrail/outputs.py +++ b/sdk/python/pulumi_aws_native/cloudtrail/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cloudtrail/resource_policy.py b/sdk/python/pulumi_aws_native/cloudtrail/resource_policy.py index 19d2f4d374..963ab3e818 100644 --- a/sdk/python/pulumi_aws_native/cloudtrail/resource_policy.py +++ b/sdk/python/pulumi_aws_native/cloudtrail/resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ResourcePolicyArgs', 'ResourcePolicy'] diff --git a/sdk/python/pulumi_aws_native/cloudtrail/trail.py b/sdk/python/pulumi_aws_native/cloudtrail/trail.py index 407f02e9d1..f451f1dc93 100644 --- a/sdk/python/pulumi_aws_native/cloudtrail/trail.py +++ b/sdk/python/pulumi_aws_native/cloudtrail/trail.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cloudwatch/_inputs.py b/sdk/python/pulumi_aws_native/cloudwatch/_inputs.py index 86f31aa8ff..70368e2da0 100644 --- a/sdk/python/pulumi_aws_native/cloudwatch/_inputs.py +++ b/sdk/python/pulumi_aws_native/cloudwatch/_inputs.py @@ -4,21 +4,51 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'AlarmDimensionArgs', + 'AlarmDimensionArgsDict', 'AlarmMetricDataQueryArgs', + 'AlarmMetricDataQueryArgsDict', 'AlarmMetricStatArgs', + 'AlarmMetricStatArgsDict', 'AlarmMetricArgs', + 'AlarmMetricArgsDict', 'MetricStreamFilterArgs', + 'MetricStreamFilterArgsDict', 'MetricStreamStatisticsConfigurationArgs', + 'MetricStreamStatisticsConfigurationArgsDict', 'MetricStreamStatisticsMetricArgs', + 'MetricStreamStatisticsMetricArgsDict', ] +MYPY = False + +if not MYPY: + class AlarmDimensionArgsDict(TypedDict): + """ + Dimension is an embedded property of the ``AWS::CloudWatch::Alarm`` type. Dimensions are name/value pairs that can be associated with a CW metric. You can specify a maximum of 10 dimensions for a given metric. + """ + name: pulumi.Input[str] + """ + The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published. + """ + value: pulumi.Input[str] + """ + The value for the dimension, from 1–255 characters in length. + """ +elif False: + AlarmDimensionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmDimensionArgs: def __init__(__self__, *, @@ -57,6 +87,47 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class AlarmMetricDataQueryArgsDict(TypedDict): + """ + The ``MetricDataQuery`` property type specifies the metric data to return, and whether this call is just retrieving a batch set of data for one metric, or is performing a math expression on metric data. + Any expression used must return a single time series. For more information, see [Metric Math Syntax and Functions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax) in the *User Guide*. + """ + id: pulumi.Input[str] + """ + A short name used to tie this object to the results in the response. This name must be unique within a single call to ``GetMetricData``. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. + """ + account_id: NotRequired[pulumi.Input[str]] + """ + The ID of the account where the metrics are located, if this is a cross-account alarm. + """ + expression: NotRequired[pulumi.Input[str]] + """ + The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the ``Id`` of the other metrics to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions. For more information about metric math expressions, see [Metric Math Syntax and Functions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax) in the *User Guide*. + Within each MetricDataQuery object, you must specify either ``Expression`` or ``MetricStat`` but not both. + """ + label: NotRequired[pulumi.Input[str]] + """ + A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CW dashboard widget, the label is shown. If ``Label`` is omitted, CW generates a default. + """ + metric_stat: NotRequired[pulumi.Input['AlarmMetricStatArgsDict']] + """ + The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. + Within one MetricDataQuery object, you must specify either ``Expression`` or ``MetricStat`` but not both. + """ + period: NotRequired[pulumi.Input[int]] + """ + The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a ``PutMetricData`` operation that includes a ``StorageResolution of 1 second``. + """ + return_data: NotRequired[pulumi.Input[bool]] + """ + This option indicates whether to return the timestamps and raw data values of this metric. + When you create an alarm based on a metric math expression, specify ``True`` for this value for only the one math expression that the alarm is based on. You must specify ``False`` for ``ReturnData`` for all the other metrics and expressions used in the alarm. + This field is required. + """ +elif False: + AlarmMetricDataQueryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmMetricDataQueryArgs: def __init__(__self__, *, @@ -185,6 +256,36 @@ def return_data(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "return_data", value) +if not MYPY: + class AlarmMetricStatArgsDict(TypedDict): + """ + This structure defines the metric to be returned, along with the statistics, period, and units. + ``MetricStat`` is a property of the [MetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricdataquery.html) property type. + """ + metric: pulumi.Input['AlarmMetricArgsDict'] + """ + The metric to return, including the metric name, namespace, and dimensions. + """ + period: pulumi.Input[int] + """ + The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a ``PutMetricData`` call that includes a ``StorageResolution`` of 1 second. + If the ``StartTime`` parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned: + + Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute). + + Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes). + + Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour). + """ + stat: pulumi.Input[str] + """ + The statistic to return. It can include any CW statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *User Guide*. + """ + unit: NotRequired[pulumi.Input[str]] + """ + The unit to use for the returned data points. + Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None. + """ +elif False: + AlarmMetricStatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmMetricStatArgs: def __init__(__self__, *, @@ -265,6 +366,26 @@ def unit(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit", value) +if not MYPY: + class AlarmMetricArgsDict(TypedDict): + """ + The ``Metric`` property type represents a specific metric. ``Metric`` is a property of the [MetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricstat.html) property type. + """ + dimensions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AlarmDimensionArgsDict']]]] + """ + The metric dimensions that you want to be used for the metric that the alarm will watch. + """ + metric_name: NotRequired[pulumi.Input[str]] + """ + The name of the metric that you want the alarm to watch. This is a required field. + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The namespace of the metric that the alarm will watch. + """ +elif False: + AlarmMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmMetricArgs: def __init__(__self__, *, @@ -321,6 +442,22 @@ def namespace(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "namespace", value) +if not MYPY: + class MetricStreamFilterArgsDict(TypedDict): + """ + This structure defines the metrics that will be streamed. + """ + namespace: pulumi.Input[str] + """ + Only metrics with Namespace matching this value will be streamed. + """ + metric_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Only metrics with MetricNames matching these values will be streamed. Must be set together with Namespace. + """ +elif False: + MetricStreamFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MetricStreamFilterArgs: def __init__(__self__, *, @@ -360,6 +497,22 @@ def metric_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]] pulumi.set(self, "metric_names", value) +if not MYPY: + class MetricStreamStatisticsConfigurationArgsDict(TypedDict): + """ + This structure specifies a list of additional statistics to stream, and the metrics to stream those additional statistics for. All metrics that match the combination of metric name and namespace will be streamed with the extended statistics, no matter their dimensions. + """ + additional_statistics: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The additional statistics to stream for the metrics listed in IncludeMetrics. + """ + include_metrics: pulumi.Input[Sequence[pulumi.Input['MetricStreamStatisticsMetricArgsDict']]] + """ + An array that defines the metrics that are to have additional statistics streamed. + """ +elif False: + MetricStreamStatisticsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MetricStreamStatisticsConfigurationArgs: def __init__(__self__, *, @@ -398,6 +551,22 @@ def include_metrics(self, value: pulumi.Input[Sequence[pulumi.Input['MetricStrea pulumi.set(self, "include_metrics", value) +if not MYPY: + class MetricStreamStatisticsMetricArgsDict(TypedDict): + """ + A structure that specifies the metric name and namespace for one metric that is going to have additional statistics included in the stream. + """ + metric_name: pulumi.Input[str] + """ + The name of the metric. + """ + namespace: pulumi.Input[str] + """ + The namespace of the metric. + """ +elif False: + MetricStreamStatisticsMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MetricStreamStatisticsMetricArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/cloudwatch/alarm.py b/sdk/python/pulumi_aws_native/cloudwatch/alarm.py index 117185efba..9a37b85557 100644 --- a/sdk/python/pulumi_aws_native/cloudwatch/alarm.py +++ b/sdk/python/pulumi_aws_native/cloudwatch/alarm.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cloudwatch/composite_alarm.py b/sdk/python/pulumi_aws_native/cloudwatch/composite_alarm.py index 0d6748e888..2047a64ee5 100644 --- a/sdk/python/pulumi_aws_native/cloudwatch/composite_alarm.py +++ b/sdk/python/pulumi_aws_native/cloudwatch/composite_alarm.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/cloudwatch/dashboard.py b/sdk/python/pulumi_aws_native/cloudwatch/dashboard.py index dd230a57b5..a4f470e564 100644 --- a/sdk/python/pulumi_aws_native/cloudwatch/dashboard.py +++ b/sdk/python/pulumi_aws_native/cloudwatch/dashboard.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DashboardArgs', 'Dashboard'] diff --git a/sdk/python/pulumi_aws_native/cloudwatch/get_alarm.py b/sdk/python/pulumi_aws_native/cloudwatch/get_alarm.py index e48fd0e919..e574111895 100644 --- a/sdk/python/pulumi_aws_native/cloudwatch/get_alarm.py +++ b/sdk/python/pulumi_aws_native/cloudwatch/get_alarm.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -347,9 +352,6 @@ def get_alarm(alarm_name: Optional[str] = None, threshold_metric_id=pulumi.get(__ret__, 'threshold_metric_id'), treat_missing_data=pulumi.get(__ret__, 'treat_missing_data'), unit=pulumi.get(__ret__, 'unit')) - - -@_utilities.lift_output_func(get_alarm) def get_alarm_output(alarm_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAlarmResult]: """ @@ -361,4 +363,30 @@ def get_alarm_output(alarm_name: Optional[pulumi.Input[str]] = None, :param str alarm_name: The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. """ - ... + __args__ = dict() + __args__['alarmName'] = alarm_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudwatch:getAlarm', __args__, opts=opts, typ=GetAlarmResult) + return __ret__.apply(lambda __response__: GetAlarmResult( + actions_enabled=pulumi.get(__response__, 'actions_enabled'), + alarm_actions=pulumi.get(__response__, 'alarm_actions'), + alarm_description=pulumi.get(__response__, 'alarm_description'), + arn=pulumi.get(__response__, 'arn'), + comparison_operator=pulumi.get(__response__, 'comparison_operator'), + datapoints_to_alarm=pulumi.get(__response__, 'datapoints_to_alarm'), + dimensions=pulumi.get(__response__, 'dimensions'), + evaluate_low_sample_count_percentile=pulumi.get(__response__, 'evaluate_low_sample_count_percentile'), + evaluation_periods=pulumi.get(__response__, 'evaluation_periods'), + extended_statistic=pulumi.get(__response__, 'extended_statistic'), + insufficient_data_actions=pulumi.get(__response__, 'insufficient_data_actions'), + metric_name=pulumi.get(__response__, 'metric_name'), + metrics=pulumi.get(__response__, 'metrics'), + namespace=pulumi.get(__response__, 'namespace'), + ok_actions=pulumi.get(__response__, 'ok_actions'), + period=pulumi.get(__response__, 'period'), + statistic=pulumi.get(__response__, 'statistic'), + tags=pulumi.get(__response__, 'tags'), + threshold=pulumi.get(__response__, 'threshold'), + threshold_metric_id=pulumi.get(__response__, 'threshold_metric_id'), + treat_missing_data=pulumi.get(__response__, 'treat_missing_data'), + unit=pulumi.get(__response__, 'unit'))) diff --git a/sdk/python/pulumi_aws_native/cloudwatch/get_composite_alarm.py b/sdk/python/pulumi_aws_native/cloudwatch/get_composite_alarm.py index 8ee5160f40..e5615b2d2c 100644 --- a/sdk/python/pulumi_aws_native/cloudwatch/get_composite_alarm.py +++ b/sdk/python/pulumi_aws_native/cloudwatch/get_composite_alarm.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -187,9 +192,6 @@ def get_composite_alarm(alarm_name: Optional[str] = None, insufficient_data_actions=pulumi.get(__ret__, 'insufficient_data_actions'), ok_actions=pulumi.get(__ret__, 'ok_actions'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_composite_alarm) def get_composite_alarm_output(alarm_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCompositeAlarmResult]: """ @@ -198,4 +200,19 @@ def get_composite_alarm_output(alarm_name: Optional[pulumi.Input[str]] = None, :param str alarm_name: The name of the Composite Alarm """ - ... + __args__ = dict() + __args__['alarmName'] = alarm_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudwatch:getCompositeAlarm', __args__, opts=opts, typ=GetCompositeAlarmResult) + return __ret__.apply(lambda __response__: GetCompositeAlarmResult( + actions_enabled=pulumi.get(__response__, 'actions_enabled'), + actions_suppressor=pulumi.get(__response__, 'actions_suppressor'), + actions_suppressor_extension_period=pulumi.get(__response__, 'actions_suppressor_extension_period'), + actions_suppressor_wait_period=pulumi.get(__response__, 'actions_suppressor_wait_period'), + alarm_actions=pulumi.get(__response__, 'alarm_actions'), + alarm_description=pulumi.get(__response__, 'alarm_description'), + alarm_rule=pulumi.get(__response__, 'alarm_rule'), + arn=pulumi.get(__response__, 'arn'), + insufficient_data_actions=pulumi.get(__response__, 'insufficient_data_actions'), + ok_actions=pulumi.get(__response__, 'ok_actions'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/cloudwatch/get_dashboard.py b/sdk/python/pulumi_aws_native/cloudwatch/get_dashboard.py index a642efa075..585eb220f4 100644 --- a/sdk/python/pulumi_aws_native/cloudwatch/get_dashboard.py +++ b/sdk/python/pulumi_aws_native/cloudwatch/get_dashboard.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_dashboard(dashboard_name: Optional[str] = None, return AwaitableGetDashboardResult( dashboard_body=pulumi.get(__ret__, 'dashboard_body')) - - -@_utilities.lift_output_func(get_dashboard) def get_dashboard_output(dashboard_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDashboardResult]: """ @@ -67,4 +69,9 @@ def get_dashboard_output(dashboard_name: Optional[pulumi.Input[str]] = None, :param str dashboard_name: The name of the dashboard. The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically. """ - ... + __args__ = dict() + __args__['dashboardName'] = dashboard_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudwatch:getDashboard', __args__, opts=opts, typ=GetDashboardResult) + return __ret__.apply(lambda __response__: GetDashboardResult( + dashboard_body=pulumi.get(__response__, 'dashboard_body'))) diff --git a/sdk/python/pulumi_aws_native/cloudwatch/get_metric_stream.py b/sdk/python/pulumi_aws_native/cloudwatch/get_metric_stream.py index 334b8845c7..3449354ce1 100644 --- a/sdk/python/pulumi_aws_native/cloudwatch/get_metric_stream.py +++ b/sdk/python/pulumi_aws_native/cloudwatch/get_metric_stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -187,9 +192,6 @@ def get_metric_stream(name: Optional[str] = None, role_arn=pulumi.get(__ret__, 'role_arn'), state=pulumi.get(__ret__, 'state'), statistics_configurations=pulumi.get(__ret__, 'statistics_configurations')) - - -@_utilities.lift_output_func(get_metric_stream) def get_metric_stream_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMetricStreamResult]: """ @@ -198,4 +200,19 @@ def get_metric_stream_output(name: Optional[pulumi.Input[str]] = None, :param str name: Name of the metric stream. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cloudwatch:getMetricStream', __args__, opts=opts, typ=GetMetricStreamResult) + return __ret__.apply(lambda __response__: GetMetricStreamResult( + arn=pulumi.get(__response__, 'arn'), + creation_date=pulumi.get(__response__, 'creation_date'), + exclude_filters=pulumi.get(__response__, 'exclude_filters'), + firehose_arn=pulumi.get(__response__, 'firehose_arn'), + include_filters=pulumi.get(__response__, 'include_filters'), + include_linked_accounts_metrics=pulumi.get(__response__, 'include_linked_accounts_metrics'), + last_update_date=pulumi.get(__response__, 'last_update_date'), + output_format=pulumi.get(__response__, 'output_format'), + role_arn=pulumi.get(__response__, 'role_arn'), + state=pulumi.get(__response__, 'state'), + statistics_configurations=pulumi.get(__response__, 'statistics_configurations'))) diff --git a/sdk/python/pulumi_aws_native/cloudwatch/metric_stream.py b/sdk/python/pulumi_aws_native/cloudwatch/metric_stream.py index 080b4bdb2e..6afebaf572 100644 --- a/sdk/python/pulumi_aws_native/cloudwatch/metric_stream.py +++ b/sdk/python/pulumi_aws_native/cloudwatch/metric_stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cloudwatch/outputs.py b/sdk/python/pulumi_aws_native/cloudwatch/outputs.py index 7145d02f32..0d8a30f51d 100644 --- a/sdk/python/pulumi_aws_native/cloudwatch/outputs.py +++ b/sdk/python/pulumi_aws_native/cloudwatch/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/codeartifact/_inputs.py b/sdk/python/pulumi_aws_native/codeartifact/_inputs.py index 903be0fab4..763bca4d14 100644 --- a/sdk/python/pulumi_aws_native/codeartifact/_inputs.py +++ b/sdk/python/pulumi_aws_native/codeartifact/_inputs.py @@ -4,18 +4,37 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'PackageGroupOriginConfigurationArgs', + 'PackageGroupOriginConfigurationArgsDict', 'PackageGroupRestrictionTypeArgs', + 'PackageGroupRestrictionTypeArgsDict', 'PackageGroupRestrictionsArgs', + 'PackageGroupRestrictionsArgsDict', ] +MYPY = False + +if not MYPY: + class PackageGroupOriginConfigurationArgsDict(TypedDict): + restrictions: pulumi.Input['PackageGroupRestrictionsArgsDict'] + """ + The origin configuration that is applied to the package group. + """ +elif False: + PackageGroupOriginConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackageGroupOriginConfigurationArgs: def __init__(__self__, *, @@ -38,6 +57,19 @@ def restrictions(self, value: pulumi.Input['PackageGroupRestrictionsArgs']): pulumi.set(self, "restrictions", value) +if not MYPY: + class PackageGroupRestrictionTypeArgsDict(TypedDict): + restriction_mode: pulumi.Input['PackageGroupRestrictionTypeRestrictionMode'] + """ + The package group origin restriction setting. When the value is `INHERIT` , the value is set to the value of the first parent package group which does not have a value of `INHERIT` . + """ + repositories: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The repositories to add to the allowed repositories list. The allowed repositories list is used when the `RestrictionMode` is set to `ALLOW_SPECIFIC_REPOSITORIES` . + """ +elif False: + PackageGroupRestrictionTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackageGroupRestrictionTypeArgs: def __init__(__self__, *, @@ -76,6 +108,23 @@ def repositories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]] pulumi.set(self, "repositories", value) +if not MYPY: + class PackageGroupRestrictionsArgsDict(TypedDict): + external_upstream: NotRequired[pulumi.Input['PackageGroupRestrictionTypeArgsDict']] + """ + The external upstream restriction determines if new package versions can be ingested or retained from external connections. + """ + internal_upstream: NotRequired[pulumi.Input['PackageGroupRestrictionTypeArgsDict']] + """ + The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories. + """ + publish: NotRequired[pulumi.Input['PackageGroupRestrictionTypeArgsDict']] + """ + The publish restriction determines if new package versions can be published. + """ +elif False: + PackageGroupRestrictionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackageGroupRestrictionsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/codeartifact/domain.py b/sdk/python/pulumi_aws_native/codeartifact/domain.py index dd9ddc8928..492262d610 100644 --- a/sdk/python/pulumi_aws_native/codeartifact/domain.py +++ b/sdk/python/pulumi_aws_native/codeartifact/domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/codeartifact/get_domain.py b/sdk/python/pulumi_aws_native/codeartifact/get_domain.py index 35feb5807c..aeea7b8579 100644 --- a/sdk/python/pulumi_aws_native/codeartifact/get_domain.py +++ b/sdk/python/pulumi_aws_native/codeartifact/get_domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -111,9 +116,6 @@ def get_domain(arn: Optional[str] = None, owner=pulumi.get(__ret__, 'owner'), permissions_policy_document=pulumi.get(__ret__, 'permissions_policy_document'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_domain) def get_domain_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainResult]: """ @@ -122,4 +124,13 @@ def get_domain_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the domain. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codeartifact:getDomain', __args__, opts=opts, typ=GetDomainResult) + return __ret__.apply(lambda __response__: GetDomainResult( + arn=pulumi.get(__response__, 'arn'), + name=pulumi.get(__response__, 'name'), + owner=pulumi.get(__response__, 'owner'), + permissions_policy_document=pulumi.get(__response__, 'permissions_policy_document'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/codeartifact/get_package_group.py b/sdk/python/pulumi_aws_native/codeartifact/get_package_group.py index c619b3bc71..e18c08c718 100644 --- a/sdk/python/pulumi_aws_native/codeartifact/get_package_group.py +++ b/sdk/python/pulumi_aws_native/codeartifact/get_package_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_package_group(arn: Optional[str] = None, domain_owner=pulumi.get(__ret__, 'domain_owner'), origin_configuration=pulumi.get(__ret__, 'origin_configuration'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_package_group) def get_package_group_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPackageGroupResult]: """ @@ -135,4 +137,14 @@ def get_package_group_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the package group. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codeartifact:getPackageGroup', __args__, opts=opts, typ=GetPackageGroupResult) + return __ret__.apply(lambda __response__: GetPackageGroupResult( + arn=pulumi.get(__response__, 'arn'), + contact_info=pulumi.get(__response__, 'contact_info'), + description=pulumi.get(__response__, 'description'), + domain_owner=pulumi.get(__response__, 'domain_owner'), + origin_configuration=pulumi.get(__response__, 'origin_configuration'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/codeartifact/get_repository.py b/sdk/python/pulumi_aws_native/codeartifact/get_repository.py index 095996747f..a50da505ff 100644 --- a/sdk/python/pulumi_aws_native/codeartifact/get_repository.py +++ b/sdk/python/pulumi_aws_native/codeartifact/get_repository.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_repository(arn: Optional[str] = None, permissions_policy_document=pulumi.get(__ret__, 'permissions_policy_document'), tags=pulumi.get(__ret__, 'tags'), upstreams=pulumi.get(__ret__, 'upstreams')) - - -@_utilities.lift_output_func(get_repository) def get_repository_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositoryResult]: """ @@ -148,4 +150,15 @@ def get_repository_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the repository. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codeartifact:getRepository', __args__, opts=opts, typ=GetRepositoryResult) + return __ret__.apply(lambda __response__: GetRepositoryResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + external_connections=pulumi.get(__response__, 'external_connections'), + name=pulumi.get(__response__, 'name'), + permissions_policy_document=pulumi.get(__response__, 'permissions_policy_document'), + tags=pulumi.get(__response__, 'tags'), + upstreams=pulumi.get(__response__, 'upstreams'))) diff --git a/sdk/python/pulumi_aws_native/codeartifact/outputs.py b/sdk/python/pulumi_aws_native/codeartifact/outputs.py index 607ed683e8..aa8ad5a9c6 100644 --- a/sdk/python/pulumi_aws_native/codeartifact/outputs.py +++ b/sdk/python/pulumi_aws_native/codeartifact/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/codeartifact/package_group.py b/sdk/python/pulumi_aws_native/codeartifact/package_group.py index a19b1e24b6..6a5e835f3a 100644 --- a/sdk/python/pulumi_aws_native/codeartifact/package_group.py +++ b/sdk/python/pulumi_aws_native/codeartifact/package_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/codeartifact/repository.py b/sdk/python/pulumi_aws_native/codeartifact/repository.py index 95d714fe85..cfd152c42f 100644 --- a/sdk/python/pulumi_aws_native/codeartifact/repository.py +++ b/sdk/python/pulumi_aws_native/codeartifact/repository.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/codebuild/_inputs.py b/sdk/python/pulumi_aws_native/codebuild/_inputs.py index bf9772194c..6bf0b4b3b9 100644 --- a/sdk/python/pulumi_aws_native/codebuild/_inputs.py +++ b/sdk/python/pulumi_aws_native/codebuild/_inputs.py @@ -4,16 +4,41 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'FleetVpcConfigArgs', + 'FleetVpcConfigArgsDict', ] +MYPY = False + +if not MYPY: + class FleetVpcConfigArgsDict(TypedDict): + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of one or more security groups IDs in your Amazon VPC. + """ + subnets: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of one or more subnet IDs in your Amazon VPC. + """ + vpc_id: NotRequired[pulumi.Input[str]] + """ + The ID of the Amazon VPC. + """ +elif False: + FleetVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetVpcConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/codebuild/fleet.py b/sdk/python/pulumi_aws_native/codebuild/fleet.py index 26133e373a..1cdd580e2d 100644 --- a/sdk/python/pulumi_aws_native/codebuild/fleet.py +++ b/sdk/python/pulumi_aws_native/codebuild/fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/codebuild/get_fleet.py b/sdk/python/pulumi_aws_native/codebuild/get_fleet.py index 68622ba690..2e5ad45988 100644 --- a/sdk/python/pulumi_aws_native/codebuild/get_fleet.py +++ b/sdk/python/pulumi_aws_native/codebuild/get_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -219,9 +224,6 @@ def get_fleet(arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), overflow_behavior=pulumi.get(__ret__, 'overflow_behavior'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_fleet) def get_fleet_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetResult]: """ @@ -230,4 +232,18 @@ def get_fleet_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the compute fleet. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codebuild:getFleet', __args__, opts=opts, typ=GetFleetResult) + return __ret__.apply(lambda __response__: GetFleetResult( + arn=pulumi.get(__response__, 'arn'), + base_capacity=pulumi.get(__response__, 'base_capacity'), + compute_type=pulumi.get(__response__, 'compute_type'), + environment_type=pulumi.get(__response__, 'environment_type'), + fleet_service_role=pulumi.get(__response__, 'fleet_service_role'), + fleet_vpc_config=pulumi.get(__response__, 'fleet_vpc_config'), + image_id=pulumi.get(__response__, 'image_id'), + name=pulumi.get(__response__, 'name'), + overflow_behavior=pulumi.get(__response__, 'overflow_behavior'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/codebuild/outputs.py b/sdk/python/pulumi_aws_native/codebuild/outputs.py index 105f9f267d..451e68f095 100644 --- a/sdk/python/pulumi_aws_native/codebuild/outputs.py +++ b/sdk/python/pulumi_aws_native/codebuild/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/codeconnections/connection.py b/sdk/python/pulumi_aws_native/codeconnections/connection.py index ce17fb9da5..5b59bd4652 100644 --- a/sdk/python/pulumi_aws_native/codeconnections/connection.py +++ b/sdk/python/pulumi_aws_native/codeconnections/connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/codeconnections/get_connection.py b/sdk/python/pulumi_aws_native/codeconnections/get_connection.py index c45c78e5ba..37037256e9 100644 --- a/sdk/python/pulumi_aws_native/codeconnections/get_connection.py +++ b/sdk/python/pulumi_aws_native/codeconnections/get_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_connection(connection_arn: Optional[str] = None, connection_status=pulumi.get(__ret__, 'connection_status'), owner_account_id=pulumi.get(__ret__, 'owner_account_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_connection) def get_connection_output(connection_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectionResult]: """ @@ -107,4 +109,12 @@ def get_connection_output(connection_arn: Optional[pulumi.Input[str]] = None, :param str connection_arn: The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services. """ - ... + __args__ = dict() + __args__['connectionArn'] = connection_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codeconnections:getConnection', __args__, opts=opts, typ=GetConnectionResult) + return __ret__.apply(lambda __response__: GetConnectionResult( + connection_arn=pulumi.get(__response__, 'connection_arn'), + connection_status=pulumi.get(__response__, 'connection_status'), + owner_account_id=pulumi.get(__response__, 'owner_account_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/codedeploy/_inputs.py b/sdk/python/pulumi_aws_native/codedeploy/_inputs.py index 3cb0d68526..eb21d950fa 100644 --- a/sdk/python/pulumi_aws_native/codedeploy/_inputs.py +++ b/sdk/python/pulumi_aws_native/codedeploy/_inputs.py @@ -4,20 +4,46 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'DeploymentConfigMinimumHealthyHostsPerZoneArgs', + 'DeploymentConfigMinimumHealthyHostsPerZoneArgsDict', 'DeploymentConfigMinimumHealthyHostsArgs', + 'DeploymentConfigMinimumHealthyHostsArgsDict', 'DeploymentConfigTimeBasedCanaryArgs', + 'DeploymentConfigTimeBasedCanaryArgsDict', 'DeploymentConfigTimeBasedLinearArgs', + 'DeploymentConfigTimeBasedLinearArgsDict', 'DeploymentConfigTrafficRoutingConfigArgs', + 'DeploymentConfigTrafficRoutingConfigArgsDict', 'DeploymentConfigZonalConfigArgs', + 'DeploymentConfigZonalConfigArgsDict', ] +MYPY = False + +if not MYPY: + class DeploymentConfigMinimumHealthyHostsPerZoneArgsDict(TypedDict): + type: pulumi.Input[str] + """ + The `type` associated with the `MinimumHealthyHostsPerZone` option. + """ + value: pulumi.Input[int] + """ + The `value` associated with the `MinimumHealthyHostsPerZone` option. + """ +elif False: + DeploymentConfigMinimumHealthyHostsPerZoneArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentConfigMinimumHealthyHostsPerZoneArgs: def __init__(__self__, *, @@ -55,6 +81,28 @@ def value(self, value: pulumi.Input[int]): pulumi.set(self, "value", value) +if not MYPY: + class DeploymentConfigMinimumHealthyHostsArgsDict(TypedDict): + type: pulumi.Input[str] + """ + The minimum healthy instance type: + + - HOST_COUNT: The minimum number of healthy instance as an absolute value. + - FLEET_PERCENT: The minimum number of healthy instance as a percentage of the total number of instance in the deployment. + + In an example of nine instance, if a HOST_COUNT of six is specified, deploy to up to three instances at a time. The deployment is successful if six or more instances are deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to five instance at a time. The deployment is successful if four or more instance are deployed to successfully. Otherwise, the deployment fails. + + > In a call to `GetDeploymentConfig` , CodeDeployDefault.OneAtATime returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy attempts to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment is still successful. + + For more information, see [AWS CodeDeploy Instance Health](https://docs.aws.amazon.com//codedeploy/latest/userguide/instances-health.html) in the *AWS CodeDeploy User Guide* . + """ + value: pulumi.Input[int] + """ + The minimum healthy instance value. + """ +elif False: + DeploymentConfigMinimumHealthyHostsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentConfigMinimumHealthyHostsArgs: def __init__(__self__, *, @@ -110,6 +158,19 @@ def value(self, value: pulumi.Input[int]): pulumi.set(self, "value", value) +if not MYPY: + class DeploymentConfigTimeBasedCanaryArgsDict(TypedDict): + canary_interval: pulumi.Input[int] + """ + The number of minutes between the first and second traffic shifts of a `TimeBasedCanary` deployment. + """ + canary_percentage: pulumi.Input[int] + """ + The percentage of traffic to shift in the first increment of a `TimeBasedCanary` deployment. + """ +elif False: + DeploymentConfigTimeBasedCanaryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentConfigTimeBasedCanaryArgs: def __init__(__self__, *, @@ -147,6 +208,19 @@ def canary_percentage(self, value: pulumi.Input[int]): pulumi.set(self, "canary_percentage", value) +if not MYPY: + class DeploymentConfigTimeBasedLinearArgsDict(TypedDict): + linear_interval: pulumi.Input[int] + """ + The number of minutes between each incremental traffic shift of a `TimeBasedLinear` deployment. + """ + linear_percentage: pulumi.Input[int] + """ + The percentage of traffic that is shifted at the start of each increment of a `TimeBasedLinear` deployment. + """ +elif False: + DeploymentConfigTimeBasedLinearArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentConfigTimeBasedLinearArgs: def __init__(__self__, *, @@ -184,6 +258,23 @@ def linear_percentage(self, value: pulumi.Input[int]): pulumi.set(self, "linear_percentage", value) +if not MYPY: + class DeploymentConfigTrafficRoutingConfigArgsDict(TypedDict): + type: pulumi.Input[str] + """ + The type of traffic shifting ( `TimeBasedCanary` or `TimeBasedLinear` ) used by a deployment configuration. + """ + time_based_canary: NotRequired[pulumi.Input['DeploymentConfigTimeBasedCanaryArgsDict']] + """ + A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in two increments. The original and target Lambda function versions or ECS task sets are specified in the deployment's AppSpec file. + """ + time_based_linear: NotRequired[pulumi.Input['DeploymentConfigTimeBasedLinearArgsDict']] + """ + A configuration that shifts traffic from one version of a Lambda function or Amazon ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or Amazon ECS task sets are specified in the deployment's AppSpec file. + """ +elif False: + DeploymentConfigTrafficRoutingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentConfigTrafficRoutingConfigArgs: def __init__(__self__, *, @@ -238,6 +329,31 @@ def time_based_linear(self, value: Optional[pulumi.Input['DeploymentConfigTimeBa pulumi.set(self, "time_based_linear", value) +if not MYPY: + class DeploymentConfigZonalConfigArgsDict(TypedDict): + first_zone_monitor_duration_in_seconds: NotRequired[pulumi.Input[int]] + """ + The period of time, in seconds, that CodeDeploy must wait after completing a deployment to the *first* Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the second Availability Zone. You might set this option if you want to allow extra bake time for the first Availability Zone. If you don't specify a value for `firstZoneMonitorDurationInSeconds` , then CodeDeploy uses the `monitorDurationInSeconds` value for the first Availability Zone. + + For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* . + """ + minimum_healthy_hosts_per_zone: NotRequired[pulumi.Input['DeploymentConfigMinimumHealthyHostsPerZoneArgsDict']] + """ + The number or percentage of instances that must remain available per Availability Zone during a deployment. This option works in conjunction with the `MinimumHealthyHosts` option. For more information, see [About the minimum number of healthy hosts per Availability Zone](https://docs.aws.amazon.com//codedeploy/latest/userguide/instances-health.html#minimum-healthy-hosts-az) in the *CodeDeploy User Guide* . + + If you don't specify the `minimumHealthyHostsPerZone` option, then CodeDeploy uses a default value of `0` percent. + + For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* . + """ + monitor_duration_in_seconds: NotRequired[pulumi.Input[int]] + """ + The period of time, in seconds, that CodeDeploy must wait after completing a deployment to an Availability Zone. CodeDeploy will wait this amount of time before starting a deployment to the next Availability Zone. Consider adding a monitor duration to give the deployment some time to prove itself (or 'bake') in one Availability Zone before it is released in the next zone. If you don't specify a `monitorDurationInSeconds` , CodeDeploy starts deploying to the next Availability Zone immediately. + + For more information about the zonal configuration feature, see [zonal configuration](https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations-create.html#zonal-config) in the *CodeDeploy User Guide* . + """ +elif False: + DeploymentConfigZonalConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentConfigZonalConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/codedeploy/application.py b/sdk/python/pulumi_aws_native/codedeploy/application.py index 7aa3d262f1..3df8ed9840 100644 --- a/sdk/python/pulumi_aws_native/codedeploy/application.py +++ b/sdk/python/pulumi_aws_native/codedeploy/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/codedeploy/deployment_config.py b/sdk/python/pulumi_aws_native/codedeploy/deployment_config.py index f8fd0dac86..5ebd5f7469 100644 --- a/sdk/python/pulumi_aws_native/codedeploy/deployment_config.py +++ b/sdk/python/pulumi_aws_native/codedeploy/deployment_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/codedeploy/get_application.py b/sdk/python/pulumi_aws_native/codedeploy/get_application.py index 1e080364e9..0ba97d9ef2 100644 --- a/sdk/python/pulumi_aws_native/codedeploy/get_application.py +++ b/sdk/python/pulumi_aws_native/codedeploy/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -57,9 +62,6 @@ def get_application(application_name: Optional[str] = None, return AwaitableGetApplicationResult( tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -68,4 +70,9 @@ def get_application_output(application_name: Optional[pulumi.Input[str]] = None, :param str application_name: A name for the application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name. """ - ... + __args__ = dict() + __args__['applicationName'] = application_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codedeploy:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/codedeploy/outputs.py b/sdk/python/pulumi_aws_native/codedeploy/outputs.py index 6d8f8ec329..76f92146ef 100644 --- a/sdk/python/pulumi_aws_native/codedeploy/outputs.py +++ b/sdk/python/pulumi_aws_native/codedeploy/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/codeguruprofiler/_inputs.py b/sdk/python/pulumi_aws_native/codeguruprofiler/_inputs.py index 7088a742a2..50a019d652 100644 --- a/sdk/python/pulumi_aws_native/codeguruprofiler/_inputs.py +++ b/sdk/python/pulumi_aws_native/codeguruprofiler/_inputs.py @@ -4,17 +4,38 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AgentPermissionsPropertiesArgs', + 'AgentPermissionsPropertiesArgsDict', 'ProfilingGroupChannelArgs', + 'ProfilingGroupChannelArgsDict', ] +MYPY = False + +if not MYPY: + class AgentPermissionsPropertiesArgsDict(TypedDict): + """ + The agent permissions attached to this profiling group. + """ + principals: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The principals for the agent permissions. + """ +elif False: + AgentPermissionsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AgentPermissionsPropertiesArgs: def __init__(__self__, *, @@ -38,6 +59,22 @@ def principals(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "principals", value) +if not MYPY: + class ProfilingGroupChannelArgsDict(TypedDict): + """ + Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel. + """ + channel_uri: pulumi.Input[str] + """ + The channel URI. + """ + channel_id: NotRequired[pulumi.Input[str]] + """ + The channel ID. + """ +elif False: + ProfilingGroupChannelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProfilingGroupChannelArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/codeguruprofiler/get_profiling_group.py b/sdk/python/pulumi_aws_native/codeguruprofiler/get_profiling_group.py index 369c48c52b..370ca1ad24 100644 --- a/sdk/python/pulumi_aws_native/codeguruprofiler/get_profiling_group.py +++ b/sdk/python/pulumi_aws_native/codeguruprofiler/get_profiling_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -97,9 +102,6 @@ def get_profiling_group(profiling_group_name: Optional[str] = None, anomaly_detection_notification_configuration=pulumi.get(__ret__, 'anomaly_detection_notification_configuration'), arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_profiling_group) def get_profiling_group_output(profiling_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfilingGroupResult]: """ @@ -108,4 +110,12 @@ def get_profiling_group_output(profiling_group_name: Optional[pulumi.Input[str]] :param str profiling_group_name: The name of the profiling group. """ - ... + __args__ = dict() + __args__['profilingGroupName'] = profiling_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codeguruprofiler:getProfilingGroup', __args__, opts=opts, typ=GetProfilingGroupResult) + return __ret__.apply(lambda __response__: GetProfilingGroupResult( + agent_permissions=pulumi.get(__response__, 'agent_permissions'), + anomaly_detection_notification_configuration=pulumi.get(__response__, 'anomaly_detection_notification_configuration'), + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/codeguruprofiler/outputs.py b/sdk/python/pulumi_aws_native/codeguruprofiler/outputs.py index e64cca423f..c049deec09 100644 --- a/sdk/python/pulumi_aws_native/codeguruprofiler/outputs.py +++ b/sdk/python/pulumi_aws_native/codeguruprofiler/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/codeguruprofiler/profiling_group.py b/sdk/python/pulumi_aws_native/codeguruprofiler/profiling_group.py index 0b747727ef..2de46946a6 100644 --- a/sdk/python/pulumi_aws_native/codeguruprofiler/profiling_group.py +++ b/sdk/python/pulumi_aws_native/codeguruprofiler/profiling_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/codegurureviewer/get_repository_association.py b/sdk/python/pulumi_aws_native/codegurureviewer/get_repository_association.py index ee77feb32f..9f926365e2 100644 --- a/sdk/python/pulumi_aws_native/codegurureviewer/get_repository_association.py +++ b/sdk/python/pulumi_aws_native/codegurureviewer/get_repository_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_repository_association(association_arn: Optional[str] = None, return AwaitableGetRepositoryAssociationResult( association_arn=pulumi.get(__ret__, 'association_arn')) - - -@_utilities.lift_output_func(get_repository_association) def get_repository_association_output(association_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositoryAssociationResult]: """ @@ -67,4 +69,9 @@ def get_repository_association_output(association_arn: Optional[pulumi.Input[str :param str association_arn: The Amazon Resource Name (ARN) of the repository association. """ - ... + __args__ = dict() + __args__['associationArn'] = association_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codegurureviewer:getRepositoryAssociation', __args__, opts=opts, typ=GetRepositoryAssociationResult) + return __ret__.apply(lambda __response__: GetRepositoryAssociationResult( + association_arn=pulumi.get(__response__, 'association_arn'))) diff --git a/sdk/python/pulumi_aws_native/codegurureviewer/repository_association.py b/sdk/python/pulumi_aws_native/codegurureviewer/repository_association.py index c233a9a7d4..32d4998f2d 100644 --- a/sdk/python/pulumi_aws_native/codegurureviewer/repository_association.py +++ b/sdk/python/pulumi_aws_native/codegurureviewer/repository_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/codepipeline/_inputs.py b/sdk/python/pulumi_aws_native/codepipeline/_inputs.py index 7f71b06f26..a395851f20 100644 --- a/sdk/python/pulumi_aws_native/codepipeline/_inputs.py +++ b/sdk/python/pulumi_aws_native/codepipeline/_inputs.py @@ -4,42 +4,92 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CustomActionTypeArtifactDetailsArgs', + 'CustomActionTypeArtifactDetailsArgsDict', 'CustomActionTypeConfigurationPropertiesArgs', + 'CustomActionTypeConfigurationPropertiesArgsDict', 'CustomActionTypeSettingsArgs', + 'CustomActionTypeSettingsArgsDict', 'PipelineActionDeclarationArgs', + 'PipelineActionDeclarationArgsDict', 'PipelineActionTypeIdArgs', + 'PipelineActionTypeIdArgsDict', 'PipelineArtifactStoreMapArgs', + 'PipelineArtifactStoreMapArgsDict', 'PipelineArtifactStoreArgs', + 'PipelineArtifactStoreArgsDict', 'PipelineBeforeEntryConditionsArgs', + 'PipelineBeforeEntryConditionsArgsDict', 'PipelineBlockerDeclarationArgs', + 'PipelineBlockerDeclarationArgsDict', 'PipelineConditionArgs', + 'PipelineConditionArgsDict', 'PipelineEncryptionKeyArgs', + 'PipelineEncryptionKeyArgsDict', 'PipelineFailureConditionsArgs', + 'PipelineFailureConditionsArgsDict', 'PipelineGitBranchFilterCriteriaArgs', + 'PipelineGitBranchFilterCriteriaArgsDict', 'PipelineGitConfigurationArgs', + 'PipelineGitConfigurationArgsDict', 'PipelineGitFilePathFilterCriteriaArgs', + 'PipelineGitFilePathFilterCriteriaArgsDict', 'PipelineGitPullRequestFilterArgs', + 'PipelineGitPullRequestFilterArgsDict', 'PipelineGitPushFilterArgs', + 'PipelineGitPushFilterArgsDict', 'PipelineGitTagFilterCriteriaArgs', + 'PipelineGitTagFilterCriteriaArgsDict', 'PipelineInputArtifactArgs', + 'PipelineInputArtifactArgsDict', 'PipelineOutputArtifactArgs', + 'PipelineOutputArtifactArgsDict', 'PipelineRuleDeclarationArgs', + 'PipelineRuleDeclarationArgsDict', 'PipelineRuleTypeIdArgs', + 'PipelineRuleTypeIdArgsDict', 'PipelineStageDeclarationArgs', + 'PipelineStageDeclarationArgsDict', 'PipelineStageTransitionArgs', + 'PipelineStageTransitionArgsDict', 'PipelineSuccessConditionsArgs', + 'PipelineSuccessConditionsArgsDict', 'PipelineTriggerDeclarationArgs', + 'PipelineTriggerDeclarationArgsDict', 'PipelineVariableDeclarationArgs', + 'PipelineVariableDeclarationArgsDict', ] +MYPY = False + +if not MYPY: + class CustomActionTypeArtifactDetailsArgsDict(TypedDict): + """ + Returns information about the details of an artifact. + """ + maximum_count: pulumi.Input[int] + """ + The maximum number of artifacts allowed for the action type. + """ + minimum_count: pulumi.Input[int] + """ + The minimum number of artifacts allowed for the action type. + """ +elif False: + CustomActionTypeArtifactDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CustomActionTypeArtifactDetailsArgs: def __init__(__self__, *, @@ -78,6 +128,42 @@ def minimum_count(self, value: pulumi.Input[int]): pulumi.set(self, "minimum_count", value) +if not MYPY: + class CustomActionTypeConfigurationPropertiesArgsDict(TypedDict): + """ + The configuration properties for the custom action. + """ + key: pulumi.Input[bool] + """ + Whether the configuration property is a key. + """ + name: pulumi.Input[str] + """ + The name of the action configuration property. + """ + required: pulumi.Input[bool] + """ + Whether the configuration property is a required value. + """ + secret: pulumi.Input[bool] + """ + Whether the configuration property is secret. Secrets are hidden from all calls except for GetJobDetails, GetThirdPartyJobDetails, PollForJobs, and PollForThirdPartyJobs. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the action configuration property that is displayed to users. + """ + queryable: NotRequired[pulumi.Input[bool]] + """ + Indicates that the property is used with PollForJobs. When creating a custom action, an action can have up to one queryable property. If it has one, that property must be both required and not secret.If you create a pipeline with a custom action type, and that custom action contains a queryable property, the value for that configuration property is subject to other restrictions. The value must be less than or equal to twenty (20) characters. The value can contain only alphanumeric characters, underscores, and hyphens. + """ + type: NotRequired[pulumi.Input[str]] + """ + The type of the configuration property. + """ +elif False: + CustomActionTypeConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CustomActionTypeConfigurationPropertiesArgs: def __init__(__self__, *, @@ -194,6 +280,30 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class CustomActionTypeSettingsArgsDict(TypedDict): + """ + Settings is a property of the AWS::CodePipeline::CustomActionType resource that provides URLs that users can access to view information about the CodePipeline custom action. + """ + entity_url_template: NotRequired[pulumi.Input[str]] + """ + The URL returned to the AWS CodePipeline console that provides a deep link to the resources of the external system, such as the configuration page for an AWS CodeDeploy deployment group. This link is provided as part of the action display in the pipeline. + """ + execution_url_template: NotRequired[pulumi.Input[str]] + """ + The URL returned to the AWS CodePipeline console that contains a link to the top-level landing page for the external system, such as the console page for AWS CodeDeploy. This link is shown on the pipeline view page in the AWS CodePipeline console and provides a link to the execution entity of the external action. + """ + revision_url_template: NotRequired[pulumi.Input[str]] + """ + The URL returned to the AWS CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action. + """ + third_party_configuration_url: NotRequired[pulumi.Input[str]] + """ + The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service. + """ +elif False: + CustomActionTypeSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CustomActionTypeSettingsArgs: def __init__(__self__, *, @@ -266,6 +376,56 @@ def third_party_configuration_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "third_party_configuration_url", value) +if not MYPY: + class PipelineActionDeclarationArgsDict(TypedDict): + """ + Represents information about an action declaration. + """ + action_type_id: pulumi.Input['PipelineActionTypeIdArgsDict'] + """ + Specifies the action type and the provider of the action. + """ + name: pulumi.Input[str] + """ + The action declaration's name. + """ + configuration: NotRequired[Any] + """ + The action's configuration. These are key-value pairs that specify input values for an action. + """ + input_artifacts: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineInputArtifactArgsDict']]]] + """ + The name or ID of the artifact consumed by the action, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of input artifacts. To refer to the action configuration specification by action provider, see the [Action structure reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) in the *AWS CodePipeline User Guide* . + + > For a CodeBuild action with multiple input artifacts, one of your input sources must be designated the PrimarySource. For more information, see the [CodeBuild action reference page](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodeBuild.html) in the *AWS CodePipeline User Guide* . + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The variable namespace associated with the action. All variables produced as output by this action fall under this namespace. + """ + output_artifacts: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineOutputArtifactArgsDict']]]] + """ + The name or ID of the result of the action declaration, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of output artifacts. To refer to the action configuration specification by action provider, see the [Action structure reference](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html) in the *AWS CodePipeline User Guide* . + """ + region: NotRequired[pulumi.Input[str]] + """ + The action declaration's AWS Region, such as us-east-1. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline. + """ + run_order: NotRequired[pulumi.Input[int]] + """ + The order in which actions are run. + """ + timeout_in_minutes: NotRequired[pulumi.Input[int]] + """ + A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for AWS CodePipeline. This attribute is available only to the manual approval ActionType. + """ +elif False: + PipelineActionDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineActionDeclarationArgs: def __init__(__self__, *, @@ -436,6 +596,30 @@ def timeout_in_minutes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "timeout_in_minutes", value) +if not MYPY: + class PipelineActionTypeIdArgsDict(TypedDict): + """ + Represents information about an action type. + """ + category: pulumi.Input['PipelineActionTypeIdCategory'] + """ + A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the values below. + """ + owner: pulumi.Input[str] + """ + The creator of the action being called. There are three valid values for the Owner field in the action category section within your pipeline structure: AWS, ThirdParty, and Custom. + """ + provider: pulumi.Input[str] + """ + The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of CodeDeploy, which would be specified as CodeDeploy. + """ + version: pulumi.Input[str] + """ + A string that describes the action version. + """ +elif False: + PipelineActionTypeIdArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineActionTypeIdArgs: def __init__(__self__, *, @@ -504,6 +688,24 @@ def version(self, value: pulumi.Input[str]): pulumi.set(self, "version", value) +if not MYPY: + class PipelineArtifactStoreMapArgsDict(TypedDict): + """ + A mapping of artifactStore objects and their corresponding AWS Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline. + """ + artifact_store: pulumi.Input['PipelineArtifactStoreArgsDict'] + """ + Represents information about the S3 bucket where artifacts are stored for the pipeline. + + > You must include either `artifactStore` or `artifactStores` in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use `artifactStores` . + """ + region: pulumi.Input[str] + """ + The action declaration's AWS Region, such as us-east-1. + """ +elif False: + PipelineArtifactStoreMapArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineArtifactStoreMapArgs: def __init__(__self__, *, @@ -546,6 +748,26 @@ def region(self, value: pulumi.Input[str]): pulumi.set(self, "region", value) +if not MYPY: + class PipelineArtifactStoreArgsDict(TypedDict): + """ + The S3 bucket where artifacts for the pipeline are stored. + """ + location: pulumi.Input[str] + """ + The S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder in the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any S3 bucket in the same AWS Region as the pipeline to store your pipeline artifacts. + """ + type: pulumi.Input['PipelineArtifactStoreType'] + """ + The type of the artifact store, such as S3. + """ + encryption_key: NotRequired[pulumi.Input['PipelineEncryptionKeyArgsDict']] + """ + The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service ( AWS KMS) key. If this is undefined, the default key for Amazon S3 is used. To see an example artifact store encryption key field, see the example structure here: [AWS::CodePipeline::Pipeline](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html) . + """ +elif False: + PipelineArtifactStoreArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineArtifactStoreArgs: def __init__(__self__, *, @@ -600,6 +822,18 @@ def encryption_key(self, value: Optional[pulumi.Input['PipelineEncryptionKeyArgs pulumi.set(self, "encryption_key", value) +if not MYPY: + class PipelineBeforeEntryConditionsArgsDict(TypedDict): + """ + The configuration that specifies the rules to run before stage starts. + """ + conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineConditionArgsDict']]]] + """ + The conditions that are configured as entry conditions. + """ +elif False: + PipelineBeforeEntryConditionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineBeforeEntryConditionsArgs: def __init__(__self__, *, @@ -624,6 +858,22 @@ def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Pipelin pulumi.set(self, "conditions", value) +if not MYPY: + class PipelineBlockerDeclarationArgsDict(TypedDict): + """ + Reserved for future use. + """ + name: pulumi.Input[str] + """ + Reserved for future use. + """ + type: pulumi.Input['PipelineBlockerDeclarationType'] + """ + Reserved for future use. + """ +elif False: + PipelineBlockerDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineBlockerDeclarationArgs: def __init__(__self__, *, @@ -662,6 +912,22 @@ def type(self, value: pulumi.Input['PipelineBlockerDeclarationType']): pulumi.set(self, "type", value) +if not MYPY: + class PipelineConditionArgsDict(TypedDict): + """ + Represents information about condition. + """ + result: NotRequired[pulumi.Input[str]] + """ + The specified result for when the failure conditions are met, such as rolling back the stage + """ + rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineRuleDeclarationArgsDict']]]] + """ + The rules that make up the condition. + """ +elif False: + PipelineConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineConditionArgs: def __init__(__self__, *, @@ -702,6 +968,22 @@ def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineRule pulumi.set(self, "rules", value) +if not MYPY: + class PipelineEncryptionKeyArgsDict(TypedDict): + """ + Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key + """ + id: pulumi.Input[str] + """ + The ID used to identify the key. For an AWS KMS key, you can use the key ID, the key ARN, or the alias ARN. + """ + type: pulumi.Input[str] + """ + The type of encryption key, such as an AWS KMS key. When creating or updating a pipeline, the value must be set to 'KMS'. + """ +elif False: + PipelineEncryptionKeyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineEncryptionKeyArgs: def __init__(__self__, *, @@ -740,6 +1022,22 @@ def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) +if not MYPY: + class PipelineFailureConditionsArgsDict(TypedDict): + """ + The configuration that specifies the result, such as rollback, to occur upon stage failure + """ + conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineConditionArgsDict']]]] + """ + The conditions that are configured as failure conditions. + """ + result: NotRequired[pulumi.Input['PipelineFailureConditionsResult']] + """ + The specified result for when the failure conditions are met, such as rolling back the stage + """ +elif False: + PipelineFailureConditionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineFailureConditionsArgs: def __init__(__self__, *, @@ -780,6 +1078,22 @@ def result(self, value: Optional[pulumi.Input['PipelineFailureConditionsResult'] pulumi.set(self, "result", value) +if not MYPY: + class PipelineGitBranchFilterCriteriaArgsDict(TypedDict): + """ + The Git repository branches specified as filter criteria to start the pipeline. + """ + excludes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline. + """ + includes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline. + """ +elif False: + PipelineGitBranchFilterCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineGitBranchFilterCriteriaArgs: def __init__(__self__, *, @@ -820,6 +1134,26 @@ def includes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "includes", value) +if not MYPY: + class PipelineGitConfigurationArgsDict(TypedDict): + """ + A type of trigger configuration for Git-based source actions. + """ + source_action_name: pulumi.Input[str] + """ + The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only. + """ + pull_request: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineGitPullRequestFilterArgsDict']]]] + """ + The field where the repository event that will start the pipeline is specified as pull requests. + """ + push: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineGitPushFilterArgsDict']]]] + """ + The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details. + """ +elif False: + PipelineGitConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineGitConfigurationArgs: def __init__(__self__, *, @@ -875,6 +1209,22 @@ def push(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineGitPu pulumi.set(self, "push", value) +if not MYPY: + class PipelineGitFilePathFilterCriteriaArgsDict(TypedDict): + """ + The Git repository file paths specified as filter criteria to start the pipeline. + """ + excludes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline. + """ + includes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of patterns of Git repository file paths that, when a commit is pushed, are to be included as criteria that starts the pipeline. + """ +elif False: + PipelineGitFilePathFilterCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineGitFilePathFilterCriteriaArgs: def __init__(__self__, *, @@ -915,6 +1265,26 @@ def includes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "includes", value) +if not MYPY: + class PipelineGitPullRequestFilterArgsDict(TypedDict): + """ + The event criteria for the pull request trigger configuration, such as the lists of branches or file paths to include and exclude. + """ + branches: NotRequired[pulumi.Input['PipelineGitBranchFilterCriteriaArgsDict']] + """ + The field that specifies to filter on branches for the pull request trigger configuration. + """ + events: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration. + """ + file_paths: NotRequired[pulumi.Input['PipelineGitFilePathFilterCriteriaArgsDict']] + """ + The field that specifies to filter on file paths for the pull request trigger configuration. + """ +elif False: + PipelineGitPullRequestFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineGitPullRequestFilterArgs: def __init__(__self__, *, @@ -971,6 +1341,26 @@ def file_paths(self, value: Optional[pulumi.Input['PipelineGitFilePathFilterCrit pulumi.set(self, "file_paths", value) +if not MYPY: + class PipelineGitPushFilterArgsDict(TypedDict): + """ + The event criteria that specify when a specified repository event will start the pipeline for the specified trigger configuration, such as the lists of Git tags to include and exclude. + """ + branches: NotRequired[pulumi.Input['PipelineGitBranchFilterCriteriaArgsDict']] + """ + The field that specifies to filter on branches for the push trigger configuration. + """ + file_paths: NotRequired[pulumi.Input['PipelineGitFilePathFilterCriteriaArgsDict']] + """ + The field that specifies to filter on file paths for the push trigger configuration. + """ + tags: NotRequired[pulumi.Input['PipelineGitTagFilterCriteriaArgsDict']] + """ + The field that contains the details for the Git tags trigger configuration. + """ +elif False: + PipelineGitPushFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineGitPushFilterArgs: def __init__(__self__, *, @@ -1027,6 +1417,22 @@ def tags(self, value: Optional[pulumi.Input['PipelineGitTagFilterCriteriaArgs']] pulumi.set(self, "tags", value) +if not MYPY: + class PipelineGitTagFilterCriteriaArgsDict(TypedDict): + """ + The Git tags specified as filter criteria for whether a Git tag repository event will start the pipeline. + """ + excludes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of patterns of Git tags that, when pushed, are to be excluded from starting the pipeline. + """ + includes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of patterns of Git tags that, when pushed, are to be included as criteria that starts the pipeline. + """ +elif False: + PipelineGitTagFilterCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineGitTagFilterCriteriaArgs: def __init__(__self__, *, @@ -1067,6 +1473,18 @@ def includes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "includes", value) +if not MYPY: + class PipelineInputArtifactArgsDict(TypedDict): + """ + Represents information about an artifact to be worked on, such as a test or build artifact. + """ + name: pulumi.Input[str] + """ + The name of the artifact to be worked on (for example, "My App"). + """ +elif False: + PipelineInputArtifactArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineInputArtifactArgs: def __init__(__self__, *, @@ -1090,6 +1508,18 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class PipelineOutputArtifactArgsDict(TypedDict): + """ + Represents information about the output of an action. + """ + name: pulumi.Input[str] + """ + The name of the output of an artifact, such as "My App". + """ +elif False: + PipelineOutputArtifactArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineOutputArtifactArgs: def __init__(__self__, *, @@ -1113,6 +1543,38 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class PipelineRuleDeclarationArgsDict(TypedDict): + """ + Represents information about condition. + """ + configuration: NotRequired[Any] + """ + The rule's configuration. These are key-value pairs that specify input values for a rule. + """ + input_artifacts: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineInputArtifactArgsDict']]]] + """ + The input artifacts fields for the rule, such as specifying an input file for the rule. + """ + name: NotRequired[pulumi.Input[str]] + """ + The rule declaration's name. + """ + region: NotRequired[pulumi.Input[str]] + """ + The rule declaration's AWS Region, such as us-east-1. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the IAM service role that performs the declared rule. This is assumed through the roleArn for the pipeline. + """ + rule_type_id: NotRequired[pulumi.Input['PipelineRuleTypeIdArgsDict']] + """ + The ID for the rule type, which is made up of the combined values for category, owner, provider, and version. + """ +elif False: + PipelineRuleDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineRuleDeclarationArgs: def __init__(__self__, *, @@ -1217,6 +1679,30 @@ def rule_type_id(self, value: Optional[pulumi.Input['PipelineRuleTypeIdArgs']]): pulumi.set(self, "rule_type_id", value) +if not MYPY: + class PipelineRuleTypeIdArgsDict(TypedDict): + """ + Represents information about a rule type. + """ + category: NotRequired[pulumi.Input[str]] + """ + A category for the provider type for the rule. + """ + owner: NotRequired[pulumi.Input[str]] + """ + The creator of the rule being called. Only AWS is supported. + """ + provider: NotRequired[pulumi.Input[str]] + """ + The provider of the service being called by the rule. + """ + version: NotRequired[pulumi.Input[str]] + """ + A string that describes the rule version. + """ +elif False: + PipelineRuleTypeIdArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineRuleTypeIdArgs: def __init__(__self__, *, @@ -1289,6 +1775,38 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class PipelineStageDeclarationArgsDict(TypedDict): + """ + Represents information about a stage and its definition. + """ + actions: pulumi.Input[Sequence[pulumi.Input['PipelineActionDeclarationArgsDict']]] + """ + The actions included in a stage. + """ + name: pulumi.Input[str] + """ + The name of the stage. + """ + before_entry: NotRequired[pulumi.Input['PipelineBeforeEntryConditionsArgsDict']] + """ + The method to use before stage runs. + """ + blockers: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineBlockerDeclarationArgsDict']]]] + """ + Reserved for future use. + """ + on_failure: NotRequired[pulumi.Input['PipelineFailureConditionsArgsDict']] + """ + The method to use when a stage has not completed successfully + """ + on_success: NotRequired[pulumi.Input['PipelineSuccessConditionsArgsDict']] + """ + The method to use when a stage has completed successfully + """ +elif False: + PipelineStageDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineStageDeclarationArgs: def __init__(__self__, *, @@ -1391,6 +1909,22 @@ def on_success(self, value: Optional[pulumi.Input['PipelineSuccessConditionsArgs pulumi.set(self, "on_success", value) +if not MYPY: + class PipelineStageTransitionArgsDict(TypedDict): + """ + The name of the pipeline in which you want to disable the flow of artifacts from one stage to another. + """ + reason: pulumi.Input[str] + """ + The reason given to the user that a stage is disabled, such as waiting for manual approval or manual tests. This message is displayed in the pipeline console UI. + """ + stage_name: pulumi.Input[str] + """ + The name of the stage where you want to disable the inbound or outbound transition of artifacts. + """ +elif False: + PipelineStageTransitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineStageTransitionArgs: def __init__(__self__, *, @@ -1429,6 +1963,18 @@ def stage_name(self, value: pulumi.Input[str]): pulumi.set(self, "stage_name", value) +if not MYPY: + class PipelineSuccessConditionsArgsDict(TypedDict): + """ + The configuration that specifies the result, such as rollback, to occur upon stage failure + """ + conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipelineConditionArgsDict']]]] + """ + The conditions that are success conditions. + """ +elif False: + PipelineSuccessConditionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineSuccessConditionsArgs: def __init__(__self__, *, @@ -1453,6 +1999,22 @@ def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Pipelin pulumi.set(self, "conditions", value) +if not MYPY: + class PipelineTriggerDeclarationArgsDict(TypedDict): + """ + Represents information about the specified trigger configuration, such as the filter criteria and the source stage for the action that contains the trigger. + """ + provider_type: pulumi.Input['PipelineTriggerDeclarationProviderType'] + """ + The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration. + """ + git_configuration: NotRequired[pulumi.Input['PipelineGitConfigurationArgsDict']] + """ + Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags. + """ +elif False: + PipelineTriggerDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineTriggerDeclarationArgs: def __init__(__self__, *, @@ -1492,6 +2054,26 @@ def git_configuration(self, value: Optional[pulumi.Input['PipelineGitConfigurati pulumi.set(self, "git_configuration", value) +if not MYPY: + class PipelineVariableDeclarationArgsDict(TypedDict): + """ + A variable declared at the pipeline level. + """ + name: pulumi.Input[str] + """ + The name of a pipeline-level variable. + """ + default_value: NotRequired[pulumi.Input[str]] + """ + The value of a pipeline-level variable. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of a pipeline-level variable. It's used to add additional context about the variable, and not being used at time when pipeline executes. + """ +elif False: + PipelineVariableDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineVariableDeclarationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/codepipeline/custom_action_type.py b/sdk/python/pulumi_aws_native/codepipeline/custom_action_type.py index f3c5ff8b5e..7561a384a8 100644 --- a/sdk/python/pulumi_aws_native/codepipeline/custom_action_type.py +++ b/sdk/python/pulumi_aws_native/codepipeline/custom_action_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/codepipeline/get_custom_action_type.py b/sdk/python/pulumi_aws_native/codepipeline/get_custom_action_type.py index 2f49d33290..e860a2c85a 100644 --- a/sdk/python/pulumi_aws_native/codepipeline/get_custom_action_type.py +++ b/sdk/python/pulumi_aws_native/codepipeline/get_custom_action_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -73,9 +78,6 @@ def get_custom_action_type(category: Optional[str] = None, return AwaitableGetCustomActionTypeResult( id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_custom_action_type) def get_custom_action_type_output(category: Optional[pulumi.Input[str]] = None, provider: Optional[pulumi.Input[str]] = None, version: Optional[pulumi.Input[str]] = None, @@ -88,4 +90,12 @@ def get_custom_action_type_output(category: Optional[pulumi.Input[str]] = None, :param str provider: The provider of the service used in the custom action, such as AWS CodeDeploy. :param str version: The version identifier of the custom action. """ - ... + __args__ = dict() + __args__['category'] = category + __args__['provider'] = provider + __args__['version'] = version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codepipeline:getCustomActionType', __args__, opts=opts, typ=GetCustomActionTypeResult) + return __ret__.apply(lambda __response__: GetCustomActionTypeResult( + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/codepipeline/get_pipeline.py b/sdk/python/pulumi_aws_native/codepipeline/get_pipeline.py index 7e9dcaa6a7..eb5c4fee67 100644 --- a/sdk/python/pulumi_aws_native/codepipeline/get_pipeline.py +++ b/sdk/python/pulumi_aws_native/codepipeline/get_pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -189,9 +194,6 @@ def get_pipeline(name: Optional[str] = None, triggers=pulumi.get(__ret__, 'triggers'), variables=pulumi.get(__ret__, 'variables'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_pipeline) def get_pipeline_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPipelineResult]: """ @@ -200,4 +202,19 @@ def get_pipeline_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the pipeline. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codepipeline:getPipeline', __args__, opts=opts, typ=GetPipelineResult) + return __ret__.apply(lambda __response__: GetPipelineResult( + artifact_store=pulumi.get(__response__, 'artifact_store'), + artifact_stores=pulumi.get(__response__, 'artifact_stores'), + disable_inbound_stage_transitions=pulumi.get(__response__, 'disable_inbound_stage_transitions'), + execution_mode=pulumi.get(__response__, 'execution_mode'), + pipeline_type=pulumi.get(__response__, 'pipeline_type'), + role_arn=pulumi.get(__response__, 'role_arn'), + stages=pulumi.get(__response__, 'stages'), + tags=pulumi.get(__response__, 'tags'), + triggers=pulumi.get(__response__, 'triggers'), + variables=pulumi.get(__response__, 'variables'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/codepipeline/outputs.py b/sdk/python/pulumi_aws_native/codepipeline/outputs.py index 3746a49e61..d620846b7f 100644 --- a/sdk/python/pulumi_aws_native/codepipeline/outputs.py +++ b/sdk/python/pulumi_aws_native/codepipeline/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/codepipeline/pipeline.py b/sdk/python/pulumi_aws_native/codepipeline/pipeline.py index 7d55594c5c..ff874e54c4 100644 --- a/sdk/python/pulumi_aws_native/codepipeline/pipeline.py +++ b/sdk/python/pulumi_aws_native/codepipeline/pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/codestarconnections/connection.py b/sdk/python/pulumi_aws_native/codestarconnections/connection.py index 783f833569..89079a9fee 100644 --- a/sdk/python/pulumi_aws_native/codestarconnections/connection.py +++ b/sdk/python/pulumi_aws_native/codestarconnections/connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/codestarconnections/get_connection.py b/sdk/python/pulumi_aws_native/codestarconnections/get_connection.py index f893172cf8..ba39dca7df 100644 --- a/sdk/python/pulumi_aws_native/codestarconnections/get_connection.py +++ b/sdk/python/pulumi_aws_native/codestarconnections/get_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_connection(connection_arn: Optional[str] = None, connection_status=pulumi.get(__ret__, 'connection_status'), owner_account_id=pulumi.get(__ret__, 'owner_account_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_connection) def get_connection_output(connection_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectionResult]: """ @@ -107,4 +109,12 @@ def get_connection_output(connection_arn: Optional[pulumi.Input[str]] = None, :param str connection_arn: The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services. """ - ... + __args__ = dict() + __args__['connectionArn'] = connection_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codestarconnections:getConnection', __args__, opts=opts, typ=GetConnectionResult) + return __ret__.apply(lambda __response__: GetConnectionResult( + connection_arn=pulumi.get(__response__, 'connection_arn'), + connection_status=pulumi.get(__response__, 'connection_status'), + owner_account_id=pulumi.get(__response__, 'owner_account_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/codestarconnections/get_repository_link.py b/sdk/python/pulumi_aws_native/codestarconnections/get_repository_link.py index 02fe8dd220..12a572af45 100644 --- a/sdk/python/pulumi_aws_native/codestarconnections/get_repository_link.py +++ b/sdk/python/pulumi_aws_native/codestarconnections/get_repository_link.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -123,9 +128,6 @@ def get_repository_link(repository_link_arn: Optional[str] = None, repository_link_arn=pulumi.get(__ret__, 'repository_link_arn'), repository_link_id=pulumi.get(__ret__, 'repository_link_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_repository_link) def get_repository_link_output(repository_link_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositoryLinkResult]: """ @@ -134,4 +136,14 @@ def get_repository_link_output(repository_link_arn: Optional[pulumi.Input[str]] :param str repository_link_arn: A unique Amazon Resource Name (ARN) to designate the repository link. """ - ... + __args__ = dict() + __args__['repositoryLinkArn'] = repository_link_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codestarconnections:getRepositoryLink', __args__, opts=opts, typ=GetRepositoryLinkResult) + return __ret__.apply(lambda __response__: GetRepositoryLinkResult( + connection_arn=pulumi.get(__response__, 'connection_arn'), + encryption_key_arn=pulumi.get(__response__, 'encryption_key_arn'), + provider_type=pulumi.get(__response__, 'provider_type'), + repository_link_arn=pulumi.get(__response__, 'repository_link_arn'), + repository_link_id=pulumi.get(__response__, 'repository_link_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/codestarconnections/get_sync_configuration.py b/sdk/python/pulumi_aws_native/codestarconnections/get_sync_configuration.py index 6800724d6c..5f2ecbef1f 100644 --- a/sdk/python/pulumi_aws_native/codestarconnections/get_sync_configuration.py +++ b/sdk/python/pulumi_aws_native/codestarconnections/get_sync_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -164,9 +169,6 @@ def get_sync_configuration(resource_name: Optional[str] = None, repository_name=pulumi.get(__ret__, 'repository_name'), role_arn=pulumi.get(__ret__, 'role_arn'), trigger_resource_update_on=pulumi.get(__ret__, 'trigger_resource_update_on')) - - -@_utilities.lift_output_func(get_sync_configuration) def get_sync_configuration_output(resource_name: Optional[pulumi.Input[str]] = None, sync_type: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSyncConfigurationResult]: @@ -177,4 +179,18 @@ def get_sync_configuration_output(resource_name: Optional[pulumi.Input[str]] = N :param str resource_name: The name of the resource that is being synchronized to the repository. :param str sync_type: The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC. """ - ... + __args__ = dict() + __args__['resourceName'] = resource_name + __args__['syncType'] = sync_type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codestarconnections:getSyncConfiguration', __args__, opts=opts, typ=GetSyncConfigurationResult) + return __ret__.apply(lambda __response__: GetSyncConfigurationResult( + branch=pulumi.get(__response__, 'branch'), + config_file=pulumi.get(__response__, 'config_file'), + owner_id=pulumi.get(__response__, 'owner_id'), + provider_type=pulumi.get(__response__, 'provider_type'), + publish_deployment_status=pulumi.get(__response__, 'publish_deployment_status'), + repository_link_id=pulumi.get(__response__, 'repository_link_id'), + repository_name=pulumi.get(__response__, 'repository_name'), + role_arn=pulumi.get(__response__, 'role_arn'), + trigger_resource_update_on=pulumi.get(__response__, 'trigger_resource_update_on'))) diff --git a/sdk/python/pulumi_aws_native/codestarconnections/repository_link.py b/sdk/python/pulumi_aws_native/codestarconnections/repository_link.py index eb37e7f06c..99466a9061 100644 --- a/sdk/python/pulumi_aws_native/codestarconnections/repository_link.py +++ b/sdk/python/pulumi_aws_native/codestarconnections/repository_link.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/codestarconnections/sync_configuration.py b/sdk/python/pulumi_aws_native/codestarconnections/sync_configuration.py index 694eddfb9a..ea7e1ca3d3 100644 --- a/sdk/python/pulumi_aws_native/codestarconnections/sync_configuration.py +++ b/sdk/python/pulumi_aws_native/codestarconnections/sync_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/codestarnotifications/_inputs.py b/sdk/python/pulumi_aws_native/codestarnotifications/_inputs.py index 2dc4bc0a94..bb3d885f46 100644 --- a/sdk/python/pulumi_aws_native/codestarnotifications/_inputs.py +++ b/sdk/python/pulumi_aws_native/codestarnotifications/_inputs.py @@ -4,16 +4,41 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'NotificationRuleTargetArgs', + 'NotificationRuleTargetArgsDict', ] +MYPY = False + +if not MYPY: + class NotificationRuleTargetArgsDict(TypedDict): + target_address: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the AWS Chatbot topic or AWS Chatbot client. + """ + target_type: pulumi.Input[str] + """ + The target type. Can be an Amazon Simple Notification Service topic or AWS Chatbot client. + + - Amazon Simple Notification Service topics are specified as `SNS` . + - AWS Chatbot clients are specified as `AWSChatbotSlack` . + - AWS Chatbot clients for Microsoft Teams are specified as `AWSChatbotMicrosoftTeams` . + """ +elif False: + NotificationRuleTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NotificationRuleTargetArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/codestarnotifications/get_notification_rule.py b/sdk/python/pulumi_aws_native/codestarnotifications/get_notification_rule.py index 980b3ec4c7..97b788f016 100644 --- a/sdk/python/pulumi_aws_native/codestarnotifications/get_notification_rule.py +++ b/sdk/python/pulumi_aws_native/codestarnotifications/get_notification_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -149,9 +154,6 @@ def get_notification_rule(arn: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), targets=pulumi.get(__ret__, 'targets')) - - -@_utilities.lift_output_func(get_notification_rule) def get_notification_rule_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotificationRuleResult]: """ @@ -160,4 +162,16 @@ def get_notification_rule_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the notification rule. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:codestarnotifications:getNotificationRule', __args__, opts=opts, typ=GetNotificationRuleResult) + return __ret__.apply(lambda __response__: GetNotificationRuleResult( + arn=pulumi.get(__response__, 'arn'), + created_by=pulumi.get(__response__, 'created_by'), + detail_type=pulumi.get(__response__, 'detail_type'), + event_type_ids=pulumi.get(__response__, 'event_type_ids'), + name=pulumi.get(__response__, 'name'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + targets=pulumi.get(__response__, 'targets'))) diff --git a/sdk/python/pulumi_aws_native/codestarnotifications/notification_rule.py b/sdk/python/pulumi_aws_native/codestarnotifications/notification_rule.py index bc75b57c8c..329986f4c5 100644 --- a/sdk/python/pulumi_aws_native/codestarnotifications/notification_rule.py +++ b/sdk/python/pulumi_aws_native/codestarnotifications/notification_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/codestarnotifications/outputs.py b/sdk/python/pulumi_aws_native/codestarnotifications/outputs.py index bce2e2c044..75f6cb8cf5 100644 --- a/sdk/python/pulumi_aws_native/codestarnotifications/outputs.py +++ b/sdk/python/pulumi_aws_native/codestarnotifications/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/cognito/_inputs.py b/sdk/python/pulumi_aws_native/cognito/_inputs.py index 22a10b3747..dae376b297 100644 --- a/sdk/python/pulumi_aws_native/cognito/_inputs.py +++ b/sdk/python/pulumi_aws_native/cognito/_inputs.py @@ -4,58 +4,130 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'IdentityPoolCognitoIdentityProviderArgs', + 'IdentityPoolCognitoIdentityProviderArgsDict', 'IdentityPoolCognitoStreamsArgs', + 'IdentityPoolCognitoStreamsArgsDict', 'IdentityPoolPushSyncArgs', + 'IdentityPoolPushSyncArgsDict', 'IdentityPoolRoleAttachmentMappingRuleArgs', + 'IdentityPoolRoleAttachmentMappingRuleArgsDict', 'IdentityPoolRoleAttachmentRoleMappingArgs', + 'IdentityPoolRoleAttachmentRoleMappingArgsDict', 'IdentityPoolRoleAttachmentRulesConfigurationTypeArgs', + 'IdentityPoolRoleAttachmentRulesConfigurationTypeArgsDict', 'LogDeliveryConfigurationCloudWatchLogsConfigurationArgs', + 'LogDeliveryConfigurationCloudWatchLogsConfigurationArgsDict', 'LogDeliveryConfigurationFirehoseConfigurationArgs', + 'LogDeliveryConfigurationFirehoseConfigurationArgsDict', 'LogDeliveryConfigurationLogConfigurationArgs', + 'LogDeliveryConfigurationLogConfigurationArgsDict', 'LogDeliveryConfigurationS3ConfigurationArgs', + 'LogDeliveryConfigurationS3ConfigurationArgsDict', 'UserPoolAccountRecoverySettingArgs', + 'UserPoolAccountRecoverySettingArgsDict', 'UserPoolAddOnsArgs', + 'UserPoolAddOnsArgsDict', 'UserPoolAdminCreateUserConfigArgs', + 'UserPoolAdminCreateUserConfigArgsDict', 'UserPoolAdvancedSecurityAdditionalFlowsArgs', + 'UserPoolAdvancedSecurityAdditionalFlowsArgsDict', 'UserPoolClientAnalyticsConfigurationArgs', + 'UserPoolClientAnalyticsConfigurationArgsDict', 'UserPoolClientTokenValidityUnitsArgs', + 'UserPoolClientTokenValidityUnitsArgsDict', 'UserPoolCustomEmailSenderArgs', + 'UserPoolCustomEmailSenderArgsDict', 'UserPoolCustomSmsSenderArgs', + 'UserPoolCustomSmsSenderArgsDict', 'UserPoolDeviceConfigurationArgs', + 'UserPoolDeviceConfigurationArgsDict', 'UserPoolDomainCustomDomainConfigTypeArgs', + 'UserPoolDomainCustomDomainConfigTypeArgsDict', 'UserPoolEmailConfigurationArgs', + 'UserPoolEmailConfigurationArgsDict', 'UserPoolInviteMessageTemplateArgs', + 'UserPoolInviteMessageTemplateArgsDict', 'UserPoolLambdaConfigArgs', + 'UserPoolLambdaConfigArgsDict', 'UserPoolNumberAttributeConstraintsArgs', + 'UserPoolNumberAttributeConstraintsArgsDict', 'UserPoolPasswordPolicyArgs', + 'UserPoolPasswordPolicyArgsDict', 'UserPoolPoliciesArgs', + 'UserPoolPoliciesArgsDict', 'UserPoolPreTokenGenerationConfigArgs', + 'UserPoolPreTokenGenerationConfigArgsDict', 'UserPoolRecoveryOptionArgs', + 'UserPoolRecoveryOptionArgsDict', 'UserPoolResourceServerResourceServerScopeTypeArgs', + 'UserPoolResourceServerResourceServerScopeTypeArgsDict', 'UserPoolRiskConfigurationAttachmentAccountTakeoverActionTypeArgs', + 'UserPoolRiskConfigurationAttachmentAccountTakeoverActionTypeArgsDict', 'UserPoolRiskConfigurationAttachmentAccountTakeoverActionsTypeArgs', + 'UserPoolRiskConfigurationAttachmentAccountTakeoverActionsTypeArgsDict', 'UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationTypeArgs', + 'UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationTypeArgsDict', 'UserPoolRiskConfigurationAttachmentCompromisedCredentialsActionsTypeArgs', + 'UserPoolRiskConfigurationAttachmentCompromisedCredentialsActionsTypeArgsDict', 'UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationTypeArgs', + 'UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationTypeArgsDict', 'UserPoolRiskConfigurationAttachmentNotifyConfigurationTypeArgs', + 'UserPoolRiskConfigurationAttachmentNotifyConfigurationTypeArgsDict', 'UserPoolRiskConfigurationAttachmentNotifyEmailTypeArgs', + 'UserPoolRiskConfigurationAttachmentNotifyEmailTypeArgsDict', 'UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationTypeArgs', + 'UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationTypeArgsDict', 'UserPoolSchemaAttributeArgs', + 'UserPoolSchemaAttributeArgsDict', 'UserPoolSmsConfigurationArgs', + 'UserPoolSmsConfigurationArgsDict', 'UserPoolStringAttributeConstraintsArgs', + 'UserPoolStringAttributeConstraintsArgsDict', 'UserPoolUserAttributeTypeArgs', + 'UserPoolUserAttributeTypeArgsDict', 'UserPoolUserAttributeUpdateSettingsArgs', + 'UserPoolUserAttributeUpdateSettingsArgsDict', 'UserPoolUsernameConfigurationArgs', + 'UserPoolUsernameConfigurationArgsDict', 'UserPoolVerificationMessageTemplateArgs', + 'UserPoolVerificationMessageTemplateArgsDict', ] +MYPY = False + +if not MYPY: + class IdentityPoolCognitoIdentityProviderArgsDict(TypedDict): + client_id: pulumi.Input[str] + """ + The client ID for the Amazon Cognito user pool. + """ + provider_name: pulumi.Input[str] + """ + The provider name for an Amazon Cognito user pool. For example: `cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789` . + """ + server_side_token_check: NotRequired[pulumi.Input[bool]] + """ + TRUE if server-side token validation is enabled for the identity provider’s token. + + After you set the `ServerSideTokenCheck` to TRUE for an identity pool, that identity pool checks with the integrated user pools to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user. + + If the user is signed out or deleted, the identity pool returns a 400 Not Authorized error. + """ +elif False: + IdentityPoolCognitoIdentityProviderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentityPoolCognitoIdentityProviderArgs: def __init__(__self__, *, @@ -117,6 +189,23 @@ def server_side_token_check(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "server_side_token_check", value) +if not MYPY: + class IdentityPoolCognitoStreamsArgsDict(TypedDict): + role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the role Amazon Cognito can assume to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke `PutRecord` on your Amazon Cognito stream. + """ + stream_name: NotRequired[pulumi.Input[str]] + """ + The name of the Amazon Cognito stream to receive updates. This stream must be in the developer's account and in the same Region as the identity pool. + """ + streaming_status: NotRequired[pulumi.Input[str]] + """ + Status of the Amazon Cognito streams. Valid values are: `ENABLED` or `DISABLED` . + """ +elif False: + IdentityPoolCognitoStreamsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentityPoolCognitoStreamsArgs: def __init__(__self__, *, @@ -172,6 +261,19 @@ def streaming_status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "streaming_status", value) +if not MYPY: + class IdentityPoolPushSyncArgsDict(TypedDict): + application_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The ARNs of the Amazon SNS platform applications that could be used by clients. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + An IAM role configured to allow Amazon Cognito to call Amazon SNS on behalf of the developer. + """ +elif False: + IdentityPoolPushSyncArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentityPoolPushSyncArgs: def __init__(__self__, *, @@ -211,6 +313,15 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class IdentityPoolRoleAttachmentMappingRuleArgsDict(TypedDict): + claim: pulumi.Input[str] + match_type: pulumi.Input[str] + role_arn: pulumi.Input[str] + value: pulumi.Input[str] +elif False: + IdentityPoolRoleAttachmentMappingRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentityPoolRoleAttachmentMappingRuleArgs: def __init__(__self__, *, @@ -260,6 +371,15 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class IdentityPoolRoleAttachmentRoleMappingArgsDict(TypedDict): + type: pulumi.Input[str] + ambiguous_role_resolution: NotRequired[pulumi.Input[str]] + identity_provider: NotRequired[pulumi.Input[str]] + rules_configuration: NotRequired[pulumi.Input['IdentityPoolRoleAttachmentRulesConfigurationTypeArgsDict']] +elif False: + IdentityPoolRoleAttachmentRoleMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentityPoolRoleAttachmentRoleMappingArgs: def __init__(__self__, *, @@ -312,6 +432,12 @@ def rules_configuration(self, value: Optional[pulumi.Input['IdentityPoolRoleAtta pulumi.set(self, "rules_configuration", value) +if not MYPY: + class IdentityPoolRoleAttachmentRulesConfigurationTypeArgsDict(TypedDict): + rules: pulumi.Input[Sequence[pulumi.Input['IdentityPoolRoleAttachmentMappingRuleArgsDict']]] +elif False: + IdentityPoolRoleAttachmentRulesConfigurationTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentityPoolRoleAttachmentRulesConfigurationTypeArgs: def __init__(__self__, *, @@ -328,6 +454,12 @@ def rules(self, value: pulumi.Input[Sequence[pulumi.Input['IdentityPoolRoleAttac pulumi.set(self, "rules", value) +if not MYPY: + class LogDeliveryConfigurationCloudWatchLogsConfigurationArgsDict(TypedDict): + log_group_arn: NotRequired[pulumi.Input[str]] +elif False: + LogDeliveryConfigurationCloudWatchLogsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LogDeliveryConfigurationCloudWatchLogsConfigurationArgs: def __init__(__self__, *, @@ -345,6 +477,12 @@ def log_group_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_group_arn", value) +if not MYPY: + class LogDeliveryConfigurationFirehoseConfigurationArgsDict(TypedDict): + stream_arn: NotRequired[pulumi.Input[str]] +elif False: + LogDeliveryConfigurationFirehoseConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LogDeliveryConfigurationFirehoseConfigurationArgs: def __init__(__self__, *, @@ -362,6 +500,16 @@ def stream_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "stream_arn", value) +if not MYPY: + class LogDeliveryConfigurationLogConfigurationArgsDict(TypedDict): + cloud_watch_logs_configuration: NotRequired[pulumi.Input['LogDeliveryConfigurationCloudWatchLogsConfigurationArgsDict']] + event_source: NotRequired[pulumi.Input[str]] + firehose_configuration: NotRequired[pulumi.Input['LogDeliveryConfigurationFirehoseConfigurationArgsDict']] + log_level: NotRequired[pulumi.Input[str]] + s3_configuration: NotRequired[pulumi.Input['LogDeliveryConfigurationS3ConfigurationArgsDict']] +elif False: + LogDeliveryConfigurationLogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LogDeliveryConfigurationLogConfigurationArgs: def __init__(__self__, *, @@ -427,6 +575,12 @@ def s3_configuration(self, value: Optional[pulumi.Input['LogDeliveryConfiguratio pulumi.set(self, "s3_configuration", value) +if not MYPY: + class LogDeliveryConfigurationS3ConfigurationArgsDict(TypedDict): + bucket_arn: NotRequired[pulumi.Input[str]] +elif False: + LogDeliveryConfigurationS3ConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LogDeliveryConfigurationS3ConfigurationArgs: def __init__(__self__, *, @@ -444,6 +598,15 @@ def bucket_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "bucket_arn", value) +if not MYPY: + class UserPoolAccountRecoverySettingArgsDict(TypedDict): + recovery_mechanisms: NotRequired[pulumi.Input[Sequence[pulumi.Input['UserPoolRecoveryOptionArgsDict']]]] + """ + The list of `RecoveryOptionTypes` . + """ +elif False: + UserPoolAccountRecoverySettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolAccountRecoverySettingArgs: def __init__(__self__, *, @@ -467,6 +630,16 @@ def recovery_mechanisms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "recovery_mechanisms", value) +if not MYPY: + class UserPoolAddOnsArgsDict(TypedDict): + advanced_security_additional_flows: NotRequired[pulumi.Input['UserPoolAdvancedSecurityAdditionalFlowsArgsDict']] + advanced_security_mode: NotRequired[pulumi.Input[str]] + """ + The operating mode of advanced security features for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication. + """ +elif False: + UserPoolAddOnsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolAddOnsArgs: def __init__(__self__, *, @@ -502,6 +675,29 @@ def advanced_security_mode(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "advanced_security_mode", value) +if not MYPY: + class UserPoolAdminCreateUserConfigArgsDict(TypedDict): + allow_admin_create_user_only: NotRequired[pulumi.Input[bool]] + """ + The setting for allowing self-service sign-up. When `true` , only administrators can create new user profiles. When `false` , users can register themselves and create a new user profile with the [SignUp](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SignUp.html) operation. + """ + invite_message_template: NotRequired[pulumi.Input['UserPoolInviteMessageTemplateArgsDict']] + """ + The message template to be used for the welcome message to new users. + + See also [Customizing User Invitation Messages](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html#cognito-user-pool-settings-user-invitation-message-customization) . + """ + unused_account_validity_days: NotRequired[pulumi.Input[int]] + """ + This parameter is no longer in use. Configure the duration of temporary passwords with the `TemporaryPasswordValidityDays` parameter of [PasswordPolicyType](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_PasswordPolicyType.html) . For older user pools that have a `UnusedAccountValidityDays` configuration, that value is effective until you set a value for `TemporaryPasswordValidityDays` . + + The password expiration limit in days for administrator-created users. When this time expires, the user can't sign in with their temporary password. To reset the account after that time limit, you must call `AdminCreateUser` again, specifying `RESEND` for the `MessageAction` parameter. + + The default value for this parameter is 7. + """ +elif False: + UserPoolAdminCreateUserConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolAdminCreateUserConfigArgs: def __init__(__self__, *, @@ -569,6 +765,12 @@ def unused_account_validity_days(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "unused_account_validity_days", value) +if not MYPY: + class UserPoolAdvancedSecurityAdditionalFlowsArgsDict(TypedDict): + custom_auth_mode: NotRequired[pulumi.Input[str]] +elif False: + UserPoolAdvancedSecurityAdditionalFlowsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolAdvancedSecurityAdditionalFlowsArgs: def __init__(__self__, *, @@ -586,6 +788,31 @@ def custom_auth_mode(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "custom_auth_mode", value) +if not MYPY: + class UserPoolClientAnalyticsConfigurationArgsDict(TypedDict): + application_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project for integration with the chosen user pool client. Amazon Cognito publishes events to the Amazon Pinpoint project that the app ARN declares. + """ + application_id: NotRequired[pulumi.Input[str]] + """ + Your Amazon Pinpoint project ID. + """ + external_id: NotRequired[pulumi.Input[str]] + """ + The [external ID](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html) of the role that Amazon Cognito assumes to send analytics data to Amazon Pinpoint. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of an AWS Identity and Access Management role that has the permissions required for Amazon Cognito to publish events to Amazon Pinpoint analytics. + """ + user_data_shared: NotRequired[pulumi.Input[bool]] + """ + If `UserDataShared` is `true` , Amazon Cognito includes user data in the events that it publishes to Amazon Pinpoint analytics. + """ +elif False: + UserPoolClientAnalyticsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolClientAnalyticsConfigurationArgs: def __init__(__self__, *, @@ -673,6 +900,23 @@ def user_data_shared(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "user_data_shared", value) +if not MYPY: + class UserPoolClientTokenValidityUnitsArgsDict(TypedDict): + access_token: NotRequired[pulumi.Input[str]] + """ + A time unit for the value that you set in the `AccessTokenValidity` parameter. The default `AccessTokenValidity` time unit is `hours` . `AccessTokenValidity` duration can range from five minutes to one day. + """ + id_token: NotRequired[pulumi.Input[str]] + """ + A time unit for the value that you set in the `IdTokenValidity` parameter. The default `IdTokenValidity` time unit is `hours` . `IdTokenValidity` duration can range from five minutes to one day. + """ + refresh_token: NotRequired[pulumi.Input[str]] + """ + A time unit for the value that you set in the `RefreshTokenValidity` parameter. The default `RefreshTokenValidity` time unit is `days` . `RefreshTokenValidity` duration can range from 60 minutes to 10 years. + """ +elif False: + UserPoolClientTokenValidityUnitsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolClientTokenValidityUnitsArgs: def __init__(__self__, *, @@ -728,6 +972,19 @@ def refresh_token(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "refresh_token", value) +if not MYPY: + class UserPoolCustomEmailSenderArgsDict(TypedDict): + lambda_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send email notifications to users. + """ + lambda_version: NotRequired[pulumi.Input[str]] + """ + The Lambda version represents the signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom email sender AWS Lambda function. The only supported value is `V1_0` . + """ +elif False: + UserPoolCustomEmailSenderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolCustomEmailSenderArgs: def __init__(__self__, *, @@ -767,6 +1024,19 @@ def lambda_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "lambda_version", value) +if not MYPY: + class UserPoolCustomSmsSenderArgsDict(TypedDict): + lambda_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Cognito triggers to send SMS notifications to users. + """ + lambda_version: NotRequired[pulumi.Input[str]] + """ + The Lambda version represents the signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom SMS sender Lambda function. The only supported value is `V1_0` . + """ +elif False: + UserPoolCustomSmsSenderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolCustomSmsSenderArgs: def __init__(__self__, *, @@ -806,6 +1076,23 @@ def lambda_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "lambda_version", value) +if not MYPY: + class UserPoolDeviceConfigurationArgsDict(TypedDict): + challenge_required_on_new_device: NotRequired[pulumi.Input[bool]] + """ + When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA). + + > Whether or not `ChallengeRequiredOnNewDevice` is true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA. + """ + device_only_remembered_on_user_prompt: NotRequired[pulumi.Input[bool]] + """ + When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a [ConfirmDevice](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmDevice.html) API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an [UpdateDeviceStatus](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateDeviceStatus.html) API request. + + When `DeviceOnlyRememberedOnUserPrompt` is `false` , Amazon Cognito immediately remembers devices that you register in a `ConfirmDevice` API request. + """ +elif False: + UserPoolDeviceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolDeviceConfigurationArgs: def __init__(__self__, *, @@ -853,6 +1140,15 @@ def device_only_remembered_on_user_prompt(self, value: Optional[pulumi.Input[boo pulumi.set(self, "device_only_remembered_on_user_prompt", value) +if not MYPY: + class UserPoolDomainCustomDomainConfigTypeArgsDict(TypedDict): + certificate_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of an AWS Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain. + """ +elif False: + UserPoolDomainCustomDomainConfigTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolDomainCustomDomainConfigTypeArgs: def __init__(__self__, *, @@ -876,6 +1172,50 @@ def certificate_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "certificate_arn", value) +if not MYPY: + class UserPoolEmailConfigurationArgsDict(TypedDict): + configuration_set: NotRequired[pulumi.Input[str]] + """ + The set of configuration rules that can be applied to emails sent using Amazon SES. A configuration set is applied to an email by including a reference to the configuration set in the headers of the email. Once applied, all of the rules in that configuration set are applied to the email. Configuration sets can be used to apply the following types of rules to emails: + + - Event publishing – Amazon SES can track the number of send, delivery, open, click, bounce, and complaint events for each email sent. Use event publishing to send information about these events to other AWS services such as SNS and CloudWatch. + - IP pool management – When leasing dedicated IP addresses with Amazon SES, you can create groups of IP addresses, called dedicated IP pools. You can then associate the dedicated IP pools with configuration sets. + """ + email_sending_account: NotRequired[pulumi.Input[str]] + """ + Specifies whether Amazon Cognito uses its built-in functionality to send your users email messages, or uses your Amazon Simple Email Service email configuration. Specify one of the following values: + + - **COGNITO_DEFAULT** - When Amazon Cognito emails your users, it uses its built-in email functionality. When you use the default option, Amazon Cognito allows only a limited number of emails each day for your user pool. For typical production environments, the default email limit is less than the required delivery volume. To achieve a higher delivery volume, specify DEVELOPER to use your Amazon SES email configuration. + + To look up the email delivery limit for the default option, see [Limits](https://docs.aws.amazon.com/cognito/latest/developerguide/limits.html) in the *Amazon Cognito Developer Guide* . + + The default FROM address is `no-reply@verificationemail.com` . To customize the FROM address, provide the Amazon Resource Name (ARN) of an Amazon SES verified email address for the `SourceArn` parameter. + - **DEVELOPER** - When Amazon Cognito emails your users, it uses your Amazon SES configuration. Amazon Cognito calls Amazon SES on your behalf to send email from your verified email address. When you use this option, the email delivery limits are the same limits that apply to your Amazon SES verified email address in your AWS account . + + If you use this option, provide the ARN of an Amazon SES verified email address for the `SourceArn` parameter. + + Before Amazon Cognito can email your users, it requires additional permissions to call Amazon SES on your behalf. When you update your user pool with this option, Amazon Cognito creates a *service-linked role* , which is a type of role in your AWS account . This role contains the permissions that allow you to access Amazon SES and send email messages from your email address. For more information about the service-linked role that Amazon Cognito creates, see [Using Service-Linked Roles for Amazon Cognito](https://docs.aws.amazon.com/cognito/latest/developerguide/using-service-linked-roles.html) in the *Amazon Cognito Developer Guide* . + """ + from_: NotRequired[pulumi.Input[str]] + """ + Identifies either the sender's email address or the sender's name with their email address. For example, `testuser@example.com` or `Test User ` . This address appears before the body of the email. + """ + reply_to_email_address: NotRequired[pulumi.Input[str]] + """ + The destination to which the receiver of the email should reply. + """ + source_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of a verified email address or an address from a verified domain in Amazon SES. You can set a `SourceArn` email from a verified domain only with an API request. You can set a verified email address, but not an address in a verified domain, in the Amazon Cognito console. Amazon Cognito uses the email address that you provide in one of the following ways, depending on the value that you specify for the `EmailSendingAccount` parameter: + + - If you specify `COGNITO_DEFAULT` , Amazon Cognito uses this address as the custom FROM address when it emails your users using its built-in email account. + - If you specify `DEVELOPER` , Amazon Cognito emails your users with this address by calling Amazon SES on your behalf. + + The Region value of the `SourceArn` parameter must indicate a supported AWS Region of your user pool. Typically, the Region in the `SourceArn` and the user pool Region are the same. For more information, see [Amazon SES email configuration regions](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-email.html#user-pool-email-developer-region-mapping) in the [Amazon Cognito Developer Guide](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html) . + """ +elif False: + UserPoolEmailConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolEmailConfigurationArgs: def __init__(__self__, *, @@ -1001,6 +1341,23 @@ def source_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_arn", value) +if not MYPY: + class UserPoolInviteMessageTemplateArgsDict(TypedDict): + email_message: NotRequired[pulumi.Input[str]] + """ + The message template for email messages. EmailMessage is allowed only if [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is DEVELOPER. + """ + email_subject: NotRequired[pulumi.Input[str]] + """ + The subject line for email messages. EmailSubject is allowed only if [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is DEVELOPER. + """ + sms_message: NotRequired[pulumi.Input[str]] + """ + The message template for SMS messages. + """ +elif False: + UserPoolInviteMessageTemplateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolInviteMessageTemplateArgs: def __init__(__self__, *, @@ -1056,6 +1413,69 @@ def sms_message(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sms_message", value) +if not MYPY: + class UserPoolLambdaConfigArgsDict(TypedDict): + create_auth_challenge: NotRequired[pulumi.Input[str]] + """ + The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the [custom authentication challenge triggers](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-challenge.html) . + """ + custom_email_sender: NotRequired[pulumi.Input['UserPoolCustomEmailSenderArgsDict']] + """ + A custom email sender AWS Lambda trigger. + """ + custom_message: NotRequired[pulumi.Input[str]] + """ + A custom message Lambda trigger. This trigger is an opportunity to customize all SMS and email messages from your user pool. When a custom message trigger is active, your user pool routes all messages to a Lambda function that returns a runtime-customized message subject and body for your user pool to deliver to a user. + """ + custom_sms_sender: NotRequired[pulumi.Input['UserPoolCustomSmsSenderArgsDict']] + """ + A custom SMS sender AWS Lambda trigger. + """ + define_auth_challenge: NotRequired[pulumi.Input[str]] + """ + The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the [custom authentication challenge triggers](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-challenge.html) . + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to `CustomEmailSender` and `CustomSMSSender` . + """ + post_authentication: NotRequired[pulumi.Input[str]] + """ + The configuration of a [post authentication Lambda trigger](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-post-authentication.html) in a user pool. This trigger can take custom actions after a user signs in. + """ + post_confirmation: NotRequired[pulumi.Input[str]] + """ + The configuration of a [post confirmation Lambda trigger](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-post-confirmation.html) in a user pool. This trigger can take custom actions after a user confirms their user account and their email address or phone number. + """ + pre_authentication: NotRequired[pulumi.Input[str]] + """ + The configuration of a [pre authentication trigger](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-authentication.html) in a user pool. This trigger can evaluate and modify user sign-in events. + """ + pre_sign_up: NotRequired[pulumi.Input[str]] + """ + The configuration of a [pre sign-up Lambda trigger](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-sign-up.html) in a user pool. This trigger evaluates new users and can bypass confirmation, [link a federated user profile](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation-consolidate-users.html) , or block sign-up requests. + """ + pre_token_generation: NotRequired[pulumi.Input[str]] + """ + The legacy configuration of a [pre token generation Lambda trigger](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html) in a user pool. + + Set this parameter for legacy purposes. If you also set an ARN in `PreTokenGenerationConfig` , its value must be identical to `PreTokenGeneration` . For new instances of pre token generation triggers, set the `LambdaArn` of `PreTokenGenerationConfig` . + """ + pre_token_generation_config: NotRequired[pulumi.Input['UserPoolPreTokenGenerationConfigArgsDict']] + """ + The detailed configuration of a [pre token generation Lambda trigger](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html) in a user pool. If you also set an ARN in `PreTokenGeneration` , its value must be identical to `PreTokenGenerationConfig` . + """ + user_migration: NotRequired[pulumi.Input[str]] + """ + The configuration of a [migrate user Lambda trigger](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-migrate-user.html) in a user pool. This trigger can create user profiles when users sign in or attempt to reset their password with credentials that don't exist yet. + """ + verify_auth_challenge_response: NotRequired[pulumi.Input[str]] + """ + The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the [custom authentication challenge triggers](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-challenge.html) . + """ +elif False: + UserPoolLambdaConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolLambdaConfigArgs: def __init__(__self__, *, @@ -1291,6 +1711,19 @@ def verify_auth_challenge_response(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "verify_auth_challenge_response", value) +if not MYPY: + class UserPoolNumberAttributeConstraintsArgsDict(TypedDict): + max_value: NotRequired[pulumi.Input[str]] + """ + The maximum length of a number attribute value. Must be a number less than or equal to `2^1023` , represented as a string with a length of 131072 characters or fewer. + """ + min_value: NotRequired[pulumi.Input[str]] + """ + The minimum value of an attribute that is of the number data type. + """ +elif False: + UserPoolNumberAttributeConstraintsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolNumberAttributeConstraintsArgs: def __init__(__self__, *, @@ -1330,6 +1763,43 @@ def min_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "min_value", value) +if not MYPY: + class UserPoolPasswordPolicyArgsDict(TypedDict): + minimum_length: NotRequired[pulumi.Input[int]] + """ + The minimum length of the password in the policy that you have set. This value can't be less than 6. + """ + password_history_size: NotRequired[pulumi.Input[int]] + """ + The number of previous passwords that you want Amazon Cognito to restrict each user from reusing. Users can't set a password that matches any of `n` previous passwords, where `n` is the value of `PasswordHistorySize` . + + Password history isn't enforced and isn't displayed in [DescribeUserPool](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html) responses when you set this value to `0` or don't provide it. To activate this setting, [advanced security features](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html) must be active in your user pool. + """ + require_lowercase: NotRequired[pulumi.Input[bool]] + """ + The requirement in a password policy that users must include at least one lowercase letter in their password. + """ + require_numbers: NotRequired[pulumi.Input[bool]] + """ + The requirement in a password policy that users must include at least one number in their password. + """ + require_symbols: NotRequired[pulumi.Input[bool]] + """ + The requirement in a password policy that users must include at least one symbol in their password. + """ + require_uppercase: NotRequired[pulumi.Input[bool]] + """ + The requirement in a password policy that users must include at least one uppercase letter in their password. + """ + temporary_password_validity_days: NotRequired[pulumi.Input[int]] + """ + The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password. Defaults to `7` . If you submit a value of `0` , Amazon Cognito treats it as a null value and sets `TemporaryPasswordValidityDays` to its default value. + + > When you set `TemporaryPasswordValidityDays` for a user pool, you can no longer set a value for the legacy `UnusedAccountValidityDays` parameter in that user pool. + """ +elif False: + UserPoolPasswordPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolPasswordPolicyArgs: def __init__(__self__, *, @@ -1457,6 +1927,15 @@ def temporary_password_validity_days(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "temporary_password_validity_days", value) +if not MYPY: + class UserPoolPoliciesArgsDict(TypedDict): + password_policy: NotRequired[pulumi.Input['UserPoolPasswordPolicyArgsDict']] + """ + The password policy settings for a user pool, including complexity, history, and length requirements. + """ +elif False: + UserPoolPoliciesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolPoliciesArgs: def __init__(__self__, *, @@ -1480,6 +1959,21 @@ def password_policy(self, value: Optional[pulumi.Input['UserPoolPasswordPolicyAr pulumi.set(self, "password_policy", value) +if not MYPY: + class UserPoolPreTokenGenerationConfigArgsDict(TypedDict): + lambda_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger. + + This parameter and the `PreTokenGeneration` property of `LambdaConfig` have the same value. For new instances of pre token generation triggers, set `LambdaArn` . + """ + lambda_version: NotRequired[pulumi.Input[str]] + """ + The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features. + """ +elif False: + UserPoolPreTokenGenerationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolPreTokenGenerationConfigArgs: def __init__(__self__, *, @@ -1523,6 +2017,19 @@ def lambda_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "lambda_version", value) +if not MYPY: + class UserPoolRecoveryOptionArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + Specifies the recovery method for a user. + """ + priority: NotRequired[pulumi.Input[int]] + """ + A positive integer specifying priority of a method with 1 being the highest priority. + """ +elif False: + UserPoolRecoveryOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolRecoveryOptionArgs: def __init__(__self__, *, @@ -1562,6 +2069,19 @@ def priority(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "priority", value) +if not MYPY: + class UserPoolResourceServerResourceServerScopeTypeArgsDict(TypedDict): + scope_description: pulumi.Input[str] + """ + A friendly description of a custom scope. + """ + scope_name: pulumi.Input[str] + """ + The name of the scope. Amazon Cognito renders custom scopes in the format `resourceServerIdentifier/ScopeName` . For example, if this parameter is `exampleScope` in the resource server with the identifier `exampleResourceServer` , you request and receive the scope `exampleResourceServer/exampleScope` . + """ +elif False: + UserPoolResourceServerResourceServerScopeTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolResourceServerResourceServerScopeTypeArgs: def __init__(__self__, *, @@ -1599,6 +2119,24 @@ def scope_name(self, value: pulumi.Input[str]): pulumi.set(self, "scope_name", value) +if not MYPY: + class UserPoolRiskConfigurationAttachmentAccountTakeoverActionTypeArgsDict(TypedDict): + event_action: pulumi.Input[str] + """ + The action to take for the attempted account takeover action for the associated risk level. Valid values are as follows: + + - `BLOCK` : Block the request. + - `MFA_IF_CONFIGURED` : Present an MFA challenge if possible. MFA is possible if the user pool has active MFA methods that the user can set up. For example, if the user pool only supports SMS message MFA but the user doesn't have a phone number attribute, MFA setup isn't possible. If MFA setup isn't possible, allow the request. + - `MFA_REQUIRED` : Present an MFA challenge if possible. Block the request if a user hasn't set up MFA. To sign in with required MFA, users must have an email address or phone number attribute, or a registered TOTP factor. + - `NO_ACTION` : Take no action. Permit sign-in. + """ + notify: pulumi.Input[bool] + """ + Determines whether Amazon Cognito sends a user a notification message when your user pools assesses a user's session at the associated risk level. + """ +elif False: + UserPoolRiskConfigurationAttachmentAccountTakeoverActionTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolRiskConfigurationAttachmentAccountTakeoverActionTypeArgs: def __init__(__self__, *, @@ -1646,6 +2184,23 @@ def notify(self, value: pulumi.Input[bool]): pulumi.set(self, "notify", value) +if not MYPY: + class UserPoolRiskConfigurationAttachmentAccountTakeoverActionsTypeArgsDict(TypedDict): + high_action: NotRequired[pulumi.Input['UserPoolRiskConfigurationAttachmentAccountTakeoverActionTypeArgsDict']] + """ + The action that you assign to a high-risk assessment by advanced security features. + """ + low_action: NotRequired[pulumi.Input['UserPoolRiskConfigurationAttachmentAccountTakeoverActionTypeArgsDict']] + """ + The action that you assign to a low-risk assessment by advanced security features. + """ + medium_action: NotRequired[pulumi.Input['UserPoolRiskConfigurationAttachmentAccountTakeoverActionTypeArgsDict']] + """ + The action that you assign to a medium-risk assessment by advanced security features. + """ +elif False: + UserPoolRiskConfigurationAttachmentAccountTakeoverActionsTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolRiskConfigurationAttachmentAccountTakeoverActionsTypeArgs: def __init__(__self__, *, @@ -1701,6 +2256,19 @@ def medium_action(self, value: Optional[pulumi.Input['UserPoolRiskConfigurationA pulumi.set(self, "medium_action", value) +if not MYPY: + class UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationTypeArgsDict(TypedDict): + actions: pulumi.Input['UserPoolRiskConfigurationAttachmentAccountTakeoverActionsTypeArgsDict'] + """ + A list of account-takeover actions for each level of risk that Amazon Cognito might assess with advanced security features. + """ + notify_configuration: NotRequired[pulumi.Input['UserPoolRiskConfigurationAttachmentNotifyConfigurationTypeArgsDict']] + """ + The settings for composing and sending an email message when advanced security features assesses a risk level with adaptive authentication. When you choose to notify users in `AccountTakeoverRiskConfiguration` , Amazon Cognito sends an email message using the method and template that you set with this data type. + """ +elif False: + UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolRiskConfigurationAttachmentAccountTakeoverRiskConfigurationTypeArgs: def __init__(__self__, *, @@ -1739,6 +2307,15 @@ def notify_configuration(self, value: Optional[pulumi.Input['UserPoolRiskConfigu pulumi.set(self, "notify_configuration", value) +if not MYPY: + class UserPoolRiskConfigurationAttachmentCompromisedCredentialsActionsTypeArgsDict(TypedDict): + event_action: pulumi.Input[str] + """ + The action that Amazon Cognito takes when it detects compromised credentials. + """ +elif False: + UserPoolRiskConfigurationAttachmentCompromisedCredentialsActionsTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolRiskConfigurationAttachmentCompromisedCredentialsActionsTypeArgs: def __init__(__self__, *, @@ -1761,6 +2338,19 @@ def event_action(self, value: pulumi.Input[str]): pulumi.set(self, "event_action", value) +if not MYPY: + class UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationTypeArgsDict(TypedDict): + actions: pulumi.Input['UserPoolRiskConfigurationAttachmentCompromisedCredentialsActionsTypeArgsDict'] + """ + Settings for the actions that you want your user pool to take when Amazon Cognito detects compromised credentials. + """ + event_filter: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Settings for the sign-in activity where you want to configure compromised-credentials actions. Defaults to all events. + """ +elif False: + UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolRiskConfigurationAttachmentCompromisedCredentialsRiskConfigurationTypeArgs: def __init__(__self__, *, @@ -1799,6 +2389,35 @@ def event_filter(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]] pulumi.set(self, "event_filter", value) +if not MYPY: + class UserPoolRiskConfigurationAttachmentNotifyConfigurationTypeArgsDict(TypedDict): + source_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the `From` parameter. + """ + block_email: NotRequired[pulumi.Input['UserPoolRiskConfigurationAttachmentNotifyEmailTypeArgsDict']] + """ + The template for the email message that your user pool sends when a detected risk event is blocked. + """ + from_: NotRequired[pulumi.Input[str]] + """ + The email address that sends the email message. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES. + """ + mfa_email: NotRequired[pulumi.Input['UserPoolRiskConfigurationAttachmentNotifyEmailTypeArgsDict']] + """ + The template for the email message that your user pool sends when MFA is challenged in response to a detected risk. + """ + no_action_email: NotRequired[pulumi.Input['UserPoolRiskConfigurationAttachmentNotifyEmailTypeArgsDict']] + """ + The template for the email message that your user pool sends when no action is taken in response to a detected risk. + """ + reply_to: NotRequired[pulumi.Input[str]] + """ + The reply-to email address of an email template. + """ +elif False: + UserPoolRiskConfigurationAttachmentNotifyConfigurationTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolRiskConfigurationAttachmentNotifyConfigurationTypeArgs: def __init__(__self__, *, @@ -1901,6 +2520,23 @@ def reply_to(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "reply_to", value) +if not MYPY: + class UserPoolRiskConfigurationAttachmentNotifyEmailTypeArgsDict(TypedDict): + subject: pulumi.Input[str] + """ + The subject of the threat protection email notification. + """ + html_body: NotRequired[pulumi.Input[str]] + """ + The body of an email notification formatted in HTML. Choose an `HtmlBody` or a `TextBody` to send an HTML-formatted or plaintext message, respectively. + """ + text_body: NotRequired[pulumi.Input[str]] + """ + The body of an email notification formatted in plaintext. Choose an `HtmlBody` or a `TextBody` to send an HTML-formatted or plaintext message, respectively. + """ +elif False: + UserPoolRiskConfigurationAttachmentNotifyEmailTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolRiskConfigurationAttachmentNotifyEmailTypeArgs: def __init__(__self__, *, @@ -1955,6 +2591,19 @@ def text_body(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "text_body", value) +if not MYPY: + class UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationTypeArgsDict(TypedDict): + blocked_ip_range_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An always-block IP address list. Overrides the risk decision and always blocks authentication requests. This parameter is displayed and set in CIDR notation. + """ + skipped_ip_range_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An always-allow IP address list. Risk detection isn't performed on the IP addresses in this range list. This parameter is displayed and set in CIDR notation. + """ +elif False: + UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolRiskConfigurationAttachmentRiskExceptionConfigurationTypeArgs: def __init__(__self__, *, @@ -1994,6 +2643,43 @@ def skipped_ip_range_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "skipped_ip_range_list", value) +if not MYPY: + class UserPoolSchemaAttributeArgsDict(TypedDict): + attribute_data_type: NotRequired[pulumi.Input[str]] + """ + The data format of the values for your attribute. When you choose an `AttributeDataType` , Amazon Cognito validates the input against the data type. A custom attribute value in your user's ID token is always a string, for example `"custom:isMember" : "true"` or `"custom:YearsAsMember" : "12"` . + """ + developer_only_attribute: NotRequired[pulumi.Input[bool]] + """ + > We recommend that you use [WriteAttributes](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UserPoolClientType.html#CognitoUserPools-Type-UserPoolClientType-WriteAttributes) in the user pool client to control how attributes can be mutated for new use cases instead of using `DeveloperOnlyAttribute` . + + Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users will not be able to modify this attribute using their access token. + """ + mutable: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the value of the attribute can be changed. + + Any user pool attribute whose value you map from an IdP attribute must be mutable, with a parameter value of `true` . Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see [Specifying Identity Provider Attribute Mappings for Your User Pool](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html) . + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of your user pool attribute. When you create or update a user pool, adding a schema attribute creates a custom or developer-only attribute. When you add an attribute with a `Name` value of `MyAttribute` , Amazon Cognito creates the custom attribute `custom:MyAttribute` . When `DeveloperOnlyAttribute` is `true` , Amazon Cognito creates your attribute as `dev:MyAttribute` . In an operation that describes a user pool, Amazon Cognito returns this value as `value` for standard attributes, `custom:value` for custom attributes, and `dev:value` for developer-only attributes.. + """ + number_attribute_constraints: NotRequired[pulumi.Input['UserPoolNumberAttributeConstraintsArgsDict']] + """ + Specifies the constraints for an attribute of the number type. + """ + required: NotRequired[pulumi.Input[bool]] + """ + Specifies whether a user pool attribute is required. If the attribute is required and the user doesn't provide a value, registration or sign-in will fail. + """ + string_attribute_constraints: NotRequired[pulumi.Input['UserPoolStringAttributeConstraintsArgsDict']] + """ + Specifies the constraints for an attribute of the string type. + """ +elif False: + UserPoolSchemaAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolSchemaAttributeArgs: def __init__(__self__, *, @@ -2121,6 +2807,25 @@ def string_attribute_constraints(self, value: Optional[pulumi.Input['UserPoolStr pulumi.set(self, "string_attribute_constraints", value) +if not MYPY: + class UserPoolSmsConfigurationArgsDict(TypedDict): + external_id: NotRequired[pulumi.Input[str]] + """ + The external ID is a value. We recommend you use `ExternalId` to add security to your IAM role, which is used to call Amazon SNS to send SMS messages for your user pool. If you provide an `ExternalId` , the Cognito User Pool uses it when attempting to assume your IAM role. You can also set your roles trust policy to require the `ExternalID` . If you use the Cognito Management Console to create a role for SMS MFA, Cognito creates a role with the required permissions and a trust policy that uses `ExternalId` . + """ + sns_caller_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the Amazon SNS caller. This is the ARN of the IAM role in your AWS account that Amazon Cognito will use to send SMS messages. SMS messages are subject to a [spending limit](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html) . + """ + sns_region: NotRequired[pulumi.Input[str]] + """ + The AWS Region to use with Amazon SNS integration. You can choose the same Region as your user pool, or a supported *Legacy Amazon SNS alternate Region* . + + Amazon Cognito resources in the Asia Pacific (Seoul) AWS Region must use your Amazon SNS configuration in the Asia Pacific (Tokyo) Region. For more information, see [SMS message settings for Amazon Cognito user pools](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html) . + """ +elif False: + UserPoolSmsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolSmsConfigurationArgs: def __init__(__self__, *, @@ -2180,6 +2885,19 @@ def sns_region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sns_region", value) +if not MYPY: + class UserPoolStringAttributeConstraintsArgsDict(TypedDict): + max_length: NotRequired[pulumi.Input[str]] + """ + The maximum length of a string attribute value. Must be a number less than or equal to `2^1023` , represented as a string with a length of 131072 characters or fewer. + """ + min_length: NotRequired[pulumi.Input[str]] + """ + The minimum length of a string attribute value. + """ +elif False: + UserPoolStringAttributeConstraintsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolStringAttributeConstraintsArgs: def __init__(__self__, *, @@ -2219,6 +2937,19 @@ def min_length(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "min_length", value) +if not MYPY: + class UserPoolUserAttributeTypeArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The name of the attribute. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of the attribute. + """ +elif False: + UserPoolUserAttributeTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolUserAttributeTypeArgs: def __init__(__self__, *, @@ -2258,6 +2989,19 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class UserPoolUserAttributeUpdateSettingsArgsDict(TypedDict): + attributes_require_verification_before_update: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Requires that your user verifies their email address, phone number, or both before Amazon Cognito updates the value of that attribute. When you update a user attribute that has this option activated, Amazon Cognito sends a verification message to the new phone number or email address. Amazon Cognito doesn’t change the value of the attribute until your user responds to the verification message and confirms the new value. + + You can verify an updated email address or phone number with a [VerifyUserAttribute](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerifyUserAttribute.html) API request. You can also call the [AdminUpdateUserAttributes](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminUpdateUserAttributes.html) API and set `email_verified` or `phone_number_verified` to true. + + When `AttributesRequireVerificationBeforeUpdate` is false, your user pool doesn't require that your users verify attribute changes before Amazon Cognito updates them. In a user pool where `AttributesRequireVerificationBeforeUpdate` is false, API operations that change attribute values can immediately update a user’s `email` or `phone_number` attribute. + """ +elif False: + UserPoolUserAttributeUpdateSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolUserAttributeUpdateSettingsArgs: def __init__(__self__, *, @@ -2288,6 +3032,20 @@ def attributes_require_verification_before_update(self, value: pulumi.Input[Sequ pulumi.set(self, "attributes_require_verification_before_update", value) +if not MYPY: + class UserPoolUsernameConfigurationArgsDict(TypedDict): + case_sensitive: NotRequired[pulumi.Input[bool]] + """ + Specifies whether user name case sensitivity will be applied for all users in the user pool through Amazon Cognito APIs. For most use cases, set case sensitivity to `False` (case insensitive) as a best practice. When usernames and email addresses are case insensitive, users can sign in as the same user when they enter a different capitalization of their user name. + + Valid values include: + + - **true** - Enables case sensitivity for all username input. When this option is set to `true` , users must sign in using the exact capitalization of their given username, such as "UserName". This is the default value. + - **false** - Enables case insensitivity for all username input. For example, when this option is set to `false` , users can sign in using `username` , `USERNAME` , or `UserName` . This option also enables both `preferred_username` and `email` alias to be case insensitive, in addition to the `username` attribute. + """ +elif False: + UserPoolUsernameConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolUsernameConfigurationArgs: def __init__(__self__, *, @@ -2321,6 +3079,37 @@ def case_sensitive(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "case_sensitive", value) +if not MYPY: + class UserPoolVerificationMessageTemplateArgsDict(TypedDict): + default_email_option: NotRequired[pulumi.Input[str]] + """ + The configuration of verification emails to contain a clickable link or a verification code. + + For link, your template body must contain link text in the format `{##Click here##}` . "Click here" in the example is a customizable string. For code, your template body must contain a code placeholder in the format `{####}` . + """ + email_message: NotRequired[pulumi.Input[str]] + """ + The template for email messages that Amazon Cognito sends to your users. You can set an `EmailMessage` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration. + """ + email_message_by_link: NotRequired[pulumi.Input[str]] + """ + The email message template for sending a confirmation link to the user. You can set an `EmailMessageByLink` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration. + """ + email_subject: NotRequired[pulumi.Input[str]] + """ + The subject line for the email message template. You can set an `EmailSubject` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration. + """ + email_subject_by_link: NotRequired[pulumi.Input[str]] + """ + The subject line for the email message template for sending a confirmation link to the user. You can set an `EmailSubjectByLink` template only if the value of [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` . When your [EmailSendingAccount](https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) is `DEVELOPER` , your user pool sends email messages with your own Amazon SES configuration. + """ + sms_message: NotRequired[pulumi.Input[str]] + """ + The template for SMS messages that Amazon Cognito sends to your users. + """ +elif False: + UserPoolVerificationMessageTemplateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPoolVerificationMessageTemplateArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/cognito/get_identity_pool.py b/sdk/python/pulumi_aws_native/cognito/get_identity_pool.py index 44c3bb80e3..f06d8bd1a3 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_identity_pool.py +++ b/sdk/python/pulumi_aws_native/cognito/get_identity_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -194,12 +199,24 @@ def get_identity_pool(id: Optional[str] = None, open_id_connect_provider_arns=pulumi.get(__ret__, 'open_id_connect_provider_arns'), saml_provider_arns=pulumi.get(__ret__, 'saml_provider_arns'), supported_login_providers=pulumi.get(__ret__, 'supported_login_providers')) - - -@_utilities.lift_output_func(get_identity_pool) def get_identity_pool_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIdentityPoolResult]: """ Resource Type definition for AWS::Cognito::IdentityPool """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getIdentityPool', __args__, opts=opts, typ=GetIdentityPoolResult) + return __ret__.apply(lambda __response__: GetIdentityPoolResult( + allow_classic_flow=pulumi.get(__response__, 'allow_classic_flow'), + allow_unauthenticated_identities=pulumi.get(__response__, 'allow_unauthenticated_identities'), + cognito_identity_providers=pulumi.get(__response__, 'cognito_identity_providers'), + developer_provider_name=pulumi.get(__response__, 'developer_provider_name'), + id=pulumi.get(__response__, 'id'), + identity_pool_name=pulumi.get(__response__, 'identity_pool_name'), + identity_pool_tags=pulumi.get(__response__, 'identity_pool_tags'), + name=pulumi.get(__response__, 'name'), + open_id_connect_provider_arns=pulumi.get(__response__, 'open_id_connect_provider_arns'), + saml_provider_arns=pulumi.get(__response__, 'saml_provider_arns'), + supported_login_providers=pulumi.get(__response__, 'supported_login_providers'))) diff --git a/sdk/python/pulumi_aws_native/cognito/get_identity_pool_principal_tag.py b/sdk/python/pulumi_aws_native/cognito/get_identity_pool_principal_tag.py index 419c77bf05..d67554150b 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_identity_pool_principal_tag.py +++ b/sdk/python/pulumi_aws_native/cognito/get_identity_pool_principal_tag.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -74,9 +79,6 @@ def get_identity_pool_principal_tag(identity_pool_id: Optional[str] = None, return AwaitableGetIdentityPoolPrincipalTagResult( principal_tags=pulumi.get(__ret__, 'principal_tags'), use_defaults=pulumi.get(__ret__, 'use_defaults')) - - -@_utilities.lift_output_func(get_identity_pool_principal_tag) def get_identity_pool_principal_tag_output(identity_pool_id: Optional[pulumi.Input[str]] = None, identity_provider_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIdentityPoolPrincipalTagResult]: @@ -87,4 +89,11 @@ def get_identity_pool_principal_tag_output(identity_pool_id: Optional[pulumi.Inp :param str identity_pool_id: The identity pool that you want to associate with this principal tag map. :param str identity_provider_name: The identity pool identity provider (IdP) that you want to associate with this principal tag map. """ - ... + __args__ = dict() + __args__['identityPoolId'] = identity_pool_id + __args__['identityProviderName'] = identity_provider_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getIdentityPoolPrincipalTag', __args__, opts=opts, typ=GetIdentityPoolPrincipalTagResult) + return __ret__.apply(lambda __response__: GetIdentityPoolPrincipalTagResult( + principal_tags=pulumi.get(__response__, 'principal_tags'), + use_defaults=pulumi.get(__response__, 'use_defaults'))) diff --git a/sdk/python/pulumi_aws_native/cognito/get_identity_pool_role_attachment.py b/sdk/python/pulumi_aws_native/cognito/get_identity_pool_role_attachment.py index 9e9b5a687a..8b461a6abf 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_identity_pool_role_attachment.py +++ b/sdk/python/pulumi_aws_native/cognito/get_identity_pool_role_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -87,9 +92,6 @@ def get_identity_pool_role_attachment(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), role_mappings=pulumi.get(__ret__, 'role_mappings'), roles=pulumi.get(__ret__, 'roles')) - - -@_utilities.lift_output_func(get_identity_pool_role_attachment) def get_identity_pool_role_attachment_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIdentityPoolRoleAttachmentResult]: """ @@ -98,4 +100,11 @@ def get_identity_pool_role_attachment_output(id: Optional[pulumi.Input[str]] = N :param str id: The resource ID. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getIdentityPoolRoleAttachment', __args__, opts=opts, typ=GetIdentityPoolRoleAttachmentResult) + return __ret__.apply(lambda __response__: GetIdentityPoolRoleAttachmentResult( + id=pulumi.get(__response__, 'id'), + role_mappings=pulumi.get(__response__, 'role_mappings'), + roles=pulumi.get(__response__, 'roles'))) diff --git a/sdk/python/pulumi_aws_native/cognito/get_log_delivery_configuration.py b/sdk/python/pulumi_aws_native/cognito/get_log_delivery_configuration.py index c44eb12733..68a51104a4 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_log_delivery_configuration.py +++ b/sdk/python/pulumi_aws_native/cognito/get_log_delivery_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_log_delivery_configuration(id: Optional[str] = None, return AwaitableGetLogDeliveryConfigurationResult( id=pulumi.get(__ret__, 'id'), log_configurations=pulumi.get(__ret__, 'log_configurations')) - - -@_utilities.lift_output_func(get_log_delivery_configuration) def get_log_delivery_configuration_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogDeliveryConfigurationResult]: """ @@ -81,4 +83,10 @@ def get_log_delivery_configuration_output(id: Optional[pulumi.Input[str]] = None :param str id: A user pool ID, for example `us-east-1_EXAMPLE` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getLogDeliveryConfiguration', __args__, opts=opts, typ=GetLogDeliveryConfigurationResult) + return __ret__.apply(lambda __response__: GetLogDeliveryConfigurationResult( + id=pulumi.get(__response__, 'id'), + log_configurations=pulumi.get(__response__, 'log_configurations'))) diff --git a/sdk/python/pulumi_aws_native/cognito/get_user_pool.py b/sdk/python/pulumi_aws_native/cognito/get_user_pool.py index b1960afae6..7e903a2af5 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_user_pool.py +++ b/sdk/python/pulumi_aws_native/cognito/get_user_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -441,9 +446,6 @@ def get_user_pool(user_pool_id: Optional[str] = None, username_attributes=pulumi.get(__ret__, 'username_attributes'), username_configuration=pulumi.get(__ret__, 'username_configuration'), verification_message_template=pulumi.get(__ret__, 'verification_message_template')) - - -@_utilities.lift_output_func(get_user_pool) def get_user_pool_output(user_pool_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserPoolResult]: """ @@ -452,4 +454,37 @@ def get_user_pool_output(user_pool_id: Optional[pulumi.Input[str]] = None, :param str user_pool_id: The ID of the user pool. """ - ... + __args__ = dict() + __args__['userPoolId'] = user_pool_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getUserPool', __args__, opts=opts, typ=GetUserPoolResult) + return __ret__.apply(lambda __response__: GetUserPoolResult( + account_recovery_setting=pulumi.get(__response__, 'account_recovery_setting'), + admin_create_user_config=pulumi.get(__response__, 'admin_create_user_config'), + alias_attributes=pulumi.get(__response__, 'alias_attributes'), + arn=pulumi.get(__response__, 'arn'), + auto_verified_attributes=pulumi.get(__response__, 'auto_verified_attributes'), + deletion_protection=pulumi.get(__response__, 'deletion_protection'), + device_configuration=pulumi.get(__response__, 'device_configuration'), + email_authentication_message=pulumi.get(__response__, 'email_authentication_message'), + email_authentication_subject=pulumi.get(__response__, 'email_authentication_subject'), + email_configuration=pulumi.get(__response__, 'email_configuration'), + email_verification_message=pulumi.get(__response__, 'email_verification_message'), + email_verification_subject=pulumi.get(__response__, 'email_verification_subject'), + lambda_config=pulumi.get(__response__, 'lambda_config'), + mfa_configuration=pulumi.get(__response__, 'mfa_configuration'), + policies=pulumi.get(__response__, 'policies'), + provider_name=pulumi.get(__response__, 'provider_name'), + provider_url=pulumi.get(__response__, 'provider_url'), + schema=pulumi.get(__response__, 'schema'), + sms_authentication_message=pulumi.get(__response__, 'sms_authentication_message'), + sms_configuration=pulumi.get(__response__, 'sms_configuration'), + sms_verification_message=pulumi.get(__response__, 'sms_verification_message'), + user_attribute_update_settings=pulumi.get(__response__, 'user_attribute_update_settings'), + user_pool_add_ons=pulumi.get(__response__, 'user_pool_add_ons'), + user_pool_id=pulumi.get(__response__, 'user_pool_id'), + user_pool_name=pulumi.get(__response__, 'user_pool_name'), + user_pool_tags=pulumi.get(__response__, 'user_pool_tags'), + username_attributes=pulumi.get(__response__, 'username_attributes'), + username_configuration=pulumi.get(__response__, 'username_configuration'), + verification_message_template=pulumi.get(__response__, 'verification_message_template'))) diff --git a/sdk/python/pulumi_aws_native/cognito/get_user_pool_client.py b/sdk/python/pulumi_aws_native/cognito/get_user_pool_client.py index a76fb95e3b..1c53ef639f 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_user_pool_client.py +++ b/sdk/python/pulumi_aws_native/cognito/get_user_pool_client.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -412,9 +417,6 @@ def get_user_pool_client(client_id: Optional[str] = None, supported_identity_providers=pulumi.get(__ret__, 'supported_identity_providers'), token_validity_units=pulumi.get(__ret__, 'token_validity_units'), write_attributes=pulumi.get(__ret__, 'write_attributes')) - - -@_utilities.lift_output_func(get_user_pool_client) def get_user_pool_client_output(client_id: Optional[pulumi.Input[str]] = None, user_pool_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserPoolClientResult]: @@ -425,4 +427,32 @@ def get_user_pool_client_output(client_id: Optional[pulumi.Input[str]] = None, :param str client_id: The ID of the app client, for example `1example23456789` . :param str user_pool_id: The user pool ID for the user pool where you want to create a user pool client. """ - ... + __args__ = dict() + __args__['clientId'] = client_id + __args__['userPoolId'] = user_pool_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getUserPoolClient', __args__, opts=opts, typ=GetUserPoolClientResult) + return __ret__.apply(lambda __response__: GetUserPoolClientResult( + access_token_validity=pulumi.get(__response__, 'access_token_validity'), + allowed_o_auth_flows=pulumi.get(__response__, 'allowed_o_auth_flows'), + allowed_o_auth_flows_user_pool_client=pulumi.get(__response__, 'allowed_o_auth_flows_user_pool_client'), + allowed_o_auth_scopes=pulumi.get(__response__, 'allowed_o_auth_scopes'), + analytics_configuration=pulumi.get(__response__, 'analytics_configuration'), + auth_session_validity=pulumi.get(__response__, 'auth_session_validity'), + callback_urls=pulumi.get(__response__, 'callback_urls'), + client_id=pulumi.get(__response__, 'client_id'), + client_name=pulumi.get(__response__, 'client_name'), + client_secret=pulumi.get(__response__, 'client_secret'), + default_redirect_uri=pulumi.get(__response__, 'default_redirect_uri'), + enable_propagate_additional_user_context_data=pulumi.get(__response__, 'enable_propagate_additional_user_context_data'), + enable_token_revocation=pulumi.get(__response__, 'enable_token_revocation'), + explicit_auth_flows=pulumi.get(__response__, 'explicit_auth_flows'), + id_token_validity=pulumi.get(__response__, 'id_token_validity'), + logout_urls=pulumi.get(__response__, 'logout_urls'), + name=pulumi.get(__response__, 'name'), + prevent_user_existence_errors=pulumi.get(__response__, 'prevent_user_existence_errors'), + read_attributes=pulumi.get(__response__, 'read_attributes'), + refresh_token_validity=pulumi.get(__response__, 'refresh_token_validity'), + supported_identity_providers=pulumi.get(__response__, 'supported_identity_providers'), + token_validity_units=pulumi.get(__response__, 'token_validity_units'), + write_attributes=pulumi.get(__response__, 'write_attributes'))) diff --git a/sdk/python/pulumi_aws_native/cognito/get_user_pool_domain.py b/sdk/python/pulumi_aws_native/cognito/get_user_pool_domain.py index f4878378c0..af2ba29b47 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_user_pool_domain.py +++ b/sdk/python/pulumi_aws_native/cognito/get_user_pool_domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_user_pool_domain(id: Optional[str] = None, cloud_front_distribution=pulumi.get(__ret__, 'cloud_front_distribution'), custom_domain_config=pulumi.get(__ret__, 'custom_domain_config'), id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_user_pool_domain) def get_user_pool_domain_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserPoolDomainResult]: """ @@ -94,4 +96,11 @@ def get_user_pool_domain_output(id: Optional[pulumi.Input[str]] = None, :param str id: The resource ID. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getUserPoolDomain', __args__, opts=opts, typ=GetUserPoolDomainResult) + return __ret__.apply(lambda __response__: GetUserPoolDomainResult( + cloud_front_distribution=pulumi.get(__response__, 'cloud_front_distribution'), + custom_domain_config=pulumi.get(__response__, 'custom_domain_config'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/cognito/get_user_pool_group.py b/sdk/python/pulumi_aws_native/cognito/get_user_pool_group.py index 0e16b1d411..d6e9e80f60 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_user_pool_group.py +++ b/sdk/python/pulumi_aws_native/cognito/get_user_pool_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -89,9 +94,6 @@ def get_user_pool_group(group_name: Optional[str] = None, description=pulumi.get(__ret__, 'description'), precedence=pulumi.get(__ret__, 'precedence'), role_arn=pulumi.get(__ret__, 'role_arn')) - - -@_utilities.lift_output_func(get_user_pool_group) def get_user_pool_group_output(group_name: Optional[pulumi.Input[str]] = None, user_pool_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserPoolGroupResult]: @@ -102,4 +104,12 @@ def get_user_pool_group_output(group_name: Optional[pulumi.Input[str]] = None, :param str group_name: The name of the group. Must be unique. :param str user_pool_id: The user pool ID for the user pool. """ - ... + __args__ = dict() + __args__['groupName'] = group_name + __args__['userPoolId'] = user_pool_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getUserPoolGroup', __args__, opts=opts, typ=GetUserPoolGroupResult) + return __ret__.apply(lambda __response__: GetUserPoolGroupResult( + description=pulumi.get(__response__, 'description'), + precedence=pulumi.get(__response__, 'precedence'), + role_arn=pulumi.get(__response__, 'role_arn'))) diff --git a/sdk/python/pulumi_aws_native/cognito/get_user_pool_identity_provider.py b/sdk/python/pulumi_aws_native/cognito/get_user_pool_identity_provider.py index 71220c2982..a510de5a67 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_user_pool_identity_provider.py +++ b/sdk/python/pulumi_aws_native/cognito/get_user_pool_identity_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -127,9 +132,6 @@ def get_user_pool_identity_provider(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), idp_identifiers=pulumi.get(__ret__, 'idp_identifiers'), provider_details=pulumi.get(__ret__, 'provider_details')) - - -@_utilities.lift_output_func(get_user_pool_identity_provider) def get_user_pool_identity_provider_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserPoolIdentityProviderResult]: """ @@ -138,4 +140,12 @@ def get_user_pool_identity_provider_output(id: Optional[pulumi.Input[str]] = Non :param str id: The resource ID. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getUserPoolIdentityProvider', __args__, opts=opts, typ=GetUserPoolIdentityProviderResult) + return __ret__.apply(lambda __response__: GetUserPoolIdentityProviderResult( + attribute_mapping=pulumi.get(__response__, 'attribute_mapping'), + id=pulumi.get(__response__, 'id'), + idp_identifiers=pulumi.get(__response__, 'idp_identifiers'), + provider_details=pulumi.get(__response__, 'provider_details'))) diff --git a/sdk/python/pulumi_aws_native/cognito/get_user_pool_resource_server.py b/sdk/python/pulumi_aws_native/cognito/get_user_pool_resource_server.py index e1b390ad70..e1c6efaeb7 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_user_pool_resource_server.py +++ b/sdk/python/pulumi_aws_native/cognito/get_user_pool_resource_server.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -73,9 +78,6 @@ def get_user_pool_resource_server(identifier: Optional[str] = None, return AwaitableGetUserPoolResourceServerResult( name=pulumi.get(__ret__, 'name'), scopes=pulumi.get(__ret__, 'scopes')) - - -@_utilities.lift_output_func(get_user_pool_resource_server) def get_user_pool_resource_server_output(identifier: Optional[pulumi.Input[str]] = None, user_pool_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserPoolResourceServerResult]: @@ -86,4 +88,11 @@ def get_user_pool_resource_server_output(identifier: Optional[pulumi.Input[str]] :param str identifier: A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located. For example: `https://my-weather-api.example.com` . :param str user_pool_id: The user pool ID for the user pool. """ - ... + __args__ = dict() + __args__['identifier'] = identifier + __args__['userPoolId'] = user_pool_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getUserPoolResourceServer', __args__, opts=opts, typ=GetUserPoolResourceServerResult) + return __ret__.apply(lambda __response__: GetUserPoolResourceServerResult( + name=pulumi.get(__response__, 'name'), + scopes=pulumi.get(__response__, 'scopes'))) diff --git a/sdk/python/pulumi_aws_native/cognito/get_user_pool_risk_configuration_attachment.py b/sdk/python/pulumi_aws_native/cognito/get_user_pool_risk_configuration_attachment.py index 77b33bd881..6e48c89ec5 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_user_pool_risk_configuration_attachment.py +++ b/sdk/python/pulumi_aws_native/cognito/get_user_pool_risk_configuration_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -86,9 +91,6 @@ def get_user_pool_risk_configuration_attachment(client_id: Optional[str] = None, account_takeover_risk_configuration=pulumi.get(__ret__, 'account_takeover_risk_configuration'), compromised_credentials_risk_configuration=pulumi.get(__ret__, 'compromised_credentials_risk_configuration'), risk_exception_configuration=pulumi.get(__ret__, 'risk_exception_configuration')) - - -@_utilities.lift_output_func(get_user_pool_risk_configuration_attachment) def get_user_pool_risk_configuration_attachment_output(client_id: Optional[pulumi.Input[str]] = None, user_pool_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserPoolRiskConfigurationAttachmentResult]: @@ -99,4 +101,12 @@ def get_user_pool_risk_configuration_attachment_output(client_id: Optional[pulum :param str client_id: The app client ID. You can specify the risk configuration for a single client (with a specific ClientId) or for all clients (by setting the ClientId to `ALL` ). :param str user_pool_id: The ID of the user pool that has the risk configuration applied. """ - ... + __args__ = dict() + __args__['clientId'] = client_id + __args__['userPoolId'] = user_pool_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getUserPoolRiskConfigurationAttachment', __args__, opts=opts, typ=GetUserPoolRiskConfigurationAttachmentResult) + return __ret__.apply(lambda __response__: GetUserPoolRiskConfigurationAttachmentResult( + account_takeover_risk_configuration=pulumi.get(__response__, 'account_takeover_risk_configuration'), + compromised_credentials_risk_configuration=pulumi.get(__response__, 'compromised_credentials_risk_configuration'), + risk_exception_configuration=pulumi.get(__response__, 'risk_exception_configuration'))) diff --git a/sdk/python/pulumi_aws_native/cognito/get_user_pool_ui_customization_attachment.py b/sdk/python/pulumi_aws_native/cognito/get_user_pool_ui_customization_attachment.py index 84f0a07d41..58b6ca9d4a 100644 --- a/sdk/python/pulumi_aws_native/cognito/get_user_pool_ui_customization_attachment.py +++ b/sdk/python/pulumi_aws_native/cognito/get_user_pool_ui_customization_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -59,9 +64,6 @@ def get_user_pool_ui_customization_attachment(client_id: Optional[str] = None, return AwaitableGetUserPoolUiCustomizationAttachmentResult( css=pulumi.get(__ret__, 'css')) - - -@_utilities.lift_output_func(get_user_pool_ui_customization_attachment) def get_user_pool_ui_customization_attachment_output(client_id: Optional[pulumi.Input[str]] = None, user_pool_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserPoolUiCustomizationAttachmentResult]: @@ -72,4 +74,10 @@ def get_user_pool_ui_customization_attachment_output(client_id: Optional[pulumi. :param str client_id: The client ID for the client app. You can specify the UI customization settings for a single client (with a specific clientId) or for all clients (by setting the clientId to `ALL` ). :param str user_pool_id: The user pool ID for the user pool. """ - ... + __args__ = dict() + __args__['clientId'] = client_id + __args__['userPoolId'] = user_pool_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:cognito:getUserPoolUiCustomizationAttachment', __args__, opts=opts, typ=GetUserPoolUiCustomizationAttachmentResult) + return __ret__.apply(lambda __response__: GetUserPoolUiCustomizationAttachmentResult( + css=pulumi.get(__response__, 'css'))) diff --git a/sdk/python/pulumi_aws_native/cognito/identity_pool.py b/sdk/python/pulumi_aws_native/cognito/identity_pool.py index d4dec7103a..4a7f844ac4 100644 --- a/sdk/python/pulumi_aws_native/cognito/identity_pool.py +++ b/sdk/python/pulumi_aws_native/cognito/identity_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/cognito/identity_pool_principal_tag.py b/sdk/python/pulumi_aws_native/cognito/identity_pool_principal_tag.py index 8d30bb97fa..1e04e05215 100644 --- a/sdk/python/pulumi_aws_native/cognito/identity_pool_principal_tag.py +++ b/sdk/python/pulumi_aws_native/cognito/identity_pool_principal_tag.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['IdentityPoolPrincipalTagArgs', 'IdentityPoolPrincipalTag'] diff --git a/sdk/python/pulumi_aws_native/cognito/identity_pool_role_attachment.py b/sdk/python/pulumi_aws_native/cognito/identity_pool_role_attachment.py index f2665ec0b6..e7685b95f0 100644 --- a/sdk/python/pulumi_aws_native/cognito/identity_pool_role_attachment.py +++ b/sdk/python/pulumi_aws_native/cognito/identity_pool_role_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cognito/log_delivery_configuration.py b/sdk/python/pulumi_aws_native/cognito/log_delivery_configuration.py index 627c60345c..a5473c5731 100644 --- a/sdk/python/pulumi_aws_native/cognito/log_delivery_configuration.py +++ b/sdk/python/pulumi_aws_native/cognito/log_delivery_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cognito/outputs.py b/sdk/python/pulumi_aws_native/cognito/outputs.py index 3c5226c8ad..a8aadc74e8 100644 --- a/sdk/python/pulumi_aws_native/cognito/outputs.py +++ b/sdk/python/pulumi_aws_native/cognito/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/cognito/user_pool.py b/sdk/python/pulumi_aws_native/cognito/user_pool.py index 8e0f8a2282..203c064e72 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cognito/user_pool_client.py b/sdk/python/pulumi_aws_native/cognito/user_pool_client.py index 579fe19fdd..44eaebc892 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool_client.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool_client.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cognito/user_pool_domain.py b/sdk/python/pulumi_aws_native/cognito/user_pool_domain.py index 9bdf3f44dd..2b7d42efb9 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool_domain.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool_domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cognito/user_pool_group.py b/sdk/python/pulumi_aws_native/cognito/user_pool_group.py index cb7cba99af..9245128ece 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool_group.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['UserPoolGroupArgs', 'UserPoolGroup'] diff --git a/sdk/python/pulumi_aws_native/cognito/user_pool_identity_provider.py b/sdk/python/pulumi_aws_native/cognito/user_pool_identity_provider.py index 883c4b9953..2b3ca6e368 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool_identity_provider.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool_identity_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['UserPoolIdentityProviderArgs', 'UserPoolIdentityProvider'] diff --git a/sdk/python/pulumi_aws_native/cognito/user_pool_resource_server.py b/sdk/python/pulumi_aws_native/cognito/user_pool_resource_server.py index aa4368a518..6d7bd78c8e 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool_resource_server.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool_resource_server.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cognito/user_pool_risk_configuration_attachment.py b/sdk/python/pulumi_aws_native/cognito/user_pool_risk_configuration_attachment.py index f3ec558031..99f0d80463 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool_risk_configuration_attachment.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool_risk_configuration_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cognito/user_pool_ui_customization_attachment.py b/sdk/python/pulumi_aws_native/cognito/user_pool_ui_customization_attachment.py index bc743bede9..48adc8dd12 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool_ui_customization_attachment.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool_ui_customization_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['UserPoolUiCustomizationAttachmentArgs', 'UserPoolUiCustomizationAttachment'] diff --git a/sdk/python/pulumi_aws_native/cognito/user_pool_user.py b/sdk/python/pulumi_aws_native/cognito/user_pool_user.py index f78168a974..e90df8d203 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool_user.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool_user.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/cognito/user_pool_user_to_group_attachment.py b/sdk/python/pulumi_aws_native/cognito/user_pool_user_to_group_attachment.py index e183e5c731..f30d665bf7 100644 --- a/sdk/python/pulumi_aws_native/cognito/user_pool_user_to_group_attachment.py +++ b/sdk/python/pulumi_aws_native/cognito/user_pool_user_to_group_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['UserPoolUserToGroupAttachmentArgs', 'UserPoolUserToGroupAttachment'] diff --git a/sdk/python/pulumi_aws_native/comprehend/_inputs.py b/sdk/python/pulumi_aws_native/comprehend/_inputs.py index 04cb7e24d5..1014b3418b 100644 --- a/sdk/python/pulumi_aws_native/comprehend/_inputs.py +++ b/sdk/python/pulumi_aws_native/comprehend/_inputs.py @@ -4,27 +4,71 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DocumentClassifierAugmentedManifestsListItemArgs', + 'DocumentClassifierAugmentedManifestsListItemArgsDict', 'DocumentClassifierDocumentReaderConfigArgs', + 'DocumentClassifierDocumentReaderConfigArgsDict', 'DocumentClassifierDocumentsArgs', + 'DocumentClassifierDocumentsArgsDict', 'DocumentClassifierInputDataConfigArgs', + 'DocumentClassifierInputDataConfigArgsDict', 'DocumentClassifierOutputDataConfigArgs', + 'DocumentClassifierOutputDataConfigArgsDict', 'DocumentClassifierVpcConfigArgs', + 'DocumentClassifierVpcConfigArgsDict', 'FlywheelDataSecurityConfigArgs', + 'FlywheelDataSecurityConfigArgsDict', 'FlywheelDocumentClassificationConfigArgs', + 'FlywheelDocumentClassificationConfigArgsDict', 'FlywheelEntityRecognitionConfigArgs', + 'FlywheelEntityRecognitionConfigArgsDict', 'FlywheelEntityTypesListItemArgs', + 'FlywheelEntityTypesListItemArgsDict', 'FlywheelTaskConfigArgs', + 'FlywheelTaskConfigArgsDict', 'FlywheelVpcConfigArgs', + 'FlywheelVpcConfigArgsDict', ] +MYPY = False + +if not MYPY: + class DocumentClassifierAugmentedManifestsListItemArgsDict(TypedDict): + attribute_names: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job. + + If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth. + + If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job. + """ + s3_uri: pulumi.Input[str] + """ + The Amazon S3 location of the augmented manifest file. + """ + split: NotRequired[pulumi.Input['DocumentClassifierAugmentedManifestsListItemSplit']] + """ + The purpose of the data you've provided in the augmented manifest. You can either train or test this data. If you don't specify, the default is train. + + TRAIN - all of the documents in the manifest will be used for training. If no test documents are provided, Amazon Comprehend will automatically reserve a portion of the training documents for testing. + + TEST - all of the documents in the manifest will be used for testing. + """ +elif False: + DocumentClassifierAugmentedManifestsListItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DocumentClassifierAugmentedManifestsListItemArgs: def __init__(__self__, *, @@ -94,6 +138,32 @@ def split(self, value: Optional[pulumi.Input['DocumentClassifierAugmentedManifes pulumi.set(self, "split", value) +if not MYPY: + class DocumentClassifierDocumentReaderConfigArgsDict(TypedDict): + document_read_action: pulumi.Input['DocumentClassifierDocumentReaderConfigDocumentReadAction'] + """ + This field defines the Amazon Textract API operation that Amazon Comprehend uses to extract text from PDF files and image files. Enter one of the following values: + + - `TEXTRACT_DETECT_DOCUMENT_TEXT` - The Amazon Comprehend service uses the `DetectDocumentText` API operation. + - `TEXTRACT_ANALYZE_DOCUMENT` - The Amazon Comprehend service uses the `AnalyzeDocument` API operation. + """ + document_read_mode: NotRequired[pulumi.Input['DocumentClassifierDocumentReaderConfigDocumentReadMode']] + """ + Determines the text extraction actions for PDF files. Enter one of the following values: + + - `SERVICE_DEFAULT` - use the Amazon Comprehend service defaults for PDF files. + - `FORCE_DOCUMENT_READ_ACTION` - Amazon Comprehend uses the Textract API specified by DocumentReadAction for all PDF files, including digital PDF files. + """ + feature_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['DocumentClassifierDocumentReaderConfigFeatureTypesItem']]]] + """ + Specifies the type of Amazon Textract features to apply. If you chose `TEXTRACT_ANALYZE_DOCUMENT` as the read action, you must specify one or both of the following values: + + - `TABLES` - Returns additional information about any tables that are detected in the input document. + - `FORMS` - Returns additional information about any forms that are detected in the input document. + """ +elif False: + DocumentClassifierDocumentReaderConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DocumentClassifierDocumentReaderConfigArgs: def __init__(__self__, *, @@ -166,6 +236,19 @@ def feature_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Docu pulumi.set(self, "feature_types", value) +if not MYPY: + class DocumentClassifierDocumentsArgsDict(TypedDict): + s3_uri: pulumi.Input[str] + """ + The S3 URI location of the training documents specified in the S3Uri CSV file. + """ + test_s3_uri: NotRequired[pulumi.Input[str]] + """ + The S3 URI location of the test documents included in the TestS3Uri CSV file. This field is not required if you do not specify a test CSV file. + """ +elif False: + DocumentClassifierDocumentsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DocumentClassifierDocumentsArgs: def __init__(__self__, *, @@ -204,6 +287,53 @@ def test_s3_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "test_s3_uri", value) +if not MYPY: + class DocumentClassifierInputDataConfigArgsDict(TypedDict): + augmented_manifests: NotRequired[pulumi.Input[Sequence[pulumi.Input['DocumentClassifierAugmentedManifestsListItemArgsDict']]]] + """ + A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth. + + This parameter is required if you set `DataFormat` to `AUGMENTED_MANIFEST` . + """ + data_format: NotRequired[pulumi.Input['DocumentClassifierInputDataConfigDataFormat']] + """ + The format of your training data: + + - `COMPREHEND_CSV` : A two-column CSV file, where labels are provided in the first column, and documents are provided in the second. If you use this value, you must provide the `S3Uri` parameter in your request. + - `AUGMENTED_MANIFEST` : A labeled dataset that is produced by Amazon SageMaker Ground Truth. This file is in JSON lines format. Each line is a complete JSON object that contains a training document and its associated labels. + + If you use this value, you must provide the `AugmentedManifests` parameter in your request. + + If you don't specify a value, Amazon Comprehend uses `COMPREHEND_CSV` as the default. + """ + document_reader_config: NotRequired[pulumi.Input['DocumentClassifierDocumentReaderConfigArgsDict']] + document_type: NotRequired[pulumi.Input['DocumentClassifierInputDataConfigDocumentType']] + """ + The type of input documents for training the model. Provide plain-text documents to create a plain-text model, and provide semi-structured documents to create a native document model. + """ + documents: NotRequired[pulumi.Input['DocumentClassifierDocumentsArgsDict']] + """ + The S3 location of the training documents. This parameter is required in a request to create a native document model. + """ + label_delimiter: NotRequired[pulumi.Input[str]] + """ + Indicates the delimiter used to separate each label for training a multi-label classifier. The default delimiter between labels is a pipe (|). You can use a different character as a delimiter (if it's an allowed character) by specifying it under Delimiter for labels. If the training documents use a delimiter other than the default or the delimiter you specify, the labels on that line will be combined to make a single unique label, such as LABELLABELLABEL. + """ + s3_uri: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 URI for the input data. The S3 bucket must be in the same Region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files. + + For example, if you use the URI `S3://bucketName/prefix` , if the prefix is a single file, Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of them as input. + + This parameter is required if you set `DataFormat` to `COMPREHEND_CSV` . + """ + test_s3_uri: NotRequired[pulumi.Input[str]] + """ + This specifies the Amazon S3 location that contains the test annotations for the document classifier. The URI must be in the same AWS Region as the API endpoint that you are calling. + """ +elif False: + DocumentClassifierInputDataConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DocumentClassifierInputDataConfigArgs: def __init__(__self__, *, @@ -361,6 +491,26 @@ def test_s3_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "test_s3_uri", value) +if not MYPY: + class DocumentClassifierOutputDataConfigArgsDict(TypedDict): + kms_key_id: NotRequired[pulumi.Input[str]] + """ + ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one of the following formats: + + - KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"` + - Amazon Resource Name (ARN) of a KMS Key: `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"` + - KMS Key Alias: `"alias/ExampleAlias"` + - ARN of a KMS Key Alias: `"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"` + """ + s3_uri: NotRequired[pulumi.Input[str]] + """ + When you use the `OutputDataConfig` object while creating a custom classifier, you specify the Amazon S3 location where you want to write the confusion matrix and other output files. The URI must be in the same Region as the API endpoint that you are calling. The location is used as the prefix for the actual location of this output file. + + When the custom classifier job is finished, the service creates the output file in a directory specific to the job. The `S3Uri` field contains the location of the output file, called `output.tar.gz` . It is a compressed archive that contains the confusion matrix. + """ +elif False: + DocumentClassifierOutputDataConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DocumentClassifierOutputDataConfigArgs: def __init__(__self__, *, @@ -414,6 +564,19 @@ def s3_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_uri", value) +if not MYPY: + class DocumentClassifierVpcConfigArgsDict(TypedDict): + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see [Security Groups for your VPC](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html) . + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s Region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see [VPCs and Subnets](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) . + """ +elif False: + DocumentClassifierVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DocumentClassifierVpcConfigArgs: def __init__(__self__, *, @@ -451,6 +614,30 @@ def subnets(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "subnets", value) +if not MYPY: + class FlywheelDataSecurityConfigArgsDict(TypedDict): + data_lake_kms_key_id: NotRequired[pulumi.Input[str]] + """ + ID for the AWS KMS key that Amazon Comprehend uses to encrypt the data in the data lake. + """ + model_kms_key_id: NotRequired[pulumi.Input[str]] + """ + ID for the AWS KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats: + + - KMS Key ID: `"1234abcd-12ab-34cd-56ef-1234567890ab"` + - Amazon Resource Name (ARN) of a KMS Key: `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"` + """ + volume_kms_key_id: NotRequired[pulumi.Input[str]] + """ + ID for the AWS KMS key that Amazon Comprehend uses to encrypt the volume. + """ + vpc_config: NotRequired[pulumi.Input['FlywheelVpcConfigArgsDict']] + """ + Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see [Amazon VPC](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html) . + """ +elif False: + FlywheelDataSecurityConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlywheelDataSecurityConfigArgs: def __init__(__self__, *, @@ -528,6 +715,19 @@ def vpc_config(self, value: Optional[pulumi.Input['FlywheelVpcConfigArgs']]): pulumi.set(self, "vpc_config", value) +if not MYPY: + class FlywheelDocumentClassificationConfigArgsDict(TypedDict): + mode: pulumi.Input['FlywheelDocumentClassificationConfigMode'] + """ + Classification mode indicates whether the documents are `MULTI_CLASS` or `MULTI_LABEL` . + """ + labels: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + One or more labels to associate with the custom classifier. + """ +elif False: + FlywheelDocumentClassificationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlywheelDocumentClassificationConfigArgs: def __init__(__self__, *, @@ -566,6 +766,15 @@ def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "labels", value) +if not MYPY: + class FlywheelEntityRecognitionConfigArgsDict(TypedDict): + entity_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['FlywheelEntityTypesListItemArgsDict']]]] + """ + Up to 25 entity types that the model is trained to recognize. + """ +elif False: + FlywheelEntityRecognitionConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlywheelEntityRecognitionConfigArgs: def __init__(__self__, *, @@ -589,6 +798,17 @@ def entity_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Flywh pulumi.set(self, "entity_types", value) +if not MYPY: + class FlywheelEntityTypesListItemArgsDict(TypedDict): + type: pulumi.Input[str] + """ + An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer. + + Entity types must not contain the following invalid characters: \\n (line break), \\\\n (escaped line break, \\r (carriage return), \\\\r (escaped carriage return), \\t (tab), \\\\t (escaped tab), and , (comma). + """ +elif False: + FlywheelEntityTypesListItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlywheelEntityTypesListItemArgs: def __init__(__self__, *, @@ -615,6 +835,23 @@ def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) +if not MYPY: + class FlywheelTaskConfigArgsDict(TypedDict): + language_code: pulumi.Input['FlywheelTaskConfigLanguageCode'] + """ + Language code for the language that the model supports. + """ + document_classification_config: NotRequired[pulumi.Input['FlywheelDocumentClassificationConfigArgsDict']] + """ + Configuration required for a document classification model. + """ + entity_recognition_config: NotRequired[pulumi.Input['FlywheelEntityRecognitionConfigArgsDict']] + """ + Configuration required for an entity recognition model. + """ +elif False: + FlywheelTaskConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlywheelTaskConfigArgs: def __init__(__self__, *, @@ -669,6 +906,19 @@ def entity_recognition_config(self, value: Optional[pulumi.Input['FlywheelEntity pulumi.set(self, "entity_recognition_config", value) +if not MYPY: + class FlywheelVpcConfigArgsDict(TypedDict): + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see [Security Groups for your VPC](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html) . + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s Region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see [VPCs and Subnets](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) . + """ +elif False: + FlywheelVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlywheelVpcConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/comprehend/document_classifier.py b/sdk/python/pulumi_aws_native/comprehend/document_classifier.py index 54b98e0916..78055b5dc5 100644 --- a/sdk/python/pulumi_aws_native/comprehend/document_classifier.py +++ b/sdk/python/pulumi_aws_native/comprehend/document_classifier.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/comprehend/flywheel.py b/sdk/python/pulumi_aws_native/comprehend/flywheel.py index c4d13de515..73a0777eaf 100644 --- a/sdk/python/pulumi_aws_native/comprehend/flywheel.py +++ b/sdk/python/pulumi_aws_native/comprehend/flywheel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/comprehend/get_document_classifier.py b/sdk/python/pulumi_aws_native/comprehend/get_document_classifier.py index 68cf829310..f1581568de 100644 --- a/sdk/python/pulumi_aws_native/comprehend/get_document_classifier.py +++ b/sdk/python/pulumi_aws_native/comprehend/get_document_classifier.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -91,9 +96,6 @@ def get_document_classifier(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), model_policy=pulumi.get(__ret__, 'model_policy'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_document_classifier) def get_document_classifier_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDocumentClassifierResult]: """ @@ -102,4 +104,11 @@ def get_document_classifier_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the document classifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:comprehend:getDocumentClassifier', __args__, opts=opts, typ=GetDocumentClassifierResult) + return __ret__.apply(lambda __response__: GetDocumentClassifierResult( + arn=pulumi.get(__response__, 'arn'), + model_policy=pulumi.get(__response__, 'model_policy'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/comprehend/get_flywheel.py b/sdk/python/pulumi_aws_native/comprehend/get_flywheel.py index ae0c498b56..a32b292a7b 100644 --- a/sdk/python/pulumi_aws_native/comprehend/get_flywheel.py +++ b/sdk/python/pulumi_aws_native/comprehend/get_flywheel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -110,9 +115,6 @@ def get_flywheel(arn: Optional[str] = None, data_access_role_arn=pulumi.get(__ret__, 'data_access_role_arn'), data_security_config=pulumi.get(__ret__, 'data_security_config'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_flywheel) def get_flywheel_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlywheelResult]: """ @@ -121,4 +123,13 @@ def get_flywheel_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the flywheel. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:comprehend:getFlywheel', __args__, opts=opts, typ=GetFlywheelResult) + return __ret__.apply(lambda __response__: GetFlywheelResult( + active_model_arn=pulumi.get(__response__, 'active_model_arn'), + arn=pulumi.get(__response__, 'arn'), + data_access_role_arn=pulumi.get(__response__, 'data_access_role_arn'), + data_security_config=pulumi.get(__response__, 'data_security_config'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/comprehend/outputs.py b/sdk/python/pulumi_aws_native/comprehend/outputs.py index 2aa0b4d775..6b47e099f2 100644 --- a/sdk/python/pulumi_aws_native/comprehend/outputs.py +++ b/sdk/python/pulumi_aws_native/comprehend/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/config/__init__.pyi b/sdk/python/pulumi_aws_native/config/__init__.pyi index 048ea72209..0ed67fd4b9 100644 --- a/sdk/python/pulumi_aws_native/config/__init__.pyi +++ b/sdk/python/pulumi_aws_native/config/__init__.pyi @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/config/outputs.py b/sdk/python/pulumi_aws_native/config/outputs.py index 27f746cbb0..b5afd4ffe7 100644 --- a/sdk/python/pulumi_aws_native/config/outputs.py +++ b/sdk/python/pulumi_aws_native/config/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/config/vars.py b/sdk/python/pulumi_aws_native/config/vars.py index a0953b5e83..adf8aa5c57 100644 --- a/sdk/python/pulumi_aws_native/config/vars.py +++ b/sdk/python/pulumi_aws_native/config/vars.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/configuration/_inputs.py b/sdk/python/pulumi_aws_native/configuration/_inputs.py index 582424fc69..c245d6e3ac 100644 --- a/sdk/python/pulumi_aws_native/configuration/_inputs.py +++ b/sdk/python/pulumi_aws_native/configuration/_inputs.py @@ -4,25 +4,55 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'CompliancePropertiesArgs', + 'CompliancePropertiesArgsDict', 'ConfigRuleCustomPolicyDetailsArgs', + 'ConfigRuleCustomPolicyDetailsArgsDict', 'ConfigRuleEvaluationModeConfigurationArgs', + 'ConfigRuleEvaluationModeConfigurationArgsDict', 'ConfigRuleScopeArgs', + 'ConfigRuleScopeArgsDict', 'ConfigRuleSourceDetailArgs', + 'ConfigRuleSourceDetailArgsDict', 'ConfigRuleSourceArgs', + 'ConfigRuleSourceArgsDict', 'ConfigurationAggregatorAccountAggregationSourceArgs', + 'ConfigurationAggregatorAccountAggregationSourceArgsDict', 'ConfigurationAggregatorOrganizationAggregationSourceArgs', + 'ConfigurationAggregatorOrganizationAggregationSourceArgsDict', 'ConformancePackInputParameterArgs', + 'ConformancePackInputParameterArgsDict', 'OrganizationConformancePackConformancePackInputParameterArgs', + 'OrganizationConformancePackConformancePackInputParameterArgsDict', 'TemplateSsmDocumentDetailsPropertiesArgs', + 'TemplateSsmDocumentDetailsPropertiesArgsDict', ] +MYPY = False + +if not MYPY: + class CompliancePropertiesArgsDict(TypedDict): + """ + Indicates whether an AWS resource or CC rule is compliant and provides the number of contributors that affect the compliance. + """ + type: NotRequired[pulumi.Input[str]] + """ + Compliance type determined by the Config rule + """ +elif False: + CompliancePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CompliancePropertiesArgs: def __init__(__self__, *, @@ -47,6 +77,26 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class ConfigRuleCustomPolicyDetailsArgsDict(TypedDict): + """ + Provides the CustomPolicyDetails, the rule owner (```` for managed rules, ``CUSTOM_POLICY`` for Custom Policy rules, and ``CUSTOM_LAMBDA`` for Custom Lambda rules), the rule identifier, and the events that cause the evaluation of your AWS resources. + """ + enable_debug_log_delivery: NotRequired[pulumi.Input[bool]] + """ + The boolean expression for enabling debug logging for your CC Custom Policy rule. The default value is ``false``. + """ + policy_runtime: NotRequired[pulumi.Input[str]] + """ + The runtime system for your CC Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by CC Custom Policy rules. For more information about Guard, see the [Guard GitHub Repository](https://docs.aws.amazon.com/https://github.com/aws-cloudformation/cloudformation-guard). + """ + policy_text: NotRequired[pulumi.Input[str]] + """ + The policy definition containing the logic for your CC Custom Policy rule. + """ +elif False: + ConfigRuleCustomPolicyDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigRuleCustomPolicyDetailsArgs: def __init__(__self__, *, @@ -103,6 +153,18 @@ def policy_text(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "policy_text", value) +if not MYPY: + class ConfigRuleEvaluationModeConfigurationArgsDict(TypedDict): + """ + The configuration object for CC rule evaluation mode. The supported valid values are Detective or Proactive. + """ + mode: NotRequired[pulumi.Input[str]] + """ + The mode of an evaluation. The valid values are Detective or Proactive. + """ +elif False: + ConfigRuleEvaluationModeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigRuleEvaluationModeConfigurationArgs: def __init__(__self__, *, @@ -127,6 +189,30 @@ def mode(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "mode", value) +if not MYPY: + class ConfigRuleScopeArgsDict(TypedDict): + """ + Defines which resources trigger an evaluation for an CC rule. The scope can include one or more resource types, a combination of a tag key and value, or a combination of one resource type and one resource ID. Specify a scope to constrain which resources trigger an evaluation for a rule. Otherwise, evaluations for the rule are triggered when any resource in your recording group changes in configuration. + """ + compliance_resource_id: NotRequired[pulumi.Input[str]] + """ + The ID of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for ``ComplianceResourceTypes``. + """ + compliance_resource_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for ``ComplianceResourceId``. + """ + tag_key: NotRequired[pulumi.Input[str]] + """ + The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the rule. + """ + tag_value: NotRequired[pulumi.Input[str]] + """ + The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule. If you specify a value for ``TagValue``, you must also specify a value for ``TagKey``. + """ +elif False: + ConfigRuleScopeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigRuleScopeArgs: def __init__(__self__, *, @@ -199,6 +285,34 @@ def tag_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tag_value", value) +if not MYPY: + class ConfigRuleSourceDetailArgsDict(TypedDict): + """ + Provides the source and the message types that trigger CC to evaluate your AWS resources against a rule. It also provides the frequency with which you want CC to run evaluations for the rule if the trigger type is periodic. You can specify the parameter values for ``SourceDetail`` only for custom rules. + """ + event_source: pulumi.Input[str] + """ + The source of the event, such as an AWS service, that triggers CC to evaluate your AWS resources. + """ + message_type: pulumi.Input[str] + """ + The type of notification that triggers CC to run an evaluation for a rule. You can specify the following notification types: + + ``ConfigurationItemChangeNotification`` - Triggers an evaluation when CC delivers a configuration item as a result of a resource change. + + ``OversizedConfigurationItemChangeNotification`` - Triggers an evaluation when CC delivers an oversized configuration item. CC may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS. + + ``ScheduledNotification`` - Triggers a periodic evaluation at the frequency specified for ``MaximumExecutionFrequency``. + + ``ConfigurationSnapshotDeliveryCompleted`` - Triggers a periodic evaluation when CC delivers a configuration snapshot. + + If you want your custom rule to be triggered by configuration changes, specify two SourceDetail objects, one for ``ConfigurationItemChangeNotification`` and one for ``OversizedConfigurationItemChangeNotification``. + """ + maximum_execution_frequency: NotRequired[pulumi.Input[str]] + """ + The frequency at which you want CC to run evaluations for a custom rule with a periodic trigger. If you specify a value for ``MaximumExecutionFrequency``, then ``MessageType`` must use the ``ScheduledNotification`` value. + By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the ``MaximumExecutionFrequency`` parameter. + Based on the valid value you choose, CC runs evaluations once for each valid value. For example, if you choose ``Three_Hours``, CC runs evaluations once every three hours. In this case, ``Three_Hours`` is the frequency of this rule. + """ +elif False: + ConfigRuleSourceDetailArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigRuleSourceDetailArgs: def __init__(__self__, *, @@ -269,6 +383,35 @@ def maximum_execution_frequency(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "maximum_execution_frequency", value) +if not MYPY: + class ConfigRuleSourceArgsDict(TypedDict): + """ + Provides the CustomPolicyDetails, the rule owner (```` for managed rules, ``CUSTOM_POLICY`` for Custom Policy rules, and ``CUSTOM_LAMBDA`` for Custom Lambda rules), the rule identifier, and the events that cause the evaluation of your AWS resources. + """ + owner: pulumi.Input[str] + """ + Indicates whether AWS or the customer owns and manages the CC rule. + CC Managed Rules are predefined rules owned by AWS. For more information, see [Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html) in the *developer guide*. + CC Custom Rules are rules that you can develop either with Guard (``CUSTOM_POLICY``) or LAMlong (``CUSTOM_LAMBDA``). For more information, see [Custom Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules.html) in the *developer guide*. + """ + custom_policy_details: NotRequired[pulumi.Input['ConfigRuleCustomPolicyDetailsArgsDict']] + """ + Provides the runtime system, policy definition, and whether debug logging is enabled. Required when owner is set to ``CUSTOM_POLICY``. + """ + source_details: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConfigRuleSourceDetailArgsDict']]]] + """ + Provides the source and the message types that cause CC to evaluate your AWS resources against a rule. It also provides the frequency with which you want CC to run evaluations for the rule if the trigger type is periodic. + If the owner is set to ``CUSTOM_POLICY``, the only acceptable values for the CC rule trigger message type are ``ConfigurationItemChangeNotification`` and ``OversizedConfigurationItemChangeNotification``. + """ + source_identifier: NotRequired[pulumi.Input[str]] + """ + For CC Managed rules, a predefined identifier from a list. For example, ``IAM_PASSWORD_POLICY`` is a managed rule. To reference a managed rule, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). + For CC Custom Lambda rules, the identifier is the Amazon Resource Name (ARN) of the rule's LAMlong function, such as ``arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name``. + For CC Custom Policy rules, this field will be ignored. + """ +elif False: + ConfigRuleSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigRuleSourceArgs: def __init__(__self__, *, @@ -350,6 +493,23 @@ def source_identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_identifier", value) +if not MYPY: + class ConfigurationAggregatorAccountAggregationSourceArgsDict(TypedDict): + account_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The 12-digit account ID of the account being aggregated. + """ + all_aws_regions: NotRequired[pulumi.Input[bool]] + """ + If true, aggregate existing AWS Config regions and future regions. + """ + aws_regions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The source regions being aggregated. + """ +elif False: + ConfigurationAggregatorAccountAggregationSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationAggregatorAccountAggregationSourceArgs: def __init__(__self__, *, @@ -404,6 +564,23 @@ def aws_regions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "aws_regions", value) +if not MYPY: + class ConfigurationAggregatorOrganizationAggregationSourceArgsDict(TypedDict): + role_arn: pulumi.Input[str] + """ + ARN of the IAM role used to retrieve AWS Organizations details associated with the aggregator account. + """ + all_aws_regions: NotRequired[pulumi.Input[bool]] + """ + If true, aggregate existing AWS Config regions and future regions. + """ + aws_regions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The source regions being aggregated. + """ +elif False: + ConfigurationAggregatorOrganizationAggregationSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationAggregatorOrganizationAggregationSourceArgs: def __init__(__self__, *, @@ -458,6 +635,22 @@ def aws_regions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "aws_regions", value) +if not MYPY: + class ConformancePackInputParameterArgsDict(TypedDict): + """ + Input parameters in the form of key-value pairs for the conformance pack. + """ + parameter_name: pulumi.Input[str] + """ + One part of a key-value pair. + """ + parameter_value: pulumi.Input[str] + """ + Another part of the key-value pair. + """ +elif False: + ConformancePackInputParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConformancePackInputParameterArgs: def __init__(__self__, *, @@ -496,6 +689,22 @@ def parameter_value(self, value: pulumi.Input[str]): pulumi.set(self, "parameter_value", value) +if not MYPY: + class OrganizationConformancePackConformancePackInputParameterArgsDict(TypedDict): + """ + Input parameters in the form of key-value pairs for the conformance pack. + """ + parameter_name: pulumi.Input[str] + """ + One part of a key-value pair. + """ + parameter_value: pulumi.Input[str] + """ + One part of a key-value pair. + """ +elif False: + OrganizationConformancePackConformancePackInputParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OrganizationConformancePackConformancePackInputParameterArgs: def __init__(__self__, *, @@ -534,6 +743,24 @@ def parameter_value(self, value: pulumi.Input[str]): pulumi.set(self, "parameter_value", value) +if not MYPY: + class TemplateSsmDocumentDetailsPropertiesArgsDict(TypedDict): + """ + The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document. + """ + document_name: NotRequired[pulumi.Input[str]] + """ + The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the document name, AWS Config checks only your account and AWS Region for the SSM document. + """ + document_version: NotRequired[pulumi.Input[str]] + """ + The version of the SSM document to use to create a conformance pack. By default, AWS Config uses the latest version. + + > This field is optional. + """ +elif False: + TemplateSsmDocumentDetailsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSsmDocumentDetailsPropertiesArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/configuration/aggregation_authorization.py b/sdk/python/pulumi_aws_native/configuration/aggregation_authorization.py index 47000c2db1..b907f52e1a 100644 --- a/sdk/python/pulumi_aws_native/configuration/aggregation_authorization.py +++ b/sdk/python/pulumi_aws_native/configuration/aggregation_authorization.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/configuration/config_rule.py b/sdk/python/pulumi_aws_native/configuration/config_rule.py index b3b99cbaa0..d1033b4347 100644 --- a/sdk/python/pulumi_aws_native/configuration/config_rule.py +++ b/sdk/python/pulumi_aws_native/configuration/config_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/configuration/configuration_aggregator.py b/sdk/python/pulumi_aws_native/configuration/configuration_aggregator.py index e623b086bd..144e6a5f91 100644 --- a/sdk/python/pulumi_aws_native/configuration/configuration_aggregator.py +++ b/sdk/python/pulumi_aws_native/configuration/configuration_aggregator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/configuration/conformance_pack.py b/sdk/python/pulumi_aws_native/configuration/conformance_pack.py index ee957ece7f..36ee3938a6 100644 --- a/sdk/python/pulumi_aws_native/configuration/conformance_pack.py +++ b/sdk/python/pulumi_aws_native/configuration/conformance_pack.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/configuration/get_aggregation_authorization.py b/sdk/python/pulumi_aws_native/configuration/get_aggregation_authorization.py index 98ce92eaf7..2b89e4df69 100644 --- a/sdk/python/pulumi_aws_native/configuration/get_aggregation_authorization.py +++ b/sdk/python/pulumi_aws_native/configuration/get_aggregation_authorization.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -73,9 +78,6 @@ def get_aggregation_authorization(authorized_account_id: Optional[str] = None, return AwaitableGetAggregationAuthorizationResult( aggregation_authorization_arn=pulumi.get(__ret__, 'aggregation_authorization_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_aggregation_authorization) def get_aggregation_authorization_output(authorized_account_id: Optional[pulumi.Input[str]] = None, authorized_aws_region: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAggregationAuthorizationResult]: @@ -86,4 +88,11 @@ def get_aggregation_authorization_output(authorized_account_id: Optional[pulumi. :param str authorized_account_id: The 12-digit account ID of the account authorized to aggregate data. :param str authorized_aws_region: The region authorized to collect aggregated data. """ - ... + __args__ = dict() + __args__['authorizedAccountId'] = authorized_account_id + __args__['authorizedAwsRegion'] = authorized_aws_region + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:configuration:getAggregationAuthorization', __args__, opts=opts, typ=GetAggregationAuthorizationResult) + return __ret__.apply(lambda __response__: GetAggregationAuthorizationResult( + aggregation_authorization_arn=pulumi.get(__response__, 'aggregation_authorization_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/configuration/get_config_rule.py b/sdk/python/pulumi_aws_native/configuration/get_config_rule.py index 8c60cdaf3c..2274272045 100644 --- a/sdk/python/pulumi_aws_native/configuration/get_config_rule.py +++ b/sdk/python/pulumi_aws_native/configuration/get_config_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -176,9 +181,6 @@ def get_config_rule(config_rule_name: Optional[str] = None, maximum_execution_frequency=pulumi.get(__ret__, 'maximum_execution_frequency'), scope=pulumi.get(__ret__, 'scope'), source=pulumi.get(__ret__, 'source')) - - -@_utilities.lift_output_func(get_config_rule) def get_config_rule_output(config_rule_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigRuleResult]: """ @@ -195,4 +197,17 @@ def get_config_rule_output(config_rule_name: Optional[pulumi.Input[str]] = None, :param str config_rule_name: A name for the CC rule. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the rule name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html). """ - ... + __args__ = dict() + __args__['configRuleName'] = config_rule_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:configuration:getConfigRule', __args__, opts=opts, typ=GetConfigRuleResult) + return __ret__.apply(lambda __response__: GetConfigRuleResult( + arn=pulumi.get(__response__, 'arn'), + compliance=pulumi.get(__response__, 'compliance'), + config_rule_id=pulumi.get(__response__, 'config_rule_id'), + description=pulumi.get(__response__, 'description'), + evaluation_modes=pulumi.get(__response__, 'evaluation_modes'), + input_parameters=pulumi.get(__response__, 'input_parameters'), + maximum_execution_frequency=pulumi.get(__response__, 'maximum_execution_frequency'), + scope=pulumi.get(__response__, 'scope'), + source=pulumi.get(__response__, 'source'))) diff --git a/sdk/python/pulumi_aws_native/configuration/get_configuration_aggregator.py b/sdk/python/pulumi_aws_native/configuration/get_configuration_aggregator.py index 44de0c3802..8657c67be9 100644 --- a/sdk/python/pulumi_aws_native/configuration/get_configuration_aggregator.py +++ b/sdk/python/pulumi_aws_native/configuration/get_configuration_aggregator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -97,9 +102,6 @@ def get_configuration_aggregator(configuration_aggregator_name: Optional[str] = configuration_aggregator_arn=pulumi.get(__ret__, 'configuration_aggregator_arn'), organization_aggregation_source=pulumi.get(__ret__, 'organization_aggregation_source'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_configuration_aggregator) def get_configuration_aggregator_output(configuration_aggregator_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationAggregatorResult]: """ @@ -108,4 +110,12 @@ def get_configuration_aggregator_output(configuration_aggregator_name: Optional[ :param str configuration_aggregator_name: The name of the aggregator. """ - ... + __args__ = dict() + __args__['configurationAggregatorName'] = configuration_aggregator_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:configuration:getConfigurationAggregator', __args__, opts=opts, typ=GetConfigurationAggregatorResult) + return __ret__.apply(lambda __response__: GetConfigurationAggregatorResult( + account_aggregation_sources=pulumi.get(__response__, 'account_aggregation_sources'), + configuration_aggregator_arn=pulumi.get(__response__, 'configuration_aggregator_arn'), + organization_aggregation_source=pulumi.get(__response__, 'organization_aggregation_source'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/configuration/get_conformance_pack.py b/sdk/python/pulumi_aws_native/configuration/get_conformance_pack.py index f883b21618..2d24927e95 100644 --- a/sdk/python/pulumi_aws_native/configuration/get_conformance_pack.py +++ b/sdk/python/pulumi_aws_native/configuration/get_conformance_pack.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_conformance_pack(conformance_pack_name: Optional[str] = None, conformance_pack_input_parameters=pulumi.get(__ret__, 'conformance_pack_input_parameters'), delivery_s3_bucket=pulumi.get(__ret__, 'delivery_s3_bucket'), delivery_s3_key_prefix=pulumi.get(__ret__, 'delivery_s3_key_prefix')) - - -@_utilities.lift_output_func(get_conformance_pack) def get_conformance_pack_output(conformance_pack_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConformancePackResult]: """ @@ -94,4 +96,11 @@ def get_conformance_pack_output(conformance_pack_name: Optional[pulumi.Input[str :param str conformance_pack_name: Name of the conformance pack which will be assigned as the unique identifier. """ - ... + __args__ = dict() + __args__['conformancePackName'] = conformance_pack_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:configuration:getConformancePack', __args__, opts=opts, typ=GetConformancePackResult) + return __ret__.apply(lambda __response__: GetConformancePackResult( + conformance_pack_input_parameters=pulumi.get(__response__, 'conformance_pack_input_parameters'), + delivery_s3_bucket=pulumi.get(__response__, 'delivery_s3_bucket'), + delivery_s3_key_prefix=pulumi.get(__response__, 'delivery_s3_key_prefix'))) diff --git a/sdk/python/pulumi_aws_native/configuration/get_organization_conformance_pack.py b/sdk/python/pulumi_aws_native/configuration/get_organization_conformance_pack.py index 6a04e7ddc8..6716c8cc85 100644 --- a/sdk/python/pulumi_aws_native/configuration/get_organization_conformance_pack.py +++ b/sdk/python/pulumi_aws_native/configuration/get_organization_conformance_pack.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -96,9 +101,6 @@ def get_organization_conformance_pack(organization_conformance_pack_name: Option delivery_s3_bucket=pulumi.get(__ret__, 'delivery_s3_bucket'), delivery_s3_key_prefix=pulumi.get(__ret__, 'delivery_s3_key_prefix'), excluded_accounts=pulumi.get(__ret__, 'excluded_accounts')) - - -@_utilities.lift_output_func(get_organization_conformance_pack) def get_organization_conformance_pack_output(organization_conformance_pack_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationConformancePackResult]: """ @@ -107,4 +109,12 @@ def get_organization_conformance_pack_output(organization_conformance_pack_name: :param str organization_conformance_pack_name: The name of the organization conformance pack. """ - ... + __args__ = dict() + __args__['organizationConformancePackName'] = organization_conformance_pack_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:configuration:getOrganizationConformancePack', __args__, opts=opts, typ=GetOrganizationConformancePackResult) + return __ret__.apply(lambda __response__: GetOrganizationConformancePackResult( + conformance_pack_input_parameters=pulumi.get(__response__, 'conformance_pack_input_parameters'), + delivery_s3_bucket=pulumi.get(__response__, 'delivery_s3_bucket'), + delivery_s3_key_prefix=pulumi.get(__response__, 'delivery_s3_key_prefix'), + excluded_accounts=pulumi.get(__response__, 'excluded_accounts'))) diff --git a/sdk/python/pulumi_aws_native/configuration/get_stored_query.py b/sdk/python/pulumi_aws_native/configuration/get_stored_query.py index 11b3df6b5c..8dbdea6a01 100644 --- a/sdk/python/pulumi_aws_native/configuration/get_stored_query.py +++ b/sdk/python/pulumi_aws_native/configuration/get_stored_query.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_stored_query(query_name: Optional[str] = None, query_expression=pulumi.get(__ret__, 'query_expression'), query_id=pulumi.get(__ret__, 'query_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_stored_query) def get_stored_query_output(query_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStoredQueryResult]: """ @@ -120,4 +122,13 @@ def get_stored_query_output(query_name: Optional[pulumi.Input[str]] = None, :param str query_name: The name of the query. """ - ... + __args__ = dict() + __args__['queryName'] = query_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:configuration:getStoredQuery', __args__, opts=opts, typ=GetStoredQueryResult) + return __ret__.apply(lambda __response__: GetStoredQueryResult( + query_arn=pulumi.get(__response__, 'query_arn'), + query_description=pulumi.get(__response__, 'query_description'), + query_expression=pulumi.get(__response__, 'query_expression'), + query_id=pulumi.get(__response__, 'query_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/configuration/organization_conformance_pack.py b/sdk/python/pulumi_aws_native/configuration/organization_conformance_pack.py index c2c2004410..ab0ab7d34c 100644 --- a/sdk/python/pulumi_aws_native/configuration/organization_conformance_pack.py +++ b/sdk/python/pulumi_aws_native/configuration/organization_conformance_pack.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/configuration/outputs.py b/sdk/python/pulumi_aws_native/configuration/outputs.py index 70edf0ee47..b0b9c5c618 100644 --- a/sdk/python/pulumi_aws_native/configuration/outputs.py +++ b/sdk/python/pulumi_aws_native/configuration/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/configuration/stored_query.py b/sdk/python/pulumi_aws_native/configuration/stored_query.py index ff7291b3b6..9e23a14f7a 100644 --- a/sdk/python/pulumi_aws_native/configuration/stored_query.py +++ b/sdk/python/pulumi_aws_native/configuration/stored_query.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/connect/_inputs.py b/sdk/python/pulumi_aws_native/connect/_inputs.py index 584634b05f..748acc4e8b 100644 --- a/sdk/python/pulumi_aws_native/connect/_inputs.py +++ b/sdk/python/pulumi_aws_native/connect/_inputs.py @@ -4,80 +4,172 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ConstraintsPropertiesArgs', + 'ConstraintsPropertiesArgsDict', 'EvaluationFormBaseItemArgs', + 'EvaluationFormBaseItemArgsDict', 'EvaluationFormItemArgs', + 'EvaluationFormItemArgsDict', 'EvaluationFormNumericQuestionAutomationArgs', + 'EvaluationFormNumericQuestionAutomationArgsDict', 'EvaluationFormNumericQuestionOptionArgs', + 'EvaluationFormNumericQuestionOptionArgsDict', 'EvaluationFormNumericQuestionPropertiesArgs', + 'EvaluationFormNumericQuestionPropertiesArgsDict', 'EvaluationFormNumericQuestionPropertyValueAutomationArgs', + 'EvaluationFormNumericQuestionPropertyValueAutomationArgsDict', 'EvaluationFormQuestionTypePropertiesArgs', + 'EvaluationFormQuestionTypePropertiesArgsDict', 'EvaluationFormQuestionArgs', + 'EvaluationFormQuestionArgsDict', 'EvaluationFormScoringStrategyArgs', + 'EvaluationFormScoringStrategyArgsDict', 'EvaluationFormSectionArgs', + 'EvaluationFormSectionArgsDict', 'EvaluationFormSingleSelectQuestionAutomationOptionArgs', + 'EvaluationFormSingleSelectQuestionAutomationOptionArgsDict', 'EvaluationFormSingleSelectQuestionAutomationArgs', + 'EvaluationFormSingleSelectQuestionAutomationArgsDict', 'EvaluationFormSingleSelectQuestionOptionArgs', + 'EvaluationFormSingleSelectQuestionOptionArgsDict', 'EvaluationFormSingleSelectQuestionPropertiesArgs', + 'EvaluationFormSingleSelectQuestionPropertiesArgsDict', 'EvaluationFormSingleSelectQuestionRuleCategoryAutomationArgs', + 'EvaluationFormSingleSelectQuestionRuleCategoryAutomationArgsDict', 'HoursOfOperationConfigArgs', + 'HoursOfOperationConfigArgsDict', 'HoursOfOperationTimeSliceArgs', + 'HoursOfOperationTimeSliceArgsDict', 'InstanceAttributesArgs', + 'InstanceAttributesArgsDict', 'InstanceStorageConfigEncryptionConfigArgs', + 'InstanceStorageConfigEncryptionConfigArgsDict', 'InstanceStorageConfigKinesisFirehoseConfigArgs', + 'InstanceStorageConfigKinesisFirehoseConfigArgsDict', 'InstanceStorageConfigKinesisStreamConfigArgs', + 'InstanceStorageConfigKinesisStreamConfigArgsDict', 'InstanceStorageConfigKinesisVideoStreamConfigArgs', + 'InstanceStorageConfigKinesisVideoStreamConfigArgsDict', 'InstanceStorageConfigS3ConfigArgs', + 'InstanceStorageConfigS3ConfigArgsDict', 'QueueOutboundCallerConfigArgs', + 'QueueOutboundCallerConfigArgsDict', 'QuickConnectConfigArgs', + 'QuickConnectConfigArgsDict', 'QuickConnectPhoneNumberQuickConnectConfigArgs', + 'QuickConnectPhoneNumberQuickConnectConfigArgsDict', 'QuickConnectQueueQuickConnectConfigArgs', + 'QuickConnectQueueQuickConnectConfigArgsDict', 'QuickConnectUserQuickConnectConfigArgs', + 'QuickConnectUserQuickConnectConfigArgsDict', 'RoutingProfileCrossChannelBehaviorArgs', + 'RoutingProfileCrossChannelBehaviorArgsDict', 'RoutingProfileMediaConcurrencyArgs', + 'RoutingProfileMediaConcurrencyArgsDict', 'RoutingProfileQueueConfigArgs', + 'RoutingProfileQueueConfigArgsDict', 'RoutingProfileQueueReferenceArgs', + 'RoutingProfileQueueReferenceArgsDict', 'RuleActionsArgs', + 'RuleActionsArgsDict', 'RuleAssignContactCategoryActionArgs', + 'RuleAssignContactCategoryActionArgsDict', 'RuleCreateCaseActionArgs', + 'RuleCreateCaseActionArgsDict', 'RuleEndAssociatedTasksActionArgs', + 'RuleEndAssociatedTasksActionArgsDict', 'RuleEventBridgeActionArgs', + 'RuleEventBridgeActionArgsDict', 'RuleFieldValueArgs', + 'RuleFieldValueArgsDict', 'RuleFieldArgs', + 'RuleFieldArgsDict', 'RuleNotificationRecipientTypeArgs', + 'RuleNotificationRecipientTypeArgsDict', 'RuleReferenceArgs', + 'RuleReferenceArgsDict', 'RuleSendNotificationActionArgs', + 'RuleSendNotificationActionArgsDict', 'RuleSubmitAutoEvaluationActionArgs', + 'RuleSubmitAutoEvaluationActionArgsDict', 'RuleTaskActionArgs', + 'RuleTaskActionArgsDict', 'RuleTriggerEventSourceArgs', + 'RuleTriggerEventSourceArgsDict', 'RuleUpdateCaseActionArgs', + 'RuleUpdateCaseActionArgsDict', 'SecurityProfileApplicationArgs', + 'SecurityProfileApplicationArgsDict', 'SecurityProfileTagArgs', + 'SecurityProfileTagArgsDict', 'TaskTemplateDefaultFieldValueArgs', + 'TaskTemplateDefaultFieldValueArgsDict', 'TaskTemplateFieldIdentifierArgs', + 'TaskTemplateFieldIdentifierArgsDict', 'TaskTemplateFieldArgs', + 'TaskTemplateFieldArgsDict', 'TaskTemplateInvisibleFieldInfoArgs', + 'TaskTemplateInvisibleFieldInfoArgsDict', 'TaskTemplateReadOnlyFieldInfoArgs', + 'TaskTemplateReadOnlyFieldInfoArgsDict', 'TaskTemplateRequiredFieldInfoArgs', + 'TaskTemplateRequiredFieldInfoArgsDict', 'UserHierarchyStructureLevelFiveArgs', + 'UserHierarchyStructureLevelFiveArgsDict', 'UserHierarchyStructureLevelFourArgs', + 'UserHierarchyStructureLevelFourArgsDict', 'UserHierarchyStructureLevelOneArgs', + 'UserHierarchyStructureLevelOneArgsDict', 'UserHierarchyStructureLevelThreeArgs', + 'UserHierarchyStructureLevelThreeArgsDict', 'UserHierarchyStructureLevelTwoArgs', + 'UserHierarchyStructureLevelTwoArgsDict', 'UserHierarchyStructurePropertiesArgs', + 'UserHierarchyStructurePropertiesArgsDict', 'UserIdentityInfoArgs', + 'UserIdentityInfoArgsDict', 'UserPhoneConfigArgs', + 'UserPhoneConfigArgsDict', 'UserProficiencyArgs', + 'UserProficiencyArgsDict', 'ValuesPropertiesArgs', + 'ValuesPropertiesArgsDict', ] +MYPY = False + +if not MYPY: + class ConstraintsPropertiesArgsDict(TypedDict): + """ + The constraints for the task template + """ + invisible_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskTemplateInvisibleFieldInfoArgsDict']]]] + """ + Lists the fields that are invisible to agents. + """ + read_only_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskTemplateReadOnlyFieldInfoArgsDict']]]] + """ + Lists the fields that are read-only to agents, and cannot be edited. + """ + required_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskTemplateRequiredFieldInfoArgsDict']]]] + """ + Lists the fields that are required to be filled by agents. + """ +elif False: + ConstraintsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConstraintsPropertiesArgs: def __init__(__self__, *, @@ -134,6 +226,18 @@ def required_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Ta pulumi.set(self, "required_fields", value) +if not MYPY: + class EvaluationFormBaseItemArgsDict(TypedDict): + """ + An item at the root level. All items must be sections. + """ + section: pulumi.Input['EvaluationFormSectionArgsDict'] + """ + A subsection or inner section of an item. + """ +elif False: + EvaluationFormBaseItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormBaseItemArgs: def __init__(__self__, *, @@ -157,6 +261,22 @@ def section(self, value: pulumi.Input['EvaluationFormSectionArgs']): pulumi.set(self, "section", value) +if not MYPY: + class EvaluationFormItemArgsDict(TypedDict): + """ + Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section. + """ + question: NotRequired[pulumi.Input['EvaluationFormQuestionArgsDict']] + """ + The information of the question. + """ + section: NotRequired[pulumi.Input['EvaluationFormSectionArgsDict']] + """ + The information of the section. + """ +elif False: + EvaluationFormItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormItemArgs: def __init__(__self__, *, @@ -197,6 +317,18 @@ def section(self, value: Optional[pulumi.Input['EvaluationFormSectionArgs']]): pulumi.set(self, "section", value) +if not MYPY: + class EvaluationFormNumericQuestionAutomationArgsDict(TypedDict): + """ + Information about the automation configuration in numeric questions. + """ + property_value: pulumi.Input['EvaluationFormNumericQuestionPropertyValueAutomationArgsDict'] + """ + The property value of the automation. + """ +elif False: + EvaluationFormNumericQuestionAutomationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormNumericQuestionAutomationArgs: def __init__(__self__, *, @@ -220,6 +352,32 @@ def property_value(self, value: pulumi.Input['EvaluationFormNumericQuestionPrope pulumi.set(self, "property_value", value) +if not MYPY: + class EvaluationFormNumericQuestionOptionArgsDict(TypedDict): + """ + Information about the option range used for scoring in numeric questions. + """ + max_value: pulumi.Input[int] + """ + The maximum answer value of the range option. + """ + min_value: pulumi.Input[int] + """ + The minimum answer value of the range option. + """ + automatic_fail: NotRequired[pulumi.Input[bool]] + """ + The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0. + """ + score: NotRequired[pulumi.Input[int]] + """ + The score assigned to answer values within the range option. + *Minimum*: 0 + *Maximum*: 10 + """ +elif False: + EvaluationFormNumericQuestionOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormNumericQuestionOptionArgs: def __init__(__self__, *, @@ -294,6 +452,30 @@ def score(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "score", value) +if not MYPY: + class EvaluationFormNumericQuestionPropertiesArgsDict(TypedDict): + """ + Information about properties for a numeric question in an evaluation form. + """ + max_value: pulumi.Input[int] + """ + The maximum answer value. + """ + min_value: pulumi.Input[int] + """ + The minimum answer value. + """ + automation: NotRequired[pulumi.Input['EvaluationFormNumericQuestionAutomationArgsDict']] + """ + The automation properties of the numeric question. + """ + options: NotRequired[pulumi.Input[Sequence[pulumi.Input['EvaluationFormNumericQuestionOptionArgsDict']]]] + """ + The scoring options of the numeric question. + """ +elif False: + EvaluationFormNumericQuestionPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormNumericQuestionPropertiesArgs: def __init__(__self__, *, @@ -364,6 +546,18 @@ def options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Evaluation pulumi.set(self, "options", value) +if not MYPY: + class EvaluationFormNumericQuestionPropertyValueAutomationArgsDict(TypedDict): + """ + Information about the property value used in automation of a numeric questions. + """ + label: pulumi.Input['EvaluationFormNumericQuestionPropertyValueAutomationLabel'] + """ + The property label of the automation. + """ +elif False: + EvaluationFormNumericQuestionPropertyValueAutomationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormNumericQuestionPropertyValueAutomationArgs: def __init__(__self__, *, @@ -387,6 +581,22 @@ def label(self, value: pulumi.Input['EvaluationFormNumericQuestionPropertyValueA pulumi.set(self, "label", value) +if not MYPY: + class EvaluationFormQuestionTypePropertiesArgsDict(TypedDict): + """ + Information about properties for a question in an evaluation form. The question type properties must be either for a numeric question or a single select question. + """ + numeric: NotRequired[pulumi.Input['EvaluationFormNumericQuestionPropertiesArgsDict']] + """ + The properties of the numeric question. + """ + single_select: NotRequired[pulumi.Input['EvaluationFormSingleSelectQuestionPropertiesArgsDict']] + """ + The properties of the numeric question. + """ +elif False: + EvaluationFormQuestionTypePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormQuestionTypePropertiesArgs: def __init__(__self__, *, @@ -427,6 +637,48 @@ def single_select(self, value: Optional[pulumi.Input['EvaluationFormSingleSelect pulumi.set(self, "single_select", value) +if not MYPY: + class EvaluationFormQuestionArgsDict(TypedDict): + """ + Information about a question from an evaluation form. + """ + question_type: pulumi.Input['EvaluationFormQuestionQuestionType'] + """ + The type of the question. + *Allowed values*: ``NUMERIC`` | ``SINGLESELECT`` | ``TEXT`` + """ + ref_id: pulumi.Input[str] + """ + The identifier of the question. An identifier must be unique within the evaluation form. + *Length Constraints*: Minimum length of 1. Maximum length of 40. + """ + title: pulumi.Input[str] + """ + The title of the question. + *Length Constraints*: Minimum length of 1. Maximum length of 350. + """ + instructions: NotRequired[pulumi.Input[str]] + """ + The instructions of the section. + *Length Constraints*: Minimum length of 0. Maximum length of 1024. + """ + not_applicable_enabled: NotRequired[pulumi.Input[bool]] + """ + The flag to enable not applicable answers to the question. + """ + question_type_properties: NotRequired[pulumi.Input['EvaluationFormQuestionTypePropertiesArgsDict']] + """ + The properties of the type of question. Text questions do not have to define question type properties. + """ + weight: NotRequired[pulumi.Input[float]] + """ + The scoring weight of the section. + *Minimum*: 0 + *Maximum*: 100 + """ +elif False: + EvaluationFormQuestionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormQuestionArgs: def __init__(__self__, *, @@ -556,6 +808,24 @@ def weight(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "weight", value) +if not MYPY: + class EvaluationFormScoringStrategyArgsDict(TypedDict): + """ + A scoring strategy of the evaluation form. + """ + mode: pulumi.Input['EvaluationFormScoringStrategyMode'] + """ + The scoring mode of the evaluation form. + *Allowed values*: ``QUESTION_ONLY`` | ``SECTION_ONLY`` + """ + status: pulumi.Input['EvaluationFormScoringStrategyStatus'] + """ + The scoring status of the evaluation form. + *Allowed values*: ``ENABLED`` | ``DISABLED`` + """ +elif False: + EvaluationFormScoringStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormScoringStrategyArgs: def __init__(__self__, *, @@ -598,6 +868,39 @@ def status(self, value: pulumi.Input['EvaluationFormScoringStrategyStatus']): pulumi.set(self, "status", value) +if not MYPY: + class EvaluationFormSectionArgsDict(TypedDict): + """ + Information about a section from an evaluation form. A section can contain sections and/or questions. Evaluation forms can only contain sections and subsections (two level nesting). + """ + ref_id: pulumi.Input[str] + """ + The identifier of the section. An identifier must be unique within the evaluation form. + *Length Constraints*: Minimum length of 1. Maximum length of 40. + """ + title: pulumi.Input[str] + """ + The title of the section. + *Length Constraints*: Minimum length of 1. Maximum length of 128. + """ + instructions: NotRequired[pulumi.Input[str]] + """ + The instructions of the section. + """ + items: NotRequired[pulumi.Input[Sequence[pulumi.Input['EvaluationFormItemArgsDict']]]] + """ + The items of the section. + *Minimum*: 1 + """ + weight: NotRequired[pulumi.Input[float]] + """ + The scoring weight of the section. + *Minimum*: 0 + *Maximum*: 100 + """ +elif False: + EvaluationFormSectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormSectionArgs: def __init__(__self__, *, @@ -694,6 +997,18 @@ def weight(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "weight", value) +if not MYPY: + class EvaluationFormSingleSelectQuestionAutomationOptionArgsDict(TypedDict): + """ + The automation options of the single select question. + """ + rule_category: pulumi.Input['EvaluationFormSingleSelectQuestionRuleCategoryAutomationArgsDict'] + """ + The automation option based on a rule category for the single select question. + """ +elif False: + EvaluationFormSingleSelectQuestionAutomationOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormSingleSelectQuestionAutomationOptionArgs: def __init__(__self__, *, @@ -717,6 +1032,25 @@ def rule_category(self, value: pulumi.Input['EvaluationFormSingleSelectQuestionR pulumi.set(self, "rule_category", value) +if not MYPY: + class EvaluationFormSingleSelectQuestionAutomationArgsDict(TypedDict): + """ + Information about the automation configuration in single select questions. Automation options are evaluated in order, and the first matched option is applied. If no automation option matches, and there is a default option, then the default option is applied. + """ + options: pulumi.Input[Sequence[pulumi.Input['EvaluationFormSingleSelectQuestionAutomationOptionArgsDict']]] + """ + The automation options of the single select question. + *Minimum*: 1 + *Maximum*: 20 + """ + default_option_ref_id: NotRequired[pulumi.Input[str]] + """ + The identifier of the default answer option, when none of the automation options match the criteria. + *Length Constraints*: Minimum length of 1. Maximum length of 40. + """ +elif False: + EvaluationFormSingleSelectQuestionAutomationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormSingleSelectQuestionAutomationArgs: def __init__(__self__, *, @@ -762,6 +1096,34 @@ def default_option_ref_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "default_option_ref_id", value) +if not MYPY: + class EvaluationFormSingleSelectQuestionOptionArgsDict(TypedDict): + """ + Information about the automation configuration in single select questions. + """ + ref_id: pulumi.Input[str] + """ + The identifier of the answer option. An identifier must be unique within the question. + *Length Constraints*: Minimum length of 1. Maximum length of 40. + """ + text: pulumi.Input[str] + """ + The title of the answer option. + *Length Constraints*: Minimum length of 1. Maximum length of 128. + """ + automatic_fail: NotRequired[pulumi.Input[bool]] + """ + The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0. + """ + score: NotRequired[pulumi.Input[int]] + """ + The score assigned to the answer option. + *Minimum*: 0 + *Maximum*: 10 + """ +elif False: + EvaluationFormSingleSelectQuestionOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormSingleSelectQuestionOptionArgs: def __init__(__self__, *, @@ -840,6 +1202,29 @@ def score(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "score", value) +if not MYPY: + class EvaluationFormSingleSelectQuestionPropertiesArgsDict(TypedDict): + """ + Information about the options in single select questions. + """ + options: pulumi.Input[Sequence[pulumi.Input['EvaluationFormSingleSelectQuestionOptionArgsDict']]] + """ + The answer options of the single select question. + *Minimum*: 2 + *Maximum*: 256 + """ + automation: NotRequired[pulumi.Input['EvaluationFormSingleSelectQuestionAutomationArgsDict']] + """ + The display mode of the single select question. + """ + display_as: NotRequired[pulumi.Input['EvaluationFormSingleSelectQuestionPropertiesDisplayAs']] + """ + The display mode of the single select question. + *Allowed values*: ``DROPDOWN`` | ``RADIO`` + """ +elif False: + EvaluationFormSingleSelectQuestionPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormSingleSelectQuestionPropertiesArgs: def __init__(__self__, *, @@ -901,6 +1286,32 @@ def display_as(self, value: Optional[pulumi.Input['EvaluationFormSingleSelectQue pulumi.set(self, "display_as", value) +if not MYPY: + class EvaluationFormSingleSelectQuestionRuleCategoryAutomationArgsDict(TypedDict): + """ + Information about the automation option based on a rule category for a single select question. + *Length Constraints*: Minimum length of 1. Maximum length of 50. + """ + category: pulumi.Input[str] + """ + The category name, as defined in Rules. + *Minimum*: 1 + *Maximum*: 50 + """ + condition: pulumi.Input['EvaluationFormSingleSelectQuestionRuleCategoryAutomationCondition'] + """ + The condition to apply for the automation option. If the condition is PRESENT, then the option is applied when the contact data includes the category. Similarly, if the condition is NOT_PRESENT, then the option is applied when the contact data does not include the category. + *Allowed values*: ``PRESENT`` | ``NOT_PRESENT`` + *Maximum*: 50 + """ + option_ref_id: pulumi.Input[str] + """ + The identifier of the answer option. An identifier must be unique within the question. + *Length Constraints*: Minimum length of 1. Maximum length of 40. + """ +elif False: + EvaluationFormSingleSelectQuestionRuleCategoryAutomationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EvaluationFormSingleSelectQuestionRuleCategoryAutomationArgs: def __init__(__self__, *, @@ -965,6 +1376,26 @@ def option_ref_id(self, value: pulumi.Input[str]): pulumi.set(self, "option_ref_id", value) +if not MYPY: + class HoursOfOperationConfigArgsDict(TypedDict): + """ + Contains information about the hours of operation. + """ + day: pulumi.Input['HoursOfOperationConfigDay'] + """ + The day that the hours of operation applies to. + """ + end_time: pulumi.Input['HoursOfOperationTimeSliceArgsDict'] + """ + The end time that your contact center closes. + """ + start_time: pulumi.Input['HoursOfOperationTimeSliceArgsDict'] + """ + The start time that your contact center opens. + """ +elif False: + HoursOfOperationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class HoursOfOperationConfigArgs: def __init__(__self__, *, @@ -1018,6 +1449,22 @@ def start_time(self, value: pulumi.Input['HoursOfOperationTimeSliceArgs']): pulumi.set(self, "start_time", value) +if not MYPY: + class HoursOfOperationTimeSliceArgsDict(TypedDict): + """ + The start time or end time for an hours of operation. + """ + hours: pulumi.Input[int] + """ + The hours. + """ + minutes: pulumi.Input[int] + """ + The minutes. + """ +elif False: + HoursOfOperationTimeSliceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class HoursOfOperationTimeSliceArgs: def __init__(__self__, *, @@ -1056,6 +1503,18 @@ def minutes(self, value: pulumi.Input[int]): pulumi.set(self, "minutes", value) +if not MYPY: + class InstanceAttributesArgsDict(TypedDict): + inbound_calls: pulumi.Input[bool] + outbound_calls: pulumi.Input[bool] + auto_resolve_best_voices: NotRequired[pulumi.Input[bool]] + contact_lens: NotRequired[pulumi.Input[bool]] + contactflow_logs: NotRequired[pulumi.Input[bool]] + early_media: NotRequired[pulumi.Input[bool]] + use_custom_tts_voices: NotRequired[pulumi.Input[bool]] +elif False: + InstanceAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceAttributesArgs: def __init__(__self__, *, @@ -1143,6 +1602,23 @@ def use_custom_tts_voices(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_custom_tts_voices", value) +if not MYPY: + class InstanceStorageConfigEncryptionConfigArgsDict(TypedDict): + encryption_type: pulumi.Input['InstanceStorageConfigEncryptionType'] + """ + The type of encryption. + """ + key_id: pulumi.Input[str] + """ + The full ARN of the encryption key. + + > Be sure to provide the full ARN of the encryption key, not just the ID. + > + > Amazon Connect supports only KMS keys with the default key spec of [`SYMMETRIC_DEFAULT`](https://docs.aws.amazon.com/kms/latest/developerguide/asymmetric-key-specs.html#key-spec-symmetric-default) . + """ +elif False: + InstanceStorageConfigEncryptionConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceStorageConfigEncryptionConfigArgs: def __init__(__self__, *, @@ -1188,6 +1664,15 @@ def key_id(self, value: pulumi.Input[str]): pulumi.set(self, "key_id", value) +if not MYPY: + class InstanceStorageConfigKinesisFirehoseConfigArgsDict(TypedDict): + firehose_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the delivery stream. + """ +elif False: + InstanceStorageConfigKinesisFirehoseConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceStorageConfigKinesisFirehoseConfigArgs: def __init__(__self__, *, @@ -1210,6 +1695,15 @@ def firehose_arn(self, value: pulumi.Input[str]): pulumi.set(self, "firehose_arn", value) +if not MYPY: + class InstanceStorageConfigKinesisStreamConfigArgsDict(TypedDict): + stream_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the data stream. + """ +elif False: + InstanceStorageConfigKinesisStreamConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceStorageConfigKinesisStreamConfigArgs: def __init__(__self__, *, @@ -1232,6 +1726,25 @@ def stream_arn(self, value: pulumi.Input[str]): pulumi.set(self, "stream_arn", value) +if not MYPY: + class InstanceStorageConfigKinesisVideoStreamConfigArgsDict(TypedDict): + encryption_config: pulumi.Input['InstanceStorageConfigEncryptionConfigArgsDict'] + """ + The encryption configuration. + """ + prefix: pulumi.Input[str] + """ + The prefix of the video stream. + """ + retention_period_hours: pulumi.Input[float] + """ + The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream. + + The default value is 0, indicating that the stream does not persist data. + """ +elif False: + InstanceStorageConfigKinesisVideoStreamConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceStorageConfigKinesisVideoStreamConfigArgs: def __init__(__self__, *, @@ -1288,6 +1801,23 @@ def retention_period_hours(self, value: pulumi.Input[float]): pulumi.set(self, "retention_period_hours", value) +if not MYPY: + class InstanceStorageConfigS3ConfigArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + """ + The S3 bucket name. + """ + bucket_prefix: pulumi.Input[str] + """ + The S3 bucket prefix. + """ + encryption_config: NotRequired[pulumi.Input['InstanceStorageConfigEncryptionConfigArgsDict']] + """ + The Amazon S3 encryption configuration. + """ +elif False: + InstanceStorageConfigS3ConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceStorageConfigS3ConfigArgs: def __init__(__self__, *, @@ -1341,6 +1871,28 @@ def encryption_config(self, value: Optional[pulumi.Input['InstanceStorageConfigE pulumi.set(self, "encryption_config", value) +if not MYPY: + class QueueOutboundCallerConfigArgsDict(TypedDict): + """ + The outbound caller ID name, number, and outbound whisper flow. + """ + outbound_caller_id_name: NotRequired[pulumi.Input[str]] + """ + The caller ID name. + """ + outbound_caller_id_number_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the outbound caller ID number. + + > Only use the phone number ARN format that doesn't contain `instance` in the path, for example, `arn:aws:connect:us-east-1:1234567890:phone-number/uuid` . This is the same ARN format that is returned when you create a phone number using CloudFormation , or when you call the [ListPhoneNumbersV2](https://docs.aws.amazon.com/connect/latest/APIReference/API_ListPhoneNumbersV2.html) API. + """ + outbound_flow_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the outbound flow. + """ +elif False: + QueueOutboundCallerConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class QueueOutboundCallerConfigArgs: def __init__(__self__, *, @@ -1401,6 +1953,30 @@ def outbound_flow_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "outbound_flow_arn", value) +if not MYPY: + class QuickConnectConfigArgsDict(TypedDict): + """ + Configuration settings for the quick connect. + """ + quick_connect_type: pulumi.Input['QuickConnectType'] + """ + The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE). + """ + phone_config: NotRequired[pulumi.Input['QuickConnectPhoneNumberQuickConnectConfigArgsDict']] + """ + The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER. + """ + queue_config: NotRequired[pulumi.Input['QuickConnectQueueQuickConnectConfigArgsDict']] + """ + The queue configuration. This is required only if QuickConnectType is QUEUE. + """ + user_config: NotRequired[pulumi.Input['QuickConnectUserQuickConnectConfigArgsDict']] + """ + The user configuration. This is required only if QuickConnectType is USER. + """ +elif False: + QuickConnectConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class QuickConnectConfigArgs: def __init__(__self__, *, @@ -1472,6 +2048,18 @@ def user_config(self, value: Optional[pulumi.Input['QuickConnectUserQuickConnect pulumi.set(self, "user_config", value) +if not MYPY: + class QuickConnectPhoneNumberQuickConnectConfigArgsDict(TypedDict): + """ + The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER. + """ + phone_number: pulumi.Input[str] + """ + The phone number in E.164 format. + """ +elif False: + QuickConnectPhoneNumberQuickConnectConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class QuickConnectPhoneNumberQuickConnectConfigArgs: def __init__(__self__, *, @@ -1495,6 +2083,22 @@ def phone_number(self, value: pulumi.Input[str]): pulumi.set(self, "phone_number", value) +if not MYPY: + class QuickConnectQueueQuickConnectConfigArgsDict(TypedDict): + """ + The queue configuration. This is required only if QuickConnectType is QUEUE. + """ + contact_flow_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the flow. + """ + queue_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the queue. + """ +elif False: + QuickConnectQueueQuickConnectConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class QuickConnectQueueQuickConnectConfigArgs: def __init__(__self__, *, @@ -1533,6 +2137,22 @@ def queue_arn(self, value: pulumi.Input[str]): pulumi.set(self, "queue_arn", value) +if not MYPY: + class QuickConnectUserQuickConnectConfigArgsDict(TypedDict): + """ + The user configuration. This is required only if QuickConnectType is USER. + """ + contact_flow_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the flow. + """ + user_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the user. + """ +elif False: + QuickConnectUserQuickConnectConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class QuickConnectUserQuickConnectConfigArgs: def __init__(__self__, *, @@ -1571,6 +2191,18 @@ def user_arn(self, value: pulumi.Input[str]): pulumi.set(self, "user_arn", value) +if not MYPY: + class RoutingProfileCrossChannelBehaviorArgsDict(TypedDict): + """ + Defines the cross-channel routing behavior that allows an agent working on a contact in one channel to be offered a contact from a different channel. + """ + behavior_type: pulumi.Input['RoutingProfileBehaviorType'] + """ + Specifies the other channels that can be routed to an agent handling their current channel. + """ +elif False: + RoutingProfileCrossChannelBehaviorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProfileCrossChannelBehaviorArgs: def __init__(__self__, *, @@ -1594,6 +2226,32 @@ def behavior_type(self, value: pulumi.Input['RoutingProfileBehaviorType']): pulumi.set(self, "behavior_type", value) +if not MYPY: + class RoutingProfileMediaConcurrencyArgsDict(TypedDict): + """ + Contains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously. + """ + channel: pulumi.Input['RoutingProfileChannel'] + """ + The channels that agents can handle in the Contact Control Panel (CCP). + """ + concurrency: pulumi.Input[int] + """ + The number of contacts an agent can have on a channel simultaneously. + + Valid Range for `VOICE` : Minimum value of 1. Maximum value of 1. + + Valid Range for `CHAT` : Minimum value of 1. Maximum value of 10. + + Valid Range for `TASK` : Minimum value of 1. Maximum value of 10. + """ + cross_channel_behavior: NotRequired[pulumi.Input['RoutingProfileCrossChannelBehaviorArgsDict']] + """ + Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel. + """ +elif False: + RoutingProfileMediaConcurrencyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProfileMediaConcurrencyArgs: def __init__(__self__, *, @@ -1660,6 +2318,26 @@ def cross_channel_behavior(self, value: Optional[pulumi.Input['RoutingProfileCro pulumi.set(self, "cross_channel_behavior", value) +if not MYPY: + class RoutingProfileQueueConfigArgsDict(TypedDict): + """ + Contains information about the queue and channel for which priority and delay can be set. + """ + delay: pulumi.Input[int] + """ + The delay, in seconds, a contact should be in the queue before they are routed to an available agent. For more information, see [Queues: priority and delay](https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html) in the *Amazon Connect Administrator Guide* . + """ + priority: pulumi.Input[int] + """ + The order in which contacts are to be handled for the queue. For more information, see [Queues: priority and delay](https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html) . + """ + queue_reference: pulumi.Input['RoutingProfileQueueReferenceArgsDict'] + """ + Contains information about a queue resource. + """ +elif False: + RoutingProfileQueueConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProfileQueueConfigArgs: def __init__(__self__, *, @@ -1713,6 +2391,22 @@ def queue_reference(self, value: pulumi.Input['RoutingProfileQueueReferenceArgs' pulumi.set(self, "queue_reference", value) +if not MYPY: + class RoutingProfileQueueReferenceArgsDict(TypedDict): + """ + Contains the channel and queue identifier for a routing profile. + """ + channel: pulumi.Input['RoutingProfileChannel'] + """ + The channels agents can handle in the Contact Control Panel (CCP) for this routing profile. + """ + queue_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the queue. + """ +elif False: + RoutingProfileQueueReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoutingProfileQueueReferenceArgs: def __init__(__self__, *, @@ -1751,6 +2445,34 @@ def queue_arn(self, value: pulumi.Input[str]): pulumi.set(self, "queue_arn", value) +if not MYPY: + class RuleActionsArgsDict(TypedDict): + """ + The list of actions that will be executed when a rule is triggered. + """ + assign_contact_category_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleAssignContactCategoryActionArgsDict']]]] + """ + Information about the contact category action. The syntax can be empty, for example, `{}` . + """ + create_case_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleCreateCaseActionArgsDict']]]] + end_associated_tasks_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleEndAssociatedTasksActionArgsDict']]]] + event_bridge_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleEventBridgeActionArgsDict']]]] + """ + Information about the EventBridge action. + """ + send_notification_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleSendNotificationActionArgsDict']]]] + """ + Information about the send notification action. + """ + submit_auto_evaluation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleSubmitAutoEvaluationActionArgsDict']]]] + task_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleTaskActionArgsDict']]]] + """ + Information about the task action. This field is required if `TriggerEventSource` is one of the following values: `OnZendeskTicketCreate` | `OnZendeskTicketStatusUpdate` | `OnSalesforceCaseCreate` + """ + update_case_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleUpdateCaseActionArgsDict']]]] +elif False: + RuleActionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleActionsArgs: def __init__(__self__, *, @@ -1871,6 +2593,15 @@ def update_case_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "update_case_actions", value) +if not MYPY: + class RuleAssignContactCategoryActionArgsDict(TypedDict): + """ + The definition for assigning contact category action. + """ + pass +elif False: + RuleAssignContactCategoryActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleAssignContactCategoryActionArgs: def __init__(__self__): @@ -1880,6 +2611,19 @@ def __init__(__self__): pass +if not MYPY: + class RuleCreateCaseActionArgsDict(TypedDict): + """ + The definition for create case action. + """ + fields: pulumi.Input[Sequence[pulumi.Input['RuleFieldArgsDict']]] + template_id: pulumi.Input[str] + """ + The Id of template. + """ +elif False: + RuleCreateCaseActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleCreateCaseActionArgs: def __init__(__self__, *, @@ -1914,6 +2658,15 @@ def template_id(self, value: pulumi.Input[str]): pulumi.set(self, "template_id", value) +if not MYPY: + class RuleEndAssociatedTasksActionArgsDict(TypedDict): + """ + The definition for ending associated task action. + """ + pass +elif False: + RuleEndAssociatedTasksActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleEndAssociatedTasksActionArgs: def __init__(__self__): @@ -1923,6 +2676,18 @@ def __init__(__self__): pass +if not MYPY: + class RuleEventBridgeActionArgsDict(TypedDict): + """ + The definition for event bridge action. + """ + name: pulumi.Input[str] + """ + The name of the event bridge action. + """ +elif False: + RuleEventBridgeActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleEventBridgeActionArgs: def __init__(__self__, *, @@ -1946,6 +2711,18 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class RuleFieldValueArgsDict(TypedDict): + """ + The value of the field. + """ + boolean_value: NotRequired[pulumi.Input[bool]] + double_value: NotRequired[pulumi.Input[float]] + empty_value: NotRequired[Any] + string_value: NotRequired[pulumi.Input[str]] +elif False: + RuleFieldValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleFieldValueArgs: def __init__(__self__, *, @@ -2002,6 +2779,19 @@ def string_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "string_value", value) +if not MYPY: + class RuleFieldArgsDict(TypedDict): + """ + The field of the case. + """ + id: pulumi.Input[str] + """ + The Id of the field + """ + value: pulumi.Input['RuleFieldValueArgsDict'] +elif False: + RuleFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleFieldArgs: def __init__(__self__, *, @@ -2036,6 +2826,22 @@ def value(self, value: pulumi.Input['RuleFieldValueArgs']): pulumi.set(self, "value", value) +if not MYPY: + class RuleNotificationRecipientTypeArgsDict(TypedDict): + """ + The type of notification recipient. + """ + user_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of recipients by user arns. + """ + user_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The collection of recipients who are identified by user tags + """ +elif False: + RuleNotificationRecipientTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleNotificationRecipientTypeArgs: def __init__(__self__, *, @@ -2076,6 +2882,16 @@ def user_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]] pulumi.set(self, "user_tags", value) +if not MYPY: + class RuleReferenceArgsDict(TypedDict): + """ + A contact reference. + """ + type: pulumi.Input['RuleReferenceType'] + value: pulumi.Input[str] +elif False: + RuleReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleReferenceArgs: def __init__(__self__, *, @@ -2106,6 +2922,31 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class RuleSendNotificationActionArgsDict(TypedDict): + """ + The definition for sending notification action. + """ + content: pulumi.Input[str] + """ + The content of notification. + """ + content_type: pulumi.Input['RuleSendNotificationActionContentType'] + """ + The type of content. + """ + delivery_method: pulumi.Input['RuleSendNotificationActionDeliveryMethod'] + """ + The means of delivery. + """ + recipient: pulumi.Input['RuleNotificationRecipientTypeArgsDict'] + subject: NotRequired[pulumi.Input[str]] + """ + The subject of notification. + """ +elif False: + RuleSendNotificationActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleSendNotificationActionArgs: def __init__(__self__, *, @@ -2186,6 +3027,18 @@ def subject(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "subject", value) +if not MYPY: + class RuleSubmitAutoEvaluationActionArgsDict(TypedDict): + """ + The definition of submit auto evaluation action. + """ + evaluation_form_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the evaluation form. + """ +elif False: + RuleSubmitAutoEvaluationActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleSubmitAutoEvaluationActionArgs: def __init__(__self__, *, @@ -2209,6 +3062,30 @@ def evaluation_form_arn(self, value: pulumi.Input[str]): pulumi.set(self, "evaluation_form_arn", value) +if not MYPY: + class RuleTaskActionArgsDict(TypedDict): + """ + The definition of task action. + """ + contact_flow_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the contact flow. + """ + name: pulumi.Input[str] + """ + The name which appears in the agent's Contact Control Panel (CCP). + """ + description: NotRequired[pulumi.Input[str]] + """ + The description which appears in the agent's Contact Control Panel (CCP). + """ + references: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['RuleReferenceArgsDict']]]] + """ + A formatted URL that is shown to an agent in the Contact Control Panel (CCP). + """ +elif False: + RuleTaskActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleTaskActionArgs: def __init__(__self__, *, @@ -2279,6 +3156,22 @@ def references(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['Rul pulumi.set(self, "references", value) +if not MYPY: + class RuleTriggerEventSourceArgsDict(TypedDict): + """ + The event source that will trigger the rule. + """ + event_source_name: pulumi.Input['RuleTriggerEventSourceEventSourceName'] + """ + The name of event source. + """ + integration_association_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) for the AppIntegration association. + """ +elif False: + RuleTriggerEventSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleTriggerEventSourceArgs: def __init__(__self__, *, @@ -2318,6 +3211,15 @@ def integration_association_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "integration_association_arn", value) +if not MYPY: + class RuleUpdateCaseActionArgsDict(TypedDict): + """ + The definition for update case action. + """ + fields: pulumi.Input[Sequence[pulumi.Input['RuleFieldArgsDict']]] +elif False: + RuleUpdateCaseActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleUpdateCaseActionArgs: def __init__(__self__, *, @@ -2337,6 +3239,22 @@ def fields(self, value: pulumi.Input[Sequence[pulumi.Input['RuleFieldArgs']]]): pulumi.set(self, "fields", value) +if not MYPY: + class SecurityProfileApplicationArgsDict(TypedDict): + """ + A third-party application's metadata. + """ + application_permissions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The permissions that the agent is granted on the application + """ + namespace: pulumi.Input[str] + """ + Namespace of the application that you want to give access to. + """ +elif False: + SecurityProfileApplicationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityProfileApplicationArgs: def __init__(__self__, *, @@ -2375,6 +3293,22 @@ def namespace(self, value: pulumi.Input[str]): pulumi.set(self, "namespace", value) +if not MYPY: + class SecurityProfileTagArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + key: pulumi.Input[str] + """ + The key name of the tag. You can specify a value that is 1 to 128 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 -. + """ + value: pulumi.Input[str] + """ + The value for the tag. You can specify a value that is 0 to 256 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 -. + """ +elif False: + SecurityProfileTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityProfileTagArgs: def __init__(__self__, *, @@ -2413,6 +3347,22 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class TaskTemplateDefaultFieldValueArgsDict(TypedDict): + """ + the default value for the task template's field + """ + default_value: pulumi.Input[str] + """ + Default value for the field. + """ + id: pulumi.Input['TaskTemplateFieldIdentifierArgsDict'] + """ + Identifier of a field. + """ +elif False: + TaskTemplateDefaultFieldValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskTemplateDefaultFieldValueArgs: def __init__(__self__, *, @@ -2451,6 +3401,18 @@ def id(self, value: pulumi.Input['TaskTemplateFieldIdentifierArgs']): pulumi.set(self, "id", value) +if not MYPY: + class TaskTemplateFieldIdentifierArgsDict(TypedDict): + """ + the identifier (name) for the task template field + """ + name: pulumi.Input[str] + """ + The name of the task template field + """ +elif False: + TaskTemplateFieldIdentifierArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskTemplateFieldIdentifierArgs: def __init__(__self__, *, @@ -2474,6 +3436,30 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class TaskTemplateFieldArgsDict(TypedDict): + """ + A task template field object. + """ + id: pulumi.Input['TaskTemplateFieldIdentifierArgsDict'] + """ + The unique identifier for the field. + """ + type: pulumi.Input['TaskTemplateFieldType'] + """ + Indicates the type of field. Following are the valid field types: `NAME` `DESCRIPTION` | `SCHEDULED_TIME` | `QUICK_CONNECT` | `URL` | `NUMBER` | `TEXT` | `TEXT_AREA` | `DATE_TIME` | `BOOLEAN` | `SINGLE_SELECT` | `EMAIL` + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the task template's field + """ + single_select_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + list of field options to be used with single select + """ +elif False: + TaskTemplateFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskTemplateFieldArgs: def __init__(__self__, *, @@ -2544,6 +3530,15 @@ def single_select_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "single_select_options", value) +if not MYPY: + class TaskTemplateInvisibleFieldInfoArgsDict(TypedDict): + """ + Invisible field info + """ + id: pulumi.Input['TaskTemplateFieldIdentifierArgsDict'] +elif False: + TaskTemplateInvisibleFieldInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskTemplateInvisibleFieldInfoArgs: def __init__(__self__, *, @@ -2563,6 +3558,15 @@ def id(self, value: pulumi.Input['TaskTemplateFieldIdentifierArgs']): pulumi.set(self, "id", value) +if not MYPY: + class TaskTemplateReadOnlyFieldInfoArgsDict(TypedDict): + """ + ReadOnly field info + """ + id: pulumi.Input['TaskTemplateFieldIdentifierArgsDict'] +elif False: + TaskTemplateReadOnlyFieldInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskTemplateReadOnlyFieldInfoArgs: def __init__(__self__, *, @@ -2582,6 +3586,15 @@ def id(self, value: pulumi.Input['TaskTemplateFieldIdentifierArgs']): pulumi.set(self, "id", value) +if not MYPY: + class TaskTemplateRequiredFieldInfoArgsDict(TypedDict): + """ + Required field info + """ + id: pulumi.Input['TaskTemplateFieldIdentifierArgsDict'] +elif False: + TaskTemplateRequiredFieldInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskTemplateRequiredFieldInfoArgs: def __init__(__self__, *, @@ -2601,6 +3614,26 @@ def id(self, value: pulumi.Input['TaskTemplateFieldIdentifierArgs']): pulumi.set(self, "id", value) +if not MYPY: + class UserHierarchyStructureLevelFiveArgsDict(TypedDict): + """ + Information about level five. + """ + name: pulumi.Input[str] + """ + The name of the hierarchy level. + """ + hierarchy_level_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the hierarchy level. + """ + hierarchy_level_id: NotRequired[pulumi.Input[str]] + """ + The identifier of the hierarchy level. + """ +elif False: + UserHierarchyStructureLevelFiveArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserHierarchyStructureLevelFiveArgs: def __init__(__self__, *, @@ -2656,6 +3689,26 @@ def hierarchy_level_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_level_id", value) +if not MYPY: + class UserHierarchyStructureLevelFourArgsDict(TypedDict): + """ + Information about level four. + """ + name: pulumi.Input[str] + """ + The name of the hierarchy level. + """ + hierarchy_level_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the hierarchy level. + """ + hierarchy_level_id: NotRequired[pulumi.Input[str]] + """ + The identifier of the hierarchy level. + """ +elif False: + UserHierarchyStructureLevelFourArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserHierarchyStructureLevelFourArgs: def __init__(__self__, *, @@ -2711,6 +3764,26 @@ def hierarchy_level_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_level_id", value) +if not MYPY: + class UserHierarchyStructureLevelOneArgsDict(TypedDict): + """ + Information about level one. + """ + name: pulumi.Input[str] + """ + The name of the hierarchy level. + """ + hierarchy_level_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the hierarchy level. + """ + hierarchy_level_id: NotRequired[pulumi.Input[str]] + """ + The identifier of the hierarchy level. + """ +elif False: + UserHierarchyStructureLevelOneArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserHierarchyStructureLevelOneArgs: def __init__(__self__, *, @@ -2766,6 +3839,23 @@ def hierarchy_level_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_level_id", value) +if not MYPY: + class UserHierarchyStructureLevelThreeArgsDict(TypedDict): + """ + Information about level three. + """ + name: pulumi.Input[str] + """ + The name of the hierarchy level. + """ + hierarchy_level_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the hierarchy level. + """ + hierarchy_level_id: NotRequired[pulumi.Input[str]] +elif False: + UserHierarchyStructureLevelThreeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserHierarchyStructureLevelThreeArgs: def __init__(__self__, *, @@ -2817,6 +3907,26 @@ def hierarchy_level_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_level_id", value) +if not MYPY: + class UserHierarchyStructureLevelTwoArgsDict(TypedDict): + """ + Information about level two. + """ + name: pulumi.Input[str] + """ + The name of the hierarchy level. + """ + hierarchy_level_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the hierarchy level. + """ + hierarchy_level_id: NotRequired[pulumi.Input[str]] + """ + The identifier of the hierarchy level. + """ +elif False: + UserHierarchyStructureLevelTwoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserHierarchyStructureLevelTwoArgs: def __init__(__self__, *, @@ -2872,6 +3982,31 @@ def hierarchy_level_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_level_id", value) +if not MYPY: + class UserHierarchyStructurePropertiesArgsDict(TypedDict): + """ + Information about the hierarchy structure. + """ + level_five: NotRequired[pulumi.Input['UserHierarchyStructureLevelFiveArgsDict']] + level_four: NotRequired[pulumi.Input['UserHierarchyStructureLevelFourArgsDict']] + """ + The update for level four. + """ + level_one: NotRequired[pulumi.Input['UserHierarchyStructureLevelOneArgsDict']] + """ + The update for level one. + """ + level_three: NotRequired[pulumi.Input['UserHierarchyStructureLevelThreeArgsDict']] + """ + The update for level three. + """ + level_two: NotRequired[pulumi.Input['UserHierarchyStructureLevelTwoArgsDict']] + """ + The update for level two. + """ +elif False: + UserHierarchyStructurePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserHierarchyStructurePropertiesArgs: def __init__(__self__, *, @@ -2956,6 +4091,36 @@ def level_two(self, value: Optional[pulumi.Input['UserHierarchyStructureLevelTwo pulumi.set(self, "level_two", value) +if not MYPY: + class UserIdentityInfoArgsDict(TypedDict): + """ + Contains information about the identity of a user. + """ + email: NotRequired[pulumi.Input[str]] + """ + The email address. If you are using SAML for identity management and include this parameter, an error is returned. + """ + first_name: NotRequired[pulumi.Input[str]] + """ + The first name. This is required if you are using Amazon Connect or SAML for identity management. + """ + last_name: NotRequired[pulumi.Input[str]] + """ + The last name. This is required if you are using Amazon Connect or SAML for identity management. + """ + mobile: NotRequired[pulumi.Input[str]] + """ + The user's mobile number. + """ + secondary_email: NotRequired[pulumi.Input[str]] + """ + The user's secondary email address. If you provide a secondary email, the user receives email notifications -- other than password reset notifications -- to this email address instead of to their primary email address. + + *Pattern* : `(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,63}` + """ +elif False: + UserIdentityInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserIdentityInfoArgs: def __init__(__self__, *, @@ -3048,6 +4213,32 @@ def secondary_email(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "secondary_email", value) +if not MYPY: + class UserPhoneConfigArgsDict(TypedDict): + """ + Contains information about the phone configuration settings for a user. + """ + phone_type: pulumi.Input['UserPhoneType'] + """ + The phone type. + """ + after_contact_work_time_limit: NotRequired[pulumi.Input[int]] + """ + The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW. + + > When returned by a `SearchUsers` call, `AfterContactWorkTimeLimit` is returned in milliseconds. + """ + auto_accept: NotRequired[pulumi.Input[bool]] + """ + The Auto accept setting. + """ + desk_phone_number: NotRequired[pulumi.Input[str]] + """ + The phone number for the user's desk phone. + """ +elif False: + UserPhoneConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPhoneConfigArgs: def __init__(__self__, *, @@ -3123,6 +4314,26 @@ def desk_phone_number(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "desk_phone_number", value) +if not MYPY: + class UserProficiencyArgsDict(TypedDict): + """ + Proficiency of a user. + """ + attribute_name: pulumi.Input[str] + """ + The name of user’s proficiency. You must use a predefined attribute name that is present in the Amazon Connect instance. + """ + attribute_value: pulumi.Input[str] + """ + The value of user’s proficiency. You must use a predefined attribute value that is present in the Amazon Connect instance. + """ + level: pulumi.Input[float] + """ + The level of the proficiency. The valid values are 1, 2, 3, 4 and 5. + """ +elif False: + UserProficiencyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProficiencyArgs: def __init__(__self__, *, @@ -3176,6 +4387,18 @@ def level(self, value: pulumi.Input[float]): pulumi.set(self, "level", value) +if not MYPY: + class ValuesPropertiesArgsDict(TypedDict): + """ + The values of a predefined attribute. + """ + string_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Predefined attribute values of type string list. + """ +elif False: + ValuesPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ValuesPropertiesArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/connect/agent_status.py b/sdk/python/pulumi_aws_native/connect/agent_status.py index ad1020b877..adf0c31ac4 100644 --- a/sdk/python/pulumi_aws_native/connect/agent_status.py +++ b/sdk/python/pulumi_aws_native/connect/agent_status.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/connect/approved_origin.py b/sdk/python/pulumi_aws_native/connect/approved_origin.py index f95a7c7ddc..fa284fda55 100644 --- a/sdk/python/pulumi_aws_native/connect/approved_origin.py +++ b/sdk/python/pulumi_aws_native/connect/approved_origin.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ApprovedOriginArgs', 'ApprovedOrigin'] diff --git a/sdk/python/pulumi_aws_native/connect/contact_flow.py b/sdk/python/pulumi_aws_native/connect/contact_flow.py index 85a7119b72..4b30246bb3 100644 --- a/sdk/python/pulumi_aws_native/connect/contact_flow.py +++ b/sdk/python/pulumi_aws_native/connect/contact_flow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/connect/contact_flow_module.py b/sdk/python/pulumi_aws_native/connect/contact_flow_module.py index dcfb8db57c..367fc01213 100644 --- a/sdk/python/pulumi_aws_native/connect/contact_flow_module.py +++ b/sdk/python/pulumi_aws_native/connect/contact_flow_module.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/connect/evaluation_form.py b/sdk/python/pulumi_aws_native/connect/evaluation_form.py index 3a8b6d5b5f..24b6d7f591 100644 --- a/sdk/python/pulumi_aws_native/connect/evaluation_form.py +++ b/sdk/python/pulumi_aws_native/connect/evaluation_form.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/connect/get_agent_status.py b/sdk/python/pulumi_aws_native/connect/get_agent_status.py index 199b5e26c9..b2c46957f2 100644 --- a/sdk/python/pulumi_aws_native/connect/get_agent_status.py +++ b/sdk/python/pulumi_aws_native/connect/get_agent_status.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -188,9 +193,6 @@ def get_agent_status(agent_status_arn: Optional[str] = None, state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_agent_status) def get_agent_status_output(agent_status_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentStatusResult]: """ @@ -199,4 +201,19 @@ def get_agent_status_output(agent_status_arn: Optional[pulumi.Input[str]] = None :param str agent_status_arn: The Amazon Resource Name (ARN) of the agent status. """ - ... + __args__ = dict() + __args__['agentStatusArn'] = agent_status_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getAgentStatus', __args__, opts=opts, typ=GetAgentStatusResult) + return __ret__.apply(lambda __response__: GetAgentStatusResult( + agent_status_arn=pulumi.get(__response__, 'agent_status_arn'), + description=pulumi.get(__response__, 'description'), + display_order=pulumi.get(__response__, 'display_order'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + last_modified_region=pulumi.get(__response__, 'last_modified_region'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'), + name=pulumi.get(__response__, 'name'), + reset_order_number=pulumi.get(__response__, 'reset_order_number'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_contact_flow.py b/sdk/python/pulumi_aws_native/connect/get_contact_flow.py index e20782c136..3482077f42 100644 --- a/sdk/python/pulumi_aws_native/connect/get_contact_flow.py +++ b/sdk/python/pulumi_aws_native/connect/get_contact_flow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -136,9 +141,6 @@ def get_contact_flow(contact_flow_arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_contact_flow) def get_contact_flow_output(contact_flow_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContactFlowResult]: """ @@ -147,4 +149,15 @@ def get_contact_flow_output(contact_flow_arn: Optional[pulumi.Input[str]] = None :param str contact_flow_arn: The identifier of the contact flow (ARN). """ - ... + __args__ = dict() + __args__['contactFlowArn'] = contact_flow_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getContactFlow', __args__, opts=opts, typ=GetContactFlowResult) + return __ret__.apply(lambda __response__: GetContactFlowResult( + contact_flow_arn=pulumi.get(__response__, 'contact_flow_arn'), + content=pulumi.get(__response__, 'content'), + description=pulumi.get(__response__, 'description'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + name=pulumi.get(__response__, 'name'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_contact_flow_module.py b/sdk/python/pulumi_aws_native/connect/get_contact_flow_module.py index b6cc053508..29a4a4f224 100644 --- a/sdk/python/pulumi_aws_native/connect/get_contact_flow_module.py +++ b/sdk/python/pulumi_aws_native/connect/get_contact_flow_module.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -148,9 +153,6 @@ def get_contact_flow_module(contact_flow_module_arn: Optional[str] = None, state=pulumi.get(__ret__, 'state'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_contact_flow_module) def get_contact_flow_module_output(contact_flow_module_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContactFlowModuleResult]: """ @@ -159,4 +161,16 @@ def get_contact_flow_module_output(contact_flow_module_arn: Optional[pulumi.Inpu :param str contact_flow_module_arn: The identifier of the contact flow module (ARN). """ - ... + __args__ = dict() + __args__['contactFlowModuleArn'] = contact_flow_module_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getContactFlowModule', __args__, opts=opts, typ=GetContactFlowModuleResult) + return __ret__.apply(lambda __response__: GetContactFlowModuleResult( + contact_flow_module_arn=pulumi.get(__response__, 'contact_flow_module_arn'), + content=pulumi.get(__response__, 'content'), + description=pulumi.get(__response__, 'description'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + name=pulumi.get(__response__, 'name'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_evaluation_form.py b/sdk/python/pulumi_aws_native/connect/get_evaluation_form.py index eedc389dd2..726fde7be3 100644 --- a/sdk/python/pulumi_aws_native/connect/get_evaluation_form.py +++ b/sdk/python/pulumi_aws_native/connect/get_evaluation_form.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -154,9 +159,6 @@ def get_evaluation_form(evaluation_form_arn: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), title=pulumi.get(__ret__, 'title')) - - -@_utilities.lift_output_func(get_evaluation_form) def get_evaluation_form_output(evaluation_form_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEvaluationFormResult]: """ @@ -165,4 +167,16 @@ def get_evaluation_form_output(evaluation_form_arn: Optional[pulumi.Input[str]] :param str evaluation_form_arn: The Amazon Resource Name (ARN) of the evaluation form. """ - ... + __args__ = dict() + __args__['evaluationFormArn'] = evaluation_form_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getEvaluationForm', __args__, opts=opts, typ=GetEvaluationFormResult) + return __ret__.apply(lambda __response__: GetEvaluationFormResult( + description=pulumi.get(__response__, 'description'), + evaluation_form_arn=pulumi.get(__response__, 'evaluation_form_arn'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + items=pulumi.get(__response__, 'items'), + scoring_strategy=pulumi.get(__response__, 'scoring_strategy'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + title=pulumi.get(__response__, 'title'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_hours_of_operation.py b/sdk/python/pulumi_aws_native/connect/get_hours_of_operation.py index 28b0b31baa..0b5bef6b8b 100644 --- a/sdk/python/pulumi_aws_native/connect/get_hours_of_operation.py +++ b/sdk/python/pulumi_aws_native/connect/get_hours_of_operation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_hours_of_operation(hours_of_operation_arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags'), time_zone=pulumi.get(__ret__, 'time_zone')) - - -@_utilities.lift_output_func(get_hours_of_operation) def get_hours_of_operation_output(hours_of_operation_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHoursOfOperationResult]: """ @@ -148,4 +150,15 @@ def get_hours_of_operation_output(hours_of_operation_arn: Optional[pulumi.Input[ :param str hours_of_operation_arn: The Amazon Resource Name (ARN) for the hours of operation. """ - ... + __args__ = dict() + __args__['hoursOfOperationArn'] = hours_of_operation_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getHoursOfOperation', __args__, opts=opts, typ=GetHoursOfOperationResult) + return __ret__.apply(lambda __response__: GetHoursOfOperationResult( + config=pulumi.get(__response__, 'config'), + description=pulumi.get(__response__, 'description'), + hours_of_operation_arn=pulumi.get(__response__, 'hours_of_operation_arn'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + time_zone=pulumi.get(__response__, 'time_zone'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_instance.py b/sdk/python/pulumi_aws_native/connect/get_instance.py index a79898dae1..6bf7f52a84 100644 --- a/sdk/python/pulumi_aws_native/connect/get_instance.py +++ b/sdk/python/pulumi_aws_native/connect/get_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_instance(arn: Optional[str] = None, instance_status=pulumi.get(__ret__, 'instance_status'), service_role=pulumi.get(__ret__, 'service_role'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_instance) def get_instance_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceResult]: """ @@ -148,4 +150,15 @@ def get_instance_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: An instanceArn is automatically generated on creation based on instanceId. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getInstance', __args__, opts=opts, typ=GetInstanceResult) + return __ret__.apply(lambda __response__: GetInstanceResult( + arn=pulumi.get(__response__, 'arn'), + attributes=pulumi.get(__response__, 'attributes'), + created_time=pulumi.get(__response__, 'created_time'), + id=pulumi.get(__response__, 'id'), + instance_status=pulumi.get(__response__, 'instance_status'), + service_role=pulumi.get(__response__, 'service_role'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_instance_storage_config.py b/sdk/python/pulumi_aws_native/connect/get_instance_storage_config.py index 7a2a5b65a0..2a027a09ce 100644 --- a/sdk/python/pulumi_aws_native/connect/get_instance_storage_config.py +++ b/sdk/python/pulumi_aws_native/connect/get_instance_storage_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -129,9 +134,6 @@ def get_instance_storage_config(association_id: Optional[str] = None, kinesis_video_stream_config=pulumi.get(__ret__, 'kinesis_video_stream_config'), s3_config=pulumi.get(__ret__, 's3_config'), storage_type=pulumi.get(__ret__, 'storage_type')) - - -@_utilities.lift_output_func(get_instance_storage_config) def get_instance_storage_config_output(association_id: Optional[pulumi.Input[str]] = None, instance_arn: Optional[pulumi.Input[str]] = None, resource_type: Optional[pulumi.Input['InstanceStorageConfigInstanceStorageResourceType']] = None, @@ -144,4 +146,16 @@ def get_instance_storage_config_output(association_id: Optional[pulumi.Input[str :param str instance_arn: Connect Instance ID with which the storage config will be associated :param 'InstanceStorageConfigInstanceStorageResourceType' resource_type: A valid resource type. Following are the valid resource types: `CHAT_TRANSCRIPTS` | `CALL_RECORDINGS` | `SCHEDULED_REPORTS` | `MEDIA_STREAMS` | `CONTACT_TRACE_RECORDS` | `AGENT_EVENTS` """ - ... + __args__ = dict() + __args__['associationId'] = association_id + __args__['instanceArn'] = instance_arn + __args__['resourceType'] = resource_type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getInstanceStorageConfig', __args__, opts=opts, typ=GetInstanceStorageConfigResult) + return __ret__.apply(lambda __response__: GetInstanceStorageConfigResult( + association_id=pulumi.get(__response__, 'association_id'), + kinesis_firehose_config=pulumi.get(__response__, 'kinesis_firehose_config'), + kinesis_stream_config=pulumi.get(__response__, 'kinesis_stream_config'), + kinesis_video_stream_config=pulumi.get(__response__, 'kinesis_video_stream_config'), + s3_config=pulumi.get(__response__, 's3_config'), + storage_type=pulumi.get(__response__, 'storage_type'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_integration_association.py b/sdk/python/pulumi_aws_native/connect/get_integration_association.py index 5dd6251032..0eb9804e57 100644 --- a/sdk/python/pulumi_aws_native/connect/get_integration_association.py +++ b/sdk/python/pulumi_aws_native/connect/get_integration_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -73,9 +78,6 @@ def get_integration_association(instance_id: Optional[str] = None, return AwaitableGetIntegrationAssociationResult( integration_association_id=pulumi.get(__ret__, 'integration_association_id')) - - -@_utilities.lift_output_func(get_integration_association) def get_integration_association_output(instance_id: Optional[pulumi.Input[str]] = None, integration_arn: Optional[pulumi.Input[str]] = None, integration_type: Optional[pulumi.Input['IntegrationAssociationIntegrationType']] = None, @@ -98,4 +100,11 @@ def get_integration_association_output(instance_id: Optional[pulumi.Input[str]] *Allowed Values* : `LEX_BOT` | `LAMBDA_FUNCTION` """ - ... + __args__ = dict() + __args__['instanceId'] = instance_id + __args__['integrationArn'] = integration_arn + __args__['integrationType'] = integration_type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getIntegrationAssociation', __args__, opts=opts, typ=GetIntegrationAssociationResult) + return __ret__.apply(lambda __response__: GetIntegrationAssociationResult( + integration_association_id=pulumi.get(__response__, 'integration_association_id'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_phone_number.py b/sdk/python/pulumi_aws_native/connect/get_phone_number.py index 5949380ec6..f2f1e456dc 100644 --- a/sdk/python/pulumi_aws_native/connect/get_phone_number.py +++ b/sdk/python/pulumi_aws_native/connect/get_phone_number.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_phone_number(phone_number_arn: Optional[str] = None, phone_number_arn=pulumi.get(__ret__, 'phone_number_arn'), tags=pulumi.get(__ret__, 'tags'), target_arn=pulumi.get(__ret__, 'target_arn')) - - -@_utilities.lift_output_func(get_phone_number) def get_phone_number_output(phone_number_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPhoneNumberResult]: """ @@ -120,4 +122,13 @@ def get_phone_number_output(phone_number_arn: Optional[pulumi.Input[str]] = None :param str phone_number_arn: The phone number ARN """ - ... + __args__ = dict() + __args__['phoneNumberArn'] = phone_number_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getPhoneNumber', __args__, opts=opts, typ=GetPhoneNumberResult) + return __ret__.apply(lambda __response__: GetPhoneNumberResult( + address=pulumi.get(__response__, 'address'), + description=pulumi.get(__response__, 'description'), + phone_number_arn=pulumi.get(__response__, 'phone_number_arn'), + tags=pulumi.get(__response__, 'tags'), + target_arn=pulumi.get(__response__, 'target_arn'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_predefined_attribute.py b/sdk/python/pulumi_aws_native/connect/get_predefined_attribute.py index 9c9f41d6df..926d5eb641 100644 --- a/sdk/python/pulumi_aws_native/connect/get_predefined_attribute.py +++ b/sdk/python/pulumi_aws_native/connect/get_predefined_attribute.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -86,9 +91,6 @@ def get_predefined_attribute(instance_arn: Optional[str] = None, last_modified_region=pulumi.get(__ret__, 'last_modified_region'), last_modified_time=pulumi.get(__ret__, 'last_modified_time'), values=pulumi.get(__ret__, 'values')) - - -@_utilities.lift_output_func(get_predefined_attribute) def get_predefined_attribute_output(instance_arn: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPredefinedAttributeResult]: @@ -99,4 +101,12 @@ def get_predefined_attribute_output(instance_arn: Optional[pulumi.Input[str]] = :param str instance_arn: The identifier of the Amazon Connect instance. :param str name: The name of the predefined attribute. """ - ... + __args__ = dict() + __args__['instanceArn'] = instance_arn + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getPredefinedAttribute', __args__, opts=opts, typ=GetPredefinedAttributeResult) + return __ret__.apply(lambda __response__: GetPredefinedAttributeResult( + last_modified_region=pulumi.get(__response__, 'last_modified_region'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'), + values=pulumi.get(__response__, 'values'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_prompt.py b/sdk/python/pulumi_aws_native/connect/get_prompt.py index 91b54bbcb8..ff2974def0 100644 --- a/sdk/python/pulumi_aws_native/connect/get_prompt.py +++ b/sdk/python/pulumi_aws_native/connect/get_prompt.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_prompt(prompt_arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), prompt_arn=pulumi.get(__ret__, 'prompt_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_prompt) def get_prompt_output(prompt_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPromptResult]: """ @@ -120,4 +122,13 @@ def get_prompt_output(prompt_arn: Optional[pulumi.Input[str]] = None, :param str prompt_arn: The Amazon Resource Name (ARN) for the prompt. """ - ... + __args__ = dict() + __args__['promptArn'] = prompt_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getPrompt', __args__, opts=opts, typ=GetPromptResult) + return __ret__.apply(lambda __response__: GetPromptResult( + description=pulumi.get(__response__, 'description'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + name=pulumi.get(__response__, 'name'), + prompt_arn=pulumi.get(__response__, 'prompt_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_queue.py b/sdk/python/pulumi_aws_native/connect/get_queue.py index 8fe346b73b..b5e0c0f8c8 100644 --- a/sdk/python/pulumi_aws_native/connect/get_queue.py +++ b/sdk/python/pulumi_aws_native/connect/get_queue.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -189,9 +194,6 @@ def get_queue(queue_arn: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_queue) def get_queue_output(queue_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetQueueResult]: """ @@ -200,4 +202,19 @@ def get_queue_output(queue_arn: Optional[pulumi.Input[str]] = None, :param str queue_arn: The Amazon Resource Name (ARN) for the queue. """ - ... + __args__ = dict() + __args__['queueArn'] = queue_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getQueue', __args__, opts=opts, typ=GetQueueResult) + return __ret__.apply(lambda __response__: GetQueueResult( + description=pulumi.get(__response__, 'description'), + hours_of_operation_arn=pulumi.get(__response__, 'hours_of_operation_arn'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + max_contacts=pulumi.get(__response__, 'max_contacts'), + name=pulumi.get(__response__, 'name'), + outbound_caller_config=pulumi.get(__response__, 'outbound_caller_config'), + queue_arn=pulumi.get(__response__, 'queue_arn'), + quick_connect_arns=pulumi.get(__response__, 'quick_connect_arns'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_quick_connect.py b/sdk/python/pulumi_aws_native/connect/get_quick_connect.py index 0ea6938182..3ebe8e227b 100644 --- a/sdk/python/pulumi_aws_native/connect/get_quick_connect.py +++ b/sdk/python/pulumi_aws_native/connect/get_quick_connect.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_quick_connect(quick_connect_arn: Optional[str] = None, quick_connect_config=pulumi.get(__ret__, 'quick_connect_config'), quick_connect_type=pulumi.get(__ret__, 'quick_connect_type'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_quick_connect) def get_quick_connect_output(quick_connect_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetQuickConnectResult]: """ @@ -148,4 +150,15 @@ def get_quick_connect_output(quick_connect_arn: Optional[pulumi.Input[str]] = No :param str quick_connect_arn: The Amazon Resource Name (ARN) for the quick connect. """ - ... + __args__ = dict() + __args__['quickConnectArn'] = quick_connect_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getQuickConnect', __args__, opts=opts, typ=GetQuickConnectResult) + return __ret__.apply(lambda __response__: GetQuickConnectResult( + description=pulumi.get(__response__, 'description'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + name=pulumi.get(__response__, 'name'), + quick_connect_arn=pulumi.get(__response__, 'quick_connect_arn'), + quick_connect_config=pulumi.get(__response__, 'quick_connect_config'), + quick_connect_type=pulumi.get(__response__, 'quick_connect_type'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_routing_profile.py b/sdk/python/pulumi_aws_native/connect/get_routing_profile.py index 0d5acae234..5fe8aa1b82 100644 --- a/sdk/python/pulumi_aws_native/connect/get_routing_profile.py +++ b/sdk/python/pulumi_aws_native/connect/get_routing_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -163,9 +168,6 @@ def get_routing_profile(routing_profile_arn: Optional[str] = None, queue_configs=pulumi.get(__ret__, 'queue_configs'), routing_profile_arn=pulumi.get(__ret__, 'routing_profile_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_routing_profile) def get_routing_profile_output(routing_profile_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoutingProfileResult]: """ @@ -174,4 +176,17 @@ def get_routing_profile_output(routing_profile_arn: Optional[pulumi.Input[str]] :param str routing_profile_arn: The Amazon Resource Name (ARN) of the routing profile. """ - ... + __args__ = dict() + __args__['routingProfileArn'] = routing_profile_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getRoutingProfile', __args__, opts=opts, typ=GetRoutingProfileResult) + return __ret__.apply(lambda __response__: GetRoutingProfileResult( + agent_availability_timer=pulumi.get(__response__, 'agent_availability_timer'), + default_outbound_queue_arn=pulumi.get(__response__, 'default_outbound_queue_arn'), + description=pulumi.get(__response__, 'description'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + media_concurrencies=pulumi.get(__response__, 'media_concurrencies'), + name=pulumi.get(__response__, 'name'), + queue_configs=pulumi.get(__response__, 'queue_configs'), + routing_profile_arn=pulumi.get(__response__, 'routing_profile_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_rule.py b/sdk/python/pulumi_aws_native/connect/get_rule.py index f391f71a31..5849db0ce5 100644 --- a/sdk/python/pulumi_aws_native/connect/get_rule.py +++ b/sdk/python/pulumi_aws_native/connect/get_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_rule(rule_arn: Optional[str] = None, publish_status=pulumi.get(__ret__, 'publish_status'), rule_arn=pulumi.get(__ret__, 'rule_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_rule) def get_rule_output(rule_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRuleResult]: """ @@ -135,4 +137,14 @@ def get_rule_output(rule_arn: Optional[pulumi.Input[str]] = None, :param str rule_arn: The Amazon Resource Name (ARN) of the rule. """ - ... + __args__ = dict() + __args__['ruleArn'] = rule_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getRule', __args__, opts=opts, typ=GetRuleResult) + return __ret__.apply(lambda __response__: GetRuleResult( + actions=pulumi.get(__response__, 'actions'), + function=pulumi.get(__response__, 'function'), + name=pulumi.get(__response__, 'name'), + publish_status=pulumi.get(__response__, 'publish_status'), + rule_arn=pulumi.get(__response__, 'rule_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_security_key.py b/sdk/python/pulumi_aws_native/connect/get_security_key.py index b4e7543df2..17f7b2996e 100644 --- a/sdk/python/pulumi_aws_native/connect/get_security_key.py +++ b/sdk/python/pulumi_aws_native/connect/get_security_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -63,9 +68,6 @@ def get_security_key(association_id: Optional[str] = None, return AwaitableGetSecurityKeyResult( association_id=pulumi.get(__ret__, 'association_id')) - - -@_utilities.lift_output_func(get_security_key) def get_security_key_output(association_id: Optional[pulumi.Input[str]] = None, instance_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityKeyResult]: @@ -80,4 +82,10 @@ def get_security_key_output(association_id: Optional[pulumi.Input[str]] = None, *Maximum* : `100` """ - ... + __args__ = dict() + __args__['associationId'] = association_id + __args__['instanceId'] = instance_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getSecurityKey', __args__, opts=opts, typ=GetSecurityKeyResult) + return __ret__.apply(lambda __response__: GetSecurityKeyResult( + association_id=pulumi.get(__response__, 'association_id'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_security_profile.py b/sdk/python/pulumi_aws_native/connect/get_security_profile.py index 8ff111b22b..a706937098 100644 --- a/sdk/python/pulumi_aws_native/connect/get_security_profile.py +++ b/sdk/python/pulumi_aws_native/connect/get_security_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -188,9 +193,6 @@ def get_security_profile(security_profile_arn: Optional[str] = None, security_profile_arn=pulumi.get(__ret__, 'security_profile_arn'), tag_restricted_resources=pulumi.get(__ret__, 'tag_restricted_resources'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_security_profile) def get_security_profile_output(security_profile_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityProfileResult]: """ @@ -199,4 +201,19 @@ def get_security_profile_output(security_profile_arn: Optional[pulumi.Input[str] :param str security_profile_arn: The Amazon Resource Name (ARN) for the security profile. """ - ... + __args__ = dict() + __args__['securityProfileArn'] = security_profile_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getSecurityProfile', __args__, opts=opts, typ=GetSecurityProfileResult) + return __ret__.apply(lambda __response__: GetSecurityProfileResult( + allowed_access_control_hierarchy_group_id=pulumi.get(__response__, 'allowed_access_control_hierarchy_group_id'), + allowed_access_control_tags=pulumi.get(__response__, 'allowed_access_control_tags'), + applications=pulumi.get(__response__, 'applications'), + description=pulumi.get(__response__, 'description'), + hierarchy_restricted_resources=pulumi.get(__response__, 'hierarchy_restricted_resources'), + last_modified_region=pulumi.get(__response__, 'last_modified_region'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'), + permissions=pulumi.get(__response__, 'permissions'), + security_profile_arn=pulumi.get(__response__, 'security_profile_arn'), + tag_restricted_resources=pulumi.get(__response__, 'tag_restricted_resources'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_task_template.py b/sdk/python/pulumi_aws_native/connect/get_task_template.py index 6c43dc4919..9a3a10dcb7 100644 --- a/sdk/python/pulumi_aws_native/connect/get_task_template.py +++ b/sdk/python/pulumi_aws_native/connect/get_task_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -189,9 +194,6 @@ def get_task_template(arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_task_template) def get_task_template_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTaskTemplateResult]: """ @@ -200,4 +202,19 @@ def get_task_template_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The identifier (arn) of the task template. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getTaskTemplate', __args__, opts=opts, typ=GetTaskTemplateResult) + return __ret__.apply(lambda __response__: GetTaskTemplateResult( + arn=pulumi.get(__response__, 'arn'), + client_token=pulumi.get(__response__, 'client_token'), + constraints=pulumi.get(__response__, 'constraints'), + contact_flow_arn=pulumi.get(__response__, 'contact_flow_arn'), + defaults=pulumi.get(__response__, 'defaults'), + description=pulumi.get(__response__, 'description'), + fields=pulumi.get(__response__, 'fields'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + name=pulumi.get(__response__, 'name'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_traffic_distribution_group.py b/sdk/python/pulumi_aws_native/connect/get_traffic_distribution_group.py index 9b9ded8f33..741fa39345 100644 --- a/sdk/python/pulumi_aws_native/connect/get_traffic_distribution_group.py +++ b/sdk/python/pulumi_aws_native/connect/get_traffic_distribution_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -110,9 +115,6 @@ def get_traffic_distribution_group(traffic_distribution_group_arn: Optional[str] status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), traffic_distribution_group_arn=pulumi.get(__ret__, 'traffic_distribution_group_arn')) - - -@_utilities.lift_output_func(get_traffic_distribution_group) def get_traffic_distribution_group_output(traffic_distribution_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTrafficDistributionGroupResult]: """ @@ -121,4 +123,13 @@ def get_traffic_distribution_group_output(traffic_distribution_group_arn: Option :param str traffic_distribution_group_arn: The identifier of the traffic distribution group. """ - ... + __args__ = dict() + __args__['trafficDistributionGroupArn'] = traffic_distribution_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getTrafficDistributionGroup', __args__, opts=opts, typ=GetTrafficDistributionGroupResult) + return __ret__.apply(lambda __response__: GetTrafficDistributionGroupResult( + instance_arn=pulumi.get(__response__, 'instance_arn'), + is_default=pulumi.get(__response__, 'is_default'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + traffic_distribution_group_arn=pulumi.get(__response__, 'traffic_distribution_group_arn'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_user.py b/sdk/python/pulumi_aws_native/connect/get_user.py index e567c2278c..cb5618a06a 100644 --- a/sdk/python/pulumi_aws_native/connect/get_user.py +++ b/sdk/python/pulumi_aws_native/connect/get_user.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -189,9 +194,6 @@ def get_user(user_arn: Optional[str] = None, user_arn=pulumi.get(__ret__, 'user_arn'), user_proficiencies=pulumi.get(__ret__, 'user_proficiencies'), username=pulumi.get(__ret__, 'username')) - - -@_utilities.lift_output_func(get_user) def get_user_output(user_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserResult]: """ @@ -200,4 +202,19 @@ def get_user_output(user_arn: Optional[pulumi.Input[str]] = None, :param str user_arn: The Amazon Resource Name (ARN) for the user. """ - ... + __args__ = dict() + __args__['userArn'] = user_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getUser', __args__, opts=opts, typ=GetUserResult) + return __ret__.apply(lambda __response__: GetUserResult( + directory_user_id=pulumi.get(__response__, 'directory_user_id'), + hierarchy_group_arn=pulumi.get(__response__, 'hierarchy_group_arn'), + identity_info=pulumi.get(__response__, 'identity_info'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + phone_config=pulumi.get(__response__, 'phone_config'), + routing_profile_arn=pulumi.get(__response__, 'routing_profile_arn'), + security_profile_arns=pulumi.get(__response__, 'security_profile_arns'), + tags=pulumi.get(__response__, 'tags'), + user_arn=pulumi.get(__response__, 'user_arn'), + user_proficiencies=pulumi.get(__response__, 'user_proficiencies'), + username=pulumi.get(__response__, 'username'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_user_hierarchy_group.py b/sdk/python/pulumi_aws_native/connect/get_user_hierarchy_group.py index a4d52b67f9..a8edfbe851 100644 --- a/sdk/python/pulumi_aws_native/connect/get_user_hierarchy_group.py +++ b/sdk/python/pulumi_aws_native/connect/get_user_hierarchy_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_user_hierarchy_group(user_hierarchy_group_arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags'), user_hierarchy_group_arn=pulumi.get(__ret__, 'user_hierarchy_group_arn')) - - -@_utilities.lift_output_func(get_user_hierarchy_group) def get_user_hierarchy_group_output(user_hierarchy_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserHierarchyGroupResult]: """ @@ -107,4 +109,12 @@ def get_user_hierarchy_group_output(user_hierarchy_group_arn: Optional[pulumi.In :param str user_hierarchy_group_arn: The Amazon Resource Name (ARN) for the user hierarchy group. """ - ... + __args__ = dict() + __args__['userHierarchyGroupArn'] = user_hierarchy_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getUserHierarchyGroup', __args__, opts=opts, typ=GetUserHierarchyGroupResult) + return __ret__.apply(lambda __response__: GetUserHierarchyGroupResult( + instance_arn=pulumi.get(__response__, 'instance_arn'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + user_hierarchy_group_arn=pulumi.get(__response__, 'user_hierarchy_group_arn'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_user_hierarchy_structure.py b/sdk/python/pulumi_aws_native/connect/get_user_hierarchy_structure.py index 79e1e1a3da..2f1e02c2bc 100644 --- a/sdk/python/pulumi_aws_native/connect/get_user_hierarchy_structure.py +++ b/sdk/python/pulumi_aws_native/connect/get_user_hierarchy_structure.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_user_hierarchy_structure(user_hierarchy_structure_arn: Optional[str] = N return AwaitableGetUserHierarchyStructureResult( user_hierarchy_structure=pulumi.get(__ret__, 'user_hierarchy_structure'), user_hierarchy_structure_arn=pulumi.get(__ret__, 'user_hierarchy_structure_arn')) - - -@_utilities.lift_output_func(get_user_hierarchy_structure) def get_user_hierarchy_structure_output(user_hierarchy_structure_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserHierarchyStructureResult]: """ @@ -81,4 +83,10 @@ def get_user_hierarchy_structure_output(user_hierarchy_structure_arn: Optional[p :param str user_hierarchy_structure_arn: The identifier of the User Hierarchy Structure. """ - ... + __args__ = dict() + __args__['userHierarchyStructureArn'] = user_hierarchy_structure_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getUserHierarchyStructure', __args__, opts=opts, typ=GetUserHierarchyStructureResult) + return __ret__.apply(lambda __response__: GetUserHierarchyStructureResult( + user_hierarchy_structure=pulumi.get(__response__, 'user_hierarchy_structure'), + user_hierarchy_structure_arn=pulumi.get(__response__, 'user_hierarchy_structure_arn'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_view.py b/sdk/python/pulumi_aws_native/connect/get_view.py index bd1d74b056..833b6268ac 100644 --- a/sdk/python/pulumi_aws_native/connect/get_view.py +++ b/sdk/python/pulumi_aws_native/connect/get_view.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -163,9 +168,6 @@ def get_view(view_arn: Optional[str] = None, view_arn=pulumi.get(__ret__, 'view_arn'), view_content_sha256=pulumi.get(__ret__, 'view_content_sha256'), view_id=pulumi.get(__ret__, 'view_id')) - - -@_utilities.lift_output_func(get_view) def get_view_output(view_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetViewResult]: """ @@ -174,4 +176,17 @@ def get_view_output(view_arn: Optional[pulumi.Input[str]] = None, :param str view_arn: The Amazon Resource Name (ARN) of the view. """ - ... + __args__ = dict() + __args__['viewArn'] = view_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getView', __args__, opts=opts, typ=GetViewResult) + return __ret__.apply(lambda __response__: GetViewResult( + actions=pulumi.get(__response__, 'actions'), + description=pulumi.get(__response__, 'description'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + template=pulumi.get(__response__, 'template'), + view_arn=pulumi.get(__response__, 'view_arn'), + view_content_sha256=pulumi.get(__response__, 'view_content_sha256'), + view_id=pulumi.get(__response__, 'view_id'))) diff --git a/sdk/python/pulumi_aws_native/connect/get_view_version.py b/sdk/python/pulumi_aws_native/connect/get_view_version.py index bd27a36db7..10b91864ac 100644 --- a/sdk/python/pulumi_aws_native/connect/get_view_version.py +++ b/sdk/python/pulumi_aws_native/connect/get_view_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_view_version(view_version_arn: Optional[str] = None, return AwaitableGetViewVersionResult( version=pulumi.get(__ret__, 'version'), view_version_arn=pulumi.get(__ret__, 'view_version_arn')) - - -@_utilities.lift_output_func(get_view_version) def get_view_version_output(view_version_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetViewVersionResult]: """ @@ -80,4 +82,10 @@ def get_view_version_output(view_version_arn: Optional[pulumi.Input[str]] = None :param str view_version_arn: The Amazon Resource Name (ARN) of the created view version. """ - ... + __args__ = dict() + __args__['viewVersionArn'] = view_version_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connect:getViewVersion', __args__, opts=opts, typ=GetViewVersionResult) + return __ret__.apply(lambda __response__: GetViewVersionResult( + version=pulumi.get(__response__, 'version'), + view_version_arn=pulumi.get(__response__, 'view_version_arn'))) diff --git a/sdk/python/pulumi_aws_native/connect/hours_of_operation.py b/sdk/python/pulumi_aws_native/connect/hours_of_operation.py index fc31c6ca26..5d6cff7a1b 100644 --- a/sdk/python/pulumi_aws_native/connect/hours_of_operation.py +++ b/sdk/python/pulumi_aws_native/connect/hours_of_operation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/connect/instance.py b/sdk/python/pulumi_aws_native/connect/instance.py index c005b9d7ff..884423f70d 100644 --- a/sdk/python/pulumi_aws_native/connect/instance.py +++ b/sdk/python/pulumi_aws_native/connect/instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/connect/instance_storage_config.py b/sdk/python/pulumi_aws_native/connect/instance_storage_config.py index 3693705a57..20f73a260c 100644 --- a/sdk/python/pulumi_aws_native/connect/instance_storage_config.py +++ b/sdk/python/pulumi_aws_native/connect/instance_storage_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/connect/integration_association.py b/sdk/python/pulumi_aws_native/connect/integration_association.py index d6f2d51687..69f210b663 100644 --- a/sdk/python/pulumi_aws_native/connect/integration_association.py +++ b/sdk/python/pulumi_aws_native/connect/integration_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/connect/outputs.py b/sdk/python/pulumi_aws_native/connect/outputs.py index 0bc95e0f4b..93fc83b80b 100644 --- a/sdk/python/pulumi_aws_native/connect/outputs.py +++ b/sdk/python/pulumi_aws_native/connect/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/connect/phone_number.py b/sdk/python/pulumi_aws_native/connect/phone_number.py index 9610e1b4c6..2067ed308a 100644 --- a/sdk/python/pulumi_aws_native/connect/phone_number.py +++ b/sdk/python/pulumi_aws_native/connect/phone_number.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/connect/predefined_attribute.py b/sdk/python/pulumi_aws_native/connect/predefined_attribute.py index 0d5a8ab6f6..b195b78215 100644 --- a/sdk/python/pulumi_aws_native/connect/predefined_attribute.py +++ b/sdk/python/pulumi_aws_native/connect/predefined_attribute.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/connect/prompt.py b/sdk/python/pulumi_aws_native/connect/prompt.py index 0ffad2030d..c4b7c8feb6 100644 --- a/sdk/python/pulumi_aws_native/connect/prompt.py +++ b/sdk/python/pulumi_aws_native/connect/prompt.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/connect/queue.py b/sdk/python/pulumi_aws_native/connect/queue.py index b4c76f450b..cf0beaf38e 100644 --- a/sdk/python/pulumi_aws_native/connect/queue.py +++ b/sdk/python/pulumi_aws_native/connect/queue.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/connect/quick_connect.py b/sdk/python/pulumi_aws_native/connect/quick_connect.py index 8baed3fc89..3a560ff903 100644 --- a/sdk/python/pulumi_aws_native/connect/quick_connect.py +++ b/sdk/python/pulumi_aws_native/connect/quick_connect.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/connect/routing_profile.py b/sdk/python/pulumi_aws_native/connect/routing_profile.py index 0477c6a50c..cf9750eede 100644 --- a/sdk/python/pulumi_aws_native/connect/routing_profile.py +++ b/sdk/python/pulumi_aws_native/connect/routing_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/connect/rule.py b/sdk/python/pulumi_aws_native/connect/rule.py index ce652e062c..7bdddb94f2 100644 --- a/sdk/python/pulumi_aws_native/connect/rule.py +++ b/sdk/python/pulumi_aws_native/connect/rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/connect/security_key.py b/sdk/python/pulumi_aws_native/connect/security_key.py index 6d77f36750..7b8cbcefe6 100644 --- a/sdk/python/pulumi_aws_native/connect/security_key.py +++ b/sdk/python/pulumi_aws_native/connect/security_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SecurityKeyArgs', 'SecurityKey'] diff --git a/sdk/python/pulumi_aws_native/connect/security_profile.py b/sdk/python/pulumi_aws_native/connect/security_profile.py index 051222635a..d051c8588d 100644 --- a/sdk/python/pulumi_aws_native/connect/security_profile.py +++ b/sdk/python/pulumi_aws_native/connect/security_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/connect/task_template.py b/sdk/python/pulumi_aws_native/connect/task_template.py index 4a3ead21cf..8e4a9239be 100644 --- a/sdk/python/pulumi_aws_native/connect/task_template.py +++ b/sdk/python/pulumi_aws_native/connect/task_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/connect/traffic_distribution_group.py b/sdk/python/pulumi_aws_native/connect/traffic_distribution_group.py index 72d7b4481b..9a19eb2cdb 100644 --- a/sdk/python/pulumi_aws_native/connect/traffic_distribution_group.py +++ b/sdk/python/pulumi_aws_native/connect/traffic_distribution_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/connect/user.py b/sdk/python/pulumi_aws_native/connect/user.py index 6a7efa62cc..3d4684def2 100644 --- a/sdk/python/pulumi_aws_native/connect/user.py +++ b/sdk/python/pulumi_aws_native/connect/user.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/connect/user_hierarchy_group.py b/sdk/python/pulumi_aws_native/connect/user_hierarchy_group.py index 64daa95c4e..a6177b304f 100644 --- a/sdk/python/pulumi_aws_native/connect/user_hierarchy_group.py +++ b/sdk/python/pulumi_aws_native/connect/user_hierarchy_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/connect/user_hierarchy_structure.py b/sdk/python/pulumi_aws_native/connect/user_hierarchy_structure.py index 566258eb0c..0de6a28937 100644 --- a/sdk/python/pulumi_aws_native/connect/user_hierarchy_structure.py +++ b/sdk/python/pulumi_aws_native/connect/user_hierarchy_structure.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/connect/view.py b/sdk/python/pulumi_aws_native/connect/view.py index f24e5cdedd..4d1287c925 100644 --- a/sdk/python/pulumi_aws_native/connect/view.py +++ b/sdk/python/pulumi_aws_native/connect/view.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/connect/view_version.py b/sdk/python/pulumi_aws_native/connect/view_version.py index c5ae94f48c..ece12bf10a 100644 --- a/sdk/python/pulumi_aws_native/connect/view_version.py +++ b/sdk/python/pulumi_aws_native/connect/view_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ViewVersionArgs', 'ViewVersion'] diff --git a/sdk/python/pulumi_aws_native/connectcampaigns/_inputs.py b/sdk/python/pulumi_aws_native/connectcampaigns/_inputs.py index 01d6b5a954..ec4e7d25f7 100644 --- a/sdk/python/pulumi_aws_native/connectcampaigns/_inputs.py +++ b/sdk/python/pulumi_aws_native/connectcampaigns/_inputs.py @@ -4,20 +4,45 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'CampaignAgentlessDialerConfigArgs', + 'CampaignAgentlessDialerConfigArgsDict', 'CampaignAnswerMachineDetectionConfigArgs', + 'CampaignAnswerMachineDetectionConfigArgsDict', 'CampaignDialerConfigArgs', + 'CampaignDialerConfigArgsDict', 'CampaignOutboundCallConfigArgs', + 'CampaignOutboundCallConfigArgsDict', 'CampaignPredictiveDialerConfigArgs', + 'CampaignPredictiveDialerConfigArgsDict', 'CampaignProgressiveDialerConfigArgs', + 'CampaignProgressiveDialerConfigArgsDict', ] +MYPY = False + +if not MYPY: + class CampaignAgentlessDialerConfigArgsDict(TypedDict): + """ + Agentless Dialer config + """ + dialing_capacity: NotRequired[pulumi.Input[float]] + """ + Allocates dialing capacity for this campaign between multiple active campaigns. + """ +elif False: + CampaignAgentlessDialerConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CampaignAgentlessDialerConfigArgs: def __init__(__self__, *, @@ -42,6 +67,22 @@ def dialing_capacity(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "dialing_capacity", value) +if not MYPY: + class CampaignAnswerMachineDetectionConfigArgsDict(TypedDict): + """ + The configuration used for answering machine detection during outbound calls + """ + enable_answer_machine_detection: pulumi.Input[bool] + """ + Flag to decided whether outbound calls should have answering machine detection enabled or not + """ + await_answer_machine_prompt: NotRequired[pulumi.Input[bool]] + """ + Enables detection of prompts (e.g., beep after after a voicemail greeting) + """ +elif False: + CampaignAnswerMachineDetectionConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CampaignAnswerMachineDetectionConfigArgs: def __init__(__self__, *, @@ -81,6 +122,26 @@ def await_answer_machine_prompt(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "await_answer_machine_prompt", value) +if not MYPY: + class CampaignDialerConfigArgsDict(TypedDict): + """ + The possible types of dialer config parameters + """ + agentless_dialer_config: NotRequired[pulumi.Input['CampaignAgentlessDialerConfigArgsDict']] + """ + The configuration of the agentless dialer. + """ + predictive_dialer_config: NotRequired[pulumi.Input['CampaignPredictiveDialerConfigArgsDict']] + """ + The configuration of the predictive dialer. + """ + progressive_dialer_config: NotRequired[pulumi.Input['CampaignProgressiveDialerConfigArgsDict']] + """ + The configuration of the progressive dialer. + """ +elif False: + CampaignDialerConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CampaignDialerConfigArgs: def __init__(__self__, *, @@ -137,6 +198,30 @@ def progressive_dialer_config(self, value: Optional[pulumi.Input['CampaignProgre pulumi.set(self, "progressive_dialer_config", value) +if not MYPY: + class CampaignOutboundCallConfigArgsDict(TypedDict): + """ + The configuration used for outbound calls. + """ + connect_contact_flow_arn: pulumi.Input[str] + """ + The identifier of the contact flow for the outbound call. + """ + answer_machine_detection_config: NotRequired[pulumi.Input['CampaignAnswerMachineDetectionConfigArgsDict']] + """ + Whether answering machine detection has been enabled. + """ + connect_queue_arn: NotRequired[pulumi.Input[str]] + """ + The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number. + """ + connect_source_phone_number: NotRequired[pulumi.Input[str]] + """ + The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue. + """ +elif False: + CampaignOutboundCallConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CampaignOutboundCallConfigArgs: def __init__(__self__, *, @@ -208,6 +293,22 @@ def connect_source_phone_number(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "connect_source_phone_number", value) +if not MYPY: + class CampaignPredictiveDialerConfigArgsDict(TypedDict): + """ + Predictive Dialer config + """ + bandwidth_allocation: pulumi.Input[float] + """ + The bandwidth allocation of a queue resource. + """ + dialing_capacity: NotRequired[pulumi.Input[float]] + """ + Allocates dialing capacity for this campaign between multiple active campaigns. + """ +elif False: + CampaignPredictiveDialerConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CampaignPredictiveDialerConfigArgs: def __init__(__self__, *, @@ -247,6 +348,22 @@ def dialing_capacity(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "dialing_capacity", value) +if not MYPY: + class CampaignProgressiveDialerConfigArgsDict(TypedDict): + """ + Progressive Dialer config + """ + bandwidth_allocation: pulumi.Input[float] + """ + The bandwidth allocation of a queue resource. + """ + dialing_capacity: NotRequired[pulumi.Input[float]] + """ + Allocates dialing capacity for this campaign between multiple active campaigns. + """ +elif False: + CampaignProgressiveDialerConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CampaignProgressiveDialerConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/connectcampaigns/campaign.py b/sdk/python/pulumi_aws_native/connectcampaigns/campaign.py index 44e6a85e13..4da2f9c810 100644 --- a/sdk/python/pulumi_aws_native/connectcampaigns/campaign.py +++ b/sdk/python/pulumi_aws_native/connectcampaigns/campaign.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/connectcampaigns/get_campaign.py b/sdk/python/pulumi_aws_native/connectcampaigns/get_campaign.py index 0fc4dbe410..d5a09b6c08 100644 --- a/sdk/python/pulumi_aws_native/connectcampaigns/get_campaign.py +++ b/sdk/python/pulumi_aws_native/connectcampaigns/get_campaign.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -110,9 +115,6 @@ def get_campaign(arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), outbound_call_config=pulumi.get(__ret__, 'outbound_call_config'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_campaign) def get_campaign_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCampaignResult]: """ @@ -121,4 +123,13 @@ def get_campaign_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Amazon Connect Campaign Arn """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:connectcampaigns:getCampaign', __args__, opts=opts, typ=GetCampaignResult) + return __ret__.apply(lambda __response__: GetCampaignResult( + arn=pulumi.get(__response__, 'arn'), + dialer_config=pulumi.get(__response__, 'dialer_config'), + name=pulumi.get(__response__, 'name'), + outbound_call_config=pulumi.get(__response__, 'outbound_call_config'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/connectcampaigns/outputs.py b/sdk/python/pulumi_aws_native/connectcampaigns/outputs.py index c12cba265c..74ed93e017 100644 --- a/sdk/python/pulumi_aws_native/connectcampaigns/outputs.py +++ b/sdk/python/pulumi_aws_native/connectcampaigns/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/controltower/_inputs.py b/sdk/python/pulumi_aws_native/controltower/_inputs.py index 5f2db60138..50d5bf77fb 100644 --- a/sdk/python/pulumi_aws_native/controltower/_inputs.py +++ b/sdk/python/pulumi_aws_native/controltower/_inputs.py @@ -4,17 +4,39 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'EnabledBaselineParameterArgs', + 'EnabledBaselineParameterArgsDict', 'EnabledControlParameterArgs', + 'EnabledControlParameterArgsDict', ] +MYPY = False + +if not MYPY: + class EnabledBaselineParameterArgsDict(TypedDict): + key: NotRequired[pulumi.Input[str]] + """ + A string denoting the parameter key. + """ + value: NotRequired[pulumi.Input[Union[str, Any, float, Sequence[pulumi.Input[Union[bool, float, Any, str]]], bool]]] + """ + A low-level `Document` object of any type (for example, a Java Object). + """ +elif False: + EnabledBaselineParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnabledBaselineParameterArgs: def __init__(__self__, *, @@ -54,6 +76,19 @@ def value(self, value: Optional[pulumi.Input[Union[str, Any, float, Sequence[pul pulumi.set(self, "value", value) +if not MYPY: + class EnabledControlParameterArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The key of a key/value pair. It is of type `string` . + """ + value: pulumi.Input[Union[Sequence[pulumi.Input[Union[str, float, Any, bool]]], str, float, Any, bool]] + """ + The value of a key/value pair. It can be of type `array` , `string` , `number` , `object` , or `boolean` . [Note: The *Type* field that follows may show a single type such as Number, which is only one possible type.] + """ +elif False: + EnabledControlParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnabledControlParameterArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/controltower/enabled_baseline.py b/sdk/python/pulumi_aws_native/controltower/enabled_baseline.py index 268201fdbe..c9ec81c526 100644 --- a/sdk/python/pulumi_aws_native/controltower/enabled_baseline.py +++ b/sdk/python/pulumi_aws_native/controltower/enabled_baseline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/controltower/enabled_control.py b/sdk/python/pulumi_aws_native/controltower/enabled_control.py index 280044a980..a357077e11 100644 --- a/sdk/python/pulumi_aws_native/controltower/enabled_control.py +++ b/sdk/python/pulumi_aws_native/controltower/enabled_control.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/controltower/get_enabled_baseline.py b/sdk/python/pulumi_aws_native/controltower/get_enabled_baseline.py index 55ab6b6ab6..3a72c148b0 100644 --- a/sdk/python/pulumi_aws_native/controltower/get_enabled_baseline.py +++ b/sdk/python/pulumi_aws_native/controltower/get_enabled_baseline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -97,9 +102,6 @@ def get_enabled_baseline(enabled_baseline_identifier: Optional[str] = None, enabled_baseline_identifier=pulumi.get(__ret__, 'enabled_baseline_identifier'), parameters=pulumi.get(__ret__, 'parameters'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_enabled_baseline) def get_enabled_baseline_output(enabled_baseline_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnabledBaselineResult]: """ @@ -108,4 +110,12 @@ def get_enabled_baseline_output(enabled_baseline_identifier: Optional[pulumi.Inp :param str enabled_baseline_identifier: The ARN of the `EnabledBaseline` resource. """ - ... + __args__ = dict() + __args__['enabledBaselineIdentifier'] = enabled_baseline_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:controltower:getEnabledBaseline', __args__, opts=opts, typ=GetEnabledBaselineResult) + return __ret__.apply(lambda __response__: GetEnabledBaselineResult( + baseline_version=pulumi.get(__response__, 'baseline_version'), + enabled_baseline_identifier=pulumi.get(__response__, 'enabled_baseline_identifier'), + parameters=pulumi.get(__response__, 'parameters'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/controltower/get_enabled_control.py b/sdk/python/pulumi_aws_native/controltower/get_enabled_control.py index e6d6aa1314..6d6003753b 100644 --- a/sdk/python/pulumi_aws_native/controltower/get_enabled_control.py +++ b/sdk/python/pulumi_aws_native/controltower/get_enabled_control.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -74,9 +79,6 @@ def get_enabled_control(control_identifier: Optional[str] = None, return AwaitableGetEnabledControlResult( parameters=pulumi.get(__ret__, 'parameters'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_enabled_control) def get_enabled_control_output(control_identifier: Optional[pulumi.Input[str]] = None, target_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnabledControlResult]: @@ -87,4 +89,11 @@ def get_enabled_control_output(control_identifier: Optional[pulumi.Input[str]] = :param str control_identifier: Arn of the control. :param str target_identifier: Arn for Organizational unit to which the control needs to be applied """ - ... + __args__ = dict() + __args__['controlIdentifier'] = control_identifier + __args__['targetIdentifier'] = target_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:controltower:getEnabledControl', __args__, opts=opts, typ=GetEnabledControlResult) + return __ret__.apply(lambda __response__: GetEnabledControlResult( + parameters=pulumi.get(__response__, 'parameters'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/controltower/get_landing_zone.py b/sdk/python/pulumi_aws_native/controltower/get_landing_zone.py index 1f3df76cda..b07e1281f4 100644 --- a/sdk/python/pulumi_aws_native/controltower/get_landing_zone.py +++ b/sdk/python/pulumi_aws_native/controltower/get_landing_zone.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -151,9 +156,6 @@ def get_landing_zone(landing_zone_identifier: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_landing_zone) def get_landing_zone_output(landing_zone_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLandingZoneResult]: """ @@ -162,4 +164,16 @@ def get_landing_zone_output(landing_zone_identifier: Optional[pulumi.Input[str]] :param str landing_zone_identifier: The unique identifier of the landing zone. """ - ... + __args__ = dict() + __args__['landingZoneIdentifier'] = landing_zone_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:controltower:getLandingZone', __args__, opts=opts, typ=GetLandingZoneResult) + return __ret__.apply(lambda __response__: GetLandingZoneResult( + arn=pulumi.get(__response__, 'arn'), + drift_status=pulumi.get(__response__, 'drift_status'), + landing_zone_identifier=pulumi.get(__response__, 'landing_zone_identifier'), + latest_available_version=pulumi.get(__response__, 'latest_available_version'), + manifest=pulumi.get(__response__, 'manifest'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/controltower/landing_zone.py b/sdk/python/pulumi_aws_native/controltower/landing_zone.py index d5204b011f..ebb7ab050f 100644 --- a/sdk/python/pulumi_aws_native/controltower/landing_zone.py +++ b/sdk/python/pulumi_aws_native/controltower/landing_zone.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/controltower/outputs.py b/sdk/python/pulumi_aws_native/controltower/outputs.py index a522251359..bdae9e1637 100644 --- a/sdk/python/pulumi_aws_native/controltower/outputs.py +++ b/sdk/python/pulumi_aws_native/controltower/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/customerprofiles/_inputs.py b/sdk/python/pulumi_aws_native/customerprofiles/_inputs.py index 30833cc25a..4a2a5210fc 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/_inputs.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/_inputs.py @@ -4,50 +4,108 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CalculatedAttributeDefinitionAttributeDetailsArgs', + 'CalculatedAttributeDefinitionAttributeDetailsArgsDict', 'CalculatedAttributeDefinitionAttributeItemArgs', + 'CalculatedAttributeDefinitionAttributeItemArgsDict', 'CalculatedAttributeDefinitionConditionsArgs', + 'CalculatedAttributeDefinitionConditionsArgsDict', 'CalculatedAttributeDefinitionRangeArgs', + 'CalculatedAttributeDefinitionRangeArgsDict', 'CalculatedAttributeDefinitionThresholdArgs', + 'CalculatedAttributeDefinitionThresholdArgsDict', 'DomainAttributeTypesSelectorArgs', + 'DomainAttributeTypesSelectorArgsDict', 'DomainAutoMergingArgs', + 'DomainAutoMergingArgsDict', 'DomainConflictResolutionArgs', + 'DomainConflictResolutionArgsDict', 'DomainConsolidationArgs', + 'DomainConsolidationArgsDict', 'DomainExportingConfigArgs', + 'DomainExportingConfigArgsDict', 'DomainJobScheduleArgs', + 'DomainJobScheduleArgsDict', 'DomainMatchingRuleArgs', + 'DomainMatchingRuleArgsDict', 'DomainMatchingArgs', + 'DomainMatchingArgsDict', 'DomainRuleBasedMatchingArgs', + 'DomainRuleBasedMatchingArgsDict', 'DomainS3ExportingConfigArgs', + 'DomainS3ExportingConfigArgsDict', 'IntegrationConnectorOperatorArgs', + 'IntegrationConnectorOperatorArgsDict', 'IntegrationFlowDefinitionArgs', + 'IntegrationFlowDefinitionArgsDict', 'IntegrationIncrementalPullConfigArgs', + 'IntegrationIncrementalPullConfigArgsDict', 'IntegrationMarketoSourcePropertiesArgs', + 'IntegrationMarketoSourcePropertiesArgsDict', 'IntegrationObjectTypeMappingArgs', + 'IntegrationObjectTypeMappingArgsDict', 'IntegrationS3SourcePropertiesArgs', + 'IntegrationS3SourcePropertiesArgsDict', 'IntegrationSalesforceSourcePropertiesArgs', + 'IntegrationSalesforceSourcePropertiesArgsDict', 'IntegrationScheduledTriggerPropertiesArgs', + 'IntegrationScheduledTriggerPropertiesArgsDict', 'IntegrationServiceNowSourcePropertiesArgs', + 'IntegrationServiceNowSourcePropertiesArgsDict', 'IntegrationSourceConnectorPropertiesArgs', + 'IntegrationSourceConnectorPropertiesArgsDict', 'IntegrationSourceFlowConfigArgs', + 'IntegrationSourceFlowConfigArgsDict', 'IntegrationTaskPropertiesMapArgs', + 'IntegrationTaskPropertiesMapArgsDict', 'IntegrationTaskArgs', + 'IntegrationTaskArgsDict', 'IntegrationTriggerConfigArgs', + 'IntegrationTriggerConfigArgsDict', 'IntegrationTriggerPropertiesArgs', + 'IntegrationTriggerPropertiesArgsDict', 'IntegrationZendeskSourcePropertiesArgs', + 'IntegrationZendeskSourcePropertiesArgsDict', 'ObjectTypeFieldMapArgs', + 'ObjectTypeFieldMapArgsDict', 'ObjectTypeFieldArgs', + 'ObjectTypeFieldArgsDict', 'ObjectTypeKeyMapArgs', + 'ObjectTypeKeyMapArgsDict', 'ObjectTypeKeyArgs', + 'ObjectTypeKeyArgsDict', ] +MYPY = False + +if not MYPY: + class CalculatedAttributeDefinitionAttributeDetailsArgsDict(TypedDict): + """ + Mathematical expression and a list of attribute items specified in that expression. + """ + attributes: pulumi.Input[Sequence[pulumi.Input['CalculatedAttributeDefinitionAttributeItemArgsDict']]] + """ + Mathematical expression and a list of attribute items specified in that expression. + """ + expression: pulumi.Input[str] + """ + Mathematical expression that is performed on attribute items provided in the attribute list. Each element in the expression should follow the structure of \\"{ObjectTypeName.AttributeName}\\". + """ +elif False: + CalculatedAttributeDefinitionAttributeDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CalculatedAttributeDefinitionAttributeDetailsArgs: def __init__(__self__, *, @@ -86,6 +144,15 @@ def expression(self, value: pulumi.Input[str]): pulumi.set(self, "expression", value) +if not MYPY: + class CalculatedAttributeDefinitionAttributeItemArgsDict(TypedDict): + """ + The details of a single attribute item specified in the mathematical expression. + """ + name: pulumi.Input[str] +elif False: + CalculatedAttributeDefinitionAttributeItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CalculatedAttributeDefinitionAttributeItemArgs: def __init__(__self__, *, @@ -105,6 +172,26 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class CalculatedAttributeDefinitionConditionsArgsDict(TypedDict): + """ + The conditions including range, object count, and threshold for the calculated attribute. + """ + object_count: NotRequired[pulumi.Input[int]] + """ + The number of profile objects used for the calculated attribute. + """ + range: NotRequired[pulumi.Input['CalculatedAttributeDefinitionRangeArgsDict']] + """ + The relative time period over which data is included in the aggregation. + """ + threshold: NotRequired[pulumi.Input['CalculatedAttributeDefinitionThresholdArgsDict']] + """ + The threshold for the calculated attribute. + """ +elif False: + CalculatedAttributeDefinitionConditionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CalculatedAttributeDefinitionConditionsArgs: def __init__(__self__, *, @@ -161,6 +248,22 @@ def threshold(self, value: Optional[pulumi.Input['CalculatedAttributeDefinitionT pulumi.set(self, "threshold", value) +if not MYPY: + class CalculatedAttributeDefinitionRangeArgsDict(TypedDict): + """ + The relative time period over which data is included in the aggregation. + """ + unit: pulumi.Input['CalculatedAttributeDefinitionRangeUnit'] + """ + The unit of time. + """ + value: pulumi.Input[int] + """ + The amount of time of the specified unit. + """ +elif False: + CalculatedAttributeDefinitionRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CalculatedAttributeDefinitionRangeArgs: def __init__(__self__, *, @@ -199,6 +302,22 @@ def value(self, value: pulumi.Input[int]): pulumi.set(self, "value", value) +if not MYPY: + class CalculatedAttributeDefinitionThresholdArgsDict(TypedDict): + """ + The threshold for the calculated attribute. + """ + operator: pulumi.Input['CalculatedAttributeDefinitionThresholdOperator'] + """ + The operator of the threshold. + """ + value: pulumi.Input[str] + """ + The value of the threshold. + """ +elif False: + CalculatedAttributeDefinitionThresholdArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CalculatedAttributeDefinitionThresholdArgs: def __init__(__self__, *, @@ -237,6 +356,30 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class DomainAttributeTypesSelectorArgsDict(TypedDict): + """ + Configures information about the AttributeTypesSelector where the rule-based identity resolution uses to match profiles. + """ + attribute_matching_model: pulumi.Input['DomainAttributeTypesSelectorAttributeMatchingModel'] + """ + Configures the AttributeMatchingModel, you can either choose ONE_TO_ONE or MANY_TO_MANY. + """ + address: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The Address type. You can choose from Address, BusinessAddress, MaillingAddress, and ShippingAddress. You only can use the Address type in the MatchingRule. For example, if you want to match profile based on BusinessAddress.City or MaillingAddress.City, you need to choose the BusinessAddress and the MaillingAddress to represent the Address type and specify the Address.City on the matching rule. + """ + email_address: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The Email type. You can choose from EmailAddress, BusinessEmailAddress and PersonalEmailAddress. You only can use the EmailAddress type in the MatchingRule. For example, if you want to match profile based on PersonalEmailAddress or BusinessEmailAddress, you need to choose the PersonalEmailAddress and the BusinessEmailAddress to represent the EmailAddress type and only specify the EmailAddress on the matching rule. + """ + phone_number: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The PhoneNumber type. You can choose from PhoneNumber, HomePhoneNumber, and MobilePhoneNumber. You only can use the PhoneNumber type in the MatchingRule. For example, if you want to match a profile based on Phone or HomePhone, you need to choose the Phone and the HomePhone to represent the PhoneNumber type and only specify the PhoneNumber on the matching rule. + """ +elif False: + DomainAttributeTypesSelectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainAttributeTypesSelectorArgs: def __init__(__self__, *, @@ -308,6 +451,30 @@ def phone_number(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]] pulumi.set(self, "phone_number", value) +if not MYPY: + class DomainAutoMergingArgsDict(TypedDict): + """ + Configuration information about the auto-merging process. + """ + enabled: pulumi.Input[bool] + """ + The flag that enables the auto-merging of duplicate profiles. + """ + conflict_resolution: NotRequired[pulumi.Input['DomainConflictResolutionArgsDict']] + """ + Determines how the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same `FirstName` and `LastName` , `ConflictResolution` specifies which `EmailAddress` should be used. + """ + consolidation: NotRequired[pulumi.Input['DomainConsolidationArgsDict']] + """ + A list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged. + """ + min_allowed_confidence_score_for_merging: NotRequired[pulumi.Input[float]] + """ + A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles. + """ +elif False: + DomainAutoMergingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainAutoMergingArgs: def __init__(__self__, *, @@ -379,6 +546,22 @@ def min_allowed_confidence_score_for_merging(self, value: Optional[pulumi.Input[ pulumi.set(self, "min_allowed_confidence_score_for_merging", value) +if not MYPY: + class DomainConflictResolutionArgsDict(TypedDict): + """ + How the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same FirstName and LastName (and that is the matching criteria), which EmailAddress should be used? + """ + conflict_resolving_model: pulumi.Input['DomainConflictResolutionConflictResolvingModel'] + """ + How the auto-merging process should resolve conflicts between different profiles. + """ + source_name: NotRequired[pulumi.Input[str]] + """ + The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel. + """ +elif False: + DomainConflictResolutionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainConflictResolutionArgs: def __init__(__self__, *, @@ -418,6 +601,18 @@ def source_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_name", value) +if not MYPY: + class DomainConsolidationArgsDict(TypedDict): + """ + A list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged. + """ + matching_attributes_list: pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input[str]]]]] + """ + A list of matching criteria. + """ +elif False: + DomainConsolidationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainConsolidationArgs: def __init__(__self__, *, @@ -441,6 +636,15 @@ def matching_attributes_list(self, value: pulumi.Input[Sequence[pulumi.Input[Seq pulumi.set(self, "matching_attributes_list", value) +if not MYPY: + class DomainExportingConfigArgsDict(TypedDict): + """ + Configuration information for exporting Identity Resolution results, for example, to an S3 bucket. + """ + s3_exporting: NotRequired[pulumi.Input['DomainS3ExportingConfigArgsDict']] +elif False: + DomainExportingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainExportingConfigArgs: def __init__(__self__, *, @@ -461,6 +665,22 @@ def s3_exporting(self, value: Optional[pulumi.Input['DomainS3ExportingConfigArgs pulumi.set(self, "s3_exporting", value) +if not MYPY: + class DomainJobScheduleArgsDict(TypedDict): + """ + The day and time when do you want to start the Identity Resolution Job every week. + """ + day_of_the_week: pulumi.Input['DomainJobScheduleDayOfTheWeek'] + """ + The day when the Identity Resolution Job should run every week. + """ + time: pulumi.Input[str] + """ + The time when the Identity Resolution Job should run every week. + """ +elif False: + DomainJobScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainJobScheduleArgs: def __init__(__self__, *, @@ -499,6 +719,18 @@ def time(self, value: pulumi.Input[str]): pulumi.set(self, "time", value) +if not MYPY: + class DomainMatchingRuleArgsDict(TypedDict): + """ + Specifies how does the rule-based matching process should match profiles. + """ + rule: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A single rule level of the `MatchRules` . Configures how the rule-based matching process should match profiles. + """ +elif False: + DomainMatchingRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainMatchingRuleArgs: def __init__(__self__, *, @@ -522,6 +754,30 @@ def rule(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "rule", value) +if not MYPY: + class DomainMatchingArgsDict(TypedDict): + """ + The process of matching duplicate profiles. If Matching = true, Amazon Connect Customer Profiles starts a weekly batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every Saturday at 12AM UTC to detect duplicate profiles in your domains. After the Identity Resolution Job completes, use the GetMatches API to return and review the results. Or, if you have configured ExportingConfig in the MatchingRequest, you can download the results from S3. + """ + enabled: pulumi.Input[bool] + """ + The flag that enables the matching process of duplicate profiles. + """ + auto_merging: NotRequired[pulumi.Input['DomainAutoMergingArgsDict']] + """ + Configuration information about the auto-merging process. + """ + exporting_config: NotRequired[pulumi.Input['DomainExportingConfigArgsDict']] + """ + The S3 location where Identity Resolution Jobs write result files. + """ + job_schedule: NotRequired[pulumi.Input['DomainJobScheduleArgsDict']] + """ + The day and time when do you want to start the Identity Resolution Job every week. + """ +elif False: + DomainMatchingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainMatchingArgs: def __init__(__self__, *, @@ -593,6 +849,46 @@ def job_schedule(self, value: Optional[pulumi.Input['DomainJobScheduleArgs']]): pulumi.set(self, "job_schedule", value) +if not MYPY: + class DomainRuleBasedMatchingArgsDict(TypedDict): + """ + The process of matching duplicate profiles using the Rule-Based matching. If RuleBasedMatching = true, Amazon Connect Customer Profiles will start to match and merge your profiles according to your configuration in the RuleBasedMatchingRequest. You can use the ListRuleBasedMatches and GetSimilarProfiles API to return and review the results. Also, if you have configured ExportingConfig in the RuleBasedMatchingRequest, you can download the results from S3. + """ + enabled: pulumi.Input[bool] + """ + The flag that enables the rule-based matching process of duplicate profiles. + """ + attribute_types_selector: NotRequired[pulumi.Input['DomainAttributeTypesSelectorArgsDict']] + """ + Configures information about the `AttributeTypesSelector` where the rule-based identity resolution uses to match profiles. + """ + conflict_resolution: NotRequired[pulumi.Input['DomainConflictResolutionArgsDict']] + """ + Determines how the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same `FirstName` and `LastName` , `ConflictResolution` specifies which `EmailAddress` should be used. + """ + exporting_config: NotRequired[pulumi.Input['DomainExportingConfigArgsDict']] + """ + The S3 location where Identity Resolution Jobs write result files. + """ + matching_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['DomainMatchingRuleArgsDict']]]] + """ + Configures how the rule-based matching process should match profiles. You can have up to 15 MatchingRule in the MatchingRules. + """ + max_allowed_rule_level_for_matching: NotRequired[pulumi.Input[int]] + """ + Indicates the maximum allowed rule level for matching. + """ + max_allowed_rule_level_for_merging: NotRequired[pulumi.Input[int]] + """ + Indicates the maximum allowed rule level for merging. + """ + status: NotRequired[pulumi.Input['DomainRuleBasedMatchingStatus']] + """ + The status of rule-based matching rule. + """ +elif False: + DomainRuleBasedMatchingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainRuleBasedMatchingArgs: def __init__(__self__, *, @@ -728,6 +1024,22 @@ def status(self, value: Optional[pulumi.Input['DomainRuleBasedMatchingStatus']]) pulumi.set(self, "status", value) +if not MYPY: + class DomainS3ExportingConfigArgsDict(TypedDict): + """ + The S3 location where Identity Resolution Jobs write result files. + """ + s3_bucket_name: pulumi.Input[str] + """ + The name of the S3 bucket where Identity Resolution Jobs write result files. + """ + s3_key_name: NotRequired[pulumi.Input[str]] + """ + The S3 key name of the location where Identity Resolution Jobs write result files. + """ +elif False: + DomainS3ExportingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainS3ExportingConfigArgs: def __init__(__self__, *, @@ -767,6 +1079,31 @@ def s3_key_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_key_name", value) +if not MYPY: + class IntegrationConnectorOperatorArgsDict(TypedDict): + marketo: NotRequired[pulumi.Input['IntegrationMarketoConnectorOperator']] + """ + The operation to be performed on the provided Marketo source fields. + """ + s3: NotRequired[pulumi.Input['IntegrationS3ConnectorOperator']] + """ + The operation to be performed on the provided Amazon S3 source fields. + """ + salesforce: NotRequired[pulumi.Input['IntegrationSalesforceConnectorOperator']] + """ + The operation to be performed on the provided Salesforce source fields. + """ + service_now: NotRequired[pulumi.Input['IntegrationServiceNowConnectorOperator']] + """ + The operation to be performed on the provided ServiceNow source fields. + """ + zendesk: NotRequired[pulumi.Input['IntegrationZendeskConnectorOperator']] + """ + The operation to be performed on the provided Zendesk source fields. + """ +elif False: + IntegrationConnectorOperatorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationConnectorOperatorArgs: def __init__(__self__, *, @@ -854,6 +1191,35 @@ def zendesk(self, value: Optional[pulumi.Input['IntegrationZendeskConnectorOpera pulumi.set(self, "zendesk", value) +if not MYPY: + class IntegrationFlowDefinitionArgsDict(TypedDict): + flow_name: pulumi.Input[str] + """ + The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed. + """ + kms_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key you provide for encryption. + """ + source_flow_config: pulumi.Input['IntegrationSourceFlowConfigArgsDict'] + """ + The configuration that controls how Customer Profiles retrieves data from the source. + """ + tasks: pulumi.Input[Sequence[pulumi.Input['IntegrationTaskArgsDict']]] + """ + A list of tasks that Customer Profiles performs while transferring the data in the flow run. + """ + trigger_config: pulumi.Input['IntegrationTriggerConfigArgsDict'] + """ + The trigger settings that determine how and when the flow runs. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description of the flow you want to create. + """ +elif False: + IntegrationFlowDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationFlowDefinitionArgs: def __init__(__self__, *, @@ -952,6 +1318,15 @@ def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) +if not MYPY: + class IntegrationIncrementalPullConfigArgsDict(TypedDict): + datetime_type_field_name: NotRequired[pulumi.Input[str]] + """ + A field that specifies the date time or timestamp field as the criteria to use when importing incremental records from the source. + """ +elif False: + IntegrationIncrementalPullConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationIncrementalPullConfigArgs: def __init__(__self__, *, @@ -975,6 +1350,15 @@ def datetime_type_field_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "datetime_type_field_name", value) +if not MYPY: + class IntegrationMarketoSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Marketo flow source. + """ +elif False: + IntegrationMarketoSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationMarketoSourcePropertiesArgs: def __init__(__self__, *, @@ -997,6 +1381,19 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class IntegrationObjectTypeMappingArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The key. + """ + value: pulumi.Input[str] + """ + The value. + """ +elif False: + IntegrationObjectTypeMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationObjectTypeMappingArgs: def __init__(__self__, *, @@ -1034,6 +1431,19 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class IntegrationS3SourcePropertiesArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + """ + The Amazon S3 bucket name where the source files are stored. + """ + bucket_prefix: NotRequired[pulumi.Input[str]] + """ + The object key for the Amazon S3 bucket in which the source files are stored. + """ +elif False: + IntegrationS3SourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationS3SourcePropertiesArgs: def __init__(__self__, *, @@ -1072,6 +1482,23 @@ def bucket_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "bucket_prefix", value) +if not MYPY: + class IntegrationSalesforceSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Salesforce flow source. + """ + enable_dynamic_field_update: NotRequired[pulumi.Input[bool]] + """ + The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow. + """ + include_deleted_records: NotRequired[pulumi.Input[bool]] + """ + Indicates whether Amazon AppFlow includes deleted files in the flow run. + """ +elif False: + IntegrationSalesforceSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationSalesforceSourcePropertiesArgs: def __init__(__self__, *, @@ -1126,6 +1553,39 @@ def include_deleted_records(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "include_deleted_records", value) +if not MYPY: + class IntegrationScheduledTriggerPropertiesArgsDict(TypedDict): + schedule_expression: pulumi.Input[str] + """ + The scheduling expression that determines the rate at which the schedule will run, for example rate (5 minutes). + """ + data_pull_mode: NotRequired[pulumi.Input['IntegrationScheduledTriggerPropertiesDataPullMode']] + """ + Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run. + """ + first_execution_from: NotRequired[pulumi.Input[float]] + """ + Specifies the date range for the records to import from the connector in the first flow run. + """ + schedule_end_time: NotRequired[pulumi.Input[float]] + """ + Specifies the scheduled end time for a scheduled-trigger flow. + """ + schedule_offset: NotRequired[pulumi.Input[int]] + """ + Specifies the optional offset that is added to the time interval for a schedule-triggered flow. + """ + schedule_start_time: NotRequired[pulumi.Input[float]] + """ + Specifies the scheduled start time for a scheduled-trigger flow. + """ + timezone: NotRequired[pulumi.Input[str]] + """ + Specifies the time zone used when referring to the date and time of a scheduled-triggered flow, such as America/New_York. + """ +elif False: + IntegrationScheduledTriggerPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationScheduledTriggerPropertiesArgs: def __init__(__self__, *, @@ -1244,6 +1704,15 @@ def timezone(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "timezone", value) +if not MYPY: + class IntegrationServiceNowSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the ServiceNow flow source. + """ +elif False: + IntegrationServiceNowSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationServiceNowSourcePropertiesArgs: def __init__(__self__, *, @@ -1266,6 +1735,31 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class IntegrationSourceConnectorPropertiesArgsDict(TypedDict): + marketo: NotRequired[pulumi.Input['IntegrationMarketoSourcePropertiesArgsDict']] + """ + The properties that are applied when Marketo is being used as a source. + """ + s3: NotRequired[pulumi.Input['IntegrationS3SourcePropertiesArgsDict']] + """ + The properties that are applied when Amazon S3 is being used as the flow source. + """ + salesforce: NotRequired[pulumi.Input['IntegrationSalesforceSourcePropertiesArgsDict']] + """ + The properties that are applied when Salesforce is being used as a source. + """ + service_now: NotRequired[pulumi.Input['IntegrationServiceNowSourcePropertiesArgsDict']] + """ + The properties that are applied when ServiceNow is being used as a source. + """ + zendesk: NotRequired[pulumi.Input['IntegrationZendeskSourcePropertiesArgsDict']] + """ + The properties that are applied when using Zendesk as a flow source. + """ +elif False: + IntegrationSourceConnectorPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationSourceConnectorPropertiesArgs: def __init__(__self__, *, @@ -1353,6 +1847,27 @@ def zendesk(self, value: Optional[pulumi.Input['IntegrationZendeskSourceProperti pulumi.set(self, "zendesk", value) +if not MYPY: + class IntegrationSourceFlowConfigArgsDict(TypedDict): + connector_type: pulumi.Input['IntegrationConnectorType'] + """ + The type of connector, such as Salesforce, Marketo, and so on. + """ + source_connector_properties: pulumi.Input['IntegrationSourceConnectorPropertiesArgsDict'] + """ + Specifies the information that is required to query a particular source connector. + """ + connector_profile_name: NotRequired[pulumi.Input[str]] + """ + The name of the Amazon AppFlow connector profile. This name must be unique for each connector profile in the AWS account . + """ + incremental_pull_config: NotRequired[pulumi.Input['IntegrationIncrementalPullConfigArgsDict']] + """ + Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull. + """ +elif False: + IntegrationSourceFlowConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationSourceFlowConfigArgs: def __init__(__self__, *, @@ -1422,6 +1937,19 @@ def incremental_pull_config(self, value: Optional[pulumi.Input['IntegrationIncre pulumi.set(self, "incremental_pull_config", value) +if not MYPY: + class IntegrationTaskPropertiesMapArgsDict(TypedDict): + operator_property_key: pulumi.Input['IntegrationOperatorPropertiesKeys'] + """ + The task property key. + """ + property: pulumi.Input[str] + """ + The task property value. + """ +elif False: + IntegrationTaskPropertiesMapArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationTaskPropertiesMapArgs: def __init__(__self__, *, @@ -1459,6 +1987,31 @@ def property(self, value: pulumi.Input[str]): pulumi.set(self, "property", value) +if not MYPY: + class IntegrationTaskArgsDict(TypedDict): + source_fields: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The source fields to which a particular task is applied. + """ + task_type: pulumi.Input['IntegrationTaskType'] + """ + Specifies the particular task implementation that Amazon AppFlow performs. + """ + connector_operator: NotRequired[pulumi.Input['IntegrationConnectorOperatorArgsDict']] + """ + The operation to be performed on the provided source fields. + """ + destination_field: NotRequired[pulumi.Input[str]] + """ + A field in a destination connector, or a field value against which Amazon AppFlow validates a source field. + """ + task_properties: NotRequired[pulumi.Input[Sequence[pulumi.Input['IntegrationTaskPropertiesMapArgsDict']]]] + """ + A map used to store task-related information. The service looks for particular information based on the TaskType. + """ +elif False: + IntegrationTaskArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationTaskArgs: def __init__(__self__, *, @@ -1544,6 +2097,19 @@ def task_properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['In pulumi.set(self, "task_properties", value) +if not MYPY: + class IntegrationTriggerConfigArgsDict(TypedDict): + trigger_type: pulumi.Input['IntegrationTriggerType'] + """ + Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event. + """ + trigger_properties: NotRequired[pulumi.Input['IntegrationTriggerPropertiesArgsDict']] + """ + Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type. + """ +elif False: + IntegrationTriggerConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationTriggerConfigArgs: def __init__(__self__, *, @@ -1582,6 +2148,15 @@ def trigger_properties(self, value: Optional[pulumi.Input['IntegrationTriggerPro pulumi.set(self, "trigger_properties", value) +if not MYPY: + class IntegrationTriggerPropertiesArgsDict(TypedDict): + scheduled: NotRequired[pulumi.Input['IntegrationScheduledTriggerPropertiesArgsDict']] + """ + Specifies the configuration details of a schedule-triggered flow that you define. + """ +elif False: + IntegrationTriggerPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationTriggerPropertiesArgs: def __init__(__self__, *, @@ -1605,6 +2180,15 @@ def scheduled(self, value: Optional[pulumi.Input['IntegrationScheduledTriggerPro pulumi.set(self, "scheduled", value) +if not MYPY: + class IntegrationZendeskSourcePropertiesArgsDict(TypedDict): + object: pulumi.Input[str] + """ + The object specified in the Zendesk flow source. + """ +elif False: + IntegrationZendeskSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IntegrationZendeskSourcePropertiesArgs: def __init__(__self__, *, @@ -1627,6 +2211,19 @@ def object(self, value: pulumi.Input[str]): pulumi.set(self, "object", value) +if not MYPY: + class ObjectTypeFieldMapArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + Name of the field. + """ + object_type_field: NotRequired[pulumi.Input['ObjectTypeFieldArgsDict']] + """ + Represents a field in a ProfileObjectType. + """ +elif False: + ObjectTypeFieldMapArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ObjectTypeFieldMapArgs: def __init__(__self__, *, @@ -1666,6 +2263,26 @@ def object_type_field(self, value: Optional[pulumi.Input['ObjectTypeFieldArgs']] pulumi.set(self, "object_type_field", value) +if not MYPY: + class ObjectTypeFieldArgsDict(TypedDict): + """ + Represents a field in a ProfileObjectType. + """ + content_type: NotRequired[pulumi.Input['ObjectTypeFieldContentType']] + """ + The content type of the field. Used for determining equality when searching. + """ + source: NotRequired[pulumi.Input[str]] + """ + A field of a ProfileObject. For example: _source.FirstName, where "_source" is a ProfileObjectType of a Zendesk user and "FirstName" is a field in that ObjectType. + """ + target: NotRequired[pulumi.Input[str]] + """ + The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode. + """ +elif False: + ObjectTypeFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ObjectTypeFieldArgs: def __init__(__self__, *, @@ -1722,6 +2339,19 @@ def target(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target", value) +if not MYPY: + class ObjectTypeKeyMapArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + Name of the key. + """ + object_type_key_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['ObjectTypeKeyArgsDict']]]] + """ + A list of ObjectTypeKey. + """ +elif False: + ObjectTypeKeyMapArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ObjectTypeKeyMapArgs: def __init__(__self__, *, @@ -1761,6 +2391,22 @@ def object_type_key_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "object_type_key_list", value) +if not MYPY: + class ObjectTypeKeyArgsDict(TypedDict): + """ + An object that defines the Key element of a ProfileObject. A Key is a special element that can be used to search for a customer profile. + """ + field_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The reference for the key name of the fields map. + """ + standard_identifiers: NotRequired[pulumi.Input[Sequence[pulumi.Input['ObjectTypeKeyStandardIdentifiersItem']]]] + """ + The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE means that this key can be used to tie an object to a PROFILE. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles. + """ +elif False: + ObjectTypeKeyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ObjectTypeKeyArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/customerprofiles/calculated_attribute_definition.py b/sdk/python/pulumi_aws_native/customerprofiles/calculated_attribute_definition.py index fa18d8a2a3..f9c3bacb35 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/calculated_attribute_definition.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/calculated_attribute_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/customerprofiles/domain.py b/sdk/python/pulumi_aws_native/customerprofiles/domain.py index 5fde981039..b9a99523ad 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/domain.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/customerprofiles/event_stream.py b/sdk/python/pulumi_aws_native/customerprofiles/event_stream.py index c2958a23ac..3db280c32a 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/event_stream.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/event_stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/customerprofiles/get_calculated_attribute_definition.py b/sdk/python/pulumi_aws_native/customerprofiles/get_calculated_attribute_definition.py index 1ca4e438f4..aa1877eb79 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/get_calculated_attribute_definition.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/get_calculated_attribute_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -153,9 +158,6 @@ def get_calculated_attribute_definition(calculated_attribute_name: Optional[str] last_updated_at=pulumi.get(__ret__, 'last_updated_at'), statistic=pulumi.get(__ret__, 'statistic'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_calculated_attribute_definition) def get_calculated_attribute_definition_output(calculated_attribute_name: Optional[pulumi.Input[str]] = None, domain_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCalculatedAttributeDefinitionResult]: @@ -166,4 +168,17 @@ def get_calculated_attribute_definition_output(calculated_attribute_name: Option :param str calculated_attribute_name: The name of an attribute defined in a profile object type. :param str domain_name: The unique name of the domain. """ - ... + __args__ = dict() + __args__['calculatedAttributeName'] = calculated_attribute_name + __args__['domainName'] = domain_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:customerprofiles:getCalculatedAttributeDefinition', __args__, opts=opts, typ=GetCalculatedAttributeDefinitionResult) + return __ret__.apply(lambda __response__: GetCalculatedAttributeDefinitionResult( + attribute_details=pulumi.get(__response__, 'attribute_details'), + conditions=pulumi.get(__response__, 'conditions'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + last_updated_at=pulumi.get(__response__, 'last_updated_at'), + statistic=pulumi.get(__response__, 'statistic'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/customerprofiles/get_domain.py b/sdk/python/pulumi_aws_native/customerprofiles/get_domain.py index 3d02d1c066..723e2bbffb 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/get_domain.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/get_domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -160,9 +165,6 @@ def get_domain(domain_name: Optional[str] = None, rule_based_matching=pulumi.get(__ret__, 'rule_based_matching'), stats=pulumi.get(__ret__, 'stats'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_domain) def get_domain_output(domain_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainResult]: """ @@ -171,4 +173,17 @@ def get_domain_output(domain_name: Optional[pulumi.Input[str]] = None, :param str domain_name: The unique name of the domain. """ - ... + __args__ = dict() + __args__['domainName'] = domain_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:customerprofiles:getDomain', __args__, opts=opts, typ=GetDomainResult) + return __ret__.apply(lambda __response__: GetDomainResult( + created_at=pulumi.get(__response__, 'created_at'), + dead_letter_queue_url=pulumi.get(__response__, 'dead_letter_queue_url'), + default_encryption_key=pulumi.get(__response__, 'default_encryption_key'), + default_expiration_days=pulumi.get(__response__, 'default_expiration_days'), + last_updated_at=pulumi.get(__response__, 'last_updated_at'), + matching=pulumi.get(__response__, 'matching'), + rule_based_matching=pulumi.get(__response__, 'rule_based_matching'), + stats=pulumi.get(__response__, 'stats'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/customerprofiles/get_event_stream.py b/sdk/python/pulumi_aws_native/customerprofiles/get_event_stream.py index ad003f7ff7..f49b9c0e8b 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/get_event_stream.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/get_event_stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -114,9 +119,6 @@ def get_event_stream(domain_name: Optional[str] = None, event_stream_arn=pulumi.get(__ret__, 'event_stream_arn'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_event_stream) def get_event_stream_output(domain_name: Optional[pulumi.Input[str]] = None, event_stream_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventStreamResult]: @@ -127,4 +129,14 @@ def get_event_stream_output(domain_name: Optional[pulumi.Input[str]] = None, :param str domain_name: The unique name of the domain. :param str event_stream_name: The name of the event stream. """ - ... + __args__ = dict() + __args__['domainName'] = domain_name + __args__['eventStreamName'] = event_stream_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:customerprofiles:getEventStream', __args__, opts=opts, typ=GetEventStreamResult) + return __ret__.apply(lambda __response__: GetEventStreamResult( + created_at=pulumi.get(__response__, 'created_at'), + destination_details=pulumi.get(__response__, 'destination_details'), + event_stream_arn=pulumi.get(__response__, 'event_stream_arn'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/customerprofiles/get_integration.py b/sdk/python/pulumi_aws_native/customerprofiles/get_integration.py index eee32496b8..d8189d30d1 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/get_integration.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/get_integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -113,9 +118,6 @@ def get_integration(domain_name: Optional[str] = None, object_type_name=pulumi.get(__ret__, 'object_type_name'), object_type_names=pulumi.get(__ret__, 'object_type_names'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_integration) def get_integration_output(domain_name: Optional[pulumi.Input[str]] = None, uri: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIntegrationResult]: @@ -126,4 +128,14 @@ def get_integration_output(domain_name: Optional[pulumi.Input[str]] = None, :param str domain_name: The unique name of the domain. :param str uri: The URI of the S3 bucket or any other type of data source. """ - ... + __args__ = dict() + __args__['domainName'] = domain_name + __args__['uri'] = uri + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:customerprofiles:getIntegration', __args__, opts=opts, typ=GetIntegrationResult) + return __ret__.apply(lambda __response__: GetIntegrationResult( + created_at=pulumi.get(__response__, 'created_at'), + last_updated_at=pulumi.get(__response__, 'last_updated_at'), + object_type_name=pulumi.get(__response__, 'object_type_name'), + object_type_names=pulumi.get(__response__, 'object_type_names'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/customerprofiles/get_object_type.py b/sdk/python/pulumi_aws_native/customerprofiles/get_object_type.py index 7c598e06b9..93e341370a 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/get_object_type.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/get_object_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -192,9 +197,6 @@ def get_object_type(domain_name: Optional[str] = None, source_last_updated_timestamp_format=pulumi.get(__ret__, 'source_last_updated_timestamp_format'), tags=pulumi.get(__ret__, 'tags'), template_id=pulumi.get(__ret__, 'template_id')) - - -@_utilities.lift_output_func(get_object_type) def get_object_type_output(domain_name: Optional[pulumi.Input[str]] = None, object_type_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetObjectTypeResult]: @@ -205,4 +207,20 @@ def get_object_type_output(domain_name: Optional[pulumi.Input[str]] = None, :param str domain_name: The unique name of the domain. :param str object_type_name: The name of the profile object type. """ - ... + __args__ = dict() + __args__['domainName'] = domain_name + __args__['objectTypeName'] = object_type_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:customerprofiles:getObjectType', __args__, opts=opts, typ=GetObjectTypeResult) + return __ret__.apply(lambda __response__: GetObjectTypeResult( + allow_profile_creation=pulumi.get(__response__, 'allow_profile_creation'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + encryption_key=pulumi.get(__response__, 'encryption_key'), + expiration_days=pulumi.get(__response__, 'expiration_days'), + fields=pulumi.get(__response__, 'fields'), + keys=pulumi.get(__response__, 'keys'), + last_updated_at=pulumi.get(__response__, 'last_updated_at'), + source_last_updated_timestamp_format=pulumi.get(__response__, 'source_last_updated_timestamp_format'), + tags=pulumi.get(__response__, 'tags'), + template_id=pulumi.get(__response__, 'template_id'))) diff --git a/sdk/python/pulumi_aws_native/customerprofiles/integration.py b/sdk/python/pulumi_aws_native/customerprofiles/integration.py index f7e289264b..3e7adb8c3c 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/integration.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/customerprofiles/object_type.py b/sdk/python/pulumi_aws_native/customerprofiles/object_type.py index 0651f1b3f4..997ea0868b 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/object_type.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/object_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/customerprofiles/outputs.py b/sdk/python/pulumi_aws_native/customerprofiles/outputs.py index 723402794a..2f5bc3e24d 100644 --- a/sdk/python/pulumi_aws_native/customerprofiles/outputs.py +++ b/sdk/python/pulumi_aws_native/customerprofiles/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/databrew/_inputs.py b/sdk/python/pulumi_aws_native/databrew/_inputs.py index f101ad9ceb..5a517c1e28 100644 --- a/sdk/python/pulumi_aws_native/databrew/_inputs.py +++ b/sdk/python/pulumi_aws_native/databrew/_inputs.py @@ -4,63 +4,134 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DatasetCsvOptionsArgs', + 'DatasetCsvOptionsArgsDict', 'DatasetDataCatalogInputDefinitionArgs', + 'DatasetDataCatalogInputDefinitionArgsDict', 'DatasetDatabaseInputDefinitionArgs', + 'DatasetDatabaseInputDefinitionArgsDict', 'DatasetDatetimeOptionsArgs', + 'DatasetDatetimeOptionsArgsDict', 'DatasetExcelOptionsArgs', + 'DatasetExcelOptionsArgsDict', 'DatasetFilesLimitArgs', + 'DatasetFilesLimitArgsDict', 'DatasetFilterExpressionArgs', + 'DatasetFilterExpressionArgsDict', 'DatasetFilterValueArgs', + 'DatasetFilterValueArgsDict', 'DatasetFormatOptionsArgs', + 'DatasetFormatOptionsArgsDict', 'DatasetInputArgs', + 'DatasetInputArgsDict', 'DatasetJsonOptionsArgs', + 'DatasetJsonOptionsArgsDict', 'DatasetMetadataArgs', + 'DatasetMetadataArgsDict', 'DatasetParameterArgs', + 'DatasetParameterArgsDict', 'DatasetPathOptionsArgs', + 'DatasetPathOptionsArgsDict', 'DatasetPathParameterArgs', + 'DatasetPathParameterArgsDict', 'DatasetS3LocationArgs', + 'DatasetS3LocationArgsDict', 'JobAllowedStatisticsArgs', + 'JobAllowedStatisticsArgsDict', 'JobColumnSelectorArgs', + 'JobColumnSelectorArgsDict', 'JobColumnStatisticsConfigurationArgs', + 'JobColumnStatisticsConfigurationArgsDict', 'JobCsvOutputOptionsArgs', + 'JobCsvOutputOptionsArgsDict', 'JobDataCatalogOutputArgs', + 'JobDataCatalogOutputArgsDict', 'JobDatabaseOutputArgs', + 'JobDatabaseOutputArgsDict', 'JobDatabaseTableOutputOptionsArgs', + 'JobDatabaseTableOutputOptionsArgsDict', 'JobEntityDetectorConfigurationArgs', + 'JobEntityDetectorConfigurationArgsDict', 'JobOutputFormatOptionsArgs', + 'JobOutputFormatOptionsArgsDict', 'JobOutputLocationArgs', + 'JobOutputLocationArgsDict', 'JobOutputArgs', + 'JobOutputArgsDict', 'JobProfileConfigurationArgs', + 'JobProfileConfigurationArgsDict', 'JobRecipeArgs', + 'JobRecipeArgsDict', 'JobS3LocationArgs', + 'JobS3LocationArgsDict', 'JobS3TableOutputOptionsArgs', + 'JobS3TableOutputOptionsArgsDict', 'JobSampleArgs', + 'JobSampleArgsDict', 'JobStatisticOverrideArgs', + 'JobStatisticOverrideArgsDict', 'JobStatisticsConfigurationArgs', + 'JobStatisticsConfigurationArgsDict', 'JobValidationConfigurationArgs', + 'JobValidationConfigurationArgsDict', 'ProjectSampleArgs', + 'ProjectSampleArgsDict', 'RecipeActionArgs', + 'RecipeActionArgsDict', 'RecipeConditionExpressionArgs', + 'RecipeConditionExpressionArgsDict', 'RecipeDataCatalogInputDefinitionArgs', + 'RecipeDataCatalogInputDefinitionArgsDict', 'RecipeParametersInputPropertiesArgs', + 'RecipeParametersInputPropertiesArgsDict', 'RecipeParametersArgs', + 'RecipeParametersArgsDict', 'RecipeS3LocationArgs', + 'RecipeS3LocationArgsDict', 'RecipeSecondaryInputArgs', + 'RecipeSecondaryInputArgsDict', 'RecipeStepArgs', + 'RecipeStepArgsDict', 'RulesetColumnSelectorArgs', + 'RulesetColumnSelectorArgsDict', 'RulesetRuleArgs', + 'RulesetRuleArgsDict', 'RulesetSubstitutionValueArgs', + 'RulesetSubstitutionValueArgsDict', 'RulesetThresholdArgs', + 'RulesetThresholdArgsDict', ] +MYPY = False + +if not MYPY: + class DatasetCsvOptionsArgsDict(TypedDict): + """ + Csv options + """ + delimiter: NotRequired[pulumi.Input[str]] + """ + A single character that specifies the delimiter being used in the CSV file. + """ + header_row: NotRequired[pulumi.Input[bool]] + """ + A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated. + """ +elif False: + DatasetCsvOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetCsvOptionsArgs: def __init__(__self__, *, @@ -101,6 +172,27 @@ def header_row(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "header_row", value) +if not MYPY: + class DatasetDataCatalogInputDefinitionArgsDict(TypedDict): + catalog_id: NotRequired[pulumi.Input[str]] + """ + Catalog id + """ + database_name: NotRequired[pulumi.Input[str]] + """ + Database name + """ + table_name: NotRequired[pulumi.Input[str]] + """ + Table name + """ + temp_directory: NotRequired[pulumi.Input['DatasetS3LocationArgsDict']] + """ + An Amazon location that AWS Glue Data Catalog can use as a temporary directory. + """ +elif False: + DatasetDataCatalogInputDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetDataCatalogInputDefinitionArgs: def __init__(__self__, *, @@ -172,6 +264,27 @@ def temp_directory(self, value: Optional[pulumi.Input['DatasetS3LocationArgs']]) pulumi.set(self, "temp_directory", value) +if not MYPY: + class DatasetDatabaseInputDefinitionArgsDict(TypedDict): + glue_connection_name: pulumi.Input[str] + """ + Glue connection name + """ + database_table_name: NotRequired[pulumi.Input[str]] + """ + Database table name + """ + query_string: NotRequired[pulumi.Input[str]] + """ + Custom SQL to run against the provided AWS Glue connection. This SQL will be used as the input for DataBrew projects and jobs. + """ + temp_directory: NotRequired[pulumi.Input['DatasetS3LocationArgsDict']] + """ + An Amazon location that AWS Glue Data Catalog can use as a temporary directory. + """ +elif False: + DatasetDatabaseInputDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetDatabaseInputDefinitionArgs: def __init__(__self__, *, @@ -242,6 +355,23 @@ def temp_directory(self, value: Optional[pulumi.Input['DatasetS3LocationArgs']]) pulumi.set(self, "temp_directory", value) +if not MYPY: + class DatasetDatetimeOptionsArgsDict(TypedDict): + format: pulumi.Input[str] + """ + Date/time format of a date parameter + """ + locale_code: NotRequired[pulumi.Input[str]] + """ + Locale code for a date parameter + """ + timezone_offset: NotRequired[pulumi.Input[str]] + """ + Timezone offset + """ +elif False: + DatasetDatetimeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetDatetimeOptionsArgs: def __init__(__self__, *, @@ -296,6 +426,23 @@ def timezone_offset(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "timezone_offset", value) +if not MYPY: + class DatasetExcelOptionsArgsDict(TypedDict): + header_row: NotRequired[pulumi.Input[bool]] + """ + A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated. + """ + sheet_indexes: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + """ + One or more sheet numbers in the Excel file that will be included in the dataset. + """ + sheet_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + One or more named sheets in the Excel file that will be included in the dataset. + """ +elif False: + DatasetExcelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetExcelOptionsArgs: def __init__(__self__, *, @@ -351,6 +498,23 @@ def sheet_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "sheet_names", value) +if not MYPY: + class DatasetFilesLimitArgsDict(TypedDict): + max_files: pulumi.Input[int] + """ + Maximum number of files + """ + order: NotRequired[pulumi.Input['DatasetFilesLimitOrder']] + """ + Order + """ + ordered_by: NotRequired[pulumi.Input['DatasetFilesLimitOrderedBy']] + """ + Ordered by + """ +elif False: + DatasetFilesLimitArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetFilesLimitArgs: def __init__(__self__, *, @@ -405,6 +569,19 @@ def ordered_by(self, value: Optional[pulumi.Input['DatasetFilesLimitOrderedBy']] pulumi.set(self, "ordered_by", value) +if not MYPY: + class DatasetFilterExpressionArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + Filtering expression for a parameter + """ + values_map: pulumi.Input[Sequence[pulumi.Input['DatasetFilterValueArgsDict']]] + """ + The map of substitution variable names to their values used in this filter expression. + """ +elif False: + DatasetFilterExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetFilterExpressionArgs: def __init__(__self__, *, @@ -442,6 +619,22 @@ def values_map(self, value: pulumi.Input[Sequence[pulumi.Input['DatasetFilterVal pulumi.set(self, "values_map", value) +if not MYPY: + class DatasetFilterValueArgsDict(TypedDict): + """ + A key-value pair to associate expression variable names with their values + """ + value: pulumi.Input[str] + """ + The value to be associated with the substitution variable. + """ + value_reference: pulumi.Input[str] + """ + Variable name + """ +elif False: + DatasetFilterValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetFilterValueArgs: def __init__(__self__, *, @@ -480,6 +673,26 @@ def value_reference(self, value: pulumi.Input[str]): pulumi.set(self, "value_reference", value) +if not MYPY: + class DatasetFormatOptionsArgsDict(TypedDict): + """ + Format options for dataset + """ + csv: NotRequired[pulumi.Input['DatasetCsvOptionsArgsDict']] + """ + Options that define how CSV input is to be interpreted by DataBrew. + """ + excel: NotRequired[pulumi.Input['DatasetExcelOptionsArgsDict']] + """ + Options that define how Excel input is to be interpreted by DataBrew. + """ + json: NotRequired[pulumi.Input['DatasetJsonOptionsArgsDict']] + """ + Options that define how JSON input is to be interpreted by DataBrew. + """ +elif False: + DatasetFormatOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetFormatOptionsArgs: def __init__(__self__, *, @@ -536,6 +749,30 @@ def json(self, value: Optional[pulumi.Input['DatasetJsonOptionsArgs']]): pulumi.set(self, "json", value) +if not MYPY: + class DatasetInputArgsDict(TypedDict): + """ + Input + """ + data_catalog_input_definition: NotRequired[pulumi.Input['DatasetDataCatalogInputDefinitionArgsDict']] + """ + The AWS Glue Data Catalog parameters for the data. + """ + database_input_definition: NotRequired[pulumi.Input['DatasetDatabaseInputDefinitionArgsDict']] + """ + Connection information for dataset input files stored in a database. + """ + metadata: NotRequired[pulumi.Input['DatasetMetadataArgsDict']] + """ + Contains additional resource information needed for specific datasets. + """ + s3_input_definition: NotRequired[pulumi.Input['DatasetS3LocationArgsDict']] + """ + The Amazon S3 location where the data is stored. + """ +elif False: + DatasetInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetInputArgs: def __init__(__self__, *, @@ -608,6 +845,18 @@ def s3_input_definition(self, value: Optional[pulumi.Input['DatasetS3LocationArg pulumi.set(self, "s3_input_definition", value) +if not MYPY: + class DatasetJsonOptionsArgsDict(TypedDict): + """ + Json options + """ + multi_line: NotRequired[pulumi.Input[bool]] + """ + A value that specifies whether JSON input contains embedded new line characters. + """ +elif False: + DatasetJsonOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetJsonOptionsArgs: def __init__(__self__, *, @@ -632,6 +881,15 @@ def multi_line(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "multi_line", value) +if not MYPY: + class DatasetMetadataArgsDict(TypedDict): + source_arn: NotRequired[pulumi.Input[str]] + """ + Arn of the source of the dataset. For e.g.: AppFlow Flow ARN. + """ +elif False: + DatasetMetadataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetMetadataArgs: def __init__(__self__, *, @@ -655,6 +913,31 @@ def source_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_arn", value) +if not MYPY: + class DatasetParameterArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is used in the dataset's Amazon S3 path. + """ + type: pulumi.Input['DatasetParameterType'] + """ + Parameter type + """ + create_column: NotRequired[pulumi.Input[bool]] + """ + Add the value of this parameter as a column in a dataset. + """ + datetime_options: NotRequired[pulumi.Input['DatasetDatetimeOptionsArgsDict']] + """ + Additional parameter options such as a format and a timezone. Required for datetime parameters. + """ + filter: NotRequired[pulumi.Input['DatasetFilterExpressionArgsDict']] + """ + The optional filter expression structure to apply additional matching criteria to the parameter. + """ +elif False: + DatasetParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetParameterArgs: def __init__(__self__, *, @@ -740,6 +1023,26 @@ def filter(self, value: Optional[pulumi.Input['DatasetFilterExpressionArgs']]): pulumi.set(self, "filter", value) +if not MYPY: + class DatasetPathOptionsArgsDict(TypedDict): + """ + Path options for dataset + """ + files_limit: NotRequired[pulumi.Input['DatasetFilesLimitArgsDict']] + """ + If provided, this structure imposes a limit on a number of files that should be selected. + """ + last_modified_date_condition: NotRequired[pulumi.Input['DatasetFilterExpressionArgsDict']] + """ + If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3 . + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DatasetPathParameterArgsDict']]]] + """ + A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions. + """ +elif False: + DatasetPathOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetPathOptionsArgs: def __init__(__self__, *, @@ -796,6 +1099,22 @@ def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dataset pulumi.set(self, "parameters", value) +if not MYPY: + class DatasetPathParameterArgsDict(TypedDict): + """ + A key-value pair to associate dataset parameter name with its definition. + """ + dataset_parameter: pulumi.Input['DatasetParameterArgsDict'] + """ + The path parameter definition. + """ + path_parameter_name: pulumi.Input[str] + """ + The name of the path parameter. + """ +elif False: + DatasetPathParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetPathParameterArgs: def __init__(__self__, *, @@ -834,6 +1153,22 @@ def path_parameter_name(self, value: pulumi.Input[str]): pulumi.set(self, "path_parameter_name", value) +if not MYPY: + class DatasetS3LocationArgsDict(TypedDict): + """ + Input location + """ + bucket: pulumi.Input[str] + """ + The Amazon S3 bucket name. + """ + key: NotRequired[pulumi.Input[str]] + """ + The unique name of the object in the bucket. + """ +elif False: + DatasetS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetS3LocationArgs: def __init__(__self__, *, @@ -873,6 +1208,15 @@ def key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key", value) +if not MYPY: + class JobAllowedStatisticsArgsDict(TypedDict): + statistics: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + One or more column statistics to allow for columns that contain detected entities. + """ +elif False: + JobAllowedStatisticsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobAllowedStatisticsArgs: def __init__(__self__, *, @@ -895,6 +1239,19 @@ def statistics(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "statistics", value) +if not MYPY: + class JobColumnSelectorArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The name of a column from a dataset. + """ + regex: NotRequired[pulumi.Input[str]] + """ + A regular expression for selecting a column from a dataset. + """ +elif False: + JobColumnSelectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobColumnSelectorArgs: def __init__(__self__, *, @@ -934,6 +1291,19 @@ def regex(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "regex", value) +if not MYPY: + class JobColumnStatisticsConfigurationArgsDict(TypedDict): + statistics: pulumi.Input['JobStatisticsConfigurationArgsDict'] + """ + Configuration for evaluations. Statistics can be used to select evaluations and override parameters of evaluations. + """ + selectors: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobColumnSelectorArgsDict']]]] + """ + List of column selectors. Selectors can be used to select columns from the dataset. When selectors are undefined, configuration will be applied to all supported columns. + """ +elif False: + JobColumnStatisticsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobColumnStatisticsConfigurationArgs: def __init__(__self__, *, @@ -972,6 +1342,18 @@ def selectors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobColum pulumi.set(self, "selectors", value) +if not MYPY: + class JobCsvOutputOptionsArgsDict(TypedDict): + """ + Output Csv options + """ + delimiter: NotRequired[pulumi.Input[str]] + """ + A single character that specifies the delimiter used to create CSV job output. + """ +elif False: + JobCsvOutputOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobCsvOutputOptionsArgs: def __init__(__self__, *, @@ -996,6 +1378,35 @@ def delimiter(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "delimiter", value) +if not MYPY: + class JobDataCatalogOutputArgsDict(TypedDict): + database_name: pulumi.Input[str] + """ + The name of a database in the Data Catalog. + """ + table_name: pulumi.Input[str] + """ + The name of a table in the Data Catalog. + """ + catalog_id: NotRequired[pulumi.Input[str]] + """ + The unique identifier of the AWS account that holds the Data Catalog that stores the data. + """ + database_options: NotRequired[pulumi.Input['JobDatabaseTableOutputOptionsArgsDict']] + """ + Represents options that specify how and where DataBrew writes the database output generated by recipe jobs. + """ + overwrite: NotRequired[pulumi.Input[bool]] + """ + A value that, if true, means that any data in the location specified for output is overwritten with new output. Not supported with DatabaseOptions. + """ + s3_options: NotRequired[pulumi.Input['JobS3TableOutputOptionsArgsDict']] + """ + Represents options that specify how and where DataBrew writes the Amazon S3 output generated by recipe jobs. + """ +elif False: + JobDataCatalogOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDataCatalogOutputArgs: def __init__(__self__, *, @@ -1097,6 +1508,23 @@ def s3_options(self, value: Optional[pulumi.Input['JobS3TableOutputOptionsArgs'] pulumi.set(self, "s3_options", value) +if not MYPY: + class JobDatabaseOutputArgsDict(TypedDict): + database_options: pulumi.Input['JobDatabaseTableOutputOptionsArgsDict'] + """ + Represents options that specify how and where DataBrew writes the database output generated by recipe jobs. + """ + glue_connection_name: pulumi.Input[str] + """ + Glue connection name + """ + database_output_mode: NotRequired[pulumi.Input['JobDatabaseOutputDatabaseOutputMode']] + """ + Database table name + """ +elif False: + JobDatabaseOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDatabaseOutputArgs: def __init__(__self__, *, @@ -1150,6 +1578,19 @@ def database_output_mode(self, value: Optional[pulumi.Input['JobDatabaseOutputDa pulumi.set(self, "database_output_mode", value) +if not MYPY: + class JobDatabaseTableOutputOptionsArgsDict(TypedDict): + table_name: pulumi.Input[str] + """ + A prefix for the name of a table DataBrew will create in the database. + """ + temp_directory: NotRequired[pulumi.Input['JobS3LocationArgsDict']] + """ + Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results. + """ +elif False: + JobDatabaseTableOutputOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobDatabaseTableOutputOptionsArgs: def __init__(__self__, *, @@ -1188,6 +1629,41 @@ def temp_directory(self, value: Optional[pulumi.Input['JobS3LocationArgs']]): pulumi.set(self, "temp_directory", value) +if not MYPY: + class JobEntityDetectorConfigurationArgsDict(TypedDict): + entity_types: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Entity types to detect. Can be any of the following: + + - USA_SSN + - EMAIL + - USA_ITIN + - USA_PASSPORT_NUMBER + - PHONE_NUMBER + - USA_DRIVING_LICENSE + - BANK_ACCOUNT + - CREDIT_CARD + - IP_ADDRESS + - MAC_ADDRESS + - USA_DEA_NUMBER + - USA_HCPCS_CODE + - USA_NATIONAL_PROVIDER_IDENTIFIER + - USA_NATIONAL_DRUG_CODE + - USA_HEALTH_INSURANCE_CLAIM_NUMBER + - USA_MEDICARE_BENEFICIARY_IDENTIFIER + - USA_CPT_CODE + - PERSON_NAME + - DATE + + The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE. + """ + allowed_statistics: NotRequired[pulumi.Input['JobAllowedStatisticsArgsDict']] + """ + Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities. + """ +elif False: + JobEntityDetectorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobEntityDetectorConfigurationArgs: def __init__(__self__, *, @@ -1270,6 +1746,18 @@ def allowed_statistics(self, value: Optional[pulumi.Input['JobAllowedStatisticsA pulumi.set(self, "allowed_statistics", value) +if not MYPY: + class JobOutputFormatOptionsArgsDict(TypedDict): + """ + Format options for job Output + """ + csv: NotRequired[pulumi.Input['JobCsvOutputOptionsArgsDict']] + """ + Represents a set of options that define the structure of comma-separated value (CSV) job output. + """ +elif False: + JobOutputFormatOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobOutputFormatOptionsArgs: def __init__(__self__, *, @@ -1294,6 +1782,23 @@ def csv(self, value: Optional[pulumi.Input['JobCsvOutputOptionsArgs']]): pulumi.set(self, "csv", value) +if not MYPY: + class JobOutputLocationArgsDict(TypedDict): + """ + Output location + """ + bucket: pulumi.Input[str] + """ + The Amazon S3 bucket name. + """ + bucket_owner: NotRequired[pulumi.Input[str]] + key: NotRequired[pulumi.Input[str]] + """ + The unique name of the object in the bucket. + """ +elif False: + JobOutputLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobOutputLocationArgs: def __init__(__self__, *, @@ -1345,6 +1850,39 @@ def key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key", value) +if not MYPY: + class JobOutputArgsDict(TypedDict): + location: pulumi.Input['JobS3LocationArgsDict'] + """ + The location in Amazon S3 where the job writes its output. + """ + compression_format: NotRequired[pulumi.Input['JobOutputCompressionFormat']] + """ + The compression algorithm used to compress the output text of the job. + """ + format: NotRequired[pulumi.Input['JobOutputFormat']] + """ + The data format of the output of the job. + """ + format_options: NotRequired[pulumi.Input['JobOutputFormatOptionsArgsDict']] + """ + Represents options that define how DataBrew formats job output files. + """ + max_output_files: NotRequired[pulumi.Input[int]] + """ + The maximum number of files to be generated by the job and written to the output folder. + """ + overwrite: NotRequired[pulumi.Input[bool]] + """ + A value that, if true, means that any data in the location specified for output is overwritten with new output. + """ + partition_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The names of one or more partition columns for the output of the job. + """ +elif False: + JobOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobOutputArgs: def __init__(__self__, *, @@ -1463,6 +2001,27 @@ def partition_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[s pulumi.set(self, "partition_columns", value) +if not MYPY: + class JobProfileConfigurationArgsDict(TypedDict): + column_statistics_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobColumnStatisticsConfigurationArgsDict']]]] + """ + List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations. + """ + dataset_statistics_configuration: NotRequired[pulumi.Input['JobStatisticsConfigurationArgsDict']] + """ + Configuration for inter-column evaluations. Configuration can be used to select evaluations and override parameters of evaluations. When configuration is undefined, the profile job will run all supported inter-column evaluations. + """ + entity_detector_configuration: NotRequired[pulumi.Input['JobEntityDetectorConfigurationArgsDict']] + """ + Configuration of entity detection for a profile job. When undefined, entity detection is disabled. + """ + profile_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobColumnSelectorArgsDict']]]] + """ + List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns. + """ +elif False: + JobProfileConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobProfileConfigurationArgs: def __init__(__self__, *, @@ -1534,6 +2093,19 @@ def profile_columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Jo pulumi.set(self, "profile_columns", value) +if not MYPY: + class JobRecipeArgsDict(TypedDict): + name: pulumi.Input[str] + """ + Recipe name + """ + version: NotRequired[pulumi.Input[str]] + """ + Recipe version + """ +elif False: + JobRecipeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobRecipeArgs: def __init__(__self__, *, @@ -1572,6 +2144,26 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class JobS3LocationArgsDict(TypedDict): + """ + S3 Output location + """ + bucket: pulumi.Input[str] + """ + The Amazon S3 bucket name. + """ + bucket_owner: NotRequired[pulumi.Input[str]] + """ + The AWS account ID of the bucket owner. + """ + key: NotRequired[pulumi.Input[str]] + """ + The unique name of the object in the bucket. + """ +elif False: + JobS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobS3LocationArgs: def __init__(__self__, *, @@ -1627,6 +2219,15 @@ def key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key", value) +if not MYPY: + class JobS3TableOutputOptionsArgsDict(TypedDict): + location: pulumi.Input['JobS3LocationArgsDict'] + """ + Represents an Amazon S3 location (bucket name and object key) where DataBrew can write output from a job. + """ +elif False: + JobS3TableOutputOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobS3TableOutputOptionsArgs: def __init__(__self__, *, @@ -1649,6 +2250,27 @@ def location(self, value: pulumi.Input['JobS3LocationArgs']): pulumi.set(self, "location", value) +if not MYPY: + class JobSampleArgsDict(TypedDict): + """ + Job Sample + """ + mode: NotRequired[pulumi.Input['JobSampleMode']] + """ + A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following: + + - FULL_DATASET - The profile job is run on the entire dataset. + - CUSTOM_ROWS - The profile job is run on the number of rows specified in the `Size` parameter. + """ + size: NotRequired[pulumi.Input[int]] + """ + The `Size` parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on the specified number of rows. The maximum value for size is Long.MAX_VALUE. + + Long.MAX_VALUE = 9223372036854775807 + """ +elif False: + JobSampleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobSampleArgs: def __init__(__self__, *, @@ -1699,6 +2321,19 @@ def size(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "size", value) +if not MYPY: + class JobStatisticOverrideArgsDict(TypedDict): + parameters: pulumi.Input[Mapping[str, pulumi.Input[str]]] + """ + A map that includes overrides of an evaluation’s parameters. + """ + statistic: pulumi.Input[str] + """ + The name of an evaluation + """ +elif False: + JobStatisticOverrideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobStatisticOverrideArgs: def __init__(__self__, *, @@ -1736,6 +2371,19 @@ def statistic(self, value: pulumi.Input[str]): pulumi.set(self, "statistic", value) +if not MYPY: + class JobStatisticsConfigurationArgsDict(TypedDict): + included_statistics: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of included evaluations. When the list is undefined, all supported evaluations will be included. + """ + overrides: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobStatisticOverrideArgsDict']]]] + """ + List of overrides for evaluations. + """ +elif False: + JobStatisticsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobStatisticsConfigurationArgs: def __init__(__self__, *, @@ -1775,6 +2423,22 @@ def overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobStati pulumi.set(self, "overrides", value) +if not MYPY: + class JobValidationConfigurationArgsDict(TypedDict): + """ + Configuration to attach Rulesets to the job + """ + ruleset_arn: pulumi.Input[str] + """ + Arn of the Ruleset + """ + validation_mode: NotRequired[pulumi.Input['JobValidationMode']] + """ + Mode of data quality validation. Default mode is "CHECK_ALL" which verifies all rules defined in the selected ruleset. + """ +elif False: + JobValidationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobValidationConfigurationArgs: def __init__(__self__, *, @@ -1814,6 +2478,19 @@ def validation_mode(self, value: Optional[pulumi.Input['JobValidationMode']]): pulumi.set(self, "validation_mode", value) +if not MYPY: + class ProjectSampleArgsDict(TypedDict): + type: pulumi.Input['ProjectSampleType'] + """ + Sample type + """ + size: NotRequired[pulumi.Input[int]] + """ + Sample size + """ +elif False: + ProjectSampleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProjectSampleArgs: def __init__(__self__, *, @@ -1852,6 +2529,19 @@ def size(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "size", value) +if not MYPY: + class RecipeActionArgsDict(TypedDict): + operation: pulumi.Input[str] + """ + Step action operation + """ + parameters: NotRequired[pulumi.Input[Union['RecipeParametersArgsDict', Mapping[str, pulumi.Input[str]]]]] + """ + Contextual parameters for the transformation. + """ +elif False: + RecipeActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecipeActionArgs: def __init__(__self__, *, @@ -1890,6 +2580,26 @@ def parameters(self, value: Optional[pulumi.Input[Union['RecipeParametersArgs', pulumi.set(self, "parameters", value) +if not MYPY: + class RecipeConditionExpressionArgsDict(TypedDict): + """ + Condition expressions applied to the step action + """ + condition: pulumi.Input[str] + """ + Input condition to be applied to the target column + """ + target_column: pulumi.Input[str] + """ + Name of the target column + """ + value: NotRequired[pulumi.Input[str]] + """ + Value of the condition + """ +elif False: + RecipeConditionExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecipeConditionExpressionArgs: def __init__(__self__, *, @@ -1944,6 +2654,24 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class RecipeDataCatalogInputDefinitionArgsDict(TypedDict): + catalog_id: NotRequired[pulumi.Input[str]] + """ + Catalog id + """ + database_name: NotRequired[pulumi.Input[str]] + """ + Database name + """ + table_name: NotRequired[pulumi.Input[str]] + """ + Table name + """ + temp_directory: NotRequired[pulumi.Input['RecipeS3LocationArgsDict']] +elif False: + RecipeDataCatalogInputDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecipeDataCatalogInputDefinitionArgs: def __init__(__self__, *, @@ -2011,6 +2739,16 @@ def temp_directory(self, value: Optional[pulumi.Input['RecipeS3LocationArgs']]): pulumi.set(self, "temp_directory", value) +if not MYPY: + class RecipeParametersInputPropertiesArgsDict(TypedDict): + """ + Input + """ + data_catalog_input_definition: NotRequired[pulumi.Input['RecipeDataCatalogInputDefinitionArgsDict']] + s3_input_definition: NotRequired[pulumi.Input['RecipeS3LocationArgsDict']] +elif False: + RecipeParametersInputPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecipeParametersInputPropertiesArgs: def __init__(__self__, *, @@ -2043,6 +2781,115 @@ def s3_input_definition(self, value: Optional[pulumi.Input['RecipeS3LocationArgs pulumi.set(self, "s3_input_definition", value) +if not MYPY: + class RecipeParametersArgsDict(TypedDict): + aggregate_function: NotRequired[pulumi.Input[str]] + base: NotRequired[pulumi.Input[str]] + case_statement: NotRequired[pulumi.Input[str]] + category_map: NotRequired[pulumi.Input[str]] + chars_to_remove: NotRequired[pulumi.Input[str]] + collapse_consecutive_whitespace: NotRequired[pulumi.Input[str]] + column_data_type: NotRequired[pulumi.Input[str]] + column_range: NotRequired[pulumi.Input[str]] + count: NotRequired[pulumi.Input[str]] + custom_characters: NotRequired[pulumi.Input[str]] + custom_stop_words: NotRequired[pulumi.Input[str]] + custom_value: NotRequired[pulumi.Input[str]] + datasets_columns: NotRequired[pulumi.Input[str]] + date_add_value: NotRequired[pulumi.Input[str]] + date_time_format: NotRequired[pulumi.Input[str]] + date_time_parameters: NotRequired[pulumi.Input[str]] + delete_other_rows: NotRequired[pulumi.Input[str]] + delimiter: NotRequired[pulumi.Input[str]] + end_pattern: NotRequired[pulumi.Input[str]] + end_position: NotRequired[pulumi.Input[str]] + end_value: NotRequired[pulumi.Input[str]] + expand_contractions: NotRequired[pulumi.Input[str]] + exponent: NotRequired[pulumi.Input[str]] + false_string: NotRequired[pulumi.Input[str]] + group_by_agg_function_options: NotRequired[pulumi.Input[str]] + group_by_columns: NotRequired[pulumi.Input[str]] + hidden_columns: NotRequired[pulumi.Input[str]] + ignore_case: NotRequired[pulumi.Input[str]] + include_in_split: NotRequired[pulumi.Input[str]] + input: NotRequired[pulumi.Input['RecipeParametersInputPropertiesArgsDict']] + """ + Input + """ + interval: NotRequired[pulumi.Input[str]] + is_text: NotRequired[pulumi.Input[str]] + join_keys: NotRequired[pulumi.Input[str]] + join_type: NotRequired[pulumi.Input[str]] + left_columns: NotRequired[pulumi.Input[str]] + limit: NotRequired[pulumi.Input[str]] + lower_bound: NotRequired[pulumi.Input[str]] + map_type: NotRequired[pulumi.Input[str]] + mode_type: NotRequired[pulumi.Input[str]] + multi_line: NotRequired[pulumi.Input[bool]] + num_rows: NotRequired[pulumi.Input[str]] + num_rows_after: NotRequired[pulumi.Input[str]] + num_rows_before: NotRequired[pulumi.Input[str]] + order_by_column: NotRequired[pulumi.Input[str]] + order_by_columns: NotRequired[pulumi.Input[str]] + other: NotRequired[pulumi.Input[str]] + pattern: NotRequired[pulumi.Input[str]] + pattern_option1: NotRequired[pulumi.Input[str]] + pattern_option2: NotRequired[pulumi.Input[str]] + pattern_options: NotRequired[pulumi.Input[str]] + period: NotRequired[pulumi.Input[str]] + position: NotRequired[pulumi.Input[str]] + remove_all_punctuation: NotRequired[pulumi.Input[str]] + remove_all_quotes: NotRequired[pulumi.Input[str]] + remove_all_whitespace: NotRequired[pulumi.Input[str]] + remove_custom_characters: NotRequired[pulumi.Input[str]] + remove_custom_value: NotRequired[pulumi.Input[str]] + remove_leading_and_trailing_punctuation: NotRequired[pulumi.Input[str]] + remove_leading_and_trailing_quotes: NotRequired[pulumi.Input[str]] + remove_leading_and_trailing_whitespace: NotRequired[pulumi.Input[str]] + remove_letters: NotRequired[pulumi.Input[str]] + remove_numbers: NotRequired[pulumi.Input[str]] + remove_source_column: NotRequired[pulumi.Input[str]] + remove_special_characters: NotRequired[pulumi.Input[str]] + right_columns: NotRequired[pulumi.Input[str]] + sample_size: NotRequired[pulumi.Input[str]] + sample_type: NotRequired[pulumi.Input[str]] + second_input: NotRequired[pulumi.Input[str]] + secondary_inputs: NotRequired[pulumi.Input[Sequence[pulumi.Input['RecipeSecondaryInputArgsDict']]]] + sheet_indexes: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + sheet_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + source_column: NotRequired[pulumi.Input[str]] + source_column1: NotRequired[pulumi.Input[str]] + source_column2: NotRequired[pulumi.Input[str]] + source_columns: NotRequired[pulumi.Input[str]] + start_column_index: NotRequired[pulumi.Input[str]] + start_pattern: NotRequired[pulumi.Input[str]] + start_position: NotRequired[pulumi.Input[str]] + start_value: NotRequired[pulumi.Input[str]] + stemming_mode: NotRequired[pulumi.Input[str]] + step_count: NotRequired[pulumi.Input[str]] + step_index: NotRequired[pulumi.Input[str]] + stop_words_mode: NotRequired[pulumi.Input[str]] + strategy: NotRequired[pulumi.Input[str]] + target_column: NotRequired[pulumi.Input[str]] + target_column_names: NotRequired[pulumi.Input[str]] + target_date_format: NotRequired[pulumi.Input[str]] + target_index: NotRequired[pulumi.Input[str]] + time_zone: NotRequired[pulumi.Input[str]] + tokenizer_pattern: NotRequired[pulumi.Input[str]] + true_string: NotRequired[pulumi.Input[str]] + udf_lang: NotRequired[pulumi.Input[str]] + units: NotRequired[pulumi.Input[str]] + unpivot_column: NotRequired[pulumi.Input[str]] + upper_bound: NotRequired[pulumi.Input[str]] + use_new_data_frame: NotRequired[pulumi.Input[str]] + value: NotRequired[pulumi.Input[str]] + value1: NotRequired[pulumi.Input[str]] + value2: NotRequired[pulumi.Input[str]] + value_column: NotRequired[pulumi.Input[str]] + view_frame: NotRequired[pulumi.Input[str]] +elif False: + RecipeParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecipeParametersArgs: def __init__(__self__, *, @@ -3266,6 +4113,16 @@ def view_frame(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "view_frame", value) +if not MYPY: + class RecipeS3LocationArgsDict(TypedDict): + """ + Input location + """ + bucket: pulumi.Input[str] + key: NotRequired[pulumi.Input[str]] +elif False: + RecipeS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecipeS3LocationArgs: def __init__(__self__, *, @@ -3297,6 +4154,16 @@ def key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key", value) +if not MYPY: + class RecipeSecondaryInputArgsDict(TypedDict): + """ + Secondary input + """ + data_catalog_input_definition: NotRequired[pulumi.Input['RecipeDataCatalogInputDefinitionArgsDict']] + s3_input_definition: NotRequired[pulumi.Input['RecipeS3LocationArgsDict']] +elif False: + RecipeSecondaryInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecipeSecondaryInputArgs: def __init__(__self__, *, @@ -3329,6 +4196,19 @@ def s3_input_definition(self, value: Optional[pulumi.Input['RecipeS3LocationArgs pulumi.set(self, "s3_input_definition", value) +if not MYPY: + class RecipeStepArgsDict(TypedDict): + action: pulumi.Input['RecipeActionArgsDict'] + """ + The particular action to be performed in the recipe step. + """ + condition_expressions: NotRequired[pulumi.Input[Sequence[pulumi.Input['RecipeConditionExpressionArgsDict']]]] + """ + Condition expressions applied to the step action + """ +elif False: + RecipeStepArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecipeStepArgs: def __init__(__self__, *, @@ -3367,6 +4247,22 @@ def condition_expressions(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "condition_expressions", value) +if not MYPY: + class RulesetColumnSelectorArgsDict(TypedDict): + """ + Selector of a column from a dataset for profile job configuration. One selector includes either a column name or a regular expression + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a column from a dataset + """ + regex: NotRequired[pulumi.Input[str]] + """ + A regular expression for selecting a column from a dataset + """ +elif False: + RulesetColumnSelectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RulesetColumnSelectorArgs: def __init__(__self__, *, @@ -3407,6 +4303,38 @@ def regex(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "regex", value) +if not MYPY: + class RulesetRuleArgsDict(TypedDict): + """ + Data quality rule for a target resource (dataset) + """ + check_expression: pulumi.Input[str] + """ + The expression which includes column references, condition names followed by variable references, possibly grouped and combined with other conditions. For example, `(:col1 starts_with :prefix1 or :col1 starts_with :prefix2) and (:col1 ends_with :suffix1 or :col1 ends_with :suffix2)` . Column and value references are substitution variables that should start with the ':' symbol. Depending on the context, substitution variables' values can be either an actual value or a column name. These values are defined in the SubstitutionMap. If a CheckExpression starts with a column reference, then ColumnSelectors in the rule should be null. If ColumnSelectors has been defined, then there should be no columnn reference in the left side of a condition, for example, `is_between :val1 and :val2` . + """ + name: pulumi.Input[str] + """ + Name of the rule + """ + column_selectors: NotRequired[pulumi.Input[Sequence[pulumi.Input['RulesetColumnSelectorArgsDict']]]] + """ + List of column selectors. Selectors can be used to select columns using a name or regular expression from the dataset. Rule will be applied to selected columns. + """ + disabled: NotRequired[pulumi.Input[bool]] + """ + A value that specifies whether the rule is disabled. Once a rule is disabled, a profile job will not validate it during a job run. Default value is false. + """ + substitution_map: NotRequired[pulumi.Input[Sequence[pulumi.Input['RulesetSubstitutionValueArgsDict']]]] + """ + The map of substitution variable names to their values used in a check expression. Variable names should start with a ':' (colon). Variable values can either be actual values or column names. To differentiate between the two, column names should be enclosed in backticks, for example, `":col1": "`Column A`".` + """ + threshold: NotRequired[pulumi.Input['RulesetThresholdArgsDict']] + """ + The threshold used with a non-aggregate check expression. Non-aggregate check expressions will be applied to each row in a specific column, and the threshold will be used to determine whether the validation succeeds. + """ +elif False: + RulesetRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RulesetRuleArgs: def __init__(__self__, *, @@ -3509,6 +4437,22 @@ def threshold(self, value: Optional[pulumi.Input['RulesetThresholdArgs']]): pulumi.set(self, "threshold", value) +if not MYPY: + class RulesetSubstitutionValueArgsDict(TypedDict): + """ + A key-value pair to associate expression's substitution variable names with their values + """ + value: pulumi.Input[str] + """ + Value or column name + """ + value_reference: pulumi.Input[str] + """ + Variable name + """ +elif False: + RulesetSubstitutionValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RulesetSubstitutionValueArgs: def __init__(__self__, *, @@ -3547,6 +4491,23 @@ def value_reference(self, value: pulumi.Input[str]): pulumi.set(self, "value_reference", value) +if not MYPY: + class RulesetThresholdArgsDict(TypedDict): + value: pulumi.Input[float] + """ + The value of a threshold. + """ + type: NotRequired[pulumi.Input['RulesetThresholdType']] + """ + The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value. + """ + unit: NotRequired[pulumi.Input['RulesetThresholdUnit']] + """ + Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation. + """ +elif False: + RulesetThresholdArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RulesetThresholdArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/databrew/dataset.py b/sdk/python/pulumi_aws_native/databrew/dataset.py index 7c63f24daa..55055c620a 100644 --- a/sdk/python/pulumi_aws_native/databrew/dataset.py +++ b/sdk/python/pulumi_aws_native/databrew/dataset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/databrew/get_dataset.py b/sdk/python/pulumi_aws_native/databrew/get_dataset.py index 09af56f185..8c4dfaf34a 100644 --- a/sdk/python/pulumi_aws_native/databrew/get_dataset.py +++ b/sdk/python/pulumi_aws_native/databrew/get_dataset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -97,9 +102,6 @@ def get_dataset(name: Optional[str] = None, format_options=pulumi.get(__ret__, 'format_options'), input=pulumi.get(__ret__, 'input'), path_options=pulumi.get(__ret__, 'path_options')) - - -@_utilities.lift_output_func(get_dataset) def get_dataset_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatasetResult]: """ @@ -108,4 +110,12 @@ def get_dataset_output(name: Optional[pulumi.Input[str]] = None, :param str name: Dataset name """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:databrew:getDataset', __args__, opts=opts, typ=GetDatasetResult) + return __ret__.apply(lambda __response__: GetDatasetResult( + format=pulumi.get(__response__, 'format'), + format_options=pulumi.get(__response__, 'format_options'), + input=pulumi.get(__response__, 'input'), + path_options=pulumi.get(__response__, 'path_options'))) diff --git a/sdk/python/pulumi_aws_native/databrew/get_job.py b/sdk/python/pulumi_aws_native/databrew/get_job.py index 92960c1f1b..7746b27ba3 100644 --- a/sdk/python/pulumi_aws_native/databrew/get_job.py +++ b/sdk/python/pulumi_aws_native/databrew/get_job.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -266,9 +271,6 @@ def get_job(name: Optional[str] = None, role_arn=pulumi.get(__ret__, 'role_arn'), timeout=pulumi.get(__ret__, 'timeout'), validation_configurations=pulumi.get(__ret__, 'validation_configurations')) - - -@_utilities.lift_output_func(get_job) def get_job_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetJobResult]: """ @@ -277,4 +279,25 @@ def get_job_output(name: Optional[pulumi.Input[str]] = None, :param str name: Job name """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:databrew:getJob', __args__, opts=opts, typ=GetJobResult) + return __ret__.apply(lambda __response__: GetJobResult( + data_catalog_outputs=pulumi.get(__response__, 'data_catalog_outputs'), + database_outputs=pulumi.get(__response__, 'database_outputs'), + dataset_name=pulumi.get(__response__, 'dataset_name'), + encryption_key_arn=pulumi.get(__response__, 'encryption_key_arn'), + encryption_mode=pulumi.get(__response__, 'encryption_mode'), + job_sample=pulumi.get(__response__, 'job_sample'), + log_subscription=pulumi.get(__response__, 'log_subscription'), + max_capacity=pulumi.get(__response__, 'max_capacity'), + max_retries=pulumi.get(__response__, 'max_retries'), + output_location=pulumi.get(__response__, 'output_location'), + outputs=pulumi.get(__response__, 'outputs'), + profile_configuration=pulumi.get(__response__, 'profile_configuration'), + project_name=pulumi.get(__response__, 'project_name'), + recipe=pulumi.get(__response__, 'recipe'), + role_arn=pulumi.get(__response__, 'role_arn'), + timeout=pulumi.get(__response__, 'timeout'), + validation_configurations=pulumi.get(__response__, 'validation_configurations'))) diff --git a/sdk/python/pulumi_aws_native/databrew/get_project.py b/sdk/python/pulumi_aws_native/databrew/get_project.py index 8f2f6824d6..0f08b9577d 100644 --- a/sdk/python/pulumi_aws_native/databrew/get_project.py +++ b/sdk/python/pulumi_aws_native/databrew/get_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -97,9 +102,6 @@ def get_project(name: Optional[str] = None, recipe_name=pulumi.get(__ret__, 'recipe_name'), role_arn=pulumi.get(__ret__, 'role_arn'), sample=pulumi.get(__ret__, 'sample')) - - -@_utilities.lift_output_func(get_project) def get_project_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]: """ @@ -108,4 +110,12 @@ def get_project_output(name: Optional[pulumi.Input[str]] = None, :param str name: Project name """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:databrew:getProject', __args__, opts=opts, typ=GetProjectResult) + return __ret__.apply(lambda __response__: GetProjectResult( + dataset_name=pulumi.get(__response__, 'dataset_name'), + recipe_name=pulumi.get(__response__, 'recipe_name'), + role_arn=pulumi.get(__response__, 'role_arn'), + sample=pulumi.get(__response__, 'sample'))) diff --git a/sdk/python/pulumi_aws_native/databrew/get_recipe.py b/sdk/python/pulumi_aws_native/databrew/get_recipe.py index b479577347..f684935e96 100644 --- a/sdk/python/pulumi_aws_native/databrew/get_recipe.py +++ b/sdk/python/pulumi_aws_native/databrew/get_recipe.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_recipe(name: Optional[str] = None, return AwaitableGetRecipeResult( description=pulumi.get(__ret__, 'description'), steps=pulumi.get(__ret__, 'steps')) - - -@_utilities.lift_output_func(get_recipe) def get_recipe_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRecipeResult]: """ @@ -81,4 +83,10 @@ def get_recipe_output(name: Optional[pulumi.Input[str]] = None, :param str name: Recipe name """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:databrew:getRecipe', __args__, opts=opts, typ=GetRecipeResult) + return __ret__.apply(lambda __response__: GetRecipeResult( + description=pulumi.get(__response__, 'description'), + steps=pulumi.get(__response__, 'steps'))) diff --git a/sdk/python/pulumi_aws_native/databrew/get_ruleset.py b/sdk/python/pulumi_aws_native/databrew/get_ruleset.py index e13a075a58..ea818b415c 100644 --- a/sdk/python/pulumi_aws_native/databrew/get_ruleset.py +++ b/sdk/python/pulumi_aws_native/databrew/get_ruleset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -71,9 +76,6 @@ def get_ruleset(name: Optional[str] = None, return AwaitableGetRulesetResult( description=pulumi.get(__ret__, 'description'), rules=pulumi.get(__ret__, 'rules')) - - -@_utilities.lift_output_func(get_ruleset) def get_ruleset_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRulesetResult]: """ @@ -82,4 +84,10 @@ def get_ruleset_output(name: Optional[pulumi.Input[str]] = None, :param str name: Name of the Ruleset """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:databrew:getRuleset', __args__, opts=opts, typ=GetRulesetResult) + return __ret__.apply(lambda __response__: GetRulesetResult( + description=pulumi.get(__response__, 'description'), + rules=pulumi.get(__response__, 'rules'))) diff --git a/sdk/python/pulumi_aws_native/databrew/get_schedule.py b/sdk/python/pulumi_aws_native/databrew/get_schedule.py index 30b6a55e81..ea80bacccf 100644 --- a/sdk/python/pulumi_aws_native/databrew/get_schedule.py +++ b/sdk/python/pulumi_aws_native/databrew/get_schedule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_schedule(name: Optional[str] = None, return AwaitableGetScheduleResult( cron_expression=pulumi.get(__ret__, 'cron_expression'), job_names=pulumi.get(__ret__, 'job_names')) - - -@_utilities.lift_output_func(get_schedule) def get_schedule_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduleResult]: """ @@ -80,4 +82,10 @@ def get_schedule_output(name: Optional[pulumi.Input[str]] = None, :param str name: Schedule Name """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:databrew:getSchedule', __args__, opts=opts, typ=GetScheduleResult) + return __ret__.apply(lambda __response__: GetScheduleResult( + cron_expression=pulumi.get(__response__, 'cron_expression'), + job_names=pulumi.get(__response__, 'job_names'))) diff --git a/sdk/python/pulumi_aws_native/databrew/job.py b/sdk/python/pulumi_aws_native/databrew/job.py index 369c96464a..a3a155c50b 100644 --- a/sdk/python/pulumi_aws_native/databrew/job.py +++ b/sdk/python/pulumi_aws_native/databrew/job.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/databrew/outputs.py b/sdk/python/pulumi_aws_native/databrew/outputs.py index 134f5cf1ee..81d1588d9e 100644 --- a/sdk/python/pulumi_aws_native/databrew/outputs.py +++ b/sdk/python/pulumi_aws_native/databrew/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/databrew/project.py b/sdk/python/pulumi_aws_native/databrew/project.py index a46e699aba..40399d5c0b 100644 --- a/sdk/python/pulumi_aws_native/databrew/project.py +++ b/sdk/python/pulumi_aws_native/databrew/project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/databrew/recipe.py b/sdk/python/pulumi_aws_native/databrew/recipe.py index 9db2cfed4d..33ef08cd1e 100644 --- a/sdk/python/pulumi_aws_native/databrew/recipe.py +++ b/sdk/python/pulumi_aws_native/databrew/recipe.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/databrew/ruleset.py b/sdk/python/pulumi_aws_native/databrew/ruleset.py index bf42d916e8..10e8cf52f3 100644 --- a/sdk/python/pulumi_aws_native/databrew/ruleset.py +++ b/sdk/python/pulumi_aws_native/databrew/ruleset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/databrew/schedule.py b/sdk/python/pulumi_aws_native/databrew/schedule.py index 3aeb5b83e9..00102bf30f 100644 --- a/sdk/python/pulumi_aws_native/databrew/schedule.py +++ b/sdk/python/pulumi_aws_native/databrew/schedule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/datapipeline/_inputs.py b/sdk/python/pulumi_aws_native/datapipeline/_inputs.py index 6b55bdccbd..89411e46c3 100644 --- a/sdk/python/pulumi_aws_native/datapipeline/_inputs.py +++ b/sdk/python/pulumi_aws_native/datapipeline/_inputs.py @@ -4,19 +4,48 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'PipelineFieldArgs', + 'PipelineFieldArgsDict', 'PipelineObjectArgs', + 'PipelineObjectArgsDict', 'PipelineParameterAttributeArgs', + 'PipelineParameterAttributeArgsDict', 'PipelineParameterObjectArgs', + 'PipelineParameterObjectArgsDict', 'PipelineParameterValueArgs', + 'PipelineParameterValueArgsDict', ] +MYPY = False + +if not MYPY: + class PipelineFieldArgsDict(TypedDict): + key: pulumi.Input[str] + """ + Specifies the name of a field for a particular object. To view valid values for a particular field, see Pipeline Object Reference in the AWS Data Pipeline Developer Guide. + """ + ref_value: NotRequired[pulumi.Input[str]] + """ + A field value that you specify as an identifier of another object in the same pipeline definition. + """ + string_value: NotRequired[pulumi.Input[str]] + """ + A field value that you specify as a string. To view valid values for a particular field, see Pipeline Object Reference in the AWS Data Pipeline Developer Guide. + """ +elif False: + PipelineFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineFieldArgs: def __init__(__self__, *, @@ -71,6 +100,23 @@ def string_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "string_value", value) +if not MYPY: + class PipelineObjectArgsDict(TypedDict): + fields: pulumi.Input[Sequence[pulumi.Input['PipelineFieldArgsDict']]] + """ + Key-value pairs that define the properties of the object. + """ + id: pulumi.Input[str] + """ + The ID of the object. + """ + name: pulumi.Input[str] + """ + The name of the object. + """ +elif False: + PipelineObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineObjectArgs: def __init__(__self__, *, @@ -123,6 +169,19 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class PipelineParameterAttributeArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The field identifier. + """ + string_value: pulumi.Input[str] + """ + The field value, expressed as a String. + """ +elif False: + PipelineParameterAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineParameterAttributeArgs: def __init__(__self__, *, @@ -160,6 +219,19 @@ def string_value(self, value: pulumi.Input[str]): pulumi.set(self, "string_value", value) +if not MYPY: + class PipelineParameterObjectArgsDict(TypedDict): + attributes: pulumi.Input[Sequence[pulumi.Input['PipelineParameterAttributeArgsDict']]] + """ + The attributes of the parameter object. + """ + id: pulumi.Input[str] + """ + The ID of the parameter object. + """ +elif False: + PipelineParameterObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineParameterObjectArgs: def __init__(__self__, *, @@ -197,6 +269,19 @@ def id(self, value: pulumi.Input[str]): pulumi.set(self, "id", value) +if not MYPY: + class PipelineParameterValueArgsDict(TypedDict): + id: pulumi.Input[str] + """ + The ID of the parameter value. + """ + string_value: pulumi.Input[str] + """ + The field value, expressed as a String. + """ +elif False: + PipelineParameterValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineParameterValueArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/datapipeline/get_pipeline.py b/sdk/python/pulumi_aws_native/datapipeline/get_pipeline.py index 2349e42733..1498c8ae70 100644 --- a/sdk/python/pulumi_aws_native/datapipeline/get_pipeline.py +++ b/sdk/python/pulumi_aws_native/datapipeline/get_pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -123,9 +128,6 @@ def get_pipeline(pipeline_id: Optional[str] = None, pipeline_id=pulumi.get(__ret__, 'pipeline_id'), pipeline_objects=pulumi.get(__ret__, 'pipeline_objects'), pipeline_tags=pulumi.get(__ret__, 'pipeline_tags')) - - -@_utilities.lift_output_func(get_pipeline) def get_pipeline_output(pipeline_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPipelineResult]: """ @@ -134,4 +136,14 @@ def get_pipeline_output(pipeline_id: Optional[pulumi.Input[str]] = None, :param str pipeline_id: The ID of the pipeline. """ - ... + __args__ = dict() + __args__['pipelineId'] = pipeline_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datapipeline:getPipeline', __args__, opts=opts, typ=GetPipelineResult) + return __ret__.apply(lambda __response__: GetPipelineResult( + activate=pulumi.get(__response__, 'activate'), + parameter_objects=pulumi.get(__response__, 'parameter_objects'), + parameter_values=pulumi.get(__response__, 'parameter_values'), + pipeline_id=pulumi.get(__response__, 'pipeline_id'), + pipeline_objects=pulumi.get(__response__, 'pipeline_objects'), + pipeline_tags=pulumi.get(__response__, 'pipeline_tags'))) diff --git a/sdk/python/pulumi_aws_native/datapipeline/outputs.py b/sdk/python/pulumi_aws_native/datapipeline/outputs.py index 18f3ab0c8e..2636a13433 100644 --- a/sdk/python/pulumi_aws_native/datapipeline/outputs.py +++ b/sdk/python/pulumi_aws_native/datapipeline/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/datapipeline/pipeline.py b/sdk/python/pulumi_aws_native/datapipeline/pipeline.py index 20bd6115cb..d4a7fca2df 100644 --- a/sdk/python/pulumi_aws_native/datapipeline/pipeline.py +++ b/sdk/python/pulumi_aws_native/datapipeline/pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datasync/_inputs.py b/sdk/python/pulumi_aws_native/datasync/_inputs.py index 0baaa6abcf..912d21523e 100644 --- a/sdk/python/pulumi_aws_native/datasync/_inputs.py +++ b/sdk/python/pulumi_aws_native/datasync/_inputs.py @@ -4,47 +4,98 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'LocationAzureBlobAzureBlobSasConfigurationArgs', + 'LocationAzureBlobAzureBlobSasConfigurationArgsDict', 'LocationEfsEc2ConfigArgs', + 'LocationEfsEc2ConfigArgsDict', 'LocationFSxOntapNfsMountOptionsArgs', + 'LocationFSxOntapNfsMountOptionsArgsDict', 'LocationFSxOntapNfsArgs', + 'LocationFSxOntapNfsArgsDict', 'LocationFSxOntapProtocolArgs', + 'LocationFSxOntapProtocolArgsDict', 'LocationFSxOntapSmbMountOptionsArgs', + 'LocationFSxOntapSmbMountOptionsArgsDict', 'LocationFSxOntapSmbArgs', + 'LocationFSxOntapSmbArgsDict', 'LocationFSxOpenZfsMountOptionsArgs', + 'LocationFSxOpenZfsMountOptionsArgsDict', 'LocationFSxOpenZfsNfsArgs', + 'LocationFSxOpenZfsNfsArgsDict', 'LocationFSxOpenZfsProtocolArgs', + 'LocationFSxOpenZfsProtocolArgsDict', 'LocationHdfsNameNodeArgs', + 'LocationHdfsNameNodeArgsDict', 'LocationHdfsQopConfigurationArgs', + 'LocationHdfsQopConfigurationArgsDict', 'LocationNfsMountOptionsArgs', + 'LocationNfsMountOptionsArgsDict', 'LocationNfsOnPremConfigArgs', + 'LocationNfsOnPremConfigArgsDict', 'LocationS3s3ConfigArgs', + 'LocationS3s3ConfigArgsDict', 'LocationSmbMountOptionsArgs', + 'LocationSmbMountOptionsArgsDict', 'StorageSystemServerConfigurationArgs', + 'StorageSystemServerConfigurationArgsDict', 'StorageSystemServerCredentialsArgs', + 'StorageSystemServerCredentialsArgsDict', 'TaskFilterRuleArgs', + 'TaskFilterRuleArgsDict', 'TaskManifestConfigSourcePropertiesArgs', + 'TaskManifestConfigSourcePropertiesArgsDict', 'TaskManifestConfigSourceS3Args', + 'TaskManifestConfigSourceS3ArgsDict', 'TaskManifestConfigArgs', + 'TaskManifestConfigArgsDict', 'TaskOptionsArgs', + 'TaskOptionsArgsDict', 'TaskReportConfigDestinationPropertiesArgs', + 'TaskReportConfigDestinationPropertiesArgsDict', 'TaskReportConfigDestinationS3Args', + 'TaskReportConfigDestinationS3ArgsDict', 'TaskReportConfigOverridesPropertiesDeletedPropertiesArgs', + 'TaskReportConfigOverridesPropertiesDeletedPropertiesArgsDict', 'TaskReportConfigOverridesPropertiesSkippedPropertiesArgs', + 'TaskReportConfigOverridesPropertiesSkippedPropertiesArgsDict', 'TaskReportConfigOverridesPropertiesTransferredPropertiesArgs', + 'TaskReportConfigOverridesPropertiesTransferredPropertiesArgsDict', 'TaskReportConfigOverridesPropertiesVerifiedPropertiesArgs', + 'TaskReportConfigOverridesPropertiesVerifiedPropertiesArgsDict', 'TaskReportConfigOverridesPropertiesArgs', + 'TaskReportConfigOverridesPropertiesArgsDict', 'TaskReportConfigArgs', + 'TaskReportConfigArgsDict', 'TaskScheduleArgs', + 'TaskScheduleArgsDict', ] +MYPY = False + +if not MYPY: + class LocationAzureBlobAzureBlobSasConfigurationArgsDict(TypedDict): + """ + Specifies the shared access signature (SAS) that DataSync uses to access your Azure Blob Storage container. + """ + azure_blob_sas_token: pulumi.Input[str] + """ + Specifies the shared access signature (SAS) token, which indicates the permissions DataSync needs to access your Azure Blob Storage container. + """ +elif False: + LocationAzureBlobAzureBlobSasConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationAzureBlobAzureBlobSasConfigurationArgs: def __init__(__self__, *, @@ -68,6 +119,22 @@ def azure_blob_sas_token(self, value: pulumi.Input[str]): pulumi.set(self, "azure_blob_sas_token", value) +if not MYPY: + class LocationEfsEc2ConfigArgsDict(TypedDict): + """ + The subnet and security group that DataSync uses to access target EFS file system. + """ + security_group_arns: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource. + """ + subnet_arn: pulumi.Input[str] + """ + The ARN of the subnet that DataSync uses to access the target EFS file system. + """ +elif False: + LocationEfsEc2ConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationEfsEc2ConfigArgs: def __init__(__self__, *, @@ -106,6 +173,18 @@ def subnet_arn(self, value: pulumi.Input[str]): pulumi.set(self, "subnet_arn", value) +if not MYPY: + class LocationFSxOntapNfsMountOptionsArgsDict(TypedDict): + """ + The NFS mount options that DataSync can use to mount your NFS share. + """ + version: NotRequired[pulumi.Input['LocationFSxOntapNfsMountOptionsVersion']] + """ + The specific NFS version that you want DataSync to use to mount your NFS share. + """ +elif False: + LocationFSxOntapNfsMountOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationFSxOntapNfsMountOptionsArgs: def __init__(__self__, *, @@ -130,6 +209,18 @@ def version(self, value: Optional[pulumi.Input['LocationFSxOntapNfsMountOptionsV pulumi.set(self, "version", value) +if not MYPY: + class LocationFSxOntapNfsArgsDict(TypedDict): + """ + NFS protocol configuration for FSx ONTAP file system. + """ + mount_options: pulumi.Input['LocationFSxOntapNfsMountOptionsArgsDict'] + """ + Specifies how DataSync can access a location using the NFS protocol. + """ +elif False: + LocationFSxOntapNfsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationFSxOntapNfsArgs: def __init__(__self__, *, @@ -153,6 +244,22 @@ def mount_options(self, value: pulumi.Input['LocationFSxOntapNfsMountOptionsArgs pulumi.set(self, "mount_options", value) +if not MYPY: + class LocationFSxOntapProtocolArgsDict(TypedDict): + """ + Configuration settings for NFS or SMB protocol. + """ + nfs: NotRequired[pulumi.Input['LocationFSxOntapNfsArgsDict']] + """ + Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for ONTAP file system's storage virtual machine (SVM). + """ + smb: NotRequired[pulumi.Input['LocationFSxOntapSmbArgsDict']] + """ + Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM. + """ +elif False: + LocationFSxOntapProtocolArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationFSxOntapProtocolArgs: def __init__(__self__, *, @@ -193,6 +300,18 @@ def smb(self, value: Optional[pulumi.Input['LocationFSxOntapSmbArgs']]): pulumi.set(self, "smb", value) +if not MYPY: + class LocationFSxOntapSmbMountOptionsArgsDict(TypedDict): + """ + The mount options used by DataSync to access the SMB server. + """ + version: NotRequired[pulumi.Input['LocationFSxOntapSmbMountOptionsVersion']] + """ + The specific SMB version that you want DataSync to use to mount your SMB share. + """ +elif False: + LocationFSxOntapSmbMountOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationFSxOntapSmbMountOptionsArgs: def __init__(__self__, *, @@ -217,6 +336,30 @@ def version(self, value: Optional[pulumi.Input['LocationFSxOntapSmbMountOptionsV pulumi.set(self, "version", value) +if not MYPY: + class LocationFSxOntapSmbArgsDict(TypedDict): + """ + SMB protocol configuration for FSx ONTAP file system. + """ + mount_options: pulumi.Input['LocationFSxOntapSmbMountOptionsArgsDict'] + """ + Specifies how DataSync can access a location using the SMB protocol. + """ + password: pulumi.Input[str] + """ + The password of the user who can mount the share and has the permissions to access files and folders in the SMB share. + """ + user: pulumi.Input[str] + """ + The user who can mount the share, has the permissions to access files and folders in the SMB share. + """ + domain: NotRequired[pulumi.Input[str]] + """ + The name of the Windows domain that the SMB server belongs to. + """ +elif False: + LocationFSxOntapSmbArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationFSxOntapSmbArgs: def __init__(__self__, *, @@ -286,6 +429,18 @@ def domain(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "domain", value) +if not MYPY: + class LocationFSxOpenZfsMountOptionsArgsDict(TypedDict): + """ + The NFS mount options that DataSync can use to mount your NFS share. + """ + version: NotRequired[pulumi.Input['LocationFSxOpenZfsMountOptionsVersion']] + """ + The specific NFS version that you want DataSync to use to mount your NFS share. + """ +elif False: + LocationFSxOpenZfsMountOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationFSxOpenZfsMountOptionsArgs: def __init__(__self__, *, @@ -310,6 +465,18 @@ def version(self, value: Optional[pulumi.Input['LocationFSxOpenZfsMountOptionsVe pulumi.set(self, "version", value) +if not MYPY: + class LocationFSxOpenZfsNfsArgsDict(TypedDict): + """ + FSx OpenZFS file system NFS protocol information + """ + mount_options: pulumi.Input['LocationFSxOpenZfsMountOptionsArgsDict'] + """ + Represents the mount options that are available for DataSync to access an NFS location. + """ +elif False: + LocationFSxOpenZfsNfsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationFSxOpenZfsNfsArgs: def __init__(__self__, *, @@ -333,6 +500,18 @@ def mount_options(self, value: pulumi.Input['LocationFSxOpenZfsMountOptionsArgs' pulumi.set(self, "mount_options", value) +if not MYPY: + class LocationFSxOpenZfsProtocolArgsDict(TypedDict): + """ + Configuration settings for an NFS or SMB protocol, currently only support NFS + """ + nfs: NotRequired[pulumi.Input['LocationFSxOpenZfsNfsArgsDict']] + """ + Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. + """ +elif False: + LocationFSxOpenZfsProtocolArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationFSxOpenZfsProtocolArgs: def __init__(__self__, *, @@ -357,6 +536,22 @@ def nfs(self, value: Optional[pulumi.Input['LocationFSxOpenZfsNfsArgs']]): pulumi.set(self, "nfs", value) +if not MYPY: + class LocationHdfsNameNodeArgsDict(TypedDict): + """ + HDFS Name Node IP and port information. + """ + hostname: pulumi.Input[str] + """ + The DNS name or IP address of the Name Node in the customer's on premises HDFS cluster. + """ + port: pulumi.Input[int] + """ + The port on which the Name Node is listening on for client requests. + """ +elif False: + LocationHdfsNameNodeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationHdfsNameNodeArgs: def __init__(__self__, *, @@ -395,6 +590,22 @@ def port(self, value: pulumi.Input[int]): pulumi.set(self, "port", value) +if not MYPY: + class LocationHdfsQopConfigurationArgsDict(TypedDict): + """ + Configuration information for RPC Protection and Data Transfer Protection. These parameters can be set to AUTHENTICATION, INTEGRITY, or PRIVACY. The default value is PRIVACY. + """ + data_transfer_protection: NotRequired[pulumi.Input['LocationHdfsQopConfigurationDataTransferProtection']] + """ + Configuration for Data Transfer Protection. + """ + rpc_protection: NotRequired[pulumi.Input['LocationHdfsQopConfigurationRpcProtection']] + """ + Configuration for RPC Protection. + """ +elif False: + LocationHdfsQopConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationHdfsQopConfigurationArgs: def __init__(__self__, *, @@ -435,6 +646,18 @@ def rpc_protection(self, value: Optional[pulumi.Input['LocationHdfsQopConfigurat pulumi.set(self, "rpc_protection", value) +if not MYPY: + class LocationNfsMountOptionsArgsDict(TypedDict): + """ + The NFS mount options that DataSync can use to mount your NFS share. + """ + version: NotRequired[pulumi.Input['LocationNfsMountOptionsVersion']] + """ + The specific NFS version that you want DataSync to use to mount your NFS share. + """ +elif False: + LocationNfsMountOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationNfsMountOptionsArgs: def __init__(__self__, *, @@ -459,6 +682,18 @@ def version(self, value: Optional[pulumi.Input['LocationNfsMountOptionsVersion'] pulumi.set(self, "version", value) +if not MYPY: + class LocationNfsOnPremConfigArgsDict(TypedDict): + """ + Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect an NFS server. + """ + agent_arns: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + ARN(s) of the agent(s) to use for an NFS location. + """ +elif False: + LocationNfsOnPremConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationNfsOnPremConfigArgs: def __init__(__self__, *, @@ -482,6 +717,18 @@ def agent_arns(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "agent_arns", value) +if not MYPY: + class LocationS3s3ConfigArgsDict(TypedDict): + """ + The Amazon Resource Name (ARN) of the AWS IAM role that is used to access an Amazon S3 bucket. + """ + bucket_access_role_arn: pulumi.Input[str] + """ + The ARN of the IAM role of the Amazon S3 bucket. + """ +elif False: + LocationS3s3ConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationS3s3ConfigArgs: def __init__(__self__, *, @@ -505,6 +752,18 @@ def bucket_access_role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "bucket_access_role_arn", value) +if not MYPY: + class LocationSmbMountOptionsArgsDict(TypedDict): + """ + The mount options used by DataSync to access the SMB server. + """ + version: NotRequired[pulumi.Input['LocationSmbMountOptionsVersion']] + """ + The specific SMB version that you want DataSync to use to mount your SMB share. + """ +elif False: + LocationSmbMountOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LocationSmbMountOptionsArgs: def __init__(__self__, *, @@ -529,6 +788,22 @@ def version(self, value: Optional[pulumi.Input['LocationSmbMountOptionsVersion'] pulumi.set(self, "version", value) +if not MYPY: + class StorageSystemServerConfigurationArgsDict(TypedDict): + """ + The server name and network port required to connect with the management interface of the on-premises storage system. + """ + server_hostname: pulumi.Input[str] + """ + The domain name or IP address of the storage system's management interface. + """ + server_port: NotRequired[pulumi.Input[int]] + """ + The network port needed to access the system's management interface + """ +elif False: + StorageSystemServerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageSystemServerConfigurationArgs: def __init__(__self__, *, @@ -568,6 +843,22 @@ def server_port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "server_port", value) +if not MYPY: + class StorageSystemServerCredentialsArgsDict(TypedDict): + """ + The username and password for accessing your on-premises storage system's management interface. + """ + password: pulumi.Input[str] + """ + The password for your storage system's management interface + """ + username: pulumi.Input[str] + """ + The username for your storage system's management interface. + """ +elif False: + StorageSystemServerCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageSystemServerCredentialsArgs: def __init__(__self__, *, @@ -606,6 +897,22 @@ def username(self, value: pulumi.Input[str]): pulumi.set(self, "username", value) +if not MYPY: + class TaskFilterRuleArgsDict(TypedDict): + """ + Specifies which files folders and objects to include or exclude when transferring files from source to destination. + """ + filter_type: NotRequired[pulumi.Input['TaskFilterRuleFilterType']] + """ + The type of filter rule to apply. AWS DataSync only supports the SIMPLE_PATTERN rule type. + """ + value: NotRequired[pulumi.Input[str]] + """ + A single filter string that consists of the patterns to include or exclude. The patterns are delimited by "|". + """ +elif False: + TaskFilterRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskFilterRuleArgs: def __init__(__self__, *, @@ -646,6 +953,15 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class TaskManifestConfigSourcePropertiesArgsDict(TypedDict): + """ + Specifies the manifest that you want DataSync to use and where it's hosted. + """ + s3: NotRequired[pulumi.Input['TaskManifestConfigSourceS3ArgsDict']] +elif False: + TaskManifestConfigSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskManifestConfigSourcePropertiesArgs: def __init__(__self__, *, @@ -666,6 +982,30 @@ def s3(self, value: Optional[pulumi.Input['TaskManifestConfigSourceS3Args']]): pulumi.set(self, "s3", value) +if not MYPY: + class TaskManifestConfigSourceS3ArgsDict(TypedDict): + """ + Specifies the S3 bucket where you're hosting the manifest that you want AWS DataSync to use. + """ + bucket_access_role_arn: NotRequired[pulumi.Input[str]] + """ + Specifies the AWS Identity and Access Management (IAM) role that allows DataSync to access your manifest. + """ + manifest_object_path: NotRequired[pulumi.Input[str]] + """ + Specifies the Amazon S3 object key of your manifest. + """ + manifest_object_version_id: NotRequired[pulumi.Input[str]] + """ + Specifies the object version ID of the manifest that you want DataSync to use. + """ + s3_bucket_arn: NotRequired[pulumi.Input[str]] + """ + Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest. + """ +elif False: + TaskManifestConfigSourceS3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskManifestConfigSourceS3Args: def __init__(__self__, *, @@ -738,6 +1078,26 @@ def s3_bucket_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_bucket_arn", value) +if not MYPY: + class TaskManifestConfigArgsDict(TypedDict): + """ + Configures a manifest, which is a list of files or objects that you want DataSync to transfer. + """ + source: pulumi.Input['TaskManifestConfigSourcePropertiesArgsDict'] + """ + Specifies the manifest that you want DataSync to use and where it's hosted. + """ + action: NotRequired[pulumi.Input['TaskManifestConfigAction']] + """ + Specifies what DataSync uses the manifest for. + """ + format: NotRequired[pulumi.Input['TaskManifestConfigFormat']] + """ + Specifies the file format of your manifest. + """ +elif False: + TaskManifestConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskManifestConfigArgs: def __init__(__self__, *, @@ -793,6 +1153,74 @@ def format(self, value: Optional[pulumi.Input['TaskManifestConfigFormat']]): pulumi.set(self, "format", value) +if not MYPY: + class TaskOptionsArgsDict(TypedDict): + """ + Represents the options that are available to control the behavior of a StartTaskExecution operation. + """ + atime: NotRequired[pulumi.Input['TaskOptionsAtime']] + """ + A file metadata value that shows the last time a file was accessed (that is, when the file was read or written to). + """ + bytes_per_second: NotRequired[pulumi.Input[int]] + """ + A value that limits the bandwidth used by AWS DataSync. + """ + gid: NotRequired[pulumi.Input['TaskOptionsGid']] + """ + The group ID (GID) of the file's owners. + """ + log_level: NotRequired[pulumi.Input['TaskOptionsLogLevel']] + """ + A value that determines the types of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. + """ + mtime: NotRequired[pulumi.Input['TaskOptionsMtime']] + """ + A value that indicates the last time that a file was modified (that is, a file was written to) before the PREPARING phase. + """ + object_tags: NotRequired[pulumi.Input['TaskOptionsObjectTags']] + """ + A value that determines whether object tags should be read from the source object store and written to the destination object store. + """ + overwrite_mode: NotRequired[pulumi.Input['TaskOptionsOverwriteMode']] + """ + A value that determines whether files at the destination should be overwritten or preserved when copying files. + """ + posix_permissions: NotRequired[pulumi.Input['TaskOptionsPosixPermissions']] + """ + A value that determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. + """ + preserve_deleted_files: NotRequired[pulumi.Input['TaskOptionsPreserveDeletedFiles']] + """ + A value that specifies whether files in the destination that don't exist in the source file system should be preserved. + """ + preserve_devices: NotRequired[pulumi.Input['TaskOptionsPreserveDevices']] + """ + A value that determines whether AWS DataSync should preserve the metadata of block and character devices in the source file system, and recreate the files with that device name and metadata on the destination. + """ + security_descriptor_copy_flags: NotRequired[pulumi.Input['TaskOptionsSecurityDescriptorCopyFlags']] + """ + A value that determines which components of the SMB security descriptor are copied during transfer. + """ + task_queueing: NotRequired[pulumi.Input['TaskOptionsTaskQueueing']] + """ + A value that determines whether tasks should be queued before executing the tasks. + """ + transfer_mode: NotRequired[pulumi.Input['TaskOptionsTransferMode']] + """ + A value that determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. + """ + uid: NotRequired[pulumi.Input['TaskOptionsUid']] + """ + The user ID (UID) of the file's owner. + """ + verify_mode: NotRequired[pulumi.Input['TaskOptionsVerifyMode']] + """ + A value that determines whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. + """ +elif False: + TaskOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskOptionsArgs: def __init__(__self__, *, @@ -1041,6 +1469,15 @@ def verify_mode(self, value: Optional[pulumi.Input['TaskOptionsVerifyMode']]): pulumi.set(self, "verify_mode", value) +if not MYPY: + class TaskReportConfigDestinationPropertiesArgsDict(TypedDict): + """ + Specifies where DataSync uploads your task report. + """ + s3: NotRequired[pulumi.Input['TaskReportConfigDestinationS3ArgsDict']] +elif False: + TaskReportConfigDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskReportConfigDestinationPropertiesArgs: def __init__(__self__, *, @@ -1061,6 +1498,26 @@ def s3(self, value: Optional[pulumi.Input['TaskReportConfigDestinationS3Args']]) pulumi.set(self, "s3", value) +if not MYPY: + class TaskReportConfigDestinationS3ArgsDict(TypedDict): + """ + Specifies the Amazon S3 bucket where DataSync uploads your task report. + """ + bucket_access_role_arn: NotRequired[pulumi.Input[str]] + """ + Specifies the Amazon Resource Name (ARN) of the IAM policy that allows Datasync to upload a task report to your S3 bucket. + """ + s3_bucket_arn: NotRequired[pulumi.Input[str]] + """ + Specifies the ARN of the S3 bucket where Datasync uploads your report. + """ + subdirectory: NotRequired[pulumi.Input[str]] + """ + Specifies a bucket prefix for your report. + """ +elif False: + TaskReportConfigDestinationS3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskReportConfigDestinationS3Args: def __init__(__self__, *, @@ -1117,6 +1574,18 @@ def subdirectory(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "subdirectory", value) +if not MYPY: + class TaskReportConfigOverridesPropertiesDeletedPropertiesArgsDict(TypedDict): + """ + Specifies the level of reporting for the files, objects, and directories that Datasync attempted to delete in your destination location. This only applies if you configure your task to delete data in the destination that isn't in the source. + """ + report_level: NotRequired[pulumi.Input['TaskReportConfigOverridesPropertiesDeletedPropertiesReportLevel']] + """ + Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't. + """ +elif False: + TaskReportConfigOverridesPropertiesDeletedPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskReportConfigOverridesPropertiesDeletedPropertiesArgs: def __init__(__self__, *, @@ -1141,6 +1610,18 @@ def report_level(self, value: Optional[pulumi.Input['TaskReportConfigOverridesPr pulumi.set(self, "report_level", value) +if not MYPY: + class TaskReportConfigOverridesPropertiesSkippedPropertiesArgsDict(TypedDict): + """ + Specifies the level of reporting for the files, objects, and directories that Datasync attempted to skip during your transfer. + """ + report_level: NotRequired[pulumi.Input['TaskReportConfigOverridesPropertiesSkippedPropertiesReportLevel']] + """ + Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't. + """ +elif False: + TaskReportConfigOverridesPropertiesSkippedPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskReportConfigOverridesPropertiesSkippedPropertiesArgs: def __init__(__self__, *, @@ -1165,6 +1646,18 @@ def report_level(self, value: Optional[pulumi.Input['TaskReportConfigOverridesPr pulumi.set(self, "report_level", value) +if not MYPY: + class TaskReportConfigOverridesPropertiesTransferredPropertiesArgsDict(TypedDict): + """ + Specifies the level of reporting for the files, objects, and directories that Datasync attempted to transfer. + """ + report_level: NotRequired[pulumi.Input['TaskReportConfigOverridesPropertiesTransferredPropertiesReportLevel']] + """ + Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't. + """ +elif False: + TaskReportConfigOverridesPropertiesTransferredPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskReportConfigOverridesPropertiesTransferredPropertiesArgs: def __init__(__self__, *, @@ -1189,6 +1682,18 @@ def report_level(self, value: Optional[pulumi.Input['TaskReportConfigOverridesPr pulumi.set(self, "report_level", value) +if not MYPY: + class TaskReportConfigOverridesPropertiesVerifiedPropertiesArgsDict(TypedDict): + """ + Specifies the level of reporting for the files, objects, and directories that Datasync attempted to verify at the end of your transfer. This only applies if you configure your task to verify data during and after the transfer (which Datasync does by default) + """ + report_level: NotRequired[pulumi.Input['TaskReportConfigOverridesPropertiesVerifiedPropertiesReportLevel']] + """ + Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't. + """ +elif False: + TaskReportConfigOverridesPropertiesVerifiedPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskReportConfigOverridesPropertiesVerifiedPropertiesArgs: def __init__(__self__, *, @@ -1213,6 +1718,30 @@ def report_level(self, value: Optional[pulumi.Input['TaskReportConfigOverridesPr pulumi.set(self, "report_level", value) +if not MYPY: + class TaskReportConfigOverridesPropertiesArgsDict(TypedDict): + """ + Customizes the reporting level for aspects of your task report. For example, your report might generally only include errors, but you could specify that you want a list of successes and errors just for the files that Datasync attempted to delete in your destination location. + """ + deleted: NotRequired[pulumi.Input['TaskReportConfigOverridesPropertiesDeletedPropertiesArgsDict']] + """ + Specifies the level of reporting for the files, objects, and directories that Datasync attempted to delete in your destination location. This only applies if you configure your task to delete data in the destination that isn't in the source. + """ + skipped: NotRequired[pulumi.Input['TaskReportConfigOverridesPropertiesSkippedPropertiesArgsDict']] + """ + Specifies the level of reporting for the files, objects, and directories that Datasync attempted to skip during your transfer. + """ + transferred: NotRequired[pulumi.Input['TaskReportConfigOverridesPropertiesTransferredPropertiesArgsDict']] + """ + Specifies the level of reporting for the files, objects, and directories that Datasync attempted to transfer. + """ + verified: NotRequired[pulumi.Input['TaskReportConfigOverridesPropertiesVerifiedPropertiesArgsDict']] + """ + Specifies the level of reporting for the files, objects, and directories that Datasync attempted to verify at the end of your transfer. This only applies if you configure your task to verify data during and after the transfer (which Datasync does by default) + """ +elif False: + TaskReportConfigOverridesPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskReportConfigOverridesPropertiesArgs: def __init__(__self__, *, @@ -1285,6 +1814,34 @@ def verified(self, value: Optional[pulumi.Input['TaskReportConfigOverridesProper pulumi.set(self, "verified", value) +if not MYPY: + class TaskReportConfigArgsDict(TypedDict): + """ + Specifies how you want to configure a task report, which provides detailed information about for your Datasync transfer. + """ + destination: pulumi.Input['TaskReportConfigDestinationPropertiesArgsDict'] + """ + Specifies where DataSync uploads your task report. + """ + output_type: pulumi.Input['TaskReportConfigOutputType'] + """ + Specifies the type of task report that you want. + """ + object_version_ids: NotRequired[pulumi.Input['TaskReportConfigObjectVersionIds']] + """ + Specifies whether your task report includes the new version of each object transferred into an S3 bucket, this only applies if you enable versioning on your bucket. + """ + overrides: NotRequired[pulumi.Input['TaskReportConfigOverridesPropertiesArgsDict']] + """ + Customizes the reporting level for aspects of your task report. For example, your report might generally only include errors, but you could specify that you want a list of successes and errors just for the files that Datasync attempted to delete in your destination location. + """ + report_level: NotRequired[pulumi.Input['TaskReportConfigReportLevel']] + """ + Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't. + """ +elif False: + TaskReportConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskReportConfigArgs: def __init__(__self__, *, @@ -1371,6 +1928,22 @@ def report_level(self, value: Optional[pulumi.Input['TaskReportConfigReportLevel pulumi.set(self, "report_level", value) +if not MYPY: + class TaskScheduleArgsDict(TypedDict): + """ + Specifies the schedule you want your task to use for repeated executions. + """ + schedule_expression: NotRequired[pulumi.Input[str]] + """ + A cron expression that specifies when AWS DataSync initiates a scheduled transfer from a source to a destination location + """ + status: NotRequired[pulumi.Input['TaskScheduleStatus']] + """ + Specifies status of a schedule. + """ +elif False: + TaskScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskScheduleArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/datasync/agent.py b/sdk/python/pulumi_aws_native/datasync/agent.py index aa923e4846..214032c1d1 100644 --- a/sdk/python/pulumi_aws_native/datasync/agent.py +++ b/sdk/python/pulumi_aws_native/datasync/agent.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/datasync/get_agent.py b/sdk/python/pulumi_aws_native/datasync/get_agent.py index c1e9664365..cbcfa3d62a 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_agent.py +++ b/sdk/python/pulumi_aws_native/datasync/get_agent.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -97,9 +102,6 @@ def get_agent(agent_arn: Optional[str] = None, agent_name=pulumi.get(__ret__, 'agent_name'), endpoint_type=pulumi.get(__ret__, 'endpoint_type'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_agent) def get_agent_output(agent_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgentResult]: """ @@ -108,4 +110,12 @@ def get_agent_output(agent_arn: Optional[pulumi.Input[str]] = None, :param str agent_arn: The DataSync Agent ARN. """ - ... + __args__ = dict() + __args__['agentArn'] = agent_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getAgent', __args__, opts=opts, typ=GetAgentResult) + return __ret__.apply(lambda __response__: GetAgentResult( + agent_arn=pulumi.get(__response__, 'agent_arn'), + agent_name=pulumi.get(__response__, 'agent_name'), + endpoint_type=pulumi.get(__response__, 'endpoint_type'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_location_azure_blob.py b/sdk/python/pulumi_aws_native/datasync/get_location_azure_blob.py index 7fd8b7a5b9..24813bab93 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_location_azure_blob.py +++ b/sdk/python/pulumi_aws_native/datasync/get_location_azure_blob.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -136,9 +141,6 @@ def get_location_azure_blob(location_arn: Optional[str] = None, location_arn=pulumi.get(__ret__, 'location_arn'), location_uri=pulumi.get(__ret__, 'location_uri'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_location_azure_blob) def get_location_azure_blob_output(location_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationAzureBlobResult]: """ @@ -147,4 +149,15 @@ def get_location_azure_blob_output(location_arn: Optional[pulumi.Input[str]] = N :param str location_arn: The Amazon Resource Name (ARN) of the Azure Blob Location that is created. """ - ... + __args__ = dict() + __args__['locationArn'] = location_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getLocationAzureBlob', __args__, opts=opts, typ=GetLocationAzureBlobResult) + return __ret__.apply(lambda __response__: GetLocationAzureBlobResult( + agent_arns=pulumi.get(__response__, 'agent_arns'), + azure_access_tier=pulumi.get(__response__, 'azure_access_tier'), + azure_blob_authentication_type=pulumi.get(__response__, 'azure_blob_authentication_type'), + azure_blob_type=pulumi.get(__response__, 'azure_blob_type'), + location_arn=pulumi.get(__response__, 'location_arn'), + location_uri=pulumi.get(__response__, 'location_uri'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_location_efs.py b/sdk/python/pulumi_aws_native/datasync/get_location_efs.py index 5612a6dc51..c905d30bf2 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_location_efs.py +++ b/sdk/python/pulumi_aws_native/datasync/get_location_efs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_location_efs(location_arn: Optional[str] = None, location_arn=pulumi.get(__ret__, 'location_arn'), location_uri=pulumi.get(__ret__, 'location_uri'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_location_efs) def get_location_efs_output(location_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationEfsResult]: """ @@ -94,4 +96,11 @@ def get_location_efs_output(location_arn: Optional[pulumi.Input[str]] = None, :param str location_arn: The Amazon Resource Name (ARN) of the Amazon EFS file system location that is created. """ - ... + __args__ = dict() + __args__['locationArn'] = location_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getLocationEfs', __args__, opts=opts, typ=GetLocationEfsResult) + return __ret__.apply(lambda __response__: GetLocationEfsResult( + location_arn=pulumi.get(__response__, 'location_arn'), + location_uri=pulumi.get(__response__, 'location_uri'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_lustre.py b/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_lustre.py index 74f2c04734..4bb30b1250 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_lustre.py +++ b/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_lustre.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_location_f_sx_lustre(location_arn: Optional[str] = None, location_arn=pulumi.get(__ret__, 'location_arn'), location_uri=pulumi.get(__ret__, 'location_uri'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_location_f_sx_lustre) def get_location_f_sx_lustre_output(location_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationFSxLustreResult]: """ @@ -94,4 +96,11 @@ def get_location_f_sx_lustre_output(location_arn: Optional[pulumi.Input[str]] = :param str location_arn: The Amazon Resource Name (ARN) of the Amazon FSx for Lustre file system location that is created. """ - ... + __args__ = dict() + __args__['locationArn'] = location_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getLocationFSxLustre', __args__, opts=opts, typ=GetLocationFSxLustreResult) + return __ret__.apply(lambda __response__: GetLocationFSxLustreResult( + location_arn=pulumi.get(__response__, 'location_arn'), + location_uri=pulumi.get(__response__, 'location_uri'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_ontap.py b/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_ontap.py index 7462de3342..5b40e4745d 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_ontap.py +++ b/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_ontap.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_location_f_sx_ontap(location_arn: Optional[str] = None, location_arn=pulumi.get(__ret__, 'location_arn'), location_uri=pulumi.get(__ret__, 'location_uri'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_location_f_sx_ontap) def get_location_f_sx_ontap_output(location_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationFSxOntapResult]: """ @@ -107,4 +109,12 @@ def get_location_f_sx_ontap_output(location_arn: Optional[pulumi.Input[str]] = N :param str location_arn: The Amazon Resource Name (ARN) of the Amazon FSx ONTAP file system location that is created. """ - ... + __args__ = dict() + __args__['locationArn'] = location_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getLocationFSxOntap', __args__, opts=opts, typ=GetLocationFSxOntapResult) + return __ret__.apply(lambda __response__: GetLocationFSxOntapResult( + fsx_filesystem_arn=pulumi.get(__response__, 'fsx_filesystem_arn'), + location_arn=pulumi.get(__response__, 'location_arn'), + location_uri=pulumi.get(__response__, 'location_uri'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_open_zfs.py b/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_open_zfs.py index ba6ed9b155..a69d74d815 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_open_zfs.py +++ b/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_open_zfs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_location_f_sx_open_zfs(location_arn: Optional[str] = None, location_arn=pulumi.get(__ret__, 'location_arn'), location_uri=pulumi.get(__ret__, 'location_uri'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_location_f_sx_open_zfs) def get_location_f_sx_open_zfs_output(location_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationFSxOpenZfsResult]: """ @@ -94,4 +96,11 @@ def get_location_f_sx_open_zfs_output(location_arn: Optional[pulumi.Input[str]] :param str location_arn: The Amazon Resource Name (ARN) of the Amazon FSx OpenZFS file system location that is created. """ - ... + __args__ = dict() + __args__['locationArn'] = location_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getLocationFSxOpenZfs', __args__, opts=opts, typ=GetLocationFSxOpenZfsResult) + return __ret__.apply(lambda __response__: GetLocationFSxOpenZfsResult( + location_arn=pulumi.get(__response__, 'location_arn'), + location_uri=pulumi.get(__response__, 'location_uri'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_windows.py b/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_windows.py index 114e495fb7..54fb969dd4 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_windows.py +++ b/sdk/python/pulumi_aws_native/datasync/get_location_f_sx_windows.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_location_f_sx_windows(location_arn: Optional[str] = None, location_arn=pulumi.get(__ret__, 'location_arn'), location_uri=pulumi.get(__ret__, 'location_uri'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_location_f_sx_windows) def get_location_f_sx_windows_output(location_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationFSxWindowsResult]: """ @@ -94,4 +96,11 @@ def get_location_f_sx_windows_output(location_arn: Optional[pulumi.Input[str]] = :param str location_arn: The Amazon Resource Name (ARN) of the Amazon FSx for Windows file system location that is created. """ - ... + __args__ = dict() + __args__['locationArn'] = location_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getLocationFSxWindows', __args__, opts=opts, typ=GetLocationFSxWindowsResult) + return __ret__.apply(lambda __response__: GetLocationFSxWindowsResult( + location_arn=pulumi.get(__response__, 'location_arn'), + location_uri=pulumi.get(__response__, 'location_uri'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_location_hdfs.py b/sdk/python/pulumi_aws_native/datasync/get_location_hdfs.py index ec3739e35f..73c5b729fe 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_location_hdfs.py +++ b/sdk/python/pulumi_aws_native/datasync/get_location_hdfs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -202,9 +207,6 @@ def get_location_hdfs(location_arn: Optional[str] = None, replication_factor=pulumi.get(__ret__, 'replication_factor'), simple_user=pulumi.get(__ret__, 'simple_user'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_location_hdfs) def get_location_hdfs_output(location_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationHdfsResult]: """ @@ -213,4 +215,20 @@ def get_location_hdfs_output(location_arn: Optional[pulumi.Input[str]] = None, :param str location_arn: The Amazon Resource Name (ARN) of the HDFS location. """ - ... + __args__ = dict() + __args__['locationArn'] = location_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getLocationHdfs', __args__, opts=opts, typ=GetLocationHdfsResult) + return __ret__.apply(lambda __response__: GetLocationHdfsResult( + agent_arns=pulumi.get(__response__, 'agent_arns'), + authentication_type=pulumi.get(__response__, 'authentication_type'), + block_size=pulumi.get(__response__, 'block_size'), + kerberos_principal=pulumi.get(__response__, 'kerberos_principal'), + kms_key_provider_uri=pulumi.get(__response__, 'kms_key_provider_uri'), + location_arn=pulumi.get(__response__, 'location_arn'), + location_uri=pulumi.get(__response__, 'location_uri'), + name_nodes=pulumi.get(__response__, 'name_nodes'), + qop_configuration=pulumi.get(__response__, 'qop_configuration'), + replication_factor=pulumi.get(__response__, 'replication_factor'), + simple_user=pulumi.get(__response__, 'simple_user'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_location_nfs.py b/sdk/python/pulumi_aws_native/datasync/get_location_nfs.py index 0d569a4249..78bf8862e7 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_location_nfs.py +++ b/sdk/python/pulumi_aws_native/datasync/get_location_nfs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -113,9 +118,6 @@ def get_location_nfs(location_arn: Optional[str] = None, mount_options=pulumi.get(__ret__, 'mount_options'), on_prem_config=pulumi.get(__ret__, 'on_prem_config'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_location_nfs) def get_location_nfs_output(location_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationNfsResult]: """ @@ -124,4 +126,13 @@ def get_location_nfs_output(location_arn: Optional[pulumi.Input[str]] = None, :param str location_arn: The Amazon Resource Name (ARN) of the NFS location. """ - ... + __args__ = dict() + __args__['locationArn'] = location_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getLocationNfs', __args__, opts=opts, typ=GetLocationNfsResult) + return __ret__.apply(lambda __response__: GetLocationNfsResult( + location_arn=pulumi.get(__response__, 'location_arn'), + location_uri=pulumi.get(__response__, 'location_uri'), + mount_options=pulumi.get(__response__, 'mount_options'), + on_prem_config=pulumi.get(__response__, 'on_prem_config'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_location_object_storage.py b/sdk/python/pulumi_aws_native/datasync/get_location_object_storage.py index fb787658b0..c8e412e3af 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_location_object_storage.py +++ b/sdk/python/pulumi_aws_native/datasync/get_location_object_storage.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -149,9 +154,6 @@ def get_location_object_storage(location_arn: Optional[str] = None, server_port=pulumi.get(__ret__, 'server_port'), server_protocol=pulumi.get(__ret__, 'server_protocol'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_location_object_storage) def get_location_object_storage_output(location_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationObjectStorageResult]: """ @@ -160,4 +162,16 @@ def get_location_object_storage_output(location_arn: Optional[pulumi.Input[str]] :param str location_arn: The Amazon Resource Name (ARN) of the location that is created. """ - ... + __args__ = dict() + __args__['locationArn'] = location_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getLocationObjectStorage', __args__, opts=opts, typ=GetLocationObjectStorageResult) + return __ret__.apply(lambda __response__: GetLocationObjectStorageResult( + access_key=pulumi.get(__response__, 'access_key'), + agent_arns=pulumi.get(__response__, 'agent_arns'), + location_arn=pulumi.get(__response__, 'location_arn'), + location_uri=pulumi.get(__response__, 'location_uri'), + server_certificate=pulumi.get(__response__, 'server_certificate'), + server_port=pulumi.get(__response__, 'server_port'), + server_protocol=pulumi.get(__response__, 'server_protocol'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_location_s3.py b/sdk/python/pulumi_aws_native/datasync/get_location_s3.py index 59f6f3e504..e31671e003 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_location_s3.py +++ b/sdk/python/pulumi_aws_native/datasync/get_location_s3.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_location_s3(location_arn: Optional[str] = None, location_arn=pulumi.get(__ret__, 'location_arn'), location_uri=pulumi.get(__ret__, 'location_uri'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_location_s3) def get_location_s3_output(location_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationS3Result]: """ @@ -94,4 +96,11 @@ def get_location_s3_output(location_arn: Optional[pulumi.Input[str]] = None, :param str location_arn: The Amazon Resource Name (ARN) of the Amazon S3 bucket location. """ - ... + __args__ = dict() + __args__['locationArn'] = location_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getLocationS3', __args__, opts=opts, typ=GetLocationS3Result) + return __ret__.apply(lambda __response__: GetLocationS3Result( + location_arn=pulumi.get(__response__, 'location_arn'), + location_uri=pulumi.get(__response__, 'location_uri'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_location_smb.py b/sdk/python/pulumi_aws_native/datasync/get_location_smb.py index 212f50ae45..574303b435 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_location_smb.py +++ b/sdk/python/pulumi_aws_native/datasync/get_location_smb.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_location_smb(location_arn: Optional[str] = None, mount_options=pulumi.get(__ret__, 'mount_options'), tags=pulumi.get(__ret__, 'tags'), user=pulumi.get(__ret__, 'user')) - - -@_utilities.lift_output_func(get_location_smb) def get_location_smb_output(location_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationSmbResult]: """ @@ -148,4 +150,15 @@ def get_location_smb_output(location_arn: Optional[pulumi.Input[str]] = None, :param str location_arn: The Amazon Resource Name (ARN) of the SMB location that is created. """ - ... + __args__ = dict() + __args__['locationArn'] = location_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getLocationSmb', __args__, opts=opts, typ=GetLocationSmbResult) + return __ret__.apply(lambda __response__: GetLocationSmbResult( + agent_arns=pulumi.get(__response__, 'agent_arns'), + domain=pulumi.get(__response__, 'domain'), + location_arn=pulumi.get(__response__, 'location_arn'), + location_uri=pulumi.get(__response__, 'location_uri'), + mount_options=pulumi.get(__response__, 'mount_options'), + tags=pulumi.get(__response__, 'tags'), + user=pulumi.get(__response__, 'user'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_storage_system.py b/sdk/python/pulumi_aws_native/datasync/get_storage_system.py index e90c21aaa6..727b7fc6b0 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_storage_system.py +++ b/sdk/python/pulumi_aws_native/datasync/get_storage_system.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -163,9 +168,6 @@ def get_storage_system(storage_system_arn: Optional[str] = None, storage_system_arn=pulumi.get(__ret__, 'storage_system_arn'), system_type=pulumi.get(__ret__, 'system_type'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_storage_system) def get_storage_system_output(storage_system_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageSystemResult]: """ @@ -174,4 +176,17 @@ def get_storage_system_output(storage_system_arn: Optional[pulumi.Input[str]] = :param str storage_system_arn: The ARN of the on-premises storage system added to DataSync Discovery. """ - ... + __args__ = dict() + __args__['storageSystemArn'] = storage_system_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getStorageSystem', __args__, opts=opts, typ=GetStorageSystemResult) + return __ret__.apply(lambda __response__: GetStorageSystemResult( + agent_arns=pulumi.get(__response__, 'agent_arns'), + cloud_watch_log_group_arn=pulumi.get(__response__, 'cloud_watch_log_group_arn'), + connectivity_status=pulumi.get(__response__, 'connectivity_status'), + name=pulumi.get(__response__, 'name'), + secrets_manager_arn=pulumi.get(__response__, 'secrets_manager_arn'), + server_configuration=pulumi.get(__response__, 'server_configuration'), + storage_system_arn=pulumi.get(__response__, 'storage_system_arn'), + system_type=pulumi.get(__response__, 'system_type'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datasync/get_task.py b/sdk/python/pulumi_aws_native/datasync/get_task.py index 1fc8eaa417..989e10e33d 100644 --- a/sdk/python/pulumi_aws_native/datasync/get_task.py +++ b/sdk/python/pulumi_aws_native/datasync/get_task.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -217,9 +222,6 @@ def get_task(task_arn: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), task_arn=pulumi.get(__ret__, 'task_arn'), task_report_config=pulumi.get(__ret__, 'task_report_config')) - - -@_utilities.lift_output_func(get_task) def get_task_output(task_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTaskResult]: """ @@ -228,4 +230,21 @@ def get_task_output(task_arn: Optional[pulumi.Input[str]] = None, :param str task_arn: The ARN of the task. """ - ... + __args__ = dict() + __args__['taskArn'] = task_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datasync:getTask', __args__, opts=opts, typ=GetTaskResult) + return __ret__.apply(lambda __response__: GetTaskResult( + cloud_watch_log_group_arn=pulumi.get(__response__, 'cloud_watch_log_group_arn'), + destination_network_interface_arns=pulumi.get(__response__, 'destination_network_interface_arns'), + excludes=pulumi.get(__response__, 'excludes'), + includes=pulumi.get(__response__, 'includes'), + manifest_config=pulumi.get(__response__, 'manifest_config'), + name=pulumi.get(__response__, 'name'), + options=pulumi.get(__response__, 'options'), + schedule=pulumi.get(__response__, 'schedule'), + source_network_interface_arns=pulumi.get(__response__, 'source_network_interface_arns'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + task_arn=pulumi.get(__response__, 'task_arn'), + task_report_config=pulumi.get(__response__, 'task_report_config'))) diff --git a/sdk/python/pulumi_aws_native/datasync/location_azure_blob.py b/sdk/python/pulumi_aws_native/datasync/location_azure_blob.py index 781c1d9785..b3590e7f5b 100644 --- a/sdk/python/pulumi_aws_native/datasync/location_azure_blob.py +++ b/sdk/python/pulumi_aws_native/datasync/location_azure_blob.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datasync/location_efs.py b/sdk/python/pulumi_aws_native/datasync/location_efs.py index 546de99528..44c02a76fe 100644 --- a/sdk/python/pulumi_aws_native/datasync/location_efs.py +++ b/sdk/python/pulumi_aws_native/datasync/location_efs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datasync/location_f_sx_lustre.py b/sdk/python/pulumi_aws_native/datasync/location_f_sx_lustre.py index e19f1a3667..bacc2ed68c 100644 --- a/sdk/python/pulumi_aws_native/datasync/location_f_sx_lustre.py +++ b/sdk/python/pulumi_aws_native/datasync/location_f_sx_lustre.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/datasync/location_f_sx_ontap.py b/sdk/python/pulumi_aws_native/datasync/location_f_sx_ontap.py index b3b48ef089..8a77c3820c 100644 --- a/sdk/python/pulumi_aws_native/datasync/location_f_sx_ontap.py +++ b/sdk/python/pulumi_aws_native/datasync/location_f_sx_ontap.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datasync/location_f_sx_open_zfs.py b/sdk/python/pulumi_aws_native/datasync/location_f_sx_open_zfs.py index 222baef837..8e7e60160f 100644 --- a/sdk/python/pulumi_aws_native/datasync/location_f_sx_open_zfs.py +++ b/sdk/python/pulumi_aws_native/datasync/location_f_sx_open_zfs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datasync/location_f_sx_windows.py b/sdk/python/pulumi_aws_native/datasync/location_f_sx_windows.py index 41ddcbd39e..bb66d7181c 100644 --- a/sdk/python/pulumi_aws_native/datasync/location_f_sx_windows.py +++ b/sdk/python/pulumi_aws_native/datasync/location_f_sx_windows.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/datasync/location_hdfs.py b/sdk/python/pulumi_aws_native/datasync/location_hdfs.py index 316ba9d0c9..e79b585448 100644 --- a/sdk/python/pulumi_aws_native/datasync/location_hdfs.py +++ b/sdk/python/pulumi_aws_native/datasync/location_hdfs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datasync/location_nfs.py b/sdk/python/pulumi_aws_native/datasync/location_nfs.py index da64959129..ad7f8eee2a 100644 --- a/sdk/python/pulumi_aws_native/datasync/location_nfs.py +++ b/sdk/python/pulumi_aws_native/datasync/location_nfs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datasync/location_object_storage.py b/sdk/python/pulumi_aws_native/datasync/location_object_storage.py index 12672877c3..ae4cbf4e47 100644 --- a/sdk/python/pulumi_aws_native/datasync/location_object_storage.py +++ b/sdk/python/pulumi_aws_native/datasync/location_object_storage.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/datasync/location_s3.py b/sdk/python/pulumi_aws_native/datasync/location_s3.py index 30a21a83e4..d013127fa9 100644 --- a/sdk/python/pulumi_aws_native/datasync/location_s3.py +++ b/sdk/python/pulumi_aws_native/datasync/location_s3.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datasync/location_smb.py b/sdk/python/pulumi_aws_native/datasync/location_smb.py index 56f84b260c..44399d461b 100644 --- a/sdk/python/pulumi_aws_native/datasync/location_smb.py +++ b/sdk/python/pulumi_aws_native/datasync/location_smb.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datasync/outputs.py b/sdk/python/pulumi_aws_native/datasync/outputs.py index b831200d88..77c2ca65e4 100644 --- a/sdk/python/pulumi_aws_native/datasync/outputs.py +++ b/sdk/python/pulumi_aws_native/datasync/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/datasync/storage_system.py b/sdk/python/pulumi_aws_native/datasync/storage_system.py index da82bfd339..165efecf84 100644 --- a/sdk/python/pulumi_aws_native/datasync/storage_system.py +++ b/sdk/python/pulumi_aws_native/datasync/storage_system.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datasync/task.py b/sdk/python/pulumi_aws_native/datasync/task.py index 0dc1cacbb7..0d9b61d203 100644 --- a/sdk/python/pulumi_aws_native/datasync/task.py +++ b/sdk/python/pulumi_aws_native/datasync/task.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datazone/_inputs.py b/sdk/python/pulumi_aws_native/datazone/_inputs.py index 124f3a7c65..2dd197703d 100644 --- a/sdk/python/pulumi_aws_native/datazone/_inputs.py +++ b/sdk/python/pulumi_aws_native/datazone/_inputs.py @@ -4,37 +4,75 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DataSourceConfigurationInput0PropertiesArgs', + 'DataSourceConfigurationInput0PropertiesArgsDict', 'DataSourceConfigurationInput1PropertiesArgs', + 'DataSourceConfigurationInput1PropertiesArgsDict', 'DataSourceFilterExpressionArgs', + 'DataSourceFilterExpressionArgsDict', 'DataSourceFormInputArgs', + 'DataSourceFormInputArgsDict', 'DataSourceGlueRunConfigurationInputArgs', + 'DataSourceGlueRunConfigurationInputArgsDict', 'DataSourceRecommendationConfigurationArgs', + 'DataSourceRecommendationConfigurationArgsDict', 'DataSourceRedshiftClusterStorageArgs', + 'DataSourceRedshiftClusterStorageArgsDict', 'DataSourceRedshiftCredentialConfigurationArgs', + 'DataSourceRedshiftCredentialConfigurationArgsDict', 'DataSourceRedshiftRunConfigurationInputArgs', + 'DataSourceRedshiftRunConfigurationInputArgsDict', 'DataSourceRedshiftServerlessStorageArgs', + 'DataSourceRedshiftServerlessStorageArgsDict', 'DataSourceRedshiftStorage0PropertiesArgs', + 'DataSourceRedshiftStorage0PropertiesArgsDict', 'DataSourceRedshiftStorage1PropertiesArgs', + 'DataSourceRedshiftStorage1PropertiesArgsDict', 'DataSourceRelationalFilterConfigurationArgs', + 'DataSourceRelationalFilterConfigurationArgsDict', 'DataSourceScheduleConfigurationArgs', + 'DataSourceScheduleConfigurationArgsDict', 'DomainSingleSignOnArgs', + 'DomainSingleSignOnArgsDict', 'EnvironmentActionsAwsConsoleLinkParametersArgs', + 'EnvironmentActionsAwsConsoleLinkParametersArgsDict', 'EnvironmentBlueprintConfigurationRegionalParameterArgs', + 'EnvironmentBlueprintConfigurationRegionalParameterArgsDict', 'EnvironmentParameterArgs', + 'EnvironmentParameterArgsDict', 'EnvironmentProfileEnvironmentParameterArgs', + 'EnvironmentProfileEnvironmentParameterArgsDict', 'ProjectMembershipMember0PropertiesArgs', + 'ProjectMembershipMember0PropertiesArgsDict', 'ProjectMembershipMember1PropertiesArgs', + 'ProjectMembershipMember1PropertiesArgsDict', 'SubscriptionTargetFormArgs', + 'SubscriptionTargetFormArgsDict', ] +MYPY = False + +if not MYPY: + class DataSourceConfigurationInput0PropertiesArgsDict(TypedDict): + """ + Specifies the configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration. + """ + glue_run_configuration: NotRequired[pulumi.Input['DataSourceGlueRunConfigurationInputArgsDict']] +elif False: + DataSourceConfigurationInput0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfigurationInput0PropertiesArgs: def __init__(__self__, *, @@ -55,6 +93,15 @@ def glue_run_configuration(self, value: Optional[pulumi.Input['DataSourceGlueRun pulumi.set(self, "glue_run_configuration", value) +if not MYPY: + class DataSourceConfigurationInput1PropertiesArgsDict(TypedDict): + """ + Specifies the configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration. + """ + redshift_run_configuration: NotRequired[pulumi.Input['DataSourceRedshiftRunConfigurationInputArgsDict']] +elif False: + DataSourceConfigurationInput1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfigurationInput1PropertiesArgs: def __init__(__self__, *, @@ -75,6 +122,16 @@ def redshift_run_configuration(self, value: Optional[pulumi.Input['DataSourceRed pulumi.set(self, "redshift_run_configuration", value) +if not MYPY: + class DataSourceFilterExpressionArgsDict(TypedDict): + """ + The search filter expression. + """ + expression: pulumi.Input[str] + type: pulumi.Input['DataSourceFilterExpressionType'] +elif False: + DataSourceFilterExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceFilterExpressionArgs: def __init__(__self__, *, @@ -105,6 +162,30 @@ def type(self, value: pulumi.Input['DataSourceFilterExpressionType']): pulumi.set(self, "type", value) +if not MYPY: + class DataSourceFormInputArgsDict(TypedDict): + """ + The details of a metadata form. + """ + form_name: pulumi.Input[str] + """ + The name of the metadata form. + """ + content: NotRequired[pulumi.Input[str]] + """ + The content of the metadata form. + """ + type_identifier: NotRequired[pulumi.Input[str]] + """ + The ID of the metadata form type. + """ + type_revision: NotRequired[pulumi.Input[str]] + """ + The revision of the metadata form type. + """ +elif False: + DataSourceFormInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceFormInputArgs: def __init__(__self__, *, @@ -176,6 +257,23 @@ def type_revision(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type_revision", value) +if not MYPY: + class DataSourceGlueRunConfigurationInputArgsDict(TypedDict): + relational_filter_configurations: pulumi.Input[Sequence[pulumi.Input['DataSourceRelationalFilterConfigurationArgsDict']]] + """ + The relational filter configurations included in the configuration details of the AWS Glue data source. + """ + auto_import_data_quality_result: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to automatically import data quality metrics as part of the data source run. + """ + data_access_role: NotRequired[pulumi.Input[str]] + """ + The data access role included in the configuration details of the AWS Glue data source. + """ +elif False: + DataSourceGlueRunConfigurationInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceGlueRunConfigurationInputArgs: def __init__(__self__, *, @@ -230,6 +328,18 @@ def data_access_role(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "data_access_role", value) +if not MYPY: + class DataSourceRecommendationConfigurationArgsDict(TypedDict): + """ + The recommendation to be updated as part of the UpdateDataSource action. + """ + enable_business_name_generation: NotRequired[pulumi.Input[bool]] + """ + Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration. + """ +elif False: + DataSourceRecommendationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceRecommendationConfigurationArgs: def __init__(__self__, *, @@ -254,6 +364,18 @@ def enable_business_name_generation(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enable_business_name_generation", value) +if not MYPY: + class DataSourceRedshiftClusterStorageArgsDict(TypedDict): + """ + The name of an Amazon Redshift cluster. + """ + cluster_name: pulumi.Input[str] + """ + The name of an Amazon Redshift cluster. + """ +elif False: + DataSourceRedshiftClusterStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceRedshiftClusterStorageArgs: def __init__(__self__, *, @@ -277,6 +399,18 @@ def cluster_name(self, value: pulumi.Input[str]): pulumi.set(self, "cluster_name", value) +if not MYPY: + class DataSourceRedshiftCredentialConfigurationArgsDict(TypedDict): + """ + The ARN of a secret manager for an Amazon Redshift cluster. + """ + secret_manager_arn: pulumi.Input[str] + """ + The ARN of a secret manager for an Amazon Redshift cluster. + """ +elif False: + DataSourceRedshiftCredentialConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceRedshiftCredentialConfigurationArgs: def __init__(__self__, *, @@ -300,6 +434,27 @@ def secret_manager_arn(self, value: pulumi.Input[str]): pulumi.set(self, "secret_manager_arn", value) +if not MYPY: + class DataSourceRedshiftRunConfigurationInputArgsDict(TypedDict): + """ + The configuration details of the Amazon Redshift data source. + """ + redshift_credential_configuration: pulumi.Input['DataSourceRedshiftCredentialConfigurationArgsDict'] + """ + The details of the credentials required to access an Amazon Redshift cluster. + """ + redshift_storage: pulumi.Input[Union['DataSourceRedshiftStorage0PropertiesArgsDict', 'DataSourceRedshiftStorage1PropertiesArgsDict']] + """ + The details of the Amazon Redshift storage as part of the configuration of an Amazon Redshift data source run. + """ + relational_filter_configurations: pulumi.Input[Sequence[pulumi.Input['DataSourceRelationalFilterConfigurationArgsDict']]] + data_access_role: NotRequired[pulumi.Input[str]] + """ + The data access role included in the configuration details of the Amazon Redshift data source. + """ +elif False: + DataSourceRedshiftRunConfigurationInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceRedshiftRunConfigurationInputArgs: def __init__(__self__, *, @@ -365,6 +520,18 @@ def data_access_role(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "data_access_role", value) +if not MYPY: + class DataSourceRedshiftServerlessStorageArgsDict(TypedDict): + """ + The details of the Amazon Redshift Serverless workgroup storage. + """ + workgroup_name: pulumi.Input[str] + """ + The name of the Amazon Redshift Serverless workgroup. + """ +elif False: + DataSourceRedshiftServerlessStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceRedshiftServerlessStorageArgs: def __init__(__self__, *, @@ -388,6 +555,15 @@ def workgroup_name(self, value: pulumi.Input[str]): pulumi.set(self, "workgroup_name", value) +if not MYPY: + class DataSourceRedshiftStorage0PropertiesArgsDict(TypedDict): + """ + The details of the Amazon Redshift cluster source. + """ + redshift_cluster_source: pulumi.Input['DataSourceRedshiftClusterStorageArgsDict'] +elif False: + DataSourceRedshiftStorage0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceRedshiftStorage0PropertiesArgs: def __init__(__self__, *, @@ -407,6 +583,15 @@ def redshift_cluster_source(self, value: pulumi.Input['DataSourceRedshiftCluster pulumi.set(self, "redshift_cluster_source", value) +if not MYPY: + class DataSourceRedshiftStorage1PropertiesArgsDict(TypedDict): + """ + The details of the Amazon Redshift Serverless workgroup source. + """ + redshift_serverless_source: pulumi.Input['DataSourceRedshiftServerlessStorageArgsDict'] +elif False: + DataSourceRedshiftStorage1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceRedshiftStorage1PropertiesArgs: def __init__(__self__, *, @@ -426,6 +611,26 @@ def redshift_serverless_source(self, value: pulumi.Input['DataSourceRedshiftServ pulumi.set(self, "redshift_serverless_source", value) +if not MYPY: + class DataSourceRelationalFilterConfigurationArgsDict(TypedDict): + """ + The relational filter configuration for the data source. + """ + database_name: pulumi.Input[str] + """ + The database name specified in the relational filter configuration for the data source. + """ + filter_expressions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceFilterExpressionArgsDict']]]] + """ + The filter expressions specified in the relational filter configuration for the data source. + """ + schema_name: NotRequired[pulumi.Input[str]] + """ + The schema name specified in the relational filter configuration for the data source. + """ +elif False: + DataSourceRelationalFilterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceRelationalFilterConfigurationArgs: def __init__(__self__, *, @@ -481,6 +686,22 @@ def schema_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "schema_name", value) +if not MYPY: + class DataSourceScheduleConfigurationArgsDict(TypedDict): + """ + The schedule of the data source runs. + """ + schedule: NotRequired[pulumi.Input[str]] + """ + The schedule of the data source runs. + """ + timezone: NotRequired[pulumi.Input[str]] + """ + The timezone of the data source run. + """ +elif False: + DataSourceScheduleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceScheduleConfigurationArgs: def __init__(__self__, *, @@ -521,6 +742,22 @@ def timezone(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "timezone", value) +if not MYPY: + class DomainSingleSignOnArgsDict(TypedDict): + """ + The single-sign on configuration of the Amazon DataZone domain. + """ + type: NotRequired[pulumi.Input['DomainAuthType']] + """ + The type of single sign-on in Amazon DataZone. + """ + user_assignment: NotRequired[pulumi.Input['DomainUserAssignment']] + """ + The single sign-on user assignment in Amazon DataZone. + """ +elif False: + DomainSingleSignOnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainSingleSignOnArgs: def __init__(__self__, *, @@ -561,6 +798,18 @@ def user_assignment(self, value: Optional[pulumi.Input['DomainUserAssignment']]) pulumi.set(self, "user_assignment", value) +if not MYPY: + class EnvironmentActionsAwsConsoleLinkParametersArgsDict(TypedDict): + """ + The parameters of the console link specified as part of the environment action + """ + uri: NotRequired[pulumi.Input[str]] + """ + The URI of the console link specified as part of the environment action. + """ +elif False: + EnvironmentActionsAwsConsoleLinkParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentActionsAwsConsoleLinkParametersArgs: def __init__(__self__, *, @@ -585,6 +834,19 @@ def uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uri", value) +if not MYPY: + class EnvironmentBlueprintConfigurationRegionalParameterArgsDict(TypedDict): + parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A string to string map containing parameters for the region. + """ + region: NotRequired[pulumi.Input[str]] + """ + The region specified in the environment parameter. + """ +elif False: + EnvironmentBlueprintConfigurationRegionalParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentBlueprintConfigurationRegionalParameterArgs: def __init__(__self__, *, @@ -624,6 +886,22 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +if not MYPY: + class EnvironmentParameterArgsDict(TypedDict): + """ + The parameter details of an environment. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of an environment parameter. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of an environment parameter. + """ +elif False: + EnvironmentParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentParameterArgs: def __init__(__self__, *, @@ -664,6 +942,22 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class EnvironmentProfileEnvironmentParameterArgsDict(TypedDict): + """ + The parameter details of an environment profile. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of an environment profile parameter. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of an environment profile parameter. + """ +elif False: + EnvironmentProfileEnvironmentParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentProfileEnvironmentParameterArgs: def __init__(__self__, *, @@ -704,6 +998,12 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ProjectMembershipMember0PropertiesArgsDict(TypedDict): + user_identifier: pulumi.Input[str] +elif False: + ProjectMembershipMember0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProjectMembershipMember0PropertiesArgs: def __init__(__self__, *, @@ -720,6 +1020,12 @@ def user_identifier(self, value: pulumi.Input[str]): pulumi.set(self, "user_identifier", value) +if not MYPY: + class ProjectMembershipMember1PropertiesArgsDict(TypedDict): + group_identifier: pulumi.Input[str] +elif False: + ProjectMembershipMember1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProjectMembershipMember1PropertiesArgs: def __init__(__self__, *, @@ -736,6 +1042,22 @@ def group_identifier(self, value: pulumi.Input[str]): pulumi.set(self, "group_identifier", value) +if not MYPY: + class SubscriptionTargetFormArgsDict(TypedDict): + """ + The details of the subscription target configuration. + """ + content: pulumi.Input[str] + """ + The content of the subscription target configuration. + """ + form_name: pulumi.Input[str] + """ + The form name included in the subscription target configuration. + """ +elif False: + SubscriptionTargetFormArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SubscriptionTargetFormArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/datazone/data_source.py b/sdk/python/pulumi_aws_native/datazone/data_source.py index 24fda54686..8a22313615 100644 --- a/sdk/python/pulumi_aws_native/datazone/data_source.py +++ b/sdk/python/pulumi_aws_native/datazone/data_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/datazone/domain.py b/sdk/python/pulumi_aws_native/datazone/domain.py index 00b9c29b78..15cf7e2e42 100644 --- a/sdk/python/pulumi_aws_native/datazone/domain.py +++ b/sdk/python/pulumi_aws_native/datazone/domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/datazone/environment.py b/sdk/python/pulumi_aws_native/datazone/environment.py index 4578e8cf37..5ae0d31506 100644 --- a/sdk/python/pulumi_aws_native/datazone/environment.py +++ b/sdk/python/pulumi_aws_native/datazone/environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/datazone/environment_actions.py b/sdk/python/pulumi_aws_native/datazone/environment_actions.py index 5fa395f3aa..9c6ca31a0a 100644 --- a/sdk/python/pulumi_aws_native/datazone/environment_actions.py +++ b/sdk/python/pulumi_aws_native/datazone/environment_actions.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/datazone/environment_blueprint_configuration.py b/sdk/python/pulumi_aws_native/datazone/environment_blueprint_configuration.py index 2082283b7a..841aa5c696 100644 --- a/sdk/python/pulumi_aws_native/datazone/environment_blueprint_configuration.py +++ b/sdk/python/pulumi_aws_native/datazone/environment_blueprint_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/datazone/environment_profile.py b/sdk/python/pulumi_aws_native/datazone/environment_profile.py index 56fb6bceb6..a03c8be423 100644 --- a/sdk/python/pulumi_aws_native/datazone/environment_profile.py +++ b/sdk/python/pulumi_aws_native/datazone/environment_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/datazone/get_data_source.py b/sdk/python/pulumi_aws_native/datazone/get_data_source.py index 1db69f0d38..5e6878770a 100644 --- a/sdk/python/pulumi_aws_native/datazone/get_data_source.py +++ b/sdk/python/pulumi_aws_native/datazone/get_data_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -256,9 +261,6 @@ def get_data_source(domain_id: Optional[str] = None, schedule=pulumi.get(__ret__, 'schedule'), status=pulumi.get(__ret__, 'status'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_data_source) def get_data_source_output(domain_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataSourceResult]: @@ -269,4 +271,25 @@ def get_data_source_output(domain_id: Optional[pulumi.Input[str]] = None, :param str domain_id: The ID of the Amazon DataZone domain where the data source is created. :param str id: The unique identifier of the data source. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datazone:getDataSource', __args__, opts=opts, typ=GetDataSourceResult) + return __ret__.apply(lambda __response__: GetDataSourceResult( + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + domain_id=pulumi.get(__response__, 'domain_id'), + enable_setting=pulumi.get(__response__, 'enable_setting'), + environment_id=pulumi.get(__response__, 'environment_id'), + id=pulumi.get(__response__, 'id'), + last_run_asset_count=pulumi.get(__response__, 'last_run_asset_count'), + last_run_at=pulumi.get(__response__, 'last_run_at'), + last_run_status=pulumi.get(__response__, 'last_run_status'), + name=pulumi.get(__response__, 'name'), + project_id=pulumi.get(__response__, 'project_id'), + publish_on_import=pulumi.get(__response__, 'publish_on_import'), + recommendation=pulumi.get(__response__, 'recommendation'), + schedule=pulumi.get(__response__, 'schedule'), + status=pulumi.get(__response__, 'status'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/datazone/get_domain.py b/sdk/python/pulumi_aws_native/datazone/get_domain.py index 747156f970..9c089d6df1 100644 --- a/sdk/python/pulumi_aws_native/datazone/get_domain.py +++ b/sdk/python/pulumi_aws_native/datazone/get_domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -202,9 +207,6 @@ def get_domain(id: Optional[str] = None, single_sign_on=pulumi.get(__ret__, 'single_sign_on'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_domain) def get_domain_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainResult]: """ @@ -213,4 +215,20 @@ def get_domain_output(id: Optional[pulumi.Input[str]] = None, :param str id: The id of the Amazon DataZone domain. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datazone:getDomain', __args__, opts=opts, typ=GetDomainResult) + return __ret__.apply(lambda __response__: GetDomainResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + domain_execution_role=pulumi.get(__response__, 'domain_execution_role'), + id=pulumi.get(__response__, 'id'), + last_updated_at=pulumi.get(__response__, 'last_updated_at'), + managed_account_id=pulumi.get(__response__, 'managed_account_id'), + name=pulumi.get(__response__, 'name'), + portal_url=pulumi.get(__response__, 'portal_url'), + single_sign_on=pulumi.get(__response__, 'single_sign_on'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/datazone/get_environment.py b/sdk/python/pulumi_aws_native/datazone/get_environment.py index f90e6810b2..26e83f3a02 100644 --- a/sdk/python/pulumi_aws_native/datazone/get_environment.py +++ b/sdk/python/pulumi_aws_native/datazone/get_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -242,9 +247,6 @@ def get_environment(domain_id: Optional[str] = None, provider=pulumi.get(__ret__, 'provider'), status=pulumi.get(__ret__, 'status'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_environment) def get_environment_output(domain_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentResult]: @@ -255,4 +257,24 @@ def get_environment_output(domain_id: Optional[pulumi.Input[str]] = None, :param str domain_id: The identifier of the Amazon DataZone domain in which the environment is created. :param str id: The ID of the Amazon DataZone environment. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datazone:getEnvironment', __args__, opts=opts, typ=GetEnvironmentResult) + return __ret__.apply(lambda __response__: GetEnvironmentResult( + aws_account_id=pulumi.get(__response__, 'aws_account_id'), + aws_account_region=pulumi.get(__response__, 'aws_account_region'), + created_at=pulumi.get(__response__, 'created_at'), + created_by=pulumi.get(__response__, 'created_by'), + description=pulumi.get(__response__, 'description'), + domain_id=pulumi.get(__response__, 'domain_id'), + environment_blueprint_id=pulumi.get(__response__, 'environment_blueprint_id'), + environment_profile_id=pulumi.get(__response__, 'environment_profile_id'), + glossary_terms=pulumi.get(__response__, 'glossary_terms'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + project_id=pulumi.get(__response__, 'project_id'), + provider=pulumi.get(__response__, 'provider'), + status=pulumi.get(__response__, 'status'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/datazone/get_environment_actions.py b/sdk/python/pulumi_aws_native/datazone/get_environment_actions.py index e9562d8260..a898f94da7 100644 --- a/sdk/python/pulumi_aws_native/datazone/get_environment_actions.py +++ b/sdk/python/pulumi_aws_native/datazone/get_environment_actions.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -128,9 +133,6 @@ def get_environment_actions(domain_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), parameters=pulumi.get(__ret__, 'parameters')) - - -@_utilities.lift_output_func(get_environment_actions) def get_environment_actions_output(domain_id: Optional[pulumi.Input[str]] = None, environment_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, @@ -143,4 +145,16 @@ def get_environment_actions_output(domain_id: Optional[pulumi.Input[str]] = None :param str environment_id: The identifier of the Amazon DataZone environment in which the action is taking place :param str id: The ID of the Amazon DataZone environment action. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + __args__['environmentId'] = environment_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datazone:getEnvironmentActions', __args__, opts=opts, typ=GetEnvironmentActionsResult) + return __ret__.apply(lambda __response__: GetEnvironmentActionsResult( + description=pulumi.get(__response__, 'description'), + domain_id=pulumi.get(__response__, 'domain_id'), + environment_id=pulumi.get(__response__, 'environment_id'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + parameters=pulumi.get(__response__, 'parameters'))) diff --git a/sdk/python/pulumi_aws_native/datazone/get_environment_blueprint_configuration.py b/sdk/python/pulumi_aws_native/datazone/get_environment_blueprint_configuration.py index 4acd764f5b..6bfad11adf 100644 --- a/sdk/python/pulumi_aws_native/datazone/get_environment_blueprint_configuration.py +++ b/sdk/python/pulumi_aws_native/datazone/get_environment_blueprint_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -151,9 +156,6 @@ def get_environment_blueprint_configuration(domain_id: Optional[str] = None, provisioning_role_arn=pulumi.get(__ret__, 'provisioning_role_arn'), regional_parameters=pulumi.get(__ret__, 'regional_parameters'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_environment_blueprint_configuration) def get_environment_blueprint_configuration_output(domain_id: Optional[pulumi.Input[str]] = None, environment_blueprint_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentBlueprintConfigurationResult]: @@ -164,4 +166,17 @@ def get_environment_blueprint_configuration_output(domain_id: Optional[pulumi.In :param str domain_id: The identifier of the Amazon DataZone domain in which an environment blueprint exists. :param str environment_blueprint_id: The identifier of the environment blueprint. This identifier should be used when creating environment profiles. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + __args__['environmentBlueprintId'] = environment_blueprint_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datazone:getEnvironmentBlueprintConfiguration', __args__, opts=opts, typ=GetEnvironmentBlueprintConfigurationResult) + return __ret__.apply(lambda __response__: GetEnvironmentBlueprintConfigurationResult( + created_at=pulumi.get(__response__, 'created_at'), + domain_id=pulumi.get(__response__, 'domain_id'), + enabled_regions=pulumi.get(__response__, 'enabled_regions'), + environment_blueprint_id=pulumi.get(__response__, 'environment_blueprint_id'), + manage_access_role_arn=pulumi.get(__response__, 'manage_access_role_arn'), + provisioning_role_arn=pulumi.get(__response__, 'provisioning_role_arn'), + regional_parameters=pulumi.get(__response__, 'regional_parameters'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/datazone/get_environment_profile.py b/sdk/python/pulumi_aws_native/datazone/get_environment_profile.py index 9448ea0fa8..1a9c149d58 100644 --- a/sdk/python/pulumi_aws_native/datazone/get_environment_profile.py +++ b/sdk/python/pulumi_aws_native/datazone/get_environment_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -203,9 +208,6 @@ def get_environment_profile(domain_id: Optional[str] = None, project_id=pulumi.get(__ret__, 'project_id'), updated_at=pulumi.get(__ret__, 'updated_at'), user_parameters=pulumi.get(__ret__, 'user_parameters')) - - -@_utilities.lift_output_func(get_environment_profile) def get_environment_profile_output(domain_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentProfileResult]: @@ -216,4 +218,21 @@ def get_environment_profile_output(domain_id: Optional[pulumi.Input[str]] = None :param str domain_id: The ID of the Amazon DataZone domain in which this environment profile is created. :param str id: The ID of this Amazon DataZone environment profile. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datazone:getEnvironmentProfile', __args__, opts=opts, typ=GetEnvironmentProfileResult) + return __ret__.apply(lambda __response__: GetEnvironmentProfileResult( + aws_account_id=pulumi.get(__response__, 'aws_account_id'), + aws_account_region=pulumi.get(__response__, 'aws_account_region'), + created_at=pulumi.get(__response__, 'created_at'), + created_by=pulumi.get(__response__, 'created_by'), + description=pulumi.get(__response__, 'description'), + domain_id=pulumi.get(__response__, 'domain_id'), + environment_blueprint_id=pulumi.get(__response__, 'environment_blueprint_id'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + project_id=pulumi.get(__response__, 'project_id'), + updated_at=pulumi.get(__response__, 'updated_at'), + user_parameters=pulumi.get(__response__, 'user_parameters'))) diff --git a/sdk/python/pulumi_aws_native/datazone/get_group_profile.py b/sdk/python/pulumi_aws_native/datazone/get_group_profile.py index 660adb9f7b..a3d8013bbf 100644 --- a/sdk/python/pulumi_aws_native/datazone/get_group_profile.py +++ b/sdk/python/pulumi_aws_native/datazone/get_group_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -99,9 +104,6 @@ def get_group_profile(domain_id: Optional[str] = None, group_name=pulumi.get(__ret__, 'group_name'), id=pulumi.get(__ret__, 'id'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_group_profile) def get_group_profile_output(domain_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupProfileResult]: @@ -112,4 +114,13 @@ def get_group_profile_output(domain_id: Optional[pulumi.Input[str]] = None, :param str domain_id: The identifier of the Amazon DataZone domain in which the group profile is created. :param str id: The ID of the Amazon DataZone group profile. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datazone:getGroupProfile', __args__, opts=opts, typ=GetGroupProfileResult) + return __ret__.apply(lambda __response__: GetGroupProfileResult( + domain_id=pulumi.get(__response__, 'domain_id'), + group_name=pulumi.get(__response__, 'group_name'), + id=pulumi.get(__response__, 'id'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/datazone/get_project.py b/sdk/python/pulumi_aws_native/datazone/get_project.py index 9a75a98b27..6b62232765 100644 --- a/sdk/python/pulumi_aws_native/datazone/get_project.py +++ b/sdk/python/pulumi_aws_native/datazone/get_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -150,9 +155,6 @@ def get_project(domain_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), last_updated_at=pulumi.get(__ret__, 'last_updated_at'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_project) def get_project_output(domain_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]: @@ -163,4 +165,17 @@ def get_project_output(domain_id: Optional[pulumi.Input[str]] = None, :param str domain_id: The identifier of the Amazon DataZone domain in which the project was created. :param str id: The ID of the Amazon DataZone project. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datazone:getProject', __args__, opts=opts, typ=GetProjectResult) + return __ret__.apply(lambda __response__: GetProjectResult( + created_at=pulumi.get(__response__, 'created_at'), + created_by=pulumi.get(__response__, 'created_by'), + description=pulumi.get(__response__, 'description'), + domain_id=pulumi.get(__response__, 'domain_id'), + glossary_terms=pulumi.get(__response__, 'glossary_terms'), + id=pulumi.get(__response__, 'id'), + last_updated_at=pulumi.get(__response__, 'last_updated_at'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_aws_native/datazone/get_subscription_target.py b/sdk/python/pulumi_aws_native/datazone/get_subscription_target.py index 9d01554d58..95836c100b 100644 --- a/sdk/python/pulumi_aws_native/datazone/get_subscription_target.py +++ b/sdk/python/pulumi_aws_native/datazone/get_subscription_target.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -232,9 +237,6 @@ def get_subscription_target(domain_id: Optional[str] = None, subscription_target_config=pulumi.get(__ret__, 'subscription_target_config'), updated_at=pulumi.get(__ret__, 'updated_at'), updated_by=pulumi.get(__ret__, 'updated_by')) - - -@_utilities.lift_output_func(get_subscription_target) def get_subscription_target_output(domain_id: Optional[pulumi.Input[str]] = None, environment_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, @@ -247,4 +249,24 @@ def get_subscription_target_output(domain_id: Optional[pulumi.Input[str]] = None :param str environment_id: The ID of the environment in which subscription target is created. :param str id: The ID of the subscription target. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + __args__['environmentId'] = environment_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datazone:getSubscriptionTarget', __args__, opts=opts, typ=GetSubscriptionTargetResult) + return __ret__.apply(lambda __response__: GetSubscriptionTargetResult( + applicable_asset_types=pulumi.get(__response__, 'applicable_asset_types'), + authorized_principals=pulumi.get(__response__, 'authorized_principals'), + created_at=pulumi.get(__response__, 'created_at'), + created_by=pulumi.get(__response__, 'created_by'), + domain_id=pulumi.get(__response__, 'domain_id'), + environment_id=pulumi.get(__response__, 'environment_id'), + id=pulumi.get(__response__, 'id'), + manage_access_role=pulumi.get(__response__, 'manage_access_role'), + name=pulumi.get(__response__, 'name'), + project_id=pulumi.get(__response__, 'project_id'), + provider=pulumi.get(__response__, 'provider'), + subscription_target_config=pulumi.get(__response__, 'subscription_target_config'), + updated_at=pulumi.get(__response__, 'updated_at'), + updated_by=pulumi.get(__response__, 'updated_by'))) diff --git a/sdk/python/pulumi_aws_native/datazone/get_user_profile.py b/sdk/python/pulumi_aws_native/datazone/get_user_profile.py index e52113090c..d9a64788ba 100644 --- a/sdk/python/pulumi_aws_native/datazone/get_user_profile.py +++ b/sdk/python/pulumi_aws_native/datazone/get_user_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -110,9 +115,6 @@ def get_user_profile(domain_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), status=pulumi.get(__ret__, 'status'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_user_profile) def get_user_profile_output(domain_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserProfileResult]: @@ -123,4 +125,14 @@ def get_user_profile_output(domain_id: Optional[pulumi.Input[str]] = None, :param str domain_id: The identifier of the Amazon DataZone domain in which the user profile is created. :param str id: The ID of the Amazon DataZone user profile. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:datazone:getUserProfile', __args__, opts=opts, typ=GetUserProfileResult) + return __ret__.apply(lambda __response__: GetUserProfileResult( + details=pulumi.get(__response__, 'details'), + domain_id=pulumi.get(__response__, 'domain_id'), + id=pulumi.get(__response__, 'id'), + status=pulumi.get(__response__, 'status'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/datazone/group_profile.py b/sdk/python/pulumi_aws_native/datazone/group_profile.py index ea16a39533..fd54e104eb 100644 --- a/sdk/python/pulumi_aws_native/datazone/group_profile.py +++ b/sdk/python/pulumi_aws_native/datazone/group_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/datazone/outputs.py b/sdk/python/pulumi_aws_native/datazone/outputs.py index 5672dda77b..3edda1b498 100644 --- a/sdk/python/pulumi_aws_native/datazone/outputs.py +++ b/sdk/python/pulumi_aws_native/datazone/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/datazone/project.py b/sdk/python/pulumi_aws_native/datazone/project.py index f6296a7f59..845869b970 100644 --- a/sdk/python/pulumi_aws_native/datazone/project.py +++ b/sdk/python/pulumi_aws_native/datazone/project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ProjectArgs', 'Project'] diff --git a/sdk/python/pulumi_aws_native/datazone/project_membership.py b/sdk/python/pulumi_aws_native/datazone/project_membership.py index 748bd7a1c0..de24f3e114 100644 --- a/sdk/python/pulumi_aws_native/datazone/project_membership.py +++ b/sdk/python/pulumi_aws_native/datazone/project_membership.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/datazone/subscription_target.py b/sdk/python/pulumi_aws_native/datazone/subscription_target.py index 30ae35baa5..379d9a51b2 100644 --- a/sdk/python/pulumi_aws_native/datazone/subscription_target.py +++ b/sdk/python/pulumi_aws_native/datazone/subscription_target.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/datazone/user_profile.py b/sdk/python/pulumi_aws_native/datazone/user_profile.py index dfbd5ea24f..2e14505c58 100644 --- a/sdk/python/pulumi_aws_native/datazone/user_profile.py +++ b/sdk/python/pulumi_aws_native/datazone/user_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/deadline/_inputs.py b/sdk/python/pulumi_aws_native/deadline/_inputs.py index 5bb4e59f30..41227e9a0d 100644 --- a/sdk/python/pulumi_aws_native/deadline/_inputs.py +++ b/sdk/python/pulumi_aws_native/deadline/_inputs.py @@ -4,34 +4,67 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'FleetAcceleratorCountRangeArgs', + 'FleetAcceleratorCountRangeArgsDict', 'FleetAcceleratorTotalMemoryMiBRangeArgs', + 'FleetAcceleratorTotalMemoryMiBRangeArgsDict', 'FleetAmountCapabilityArgs', + 'FleetAmountCapabilityArgsDict', 'FleetAttributeCapabilityArgs', + 'FleetAttributeCapabilityArgsDict', 'FleetConfiguration0PropertiesArgs', + 'FleetConfiguration0PropertiesArgsDict', 'FleetConfiguration1PropertiesArgs', + 'FleetConfiguration1PropertiesArgsDict', 'FleetCustomerManagedFleetConfigurationArgs', + 'FleetCustomerManagedFleetConfigurationArgsDict', 'FleetCustomerManagedWorkerCapabilitiesArgs', + 'FleetCustomerManagedWorkerCapabilitiesArgsDict', 'FleetEc2EbsVolumeArgs', + 'FleetEc2EbsVolumeArgsDict', 'FleetMemoryMiBRangeArgs', + 'FleetMemoryMiBRangeArgsDict', 'FleetServiceManagedEc2FleetConfigurationArgs', + 'FleetServiceManagedEc2FleetConfigurationArgsDict', 'FleetServiceManagedEc2InstanceCapabilitiesArgs', + 'FleetServiceManagedEc2InstanceCapabilitiesArgsDict', 'FleetServiceManagedEc2InstanceMarketOptionsArgs', + 'FleetServiceManagedEc2InstanceMarketOptionsArgsDict', 'FleetVCpuCountRangeArgs', + 'FleetVCpuCountRangeArgsDict', 'QueueJobAttachmentSettingsArgs', + 'QueueJobAttachmentSettingsArgsDict', 'QueueJobRunAsUserArgs', + 'QueueJobRunAsUserArgsDict', 'QueuePosixUserArgs', + 'QueuePosixUserArgsDict', 'QueueWindowsUserArgs', + 'QueueWindowsUserArgsDict', 'StorageProfileFileSystemLocationArgs', + 'StorageProfileFileSystemLocationArgsDict', ] +MYPY = False + +if not MYPY: + class FleetAcceleratorCountRangeArgsDict(TypedDict): + min: pulumi.Input[int] + max: NotRequired[pulumi.Input[int]] +elif False: + FleetAcceleratorCountRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetAcceleratorCountRangeArgs: def __init__(__self__, *, @@ -60,6 +93,13 @@ def max(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max", value) +if not MYPY: + class FleetAcceleratorTotalMemoryMiBRangeArgsDict(TypedDict): + min: pulumi.Input[int] + max: NotRequired[pulumi.Input[int]] +elif False: + FleetAcceleratorTotalMemoryMiBRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetAcceleratorTotalMemoryMiBRangeArgs: def __init__(__self__, *, @@ -88,6 +128,23 @@ def max(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max", value) +if not MYPY: + class FleetAmountCapabilityArgsDict(TypedDict): + min: pulumi.Input[float] + """ + The minimum amount of fleet worker capability. + """ + name: pulumi.Input[str] + """ + The name of the fleet capability. + """ + max: NotRequired[pulumi.Input[float]] + """ + The maximum amount of the fleet worker capability. + """ +elif False: + FleetAmountCapabilityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetAmountCapabilityArgs: def __init__(__self__, *, @@ -141,6 +198,19 @@ def max(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "max", value) +if not MYPY: + class FleetAttributeCapabilityArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the fleet attribute capability for the worker. + """ + values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The number of fleet attribute capabilities. + """ +elif False: + FleetAttributeCapabilityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetAttributeCapabilityArgs: def __init__(__self__, *, @@ -178,6 +248,12 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class FleetConfiguration0PropertiesArgsDict(TypedDict): + customer_managed: pulumi.Input['FleetCustomerManagedFleetConfigurationArgsDict'] +elif False: + FleetConfiguration0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetConfiguration0PropertiesArgs: def __init__(__self__, *, @@ -194,6 +270,12 @@ def customer_managed(self, value: pulumi.Input['FleetCustomerManagedFleetConfigu pulumi.set(self, "customer_managed", value) +if not MYPY: + class FleetConfiguration1PropertiesArgsDict(TypedDict): + service_managed_ec2: pulumi.Input['FleetServiceManagedEc2FleetConfigurationArgsDict'] +elif False: + FleetConfiguration1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetConfiguration1PropertiesArgs: def __init__(__self__, *, @@ -210,6 +292,14 @@ def service_managed_ec2(self, value: pulumi.Input['FleetServiceManagedEc2FleetCo pulumi.set(self, "service_managed_ec2", value) +if not MYPY: + class FleetCustomerManagedFleetConfigurationArgsDict(TypedDict): + mode: pulumi.Input['FleetAutoScalingMode'] + worker_capabilities: pulumi.Input['FleetCustomerManagedWorkerCapabilitiesArgsDict'] + storage_profile_id: NotRequired[pulumi.Input[str]] +elif False: + FleetCustomerManagedFleetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetCustomerManagedFleetConfigurationArgs: def __init__(__self__, *, @@ -249,6 +339,20 @@ def storage_profile_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "storage_profile_id", value) +if not MYPY: + class FleetCustomerManagedWorkerCapabilitiesArgsDict(TypedDict): + cpu_architecture_type: pulumi.Input['FleetCpuArchitectureType'] + memory_mi_b: pulumi.Input['FleetMemoryMiBRangeArgsDict'] + os_family: pulumi.Input['FleetCustomerManagedFleetOperatingSystemFamily'] + v_cpu_count: pulumi.Input['FleetVCpuCountRangeArgsDict'] + accelerator_count: NotRequired[pulumi.Input['FleetAcceleratorCountRangeArgsDict']] + accelerator_total_memory_mi_b: NotRequired[pulumi.Input['FleetAcceleratorTotalMemoryMiBRangeArgsDict']] + accelerator_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['FleetAcceleratorType']]]] + custom_amounts: NotRequired[pulumi.Input[Sequence[pulumi.Input['FleetAmountCapabilityArgsDict']]]] + custom_attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input['FleetAttributeCapabilityArgsDict']]]] +elif False: + FleetCustomerManagedWorkerCapabilitiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetCustomerManagedWorkerCapabilitiesArgs: def __init__(__self__, *, @@ -358,6 +462,14 @@ def custom_attributes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "custom_attributes", value) +if not MYPY: + class FleetEc2EbsVolumeArgsDict(TypedDict): + iops: NotRequired[pulumi.Input[int]] + size_gi_b: NotRequired[pulumi.Input[int]] + throughput_mi_b: NotRequired[pulumi.Input[int]] +elif False: + FleetEc2EbsVolumeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetEc2EbsVolumeArgs: def __init__(__self__, *, @@ -399,6 +511,13 @@ def throughput_mi_b(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "throughput_mi_b", value) +if not MYPY: + class FleetMemoryMiBRangeArgsDict(TypedDict): + min: pulumi.Input[int] + max: NotRequired[pulumi.Input[int]] +elif False: + FleetMemoryMiBRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetMemoryMiBRangeArgs: def __init__(__self__, *, @@ -427,6 +546,13 @@ def max(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max", value) +if not MYPY: + class FleetServiceManagedEc2FleetConfigurationArgsDict(TypedDict): + instance_capabilities: pulumi.Input['FleetServiceManagedEc2InstanceCapabilitiesArgsDict'] + instance_market_options: pulumi.Input['FleetServiceManagedEc2InstanceMarketOptionsArgsDict'] +elif False: + FleetServiceManagedEc2FleetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetServiceManagedEc2FleetConfigurationArgs: def __init__(__self__, *, @@ -454,6 +580,20 @@ def instance_market_options(self, value: pulumi.Input['FleetServiceManagedEc2Ins pulumi.set(self, "instance_market_options", value) +if not MYPY: + class FleetServiceManagedEc2InstanceCapabilitiesArgsDict(TypedDict): + cpu_architecture_type: pulumi.Input['FleetCpuArchitectureType'] + memory_mi_b: pulumi.Input['FleetMemoryMiBRangeArgsDict'] + os_family: pulumi.Input['FleetServiceManagedFleetOperatingSystemFamily'] + v_cpu_count: pulumi.Input['FleetVCpuCountRangeArgsDict'] + allowed_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + custom_amounts: NotRequired[pulumi.Input[Sequence[pulumi.Input['FleetAmountCapabilityArgsDict']]]] + custom_attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input['FleetAttributeCapabilityArgsDict']]]] + excluded_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + root_ebs_volume: NotRequired[pulumi.Input['FleetEc2EbsVolumeArgsDict']] +elif False: + FleetServiceManagedEc2InstanceCapabilitiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetServiceManagedEc2InstanceCapabilitiesArgs: def __init__(__self__, *, @@ -563,6 +703,12 @@ def root_ebs_volume(self, value: Optional[pulumi.Input['FleetEc2EbsVolumeArgs']] pulumi.set(self, "root_ebs_volume", value) +if not MYPY: + class FleetServiceManagedEc2InstanceMarketOptionsArgsDict(TypedDict): + type: pulumi.Input['FleetEc2MarketType'] +elif False: + FleetServiceManagedEc2InstanceMarketOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetServiceManagedEc2InstanceMarketOptionsArgs: def __init__(__self__, *, @@ -579,6 +725,13 @@ def type(self, value: pulumi.Input['FleetEc2MarketType']): pulumi.set(self, "type", value) +if not MYPY: + class FleetVCpuCountRangeArgsDict(TypedDict): + min: pulumi.Input[int] + max: NotRequired[pulumi.Input[int]] +elif False: + FleetVCpuCountRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetVCpuCountRangeArgs: def __init__(__self__, *, @@ -607,6 +760,19 @@ def max(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max", value) +if not MYPY: + class QueueJobAttachmentSettingsArgsDict(TypedDict): + root_prefix: pulumi.Input[str] + """ + The root prefix. + """ + s3_bucket_name: pulumi.Input[str] + """ + The Amazon S3 bucket name. + """ +elif False: + QueueJobAttachmentSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class QueueJobAttachmentSettingsArgs: def __init__(__self__, *, @@ -644,6 +810,23 @@ def s3_bucket_name(self, value: pulumi.Input[str]): pulumi.set(self, "s3_bucket_name", value) +if not MYPY: + class QueueJobRunAsUserArgsDict(TypedDict): + run_as: pulumi.Input['QueueRunAs'] + """ + Specifies whether the job should run using the queue's system user or if the job should run using the worker agent system user. + """ + posix: NotRequired[pulumi.Input['QueuePosixUserArgsDict']] + """ + The user and group that the jobs in the queue run as. + """ + windows: NotRequired[pulumi.Input['QueueWindowsUserArgsDict']] + """ + Identifies a Microsoft Windows user. + """ +elif False: + QueueJobRunAsUserArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class QueueJobRunAsUserArgs: def __init__(__self__, *, @@ -698,6 +881,19 @@ def windows(self, value: Optional[pulumi.Input['QueueWindowsUserArgs']]): pulumi.set(self, "windows", value) +if not MYPY: + class QueuePosixUserArgsDict(TypedDict): + group: pulumi.Input[str] + """ + The name of the POSIX user's group. + """ + user: pulumi.Input[str] + """ + The name of the POSIX user. + """ +elif False: + QueuePosixUserArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class QueuePosixUserArgs: def __init__(__self__, *, @@ -735,6 +931,19 @@ def user(self, value: pulumi.Input[str]): pulumi.set(self, "user", value) +if not MYPY: + class QueueWindowsUserArgsDict(TypedDict): + password_arn: pulumi.Input[str] + """ + The password ARN for the Windows user. + """ + user: pulumi.Input[str] + """ + The user. + """ +elif False: + QueueWindowsUserArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class QueueWindowsUserArgs: def __init__(__self__, *, @@ -772,6 +981,23 @@ def user(self, value: pulumi.Input[str]): pulumi.set(self, "user", value) +if not MYPY: + class StorageProfileFileSystemLocationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The location name. + """ + path: pulumi.Input[str] + """ + The file path. + """ + type: pulumi.Input['StorageProfileFileSystemLocationType'] + """ + The type of file. + """ +elif False: + StorageProfileFileSystemLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageProfileFileSystemLocationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/deadline/farm.py b/sdk/python/pulumi_aws_native/deadline/farm.py index 2f84856a3e..4f621c4604 100644 --- a/sdk/python/pulumi_aws_native/deadline/farm.py +++ b/sdk/python/pulumi_aws_native/deadline/farm.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/deadline/fleet.py b/sdk/python/pulumi_aws_native/deadline/fleet.py index 29481adc87..eebb05bf8b 100644 --- a/sdk/python/pulumi_aws_native/deadline/fleet.py +++ b/sdk/python/pulumi_aws_native/deadline/fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/deadline/get_farm.py b/sdk/python/pulumi_aws_native/deadline/get_farm.py index 26a1e9dafa..1b42006d41 100644 --- a/sdk/python/pulumi_aws_native/deadline/get_farm.py +++ b/sdk/python/pulumi_aws_native/deadline/get_farm.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -111,9 +116,6 @@ def get_farm(arn: Optional[str] = None, display_name=pulumi.get(__ret__, 'display_name'), farm_id=pulumi.get(__ret__, 'farm_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_farm) def get_farm_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFarmResult]: """ @@ -122,4 +124,13 @@ def get_farm_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) assigned to the farm. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:deadline:getFarm', __args__, opts=opts, typ=GetFarmResult) + return __ret__.apply(lambda __response__: GetFarmResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + farm_id=pulumi.get(__response__, 'farm_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/deadline/get_fleet.py b/sdk/python/pulumi_aws_native/deadline/get_fleet.py index 4e704533c9..b476166e3c 100644 --- a/sdk/python/pulumi_aws_native/deadline/get_fleet.py +++ b/sdk/python/pulumi_aws_native/deadline/get_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -201,9 +206,6 @@ def get_fleet(arn: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), worker_count=pulumi.get(__ret__, 'worker_count')) - - -@_utilities.lift_output_func(get_fleet) def get_fleet_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetResult]: """ @@ -212,4 +214,20 @@ def get_fleet_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) assigned to the fleet. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:deadline:getFleet', __args__, opts=opts, typ=GetFleetResult) + return __ret__.apply(lambda __response__: GetFleetResult( + arn=pulumi.get(__response__, 'arn'), + capabilities=pulumi.get(__response__, 'capabilities'), + configuration=pulumi.get(__response__, 'configuration'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + fleet_id=pulumi.get(__response__, 'fleet_id'), + max_worker_count=pulumi.get(__response__, 'max_worker_count'), + min_worker_count=pulumi.get(__response__, 'min_worker_count'), + role_arn=pulumi.get(__response__, 'role_arn'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + worker_count=pulumi.get(__response__, 'worker_count'))) diff --git a/sdk/python/pulumi_aws_native/deadline/get_license_endpoint.py b/sdk/python/pulumi_aws_native/deadline/get_license_endpoint.py index 45aab21f06..2d95b82e23 100644 --- a/sdk/python/pulumi_aws_native/deadline/get_license_endpoint.py +++ b/sdk/python/pulumi_aws_native/deadline/get_license_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -123,9 +128,6 @@ def get_license_endpoint(arn: Optional[str] = None, status=pulumi.get(__ret__, 'status'), status_message=pulumi.get(__ret__, 'status_message'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_license_endpoint) def get_license_endpoint_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLicenseEndpointResult]: """ @@ -134,4 +136,14 @@ def get_license_endpoint_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the license endpoint. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:deadline:getLicenseEndpoint', __args__, opts=opts, typ=GetLicenseEndpointResult) + return __ret__.apply(lambda __response__: GetLicenseEndpointResult( + arn=pulumi.get(__response__, 'arn'), + dns_name=pulumi.get(__response__, 'dns_name'), + license_endpoint_id=pulumi.get(__response__, 'license_endpoint_id'), + status=pulumi.get(__response__, 'status'), + status_message=pulumi.get(__response__, 'status_message'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/deadline/get_metered_product.py b/sdk/python/pulumi_aws_native/deadline/get_metered_product.py index ece2f6468f..78ec5a9828 100644 --- a/sdk/python/pulumi_aws_native/deadline/get_metered_product.py +++ b/sdk/python/pulumi_aws_native/deadline/get_metered_product.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -95,9 +100,6 @@ def get_metered_product(arn: Optional[str] = None, family=pulumi.get(__ret__, 'family'), port=pulumi.get(__ret__, 'port'), vendor=pulumi.get(__ret__, 'vendor')) - - -@_utilities.lift_output_func(get_metered_product) def get_metered_product_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMeteredProductResult]: """ @@ -106,4 +108,12 @@ def get_metered_product_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the metered product. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:deadline:getMeteredProduct', __args__, opts=opts, typ=GetMeteredProductResult) + return __ret__.apply(lambda __response__: GetMeteredProductResult( + arn=pulumi.get(__response__, 'arn'), + family=pulumi.get(__response__, 'family'), + port=pulumi.get(__response__, 'port'), + vendor=pulumi.get(__response__, 'vendor'))) diff --git a/sdk/python/pulumi_aws_native/deadline/get_monitor.py b/sdk/python/pulumi_aws_native/deadline/get_monitor.py index a0b3f4110b..cf0f3d2c94 100644 --- a/sdk/python/pulumi_aws_native/deadline/get_monitor.py +++ b/sdk/python/pulumi_aws_native/deadline/get_monitor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -136,9 +141,6 @@ def get_monitor(arn: Optional[str] = None, role_arn=pulumi.get(__ret__, 'role_arn'), subdomain=pulumi.get(__ret__, 'subdomain'), url=pulumi.get(__ret__, 'url')) - - -@_utilities.lift_output_func(get_monitor) def get_monitor_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitorResult]: """ @@ -147,4 +149,15 @@ def get_monitor_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the monitor. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:deadline:getMonitor', __args__, opts=opts, typ=GetMonitorResult) + return __ret__.apply(lambda __response__: GetMonitorResult( + arn=pulumi.get(__response__, 'arn'), + display_name=pulumi.get(__response__, 'display_name'), + identity_center_application_arn=pulumi.get(__response__, 'identity_center_application_arn'), + monitor_id=pulumi.get(__response__, 'monitor_id'), + role_arn=pulumi.get(__response__, 'role_arn'), + subdomain=pulumi.get(__response__, 'subdomain'), + url=pulumi.get(__response__, 'url'))) diff --git a/sdk/python/pulumi_aws_native/deadline/get_queue.py b/sdk/python/pulumi_aws_native/deadline/get_queue.py index 46ecd997cb..3bc53dc04d 100644 --- a/sdk/python/pulumi_aws_native/deadline/get_queue.py +++ b/sdk/python/pulumi_aws_native/deadline/get_queue.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -191,9 +196,6 @@ def get_queue(arn: Optional[str] = None, required_file_system_location_names=pulumi.get(__ret__, 'required_file_system_location_names'), role_arn=pulumi.get(__ret__, 'role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_queue) def get_queue_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetQueueResult]: """ @@ -202,4 +204,19 @@ def get_queue_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the queue. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:deadline:getQueue', __args__, opts=opts, typ=GetQueueResult) + return __ret__.apply(lambda __response__: GetQueueResult( + allowed_storage_profile_ids=pulumi.get(__response__, 'allowed_storage_profile_ids'), + arn=pulumi.get(__response__, 'arn'), + default_budget_action=pulumi.get(__response__, 'default_budget_action'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + job_attachment_settings=pulumi.get(__response__, 'job_attachment_settings'), + job_run_as_user=pulumi.get(__response__, 'job_run_as_user'), + queue_id=pulumi.get(__response__, 'queue_id'), + required_file_system_location_names=pulumi.get(__response__, 'required_file_system_location_names'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/deadline/get_queue_environment.py b/sdk/python/pulumi_aws_native/deadline/get_queue_environment.py index 8f22ddae48..45a24ac441 100644 --- a/sdk/python/pulumi_aws_native/deadline/get_queue_environment.py +++ b/sdk/python/pulumi_aws_native/deadline/get_queue_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -115,9 +120,6 @@ def get_queue_environment(farm_id: Optional[str] = None, queue_environment_id=pulumi.get(__ret__, 'queue_environment_id'), template=pulumi.get(__ret__, 'template'), template_type=pulumi.get(__ret__, 'template_type')) - - -@_utilities.lift_output_func(get_queue_environment) def get_queue_environment_output(farm_id: Optional[pulumi.Input[str]] = None, queue_environment_id: Optional[pulumi.Input[str]] = None, queue_id: Optional[pulumi.Input[str]] = None, @@ -130,4 +132,15 @@ def get_queue_environment_output(farm_id: Optional[pulumi.Input[str]] = None, :param str queue_environment_id: The queue environment ID. :param str queue_id: The unique identifier of the queue that contains the environment. """ - ... + __args__ = dict() + __args__['farmId'] = farm_id + __args__['queueEnvironmentId'] = queue_environment_id + __args__['queueId'] = queue_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:deadline:getQueueEnvironment', __args__, opts=opts, typ=GetQueueEnvironmentResult) + return __ret__.apply(lambda __response__: GetQueueEnvironmentResult( + name=pulumi.get(__response__, 'name'), + priority=pulumi.get(__response__, 'priority'), + queue_environment_id=pulumi.get(__response__, 'queue_environment_id'), + template=pulumi.get(__response__, 'template'), + template_type=pulumi.get(__response__, 'template_type'))) diff --git a/sdk/python/pulumi_aws_native/deadline/get_storage_profile.py b/sdk/python/pulumi_aws_native/deadline/get_storage_profile.py index 657bfff782..c18325d00c 100644 --- a/sdk/python/pulumi_aws_native/deadline/get_storage_profile.py +++ b/sdk/python/pulumi_aws_native/deadline/get_storage_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -102,9 +107,6 @@ def get_storage_profile(farm_id: Optional[str] = None, file_system_locations=pulumi.get(__ret__, 'file_system_locations'), os_family=pulumi.get(__ret__, 'os_family'), storage_profile_id=pulumi.get(__ret__, 'storage_profile_id')) - - -@_utilities.lift_output_func(get_storage_profile) def get_storage_profile_output(farm_id: Optional[pulumi.Input[str]] = None, storage_profile_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageProfileResult]: @@ -115,4 +117,13 @@ def get_storage_profile_output(farm_id: Optional[pulumi.Input[str]] = None, :param str farm_id: The unique identifier of the farm that contains the storage profile. :param str storage_profile_id: The storage profile ID. """ - ... + __args__ = dict() + __args__['farmId'] = farm_id + __args__['storageProfileId'] = storage_profile_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:deadline:getStorageProfile', __args__, opts=opts, typ=GetStorageProfileResult) + return __ret__.apply(lambda __response__: GetStorageProfileResult( + display_name=pulumi.get(__response__, 'display_name'), + file_system_locations=pulumi.get(__response__, 'file_system_locations'), + os_family=pulumi.get(__response__, 'os_family'), + storage_profile_id=pulumi.get(__response__, 'storage_profile_id'))) diff --git a/sdk/python/pulumi_aws_native/deadline/license_endpoint.py b/sdk/python/pulumi_aws_native/deadline/license_endpoint.py index 1abf933e31..596606d3d0 100644 --- a/sdk/python/pulumi_aws_native/deadline/license_endpoint.py +++ b/sdk/python/pulumi_aws_native/deadline/license_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/deadline/metered_product.py b/sdk/python/pulumi_aws_native/deadline/metered_product.py index 9529144514..38e9b2bbb0 100644 --- a/sdk/python/pulumi_aws_native/deadline/metered_product.py +++ b/sdk/python/pulumi_aws_native/deadline/metered_product.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['MeteredProductArgs', 'MeteredProduct'] diff --git a/sdk/python/pulumi_aws_native/deadline/monitor.py b/sdk/python/pulumi_aws_native/deadline/monitor.py index e399eaf684..4c673973c5 100644 --- a/sdk/python/pulumi_aws_native/deadline/monitor.py +++ b/sdk/python/pulumi_aws_native/deadline/monitor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['MonitorArgs', 'Monitor'] diff --git a/sdk/python/pulumi_aws_native/deadline/outputs.py b/sdk/python/pulumi_aws_native/deadline/outputs.py index 24878eaaaa..030ca93297 100644 --- a/sdk/python/pulumi_aws_native/deadline/outputs.py +++ b/sdk/python/pulumi_aws_native/deadline/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/deadline/queue.py b/sdk/python/pulumi_aws_native/deadline/queue.py index c9f5f3f9a1..5b7aa80fb7 100644 --- a/sdk/python/pulumi_aws_native/deadline/queue.py +++ b/sdk/python/pulumi_aws_native/deadline/queue.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/deadline/queue_environment.py b/sdk/python/pulumi_aws_native/deadline/queue_environment.py index 63de4b7c8c..2144a0983a 100644 --- a/sdk/python/pulumi_aws_native/deadline/queue_environment.py +++ b/sdk/python/pulumi_aws_native/deadline/queue_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/deadline/queue_fleet_association.py b/sdk/python/pulumi_aws_native/deadline/queue_fleet_association.py index 69ced73fef..c66311e845 100644 --- a/sdk/python/pulumi_aws_native/deadline/queue_fleet_association.py +++ b/sdk/python/pulumi_aws_native/deadline/queue_fleet_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['QueueFleetAssociationArgs', 'QueueFleetAssociation'] diff --git a/sdk/python/pulumi_aws_native/deadline/storage_profile.py b/sdk/python/pulumi_aws_native/deadline/storage_profile.py index 2a9492fc96..7f70842e2a 100644 --- a/sdk/python/pulumi_aws_native/deadline/storage_profile.py +++ b/sdk/python/pulumi_aws_native/deadline/storage_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/detective/get_graph.py b/sdk/python/pulumi_aws_native/detective/get_graph.py index 5833583a01..ade0830538 100644 --- a/sdk/python/pulumi_aws_native/detective/get_graph.py +++ b/sdk/python/pulumi_aws_native/detective/get_graph.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_graph(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), auto_enable_members=pulumi.get(__ret__, 'auto_enable_members'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_graph) def get_graph_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGraphResult]: """ @@ -94,4 +96,11 @@ def get_graph_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Detective graph ARN """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:detective:getGraph', __args__, opts=opts, typ=GetGraphResult) + return __ret__.apply(lambda __response__: GetGraphResult( + arn=pulumi.get(__response__, 'arn'), + auto_enable_members=pulumi.get(__response__, 'auto_enable_members'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/detective/get_member_invitation.py b/sdk/python/pulumi_aws_native/detective/get_member_invitation.py index 1237a2ff69..3427de88d2 100644 --- a/sdk/python/pulumi_aws_native/detective/get_member_invitation.py +++ b/sdk/python/pulumi_aws_native/detective/get_member_invitation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -59,9 +64,6 @@ def get_member_invitation(graph_arn: Optional[str] = None, return AwaitableGetMemberInvitationResult( member_email_address=pulumi.get(__ret__, 'member_email_address')) - - -@_utilities.lift_output_func(get_member_invitation) def get_member_invitation_output(graph_arn: Optional[pulumi.Input[str]] = None, member_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMemberInvitationResult]: @@ -72,4 +74,10 @@ def get_member_invitation_output(graph_arn: Optional[pulumi.Input[str]] = None, :param str graph_arn: The ARN of the graph to which the member account will be invited :param str member_id: The AWS account ID to be invited to join the graph as a member """ - ... + __args__ = dict() + __args__['graphArn'] = graph_arn + __args__['memberId'] = member_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:detective:getMemberInvitation', __args__, opts=opts, typ=GetMemberInvitationResult) + return __ret__.apply(lambda __response__: GetMemberInvitationResult( + member_email_address=pulumi.get(__response__, 'member_email_address'))) diff --git a/sdk/python/pulumi_aws_native/detective/get_organization_admin.py b/sdk/python/pulumi_aws_native/detective/get_organization_admin.py index dc49dc3ed3..dc00457156 100644 --- a/sdk/python/pulumi_aws_native/detective/get_organization_admin.py +++ b/sdk/python/pulumi_aws_native/detective/get_organization_admin.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_organization_admin(account_id: Optional[str] = None, return AwaitableGetOrganizationAdminResult( graph_arn=pulumi.get(__ret__, 'graph_arn')) - - -@_utilities.lift_output_func(get_organization_admin) def get_organization_admin_output(account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationAdminResult]: """ @@ -67,4 +69,9 @@ def get_organization_admin_output(account_id: Optional[pulumi.Input[str]] = None :param str account_id: The account ID of the account that should be registered as your Organization's delegated administrator for Detective """ - ... + __args__ = dict() + __args__['accountId'] = account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:detective:getOrganizationAdmin', __args__, opts=opts, typ=GetOrganizationAdminResult) + return __ret__.apply(lambda __response__: GetOrganizationAdminResult( + graph_arn=pulumi.get(__response__, 'graph_arn'))) diff --git a/sdk/python/pulumi_aws_native/detective/graph.py b/sdk/python/pulumi_aws_native/detective/graph.py index 1f0c9340bf..32377d5602 100644 --- a/sdk/python/pulumi_aws_native/detective/graph.py +++ b/sdk/python/pulumi_aws_native/detective/graph.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/detective/member_invitation.py b/sdk/python/pulumi_aws_native/detective/member_invitation.py index cbe2f57e32..b198fd5fc4 100644 --- a/sdk/python/pulumi_aws_native/detective/member_invitation.py +++ b/sdk/python/pulumi_aws_native/detective/member_invitation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['MemberInvitationArgs', 'MemberInvitation'] diff --git a/sdk/python/pulumi_aws_native/detective/organization_admin.py b/sdk/python/pulumi_aws_native/detective/organization_admin.py index 49a9b9a264..5ae4492d94 100644 --- a/sdk/python/pulumi_aws_native/detective/organization_admin.py +++ b/sdk/python/pulumi_aws_native/detective/organization_admin.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['OrganizationAdminArgs', 'OrganizationAdmin'] diff --git a/sdk/python/pulumi_aws_native/devicefarm/_inputs.py b/sdk/python/pulumi_aws_native/devicefarm/_inputs.py index 17d389dd8a..f3bdf50bf0 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/_inputs.py +++ b/sdk/python/pulumi_aws_native/devicefarm/_inputs.py @@ -4,18 +4,48 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DevicePoolRuleArgs', + 'DevicePoolRuleArgsDict', 'ProjectVpcConfigArgs', + 'ProjectVpcConfigArgsDict', 'TestGridProjectVpcConfigArgs', + 'TestGridProjectVpcConfigArgsDict', ] +MYPY = False + +if not MYPY: + class DevicePoolRuleArgsDict(TypedDict): + """ + Represents a condition for a device pool. + """ + attribute: NotRequired[pulumi.Input['DevicePoolRuleAttribute']] + """ + The rule's stringified attribute. + """ + operator: NotRequired[pulumi.Input['DevicePoolRuleOperator']] + """ + Specifies how Device Farm compares the rule's attribute to the value. + """ + value: NotRequired[pulumi.Input[str]] + """ + The rule's value. + """ +elif False: + DevicePoolRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DevicePoolRuleArgs: def __init__(__self__, *, @@ -72,6 +102,26 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ProjectVpcConfigArgsDict(TypedDict): + """ + The VPC security groups and subnets that are attached to a project + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + An array of security group Ids in your Amazon VPC + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A array of subnet IDs in your Amazon VPC. + """ + vpc_id: pulumi.Input[str] + """ + The ID of the Amazon VPC + """ +elif False: + ProjectVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProjectVpcConfigArgs: def __init__(__self__, *, @@ -125,6 +175,28 @@ def vpc_id(self, value: pulumi.Input[str]): pulumi.set(self, "vpc_id", value) +if not MYPY: + class TestGridProjectVpcConfigArgsDict(TypedDict): + """ + The VPC security groups and subnets that are attached to a TestGrid project. + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of VPC security group IDs in your Amazon VPC. + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of VPC subnet IDs in your Amazon VPC. + """ + vpc_id: pulumi.Input[str] + """ + A list of VPC IDs. + + Each VPC is given a unique ID upon creation. + """ +elif False: + TestGridProjectVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TestGridProjectVpcConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/devicefarm/device_pool.py b/sdk/python/pulumi_aws_native/devicefarm/device_pool.py index c83efba83f..2b830ba680 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/device_pool.py +++ b/sdk/python/pulumi_aws_native/devicefarm/device_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/devicefarm/get_device_pool.py b/sdk/python/pulumi_aws_native/devicefarm/get_device_pool.py index 00a3601dd6..5d86c5b016 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/get_device_pool.py +++ b/sdk/python/pulumi_aws_native/devicefarm/get_device_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -128,9 +133,6 @@ def get_device_pool(arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), rules=pulumi.get(__ret__, 'rules'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_device_pool) def get_device_pool_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDevicePoolResult]: """ @@ -139,4 +141,14 @@ def get_device_pool_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the device pool. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide* . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:devicefarm:getDevicePool', __args__, opts=opts, typ=GetDevicePoolResult) + return __ret__.apply(lambda __response__: GetDevicePoolResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + max_devices=pulumi.get(__response__, 'max_devices'), + name=pulumi.get(__response__, 'name'), + rules=pulumi.get(__response__, 'rules'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/devicefarm/get_instance_profile.py b/sdk/python/pulumi_aws_native/devicefarm/get_instance_profile.py index f5742442db..fe24751c8f 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/get_instance_profile.py +++ b/sdk/python/pulumi_aws_native/devicefarm/get_instance_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -139,9 +144,6 @@ def get_instance_profile(arn: Optional[str] = None, package_cleanup=pulumi.get(__ret__, 'package_cleanup'), reboot_after_use=pulumi.get(__ret__, 'reboot_after_use'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_instance_profile) def get_instance_profile_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceProfileResult]: """ @@ -150,4 +152,15 @@ def get_instance_profile_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the instance profile. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide* . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:devicefarm:getInstanceProfile', __args__, opts=opts, typ=GetInstanceProfileResult) + return __ret__.apply(lambda __response__: GetInstanceProfileResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + exclude_app_packages_from_cleanup=pulumi.get(__response__, 'exclude_app_packages_from_cleanup'), + name=pulumi.get(__response__, 'name'), + package_cleanup=pulumi.get(__response__, 'package_cleanup'), + reboot_after_use=pulumi.get(__response__, 'reboot_after_use'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/devicefarm/get_network_profile.py b/sdk/python/pulumi_aws_native/devicefarm/get_network_profile.py index ec95afaeb8..8502e6cc3a 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/get_network_profile.py +++ b/sdk/python/pulumi_aws_native/devicefarm/get_network_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -202,9 +207,6 @@ def get_network_profile(arn: Optional[str] = None, uplink_delay_ms=pulumi.get(__ret__, 'uplink_delay_ms'), uplink_jitter_ms=pulumi.get(__ret__, 'uplink_jitter_ms'), uplink_loss_percent=pulumi.get(__ret__, 'uplink_loss_percent')) - - -@_utilities.lift_output_func(get_network_profile) def get_network_profile_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkProfileResult]: """ @@ -213,4 +215,20 @@ def get_network_profile_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the network profile. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide* . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:devicefarm:getNetworkProfile', __args__, opts=opts, typ=GetNetworkProfileResult) + return __ret__.apply(lambda __response__: GetNetworkProfileResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + downlink_bandwidth_bits=pulumi.get(__response__, 'downlink_bandwidth_bits'), + downlink_delay_ms=pulumi.get(__response__, 'downlink_delay_ms'), + downlink_jitter_ms=pulumi.get(__response__, 'downlink_jitter_ms'), + downlink_loss_percent=pulumi.get(__response__, 'downlink_loss_percent'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + uplink_bandwidth_bits=pulumi.get(__response__, 'uplink_bandwidth_bits'), + uplink_delay_ms=pulumi.get(__response__, 'uplink_delay_ms'), + uplink_jitter_ms=pulumi.get(__response__, 'uplink_jitter_ms'), + uplink_loss_percent=pulumi.get(__response__, 'uplink_loss_percent'))) diff --git a/sdk/python/pulumi_aws_native/devicefarm/get_project.py b/sdk/python/pulumi_aws_native/devicefarm/get_project.py index 7e9cd1858a..0516c34955 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/get_project.py +++ b/sdk/python/pulumi_aws_native/devicefarm/get_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -110,9 +115,6 @@ def get_project(arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags'), vpc_config=pulumi.get(__ret__, 'vpc_config')) - - -@_utilities.lift_output_func(get_project) def get_project_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]: """ @@ -121,4 +123,13 @@ def get_project_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the project. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide* . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:devicefarm:getProject', __args__, opts=opts, typ=GetProjectResult) + return __ret__.apply(lambda __response__: GetProjectResult( + arn=pulumi.get(__response__, 'arn'), + default_job_timeout_minutes=pulumi.get(__response__, 'default_job_timeout_minutes'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + vpc_config=pulumi.get(__response__, 'vpc_config'))) diff --git a/sdk/python/pulumi_aws_native/devicefarm/get_test_grid_project.py b/sdk/python/pulumi_aws_native/devicefarm/get_test_grid_project.py index f459342604..e05b2c960b 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/get_test_grid_project.py +++ b/sdk/python/pulumi_aws_native/devicefarm/get_test_grid_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -98,9 +103,6 @@ def get_test_grid_project(arn: Optional[str] = None, description=pulumi.get(__ret__, 'description'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_test_grid_project) def get_test_grid_project_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTestGridProjectResult]: """ @@ -109,4 +111,12 @@ def get_test_grid_project_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the `TestGrid` project. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide* . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:devicefarm:getTestGridProject', __args__, opts=opts, typ=GetTestGridProjectResult) + return __ret__.apply(lambda __response__: GetTestGridProjectResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/devicefarm/get_vpce_configuration.py b/sdk/python/pulumi_aws_native/devicefarm/get_vpce_configuration.py index 3f84215f75..0c86da3129 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/get_vpce_configuration.py +++ b/sdk/python/pulumi_aws_native/devicefarm/get_vpce_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -126,9 +131,6 @@ def get_vpce_configuration(arn: Optional[str] = None, vpce_configuration_description=pulumi.get(__ret__, 'vpce_configuration_description'), vpce_configuration_name=pulumi.get(__ret__, 'vpce_configuration_name'), vpce_service_name=pulumi.get(__ret__, 'vpce_service_name')) - - -@_utilities.lift_output_func(get_vpce_configuration) def get_vpce_configuration_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpceConfigurationResult]: """ @@ -137,4 +139,14 @@ def get_vpce_configuration_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the VPC endpoint. See [Amazon resource names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference guide* . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:devicefarm:getVpceConfiguration', __args__, opts=opts, typ=GetVpceConfigurationResult) + return __ret__.apply(lambda __response__: GetVpceConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + service_dns_name=pulumi.get(__response__, 'service_dns_name'), + tags=pulumi.get(__response__, 'tags'), + vpce_configuration_description=pulumi.get(__response__, 'vpce_configuration_description'), + vpce_configuration_name=pulumi.get(__response__, 'vpce_configuration_name'), + vpce_service_name=pulumi.get(__response__, 'vpce_service_name'))) diff --git a/sdk/python/pulumi_aws_native/devicefarm/instance_profile.py b/sdk/python/pulumi_aws_native/devicefarm/instance_profile.py index 9bb2f40d1e..b50113ac84 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/instance_profile.py +++ b/sdk/python/pulumi_aws_native/devicefarm/instance_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/devicefarm/network_profile.py b/sdk/python/pulumi_aws_native/devicefarm/network_profile.py index 2917f5da07..7ac78ff2f9 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/network_profile.py +++ b/sdk/python/pulumi_aws_native/devicefarm/network_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/devicefarm/outputs.py b/sdk/python/pulumi_aws_native/devicefarm/outputs.py index dc01fc5f78..d5b7700a61 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/outputs.py +++ b/sdk/python/pulumi_aws_native/devicefarm/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/devicefarm/project.py b/sdk/python/pulumi_aws_native/devicefarm/project.py index 903124899b..38a368d871 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/project.py +++ b/sdk/python/pulumi_aws_native/devicefarm/project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/devicefarm/test_grid_project.py b/sdk/python/pulumi_aws_native/devicefarm/test_grid_project.py index a14936869e..86217ad079 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/test_grid_project.py +++ b/sdk/python/pulumi_aws_native/devicefarm/test_grid_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/devicefarm/vpce_configuration.py b/sdk/python/pulumi_aws_native/devicefarm/vpce_configuration.py index 2fc0b9cfbb..c4a01d9693 100644 --- a/sdk/python/pulumi_aws_native/devicefarm/vpce_configuration.py +++ b/sdk/python/pulumi_aws_native/devicefarm/vpce_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/devopsguru/_inputs.py b/sdk/python/pulumi_aws_native/devopsguru/_inputs.py index f635f5e14a..febfd3c82c 100644 --- a/sdk/python/pulumi_aws_native/devopsguru/_inputs.py +++ b/sdk/python/pulumi_aws_native/devopsguru/_inputs.py @@ -4,21 +4,54 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'NotificationChannelConfigArgs', + 'NotificationChannelConfigArgsDict', 'NotificationChannelNotificationFilterConfigArgs', + 'NotificationChannelNotificationFilterConfigArgsDict', 'NotificationChannelSnsChannelConfigArgs', + 'NotificationChannelSnsChannelConfigArgsDict', 'ResourceCollectionCloudFormationCollectionFilterArgs', + 'ResourceCollectionCloudFormationCollectionFilterArgsDict', 'ResourceCollectionFilterArgs', + 'ResourceCollectionFilterArgsDict', 'ResourceCollectionTagCollectionArgs', + 'ResourceCollectionTagCollectionArgsDict', ] +MYPY = False + +if not MYPY: + class NotificationChannelConfigArgsDict(TypedDict): + """ + Information about notification channels you have configured with DevOps Guru. + """ + filters: NotRequired[pulumi.Input['NotificationChannelNotificationFilterConfigArgsDict']] + """ + The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. If you do not provide filter configurations, the default configurations are to receive notifications for all message types of `High` or `Medium` severity. + """ + sns: NotRequired[pulumi.Input['NotificationChannelSnsChannelConfigArgsDict']] + """ + Information about a notification channel configured in DevOps Guru to send notifications when insights are created. + + If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see [Permissions for Amazon SNS topics](https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html) . + + If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see [Permissions for AWS KMS–encrypted Amazon SNS topics](https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html) . + """ +elif False: + NotificationChannelConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NotificationChannelConfigArgs: def __init__(__self__, *, @@ -67,6 +100,22 @@ def sns(self, value: Optional[pulumi.Input['NotificationChannelSnsChannelConfigA pulumi.set(self, "sns", value) +if not MYPY: + class NotificationChannelNotificationFilterConfigArgsDict(TypedDict): + """ + Information about filters of a notification channel configured in DevOpsGuru to filter for insights. + """ + message_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['NotificationChannelNotificationMessageType']]]] + """ + The events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created. + """ + severities: NotRequired[pulumi.Input[Sequence[pulumi.Input['NotificationChannelInsightSeverity']]]] + """ + The severity levels that you want to receive notifications for. For example, you can choose to receive notifications only for insights with `HIGH` and `MEDIUM` severity levels. For more information, see [Understanding insight severities](https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities) . + """ +elif False: + NotificationChannelNotificationFilterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NotificationChannelNotificationFilterConfigArgs: def __init__(__self__, *, @@ -107,6 +156,18 @@ def severities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Notific pulumi.set(self, "severities", value) +if not MYPY: + class NotificationChannelSnsChannelConfigArgsDict(TypedDict): + """ + Information about a notification channel configured in DevOps Guru to send notifications when insights are created. + """ + topic_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic. + """ +elif False: + NotificationChannelSnsChannelConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NotificationChannelSnsChannelConfigArgs: def __init__(__self__, *, @@ -131,6 +192,18 @@ def topic_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "topic_arn", value) +if not MYPY: + class ResourceCollectionCloudFormationCollectionFilterArgsDict(TypedDict): + """ + CloudFormation resource for DevOps Guru to monitor + """ + stack_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of CloudFormation stack names. + """ +elif False: + ResourceCollectionCloudFormationCollectionFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceCollectionCloudFormationCollectionFilterArgs: def __init__(__self__, *, @@ -155,6 +228,33 @@ def stack_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "stack_names", value) +if not MYPY: + class ResourceCollectionFilterArgsDict(TypedDict): + """ + Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru. + """ + cloud_formation: NotRequired[pulumi.Input['ResourceCollectionCloudFormationCollectionFilterArgsDict']] + """ + Information about AWS CloudFormation stacks. You can use up to 1000 stacks to specify which AWS resources in your account to analyze. For more information, see [Stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) in the *AWS CloudFormation User Guide* . + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResourceCollectionTagCollectionArgsDict']]]] + """ + The AWS tags used to filter the resources in the resource collection. + + Tags help you identify and organize your AWS resources. Many AWS services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an AWS Lambda function. For more information about using tags, see the [Tagging best practices](https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html) whitepaper. + + Each AWS tag has two parts. + + - A tag *key* (for example, `CostCenter` , `Environment` , `Project` , or `Secret` ). Tag *keys* are case-sensitive. + - A field known as a tag *value* (for example, `111122223333` , `Production` , or a team name). Omitting the tag *value* is the same as using an empty string. Like tag *keys* , tag *values* are case-sensitive. The tag value is a required property when AppBoundaryKey is specified. + + Together these are known as *key* - *value* pairs. + + > The string used for a *key* in a tag that you use to define your resource coverage must begin with the prefix `Devops-guru-` . The tag *key* might be `DevOps-Guru-deployment-application` or `devops-guru-rds-application` . When you create a *key* , the case of characters in the *key* can be whatever you choose. After you create a *key* , it is case-sensitive. For example, DevOps Guru works with a *key* named `devops-guru-rds` and a *key* named `DevOps-Guru-RDS` , and these act as two different *keys* . Possible *key* / *value* pairs in your application might be `Devops-Guru-production-application/RDS` or `Devops-Guru-production-application/containers` . + """ +elif False: + ResourceCollectionFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceCollectionFilterArgs: def __init__(__self__, *, @@ -217,6 +317,22 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceColle pulumi.set(self, "tags", value) +if not MYPY: + class ResourceCollectionTagCollectionArgsDict(TypedDict): + """ + Tagged resource for DevOps Guru to monitor + """ + app_boundary_key: NotRequired[pulumi.Input[str]] + """ + A Tag key for DevOps Guru app boundary. + """ + tag_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Tag values of DevOps Guru app boundary. + """ +elif False: + ResourceCollectionTagCollectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceCollectionTagCollectionArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/devopsguru/get_log_anomaly_detection_integration.py b/sdk/python/pulumi_aws_native/devopsguru/get_log_anomaly_detection_integration.py index aea3bd3340..dcbc95c0d4 100644 --- a/sdk/python/pulumi_aws_native/devopsguru/get_log_anomaly_detection_integration.py +++ b/sdk/python/pulumi_aws_native/devopsguru/get_log_anomaly_detection_integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_log_anomaly_detection_integration(account_id: Optional[str] = None, return AwaitableGetLogAnomalyDetectionIntegrationResult( account_id=pulumi.get(__ret__, 'account_id')) - - -@_utilities.lift_output_func(get_log_anomaly_detection_integration) def get_log_anomaly_detection_integration_output(account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogAnomalyDetectionIntegrationResult]: """ @@ -67,4 +69,9 @@ def get_log_anomaly_detection_integration_output(account_id: Optional[pulumi.Inp :param str account_id: The account ID associated with the integration of DevOps Guru with CloudWatch log groups for log anomaly detection. """ - ... + __args__ = dict() + __args__['accountId'] = account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:devopsguru:getLogAnomalyDetectionIntegration', __args__, opts=opts, typ=GetLogAnomalyDetectionIntegrationResult) + return __ret__.apply(lambda __response__: GetLogAnomalyDetectionIntegrationResult( + account_id=pulumi.get(__response__, 'account_id'))) diff --git a/sdk/python/pulumi_aws_native/devopsguru/get_notification_channel.py b/sdk/python/pulumi_aws_native/devopsguru/get_notification_channel.py index a170a98b5b..ce3a4c998b 100644 --- a/sdk/python/pulumi_aws_native/devopsguru/get_notification_channel.py +++ b/sdk/python/pulumi_aws_native/devopsguru/get_notification_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_notification_channel(id: Optional[str] = None, return AwaitableGetNotificationChannelResult( id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_notification_channel) def get_notification_channel_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotificationChannelResult]: """ @@ -67,4 +69,9 @@ def get_notification_channel_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of a notification channel. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:devopsguru:getNotificationChannel', __args__, opts=opts, typ=GetNotificationChannelResult) + return __ret__.apply(lambda __response__: GetNotificationChannelResult( + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/devopsguru/get_resource_collection.py b/sdk/python/pulumi_aws_native/devopsguru/get_resource_collection.py index 1f1eaca4b6..31358f8e14 100644 --- a/sdk/python/pulumi_aws_native/devopsguru/get_resource_collection.py +++ b/sdk/python/pulumi_aws_native/devopsguru/get_resource_collection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -71,9 +76,6 @@ def get_resource_collection(resource_collection_type: Optional['ResourceCollecti return AwaitableGetResourceCollectionResult( resource_collection_filter=pulumi.get(__ret__, 'resource_collection_filter'), resource_collection_type=pulumi.get(__ret__, 'resource_collection_type')) - - -@_utilities.lift_output_func(get_resource_collection) def get_resource_collection_output(resource_collection_type: Optional[pulumi.Input['ResourceCollectionType']] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceCollectionResult]: """ @@ -82,4 +84,10 @@ def get_resource_collection_output(resource_collection_type: Optional[pulumi.Inp :param 'ResourceCollectionType' resource_collection_type: The type of ResourceCollection """ - ... + __args__ = dict() + __args__['resourceCollectionType'] = resource_collection_type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:devopsguru:getResourceCollection', __args__, opts=opts, typ=GetResourceCollectionResult) + return __ret__.apply(lambda __response__: GetResourceCollectionResult( + resource_collection_filter=pulumi.get(__response__, 'resource_collection_filter'), + resource_collection_type=pulumi.get(__response__, 'resource_collection_type'))) diff --git a/sdk/python/pulumi_aws_native/devopsguru/log_anomaly_detection_integration.py b/sdk/python/pulumi_aws_native/devopsguru/log_anomaly_detection_integration.py index fe8ded6456..9ee0ab0264 100644 --- a/sdk/python/pulumi_aws_native/devopsguru/log_anomaly_detection_integration.py +++ b/sdk/python/pulumi_aws_native/devopsguru/log_anomaly_detection_integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['LogAnomalyDetectionIntegrationArgs', 'LogAnomalyDetectionIntegration'] diff --git a/sdk/python/pulumi_aws_native/devopsguru/notification_channel.py b/sdk/python/pulumi_aws_native/devopsguru/notification_channel.py index a1f8cd5887..dba44790ec 100644 --- a/sdk/python/pulumi_aws_native/devopsguru/notification_channel.py +++ b/sdk/python/pulumi_aws_native/devopsguru/notification_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/devopsguru/outputs.py b/sdk/python/pulumi_aws_native/devopsguru/outputs.py index 1bc454d8a1..0c703207c9 100644 --- a/sdk/python/pulumi_aws_native/devopsguru/outputs.py +++ b/sdk/python/pulumi_aws_native/devopsguru/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/devopsguru/resource_collection.py b/sdk/python/pulumi_aws_native/devopsguru/resource_collection.py index a5ea4b2765..f9d3840034 100644 --- a/sdk/python/pulumi_aws_native/devopsguru/resource_collection.py +++ b/sdk/python/pulumi_aws_native/devopsguru/resource_collection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/directoryservice/_inputs.py b/sdk/python/pulumi_aws_native/directoryservice/_inputs.py index fd7f99b6ff..d22ab8b141 100644 --- a/sdk/python/pulumi_aws_native/directoryservice/_inputs.py +++ b/sdk/python/pulumi_aws_native/directoryservice/_inputs.py @@ -4,15 +4,36 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'SimpleAdVpcSettingsArgs', + 'SimpleAdVpcSettingsArgsDict', ] +MYPY = False + +if not MYPY: + class SimpleAdVpcSettingsArgsDict(TypedDict): + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. AWS Directory Service specifies a directory server and a DNS server in each of these subnets. + """ + vpc_id: pulumi.Input[str] + """ + The identifier of the VPC in which to create the directory. + """ +elif False: + SimpleAdVpcSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SimpleAdVpcSettingsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/directoryservice/get_simple_ad.py b/sdk/python/pulumi_aws_native/directoryservice/get_simple_ad.py index 025674c448..c559c991d2 100644 --- a/sdk/python/pulumi_aws_native/directoryservice/get_simple_ad.py +++ b/sdk/python/pulumi_aws_native/directoryservice/get_simple_ad.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -95,9 +100,6 @@ def get_simple_ad(directory_id: Optional[str] = None, directory_id=pulumi.get(__ret__, 'directory_id'), dns_ip_addresses=pulumi.get(__ret__, 'dns_ip_addresses'), enable_sso=pulumi.get(__ret__, 'enable_sso')) - - -@_utilities.lift_output_func(get_simple_ad) def get_simple_ad_output(directory_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSimpleAdResult]: """ @@ -106,4 +108,12 @@ def get_simple_ad_output(directory_id: Optional[pulumi.Input[str]] = None, :param str directory_id: The unique identifier for a directory. """ - ... + __args__ = dict() + __args__['directoryId'] = directory_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:directoryservice:getSimpleAd', __args__, opts=opts, typ=GetSimpleAdResult) + return __ret__.apply(lambda __response__: GetSimpleAdResult( + alias=pulumi.get(__response__, 'alias'), + directory_id=pulumi.get(__response__, 'directory_id'), + dns_ip_addresses=pulumi.get(__response__, 'dns_ip_addresses'), + enable_sso=pulumi.get(__response__, 'enable_sso'))) diff --git a/sdk/python/pulumi_aws_native/directoryservice/outputs.py b/sdk/python/pulumi_aws_native/directoryservice/outputs.py index b6212aa6ff..405a1c509a 100644 --- a/sdk/python/pulumi_aws_native/directoryservice/outputs.py +++ b/sdk/python/pulumi_aws_native/directoryservice/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/directoryservice/simple_ad.py b/sdk/python/pulumi_aws_native/directoryservice/simple_ad.py index fe8dac3662..643537adbe 100644 --- a/sdk/python/pulumi_aws_native/directoryservice/simple_ad.py +++ b/sdk/python/pulumi_aws_native/directoryservice/simple_ad.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/dms/_inputs.py b/sdk/python/pulumi_aws_native/dms/_inputs.py index a2821f89a6..7cf16186f2 100644 --- a/sdk/python/pulumi_aws_native/dms/_inputs.py +++ b/sdk/python/pulumi_aws_native/dms/_inputs.py @@ -4,23 +4,63 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'MigrationProjectDataProviderDescriptorArgs', + 'MigrationProjectDataProviderDescriptorArgsDict', 'ReplicationConfigComputeConfigArgs', + 'ReplicationConfigComputeConfigArgsDict', 'SchemaConversionApplicationAttributesPropertiesArgs', + 'SchemaConversionApplicationAttributesPropertiesArgsDict', 'SettingsPropertiesMicrosoftSqlServerSettingsPropertiesArgs', + 'SettingsPropertiesMicrosoftSqlServerSettingsPropertiesArgsDict', 'SettingsPropertiesMySqlSettingsPropertiesArgs', + 'SettingsPropertiesMySqlSettingsPropertiesArgsDict', 'SettingsPropertiesOracleSettingsPropertiesArgs', + 'SettingsPropertiesOracleSettingsPropertiesArgsDict', 'SettingsPropertiesPostgreSqlSettingsPropertiesArgs', + 'SettingsPropertiesPostgreSqlSettingsPropertiesArgsDict', 'SettingsPropertiesArgs', + 'SettingsPropertiesArgsDict', ] +MYPY = False + +if not MYPY: + class MigrationProjectDataProviderDescriptorArgsDict(TypedDict): + """ + It is an object that describes Source and Target DataProviders and credentials for connecting to databases that are used in MigrationProject + """ + data_provider_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the data provider. + """ + data_provider_identifier: NotRequired[pulumi.Input[str]] + data_provider_name: NotRequired[pulumi.Input[str]] + """ + The user-friendly name of the data provider. + """ + secrets_manager_access_role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the role used to access AWS Secrets Manager. + """ + secrets_manager_secret_id: NotRequired[pulumi.Input[str]] + """ + The identifier of the AWS Secrets Manager Secret used to store access credentials for the data provider. + """ +elif False: + MigrationProjectDataProviderDescriptorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MigrationProjectDataProviderDescriptorArgs: def __init__(__self__, *, @@ -105,6 +145,58 @@ def secrets_manager_secret_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "secrets_manager_secret_id", value) +if not MYPY: + class ReplicationConfigComputeConfigArgsDict(TypedDict): + """ + Configuration parameters for provisioning a AWS DMS Serverless replication + """ + max_capacity_units: pulumi.Input[int] + """ + Specifies the maximum value of the AWS DMS capacity units (DCUs) for which a given AWS DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can specify for AWS DMS Serverless is 384. The `MaxCapacityUnits` parameter is the only DCU parameter you are required to specify. + """ + availability_zone: NotRequired[pulumi.Input[str]] + """ + The Availability Zone where the AWS DMS Serverless replication using this configuration will run. The default value is a random, system-chosen Availability Zone in the configuration's AWS Region , for example, `"us-west-2"` . You can't set this parameter if the `MultiAZ` parameter is set to `true` . + """ + dns_name_servers: NotRequired[pulumi.Input[str]] + """ + A list of custom DNS name servers supported for the AWS DMS Serverless replication to access your source or target database. This list overrides the default name servers supported by the AWS DMS Serverless replication. You can specify a comma-separated list of internet addresses for up to four DNS name servers. For example: `"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"` + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + An AWS Key Management Service ( AWS KMS ) key Amazon Resource Name (ARN) that is used to encrypt the data during AWS DMS Serverless replication. + + If you don't specify a value for the `KmsKeyId` parameter, AWS DMS uses your default encryption key. + + AWS KMS creates the default encryption key for your Amazon Web Services account. Your AWS account has a different default encryption key for each AWS Region . + """ + min_capacity_units: NotRequired[pulumi.Input[int]] + """ + Specifies the minimum value of the AWS DMS capacity units (DCUs) for which a given AWS DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can specify for AWS DMS Serverless is 1. If you don't set this value, AWS DMS sets this parameter to the minimum DCU value allowed, 1. If there is no current source activity, AWS DMS scales down your replication until it reaches the value specified in `MinCapacityUnits` . + """ + multi_az: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the AWS DMS Serverless replication is a Multi-AZ deployment. You can't set the `AvailabilityZone` parameter if the `MultiAZ` parameter is set to `true` . + """ + preferred_maintenance_window: NotRequired[pulumi.Input[str]] + """ + The weekly time range during which system maintenance can occur for the AWS DMS Serverless replication, in Universal Coordinated Time (UTC). The format is `ddd:hh24:mi-ddd:hh24:mi` . + + The default is a 30-minute window selected at random from an 8-hour block of time per AWS Region . This maintenance occurs on a random day of the week. Valid values for days of the week include `Mon` , `Tue` , `Wed` , `Thu` , `Fri` , `Sat` , and `Sun` . + + Constraints include a minimum 30-minute window. + """ + replication_subnet_group_id: NotRequired[pulumi.Input[str]] + """ + Specifies a subnet group identifier to associate with the AWS DMS Serverless replication. + """ + vpc_security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies the virtual private cloud (VPC) security group to use with the AWS DMS Serverless replication. The VPC security group must work with the VPC containing the replication. + """ +elif False: + ReplicationConfigComputeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicationConfigComputeConfigArgs: def __init__(__self__, *, @@ -272,6 +364,16 @@ def vpc_security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "vpc_security_group_ids", value) +if not MYPY: + class SchemaConversionApplicationAttributesPropertiesArgsDict(TypedDict): + """ + The property describes schema conversion application attributes for the migration project. + """ + s3_bucket_path: NotRequired[pulumi.Input[str]] + s3_bucket_role_arn: NotRequired[pulumi.Input[str]] +elif False: + SchemaConversionApplicationAttributesPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SchemaConversionApplicationAttributesPropertiesArgs: def __init__(__self__, *, @@ -304,6 +406,19 @@ def s3_bucket_role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_bucket_role_arn", value) +if not MYPY: + class SettingsPropertiesMicrosoftSqlServerSettingsPropertiesArgsDict(TypedDict): + """ + MicrosoftSqlServerSettings property identifier. + """ + database_name: pulumi.Input[str] + port: pulumi.Input[int] + server_name: pulumi.Input[str] + ssl_mode: pulumi.Input['DataProviderDmsSslModeValue'] + certificate_arn: NotRequired[pulumi.Input[str]] +elif False: + SettingsPropertiesMicrosoftSqlServerSettingsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SettingsPropertiesMicrosoftSqlServerSettingsPropertiesArgs: def __init__(__self__, *, @@ -368,6 +483,18 @@ def certificate_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "certificate_arn", value) +if not MYPY: + class SettingsPropertiesMySqlSettingsPropertiesArgsDict(TypedDict): + """ + MySqlSettings property identifier. + """ + port: pulumi.Input[int] + server_name: pulumi.Input[str] + ssl_mode: pulumi.Input['DataProviderDmsSslModeValue'] + certificate_arn: NotRequired[pulumi.Input[str]] +elif False: + SettingsPropertiesMySqlSettingsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SettingsPropertiesMySqlSettingsPropertiesArgs: def __init__(__self__, *, @@ -421,6 +548,24 @@ def certificate_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "certificate_arn", value) +if not MYPY: + class SettingsPropertiesOracleSettingsPropertiesArgsDict(TypedDict): + """ + OracleSettings property identifier. + """ + database_name: pulumi.Input[str] + port: pulumi.Input[int] + server_name: pulumi.Input[str] + ssl_mode: pulumi.Input['DataProviderDmsSslModeValue'] + asm_server: NotRequired[pulumi.Input[str]] + certificate_arn: NotRequired[pulumi.Input[str]] + secrets_manager_oracle_asm_access_role_arn: NotRequired[pulumi.Input[str]] + secrets_manager_oracle_asm_secret_id: NotRequired[pulumi.Input[str]] + secrets_manager_security_db_encryption_access_role_arn: NotRequired[pulumi.Input[str]] + secrets_manager_security_db_encryption_secret_id: NotRequired[pulumi.Input[str]] +elif False: + SettingsPropertiesOracleSettingsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SettingsPropertiesOracleSettingsPropertiesArgs: def __init__(__self__, *, @@ -545,6 +690,19 @@ def secrets_manager_security_db_encryption_secret_id(self, value: Optional[pulum pulumi.set(self, "secrets_manager_security_db_encryption_secret_id", value) +if not MYPY: + class SettingsPropertiesPostgreSqlSettingsPropertiesArgsDict(TypedDict): + """ + PostgreSqlSettings property identifier. + """ + database_name: pulumi.Input[str] + port: pulumi.Input[int] + server_name: pulumi.Input[str] + ssl_mode: pulumi.Input['DataProviderDmsSslModeValue'] + certificate_arn: NotRequired[pulumi.Input[str]] +elif False: + SettingsPropertiesPostgreSqlSettingsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SettingsPropertiesPostgreSqlSettingsPropertiesArgs: def __init__(__self__, *, @@ -609,6 +767,30 @@ def certificate_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "certificate_arn", value) +if not MYPY: + class SettingsPropertiesArgsDict(TypedDict): + """ + The property identifies the exact type of settings for the data provider. + """ + microsoft_sql_server_settings: NotRequired[pulumi.Input['SettingsPropertiesMicrosoftSqlServerSettingsPropertiesArgsDict']] + """ + MicrosoftSqlServerSettings property identifier. + """ + my_sql_settings: NotRequired[pulumi.Input['SettingsPropertiesMySqlSettingsPropertiesArgsDict']] + """ + MySqlSettings property identifier. + """ + oracle_settings: NotRequired[pulumi.Input['SettingsPropertiesOracleSettingsPropertiesArgsDict']] + """ + OracleSettings property identifier. + """ + postgre_sql_settings: NotRequired[pulumi.Input['SettingsPropertiesPostgreSqlSettingsPropertiesArgsDict']] + """ + PostgreSqlSettings property identifier. + """ +elif False: + SettingsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SettingsPropertiesArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/dms/data_provider.py b/sdk/python/pulumi_aws_native/dms/data_provider.py index d226cf16f3..9f05369de4 100644 --- a/sdk/python/pulumi_aws_native/dms/data_provider.py +++ b/sdk/python/pulumi_aws_native/dms/data_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/dms/get_data_provider.py b/sdk/python/pulumi_aws_native/dms/get_data_provider.py index ae5d7f217e..5ab72c0642 100644 --- a/sdk/python/pulumi_aws_native/dms/get_data_provider.py +++ b/sdk/python/pulumi_aws_native/dms/get_data_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_data_provider(data_provider_arn: Optional[str] = None, engine=pulumi.get(__ret__, 'engine'), settings=pulumi.get(__ret__, 'settings'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_data_provider) def get_data_provider_output(data_provider_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataProviderResult]: """ @@ -148,4 +150,15 @@ def get_data_provider_output(data_provider_arn: Optional[pulumi.Input[str]] = No :param str data_provider_arn: The data provider ARN. """ - ... + __args__ = dict() + __args__['dataProviderArn'] = data_provider_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:dms:getDataProvider', __args__, opts=opts, typ=GetDataProviderResult) + return __ret__.apply(lambda __response__: GetDataProviderResult( + data_provider_arn=pulumi.get(__response__, 'data_provider_arn'), + data_provider_creation_time=pulumi.get(__response__, 'data_provider_creation_time'), + data_provider_name=pulumi.get(__response__, 'data_provider_name'), + description=pulumi.get(__response__, 'description'), + engine=pulumi.get(__response__, 'engine'), + settings=pulumi.get(__response__, 'settings'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/dms/get_instance_profile.py b/sdk/python/pulumi_aws_native/dms/get_instance_profile.py index 1cd2933e56..eee0b69b5b 100644 --- a/sdk/python/pulumi_aws_native/dms/get_instance_profile.py +++ b/sdk/python/pulumi_aws_native/dms/get_instance_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -188,9 +193,6 @@ def get_instance_profile(instance_profile_arn: Optional[str] = None, subnet_group_identifier=pulumi.get(__ret__, 'subnet_group_identifier'), tags=pulumi.get(__ret__, 'tags'), vpc_security_groups=pulumi.get(__ret__, 'vpc_security_groups')) - - -@_utilities.lift_output_func(get_instance_profile) def get_instance_profile_output(instance_profile_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceProfileResult]: """ @@ -199,4 +201,19 @@ def get_instance_profile_output(instance_profile_arn: Optional[pulumi.Input[str] :param str instance_profile_arn: The property describes an ARN of the instance profile. """ - ... + __args__ = dict() + __args__['instanceProfileArn'] = instance_profile_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:dms:getInstanceProfile', __args__, opts=opts, typ=GetInstanceProfileResult) + return __ret__.apply(lambda __response__: GetInstanceProfileResult( + availability_zone=pulumi.get(__response__, 'availability_zone'), + description=pulumi.get(__response__, 'description'), + instance_profile_arn=pulumi.get(__response__, 'instance_profile_arn'), + instance_profile_creation_time=pulumi.get(__response__, 'instance_profile_creation_time'), + instance_profile_name=pulumi.get(__response__, 'instance_profile_name'), + kms_key_arn=pulumi.get(__response__, 'kms_key_arn'), + network_type=pulumi.get(__response__, 'network_type'), + publicly_accessible=pulumi.get(__response__, 'publicly_accessible'), + subnet_group_identifier=pulumi.get(__response__, 'subnet_group_identifier'), + tags=pulumi.get(__response__, 'tags'), + vpc_security_groups=pulumi.get(__response__, 'vpc_security_groups'))) diff --git a/sdk/python/pulumi_aws_native/dms/get_migration_project.py b/sdk/python/pulumi_aws_native/dms/get_migration_project.py index 95dcfae861..693ba92c78 100644 --- a/sdk/python/pulumi_aws_native/dms/get_migration_project.py +++ b/sdk/python/pulumi_aws_native/dms/get_migration_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -188,9 +193,6 @@ def get_migration_project(migration_project_arn: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), target_data_provider_descriptors=pulumi.get(__ret__, 'target_data_provider_descriptors'), transformation_rules=pulumi.get(__ret__, 'transformation_rules')) - - -@_utilities.lift_output_func(get_migration_project) def get_migration_project_output(migration_project_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMigrationProjectResult]: """ @@ -199,4 +201,19 @@ def get_migration_project_output(migration_project_arn: Optional[pulumi.Input[st :param str migration_project_arn: The property describes an ARN of the migration project. """ - ... + __args__ = dict() + __args__['migrationProjectArn'] = migration_project_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:dms:getMigrationProject', __args__, opts=opts, typ=GetMigrationProjectResult) + return __ret__.apply(lambda __response__: GetMigrationProjectResult( + description=pulumi.get(__response__, 'description'), + instance_profile_arn=pulumi.get(__response__, 'instance_profile_arn'), + instance_profile_name=pulumi.get(__response__, 'instance_profile_name'), + migration_project_arn=pulumi.get(__response__, 'migration_project_arn'), + migration_project_creation_time=pulumi.get(__response__, 'migration_project_creation_time'), + migration_project_name=pulumi.get(__response__, 'migration_project_name'), + schema_conversion_application_attributes=pulumi.get(__response__, 'schema_conversion_application_attributes'), + source_data_provider_descriptors=pulumi.get(__response__, 'source_data_provider_descriptors'), + tags=pulumi.get(__response__, 'tags'), + target_data_provider_descriptors=pulumi.get(__response__, 'target_data_provider_descriptors'), + transformation_rules=pulumi.get(__response__, 'transformation_rules'))) diff --git a/sdk/python/pulumi_aws_native/dms/get_replication_config.py b/sdk/python/pulumi_aws_native/dms/get_replication_config.py index 7c2c42e5fa..ac26900c65 100644 --- a/sdk/python/pulumi_aws_native/dms/get_replication_config.py +++ b/sdk/python/pulumi_aws_native/dms/get_replication_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -182,9 +187,6 @@ def get_replication_config(replication_config_arn: Optional[str] = None, table_mappings=pulumi.get(__ret__, 'table_mappings'), tags=pulumi.get(__ret__, 'tags'), target_endpoint_arn=pulumi.get(__ret__, 'target_endpoint_arn')) - - -@_utilities.lift_output_func(get_replication_config) def get_replication_config_output(replication_config_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReplicationConfigResult]: """ @@ -193,4 +195,18 @@ def get_replication_config_output(replication_config_arn: Optional[pulumi.Input[ :param str replication_config_arn: The Amazon Resource Name (ARN) of the Replication Config """ - ... + __args__ = dict() + __args__['replicationConfigArn'] = replication_config_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:dms:getReplicationConfig', __args__, opts=opts, typ=GetReplicationConfigResult) + return __ret__.apply(lambda __response__: GetReplicationConfigResult( + compute_config=pulumi.get(__response__, 'compute_config'), + replication_config_arn=pulumi.get(__response__, 'replication_config_arn'), + replication_config_identifier=pulumi.get(__response__, 'replication_config_identifier'), + replication_settings=pulumi.get(__response__, 'replication_settings'), + replication_type=pulumi.get(__response__, 'replication_type'), + source_endpoint_arn=pulumi.get(__response__, 'source_endpoint_arn'), + supplemental_settings=pulumi.get(__response__, 'supplemental_settings'), + table_mappings=pulumi.get(__response__, 'table_mappings'), + tags=pulumi.get(__response__, 'tags'), + target_endpoint_arn=pulumi.get(__response__, 'target_endpoint_arn'))) diff --git a/sdk/python/pulumi_aws_native/dms/instance_profile.py b/sdk/python/pulumi_aws_native/dms/instance_profile.py index 87e68b722b..7650695f95 100644 --- a/sdk/python/pulumi_aws_native/dms/instance_profile.py +++ b/sdk/python/pulumi_aws_native/dms/instance_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/dms/migration_project.py b/sdk/python/pulumi_aws_native/dms/migration_project.py index f33a663c72..e3eb044694 100644 --- a/sdk/python/pulumi_aws_native/dms/migration_project.py +++ b/sdk/python/pulumi_aws_native/dms/migration_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/dms/outputs.py b/sdk/python/pulumi_aws_native/dms/outputs.py index e470bf5d18..c3d58e33f3 100644 --- a/sdk/python/pulumi_aws_native/dms/outputs.py +++ b/sdk/python/pulumi_aws_native/dms/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/dms/replication_config.py b/sdk/python/pulumi_aws_native/dms/replication_config.py index 4394749870..769388402d 100644 --- a/sdk/python/pulumi_aws_native/dms/replication_config.py +++ b/sdk/python/pulumi_aws_native/dms/replication_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/docdbelastic/cluster.py b/sdk/python/pulumi_aws_native/docdbelastic/cluster.py index cd267ad586..18c9319be9 100644 --- a/sdk/python/pulumi_aws_native/docdbelastic/cluster.py +++ b/sdk/python/pulumi_aws_native/docdbelastic/cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/docdbelastic/get_cluster.py b/sdk/python/pulumi_aws_native/docdbelastic/get_cluster.py index a27f6c2e39..54b47ec49f 100644 --- a/sdk/python/pulumi_aws_native/docdbelastic/get_cluster.py +++ b/sdk/python/pulumi_aws_native/docdbelastic/get_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -189,12 +194,24 @@ def get_cluster(cluster_arn: Optional[str] = None, subnet_ids=pulumi.get(__ret__, 'subnet_ids'), tags=pulumi.get(__ret__, 'tags'), vpc_security_group_ids=pulumi.get(__ret__, 'vpc_security_group_ids')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(cluster_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: """ The AWS::DocDBElastic::Cluster Amazon DocumentDB (with MongoDB compatibility) Elastic Scale resource describes a Cluster """ - ... + __args__ = dict() + __args__['clusterArn'] = cluster_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:docdbelastic:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + backup_retention_period=pulumi.get(__response__, 'backup_retention_period'), + cluster_arn=pulumi.get(__response__, 'cluster_arn'), + cluster_endpoint=pulumi.get(__response__, 'cluster_endpoint'), + preferred_backup_window=pulumi.get(__response__, 'preferred_backup_window'), + preferred_maintenance_window=pulumi.get(__response__, 'preferred_maintenance_window'), + shard_capacity=pulumi.get(__response__, 'shard_capacity'), + shard_count=pulumi.get(__response__, 'shard_count'), + shard_instance_count=pulumi.get(__response__, 'shard_instance_count'), + subnet_ids=pulumi.get(__response__, 'subnet_ids'), + tags=pulumi.get(__response__, 'tags'), + vpc_security_group_ids=pulumi.get(__response__, 'vpc_security_group_ids'))) diff --git a/sdk/python/pulumi_aws_native/dynamodb/_inputs.py b/sdk/python/pulumi_aws_native/dynamodb/_inputs.py index 8d6096e9c0..8492ad47c2 100644 --- a/sdk/python/pulumi_aws_native/dynamodb/_inputs.py +++ b/sdk/python/pulumi_aws_native/dynamodb/_inputs.py @@ -4,56 +4,121 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'GlobalTableAttributeDefinitionArgs', + 'GlobalTableAttributeDefinitionArgsDict', 'GlobalTableCapacityAutoScalingSettingsArgs', + 'GlobalTableCapacityAutoScalingSettingsArgsDict', 'GlobalTableContributorInsightsSpecificationArgs', + 'GlobalTableContributorInsightsSpecificationArgsDict', 'GlobalTableGlobalSecondaryIndexArgs', + 'GlobalTableGlobalSecondaryIndexArgsDict', 'GlobalTableKeySchemaArgs', + 'GlobalTableKeySchemaArgsDict', 'GlobalTableKinesisStreamSpecificationArgs', + 'GlobalTableKinesisStreamSpecificationArgsDict', 'GlobalTableLocalSecondaryIndexArgs', + 'GlobalTableLocalSecondaryIndexArgsDict', 'GlobalTablePointInTimeRecoverySpecificationArgs', + 'GlobalTablePointInTimeRecoverySpecificationArgsDict', 'GlobalTableProjectionArgs', + 'GlobalTableProjectionArgsDict', 'GlobalTableReadOnDemandThroughputSettingsArgs', + 'GlobalTableReadOnDemandThroughputSettingsArgsDict', 'GlobalTableReadProvisionedThroughputSettingsArgs', + 'GlobalTableReadProvisionedThroughputSettingsArgsDict', 'GlobalTableReplicaGlobalSecondaryIndexSpecificationArgs', + 'GlobalTableReplicaGlobalSecondaryIndexSpecificationArgsDict', 'GlobalTableReplicaSpecificationArgs', + 'GlobalTableReplicaSpecificationArgsDict', 'GlobalTableReplicaSseSpecificationArgs', + 'GlobalTableReplicaSseSpecificationArgsDict', 'GlobalTableReplicaStreamSpecificationArgs', + 'GlobalTableReplicaStreamSpecificationArgsDict', 'GlobalTableResourcePolicyArgs', + 'GlobalTableResourcePolicyArgsDict', 'GlobalTableSseSpecificationArgs', + 'GlobalTableSseSpecificationArgsDict', 'GlobalTableStreamSpecificationArgs', + 'GlobalTableStreamSpecificationArgsDict', 'GlobalTableTagArgs', + 'GlobalTableTagArgsDict', 'GlobalTableTargetTrackingScalingPolicyConfigurationArgs', + 'GlobalTableTargetTrackingScalingPolicyConfigurationArgsDict', 'GlobalTableTimeToLiveSpecificationArgs', + 'GlobalTableTimeToLiveSpecificationArgsDict', 'GlobalTableWriteOnDemandThroughputSettingsArgs', + 'GlobalTableWriteOnDemandThroughputSettingsArgsDict', 'GlobalTableWriteProvisionedThroughputSettingsArgs', + 'GlobalTableWriteProvisionedThroughputSettingsArgsDict', 'TableAttributeDefinitionArgs', + 'TableAttributeDefinitionArgsDict', 'TableContributorInsightsSpecificationArgs', + 'TableContributorInsightsSpecificationArgsDict', 'TableCsvArgs', + 'TableCsvArgsDict', 'TableGlobalSecondaryIndexArgs', + 'TableGlobalSecondaryIndexArgsDict', 'TableImportSourceSpecificationArgs', + 'TableImportSourceSpecificationArgsDict', 'TableInputFormatOptionsArgs', + 'TableInputFormatOptionsArgsDict', 'TableKeySchemaArgs', + 'TableKeySchemaArgsDict', 'TableKinesisStreamSpecificationArgs', + 'TableKinesisStreamSpecificationArgsDict', 'TableLocalSecondaryIndexArgs', + 'TableLocalSecondaryIndexArgsDict', 'TableOnDemandThroughputArgs', + 'TableOnDemandThroughputArgsDict', 'TablePointInTimeRecoverySpecificationArgs', + 'TablePointInTimeRecoverySpecificationArgsDict', 'TableProjectionArgs', + 'TableProjectionArgsDict', 'TableProvisionedThroughputArgs', + 'TableProvisionedThroughputArgsDict', 'TableResourcePolicyArgs', + 'TableResourcePolicyArgsDict', 'TableS3BucketSourceArgs', + 'TableS3BucketSourceArgsDict', 'TableSseSpecificationArgs', + 'TableSseSpecificationArgsDict', 'TableStreamSpecificationArgs', + 'TableStreamSpecificationArgsDict', 'TableTimeToLiveSpecificationArgs', + 'TableTimeToLiveSpecificationArgsDict', ] +MYPY = False + +if not MYPY: + class GlobalTableAttributeDefinitionArgsDict(TypedDict): + attribute_name: pulumi.Input[str] + """ + A name for the attribute. + """ + attribute_type: pulumi.Input[str] + """ + The data type for the attribute, where: + + - `S` - the attribute is of type String + - `N` - the attribute is of type Number + - `B` - the attribute is of type Binary + """ +elif False: + GlobalTableAttributeDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableAttributeDefinitionArgs: def __init__(__self__, *, @@ -99,6 +164,31 @@ def attribute_type(self, value: pulumi.Input[str]): pulumi.set(self, "attribute_type", value) +if not MYPY: + class GlobalTableCapacityAutoScalingSettingsArgsDict(TypedDict): + max_capacity: pulumi.Input[int] + """ + The maximum provisioned capacity units for the global table. + """ + min_capacity: pulumi.Input[int] + """ + The minimum provisioned capacity units for the global table. + """ + target_tracking_scaling_policy_configuration: pulumi.Input['GlobalTableTargetTrackingScalingPolicyConfigurationArgsDict'] + """ + Defines a target tracking scaling policy. + """ + seed_capacity: NotRequired[pulumi.Input[int]] + """ + When switching billing mode from `PAY_PER_REQUEST` to `PROVISIONED` , DynamoDB requires you to specify read and write capacity unit values for the table and for each global secondary index. These values will be applied to all replicas. The table will use these provisioned values until CloudFormation creates the autoscaling policies you configured in your template. CloudFormation cannot determine what capacity the table and its global secondary indexes will require in this time period, since they are application-dependent. + + If you want to switch a table's billing mode from `PAY_PER_REQUEST` to `PROVISIONED` , you must specify a value for this property for each autoscaled resource. If you specify different values for the same resource in different regions, CloudFormation will use the highest value found in either the `SeedCapacity` or `ReadCapacityUnits` properties. For example, if your global secondary index `myGSI` has a `SeedCapacity` of 10 in us-east-1 and a fixed `ReadCapacityUnits` of 20 in eu-west-1, CloudFormation will initially set the read capacity for `myGSI` to 20. Note that if you disable `ScaleIn` for `myGSI` in us-east-1, its read capacity units might not be set back to 10. + + You must also specify a value for `SeedCapacity` when you plan to switch a table's billing mode from `PROVISIONED` to `PAY_PER_REQUEST` , because CloudFormation might need to roll back the operation (reverting the billing mode to `PROVISIONED` ) and this cannot succeed without specifying a value for `SeedCapacity` . + """ +elif False: + GlobalTableCapacityAutoScalingSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableCapacityAutoScalingSettingsArgs: def __init__(__self__, *, @@ -175,6 +265,15 @@ def seed_capacity(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "seed_capacity", value) +if not MYPY: + class GlobalTableContributorInsightsSpecificationArgsDict(TypedDict): + enabled: pulumi.Input[bool] + """ + Indicates whether CloudWatch Contributor Insights are to be enabled (true) or disabled (false). + """ +elif False: + GlobalTableContributorInsightsSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableContributorInsightsSpecificationArgs: def __init__(__self__, *, @@ -197,6 +296,38 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class GlobalTableGlobalSecondaryIndexArgsDict(TypedDict): + index_name: pulumi.Input[str] + """ + The name of the global secondary index. The name must be unique among all other indexes on this table. + """ + key_schema: pulumi.Input[Sequence[pulumi.Input['GlobalTableKeySchemaArgsDict']]] + """ + The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types: + + - `HASH` - partition key + - `RANGE` - sort key + + > The partition key of an item is also known as its *hash attribute* . The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. + > + > The sort key of an item is also known as its *range attribute* . The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. + """ + projection: pulumi.Input['GlobalTableProjectionArgsDict'] + """ + Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. + """ + write_on_demand_throughput_settings: NotRequired[pulumi.Input['GlobalTableWriteOnDemandThroughputSettingsArgsDict']] + """ + Sets the write request settings for a global table or a global secondary index. You must specify this setting if you set the `BillingMode` to `PAY_PER_REQUEST` . + """ + write_provisioned_throughput_settings: NotRequired[pulumi.Input['GlobalTableWriteProvisionedThroughputSettingsArgsDict']] + """ + Defines write capacity settings for the global secondary index. You must specify a value for this property if the table's `BillingMode` is `PROVISIONED` . All replicas will have the same write capacity settings for this global secondary index. + """ +elif False: + GlobalTableGlobalSecondaryIndexArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableGlobalSecondaryIndexArgs: def __init__(__self__, *, @@ -295,6 +426,26 @@ def write_provisioned_throughput_settings(self, value: Optional[pulumi.Input['Gl pulumi.set(self, "write_provisioned_throughput_settings", value) +if not MYPY: + class GlobalTableKeySchemaArgsDict(TypedDict): + attribute_name: pulumi.Input[str] + """ + The name of a key attribute. + """ + key_type: pulumi.Input[str] + """ + The role that this key attribute will assume: + + - `HASH` - partition key + - `RANGE` - sort key + + > The partition key of an item is also known as its *hash attribute* . The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. + > + > The sort key of an item is also known as its *range attribute* . The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. + """ +elif False: + GlobalTableKeySchemaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableKeySchemaArgs: def __init__(__self__, *, @@ -346,6 +497,19 @@ def key_type(self, value: pulumi.Input[str]): pulumi.set(self, "key_type", value) +if not MYPY: + class GlobalTableKinesisStreamSpecificationArgsDict(TypedDict): + stream_arn: pulumi.Input[str] + """ + The ARN for a specific Kinesis data stream. + """ + approximate_creation_date_time_precision: NotRequired[pulumi.Input['GlobalTableKinesisStreamSpecificationApproximateCreationDateTimePrecision']] + """ + The precision for the time and date that the stream was created. + """ +elif False: + GlobalTableKinesisStreamSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableKinesisStreamSpecificationArgs: def __init__(__self__, *, @@ -384,6 +548,30 @@ def approximate_creation_date_time_precision(self, value: Optional[pulumi.Input[ pulumi.set(self, "approximate_creation_date_time_precision", value) +if not MYPY: + class GlobalTableLocalSecondaryIndexArgsDict(TypedDict): + index_name: pulumi.Input[str] + """ + The name of the local secondary index. The name must be unique among all other indexes on this table. + """ + key_schema: pulumi.Input[Sequence[pulumi.Input['GlobalTableKeySchemaArgsDict']]] + """ + The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types: + + - `HASH` - partition key + - `RANGE` - sort key + + > The partition key of an item is also known as its *hash attribute* . The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. + > + > The sort key of an item is also known as its *range attribute* . The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. + """ + projection: pulumi.Input['GlobalTableProjectionArgsDict'] + """ + Represents attributes that are copied (projected) from the table into the local secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. + """ +elif False: + GlobalTableLocalSecondaryIndexArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableLocalSecondaryIndexArgs: def __init__(__self__, *, @@ -450,6 +638,15 @@ def projection(self, value: pulumi.Input['GlobalTableProjectionArgs']): pulumi.set(self, "projection", value) +if not MYPY: + class GlobalTablePointInTimeRecoverySpecificationArgsDict(TypedDict): + point_in_time_recovery_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether point in time recovery is enabled (true) or disabled (false) on the table. + """ +elif False: + GlobalTablePointInTimeRecoverySpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTablePointInTimeRecoverySpecificationArgs: def __init__(__self__, *, @@ -473,6 +670,27 @@ def point_in_time_recovery_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "point_in_time_recovery_enabled", value) +if not MYPY: + class GlobalTableProjectionArgsDict(TypedDict): + non_key_attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Represents the non-key attribute names which will be projected into the index. + + For local secondary indexes, the total count of `NonKeyAttributes` summed across all of the local secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total. + """ + projection_type: NotRequired[pulumi.Input[str]] + """ + The set of attributes that are projected into the index: + + - `KEYS_ONLY` - Only the index and primary keys are projected into the index. + - `INCLUDE` - In addition to the attributes described in `KEYS_ONLY` , the secondary index will include other non-key attributes that you specify. + - `ALL` - All of the table attributes are projected into the index. + + When using the DynamoDB console, `ALL` is selected by default. + """ +elif False: + GlobalTableProjectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableProjectionArgs: def __init__(__self__, *, @@ -528,6 +746,15 @@ def projection_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "projection_type", value) +if not MYPY: + class GlobalTableReadOnDemandThroughputSettingsArgsDict(TypedDict): + max_read_request_units: NotRequired[pulumi.Input[int]] + """ + Maximum number of read request units for the specified replica of a global table. + """ +elif False: + GlobalTableReadOnDemandThroughputSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableReadOnDemandThroughputSettingsArgs: def __init__(__self__, *, @@ -551,6 +778,19 @@ def max_read_request_units(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_read_request_units", value) +if not MYPY: + class GlobalTableReadProvisionedThroughputSettingsArgsDict(TypedDict): + read_capacity_auto_scaling_settings: NotRequired[pulumi.Input['GlobalTableCapacityAutoScalingSettingsArgsDict']] + """ + Specifies auto scaling settings for the replica table or global secondary index. + """ + read_capacity_units: NotRequired[pulumi.Input[int]] + """ + Specifies a fixed read capacity for the replica table or global secondary index. + """ +elif False: + GlobalTableReadProvisionedThroughputSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableReadProvisionedThroughputSettingsArgs: def __init__(__self__, *, @@ -590,6 +830,27 @@ def read_capacity_units(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "read_capacity_units", value) +if not MYPY: + class GlobalTableReplicaGlobalSecondaryIndexSpecificationArgsDict(TypedDict): + index_name: pulumi.Input[str] + """ + The name of the global secondary index. The name must be unique among all other indexes on this table. + """ + contributor_insights_specification: NotRequired[pulumi.Input['GlobalTableContributorInsightsSpecificationArgsDict']] + """ + Updates the status for contributor insights for a specific table or index. CloudWatch Contributor Insights for DynamoDB graphs display the partition key and (if applicable) sort key of frequently accessed items and frequently throttled items in plaintext. If you require the use of AWS Key Management Service (KMS) to encrypt this table’s partition key and sort key data with an AWS managed key or customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB for this table. + """ + read_on_demand_throughput_settings: NotRequired[pulumi.Input['GlobalTableReadOnDemandThroughputSettingsArgsDict']] + """ + Sets the read request settings for a replica global secondary index. You must specify this setting if you set the `BillingMode` to `PAY_PER_REQUEST` . + """ + read_provisioned_throughput_settings: NotRequired[pulumi.Input['GlobalTableReadProvisionedThroughputSettingsArgsDict']] + """ + Allows you to specify the read capacity settings for a replica global secondary index when the `BillingMode` is set to `PROVISIONED` . + """ +elif False: + GlobalTableReplicaGlobalSecondaryIndexSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableReplicaGlobalSecondaryIndexSpecificationArgs: def __init__(__self__, *, @@ -660,6 +921,67 @@ def read_provisioned_throughput_settings(self, value: Optional[pulumi.Input['Glo pulumi.set(self, "read_provisioned_throughput_settings", value) +if not MYPY: + class GlobalTableReplicaSpecificationArgsDict(TypedDict): + region: pulumi.Input[str] + """ + The region in which this replica exists. + """ + contributor_insights_specification: NotRequired[pulumi.Input['GlobalTableContributorInsightsSpecificationArgsDict']] + """ + The settings used to enable or disable CloudWatch Contributor Insights for the specified replica. When not specified, defaults to contributor insights disabled for the replica. + """ + deletion_protection_enabled: NotRequired[pulumi.Input[bool]] + """ + Determines if a replica is protected from deletion. When enabled, the table cannot be deleted by any user or process. This setting is disabled by default. For more information, see [Using deletion protection](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.Basics.html#WorkingWithTables.Basics.DeletionProtection) in the *Amazon DynamoDB Developer Guide* . + """ + global_secondary_indexes: NotRequired[pulumi.Input[Sequence[pulumi.Input['GlobalTableReplicaGlobalSecondaryIndexSpecificationArgsDict']]]] + """ + Defines additional settings for the global secondary indexes of this replica. + """ + kinesis_stream_specification: NotRequired[pulumi.Input['GlobalTableKinesisStreamSpecificationArgsDict']] + """ + Defines the Kinesis Data Streams configuration for the specified replica. + """ + point_in_time_recovery_specification: NotRequired[pulumi.Input['GlobalTablePointInTimeRecoverySpecificationArgsDict']] + """ + The settings used to enable point in time recovery. When not specified, defaults to point in time recovery disabled for the replica. + """ + read_on_demand_throughput_settings: NotRequired[pulumi.Input['GlobalTableReadOnDemandThroughputSettingsArgsDict']] + """ + Sets read request settings for the replica table. + """ + read_provisioned_throughput_settings: NotRequired[pulumi.Input['GlobalTableReadProvisionedThroughputSettingsArgsDict']] + """ + Defines read capacity settings for the replica table. + """ + replica_stream_specification: NotRequired[pulumi.Input['GlobalTableReplicaStreamSpecificationArgsDict']] + """ + Represents the DynamoDB Streams configuration for a global table replica. + """ + resource_policy: NotRequired[pulumi.Input['GlobalTableResourcePolicyArgsDict']] + """ + A resource-based policy document that contains permissions to add to the specified replica of a DynamoDB global table. Resource-based policies let you define access permissions by specifying who has access to each resource, and the actions they are allowed to perform on each resource. + + In a CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see [Using resource-based policies for DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html) and [Resource-based policy examples](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html) . + """ + sse_specification: NotRequired[pulumi.Input['GlobalTableReplicaSseSpecificationArgsDict']] + """ + Allows you to specify a customer-managed key for the replica. When using customer-managed keys for server-side encryption, this property must have a value in all replicas. + """ + table_class: NotRequired[pulumi.Input[str]] + """ + The table class of the specified table. Valid values are `STANDARD` and `STANDARD_INFREQUENT_ACCESS` . + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['GlobalTableTagArgsDict']]]] + """ + An array of key-value pairs to apply to this replica. + + For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . + """ +elif False: + GlobalTableReplicaSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableReplicaSpecificationArgs: def __init__(__self__, *, @@ -882,6 +1204,15 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GlobalTableTa pulumi.set(self, "tags", value) +if not MYPY: + class GlobalTableReplicaSseSpecificationArgsDict(TypedDict): + kms_master_key_id: pulumi.Input[str] + """ + The AWS KMS key that should be used for the AWS KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key `alias/aws/dynamodb` . + """ +elif False: + GlobalTableReplicaSseSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableReplicaSseSpecificationArgs: def __init__(__self__, *, @@ -904,6 +1235,19 @@ def kms_master_key_id(self, value: pulumi.Input[str]): pulumi.set(self, "kms_master_key_id", value) +if not MYPY: + class GlobalTableReplicaStreamSpecificationArgsDict(TypedDict): + resource_policy: pulumi.Input['GlobalTableResourcePolicyArgsDict'] + """ + A resource-based policy document that contains the permissions for the specified stream of a DynamoDB global table replica. Resource-based policies let you define access permissions by specifying who has access to each resource, and the actions they are allowed to perform on each resource. + + In a CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see [Using resource-based policies for DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html) and [Resource-based policy examples](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html) . + + You can update the `ResourcePolicy` property if you've specified more than one table using the [AWS ::DynamoDB::GlobalTable](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html) resource. + """ +elif False: + GlobalTableReplicaStreamSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableReplicaStreamSpecificationArgs: def __init__(__self__, *, @@ -934,6 +1278,15 @@ def resource_policy(self, value: pulumi.Input['GlobalTableResourcePolicyArgs']): pulumi.set(self, "resource_policy", value) +if not MYPY: + class GlobalTableResourcePolicyArgsDict(TypedDict): + policy_document: Any + """ + A resource-based policy document that contains permissions to add to the specified DynamoDB table, its indexes, and stream. In a CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see [Using resource-based policies for DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html) and [Resource-based policy examples](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html) . + """ +elif False: + GlobalTableResourcePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableResourcePolicyArgs: def __init__(__self__, *, @@ -956,6 +1309,21 @@ def policy_document(self, value: Any): pulumi.set(self, "policy_document", value) +if not MYPY: + class GlobalTableSseSpecificationArgsDict(TypedDict): + sse_enabled: pulumi.Input[bool] + """ + Indicates whether server-side encryption is performed using an AWS managed key or an AWS owned key. If enabled (true), server-side encryption type is set to KMS and an AWS managed key is used ( AWS KMS charges apply). If disabled (false) or not specified,server-side encryption is set to an AWS owned key. If you choose to use KMS encryption, you can also use customer managed KMS keys by specifying them in the `ReplicaSpecification.SSESpecification` object. You cannot mix AWS managed and customer managed KMS keys. + """ + sse_type: NotRequired[pulumi.Input[str]] + """ + Server-side encryption type. The only supported value is: + + - `KMS` - Server-side encryption that uses AWS Key Management Service . The key is stored in your account and is managed by AWS KMS ( AWS KMS charges apply). + """ +elif False: + GlobalTableSseSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableSseSpecificationArgs: def __init__(__self__, *, @@ -998,6 +1366,20 @@ def sse_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sse_type", value) +if not MYPY: + class GlobalTableStreamSpecificationArgsDict(TypedDict): + stream_view_type: pulumi.Input[str] + """ + When an item in the table is modified, `StreamViewType` determines what information is written to the stream for this table. Valid values for `StreamViewType` are: + + - `KEYS_ONLY` - Only the key attributes of the modified item are written to the stream. + - `NEW_IMAGE` - The entire item, as it appears after it was modified, is written to the stream. + - `OLD_IMAGE` - The entire item, as it appeared before it was modified, is written to the stream. + - `NEW_AND_OLD_IMAGES` - Both the new and the old item images of the item are written to the stream. + """ +elif False: + GlobalTableStreamSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableStreamSpecificationArgs: def __init__(__self__, *, @@ -1030,6 +1412,19 @@ def stream_view_type(self, value: pulumi.Input[str]): pulumi.set(self, "stream_view_type", value) +if not MYPY: + class GlobalTableTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The key of the tag. Tag keys are case sensitive. Each DynamoDB table can only have up to one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value. + """ + value: pulumi.Input[str] + """ + The value of the tag. Tag values are case-sensitive and can be null. + """ +elif False: + GlobalTableTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableTagArgs: def __init__(__self__, *, @@ -1067,6 +1462,27 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class GlobalTableTargetTrackingScalingPolicyConfigurationArgsDict(TypedDict): + target_value: pulumi.Input[float] + """ + Defines a target value for the scaling policy. + """ + disable_scale_in: NotRequired[pulumi.Input[bool]] + """ + Indicates whether scale in by the target tracking scaling policy is disabled. The default value is `false` . + """ + scale_in_cooldown: NotRequired[pulumi.Input[int]] + """ + The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. + """ + scale_out_cooldown: NotRequired[pulumi.Input[int]] + """ + The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. + """ +elif False: + GlobalTableTargetTrackingScalingPolicyConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableTargetTrackingScalingPolicyConfigurationArgs: def __init__(__self__, *, @@ -1137,6 +1553,21 @@ def scale_out_cooldown(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "scale_out_cooldown", value) +if not MYPY: + class GlobalTableTimeToLiveSpecificationArgsDict(TypedDict): + enabled: pulumi.Input[bool] + """ + Indicates whether TTL is to be enabled (true) or disabled (false) on the table. + """ + attribute_name: NotRequired[pulumi.Input[str]] + """ + The name of the attribute used to store the expiration time for items in the table. + + Currently, you cannot directly change the attribute name used to evaluate time to live. In order to do so, you must first disable time to live, and then re-enable it with the new attribute name. It can take up to one hour for changes to time to live to take effect. If you attempt to modify time to live within that time window, your stack operation might be delayed. + """ +elif False: + GlobalTableTimeToLiveSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableTimeToLiveSpecificationArgs: def __init__(__self__, *, @@ -1179,6 +1610,15 @@ def attribute_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "attribute_name", value) +if not MYPY: + class GlobalTableWriteOnDemandThroughputSettingsArgsDict(TypedDict): + max_write_request_units: NotRequired[pulumi.Input[int]] + """ + Maximum number of write request settings for the specified replica of a global table. + """ +elif False: + GlobalTableWriteOnDemandThroughputSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableWriteOnDemandThroughputSettingsArgs: def __init__(__self__, *, @@ -1202,6 +1642,15 @@ def max_write_request_units(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_write_request_units", value) +if not MYPY: + class GlobalTableWriteProvisionedThroughputSettingsArgsDict(TypedDict): + write_capacity_auto_scaling_settings: NotRequired[pulumi.Input['GlobalTableCapacityAutoScalingSettingsArgsDict']] + """ + Specifies auto scaling settings for the replica table or global secondary index. + """ +elif False: + GlobalTableWriteProvisionedThroughputSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalTableWriteProvisionedThroughputSettingsArgs: def __init__(__self__, *, @@ -1225,6 +1674,25 @@ def write_capacity_auto_scaling_settings(self, value: Optional[pulumi.Input['Glo pulumi.set(self, "write_capacity_auto_scaling_settings", value) +if not MYPY: + class TableAttributeDefinitionArgsDict(TypedDict): + """ + Represents an attribute for describing the schema for the table and indexes. + """ + attribute_name: pulumi.Input[str] + """ + A name for the attribute. + """ + attribute_type: pulumi.Input[str] + """ + The data type for the attribute, where: + + ``S`` - the attribute is of type String + + ``N`` - the attribute is of type Number + + ``B`` - the attribute is of type Binary + """ +elif False: + TableAttributeDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableAttributeDefinitionArgs: def __init__(__self__, *, @@ -1269,6 +1737,18 @@ def attribute_type(self, value: pulumi.Input[str]): pulumi.set(self, "attribute_type", value) +if not MYPY: + class TableContributorInsightsSpecificationArgsDict(TypedDict): + """ + The settings used to enable or disable CloudWatch Contributor Insights. + """ + enabled: pulumi.Input[bool] + """ + Indicates whether CloudWatch Contributor Insights are to be enabled (true) or disabled (false). + """ +elif False: + TableContributorInsightsSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableContributorInsightsSpecificationArgs: def __init__(__self__, *, @@ -1292,6 +1772,22 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class TableCsvArgsDict(TypedDict): + """ + The options for imported source files in CSV format. The values are Delimiter and HeaderList. + """ + delimiter: NotRequired[pulumi.Input[str]] + """ + The delimiter used for separating items in the CSV file being imported. + """ + header_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header. + """ +elif False: + TableCsvArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableCsvArgs: def __init__(__self__, *, @@ -1332,6 +1828,44 @@ def header_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "header_list", value) +if not MYPY: + class TableGlobalSecondaryIndexArgsDict(TypedDict): + """ + Represents the properties of a global secondary index. + """ + index_name: pulumi.Input[str] + """ + The name of the global secondary index. The name must be unique among all other indexes on this table. + """ + key_schema: pulumi.Input[Sequence[pulumi.Input['TableKeySchemaArgsDict']]] + """ + The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types: + + ``HASH`` - partition key + + ``RANGE`` - sort key + + The partition key of an item is also known as its *hash attribute*. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. + The sort key of an item is also known as its *range attribute*. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. + """ + projection: pulumi.Input['TableProjectionArgsDict'] + """ + Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. + """ + contributor_insights_specification: NotRequired[pulumi.Input['TableContributorInsightsSpecificationArgsDict']] + """ + The settings used to enable or disable CloudWatch Contributor Insights for the specified global secondary index. + """ + on_demand_throughput: NotRequired[pulumi.Input['TableOnDemandThroughputArgsDict']] + """ + The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify ``MaxReadRequestUnits``, ``MaxWriteRequestUnits``, or both. + """ + provisioned_throughput: NotRequired[pulumi.Input['TableProvisionedThroughputArgsDict']] + """ + Represents the provisioned throughput settings for the specified global secondary index. + For current minimum and maximum provisioned throughput values, see [Service, Account, and Table Quotas](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the *Amazon DynamoDB Developer Guide*. + """ +elif False: + TableGlobalSecondaryIndexArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableGlobalSecondaryIndexArgs: def __init__(__self__, *, @@ -1445,6 +1979,30 @@ def provisioned_throughput(self, value: Optional[pulumi.Input['TableProvisionedT pulumi.set(self, "provisioned_throughput", value) +if not MYPY: + class TableImportSourceSpecificationArgsDict(TypedDict): + """ + Specifies the properties of data being imported from the S3 bucket source to the table. + """ + input_format: pulumi.Input[str] + """ + The format of the source data. Valid values for ``ImportFormat`` are ``CSV``, ``DYNAMODB_JSON`` or ``ION``. + """ + s3_bucket_source: pulumi.Input['TableS3BucketSourceArgsDict'] + """ + The S3 bucket that provides the source for the import. + """ + input_compression_type: NotRequired[pulumi.Input[str]] + """ + Type of compression to be used on the input coming from the imported table. + """ + input_format_options: NotRequired[pulumi.Input['TableInputFormatOptionsArgsDict']] + """ + Additional properties that specify how the input is formatted, + """ +elif False: + TableImportSourceSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableImportSourceSpecificationArgs: def __init__(__self__, *, @@ -1515,6 +2073,18 @@ def input_format_options(self, value: Optional[pulumi.Input['TableInputFormatOpt pulumi.set(self, "input_format_options", value) +if not MYPY: + class TableInputFormatOptionsArgsDict(TypedDict): + """ + The format options for the data that was imported into the target table. There is one value, CsvOption. + """ + csv: NotRequired[pulumi.Input['TableCsvArgsDict']] + """ + The options for imported source files in CSV format. The values are Delimiter and HeaderList. + """ +elif False: + TableInputFormatOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableInputFormatOptionsArgs: def __init__(__self__, *, @@ -1539,6 +2109,29 @@ def csv(self, value: Optional[pulumi.Input['TableCsvArgs']]): pulumi.set(self, "csv", value) +if not MYPY: + class TableKeySchemaArgsDict(TypedDict): + """ + Represents *a single element* of a key schema. A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index. + A ``KeySchemaElement`` represents exactly one attribute of the primary key. For example, a simple primary key would be represented by one ``KeySchemaElement`` (for the partition key). A composite primary key would require one ``KeySchemaElement`` for the partition key, and another ``KeySchemaElement`` for the sort key. + A ``KeySchemaElement`` must be a scalar, top-level attribute (not a nested attribute). The data type must be one of String, Number, or Binary. The attribute cannot be nested within a List or a Map. + """ + attribute_name: pulumi.Input[str] + """ + The name of a key attribute. + """ + key_type: pulumi.Input[str] + """ + The role that this key attribute will assume: + + ``HASH`` - partition key + + ``RANGE`` - sort key + + The partition key of an item is also known as its *hash attribute*. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. + The sort key of an item is also known as its *range attribute*. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. + """ +elif False: + TableKeySchemaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableKeySchemaArgs: def __init__(__self__, *, @@ -1589,6 +2182,23 @@ def key_type(self, value: pulumi.Input[str]): pulumi.set(self, "key_type", value) +if not MYPY: + class TableKinesisStreamSpecificationArgsDict(TypedDict): + """ + The Kinesis Data Streams configuration for the specified table. + """ + stream_arn: pulumi.Input[str] + """ + The ARN for a specific Kinesis data stream. + Length Constraints: Minimum length of 37. Maximum length of 1024. + """ + approximate_creation_date_time_precision: NotRequired[pulumi.Input['TableKinesisStreamSpecificationApproximateCreationDateTimePrecision']] + """ + The precision for the time and date that the stream was created. + """ +elif False: + TableKinesisStreamSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableKinesisStreamSpecificationArgs: def __init__(__self__, *, @@ -1630,6 +2240,31 @@ def approximate_creation_date_time_precision(self, value: Optional[pulumi.Input[ pulumi.set(self, "approximate_creation_date_time_precision", value) +if not MYPY: + class TableLocalSecondaryIndexArgsDict(TypedDict): + """ + Represents the properties of a local secondary index. A local secondary index can only be created when its parent table is created. + """ + index_name: pulumi.Input[str] + """ + The name of the local secondary index. The name must be unique among all other indexes on this table. + """ + key_schema: pulumi.Input[Sequence[pulumi.Input['TableKeySchemaArgsDict']]] + """ + The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types: + + ``HASH`` - partition key + + ``RANGE`` - sort key + + The partition key of an item is also known as its *hash attribute*. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. + The sort key of an item is also known as its *range attribute*. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value. + """ + projection: pulumi.Input['TableProjectionArgsDict'] + """ + Represents attributes that are copied (projected) from the table into the local secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. + """ +elif False: + TableLocalSecondaryIndexArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableLocalSecondaryIndexArgs: def __init__(__self__, *, @@ -1693,6 +2328,24 @@ def projection(self, value: pulumi.Input['TableProjectionArgs']): pulumi.set(self, "projection", value) +if not MYPY: + class TableOnDemandThroughputArgsDict(TypedDict): + """ + Sets the maximum number of read and write units for the specified on-demand table. If you use this property, you must specify ``MaxReadRequestUnits``, ``MaxWriteRequestUnits``, or both. + """ + max_read_request_units: NotRequired[pulumi.Input[int]] + """ + Maximum number of read request units for the specified table. + To specify a maximum ``OnDemandThroughput`` on your table, set the value of ``MaxReadRequestUnits`` as greater than or equal to 1. To remove the maximum ``OnDemandThroughput`` that is currently set on your table, set the value of ``MaxReadRequestUnits`` to -1. + """ + max_write_request_units: NotRequired[pulumi.Input[int]] + """ + Maximum number of write request units for the specified table. + To specify a maximum ``OnDemandThroughput`` on your table, set the value of ``MaxWriteRequestUnits`` as greater than or equal to 1. To remove the maximum ``OnDemandThroughput`` that is currently set on your table, set the value of ``MaxWriteRequestUnits`` to -1. + """ +elif False: + TableOnDemandThroughputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableOnDemandThroughputArgs: def __init__(__self__, *, @@ -1737,6 +2390,18 @@ def max_write_request_units(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_write_request_units", value) +if not MYPY: + class TablePointInTimeRecoverySpecificationArgsDict(TypedDict): + """ + The settings used to enable point in time recovery. + """ + point_in_time_recovery_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether point in time recovery is enabled (true) or disabled (false) on the table. + """ +elif False: + TablePointInTimeRecoverySpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TablePointInTimeRecoverySpecificationArgs: def __init__(__self__, *, @@ -1761,6 +2426,28 @@ def point_in_time_recovery_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "point_in_time_recovery_enabled", value) +if not MYPY: + class TableProjectionArgsDict(TypedDict): + """ + Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. + """ + non_key_attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Represents the non-key attribute names which will be projected into the index. + For local secondary indexes, the total count of ``NonKeyAttributes`` summed across all of the local secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total. + """ + projection_type: NotRequired[pulumi.Input[str]] + """ + The set of attributes that are projected into the index: + + ``KEYS_ONLY`` - Only the index and primary keys are projected into the index. + + ``INCLUDE`` - In addition to the attributes described in ``KEYS_ONLY``, the secondary index will include other non-key attributes that you specify. + + ``ALL`` - All of the table attributes are projected into the index. + + When using the DynamoDB console, ``ALL`` is selected by default. + """ +elif False: + TableProjectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableProjectionArgs: def __init__(__self__, *, @@ -1813,6 +2500,24 @@ def projection_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "projection_type", value) +if not MYPY: + class TableProvisionedThroughputArgsDict(TypedDict): + """ + Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits``. For more information about the contents of a provisioned throughput structure, see [Table ProvisionedThroughput](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html). + """ + read_capacity_units: pulumi.Input[int] + """ + The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ``ThrottlingException``. For more information, see [Specifying Read and Write Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html) in the *Amazon DynamoDB Developer Guide*. + If read/write capacity mode is ``PAY_PER_REQUEST`` the value is set to 0. + """ + write_capacity_units: pulumi.Input[int] + """ + The maximum number of writes consumed per second before DynamoDB returns a ``ThrottlingException``. For more information, see [Specifying Read and Write Requirements](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html) in the *Amazon DynamoDB Developer Guide*. + If read/write capacity mode is ``PAY_PER_REQUEST`` the value is set to 0. + """ +elif False: + TableProvisionedThroughputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableProvisionedThroughputArgs: def __init__(__self__, *, @@ -1855,6 +2560,27 @@ def write_capacity_units(self, value: pulumi.Input[int]): pulumi.set(self, "write_capacity_units", value) +if not MYPY: + class TableResourcePolicyArgsDict(TypedDict): + """ + Creates or updates a resource-based policy document that contains the permissions for DDB resources, such as a table, its indexes, and stream. Resource-based policies let you define access permissions by specifying who has access to each resource, and the actions they are allowed to perform on each resource. + In a CFNshort template, you can provide the policy in JSON or YAML format because CFNshort converts YAML to JSON before submitting it to DDB. For more information about resource-based policies, see [Using resource-based policies for](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html) and [Resource-based policy examples](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html). + While defining resource-based policies in your CFNshort templates, the following considerations apply: + + The maximum size supported for a resource-based policy document in JSON format is 20 KB. DDB counts whitespaces when calculating the size of a policy against this limit. + + Resource-based policies don't support [drift detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html#). If you update a policy outside of the CFNshort stack template, you'll need to update the CFNshort stack with the changes. + + Resource-based policies don't support out-of-band changes. If you add, update, or delete a policy outside of the CFNshort template, the change won't be overwritten if there are no changes to the policy within the template. + For example, say that your template contains a resource-based policy, which you later update outside of the template. If you don't make any changes to the policy in the template, the updated policy in DDB won’t be synced with the policy in the template. + Conversely, say that your template doesn’t contain a resource-based policy, but you add a policy outside of the template. This policy won’t be removed from DDB as long as you don’t add it to the template. When you add a policy to the template and update the stack, the existing policy in DDB will be updated to match the one defined in the template. + + For a full list of all considerations, see [Resource-based policy considerations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html). + """ + policy_document: Any + """ + A resource-based policy document that contains permissions to add to the specified DDB table, index, or both. In a CFNshort template, you can provide the policy in JSON or YAML format because CFNshort converts YAML to JSON before submitting it to DDB. For more information about resource-based policies, see [Using resource-based policies for](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html) and [Resource-based policy examples](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html). + """ +elif False: + TableResourcePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableResourcePolicyArgs: def __init__(__self__, *, @@ -1887,6 +2613,26 @@ def policy_document(self, value: Any): pulumi.set(self, "policy_document", value) +if not MYPY: + class TableS3BucketSourceArgsDict(TypedDict): + """ + The S3 bucket that is being imported from. + """ + s3_bucket: pulumi.Input[str] + """ + The S3 bucket that is being imported from. + """ + s3_bucket_owner: NotRequired[pulumi.Input[str]] + """ + The account number of the S3 bucket that is being imported from. If the bucket is owned by the requester this is optional. + """ + s3_key_prefix: NotRequired[pulumi.Input[str]] + """ + The key prefix shared by all S3 Objects that are being imported. + """ +elif False: + TableS3BucketSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableS3BucketSourceArgs: def __init__(__self__, *, @@ -1942,6 +2688,27 @@ def s3_key_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_key_prefix", value) +if not MYPY: + class TableSseSpecificationArgsDict(TypedDict): + """ + Represents the settings used to enable server-side encryption. + """ + sse_enabled: pulumi.Input[bool] + """ + Indicates whether server-side encryption is done using an AWS managed key or an AWS owned key. If enabled (true), server-side encryption type is set to ``KMS`` and an AWS managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is set to AWS owned key. + """ + kms_master_key_id: NotRequired[pulumi.Input[str]] + """ + The KMS key that should be used for the KMS encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key ``alias/aws/dynamodb``. + """ + sse_type: NotRequired[pulumi.Input[str]] + """ + Server-side encryption type. The only supported value is: + + ``KMS`` - Server-side encryption that uses KMSlong. The key is stored in your account and is managed by KMS (KMS charges apply). + """ +elif False: + TableSseSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableSseSpecificationArgs: def __init__(__self__, *, @@ -1999,6 +2766,27 @@ def sse_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sse_type", value) +if not MYPY: + class TableStreamSpecificationArgsDict(TypedDict): + """ + Represents the DynamoDB Streams configuration for a table in DynamoDB. + """ + stream_view_type: pulumi.Input[str] + """ + When an item in the table is modified, ``StreamViewType`` determines what information is written to the stream for this table. Valid values for ``StreamViewType`` are: + + ``KEYS_ONLY`` - Only the key attributes of the modified item are written to the stream. + + ``NEW_IMAGE`` - The entire item, as it appears after it was modified, is written to the stream. + + ``OLD_IMAGE`` - The entire item, as it appeared before it was modified, is written to the stream. + + ``NEW_AND_OLD_IMAGES`` - Both the new and the old item images of the item are written to the stream. + """ + resource_policy: NotRequired[pulumi.Input['TableResourcePolicyArgsDict']] + """ + Creates or updates a resource-based policy document that contains the permissions for DDB resources, such as a table's streams. Resource-based policies let you define access permissions by specifying who has access to each resource, and the actions they are allowed to perform on each resource. + In a CFNshort template, you can provide the policy in JSON or YAML format because CFNshort converts YAML to JSON before submitting it to DDB. For more information about resource-based policies, see [Using resource-based policies for](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html) and [Resource-based policy examples](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html). + """ +elif False: + TableStreamSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableStreamSpecificationArgs: def __init__(__self__, *, @@ -2048,6 +2836,24 @@ def resource_policy(self, value: Optional[pulumi.Input['TableResourcePolicyArgs' pulumi.set(self, "resource_policy", value) +if not MYPY: + class TableTimeToLiveSpecificationArgsDict(TypedDict): + """ + Represents the settings used to enable or disable Time to Live (TTL) for the specified table. + """ + enabled: pulumi.Input[bool] + """ + Indicates whether TTL is to be enabled (true) or disabled (false) on the table. + """ + attribute_name: NotRequired[pulumi.Input[str]] + """ + The name of the TTL attribute used to store the expiration time for items in the table. + + The ``AttributeName`` property is required when enabling the TTL, or when TTL is already enabled. + + To update this property, you must first disable TTL and then enable TTL with the new attribute name. + """ +elif False: + TableTimeToLiveSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TableTimeToLiveSpecificationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/dynamodb/get_global_table.py b/sdk/python/pulumi_aws_native/dynamodb/get_global_table.py index 08e5b26c80..272214defc 100644 --- a/sdk/python/pulumi_aws_native/dynamodb/get_global_table.py +++ b/sdk/python/pulumi_aws_native/dynamodb/get_global_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -218,9 +223,6 @@ def get_global_table(table_name: Optional[str] = None, time_to_live_specification=pulumi.get(__ret__, 'time_to_live_specification'), write_on_demand_throughput_settings=pulumi.get(__ret__, 'write_on_demand_throughput_settings'), write_provisioned_throughput_settings=pulumi.get(__ret__, 'write_provisioned_throughput_settings')) - - -@_utilities.lift_output_func(get_global_table) def get_global_table_output(table_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGlobalTableResult]: """ @@ -231,4 +233,20 @@ def get_global_table_output(table_name: Optional[pulumi.Input[str]] = None, > If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. """ - ... + __args__ = dict() + __args__['tableName'] = table_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:dynamodb:getGlobalTable', __args__, opts=opts, typ=GetGlobalTableResult) + return __ret__.apply(lambda __response__: GetGlobalTableResult( + arn=pulumi.get(__response__, 'arn'), + attribute_definitions=pulumi.get(__response__, 'attribute_definitions'), + billing_mode=pulumi.get(__response__, 'billing_mode'), + global_secondary_indexes=pulumi.get(__response__, 'global_secondary_indexes'), + replicas=pulumi.get(__response__, 'replicas'), + sse_specification=pulumi.get(__response__, 'sse_specification'), + stream_arn=pulumi.get(__response__, 'stream_arn'), + stream_specification=pulumi.get(__response__, 'stream_specification'), + table_id=pulumi.get(__response__, 'table_id'), + time_to_live_specification=pulumi.get(__response__, 'time_to_live_specification'), + write_on_demand_throughput_settings=pulumi.get(__response__, 'write_on_demand_throughput_settings'), + write_provisioned_throughput_settings=pulumi.get(__response__, 'write_provisioned_throughput_settings'))) diff --git a/sdk/python/pulumi_aws_native/dynamodb/get_table.py b/sdk/python/pulumi_aws_native/dynamodb/get_table.py index 55979f401d..9cb59dfcf9 100644 --- a/sdk/python/pulumi_aws_native/dynamodb/get_table.py +++ b/sdk/python/pulumi_aws_native/dynamodb/get_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -316,9 +321,6 @@ def get_table(table_name: Optional[str] = None, table_class=pulumi.get(__ret__, 'table_class'), tags=pulumi.get(__ret__, 'tags'), time_to_live_specification=pulumi.get(__ret__, 'time_to_live_specification')) - - -@_utilities.lift_output_func(get_table) def get_table_output(table_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTableResult]: """ @@ -332,4 +334,27 @@ def get_table_output(table_name: Optional[pulumi.Input[str]] = None, :param str table_name: A name for the table. If you don't specify a name, CFNlong generates a unique physical ID and uses that ID for the table name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html). If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. """ - ... + __args__ = dict() + __args__['tableName'] = table_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:dynamodb:getTable', __args__, opts=opts, typ=GetTableResult) + return __ret__.apply(lambda __response__: GetTableResult( + arn=pulumi.get(__response__, 'arn'), + attribute_definitions=pulumi.get(__response__, 'attribute_definitions'), + billing_mode=pulumi.get(__response__, 'billing_mode'), + contributor_insights_specification=pulumi.get(__response__, 'contributor_insights_specification'), + deletion_protection_enabled=pulumi.get(__response__, 'deletion_protection_enabled'), + global_secondary_indexes=pulumi.get(__response__, 'global_secondary_indexes'), + key_schema=pulumi.get(__response__, 'key_schema'), + kinesis_stream_specification=pulumi.get(__response__, 'kinesis_stream_specification'), + local_secondary_indexes=pulumi.get(__response__, 'local_secondary_indexes'), + on_demand_throughput=pulumi.get(__response__, 'on_demand_throughput'), + point_in_time_recovery_specification=pulumi.get(__response__, 'point_in_time_recovery_specification'), + provisioned_throughput=pulumi.get(__response__, 'provisioned_throughput'), + resource_policy=pulumi.get(__response__, 'resource_policy'), + sse_specification=pulumi.get(__response__, 'sse_specification'), + stream_arn=pulumi.get(__response__, 'stream_arn'), + stream_specification=pulumi.get(__response__, 'stream_specification'), + table_class=pulumi.get(__response__, 'table_class'), + tags=pulumi.get(__response__, 'tags'), + time_to_live_specification=pulumi.get(__response__, 'time_to_live_specification'))) diff --git a/sdk/python/pulumi_aws_native/dynamodb/global_table.py b/sdk/python/pulumi_aws_native/dynamodb/global_table.py index f8e5b6a199..fd32c48eb0 100644 --- a/sdk/python/pulumi_aws_native/dynamodb/global_table.py +++ b/sdk/python/pulumi_aws_native/dynamodb/global_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/dynamodb/outputs.py b/sdk/python/pulumi_aws_native/dynamodb/outputs.py index 5a0418f9a3..fc7964b891 100644 --- a/sdk/python/pulumi_aws_native/dynamodb/outputs.py +++ b/sdk/python/pulumi_aws_native/dynamodb/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/dynamodb/table.py b/sdk/python/pulumi_aws_native/dynamodb/table.py index 03f95a35c7..282f788830 100644 --- a/sdk/python/pulumi_aws_native/dynamodb/table.py +++ b/sdk/python/pulumi_aws_native/dynamodb/table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/_inputs.py b/sdk/python/pulumi_aws_native/ec2/_inputs.py index 0c78f8305a..622d928e17 100644 --- a/sdk/python/pulumi_aws_native/ec2/_inputs.py +++ b/sdk/python/pulumi_aws_native/ec2/_inputs.py @@ -4,181 +4,389 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CapacityReservationFleetInstanceTypeSpecificationArgs', + 'CapacityReservationFleetInstanceTypeSpecificationArgsDict', 'CapacityReservationFleetTagSpecificationArgs', + 'CapacityReservationFleetTagSpecificationArgsDict', 'CapacityReservationFleetTagArgs', + 'CapacityReservationFleetTagArgsDict', 'CapacityReservationTagSpecificationArgs', + 'CapacityReservationTagSpecificationArgsDict', 'CapacityReservationTagArgs', + 'CapacityReservationTagArgsDict', 'CpuOptionsPropertiesArgs', + 'CpuOptionsPropertiesArgsDict', 'CreditSpecificationPropertiesArgs', + 'CreditSpecificationPropertiesArgsDict', 'DestinationOptionsPropertiesArgs', + 'DestinationOptionsPropertiesArgsDict', 'Ec2FleetAcceleratorCountRequestArgs', + 'Ec2FleetAcceleratorCountRequestArgsDict', 'Ec2FleetAcceleratorTotalMemoryMiBRequestArgs', + 'Ec2FleetAcceleratorTotalMemoryMiBRequestArgsDict', 'Ec2FleetBaselineEbsBandwidthMbpsRequestArgs', + 'Ec2FleetBaselineEbsBandwidthMbpsRequestArgsDict', 'Ec2FleetCapacityRebalanceArgs', + 'Ec2FleetCapacityRebalanceArgsDict', 'Ec2FleetCapacityReservationOptionsRequestArgs', + 'Ec2FleetCapacityReservationOptionsRequestArgsDict', 'Ec2FleetFleetLaunchTemplateConfigRequestArgs', + 'Ec2FleetFleetLaunchTemplateConfigRequestArgsDict', 'Ec2FleetFleetLaunchTemplateOverridesRequestArgs', + 'Ec2FleetFleetLaunchTemplateOverridesRequestArgsDict', 'Ec2FleetFleetLaunchTemplateSpecificationRequestArgs', + 'Ec2FleetFleetLaunchTemplateSpecificationRequestArgsDict', 'Ec2FleetInstanceRequirementsRequestArgs', + 'Ec2FleetInstanceRequirementsRequestArgsDict', 'Ec2FleetMaintenanceStrategiesArgs', + 'Ec2FleetMaintenanceStrategiesArgsDict', 'Ec2FleetMemoryGiBPerVCpuRequestArgs', + 'Ec2FleetMemoryGiBPerVCpuRequestArgsDict', 'Ec2FleetMemoryMiBRequestArgs', + 'Ec2FleetMemoryMiBRequestArgsDict', 'Ec2FleetNetworkBandwidthGbpsRequestArgs', + 'Ec2FleetNetworkBandwidthGbpsRequestArgsDict', 'Ec2FleetNetworkInterfaceCountRequestArgs', + 'Ec2FleetNetworkInterfaceCountRequestArgsDict', 'Ec2FleetOnDemandOptionsRequestArgs', + 'Ec2FleetOnDemandOptionsRequestArgsDict', 'Ec2FleetPlacementArgs', + 'Ec2FleetPlacementArgsDict', 'Ec2FleetSpotOptionsRequestArgs', + 'Ec2FleetSpotOptionsRequestArgsDict', 'Ec2FleetTagSpecificationArgs', + 'Ec2FleetTagSpecificationArgsDict', 'Ec2FleetTagArgs', + 'Ec2FleetTagArgsDict', 'Ec2FleetTargetCapacitySpecificationRequestArgs', + 'Ec2FleetTargetCapacitySpecificationRequestArgsDict', 'Ec2FleetTotalLocalStorageGbRequestArgs', + 'Ec2FleetTotalLocalStorageGbRequestArgsDict', 'Ec2FleetVCpuCountRangeRequestArgs', + 'Ec2FleetVCpuCountRangeRequestArgsDict', 'EnclaveOptionsPropertiesArgs', + 'EnclaveOptionsPropertiesArgsDict', 'HibernationOptionsPropertiesArgs', + 'HibernationOptionsPropertiesArgsDict', 'InstanceAssociationParameterArgs', + 'InstanceAssociationParameterArgsDict', 'InstanceBlockDeviceMappingArgs', + 'InstanceBlockDeviceMappingArgsDict', 'InstanceEbsArgs', + 'InstanceEbsArgsDict', 'InstanceElasticGpuSpecificationArgs', + 'InstanceElasticGpuSpecificationArgsDict', 'InstanceElasticInferenceAcceleratorArgs', + 'InstanceElasticInferenceAcceleratorArgsDict', 'InstanceIpv6AddressArgs', + 'InstanceIpv6AddressArgsDict', 'InstanceLaunchTemplateSpecificationArgs', + 'InstanceLaunchTemplateSpecificationArgsDict', 'InstanceLicenseSpecificationArgs', + 'InstanceLicenseSpecificationArgsDict', 'InstanceNetworkInterfaceArgs', + 'InstanceNetworkInterfaceArgsDict', 'InstancePrivateDnsNameOptionsArgs', + 'InstancePrivateDnsNameOptionsArgsDict', 'InstancePrivateIpAddressSpecificationArgs', + 'InstancePrivateIpAddressSpecificationArgsDict', 'InstanceSsmAssociationArgs', + 'InstanceSsmAssociationArgsDict', 'InstanceVolumeArgs', + 'InstanceVolumeArgsDict', 'IpamOperatingRegionArgs', + 'IpamOperatingRegionArgsDict', 'IpamPoolProvisionedCidrArgs', + 'IpamPoolProvisionedCidrArgsDict', 'IpamPoolSourceResourceArgs', + 'IpamPoolSourceResourceArgsDict', 'IpamPoolTagArgs', + 'IpamPoolTagArgsDict', 'IpamResourceDiscoveryIpamOperatingRegionArgs', + 'IpamResourceDiscoveryIpamOperatingRegionArgsDict', 'LaunchTemplateAcceleratorCountArgs', + 'LaunchTemplateAcceleratorCountArgsDict', 'LaunchTemplateAcceleratorTotalMemoryMiBArgs', + 'LaunchTemplateAcceleratorTotalMemoryMiBArgsDict', 'LaunchTemplateBaselineEbsBandwidthMbpsArgs', + 'LaunchTemplateBaselineEbsBandwidthMbpsArgsDict', 'LaunchTemplateBlockDeviceMappingArgs', + 'LaunchTemplateBlockDeviceMappingArgsDict', 'LaunchTemplateCapacityReservationSpecificationArgs', + 'LaunchTemplateCapacityReservationSpecificationArgsDict', 'LaunchTemplateCapacityReservationTargetArgs', + 'LaunchTemplateCapacityReservationTargetArgsDict', 'LaunchTemplateConnectionTrackingSpecificationArgs', + 'LaunchTemplateConnectionTrackingSpecificationArgsDict', 'LaunchTemplateCpuOptionsArgs', + 'LaunchTemplateCpuOptionsArgsDict', 'LaunchTemplateCreditSpecificationArgs', + 'LaunchTemplateCreditSpecificationArgsDict', 'LaunchTemplateDataArgs', + 'LaunchTemplateDataArgsDict', 'LaunchTemplateEbsArgs', + 'LaunchTemplateEbsArgsDict', 'LaunchTemplateElasticGpuSpecificationArgs', + 'LaunchTemplateElasticGpuSpecificationArgsDict', 'LaunchTemplateElasticInferenceAcceleratorArgs', + 'LaunchTemplateElasticInferenceAcceleratorArgsDict', 'LaunchTemplateEnaSrdSpecificationArgs', + 'LaunchTemplateEnaSrdSpecificationArgsDict', 'LaunchTemplateEnaSrdUdpSpecificationArgs', + 'LaunchTemplateEnaSrdUdpSpecificationArgsDict', 'LaunchTemplateEnclaveOptionsArgs', + 'LaunchTemplateEnclaveOptionsArgsDict', 'LaunchTemplateHibernationOptionsArgs', + 'LaunchTemplateHibernationOptionsArgsDict', 'LaunchTemplateIamInstanceProfileArgs', + 'LaunchTemplateIamInstanceProfileArgsDict', 'LaunchTemplateInstanceMarketOptionsArgs', + 'LaunchTemplateInstanceMarketOptionsArgsDict', 'LaunchTemplateInstanceRequirementsArgs', + 'LaunchTemplateInstanceRequirementsArgsDict', 'LaunchTemplateIpv4PrefixSpecificationArgs', + 'LaunchTemplateIpv4PrefixSpecificationArgsDict', 'LaunchTemplateIpv6AddArgs', + 'LaunchTemplateIpv6AddArgsDict', 'LaunchTemplateIpv6PrefixSpecificationArgs', + 'LaunchTemplateIpv6PrefixSpecificationArgsDict', 'LaunchTemplateLicenseSpecificationArgs', + 'LaunchTemplateLicenseSpecificationArgsDict', 'LaunchTemplateMaintenanceOptionsArgs', + 'LaunchTemplateMaintenanceOptionsArgsDict', 'LaunchTemplateMemoryGiBPerVCpuArgs', + 'LaunchTemplateMemoryGiBPerVCpuArgsDict', 'LaunchTemplateMemoryMiBArgs', + 'LaunchTemplateMemoryMiBArgsDict', 'LaunchTemplateMetadataOptionsArgs', + 'LaunchTemplateMetadataOptionsArgsDict', 'LaunchTemplateMonitoringArgs', + 'LaunchTemplateMonitoringArgsDict', 'LaunchTemplateNetworkBandwidthGbpsArgs', + 'LaunchTemplateNetworkBandwidthGbpsArgsDict', 'LaunchTemplateNetworkInterfaceCountArgs', + 'LaunchTemplateNetworkInterfaceCountArgsDict', 'LaunchTemplateNetworkInterfaceArgs', + 'LaunchTemplateNetworkInterfaceArgsDict', 'LaunchTemplatePlacementArgs', + 'LaunchTemplatePlacementArgsDict', 'LaunchTemplatePrivateDnsNameOptionsArgs', + 'LaunchTemplatePrivateDnsNameOptionsArgsDict', 'LaunchTemplatePrivateIpAddArgs', + 'LaunchTemplatePrivateIpAddArgsDict', 'LaunchTemplateSpotOptionsArgs', + 'LaunchTemplateSpotOptionsArgsDict', 'LaunchTemplateTagSpecificationArgs', + 'LaunchTemplateTagSpecificationArgsDict', 'LaunchTemplateTagArgs', + 'LaunchTemplateTagArgsDict', 'LaunchTemplateTotalLocalStorageGbArgs', + 'LaunchTemplateTotalLocalStorageGbArgsDict', 'LaunchTemplateVCpuCountArgs', + 'LaunchTemplateVCpuCountArgsDict', 'NetworkInsightsAccessScopeAccessScopePathRequestArgs', + 'NetworkInsightsAccessScopeAccessScopePathRequestArgsDict', 'NetworkInsightsAccessScopePacketHeaderStatementRequestArgs', + 'NetworkInsightsAccessScopePacketHeaderStatementRequestArgsDict', 'NetworkInsightsAccessScopePathStatementRequestArgs', + 'NetworkInsightsAccessScopePathStatementRequestArgsDict', 'NetworkInsightsAccessScopeResourceStatementRequestArgs', + 'NetworkInsightsAccessScopeResourceStatementRequestArgsDict', 'NetworkInsightsAccessScopeThroughResourcesStatementRequestArgs', + 'NetworkInsightsAccessScopeThroughResourcesStatementRequestArgsDict', 'NetworkInsightsPathFilterPortRangeArgs', + 'NetworkInsightsPathFilterPortRangeArgsDict', 'NetworkInsightsPathPathFilterArgs', + 'NetworkInsightsPathPathFilterArgsDict', 'NetworkInterfaceAttachmentEnaSrdSpecificationEnaSrdUdpSpecificationPropertiesArgs', + 'NetworkInterfaceAttachmentEnaSrdSpecificationEnaSrdUdpSpecificationPropertiesArgsDict', 'NetworkInterfaceAttachmentEnaSrdSpecificationArgs', + 'NetworkInterfaceAttachmentEnaSrdSpecificationArgsDict', 'NetworkInterfaceConnectionTrackingSpecificationArgs', + 'NetworkInterfaceConnectionTrackingSpecificationArgsDict', 'NetworkInterfaceInstanceIpv6AddressArgs', + 'NetworkInterfaceInstanceIpv6AddressArgsDict', 'NetworkInterfaceIpv4PrefixSpecificationArgs', + 'NetworkInterfaceIpv4PrefixSpecificationArgsDict', 'NetworkInterfaceIpv6PrefixSpecificationArgs', + 'NetworkInterfaceIpv6PrefixSpecificationArgsDict', 'NetworkInterfacePrivateIpAddressSpecificationArgs', + 'NetworkInterfacePrivateIpAddressSpecificationArgsDict', 'OptionsPropertiesArgs', + 'OptionsPropertiesArgsDict', 'PrefixListEntryArgs', + 'PrefixListEntryArgsDict', 'PrivateDnsNameOptionsOnLaunchPropertiesArgs', + 'PrivateDnsNameOptionsOnLaunchPropertiesArgsDict', 'SecurityGroupEgressArgs', + 'SecurityGroupEgressArgsDict', 'SecurityGroupIngressArgs', + 'SecurityGroupIngressArgsDict', 'SpotFleetAcceleratorCountRequestArgs', + 'SpotFleetAcceleratorCountRequestArgsDict', 'SpotFleetAcceleratorTotalMemoryMiBRequestArgs', + 'SpotFleetAcceleratorTotalMemoryMiBRequestArgsDict', 'SpotFleetBaselineEbsBandwidthMbpsRequestArgs', + 'SpotFleetBaselineEbsBandwidthMbpsRequestArgsDict', 'SpotFleetBlockDeviceMappingArgs', + 'SpotFleetBlockDeviceMappingArgsDict', 'SpotFleetClassicLoadBalancersConfigArgs', + 'SpotFleetClassicLoadBalancersConfigArgsDict', 'SpotFleetClassicLoadBalancerArgs', + 'SpotFleetClassicLoadBalancerArgsDict', 'SpotFleetEbsBlockDeviceArgs', + 'SpotFleetEbsBlockDeviceArgsDict', 'SpotFleetFleetLaunchTemplateSpecificationArgs', + 'SpotFleetFleetLaunchTemplateSpecificationArgsDict', 'SpotFleetGroupIdentifierArgs', + 'SpotFleetGroupIdentifierArgsDict', 'SpotFleetIamInstanceProfileSpecificationArgs', + 'SpotFleetIamInstanceProfileSpecificationArgsDict', 'SpotFleetInstanceIpv6AddressArgs', + 'SpotFleetInstanceIpv6AddressArgsDict', 'SpotFleetInstanceNetworkInterfaceSpecificationArgs', + 'SpotFleetInstanceNetworkInterfaceSpecificationArgsDict', 'SpotFleetInstanceRequirementsRequestArgs', + 'SpotFleetInstanceRequirementsRequestArgsDict', 'SpotFleetLaunchSpecificationArgs', + 'SpotFleetLaunchSpecificationArgsDict', 'SpotFleetLaunchTemplateConfigArgs', + 'SpotFleetLaunchTemplateConfigArgsDict', 'SpotFleetLaunchTemplateOverridesArgs', + 'SpotFleetLaunchTemplateOverridesArgsDict', 'SpotFleetLoadBalancersConfigArgs', + 'SpotFleetLoadBalancersConfigArgsDict', 'SpotFleetMemoryGiBPerVCpuRequestArgs', + 'SpotFleetMemoryGiBPerVCpuRequestArgsDict', 'SpotFleetMemoryMiBRequestArgs', + 'SpotFleetMemoryMiBRequestArgsDict', 'SpotFleetMonitoringArgs', + 'SpotFleetMonitoringArgsDict', 'SpotFleetNetworkBandwidthGbpsRequestArgs', + 'SpotFleetNetworkBandwidthGbpsRequestArgsDict', 'SpotFleetNetworkInterfaceCountRequestArgs', + 'SpotFleetNetworkInterfaceCountRequestArgsDict', 'SpotFleetPrivateIpAddressSpecificationArgs', + 'SpotFleetPrivateIpAddressSpecificationArgsDict', 'SpotFleetRequestConfigDataArgs', + 'SpotFleetRequestConfigDataArgsDict', 'SpotFleetSpotCapacityRebalanceArgs', + 'SpotFleetSpotCapacityRebalanceArgsDict', 'SpotFleetSpotMaintenanceStrategiesArgs', + 'SpotFleetSpotMaintenanceStrategiesArgsDict', 'SpotFleetSpotPlacementArgs', + 'SpotFleetSpotPlacementArgsDict', 'SpotFleetTagSpecificationArgs', + 'SpotFleetTagSpecificationArgsDict', 'SpotFleetTagArgs', + 'SpotFleetTagArgsDict', 'SpotFleetTargetGroupsConfigArgs', + 'SpotFleetTargetGroupsConfigArgsDict', 'SpotFleetTargetGroupArgs', + 'SpotFleetTargetGroupArgsDict', 'SpotFleetTotalLocalStorageGbRequestArgs', + 'SpotFleetTotalLocalStorageGbRequestArgsDict', 'SpotFleetVCpuCountRangeRequestArgs', + 'SpotFleetVCpuCountRangeRequestArgsDict', 'SseSpecificationPropertiesArgs', + 'SseSpecificationPropertiesArgsDict', 'TagSpecificationArgs', + 'TagSpecificationArgsDict', 'TransitGatewayConnectOptionsArgs', + 'TransitGatewayConnectOptionsArgsDict', 'VerifiedAccessEndpointLoadBalancerOptionsArgs', + 'VerifiedAccessEndpointLoadBalancerOptionsArgsDict', 'VerifiedAccessEndpointNetworkInterfaceOptionsArgs', + 'VerifiedAccessEndpointNetworkInterfaceOptionsArgsDict', 'VerifiedAccessEndpointSseSpecificationArgs', + 'VerifiedAccessEndpointSseSpecificationArgsDict', 'VerifiedAccessGroupSseSpecificationArgs', + 'VerifiedAccessGroupSseSpecificationArgsDict', 'VerifiedAccessInstanceVerifiedAccessLogsCloudWatchLogsPropertiesArgs', + 'VerifiedAccessInstanceVerifiedAccessLogsCloudWatchLogsPropertiesArgsDict', 'VerifiedAccessInstanceVerifiedAccessLogsKinesisDataFirehosePropertiesArgs', + 'VerifiedAccessInstanceVerifiedAccessLogsKinesisDataFirehosePropertiesArgsDict', 'VerifiedAccessInstanceVerifiedAccessLogsS3PropertiesArgs', + 'VerifiedAccessInstanceVerifiedAccessLogsS3PropertiesArgsDict', 'VerifiedAccessInstanceVerifiedAccessLogsArgs', + 'VerifiedAccessInstanceVerifiedAccessLogsArgsDict', 'VerifiedAccessInstanceVerifiedAccessTrustProviderArgs', + 'VerifiedAccessInstanceVerifiedAccessTrustProviderArgsDict', 'VerifiedAccessTrustProviderDeviceOptionsArgs', + 'VerifiedAccessTrustProviderDeviceOptionsArgsDict', 'VerifiedAccessTrustProviderOidcOptionsArgs', + 'VerifiedAccessTrustProviderOidcOptionsArgsDict', 'VpnConnectionCloudwatchLogOptionsSpecificationArgs', + 'VpnConnectionCloudwatchLogOptionsSpecificationArgsDict', 'VpnConnectionIkeVersionsRequestListValueArgs', + 'VpnConnectionIkeVersionsRequestListValueArgsDict', 'VpnConnectionPhase1EncryptionAlgorithmsRequestListValueArgs', + 'VpnConnectionPhase1EncryptionAlgorithmsRequestListValueArgsDict', 'VpnConnectionPhase1IntegrityAlgorithmsRequestListValueArgs', + 'VpnConnectionPhase1IntegrityAlgorithmsRequestListValueArgsDict', 'VpnConnectionPhase1dhGroupNumbersRequestListValueArgs', + 'VpnConnectionPhase1dhGroupNumbersRequestListValueArgsDict', 'VpnConnectionPhase2EncryptionAlgorithmsRequestListValueArgs', + 'VpnConnectionPhase2EncryptionAlgorithmsRequestListValueArgsDict', 'VpnConnectionPhase2IntegrityAlgorithmsRequestListValueArgs', + 'VpnConnectionPhase2IntegrityAlgorithmsRequestListValueArgsDict', 'VpnConnectionPhase2dhGroupNumbersRequestListValueArgs', + 'VpnConnectionPhase2dhGroupNumbersRequestListValueArgsDict', 'VpnConnectionVpnTunnelLogOptionsSpecificationArgs', + 'VpnConnectionVpnTunnelLogOptionsSpecificationArgsDict', 'VpnConnectionVpnTunnelOptionsSpecificationArgs', + 'VpnConnectionVpnTunnelOptionsSpecificationArgsDict', ] +MYPY = False + +if not MYPY: + class CapacityReservationFleetInstanceTypeSpecificationArgsDict(TypedDict): + availability_zone: NotRequired[pulumi.Input[str]] + """ + The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone. + """ + availability_zone_id: NotRequired[pulumi.Input[str]] + """ + The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone. + """ + ebs_optimized: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types. + """ + instance_platform: NotRequired[pulumi.Input[str]] + """ + The type of operating system for which the Capacity Reservation Fleet reserves capacity. + """ + instance_type: NotRequired[pulumi.Input[str]] + """ + The instance type for which the Capacity Reservation Fleet reserves capacity. + """ + priority: NotRequired[pulumi.Input[int]] + """ + The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see [Instance type priority](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority) in the *Amazon EC2 User Guide* . + """ + weight: NotRequired[pulumi.Input[float]] + """ + The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see [Total target capacity](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity) in the Amazon EC2 User Guide. + + Valid Range: Minimum value of `0.001` . Maximum value of `99.999` . + """ +elif False: + CapacityReservationFleetInstanceTypeSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapacityReservationFleetInstanceTypeSpecificationArgs: def __init__(__self__, *, @@ -302,6 +510,21 @@ def weight(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "weight", value) +if not MYPY: + class CapacityReservationFleetTagSpecificationArgsDict(TypedDict): + resource_type: NotRequired[pulumi.Input[str]] + """ + The type of resource to tag on creation. Specify `capacity-reservation-fleet` . + + To tag a resource after it has been created, see [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html) . + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['CapacityReservationFleetTagArgsDict']]]] + """ + The tags to apply to the resource. + """ +elif False: + CapacityReservationFleetTagSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapacityReservationFleetTagSpecificationArgs: def __init__(__self__, *, @@ -345,6 +568,19 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CapacityReser pulumi.set(self, "tags", value) +if not MYPY: + class CapacityReservationFleetTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The tag key. + """ + value: pulumi.Input[str] + """ + The tag value. + """ +elif False: + CapacityReservationFleetTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapacityReservationFleetTagArgs: def __init__(__self__, *, @@ -382,6 +618,19 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class CapacityReservationTagSpecificationArgsDict(TypedDict): + resource_type: NotRequired[pulumi.Input[str]] + """ + The type of resource to tag. Specify `capacity-reservation` . + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['CapacityReservationTagArgsDict']]]] + """ + The tags to apply to the resource. + """ +elif False: + CapacityReservationTagSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapacityReservationTagSpecificationArgs: def __init__(__self__, *, @@ -421,6 +670,19 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CapacityReser pulumi.set(self, "tags", value) +if not MYPY: + class CapacityReservationTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The tag key. + """ + value: pulumi.Input[str] + """ + The tag value. + """ +elif False: + CapacityReservationTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapacityReservationTagArgs: def __init__(__self__, *, @@ -458,6 +720,22 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class CpuOptionsPropertiesArgsDict(TypedDict): + """ + The CPU options for the instance. + """ + core_count: NotRequired[pulumi.Input[int]] + """ + The number of CPU cores for the instance. + """ + threads_per_core: NotRequired[pulumi.Input[int]] + """ + The number of threads per CPU core. + """ +elif False: + CpuOptionsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CpuOptionsPropertiesArgs: def __init__(__self__, *, @@ -498,6 +776,22 @@ def threads_per_core(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "threads_per_core", value) +if not MYPY: + class CreditSpecificationPropertiesArgsDict(TypedDict): + """ + The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited. + """ + cpu_credits: NotRequired[pulumi.Input[str]] + """ + The credit option for CPU usage of the instance. + + Valid values: `standard` | `unlimited` + + T3 instances with `host` tenancy do not support the `unlimited` CPU credit option. + """ +elif False: + CreditSpecificationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CreditSpecificationPropertiesArgs: def __init__(__self__, *, @@ -530,6 +824,26 @@ def cpu_credits(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cpu_credits", value) +if not MYPY: + class DestinationOptionsPropertiesArgsDict(TypedDict): + """ + The destination options. + """ + file_format: pulumi.Input['FlowLogDestinationOptionsPropertiesFileFormat'] + """ + The format for the flow log. The default is `plain-text` . + """ + hive_compatible_partitions: pulumi.Input[bool] + """ + Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. The default is `false` . + """ + per_hour_partition: pulumi.Input[bool] + """ + Indicates whether to partition the flow log per hour. This reduces the cost and response time for queries. The default is `false` . + """ +elif False: + DestinationOptionsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DestinationOptionsPropertiesArgs: def __init__(__self__, *, @@ -583,6 +897,19 @@ def per_hour_partition(self, value: pulumi.Input[bool]): pulumi.set(self, "per_hour_partition", value) +if not MYPY: + class Ec2FleetAcceleratorCountRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set `Max` to `0` . + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum number of accelerators. To specify no minimum limit, omit this parameter. + """ +elif False: + Ec2FleetAcceleratorCountRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetAcceleratorCountRequestArgs: def __init__(__self__, *, @@ -622,6 +949,19 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class Ec2FleetAcceleratorTotalMemoryMiBRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this parameter. + """ +elif False: + Ec2FleetAcceleratorTotalMemoryMiBRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetAcceleratorTotalMemoryMiBRequestArgs: def __init__(__self__, *, @@ -661,6 +1001,19 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class Ec2FleetBaselineEbsBandwidthMbpsRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter. + """ +elif False: + Ec2FleetBaselineEbsBandwidthMbpsRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetBaselineEbsBandwidthMbpsRequestArgs: def __init__(__self__, *, @@ -700,6 +1053,29 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class Ec2FleetCapacityRebalanceArgsDict(TypedDict): + replacement_strategy: NotRequired[pulumi.Input['Ec2FleetCapacityRebalanceReplacementStrategy']] + """ + The replacement strategy to use. Only available for fleets of type `maintain` . + + `launch` - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running. + + `launch-before-terminate` - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in `TerminationDelay` ), terminates the instances that received a rebalance notification. + """ + termination_delay: NotRequired[pulumi.Input[int]] + """ + The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance. + + Required when `ReplacementStrategy` is set to `launch-before-terminate` . + + Not valid when `ReplacementStrategy` is set to `launch` . + + Valid values: Minimum value of `120` seconds. Maximum value of `7200` seconds. + """ +elif False: + Ec2FleetCapacityRebalanceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetCapacityRebalanceArgs: def __init__(__self__, *, @@ -759,6 +1135,19 @@ def termination_delay(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "termination_delay", value) +if not MYPY: + class Ec2FleetCapacityReservationOptionsRequestArgsDict(TypedDict): + usage_strategy: NotRequired[pulumi.Input['Ec2FleetCapacityReservationOptionsRequestUsageStrategy']] + """ + Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity. + + If you specify `use-capacity-reservations-first` , the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy ( `lowest-price` or `prioritized` ) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy ( `lowest-price` or `prioritized` ). + + If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy. + """ +elif False: + Ec2FleetCapacityReservationOptionsRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetCapacityReservationOptionsRequestArgs: def __init__(__self__, *, @@ -790,6 +1179,21 @@ def usage_strategy(self, value: Optional[pulumi.Input['Ec2FleetCapacityReservati pulumi.set(self, "usage_strategy", value) +if not MYPY: + class Ec2FleetFleetLaunchTemplateConfigRequestArgsDict(TypedDict): + launch_template_specification: NotRequired[pulumi.Input['Ec2FleetFleetLaunchTemplateSpecificationRequestArgsDict']] + """ + The launch template to use. You must specify either the launch template ID or launch template name in the request. + """ + overrides: NotRequired[pulumi.Input[Sequence[pulumi.Input['Ec2FleetFleetLaunchTemplateOverridesRequestArgsDict']]]] + """ + Any parameters that you specify override the same parameters in the launch template. + + For fleets of type `request` and `maintain` , a maximum of 300 items is allowed across all launch templates. + """ +elif False: + Ec2FleetFleetLaunchTemplateConfigRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetFleetLaunchTemplateConfigRequestArgs: def __init__(__self__, *, @@ -833,6 +1237,61 @@ def overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2Fleet pulumi.set(self, "overrides", value) +if not MYPY: + class Ec2FleetFleetLaunchTemplateOverridesRequestArgsDict(TypedDict): + availability_zone: NotRequired[pulumi.Input[str]] + """ + The Availability Zone in which to launch the instances. + """ + instance_requirements: NotRequired[pulumi.Input['Ec2FleetInstanceRequirementsRequestArgsDict']] + """ + The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes. + + > If you specify `InstanceRequirements` , you can't specify `InstanceType` . + """ + instance_type: NotRequired[pulumi.Input[str]] + """ + The instance type. + + `mac1.metal` is not supported as a launch template override. + + > If you specify `InstanceType` , you can't specify `InstanceRequirements` . + """ + max_price: NotRequired[pulumi.Input[str]] + """ + The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. + + > If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter. + """ + placement: NotRequired[pulumi.Input['Ec2FleetPlacementArgsDict']] + """ + The location where the instance launched, if applicable. + """ + priority: NotRequired[pulumi.Input[float]] + """ + The priority for the launch template override. The highest priority is launched first. + + If the On-Demand `AllocationStrategy` is set to `prioritized` , EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. + + If the Spot `AllocationStrategy` is set to `capacity-optimized-prioritized` , EC2 Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first. + + Valid values are whole numbers starting at `0` . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides. + """ + subnet_id: NotRequired[pulumi.Input[str]] + """ + The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, `subnet-1234abcdeexample1, subnet-0987cdef6example2` ). A request of type `instant` can have only one subnet ID. + """ + weighted_capacity: NotRequired[pulumi.Input[float]] + """ + The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O. + + If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1. + + > When specifying weights, the price used in the `lowest-price` and `price-capacity-optimized` allocation strategies is per *unit* hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested `TargetCapacity` , resulting in only 1 instance being launched, the price used is per *instance* hour. + """ +elif False: + Ec2FleetFleetLaunchTemplateOverridesRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetFleetLaunchTemplateOverridesRequestArgs: def __init__(__self__, *, @@ -1004,6 +1463,31 @@ def weighted_capacity(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "weighted_capacity", value) +if not MYPY: + class Ec2FleetFleetLaunchTemplateSpecificationRequestArgsDict(TypedDict): + version: pulumi.Input[str] + """ + The launch template version number, `$Latest` , or `$Default` . You must specify a value, otherwise the request fails. + + If the value is `$Latest` , Amazon EC2 uses the latest version of the launch template. + + If the value is `$Default` , Amazon EC2 uses the default version of the launch template. + """ + launch_template_id: NotRequired[pulumi.Input[str]] + """ + The ID of the launch template. + + You must specify the `LaunchTemplateId` or the `LaunchTemplateName` , but not both. + """ + launch_template_name: NotRequired[pulumi.Input[str]] + """ + The name of the launch template. + + You must specify the `LaunchTemplateName` or the `LaunchTemplateId` , but not both. + """ +elif False: + Ec2FleetFleetLaunchTemplateSpecificationRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetFleetLaunchTemplateSpecificationRequestArgs: def __init__(__self__, *, @@ -1074,58 +1558,286 @@ def launch_template_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "launch_template_name", value) -@pulumi.input_type -class Ec2FleetInstanceRequirementsRequestArgs: - def __init__(__self__, *, - accelerator_count: Optional[pulumi.Input['Ec2FleetAcceleratorCountRequestArgs']] = None, - accelerator_manufacturers: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem']]]] = None, - accelerator_names: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem']]]] = None, - accelerator_total_memory_mi_b: Optional[pulumi.Input['Ec2FleetAcceleratorTotalMemoryMiBRequestArgs']] = None, - accelerator_types: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorTypesItem']]]] = None, - allowed_instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - bare_metal: Optional[pulumi.Input['Ec2FleetInstanceRequirementsRequestBareMetal']] = None, - baseline_ebs_bandwidth_mbps: Optional[pulumi.Input['Ec2FleetBaselineEbsBandwidthMbpsRequestArgs']] = None, - burstable_performance: Optional[pulumi.Input['Ec2FleetInstanceRequirementsRequestBurstablePerformance']] = None, - cpu_manufacturers: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestCpuManufacturersItem']]]] = None, - excluded_instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - instance_generations: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestInstanceGenerationsItem']]]] = None, - local_storage: Optional[pulumi.Input['Ec2FleetInstanceRequirementsRequestLocalStorage']] = None, - local_storage_types: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestLocalStorageTypesItem']]]] = None, - max_spot_price_as_percentage_of_optimal_on_demand_price: Optional[pulumi.Input[int]] = None, - memory_gi_b_per_v_cpu: Optional[pulumi.Input['Ec2FleetMemoryGiBPerVCpuRequestArgs']] = None, - memory_mi_b: Optional[pulumi.Input['Ec2FleetMemoryMiBRequestArgs']] = None, - network_bandwidth_gbps: Optional[pulumi.Input['Ec2FleetNetworkBandwidthGbpsRequestArgs']] = None, - network_interface_count: Optional[pulumi.Input['Ec2FleetNetworkInterfaceCountRequestArgs']] = None, - on_demand_max_price_percentage_over_lowest_price: Optional[pulumi.Input[int]] = None, - require_hibernate_support: Optional[pulumi.Input[bool]] = None, - spot_max_price_percentage_over_lowest_price: Optional[pulumi.Input[int]] = None, - total_local_storage_gb: Optional[pulumi.Input['Ec2FleetTotalLocalStorageGbRequestArgs']] = None, - v_cpu_count: Optional[pulumi.Input['Ec2FleetVCpuCountRangeRequestArgs']] = None): +if not MYPY: + class Ec2FleetInstanceRequirementsRequestArgsDict(TypedDict): + accelerator_count: NotRequired[pulumi.Input['Ec2FleetAcceleratorCountRequestArgsDict']] """ - :param pulumi.Input['Ec2FleetAcceleratorCountRequestArgs'] accelerator_count: The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance. - - To exclude accelerator-enabled instance types, set `Max` to `0` . - - Default: No minimum or maximum limits - :param pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem']]] accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. - - - For instance types with AWS devices, specify `amazon-web-services` . - - For instance types with AMD devices, specify `amd` . - - For instance types with Habana devices, specify `habana` . - - For instance types with NVIDIA devices, specify `nvidia` . - - For instance types with Xilinx devices, specify `xilinx` . - - Default: Any manufacturer - :param pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem']]] accelerator_names: The accelerators that must be on the instance type. - - - For instance types with NVIDIA A10G GPUs, specify `a10g` . - - For instance types with NVIDIA A100 GPUs, specify `a100` . - - For instance types with NVIDIA H100 GPUs, specify `h100` . - - For instance types with AWS Inferentia chips, specify `inferentia` . - - For instance types with NVIDIA GRID K520 GPUs, specify `k520` . - - For instance types with NVIDIA K80 GPUs, specify `k80` . - - For instance types with NVIDIA M60 GPUs, specify `m60` . - - For instance types with AMD Radeon Pro V520 GPUs, specify `radeon-pro-v520` . + The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance. + + To exclude accelerator-enabled instance types, set `Max` to `0` . + + Default: No minimum or maximum limits + """ + accelerator_manufacturers: NotRequired[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem']]]] + """ + Indicates whether instance types must have accelerators by specific manufacturers. + + - For instance types with AWS devices, specify `amazon-web-services` . + - For instance types with AMD devices, specify `amd` . + - For instance types with Habana devices, specify `habana` . + - For instance types with NVIDIA devices, specify `nvidia` . + - For instance types with Xilinx devices, specify `xilinx` . + + Default: Any manufacturer + """ + accelerator_names: NotRequired[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem']]]] + """ + The accelerators that must be on the instance type. + + - For instance types with NVIDIA A10G GPUs, specify `a10g` . + - For instance types with NVIDIA A100 GPUs, specify `a100` . + - For instance types with NVIDIA H100 GPUs, specify `h100` . + - For instance types with AWS Inferentia chips, specify `inferentia` . + - For instance types with NVIDIA GRID K520 GPUs, specify `k520` . + - For instance types with NVIDIA K80 GPUs, specify `k80` . + - For instance types with NVIDIA M60 GPUs, specify `m60` . + - For instance types with AMD Radeon Pro V520 GPUs, specify `radeon-pro-v520` . + - For instance types with NVIDIA T4 GPUs, specify `t4` . + - For instance types with NVIDIA T4G GPUs, specify `t4g` . + - For instance types with Xilinx VU9P FPGAs, specify `vu9p` . + - For instance types with NVIDIA V100 GPUs, specify `v100` . + + Default: Any accelerator + """ + accelerator_total_memory_mi_b: NotRequired[pulumi.Input['Ec2FleetAcceleratorTotalMemoryMiBRequestArgsDict']] + """ + The minimum and maximum amount of total accelerator memory, in MiB. + + Default: No minimum or maximum limits + """ + accelerator_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorTypesItem']]]] + """ + The accelerator types that must be on the instance type. + + - To include instance types with GPU hardware, specify `gpu` . + - To include instance types with FPGA hardware, specify `fpga` . + + Default: Any accelerator type + """ + allowed_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. + + You can use strings with one or more wild cards, represented by an asterisk ( `*` ), to allow an instance type, size, or generation. The following are examples: `m5.8xlarge` , `c5*.*` , `m5a.*` , `r*` , `*3*` . + + For example, if you specify `c5*` ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*` , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. + + > If you specify `AllowedInstanceTypes` , you can't specify `ExcludedInstanceTypes` . + + Default: All instance types + """ + bare_metal: NotRequired[pulumi.Input['Ec2FleetInstanceRequirementsRequestBareMetal']] + """ + Indicates whether bare metal instance types must be included, excluded, or required. + + - To include bare metal instance types, specify `included` . + - To require only bare metal instance types, specify `required` . + - To exclude bare metal instance types, specify `excluded` . + + Default: `excluded` + """ + baseline_ebs_bandwidth_mbps: NotRequired[pulumi.Input['Ec2FleetBaselineEbsBandwidthMbpsRequestArgsDict']] + """ + The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see [Amazon EBS–optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the *Amazon EC2 User Guide* . + + Default: No minimum or maximum limits + """ + burstable_performance: NotRequired[pulumi.Input['Ec2FleetInstanceRequirementsRequestBurstablePerformance']] + """ + Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) . + + - To include burstable performance instance types, specify `included` . + - To require only burstable performance instance types, specify `required` . + - To exclude burstable performance instance types, specify `excluded` . + + Default: `excluded` + """ + cpu_manufacturers: NotRequired[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestCpuManufacturersItem']]]] + """ + The CPU manufacturers to include. + + - For instance types with Intel CPUs, specify `intel` . + - For instance types with AMD CPUs, specify `amd` . + - For instance types with AWS CPUs, specify `amazon-web-services` . + + > Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + + Default: Any manufacturer + """ + excluded_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The instance types to exclude. + + You can use strings with one or more wild cards, represented by an asterisk ( `*` ), to exclude an instance family, type, size, or generation. The following are examples: `m5.8xlarge` , `c5*.*` , `m5a.*` , `r*` , `*3*` . + + For example, if you specify `c5*` ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*` , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. + + > If you specify `ExcludedInstanceTypes` , you can't specify `AllowedInstanceTypes` . + + Default: No excluded instance types + """ + instance_generations: NotRequired[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestInstanceGenerationsItem']]]] + """ + Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide* . + + For current generation instance types, specify `current` . + + For previous generation instance types, specify `previous` . + + Default: Current and previous generation instance types + """ + local_storage: NotRequired[pulumi.Input['Ec2FleetInstanceRequirementsRequestLocalStorage']] + """ + Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, [Amazon EC2 instance store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) in the *Amazon EC2 User Guide* . + + - To include instance types with instance store volumes, specify `included` . + - To require only instance types with instance store volumes, specify `required` . + - To exclude instance types with instance store volumes, specify `excluded` . + + Default: `included` + """ + local_storage_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestLocalStorageTypesItem']]]] + """ + The type of local storage that is required. + + - For instance types with hard disk drive (HDD) storage, specify `hdd` . + - For instance types with solid state drive (SSD) storage, specify `ssd` . + + Default: `hdd` and `ssd` + """ + max_spot_price_as_percentage_of_optimal_on_demand_price: NotRequired[pulumi.Input[int]] + """ + [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. + + The parameter accepts an integer, which Amazon EC2 interprets as a percentage. + + If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib` , the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. + + > Only one of `SpotMaxPricePercentageOverLowestPrice` or `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as `999999` . + """ + memory_gi_b_per_v_cpu: NotRequired[pulumi.Input['Ec2FleetMemoryGiBPerVCpuRequestArgsDict']] + """ + The minimum and maximum amount of memory per vCPU, in GiB. + + Default: No minimum or maximum limits + """ + memory_mi_b: NotRequired[pulumi.Input['Ec2FleetMemoryMiBRequestArgsDict']] + """ + The minimum and maximum amount of memory, in MiB. + """ + network_bandwidth_gbps: NotRequired[pulumi.Input['Ec2FleetNetworkBandwidthGbpsRequestArgsDict']] + """ + The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see [Amazon EC2 instance network bandwidth](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html) in the *Amazon EC2 User Guide* . + + Default: No minimum or maximum limits + """ + network_interface_count: NotRequired[pulumi.Input['Ec2FleetNetworkInterfaceCountRequestArgsDict']] + """ + The minimum and maximum number of network interfaces. + + Default: No minimum or maximum limits + """ + on_demand_max_price_percentage_over_lowest_price: NotRequired[pulumi.Input[int]] + """ + [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. + + The parameter accepts an integer, which Amazon EC2 interprets as a percentage. + + To indicate no price protection threshold, specify a high value, such as `999999` . + + This parameter is not supported for [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) and [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html) . + + > If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib` , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. + + Default: `20` + """ + require_hibernate_support: NotRequired[pulumi.Input[bool]] + """ + Indicates whether instance types must support hibernation for On-Demand Instances. + + This parameter is not supported for [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) . + + Default: `false` + """ + spot_max_price_percentage_over_lowest_price: NotRequired[pulumi.Input[int]] + """ + [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold. + + The parameter accepts an integer, which Amazon EC2 interprets as a percentage. + + If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib` , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. + + This parameter is not supported for [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) and [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html) . + + > Only one of `SpotMaxPricePercentageOverLowestPrice` or `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as `999999` . + + Default: `100` + """ + total_local_storage_gb: NotRequired[pulumi.Input['Ec2FleetTotalLocalStorageGbRequestArgsDict']] + """ + The minimum and maximum amount of total local storage, in GB. + + Default: No minimum or maximum limits + """ + v_cpu_count: NotRequired[pulumi.Input['Ec2FleetVCpuCountRangeRequestArgsDict']] + """ + The minimum and maximum number of vCPUs. + """ +elif False: + Ec2FleetInstanceRequirementsRequestArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class Ec2FleetInstanceRequirementsRequestArgs: + def __init__(__self__, *, + accelerator_count: Optional[pulumi.Input['Ec2FleetAcceleratorCountRequestArgs']] = None, + accelerator_manufacturers: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem']]]] = None, + accelerator_names: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem']]]] = None, + accelerator_total_memory_mi_b: Optional[pulumi.Input['Ec2FleetAcceleratorTotalMemoryMiBRequestArgs']] = None, + accelerator_types: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorTypesItem']]]] = None, + allowed_instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + bare_metal: Optional[pulumi.Input['Ec2FleetInstanceRequirementsRequestBareMetal']] = None, + baseline_ebs_bandwidth_mbps: Optional[pulumi.Input['Ec2FleetBaselineEbsBandwidthMbpsRequestArgs']] = None, + burstable_performance: Optional[pulumi.Input['Ec2FleetInstanceRequirementsRequestBurstablePerformance']] = None, + cpu_manufacturers: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestCpuManufacturersItem']]]] = None, + excluded_instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + instance_generations: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestInstanceGenerationsItem']]]] = None, + local_storage: Optional[pulumi.Input['Ec2FleetInstanceRequirementsRequestLocalStorage']] = None, + local_storage_types: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestLocalStorageTypesItem']]]] = None, + max_spot_price_as_percentage_of_optimal_on_demand_price: Optional[pulumi.Input[int]] = None, + memory_gi_b_per_v_cpu: Optional[pulumi.Input['Ec2FleetMemoryGiBPerVCpuRequestArgs']] = None, + memory_mi_b: Optional[pulumi.Input['Ec2FleetMemoryMiBRequestArgs']] = None, + network_bandwidth_gbps: Optional[pulumi.Input['Ec2FleetNetworkBandwidthGbpsRequestArgs']] = None, + network_interface_count: Optional[pulumi.Input['Ec2FleetNetworkInterfaceCountRequestArgs']] = None, + on_demand_max_price_percentage_over_lowest_price: Optional[pulumi.Input[int]] = None, + require_hibernate_support: Optional[pulumi.Input[bool]] = None, + spot_max_price_percentage_over_lowest_price: Optional[pulumi.Input[int]] = None, + total_local_storage_gb: Optional[pulumi.Input['Ec2FleetTotalLocalStorageGbRequestArgs']] = None, + v_cpu_count: Optional[pulumi.Input['Ec2FleetVCpuCountRangeRequestArgs']] = None): + """ + :param pulumi.Input['Ec2FleetAcceleratorCountRequestArgs'] accelerator_count: The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance. + + To exclude accelerator-enabled instance types, set `Max` to `0` . + + Default: No minimum or maximum limits + :param pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorManufacturersItem']]] accelerator_manufacturers: Indicates whether instance types must have accelerators by specific manufacturers. + + - For instance types with AWS devices, specify `amazon-web-services` . + - For instance types with AMD devices, specify `amd` . + - For instance types with Habana devices, specify `habana` . + - For instance types with NVIDIA devices, specify `nvidia` . + - For instance types with Xilinx devices, specify `xilinx` . + + Default: Any manufacturer + :param pulumi.Input[Sequence[pulumi.Input['Ec2FleetInstanceRequirementsRequestAcceleratorNamesItem']]] accelerator_names: The accelerators that must be on the instance type. + + - For instance types with NVIDIA A10G GPUs, specify `a10g` . + - For instance types with NVIDIA A100 GPUs, specify `a100` . + - For instance types with NVIDIA H100 GPUs, specify `h100` . + - For instance types with AWS Inferentia chips, specify `inferentia` . + - For instance types with NVIDIA GRID K520 GPUs, specify `k520` . + - For instance types with NVIDIA K80 GPUs, specify `k80` . + - For instance types with NVIDIA M60 GPUs, specify `m60` . + - For instance types with AMD Radeon Pro V520 GPUs, specify `radeon-pro-v520` . - For instance types with NVIDIA T4 GPUs, specify `t4` . - For instance types with NVIDIA T4G GPUs, specify `t4g` . - For instance types with Xilinx VU9P FPGAs, specify `vu9p` . @@ -1719,6 +2431,15 @@ def v_cpu_count(self, value: Optional[pulumi.Input['Ec2FleetVCpuCountRangeReques pulumi.set(self, "v_cpu_count", value) +if not MYPY: + class Ec2FleetMaintenanceStrategiesArgsDict(TypedDict): + capacity_rebalance: NotRequired[pulumi.Input['Ec2FleetCapacityRebalanceArgsDict']] + """ + The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. + """ +elif False: + Ec2FleetMaintenanceStrategiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetMaintenanceStrategiesArgs: def __init__(__self__, *, @@ -1742,7 +2463,20 @@ def capacity_rebalance(self, value: Optional[pulumi.Input['Ec2FleetCapacityRebal pulumi.set(self, "capacity_rebalance", value) -@pulumi.input_type +if not MYPY: + class Ec2FleetMemoryGiBPerVCpuRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[float]] + """ + The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this parameter. + """ +elif False: + Ec2FleetMemoryGiBPerVCpuRequestArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type class Ec2FleetMemoryGiBPerVCpuRequestArgs: def __init__(__self__, *, max: Optional[pulumi.Input[float]] = None, @@ -1781,6 +2515,19 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class Ec2FleetMemoryMiBRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum amount of memory, in MiB. To specify no minimum limit, specify `0` . + """ +elif False: + Ec2FleetMemoryMiBRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetMemoryMiBRequestArgs: def __init__(__self__, *, @@ -1820,6 +2567,19 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class Ec2FleetNetworkBandwidthGbpsRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[float]] + """ + The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter. + """ +elif False: + Ec2FleetNetworkBandwidthGbpsRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetNetworkBandwidthGbpsRequestArgs: def __init__(__self__, *, @@ -1859,6 +2619,19 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class Ec2FleetNetworkInterfaceCountRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum number of network interfaces. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum number of network interfaces. To specify no minimum limit, omit this parameter. + """ +elif False: + Ec2FleetNetworkInterfaceCountRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetNetworkInterfaceCountRequestArgs: def __init__(__self__, *, @@ -1898,6 +2671,53 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class Ec2FleetOnDemandOptionsRequestArgsDict(TypedDict): + allocation_strategy: NotRequired[pulumi.Input[str]] + """ + The strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity. + + `lowest-price` - EC2 Fleet uses price to determine the order, launching the lowest price first. + + `prioritized` - EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first. + + Default: `lowest-price` + """ + capacity_reservation_options: NotRequired[pulumi.Input['Ec2FleetCapacityReservationOptionsRequestArgsDict']] + """ + The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity. + + Supported only for fleets of type `instant` . + """ + max_total_price: NotRequired[pulumi.Input[str]] + """ + The maximum amount per hour for On-Demand Instances that you're willing to pay. + + > If your fleet includes T instances that are configured as `unlimited` , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The `MaxTotalPrice` does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for `MaxTotalPrice` . For more information, see [Surplus credits can incur charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) in the *Amazon EC2 User Guide* . + """ + min_target_capacity: NotRequired[pulumi.Input[int]] + """ + The minimum target capacity for On-Demand Instances in the fleet. If this minimum capacity isn't reached, no instances are launched. + + Constraints: Maximum value of `1000` . Supported only for fleets of type `instant` . + + At least one of the following must be specified: `SingleAvailabilityZone` | `SingleInstanceType` + """ + single_availability_zone: NotRequired[pulumi.Input[bool]] + """ + Indicates that the fleet launches all On-Demand Instances into a single Availability Zone. + + Supported only for fleets of type `instant` . + """ + single_instance_type: NotRequired[pulumi.Input[bool]] + """ + Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet. + + Supported only for fleets of type `instant` . + """ +elif False: + Ec2FleetOnDemandOptionsRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetOnDemandOptionsRequestArgs: def __init__(__self__, *, @@ -2037,6 +2857,59 @@ def single_instance_type(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "single_instance_type", value) +if not MYPY: + class Ec2FleetPlacementArgsDict(TypedDict): + affinity: NotRequired[pulumi.Input[str]] + """ + The affinity setting for the instance on the Dedicated Host. + + This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) or [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) . + """ + availability_zone: NotRequired[pulumi.Input[str]] + """ + The Availability Zone of the instance. + + If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region. + + This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) . + """ + group_name: NotRequired[pulumi.Input[str]] + """ + The name of the placement group that the instance is in. If you specify `GroupName` , you can't specify `GroupId` . + """ + host_id: NotRequired[pulumi.Input[str]] + """ + The ID of the Dedicated Host on which the instance resides. + + This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) or [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) . + """ + host_resource_group_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the host resource group in which to launch the instances. + + If you specify this parameter, either omit the *Tenancy* parameter or set it to `host` . + + This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) . + """ + partition_number: NotRequired[pulumi.Input[int]] + """ + The number of the partition that the instance is in. Valid only if the placement group strategy is set to `partition` . + + This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) . + """ + spread_domain: NotRequired[pulumi.Input[str]] + """ + Reserved for future use. + """ + tenancy: NotRequired[pulumi.Input[str]] + """ + The tenancy of the instance. An instance with a tenancy of `dedicated` runs on single-tenant hardware. + + This parameter is not supported for [CreateFleet](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet) . The `host` tenancy is not supported for [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) or for T3 instances that are configured for the `unlimited` CPU credit option. + """ +elif False: + Ec2FleetPlacementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetPlacementArgs: def __init__(__self__, *, @@ -2204,6 +3077,65 @@ def tenancy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tenancy", value) +if not MYPY: + class Ec2FleetSpotOptionsRequestArgsDict(TypedDict): + allocation_strategy: NotRequired[pulumi.Input['Ec2FleetSpotOptionsRequestAllocationStrategy']] + """ + Indicates how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet. + + If the allocation strategy is `lowestPrice` , EC2 Fleet launches instances from the Spot Instance pools with the lowest price. This is the default allocation strategy. + + If the allocation strategy is `diversified` , EC2 Fleet launches instances from all the Spot Instance pools that you specify. + + If the allocation strategy is `capacityOptimized` , EC2 Fleet launches instances from Spot Instance pools that are optimally chosen based on the available Spot Instance capacity. + + *Allowed Values* : `lowestPrice` | `diversified` | `capacityOptimized` | `capacityOptimizedPrioritized` + """ + instance_interruption_behavior: NotRequired[pulumi.Input['Ec2FleetSpotOptionsRequestInstanceInterruptionBehavior']] + """ + The behavior when a Spot Instance is interrupted. + + Default: `terminate` + """ + instance_pools_to_use_count: NotRequired[pulumi.Input[int]] + """ + The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot `AllocationStrategy` is set to `lowest-price` . EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify. + + Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified. + """ + maintenance_strategies: NotRequired[pulumi.Input['Ec2FleetMaintenanceStrategiesArgsDict']] + """ + The strategies for managing your Spot Instances that are at an elevated risk of being interrupted. + """ + max_total_price: NotRequired[pulumi.Input[str]] + """ + The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. + + > If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. > If your fleet includes T instances that are configured as `unlimited` , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The `MaxTotalPrice` does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for `MaxTotalPrice` . For more information, see [Surplus credits can incur charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) in the *Amazon EC2 User Guide* . + """ + min_target_capacity: NotRequired[pulumi.Input[int]] + """ + The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched. + + Constraints: Maximum value of `1000` . Supported only for fleets of type `instant` . + + At least one of the following must be specified: `SingleAvailabilityZone` | `SingleInstanceType` + """ + single_availability_zone: NotRequired[pulumi.Input[bool]] + """ + Indicates that the fleet launches all Spot Instances into a single Availability Zone. + + Supported only for fleets of type `instant` . + """ + single_instance_type: NotRequired[pulumi.Input[bool]] + """ + Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet. + + Supported only for fleets of type `instant` . + """ +elif False: + Ec2FleetSpotOptionsRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetSpotOptionsRequestArgs: def __init__(__self__, *, @@ -2383,6 +3315,19 @@ def single_instance_type(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "single_instance_type", value) +if not MYPY: + class Ec2FleetTagSpecificationArgsDict(TypedDict): + resource_type: NotRequired[pulumi.Input['Ec2FleetTagSpecificationResourceType']] + """ + The type of resource to tag. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['Ec2FleetTagArgsDict']]]] + """ + The tags to apply to the resource. + """ +elif False: + Ec2FleetTagSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetTagSpecificationArgs: def __init__(__self__, *, @@ -2422,6 +3367,19 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Ec2FleetTagAr pulumi.set(self, "tags", value) +if not MYPY: + class Ec2FleetTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The tag key. + """ + value: pulumi.Input[str] + """ + The tag value. + """ +elif False: + Ec2FleetTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetTagArgs: def __init__(__self__, *, @@ -2459,6 +3417,33 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class Ec2FleetTargetCapacitySpecificationRequestArgsDict(TypedDict): + total_target_capacity: pulumi.Input[int] + """ + The number of units to request, filled using the default target capacity type. + """ + default_target_capacity_type: NotRequired[pulumi.Input['Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityType']] + """ + The default target capacity type. + """ + on_demand_target_capacity: NotRequired[pulumi.Input[int]] + """ + The number of On-Demand units to request. + """ + spot_target_capacity: NotRequired[pulumi.Input[int]] + """ + The number of Spot units to request. + """ + target_capacity_unit_type: NotRequired[pulumi.Input['Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType']] + """ + The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection. + + Default: `units` (the number of instances) + """ +elif False: + Ec2FleetTargetCapacitySpecificationRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetTargetCapacitySpecificationRequestArgs: def __init__(__self__, *, @@ -2549,6 +3534,19 @@ def target_capacity_unit_type(self, value: Optional[pulumi.Input['Ec2FleetTarget pulumi.set(self, "target_capacity_unit_type", value) +if not MYPY: + class Ec2FleetTotalLocalStorageGbRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[float]] + """ + The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter. + """ +elif False: + Ec2FleetTotalLocalStorageGbRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetTotalLocalStorageGbRequestArgs: def __init__(__self__, *, @@ -2588,6 +3586,19 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class Ec2FleetVCpuCountRangeRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum number of vCPUs. To specify no minimum limit, specify `0` . + """ +elif False: + Ec2FleetVCpuCountRangeRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class Ec2FleetVCpuCountRangeRequestArgs: def __init__(__self__, *, @@ -2627,6 +3638,18 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class EnclaveOptionsPropertiesArgsDict(TypedDict): + """ + Indicates whether the instance is enabled for AWS Nitro Enclaves. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves. + """ +elif False: + EnclaveOptionsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnclaveOptionsPropertiesArgs: def __init__(__self__, *, @@ -2651,6 +3674,18 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class HibernationOptionsPropertiesArgsDict(TypedDict): + """ + Indicates whether an instance is enabled for hibernation. + """ + configured: NotRequired[pulumi.Input[bool]] + """ + If you set this parameter to true, your instance is enabled for hibernation. + """ +elif False: + HibernationOptionsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class HibernationOptionsPropertiesArgs: def __init__(__self__, *, @@ -2675,6 +3710,19 @@ def configured(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "configured", value) +if not MYPY: + class InstanceAssociationParameterArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The name of an input parameter that is in the associated SSM document. + """ + value: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The value of an input parameter. + """ +elif False: + InstanceAssociationParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceAssociationParameterArgs: def __init__(__self__, *, @@ -2712,6 +3760,35 @@ def value(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "value", value) +if not MYPY: + class InstanceBlockDeviceMappingArgsDict(TypedDict): + device_name: pulumi.Input[str] + """ + The device name (for example, /dev/sdh or xvdh). + """ + ebs: NotRequired[pulumi.Input['InstanceEbsArgsDict']] + """ + Parameters used to automatically set up EBS volumes when the instance is launched. + """ + no_device: NotRequired[Any] + """ + To omit the device from the block device mapping, specify an empty string. + + > After the instance is running, modifying this parameter results in instance [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . + """ + virtual_name: NotRequired[pulumi.Input[str]] + """ + The virtual device name ( `ephemeral` N). The name must be in the form `ephemeral` *X* where *X* is a number starting from zero (0). For example, an instance type with 2 available instance store volumes can specify mappings for `ephemeral0` and `ephemeral1` . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume. + + NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect. + + *Constraints* : For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI. + + > After the instance is running, modifying this parameter results in instance [replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) . + """ +elif False: + InstanceBlockDeviceMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceBlockDeviceMappingArgs: def __init__(__self__, *, @@ -2798,21 +3875,54 @@ def virtual_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "virtual_name", value) -@pulumi.input_type -class InstanceEbsArgs: - def __init__(__self__, *, - delete_on_termination: Optional[pulumi.Input[bool]] = None, - encrypted: Optional[pulumi.Input[bool]] = None, - iops: Optional[pulumi.Input[int]] = None, - kms_key_id: Optional[pulumi.Input[str]] = None, - snapshot_id: Optional[pulumi.Input[str]] = None, - volume_size: Optional[pulumi.Input[int]] = None, - volume_type: Optional[pulumi.Input[str]] = None): +if not MYPY: + class InstanceEbsArgsDict(TypedDict): + delete_on_termination: NotRequired[pulumi.Input[bool]] """ - :param pulumi.Input[bool] delete_on_termination: Indicates whether the EBS volume is deleted on instance termination. - :param pulumi.Input[bool] encrypted: Indicates whether the volume should be encrypted. - :param pulumi.Input[int] iops: The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. - :param pulumi.Input[str] kms_key_id: The identifier of the AWS Key Management Service (AWS KMS) customer managed CMK to use for Amazon EBS encryption. If KmsKeyId is specified, the encrypted state must be true. If the encrypted state is true but you do not specify KmsKeyId, your AWS managed CMK for EBS is used. + Indicates whether the EBS volume is deleted on instance termination. + """ + encrypted: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the volume should be encrypted. + """ + iops: NotRequired[pulumi.Input[int]] + """ + The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The identifier of the AWS Key Management Service (AWS KMS) customer managed CMK to use for Amazon EBS encryption. If KmsKeyId is specified, the encrypted state must be true. If the encrypted state is true but you do not specify KmsKeyId, your AWS managed CMK for EBS is used. + """ + snapshot_id: NotRequired[pulumi.Input[str]] + """ + The ID of the snapshot. + """ + volume_size: NotRequired[pulumi.Input[int]] + """ + The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size. + """ + volume_type: NotRequired[pulumi.Input[str]] + """ + The volume type. + """ +elif False: + InstanceEbsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class InstanceEbsArgs: + def __init__(__self__, *, + delete_on_termination: Optional[pulumi.Input[bool]] = None, + encrypted: Optional[pulumi.Input[bool]] = None, + iops: Optional[pulumi.Input[int]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + snapshot_id: Optional[pulumi.Input[str]] = None, + volume_size: Optional[pulumi.Input[int]] = None, + volume_type: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] delete_on_termination: Indicates whether the EBS volume is deleted on instance termination. + :param pulumi.Input[bool] encrypted: Indicates whether the volume should be encrypted. + :param pulumi.Input[int] iops: The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. + :param pulumi.Input[str] kms_key_id: The identifier of the AWS Key Management Service (AWS KMS) customer managed CMK to use for Amazon EBS encryption. If KmsKeyId is specified, the encrypted state must be true. If the encrypted state is true but you do not specify KmsKeyId, your AWS managed CMK for EBS is used. :param pulumi.Input[str] snapshot_id: The ID of the snapshot. :param pulumi.Input[int] volume_size: The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size. :param pulumi.Input[str] volume_type: The volume type. @@ -2917,6 +4027,15 @@ def volume_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_type", value) +if not MYPY: + class InstanceElasticGpuSpecificationArgsDict(TypedDict): + type: pulumi.Input[str] + """ + The type of Elastic Graphics accelerator. + """ +elif False: + InstanceElasticGpuSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceElasticGpuSpecificationArgs: def __init__(__self__, *, @@ -2939,6 +4058,19 @@ def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) +if not MYPY: + class InstanceElasticInferenceAcceleratorArgsDict(TypedDict): + type: pulumi.Input[str] + """ + The type of elastic inference accelerator. + """ + count: NotRequired[pulumi.Input[int]] + """ + The number of elastic inference accelerators to attach to the instance. + """ +elif False: + InstanceElasticInferenceAcceleratorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceElasticInferenceAcceleratorArgs: def __init__(__self__, *, @@ -2977,6 +4109,15 @@ def count(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "count", value) +if not MYPY: + class InstanceIpv6AddressArgsDict(TypedDict): + ipv6_address: pulumi.Input[str] + """ + The IPv6 address. + """ +elif False: + InstanceIpv6AddressArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceIpv6AddressArgs: def __init__(__self__, *, @@ -2999,6 +4140,23 @@ def ipv6_address(self, value: pulumi.Input[str]): pulumi.set(self, "ipv6_address", value) +if not MYPY: + class InstanceLaunchTemplateSpecificationArgsDict(TypedDict): + launch_template_id: NotRequired[pulumi.Input[str]] + """ + The ID of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both. + """ + launch_template_name: NotRequired[pulumi.Input[str]] + """ + The name of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both. + """ + version: NotRequired[pulumi.Input[str]] + """ + The version number of the launch template. + """ +elif False: + InstanceLaunchTemplateSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceLaunchTemplateSpecificationArgs: def __init__(__self__, *, @@ -3054,6 +4212,15 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class InstanceLicenseSpecificationArgsDict(TypedDict): + license_configuration_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the license configuration. + """ +elif False: + InstanceLicenseSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceLicenseSpecificationArgs: def __init__(__self__, *, @@ -3076,6 +4243,63 @@ def license_configuration_arn(self, value: pulumi.Input[str]): pulumi.set(self, "license_configuration_arn", value) +if not MYPY: + class InstanceNetworkInterfaceArgsDict(TypedDict): + device_index: pulumi.Input[str] + """ + The position of the network interface in the attachment order. A primary network interface has a device index of 0. + """ + associate_carrier_ip_address: NotRequired[pulumi.Input[bool]] + """ + Not currently supported by AWS CloudFormation. + """ + associate_public_ip_address: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. + """ + delete_on_termination: NotRequired[pulumi.Input[bool]] + """ + If set to true, the interface is deleted when the instance is terminated. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the network interface. + """ + group_set: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The IDs of the security groups for the network interface. + """ + ipv6_address_count: NotRequired[pulumi.Input[int]] + """ + A number of IPv6 addresses to assign to the network interface. + """ + ipv6_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input['InstanceIpv6AddressArgsDict']]]] + """ + The IPv6 addresses associated with the network interface. + """ + network_interface_id: NotRequired[pulumi.Input[str]] + """ + The ID of the network interface. + """ + private_ip_address: NotRequired[pulumi.Input[str]] + """ + The private IPv4 address of the network interface. + """ + private_ip_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input['InstancePrivateIpAddressSpecificationArgsDict']]]] + """ + One or more private IPv4 addresses to assign to the network interface. + """ + secondary_private_ip_address_count: NotRequired[pulumi.Input[int]] + """ + The number of secondary private IPv4 addresses. + """ + subnet_id: NotRequired[pulumi.Input[str]] + """ + The ID of the subnet. + """ +elif False: + InstanceNetworkInterfaceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceNetworkInterfaceArgs: def __init__(__self__, *, @@ -3290,6 +4514,23 @@ def subnet_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "subnet_id", value) +if not MYPY: + class InstancePrivateDnsNameOptionsArgsDict(TypedDict): + enable_resource_name_dns_a_record: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to respond to DNS queries for instance hostnames with DNS A records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide. + """ + enable_resource_name_dns_aaaa_record: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide. + """ + hostname_type: NotRequired[pulumi.Input['InstancePrivateDnsNameOptionsHostnameType']] + """ + The type of hostnames to assign to instances in the subnet at launch. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide. + """ +elif False: + InstancePrivateDnsNameOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstancePrivateDnsNameOptionsArgs: def __init__(__self__, *, @@ -3345,6 +4586,19 @@ def hostname_type(self, value: Optional[pulumi.Input['InstancePrivateDnsNameOpti pulumi.set(self, "hostname_type", value) +if not MYPY: + class InstancePrivateIpAddressSpecificationArgsDict(TypedDict): + primary: pulumi.Input[bool] + """ + Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary. + """ + private_ip_address: pulumi.Input[str] + """ + The private IPv4 addresses. + """ +elif False: + InstancePrivateIpAddressSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstancePrivateIpAddressSpecificationArgs: def __init__(__self__, *, @@ -3382,6 +4636,19 @@ def private_ip_address(self, value: pulumi.Input[str]): pulumi.set(self, "private_ip_address", value) +if not MYPY: + class InstanceSsmAssociationArgsDict(TypedDict): + document_name: pulumi.Input[str] + """ + The name of an SSM document to associate with the instance. + """ + association_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['InstanceAssociationParameterArgsDict']]]] + """ + The input parameter values to use with the associated SSM document. + """ +elif False: + InstanceSsmAssociationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceSsmAssociationArgs: def __init__(__self__, *, @@ -3420,6 +4687,19 @@ def association_parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "association_parameters", value) +if not MYPY: + class InstanceVolumeArgsDict(TypedDict): + device: pulumi.Input[str] + """ + The device name (for example, /dev/sdh or xvdh). + """ + volume_id: pulumi.Input[str] + """ + The ID of the EBS volume. The volume and instance must be within the same Availability Zone. + """ +elif False: + InstanceVolumeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceVolumeArgs: def __init__(__self__, *, @@ -3457,6 +4737,18 @@ def volume_id(self, value: pulumi.Input[str]): pulumi.set(self, "volume_id", value) +if not MYPY: + class IpamOperatingRegionArgsDict(TypedDict): + """ + The regions IPAM is enabled for. Allows pools to be created in these regions, as well as enabling monitoring + """ + region_name: pulumi.Input[str] + """ + The name of the region. + """ +elif False: + IpamOperatingRegionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IpamOperatingRegionArgs: def __init__(__self__, *, @@ -3480,6 +4772,18 @@ def region_name(self, value: pulumi.Input[str]): pulumi.set(self, "region_name", value) +if not MYPY: + class IpamPoolProvisionedCidrArgsDict(TypedDict): + """ + An address space to be inserted into this pool. All allocations must be made from this address space. + """ + cidr: pulumi.Input[str] + """ + The CIDR provisioned to the IPAM pool. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is `10.24.34.0/23` . An IPv6 CIDR example is `2001:DB8::/32` . + """ +elif False: + IpamPoolProvisionedCidrArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IpamPoolProvisionedCidrArgs: def __init__(__self__, *, @@ -3503,6 +4807,30 @@ def cidr(self, value: pulumi.Input[str]): pulumi.set(self, "cidr", value) +if not MYPY: + class IpamPoolSourceResourceArgsDict(TypedDict): + """ + The resource associated with this pool's space. Depending on the ResourceType, setting a SourceResource changes which space can be provisioned in this pool and which types of resources can receive allocations + """ + resource_id: pulumi.Input[str] + """ + The source resource ID. + """ + resource_owner: pulumi.Input[str] + """ + The source resource owner. + """ + resource_region: pulumi.Input[str] + """ + The source resource Region. + """ + resource_type: pulumi.Input[str] + """ + The source resource type. + """ +elif False: + IpamPoolSourceResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IpamPoolSourceResourceArgs: def __init__(__self__, *, @@ -3571,6 +4899,22 @@ def resource_type(self, value: pulumi.Input[str]): pulumi.set(self, "resource_type", value) +if not MYPY: + class IpamPoolTagArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + key: pulumi.Input[str] + """ + The key name of the tag. You can specify a value that is 1 to 128 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 -. + """ + value: pulumi.Input[str] + """ + The value for the tag. You can specify a value that is 0 to 256 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 -. + """ +elif False: + IpamPoolTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IpamPoolTagArgs: def __init__(__self__, *, @@ -3609,6 +4953,18 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class IpamResourceDiscoveryIpamOperatingRegionArgsDict(TypedDict): + """ + The regions IPAM Resource Discovery is enabled for. Allows for monitoring. + """ + region_name: pulumi.Input[str] + """ + The name of the region. + """ +elif False: + IpamResourceDiscoveryIpamOperatingRegionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IpamResourceDiscoveryIpamOperatingRegionArgs: def __init__(__self__, *, @@ -3632,6 +4988,22 @@ def region_name(self, value: pulumi.Input[str]): pulumi.set(self, "region_name", value) +if not MYPY: + class LaunchTemplateAcceleratorCountArgsDict(TypedDict): + """ + The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance. + """ + max: NotRequired[pulumi.Input[int]] + """ + The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set ``Max`` to ``0``. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum number of accelerators. To specify no minimum limit, omit this parameter. + """ +elif False: + LaunchTemplateAcceleratorCountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateAcceleratorCountArgs: def __init__(__self__, *, @@ -3672,6 +5044,22 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class LaunchTemplateAcceleratorTotalMemoryMiBArgsDict(TypedDict): + """ + The minimum and maximum amount of total accelerator memory, in MiB. + """ + max: NotRequired[pulumi.Input[int]] + """ + The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this parameter. + """ +elif False: + LaunchTemplateAcceleratorTotalMemoryMiBArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateAcceleratorTotalMemoryMiBArgs: def __init__(__self__, *, @@ -3712,6 +5100,22 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class LaunchTemplateBaselineEbsBandwidthMbpsArgsDict(TypedDict): + """ + The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see [Amazon EBS–optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the *Amazon EC2 User Guide*. + """ + max: NotRequired[pulumi.Input[int]] + """ + The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter. + """ +elif False: + LaunchTemplateBaselineEbsBandwidthMbpsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateBaselineEbsBandwidthMbpsArgs: def __init__(__self__, *, @@ -3752,6 +5156,31 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class LaunchTemplateBlockDeviceMappingArgsDict(TypedDict): + """ + Specifies a block device mapping for a launch template. You must specify ``DeviceName`` plus exactly one of the following properties: ``Ebs``, ``NoDevice``, or ``VirtualName``. + ``BlockDeviceMapping`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + device_name: NotRequired[pulumi.Input[str]] + """ + The device name (for example, /dev/sdh or xvdh). + """ + ebs: NotRequired[pulumi.Input['LaunchTemplateEbsArgsDict']] + """ + Parameters used to automatically set up EBS volumes when the instance is launched. + """ + no_device: NotRequired[pulumi.Input[str]] + """ + To omit the device from the block device mapping, specify an empty string. + """ + virtual_name: NotRequired[pulumi.Input[str]] + """ + The virtual device name (ephemeralN). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1. The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume. + """ +elif False: + LaunchTemplateBlockDeviceMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateBlockDeviceMappingArgs: def __init__(__self__, *, @@ -3825,6 +5254,25 @@ def virtual_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "virtual_name", value) +if not MYPY: + class LaunchTemplateCapacityReservationSpecificationArgsDict(TypedDict): + """ + Specifies an instance's Capacity Reservation targeting option. You can specify only one option at a time. + ``CapacityReservationSpecification`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + capacity_reservation_preference: NotRequired[pulumi.Input[str]] + """ + Indicates the instance's Capacity Reservation preferences. Possible preferences include: + + ``open`` - The instance can run in any ``open`` Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). + + ``none`` - The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity. + """ + capacity_reservation_target: NotRequired[pulumi.Input['LaunchTemplateCapacityReservationTargetArgsDict']] + """ + Information about the target Capacity Reservation or Capacity Reservation group. + """ +elif False: + LaunchTemplateCapacityReservationSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateCapacityReservationSpecificationArgs: def __init__(__self__, *, @@ -3870,6 +5318,23 @@ def capacity_reservation_target(self, value: Optional[pulumi.Input['LaunchTempla pulumi.set(self, "capacity_reservation_target", value) +if not MYPY: + class LaunchTemplateCapacityReservationTargetArgsDict(TypedDict): + """ + Specifies a target Capacity Reservation. + ``CapacityReservationTarget`` is a property of the [Amazon EC2 LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html) property type. + """ + capacity_reservation_id: NotRequired[pulumi.Input[str]] + """ + The ID of the Capacity Reservation in which to run the instance. + """ + capacity_reservation_resource_group_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the Capacity Reservation resource group in which to run the instance. + """ +elif False: + LaunchTemplateCapacityReservationTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateCapacityReservationTargetArgs: def __init__(__self__, *, @@ -3911,8 +5376,28 @@ def capacity_reservation_resource_group_arn(self, value: Optional[pulumi.Input[s pulumi.set(self, "capacity_reservation_resource_group_arn", value) -@pulumi.input_type -class LaunchTemplateConnectionTrackingSpecificationArgs: +if not MYPY: + class LaunchTemplateConnectionTrackingSpecificationArgsDict(TypedDict): + """ + A security group connection tracking specification that enables you to set the idle timeout for connection tracking on an Elastic network interface. For more information, see [Connection tracking timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) in the *Amazon EC2 User Guide*. + """ + tcp_established_timeout: NotRequired[pulumi.Input[int]] + """ + Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds. + """ + udp_stream_timeout: NotRequired[pulumi.Input[int]] + """ + Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds. + """ + udp_timeout: NotRequired[pulumi.Input[int]] + """ + Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds. + """ +elif False: + LaunchTemplateConnectionTrackingSpecificationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class LaunchTemplateConnectionTrackingSpecificationArgs: def __init__(__self__, *, tcp_established_timeout: Optional[pulumi.Input[int]] = None, udp_stream_timeout: Optional[pulumi.Input[int]] = None, @@ -3967,6 +5452,27 @@ def udp_timeout(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "udp_timeout", value) +if not MYPY: + class LaunchTemplateCpuOptionsArgsDict(TypedDict): + """ + Specifies the CPU options for an instance. For more information, see [Optimize CPU options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) in the *User Guide*. + ``CpuOptions`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + amd_sev_snp: NotRequired[pulumi.Input['LaunchTemplateCpuOptionsAmdSevSnp']] + """ + Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see [AMD SEV-SNP](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html). + """ + core_count: NotRequired[pulumi.Input[int]] + """ + The number of CPU cores for the instance. + """ + threads_per_core: NotRequired[pulumi.Input[int]] + """ + The number of threads per CPU core. To disable multithreading for the instance, specify a value of ``1``. Otherwise, specify the default value of ``2``. + """ +elif False: + LaunchTemplateCpuOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateCpuOptionsArgs: def __init__(__self__, *, @@ -4024,6 +5530,20 @@ def threads_per_core(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "threads_per_core", value) +if not MYPY: + class LaunchTemplateCreditSpecificationArgsDict(TypedDict): + """ + Specifies the credit option for CPU usage of a T2, T3, or T3a instance. + ``CreditSpecification`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + cpu_credits: NotRequired[pulumi.Input[str]] + """ + The credit option for CPU usage of a T instance. + Valid values: ``standard`` | ``unlimited`` + """ +elif False: + LaunchTemplateCreditSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateCreditSpecificationArgs: def __init__(__self__, *, @@ -4051,6 +5571,169 @@ def cpu_credits(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cpu_credits", value) +if not MYPY: + class LaunchTemplateDataArgsDict(TypedDict): + """ + The information to include in the launch template. + You must specify at least one parameter for the launch template data. + """ + block_device_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateBlockDeviceMappingArgsDict']]]] + """ + The block device mapping. + """ + capacity_reservation_specification: NotRequired[pulumi.Input['LaunchTemplateCapacityReservationSpecificationArgsDict']] + """ + The Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to ``open``, which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). + """ + cpu_options: NotRequired[pulumi.Input['LaunchTemplateCpuOptionsArgsDict']] + """ + The CPU options for the instance. For more information, see [Optimize CPU options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) in the *Amazon EC2 User Guide*. + """ + credit_specification: NotRequired[pulumi.Input['LaunchTemplateCreditSpecificationArgsDict']] + """ + The credit option for CPU usage of the instance. Valid only for T instances. + """ + disable_api_stop: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to enable the instance for stop protection. For more information, see [Enable stop protection for your instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html) in the *Amazon EC2 User Guide*. + """ + disable_api_termination: NotRequired[pulumi.Input[bool]] + """ + If you set this parameter to ``true``, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute after launch, use [ModifyInstanceAttribute](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html). Alternatively, if you set ``InstanceInitiatedShutdownBehavior`` to ``terminate``, you can terminate the instance by running the shutdown command from the instance. + """ + ebs_optimized: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance. + """ + elastic_gpu_specifications: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateElasticGpuSpecificationArgsDict']]]] + """ + Deprecated. + Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances. + """ + elastic_inference_accelerators: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateElasticInferenceAcceleratorArgsDict']]]] + """ + An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads. + You cannot specify accelerators from different generations in the same request. + Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service. + """ + enclave_options: NotRequired[pulumi.Input['LaunchTemplateEnclaveOptionsArgsDict']] + """ + Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see [What is Nitro Enclaves?](https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html) in the *Nitro Enclaves User Guide*. + You can't enable AWS Nitro Enclaves and hibernation on the same instance. + """ + hibernation_options: NotRequired[pulumi.Input['LaunchTemplateHibernationOptionsArgsDict']] + """ + Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the [hibernation prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html). For more information, see [Hibernate your Amazon EC2 instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) in the *Amazon EC2 User Guide*. + """ + iam_instance_profile: NotRequired[pulumi.Input['LaunchTemplateIamInstanceProfileArgsDict']] + """ + The name or Amazon Resource Name (ARN) of an IAM instance profile. + """ + image_id: NotRequired[pulumi.Input[str]] + """ + The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, which will resolve to an AMI ID on launch. + Valid formats: + + ``ami-0ac394d6a3example`` + + ``resolve:ssm:parameter-name`` + + ``resolve:ssm:parameter-name:version-number`` + + ``resolve:ssm:parameter-name:label`` + + For more information, see [Use a Systems Manager parameter to find an AMI](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html#using-systems-manager-parameter-to-find-AMI) in the *Amazon Elastic Compute Cloud User Guide*. + """ + instance_initiated_shutdown_behavior: NotRequired[pulumi.Input[str]] + """ + Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). + Default: ``stop`` + """ + instance_market_options: NotRequired[pulumi.Input['LaunchTemplateInstanceMarketOptionsArgsDict']] + """ + The market (purchasing) option for the instances. + """ + instance_requirements: NotRequired[pulumi.Input['LaunchTemplateInstanceRequirementsArgsDict']] + """ + The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes. + You must specify ``VCpuCount`` and ``MemoryMiB``. All other attributes are optional. Any unspecified optional attribute is set to its default. + When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. + To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request: + + ``AllowedInstanceTypes`` - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. + + ``ExcludedInstanceTypes`` - The instance types to exclude from the list, even if they match your specified attributes. + + If you specify ``InstanceRequirements``, you can't specify ``InstanceType``. + Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the [launch instance wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), or with the [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) API or [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) AWS CloudFormation resource, you can't specify ``InstanceRequirements``. + For more information, see [Attribute-based instance type selection for EC2 Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), [Attribute-based instance type selection for Spot Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), and [Spot placement score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) in the *Amazon EC2 User Guide*. + """ + instance_type: NotRequired[pulumi.Input[str]] + """ + The instance type. For more information, see [Amazon EC2 instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide*. + If you specify ``InstanceType``, you can't specify ``InstanceRequirements``. + """ + kernel_id: NotRequired[pulumi.Input[str]] + """ + The ID of the kernel. + We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see [User Provided Kernels](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) in the *Amazon EC2 User Guide*. + """ + key_name: NotRequired[pulumi.Input[str]] + """ + The name of the key pair. You can create a key pair using [CreateKeyPair](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html) or [ImportKeyPair](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html). + If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in. + """ + license_specifications: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateLicenseSpecificationArgsDict']]]] + """ + The license configurations. + """ + maintenance_options: NotRequired[pulumi.Input['LaunchTemplateMaintenanceOptionsArgsDict']] + """ + The maintenance options of your instance. + """ + metadata_options: NotRequired[pulumi.Input['LaunchTemplateMetadataOptionsArgsDict']] + """ + The metadata options for the instance. For more information, see [Instance metadata and user data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) in the *Amazon EC2 User Guide*. + """ + monitoring: NotRequired[pulumi.Input['LaunchTemplateMonitoringArgsDict']] + """ + The monitoring for the instance. + """ + network_interfaces: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateNetworkInterfaceArgsDict']]]] + """ + The network interfaces for the instance. + """ + placement: NotRequired[pulumi.Input['LaunchTemplatePlacementArgsDict']] + """ + The placement for the instance. + """ + private_dns_name_options: NotRequired[pulumi.Input['LaunchTemplatePrivateDnsNameOptionsArgsDict']] + """ + The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries should be handled. For more information, see [Amazon EC2 instance hostname types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) in the *User Guide*. + """ + ram_disk_id: NotRequired[pulumi.Input[str]] + """ + The ID of the RAM disk. + We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see [User provided kernels](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html) in the *Amazon EC2 User Guide*. + """ + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The IDs of the security groups. You can specify the IDs of existing security groups and references to resources created by the stack template. + If you specify a network interface, you must specify any security groups as part of the network interface instead. + """ + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The names of the security groups. For a nondefault VPC, you must use security group IDs instead. + If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter. + """ + tag_specifications: NotRequired[pulumi.Input[Sequence[pulumi.Input['TagSpecificationArgsDict']]]] + """ + The tags to apply to the resources that are created during instance launch. + To tag a resource after it has been created, see [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). + To tag the launch template itself, use [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#cfn-ec2-launchtemplate-tagspecifications). + """ + user_data: NotRequired[pulumi.Input[str]] + """ + The user data to make available to the instance. You must provide base64-encoded text. User data is limited to 16 KB. For more information, see [Run commands on your Amazon EC2 instance at launch](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html) in the *Amazon EC2 User Guide*. + If you are creating the launch template for use with BATCH, the user data must be provided in the [MIME multi-part archive format](https://docs.aws.amazon.com/https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive). For more information, see [Amazon EC2 user data in launch templates](https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html) in the *User Guide*. + """ +elif False: + LaunchTemplateDataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateDataArgs: def __init__(__self__, *, @@ -4616,6 +6299,60 @@ def user_data(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_data", value) +if not MYPY: + class LaunchTemplateEbsArgsDict(TypedDict): + """ + Parameters for a block device for an EBS volume in an Amazon EC2 launch template. + ``Ebs`` is a property of [AWS::EC2::LaunchTemplate BlockDeviceMapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-blockdevicemapping.html). + """ + delete_on_termination: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the EBS volume is deleted on instance termination. + """ + encrypted: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached to instances that support Amazon EBS encryption. If you are creating a volume from a snapshot, you can't specify an encryption value. + """ + iops: NotRequired[pulumi.Input[int]] + """ + The number of I/O operations per second (IOPS). For ``gp3``, ``io1``, and ``io2`` volumes, this represents the number of IOPS that are provisioned for the volume. For ``gp2`` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. + The following are the supported values for each volume type: + + ``gp3``: 3,000 - 16,000 IOPS + + ``io1``: 100 - 64,000 IOPS + + ``io2``: 100 - 256,000 IOPS + + For ``io2`` volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances). On other instances, you can achieve performance up to 32,000 IOPS. + This parameter is supported for ``io1``, ``io2``, and ``gp3`` volumes only. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The ARN of the symmetric KMSlong (KMS) CMK used for encryption. + """ + snapshot_id: NotRequired[pulumi.Input[str]] + """ + The ID of the snapshot. + """ + throughput: NotRequired[pulumi.Input[int]] + """ + The throughput to provision for a ``gp3`` volume, with a maximum of 1,000 MiB/s. + Valid Range: Minimum value of 125. Maximum value of 1000. + """ + volume_size: NotRequired[pulumi.Input[int]] + """ + The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. The following are the supported volumes sizes for each volume type: + + ``gp2`` and ``gp3``: 1 - 16,384 GiB + + ``io1``: 4 - 16,384 GiB + + ``io2``: 4 - 65,536 GiB + + ``st1`` and ``sc1``: 125 - 16,384 GiB + + ``standard``: 1 - 1024 GiB + """ + volume_type: NotRequired[pulumi.Input[str]] + """ + The volume type. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) in the *Amazon EBS User Guide*. + """ +elif False: + LaunchTemplateEbsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateEbsArgs: def __init__(__self__, *, @@ -4779,6 +6516,20 @@ def volume_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_type", value) +if not MYPY: + class LaunchTemplateElasticGpuSpecificationArgsDict(TypedDict): + """ + Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4ad, G4dn, or G5 instances. + Specifies a specification for an Elastic GPU for an Amazon EC2 launch template. + ``ElasticGpuSpecification`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + type: NotRequired[pulumi.Input[str]] + """ + The type of Elastic Graphics accelerator. + """ +elif False: + LaunchTemplateElasticGpuSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateElasticGpuSpecificationArgs: def __init__(__self__, *, @@ -4805,6 +6556,24 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class LaunchTemplateElasticInferenceAcceleratorArgsDict(TypedDict): + """ + Specifies an elastic inference accelerator. + ``LaunchTemplateElasticInferenceAccelerator`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + count: NotRequired[pulumi.Input[int]] + """ + The number of elastic inference accelerators to attach to the instance. + Default: 1 + """ + type: NotRequired[pulumi.Input[str]] + """ + The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge. + """ +elif False: + LaunchTemplateElasticInferenceAcceleratorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateElasticInferenceAcceleratorArgs: def __init__(__self__, *, @@ -4848,6 +6617,23 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class LaunchTemplateEnaSrdSpecificationArgsDict(TypedDict): + """ + ENA Express uses AWS Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled. + To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it. + """ + ena_srd_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether ENA Express is enabled for the network interface. + """ + ena_srd_udp_specification: NotRequired[pulumi.Input['LaunchTemplateEnaSrdUdpSpecificationArgsDict']] + """ + Configures ENA Express for UDP network traffic. + """ +elif False: + LaunchTemplateEnaSrdSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateEnaSrdSpecificationArgs: def __init__(__self__, *, @@ -4889,6 +6675,18 @@ def ena_srd_udp_specification(self, value: Optional[pulumi.Input['LaunchTemplate pulumi.set(self, "ena_srd_udp_specification", value) +if not MYPY: + class LaunchTemplateEnaSrdUdpSpecificationArgsDict(TypedDict): + """ + ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs. + """ + ena_srd_udp_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express. + """ +elif False: + LaunchTemplateEnaSrdUdpSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateEnaSrdUdpSpecificationArgs: def __init__(__self__, *, @@ -4913,6 +6711,18 @@ def ena_srd_udp_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "ena_srd_udp_enabled", value) +if not MYPY: + class LaunchTemplateEnclaveOptionsArgsDict(TypedDict): + """ + Indicates whether the instance is enabled for AWS Nitro Enclaves. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + If this parameter is set to ``true``, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves. + """ +elif False: + LaunchTemplateEnclaveOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateEnclaveOptionsArgs: def __init__(__self__, *, @@ -4937,8 +6747,22 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) -@pulumi.input_type -class LaunchTemplateHibernationOptionsArgs: +if not MYPY: + class LaunchTemplateHibernationOptionsArgsDict(TypedDict): + """ + Specifies whether your instance is configured for hibernation. This parameter is valid only if the instance meets the [hibernation prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites). For more information, see [Hibernate Your Instance](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html) in the *Amazon EC2 User Guide*. + ``HibernationOptions`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + configured: NotRequired[pulumi.Input[bool]] + """ + If you set this parameter to ``true``, the instance is enabled for hibernation. + Default: ``false`` + """ +elif False: + LaunchTemplateHibernationOptionsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class LaunchTemplateHibernationOptionsArgs: def __init__(__self__, *, configured: Optional[pulumi.Input[bool]] = None): """ @@ -4964,6 +6788,24 @@ def configured(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "configured", value) +if not MYPY: + class LaunchTemplateIamInstanceProfileArgsDict(TypedDict): + """ + Specifies an IAM instance profile, which is a container for an IAM role for your instance. You can use an IAM role to distribute your AWS credentials to your instances. + If you are creating the launch template for use with an ASlong group, you can specify either the name or the ARN of the instance profile, but not both. + ``IamInstanceProfile`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the instance profile. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the instance profile. + """ +elif False: + LaunchTemplateIamInstanceProfileArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateIamInstanceProfileArgs: def __init__(__self__, *, @@ -5006,6 +6848,23 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class LaunchTemplateInstanceMarketOptionsArgsDict(TypedDict): + """ + Specifies the market (purchasing) option for an instance. + ``InstanceMarketOptions`` is a property of the [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + market_type: NotRequired[pulumi.Input[str]] + """ + The market type. + """ + spot_options: NotRequired[pulumi.Input['LaunchTemplateSpotOptionsArgsDict']] + """ + The options for Spot Instances. + """ +elif False: + LaunchTemplateInstanceMarketOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateInstanceMarketOptionsArgs: def __init__(__self__, *, @@ -5047,6 +6906,204 @@ def spot_options(self, value: Optional[pulumi.Input['LaunchTemplateSpotOptionsAr pulumi.set(self, "spot_options", value) +if not MYPY: + class LaunchTemplateInstanceRequirementsArgsDict(TypedDict): + """ + The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes. + You must specify ``VCpuCount`` and ``MemoryMiB``. All other attributes are optional. Any unspecified optional attribute is set to its default. + When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values. + To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request: + + ``AllowedInstanceTypes`` - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes. + + ``ExcludedInstanceTypes`` - The instance types to exclude from the list, even if they match your specified attributes. + + If you specify ``InstanceRequirements``, you can't specify ``InstanceType``. + Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the [launch instance wizard](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html), or with the [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) API or [AWS::EC2::Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html) AWS CloudFormation resource, you can't specify ``InstanceRequirements``. + For more information, see [Attribute-based instance type selection for EC2 Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html), [Attribute-based instance type selection for Spot Fleet](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html), and [Spot placement score](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html) in the *Amazon EC2 User Guide*. + """ + accelerator_count: NotRequired[pulumi.Input['LaunchTemplateAcceleratorCountArgsDict']] + """ + The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance. + To exclude accelerator-enabled instance types, set ``Max`` to ``0``. + Default: No minimum or maximum limits + """ + accelerator_manufacturers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Indicates whether instance types must have accelerators by specific manufacturers. + + For instance types with AWS devices, specify ``amazon-web-services``. + + For instance types with AMD devices, specify ``amd``. + + For instance types with Habana devices, specify ``habana``. + + For instance types with NVIDIA devices, specify ``nvidia``. + + For instance types with Xilinx devices, specify ``xilinx``. + + Default: Any manufacturer + """ + accelerator_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The accelerators that must be on the instance type. + + For instance types with NVIDIA A10G GPUs, specify ``a10g``. + + For instance types with NVIDIA A100 GPUs, specify ``a100``. + + For instance types with NVIDIA H100 GPUs, specify ``h100``. + + For instance types with AWS Inferentia chips, specify ``inferentia``. + + For instance types with NVIDIA GRID K520 GPUs, specify ``k520``. + + For instance types with NVIDIA K80 GPUs, specify ``k80``. + + For instance types with NVIDIA M60 GPUs, specify ``m60``. + + For instance types with AMD Radeon Pro V520 GPUs, specify ``radeon-pro-v520``. + + For instance types with NVIDIA T4 GPUs, specify ``t4``. + + For instance types with NVIDIA T4G GPUs, specify ``t4g``. + + For instance types with Xilinx VU9P FPGAs, specify ``vu9p``. + + For instance types with NVIDIA V100 GPUs, specify ``v100``. + + Default: Any accelerator + """ + accelerator_total_memory_mi_b: NotRequired[pulumi.Input['LaunchTemplateAcceleratorTotalMemoryMiBArgsDict']] + """ + The minimum and maximum amount of total accelerator memory, in MiB. + Default: No minimum or maximum limits + """ + accelerator_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The accelerator types that must be on the instance type. + + For instance types with GPU accelerators, specify ``gpu``. + + For instance types with FPGA accelerators, specify ``fpga``. + + For instance types with inference accelerators, specify ``inference``. + + Default: Any accelerator type + """ + allowed_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. + You can use strings with one or more wild cards, represented by an asterisk (``*``), to allow an instance type, size, or generation. The following are examples: ``m5.8xlarge``, ``c5*.*``, ``m5a.*``, ``r*``, ``*3*``. + For example, if you specify ``c5*``,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*``, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. + If you specify ``AllowedInstanceTypes``, you can't specify ``ExcludedInstanceTypes``. + Default: All instance types + """ + bare_metal: NotRequired[pulumi.Input[str]] + """ + Indicates whether bare metal instance types must be included, excluded, or required. + + To include bare metal instance types, specify ``included``. + + To require only bare metal instance types, specify ``required``. + + To exclude bare metal instance types, specify ``excluded``. + + Default: ``excluded`` + """ + baseline_ebs_bandwidth_mbps: NotRequired[pulumi.Input['LaunchTemplateBaselineEbsBandwidthMbpsArgsDict']] + """ + The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see [Amazon EBS–optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the *Amazon EC2 User Guide*. + Default: No minimum or maximum limits + """ + burstable_performance: NotRequired[pulumi.Input[str]] + """ + Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html). + + To include burstable performance instance types, specify ``included``. + + To require only burstable performance instance types, specify ``required``. + + To exclude burstable performance instance types, specify ``excluded``. + + Default: ``excluded`` + """ + cpu_manufacturers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The CPU manufacturers to include. + + For instance types with Intel CPUs, specify ``intel``. + + For instance types with AMD CPUs, specify ``amd``. + + For instance types with AWS CPUs, specify ``amazon-web-services``. + + Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + Default: Any manufacturer + """ + excluded_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The instance types to exclude. + You can use strings with one or more wild cards, represented by an asterisk (``*``), to exclude an instance type, size, or generation. The following are examples: ``m5.8xlarge``, ``c5*.*``, ``m5a.*``, ``r*``, ``*3*``. + For example, if you specify ``c5*``,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify ``m5a.*``, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. + If you specify ``ExcludedInstanceTypes``, you can't specify ``AllowedInstanceTypes``. + Default: No excluded instance types + """ + instance_generations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide*. + For current generation instance types, specify ``current``. + For previous generation instance types, specify ``previous``. + Default: Current and previous generation instance types + """ + local_storage: NotRequired[pulumi.Input[str]] + """ + Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, [Amazon EC2 instance store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) in the *Amazon EC2 User Guide*. + + To include instance types with instance store volumes, specify ``included``. + + To require only instance types with instance store volumes, specify ``required``. + + To exclude instance types with instance store volumes, specify ``excluded``. + + Default: ``included`` + """ + local_storage_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The type of local storage that is required. + + For instance types with hard disk drive (HDD) storage, specify ``hdd``. + + For instance types with solid state drive (SSD) storage, specify ``ssd``. + + Default: ``hdd`` and ``ssd`` + """ + max_spot_price_as_percentage_of_optimal_on_demand_price: NotRequired[pulumi.Input[int]] + """ + [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. + The parameter accepts an integer, which Amazon EC2 interprets as a percentage. + If you set ``TargetCapacityUnitType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. + Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as ``999999``. + """ + memory_gi_b_per_v_cpu: NotRequired[pulumi.Input['LaunchTemplateMemoryGiBPerVCpuArgsDict']] + """ + The minimum and maximum amount of memory per vCPU, in GiB. + Default: No minimum or maximum limits + """ + memory_mi_b: NotRequired[pulumi.Input['LaunchTemplateMemoryMiBArgsDict']] + """ + The minimum and maximum amount of memory, in MiB. + """ + network_bandwidth_gbps: NotRequired[pulumi.Input['LaunchTemplateNetworkBandwidthGbpsArgsDict']] + """ + The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). + Default: No minimum or maximum limits + """ + network_interface_count: NotRequired[pulumi.Input['LaunchTemplateNetworkInterfaceCountArgsDict']] + """ + The minimum and maximum number of network interfaces. + Default: No minimum or maximum limits + """ + on_demand_max_price_percentage_over_lowest_price: NotRequired[pulumi.Input[int]] + """ + [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. + The parameter accepts an integer, which Amazon EC2 interprets as a percentage. + To turn off price protection, specify a high value, such as ``999999``. + This parameter is not supported for [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) and [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html). + If you set ``TargetCapacityUnitType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. + Default: ``20`` + """ + require_hibernate_support: NotRequired[pulumi.Input[bool]] + """ + Indicates whether instance types must support hibernation for On-Demand Instances. + This parameter is not supported for [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html). + Default: ``false`` + """ + spot_max_price_percentage_over_lowest_price: NotRequired[pulumi.Input[int]] + """ + [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold. + The parameter accepts an integer, which Amazon EC2 interprets as a percentage. + If you set ``TargetCapacityUnitType`` to ``vcpu`` or ``memory-mib``, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. + This parameter is not supported for [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) and [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html). + Only one of ``SpotMaxPricePercentageOverLowestPrice`` or ``MaxSpotPriceAsPercentageOfOptimalOnDemandPrice`` can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as ``999999``. + Default: ``100`` + """ + total_local_storage_gb: NotRequired[pulumi.Input['LaunchTemplateTotalLocalStorageGbArgsDict']] + """ + The minimum and maximum amount of total local storage, in GB. + Default: No minimum or maximum limits + """ + v_cpu_count: NotRequired[pulumi.Input['LaunchTemplateVCpuCountArgsDict']] + """ + The minimum and maximum number of vCPUs. + """ +elif False: + LaunchTemplateInstanceRequirementsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateInstanceRequirementsArgs: def __init__(__self__, *, @@ -5618,6 +7675,19 @@ def v_cpu_count(self, value: Optional[pulumi.Input['LaunchTemplateVCpuCountArgs' pulumi.set(self, "v_cpu_count", value) +if not MYPY: + class LaunchTemplateIpv4PrefixSpecificationArgsDict(TypedDict): + """ + Specifies an IPv4 prefix for a network interface. + ``Ipv4PrefixSpecification`` is a property of [AWS::EC2::LaunchTemplate NetworkInterface](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html). + """ + ipv4_prefix: NotRequired[pulumi.Input[str]] + """ + The IPv4 prefix. For information, see [Assigning prefixes to network interfaces](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html) in the *Amazon EC2 User Guide*. + """ +elif False: + LaunchTemplateIpv4PrefixSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateIpv4PrefixSpecificationArgs: def __init__(__self__, *, @@ -5643,6 +7713,19 @@ def ipv4_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ipv4_prefix", value) +if not MYPY: + class LaunchTemplateIpv6AddArgsDict(TypedDict): + """ + Specifies an IPv6 address in an Amazon EC2 launch template. + ``Ipv6Add`` is a property of [AWS::EC2::LaunchTemplate NetworkInterface](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html). + """ + ipv6_address: NotRequired[pulumi.Input[str]] + """ + One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses. + """ +elif False: + LaunchTemplateIpv6AddArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateIpv6AddArgs: def __init__(__self__, *, @@ -5668,6 +7751,19 @@ def ipv6_address(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ipv6_address", value) +if not MYPY: + class LaunchTemplateIpv6PrefixSpecificationArgsDict(TypedDict): + """ + Specifies an IPv6 prefix for a network interface. + ``Ipv6PrefixSpecification`` is a property of [AWS::EC2::LaunchTemplate NetworkInterface](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html). + """ + ipv6_prefix: NotRequired[pulumi.Input[str]] + """ + The IPv6 prefix. + """ +elif False: + LaunchTemplateIpv6PrefixSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateIpv6PrefixSpecificationArgs: def __init__(__self__, *, @@ -5693,6 +7789,19 @@ def ipv6_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ipv6_prefix", value) +if not MYPY: + class LaunchTemplateLicenseSpecificationArgsDict(TypedDict): + """ + Specifies a license configuration for an instance. + ``LicenseSpecification`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + license_configuration_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the license configuration. + """ +elif False: + LaunchTemplateLicenseSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateLicenseSpecificationArgs: def __init__(__self__, *, @@ -5718,6 +7827,18 @@ def license_configuration_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "license_configuration_arn", value) +if not MYPY: + class LaunchTemplateMaintenanceOptionsArgsDict(TypedDict): + """ + The maintenance options of your instance. + """ + auto_recovery: NotRequired[pulumi.Input[str]] + """ + Disables the automatic recovery behavior of your instance or sets it to default. + """ +elif False: + LaunchTemplateMaintenanceOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateMaintenanceOptionsArgs: def __init__(__self__, *, @@ -5742,6 +7863,22 @@ def auto_recovery(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "auto_recovery", value) +if not MYPY: + class LaunchTemplateMemoryGiBPerVCpuArgsDict(TypedDict): + """ + The minimum and maximum amount of memory per vCPU, in GiB. + """ + max: NotRequired[pulumi.Input[float]] + """ + The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this parameter. + """ +elif False: + LaunchTemplateMemoryGiBPerVCpuArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateMemoryGiBPerVCpuArgs: def __init__(__self__, *, @@ -5782,9 +7919,25 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) -@pulumi.input_type -class LaunchTemplateMemoryMiBArgs: - def __init__(__self__, *, +if not MYPY: + class LaunchTemplateMemoryMiBArgsDict(TypedDict): + """ + The minimum and maximum amount of memory, in MiB. + """ + max: NotRequired[pulumi.Input[int]] + """ + The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum amount of memory, in MiB. To specify no minimum limit, specify ``0``. + """ +elif False: + LaunchTemplateMemoryMiBArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class LaunchTemplateMemoryMiBArgs: + def __init__(__self__, *, max: Optional[pulumi.Input[int]] = None, min: Optional[pulumi.Input[int]] = None): """ @@ -5822,6 +7975,44 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class LaunchTemplateMetadataOptionsArgsDict(TypedDict): + """ + The metadata options for the instance. For more information, see [Instance metadata and user data](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html) in the *Amazon EC2 User Guide*. + ``MetadataOptions`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + http_endpoint: NotRequired[pulumi.Input[str]] + """ + Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is ``enabled``. + If you specify a value of ``disabled``, you will not be able to access your instance metadata. + """ + http_protocol_ipv6: NotRequired[pulumi.Input[str]] + """ + Enables or disables the IPv6 endpoint for the instance metadata service. + Default: ``disabled`` + """ + http_put_response_hop_limit: NotRequired[pulumi.Input[int]] + """ + The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel. + Default: ``1`` + Possible values: Integers from 1 to 64 + """ + http_tokens: NotRequired[pulumi.Input[str]] + """ + Indicates whether IMDSv2 is required. + + ``optional`` - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials. + + ``required`` - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available. + + Default: If the value of ``ImdsSupport`` for the Amazon Machine Image (AMI) for your instance is ``v2.0``, the default is ``required``. + """ + instance_metadata_tags: NotRequired[pulumi.Input[str]] + """ + Set to ``enabled`` to allow access to instance tags from the instance metadata. Set to ``disabled`` to turn off access to instance tags from the instance metadata. For more information, see [Work with instance tags using the instance metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS). + Default: ``disabled`` + """ +elif False: + LaunchTemplateMetadataOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateMetadataOptionsArgs: def __init__(__self__, *, @@ -5929,6 +8120,19 @@ def instance_metadata_tags(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_metadata_tags", value) +if not MYPY: + class LaunchTemplateMonitoringArgsDict(TypedDict): + """ + Specifies whether detailed monitoring is enabled for an instance. For more information about detailed monitoring, see [Enable or turn off detailed monitoring for your instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html) in the *User Guide*. + ``Monitoring`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Specify ``true`` to enable detailed monitoring. Otherwise, basic monitoring is enabled. + """ +elif False: + LaunchTemplateMonitoringArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateMonitoringArgs: def __init__(__self__, *, @@ -5954,6 +8158,23 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class LaunchTemplateNetworkBandwidthGbpsArgsDict(TypedDict): + """ + The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps). + Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see [Available instance bandwidth](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth) in the *Amazon EC2 User Guide*. + """ + max: NotRequired[pulumi.Input[float]] + """ + The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no minimum limit. + """ +elif False: + LaunchTemplateNetworkBandwidthGbpsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateNetworkBandwidthGbpsArgs: def __init__(__self__, *, @@ -5995,6 +8216,22 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class LaunchTemplateNetworkInterfaceCountArgsDict(TypedDict): + """ + The minimum and maximum number of network interfaces. + """ + max: NotRequired[pulumi.Input[int]] + """ + The maximum number of network interfaces. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum number of network interfaces. To specify no minimum limit, omit this parameter. + """ +elif False: + LaunchTemplateNetworkInterfaceCountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateNetworkInterfaceCountArgs: def __init__(__self__, *, @@ -6035,6 +8272,107 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class LaunchTemplateNetworkInterfaceArgsDict(TypedDict): + """ + Specifies the parameters for a network interface. + ``NetworkInterface`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + associate_carrier_ip_address: NotRequired[pulumi.Input[bool]] + """ + Associates a Carrier IP address with eth0 for a new network interface. + Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see [Carrier IP addresses](https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip) in the *Developer Guide*. + """ + associate_public_ip_address: NotRequired[pulumi.Input[bool]] + """ + Associates a public IPv4 address with eth0 for a new network interface. + AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the *Public IPv4 Address* tab on the [Amazon VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/). + """ + connection_tracking_specification: NotRequired[pulumi.Input['LaunchTemplateConnectionTrackingSpecificationArgsDict']] + """ + A connection tracking specification for the network interface. + """ + delete_on_termination: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the network interface is deleted when the instance is terminated. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description for the network interface. + """ + device_index: NotRequired[pulumi.Input[int]] + """ + The device index for the network interface attachment. Each network interface requires a device index. If you create a launch template that includes secondary network interfaces but not a primary network interface, then you must add a primary network interface as a launch parameter when you launch an instance from the template. + """ + ena_srd_specification: NotRequired[pulumi.Input['LaunchTemplateEnaSrdSpecificationArgsDict']] + """ + The ENA Express configuration for the network interface. + """ + groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The IDs of one or more security groups. + """ + interface_type: NotRequired[pulumi.Input[str]] + """ + The type of network interface. To create an Elastic Fabric Adapter (EFA), specify ``efa``. For more information, see [Elastic Fabric Adapter](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html) in the *Amazon EC2 User Guide*. + If you are not creating an EFA, specify ``interface`` or omit this parameter. + Valid values: ``interface`` | ``efa`` + """ + ipv4_prefix_count: NotRequired[pulumi.Input[int]] + """ + The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the ``Ipv4Prefix`` option. + """ + ipv4_prefixes: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateIpv4PrefixSpecificationArgsDict']]]] + """ + One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the ``Ipv4PrefixCount`` option. + """ + ipv6_address_count: NotRequired[pulumi.Input[int]] + """ + The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses. + """ + ipv6_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateIpv6AddArgsDict']]]] + """ + One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses. + """ + ipv6_prefix_count: NotRequired[pulumi.Input[int]] + """ + The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the ``Ipv6Prefix`` option. + """ + ipv6_prefixes: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateIpv6PrefixSpecificationArgsDict']]]] + """ + One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the ``Ipv6PrefixCount`` option. + """ + network_card_index: NotRequired[pulumi.Input[int]] + """ + The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0. + """ + network_interface_id: NotRequired[pulumi.Input[str]] + """ + The ID of the network interface. + """ + primary_ipv6: NotRequired[pulumi.Input[bool]] + """ + The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html). + """ + private_ip_address: NotRequired[pulumi.Input[str]] + """ + The primary private IPv4 address of the network interface. + """ + private_ip_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchTemplatePrivateIpAddArgsDict']]]] + """ + One or more private IPv4 addresses. + """ + secondary_private_ip_address_count: NotRequired[pulumi.Input[int]] + """ + The number of secondary private IPv4 addresses to assign to a network interface. + """ + subnet_id: NotRequired[pulumi.Input[str]] + """ + The ID of the subnet for the network interface. + """ +elif False: + LaunchTemplateNetworkInterfaceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateNetworkInterfaceArgs: def __init__(__self__, *, @@ -6404,6 +8742,51 @@ def subnet_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "subnet_id", value) +if not MYPY: + class LaunchTemplatePlacementArgsDict(TypedDict): + """ + Specifies the placement of an instance. + ``Placement`` is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + affinity: NotRequired[pulumi.Input[str]] + """ + The affinity setting for an instance on a Dedicated Host. + """ + availability_zone: NotRequired[pulumi.Input[str]] + """ + The Availability Zone for the instance. + """ + group_id: NotRequired[pulumi.Input[str]] + """ + The Group Id of a placement group. You must specify the Placement Group *Group Id* to launch an instance in a shared placement group. + """ + group_name: NotRequired[pulumi.Input[str]] + """ + The name of the placement group for the instance. + """ + host_id: NotRequired[pulumi.Input[str]] + """ + The ID of the Dedicated Host for the instance. + """ + host_resource_group_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the *Tenancy* parameter or set it to ``host``. + """ + partition_number: NotRequired[pulumi.Input[int]] + """ + The number of the partition the instance should launch in. Valid only if the placement group strategy is set to ``partition``. + """ + spread_domain: NotRequired[pulumi.Input[str]] + """ + Reserved for future use. + """ + tenancy: NotRequired[pulumi.Input[str]] + """ + The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware. + """ +elif False: + LaunchTemplatePlacementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplatePlacementArgs: def __init__(__self__, *, @@ -6557,6 +8940,26 @@ def tenancy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tenancy", value) +if not MYPY: + class LaunchTemplatePrivateDnsNameOptionsArgsDict(TypedDict): + """ + The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries should be handled. For more information, see [Amazon EC2 instance hostname types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) in the *User Guide*. + """ + enable_resource_name_dns_a_record: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to respond to DNS queries for instance hostnames with DNS A records. + """ + enable_resource_name_dns_aaaa_record: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. + """ + hostname_type: NotRequired[pulumi.Input[str]] + """ + The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see [Amazon EC2 instance hostname types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) in the *User Guide*. + """ +elif False: + LaunchTemplatePrivateDnsNameOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplatePrivateDnsNameOptionsArgs: def __init__(__self__, *, @@ -6613,6 +9016,23 @@ def hostname_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hostname_type", value) +if not MYPY: + class LaunchTemplatePrivateIpAddArgsDict(TypedDict): + """ + Specifies a secondary private IPv4 address for a network interface. + ``PrivateIpAdd`` is a property of [AWS::EC2::LaunchTemplate NetworkInterface](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html). + """ + primary: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary. + """ + private_ip_address: NotRequired[pulumi.Input[str]] + """ + The private IPv4 address. + """ +elif False: + LaunchTemplatePrivateIpAddArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplatePrivateIpAddArgs: def __init__(__self__, *, @@ -6654,6 +9074,41 @@ def private_ip_address(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "private_ip_address", value) +if not MYPY: + class LaunchTemplateSpotOptionsArgsDict(TypedDict): + """ + Specifies options for Spot Instances. + ``SpotOptions`` is a property of [AWS::EC2::LaunchTemplate InstanceMarketOptions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata-instancemarketoptions.html). + """ + block_duration_minutes: NotRequired[pulumi.Input[int]] + """ + Deprecated. + """ + instance_interruption_behavior: NotRequired[pulumi.Input[str]] + """ + The behavior when a Spot Instance is interrupted. The default is ``terminate``. + """ + max_price: NotRequired[pulumi.Input[str]] + """ + The maximum hourly price you're willing to pay for the Spot Instances. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. + If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter. + """ + spot_instance_type: NotRequired[pulumi.Input[str]] + """ + The Spot Instance request type. + If you are using Spot Instances with an Auto Scaling group, use ``one-time`` requests, as the ASlong service handles requesting new Spot Instances whenever the group is below its desired capacity. + """ + valid_until: NotRequired[pulumi.Input[str]] + """ + The end date of the request, in UTC format (*YYYY-MM-DD*T*HH:MM:SS*Z). Supported only for persistent requests. + + For a persistent request, the request remains active until the ``ValidUntil`` date and time is reached. Otherwise, the request remains active until you cancel it. + + For a one-time request, ``ValidUntil`` is not supported. The request remains active until all instances launch or you cancel the request. + + Default: 7 days from the current date + """ +elif False: + LaunchTemplateSpotOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateSpotOptionsArgs: def __init__(__self__, *, @@ -6755,6 +9210,23 @@ def valid_until(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "valid_until", value) +if not MYPY: + class LaunchTemplateTagSpecificationArgsDict(TypedDict): + """ + Specifies the tags to apply to the launch template during creation. + ``LaunchTemplateTagSpecification`` is a property of [AWS::EC2::LaunchTemplate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html). + """ + resource_type: NotRequired[pulumi.Input[str]] + """ + The type of resource. To tag a launch template, ``ResourceType`` must be ``launch-template``. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateTagArgsDict']]]] + """ + The tags for the resource. + """ +elif False: + LaunchTemplateTagSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateTagSpecificationArgs: def __init__(__self__, *, @@ -6796,6 +9268,22 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LaunchTemplat pulumi.set(self, "tags", value) +if not MYPY: + class LaunchTemplateTagArgsDict(TypedDict): + """ + Specifies a tag. For more information, see [Resource tags](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html). + """ + key: pulumi.Input[str] + """ + The tag key. + """ + value: pulumi.Input[str] + """ + The tag value. + """ +elif False: + LaunchTemplateTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateTagArgs: def __init__(__self__, *, @@ -6834,15 +9322,31 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) -@pulumi.input_type -class LaunchTemplateTotalLocalStorageGbArgs: - def __init__(__self__, *, - max: Optional[pulumi.Input[float]] = None, - min: Optional[pulumi.Input[float]] = None): +if not MYPY: + class LaunchTemplateTotalLocalStorageGbArgsDict(TypedDict): """ The minimum and maximum amount of total local storage, in GB. - :param pulumi.Input[float] max: The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter. - :param pulumi.Input[float] min: The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter. + """ + max: NotRequired[pulumi.Input[float]] + """ + The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter. + """ +elif False: + LaunchTemplateTotalLocalStorageGbArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class LaunchTemplateTotalLocalStorageGbArgs: + def __init__(__self__, *, + max: Optional[pulumi.Input[float]] = None, + min: Optional[pulumi.Input[float]] = None): + """ + The minimum and maximum amount of total local storage, in GB. + :param pulumi.Input[float] max: The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter. + :param pulumi.Input[float] min: The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter. """ if max is not None: pulumi.set(__self__, "max", max) @@ -6874,6 +9378,22 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class LaunchTemplateVCpuCountArgsDict(TypedDict): + """ + The minimum and maximum number of vCPUs. + """ + max: NotRequired[pulumi.Input[int]] + """ + The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum number of vCPUs. To specify no minimum limit, specify ``0``. + """ +elif False: + LaunchTemplateVCpuCountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchTemplateVCpuCountArgs: def __init__(__self__, *, @@ -6914,6 +9434,23 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class NetworkInsightsAccessScopeAccessScopePathRequestArgsDict(TypedDict): + destination: NotRequired[pulumi.Input['NetworkInsightsAccessScopePathStatementRequestArgsDict']] + """ + The destination. + """ + source: NotRequired[pulumi.Input['NetworkInsightsAccessScopePathStatementRequestArgsDict']] + """ + The source. + """ + through_resources: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkInsightsAccessScopeThroughResourcesStatementRequestArgsDict']]]] + """ + The through resources. + """ +elif False: + NetworkInsightsAccessScopeAccessScopePathRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInsightsAccessScopeAccessScopePathRequestArgs: def __init__(__self__, *, @@ -6969,6 +9506,39 @@ def through_resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "through_resources", value) +if not MYPY: + class NetworkInsightsAccessScopePacketHeaderStatementRequestArgsDict(TypedDict): + destination_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The destination addresses. + """ + destination_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The destination ports. + """ + destination_prefix_lists: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The destination prefix lists. + """ + protocols: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkInsightsAccessScopeProtocol']]]] + """ + The protocols. + """ + source_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The source addresses. + """ + source_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The source ports. + """ + source_prefix_lists: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The source prefix lists. + """ +elif False: + NetworkInsightsAccessScopePacketHeaderStatementRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInsightsAccessScopePacketHeaderStatementRequestArgs: def __init__(__self__, *, @@ -7088,6 +9658,19 @@ def source_prefix_lists(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "source_prefix_lists", value) +if not MYPY: + class NetworkInsightsAccessScopePathStatementRequestArgsDict(TypedDict): + packet_header_statement: NotRequired[pulumi.Input['NetworkInsightsAccessScopePacketHeaderStatementRequestArgsDict']] + """ + The packet header statement. + """ + resource_statement: NotRequired[pulumi.Input['NetworkInsightsAccessScopeResourceStatementRequestArgsDict']] + """ + The resource statement. + """ +elif False: + NetworkInsightsAccessScopePathStatementRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInsightsAccessScopePathStatementRequestArgs: def __init__(__self__, *, @@ -7127,6 +9710,19 @@ def resource_statement(self, value: Optional[pulumi.Input['NetworkInsightsAccess pulumi.set(self, "resource_statement", value) +if not MYPY: + class NetworkInsightsAccessScopeResourceStatementRequestArgsDict(TypedDict): + resource_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The resource types. + """ + resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The resources. + """ +elif False: + NetworkInsightsAccessScopeResourceStatementRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInsightsAccessScopeResourceStatementRequestArgs: def __init__(__self__, *, @@ -7166,6 +9762,15 @@ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "resources", value) +if not MYPY: + class NetworkInsightsAccessScopeThroughResourcesStatementRequestArgsDict(TypedDict): + resource_statement: NotRequired[pulumi.Input['NetworkInsightsAccessScopeResourceStatementRequestArgsDict']] + """ + The resource statement. + """ +elif False: + NetworkInsightsAccessScopeThroughResourcesStatementRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInsightsAccessScopeThroughResourcesStatementRequestArgs: def __init__(__self__, *, @@ -7189,6 +9794,19 @@ def resource_statement(self, value: Optional[pulumi.Input['NetworkInsightsAccess pulumi.set(self, "resource_statement", value) +if not MYPY: + class NetworkInsightsPathFilterPortRangeArgsDict(TypedDict): + from_port: NotRequired[pulumi.Input[int]] + """ + The first port in the range. + """ + to_port: NotRequired[pulumi.Input[int]] + """ + The last port in the range. + """ +elif False: + NetworkInsightsPathFilterPortRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInsightsPathFilterPortRangeArgs: def __init__(__self__, *, @@ -7228,6 +9846,27 @@ def to_port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "to_port", value) +if not MYPY: + class NetworkInsightsPathPathFilterArgsDict(TypedDict): + destination_address: NotRequired[pulumi.Input[str]] + """ + The destination IPv4 address. + """ + destination_port_range: NotRequired[pulumi.Input['NetworkInsightsPathFilterPortRangeArgsDict']] + """ + The destination port range. + """ + source_address: NotRequired[pulumi.Input[str]] + """ + The source IPv4 address. + """ + source_port_range: NotRequired[pulumi.Input['NetworkInsightsPathFilterPortRangeArgsDict']] + """ + The source port range. + """ +elif False: + NetworkInsightsPathPathFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInsightsPathPathFilterArgs: def __init__(__self__, *, @@ -7299,6 +9938,15 @@ def source_port_range(self, value: Optional[pulumi.Input['NetworkInsightsPathFil pulumi.set(self, "source_port_range", value) +if not MYPY: + class NetworkInterfaceAttachmentEnaSrdSpecificationEnaSrdUdpSpecificationPropertiesArgsDict(TypedDict): + """ + Configures ENA Express for UDP network traffic. + """ + ena_srd_udp_enabled: NotRequired[pulumi.Input[bool]] +elif False: + NetworkInterfaceAttachmentEnaSrdSpecificationEnaSrdUdpSpecificationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInterfaceAttachmentEnaSrdSpecificationEnaSrdUdpSpecificationPropertiesArgs: def __init__(__self__, *, @@ -7319,6 +9967,23 @@ def ena_srd_udp_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "ena_srd_udp_enabled", value) +if not MYPY: + class NetworkInterfaceAttachmentEnaSrdSpecificationArgsDict(TypedDict): + """ + ENA Express uses AWS Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled. + To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it. + """ + ena_srd_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether ENA Express is enabled for the network interface. + """ + ena_srd_udp_specification: NotRequired[pulumi.Input['NetworkInterfaceAttachmentEnaSrdSpecificationEnaSrdUdpSpecificationPropertiesArgsDict']] + """ + Configures ENA Express for UDP network traffic. + """ +elif False: + NetworkInterfaceAttachmentEnaSrdSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInterfaceAttachmentEnaSrdSpecificationArgs: def __init__(__self__, *, @@ -7360,6 +10025,23 @@ def ena_srd_udp_specification(self, value: Optional[pulumi.Input['NetworkInterfa pulumi.set(self, "ena_srd_udp_specification", value) +if not MYPY: + class NetworkInterfaceConnectionTrackingSpecificationArgsDict(TypedDict): + tcp_established_timeout: NotRequired[pulumi.Input[int]] + """ + Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds. + """ + udp_stream_timeout: NotRequired[pulumi.Input[int]] + """ + Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds. + """ + udp_timeout: NotRequired[pulumi.Input[int]] + """ + Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds. + """ +elif False: + NetworkInterfaceConnectionTrackingSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInterfaceConnectionTrackingSpecificationArgs: def __init__(__self__, *, @@ -7415,6 +10097,15 @@ def udp_timeout(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "udp_timeout", value) +if not MYPY: + class NetworkInterfaceInstanceIpv6AddressArgsDict(TypedDict): + ipv6_address: pulumi.Input[str] + """ + An IPv6 address to associate with the network interface. + """ +elif False: + NetworkInterfaceInstanceIpv6AddressArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInterfaceInstanceIpv6AddressArgs: def __init__(__self__, *, @@ -7437,6 +10128,15 @@ def ipv6_address(self, value: pulumi.Input[str]): pulumi.set(self, "ipv6_address", value) +if not MYPY: + class NetworkInterfaceIpv4PrefixSpecificationArgsDict(TypedDict): + ipv4_prefix: pulumi.Input[str] + """ + The IPv4 prefix. For information, see [Assigning prefixes to network interfaces](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html) in the *Amazon EC2 User Guide* . + """ +elif False: + NetworkInterfaceIpv4PrefixSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInterfaceIpv4PrefixSpecificationArgs: def __init__(__self__, *, @@ -7459,6 +10159,15 @@ def ipv4_prefix(self, value: pulumi.Input[str]): pulumi.set(self, "ipv4_prefix", value) +if not MYPY: + class NetworkInterfaceIpv6PrefixSpecificationArgsDict(TypedDict): + ipv6_prefix: pulumi.Input[str] + """ + The IPv6 prefix. For information, see [Assigning prefixes to Amazon EC2 network interfaces](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html) in the *Amazon Elastic Compute Cloud User Guide* . + """ +elif False: + NetworkInterfaceIpv6PrefixSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInterfaceIpv6PrefixSpecificationArgs: def __init__(__self__, *, @@ -7481,6 +10190,19 @@ def ipv6_prefix(self, value: pulumi.Input[str]): pulumi.set(self, "ipv6_prefix", value) +if not MYPY: + class NetworkInterfacePrivateIpAddressSpecificationArgsDict(TypedDict): + primary: pulumi.Input[bool] + """ + Sets the private IP address as the primary private address. You can set only one primary private IP address. If you don't specify a primary private IP address, Amazon EC2 automatically assigns a primary private IP address. + """ + private_ip_address: pulumi.Input[str] + """ + The private IP address of the network interface. + """ +elif False: + NetworkInterfacePrivateIpAddressSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkInterfacePrivateIpAddressSpecificationArgs: def __init__(__self__, *, @@ -7518,6 +10240,30 @@ def private_ip_address(self, value: pulumi.Input[str]): pulumi.set(self, "private_ip_address", value) +if not MYPY: + class OptionsPropertiesArgsDict(TypedDict): + """ + The options for the transit gateway vpc attachment. + """ + appliance_mode_support: NotRequired[pulumi.Input[str]] + """ + Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable + """ + dns_support: NotRequired[pulumi.Input[str]] + """ + Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable + """ + ipv6_support: NotRequired[pulumi.Input[str]] + """ + Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable + """ + security_group_referencing_support: NotRequired[pulumi.Input[str]] + """ + Indicates whether to enable Security Group referencing support for Vpc Attachment. Valid values: enable | disable + """ +elif False: + OptionsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OptionsPropertiesArgs: def __init__(__self__, *, @@ -7590,6 +10336,21 @@ def security_group_referencing_support(self, value: Optional[pulumi.Input[str]]) pulumi.set(self, "security_group_referencing_support", value) +if not MYPY: + class PrefixListEntryArgsDict(TypedDict): + cidr: pulumi.Input[str] + """ + The CIDR block. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description for the entry. + + Constraints: Up to 255 characters in length. + """ +elif False: + PrefixListEntryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrefixListEntryArgs: def __init__(__self__, *, @@ -7632,6 +10393,30 @@ def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) +if not MYPY: + class PrivateDnsNameOptionsOnLaunchPropertiesArgsDict(TypedDict): + """ + The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries to the instances should be handled. For more information, see [Amazon EC2 instance hostname types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html) in the *User Guide*. + Available options: + + EnableResourceNameDnsAAAARecord (true | false) + + EnableResourceNameDnsARecord (true | false) + + HostnameType (ip-name | resource-name) + """ + enable_resource_name_dns_a_record: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to respond to DNS queries for instance hostnames with DNS A records. + """ + enable_resource_name_dns_aaaa_record: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to respond to DNS queries for instance hostname with DNS AAAA records. + """ + hostname_type: NotRequired[pulumi.Input[str]] + """ + The type of hostname for EC2 instances. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. + """ +elif False: + PrivateDnsNameOptionsOnLaunchPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrivateDnsNameOptionsOnLaunchPropertiesArgs: def __init__(__self__, *, @@ -7692,6 +10477,59 @@ def hostname_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hostname_type", value) +if not MYPY: + class SecurityGroupEgressArgsDict(TypedDict): + ip_protocol: pulumi.Input[str] + """ + The IP protocol name ( `tcp` , `udp` , `icmp` , `icmpv6` ) or number (see [Protocol Numbers](https://docs.aws.amazon.com/http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) ). + + Use `-1` to specify all protocols. When authorizing security group rules, specifying `-1` or a protocol number other than `tcp` , `udp` , `icmp` , or `icmpv6` allows traffic on all ports, regardless of any port range you specify. For `tcp` , `udp` , and `icmp` , you must specify a port range. For `icmpv6` , the port range is optional; if you omit the port range, traffic for all types and codes is allowed. + """ + cidr_ip: NotRequired[pulumi.Input[str]] + """ + The IPv4 address range, in CIDR format. + + You must specify exactly one of the following: `CidrIp` , `CidrIpv6` , `DestinationPrefixListId` , or `DestinationSecurityGroupId` . + + For examples of rules that you can add to security groups for specific access scenarios, see [Security group rules for different use cases](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html) in the *Amazon EC2 User Guide* . + """ + cidr_ipv6: NotRequired[pulumi.Input[str]] + """ + The IPv6 address range, in CIDR format. + + You must specify exactly one of the following: `CidrIp` , `CidrIpv6` , `DestinationPrefixListId` , or `DestinationSecurityGroupId` . + + For examples of rules that you can add to security groups for specific access scenarios, see [Security group rules for different use cases](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html) in the *Amazon EC2 User Guide* . + """ + description: NotRequired[pulumi.Input[str]] + """ + A description for the security group rule. + + Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* + """ + destination_prefix_list_id: NotRequired[pulumi.Input[str]] + """ + The prefix list IDs for the destination AWS service. This is the AWS service that you want to access through a VPC endpoint from instances associated with the security group. + + You must specify exactly one of the following: `CidrIp` , `CidrIpv6` , `DestinationPrefixListId` , or `DestinationSecurityGroupId` . + """ + destination_security_group_id: NotRequired[pulumi.Input[str]] + """ + The ID of the destination VPC security group. + + You must specify exactly one of the following: `CidrIp` , `CidrIpv6` , `DestinationPrefixListId` , or `DestinationSecurityGroupId` . + """ + from_port: NotRequired[pulumi.Input[int]] + """ + If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types). + """ + to_port: NotRequired[pulumi.Input[int]] + """ + If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes). If the start port is -1 (all ICMP types), then the end port must be -1 (all ICMP codes). + """ +elif False: + SecurityGroupEgressArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityGroupEgressArgs: def __init__(__self__, *, @@ -7858,39 +10696,100 @@ def to_port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "to_port", value) -@pulumi.input_type -class SecurityGroupIngressArgs: - def __init__(__self__, *, - ip_protocol: pulumi.Input[str], - cidr_ip: Optional[pulumi.Input[str]] = None, - cidr_ipv6: Optional[pulumi.Input[str]] = None, - description: Optional[pulumi.Input[str]] = None, - from_port: Optional[pulumi.Input[int]] = None, - source_prefix_list_id: Optional[pulumi.Input[str]] = None, - source_security_group_id: Optional[pulumi.Input[str]] = None, - source_security_group_name: Optional[pulumi.Input[str]] = None, - source_security_group_owner_id: Optional[pulumi.Input[str]] = None, - to_port: Optional[pulumi.Input[int]] = None): +if not MYPY: + class SecurityGroupIngressArgsDict(TypedDict): + ip_protocol: pulumi.Input[str] """ - :param pulumi.Input[str] ip_protocol: The IP protocol name ( `tcp` , `udp` , `icmp` , `icmpv6` ) or number (see [Protocol Numbers](https://docs.aws.amazon.com/http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) ). - - Use `-1` to specify all protocols. When authorizing security group rules, specifying `-1` or a protocol number other than `tcp` , `udp` , `icmp` , or `icmpv6` allows traffic on all ports, regardless of any port range you specify. For `tcp` , `udp` , and `icmp` , you must specify a port range. For `icmpv6` , the port range is optional; if you omit the port range, traffic for all types and codes is allowed. - :param pulumi.Input[str] cidr_ip: The IPv4 address range, in CIDR format. - - You must specify exactly one of the following: `CidrIp` , `CidrIpv6` , `SourcePrefixListId` , or `SourceSecurityGroupId` . - - For examples of rules that you can add to security groups for specific access scenarios, see [Security group rules for different use cases](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html) in the *Amazon EC2 User Guide* . - :param pulumi.Input[str] cidr_ipv6: The IPv6 address range, in CIDR format. - - You must specify exactly one of the following: `CidrIp` , `CidrIpv6` , `SourcePrefixListId` , or `SourceSecurityGroupId` . - - For examples of rules that you can add to security groups for specific access scenarios, see [Security group rules for different use cases](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html) in the *Amazon EC2 User Guide* . - :param pulumi.Input[str] description: Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously. - - Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* - :param pulumi.Input[int] from_port: If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types). - :param pulumi.Input[str] source_prefix_list_id: The ID of a prefix list. - :param pulumi.Input[str] source_security_group_id: The ID of the security group. + The IP protocol name ( `tcp` , `udp` , `icmp` , `icmpv6` ) or number (see [Protocol Numbers](https://docs.aws.amazon.com/http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) ). + + Use `-1` to specify all protocols. When authorizing security group rules, specifying `-1` or a protocol number other than `tcp` , `udp` , `icmp` , or `icmpv6` allows traffic on all ports, regardless of any port range you specify. For `tcp` , `udp` , and `icmp` , you must specify a port range. For `icmpv6` , the port range is optional; if you omit the port range, traffic for all types and codes is allowed. + """ + cidr_ip: NotRequired[pulumi.Input[str]] + """ + The IPv4 address range, in CIDR format. + + You must specify exactly one of the following: `CidrIp` , `CidrIpv6` , `SourcePrefixListId` , or `SourceSecurityGroupId` . + + For examples of rules that you can add to security groups for specific access scenarios, see [Security group rules for different use cases](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html) in the *Amazon EC2 User Guide* . + """ + cidr_ipv6: NotRequired[pulumi.Input[str]] + """ + The IPv6 address range, in CIDR format. + + You must specify exactly one of the following: `CidrIp` , `CidrIpv6` , `SourcePrefixListId` , or `SourceSecurityGroupId` . + + For examples of rules that you can add to security groups for specific access scenarios, see [Security group rules for different use cases](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html) in the *Amazon EC2 User Guide* . + """ + description: NotRequired[pulumi.Input[str]] + """ + Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously. + + Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* + """ + from_port: NotRequired[pulumi.Input[int]] + """ + If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types). + """ + source_prefix_list_id: NotRequired[pulumi.Input[str]] + """ + The ID of a prefix list. + """ + source_security_group_id: NotRequired[pulumi.Input[str]] + """ + The ID of the security group. + """ + source_security_group_name: NotRequired[pulumi.Input[str]] + """ + [Default VPC] The name of the source security group. You must specify either the security group ID or the security group name. You can't specify the group name in combination with an IP address range. Creates rules that grant full ICMP, UDP, and TCP access. + + For security groups in a nondefault VPC, you must specify the group ID. + """ + source_security_group_owner_id: NotRequired[pulumi.Input[str]] + """ + [nondefault VPC] The AWS account ID for the source security group, if the source security group is in a different account. You can't specify this property with an IP address range. Creates rules that grant full ICMP, UDP, and TCP access. + + If you specify `SourceSecurityGroupName` or `SourceSecurityGroupId` and that security group is owned by a different account than the account creating the stack, you must specify the `SourceSecurityGroupOwnerId` ; otherwise, this property is optional. + """ + to_port: NotRequired[pulumi.Input[int]] + """ + If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all ICMP codes). If the start port is -1 (all ICMP types), then the end port must be -1 (all ICMP codes). + """ +elif False: + SecurityGroupIngressArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SecurityGroupIngressArgs: + def __init__(__self__, *, + ip_protocol: pulumi.Input[str], + cidr_ip: Optional[pulumi.Input[str]] = None, + cidr_ipv6: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + from_port: Optional[pulumi.Input[int]] = None, + source_prefix_list_id: Optional[pulumi.Input[str]] = None, + source_security_group_id: Optional[pulumi.Input[str]] = None, + source_security_group_name: Optional[pulumi.Input[str]] = None, + source_security_group_owner_id: Optional[pulumi.Input[str]] = None, + to_port: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[str] ip_protocol: The IP protocol name ( `tcp` , `udp` , `icmp` , `icmpv6` ) or number (see [Protocol Numbers](https://docs.aws.amazon.com/http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml) ). + + Use `-1` to specify all protocols. When authorizing security group rules, specifying `-1` or a protocol number other than `tcp` , `udp` , `icmp` , or `icmpv6` allows traffic on all ports, regardless of any port range you specify. For `tcp` , `udp` , and `icmp` , you must specify a port range. For `icmpv6` , the port range is optional; if you omit the port range, traffic for all types and codes is allowed. + :param pulumi.Input[str] cidr_ip: The IPv4 address range, in CIDR format. + + You must specify exactly one of the following: `CidrIp` , `CidrIpv6` , `SourcePrefixListId` , or `SourceSecurityGroupId` . + + For examples of rules that you can add to security groups for specific access scenarios, see [Security group rules for different use cases](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html) in the *Amazon EC2 User Guide* . + :param pulumi.Input[str] cidr_ipv6: The IPv6 address range, in CIDR format. + + You must specify exactly one of the following: `CidrIp` , `CidrIpv6` , `SourcePrefixListId` , or `SourceSecurityGroupId` . + + For examples of rules that you can add to security groups for specific access scenarios, see [Security group rules for different use cases](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html) in the *Amazon EC2 User Guide* . + :param pulumi.Input[str] description: Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously. + + Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$* + :param pulumi.Input[int] from_port: If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all ICMP types). + :param pulumi.Input[str] source_prefix_list_id: The ID of a prefix list. + :param pulumi.Input[str] source_security_group_id: The ID of the security group. :param pulumi.Input[str] source_security_group_name: [Default VPC] The name of the source security group. You must specify either the security group ID or the security group name. You can't specify the group name in combination with an IP address range. Creates rules that grant full ICMP, UDP, and TCP access. For security groups in a nondefault VPC, you must specify the group ID. @@ -8056,6 +10955,19 @@ def to_port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "to_port", value) +if not MYPY: + class SpotFleetAcceleratorCountRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set `Max` to `0` . + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum number of accelerators. To specify no minimum limit, omit this parameter. + """ +elif False: + SpotFleetAcceleratorCountRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetAcceleratorCountRequestArgs: def __init__(__self__, *, @@ -8095,6 +11007,19 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class SpotFleetAcceleratorTotalMemoryMiBRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this parameter. + """ +elif False: + SpotFleetAcceleratorTotalMemoryMiBRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetAcceleratorTotalMemoryMiBRequestArgs: def __init__(__self__, *, @@ -8134,6 +11059,19 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class SpotFleetBaselineEbsBandwidthMbpsRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter. + """ +elif False: + SpotFleetBaselineEbsBandwidthMbpsRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetBaselineEbsBandwidthMbpsRequestArgs: def __init__(__self__, *, @@ -8173,6 +11111,31 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class SpotFleetBlockDeviceMappingArgsDict(TypedDict): + device_name: pulumi.Input[str] + """ + The device name (for example, `/dev/sdh` or `xvdh` ). + """ + ebs: NotRequired[pulumi.Input['SpotFleetEbsBlockDeviceArgsDict']] + """ + Parameters used to automatically set up EBS volumes when the instance is launched. + """ + no_device: NotRequired[pulumi.Input[str]] + """ + To omit the device from the block device mapping, specify an empty string. When this property is specified, the device is removed from the block device mapping regardless of the assigned value. + """ + virtual_name: NotRequired[pulumi.Input[str]] + """ + The virtual device name ( `ephemeral` N). Instance store volumes are numbered starting from 0. An instance type with 2 available instance store volumes can specify mappings for `ephemeral0` and `ephemeral1` . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume. + + NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect. + + Constraints: For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI. + """ +elif False: + SpotFleetBlockDeviceMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetBlockDeviceMappingArgs: def __init__(__self__, *, @@ -8251,6 +11214,15 @@ def virtual_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "virtual_name", value) +if not MYPY: + class SpotFleetClassicLoadBalancersConfigArgsDict(TypedDict): + classic_load_balancers: pulumi.Input[Sequence[pulumi.Input['SpotFleetClassicLoadBalancerArgsDict']]] + """ + One or more Classic Load Balancers. + """ +elif False: + SpotFleetClassicLoadBalancersConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetClassicLoadBalancersConfigArgs: def __init__(__self__, *, @@ -8273,6 +11245,15 @@ def classic_load_balancers(self, value: pulumi.Input[Sequence[pulumi.Input['Spot pulumi.set(self, "classic_load_balancers", value) +if not MYPY: + class SpotFleetClassicLoadBalancerArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the load balancer. + """ +elif False: + SpotFleetClassicLoadBalancerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetClassicLoadBalancerArgs: def __init__(__self__, *, @@ -8295,6 +11276,59 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class SpotFleetEbsBlockDeviceArgsDict(TypedDict): + delete_on_termination: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the EBS volume is deleted on instance termination. For more information, see [Preserving Amazon EBS volumes on instance termination](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#preserving-volumes-on-termination) in the *Amazon EC2 User Guide* . + """ + encrypted: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the encryption state of an EBS volume is changed while being restored from a backing snapshot. The effect of setting the encryption state to `true` depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see [Amazon EBS Encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters) in the *Amazon EC2 User Guide* . + + In no case can you remove encryption from an encrypted volume. + + Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For more information, see [Supported Instance Types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances) . + + This parameter is not returned by [DescribeImageAttribute](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute.html) . + """ + iops: NotRequired[pulumi.Input[int]] + """ + The number of I/O operations per second (IOPS). For `gp3` , `io1` , and `io2` volumes, this represents the number of IOPS that are provisioned for the volume. For `gp2` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. + + The following are the supported values for each volume type: + + - `gp3` : 3,000 - 16,000 IOPS + - `io1` : 100 - 64,000 IOPS + - `io2` : 100 - 256,000 IOPS + + For `io2` volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances) . On other instances, you can achieve performance up to 32,000 IOPS. + + This parameter is required for `io1` and `io2` volumes. The default for `gp3` volumes is 3,000 IOPS. + """ + snapshot_id: NotRequired[pulumi.Input[str]] + """ + The ID of the snapshot. + """ + volume_size: NotRequired[pulumi.Input[int]] + """ + The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size. + + The following are the supported sizes for each volume type: + + - `gp2` and `gp3` : 1 - 16,384 GiB + - `io1` : 4 - 16,384 GiB + - `io2` : 4 - 65,536 GiB + - `st1` and `sc1` : 125 - 16,384 GiB + - `standard` : 1 - 1024 GiB + """ + volume_type: NotRequired[pulumi.Input['SpotFleetEbsBlockDeviceVolumeType']] + """ + The volume type. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) in the *Amazon EBS User Guide* . + """ +elif False: + SpotFleetEbsBlockDeviceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetEbsBlockDeviceArgs: def __init__(__self__, *, @@ -8446,6 +11480,29 @@ def volume_type(self, value: Optional[pulumi.Input['SpotFleetEbsBlockDeviceVolum pulumi.set(self, "volume_type", value) +if not MYPY: + class SpotFleetFleetLaunchTemplateSpecificationArgsDict(TypedDict): + version: pulumi.Input[str] + """ + The version number of the launch template. + + Specifying `$Latest` or `$Default` for the template version number is not supported. However, you can specify `LatestVersionNumber` or `DefaultVersionNumber` using the `Fn::GetAtt` intrinsic function. For more information, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html#aws-resource-ec2-launchtemplate-return-values-fn--getatt) . + """ + launch_template_id: NotRequired[pulumi.Input[str]] + """ + The ID of the launch template. + + You must specify the `LaunchTemplateId` or the `LaunchTemplateName` , but not both. + """ + launch_template_name: NotRequired[pulumi.Input[str]] + """ + The name of the launch template. + + You must specify the `LaunchTemplateName` or the `LaunchTemplateId` , but not both. + """ +elif False: + SpotFleetFleetLaunchTemplateSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetFleetLaunchTemplateSpecificationArgs: def __init__(__self__, *, @@ -8512,6 +11569,15 @@ def launch_template_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "launch_template_name", value) +if not MYPY: + class SpotFleetGroupIdentifierArgsDict(TypedDict): + group_id: pulumi.Input[str] + """ + The ID of the security group. + """ +elif False: + SpotFleetGroupIdentifierArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetGroupIdentifierArgs: def __init__(__self__, *, @@ -8534,6 +11600,15 @@ def group_id(self, value: pulumi.Input[str]): pulumi.set(self, "group_id", value) +if not MYPY: + class SpotFleetIamInstanceProfileSpecificationArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the instance profile. + """ +elif False: + SpotFleetIamInstanceProfileSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetIamInstanceProfileSpecificationArgs: def __init__(__self__, *, @@ -8557,6 +11632,15 @@ def arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "arn", value) +if not MYPY: + class SpotFleetInstanceIpv6AddressArgsDict(TypedDict): + ipv6_address: pulumi.Input[str] + """ + The IPv6 address. + """ +elif False: + SpotFleetInstanceIpv6AddressArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetInstanceIpv6AddressArgs: def __init__(__self__, *, @@ -8579,6 +11663,61 @@ def ipv6_address(self, value: pulumi.Input[str]): pulumi.set(self, "ipv6_address", value) +if not MYPY: + class SpotFleetInstanceNetworkInterfaceSpecificationArgsDict(TypedDict): + associate_public_ip_address: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is `true` . + + AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the *Public IPv4 Address* tab on the [Amazon VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/) . + """ + delete_on_termination: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the network interface is deleted when the instance is terminated. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the network interface. Applies only if creating a network interface when launching an instance. + """ + device_index: NotRequired[pulumi.Input[int]] + """ + The position of the network interface in the attachment order. A primary network interface has a device index of 0. + + If you specify a network interface when launching an instance, you must specify the device index. + """ + groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance. + """ + ipv6_address_count: NotRequired[pulumi.Input[int]] + """ + A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch. + """ + ipv6_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceIpv6AddressArgsDict']]]] + """ + The IPv6 addresses to assign to the network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch. + """ + network_interface_id: NotRequired[pulumi.Input[str]] + """ + The ID of the network interface. + + If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification. + """ + private_ip_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetPrivateIpAddressSpecificationArgsDict']]]] + """ + The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) request. + """ + secondary_private_ip_address_count: NotRequired[pulumi.Input[int]] + """ + The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) request. + """ + subnet_id: NotRequired[pulumi.Input[str]] + """ + The ID of the subnet associated with the network interface. + """ +elif False: + SpotFleetInstanceNetworkInterfaceSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetInstanceNetworkInterfaceSpecificationArgs: def __init__(__self__, *, @@ -8639,140 +11778,368 @@ def __init__(__self__, *, @pulumi.getter(name="associatePublicIpAddress") def associate_public_ip_address(self) -> Optional[pulumi.Input[bool]]: """ - Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is `true` . + Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is `true` . + + AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the *Public IPv4 Address* tab on the [Amazon VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/) . + """ + return pulumi.get(self, "associate_public_ip_address") + + @associate_public_ip_address.setter + def associate_public_ip_address(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "associate_public_ip_address", value) + + @property + @pulumi.getter(name="deleteOnTermination") + def delete_on_termination(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether the network interface is deleted when the instance is terminated. + """ + return pulumi.get(self, "delete_on_termination") + + @delete_on_termination.setter + def delete_on_termination(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "delete_on_termination", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description of the network interface. Applies only if creating a network interface when launching an instance. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="deviceIndex") + def device_index(self) -> Optional[pulumi.Input[int]]: + """ + The position of the network interface in the attachment order. A primary network interface has a device index of 0. + + If you specify a network interface when launching an instance, you must specify the device index. + """ + return pulumi.get(self, "device_index") + + @device_index.setter + def device_index(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "device_index", value) + + @property + @pulumi.getter + def groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance. + """ + return pulumi.get(self, "groups") + + @groups.setter + def groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "groups", value) + + @property + @pulumi.getter(name="ipv6AddressCount") + def ipv6_address_count(self) -> Optional[pulumi.Input[int]]: + """ + A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch. + """ + return pulumi.get(self, "ipv6_address_count") + + @ipv6_address_count.setter + def ipv6_address_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "ipv6_address_count", value) + + @property + @pulumi.getter(name="ipv6Addresses") + def ipv6_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceIpv6AddressArgs']]]]: + """ + The IPv6 addresses to assign to the network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch. + """ + return pulumi.get(self, "ipv6_addresses") + + @ipv6_addresses.setter + def ipv6_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceIpv6AddressArgs']]]]): + pulumi.set(self, "ipv6_addresses", value) + + @property + @pulumi.getter(name="networkInterfaceId") + def network_interface_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the network interface. + + If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification. + """ + return pulumi.get(self, "network_interface_id") + + @network_interface_id.setter + def network_interface_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "network_interface_id", value) + + @property + @pulumi.getter(name="privateIpAddresses") + def private_ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SpotFleetPrivateIpAddressSpecificationArgs']]]]: + """ + The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) request. + """ + return pulumi.get(self, "private_ip_addresses") + + @private_ip_addresses.setter + def private_ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SpotFleetPrivateIpAddressSpecificationArgs']]]]): + pulumi.set(self, "private_ip_addresses", value) + + @property + @pulumi.getter(name="secondaryPrivateIpAddressCount") + def secondary_private_ip_address_count(self) -> Optional[pulumi.Input[int]]: + """ + The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) request. + """ + return pulumi.get(self, "secondary_private_ip_address_count") + + @secondary_private_ip_address_count.setter + def secondary_private_ip_address_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "secondary_private_ip_address_count", value) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + The ID of the subnet associated with the network interface. + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_id", value) + + +if not MYPY: + class SpotFleetInstanceRequirementsRequestArgsDict(TypedDict): + accelerator_count: NotRequired[pulumi.Input['SpotFleetAcceleratorCountRequestArgsDict']] + """ + The minimum and maximum number of accelerators (GPUs, FPGAs, or AWS Inferentia chips) on an instance. + + To exclude accelerator-enabled instance types, set `Max` to `0` . + + Default: No minimum or maximum limits + """ + accelerator_manufacturers: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceRequirementsRequestAcceleratorManufacturersItem']]]] + """ + Indicates whether instance types must have accelerators by specific manufacturers. + + - For instance types with AWS devices, specify `amazon-web-services` . + - For instance types with AMD devices, specify `amd` . + - For instance types with Habana devices, specify `habana` . + - For instance types with NVIDIA devices, specify `nvidia` . + - For instance types with Xilinx devices, specify `xilinx` . + + Default: Any manufacturer + """ + accelerator_names: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceRequirementsRequestAcceleratorNamesItem']]]] + """ + The accelerators that must be on the instance type. + + - For instance types with NVIDIA A10G GPUs, specify `a10g` . + - For instance types with NVIDIA A100 GPUs, specify `a100` . + - For instance types with NVIDIA H100 GPUs, specify `h100` . + - For instance types with AWS Inferentia chips, specify `inferentia` . + - For instance types with NVIDIA GRID K520 GPUs, specify `k520` . + - For instance types with NVIDIA K80 GPUs, specify `k80` . + - For instance types with NVIDIA M60 GPUs, specify `m60` . + - For instance types with AMD Radeon Pro V520 GPUs, specify `radeon-pro-v520` . + - For instance types with NVIDIA T4 GPUs, specify `t4` . + - For instance types with NVIDIA T4G GPUs, specify `t4g` . + - For instance types with Xilinx VU9P FPGAs, specify `vu9p` . + - For instance types with NVIDIA V100 GPUs, specify `v100` . + + Default: Any accelerator + """ + accelerator_total_memory_mi_b: NotRequired[pulumi.Input['SpotFleetAcceleratorTotalMemoryMiBRequestArgsDict']] + """ + The minimum and maximum amount of total accelerator memory, in MiB. + + Default: No minimum or maximum limits + """ + accelerator_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceRequirementsRequestAcceleratorTypesItem']]]] + """ + The accelerator types that must be on the instance type. + + - To include instance types with GPU hardware, specify `gpu` . + - To include instance types with FPGA hardware, specify `fpga` . + + Default: Any accelerator type + """ + allowed_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. - AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the *Public IPv4 Address* tab on the [Amazon VPC pricing page](https://docs.aws.amazon.com/vpc/pricing/) . + You can use strings with one or more wild cards, represented by an asterisk ( `*` ), to allow an instance type, size, or generation. The following are examples: `m5.8xlarge` , `c5*.*` , `m5a.*` , `r*` , `*3*` . + + For example, if you specify `c5*` ,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*` , Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. + + > If you specify `AllowedInstanceTypes` , you can't specify `ExcludedInstanceTypes` . + + Default: All instance types """ - return pulumi.get(self, "associate_public_ip_address") + bare_metal: NotRequired[pulumi.Input['SpotFleetInstanceRequirementsRequestBareMetal']] + """ + Indicates whether bare metal instance types must be included, excluded, or required. - @associate_public_ip_address.setter - def associate_public_ip_address(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "associate_public_ip_address", value) + - To include bare metal instance types, specify `included` . + - To require only bare metal instance types, specify `required` . + - To exclude bare metal instance types, specify `excluded` . - @property - @pulumi.getter(name="deleteOnTermination") - def delete_on_termination(self) -> Optional[pulumi.Input[bool]]: + Default: `excluded` """ - Indicates whether the network interface is deleted when the instance is terminated. + baseline_ebs_bandwidth_mbps: NotRequired[pulumi.Input['SpotFleetBaselineEbsBandwidthMbpsRequestArgsDict']] """ - return pulumi.get(self, "delete_on_termination") + The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see [Amazon EBS–optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the *Amazon EC2 User Guide* . - @delete_on_termination.setter - def delete_on_termination(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "delete_on_termination", value) + Default: No minimum or maximum limits + """ + burstable_performance: NotRequired[pulumi.Input['SpotFleetInstanceRequirementsRequestBurstablePerformance']] + """ + Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) . - @property - @pulumi.getter - def description(self) -> Optional[pulumi.Input[str]]: + - To include burstable performance instance types, specify `included` . + - To require only burstable performance instance types, specify `required` . + - To exclude burstable performance instance types, specify `excluded` . + + Default: `excluded` """ - The description of the network interface. Applies only if creating a network interface when launching an instance. + cpu_manufacturers: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceRequirementsRequestCpuManufacturersItem']]]] """ - return pulumi.get(self, "description") + The CPU manufacturers to include. - @description.setter - def description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "description", value) + - For instance types with Intel CPUs, specify `intel` . + - For instance types with AMD CPUs, specify `amd` . + - For instance types with AWS CPUs, specify `amazon-web-services` . - @property - @pulumi.getter(name="deviceIndex") - def device_index(self) -> Optional[pulumi.Input[int]]: + > Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template. + + Default: Any manufacturer """ - The position of the network interface in the attachment order. A primary network interface has a device index of 0. + excluded_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The instance types to exclude. - If you specify a network interface when launching an instance, you must specify the device index. + You can use strings with one or more wild cards, represented by an asterisk ( `*` ), to exclude an instance family, type, size, or generation. The following are examples: `m5.8xlarge` , `c5*.*` , `m5a.*` , `r*` , `*3*` . + + For example, if you specify `c5*` ,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify `m5a.*` , Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types. + + > If you specify `ExcludedInstanceTypes` , you can't specify `AllowedInstanceTypes` . + + Default: No excluded instance types """ - return pulumi.get(self, "device_index") + instance_generations: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceRequirementsRequestInstanceGenerationsItem']]]] + """ + Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see [Instance types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html) in the *Amazon EC2 User Guide* . - @device_index.setter - def device_index(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "device_index", value) + For current generation instance types, specify `current` . - @property - @pulumi.getter - def groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + For previous generation instance types, specify `previous` . + + Default: Current and previous generation instance types """ - The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance. + local_storage: NotRequired[pulumi.Input['SpotFleetInstanceRequirementsRequestLocalStorage']] """ - return pulumi.get(self, "groups") + Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, [Amazon EC2 instance store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) in the *Amazon EC2 User Guide* . - @groups.setter - def groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "groups", value) + - To include instance types with instance store volumes, specify `included` . + - To require only instance types with instance store volumes, specify `required` . + - To exclude instance types with instance store volumes, specify `excluded` . - @property - @pulumi.getter(name="ipv6AddressCount") - def ipv6_address_count(self) -> Optional[pulumi.Input[int]]: + Default: `included` """ - A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch. + local_storage_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceRequirementsRequestLocalStorageTypesItem']]]] """ - return pulumi.get(self, "ipv6_address_count") + The type of local storage that is required. - @ipv6_address_count.setter - def ipv6_address_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ipv6_address_count", value) + - For instance types with hard disk drive (HDD) storage, specify `hdd` . + - For instance types with solid state drive (SSD) storage, specify `ssd` . - @property - @pulumi.getter(name="ipv6Addresses") - def ipv6_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceIpv6AddressArgs']]]]: + Default: `hdd` and `ssd` """ - The IPv6 addresses to assign to the network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch. + max_spot_price_as_percentage_of_optimal_on_demand_price: NotRequired[pulumi.Input[int]] """ - return pulumi.get(self, "ipv6_addresses") + [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. - @ipv6_addresses.setter - def ipv6_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceIpv6AddressArgs']]]]): - pulumi.set(self, "ipv6_addresses", value) + The parameter accepts an integer, which Amazon EC2 interprets as a percentage. - @property - @pulumi.getter(name="networkInterfaceId") - def network_interface_id(self) -> Optional[pulumi.Input[str]]: + If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib` , the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. + + > Only one of `SpotMaxPricePercentageOverLowestPrice` or `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as `999999` . """ - The ID of the network interface. + memory_gi_b_per_v_cpu: NotRequired[pulumi.Input['SpotFleetMemoryGiBPerVCpuRequestArgsDict']] + """ + The minimum and maximum amount of memory per vCPU, in GiB. - If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification. + Default: No minimum or maximum limits """ - return pulumi.get(self, "network_interface_id") + memory_mi_b: NotRequired[pulumi.Input['SpotFleetMemoryMiBRequestArgsDict']] + """ + The minimum and maximum amount of memory, in MiB. + """ + network_bandwidth_gbps: NotRequired[pulumi.Input['SpotFleetNetworkBandwidthGbpsRequestArgsDict']] + """ + The minimum and maximum amount of baseline network bandwidth, in gigabits per second (Gbps). For more information, see [Amazon EC2 instance network bandwidth](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html) in the *Amazon EC2 User Guide* . - @network_interface_id.setter - def network_interface_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "network_interface_id", value) + Default: No minimum or maximum limits + """ + network_interface_count: NotRequired[pulumi.Input['SpotFleetNetworkInterfaceCountRequestArgsDict']] + """ + The minimum and maximum number of network interfaces. - @property - @pulumi.getter(name="privateIpAddresses") - def private_ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SpotFleetPrivateIpAddressSpecificationArgs']]]]: + Default: No minimum or maximum limits """ - The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) request. + on_demand_max_price_percentage_over_lowest_price: NotRequired[pulumi.Input[int]] """ - return pulumi.get(self, "private_ip_addresses") + [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. - @private_ip_addresses.setter - def private_ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SpotFleetPrivateIpAddressSpecificationArgs']]]]): - pulumi.set(self, "private_ip_addresses", value) + The parameter accepts an integer, which Amazon EC2 interprets as a percentage. - @property - @pulumi.getter(name="secondaryPrivateIpAddressCount") - def secondary_private_ip_address_count(self) -> Optional[pulumi.Input[int]]: + To indicate no price protection threshold, specify a high value, such as `999999` . + + This parameter is not supported for [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) and [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html) . + + > If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib` , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. + + Default: `20` """ - The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a [RunInstances](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html) request. + require_hibernate_support: NotRequired[pulumi.Input[bool]] """ - return pulumi.get(self, "secondary_private_ip_address_count") + Indicates whether instance types must support hibernation for On-Demand Instances. - @secondary_private_ip_address_count.setter - def secondary_private_ip_address_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "secondary_private_ip_address_count", value) + This parameter is not supported for [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) . - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> Optional[pulumi.Input[str]]: + Default: `false` """ - The ID of the subnet associated with the network interface. + spot_max_price_percentage_over_lowest_price: NotRequired[pulumi.Input[int]] """ - return pulumi.get(self, "subnet_id") + [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold. - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) + The parameter accepts an integer, which Amazon EC2 interprets as a percentage. + If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib` , the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. + + This parameter is not supported for [GetSpotPlacementScores](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html) and [GetInstanceTypesFromInstanceRequirements](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html) . + + > Only one of `SpotMaxPricePercentageOverLowestPrice` or `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as `999999` . + + Default: `100` + """ + total_local_storage_gb: NotRequired[pulumi.Input['SpotFleetTotalLocalStorageGbRequestArgsDict']] + """ + The minimum and maximum amount of total local storage, in GB. + + Default: No minimum or maximum limits + """ + v_cpu_count: NotRequired[pulumi.Input['SpotFleetVCpuCountRangeRequestArgsDict']] + """ + The minimum and maximum number of vCPUs. + """ +elif False: + SpotFleetInstanceRequirementsRequestArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class SpotFleetInstanceRequirementsRequestArgs: @@ -9396,28 +12763,119 @@ def spot_max_price_percentage_over_lowest_price(self, value: Optional[pulumi.Inp @pulumi.getter(name="totalLocalStorageGb") def total_local_storage_gb(self) -> Optional[pulumi.Input['SpotFleetTotalLocalStorageGbRequestArgs']]: """ - The minimum and maximum amount of total local storage, in GB. + The minimum and maximum amount of total local storage, in GB. + + Default: No minimum or maximum limits + """ + return pulumi.get(self, "total_local_storage_gb") + + @total_local_storage_gb.setter + def total_local_storage_gb(self, value: Optional[pulumi.Input['SpotFleetTotalLocalStorageGbRequestArgs']]): + pulumi.set(self, "total_local_storage_gb", value) + + @property + @pulumi.getter(name="vCpuCount") + def v_cpu_count(self) -> Optional[pulumi.Input['SpotFleetVCpuCountRangeRequestArgs']]: + """ + The minimum and maximum number of vCPUs. + """ + return pulumi.get(self, "v_cpu_count") + + @v_cpu_count.setter + def v_cpu_count(self, value: Optional[pulumi.Input['SpotFleetVCpuCountRangeRequestArgs']]): + pulumi.set(self, "v_cpu_count", value) + + +if not MYPY: + class SpotFleetLaunchSpecificationArgsDict(TypedDict): + image_id: pulumi.Input[str] + """ + The ID of the AMI. + """ + block_device_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetBlockDeviceMappingArgsDict']]]] + """ + One or more block devices that are mapped to the Spot Instances. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status. + """ + ebs_optimized: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance. + + Default: `false` + """ + iam_instance_profile: NotRequired[pulumi.Input['SpotFleetIamInstanceProfileSpecificationArgsDict']] + """ + The IAM instance profile. + """ + instance_requirements: NotRequired[pulumi.Input['SpotFleetInstanceRequirementsRequestArgsDict']] + """ + The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes. + + > If you specify `InstanceRequirements` , you can't specify `InstanceType` . + """ + instance_type: NotRequired[pulumi.Input[str]] + """ + The instance type. + """ + kernel_id: NotRequired[pulumi.Input[str]] + """ + The ID of the kernel. + """ + key_name: NotRequired[pulumi.Input[str]] + """ + The name of the key pair. + """ + monitoring: NotRequired[pulumi.Input['SpotFleetMonitoringArgsDict']] + """ + Enable or disable monitoring for the instances. + """ + network_interfaces: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetInstanceNetworkInterfaceSpecificationArgsDict']]]] + """ + The network interfaces. + """ + placement: NotRequired[pulumi.Input['SpotFleetSpotPlacementArgsDict']] + """ + The placement information. + """ + ramdisk_id: NotRequired[pulumi.Input[str]] + """ + The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the AWS Resource Center and search for the kernel ID. + """ + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetGroupIdentifierArgsDict']]]] + """ + The security groups. - Default: No minimum or maximum limits + If you specify a network interface, you must specify any security groups as part of the network interface instead of using this parameter. """ - return pulumi.get(self, "total_local_storage_gb") + spot_price: NotRequired[pulumi.Input[str]] + """ + The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. - @total_local_storage_gb.setter - def total_local_storage_gb(self, value: Optional[pulumi.Input['SpotFleetTotalLocalStorageGbRequestArgs']]): - pulumi.set(self, "total_local_storage_gb", value) + > If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter. + """ + subnet_id: NotRequired[pulumi.Input[str]] + """ + The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2". - @property - @pulumi.getter(name="vCpuCount") - def v_cpu_count(self) -> Optional[pulumi.Input['SpotFleetVCpuCountRangeRequestArgs']]: + If you specify a network interface, you must specify any subnets as part of the network interface instead of using this parameter. """ - The minimum and maximum number of vCPUs. + tag_specifications: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetTagSpecificationArgsDict']]]] """ - return pulumi.get(self, "v_cpu_count") + The tags to apply during creation. + """ + user_data: NotRequired[pulumi.Input[str]] + """ + The base64-encoded user data that instances use when starting up. User data is limited to 16 KB. + """ + weighted_capacity: NotRequired[pulumi.Input[float]] + """ + The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O. - @v_cpu_count.setter - def v_cpu_count(self, value: Optional[pulumi.Input['SpotFleetVCpuCountRangeRequestArgs']]): - pulumi.set(self, "v_cpu_count", value) + If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1. + > When specifying weights, the price used in the `lowestPrice` and `priceCapacityOptimized` allocation strategies is per *unit* hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested `TargetCapacity` , resulting in only 1 instance being launched, the price used is per *instance* hour. + """ +elif False: + SpotFleetLaunchSpecificationArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class SpotFleetLaunchSpecificationArgs: @@ -9741,6 +13199,19 @@ def weighted_capacity(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "weighted_capacity", value) +if not MYPY: + class SpotFleetLaunchTemplateConfigArgsDict(TypedDict): + launch_template_specification: NotRequired[pulumi.Input['SpotFleetFleetLaunchTemplateSpecificationArgsDict']] + """ + The launch template to use. Make sure that the launch template does not contain the `NetworkInterfaceId` parameter because you can't specify a network interface ID in a Spot Fleet. + """ + overrides: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetLaunchTemplateOverridesArgsDict']]]] + """ + Any parameters that you specify override the same parameters in the launch template. + """ +elif False: + SpotFleetLaunchTemplateConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetLaunchTemplateConfigArgs: def __init__(__self__, *, @@ -9780,6 +13251,53 @@ def overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SpotFlee pulumi.set(self, "overrides", value) +if not MYPY: + class SpotFleetLaunchTemplateOverridesArgsDict(TypedDict): + availability_zone: NotRequired[pulumi.Input[str]] + """ + The Availability Zone in which to launch the instances. + """ + instance_requirements: NotRequired[pulumi.Input['SpotFleetInstanceRequirementsRequestArgsDict']] + """ + The instance requirements. When you specify instance requirements, Amazon EC2 will identify instance types with the provided requirements, and then use your On-Demand and Spot allocation strategies to launch instances from these instance types, in the same way as when you specify a list of instance types. + + > If you specify `InstanceRequirements` , you can't specify `InstanceType` . + """ + instance_type: NotRequired[pulumi.Input[str]] + """ + The instance type. + """ + priority: NotRequired[pulumi.Input[float]] + """ + The priority for the launch template override. The highest priority is launched first. + + If `OnDemandAllocationStrategy` is set to `prioritized` , Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. + + If the Spot `AllocationStrategy` is set to `capacityOptimizedPrioritized` , Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first. + + Valid values are whole numbers starting at `0` . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides. + """ + spot_price: NotRequired[pulumi.Input[str]] + """ + The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. + + > If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter. + """ + subnet_id: NotRequired[pulumi.Input[str]] + """ + The ID of the subnet in which to launch the instances. + """ + weighted_capacity: NotRequired[pulumi.Input[float]] + """ + The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O. + + If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1. + + > When specifying weights, the price used in the `lowestPrice` and `priceCapacityOptimized` allocation strategies is per *unit* hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested `TargetCapacity` , resulting in only 1 instance being launched, the price used is per *instance* hour. + """ +elif False: + SpotFleetLaunchTemplateOverridesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetLaunchTemplateOverridesArgs: def __init__(__self__, *, @@ -9927,6 +13445,19 @@ def weighted_capacity(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "weighted_capacity", value) +if not MYPY: + class SpotFleetLoadBalancersConfigArgsDict(TypedDict): + classic_load_balancers_config: NotRequired[pulumi.Input['SpotFleetClassicLoadBalancersConfigArgsDict']] + """ + The Classic Load Balancers. + """ + target_groups_config: NotRequired[pulumi.Input['SpotFleetTargetGroupsConfigArgsDict']] + """ + The target groups. + """ +elif False: + SpotFleetLoadBalancersConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetLoadBalancersConfigArgs: def __init__(__self__, *, @@ -9966,6 +13497,19 @@ def target_groups_config(self, value: Optional[pulumi.Input['SpotFleetTargetGrou pulumi.set(self, "target_groups_config", value) +if not MYPY: + class SpotFleetMemoryGiBPerVCpuRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[float]] + """ + The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this parameter. + """ +elif False: + SpotFleetMemoryGiBPerVCpuRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetMemoryGiBPerVCpuRequestArgs: def __init__(__self__, *, @@ -10005,6 +13549,19 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class SpotFleetMemoryMiBRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum amount of memory, in MiB. To specify no minimum limit, specify `0` . + """ +elif False: + SpotFleetMemoryMiBRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetMemoryMiBRequestArgs: def __init__(__self__, *, @@ -10044,6 +13601,17 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class SpotFleetMonitoringArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Enables monitoring for the instance. + + Default: `false` + """ +elif False: + SpotFleetMonitoringArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetMonitoringArgs: def __init__(__self__, *, @@ -10071,6 +13639,19 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class SpotFleetNetworkBandwidthGbpsRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[float]] + """ + The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter. + """ +elif False: + SpotFleetNetworkBandwidthGbpsRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetNetworkBandwidthGbpsRequestArgs: def __init__(__self__, *, @@ -10110,6 +13691,19 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class SpotFleetNetworkInterfaceCountRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum number of network interfaces. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum number of network interfaces. To specify no minimum limit, omit this parameter. + """ +elif False: + SpotFleetNetworkInterfaceCountRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetNetworkInterfaceCountRequestArgs: def __init__(__self__, *, @@ -10149,6 +13743,19 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class SpotFleetPrivateIpAddressSpecificationArgsDict(TypedDict): + private_ip_address: pulumi.Input[str] + """ + The private IPv4 address. + """ + primary: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary. + """ +elif False: + SpotFleetPrivateIpAddressSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetPrivateIpAddressSpecificationArgs: def __init__(__self__, *, @@ -10187,6 +13794,126 @@ def primary(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "primary", value) +if not MYPY: + class SpotFleetRequestConfigDataArgsDict(TypedDict): + iam_fleet_role: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that grants the Spot Fleet the permission to request, launch, terminate, and tag instances on your behalf. For more information, see [Spot Fleet Prerequisites](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-requests.html#spot-fleet-prerequisites) in the *Amazon EC2 User Guide* . Spot Fleet can terminate Spot Instances on your behalf when you cancel its Spot Fleet request or when the Spot Fleet request expires, if you set `TerminateInstancesWithExpiration` . + """ + target_capacity: pulumi.Input[int] + """ + The number of units to request for the Spot Fleet. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is `maintain` , you can specify a target capacity of 0 and add capacity later. + """ + allocation_strategy: NotRequired[pulumi.Input['SpotFleetRequestConfigDataAllocationStrategy']] + """ + The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the Spot Fleet launch configuration. For more information, see [Allocation strategies for Spot Instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html) in the *Amazon EC2 User Guide* . + + - **priceCapacityOptimized (recommended)** - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. Spot Fleet then requests Spot Instances from the lowest priced of these pools. + - **capacityOptimized** - Spot Fleet identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. To give certain instance types a higher chance of launching first, use `capacityOptimizedPrioritized` . Set a priority for each instance type by using the `Priority` parameter for `LaunchTemplateOverrides` . You can assign the same priority to different `LaunchTemplateOverrides` . EC2 implements the priorities on a best-effort basis, but optimizes for capacity first. `capacityOptimizedPrioritized` is supported only if your Spot Fleet uses a launch template. Note that if the `OnDemandAllocationStrategy` is set to `prioritized` , the same priority is applied when fulfilling On-Demand capacity. + - **diversified** - Spot Fleet requests instances from all of the Spot Instance pools that you specify. + - **lowestPrice (not recommended)** - > We don't recommend the `lowestPrice` allocation strategy because it has the highest risk of interruption for your Spot Instances. + + Spot Fleet requests instances from the lowest priced Spot Instance pool that has available capacity. If the lowest priced pool doesn't have available capacity, the Spot Instances come from the next lowest priced pool that has available capacity. If a pool runs out of capacity before fulfilling your desired capacity, Spot Fleet will continue to fulfill your request by drawing from the next lowest priced pool. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. Because this strategy only considers instance price and not capacity availability, it might lead to high interruption rates. + + Default: `lowestPrice` + """ + context: NotRequired[pulumi.Input[str]] + """ + Reserved. + """ + excess_capacity_termination_policy: NotRequired[pulumi.Input['SpotFleetRequestConfigDataExcessCapacityTerminationPolicy']] + """ + Indicates whether running Spot Instances should be terminated if you decrease the target capacity of the Spot Fleet request below the current size of the Spot Fleet. + + Supported only for fleets of type `maintain` . + """ + instance_interruption_behavior: NotRequired[pulumi.Input['SpotFleetRequestConfigDataInstanceInterruptionBehavior']] + """ + The behavior when a Spot Instance is interrupted. The default is `terminate` . + """ + instance_pools_to_use_count: NotRequired[pulumi.Input[int]] + """ + The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot *AllocationStrategy* is set to `lowest-price` . Spot Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify. + + Note that Spot Fleet attempts to draw Spot Instances from the number of pools that you specify on a best effort basis. If a pool runs out of Spot capacity before fulfilling your target capacity, Spot Fleet will continue to fulfill your request by drawing from the next cheapest pool. To ensure that your target capacity is met, you might receive Spot Instances from more than the number of pools that you specified. Similarly, if most of the pools have no Spot capacity, you might receive your full target capacity from fewer than the number of pools that you specified. + """ + launch_specifications: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetLaunchSpecificationArgsDict']]]] + """ + The launch specifications for the Spot Fleet request. If you specify `LaunchSpecifications` , you can't specify `LaunchTemplateConfigs` . + """ + launch_template_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetLaunchTemplateConfigArgsDict']]]] + """ + The launch template and overrides. If you specify `LaunchTemplateConfigs` , you can't specify `LaunchSpecifications` . + """ + load_balancers_config: NotRequired[pulumi.Input['SpotFleetLoadBalancersConfigArgsDict']] + """ + One or more Classic Load Balancers and target groups to attach to the Spot Fleet request. Spot Fleet registers the running Spot Instances with the specified Classic Load Balancers and target groups. + + With Network Load Balancers, Spot Fleet cannot register instances that have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. + """ + on_demand_allocation_strategy: NotRequired[pulumi.Input[str]] + """ + The order of the launch template overrides to use in fulfilling On-Demand capacity. If you specify `lowestPrice` , Spot Fleet uses price to determine the order, launching the lowest price first. If you specify `prioritized` , Spot Fleet uses the priority that you assign to each Spot Fleet launch template override, launching the highest priority first. If you do not specify a value, Spot Fleet defaults to `lowestPrice` . + """ + on_demand_max_total_price: NotRequired[pulumi.Input[str]] + """ + The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the `onDemandMaxTotalPrice` parameter, the `spotMaxTotalPrice` parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity. + + > If your fleet includes T instances that are configured as `unlimited` , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The `onDemandMaxTotalPrice` does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for `onDemandMaxTotalPrice` . For more information, see [Surplus credits can incur charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) in the *Amazon EC2 User Guide* . + """ + on_demand_target_capacity: NotRequired[pulumi.Input[int]] + """ + The number of On-Demand units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O. If the request type is `maintain` , you can specify a target capacity of 0 and add capacity later. + """ + replace_unhealthy_instances: NotRequired[pulumi.Input[bool]] + """ + Indicates whether Spot Fleet should replace unhealthy instances. + """ + spot_maintenance_strategies: NotRequired[pulumi.Input['SpotFleetSpotMaintenanceStrategiesArgsDict']] + """ + The strategies for managing your Spot Instances that are at an elevated risk of being interrupted. + """ + spot_max_total_price: NotRequired[pulumi.Input[str]] + """ + The maximum amount per hour for Spot Instances that you're willing to pay. You can use the `spotMaxTotalPrice` parameter, the `onDemandMaxTotalPrice` parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity. + + > If your fleet includes T instances that are configured as `unlimited` , and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The `spotMaxTotalPrice` does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for `spotMaxTotalPrice` . For more information, see [Surplus credits can incur charges](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html#unlimited-mode-surplus-credits) in the *Amazon EC2 User Guide* . + """ + spot_price: NotRequired[pulumi.Input[str]] + """ + The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price. + + > If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter. + """ + tag_specifications: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetTagSpecificationArgsDict']]]] + """ + The key-value pair for tagging the Spot Fleet request on creation. The value for `ResourceType` must be `spot-fleet-request` , otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the [launch template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template) (valid only if you use `LaunchTemplateConfigs` ) or in the `[SpotFleetTagSpecification](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html)` (valid only if you use `LaunchSpecifications` ). For information about tagging after launch, see [Tag your resources](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources) . + """ + target_capacity_unit_type: NotRequired[pulumi.Input['SpotFleetRequestConfigDataTargetCapacityUnitType']] + """ + The unit for the target capacity. You can specify this parameter only when using attribute-based instance type selection. + + Default: `units` (the number of instances) + """ + terminate_instances_with_expiration: NotRequired[pulumi.Input[bool]] + """ + Indicates whether running Spot Instances are terminated when the Spot Fleet request expires. + """ + type: NotRequired[pulumi.Input['SpotFleetRequestConfigDataType']] + """ + The type of request. Indicates whether the Spot Fleet only requests the target capacity or also attempts to maintain it. When this value is `request` , the Spot Fleet only places the required requests. It does not attempt to replenish Spot Instances if capacity is diminished, nor does it submit requests in alternative Spot pools if capacity is not available. When this value is `maintain` , the Spot Fleet maintains the target capacity. The Spot Fleet places the required requests to meet capacity and automatically replenishes any interrupted instances. Default: `maintain` . `instant` is listed but is not used by Spot Fleet. + """ + valid_from: NotRequired[pulumi.Input[str]] + """ + The start date and time of the request, in UTC format ( *YYYY* - *MM* - *DD* T *HH* : *MM* : *SS* Z). By default, Amazon EC2 starts fulfilling the request immediately. + """ + valid_until: NotRequired[pulumi.Input[str]] + """ + The end date and time of the request, in UTC format ( *YYYY* - *MM* - *DD* T *HH* : *MM* : *SS* Z). After the end date and time, no new Spot Instance requests are placed or able to fulfill the request. If no value is specified, the Spot Fleet request remains until you cancel it. + """ +elif False: + SpotFleetRequestConfigDataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetRequestConfigDataArgs: def __init__(__self__, *, @@ -10606,6 +14333,29 @@ def valid_until(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "valid_until", value) +if not MYPY: + class SpotFleetSpotCapacityRebalanceArgsDict(TypedDict): + replacement_strategy: NotRequired[pulumi.Input['SpotFleetSpotCapacityRebalanceReplacementStrategy']] + """ + The replacement strategy to use. Only available for fleets of type `maintain` . + + `launch` - Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. Spot Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running. + + `launch-before-terminate` - Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in `TerminationDelay` ), terminates the instances that received a rebalance notification. + """ + termination_delay: NotRequired[pulumi.Input[int]] + """ + The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance. + + Required when `ReplacementStrategy` is set to `launch-before-terminate` . + + Not valid when `ReplacementStrategy` is set to `launch` . + + Valid values: Minimum value of `120` seconds. Maximum value of `7200` seconds. + """ +elif False: + SpotFleetSpotCapacityRebalanceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetSpotCapacityRebalanceArgs: def __init__(__self__, *, @@ -10665,6 +14415,15 @@ def termination_delay(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "termination_delay", value) +if not MYPY: + class SpotFleetSpotMaintenanceStrategiesArgsDict(TypedDict): + capacity_rebalance: NotRequired[pulumi.Input['SpotFleetSpotCapacityRebalanceArgsDict']] + """ + The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see [Capacity rebalancing](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html) in the *Amazon EC2 User Guide* . + """ +elif False: + SpotFleetSpotMaintenanceStrategiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetSpotMaintenanceStrategiesArgs: def __init__(__self__, *, @@ -10679,14 +14438,33 @@ def __init__(__self__, *, @pulumi.getter(name="capacityRebalance") def capacity_rebalance(self) -> Optional[pulumi.Input['SpotFleetSpotCapacityRebalanceArgs']]: """ - The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see [Capacity rebalancing](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html) in the *Amazon EC2 User Guide* . + The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see [Capacity rebalancing](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-capacity-rebalance.html) in the *Amazon EC2 User Guide* . + """ + return pulumi.get(self, "capacity_rebalance") + + @capacity_rebalance.setter + def capacity_rebalance(self, value: Optional[pulumi.Input['SpotFleetSpotCapacityRebalanceArgs']]): + pulumi.set(self, "capacity_rebalance", value) + + +if not MYPY: + class SpotFleetSpotPlacementArgsDict(TypedDict): + availability_zone: NotRequired[pulumi.Input[str]] + """ + The Availability Zone. + + To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b". + """ + group_name: NotRequired[pulumi.Input[str]] + """ + The name of the placement group. + """ + tenancy: NotRequired[pulumi.Input['SpotFleetSpotPlacementTenancy']] + """ + The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of `dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for Spot Instances. """ - return pulumi.get(self, "capacity_rebalance") - - @capacity_rebalance.setter - def capacity_rebalance(self, value: Optional[pulumi.Input['SpotFleetSpotCapacityRebalanceArgs']]): - pulumi.set(self, "capacity_rebalance", value) - +elif False: + SpotFleetSpotPlacementArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class SpotFleetSpotPlacementArgs: @@ -10747,6 +14525,19 @@ def tenancy(self, value: Optional[pulumi.Input['SpotFleetSpotPlacementTenancy']] pulumi.set(self, "tenancy", value) +if not MYPY: + class SpotFleetTagSpecificationArgsDict(TypedDict): + resource_type: NotRequired[pulumi.Input['SpotFleetTagSpecificationResourceType']] + """ + The type of resource. Currently, the only resource type that is supported is `instance` . To tag the Spot Fleet request on creation, use the `TagSpecifications` parameter in `[SpotFleetRequestConfigData](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html)` . + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpotFleetTagArgsDict']]]] + """ + The tags. + """ +elif False: + SpotFleetTagSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetTagSpecificationArgs: def __init__(__self__, *, @@ -10786,6 +14577,19 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SpotFleetTagA pulumi.set(self, "tags", value) +if not MYPY: + class SpotFleetTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The tag key. + """ + value: pulumi.Input[str] + """ + The tag value. + """ +elif False: + SpotFleetTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetTagArgs: def __init__(__self__, *, @@ -10823,6 +14627,15 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class SpotFleetTargetGroupsConfigArgsDict(TypedDict): + target_groups: pulumi.Input[Sequence[pulumi.Input['SpotFleetTargetGroupArgsDict']]] + """ + One or more target groups. + """ +elif False: + SpotFleetTargetGroupsConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetTargetGroupsConfigArgs: def __init__(__self__, *, @@ -10845,6 +14658,15 @@ def target_groups(self, value: pulumi.Input[Sequence[pulumi.Input['SpotFleetTarg pulumi.set(self, "target_groups", value) +if not MYPY: + class SpotFleetTargetGroupArgsDict(TypedDict): + arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the target group. + """ +elif False: + SpotFleetTargetGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetTargetGroupArgs: def __init__(__self__, *, @@ -10867,6 +14689,19 @@ def arn(self, value: pulumi.Input[str]): pulumi.set(self, "arn", value) +if not MYPY: + class SpotFleetTotalLocalStorageGbRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[float]] + """ + The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter. + """ +elif False: + SpotFleetTotalLocalStorageGbRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetTotalLocalStorageGbRequestArgs: def __init__(__self__, *, @@ -10906,6 +14741,19 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class SpotFleetVCpuCountRangeRequestArgsDict(TypedDict): + max: NotRequired[pulumi.Input[int]] + """ + The maximum number of vCPUs. To specify no maximum limit, omit this parameter. + """ + min: NotRequired[pulumi.Input[int]] + """ + The minimum number of vCPUs. To specify no minimum limit, specify `0` . + """ +elif False: + SpotFleetVCpuCountRangeRequestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpotFleetVCpuCountRangeRequestArgs: def __init__(__self__, *, @@ -10945,6 +14793,22 @@ def min(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min", value) +if not MYPY: + class SseSpecificationPropertiesArgsDict(TypedDict): + """ + The configuration options for customer provided KMS encryption. + """ + customer_managed_key_enabled: NotRequired[pulumi.Input[bool]] + """ + Whether to encrypt the policy with the provided key or disable encryption + """ + kms_key_arn: NotRequired[pulumi.Input[str]] + """ + KMS Key Arn used to encrypt the group policy + """ +elif False: + SseSpecificationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SseSpecificationPropertiesArgs: def __init__(__self__, *, @@ -10985,6 +14849,24 @@ def kms_key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_arn", value) +if not MYPY: + class TagSpecificationArgsDict(TypedDict): + """ + Specifies the tags to apply to a resource when the resource is created for the launch template. + ``TagSpecification`` is a property type of [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications). [TagSpecifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-tagspecifications) is a property of [AWS::EC2::LaunchTemplate LaunchTemplateData](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html). + """ + resource_type: NotRequired[pulumi.Input[str]] + """ + The type of resource to tag. You can specify tags for the following resource types only: ``instance`` | ``volume`` | ``network-interface`` | ``spot-instances-request``. If the instance does not include the resource type that you specify, the instance launch fails. For example, not all instance types include a volume. + To tag a resource after it has been created, see [CreateTags](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchTemplateTagArgsDict']]]] + """ + The tags to apply to the resource. + """ +elif False: + TagSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TagSpecificationArgs: def __init__(__self__, *, @@ -11028,6 +14910,15 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LaunchTemplat pulumi.set(self, "tags", value) +if not MYPY: + class TransitGatewayConnectOptionsArgsDict(TypedDict): + protocol: NotRequired[pulumi.Input[str]] + """ + The tunnel protocol. + """ +elif False: + TransitGatewayConnectOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransitGatewayConnectOptionsArgs: def __init__(__self__, *, @@ -11051,6 +14942,30 @@ def protocol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "protocol", value) +if not MYPY: + class VerifiedAccessEndpointLoadBalancerOptionsArgsDict(TypedDict): + """ + The load balancer details if creating the AWS Verified Access endpoint as load-balancertype. + """ + load_balancer_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the load balancer. + """ + port: NotRequired[pulumi.Input[int]] + """ + The IP port number. + """ + protocol: NotRequired[pulumi.Input[str]] + """ + The IP protocol. + """ + subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The IDs of the subnets. + """ +elif False: + VerifiedAccessEndpointLoadBalancerOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VerifiedAccessEndpointLoadBalancerOptionsArgs: def __init__(__self__, *, @@ -11123,6 +15038,26 @@ def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "subnet_ids", value) +if not MYPY: + class VerifiedAccessEndpointNetworkInterfaceOptionsArgsDict(TypedDict): + """ + The options for network-interface type endpoint. + """ + network_interface_id: NotRequired[pulumi.Input[str]] + """ + The ID of the network interface. + """ + port: NotRequired[pulumi.Input[int]] + """ + The IP port number. + """ + protocol: NotRequired[pulumi.Input[str]] + """ + The IP protocol. + """ +elif False: + VerifiedAccessEndpointNetworkInterfaceOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VerifiedAccessEndpointNetworkInterfaceOptionsArgs: def __init__(__self__, *, @@ -11179,6 +15114,22 @@ def protocol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "protocol", value) +if not MYPY: + class VerifiedAccessEndpointSseSpecificationArgsDict(TypedDict): + """ + The configuration options for customer provided KMS encryption. + """ + customer_managed_key_enabled: NotRequired[pulumi.Input[bool]] + """ + Whether to encrypt the policy with the provided key or disable encryption + """ + kms_key_arn: NotRequired[pulumi.Input[str]] + """ + KMS Key Arn used to encrypt the group policy + """ +elif False: + VerifiedAccessEndpointSseSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VerifiedAccessEndpointSseSpecificationArgs: def __init__(__self__, *, @@ -11219,6 +15170,22 @@ def kms_key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_arn", value) +if not MYPY: + class VerifiedAccessGroupSseSpecificationArgsDict(TypedDict): + """ + The configuration options for customer provided KMS encryption. + """ + customer_managed_key_enabled: NotRequired[pulumi.Input[bool]] + """ + Whether to encrypt the policy with the provided key or disable encryption + """ + kms_key_arn: NotRequired[pulumi.Input[str]] + """ + KMS Key Arn used to encrypt the group policy + """ +elif False: + VerifiedAccessGroupSseSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VerifiedAccessGroupSseSpecificationArgs: def __init__(__self__, *, @@ -11259,6 +15226,22 @@ def kms_key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_arn", value) +if not MYPY: + class VerifiedAccessInstanceVerifiedAccessLogsCloudWatchLogsPropertiesArgsDict(TypedDict): + """ + Sends Verified Access logs to CloudWatch Logs. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether logging is enabled. + """ + log_group: NotRequired[pulumi.Input[str]] + """ + The ID of the CloudWatch Logs log group. + """ +elif False: + VerifiedAccessInstanceVerifiedAccessLogsCloudWatchLogsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VerifiedAccessInstanceVerifiedAccessLogsCloudWatchLogsPropertiesArgs: def __init__(__self__, *, @@ -11299,6 +15282,22 @@ def log_group(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_group", value) +if not MYPY: + class VerifiedAccessInstanceVerifiedAccessLogsKinesisDataFirehosePropertiesArgsDict(TypedDict): + """ + Sends Verified Access logs to Kinesis. + """ + delivery_stream: NotRequired[pulumi.Input[str]] + """ + The ID of the delivery stream. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether logging is enabled. + """ +elif False: + VerifiedAccessInstanceVerifiedAccessLogsKinesisDataFirehosePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VerifiedAccessInstanceVerifiedAccessLogsKinesisDataFirehosePropertiesArgs: def __init__(__self__, *, @@ -11339,6 +15338,30 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class VerifiedAccessInstanceVerifiedAccessLogsS3PropertiesArgsDict(TypedDict): + """ + Sends Verified Access logs to Amazon S3. + """ + bucket_name: NotRequired[pulumi.Input[str]] + """ + The bucket name. + """ + bucket_owner: NotRequired[pulumi.Input[str]] + """ + The ID of the AWS account that owns the Amazon S3 bucket. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether logging is enabled. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + The bucket prefix. + """ +elif False: + VerifiedAccessInstanceVerifiedAccessLogsS3PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VerifiedAccessInstanceVerifiedAccessLogsS3PropertiesArgs: def __init__(__self__, *, @@ -11411,6 +15434,34 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class VerifiedAccessInstanceVerifiedAccessLogsArgsDict(TypedDict): + """ + The configuration options for AWS Verified Access instances. + """ + cloud_watch_logs: NotRequired[pulumi.Input['VerifiedAccessInstanceVerifiedAccessLogsCloudWatchLogsPropertiesArgsDict']] + """ + Sends Verified Access logs to CloudWatch Logs. + """ + include_trust_context: NotRequired[pulumi.Input[bool]] + """ + Include claims from trust providers in Verified Access logs. + """ + kinesis_data_firehose: NotRequired[pulumi.Input['VerifiedAccessInstanceVerifiedAccessLogsKinesisDataFirehosePropertiesArgsDict']] + """ + Sends Verified Access logs to Kinesis. + """ + log_version: NotRequired[pulumi.Input[str]] + """ + Select log version for Verified Access logs. + """ + s3: NotRequired[pulumi.Input['VerifiedAccessInstanceVerifiedAccessLogsS3PropertiesArgsDict']] + """ + Sends Verified Access logs to Amazon S3. + """ +elif False: + VerifiedAccessInstanceVerifiedAccessLogsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VerifiedAccessInstanceVerifiedAccessLogsArgs: def __init__(__self__, *, @@ -11499,6 +15550,34 @@ def s3(self, value: Optional[pulumi.Input['VerifiedAccessInstanceVerifiedAccessL pulumi.set(self, "s3", value) +if not MYPY: + class VerifiedAccessInstanceVerifiedAccessTrustProviderArgsDict(TypedDict): + """ + A Verified Access Trust Provider. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of trust provider. + """ + device_trust_provider_type: NotRequired[pulumi.Input[str]] + """ + The type of device-based trust provider. + """ + trust_provider_type: NotRequired[pulumi.Input[str]] + """ + The type of trust provider (user- or device-based). + """ + user_trust_provider_type: NotRequired[pulumi.Input[str]] + """ + The type of user-based trust provider. + """ + verified_access_trust_provider_id: NotRequired[pulumi.Input[str]] + """ + The ID of the trust provider. + """ +elif False: + VerifiedAccessInstanceVerifiedAccessTrustProviderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VerifiedAccessInstanceVerifiedAccessTrustProviderArgs: def __init__(__self__, *, @@ -11587,6 +15666,22 @@ def verified_access_trust_provider_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "verified_access_trust_provider_id", value) +if not MYPY: + class VerifiedAccessTrustProviderDeviceOptionsArgsDict(TypedDict): + """ + The options for device identity based trust providers. + """ + public_signing_key_url: NotRequired[pulumi.Input[str]] + """ + URL Verified Access will use to verify authenticity of the device tokens. + """ + tenant_id: NotRequired[pulumi.Input[str]] + """ + The ID of the tenant application with the device-identity provider. + """ +elif False: + VerifiedAccessTrustProviderDeviceOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VerifiedAccessTrustProviderDeviceOptionsArgs: def __init__(__self__, *, @@ -11627,6 +15722,42 @@ def tenant_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tenant_id", value) +if not MYPY: + class VerifiedAccessTrustProviderOidcOptionsArgsDict(TypedDict): + """ + The OpenID Connect details for an oidc -type, user-identity based trust provider. + """ + authorization_endpoint: NotRequired[pulumi.Input[str]] + """ + The OIDC authorization endpoint. + """ + client_id: NotRequired[pulumi.Input[str]] + """ + The client identifier. + """ + client_secret: NotRequired[pulumi.Input[str]] + """ + The client secret. + """ + issuer: NotRequired[pulumi.Input[str]] + """ + The OIDC issuer. + """ + scope: NotRequired[pulumi.Input[str]] + """ + OpenID Connect (OIDC) scopes are used by an application during authentication to authorize access to details of a user. Each scope returns a specific set of user attributes. + """ + token_endpoint: NotRequired[pulumi.Input[str]] + """ + The OIDC token endpoint. + """ + user_info_endpoint: NotRequired[pulumi.Input[str]] + """ + The OIDC user info endpoint. + """ +elif False: + VerifiedAccessTrustProviderOidcOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VerifiedAccessTrustProviderOidcOptionsArgs: def __init__(__self__, *, @@ -11747,6 +15878,14 @@ def user_info_endpoint(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_info_endpoint", value) +if not MYPY: + class VpnConnectionCloudwatchLogOptionsSpecificationArgsDict(TypedDict): + log_enabled: NotRequired[pulumi.Input[bool]] + log_group_arn: NotRequired[pulumi.Input[str]] + log_output_format: NotRequired[pulumi.Input['VpnConnectionCloudwatchLogOptionsSpecificationLogOutputFormat']] +elif False: + VpnConnectionCloudwatchLogOptionsSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpnConnectionCloudwatchLogOptionsSpecificationArgs: def __init__(__self__, *, @@ -11788,6 +15927,12 @@ def log_output_format(self, value: Optional[pulumi.Input['VpnConnectionCloudwatc pulumi.set(self, "log_output_format", value) +if not MYPY: + class VpnConnectionIkeVersionsRequestListValueArgsDict(TypedDict): + value: NotRequired[pulumi.Input['VpnConnectionIkeVersionsRequestListValueValue']] +elif False: + VpnConnectionIkeVersionsRequestListValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpnConnectionIkeVersionsRequestListValueArgs: def __init__(__self__, *, @@ -11805,6 +15950,12 @@ def value(self, value: Optional[pulumi.Input['VpnConnectionIkeVersionsRequestLis pulumi.set(self, "value", value) +if not MYPY: + class VpnConnectionPhase1EncryptionAlgorithmsRequestListValueArgsDict(TypedDict): + value: NotRequired[pulumi.Input['VpnConnectionPhase1EncryptionAlgorithmsRequestListValueValue']] +elif False: + VpnConnectionPhase1EncryptionAlgorithmsRequestListValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpnConnectionPhase1EncryptionAlgorithmsRequestListValueArgs: def __init__(__self__, *, @@ -11822,6 +15973,12 @@ def value(self, value: Optional[pulumi.Input['VpnConnectionPhase1EncryptionAlgor pulumi.set(self, "value", value) +if not MYPY: + class VpnConnectionPhase1IntegrityAlgorithmsRequestListValueArgsDict(TypedDict): + value: NotRequired[pulumi.Input['VpnConnectionPhase1IntegrityAlgorithmsRequestListValueValue']] +elif False: + VpnConnectionPhase1IntegrityAlgorithmsRequestListValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpnConnectionPhase1IntegrityAlgorithmsRequestListValueArgs: def __init__(__self__, *, @@ -11839,6 +15996,12 @@ def value(self, value: Optional[pulumi.Input['VpnConnectionPhase1IntegrityAlgori pulumi.set(self, "value", value) +if not MYPY: + class VpnConnectionPhase1dhGroupNumbersRequestListValueArgsDict(TypedDict): + value: NotRequired[pulumi.Input[int]] +elif False: + VpnConnectionPhase1dhGroupNumbersRequestListValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpnConnectionPhase1dhGroupNumbersRequestListValueArgs: def __init__(__self__, *, @@ -11856,6 +16019,12 @@ def value(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "value", value) +if not MYPY: + class VpnConnectionPhase2EncryptionAlgorithmsRequestListValueArgsDict(TypedDict): + value: NotRequired[pulumi.Input['VpnConnectionPhase2EncryptionAlgorithmsRequestListValueValue']] +elif False: + VpnConnectionPhase2EncryptionAlgorithmsRequestListValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpnConnectionPhase2EncryptionAlgorithmsRequestListValueArgs: def __init__(__self__, *, @@ -11873,6 +16042,12 @@ def value(self, value: Optional[pulumi.Input['VpnConnectionPhase2EncryptionAlgor pulumi.set(self, "value", value) +if not MYPY: + class VpnConnectionPhase2IntegrityAlgorithmsRequestListValueArgsDict(TypedDict): + value: NotRequired[pulumi.Input['VpnConnectionPhase2IntegrityAlgorithmsRequestListValueValue']] +elif False: + VpnConnectionPhase2IntegrityAlgorithmsRequestListValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpnConnectionPhase2IntegrityAlgorithmsRequestListValueArgs: def __init__(__self__, *, @@ -11890,6 +16065,12 @@ def value(self, value: Optional[pulumi.Input['VpnConnectionPhase2IntegrityAlgori pulumi.set(self, "value", value) +if not MYPY: + class VpnConnectionPhase2dhGroupNumbersRequestListValueArgsDict(TypedDict): + value: NotRequired[pulumi.Input[int]] +elif False: + VpnConnectionPhase2dhGroupNumbersRequestListValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpnConnectionPhase2dhGroupNumbersRequestListValueArgs: def __init__(__self__, *, @@ -11907,6 +16088,12 @@ def value(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "value", value) +if not MYPY: + class VpnConnectionVpnTunnelLogOptionsSpecificationArgsDict(TypedDict): + cloudwatch_log_options: NotRequired[pulumi.Input['VpnConnectionCloudwatchLogOptionsSpecificationArgsDict']] +elif False: + VpnConnectionVpnTunnelLogOptionsSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpnConnectionVpnTunnelLogOptionsSpecificationArgs: def __init__(__self__, *, @@ -11924,6 +16111,49 @@ def cloudwatch_log_options(self, value: Optional[pulumi.Input['VpnConnectionClou pulumi.set(self, "cloudwatch_log_options", value) +if not MYPY: + class VpnConnectionVpnTunnelOptionsSpecificationArgsDict(TypedDict): + """ + The tunnel options for a single VPN tunnel. + """ + dpd_timeout_action: NotRequired[pulumi.Input['VpnConnectionVpnTunnelOptionsSpecificationDpdTimeoutAction']] + dpd_timeout_seconds: NotRequired[pulumi.Input[int]] + enable_tunnel_lifecycle_control: NotRequired[pulumi.Input[bool]] + ike_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input['VpnConnectionIkeVersionsRequestListValueArgsDict']]]] + log_options: NotRequired[pulumi.Input['VpnConnectionVpnTunnelLogOptionsSpecificationArgsDict']] + phase1_encryption_algorithms: NotRequired[pulumi.Input[Sequence[pulumi.Input['VpnConnectionPhase1EncryptionAlgorithmsRequestListValueArgsDict']]]] + phase1_integrity_algorithms: NotRequired[pulumi.Input[Sequence[pulumi.Input['VpnConnectionPhase1IntegrityAlgorithmsRequestListValueArgsDict']]]] + phase1_lifetime_seconds: NotRequired[pulumi.Input[int]] + phase1dh_group_numbers: NotRequired[pulumi.Input[Sequence[pulumi.Input['VpnConnectionPhase1dhGroupNumbersRequestListValueArgsDict']]]] + phase2_encryption_algorithms: NotRequired[pulumi.Input[Sequence[pulumi.Input['VpnConnectionPhase2EncryptionAlgorithmsRequestListValueArgsDict']]]] + phase2_integrity_algorithms: NotRequired[pulumi.Input[Sequence[pulumi.Input['VpnConnectionPhase2IntegrityAlgorithmsRequestListValueArgsDict']]]] + phase2_lifetime_seconds: NotRequired[pulumi.Input[int]] + phase2dh_group_numbers: NotRequired[pulumi.Input[Sequence[pulumi.Input['VpnConnectionPhase2dhGroupNumbersRequestListValueArgsDict']]]] + pre_shared_key: NotRequired[pulumi.Input[str]] + """ + The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway. + Constraints: Allowed characters are alphanumeric characters, periods (.), and underscores (_). Must be between 8 and 64 characters in length and cannot start with zero (0). + """ + rekey_fuzz_percentage: NotRequired[pulumi.Input[int]] + rekey_margin_time_seconds: NotRequired[pulumi.Input[int]] + replay_window_size: NotRequired[pulumi.Input[int]] + startup_action: NotRequired[pulumi.Input['VpnConnectionVpnTunnelOptionsSpecificationStartupAction']] + tunnel_inside_cidr: NotRequired[pulumi.Input[str]] + """ + The range of inside IP addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same virtual private gateway. + Constraints: A size /30 CIDR block from the ``169.254.0.0/16`` range. The following CIDR blocks are reserved and cannot be used: + + ``169.254.0.0/30`` + + ``169.254.1.0/30`` + + ``169.254.2.0/30`` + + ``169.254.3.0/30`` + + ``169.254.4.0/30`` + + ``169.254.5.0/30`` + + ``169.254.169.252/30`` + """ + tunnel_inside_ipv6_cidr: NotRequired[pulumi.Input[str]] +elif False: + VpnConnectionVpnTunnelOptionsSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpnConnectionVpnTunnelOptionsSpecificationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/ec2/capacity_reservation.py b/sdk/python/pulumi_aws_native/ec2/capacity_reservation.py index 362dc4732c..05531a9b26 100644 --- a/sdk/python/pulumi_aws_native/ec2/capacity_reservation.py +++ b/sdk/python/pulumi_aws_native/ec2/capacity_reservation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/ec2/capacity_reservation_fleet.py b/sdk/python/pulumi_aws_native/ec2/capacity_reservation_fleet.py index 76c95c5b64..26336617ee 100644 --- a/sdk/python/pulumi_aws_native/ec2/capacity_reservation_fleet.py +++ b/sdk/python/pulumi_aws_native/ec2/capacity_reservation_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ec2/carrier_gateway.py b/sdk/python/pulumi_aws_native/ec2/carrier_gateway.py index 4baa0bb247..ceb94a380b 100644 --- a/sdk/python/pulumi_aws_native/ec2/carrier_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/carrier_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/customer_gateway.py b/sdk/python/pulumi_aws_native/ec2/customer_gateway.py index 8ba208d9b3..7f7ed42613 100644 --- a/sdk/python/pulumi_aws_native/ec2/customer_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/customer_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/dhcp_options.py b/sdk/python/pulumi_aws_native/ec2/dhcp_options.py index 3e08a15ba2..034835b6da 100644 --- a/sdk/python/pulumi_aws_native/ec2/dhcp_options.py +++ b/sdk/python/pulumi_aws_native/ec2/dhcp_options.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/ec2_fleet.py b/sdk/python/pulumi_aws_native/ec2/ec2_fleet.py index e97d66c1fa..81631af3b9 100644 --- a/sdk/python/pulumi_aws_native/ec2/ec2_fleet.py +++ b/sdk/python/pulumi_aws_native/ec2/ec2_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ec2/egress_only_internet_gateway.py b/sdk/python/pulumi_aws_native/ec2/egress_only_internet_gateway.py index 3903bf2a38..be0097a72a 100644 --- a/sdk/python/pulumi_aws_native/ec2/egress_only_internet_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/egress_only_internet_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['EgressOnlyInternetGatewayArgs', 'EgressOnlyInternetGateway'] diff --git a/sdk/python/pulumi_aws_native/ec2/eip.py b/sdk/python/pulumi_aws_native/ec2/eip.py index a100bc589b..bc876d9596 100644 --- a/sdk/python/pulumi_aws_native/ec2/eip.py +++ b/sdk/python/pulumi_aws_native/ec2/eip.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/eip_association.py b/sdk/python/pulumi_aws_native/ec2/eip_association.py index 907ed65d40..9514dd6332 100644 --- a/sdk/python/pulumi_aws_native/ec2/eip_association.py +++ b/sdk/python/pulumi_aws_native/ec2/eip_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['EipAssociationArgs', 'EipAssociation'] diff --git a/sdk/python/pulumi_aws_native/ec2/enclave_certificate_iam_role_association.py b/sdk/python/pulumi_aws_native/ec2/enclave_certificate_iam_role_association.py index 16687a9c79..363d541c4d 100644 --- a/sdk/python/pulumi_aws_native/ec2/enclave_certificate_iam_role_association.py +++ b/sdk/python/pulumi_aws_native/ec2/enclave_certificate_iam_role_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['EnclaveCertificateIamRoleAssociationArgs', 'EnclaveCertificateIamRoleAssociation'] diff --git a/sdk/python/pulumi_aws_native/ec2/flow_log.py b/sdk/python/pulumi_aws_native/ec2/flow_log.py index 2ab6c839f9..b44fd98639 100644 --- a/sdk/python/pulumi_aws_native/ec2/flow_log.py +++ b/sdk/python/pulumi_aws_native/ec2/flow_log.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/gateway_route_table_association.py b/sdk/python/pulumi_aws_native/ec2/gateway_route_table_association.py index 2aeee9ba0c..ac9b4a18df 100644 --- a/sdk/python/pulumi_aws_native/ec2/gateway_route_table_association.py +++ b/sdk/python/pulumi_aws_native/ec2/gateway_route_table_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['GatewayRouteTableAssociationArgs', 'GatewayRouteTableAssociation'] diff --git a/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation.py b/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation.py index c6c7b274e7..9c2cda205a 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation.py +++ b/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -148,9 +153,6 @@ def get_capacity_reservation(id: Optional[str] = None, instance_count=pulumi.get(__ret__, 'instance_count'), instance_match_criteria=pulumi.get(__ret__, 'instance_match_criteria'), total_instance_count=pulumi.get(__ret__, 'total_instance_count')) - - -@_utilities.lift_output_func(get_capacity_reservation) def get_capacity_reservation_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCapacityReservationResult]: """ @@ -159,4 +161,15 @@ def get_capacity_reservation_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the Capacity Reservation. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getCapacityReservation', __args__, opts=opts, typ=GetCapacityReservationResult) + return __ret__.apply(lambda __response__: GetCapacityReservationResult( + available_instance_count=pulumi.get(__response__, 'available_instance_count'), + end_date=pulumi.get(__response__, 'end_date'), + end_date_type=pulumi.get(__response__, 'end_date_type'), + id=pulumi.get(__response__, 'id'), + instance_count=pulumi.get(__response__, 'instance_count'), + instance_match_criteria=pulumi.get(__response__, 'instance_match_criteria'), + total_instance_count=pulumi.get(__response__, 'total_instance_count'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation_fleet.py b/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation_fleet.py index 8269d38f80..97dafed704 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation_fleet.py +++ b/sdk/python/pulumi_aws_native/ec2/get_capacity_reservation_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -95,9 +100,6 @@ def get_capacity_reservation_fleet(capacity_reservation_fleet_id: Optional[str] no_remove_end_date=pulumi.get(__ret__, 'no_remove_end_date'), remove_end_date=pulumi.get(__ret__, 'remove_end_date'), total_target_capacity=pulumi.get(__ret__, 'total_target_capacity')) - - -@_utilities.lift_output_func(get_capacity_reservation_fleet) def get_capacity_reservation_fleet_output(capacity_reservation_fleet_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCapacityReservationFleetResult]: """ @@ -106,4 +108,12 @@ def get_capacity_reservation_fleet_output(capacity_reservation_fleet_id: Optiona :param str capacity_reservation_fleet_id: The ID of the Capacity Reservation Fleet. """ - ... + __args__ = dict() + __args__['capacityReservationFleetId'] = capacity_reservation_fleet_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getCapacityReservationFleet', __args__, opts=opts, typ=GetCapacityReservationFleetResult) + return __ret__.apply(lambda __response__: GetCapacityReservationFleetResult( + capacity_reservation_fleet_id=pulumi.get(__response__, 'capacity_reservation_fleet_id'), + no_remove_end_date=pulumi.get(__response__, 'no_remove_end_date'), + remove_end_date=pulumi.get(__response__, 'remove_end_date'), + total_target_capacity=pulumi.get(__response__, 'total_target_capacity'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_carrier_gateway.py b/sdk/python/pulumi_aws_native/ec2/get_carrier_gateway.py index 2df4fcc61e..c450806d63 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_carrier_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/get_carrier_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_carrier_gateway(carrier_gateway_id: Optional[str] = None, owner_id=pulumi.get(__ret__, 'owner_id'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_carrier_gateway) def get_carrier_gateway_output(carrier_gateway_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCarrierGatewayResult]: """ @@ -107,4 +109,12 @@ def get_carrier_gateway_output(carrier_gateway_id: Optional[pulumi.Input[str]] = :param str carrier_gateway_id: The ID of the carrier gateway. """ - ... + __args__ = dict() + __args__['carrierGatewayId'] = carrier_gateway_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getCarrierGateway', __args__, opts=opts, typ=GetCarrierGatewayResult) + return __ret__.apply(lambda __response__: GetCarrierGatewayResult( + carrier_gateway_id=pulumi.get(__response__, 'carrier_gateway_id'), + owner_id=pulumi.get(__response__, 'owner_id'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_customer_gateway.py b/sdk/python/pulumi_aws_native/ec2/get_customer_gateway.py index ba46b422aa..b9058493e4 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_customer_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/get_customer_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_customer_gateway(customer_gateway_id: Optional[str] = None, return AwaitableGetCustomerGatewayResult( customer_gateway_id=pulumi.get(__ret__, 'customer_gateway_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_customer_gateway) def get_customer_gateway_output(customer_gateway_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCustomerGatewayResult]: """ @@ -81,4 +83,10 @@ def get_customer_gateway_output(customer_gateway_id: Optional[pulumi.Input[str]] :param str customer_gateway_id: The ID of the customer gateway. """ - ... + __args__ = dict() + __args__['customerGatewayId'] = customer_gateway_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getCustomerGateway', __args__, opts=opts, typ=GetCustomerGatewayResult) + return __ret__.apply(lambda __response__: GetCustomerGatewayResult( + customer_gateway_id=pulumi.get(__response__, 'customer_gateway_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_dhcp_options.py b/sdk/python/pulumi_aws_native/ec2/get_dhcp_options.py index cc9c51c38f..f42dfb9e77 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_dhcp_options.py +++ b/sdk/python/pulumi_aws_native/ec2/get_dhcp_options.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_dhcp_options(dhcp_options_id: Optional[str] = None, return AwaitableGetDhcpOptionsResult( dhcp_options_id=pulumi.get(__ret__, 'dhcp_options_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_dhcp_options) def get_dhcp_options_output(dhcp_options_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDhcpOptionsResult]: """ @@ -81,4 +83,10 @@ def get_dhcp_options_output(dhcp_options_id: Optional[pulumi.Input[str]] = None, :param str dhcp_options_id: The ID of the DHCP options set. """ - ... + __args__ = dict() + __args__['dhcpOptionsId'] = dhcp_options_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getDhcpOptions', __args__, opts=opts, typ=GetDhcpOptionsResult) + return __ret__.apply(lambda __response__: GetDhcpOptionsResult( + dhcp_options_id=pulumi.get(__response__, 'dhcp_options_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_ec2_fleet.py b/sdk/python/pulumi_aws_native/ec2/get_ec2_fleet.py index 0e890c64c8..d635f4ff44 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_ec2_fleet.py +++ b/sdk/python/pulumi_aws_native/ec2/get_ec2_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -99,9 +104,6 @@ def get_ec2_fleet(fleet_id: Optional[str] = None, excess_capacity_termination_policy=pulumi.get(__ret__, 'excess_capacity_termination_policy'), fleet_id=pulumi.get(__ret__, 'fleet_id'), target_capacity_specification=pulumi.get(__ret__, 'target_capacity_specification')) - - -@_utilities.lift_output_func(get_ec2_fleet) def get_ec2_fleet_output(fleet_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEc2FleetResult]: """ @@ -110,4 +112,12 @@ def get_ec2_fleet_output(fleet_id: Optional[pulumi.Input[str]] = None, :param str fleet_id: The ID of the EC2 Fleet. """ - ... + __args__ = dict() + __args__['fleetId'] = fleet_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getEc2Fleet', __args__, opts=opts, typ=GetEc2FleetResult) + return __ret__.apply(lambda __response__: GetEc2FleetResult( + context=pulumi.get(__response__, 'context'), + excess_capacity_termination_policy=pulumi.get(__response__, 'excess_capacity_termination_policy'), + fleet_id=pulumi.get(__response__, 'fleet_id'), + target_capacity_specification=pulumi.get(__response__, 'target_capacity_specification'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_egress_only_internet_gateway.py b/sdk/python/pulumi_aws_native/ec2/get_egress_only_internet_gateway.py index 33162e56c8..a655d5cb85 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_egress_only_internet_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/get_egress_only_internet_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_egress_only_internet_gateway(id: Optional[str] = None, return AwaitableGetEgressOnlyInternetGatewayResult( id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_egress_only_internet_gateway) def get_egress_only_internet_gateway_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEgressOnlyInternetGatewayResult]: """ @@ -67,4 +69,9 @@ def get_egress_only_internet_gateway_output(id: Optional[pulumi.Input[str]] = No :param str id: Service Generated ID of the EgressOnlyInternetGateway """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getEgressOnlyInternetGateway', __args__, opts=opts, typ=GetEgressOnlyInternetGatewayResult) + return __ret__.apply(lambda __response__: GetEgressOnlyInternetGatewayResult( + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_eip.py b/sdk/python/pulumi_aws_native/ec2/get_eip.py index c0932be6dc..9b5f9924c0 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_eip.py +++ b/sdk/python/pulumi_aws_native/ec2/get_eip.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -117,9 +122,6 @@ def get_eip(allocation_id: Optional[str] = None, public_ip=pulumi.get(__ret__, 'public_ip'), public_ipv4_pool=pulumi.get(__ret__, 'public_ipv4_pool'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_eip) def get_eip_output(allocation_id: Optional[pulumi.Input[str]] = None, public_ip: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEipResult]: @@ -132,4 +134,14 @@ def get_eip_output(allocation_id: Optional[pulumi.Input[str]] = None, :param str allocation_id: The ID that AWS assigns to represent the allocation of the address for use with Amazon VPC. This is returned only for VPC elastic IP addresses. For example, `eipalloc-5723d13e` . :param str public_ip: The Elastic IP address. """ - ... + __args__ = dict() + __args__['allocationId'] = allocation_id + __args__['publicIp'] = public_ip + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getEip', __args__, opts=opts, typ=GetEipResult) + return __ret__.apply(lambda __response__: GetEipResult( + allocation_id=pulumi.get(__response__, 'allocation_id'), + instance_id=pulumi.get(__response__, 'instance_id'), + public_ip=pulumi.get(__response__, 'public_ip'), + public_ipv4_pool=pulumi.get(__response__, 'public_ipv4_pool'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_eip_association.py b/sdk/python/pulumi_aws_native/ec2/get_eip_association.py index cf9c8c4772..1ea5ea8d60 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_eip_association.py +++ b/sdk/python/pulumi_aws_native/ec2/get_eip_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -57,9 +62,6 @@ def get_eip_association(id: Optional[str] = None, return AwaitableGetEipAssociationResult( id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_eip_association) def get_eip_association_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEipAssociationResult]: """ @@ -69,4 +71,9 @@ def get_eip_association_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the association. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getEipAssociation', __args__, opts=opts, typ=GetEipAssociationResult) + return __ret__.apply(lambda __response__: GetEipAssociationResult( + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_enclave_certificate_iam_role_association.py b/sdk/python/pulumi_aws_native/ec2/get_enclave_certificate_iam_role_association.py index 8f47add4d7..4f35992602 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_enclave_certificate_iam_role_association.py +++ b/sdk/python/pulumi_aws_native/ec2/get_enclave_certificate_iam_role_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -85,9 +90,6 @@ def get_enclave_certificate_iam_role_association(certificate_arn: Optional[str] certificate_s3_bucket_name=pulumi.get(__ret__, 'certificate_s3_bucket_name'), certificate_s3_object_key=pulumi.get(__ret__, 'certificate_s3_object_key'), encryption_kms_key_id=pulumi.get(__ret__, 'encryption_kms_key_id')) - - -@_utilities.lift_output_func(get_enclave_certificate_iam_role_association) def get_enclave_certificate_iam_role_association_output(certificate_arn: Optional[pulumi.Input[str]] = None, role_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnclaveCertificateIamRoleAssociationResult]: @@ -98,4 +100,12 @@ def get_enclave_certificate_iam_role_association_output(certificate_arn: Optiona :param str certificate_arn: The Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role. :param str role_arn: The Amazon Resource Name (ARN) of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate. """ - ... + __args__ = dict() + __args__['certificateArn'] = certificate_arn + __args__['roleArn'] = role_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getEnclaveCertificateIamRoleAssociation', __args__, opts=opts, typ=GetEnclaveCertificateIamRoleAssociationResult) + return __ret__.apply(lambda __response__: GetEnclaveCertificateIamRoleAssociationResult( + certificate_s3_bucket_name=pulumi.get(__response__, 'certificate_s3_bucket_name'), + certificate_s3_object_key=pulumi.get(__response__, 'certificate_s3_object_key'), + encryption_kms_key_id=pulumi.get(__response__, 'encryption_kms_key_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_flow_log.py b/sdk/python/pulumi_aws_native/ec2/get_flow_log.py index 89551c6989..facf437379 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_flow_log.py +++ b/sdk/python/pulumi_aws_native/ec2/get_flow_log.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_flow_log(id: Optional[str] = None, return AwaitableGetFlowLogResult( id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_flow_log) def get_flow_log_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlowLogResult]: """ @@ -81,4 +83,10 @@ def get_flow_log_output(id: Optional[pulumi.Input[str]] = None, :param str id: The Flow Log ID """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getFlowLog', __args__, opts=opts, typ=GetFlowLogResult) + return __ret__.apply(lambda __response__: GetFlowLogResult( + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_gateway_route_table_association.py b/sdk/python/pulumi_aws_native/ec2/get_gateway_route_table_association.py index ef9fed2bc1..39c785152a 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_gateway_route_table_association.py +++ b/sdk/python/pulumi_aws_native/ec2/get_gateway_route_table_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_gateway_route_table_association(gateway_id: Optional[str] = None, return AwaitableGetGatewayRouteTableAssociationResult( association_id=pulumi.get(__ret__, 'association_id'), route_table_id=pulumi.get(__ret__, 'route_table_id')) - - -@_utilities.lift_output_func(get_gateway_route_table_association) def get_gateway_route_table_association_output(gateway_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGatewayRouteTableAssociationResult]: """ @@ -80,4 +82,10 @@ def get_gateway_route_table_association_output(gateway_id: Optional[pulumi.Input :param str gateway_id: The ID of the gateway. """ - ... + __args__ = dict() + __args__['gatewayId'] = gateway_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getGatewayRouteTableAssociation', __args__, opts=opts, typ=GetGatewayRouteTableAssociationResult) + return __ret__.apply(lambda __response__: GetGatewayRouteTableAssociationResult( + association_id=pulumi.get(__response__, 'association_id'), + route_table_id=pulumi.get(__response__, 'route_table_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_host.py b/sdk/python/pulumi_aws_native/ec2/get_host.py index efd319412c..19eed7a948 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_host.py +++ b/sdk/python/pulumi_aws_native/ec2/get_host.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -95,9 +100,6 @@ def get_host(host_id: Optional[str] = None, host_id=pulumi.get(__ret__, 'host_id'), host_maintenance=pulumi.get(__ret__, 'host_maintenance'), host_recovery=pulumi.get(__ret__, 'host_recovery')) - - -@_utilities.lift_output_func(get_host) def get_host_output(host_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostResult]: """ @@ -106,4 +108,12 @@ def get_host_output(host_id: Optional[pulumi.Input[str]] = None, :param str host_id: ID of the host created. """ - ... + __args__ = dict() + __args__['hostId'] = host_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getHost', __args__, opts=opts, typ=GetHostResult) + return __ret__.apply(lambda __response__: GetHostResult( + auto_placement=pulumi.get(__response__, 'auto_placement'), + host_id=pulumi.get(__response__, 'host_id'), + host_maintenance=pulumi.get(__response__, 'host_maintenance'), + host_recovery=pulumi.get(__response__, 'host_recovery'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_instance.py b/sdk/python/pulumi_aws_native/ec2/get_instance.py index f83634e966..5f9e3ec4d3 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_instance.py +++ b/sdk/python/pulumi_aws_native/ec2/get_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -397,9 +402,6 @@ def get_instance(instance_id: Optional[str] = None, user_data=pulumi.get(__ret__, 'user_data'), volumes=pulumi.get(__ret__, 'volumes'), vpc_id=pulumi.get(__ret__, 'vpc_id')) - - -@_utilities.lift_output_func(get_instance) def get_instance_output(instance_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceResult]: """ @@ -408,4 +410,35 @@ def get_instance_output(instance_id: Optional[pulumi.Input[str]] = None, :param str instance_id: The EC2 Instance ID. """ - ... + __args__ = dict() + __args__['instanceId'] = instance_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getInstance', __args__, opts=opts, typ=GetInstanceResult) + return __ret__.apply(lambda __response__: GetInstanceResult( + affinity=pulumi.get(__response__, 'affinity'), + block_device_mappings=pulumi.get(__response__, 'block_device_mappings'), + credit_specification=pulumi.get(__response__, 'credit_specification'), + disable_api_termination=pulumi.get(__response__, 'disable_api_termination'), + ebs_optimized=pulumi.get(__response__, 'ebs_optimized'), + host_id=pulumi.get(__response__, 'host_id'), + iam_instance_profile=pulumi.get(__response__, 'iam_instance_profile'), + instance_id=pulumi.get(__response__, 'instance_id'), + instance_initiated_shutdown_behavior=pulumi.get(__response__, 'instance_initiated_shutdown_behavior'), + instance_type=pulumi.get(__response__, 'instance_type'), + kernel_id=pulumi.get(__response__, 'kernel_id'), + monitoring=pulumi.get(__response__, 'monitoring'), + private_dns_name=pulumi.get(__response__, 'private_dns_name'), + private_dns_name_options=pulumi.get(__response__, 'private_dns_name_options'), + private_ip=pulumi.get(__response__, 'private_ip'), + public_dns_name=pulumi.get(__response__, 'public_dns_name'), + public_ip=pulumi.get(__response__, 'public_ip'), + ramdisk_id=pulumi.get(__response__, 'ramdisk_id'), + security_group_ids=pulumi.get(__response__, 'security_group_ids'), + source_dest_check=pulumi.get(__response__, 'source_dest_check'), + ssm_associations=pulumi.get(__response__, 'ssm_associations'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + tenancy=pulumi.get(__response__, 'tenancy'), + user_data=pulumi.get(__response__, 'user_data'), + volumes=pulumi.get(__response__, 'volumes'), + vpc_id=pulumi.get(__response__, 'vpc_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_instance_connect_endpoint.py b/sdk/python/pulumi_aws_native/ec2/get_instance_connect_endpoint.py index adb092e834..6140aff26b 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_instance_connect_endpoint.py +++ b/sdk/python/pulumi_aws_native/ec2/get_instance_connect_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_instance_connect_endpoint(id: Optional[str] = None, return AwaitableGetInstanceConnectEndpointResult( id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_instance_connect_endpoint) def get_instance_connect_endpoint_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceConnectEndpointResult]: """ @@ -81,4 +83,10 @@ def get_instance_connect_endpoint_output(id: Optional[pulumi.Input[str]] = None, :param str id: The id of the instance connect endpoint """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getInstanceConnectEndpoint', __args__, opts=opts, typ=GetInstanceConnectEndpointResult) + return __ret__.apply(lambda __response__: GetInstanceConnectEndpointResult( + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_internet_gateway.py b/sdk/python/pulumi_aws_native/ec2/get_internet_gateway.py index 6dde70f253..07f72ef9fe 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_internet_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/get_internet_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_internet_gateway(internet_gateway_id: Optional[str] = None, return AwaitableGetInternetGatewayResult( internet_gateway_id=pulumi.get(__ret__, 'internet_gateway_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_internet_gateway) def get_internet_gateway_output(internet_gateway_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInternetGatewayResult]: """ @@ -81,4 +83,10 @@ def get_internet_gateway_output(internet_gateway_id: Optional[pulumi.Input[str]] :param str internet_gateway_id: The ID of the internet gateway. """ - ... + __args__ = dict() + __args__['internetGatewayId'] = internet_gateway_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getInternetGateway', __args__, opts=opts, typ=GetInternetGatewayResult) + return __ret__.apply(lambda __response__: GetInternetGatewayResult( + internet_gateway_id=pulumi.get(__response__, 'internet_gateway_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_ipam.py b/sdk/python/pulumi_aws_native/ec2/get_ipam.py index 4053dfa567..96f2ca0f79 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_ipam.py +++ b/sdk/python/pulumi_aws_native/ec2/get_ipam.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -215,9 +220,6 @@ def get_ipam(ipam_id: Optional[str] = None, scope_count=pulumi.get(__ret__, 'scope_count'), tags=pulumi.get(__ret__, 'tags'), tier=pulumi.get(__ret__, 'tier')) - - -@_utilities.lift_output_func(get_ipam) def get_ipam_output(ipam_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpamResult]: """ @@ -226,4 +228,21 @@ def get_ipam_output(ipam_id: Optional[pulumi.Input[str]] = None, :param str ipam_id: Id of the IPAM. """ - ... + __args__ = dict() + __args__['ipamId'] = ipam_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getIpam', __args__, opts=opts, typ=GetIpamResult) + return __ret__.apply(lambda __response__: GetIpamResult( + arn=pulumi.get(__response__, 'arn'), + default_resource_discovery_association_id=pulumi.get(__response__, 'default_resource_discovery_association_id'), + default_resource_discovery_id=pulumi.get(__response__, 'default_resource_discovery_id'), + description=pulumi.get(__response__, 'description'), + enable_private_gua=pulumi.get(__response__, 'enable_private_gua'), + ipam_id=pulumi.get(__response__, 'ipam_id'), + operating_regions=pulumi.get(__response__, 'operating_regions'), + private_default_scope_id=pulumi.get(__response__, 'private_default_scope_id'), + public_default_scope_id=pulumi.get(__response__, 'public_default_scope_id'), + resource_discovery_association_count=pulumi.get(__response__, 'resource_discovery_association_count'), + scope_count=pulumi.get(__response__, 'scope_count'), + tags=pulumi.get(__response__, 'tags'), + tier=pulumi.get(__response__, 'tier'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_ipam_allocation.py b/sdk/python/pulumi_aws_native/ec2/get_ipam_allocation.py index 80c93729e6..f7bab45347 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_ipam_allocation.py +++ b/sdk/python/pulumi_aws_native/ec2/get_ipam_allocation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -67,9 +72,6 @@ def get_ipam_allocation(cidr: Optional[str] = None, return AwaitableGetIpamAllocationResult( ipam_pool_allocation_id=pulumi.get(__ret__, 'ipam_pool_allocation_id')) - - -@_utilities.lift_output_func(get_ipam_allocation) def get_ipam_allocation_output(cidr: Optional[pulumi.Input[str]] = None, ipam_pool_allocation_id: Optional[pulumi.Input[str]] = None, ipam_pool_id: Optional[pulumi.Input[str]] = None, @@ -87,4 +89,11 @@ def get_ipam_allocation_output(cidr: Optional[pulumi.Input[str]] = None, :param str ipam_pool_allocation_id: Id of the allocation. :param str ipam_pool_id: Id of the IPAM Pool. """ - ... + __args__ = dict() + __args__['cidr'] = cidr + __args__['ipamPoolAllocationId'] = ipam_pool_allocation_id + __args__['ipamPoolId'] = ipam_pool_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getIpamAllocation', __args__, opts=opts, typ=GetIpamAllocationResult) + return __ret__.apply(lambda __response__: GetIpamAllocationResult( + ipam_pool_allocation_id=pulumi.get(__response__, 'ipam_pool_allocation_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_ipam_pool.py b/sdk/python/pulumi_aws_native/ec2/get_ipam_pool.py index dcf8aa8ca4..9e605f7d39 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_ipam_pool.py +++ b/sdk/python/pulumi_aws_native/ec2/get_ipam_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -254,9 +259,6 @@ def get_ipam_pool(ipam_pool_id: Optional[str] = None, state=pulumi.get(__ret__, 'state'), state_message=pulumi.get(__ret__, 'state_message'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_ipam_pool) def get_ipam_pool_output(ipam_pool_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpamPoolResult]: """ @@ -265,4 +267,24 @@ def get_ipam_pool_output(ipam_pool_id: Optional[pulumi.Input[str]] = None, :param str ipam_pool_id: Id of the IPAM Pool. """ - ... + __args__ = dict() + __args__['ipamPoolId'] = ipam_pool_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getIpamPool', __args__, opts=opts, typ=GetIpamPoolResult) + return __ret__.apply(lambda __response__: GetIpamPoolResult( + allocation_default_netmask_length=pulumi.get(__response__, 'allocation_default_netmask_length'), + allocation_max_netmask_length=pulumi.get(__response__, 'allocation_max_netmask_length'), + allocation_min_netmask_length=pulumi.get(__response__, 'allocation_min_netmask_length'), + allocation_resource_tags=pulumi.get(__response__, 'allocation_resource_tags'), + arn=pulumi.get(__response__, 'arn'), + auto_import=pulumi.get(__response__, 'auto_import'), + description=pulumi.get(__response__, 'description'), + ipam_arn=pulumi.get(__response__, 'ipam_arn'), + ipam_pool_id=pulumi.get(__response__, 'ipam_pool_id'), + ipam_scope_arn=pulumi.get(__response__, 'ipam_scope_arn'), + ipam_scope_type=pulumi.get(__response__, 'ipam_scope_type'), + pool_depth=pulumi.get(__response__, 'pool_depth'), + provisioned_cidrs=pulumi.get(__response__, 'provisioned_cidrs'), + state=pulumi.get(__response__, 'state'), + state_message=pulumi.get(__response__, 'state_message'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_ipam_pool_cidr.py b/sdk/python/pulumi_aws_native/ec2/get_ipam_pool_cidr.py index c79c94e199..b9da82d10c 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_ipam_pool_cidr.py +++ b/sdk/python/pulumi_aws_native/ec2/get_ipam_pool_cidr.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_ipam_pool_cidr(ipam_pool_cidr_id: Optional[str] = None, return AwaitableGetIpamPoolCidrResult( ipam_pool_cidr_id=pulumi.get(__ret__, 'ipam_pool_cidr_id'), state=pulumi.get(__ret__, 'state')) - - -@_utilities.lift_output_func(get_ipam_pool_cidr) def get_ipam_pool_cidr_output(ipam_pool_cidr_id: Optional[pulumi.Input[str]] = None, ipam_pool_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpamPoolCidrResult]: @@ -85,4 +87,11 @@ def get_ipam_pool_cidr_output(ipam_pool_cidr_id: Optional[pulumi.Input[str]] = N :param str ipam_pool_cidr_id: Id of the IPAM Pool Cidr. :param str ipam_pool_id: Id of the IPAM Pool. """ - ... + __args__ = dict() + __args__['ipamPoolCidrId'] = ipam_pool_cidr_id + __args__['ipamPoolId'] = ipam_pool_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getIpamPoolCidr', __args__, opts=opts, typ=GetIpamPoolCidrResult) + return __ret__.apply(lambda __response__: GetIpamPoolCidrResult( + ipam_pool_cidr_id=pulumi.get(__response__, 'ipam_pool_cidr_id'), + state=pulumi.get(__response__, 'state'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_ipam_resource_discovery.py b/sdk/python/pulumi_aws_native/ec2/get_ipam_resource_discovery.py index 9a477f72e2..7f21c49403 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_ipam_resource_discovery.py +++ b/sdk/python/pulumi_aws_native/ec2/get_ipam_resource_discovery.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -162,9 +167,6 @@ def get_ipam_resource_discovery(ipam_resource_discovery_id: Optional[str] = None owner_id=pulumi.get(__ret__, 'owner_id'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_ipam_resource_discovery) def get_ipam_resource_discovery_output(ipam_resource_discovery_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpamResourceDiscoveryResult]: """ @@ -173,4 +175,17 @@ def get_ipam_resource_discovery_output(ipam_resource_discovery_id: Optional[pulu :param str ipam_resource_discovery_id: Id of the IPAM Pool. """ - ... + __args__ = dict() + __args__['ipamResourceDiscoveryId'] = ipam_resource_discovery_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getIpamResourceDiscovery', __args__, opts=opts, typ=GetIpamResourceDiscoveryResult) + return __ret__.apply(lambda __response__: GetIpamResourceDiscoveryResult( + description=pulumi.get(__response__, 'description'), + ipam_resource_discovery_arn=pulumi.get(__response__, 'ipam_resource_discovery_arn'), + ipam_resource_discovery_id=pulumi.get(__response__, 'ipam_resource_discovery_id'), + ipam_resource_discovery_region=pulumi.get(__response__, 'ipam_resource_discovery_region'), + is_default=pulumi.get(__response__, 'is_default'), + operating_regions=pulumi.get(__response__, 'operating_regions'), + owner_id=pulumi.get(__response__, 'owner_id'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_ipam_resource_discovery_association.py b/sdk/python/pulumi_aws_native/ec2/get_ipam_resource_discovery_association.py index a39f848593..a53b487280 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_ipam_resource_discovery_association.py +++ b/sdk/python/pulumi_aws_native/ec2/get_ipam_resource_discovery_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -161,9 +166,6 @@ def get_ipam_resource_discovery_association(ipam_resource_discovery_association_ resource_discovery_status=pulumi.get(__ret__, 'resource_discovery_status'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_ipam_resource_discovery_association) def get_ipam_resource_discovery_association_output(ipam_resource_discovery_association_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpamResourceDiscoveryAssociationResult]: """ @@ -172,4 +174,17 @@ def get_ipam_resource_discovery_association_output(ipam_resource_discovery_assoc :param str ipam_resource_discovery_association_id: Id of the IPAM Resource Discovery Association. """ - ... + __args__ = dict() + __args__['ipamResourceDiscoveryAssociationId'] = ipam_resource_discovery_association_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getIpamResourceDiscoveryAssociation', __args__, opts=opts, typ=GetIpamResourceDiscoveryAssociationResult) + return __ret__.apply(lambda __response__: GetIpamResourceDiscoveryAssociationResult( + ipam_arn=pulumi.get(__response__, 'ipam_arn'), + ipam_region=pulumi.get(__response__, 'ipam_region'), + ipam_resource_discovery_association_arn=pulumi.get(__response__, 'ipam_resource_discovery_association_arn'), + ipam_resource_discovery_association_id=pulumi.get(__response__, 'ipam_resource_discovery_association_id'), + is_default=pulumi.get(__response__, 'is_default'), + owner_id=pulumi.get(__response__, 'owner_id'), + resource_discovery_status=pulumi.get(__response__, 'resource_discovery_status'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_ipam_scope.py b/sdk/python/pulumi_aws_native/ec2/get_ipam_scope.py index 75ecb9439d..f8d0ec9778 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_ipam_scope.py +++ b/sdk/python/pulumi_aws_native/ec2/get_ipam_scope.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -149,9 +154,6 @@ def get_ipam_scope(ipam_scope_id: Optional[str] = None, is_default=pulumi.get(__ret__, 'is_default'), pool_count=pulumi.get(__ret__, 'pool_count'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_ipam_scope) def get_ipam_scope_output(ipam_scope_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpamScopeResult]: """ @@ -160,4 +162,16 @@ def get_ipam_scope_output(ipam_scope_id: Optional[pulumi.Input[str]] = None, :param str ipam_scope_id: Id of the IPAM scope. """ - ... + __args__ = dict() + __args__['ipamScopeId'] = ipam_scope_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getIpamScope', __args__, opts=opts, typ=GetIpamScopeResult) + return __ret__.apply(lambda __response__: GetIpamScopeResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + ipam_arn=pulumi.get(__response__, 'ipam_arn'), + ipam_scope_id=pulumi.get(__response__, 'ipam_scope_id'), + ipam_scope_type=pulumi.get(__response__, 'ipam_scope_type'), + is_default=pulumi.get(__response__, 'is_default'), + pool_count=pulumi.get(__response__, 'pool_count'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_key_pair.py b/sdk/python/pulumi_aws_native/ec2/get_key_pair.py index 561132f699..e95f30e6da 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_key_pair.py +++ b/sdk/python/pulumi_aws_native/ec2/get_key_pair.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -84,9 +89,6 @@ def get_key_pair(key_name: Optional[str] = None, return AwaitableGetKeyPairResult( key_fingerprint=pulumi.get(__ret__, 'key_fingerprint'), key_pair_id=pulumi.get(__ret__, 'key_pair_id')) - - -@_utilities.lift_output_func(get_key_pair) def get_key_pair_output(key_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyPairResult]: """ @@ -102,4 +104,10 @@ def get_key_pair_output(key_name: Optional[pulumi.Input[str]] = None, :param str key_name: A unique name for the key pair. Constraints: Up to 255 ASCII characters """ - ... + __args__ = dict() + __args__['keyName'] = key_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getKeyPair', __args__, opts=opts, typ=GetKeyPairResult) + return __ret__.apply(lambda __response__: GetKeyPairResult( + key_fingerprint=pulumi.get(__response__, 'key_fingerprint'), + key_pair_id=pulumi.get(__response__, 'key_pair_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_launch_template.py b/sdk/python/pulumi_aws_native/ec2/get_launch_template.py index a8769899a3..57907d2e99 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_launch_template.py +++ b/sdk/python/pulumi_aws_native/ec2/get_launch_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -90,9 +95,6 @@ def get_launch_template(launch_template_id: Optional[str] = None, default_version_number=pulumi.get(__ret__, 'default_version_number'), latest_version_number=pulumi.get(__ret__, 'latest_version_number'), launch_template_id=pulumi.get(__ret__, 'launch_template_id')) - - -@_utilities.lift_output_func(get_launch_template) def get_launch_template_output(launch_template_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLaunchTemplateResult]: """ @@ -107,4 +109,11 @@ def get_launch_template_output(launch_template_id: Optional[pulumi.Input[str]] = :param str launch_template_id: The ID of the launch template. """ - ... + __args__ = dict() + __args__['launchTemplateId'] = launch_template_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getLaunchTemplate', __args__, opts=opts, typ=GetLaunchTemplateResult) + return __ret__.apply(lambda __response__: GetLaunchTemplateResult( + default_version_number=pulumi.get(__response__, 'default_version_number'), + latest_version_number=pulumi.get(__response__, 'latest_version_number'), + launch_template_id=pulumi.get(__response__, 'launch_template_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route.py b/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route.py index ee03519213..4aba82d749 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route.py +++ b/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -98,9 +103,6 @@ def get_local_gateway_route(destination_cidr_block: Optional[str] = None, network_interface_id=pulumi.get(__ret__, 'network_interface_id'), state=pulumi.get(__ret__, 'state'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_local_gateway_route) def get_local_gateway_route_output(destination_cidr_block: Optional[pulumi.Input[str]] = None, local_gateway_route_table_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocalGatewayRouteResult]: @@ -111,4 +113,13 @@ def get_local_gateway_route_output(destination_cidr_block: Optional[pulumi.Input :param str destination_cidr_block: The CIDR block used for destination matches. :param str local_gateway_route_table_id: The ID of the local gateway route table. """ - ... + __args__ = dict() + __args__['destinationCidrBlock'] = destination_cidr_block + __args__['localGatewayRouteTableId'] = local_gateway_route_table_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getLocalGatewayRoute', __args__, opts=opts, typ=GetLocalGatewayRouteResult) + return __ret__.apply(lambda __response__: GetLocalGatewayRouteResult( + local_gateway_virtual_interface_group_id=pulumi.get(__response__, 'local_gateway_virtual_interface_group_id'), + network_interface_id=pulumi.get(__response__, 'network_interface_id'), + state=pulumi.get(__response__, 'state'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table.py b/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table.py index c181840890..033164243f 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table.py +++ b/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_local_gateway_route_table(local_gateway_route_table_id: Optional[str] = owner_id=pulumi.get(__ret__, 'owner_id'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_local_gateway_route_table) def get_local_gateway_route_table_output(local_gateway_route_table_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocalGatewayRouteTableResult]: """ @@ -133,4 +135,14 @@ def get_local_gateway_route_table_output(local_gateway_route_table_id: Optional[ :param str local_gateway_route_table_id: The ID of the local gateway route table. """ - ... + __args__ = dict() + __args__['localGatewayRouteTableId'] = local_gateway_route_table_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getLocalGatewayRouteTable', __args__, opts=opts, typ=GetLocalGatewayRouteTableResult) + return __ret__.apply(lambda __response__: GetLocalGatewayRouteTableResult( + local_gateway_route_table_arn=pulumi.get(__response__, 'local_gateway_route_table_arn'), + local_gateway_route_table_id=pulumi.get(__response__, 'local_gateway_route_table_id'), + outpost_arn=pulumi.get(__response__, 'outpost_arn'), + owner_id=pulumi.get(__response__, 'owner_id'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table_virtual_interface_group_association.py b/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table_virtual_interface_group_association.py index 319cdeab2c..0d6f26705e 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table_virtual_interface_group_association.py +++ b/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table_virtual_interface_group_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_local_gateway_route_table_virtual_interface_group_association(local_gate owner_id=pulumi.get(__ret__, 'owner_id'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_local_gateway_route_table_virtual_interface_group_association) def get_local_gateway_route_table_virtual_interface_group_association_output(local_gateway_route_table_virtual_interface_group_association_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult]: """ @@ -133,4 +135,14 @@ def get_local_gateway_route_table_virtual_interface_group_association_output(loc :param str local_gateway_route_table_virtual_interface_group_association_id: The ID of the local gateway route table virtual interface group association. """ - ... + __args__ = dict() + __args__['localGatewayRouteTableVirtualInterfaceGroupAssociationId'] = local_gateway_route_table_virtual_interface_group_association_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getLocalGatewayRouteTableVirtualInterfaceGroupAssociation', __args__, opts=opts, typ=GetLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult) + return __ret__.apply(lambda __response__: GetLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult( + local_gateway_id=pulumi.get(__response__, 'local_gateway_id'), + local_gateway_route_table_arn=pulumi.get(__response__, 'local_gateway_route_table_arn'), + local_gateway_route_table_virtual_interface_group_association_id=pulumi.get(__response__, 'local_gateway_route_table_virtual_interface_group_association_id'), + owner_id=pulumi.get(__response__, 'owner_id'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table_vpc_association.py b/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table_vpc_association.py index 0f85ccfe11..b682e5ca1c 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table_vpc_association.py +++ b/sdk/python/pulumi_aws_native/ec2/get_local_gateway_route_table_vpc_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_local_gateway_route_table_vpc_association(local_gateway_route_table_vpc_ local_gateway_route_table_vpc_association_id=pulumi.get(__ret__, 'local_gateway_route_table_vpc_association_id'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_local_gateway_route_table_vpc_association) def get_local_gateway_route_table_vpc_association_output(local_gateway_route_table_vpc_association_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocalGatewayRouteTableVpcAssociationResult]: """ @@ -107,4 +109,12 @@ def get_local_gateway_route_table_vpc_association_output(local_gateway_route_tab :param str local_gateway_route_table_vpc_association_id: The ID of the association. """ - ... + __args__ = dict() + __args__['localGatewayRouteTableVpcAssociationId'] = local_gateway_route_table_vpc_association_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getLocalGatewayRouteTableVpcAssociation', __args__, opts=opts, typ=GetLocalGatewayRouteTableVpcAssociationResult) + return __ret__.apply(lambda __response__: GetLocalGatewayRouteTableVpcAssociationResult( + local_gateway_id=pulumi.get(__response__, 'local_gateway_id'), + local_gateway_route_table_vpc_association_id=pulumi.get(__response__, 'local_gateway_route_table_vpc_association_id'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_nat_gateway.py b/sdk/python/pulumi_aws_native/ec2/get_nat_gateway.py index afa5a1c57f..8e4eceab69 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_nat_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/get_nat_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -114,9 +119,6 @@ def get_nat_gateway(nat_gateway_id: Optional[str] = None, secondary_private_ip_address_count=pulumi.get(__ret__, 'secondary_private_ip_address_count'), secondary_private_ip_addresses=pulumi.get(__ret__, 'secondary_private_ip_addresses'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_nat_gateway) def get_nat_gateway_output(nat_gateway_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNatGatewayResult]: """ @@ -128,4 +130,13 @@ def get_nat_gateway_output(nat_gateway_id: Optional[pulumi.Input[str]] = None, :param str nat_gateway_id: The ID of the NAT gateway. """ - ... + __args__ = dict() + __args__['natGatewayId'] = nat_gateway_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getNatGateway', __args__, opts=opts, typ=GetNatGatewayResult) + return __ret__.apply(lambda __response__: GetNatGatewayResult( + nat_gateway_id=pulumi.get(__response__, 'nat_gateway_id'), + secondary_allocation_ids=pulumi.get(__response__, 'secondary_allocation_ids'), + secondary_private_ip_address_count=pulumi.get(__response__, 'secondary_private_ip_address_count'), + secondary_private_ip_addresses=pulumi.get(__response__, 'secondary_private_ip_addresses'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_network_acl.py b/sdk/python/pulumi_aws_native/ec2/get_network_acl.py index c461e02f34..a649ee19e7 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_network_acl.py +++ b/sdk/python/pulumi_aws_native/ec2/get_network_acl.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_network_acl(id: Optional[str] = None, return AwaitableGetNetworkAclResult( id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_acl) def get_network_acl_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkAclResult]: """ @@ -81,4 +83,10 @@ def get_network_acl_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the network ACL. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getNetworkAcl', __args__, opts=opts, typ=GetNetworkAclResult) + return __ret__.apply(lambda __response__: GetNetworkAclResult( + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_network_insights_access_scope.py b/sdk/python/pulumi_aws_native/ec2/get_network_insights_access_scope.py index 899c547273..79f1e1d781 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_network_insights_access_scope.py +++ b/sdk/python/pulumi_aws_native/ec2/get_network_insights_access_scope.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_network_insights_access_scope(network_insights_access_scope_id: Optional network_insights_access_scope_id=pulumi.get(__ret__, 'network_insights_access_scope_id'), tags=pulumi.get(__ret__, 'tags'), updated_date=pulumi.get(__ret__, 'updated_date')) - - -@_utilities.lift_output_func(get_network_insights_access_scope) def get_network_insights_access_scope_output(network_insights_access_scope_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkInsightsAccessScopeResult]: """ @@ -120,4 +122,13 @@ def get_network_insights_access_scope_output(network_insights_access_scope_id: O :param str network_insights_access_scope_id: The ID of the Network Access Scope. """ - ... + __args__ = dict() + __args__['networkInsightsAccessScopeId'] = network_insights_access_scope_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getNetworkInsightsAccessScope', __args__, opts=opts, typ=GetNetworkInsightsAccessScopeResult) + return __ret__.apply(lambda __response__: GetNetworkInsightsAccessScopeResult( + created_date=pulumi.get(__response__, 'created_date'), + network_insights_access_scope_arn=pulumi.get(__response__, 'network_insights_access_scope_arn'), + network_insights_access_scope_id=pulumi.get(__response__, 'network_insights_access_scope_id'), + tags=pulumi.get(__response__, 'tags'), + updated_date=pulumi.get(__response__, 'updated_date'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_network_insights_access_scope_analysis.py b/sdk/python/pulumi_aws_native/ec2/get_network_insights_access_scope_analysis.py index c1ffb781a6..aaead7ecd0 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_network_insights_access_scope_analysis.py +++ b/sdk/python/pulumi_aws_native/ec2/get_network_insights_access_scope_analysis.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -162,9 +167,6 @@ def get_network_insights_access_scope_analysis(network_insights_access_scope_ana status=pulumi.get(__ret__, 'status'), status_message=pulumi.get(__ret__, 'status_message'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_insights_access_scope_analysis) def get_network_insights_access_scope_analysis_output(network_insights_access_scope_analysis_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkInsightsAccessScopeAnalysisResult]: """ @@ -173,4 +175,17 @@ def get_network_insights_access_scope_analysis_output(network_insights_access_sc :param str network_insights_access_scope_analysis_id: The ID of the Network Access Scope analysis. """ - ... + __args__ = dict() + __args__['networkInsightsAccessScopeAnalysisId'] = network_insights_access_scope_analysis_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getNetworkInsightsAccessScopeAnalysis', __args__, opts=opts, typ=GetNetworkInsightsAccessScopeAnalysisResult) + return __ret__.apply(lambda __response__: GetNetworkInsightsAccessScopeAnalysisResult( + analyzed_eni_count=pulumi.get(__response__, 'analyzed_eni_count'), + end_date=pulumi.get(__response__, 'end_date'), + findings_found=pulumi.get(__response__, 'findings_found'), + network_insights_access_scope_analysis_arn=pulumi.get(__response__, 'network_insights_access_scope_analysis_arn'), + network_insights_access_scope_analysis_id=pulumi.get(__response__, 'network_insights_access_scope_analysis_id'), + start_date=pulumi.get(__response__, 'start_date'), + status=pulumi.get(__response__, 'status'), + status_message=pulumi.get(__response__, 'status_message'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_network_insights_analysis.py b/sdk/python/pulumi_aws_native/ec2/get_network_insights_analysis.py index 4202e23be0..5678933777 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_network_insights_analysis.py +++ b/sdk/python/pulumi_aws_native/ec2/get_network_insights_analysis.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -215,9 +220,6 @@ def get_network_insights_analysis(network_insights_analysis_id: Optional[str] = status_message=pulumi.get(__ret__, 'status_message'), suggested_accounts=pulumi.get(__ret__, 'suggested_accounts'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_insights_analysis) def get_network_insights_analysis_output(network_insights_analysis_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkInsightsAnalysisResult]: """ @@ -226,4 +228,21 @@ def get_network_insights_analysis_output(network_insights_analysis_id: Optional[ :param str network_insights_analysis_id: The ID of the network insights analysis. """ - ... + __args__ = dict() + __args__['networkInsightsAnalysisId'] = network_insights_analysis_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getNetworkInsightsAnalysis', __args__, opts=opts, typ=GetNetworkInsightsAnalysisResult) + return __ret__.apply(lambda __response__: GetNetworkInsightsAnalysisResult( + additional_accounts=pulumi.get(__response__, 'additional_accounts'), + alternate_path_hints=pulumi.get(__response__, 'alternate_path_hints'), + explanations=pulumi.get(__response__, 'explanations'), + forward_path_components=pulumi.get(__response__, 'forward_path_components'), + network_insights_analysis_arn=pulumi.get(__response__, 'network_insights_analysis_arn'), + network_insights_analysis_id=pulumi.get(__response__, 'network_insights_analysis_id'), + network_path_found=pulumi.get(__response__, 'network_path_found'), + return_path_components=pulumi.get(__response__, 'return_path_components'), + start_date=pulumi.get(__response__, 'start_date'), + status=pulumi.get(__response__, 'status'), + status_message=pulumi.get(__response__, 'status_message'), + suggested_accounts=pulumi.get(__response__, 'suggested_accounts'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_network_insights_path.py b/sdk/python/pulumi_aws_native/ec2/get_network_insights_path.py index 943e1b55ed..562e21e41b 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_network_insights_path.py +++ b/sdk/python/pulumi_aws_native/ec2/get_network_insights_path.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_network_insights_path(network_insights_path_id: Optional[str] = None, network_insights_path_id=pulumi.get(__ret__, 'network_insights_path_id'), source_arn=pulumi.get(__ret__, 'source_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network_insights_path) def get_network_insights_path_output(network_insights_path_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkInsightsPathResult]: """ @@ -133,4 +135,14 @@ def get_network_insights_path_output(network_insights_path_id: Optional[pulumi.I :param str network_insights_path_id: The ID of the path. """ - ... + __args__ = dict() + __args__['networkInsightsPathId'] = network_insights_path_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getNetworkInsightsPath', __args__, opts=opts, typ=GetNetworkInsightsPathResult) + return __ret__.apply(lambda __response__: GetNetworkInsightsPathResult( + created_date=pulumi.get(__response__, 'created_date'), + destination_arn=pulumi.get(__response__, 'destination_arn'), + network_insights_path_arn=pulumi.get(__response__, 'network_insights_path_arn'), + network_insights_path_id=pulumi.get(__response__, 'network_insights_path_id'), + source_arn=pulumi.get(__response__, 'source_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_network_interface.py b/sdk/python/pulumi_aws_native/ec2/get_network_interface.py index 5dc632aedd..4515927d10 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_network_interface.py +++ b/sdk/python/pulumi_aws_native/ec2/get_network_interface.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -292,9 +297,6 @@ def get_network_interface(id: Optional[str] = None, source_dest_check=pulumi.get(__ret__, 'source_dest_check'), tags=pulumi.get(__ret__, 'tags'), vpc_id=pulumi.get(__ret__, 'vpc_id')) - - -@_utilities.lift_output_func(get_network_interface) def get_network_interface_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkInterfaceResult]: """ @@ -303,4 +305,27 @@ def get_network_interface_output(id: Optional[pulumi.Input[str]] = None, :param str id: Network interface id. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getNetworkInterface', __args__, opts=opts, typ=GetNetworkInterfaceResult) + return __ret__.apply(lambda __response__: GetNetworkInterfaceResult( + connection_tracking_specification=pulumi.get(__response__, 'connection_tracking_specification'), + description=pulumi.get(__response__, 'description'), + enable_primary_ipv6=pulumi.get(__response__, 'enable_primary_ipv6'), + group_set=pulumi.get(__response__, 'group_set'), + id=pulumi.get(__response__, 'id'), + ipv4_prefix_count=pulumi.get(__response__, 'ipv4_prefix_count'), + ipv4_prefixes=pulumi.get(__response__, 'ipv4_prefixes'), + ipv6_address_count=pulumi.get(__response__, 'ipv6_address_count'), + ipv6_addresses=pulumi.get(__response__, 'ipv6_addresses'), + ipv6_prefix_count=pulumi.get(__response__, 'ipv6_prefix_count'), + ipv6_prefixes=pulumi.get(__response__, 'ipv6_prefixes'), + primary_ipv6_address=pulumi.get(__response__, 'primary_ipv6_address'), + primary_private_ip_address=pulumi.get(__response__, 'primary_private_ip_address'), + private_ip_addresses=pulumi.get(__response__, 'private_ip_addresses'), + secondary_private_ip_address_count=pulumi.get(__response__, 'secondary_private_ip_address_count'), + secondary_private_ip_addresses=pulumi.get(__response__, 'secondary_private_ip_addresses'), + source_dest_check=pulumi.get(__response__, 'source_dest_check'), + tags=pulumi.get(__response__, 'tags'), + vpc_id=pulumi.get(__response__, 'vpc_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_network_interface_attachment.py b/sdk/python/pulumi_aws_native/ec2/get_network_interface_attachment.py index 847402a1ac..abfdf0b404 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_network_interface_attachment.py +++ b/sdk/python/pulumi_aws_native/ec2/get_network_interface_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_network_interface_attachment(attachment_id: Optional[str] = None, attachment_id=pulumi.get(__ret__, 'attachment_id'), delete_on_termination=pulumi.get(__ret__, 'delete_on_termination'), ena_srd_specification=pulumi.get(__ret__, 'ena_srd_specification')) - - -@_utilities.lift_output_func(get_network_interface_attachment) def get_network_interface_attachment_output(attachment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkInterfaceAttachmentResult]: """ @@ -94,4 +96,11 @@ def get_network_interface_attachment_output(attachment_id: Optional[pulumi.Input :param str attachment_id: The ID of the network interface attachment. """ - ... + __args__ = dict() + __args__['attachmentId'] = attachment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getNetworkInterfaceAttachment', __args__, opts=opts, typ=GetNetworkInterfaceAttachmentResult) + return __ret__.apply(lambda __response__: GetNetworkInterfaceAttachmentResult( + attachment_id=pulumi.get(__response__, 'attachment_id'), + delete_on_termination=pulumi.get(__response__, 'delete_on_termination'), + ena_srd_specification=pulumi.get(__response__, 'ena_srd_specification'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_placement_group.py b/sdk/python/pulumi_aws_native/ec2/get_placement_group.py index f882cf82ef..81785cb49d 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_placement_group.py +++ b/sdk/python/pulumi_aws_native/ec2/get_placement_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_placement_group(group_name: Optional[str] = None, return AwaitableGetPlacementGroupResult( group_name=pulumi.get(__ret__, 'group_name')) - - -@_utilities.lift_output_func(get_placement_group) def get_placement_group_output(group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPlacementGroupResult]: """ @@ -67,4 +69,9 @@ def get_placement_group_output(group_name: Optional[pulumi.Input[str]] = None, :param str group_name: The Group Name of Placement Group. """ - ... + __args__ = dict() + __args__['groupName'] = group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getPlacementGroup', __args__, opts=opts, typ=GetPlacementGroupResult) + return __ret__.apply(lambda __response__: GetPlacementGroupResult( + group_name=pulumi.get(__response__, 'group_name'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_prefix_list.py b/sdk/python/pulumi_aws_native/ec2/get_prefix_list.py index 4883f551e8..2d183fdee0 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_prefix_list.py +++ b/sdk/python/pulumi_aws_native/ec2/get_prefix_list.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -163,9 +168,6 @@ def get_prefix_list(prefix_list_id: Optional[str] = None, prefix_list_name=pulumi.get(__ret__, 'prefix_list_name'), tags=pulumi.get(__ret__, 'tags'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_prefix_list) def get_prefix_list_output(prefix_list_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrefixListResult]: """ @@ -174,4 +176,17 @@ def get_prefix_list_output(prefix_list_id: Optional[pulumi.Input[str]] = None, :param str prefix_list_id: Id of Prefix List. """ - ... + __args__ = dict() + __args__['prefixListId'] = prefix_list_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getPrefixList', __args__, opts=opts, typ=GetPrefixListResult) + return __ret__.apply(lambda __response__: GetPrefixListResult( + address_family=pulumi.get(__response__, 'address_family'), + arn=pulumi.get(__response__, 'arn'), + entries=pulumi.get(__response__, 'entries'), + max_entries=pulumi.get(__response__, 'max_entries'), + owner_id=pulumi.get(__response__, 'owner_id'), + prefix_list_id=pulumi.get(__response__, 'prefix_list_id'), + prefix_list_name=pulumi.get(__response__, 'prefix_list_name'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_route.py b/sdk/python/pulumi_aws_native/ec2/get_route.py index 6fce2cc7a9..2c3cf1415a 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_route.py +++ b/sdk/python/pulumi_aws_native/ec2/get_route.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -205,9 +210,6 @@ def get_route(cidr_block: Optional[str] = None, transit_gateway_id=pulumi.get(__ret__, 'transit_gateway_id'), vpc_endpoint_id=pulumi.get(__ret__, 'vpc_endpoint_id'), vpc_peering_connection_id=pulumi.get(__ret__, 'vpc_peering_connection_id')) - - -@_utilities.lift_output_func(get_route) def get_route_output(cidr_block: Optional[pulumi.Input[str]] = None, route_table_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRouteResult]: @@ -220,4 +222,21 @@ def get_route_output(cidr_block: Optional[pulumi.Input[str]] = None, :param str cidr_block: The IPv4 CIDR block. :param str route_table_id: The ID of the route table for the route. """ - ... + __args__ = dict() + __args__['cidrBlock'] = cidr_block + __args__['routeTableId'] = route_table_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getRoute', __args__, opts=opts, typ=GetRouteResult) + return __ret__.apply(lambda __response__: GetRouteResult( + carrier_gateway_id=pulumi.get(__response__, 'carrier_gateway_id'), + cidr_block=pulumi.get(__response__, 'cidr_block'), + core_network_arn=pulumi.get(__response__, 'core_network_arn'), + egress_only_internet_gateway_id=pulumi.get(__response__, 'egress_only_internet_gateway_id'), + gateway_id=pulumi.get(__response__, 'gateway_id'), + instance_id=pulumi.get(__response__, 'instance_id'), + local_gateway_id=pulumi.get(__response__, 'local_gateway_id'), + nat_gateway_id=pulumi.get(__response__, 'nat_gateway_id'), + network_interface_id=pulumi.get(__response__, 'network_interface_id'), + transit_gateway_id=pulumi.get(__response__, 'transit_gateway_id'), + vpc_endpoint_id=pulumi.get(__response__, 'vpc_endpoint_id'), + vpc_peering_connection_id=pulumi.get(__response__, 'vpc_peering_connection_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_route_table.py b/sdk/python/pulumi_aws_native/ec2/get_route_table.py index 6ac52e2080..878c6ce8ba 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_route_table.py +++ b/sdk/python/pulumi_aws_native/ec2/get_route_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -71,9 +76,6 @@ def get_route_table(route_table_id: Optional[str] = None, return AwaitableGetRouteTableResult( route_table_id=pulumi.get(__ret__, 'route_table_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_route_table) def get_route_table_output(route_table_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRouteTableResult]: """ @@ -83,4 +85,10 @@ def get_route_table_output(route_table_id: Optional[pulumi.Input[str]] = None, :param str route_table_id: The ID of the route table. """ - ... + __args__ = dict() + __args__['routeTableId'] = route_table_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getRouteTable', __args__, opts=opts, typ=GetRouteTableResult) + return __ret__.apply(lambda __response__: GetRouteTableResult( + route_table_id=pulumi.get(__response__, 'route_table_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_security_group.py b/sdk/python/pulumi_aws_native/ec2/get_security_group.py index 26464a7800..56ff22a4db 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_security_group.py +++ b/sdk/python/pulumi_aws_native/ec2/get_security_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -110,9 +115,6 @@ def get_security_group(id: Optional[str] = None, security_group_egress=pulumi.get(__ret__, 'security_group_egress'), security_group_ingress=pulumi.get(__ret__, 'security_group_ingress'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_security_group) def get_security_group_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityGroupResult]: """ @@ -121,4 +123,13 @@ def get_security_group_output(id: Optional[pulumi.Input[str]] = None, :param str id: The group name or group ID depending on whether the SG is created in default or specific VPC """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getSecurityGroup', __args__, opts=opts, typ=GetSecurityGroupResult) + return __ret__.apply(lambda __response__: GetSecurityGroupResult( + group_id=pulumi.get(__response__, 'group_id'), + id=pulumi.get(__response__, 'id'), + security_group_egress=pulumi.get(__response__, 'security_group_egress'), + security_group_ingress=pulumi.get(__response__, 'security_group_ingress'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_security_group_egress.py b/sdk/python/pulumi_aws_native/ec2/get_security_group_egress.py index 57852babf6..264717b623 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_security_group_egress.py +++ b/sdk/python/pulumi_aws_native/ec2/get_security_group_egress.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -68,9 +73,6 @@ def get_security_group_egress(id: Optional[str] = None, return AwaitableGetSecurityGroupEgressResult( description=pulumi.get(__ret__, 'description'), id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_security_group_egress) def get_security_group_egress_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityGroupEgressResult]: """ @@ -80,4 +82,10 @@ def get_security_group_egress_output(id: Optional[pulumi.Input[str]] = None, You must specify a protocol for each rule (for example, TCP). If the protocol is TCP or UDP, you must also specify a port or port range. If the protocol is ICMP or ICMPv6, you must also specify the ICMP/ICMPv6 type and code. To specify all types or all codes, use -1. Rule changes are propagated to instances associated with the security group as quickly as possible. However, a small delay might occur. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getSecurityGroupEgress', __args__, opts=opts, typ=GetSecurityGroupEgressResult) + return __ret__.apply(lambda __response__: GetSecurityGroupEgressResult( + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_security_group_ingress.py b/sdk/python/pulumi_aws_native/ec2/get_security_group_ingress.py index 3edaef540e..7bc38ca816 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_security_group_ingress.py +++ b/sdk/python/pulumi_aws_native/ec2/get_security_group_ingress.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_security_group_ingress(id: Optional[str] = None, return AwaitableGetSecurityGroupIngressResult( description=pulumi.get(__ret__, 'description'), id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_security_group_ingress) def get_security_group_ingress_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityGroupIngressResult]: """ @@ -80,4 +82,10 @@ def get_security_group_ingress_output(id: Optional[pulumi.Input[str]] = None, :param str id: The Security Group Rule Id """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getSecurityGroupIngress', __args__, opts=opts, typ=GetSecurityGroupIngressResult) + return __ret__.apply(lambda __response__: GetSecurityGroupIngressResult( + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_snapshot_block_public_access.py b/sdk/python/pulumi_aws_native/ec2/get_snapshot_block_public_access.py index 15cf845c2a..75e94dc5ec 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_snapshot_block_public_access.py +++ b/sdk/python/pulumi_aws_native/ec2/get_snapshot_block_public_access.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -70,9 +75,6 @@ def get_snapshot_block_public_access(account_id: Optional[str] = None, return AwaitableGetSnapshotBlockPublicAccessResult( account_id=pulumi.get(__ret__, 'account_id'), state=pulumi.get(__ret__, 'state')) - - -@_utilities.lift_output_func(get_snapshot_block_public_access) def get_snapshot_block_public_access_output(account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSnapshotBlockPublicAccessResult]: """ @@ -81,4 +83,10 @@ def get_snapshot_block_public_access_output(account_id: Optional[pulumi.Input[st :param str account_id: The identifier for the specified AWS account. """ - ... + __args__ = dict() + __args__['accountId'] = account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getSnapshotBlockPublicAccess', __args__, opts=opts, typ=GetSnapshotBlockPublicAccessResult) + return __ret__.apply(lambda __response__: GetSnapshotBlockPublicAccessResult( + account_id=pulumi.get(__response__, 'account_id'), + state=pulumi.get(__response__, 'state'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_spot_fleet.py b/sdk/python/pulumi_aws_native/ec2/get_spot_fleet.py index 6a2e727e9a..d3c649d2ea 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_spot_fleet.py +++ b/sdk/python/pulumi_aws_native/ec2/get_spot_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -71,9 +76,6 @@ def get_spot_fleet(id: Optional[str] = None, return AwaitableGetSpotFleetResult( id=pulumi.get(__ret__, 'id'), spot_fleet_request_config_data=pulumi.get(__ret__, 'spot_fleet_request_config_data')) - - -@_utilities.lift_output_func(get_spot_fleet) def get_spot_fleet_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSpotFleetResult]: """ @@ -82,4 +84,10 @@ def get_spot_fleet_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the Spot Fleet. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getSpotFleet', __args__, opts=opts, typ=GetSpotFleetResult) + return __ret__.apply(lambda __response__: GetSpotFleetResult( + id=pulumi.get(__response__, 'id'), + spot_fleet_request_config_data=pulumi.get(__response__, 'spot_fleet_request_config_data'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_subnet.py b/sdk/python/pulumi_aws_native/ec2/get_subnet.py index 471cbe138b..acc1478777 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_subnet.py +++ b/sdk/python/pulumi_aws_native/ec2/get_subnet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -172,9 +177,6 @@ def get_subnet(subnet_id: Optional[str] = None, private_dns_name_options_on_launch=pulumi.get(__ret__, 'private_dns_name_options_on_launch'), subnet_id=pulumi.get(__ret__, 'subnet_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_subnet) def get_subnet_output(subnet_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubnetResult]: """ @@ -185,4 +187,17 @@ def get_subnet_output(subnet_id: Optional[pulumi.Input[str]] = None, :param str subnet_id: The ID of the subnet. """ - ... + __args__ = dict() + __args__['subnetId'] = subnet_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getSubnet', __args__, opts=opts, typ=GetSubnetResult) + return __ret__.apply(lambda __response__: GetSubnetResult( + assign_ipv6_address_on_creation=pulumi.get(__response__, 'assign_ipv6_address_on_creation'), + enable_dns64=pulumi.get(__response__, 'enable_dns64'), + ipv6_cidr_block=pulumi.get(__response__, 'ipv6_cidr_block'), + ipv6_cidr_blocks=pulumi.get(__response__, 'ipv6_cidr_blocks'), + map_public_ip_on_launch=pulumi.get(__response__, 'map_public_ip_on_launch'), + network_acl_association_id=pulumi.get(__response__, 'network_acl_association_id'), + private_dns_name_options_on_launch=pulumi.get(__response__, 'private_dns_name_options_on_launch'), + subnet_id=pulumi.get(__response__, 'subnet_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_subnet_cidr_block.py b/sdk/python/pulumi_aws_native/ec2/get_subnet_cidr_block.py index 9c58cb05fe..51e000f70f 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_subnet_cidr_block.py +++ b/sdk/python/pulumi_aws_native/ec2/get_subnet_cidr_block.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_subnet_cidr_block(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), ip_source=pulumi.get(__ret__, 'ip_source'), ipv6_address_attribute=pulumi.get(__ret__, 'ipv6_address_attribute')) - - -@_utilities.lift_output_func(get_subnet_cidr_block) def get_subnet_cidr_block_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubnetCidrBlockResult]: """ @@ -93,4 +95,11 @@ def get_subnet_cidr_block_output(id: Optional[pulumi.Input[str]] = None, :param str id: Information about the IPv6 association. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getSubnetCidrBlock', __args__, opts=opts, typ=GetSubnetCidrBlockResult) + return __ret__.apply(lambda __response__: GetSubnetCidrBlockResult( + id=pulumi.get(__response__, 'id'), + ip_source=pulumi.get(__response__, 'ip_source'), + ipv6_address_attribute=pulumi.get(__response__, 'ipv6_address_attribute'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_subnet_network_acl_association.py b/sdk/python/pulumi_aws_native/ec2/get_subnet_network_acl_association.py index 8be0cb2023..d70c1da2e2 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_subnet_network_acl_association.py +++ b/sdk/python/pulumi_aws_native/ec2/get_subnet_network_acl_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_subnet_network_acl_association(association_id: Optional[str] = None, return AwaitableGetSubnetNetworkAclAssociationResult( association_id=pulumi.get(__ret__, 'association_id')) - - -@_utilities.lift_output_func(get_subnet_network_acl_association) def get_subnet_network_acl_association_output(association_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubnetNetworkAclAssociationResult]: """ @@ -67,4 +69,9 @@ def get_subnet_network_acl_association_output(association_id: Optional[pulumi.In :param str association_id: Returns the value of this object's AssociationId property. """ - ... + __args__ = dict() + __args__['associationId'] = association_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getSubnetNetworkAclAssociation', __args__, opts=opts, typ=GetSubnetNetworkAclAssociationResult) + return __ret__.apply(lambda __response__: GetSubnetNetworkAclAssociationResult( + association_id=pulumi.get(__response__, 'association_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_subnet_route_table_association.py b/sdk/python/pulumi_aws_native/ec2/get_subnet_route_table_association.py index b7b2630780..cb65a068af 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_subnet_route_table_association.py +++ b/sdk/python/pulumi_aws_native/ec2/get_subnet_route_table_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_subnet_route_table_association(id: Optional[str] = None, return AwaitableGetSubnetRouteTableAssociationResult( id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_subnet_route_table_association) def get_subnet_route_table_association_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubnetRouteTableAssociationResult]: """ @@ -67,4 +69,9 @@ def get_subnet_route_table_association_output(id: Optional[pulumi.Input[str]] = :param str id: The ID of the subnet route table association. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getSubnetRouteTableAssociation', __args__, opts=opts, typ=GetSubnetRouteTableAssociationResult) + return __ret__.apply(lambda __response__: GetSubnetRouteTableAssociationResult( + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway.py b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway.py index 7ca3339674..5dfddb2143 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -212,9 +217,6 @@ def get_transit_gateway(id: Optional[str] = None, transit_gateway_arn=pulumi.get(__ret__, 'transit_gateway_arn'), transit_gateway_cidr_blocks=pulumi.get(__ret__, 'transit_gateway_cidr_blocks'), vpn_ecmp_support=pulumi.get(__ret__, 'vpn_ecmp_support')) - - -@_utilities.lift_output_func(get_transit_gateway) def get_transit_gateway_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitGatewayResult]: """ @@ -223,4 +225,21 @@ def get_transit_gateway_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the transit gateway. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getTransitGateway', __args__, opts=opts, typ=GetTransitGatewayResult) + return __ret__.apply(lambda __response__: GetTransitGatewayResult( + association_default_route_table_id=pulumi.get(__response__, 'association_default_route_table_id'), + auto_accept_shared_attachments=pulumi.get(__response__, 'auto_accept_shared_attachments'), + default_route_table_association=pulumi.get(__response__, 'default_route_table_association'), + default_route_table_propagation=pulumi.get(__response__, 'default_route_table_propagation'), + description=pulumi.get(__response__, 'description'), + dns_support=pulumi.get(__response__, 'dns_support'), + id=pulumi.get(__response__, 'id'), + propagation_default_route_table_id=pulumi.get(__response__, 'propagation_default_route_table_id'), + security_group_referencing_support=pulumi.get(__response__, 'security_group_referencing_support'), + tags=pulumi.get(__response__, 'tags'), + transit_gateway_arn=pulumi.get(__response__, 'transit_gateway_arn'), + transit_gateway_cidr_blocks=pulumi.get(__response__, 'transit_gateway_cidr_blocks'), + vpn_ecmp_support=pulumi.get(__response__, 'vpn_ecmp_support'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_attachment.py b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_attachment.py index bc62214c5c..d8ec2d6570 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_attachment.py +++ b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -97,9 +102,6 @@ def get_transit_gateway_attachment(id: Optional[str] = None, options=pulumi.get(__ret__, 'options'), subnet_ids=pulumi.get(__ret__, 'subnet_ids'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_transit_gateway_attachment) def get_transit_gateway_attachment_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitGatewayAttachmentResult]: """ @@ -108,4 +110,12 @@ def get_transit_gateway_attachment_output(id: Optional[pulumi.Input[str]] = None :param str id: The ID of the attachment. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getTransitGatewayAttachment', __args__, opts=opts, typ=GetTransitGatewayAttachmentResult) + return __ret__.apply(lambda __response__: GetTransitGatewayAttachmentResult( + id=pulumi.get(__response__, 'id'), + options=pulumi.get(__response__, 'options'), + subnet_ids=pulumi.get(__response__, 'subnet_ids'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_connect.py b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_connect.py index acca45de2c..3b9442831c 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_connect.py +++ b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_connect.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_transit_gateway_connect(transit_gateway_attachment_id: Optional[str] = N tags=pulumi.get(__ret__, 'tags'), transit_gateway_attachment_id=pulumi.get(__ret__, 'transit_gateway_attachment_id'), transit_gateway_id=pulumi.get(__ret__, 'transit_gateway_id')) - - -@_utilities.lift_output_func(get_transit_gateway_connect) def get_transit_gateway_connect_output(transit_gateway_attachment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitGatewayConnectResult]: """ @@ -120,4 +122,13 @@ def get_transit_gateway_connect_output(transit_gateway_attachment_id: Optional[p :param str transit_gateway_attachment_id: The ID of the Connect attachment. """ - ... + __args__ = dict() + __args__['transitGatewayAttachmentId'] = transit_gateway_attachment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getTransitGatewayConnect', __args__, opts=opts, typ=GetTransitGatewayConnectResult) + return __ret__.apply(lambda __response__: GetTransitGatewayConnectResult( + creation_time=pulumi.get(__response__, 'creation_time'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + transit_gateway_attachment_id=pulumi.get(__response__, 'transit_gateway_attachment_id'), + transit_gateway_id=pulumi.get(__response__, 'transit_gateway_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_domain.py b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_domain.py index 59b605ef8e..69e1d881ba 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_domain.py +++ b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -123,9 +128,6 @@ def get_transit_gateway_multicast_domain(transit_gateway_multicast_domain_id: Op tags=pulumi.get(__ret__, 'tags'), transit_gateway_multicast_domain_arn=pulumi.get(__ret__, 'transit_gateway_multicast_domain_arn'), transit_gateway_multicast_domain_id=pulumi.get(__ret__, 'transit_gateway_multicast_domain_id')) - - -@_utilities.lift_output_func(get_transit_gateway_multicast_domain) def get_transit_gateway_multicast_domain_output(transit_gateway_multicast_domain_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitGatewayMulticastDomainResult]: """ @@ -134,4 +136,14 @@ def get_transit_gateway_multicast_domain_output(transit_gateway_multicast_domain :param str transit_gateway_multicast_domain_id: The ID of the transit gateway multicast domain. """ - ... + __args__ = dict() + __args__['transitGatewayMulticastDomainId'] = transit_gateway_multicast_domain_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getTransitGatewayMulticastDomain', __args__, opts=opts, typ=GetTransitGatewayMulticastDomainResult) + return __ret__.apply(lambda __response__: GetTransitGatewayMulticastDomainResult( + creation_time=pulumi.get(__response__, 'creation_time'), + options=pulumi.get(__response__, 'options'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + transit_gateway_multicast_domain_arn=pulumi.get(__response__, 'transit_gateway_multicast_domain_arn'), + transit_gateway_multicast_domain_id=pulumi.get(__response__, 'transit_gateway_multicast_domain_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_domain_association.py b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_domain_association.py index fc81294967..3f85c80065 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_domain_association.py +++ b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_domain_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -88,9 +93,6 @@ def get_transit_gateway_multicast_domain_association(subnet_id: Optional[str] = resource_id=pulumi.get(__ret__, 'resource_id'), resource_type=pulumi.get(__ret__, 'resource_type'), state=pulumi.get(__ret__, 'state')) - - -@_utilities.lift_output_func(get_transit_gateway_multicast_domain_association) def get_transit_gateway_multicast_domain_association_output(subnet_id: Optional[pulumi.Input[str]] = None, transit_gateway_attachment_id: Optional[pulumi.Input[str]] = None, transit_gateway_multicast_domain_id: Optional[pulumi.Input[str]] = None, @@ -103,4 +105,13 @@ def get_transit_gateway_multicast_domain_association_output(subnet_id: Optional[ :param str transit_gateway_attachment_id: The ID of the transit gateway attachment. :param str transit_gateway_multicast_domain_id: The ID of the transit gateway multicast domain. """ - ... + __args__ = dict() + __args__['subnetId'] = subnet_id + __args__['transitGatewayAttachmentId'] = transit_gateway_attachment_id + __args__['transitGatewayMulticastDomainId'] = transit_gateway_multicast_domain_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getTransitGatewayMulticastDomainAssociation', __args__, opts=opts, typ=GetTransitGatewayMulticastDomainAssociationResult) + return __ret__.apply(lambda __response__: GetTransitGatewayMulticastDomainAssociationResult( + resource_id=pulumi.get(__response__, 'resource_id'), + resource_type=pulumi.get(__response__, 'resource_type'), + state=pulumi.get(__response__, 'state'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_group_member.py b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_group_member.py index c1eb3fffdd..fc2bbd8f9a 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_group_member.py +++ b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_group_member.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -140,9 +145,6 @@ def get_transit_gateway_multicast_group_member(group_ip_address: Optional[str] = resource_type=pulumi.get(__ret__, 'resource_type'), subnet_id=pulumi.get(__ret__, 'subnet_id'), transit_gateway_attachment_id=pulumi.get(__ret__, 'transit_gateway_attachment_id')) - - -@_utilities.lift_output_func(get_transit_gateway_multicast_group_member) def get_transit_gateway_multicast_group_member_output(group_ip_address: Optional[pulumi.Input[str]] = None, network_interface_id: Optional[pulumi.Input[str]] = None, transit_gateway_multicast_domain_id: Optional[pulumi.Input[str]] = None, @@ -155,4 +157,17 @@ def get_transit_gateway_multicast_group_member_output(group_ip_address: Optional :param str network_interface_id: The ID of the transit gateway attachment. :param str transit_gateway_multicast_domain_id: The ID of the transit gateway multicast domain. """ - ... + __args__ = dict() + __args__['groupIpAddress'] = group_ip_address + __args__['networkInterfaceId'] = network_interface_id + __args__['transitGatewayMulticastDomainId'] = transit_gateway_multicast_domain_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getTransitGatewayMulticastGroupMember', __args__, opts=opts, typ=GetTransitGatewayMulticastGroupMemberResult) + return __ret__.apply(lambda __response__: GetTransitGatewayMulticastGroupMemberResult( + group_member=pulumi.get(__response__, 'group_member'), + group_source=pulumi.get(__response__, 'group_source'), + member_type=pulumi.get(__response__, 'member_type'), + resource_id=pulumi.get(__response__, 'resource_id'), + resource_type=pulumi.get(__response__, 'resource_type'), + subnet_id=pulumi.get(__response__, 'subnet_id'), + transit_gateway_attachment_id=pulumi.get(__response__, 'transit_gateway_attachment_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_group_source.py b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_group_source.py index f33728d564..bbf15926b2 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_group_source.py +++ b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_multicast_group_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -140,9 +145,6 @@ def get_transit_gateway_multicast_group_source(group_ip_address: Optional[str] = source_type=pulumi.get(__ret__, 'source_type'), subnet_id=pulumi.get(__ret__, 'subnet_id'), transit_gateway_attachment_id=pulumi.get(__ret__, 'transit_gateway_attachment_id')) - - -@_utilities.lift_output_func(get_transit_gateway_multicast_group_source) def get_transit_gateway_multicast_group_source_output(group_ip_address: Optional[pulumi.Input[str]] = None, network_interface_id: Optional[pulumi.Input[str]] = None, transit_gateway_multicast_domain_id: Optional[pulumi.Input[str]] = None, @@ -155,4 +157,17 @@ def get_transit_gateway_multicast_group_source_output(group_ip_address: Optional :param str network_interface_id: The ID of the transit gateway attachment. :param str transit_gateway_multicast_domain_id: The ID of the transit gateway multicast domain. """ - ... + __args__ = dict() + __args__['groupIpAddress'] = group_ip_address + __args__['networkInterfaceId'] = network_interface_id + __args__['transitGatewayMulticastDomainId'] = transit_gateway_multicast_domain_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getTransitGatewayMulticastGroupSource', __args__, opts=opts, typ=GetTransitGatewayMulticastGroupSourceResult) + return __ret__.apply(lambda __response__: GetTransitGatewayMulticastGroupSourceResult( + group_member=pulumi.get(__response__, 'group_member'), + group_source=pulumi.get(__response__, 'group_source'), + resource_id=pulumi.get(__response__, 'resource_id'), + resource_type=pulumi.get(__response__, 'resource_type'), + source_type=pulumi.get(__response__, 'source_type'), + subnet_id=pulumi.get(__response__, 'subnet_id'), + transit_gateway_attachment_id=pulumi.get(__response__, 'transit_gateway_attachment_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_peering_attachment.py b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_peering_attachment.py index 7502c9fa3d..6c5106390e 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_peering_attachment.py +++ b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_peering_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -110,9 +115,6 @@ def get_transit_gateway_peering_attachment(transit_gateway_attachment_id: Option status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), transit_gateway_attachment_id=pulumi.get(__ret__, 'transit_gateway_attachment_id')) - - -@_utilities.lift_output_func(get_transit_gateway_peering_attachment) def get_transit_gateway_peering_attachment_output(transit_gateway_attachment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitGatewayPeeringAttachmentResult]: """ @@ -121,4 +123,13 @@ def get_transit_gateway_peering_attachment_output(transit_gateway_attachment_id: :param str transit_gateway_attachment_id: The ID of the transit gateway peering attachment. """ - ... + __args__ = dict() + __args__['transitGatewayAttachmentId'] = transit_gateway_attachment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getTransitGatewayPeeringAttachment', __args__, opts=opts, typ=GetTransitGatewayPeeringAttachmentResult) + return __ret__.apply(lambda __response__: GetTransitGatewayPeeringAttachmentResult( + creation_time=pulumi.get(__response__, 'creation_time'), + state=pulumi.get(__response__, 'state'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + transit_gateway_attachment_id=pulumi.get(__response__, 'transit_gateway_attachment_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_route_table.py b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_route_table.py index 25c210860e..ed870be974 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_route_table.py +++ b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_route_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_transit_gateway_route_table(transit_gateway_route_table_id: Optional[str return AwaitableGetTransitGatewayRouteTableResult( tags=pulumi.get(__ret__, 'tags'), transit_gateway_route_table_id=pulumi.get(__ret__, 'transit_gateway_route_table_id')) - - -@_utilities.lift_output_func(get_transit_gateway_route_table) def get_transit_gateway_route_table_output(transit_gateway_route_table_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitGatewayRouteTableResult]: """ @@ -81,4 +83,10 @@ def get_transit_gateway_route_table_output(transit_gateway_route_table_id: Optio :param str transit_gateway_route_table_id: Transit Gateway Route Table primary identifier """ - ... + __args__ = dict() + __args__['transitGatewayRouteTableId'] = transit_gateway_route_table_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getTransitGatewayRouteTable', __args__, opts=opts, typ=GetTransitGatewayRouteTableResult) + return __ret__.apply(lambda __response__: GetTransitGatewayRouteTableResult( + tags=pulumi.get(__response__, 'tags'), + transit_gateway_route_table_id=pulumi.get(__response__, 'transit_gateway_route_table_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_vpc_attachment.py b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_vpc_attachment.py index 5795b845f1..c15dd2e256 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_vpc_attachment.py +++ b/sdk/python/pulumi_aws_native/ec2/get_transit_gateway_vpc_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -84,9 +89,6 @@ def get_transit_gateway_vpc_attachment(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), options=pulumi.get(__ret__, 'options'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_transit_gateway_vpc_attachment) def get_transit_gateway_vpc_attachment_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitGatewayVpcAttachmentResult]: """ @@ -95,4 +97,11 @@ def get_transit_gateway_vpc_attachment_output(id: Optional[pulumi.Input[str]] = :param str id: The ID of the attachment. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getTransitGatewayVpcAttachment', __args__, opts=opts, typ=GetTransitGatewayVpcAttachmentResult) + return __ret__.apply(lambda __response__: GetTransitGatewayVpcAttachmentResult( + id=pulumi.get(__response__, 'id'), + options=pulumi.get(__response__, 'options'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_verified_access_endpoint.py b/sdk/python/pulumi_aws_native/ec2/get_verified_access_endpoint.py index 00c534add5..414cbd0b3c 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_verified_access_endpoint.py +++ b/sdk/python/pulumi_aws_native/ec2/get_verified_access_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -240,9 +245,6 @@ def get_verified_access_endpoint(verified_access_endpoint_id: Optional[str] = No verified_access_endpoint_id=pulumi.get(__ret__, 'verified_access_endpoint_id'), verified_access_group_id=pulumi.get(__ret__, 'verified_access_group_id'), verified_access_instance_id=pulumi.get(__ret__, 'verified_access_instance_id')) - - -@_utilities.lift_output_func(get_verified_access_endpoint) def get_verified_access_endpoint_output(verified_access_endpoint_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVerifiedAccessEndpointResult]: """ @@ -251,4 +253,23 @@ def get_verified_access_endpoint_output(verified_access_endpoint_id: Optional[pu :param str verified_access_endpoint_id: The ID of the AWS Verified Access endpoint. """ - ... + __args__ = dict() + __args__['verifiedAccessEndpointId'] = verified_access_endpoint_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVerifiedAccessEndpoint', __args__, opts=opts, typ=GetVerifiedAccessEndpointResult) + return __ret__.apply(lambda __response__: GetVerifiedAccessEndpointResult( + creation_time=pulumi.get(__response__, 'creation_time'), + description=pulumi.get(__response__, 'description'), + device_validation_domain=pulumi.get(__response__, 'device_validation_domain'), + endpoint_domain=pulumi.get(__response__, 'endpoint_domain'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + load_balancer_options=pulumi.get(__response__, 'load_balancer_options'), + network_interface_options=pulumi.get(__response__, 'network_interface_options'), + policy_document=pulumi.get(__response__, 'policy_document'), + policy_enabled=pulumi.get(__response__, 'policy_enabled'), + sse_specification=pulumi.get(__response__, 'sse_specification'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + verified_access_endpoint_id=pulumi.get(__response__, 'verified_access_endpoint_id'), + verified_access_group_id=pulumi.get(__response__, 'verified_access_group_id'), + verified_access_instance_id=pulumi.get(__response__, 'verified_access_instance_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_verified_access_group.py b/sdk/python/pulumi_aws_native/ec2/get_verified_access_group.py index 4025c8bbbc..b1cea83b89 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_verified_access_group.py +++ b/sdk/python/pulumi_aws_native/ec2/get_verified_access_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -188,9 +193,6 @@ def get_verified_access_group(verified_access_group_id: Optional[str] = None, verified_access_group_arn=pulumi.get(__ret__, 'verified_access_group_arn'), verified_access_group_id=pulumi.get(__ret__, 'verified_access_group_id'), verified_access_instance_id=pulumi.get(__ret__, 'verified_access_instance_id')) - - -@_utilities.lift_output_func(get_verified_access_group) def get_verified_access_group_output(verified_access_group_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVerifiedAccessGroupResult]: """ @@ -199,4 +201,19 @@ def get_verified_access_group_output(verified_access_group_id: Optional[pulumi.I :param str verified_access_group_id: The ID of the AWS Verified Access group. """ - ... + __args__ = dict() + __args__['verifiedAccessGroupId'] = verified_access_group_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVerifiedAccessGroup', __args__, opts=opts, typ=GetVerifiedAccessGroupResult) + return __ret__.apply(lambda __response__: GetVerifiedAccessGroupResult( + creation_time=pulumi.get(__response__, 'creation_time'), + description=pulumi.get(__response__, 'description'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + owner=pulumi.get(__response__, 'owner'), + policy_document=pulumi.get(__response__, 'policy_document'), + policy_enabled=pulumi.get(__response__, 'policy_enabled'), + sse_specification=pulumi.get(__response__, 'sse_specification'), + tags=pulumi.get(__response__, 'tags'), + verified_access_group_arn=pulumi.get(__response__, 'verified_access_group_arn'), + verified_access_group_id=pulumi.get(__response__, 'verified_access_group_id'), + verified_access_instance_id=pulumi.get(__response__, 'verified_access_instance_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_verified_access_instance.py b/sdk/python/pulumi_aws_native/ec2/get_verified_access_instance.py index bc12cba5dd..9a7f838185 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_verified_access_instance.py +++ b/sdk/python/pulumi_aws_native/ec2/get_verified_access_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -162,9 +167,6 @@ def get_verified_access_instance(verified_access_instance_id: Optional[str] = No verified_access_instance_id=pulumi.get(__ret__, 'verified_access_instance_id'), verified_access_trust_provider_ids=pulumi.get(__ret__, 'verified_access_trust_provider_ids'), verified_access_trust_providers=pulumi.get(__ret__, 'verified_access_trust_providers')) - - -@_utilities.lift_output_func(get_verified_access_instance) def get_verified_access_instance_output(verified_access_instance_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVerifiedAccessInstanceResult]: """ @@ -173,4 +175,17 @@ def get_verified_access_instance_output(verified_access_instance_id: Optional[pu :param str verified_access_instance_id: The ID of the AWS Verified Access instance. """ - ... + __args__ = dict() + __args__['verifiedAccessInstanceId'] = verified_access_instance_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVerifiedAccessInstance', __args__, opts=opts, typ=GetVerifiedAccessInstanceResult) + return __ret__.apply(lambda __response__: GetVerifiedAccessInstanceResult( + creation_time=pulumi.get(__response__, 'creation_time'), + description=pulumi.get(__response__, 'description'), + fips_enabled=pulumi.get(__response__, 'fips_enabled'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + logging_configurations=pulumi.get(__response__, 'logging_configurations'), + tags=pulumi.get(__response__, 'tags'), + verified_access_instance_id=pulumi.get(__response__, 'verified_access_instance_id'), + verified_access_trust_provider_ids=pulumi.get(__response__, 'verified_access_trust_provider_ids'), + verified_access_trust_providers=pulumi.get(__response__, 'verified_access_trust_providers'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_verified_access_trust_provider.py b/sdk/python/pulumi_aws_native/ec2/get_verified_access_trust_provider.py index 636b92b3ff..a01720845b 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_verified_access_trust_provider.py +++ b/sdk/python/pulumi_aws_native/ec2/get_verified_access_trust_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -136,9 +141,6 @@ def get_verified_access_trust_provider(verified_access_trust_provider_id: Option sse_specification=pulumi.get(__ret__, 'sse_specification'), tags=pulumi.get(__ret__, 'tags'), verified_access_trust_provider_id=pulumi.get(__ret__, 'verified_access_trust_provider_id')) - - -@_utilities.lift_output_func(get_verified_access_trust_provider) def get_verified_access_trust_provider_output(verified_access_trust_provider_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVerifiedAccessTrustProviderResult]: """ @@ -147,4 +149,15 @@ def get_verified_access_trust_provider_output(verified_access_trust_provider_id: :param str verified_access_trust_provider_id: The ID of the Amazon Web Services Verified Access trust provider. """ - ... + __args__ = dict() + __args__['verifiedAccessTrustProviderId'] = verified_access_trust_provider_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVerifiedAccessTrustProvider', __args__, opts=opts, typ=GetVerifiedAccessTrustProviderResult) + return __ret__.apply(lambda __response__: GetVerifiedAccessTrustProviderResult( + creation_time=pulumi.get(__response__, 'creation_time'), + description=pulumi.get(__response__, 'description'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + oidc_options=pulumi.get(__response__, 'oidc_options'), + sse_specification=pulumi.get(__response__, 'sse_specification'), + tags=pulumi.get(__response__, 'tags'), + verified_access_trust_provider_id=pulumi.get(__response__, 'verified_access_trust_provider_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_volume.py b/sdk/python/pulumi_aws_native/ec2/get_volume.py index acee0b20a1..71b210ef32 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_volume.py +++ b/sdk/python/pulumi_aws_native/ec2/get_volume.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -261,9 +266,6 @@ def get_volume(volume_id: Optional[str] = None, throughput=pulumi.get(__ret__, 'throughput'), volume_id=pulumi.get(__ret__, 'volume_id'), volume_type=pulumi.get(__ret__, 'volume_type')) - - -@_utilities.lift_output_func(get_volume) def get_volume_output(volume_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVolumeResult]: """ @@ -289,4 +291,21 @@ def get_volume_output(volume_id: Optional[pulumi.Input[str]] = None, :param str volume_id: The ID of the volume. """ - ... + __args__ = dict() + __args__['volumeId'] = volume_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVolume', __args__, opts=opts, typ=GetVolumeResult) + return __ret__.apply(lambda __response__: GetVolumeResult( + auto_enable_io=pulumi.get(__response__, 'auto_enable_io'), + availability_zone=pulumi.get(__response__, 'availability_zone'), + encrypted=pulumi.get(__response__, 'encrypted'), + iops=pulumi.get(__response__, 'iops'), + kms_key_id=pulumi.get(__response__, 'kms_key_id'), + multi_attach_enabled=pulumi.get(__response__, 'multi_attach_enabled'), + outpost_arn=pulumi.get(__response__, 'outpost_arn'), + size=pulumi.get(__response__, 'size'), + snapshot_id=pulumi.get(__response__, 'snapshot_id'), + tags=pulumi.get(__response__, 'tags'), + throughput=pulumi.get(__response__, 'throughput'), + volume_id=pulumi.get(__response__, 'volume_id'), + volume_type=pulumi.get(__response__, 'volume_type'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_vpc.py b/sdk/python/pulumi_aws_native/ec2/get_vpc.py index 43852fdb47..0f79296c3e 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_vpc.py +++ b/sdk/python/pulumi_aws_native/ec2/get_vpc.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -168,9 +173,6 @@ def get_vpc(vpc_id: Optional[str] = None, ipv6_cidr_blocks=pulumi.get(__ret__, 'ipv6_cidr_blocks'), tags=pulumi.get(__ret__, 'tags'), vpc_id=pulumi.get(__ret__, 'vpc_id')) - - -@_utilities.lift_output_func(get_vpc) def get_vpc_output(vpc_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcResult]: """ @@ -181,4 +183,17 @@ def get_vpc_output(vpc_id: Optional[pulumi.Input[str]] = None, :param str vpc_id: The ID of the VPC. """ - ... + __args__ = dict() + __args__['vpcId'] = vpc_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVpc', __args__, opts=opts, typ=GetVpcResult) + return __ret__.apply(lambda __response__: GetVpcResult( + cidr_block_associations=pulumi.get(__response__, 'cidr_block_associations'), + default_network_acl=pulumi.get(__response__, 'default_network_acl'), + default_security_group=pulumi.get(__response__, 'default_security_group'), + enable_dns_hostnames=pulumi.get(__response__, 'enable_dns_hostnames'), + enable_dns_support=pulumi.get(__response__, 'enable_dns_support'), + instance_tenancy=pulumi.get(__response__, 'instance_tenancy'), + ipv6_cidr_blocks=pulumi.get(__response__, 'ipv6_cidr_blocks'), + tags=pulumi.get(__response__, 'tags'), + vpc_id=pulumi.get(__response__, 'vpc_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_vpc_cidr_block.py b/sdk/python/pulumi_aws_native/ec2/get_vpc_cidr_block.py index d5b18ad8d0..a66a99dc85 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_vpc_cidr_block.py +++ b/sdk/python/pulumi_aws_native/ec2/get_vpc_cidr_block.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -85,9 +90,6 @@ def get_vpc_cidr_block(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), ip_source=pulumi.get(__ret__, 'ip_source'), ipv6_address_attribute=pulumi.get(__ret__, 'ipv6_address_attribute')) - - -@_utilities.lift_output_func(get_vpc_cidr_block) def get_vpc_cidr_block_output(id: Optional[pulumi.Input[str]] = None, vpc_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcCidrBlockResult]: @@ -98,4 +100,12 @@ def get_vpc_cidr_block_output(id: Optional[pulumi.Input[str]] = None, :param str id: The Id of the VPC associated CIDR Block. :param str vpc_id: The ID of the VPC. """ - ... + __args__ = dict() + __args__['id'] = id + __args__['vpcId'] = vpc_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVpcCidrBlock', __args__, opts=opts, typ=GetVpcCidrBlockResult) + return __ret__.apply(lambda __response__: GetVpcCidrBlockResult( + id=pulumi.get(__response__, 'id'), + ip_source=pulumi.get(__response__, 'ip_source'), + ipv6_address_attribute=pulumi.get(__response__, 'ipv6_address_attribute'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint.py b/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint.py index 2651d903c8..49ed14cbd7 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint.py +++ b/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -178,9 +183,6 @@ def get_vpc_endpoint(id: Optional[str] = None, route_table_ids=pulumi.get(__ret__, 'route_table_ids'), security_group_ids=pulumi.get(__ret__, 'security_group_ids'), subnet_ids=pulumi.get(__ret__, 'subnet_ids')) - - -@_utilities.lift_output_func(get_vpc_endpoint) def get_vpc_endpoint_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcEndpointResult]: """ @@ -195,4 +197,17 @@ def get_vpc_endpoint_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the VPC endpoint. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVpcEndpoint', __args__, opts=opts, typ=GetVpcEndpointResult) + return __ret__.apply(lambda __response__: GetVpcEndpointResult( + creation_timestamp=pulumi.get(__response__, 'creation_timestamp'), + dns_entries=pulumi.get(__response__, 'dns_entries'), + id=pulumi.get(__response__, 'id'), + network_interface_ids=pulumi.get(__response__, 'network_interface_ids'), + policy_document=pulumi.get(__response__, 'policy_document'), + private_dns_enabled=pulumi.get(__response__, 'private_dns_enabled'), + route_table_ids=pulumi.get(__response__, 'route_table_ids'), + security_group_ids=pulumi.get(__response__, 'security_group_ids'), + subnet_ids=pulumi.get(__response__, 'subnet_ids'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_connection_notification.py b/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_connection_notification.py index 7a04c97198..7f2d26f2a7 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_connection_notification.py +++ b/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_connection_notification.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_vpc_endpoint_connection_notification(vpc_endpoint_connection_notificatio connection_events=pulumi.get(__ret__, 'connection_events'), connection_notification_arn=pulumi.get(__ret__, 'connection_notification_arn'), vpc_endpoint_connection_notification_id=pulumi.get(__ret__, 'vpc_endpoint_connection_notification_id')) - - -@_utilities.lift_output_func(get_vpc_endpoint_connection_notification) def get_vpc_endpoint_connection_notification_output(vpc_endpoint_connection_notification_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcEndpointConnectionNotificationResult]: """ @@ -93,4 +95,11 @@ def get_vpc_endpoint_connection_notification_output(vpc_endpoint_connection_noti :param str vpc_endpoint_connection_notification_id: VPC Endpoint Connection ID generated by service """ - ... + __args__ = dict() + __args__['vpcEndpointConnectionNotificationId'] = vpc_endpoint_connection_notification_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVpcEndpointConnectionNotification', __args__, opts=opts, typ=GetVpcEndpointConnectionNotificationResult) + return __ret__.apply(lambda __response__: GetVpcEndpointConnectionNotificationResult( + connection_events=pulumi.get(__response__, 'connection_events'), + connection_notification_arn=pulumi.get(__response__, 'connection_notification_arn'), + vpc_endpoint_connection_notification_id=pulumi.get(__response__, 'vpc_endpoint_connection_notification_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_service.py b/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_service.py index aa09864f84..c61c0b200a 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_service.py +++ b/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_service.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -108,9 +113,6 @@ def get_vpc_endpoint_service(service_id: Optional[str] = None, network_load_balancer_arns=pulumi.get(__ret__, 'network_load_balancer_arns'), payer_responsibility=pulumi.get(__ret__, 'payer_responsibility'), service_id=pulumi.get(__ret__, 'service_id')) - - -@_utilities.lift_output_func(get_vpc_endpoint_service) def get_vpc_endpoint_service_output(service_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcEndpointServiceResult]: """ @@ -119,4 +121,13 @@ def get_vpc_endpoint_service_output(service_id: Optional[pulumi.Input[str]] = No :param str service_id: The ID of the endpoint service. """ - ... + __args__ = dict() + __args__['serviceId'] = service_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVpcEndpointService', __args__, opts=opts, typ=GetVpcEndpointServiceResult) + return __ret__.apply(lambda __response__: GetVpcEndpointServiceResult( + acceptance_required=pulumi.get(__response__, 'acceptance_required'), + gateway_load_balancer_arns=pulumi.get(__response__, 'gateway_load_balancer_arns'), + network_load_balancer_arns=pulumi.get(__response__, 'network_load_balancer_arns'), + payer_responsibility=pulumi.get(__response__, 'payer_responsibility'), + service_id=pulumi.get(__response__, 'service_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_service_permissions.py b/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_service_permissions.py index f9d9881d8c..706527b247 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_service_permissions.py +++ b/sdk/python/pulumi_aws_native/ec2/get_vpc_endpoint_service_permissions.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_vpc_endpoint_service_permissions(service_id: Optional[str] = None, return AwaitableGetVpcEndpointServicePermissionsResult( allowed_principals=pulumi.get(__ret__, 'allowed_principals')) - - -@_utilities.lift_output_func(get_vpc_endpoint_service_permissions) def get_vpc_endpoint_service_permissions_output(service_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcEndpointServicePermissionsResult]: """ @@ -67,4 +69,9 @@ def get_vpc_endpoint_service_permissions_output(service_id: Optional[pulumi.Inpu :param str service_id: The ID of the service. """ - ... + __args__ = dict() + __args__['serviceId'] = service_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVpcEndpointServicePermissions', __args__, opts=opts, typ=GetVpcEndpointServicePermissionsResult) + return __ret__.apply(lambda __response__: GetVpcEndpointServicePermissionsResult( + allowed_principals=pulumi.get(__response__, 'allowed_principals'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_vpc_gateway_attachment.py b/sdk/python/pulumi_aws_native/ec2/get_vpc_gateway_attachment.py index b61bee1a36..c547643035 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_vpc_gateway_attachment.py +++ b/sdk/python/pulumi_aws_native/ec2/get_vpc_gateway_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -85,9 +90,6 @@ def get_vpc_gateway_attachment(attachment_type: Optional[str] = None, attachment_type=pulumi.get(__ret__, 'attachment_type'), internet_gateway_id=pulumi.get(__ret__, 'internet_gateway_id'), vpn_gateway_id=pulumi.get(__ret__, 'vpn_gateway_id')) - - -@_utilities.lift_output_func(get_vpc_gateway_attachment) def get_vpc_gateway_attachment_output(attachment_type: Optional[pulumi.Input[str]] = None, vpc_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcGatewayAttachmentResult]: @@ -98,4 +100,12 @@ def get_vpc_gateway_attachment_output(attachment_type: Optional[pulumi.Input[str :param str attachment_type: Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment :param str vpc_id: The ID of the VPC. """ - ... + __args__ = dict() + __args__['attachmentType'] = attachment_type + __args__['vpcId'] = vpc_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVpcGatewayAttachment', __args__, opts=opts, typ=GetVpcGatewayAttachmentResult) + return __ret__.apply(lambda __response__: GetVpcGatewayAttachmentResult( + attachment_type=pulumi.get(__response__, 'attachment_type'), + internet_gateway_id=pulumi.get(__response__, 'internet_gateway_id'), + vpn_gateway_id=pulumi.get(__response__, 'vpn_gateway_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_vpc_peering_connection.py b/sdk/python/pulumi_aws_native/ec2/get_vpc_peering_connection.py index 9cd863859b..e9b8a58267 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_vpc_peering_connection.py +++ b/sdk/python/pulumi_aws_native/ec2/get_vpc_peering_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_vpc_peering_connection(id: Optional[str] = None, return AwaitableGetVpcPeeringConnectionResult( id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_vpc_peering_connection) def get_vpc_peering_connection_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcPeeringConnectionResult]: """ @@ -81,4 +83,10 @@ def get_vpc_peering_connection_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the peering connection. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVpcPeeringConnection', __args__, opts=opts, typ=GetVpcPeeringConnectionResult) + return __ret__.apply(lambda __response__: GetVpcPeeringConnectionResult( + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_vpn_connection.py b/sdk/python/pulumi_aws_native/ec2/get_vpn_connection.py index e3e2451257..c05643c006 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_vpn_connection.py +++ b/sdk/python/pulumi_aws_native/ec2/get_vpn_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -73,9 +78,6 @@ def get_vpn_connection(vpn_connection_id: Optional[str] = None, return AwaitableGetVpnConnectionResult( tags=pulumi.get(__ret__, 'tags'), vpn_connection_id=pulumi.get(__ret__, 'vpn_connection_id')) - - -@_utilities.lift_output_func(get_vpn_connection) def get_vpn_connection_output(vpn_connection_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpnConnectionResult]: """ @@ -87,4 +89,10 @@ def get_vpn_connection_output(vpn_connection_id: Optional[pulumi.Input[str]] = N :param str vpn_connection_id: The ID of the VPN connection. """ - ... + __args__ = dict() + __args__['vpnConnectionId'] = vpn_connection_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVpnConnection', __args__, opts=opts, typ=GetVpnConnectionResult) + return __ret__.apply(lambda __response__: GetVpnConnectionResult( + tags=pulumi.get(__response__, 'tags'), + vpn_connection_id=pulumi.get(__response__, 'vpn_connection_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/get_vpn_gateway.py b/sdk/python/pulumi_aws_native/ec2/get_vpn_gateway.py index 2982f54d25..4955cdbf47 100644 --- a/sdk/python/pulumi_aws_native/ec2/get_vpn_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/get_vpn_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -71,9 +76,6 @@ def get_vpn_gateway(vpn_gateway_id: Optional[str] = None, return AwaitableGetVpnGatewayResult( tags=pulumi.get(__ret__, 'tags'), vpn_gateway_id=pulumi.get(__ret__, 'vpn_gateway_id')) - - -@_utilities.lift_output_func(get_vpn_gateway) def get_vpn_gateway_output(vpn_gateway_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpnGatewayResult]: """ @@ -83,4 +85,10 @@ def get_vpn_gateway_output(vpn_gateway_id: Optional[pulumi.Input[str]] = None, :param str vpn_gateway_id: The ID of the VPN gateway. """ - ... + __args__ = dict() + __args__['vpnGatewayId'] = vpn_gateway_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ec2:getVpnGateway', __args__, opts=opts, typ=GetVpnGatewayResult) + return __ret__.apply(lambda __response__: GetVpnGatewayResult( + tags=pulumi.get(__response__, 'tags'), + vpn_gateway_id=pulumi.get(__response__, 'vpn_gateway_id'))) diff --git a/sdk/python/pulumi_aws_native/ec2/host.py b/sdk/python/pulumi_aws_native/ec2/host.py index 1727d8d8e6..68323cfcdf 100644 --- a/sdk/python/pulumi_aws_native/ec2/host.py +++ b/sdk/python/pulumi_aws_native/ec2/host.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['HostArgs', 'Host'] diff --git a/sdk/python/pulumi_aws_native/ec2/instance.py b/sdk/python/pulumi_aws_native/ec2/instance.py index bf9f9f8b94..a68e46c4e9 100644 --- a/sdk/python/pulumi_aws_native/ec2/instance.py +++ b/sdk/python/pulumi_aws_native/ec2/instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/instance_connect_endpoint.py b/sdk/python/pulumi_aws_native/ec2/instance_connect_endpoint.py index 44bdf02396..12f3348222 100644 --- a/sdk/python/pulumi_aws_native/ec2/instance_connect_endpoint.py +++ b/sdk/python/pulumi_aws_native/ec2/instance_connect_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/internet_gateway.py b/sdk/python/pulumi_aws_native/ec2/internet_gateway.py index 19fd017d35..fc6ad67a50 100644 --- a/sdk/python/pulumi_aws_native/ec2/internet_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/internet_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/ipam.py b/sdk/python/pulumi_aws_native/ec2/ipam.py index 802eaf93af..a96f5c16e4 100644 --- a/sdk/python/pulumi_aws_native/ec2/ipam.py +++ b/sdk/python/pulumi_aws_native/ec2/ipam.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/ipam_allocation.py b/sdk/python/pulumi_aws_native/ec2/ipam_allocation.py index 2b7a2e9be1..224d9a99ef 100644 --- a/sdk/python/pulumi_aws_native/ec2/ipam_allocation.py +++ b/sdk/python/pulumi_aws_native/ec2/ipam_allocation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['IpamAllocationArgs', 'IpamAllocation'] diff --git a/sdk/python/pulumi_aws_native/ec2/ipam_pool.py b/sdk/python/pulumi_aws_native/ec2/ipam_pool.py index 1e25e490f4..6f9b018791 100644 --- a/sdk/python/pulumi_aws_native/ec2/ipam_pool.py +++ b/sdk/python/pulumi_aws_native/ec2/ipam_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/ipam_pool_cidr.py b/sdk/python/pulumi_aws_native/ec2/ipam_pool_cidr.py index 7464e0e864..537c7ae928 100644 --- a/sdk/python/pulumi_aws_native/ec2/ipam_pool_cidr.py +++ b/sdk/python/pulumi_aws_native/ec2/ipam_pool_cidr.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['IpamPoolCidrArgs', 'IpamPoolCidr'] diff --git a/sdk/python/pulumi_aws_native/ec2/ipam_resource_discovery.py b/sdk/python/pulumi_aws_native/ec2/ipam_resource_discovery.py index ca1410bf38..d0ec52868f 100644 --- a/sdk/python/pulumi_aws_native/ec2/ipam_resource_discovery.py +++ b/sdk/python/pulumi_aws_native/ec2/ipam_resource_discovery.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/ipam_resource_discovery_association.py b/sdk/python/pulumi_aws_native/ec2/ipam_resource_discovery_association.py index 6d78e44249..0eb1fb58b7 100644 --- a/sdk/python/pulumi_aws_native/ec2/ipam_resource_discovery_association.py +++ b/sdk/python/pulumi_aws_native/ec2/ipam_resource_discovery_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/ipam_scope.py b/sdk/python/pulumi_aws_native/ec2/ipam_scope.py index 1d824e4cdd..0ac5109158 100644 --- a/sdk/python/pulumi_aws_native/ec2/ipam_scope.py +++ b/sdk/python/pulumi_aws_native/ec2/ipam_scope.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/key_pair.py b/sdk/python/pulumi_aws_native/ec2/key_pair.py index 2c9860f014..de23732438 100644 --- a/sdk/python/pulumi_aws_native/ec2/key_pair.py +++ b/sdk/python/pulumi_aws_native/ec2/key_pair.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/launch_template.py b/sdk/python/pulumi_aws_native/ec2/launch_template.py index aacc9eeb77..eef1d68d48 100644 --- a/sdk/python/pulumi_aws_native/ec2/launch_template.py +++ b/sdk/python/pulumi_aws_native/ec2/launch_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ec2/local_gateway_route.py b/sdk/python/pulumi_aws_native/ec2/local_gateway_route.py index 82da8c4c0d..a2c670e547 100644 --- a/sdk/python/pulumi_aws_native/ec2/local_gateway_route.py +++ b/sdk/python/pulumi_aws_native/ec2/local_gateway_route.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['LocalGatewayRouteArgs', 'LocalGatewayRoute'] diff --git a/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table.py b/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table.py index 0c4f8945ab..ccb50b6dce 100644 --- a/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table.py +++ b/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table_virtual_interface_group_association.py b/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table_virtual_interface_group_association.py index 0bedab0cd2..032784143b 100644 --- a/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table_virtual_interface_group_association.py +++ b/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table_virtual_interface_group_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table_vpc_association.py b/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table_vpc_association.py index 5942ca9d33..951f115c0a 100644 --- a/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table_vpc_association.py +++ b/sdk/python/pulumi_aws_native/ec2/local_gateway_route_table_vpc_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/nat_gateway.py b/sdk/python/pulumi_aws_native/ec2/nat_gateway.py index 79c92bb7f9..3f28bb7adf 100644 --- a/sdk/python/pulumi_aws_native/ec2/nat_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/nat_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/network_acl.py b/sdk/python/pulumi_aws_native/ec2/network_acl.py index dd7daf2bb2..f3619b1139 100644 --- a/sdk/python/pulumi_aws_native/ec2/network_acl.py +++ b/sdk/python/pulumi_aws_native/ec2/network_acl.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/network_insights_access_scope.py b/sdk/python/pulumi_aws_native/ec2/network_insights_access_scope.py index 445696098c..b78039c52d 100644 --- a/sdk/python/pulumi_aws_native/ec2/network_insights_access_scope.py +++ b/sdk/python/pulumi_aws_native/ec2/network_insights_access_scope.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/network_insights_access_scope_analysis.py b/sdk/python/pulumi_aws_native/ec2/network_insights_access_scope_analysis.py index 27999ecff2..3e2e49bd3a 100644 --- a/sdk/python/pulumi_aws_native/ec2/network_insights_access_scope_analysis.py +++ b/sdk/python/pulumi_aws_native/ec2/network_insights_access_scope_analysis.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/network_insights_analysis.py b/sdk/python/pulumi_aws_native/ec2/network_insights_analysis.py index 1798a21016..28a11ba295 100644 --- a/sdk/python/pulumi_aws_native/ec2/network_insights_analysis.py +++ b/sdk/python/pulumi_aws_native/ec2/network_insights_analysis.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/network_insights_path.py b/sdk/python/pulumi_aws_native/ec2/network_insights_path.py index e98dcaf0cf..e915620886 100644 --- a/sdk/python/pulumi_aws_native/ec2/network_insights_path.py +++ b/sdk/python/pulumi_aws_native/ec2/network_insights_path.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/network_interface.py b/sdk/python/pulumi_aws_native/ec2/network_interface.py index 312bb28c32..3493b65fdd 100644 --- a/sdk/python/pulumi_aws_native/ec2/network_interface.py +++ b/sdk/python/pulumi_aws_native/ec2/network_interface.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/network_interface_attachment.py b/sdk/python/pulumi_aws_native/ec2/network_interface_attachment.py index 1c43cd455a..f67e3d07cb 100644 --- a/sdk/python/pulumi_aws_native/ec2/network_interface_attachment.py +++ b/sdk/python/pulumi_aws_native/ec2/network_interface_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/ec2/network_performance_metric_subscription.py b/sdk/python/pulumi_aws_native/ec2/network_performance_metric_subscription.py index 11babfa031..767a8ab844 100644 --- a/sdk/python/pulumi_aws_native/ec2/network_performance_metric_subscription.py +++ b/sdk/python/pulumi_aws_native/ec2/network_performance_metric_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['NetworkPerformanceMetricSubscriptionArgs', 'NetworkPerformanceMetricSubscription'] diff --git a/sdk/python/pulumi_aws_native/ec2/outputs.py b/sdk/python/pulumi_aws_native/ec2/outputs.py index c13851833c..2a55c32b02 100644 --- a/sdk/python/pulumi_aws_native/ec2/outputs.py +++ b/sdk/python/pulumi_aws_native/ec2/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ec2/placement_group.py b/sdk/python/pulumi_aws_native/ec2/placement_group.py index de35781203..4c5a713478 100644 --- a/sdk/python/pulumi_aws_native/ec2/placement_group.py +++ b/sdk/python/pulumi_aws_native/ec2/placement_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/prefix_list.py b/sdk/python/pulumi_aws_native/ec2/prefix_list.py index 386fc56f3a..f0dfef1ef0 100644 --- a/sdk/python/pulumi_aws_native/ec2/prefix_list.py +++ b/sdk/python/pulumi_aws_native/ec2/prefix_list.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/route.py b/sdk/python/pulumi_aws_native/ec2/route.py index 0deff836d1..6b4aa2e7f9 100644 --- a/sdk/python/pulumi_aws_native/ec2/route.py +++ b/sdk/python/pulumi_aws_native/ec2/route.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['RouteArgs', 'Route'] diff --git a/sdk/python/pulumi_aws_native/ec2/route_table.py b/sdk/python/pulumi_aws_native/ec2/route_table.py index 9365f87255..f4b24be73d 100644 --- a/sdk/python/pulumi_aws_native/ec2/route_table.py +++ b/sdk/python/pulumi_aws_native/ec2/route_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/security_group.py b/sdk/python/pulumi_aws_native/ec2/security_group.py index 847069db97..687874ed27 100644 --- a/sdk/python/pulumi_aws_native/ec2/security_group.py +++ b/sdk/python/pulumi_aws_native/ec2/security_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/security_group_egress.py b/sdk/python/pulumi_aws_native/ec2/security_group_egress.py index f5c29b6b07..86f18b6139 100644 --- a/sdk/python/pulumi_aws_native/ec2/security_group_egress.py +++ b/sdk/python/pulumi_aws_native/ec2/security_group_egress.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SecurityGroupEgressInitArgs', 'SecurityGroupEgress'] diff --git a/sdk/python/pulumi_aws_native/ec2/security_group_ingress.py b/sdk/python/pulumi_aws_native/ec2/security_group_ingress.py index 108755c484..975cbf3742 100644 --- a/sdk/python/pulumi_aws_native/ec2/security_group_ingress.py +++ b/sdk/python/pulumi_aws_native/ec2/security_group_ingress.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SecurityGroupIngressInitArgs', 'SecurityGroupIngress'] diff --git a/sdk/python/pulumi_aws_native/ec2/snapshot_block_public_access.py b/sdk/python/pulumi_aws_native/ec2/snapshot_block_public_access.py index 0c663c4ff5..2b3c990283 100644 --- a/sdk/python/pulumi_aws_native/ec2/snapshot_block_public_access.py +++ b/sdk/python/pulumi_aws_native/ec2/snapshot_block_public_access.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ec2/spot_fleet.py b/sdk/python/pulumi_aws_native/ec2/spot_fleet.py index 27b276769f..c23afe4b56 100644 --- a/sdk/python/pulumi_aws_native/ec2/spot_fleet.py +++ b/sdk/python/pulumi_aws_native/ec2/spot_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ec2/subnet.py b/sdk/python/pulumi_aws_native/ec2/subnet.py index 29c4405de1..4abbec4937 100644 --- a/sdk/python/pulumi_aws_native/ec2/subnet.py +++ b/sdk/python/pulumi_aws_native/ec2/subnet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/subnet_cidr_block.py b/sdk/python/pulumi_aws_native/ec2/subnet_cidr_block.py index c348be0cca..bd455d3f54 100644 --- a/sdk/python/pulumi_aws_native/ec2/subnet_cidr_block.py +++ b/sdk/python/pulumi_aws_native/ec2/subnet_cidr_block.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SubnetCidrBlockArgs', 'SubnetCidrBlock'] diff --git a/sdk/python/pulumi_aws_native/ec2/subnet_network_acl_association.py b/sdk/python/pulumi_aws_native/ec2/subnet_network_acl_association.py index df504e9499..389e42ebb8 100644 --- a/sdk/python/pulumi_aws_native/ec2/subnet_network_acl_association.py +++ b/sdk/python/pulumi_aws_native/ec2/subnet_network_acl_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SubnetNetworkAclAssociationArgs', 'SubnetNetworkAclAssociation'] diff --git a/sdk/python/pulumi_aws_native/ec2/subnet_route_table_association.py b/sdk/python/pulumi_aws_native/ec2/subnet_route_table_association.py index 0a1f59dd69..3fd6d48b67 100644 --- a/sdk/python/pulumi_aws_native/ec2/subnet_route_table_association.py +++ b/sdk/python/pulumi_aws_native/ec2/subnet_route_table_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SubnetRouteTableAssociationArgs', 'SubnetRouteTableAssociation'] diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway.py index 9410a038fa..868630a9ac 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_attachment.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_attachment.py index ed1dd43333..550cd09ada 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_attachment.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_connect.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_connect.py index bf57bf828e..8cc272357b 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_connect.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_connect.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_domain.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_domain.py index 9e3e4ab698..47a3bdceb1 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_domain.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_domain_association.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_domain_association.py index 05b483271f..cb2b982253 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_domain_association.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_domain_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TransitGatewayMulticastDomainAssociationArgs', 'TransitGatewayMulticastDomainAssociation'] diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_group_member.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_group_member.py index be43da79c6..39d6dd872e 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_group_member.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_group_member.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TransitGatewayMulticastGroupMemberArgs', 'TransitGatewayMulticastGroupMember'] diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_group_source.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_group_source.py index 7c5aed06df..04b6da2e53 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_group_source.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_multicast_group_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TransitGatewayMulticastGroupSourceArgs', 'TransitGatewayMulticastGroupSource'] diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_peering_attachment.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_peering_attachment.py index c6b1a455b8..8b0fd51bae 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_peering_attachment.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_peering_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_route.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_route.py index e997e40a8e..3d4affcc11 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_route.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_route.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TransitGatewayRouteArgs', 'TransitGatewayRoute'] diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table.py index 95b823dabb..1e92e0dc32 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table_association.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table_association.py index ce2e1593e1..0d30ad087a 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table_association.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TransitGatewayRouteTableAssociationArgs', 'TransitGatewayRouteTableAssociation'] diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table_propagation.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table_propagation.py index 93937bda50..b6ebe0c39b 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table_propagation.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_route_table_propagation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TransitGatewayRouteTablePropagationArgs', 'TransitGatewayRouteTablePropagation'] diff --git a/sdk/python/pulumi_aws_native/ec2/transit_gateway_vpc_attachment.py b/sdk/python/pulumi_aws_native/ec2/transit_gateway_vpc_attachment.py index e87013dfef..227a243f21 100644 --- a/sdk/python/pulumi_aws_native/ec2/transit_gateway_vpc_attachment.py +++ b/sdk/python/pulumi_aws_native/ec2/transit_gateway_vpc_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/verified_access_endpoint.py b/sdk/python/pulumi_aws_native/ec2/verified_access_endpoint.py index a9f796acbc..d165a50556 100644 --- a/sdk/python/pulumi_aws_native/ec2/verified_access_endpoint.py +++ b/sdk/python/pulumi_aws_native/ec2/verified_access_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/verified_access_group.py b/sdk/python/pulumi_aws_native/ec2/verified_access_group.py index 857a64b245..c825f3afe7 100644 --- a/sdk/python/pulumi_aws_native/ec2/verified_access_group.py +++ b/sdk/python/pulumi_aws_native/ec2/verified_access_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/verified_access_instance.py b/sdk/python/pulumi_aws_native/ec2/verified_access_instance.py index 2cd71a3aad..107c46d9bc 100644 --- a/sdk/python/pulumi_aws_native/ec2/verified_access_instance.py +++ b/sdk/python/pulumi_aws_native/ec2/verified_access_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/verified_access_trust_provider.py b/sdk/python/pulumi_aws_native/ec2/verified_access_trust_provider.py index 685c890717..1afc3c4efa 100644 --- a/sdk/python/pulumi_aws_native/ec2/verified_access_trust_provider.py +++ b/sdk/python/pulumi_aws_native/ec2/verified_access_trust_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/volume.py b/sdk/python/pulumi_aws_native/ec2/volume.py index 16b503fe1b..1a2e8b8961 100644 --- a/sdk/python/pulumi_aws_native/ec2/volume.py +++ b/sdk/python/pulumi_aws_native/ec2/volume.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/volume_attachment.py b/sdk/python/pulumi_aws_native/ec2/volume_attachment.py index 1d69c27526..a65949e1e7 100644 --- a/sdk/python/pulumi_aws_native/ec2/volume_attachment.py +++ b/sdk/python/pulumi_aws_native/ec2/volume_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VolumeAttachmentArgs', 'VolumeAttachment'] diff --git a/sdk/python/pulumi_aws_native/ec2/vpc.py b/sdk/python/pulumi_aws_native/ec2/vpc.py index 0bbc2071f3..f2c875cb6a 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpc.py +++ b/sdk/python/pulumi_aws_native/ec2/vpc.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/vpc_cidr_block.py b/sdk/python/pulumi_aws_native/ec2/vpc_cidr_block.py index 91fba460b5..2dbeaa59a3 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpc_cidr_block.py +++ b/sdk/python/pulumi_aws_native/ec2/vpc_cidr_block.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VpcCidrBlockArgs', 'VpcCidrBlock'] diff --git a/sdk/python/pulumi_aws_native/ec2/vpc_endpoint.py b/sdk/python/pulumi_aws_native/ec2/vpc_endpoint.py index 695f563bc6..999a7c85d3 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpc_endpoint.py +++ b/sdk/python/pulumi_aws_native/ec2/vpc_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_connection_notification.py b/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_connection_notification.py index 5354656bea..57501fe038 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_connection_notification.py +++ b/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_connection_notification.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VpcEndpointConnectionNotificationArgs', 'VpcEndpointConnectionNotification'] diff --git a/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_service.py b/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_service.py index c11250aeb3..3eaf3d4b65 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_service.py +++ b/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_service.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VpcEndpointServiceArgs', 'VpcEndpointService'] diff --git a/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_service_permissions.py b/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_service_permissions.py index d9399447ce..d137ad3871 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_service_permissions.py +++ b/sdk/python/pulumi_aws_native/ec2/vpc_endpoint_service_permissions.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VpcEndpointServicePermissionsArgs', 'VpcEndpointServicePermissions'] diff --git a/sdk/python/pulumi_aws_native/ec2/vpc_gateway_attachment.py b/sdk/python/pulumi_aws_native/ec2/vpc_gateway_attachment.py index 3519031f1f..6973322e0e 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpc_gateway_attachment.py +++ b/sdk/python/pulumi_aws_native/ec2/vpc_gateway_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VpcGatewayAttachmentArgs', 'VpcGatewayAttachment'] diff --git a/sdk/python/pulumi_aws_native/ec2/vpc_peering_connection.py b/sdk/python/pulumi_aws_native/ec2/vpc_peering_connection.py index 001bd4cf81..9c0f3f5584 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpc_peering_connection.py +++ b/sdk/python/pulumi_aws_native/ec2/vpc_peering_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ec2/vpcdhcp_options_association.py b/sdk/python/pulumi_aws_native/ec2/vpcdhcp_options_association.py index 0009b165bc..f3e7dd10b4 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpcdhcp_options_association.py +++ b/sdk/python/pulumi_aws_native/ec2/vpcdhcp_options_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VpcdhcpOptionsAssociationArgs', 'VpcdhcpOptionsAssociation'] diff --git a/sdk/python/pulumi_aws_native/ec2/vpn_connection.py b/sdk/python/pulumi_aws_native/ec2/vpn_connection.py index faa90d7362..a8cced3687 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpn_connection.py +++ b/sdk/python/pulumi_aws_native/ec2/vpn_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ec2/vpn_connection_route.py b/sdk/python/pulumi_aws_native/ec2/vpn_connection_route.py index 5eb44bea72..4cc2bc4129 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpn_connection_route.py +++ b/sdk/python/pulumi_aws_native/ec2/vpn_connection_route.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VpnConnectionRouteArgs', 'VpnConnectionRoute'] diff --git a/sdk/python/pulumi_aws_native/ec2/vpn_gateway.py b/sdk/python/pulumi_aws_native/ec2/vpn_gateway.py index 2e36f8d9d3..a38a8beae1 100644 --- a/sdk/python/pulumi_aws_native/ec2/vpn_gateway.py +++ b/sdk/python/pulumi_aws_native/ec2/vpn_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ecr/_inputs.py b/sdk/python/pulumi_aws_native/ecr/_inputs.py index c3346a0e12..c1269a98f8 100644 --- a/sdk/python/pulumi_aws_native/ecr/_inputs.py +++ b/sdk/python/pulumi_aws_native/ecr/_inputs.py @@ -4,24 +4,56 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ReplicationConfigurationReplicationDestinationArgs', + 'ReplicationConfigurationReplicationDestinationArgsDict', 'ReplicationConfigurationReplicationRuleArgs', + 'ReplicationConfigurationReplicationRuleArgsDict', 'ReplicationConfigurationRepositoryFilterArgs', + 'ReplicationConfigurationRepositoryFilterArgsDict', 'ReplicationConfigurationArgs', + 'ReplicationConfigurationArgsDict', 'RepositoryCreationTemplateEncryptionConfigurationArgs', + 'RepositoryCreationTemplateEncryptionConfigurationArgsDict', 'RepositoryCreationTemplateTagArgs', + 'RepositoryCreationTemplateTagArgsDict', 'RepositoryEncryptionConfigurationArgs', + 'RepositoryEncryptionConfigurationArgsDict', 'RepositoryImageScanningConfigurationArgs', + 'RepositoryImageScanningConfigurationArgsDict', 'RepositoryLifecyclePolicyArgs', + 'RepositoryLifecyclePolicyArgsDict', ] +MYPY = False + +if not MYPY: + class ReplicationConfigurationReplicationDestinationArgsDict(TypedDict): + """ + An array of objects representing the details of a replication destination. + """ + region: pulumi.Input[str] + """ + The Region to replicate to. + """ + registry_id: pulumi.Input[str] + """ + The AWS account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID. + """ +elif False: + ReplicationConfigurationReplicationDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicationConfigurationReplicationDestinationArgs: def __init__(__self__, *, @@ -60,6 +92,22 @@ def registry_id(self, value: pulumi.Input[str]): pulumi.set(self, "registry_id", value) +if not MYPY: + class ReplicationConfigurationReplicationRuleArgsDict(TypedDict): + """ + An array of objects representing the details of a replication destination. + """ + destinations: pulumi.Input[Sequence[pulumi.Input['ReplicationConfigurationReplicationDestinationArgsDict']]] + """ + An array of objects representing the details of a replication destination. + """ + repository_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ReplicationConfigurationRepositoryFilterArgsDict']]]] + """ + An array of objects representing the details of a repository filter. + """ +elif False: + ReplicationConfigurationReplicationRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicationConfigurationReplicationRuleArgs: def __init__(__self__, *, @@ -99,6 +147,22 @@ def repository_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "repository_filters", value) +if not MYPY: + class ReplicationConfigurationRepositoryFilterArgsDict(TypedDict): + """ + An array of objects representing the details of a repository filter. + """ + filter: pulumi.Input[str] + """ + The repository filter details. When the `PREFIX_MATCH` filter type is specified, this value is required and should be the repository name prefix to configure replication for. + """ + filter_type: pulumi.Input['ReplicationConfigurationFilterType'] + """ + The repository filter type. The only supported value is `PREFIX_MATCH` , which is a repository name prefix specified with the `filter` parameter. + """ +elif False: + ReplicationConfigurationRepositoryFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicationConfigurationRepositoryFilterArgs: def __init__(__self__, *, @@ -137,6 +201,18 @@ def filter_type(self, value: pulumi.Input['ReplicationConfigurationFilterType']) pulumi.set(self, "filter_type", value) +if not MYPY: + class ReplicationConfigurationArgsDict(TypedDict): + """ + An object representing the replication configuration for a registry. + """ + rules: pulumi.Input[Sequence[pulumi.Input['ReplicationConfigurationReplicationRuleArgsDict']]] + """ + An array of objects representing the replication rules for a replication configuration. A replication configuration may contain a maximum of 10 rules. + """ +elif False: + ReplicationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicationConfigurationArgs: def __init__(__self__, *, @@ -160,6 +236,32 @@ def rules(self, value: pulumi.Input[Sequence[pulumi.Input['ReplicationConfigurat pulumi.set(self, "rules", value) +if not MYPY: + class RepositoryCreationTemplateEncryptionConfigurationArgsDict(TypedDict): + """ + The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest. By default, when no encryption configuration is set or the AES256 encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES-256 encryption algorithm. This does not require any action on your part. + + For more information, see https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html + """ + encryption_type: pulumi.Input['RepositoryCreationTemplateEncryptionType'] + """ + The encryption type to use. + + If you use the `KMS` encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created. + + If you use the `KMS_DSSE` encryption type, the contents of the repository will be encrypted with two layers of encryption using server-side encryption with the AWS KMS Management Service key stored in AWS KMS . Similar to the `KMS` encryption type, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you've already created. + + If you use the `AES256` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. + + For more information, see [Amazon ECR encryption at rest](https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html) in the *Amazon Elastic Container Registry User Guide* . + """ + kms_key: NotRequired[pulumi.Input[str]] + """ + If you use the `KMS` encryption type, specify the AWS KMS key to use for encryption. The alias, key ID, or full ARN of the AWS KMS key can be specified. The key must exist in the same Region as the repository. If no key is specified, the default AWS managed AWS KMS key for Amazon ECR will be used. + """ +elif False: + RepositoryCreationTemplateEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RepositoryCreationTemplateEncryptionConfigurationArgs: def __init__(__self__, *, @@ -217,6 +319,22 @@ def kms_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key", value) +if not MYPY: + class RepositoryCreationTemplateTagArgsDict(TypedDict): + """ + An array of key-value pairs to apply to this resource. + """ + key: pulumi.Input[str] + """ + The key name of the tag. You can specify a value that is 1 to 128 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 -. + """ + value: pulumi.Input[str] + """ + The value for the tag. You can specify a value that is 0 to 256 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 -. + """ +elif False: + RepositoryCreationTemplateTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RepositoryCreationTemplateTagArgs: def __init__(__self__, *, @@ -255,6 +373,32 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class RepositoryEncryptionConfigurationArgsDict(TypedDict): + """ + The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest. + By default, when no encryption configuration is set or the ``AES256`` encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts your data at rest using an AES-256 encryption algorithm. This does not require any action on your part. + For more control over the encryption of the contents of your repository, you can use server-side encryption with KMSlong key stored in KMSlong (KMS) to encrypt your images. For more information, see [Amazon ECR encryption at rest](https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html) in the *Amazon Elastic Container Registry User Guide*. + """ + encryption_type: pulumi.Input['RepositoryEncryptionType'] + """ + The encryption type to use. + + If you use the `KMS` encryption type, the contents of the repository will be encrypted using server-side encryption with AWS Key Management Service key stored in AWS KMS . When you use AWS KMS to encrypt your data, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you already created. + + If you use the `KMS_DSSE` encryption type, the contents of the repository will be encrypted with two layers of encryption using server-side encryption with the AWS KMS Management Service key stored in AWS KMS . Similar to the `KMS` encryption type, you can either use the default AWS managed AWS KMS key for Amazon ECR, or specify your own AWS KMS key, which you've already created. + + If you use the `AES256` encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. + + For more information, see [Amazon ECR encryption at rest](https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html) in the *Amazon Elastic Container Registry User Guide* . + """ + kms_key: NotRequired[pulumi.Input[str]] + """ + If you use the ``KMS`` encryption type, specify the KMS key to use for encryption. The alias, key ID, or full ARN of the KMS key can be specified. The key must exist in the same Region as the repository. If no key is specified, the default AWS managed KMS key for Amazon ECR will be used. + """ +elif False: + RepositoryEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RepositoryEncryptionConfigurationArgs: def __init__(__self__, *, @@ -312,6 +456,18 @@ def kms_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key", value) +if not MYPY: + class RepositoryImageScanningConfigurationArgsDict(TypedDict): + """ + The image scanning configuration for a repository. + """ + scan_on_push: NotRequired[pulumi.Input[bool]] + """ + The setting that determines whether images are scanned after being pushed to a repository. If set to ``true``, images will be scanned after being pushed. If this parameter is not specified, it will default to ``false`` and images will not be scanned unless a scan is manually started. + """ +elif False: + RepositoryImageScanningConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RepositoryImageScanningConfigurationArgs: def __init__(__self__, *, @@ -336,6 +492,23 @@ def scan_on_push(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "scan_on_push", value) +if not MYPY: + class RepositoryLifecyclePolicyArgsDict(TypedDict): + """ + The ``LifecyclePolicy`` property type specifies a lifecycle policy. For information about lifecycle policy syntax, see [Lifecycle policy template](https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html) in the *Amazon ECR User Guide*. + """ + lifecycle_policy_text: NotRequired[pulumi.Input[str]] + """ + The JSON repository policy text to apply to the repository. + """ + registry_id: NotRequired[pulumi.Input[str]] + """ + The AWS account ID associated with the registry that contains the repository. If you do + not specify a registry, the default registry is assumed. + """ +elif False: + RepositoryLifecyclePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RepositoryLifecyclePolicyArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/ecr/get_registry_policy.py b/sdk/python/pulumi_aws_native/ecr/get_registry_policy.py index bd65b9fb65..92429525db 100644 --- a/sdk/python/pulumi_aws_native/ecr/get_registry_policy.py +++ b/sdk/python/pulumi_aws_native/ecr/get_registry_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_registry_policy(registry_id: Optional[str] = None, return AwaitableGetRegistryPolicyResult( policy_text=pulumi.get(__ret__, 'policy_text'), registry_id=pulumi.get(__ret__, 'registry_id')) - - -@_utilities.lift_output_func(get_registry_policy) def get_registry_policy_output(registry_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryPolicyResult]: """ @@ -84,4 +86,10 @@ def get_registry_policy_output(registry_id: Optional[pulumi.Input[str]] = None, :param str registry_id: The account ID of the private registry the policy is associated with. """ - ... + __args__ = dict() + __args__['registryId'] = registry_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ecr:getRegistryPolicy', __args__, opts=opts, typ=GetRegistryPolicyResult) + return __ret__.apply(lambda __response__: GetRegistryPolicyResult( + policy_text=pulumi.get(__response__, 'policy_text'), + registry_id=pulumi.get(__response__, 'registry_id'))) diff --git a/sdk/python/pulumi_aws_native/ecr/get_replication_configuration.py b/sdk/python/pulumi_aws_native/ecr/get_replication_configuration.py index 7e7199c1ba..33a6a7b327 100644 --- a/sdk/python/pulumi_aws_native/ecr/get_replication_configuration.py +++ b/sdk/python/pulumi_aws_native/ecr/get_replication_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -71,9 +76,6 @@ def get_replication_configuration(registry_id: Optional[str] = None, return AwaitableGetReplicationConfigurationResult( registry_id=pulumi.get(__ret__, 'registry_id'), replication_configuration=pulumi.get(__ret__, 'replication_configuration')) - - -@_utilities.lift_output_func(get_replication_configuration) def get_replication_configuration_output(registry_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReplicationConfigurationResult]: """ @@ -82,4 +84,10 @@ def get_replication_configuration_output(registry_id: Optional[pulumi.Input[str] :param str registry_id: The RegistryId associated with the aws account. """ - ... + __args__ = dict() + __args__['registryId'] = registry_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ecr:getReplicationConfiguration', __args__, opts=opts, typ=GetReplicationConfigurationResult) + return __ret__.apply(lambda __response__: GetReplicationConfigurationResult( + registry_id=pulumi.get(__response__, 'registry_id'), + replication_configuration=pulumi.get(__response__, 'replication_configuration'))) diff --git a/sdk/python/pulumi_aws_native/ecr/get_repository.py b/sdk/python/pulumi_aws_native/ecr/get_repository.py index ddaafc8f70..41ecb1421f 100644 --- a/sdk/python/pulumi_aws_native/ecr/get_repository.py +++ b/sdk/python/pulumi_aws_native/ecr/get_repository.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -141,9 +146,6 @@ def get_repository(repository_name: Optional[str] = None, repository_policy_text=pulumi.get(__ret__, 'repository_policy_text'), repository_uri=pulumi.get(__ret__, 'repository_uri'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_repository) def get_repository_output(repository_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositoryResult]: """ @@ -154,4 +156,15 @@ def get_repository_output(repository_name: Optional[pulumi.Input[str]] = None, The repository name must start with a letter and can only contain lowercase letters, numbers, hyphens, underscores, and forward slashes. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. """ - ... + __args__ = dict() + __args__['repositoryName'] = repository_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ecr:getRepository', __args__, opts=opts, typ=GetRepositoryResult) + return __ret__.apply(lambda __response__: GetRepositoryResult( + arn=pulumi.get(__response__, 'arn'), + image_scanning_configuration=pulumi.get(__response__, 'image_scanning_configuration'), + image_tag_mutability=pulumi.get(__response__, 'image_tag_mutability'), + lifecycle_policy=pulumi.get(__response__, 'lifecycle_policy'), + repository_policy_text=pulumi.get(__response__, 'repository_policy_text'), + repository_uri=pulumi.get(__response__, 'repository_uri'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ecr/get_repository_creation_template.py b/sdk/python/pulumi_aws_native/ecr/get_repository_creation_template.py index 11097c43f5..5287099840 100644 --- a/sdk/python/pulumi_aws_native/ecr/get_repository_creation_template.py +++ b/sdk/python/pulumi_aws_native/ecr/get_repository_creation_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -175,9 +180,6 @@ def get_repository_creation_template(prefix: Optional[str] = None, repository_policy=pulumi.get(__ret__, 'repository_policy'), resource_tags=pulumi.get(__ret__, 'resource_tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_repository_creation_template) def get_repository_creation_template_output(prefix: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRepositoryCreationTemplateResult]: """ @@ -186,4 +188,18 @@ def get_repository_creation_template_output(prefix: Optional[pulumi.Input[str]] :param str prefix: The prefix use to match the repository name and apply the template. """ - ... + __args__ = dict() + __args__['prefix'] = prefix + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ecr:getRepositoryCreationTemplate', __args__, opts=opts, typ=GetRepositoryCreationTemplateResult) + return __ret__.apply(lambda __response__: GetRepositoryCreationTemplateResult( + applied_for=pulumi.get(__response__, 'applied_for'), + created_at=pulumi.get(__response__, 'created_at'), + custom_role_arn=pulumi.get(__response__, 'custom_role_arn'), + description=pulumi.get(__response__, 'description'), + encryption_configuration=pulumi.get(__response__, 'encryption_configuration'), + image_tag_mutability=pulumi.get(__response__, 'image_tag_mutability'), + lifecycle_policy=pulumi.get(__response__, 'lifecycle_policy'), + repository_policy=pulumi.get(__response__, 'repository_policy'), + resource_tags=pulumi.get(__response__, 'resource_tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/ecr/outputs.py b/sdk/python/pulumi_aws_native/ecr/outputs.py index 2c026b8f08..1bfba99965 100644 --- a/sdk/python/pulumi_aws_native/ecr/outputs.py +++ b/sdk/python/pulumi_aws_native/ecr/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ecr/pull_through_cache_rule.py b/sdk/python/pulumi_aws_native/ecr/pull_through_cache_rule.py index 25eb8fa25f..f5421dcc51 100644 --- a/sdk/python/pulumi_aws_native/ecr/pull_through_cache_rule.py +++ b/sdk/python/pulumi_aws_native/ecr/pull_through_cache_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['PullThroughCacheRuleArgs', 'PullThroughCacheRule'] diff --git a/sdk/python/pulumi_aws_native/ecr/registry_policy.py b/sdk/python/pulumi_aws_native/ecr/registry_policy.py index 133264978a..31800cf507 100644 --- a/sdk/python/pulumi_aws_native/ecr/registry_policy.py +++ b/sdk/python/pulumi_aws_native/ecr/registry_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['RegistryPolicyArgs', 'RegistryPolicy'] diff --git a/sdk/python/pulumi_aws_native/ecr/replication_configuration.py b/sdk/python/pulumi_aws_native/ecr/replication_configuration.py index 10d90cd553..7eeba70c2c 100644 --- a/sdk/python/pulumi_aws_native/ecr/replication_configuration.py +++ b/sdk/python/pulumi_aws_native/ecr/replication_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ecr/repository.py b/sdk/python/pulumi_aws_native/ecr/repository.py index a843ef922f..43df69e28f 100644 --- a/sdk/python/pulumi_aws_native/ecr/repository.py +++ b/sdk/python/pulumi_aws_native/ecr/repository.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ecr/repository_creation_template.py b/sdk/python/pulumi_aws_native/ecr/repository_creation_template.py index 9b0ee95490..b57072ecab 100644 --- a/sdk/python/pulumi_aws_native/ecr/repository_creation_template.py +++ b/sdk/python/pulumi_aws_native/ecr/repository_creation_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ecs/_inputs.py b/sdk/python/pulumi_aws_native/ecs/_inputs.py index 77ddc064f5..6537648bd0 100644 --- a/sdk/python/pulumi_aws_native/ecs/_inputs.py +++ b/sdk/python/pulumi_aws_native/ecs/_inputs.py @@ -4,87 +4,193 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CapacityProviderAutoScalingGroupProviderArgs', + 'CapacityProviderAutoScalingGroupProviderArgsDict', 'CapacityProviderManagedScalingArgs', + 'CapacityProviderManagedScalingArgsDict', 'ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs', + 'ClusterCapacityProviderAssociationsCapacityProviderStrategyArgsDict', 'ClusterCapacityProviderStrategyItemArgs', + 'ClusterCapacityProviderStrategyItemArgsDict', 'ClusterConfigurationArgs', + 'ClusterConfigurationArgsDict', 'ClusterExecuteCommandConfigurationArgs', + 'ClusterExecuteCommandConfigurationArgsDict', 'ClusterExecuteCommandLogConfigurationArgs', + 'ClusterExecuteCommandLogConfigurationArgsDict', 'ClusterManagedStorageConfigurationArgs', + 'ClusterManagedStorageConfigurationArgsDict', 'ClusterServiceConnectDefaultsArgs', + 'ClusterServiceConnectDefaultsArgsDict', 'ClusterSettingsArgs', + 'ClusterSettingsArgsDict', 'ServiceAwsVpcConfigurationArgs', + 'ServiceAwsVpcConfigurationArgsDict', 'ServiceCapacityProviderStrategyItemArgs', + 'ServiceCapacityProviderStrategyItemArgsDict', 'ServiceConnectClientAliasArgs', + 'ServiceConnectClientAliasArgsDict', 'ServiceConnectConfigurationArgs', + 'ServiceConnectConfigurationArgsDict', 'ServiceConnectServiceArgs', + 'ServiceConnectServiceArgsDict', 'ServiceConnectTlsCertificateAuthorityArgs', + 'ServiceConnectTlsCertificateAuthorityArgsDict', 'ServiceConnectTlsConfigurationArgs', + 'ServiceConnectTlsConfigurationArgsDict', 'ServiceDeploymentAlarmsArgs', + 'ServiceDeploymentAlarmsArgsDict', 'ServiceDeploymentCircuitBreakerArgs', + 'ServiceDeploymentCircuitBreakerArgsDict', 'ServiceDeploymentConfigurationArgs', + 'ServiceDeploymentConfigurationArgsDict', 'ServiceDeploymentControllerArgs', + 'ServiceDeploymentControllerArgsDict', 'ServiceEbsTagSpecificationArgs', + 'ServiceEbsTagSpecificationArgsDict', 'ServiceLoadBalancerArgs', + 'ServiceLoadBalancerArgsDict', 'ServiceLogConfigurationArgs', + 'ServiceLogConfigurationArgsDict', 'ServiceManagedEbsVolumeConfigurationArgs', + 'ServiceManagedEbsVolumeConfigurationArgsDict', 'ServiceNetworkConfigurationArgs', + 'ServiceNetworkConfigurationArgsDict', 'ServicePlacementConstraintArgs', + 'ServicePlacementConstraintArgsDict', 'ServicePlacementStrategyArgs', + 'ServicePlacementStrategyArgsDict', 'ServiceRegistryArgs', + 'ServiceRegistryArgsDict', 'ServiceSecretArgs', + 'ServiceSecretArgsDict', 'ServiceTagArgs', + 'ServiceTagArgsDict', 'ServiceTimeoutConfigurationArgs', + 'ServiceTimeoutConfigurationArgsDict', 'ServiceVolumeConfigurationArgs', + 'ServiceVolumeConfigurationArgsDict', 'TaskDefinitionAuthorizationConfigArgs', + 'TaskDefinitionAuthorizationConfigArgsDict', 'TaskDefinitionContainerDefinitionArgs', + 'TaskDefinitionContainerDefinitionArgsDict', 'TaskDefinitionContainerDependencyArgs', + 'TaskDefinitionContainerDependencyArgsDict', 'TaskDefinitionDeviceArgs', + 'TaskDefinitionDeviceArgsDict', 'TaskDefinitionDockerVolumeConfigurationArgs', + 'TaskDefinitionDockerVolumeConfigurationArgsDict', 'TaskDefinitionEfsVolumeConfigurationArgs', + 'TaskDefinitionEfsVolumeConfigurationArgsDict', 'TaskDefinitionEnvironmentFileArgs', + 'TaskDefinitionEnvironmentFileArgsDict', 'TaskDefinitionEphemeralStorageArgs', + 'TaskDefinitionEphemeralStorageArgsDict', 'TaskDefinitionFSxAuthorizationConfigArgs', + 'TaskDefinitionFSxAuthorizationConfigArgsDict', 'TaskDefinitionFSxWindowsFileServerVolumeConfigurationArgs', + 'TaskDefinitionFSxWindowsFileServerVolumeConfigurationArgsDict', 'TaskDefinitionFirelensConfigurationArgs', + 'TaskDefinitionFirelensConfigurationArgsDict', 'TaskDefinitionHealthCheckArgs', + 'TaskDefinitionHealthCheckArgsDict', 'TaskDefinitionHostEntryArgs', + 'TaskDefinitionHostEntryArgsDict', 'TaskDefinitionHostVolumePropertiesArgs', + 'TaskDefinitionHostVolumePropertiesArgsDict', 'TaskDefinitionInferenceAcceleratorArgs', + 'TaskDefinitionInferenceAcceleratorArgsDict', 'TaskDefinitionKernelCapabilitiesArgs', + 'TaskDefinitionKernelCapabilitiesArgsDict', 'TaskDefinitionKeyValuePairArgs', + 'TaskDefinitionKeyValuePairArgsDict', 'TaskDefinitionLinuxParametersArgs', + 'TaskDefinitionLinuxParametersArgsDict', 'TaskDefinitionLogConfigurationArgs', + 'TaskDefinitionLogConfigurationArgsDict', 'TaskDefinitionMountPointArgs', + 'TaskDefinitionMountPointArgsDict', 'TaskDefinitionPlacementConstraintArgs', + 'TaskDefinitionPlacementConstraintArgsDict', 'TaskDefinitionPortMappingArgs', + 'TaskDefinitionPortMappingArgsDict', 'TaskDefinitionProxyConfigurationArgs', + 'TaskDefinitionProxyConfigurationArgsDict', 'TaskDefinitionRepositoryCredentialsArgs', + 'TaskDefinitionRepositoryCredentialsArgsDict', 'TaskDefinitionResourceRequirementArgs', + 'TaskDefinitionResourceRequirementArgsDict', 'TaskDefinitionRestartPolicyArgs', + 'TaskDefinitionRestartPolicyArgsDict', 'TaskDefinitionRuntimePlatformArgs', + 'TaskDefinitionRuntimePlatformArgsDict', 'TaskDefinitionSecretArgs', + 'TaskDefinitionSecretArgsDict', 'TaskDefinitionSystemControlArgs', + 'TaskDefinitionSystemControlArgsDict', 'TaskDefinitionTmpfsArgs', + 'TaskDefinitionTmpfsArgsDict', 'TaskDefinitionUlimitArgs', + 'TaskDefinitionUlimitArgsDict', 'TaskDefinitionVolumeFromArgs', + 'TaskDefinitionVolumeFromArgsDict', 'TaskDefinitionVolumeArgs', + 'TaskDefinitionVolumeArgsDict', 'TaskSetAwsVpcConfigurationArgs', + 'TaskSetAwsVpcConfigurationArgsDict', 'TaskSetCapacityProviderStrategyItemArgs', + 'TaskSetCapacityProviderStrategyItemArgsDict', 'TaskSetLoadBalancerArgs', + 'TaskSetLoadBalancerArgsDict', 'TaskSetNetworkConfigurationArgs', + 'TaskSetNetworkConfigurationArgsDict', 'TaskSetScaleArgs', + 'TaskSetScaleArgsDict', 'TaskSetServiceRegistryArgs', + 'TaskSetServiceRegistryArgsDict', ] +MYPY = False + +if not MYPY: + class CapacityProviderAutoScalingGroupProviderArgsDict(TypedDict): + auto_scaling_group_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) that identifies the Auto Scaling group, or the Auto Scaling group name. + """ + managed_draining: NotRequired[pulumi.Input['CapacityProviderAutoScalingGroupProviderManagedDraining']] + """ + The managed draining option for the Auto Scaling group capacity provider. When you enable this, Amazon ECS manages and gracefully drains the EC2 container instances that are in the Auto Scaling group capacity provider. + """ + managed_scaling: NotRequired[pulumi.Input['CapacityProviderManagedScalingArgsDict']] + """ + The managed scaling settings for the Auto Scaling group capacity provider. + """ + managed_termination_protection: NotRequired[pulumi.Input['CapacityProviderAutoScalingGroupProviderManagedTerminationProtection']] + """ + The managed termination protection setting to use for the Auto Scaling group capacity provider. This determines whether the Auto Scaling group has managed termination protection. The default is off. + + > When using managed termination protection, managed scaling must also be used otherwise managed termination protection doesn't work. + + When managed termination protection is on, Amazon ECS prevents the Amazon EC2 instances in an Auto Scaling group that contain tasks from being terminated during a scale-in action. The Auto Scaling group and each instance in the Auto Scaling group must have instance protection from scale-in actions on as well. For more information, see [Instance Protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection) in the *AWS Auto Scaling User Guide* . + + When managed termination protection is off, your Amazon EC2 instances aren't protected from termination when the Auto Scaling group scales in. + """ +elif False: + CapacityProviderAutoScalingGroupProviderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapacityProviderAutoScalingGroupProviderArgs: def __init__(__self__, *, @@ -167,6 +273,38 @@ def managed_termination_protection(self, value: Optional[pulumi.Input['CapacityP pulumi.set(self, "managed_termination_protection", value) +if not MYPY: + class CapacityProviderManagedScalingArgsDict(TypedDict): + """ + The managed scaling settings for the Auto Scaling group capacity provider. + """ + instance_warmup_period: NotRequired[pulumi.Input[int]] + """ + The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of `300` seconds is used. + """ + maximum_scaling_step_size: NotRequired[pulumi.Input[int]] + """ + The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of `10000` is used. + """ + minimum_scaling_step_size: NotRequired[pulumi.Input[int]] + """ + The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of `1` is used. + + When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. + + If you use a capacity provider with an Auto Scaling group configured with more than one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum scaling step size value and will ignore both the maximum scaling step size as well as the capacity demand. + """ + status: NotRequired[pulumi.Input['CapacityProviderManagedScalingStatus']] + """ + Determines whether to use managed scaling for the capacity provider. + """ + target_capacity: NotRequired[pulumi.Input[int]] + """ + The target capacity utilization as a percentage for the capacity provider. The specified value must be greater than `0` and less than or equal to `100` . For example, if you want the capacity provider to maintain 10% spare capacity, then that means the utilization is 90%, so use a `targetCapacity` of `90` . The default value of `100` percent results in the Amazon EC2 instances in your Auto Scaling group being completely used. + """ +elif False: + CapacityProviderManagedScalingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CapacityProviderManagedScalingArgs: def __init__(__self__, *, @@ -263,6 +401,14 @@ def target_capacity(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "target_capacity", value) +if not MYPY: + class ClusterCapacityProviderAssociationsCapacityProviderStrategyArgsDict(TypedDict): + capacity_provider: pulumi.Input[Union['ClusterCapacityProviderAssociationsCapacityProvider', str]] + base: NotRequired[pulumi.Input[int]] + weight: NotRequired[pulumi.Input[int]] +elif False: + ClusterCapacityProviderAssociationsCapacityProviderStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterCapacityProviderAssociationsCapacityProviderStrategyArgs: def __init__(__self__, *, @@ -303,6 +449,28 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class ClusterCapacityProviderStrategyItemArgsDict(TypedDict): + """ + The ``CapacityProviderStrategyItem`` property specifies the details of the default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used. + """ + base: NotRequired[pulumi.Input[int]] + """ + The *base* value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a *base* defined. If no value is specified, the default value of ``0`` is used. + """ + capacity_provider: NotRequired[pulumi.Input[str]] + """ + The short name of the capacity provider. + """ + weight: NotRequired[pulumi.Input[int]] + """ + The *weight* value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The ``weight`` value is taken into consideration after the ``base`` value, if defined, is satisfied. + If no ``weight`` value is specified, the default value of ``0`` is used. When multiple capacity providers are specified within a capacity provider strategy, at least one of the capacity providers must have a weight value greater than zero and any capacity providers with a weight of ``0`` can't be used to place tasks. If you specify multiple capacity providers in a strategy that all have a weight of ``0``, any ``RunTask`` or ``CreateService`` actions using the capacity provider strategy will fail. + An example scenario for using weights is defining a strategy that contains two capacity providers and both have a weight of ``1``, then when the ``base`` is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of ``1`` for *capacityProviderA* and a weight of ``4`` for *capacityProviderB*, then for every one task that's run using *capacityProviderA*, four tasks would use *capacityProviderB*. + """ +elif False: + ClusterCapacityProviderStrategyItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterCapacityProviderStrategyItemArgs: def __init__(__self__, *, @@ -363,6 +531,22 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class ClusterConfigurationArgsDict(TypedDict): + """ + The execute command and managed storage configuration for the cluster. + """ + execute_command_configuration: NotRequired[pulumi.Input['ClusterExecuteCommandConfigurationArgsDict']] + """ + The details of the execute command configuration. + """ + managed_storage_configuration: NotRequired[pulumi.Input['ClusterManagedStorageConfigurationArgsDict']] + """ + The details of the managed storage configuration. + """ +elif False: + ClusterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterConfigurationArgs: def __init__(__self__, *, @@ -403,6 +587,29 @@ def managed_storage_configuration(self, value: Optional[pulumi.Input['ClusterMan pulumi.set(self, "managed_storage_configuration", value) +if not MYPY: + class ClusterExecuteCommandConfigurationArgsDict(TypedDict): + """ + The details of the execute command configuration. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + Specify an KMSlong key ID to encrypt the data between the local client and the container. + """ + log_configuration: NotRequired[pulumi.Input['ClusterExecuteCommandLogConfigurationArgsDict']] + """ + The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When ``logging=OVERRIDE`` is specified, a ``logConfiguration`` must be provided. + """ + logging: NotRequired[pulumi.Input[str]] + """ + The log setting to use for redirecting logs for your execute command results. The following log settings are available. + + ``NONE``: The execute command session is not logged. + + ``DEFAULT``: The ``awslogs`` configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If no ``awslogs`` log driver is configured in the task definition, the output won't be logged. + + ``OVERRIDE``: Specify the logging details as a part of ``logConfiguration``. If the ``OVERRIDE`` logging option is specified, the ``logConfiguration`` is required. + """ +elif False: + ClusterExecuteCommandConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterExecuteCommandConfigurationArgs: def __init__(__self__, *, @@ -465,6 +672,36 @@ def logging(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "logging", value) +if not MYPY: + class ClusterExecuteCommandLogConfigurationArgsDict(TypedDict): + """ + The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. + """ + cloud_watch_encryption_enabled: NotRequired[pulumi.Input[bool]] + """ + Determines whether to use encryption on the CloudWatch logs. If not specified, encryption will be off. + """ + cloud_watch_log_group_name: NotRequired[pulumi.Input[str]] + """ + The name of the CloudWatch log group to send logs to. + The CloudWatch log group must already be created. + """ + s3_bucket_name: NotRequired[pulumi.Input[str]] + """ + The name of the S3 bucket to send logs to. + The S3 bucket must already be created. + """ + s3_encryption_enabled: NotRequired[pulumi.Input[bool]] + """ + Determines whether to use encryption on the S3 logs. If not specified, encryption is not used. + """ + s3_key_prefix: NotRequired[pulumi.Input[str]] + """ + An optional folder in the S3 bucket to place logs in. + """ +elif False: + ClusterExecuteCommandLogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterExecuteCommandLogConfigurationArgs: def __init__(__self__, *, @@ -557,6 +794,22 @@ def s3_key_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_key_prefix", value) +if not MYPY: + class ClusterManagedStorageConfigurationArgsDict(TypedDict): + """ + The managed storage configuration for the cluster. + """ + fargate_ephemeral_storage_kms_key_id: NotRequired[pulumi.Input[str]] + """ + Specify the KMSlong key ID for the Fargate ephemeral storage. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + Specify a KMSlong key ID to encrypt the managed storage. + """ +elif False: + ClusterManagedStorageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterManagedStorageConfigurationArgs: def __init__(__self__, *, @@ -597,6 +850,23 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class ClusterServiceConnectDefaultsArgsDict(TypedDict): + """ + Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the ``enabled`` parameter to ``true`` in the ``ServiceConnectConfiguration``. You can set the namespace of each service individually in the ``ServiceConnectConfiguration`` to override this default parameter. + Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see [Service Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The namespace name or full Amazon Resource Name (ARN) of the CMAPlong namespace that's used when you create a service and don't specify a Service Connect configuration. The namespace name can include up to 1024 characters. The name is case-sensitive. The name can't include hyphens (-), tilde (~), greater than (>), less than (<), or slash (/). + If you enter an existing namespace name or ARN, then that namespace will be used. Any namespace type is supported. The namespace must be in this account and this AWS Region. + If you enter a new name, a CMAPlong namespace will be created. Amazon ECS creates a CMAP namespace with the "API calls" method of instance discovery only. This instance discovery method is the "HTTP" namespace type in the CLIlong. Other types of instance discovery aren't used by Service Connect. + If you update the cluster with an empty string ``""`` for the namespace name, the cluster configuration for Service Connect is removed. Note that the namespace will remain in CMAP and must be deleted separately. + For more information about CMAPlong, see [Working with Services](https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html) in the *Developer Guide*. + """ +elif False: + ClusterServiceConnectDefaultsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterServiceConnectDefaultsArgs: def __init__(__self__, *, @@ -630,6 +900,23 @@ def namespace(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "namespace", value) +if not MYPY: + class ClusterSettingsArgsDict(TypedDict): + """ + The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the cluster setting. The value is ``containerInsights`` . + """ + value: NotRequired[pulumi.Input[str]] + """ + The value to set for the cluster setting. The supported values are ``enabled`` and ``disabled``. + If you set ``name`` to ``containerInsights`` and ``value`` to ``enabled``, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the ``containerInsights`` account setting is turned on. If a cluster value is specified, it will override the ``containerInsights`` value set with [PutAccountSetting](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html) or [PutAccountSettingDefault](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html). + """ +elif False: + ClusterSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterSettingsArgs: def __init__(__self__, *, @@ -672,6 +959,28 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ServiceAwsVpcConfigurationArgsDict(TypedDict): + """ + An object representing the networking details for a task or service. For example ``awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}``. + """ + assign_public_ip: NotRequired[pulumi.Input['ServiceAwsVpcConfigurationAssignPublicIp']] + """ + Whether the task's elastic network interface receives a public IP address. The default value is ``DISABLED``. + """ + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``awsvpcConfiguration``. + All specified security groups must be from the same VPC. + """ + subnets: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``awsvpcConfiguration``. + All specified subnets must be from the same VPC. + """ +elif False: + ServiceAwsVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceAwsVpcConfigurationArgs: def __init__(__self__, *, @@ -732,6 +1041,31 @@ def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "subnets", value) +if not MYPY: + class ServiceCapacityProviderStrategyItemArgsDict(TypedDict): + """ + The details of a capacity provider strategy. A capacity provider strategy can be set when using the ``RunTask`` or ``CreateService`` APIs or as the default capacity provider strategy for a cluster with the ``CreateCluster`` API. + Only capacity providers that are already associated with a cluster and have an ``ACTIVE`` or ``UPDATING`` status can be used in a capacity provider strategy. The ``PutClusterCapacityProviders`` API is used to associate a capacity provider with a cluster. + If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New Auto Scaling group capacity providers can be created with the ``CreateCapacityProvider`` API operation. + To use an FARGATElong capacity provider, specify either the ``FARGATE`` or ``FARGATE_SPOT`` capacity providers. The FARGATElong capacity providers are available to all accounts and only need to be associated with a cluster to be used in a capacity provider strategy. + """ + base: NotRequired[pulumi.Input[int]] + """ + The *base* value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a *base* defined. If no value is specified, the default value of ``0`` is used. + """ + capacity_provider: NotRequired[pulumi.Input[str]] + """ + The short name of the capacity provider. + """ + weight: NotRequired[pulumi.Input[int]] + """ + The *weight* value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The ``weight`` value is taken into consideration after the ``base`` value, if defined, is satisfied. + If no ``weight`` value is specified, the default value of ``0`` is used. When multiple capacity providers are specified within a capacity provider strategy, at least one of the capacity providers must have a weight value greater than zero and any capacity providers with a weight of ``0`` can't be used to place tasks. If you specify multiple capacity providers in a strategy that all have a weight of ``0``, any ``RunTask`` or ``CreateService`` actions using the capacity provider strategy will fail. + An example scenario for using weights is defining a strategy that contains two capacity providers and both have a weight of ``1``, then when the ``base`` is satisfied, the tasks will be split evenly across the two capacity providers. Using that same logic, if you specify a weight of ``1`` for *capacityProviderA* and a weight of ``4`` for *capacityProviderB*, then for every one task that's run using *capacityProviderA*, four tasks would use *capacityProviderB*. + """ +elif False: + ServiceCapacityProviderStrategyItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceCapacityProviderStrategyItemArgs: def __init__(__self__, *, @@ -795,6 +1129,27 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class ServiceConnectClientAliasArgsDict(TypedDict): + """ + Each alias ("endpoint") is a fully-qualified name and port number that other tasks ("clients") can use to connect to this service. + Each name and port mapping must be unique within the namespace. + Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see [Service Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + port: pulumi.Input[int] + """ + The listening port number for the Service Connect proxy. This port is available inside of all of the tasks within the same namespace. + To avoid changing your applications in client Amazon ECS services, set this to the same port that the client application uses by default. For more information, see [Service Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + dns_name: NotRequired[pulumi.Input[str]] + """ + The ``dnsName`` is the name that you use in the applications of client tasks to connect to this service. The name must be a valid DNS name but doesn't need to be fully-qualified. The name can include up to 127 characters. The name can include lowercase letters, numbers, underscores (_), hyphens (-), and periods (.). The name can't start with a hyphen. + If this parameter isn't specified, the default value of ``discoveryName.namespace`` is used. If the ``discoveryName`` isn't specified, the port mapping name from the task definition is used in ``portName.namespace``. + To avoid changing your applications in client Amazon ECS services, set this to the same name that the client application uses by default. For example, a few common names are ``database``, ``db``, or the lowercase name of a database, such as ``mysql`` or ``redis``. For more information, see [Service Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the *Amazon Elastic Container Service Developer Guide*. + """ +elif False: + ServiceConnectClientAliasArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceConnectClientAliasArgs: def __init__(__self__, *, @@ -842,6 +1197,41 @@ def dns_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "dns_name", value) +if not MYPY: + class ServiceConnectConfigurationArgsDict(TypedDict): + """ + The Service Connect configuration of your Amazon ECS service. The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace. + Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see [Service Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + enabled: pulumi.Input[bool] + """ + Specifies whether to use Service Connect with this service. + """ + log_configuration: NotRequired[pulumi.Input['ServiceLogConfigurationArgsDict']] + """ + The log configuration for the container. This parameter maps to ``LogConfig`` in the docker container create command and the ``--log-driver`` option to docker run. + By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition. + Understand the following when specifying a log configuration for your containers. + + Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon. Additional log drivers may be available in future releases of the Amazon ECS container agent. + For tasks on FARGATElong, the supported log drivers are ``awslogs``, ``splunk``, and ``awsfirelens``. + For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``,``syslog``, ``splunk``, and ``awsfirelens``. + + This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. + + For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must register the available logging drivers with the ``ECS_AVAILABLE_LOGGING_DRIVERS`` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide*. + + For tasks that are on FARGATElong, because you don't have access to the underlying infrastructure your tasks are hosted on, any additional software needed must be installed outside of the task. For example, the Fluentd output aggregators or a remote host running Logstash to send Gelf logs to. + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The namespace name or full Amazon Resource Name (ARN) of the CMAPlong namespace for use with Service Connect. The namespace must be in the same AWS Region as the Amazon ECS service and cluster. The type of namespace doesn't affect Service Connect. For more information about CMAPlong, see [Working with Services](https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html) in the *Developer Guide*. + """ + services: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceConnectServiceArgsDict']]]] + """ + The list of Service Connect service objects. These are names and aliases (also known as endpoints) that are used by other Amazon ECS services to connect to this service. + This field is not required for a "client" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means. + An object selects a port from the task definition, assigns a name for the CMAPlong service, and a list of aliases (endpoints) and ports for client applications to refer to this service. + """ +elif False: + ServiceConnectConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceConnectConfigurationArgs: def __init__(__self__, *, @@ -934,6 +1324,44 @@ def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceCo pulumi.set(self, "services", value) +if not MYPY: + class ServiceConnectServiceArgsDict(TypedDict): + """ + The Service Connect service object configuration. For more information, see [Service Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + port_name: pulumi.Input[str] + """ + The ``portName`` must match the name of one of the ``portMappings`` from all the containers in the task definition of this Amazon ECS service. + """ + client_aliases: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceConnectClientAliasArgsDict']]]] + """ + The list of client aliases for this Service Connect service. You use these to assign names that can be used by client applications. The maximum number of client aliases that you can have in this list is 1. + Each alias ("endpoint") is a fully-qualified name and port number that other Amazon ECS tasks ("clients") can use to connect to this service. + Each name and port mapping must be unique within the namespace. + For each ``ServiceConnectService``, you must provide at least one ``clientAlias`` with one ``port``. + """ + discovery_name: NotRequired[pulumi.Input[str]] + """ + The ``discoveryName`` is the name of the new CMAP service that Amazon ECS creates for this Amazon ECS service. This must be unique within the CMAP namespace. The name can contain up to 64 characters. The name can include lowercase letters, numbers, underscores (_), and hyphens (-). The name can't start with a hyphen. + If the ``discoveryName`` isn't specified, the port mapping name from the task definition is used in ``portName.namespace``. + """ + ingress_port_override: NotRequired[pulumi.Input[int]] + """ + The port number for the Service Connect proxy to listen on. + Use the value of this field to bypass the proxy for traffic on the port number specified in the named ``portMapping`` in the task definition of this application, and then use it in your VPC security groups to allow traffic into the proxy for this Amazon ECS service. + In ``awsvpc`` mode and Fargate, the default value is the container port number. The container port number is in the ``portMapping`` in the task definition. In bridge mode, the default value is the ephemeral port of the Service Connect proxy. + """ + timeout: NotRequired[pulumi.Input['ServiceTimeoutConfigurationArgsDict']] + """ + A reference to an object that represents the configured timeouts for Service Connect. + """ + tls: NotRequired[pulumi.Input['ServiceConnectTlsConfigurationArgsDict']] + """ + A reference to an object that represents a Transport Layer Security (TLS) configuration. + """ +elif False: + ServiceConnectServiceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceConnectServiceArgs: def __init__(__self__, *, @@ -1049,6 +1477,18 @@ def tls(self, value: Optional[pulumi.Input['ServiceConnectTlsConfigurationArgs'] pulumi.set(self, "tls", value) +if not MYPY: + class ServiceConnectTlsCertificateAuthorityArgsDict(TypedDict): + """ + The certificate root authority that secures your service. + """ + aws_pca_authority_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the AWS Private Certificate Authority certificate. + """ +elif False: + ServiceConnectTlsCertificateAuthorityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceConnectTlsCertificateAuthorityArgs: def __init__(__self__, *, @@ -1073,15 +1513,35 @@ def aws_pca_authority_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "aws_pca_authority_arn", value) -@pulumi.input_type -class ServiceConnectTlsConfigurationArgs: - def __init__(__self__, *, - issuer_certificate_authority: pulumi.Input['ServiceConnectTlsCertificateAuthorityArgs'], - kms_key: Optional[pulumi.Input[str]] = None, - role_arn: Optional[pulumi.Input[str]] = None): +if not MYPY: + class ServiceConnectTlsConfigurationArgsDict(TypedDict): """ The key that encrypts and decrypts your resources for Service Connect TLS. - :param pulumi.Input['ServiceConnectTlsCertificateAuthorityArgs'] issuer_certificate_authority: The signer certificate authority. + """ + issuer_certificate_authority: pulumi.Input['ServiceConnectTlsCertificateAuthorityArgsDict'] + """ + The signer certificate authority. + """ + kms_key: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service key. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS. + """ +elif False: + ServiceConnectTlsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ServiceConnectTlsConfigurationArgs: + def __init__(__self__, *, + issuer_certificate_authority: pulumi.Input['ServiceConnectTlsCertificateAuthorityArgs'], + kms_key: Optional[pulumi.Input[str]] = None, + role_arn: Optional[pulumi.Input[str]] = None): + """ + The key that encrypts and decrypts your resources for Service Connect TLS. + :param pulumi.Input['ServiceConnectTlsCertificateAuthorityArgs'] issuer_certificate_authority: The signer certificate authority. :param pulumi.Input[str] kms_key: The AWS Key Management Service key. :param pulumi.Input[str] role_arn: The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS. """ @@ -1128,6 +1588,29 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class ServiceDeploymentAlarmsArgsDict(TypedDict): + """ + One of the methods which provide a way for you to quickly identify when a deployment has failed, and then to optionally roll back the failure to the last working deployment. + When the alarms are generated, Amazon ECS sets the service deployment to failed. Set the rollback parameter to have Amazon ECS to roll back your service to the last completed deployment after a failure. + You can only use the ``DeploymentAlarms`` method to detect failures when the ``DeploymentController`` is set to ``ECS`` (rolling update). + For more information, see [Rolling update](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + alarm_names: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + One or more CloudWatch alarm names. Use a "," to separate the alarms. + """ + enable: pulumi.Input[bool] + """ + Determines whether to use the CloudWatch alarm option in the service deployment process. + """ + rollback: pulumi.Input[bool] + """ + Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is used, when a service deployment fails, the service is rolled back to the last deployment that completed successfully. + """ +elif False: + ServiceDeploymentAlarmsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceDeploymentAlarmsArgs: def __init__(__self__, *, @@ -1184,6 +1667,24 @@ def rollback(self, value: pulumi.Input[bool]): pulumi.set(self, "rollback", value) +if not MYPY: + class ServiceDeploymentCircuitBreakerArgsDict(TypedDict): + """ + The deployment circuit breaker can only be used for services using the rolling update (``ECS``) deployment type. + The *deployment circuit breaker* determines whether a service deployment will fail if the service can't reach a steady state. If it is turned on, a service deployment will transition to a failed state and stop launching new tasks. You can also configure Amazon ECS to roll back your service to the last completed deployment after a failure. For more information, see [Rolling update](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) in the *Amazon Elastic Container Service Developer Guide*. + For more information about API failure reasons, see [API failure reasons](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + enable: pulumi.Input[bool] + """ + Determines whether to use the deployment circuit breaker logic for the service. + """ + rollback: pulumi.Input[bool] + """ + Determines whether to configure Amazon ECS to roll back the service if a service deployment fails. If rollback is on, when a service deployment fails, the service is rolled back to the last deployment that completed successfully. + """ +elif False: + ServiceDeploymentCircuitBreakerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceDeploymentCircuitBreakerArgs: def __init__(__self__, *, @@ -1224,6 +1725,48 @@ def rollback(self, value: pulumi.Input[bool]): pulumi.set(self, "rollback", value) +if not MYPY: + class ServiceDeploymentConfigurationArgsDict(TypedDict): + """ + Optional deployment parameters that control how many tasks run during a deployment and the ordering of stopping and starting tasks. + """ + alarms: NotRequired[pulumi.Input['ServiceDeploymentAlarmsArgsDict']] + """ + Information about the CloudWatch alarms. + """ + deployment_circuit_breaker: NotRequired[pulumi.Input['ServiceDeploymentCircuitBreakerArgsDict']] + """ + The deployment circuit breaker can only be used for services using the rolling update (``ECS``) deployment type. + The *deployment circuit breaker* determines whether a service deployment will fail if the service can't reach a steady state. If you use the deployment circuit breaker, a service deployment will transition to a failed state and stop launching new tasks. If you use the rollback option, when a service deployment fails, the service is rolled back to the last deployment that completed successfully. For more information, see [Rolling update](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) in the *Amazon Elastic Container Service Developer Guide* + """ + maximum_percent: NotRequired[pulumi.Input[int]] + """ + If a service is using the rolling update (``ECS``) deployment type, the ``maximumPercent`` parameter represents an upper limit on the number of your service's tasks that are allowed in the ``RUNNING`` or ``PENDING`` state during a deployment, as a percentage of the ``desiredCount`` (rounded down to the nearest integer). This parameter enables you to define the deployment batch size. For example, if your service is using the ``REPLICA`` service scheduler and has a ``desiredCount`` of four tasks and a ``maximumPercent`` value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default ``maximumPercent`` value for a service using the ``REPLICA`` service scheduler is 200%. + If a service is using either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types, and tasks in the service use the EC2 launch type, the *maximum percent* value is set to the default value. The *maximum percent* value is used to define the upper limit on the number of the tasks in the service that remain in the ``RUNNING`` state while the container instances are in the ``DRAINING`` state. + You can't specify a custom ``maximumPercent`` value for a service that uses either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and has tasks that use the EC2 launch type. + If the tasks in the service use the Fargate launch type, the maximum percent value is not used, although it is returned when describing your service. + """ + minimum_healthy_percent: NotRequired[pulumi.Input[int]] + """ + If a service is using the rolling update (``ECS``) deployment type, the ``minimumHealthyPercent`` represents a lower limit on the number of your service's tasks that must remain in the ``RUNNING`` state during a deployment, as a percentage of the ``desiredCount`` (rounded up to the nearest integer). This parameter enables you to deploy without using additional cluster capacity. For example, if your service has a ``desiredCount`` of four tasks and a ``minimumHealthyPercent`` of 50%, the service scheduler may stop two existing tasks to free up cluster capacity before starting two new tasks. + For services that *do not* use a load balancer, the following should be noted: + + A service is considered healthy if all essential containers within the tasks in the service pass their health checks. + + If a task has no essential containers with a health check defined, the service scheduler will wait for 40 seconds after a task reaches a ``RUNNING`` state before the task is counted towards the minimum healthy percent total. + + If a task has one or more essential containers with a health check defined, the service scheduler will wait for the task to reach a healthy status before counting it towards the minimum healthy percent total. A task is considered healthy when all essential containers within the task have passed their health checks. The amount of time the service scheduler can wait for is determined by the container health check settings. + + For services that *do* use a load balancer, the following should be noted: + + If a task has no essential containers with a health check defined, the service scheduler will wait for the load balancer target group health check to return a healthy status before counting the task towards the minimum healthy percent total. + + If a task has an essential container with a health check defined, the service scheduler will wait for both the task to reach a healthy status and the load balancer target group health check to return a healthy status before counting the task towards the minimum healthy percent total. + + The default value for a replica service for ``minimumHealthyPercent`` is 100%. The default ``minimumHealthyPercent`` value for a service using the ``DAEMON`` service schedule is 0% for the CLI, the AWS SDKs, and the APIs and 50% for the AWS Management Console. + The minimum number of healthy tasks during a deployment is the ``desiredCount`` multiplied by the ``minimumHealthyPercent``/100, rounded up to the nearest integer value. + If a service is using either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and is running tasks that use the EC2 launch type, the *minimum healthy percent* value is set to the default value. The *minimum healthy percent* value is used to define the lower limit on the number of the tasks in the service that remain in the ``RUNNING`` state while the container instances are in the ``DRAINING`` state. + You can't specify a custom ``minimumHealthyPercent`` value for a service that uses either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and has tasks that use the EC2 launch type. + If a service is using either the blue/green (``CODE_DEPLOY``) or ``EXTERNAL`` deployment types and is running tasks that use the Fargate launch type, the minimum healthy percent value is not used, although it is returned when describing your service. + """ +elif False: + ServiceDeploymentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceDeploymentConfigurationArgs: def __init__(__self__, *, @@ -1332,6 +1875,19 @@ def minimum_healthy_percent(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "minimum_healthy_percent", value) +if not MYPY: + class ServiceDeploymentControllerArgsDict(TypedDict): + """ + The deployment controller to use for the service. For more information, see [Amazon ECS deployment types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + type: NotRequired[pulumi.Input['ServiceDeploymentControllerType']] + """ + The deployment controller type to use. There are three deployment controller types available: + + ECS The rolling update (ECS) deployment type involves replacing the current running version of the container with the latest version. The number of containers Amazon ECS adds or removes from the service during a rolling update is controlled by adjusting the minimum and maximum number of healthy tasks allowed during a service deployment, as specified in the DeploymentConfiguration. + CODE_DEPLOY The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment model powered by , which allows you to verify a new deployment of a service before sending production traffic to it. + EXTERNAL The external (EXTERNAL) deployment type enables you to use any third-party deployment controller for full control over the deployment process for an Amazon ECS service. + """ +elif False: + ServiceDeploymentControllerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceDeploymentControllerArgs: def __init__(__self__, *, @@ -1358,6 +1914,29 @@ def type(self, value: Optional[pulumi.Input['ServiceDeploymentControllerType']]) pulumi.set(self, "type", value) +if not MYPY: + class ServiceEbsTagSpecificationArgsDict(TypedDict): + """ + The tag specifications of an Amazon EBS volume. + """ + resource_type: pulumi.Input[str] + """ + The type of volume resource. + """ + propagate_tags: NotRequired[pulumi.Input['ServiceEbsTagSpecificationPropagateTags']] + """ + Determines whether to propagate the tags from the task definition to + the Amazon EBS volume. Tags can only propagate to a ``SERVICE`` specified in + ``ServiceVolumeConfiguration``. If no value is specified, the tags aren't + propagated. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceTagArgsDict']]]] + """ + The tags applied to this Amazon EBS volume. ``AmazonECSCreated`` and ``AmazonECSManaged`` are reserved tags that can't be used. + """ +elif False: + ServiceEbsTagSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceEbsTagSpecificationArgs: def __init__(__self__, *, @@ -1419,6 +1998,38 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceTagArg pulumi.set(self, "tags", value) +if not MYPY: + class ServiceLoadBalancerArgsDict(TypedDict): + """ + The ``LoadBalancer`` property specifies details on a load balancer that is used with a service. + If the service is using the ``CODE_DEPLOY`` deployment controller, the service is required to use either an Application Load Balancer or Network Load Balancer. When you are creating an ACDlong deployment group, you specify two target groups (referred to as a ``targetGroupPair``). Each target group binds to a separate task set in the deployment. The load balancer can also have up to two listeners, a required listener for production traffic and an optional listener that allows you to test new revisions of the service before routing production traffic to it. + Services with tasks that use the ``awsvpc`` network mode (for example, those with the Fargate launch type) only support Application Load Balancers and Network Load Balancers. Classic Load Balancers are not supported. Also, when you create any target groups for these services, you must choose ``ip`` as the target type, not ``instance``. Tasks that use the ``awsvpc`` network mode are associated with an elastic network interface, not an Amazon EC2 instance. + """ + container_name: NotRequired[pulumi.Input[str]] + """ + The name of the container (as it appears in a container definition) to associate with the load balancer. + You need to specify the container name when configuring the target group for an Amazon ECS load balancer. + """ + container_port: NotRequired[pulumi.Input[int]] + """ + The port on the container to associate with the load balancer. This port must correspond to a ``containerPort`` in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they're launched on must allow ingress traffic on the ``hostPort`` of the port mapping. + """ + load_balancer_name: NotRequired[pulumi.Input[str]] + """ + The name of the load balancer to associate with the Amazon ECS service or task set. + If you are using an Application Load Balancer or a Network Load Balancer the load balancer name parameter should be omitted. + """ + target_group_arn: NotRequired[pulumi.Input[str]] + """ + The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set. + A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. + For services using the ``ECS`` deployment controller, you can specify one or multiple target groups. For more information, see [Registering multiple target groups with a service](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html) in the *Amazon Elastic Container Service Developer Guide*. + For services using the ``CODE_DEPLOY`` deployment controller, you're required to define two target groups for the load balancer. For more information, see [Blue/green deployment with CodeDeploy](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html) in the *Amazon Elastic Container Service Developer Guide*. + If your service's task definition uses the ``awsvpc`` network mode, you must choose ``ip`` as the target type, not ``instance``. Do this when creating your target groups because tasks that use the ``awsvpc`` network mode are associated with an elastic network interface, not an Amazon EC2 instance. This network mode is required for the Fargate launch type. + """ +elif False: + ServiceLoadBalancerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLoadBalancerArgs: def __init__(__self__, *, @@ -1505,6 +2116,39 @@ def target_group_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_group_arn", value) +if not MYPY: + class ServiceLogConfigurationArgsDict(TypedDict): + """ + The log configuration for the container. This parameter maps to ``LogConfig`` in the docker container create command and the ``--log-driver`` option to docker run. + By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition. + Understand the following when specifying a log configuration for your containers. + + Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon. Additional log drivers may be available in future releases of the Amazon ECS container agent. + For tasks on FARGATElong, the supported log drivers are ``awslogs``, ``splunk``, and ``awsfirelens``. + For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``,``syslog``, ``splunk``, and ``awsfirelens``. + + This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. + + For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must register the available logging drivers with the ``ECS_AVAILABLE_LOGGING_DRIVERS`` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide*. + + For tasks that are on FARGATElong, because you don't have access to the underlying infrastructure your tasks are hosted on, any additional software needed must be installed outside of the task. For example, the Fluentd output aggregators or a remote host running Logstash to send Gelf logs to. + """ + log_driver: NotRequired[pulumi.Input[str]] + """ + The log driver to use for the container. + For tasks on FARGATElong, the supported log drivers are ``awslogs``, ``splunk``, and ``awsfirelens``. + For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``, ``syslog``, ``splunk``, and ``awsfirelens``. + For more information about using the ``awslogs`` log driver, see [Send Amazon ECS logs to CloudWatch](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html) in the *Amazon Elastic Container Service Developer Guide*. + For more information about using the ``awsfirelens`` log driver, see [Send Amazon ECS logs to an service or Partner](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html). + If you have a custom driver that isn't listed, you can fork the Amazon ECS container agent project that's [available on GitHub](https://docs.aws.amazon.com/https://github.com/aws/amazon-ecs-agent) and customize it to work with that driver. We encourage you to submit pull requests for changes that you would like to have included. However, we don't currently provide support for running modified copies of this software. + """ + options: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'`` + """ + secret_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceSecretArgsDict']]]] + """ + The secrets to pass to the log configuration. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the *Amazon Elastic Container Service Developer Guide*. + """ +elif False: + ServiceLogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLogConfigurationArgs: def __init__(__self__, *, @@ -1579,6 +2223,78 @@ def secret_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Ser pulumi.set(self, "secret_options", value) +if not MYPY: + class ServiceManagedEbsVolumeConfigurationArgsDict(TypedDict): + """ + The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task in the service. + Many of these parameters map 1:1 with the Amazon EBS ``CreateVolume`` API request parameters. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the IAM role to associate with this volume. This is the Amazon ECS infrastructure IAM role that is used to manage your AWS infrastructure. We recommend using the Amazon ECS-managed ``AmazonECSInfrastructureRolePolicyForVolumes`` IAM policy with this role. For more information, see [Amazon ECS infrastructure IAM role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/infrastructure_IAM_role.html) in the *Amazon ECS Developer Guide*. + """ + encrypted: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the volume should be encrypted. If no value is specified, encryption is turned on by default. This parameter maps 1:1 with the ``Encrypted`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. + """ + filesystem_type: NotRequired[pulumi.Input[str]] + """ + The Linux filesystem type for the volume. For volumes created from a snapshot, you must specify the same filesystem type that the volume was using when the snapshot was created. If there is a filesystem type mismatch, the task will fail to start. + The available filesystem types are + ``ext3``, ``ext4``, and ``xfs``. If no value is specified, the ``xfs`` filesystem type is used by default. + """ + iops: NotRequired[pulumi.Input[int]] + """ + The number of I/O operations per second (IOPS). For ``gp3``, ``io1``, and ``io2`` volumes, this represents the number of IOPS that are provisioned for the volume. For ``gp2`` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. + The following are the supported values for each volume type. + + ``gp3``: 3,000 - 16,000 IOPS + + ``io1``: 100 - 64,000 IOPS + + ``io2``: 100 - 256,000 IOPS + + This parameter is required for ``io1`` and ``io2`` volume types. The default for ``gp3`` volumes is ``3,000 IOPS``. This parameter is not supported for ``st1``, ``sc1``, or ``standard`` volume types. + This parameter maps 1:1 with the ``Iops`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) identifier of the AWS Key Management Service key to use for Amazon EBS encryption. When encryption is turned on and no AWS Key Management Service key is specified, the default AWS managed key for Amazon EBS volumes is used. This parameter maps 1:1 with the ``KmsKeyId`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. + AWS authenticates the AWS Key Management Service key asynchronously. Therefore, if you specify an ID, alias, or ARN that is invalid, the action can appear to complete, but eventually fails. + """ + size_in_gi_b: NotRequired[pulumi.Input[int]] + """ + The size of the volume in GiB. You must specify either a volume size or a snapshot ID. If you specify a snapshot ID, the snapshot size is used for the volume size by default. You can optionally specify a volume size greater than or equal to the snapshot size. This parameter maps 1:1 with the ``Size`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. + The following are the supported volume size values for each volume type. + + ``gp2`` and ``gp3``: 1-16,384 + + ``io1`` and ``io2``: 4-16,384 + + ``st1`` and ``sc1``: 125-16,384 + + ``standard``: 1-1,024 + """ + snapshot_id: NotRequired[pulumi.Input[str]] + """ + The snapshot that Amazon ECS uses to create the volume. You must specify either a snapshot ID or a volume size. This parameter maps 1:1 with the ``SnapshotId`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. + """ + tag_specifications: NotRequired[pulumi.Input[Sequence[pulumi.Input['ServiceEbsTagSpecificationArgsDict']]]] + """ + The tags to apply to the volume. Amazon ECS applies service-managed tags by default. This parameter maps 1:1 with the ``TagSpecifications.N`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. + """ + throughput: NotRequired[pulumi.Input[int]] + """ + The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with the ``Throughput`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. + This parameter is only supported for the ``gp3`` volume type. + """ + volume_type: NotRequired[pulumi.Input[str]] + """ + The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the [CreateVolume API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html) in the *Amazon EC2 API Reference*. For more information, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) in the *Amazon EC2 User Guide*. + The following are the supported volume types. + + General Purpose SSD: ``gp2``|``gp3`` + + Provisioned IOPS SSD: ``io1``|``io2`` + + Throughput Optimized HDD: ``st1`` + + Cold HDD: ``sc1`` + + Magnetic: ``standard`` + The magnetic volume type is not supported on Fargate. + """ +elif False: + ServiceManagedEbsVolumeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceManagedEbsVolumeConfigurationArgs: def __init__(__self__, *, @@ -1793,6 +2509,19 @@ def volume_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_type", value) +if not MYPY: + class ServiceNetworkConfigurationArgsDict(TypedDict): + """ + The network configuration for a task or service. + """ + awsvpc_configuration: NotRequired[pulumi.Input['ServiceAwsVpcConfigurationArgsDict']] + """ + The VPC subnets and security groups that are associated with a task. + All specified subnets and security groups must be from the same VPC. + """ +elif False: + ServiceNetworkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceNetworkConfigurationArgs: def __init__(__self__, *, @@ -1819,6 +2548,23 @@ def awsvpc_configuration(self, value: Optional[pulumi.Input['ServiceAwsVpcConfig pulumi.set(self, "awsvpc_configuration", value) +if not MYPY: + class ServicePlacementConstraintArgsDict(TypedDict): + """ + An object representing a constraint on task placement. For more information, see [Task placement constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) in the *Amazon Elastic Container Service Developer Guide*. + If you're using the Fargate launch type, task placement constraints aren't supported. + """ + type: pulumi.Input['ServicePlacementConstraintType'] + """ + The type of constraint. Use ``distinctInstance`` to ensure that each task in a particular group is running on a different container instance. Use ``memberOf`` to restrict the selection to a group of valid candidates. + """ + expression: NotRequired[pulumi.Input[str]] + """ + A cluster query language expression to apply to the constraint. The expression can have a maximum length of 2000 characters. You can't specify an expression if the constraint type is ``distinctInstance``. For more information, see [Cluster query language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) in the *Amazon Elastic Container Service Developer Guide*. + """ +elif False: + ServicePlacementConstraintArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServicePlacementConstraintArgs: def __init__(__self__, *, @@ -1859,6 +2605,22 @@ def expression(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "expression", value) +if not MYPY: + class ServicePlacementStrategyArgsDict(TypedDict): + """ + The task placement strategy for a task or service. For more information, see [Task placement strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + type: pulumi.Input['ServicePlacementStrategyType'] + """ + The type of placement strategy. The ``random`` placement strategy randomly places tasks on available candidates. The ``spread`` placement strategy spreads placement across available candidates evenly based on the ``field`` parameter. The ``binpack`` strategy places tasks on available candidates that have the least available amount of the resource that's specified with the ``field`` parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory but still enough to run the task. + """ + field: NotRequired[pulumi.Input[str]] + """ + The field to apply the placement strategy against. For the ``spread`` placement strategy, valid values are ``instanceId`` (or ``host``, which has the same effect), or any platform or custom attribute that's applied to a container instance, such as ``attribute:ecs.availability-zone``. For the ``binpack`` placement strategy, valid values are ``cpu`` and ``memory``. For the ``random`` placement strategy, this field is not used. + """ +elif False: + ServicePlacementStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServicePlacementStrategyArgs: def __init__(__self__, *, @@ -1898,24 +2660,50 @@ def field(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "field", value) -@pulumi.input_type -class ServiceRegistryArgs: - def __init__(__self__, *, - container_name: Optional[pulumi.Input[str]] = None, - container_port: Optional[pulumi.Input[int]] = None, - port: Optional[pulumi.Input[int]] = None, - registry_arn: Optional[pulumi.Input[str]] = None): +if not MYPY: + class ServiceRegistryArgsDict(TypedDict): """ The details for the service registry. Each service may be associated with one service registry. Multiple service registries for each service are not supported. When you add, update, or remove the service registries configuration, Amazon ECS starts a new deployment. New tasks are registered and deregistered to the updated service registry configuration. - :param pulumi.Input[str] container_name: The container name value to be used for your service discovery service. It's already specified in the task definition. If the task definition that your service task specifies uses the ``bridge`` or ``host`` network mode, you must specify a ``containerName`` and ``containerPort`` combination from the task definition. If the task definition that your service task specifies uses the ``awsvpc`` network mode and a type SRV DNS record is used, you must specify either a ``containerName`` and ``containerPort`` combination or a ``port`` value. However, you can't specify both. - :param pulumi.Input[int] container_port: The port value to be used for your service discovery service. It's already specified in the task definition. If the task definition your service task specifies uses the ``bridge`` or ``host`` network mode, you must specify a ``containerName`` and ``containerPort`` combination from the task definition. If the task definition your service task specifies uses the ``awsvpc`` network mode and a type SRV DNS record is used, you must specify either a ``containerName`` and ``containerPort`` combination or a ``port`` value. However, you can't specify both. - :param pulumi.Input[int] port: The port value used if your service discovery service specified an SRV record. This field might be used if both the ``awsvpc`` network mode and SRV records are used. - :param pulumi.Input[str] registry_arn: The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is CMAP. For more information, see [CreateService](https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html). """ - if container_name is not None: - pulumi.set(__self__, "container_name", container_name) + container_name: NotRequired[pulumi.Input[str]] + """ + The container name value to be used for your service discovery service. It's already specified in the task definition. If the task definition that your service task specifies uses the ``bridge`` or ``host`` network mode, you must specify a ``containerName`` and ``containerPort`` combination from the task definition. If the task definition that your service task specifies uses the ``awsvpc`` network mode and a type SRV DNS record is used, you must specify either a ``containerName`` and ``containerPort`` combination or a ``port`` value. However, you can't specify both. + """ + container_port: NotRequired[pulumi.Input[int]] + """ + The port value to be used for your service discovery service. It's already specified in the task definition. If the task definition your service task specifies uses the ``bridge`` or ``host`` network mode, you must specify a ``containerName`` and ``containerPort`` combination from the task definition. If the task definition your service task specifies uses the ``awsvpc`` network mode and a type SRV DNS record is used, you must specify either a ``containerName`` and ``containerPort`` combination or a ``port`` value. However, you can't specify both. + """ + port: NotRequired[pulumi.Input[int]] + """ + The port value used if your service discovery service specified an SRV record. This field might be used if both the ``awsvpc`` network mode and SRV records are used. + """ + registry_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is CMAP. For more information, see [CreateService](https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html). + """ +elif False: + ServiceRegistryArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ServiceRegistryArgs: + def __init__(__self__, *, + container_name: Optional[pulumi.Input[str]] = None, + container_port: Optional[pulumi.Input[int]] = None, + port: Optional[pulumi.Input[int]] = None, + registry_arn: Optional[pulumi.Input[str]] = None): + """ + The details for the service registry. + Each service may be associated with one service registry. Multiple service registries for each service are not supported. + When you add, update, or remove the service registries configuration, Amazon ECS starts a new deployment. New tasks are registered and deregistered to the updated service registry configuration. + :param pulumi.Input[str] container_name: The container name value to be used for your service discovery service. It's already specified in the task definition. If the task definition that your service task specifies uses the ``bridge`` or ``host`` network mode, you must specify a ``containerName`` and ``containerPort`` combination from the task definition. If the task definition that your service task specifies uses the ``awsvpc`` network mode and a type SRV DNS record is used, you must specify either a ``containerName`` and ``containerPort`` combination or a ``port`` value. However, you can't specify both. + :param pulumi.Input[int] container_port: The port value to be used for your service discovery service. It's already specified in the task definition. If the task definition your service task specifies uses the ``bridge`` or ``host`` network mode, you must specify a ``containerName`` and ``containerPort`` combination from the task definition. If the task definition your service task specifies uses the ``awsvpc`` network mode and a type SRV DNS record is used, you must specify either a ``containerName`` and ``containerPort`` combination or a ``port`` value. However, you can't specify both. + :param pulumi.Input[int] port: The port value used if your service discovery service specified an SRV record. This field might be used if both the ``awsvpc`` network mode and SRV records are used. + :param pulumi.Input[str] registry_arn: The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is CMAP. For more information, see [CreateService](https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html). + """ + if container_name is not None: + pulumi.set(__self__, "container_name", container_name) if container_port is not None: pulumi.set(__self__, "container_port", container_port) if port is not None: @@ -1972,6 +2760,28 @@ def registry_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "registry_arn", value) +if not MYPY: + class ServiceSecretArgsDict(TypedDict): + """ + An object representing the secret to expose to your container. Secrets can be exposed to a container in the following ways: + + To inject sensitive data into your containers as environment variables, use the ``secrets`` container definition parameter. + + To reference sensitive information in the log configuration of a container, use the ``secretOptions`` container definition parameter. + + For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + name: pulumi.Input[str] + """ + The name of the secret. + """ + value_from: pulumi.Input[str] + """ + The secret to expose to the container. The supported values are either the full ARN of the ASMlong secret or the full ARN of the parameter in the SSM Parameter Store. + For information about the require IAMlong permissions, see [Required IAM permissions for Amazon ECS secrets](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam) (for Secrets Manager) or [Required IAM permissions for Amazon ECS secrets](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html) (for Systems Manager Parameter store) in the *Amazon Elastic Container Service Developer Guide*. + If the SSM Parameter Store parameter exists in the same Region as the task you're launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified. + """ +elif False: + ServiceSecretArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceSecretArgs: def __init__(__self__, *, @@ -2018,6 +2828,30 @@ def value_from(self, value: pulumi.Input[str]): pulumi.set(self, "value_from", value) +if not MYPY: + class ServiceTagArgsDict(TypedDict): + """ + The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define them. + The following basic restrictions apply to tags: + + Maximum number of tags per resource - 50 + + For each resource, each tag key must be unique, and each tag key can have only one value. + + Maximum key length - 128 Unicode characters in UTF-8 + + Maximum value length - 256 Unicode characters in UTF-8 + + If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. + + Tag keys and values are case-sensitive. + + Do not use ``aws:``, ``AWS:``, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit. + """ + key: NotRequired[pulumi.Input[str]] + """ + One part of a key-value pair that make up a tag. A ``key`` is a general label that acts like a category for more specific tag values. + """ + value: NotRequired[pulumi.Input[str]] + """ + The optional part of a key-value pair that make up a tag. A ``value`` acts as a descriptor within a tag category (key). + """ +elif False: + ServiceTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceTagArgs: def __init__(__self__, *, @@ -2066,6 +2900,25 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ServiceTimeoutConfigurationArgsDict(TypedDict): + """ + An object that represents the timeout configurations for Service Connect. + If ``idleTimeout`` is set to a time that is less than ``perRequestTimeout``, the connection will close when the ``idleTimeout`` is reached and not the ``perRequestTimeout``. + """ + idle_timeout_seconds: NotRequired[pulumi.Input[int]] + """ + The amount of time in seconds a connection will stay active while idle. A value of ``0`` can be set to disable ``idleTimeout``. + The ``idleTimeout`` default for ``HTTP``/``HTTP2``/``GRPC`` is 5 minutes. + The ``idleTimeout`` default for ``TCP`` is 1 hour. + """ + per_request_timeout_seconds: NotRequired[pulumi.Input[int]] + """ + The amount of time waiting for the upstream to respond with a complete response per request. A value of ``0`` can be set to disable ``perRequestTimeout``. ``perRequestTimeout`` can only be set if Service Connect ``appProtocol`` isn't ``TCP``. Only ``idleTimeout`` is allowed for ``TCP`` ``appProtocol``. + """ +elif False: + ServiceTimeoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceTimeoutConfigurationArgs: def __init__(__self__, *, @@ -2111,6 +2964,22 @@ def per_request_timeout_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "per_request_timeout_seconds", value) +if not MYPY: + class ServiceVolumeConfigurationArgsDict(TypedDict): + """ + The configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume. + """ + name: pulumi.Input[str] + """ + The name of the volume. This value must match the volume name from the ``Volume`` object in the task definition. + """ + managed_ebs_volume: NotRequired[pulumi.Input['ServiceManagedEbsVolumeConfigurationArgsDict']] + """ + The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task in the service. The Amazon EBS volumes are visible in your account in the Amazon EC2 console once they are created. + """ +elif False: + ServiceVolumeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceVolumeConfigurationArgs: def __init__(__self__, *, @@ -2150,6 +3019,22 @@ def managed_ebs_volume(self, value: Optional[pulumi.Input['ServiceManagedEbsVolu pulumi.set(self, "managed_ebs_volume", value) +if not MYPY: + class TaskDefinitionAuthorizationConfigArgsDict(TypedDict): + """ + The authorization configuration details for the Amazon EFS file system. + """ + access_point_id: NotRequired[pulumi.Input[str]] + """ + The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the ``EFSVolumeConfiguration`` must either be omitted or set to ``/`` which will enforce the path set on the EFS access point. If an access point is used, transit encryption must be on in the ``EFSVolumeConfiguration``. For more information, see [Working with Amazon EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) in the *Amazon Elastic File System User Guide*. + """ + iam: NotRequired[pulumi.Input['TaskDefinitionAuthorizationConfigIam']] + """ + Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon EFS file system. If it is turned on, transit encryption must be turned on in the ``EFSVolumeConfiguration``. If this parameter is omitted, the default value of ``DISABLED`` is used. For more information, see [Using Amazon EFS access points](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html#efs-volume-accesspoints) in the *Amazon Elastic Container Service Developer Guide*. + """ +elif False: + TaskDefinitionAuthorizationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionAuthorizationConfigArgs: def __init__(__self__, *, @@ -2190,6 +3075,265 @@ def iam(self, value: Optional[pulumi.Input['TaskDefinitionAuthorizationConfigIam pulumi.set(self, "iam", value) +if not MYPY: + class TaskDefinitionContainerDefinitionArgsDict(TypedDict): + """ + The ``ContainerDefinition`` property specifies a container definition. Container definitions are used in task definitions to describe the different containers that are launched as part of a task. + """ + image: pulumi.Input[str] + """ + The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either ``repository-url/image:tag`` or ``repository-url/image@digest``. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to ``Image`` in the docker container create command and the ``IMAGE`` parameter of docker run. + + When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image aren't propagated to already running tasks. + + Images in Amazon ECR repositories can be specified by either using the full ``registry/repository:tag`` or ``registry/repository@digest``. For example, ``012345678910.dkr.ecr..amazonaws.com/:latest`` or ``012345678910.dkr.ecr..amazonaws.com/@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE``. + + Images in official repositories on Docker Hub use a single name (for example, ``ubuntu`` or ``mongo``). + + Images in other repositories on Docker Hub are qualified with an organization name (for example, ``amazon/amazon-ecs-agent``). + + Images in other online repositories are qualified further by a domain name (for example, ``quay.io/assemblyline/ubuntu``). + """ + name: pulumi.Input[str] + """ + The name of a container. If you're linking multiple containers together in a task definition, the ``name`` of one container can be entered in the ``links`` of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to ``name`` in tthe docker container create command and the ``--name`` option to docker run. + """ + command: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The command that's passed to the container. This parameter maps to ``Cmd`` in the docker container create command and the ``COMMAND`` parameter to docker run. If there are multiple arguments, each argument is a separated string in the array. + """ + cpu: NotRequired[pulumi.Input[int]] + """ + The number of ``cpu`` units reserved for the container. This parameter maps to ``CpuShares`` in the docker container create commandand the ``--cpu-shares`` option to docker run. + This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level ``cpu`` value. + You can determine the number of CPU units that are available per EC2 instance type by multiplying the vCPUs listed for that instance type on the [Amazon EC2 Instances](https://docs.aws.amazon.com/ec2/instance-types/) detail page by 1,024. + Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that's the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task is guaranteed a minimum of 512 CPU units when needed. Moreover, each container could float to higher CPU usage if the other container was not using it. If both tasks were 100% active all of the time, they would be limited to 512 CPU units. + On Linux container instances, the Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. The minimum valid CPU share value that the Linux kernel allows is 2, and the maximum valid CPU share value that the Linux kernel allows is 262144. However, the CPU parameter isn't required, and you can use CPU values below 2 or above 262144 in your container definitions. For CPU values below 2 (including null) or above 262144, the behavior varies based on your Amazon ECS container agent version: + + *Agent versions less than or equal to 1.1.0:* Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to two CPU shares. + + *Agent versions greater than or equal to 1.2.0:* Null, zero, and CPU values of 1 are passed to Docker as 2. + + *Agent versions greater than or equal to 1.84.0:* CPU values greater than 256 vCPU are passed to Docker as 256, which is equivalent to 262144 CPU shares. + + On Windows container instances, the CPU limit is enforced as an absolute limit, or a quota. Windows containers only have access to the specified amount of CPU that's described in the task definition. A null or zero CPU value is passed to Docker as ``0``, which Windows interprets as 1% of one CPU. + """ + credential_specs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of ARNs in SSM or Amazon S3 to a credential spec (``CredSpec``) file that configures the container for Active Directory authentication. We recommend that you use this parameter instead of the ``dockerSecurityOptions``. The maximum number of ARNs is 1. + There are two formats for each ARN. + + credentialspecdomainless:MyARN You use credentialspecdomainless:MyARN to provide a CredSpec with an additional section for a secret in . You provide the login credentials to the domain in the secret. Each task that runs on any container instance can join different domains. You can use this format without joining the container instance to a domain. + credentialspec:MyARN You use credentialspec:MyARN to provide a CredSpec for a single domain. You must join the container instance to the domain before you start any tasks that use this task definition. + In both formats, replace ``MyARN`` with the ARN in SSM or Amazon S3. + If you provide a ``credentialspecdomainless:MyARN``, the ``credspec`` must provide a ARN in ASMlong for a secret containing the username, password, and the domain to connect to. For better security, the instance isn't joined to the domain for domainless authentication. Other applications on the instance can't use the domainless credentials. You can use this parameter to run tasks on the same instance, even it the tasks need to join different domains. For more information, see [Using gMSAs for Windows Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html) and [Using gMSAs for Linux Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html). + """ + depends_on: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionContainerDependencyArgsDict']]]] + """ + The dependencies defined for container startup and shutdown. A container can contain multiple dependencies. When a dependency is defined for container startup, for container shutdown it is reversed. + For tasks using the EC2 launch type, the container instances require at least version 1.26.0 of the container agent to turn on container dependencies. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see [Updating the Amazon ECS Container Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) in the *Amazon Elastic Container Service Developer Guide*. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ``ecs-init`` package. If your container instances are launched from version ``20190301`` or later, then they contain the required versions of the container agent and ``ecs-init``. For more information, see [Amazon ECS-optimized Linux AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) in the *Amazon Elastic Container Service Developer Guide*. + For tasks using the Fargate launch type, the task or service requires the following platforms: + + Linux platform version ``1.3.0`` or later. + + Windows platform version ``1.0.0`` or later. + + If the task definition is used in a blue/green deployment that uses [AWS::CodeDeploy::DeploymentGroup BlueGreenDeploymentConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-bluegreendeploymentconfiguration.html), the ``dependsOn`` parameter is not supported. For more information see [Issue #680](https://docs.aws.amazon.com/https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/680) on the on the GitHub website. + """ + disable_networking: NotRequired[pulumi.Input[bool]] + """ + When this parameter is true, networking is off within the container. This parameter maps to ``NetworkDisabled`` in the docker container create command. + This parameter is not supported for Windows containers. + """ + dns_search_domains: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of DNS search domains that are presented to the container. This parameter maps to ``DnsSearch`` in the docker container create command and the ``--dns-search`` option to docker run. + This parameter is not supported for Windows containers. + """ + dns_servers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of DNS servers that are presented to the container. This parameter maps to ``Dns`` in the docker container create command and the ``--dns`` option to docker run. + This parameter is not supported for Windows containers. + """ + docker_labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A key/value map of labels to add to the container. This parameter maps to ``Labels`` in the docker container create command and the ``--label`` option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'`` + """ + docker_security_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of strings to provide custom configuration for multiple security systems. This field isn't valid for containers in tasks using the Fargate launch type. + For Linux tasks on EC2, this parameter can be used to reference custom labels for SELinux and AppArmor multi-level security systems. + For any tasks on EC2, this parameter can be used to reference a credential spec file that configures a container for Active Directory authentication. For more information, see [Using gMSAs for Windows Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html) and [Using gMSAs for Linux Containers](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html) in the *Amazon Elastic Container Service Developer Guide*. + This parameter maps to ``SecurityOpt`` in the docker container create command and the ``--security-opt`` option to docker run. + The Amazon ECS container agent running on a container instance must register with the ``ECS_SELINUX_CAPABLE=true`` or ``ECS_APPARMOR_CAPABLE=true`` environment variables before containers placed on that instance can use these security options. For more information, see [Amazon ECS Container Agent Configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide*. + Valid values: "no-new-privileges" | "apparmor:PROFILE" | "label:value" | "credentialspec:CredentialSpecFilePath" + """ + entry_point: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Early versions of the Amazon ECS container agent don't properly handle ``entryPoint`` parameters. If you have problems using ``entryPoint``, update your container agent or enter your commands and arguments as ``command`` array items instead. + The entry point that's passed to the container. This parameter maps to ``Entrypoint`` in tthe docker container create command and the ``--entrypoint`` option to docker run. + """ + environment: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionKeyValuePairArgsDict']]]] + """ + The environment variables to pass to a container. This parameter maps to ``Env`` in the docker container create command and the ``--env`` option to docker run. + We don't recommend that you use plaintext environment variables for sensitive information, such as credential data. + """ + environment_files: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionEnvironmentFileArgsDict']]]] + """ + A list of files containing the environment variables to pass to a container. This parameter maps to the ``--env-file`` option to docker run. + You can specify up to ten environment files. The file must have a ``.env`` file extension. Each line in an environment file contains an environment variable in ``VARIABLE=VALUE`` format. Lines beginning with ``#`` are treated as comments and are ignored. + If there are environment variables specified using the ``environment`` parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they're processed from the top down. We recommend that you use unique variable names. For more information, see [Specifying Environment Variables](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + essential: NotRequired[pulumi.Input[bool]] + """ + If the ``essential`` parameter of a container is marked as ``true``, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the ``essential`` parameter of a container is marked as ``false``, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. + All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see [Application Architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + extra_hosts: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionHostEntryArgsDict']]]] + """ + A list of hostnames and IP address mappings to append to the ``/etc/hosts`` file on the container. This parameter maps to ``ExtraHosts`` in the docker container create command and the ``--add-host`` option to docker run. + This parameter isn't supported for Windows containers or tasks that use the ``awsvpc`` network mode. + """ + firelens_configuration: NotRequired[pulumi.Input['TaskDefinitionFirelensConfigurationArgsDict']] + """ + The FireLens configuration for the container. This is used to specify and configure a log router for container logs. For more information, see [Custom Log Routing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + health_check: NotRequired[pulumi.Input['TaskDefinitionHealthCheckArgsDict']] + """ + The container health check command and associated configuration parameters for the container. This parameter maps to ``HealthCheck`` in the docker container create command and the ``HEALTHCHECK`` parameter of docker run. + """ + hostname: NotRequired[pulumi.Input[str]] + """ + The hostname to use for your container. This parameter maps to ``Hostname`` in thethe docker container create command and the ``--hostname`` option to docker run. + The ``hostname`` parameter is not supported if you're using the ``awsvpc`` network mode. + """ + interactive: NotRequired[pulumi.Input[bool]] + """ + When this parameter is ``true``, you can deploy containerized applications that require ``stdin`` or a ``tty`` to be allocated. This parameter maps to ``OpenStdin`` in the docker container create command and the ``--interactive`` option to docker run. + """ + links: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The ``links`` parameter allows containers to communicate with each other without the need for port mappings. This parameter is only supported if the network mode of a task definition is ``bridge``. The ``name:internalName`` construct is analogous to ``name:alias`` in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to ``Links`` in the docker container create command and the ``--link`` option to docker run. + This parameter is not supported for Windows containers. + Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings. + """ + linux_parameters: NotRequired[pulumi.Input['TaskDefinitionLinuxParametersArgsDict']] + """ + Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more information see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). + This parameter is not supported for Windows containers. + """ + log_configuration: NotRequired[pulumi.Input['TaskDefinitionLogConfigurationArgsDict']] + """ + The log configuration specification for the container. + This parameter maps to ``LogConfig`` in the docker Create a container command and the ``--log-driver`` option to docker run. By default, containers use the same logging driver that the Docker daemon uses. However, the container may use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the Docker documentation. + Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the [LogConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html) data type). Additional log drivers may be available in future releases of the Amazon ECS container agent. + This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'`` + The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the ``ECS_AVAILABLE_LOGGING_DRIVERS`` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Container Agent Configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Developer Guide*. + """ + memory: NotRequired[pulumi.Input[int]] + """ + The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. The total amount of memory reserved for all containers within a task must be lower than the task ``memory`` value, if one is specified. This parameter maps to ``Memory`` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the ``--memory`` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration). + If using the Fargate launch type, this parameter is optional. + If using the EC2 launch type, you must specify either a task-level memory value or a container-level memory value. If you specify both a container-level ``memory`` and ``memoryReservation`` value, ``memory`` must be greater than ``memoryReservation``. If you specify ``memoryReservation``, then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of ``memory`` is used. + The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container, so you should not specify fewer than 6 MiB of memory for your containers. + The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers. + """ + memory_reservation: NotRequired[pulumi.Input[int]] + """ + The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the ``memory`` parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to ``MemoryReservation`` in the docker container create command and the ``--memory-reservation`` option to docker run. + If a task-level memory value is not specified, you must specify a non-zero integer for one or both of ``memory`` or ``memoryReservation`` in a container definition. If you specify both, ``memory`` must be greater than ``memoryReservation``. If you specify ``memoryReservation``, then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of ``memory`` is used. + For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a ``memoryReservation`` of 128 MiB, and a ``memory`` hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed. + The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container. So, don't specify less than 6 MiB of memory for your containers. + The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory for a container. So, don't specify less than 4 MiB of memory for your containers. + """ + mount_points: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionMountPointArgsDict']]]] + """ + The mount points for data volumes in your container. + This parameter maps to ``Volumes`` in the docker container create command and the ``--volume`` option to docker run. + Windows containers can mount whole directories on the same drive as ``$env:ProgramData``. Windows containers can't mount directories on a different drive, and mount point can't be across drives. + """ + port_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionPortMappingArgsDict']]]] + """ + The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic. + For task definitions that use the ``awsvpc`` network mode, you should only specify the ``containerPort``. The ``hostPort`` can be left blank or it must be the same value as the ``containerPort``. + Port mappings on Windows use the ``NetNAT`` gateway address rather than ``localhost``. There is no loopback for port mappings on Windows, so you cannot access a container's mapped port from the host itself. + This parameter maps to ``PortBindings`` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the ``--publish`` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/). If the network mode of a task definition is set to ``none``, then you can't specify port mappings. If the network mode of a task definition is set to ``host``, then host ports must either be undefined or they must match the container port in the port mapping. + After a task reaches the ``RUNNING`` status, manual and automatic host and container port assignments are visible in the *Network Bindings* section of a container description for a selected task in the Amazon ECS console. The assignments are also visible in the ``networkBindings`` section [DescribeTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) responses. + """ + privileged: NotRequired[pulumi.Input[bool]] + """ + When this parameter is true, the container is given elevated privileges on the host container instance (similar to the ``root`` user). This parameter maps to ``Privileged`` in the docker container create command and the ``--privileged`` option to docker run + This parameter is not supported for Windows containers or tasks run on FARGATElong. + """ + pseudo_terminal: NotRequired[pulumi.Input[bool]] + """ + When this parameter is ``true``, a TTY is allocated. This parameter maps to ``Tty`` in tthe docker container create command and the ``--tty`` option to docker run. + """ + readonly_root_filesystem: NotRequired[pulumi.Input[bool]] + """ + When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ``ReadonlyRootfs`` in the docker container create command and the ``--read-only`` option to docker run. + This parameter is not supported for Windows containers. + """ + repository_credentials: NotRequired[pulumi.Input['TaskDefinitionRepositoryCredentialsArgsDict']] + """ + The private repository authentication credentials to use. + """ + resource_requirements: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionResourceRequirementArgsDict']]]] + """ + The type and amount of a resource to assign to a container. The only supported resource is a GPU. + """ + restart_policy: NotRequired[pulumi.Input['TaskDefinitionRestartPolicyArgsDict']] + """ + The restart policy for a container. When you set up a restart policy, Amazon ECS can restart the container without needing to replace the task. For more information, see [Restart individual containers in Amazon ECS tasks with container restart policies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + secrets: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionSecretArgsDict']]]] + """ + The secrets to pass to the container. For more information, see [Specifying Sensitive Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + start_timeout: NotRequired[pulumi.Input[int]] + """ + Time duration (in seconds) to wait before giving up on resolving dependencies for a container. For example, you specify two containers in a task definition with containerA having a dependency on containerB reaching a ``COMPLETE``, ``SUCCESS``, or ``HEALTHY`` status. If a ``startTimeout`` value is specified for containerB and it doesn't reach the desired status within that time then containerA gives up and not start. This results in the task transitioning to a ``STOPPED`` state. + When the ``ECS_CONTAINER_START_TIMEOUT`` container agent configuration variable is used, it's enforced independently from this start timeout value. + For tasks using the Fargate launch type, the task or service requires the following platforms: + + Linux platform version ``1.3.0`` or later. + + Windows platform version ``1.0.0`` or later. + + For tasks using the EC2 launch type, your container instances require at least version ``1.26.0`` of the container agent to use a container start timeout value. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see [Updating the Amazon ECS Container Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) in the *Amazon Elastic Container Service Developer Guide*. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version ``1.26.0-1`` of the ``ecs-init`` package. If your container instances are launched from version ``20190301`` or later, then they contain the required versions of the container agent and ``ecs-init``. For more information, see [Amazon ECS-optimized Linux AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) in the *Amazon Elastic Container Service Developer Guide*. + The valid values for Fargate are 2-120 seconds. + """ + stop_timeout: NotRequired[pulumi.Input[int]] + """ + Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own. + For tasks using the Fargate launch type, the task or service requires the following platforms: + + Linux platform version ``1.3.0`` or later. + + Windows platform version ``1.0.0`` or later. + + The max stop timeout value is 120 seconds and if the parameter is not specified, the default value of 30 seconds is used. + For tasks that use the EC2 launch type, if the ``stopTimeout`` parameter isn't specified, the value set for the Amazon ECS container agent configuration variable ``ECS_CONTAINER_STOP_TIMEOUT`` is used. If neither the ``stopTimeout`` parameter or the ``ECS_CONTAINER_STOP_TIMEOUT`` agent configuration variable are set, then the default values of 30 seconds for Linux containers and 30 seconds on Windows containers are used. Your container instances require at least version 1.26.0 of the container agent to use a container stop timeout value. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see [Updating the Amazon ECS Container Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) in the *Amazon Elastic Container Service Developer Guide*. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ``ecs-init`` package. If your container instances are launched from version ``20190301`` or later, then they contain the required versions of the container agent and ``ecs-init``. For more information, see [Amazon ECS-optimized Linux AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) in the *Amazon Elastic Container Service Developer Guide*. + The valid values are 2-120 seconds. + """ + system_controls: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionSystemControlArgsDict']]]] + """ + A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in tthe docker container create command and the ``--sysctl`` option to docker run. For example, you can configure ``net.ipv4.tcp_keepalive_time`` setting to maintain longer lived connections. + """ + ulimits: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionUlimitArgsDict']]]] + """ + A list of ``ulimits`` to set in the container. This parameter maps to ``Ulimits`` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the ``--ulimit`` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/). Valid naming values are displayed in the [Ulimit](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Ulimit.html) data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'`` + This parameter is not supported for Windows containers. + """ + user: NotRequired[pulumi.Input[str]] + """ + The user to use inside the container. This parameter maps to ``User`` in the docker container create command and the ``--user`` option to docker run. + When running tasks using the ``host`` network mode, don't run containers using the root user (UID 0). We recommend using a non-root user for better security. + You can specify the ``user`` using the following formats. If specifying a UID or GID, you must specify it as a positive integer. + + ``user`` + + ``user:group`` + + ``uid`` + + ``uid:gid`` + + ``user:gid`` + + ``uid:group`` + + This parameter is not supported for Windows containers. + """ + volumes_from: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionVolumeFromArgsDict']]]] + """ + Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in tthe docker container create command and the ``--volumes-from`` option to docker run. + """ + working_directory: NotRequired[pulumi.Input[str]] + """ + The working directory to run commands inside the container in. This parameter maps to ``WorkingDir`` in the docker container create command and the ``--workdir`` option to docker run. + """ +elif False: + TaskDefinitionContainerDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionContainerDefinitionArgs: def __init__(__self__, *, @@ -3026,6 +4170,28 @@ def working_directory(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "working_directory", value) +if not MYPY: + class TaskDefinitionContainerDependencyArgsDict(TypedDict): + """ + The ``ContainerDependency`` property specifies the dependencies defined for container startup and shutdown. A container can contain multiple dependencies. When a dependency is defined for container startup, for container shutdown it is reversed. + Your Amazon ECS container instances require at least version 1.26.0 of the container agent to enable container dependencies. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see [Updating the Amazon ECS Container Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) in the *Amazon Elastic Container Service Developer Guide*. If you are using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ``ecs-init`` package. If your container instances are launched from version ``20190301`` or later, then they contain the required versions of the container agent and ``ecs-init``. For more information, see [Amazon ECS-optimized Linux AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) in the *Amazon Elastic Container Service Developer Guide*. + For tasks using the Fargate launch type, this parameter requires that the task or service uses platform version 1.3.0 or later. + """ + condition: NotRequired[pulumi.Input[str]] + """ + The dependency condition of the container. The following are the available conditions and their behavior: + + ``START`` - This condition emulates the behavior of links and volumes today. It validates that a dependent container is started before permitting other containers to start. + + ``COMPLETE`` - This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. This can be useful for nonessential containers that run a script and then exit. This condition can't be set on an essential container. + + ``SUCCESS`` - This condition is the same as ``COMPLETE``, but it also requires that the container exits with a ``zero`` status. This condition can't be set on an essential container. + + ``HEALTHY`` - This condition validates that the dependent container passes its Docker health check before permitting other containers to start. This requires that the dependent container has health checks configured. This condition is confirmed only at task startup. + """ + container_name: NotRequired[pulumi.Input[str]] + """ + The name of a container. + """ +elif False: + TaskDefinitionContainerDependencyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionContainerDependencyArgs: def __init__(__self__, *, @@ -3076,6 +4242,26 @@ def container_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "container_name", value) +if not MYPY: + class TaskDefinitionDeviceArgsDict(TypedDict): + """ + The ``Device`` property specifies an object representing a container instance host device. + """ + container_path: NotRequired[pulumi.Input[str]] + """ + The path inside the container at which to expose the host device. + """ + host_path: NotRequired[pulumi.Input[str]] + """ + The path for the device on the host container instance. + """ + permissions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The explicit permissions to provide to the container for the device. By default, the container has permissions for ``read``, ``write``, and ``mknod`` for the device. + """ +elif False: + TaskDefinitionDeviceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionDeviceArgs: def __init__(__self__, *, @@ -3132,6 +4318,35 @@ def permissions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "permissions", value) +if not MYPY: + class TaskDefinitionDockerVolumeConfigurationArgsDict(TypedDict): + """ + The ``DockerVolumeConfiguration`` property specifies a Docker volume configuration and is used when you use Docker volumes. Docker volumes are only supported when you are using the EC2 launch type. Windows containers only support the use of the ``local`` driver. To use bind mounts, specify a ``host`` instead. + """ + autoprovision: NotRequired[pulumi.Input[bool]] + """ + If this value is ``true``, the Docker volume is created if it doesn't already exist. + This field is only used if the ``scope`` is ``shared``. + """ + driver: NotRequired[pulumi.Input[str]] + """ + The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use ``docker plugin ls`` to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name. This parameter maps to ``Driver`` in the docker container create command and the ``xxdriver`` option to docker volume create. + """ + driver_opts: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A map of Docker driver-specific options passed through. This parameter maps to ``DriverOpts`` in the docker create-volume command and the ``xxopt`` option to docker volume create. + """ + labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Custom metadata to add to your Docker volume. This parameter maps to ``Labels`` in the docker container create command and the ``xxlabel`` option to docker volume create. + """ + scope: NotRequired[pulumi.Input[str]] + """ + The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a ``task`` are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as ``shared`` persist after the task stops. + """ +elif False: + TaskDefinitionDockerVolumeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionDockerVolumeConfigurationArgs: def __init__(__self__, *, @@ -3222,6 +4437,35 @@ def scope(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "scope", value) +if not MYPY: + class TaskDefinitionEfsVolumeConfigurationArgsDict(TypedDict): + """ + This parameter is specified when you're using an Amazon Elastic File System file system for task storage. For more information, see [Amazon EFS volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + filesystem_id: pulumi.Input[str] + """ + The Amazon EFS file system ID to use. + """ + authorization_config: NotRequired[pulumi.Input['TaskDefinitionAuthorizationConfigArgsDict']] + """ + The authorization configuration details for the Amazon EFS file system. + """ + root_directory: NotRequired[pulumi.Input[str]] + """ + The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying ``/`` will have the same effect as omitting this parameter. + If an EFS access point is specified in the ``authorizationConfig``, the root directory parameter must either be omitted or set to ``/`` which will enforce the path set on the EFS access point. + """ + transit_encryption: NotRequired[pulumi.Input['TaskDefinitionEfsVolumeConfigurationTransitEncryption']] + """ + Determines whether to use encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be turned on if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of ``DISABLED`` is used. For more information, see [Encrypting data in transit](https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) in the *Amazon Elastic File System User Guide*. + """ + transit_encryption_port: NotRequired[pulumi.Input[int]] + """ + The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses. For more information, see [EFS mount helper](https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) in the *Amazon Elastic File System User Guide*. + """ +elif False: + TaskDefinitionEfsVolumeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionEfsVolumeConfigurationArgs: def __init__(__self__, *, @@ -3311,6 +4555,32 @@ def transit_encryption_port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "transit_encryption_port", value) +if not MYPY: + class TaskDefinitionEnvironmentFileArgsDict(TypedDict): + """ + A list of files containing the environment variables to pass to a container. You can specify up to ten environment files. The file must have a ``.env`` file extension. Each line in an environment file should contain an environment variable in ``VARIABLE=VALUE`` format. Lines beginning with ``#`` are treated as comments and are ignored. + If there are environment variables specified using the ``environment`` parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they're processed from the top down. We recommend that you use unique variable names. For more information, see [Use a file to pass environment variables to a container](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/use-environment-file.html) in the *Amazon Elastic Container Service Developer Guide*. + Environment variable files are objects in Amazon S3 and all Amazon S3 security considerations apply. + You must use the following platforms for the Fargate launch type: + + Linux platform version ``1.4.0`` or later. + + Windows platform version ``1.0.0`` or later. + + Consider the following when using the Fargate launch type: + + The file is handled like a native Docker env-file. + + There is no support for shell escape handling. + + The container entry point interperts the ``VARIABLE`` values. + """ + type: NotRequired[pulumi.Input[str]] + """ + The file type to use. Environment files are objects in Amazon S3. The only supported value is ``s3``. + """ + value: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file. + """ +elif False: + TaskDefinitionEnvironmentFileArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionEnvironmentFileArgs: def __init__(__self__, *, @@ -3361,6 +4631,21 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class TaskDefinitionEphemeralStorageArgsDict(TypedDict): + """ + The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on FARGATElong. For more information, see [Using data volumes in tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html) in the *Amazon ECS Developer Guide;*. + For tasks using the Fargate launch type, the task requires the following platforms: + + Linux platform version ``1.4.0`` or later. + + Windows platform version ``1.0.0`` or later. + """ + size_in_gi_b: NotRequired[pulumi.Input[int]] + """ + The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is ``20`` GiB and the maximum supported value is ``200`` GiB. + """ +elif False: + TaskDefinitionEphemeralStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionEphemeralStorageArgs: def __init__(__self__, *, @@ -3388,6 +4673,23 @@ def size_in_gi_b(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "size_in_gi_b", value) +if not MYPY: + class TaskDefinitionFSxAuthorizationConfigArgsDict(TypedDict): + """ + The authorization configuration details for Amazon FSx for Windows File Server file system. See [FSxWindowsFileServerVolumeConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FSxWindowsFileServerVolumeConfiguration.html) in the *Amazon ECS API Reference*. + For more information and the input format, see [Amazon FSx for Windows File Server Volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + credentials_parameter: pulumi.Input[str] + """ + The authorization credential option to use. The authorization credential options can be provided using either the Amazon Resource Name (ARN) of an ASMlong secret or SSM Parameter Store parameter. The ARN refers to the stored credentials. + """ + domain: pulumi.Input[str] + """ + A fully qualified domain name hosted by an [](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html) Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2. + """ +elif False: + TaskDefinitionFSxAuthorizationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionFSxAuthorizationConfigArgs: def __init__(__self__, *, @@ -3420,12 +4722,33 @@ def domain(self) -> pulumi.Input[str]: """ A fully qualified domain name hosted by an [](https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_microsoft_ad.html) Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2. """ - return pulumi.get(self, "domain") - - @domain.setter - def domain(self, value: pulumi.Input[str]): - pulumi.set(self, "domain", value) - + return pulumi.get(self, "domain") + + @domain.setter + def domain(self, value: pulumi.Input[str]): + pulumi.set(self, "domain", value) + + +if not MYPY: + class TaskDefinitionFSxWindowsFileServerVolumeConfigurationArgsDict(TypedDict): + """ + This parameter is specified when you're using [Amazon FSx for Windows File Server](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html) file system for task storage. + For more information and the input format, see [Amazon FSx for Windows File Server volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + file_system_id: pulumi.Input[str] + """ + The Amazon FSx for Windows File Server file system ID to use. + """ + root_directory: pulumi.Input[str] + """ + The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host. + """ + authorization_config: NotRequired[pulumi.Input['TaskDefinitionFSxAuthorizationConfigArgsDict']] + """ + The authorization configuration details for the Amazon FSx for Windows File Server file system. + """ +elif False: + TaskDefinitionFSxWindowsFileServerVolumeConfigurationArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class TaskDefinitionFSxWindowsFileServerVolumeConfigurationArgs: @@ -3482,6 +4805,26 @@ def authorization_config(self, value: Optional[pulumi.Input['TaskDefinitionFSxAu pulumi.set(self, "authorization_config", value) +if not MYPY: + class TaskDefinitionFirelensConfigurationArgsDict(TypedDict): + """ + The FireLens configuration for the container. This is used to specify and configure a log router for container logs. For more information, see [Custom log routing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + options: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The options to use when configuring the log router. This field is optional and can be used to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event. + If specified, valid option keys are: + + ``enable-ecs-log-metadata``, which can be ``true`` or ``false`` + + ``config-file-type``, which can be ``s3`` or ``file`` + + ``config-file-value``, which is either an S3 ARN or a file path + """ + type: NotRequired[pulumi.Input[str]] + """ + The log router to use. The valid values are ``fluentd`` or ``fluentbit``. + """ +elif False: + TaskDefinitionFirelensConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionFirelensConfigurationArgs: def __init__(__self__, *, @@ -3530,6 +4873,46 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class TaskDefinitionHealthCheckArgsDict(TypedDict): + """ + The ``HealthCheck`` property specifies an object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the ``HEALTHCHECK`` parameter of docker run. + The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image. + If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it. + The following are notes about container health check support: + + Container health checks require version 1.17.0 or greater of the Amazon ECS container agent. For more information, see [Updating the Amazon ECS Container Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html). + + Container health checks are supported for Fargate tasks if you are using platform version 1.1.0 or greater. For more information, see [Platform Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). + + Container health checks are not supported for tasks that are part of a service that is configured to use a Classic Load Balancer. + """ + command: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A string array representing the command that the container runs to determine if it is healthy. The string array must start with ``CMD`` to run the command arguments directly, or ``CMD-SHELL`` to run the command with the container's default shell. + When you use the AWS Management Console JSON panel, the CLIlong, or the APIs, enclose the list of commands in double quotes and brackets. + ``[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]`` + You don't include the double quotes and brackets when you use the AWS Management Console. + ``CMD-SHELL, curl -f http://localhost/ || exit 1`` + An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in tthe docker container create command + """ + interval: NotRequired[pulumi.Input[int]] + """ + The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds. + """ + retries: NotRequired[pulumi.Input[int]] + """ + The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is 3. + """ + start_period: NotRequired[pulumi.Input[int]] + """ + The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You can specify between 0 and 300 seconds. By default, the ``startPeriod`` is off. + If a health check succeeds within the ``startPeriod``, then the container is considered healthy and any subsequent failures count toward the maximum number of retries. + """ + timeout: NotRequired[pulumi.Input[int]] + """ + The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5. + """ +elif False: + TaskDefinitionHealthCheckArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionHealthCheckArgs: def __init__(__self__, *, @@ -3636,6 +5019,22 @@ def timeout(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "timeout", value) +if not MYPY: + class TaskDefinitionHostEntryArgsDict(TypedDict): + """ + The ``HostEntry`` property specifies a hostname and an IP address that are added to the ``/etc/hosts`` file of a container through the ``extraHosts`` parameter of its ``ContainerDefinition`` resource. + """ + hostname: NotRequired[pulumi.Input[str]] + """ + The hostname to use in the ``/etc/hosts`` entry. + """ + ip_address: NotRequired[pulumi.Input[str]] + """ + The IP address to use in the ``/etc/hosts`` entry. + """ +elif False: + TaskDefinitionHostEntryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionHostEntryArgs: def __init__(__self__, *, @@ -3676,6 +5075,19 @@ def ip_address(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ip_address", value) +if not MYPY: + class TaskDefinitionHostVolumePropertiesArgsDict(TypedDict): + """ + The ``HostVolumeProperties`` property specifies details on a container instance bind mount host volume. + """ + source_path: NotRequired[pulumi.Input[str]] + """ + When the ``host`` parameter is used, specify a ``sourcePath`` to declare the path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If the ``host`` parameter contains a ``sourcePath`` file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the ``sourcePath`` value doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported. + If you're using the Fargate launch type, the ``sourcePath`` parameter is not supported. + """ +elif False: + TaskDefinitionHostVolumePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionHostVolumePropertiesArgs: def __init__(__self__, *, @@ -3702,6 +5114,22 @@ def source_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_path", value) +if not MYPY: + class TaskDefinitionInferenceAcceleratorArgsDict(TypedDict): + """ + Details on an Elastic Inference accelerator. For more information, see [Working with Amazon Elastic Inference on Amazon ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + device_name: NotRequired[pulumi.Input[str]] + """ + The Elastic Inference accelerator device name. The ``deviceName`` must also be referenced in a container definition as a [ResourceRequirement](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ResourceRequirement.html). + """ + device_type: NotRequired[pulumi.Input[str]] + """ + The Elastic Inference accelerator type to use. + """ +elif False: + TaskDefinitionInferenceAcceleratorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionInferenceAcceleratorArgs: def __init__(__self__, *, @@ -3742,6 +5170,25 @@ def device_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "device_type", value) +if not MYPY: + class TaskDefinitionKernelCapabilitiesArgsDict(TypedDict): + """ + The Linux capabilities to add or remove from the default Docker configuration for a container defined in the task definition. For more detailed information about these Linux capabilities, see the [capabilities(7)](https://docs.aws.amazon.com/http://man7.org/linux/man-pages/man7/capabilities.7.html) Linux manual page. + """ + add: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to ``CapAdd`` in the docker container create command and the ``--cap-add`` option to docker run. + Tasks launched on FARGATElong only support adding the ``SYS_PTRACE`` kernel capability. + Valid values: ``"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"`` + """ + drop: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to ``CapDrop`` in the docker container create command and the ``--cap-drop`` option to docker run. + Valid values: ``"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"`` + """ +elif False: + TaskDefinitionKernelCapabilitiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionKernelCapabilitiesArgs: def __init__(__self__, *, @@ -3788,6 +5235,22 @@ def drop(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "drop", value) +if not MYPY: + class TaskDefinitionKeyValuePairArgsDict(TypedDict): + """ + A key-value pair object. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the key-value pair. For environment variables, this is the name of the environment variable. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of the key-value pair. For environment variables, this is the value of the environment variable. + """ +elif False: + TaskDefinitionKeyValuePairArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionKeyValuePairArgs: def __init__(__self__, *, @@ -3828,6 +5291,51 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class TaskDefinitionLinuxParametersArgsDict(TypedDict): + """ + The Linux-specific options that are applied to the container, such as Linux [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). + """ + capabilities: NotRequired[pulumi.Input['TaskDefinitionKernelCapabilitiesArgsDict']] + """ + The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker. + For tasks that use the Fargate launch type, ``capabilities`` is supported for all platform versions but the ``add`` parameter is only supported if using platform version 1.4.0 or later. + """ + devices: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionDeviceArgsDict']]]] + """ + Any host devices to expose to the container. This parameter maps to ``Devices`` in tthe docker container create command and the ``--device`` option to docker run. + If you're using tasks that use the Fargate launch type, the ``devices`` parameter isn't supported. + """ + init_process_enabled: NotRequired[pulumi.Input[bool]] + """ + Run an ``init`` process inside the container that forwards signals and reaps processes. This parameter maps to the ``--init`` option to docker run. This parameter requires version 1.25 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'`` + """ + max_swap: NotRequired[pulumi.Input[int]] + """ + The total amount of swap memory (in MiB) a container can use. This parameter will be translated to the ``--memory-swap`` option to docker run where the value would be the sum of the container memory plus the ``maxSwap`` value. + If a ``maxSwap`` value of ``0`` is specified, the container will not use swap. Accepted values are ``0`` or any positive integer. If the ``maxSwap`` parameter is omitted, the container will use the swap configuration for the container instance it is running on. A ``maxSwap`` value must be set for the ``swappiness`` parameter to be used. + If you're using tasks that use the Fargate launch type, the ``maxSwap`` parameter isn't supported. + If you're using tasks on Amazon Linux 2023 the ``swappiness`` parameter isn't supported. + """ + shared_memory_size: NotRequired[pulumi.Input[int]] + """ + The value for the size (in MiB) of the ``/dev/shm`` volume. This parameter maps to the ``--shm-size`` option to docker run. + If you are using tasks that use the Fargate launch type, the ``sharedMemorySize`` parameter is not supported. + """ + swappiness: NotRequired[pulumi.Input[int]] + """ + This allows you to tune a container's memory swappiness behavior. A ``swappiness`` value of ``0`` will cause swapping to not happen unless absolutely necessary. A ``swappiness`` value of ``100`` will cause pages to be swapped very aggressively. Accepted values are whole numbers between ``0`` and ``100``. If the ``swappiness`` parameter is not specified, a default value of ``60`` is used. If a value is not specified for ``maxSwap`` then this parameter is ignored. This parameter maps to the ``--memory-swappiness`` option to docker run. + If you're using tasks that use the Fargate launch type, the ``swappiness`` parameter isn't supported. + If you're using tasks on Amazon Linux 2023 the ``swappiness`` parameter isn't supported. + """ + tmpfs: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionTmpfsArgsDict']]]] + """ + The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter maps to the ``--tmpfs`` option to docker run. + If you're using tasks that use the Fargate launch type, the ``tmpfs`` parameter isn't supported. + """ +elif False: + TaskDefinitionLinuxParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionLinuxParametersArgs: def __init__(__self__, *, @@ -3966,6 +5474,31 @@ def tmpfs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TaskDefiniti pulumi.set(self, "tmpfs", value) +if not MYPY: + class TaskDefinitionLogConfigurationArgsDict(TypedDict): + """ + The ``LogConfiguration`` property specifies log configuration options to send to a custom log driver for the container. + """ + log_driver: pulumi.Input[str] + """ + The log driver to use for the container. + For tasks on FARGATElong, the supported log drivers are ``awslogs``, ``splunk``, and ``awsfirelens``. + For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``, ``syslog``, ``splunk``, and ``awsfirelens``. + For more information about using the ``awslogs`` log driver, see [Send Amazon ECS logs to CloudWatch](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html) in the *Amazon Elastic Container Service Developer Guide*. + For more information about using the ``awsfirelens`` log driver, see [Send Amazon ECS logs to an service or Partner](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html). + If you have a custom driver that isn't listed, you can fork the Amazon ECS container agent project that's [available on GitHub](https://docs.aws.amazon.com/https://github.com/aws/amazon-ecs-agent) and customize it to work with that driver. We encourage you to submit pull requests for changes that you would like to have included. However, we don't currently provide support for running modified copies of this software. + """ + options: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'`` + """ + secret_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionSecretArgsDict']]]] + """ + The secrets to pass to the log configuration. For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the *Amazon Elastic Container Service Developer Guide*. + """ +elif False: + TaskDefinitionLogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionLogConfigurationArgs: def __init__(__self__, *, @@ -4031,6 +5564,26 @@ def secret_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Tas pulumi.set(self, "secret_options", value) +if not MYPY: + class TaskDefinitionMountPointArgsDict(TypedDict): + """ + The details for a volume mount point that's used in a container definition. + """ + container_path: NotRequired[pulumi.Input[str]] + """ + The path on the container to mount the host volume at. + """ + read_only: NotRequired[pulumi.Input[bool]] + """ + If this value is ``true``, the container has read-only access to the volume. If this value is ``false``, then the container can write to the volume. The default value is ``false``. + """ + source_volume: NotRequired[pulumi.Input[str]] + """ + The name of the volume to mount. Must be a volume name referenced in the ``name`` parameter of task definition ``volume``. + """ +elif False: + TaskDefinitionMountPointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionMountPointArgs: def __init__(__self__, *, @@ -4087,6 +5640,23 @@ def source_volume(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_volume", value) +if not MYPY: + class TaskDefinitionPlacementConstraintArgsDict(TypedDict): + """ + The constraint on task placement in the task definition. For more information, see [Task placement constraints](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) in the *Amazon Elastic Container Service Developer Guide*. + Task placement constraints aren't supported for tasks run on FARGATElong. + """ + type: pulumi.Input[str] + """ + The type of constraint. The ``MemberOf`` constraint restricts selection to be from a group of valid candidates. + """ + expression: NotRequired[pulumi.Input[str]] + """ + A cluster query language expression to apply to the constraint. For more information, see [Cluster query language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) in the *Amazon Elastic Container Service Developer Guide*. + """ +elif False: + TaskDefinitionPlacementConstraintArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionPlacementConstraintArgs: def __init__(__self__, *, @@ -4098,34 +5668,101 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of constraint. The ``MemberOf`` constraint restricts selection to be from a group of valid candidates. :param pulumi.Input[str] expression: A cluster query language expression to apply to the constraint. For more information, see [Cluster query language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) in the *Amazon Elastic Container Service Developer Guide*. """ - pulumi.set(__self__, "type", type) - if expression is not None: - pulumi.set(__self__, "expression", expression) - - @property - @pulumi.getter - def type(self) -> pulumi.Input[str]: + pulumi.set(__self__, "type", type) + if expression is not None: + pulumi.set(__self__, "expression", expression) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The type of constraint. The ``MemberOf`` constraint restricts selection to be from a group of valid candidates. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def expression(self) -> Optional[pulumi.Input[str]]: + """ + A cluster query language expression to apply to the constraint. For more information, see [Cluster query language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + return pulumi.get(self, "expression") + + @expression.setter + def expression(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "expression", value) + + +if not MYPY: + class TaskDefinitionPortMappingArgsDict(TypedDict): + """ + The ``PortMapping`` property specifies a port mapping. Port mappings allow containers to access ports on the host container instance to send or receive traffic. Port mappings are specified as part of the container definition. + If you are using containers in a task with the ``awsvpc`` or ``host`` network mode, exposed ports should be specified using ``containerPort``. The ``hostPort`` can be left blank or it must be the same value as the ``containerPort``. + After a task reaches the ``RUNNING`` status, manual and automatic host and container port assignments are visible in the ``networkBindings`` section of [DescribeTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) API responses. + """ + app_protocol: NotRequired[pulumi.Input['TaskDefinitionPortMappingAppProtocol']] + """ + The application protocol that's used for the port mapping. This parameter only applies to Service Connect. We recommend that you set this parameter to be consistent with the protocol that your application uses. If you set this parameter, Amazon ECS adds protocol-specific connection handling to the Service Connect proxy. If you set this parameter, Amazon ECS adds protocol-specific telemetry in the Amazon ECS console and CloudWatch. + If you don't set a value for this parameter, then TCP is used. However, Amazon ECS doesn't add protocol-specific telemetry for TCP. + ``appProtocol`` is immutable in a Service Connect service. Updating this field requires a service deletion and redeployment. + Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see [Service Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + container_port: NotRequired[pulumi.Input[int]] + """ + The port number on the container that's bound to the user-specified or automatically assigned host port. + If you use containers in a task with the ``awsvpc`` or ``host`` network mode, specify the exposed ports using ``containerPort``. + If you use containers in a task with the ``bridge`` network mode and you specify a container port and not a host port, your container automatically receives a host port in the ephemeral port range. For more information, see ``hostPort``. Port mappings that are automatically assigned in this way do not count toward the 100 reserved ports limit of a container instance. + """ + container_port_range: NotRequired[pulumi.Input[str]] + """ + The port number range on the container that's bound to the dynamically mapped host port range. + The following rules apply when you specify a ``containerPortRange``: + + You must use either the ``bridge`` network mode or the ``awsvpc`` network mode. + + This parameter is available for both the EC2 and FARGATElong launch types. + + This parameter is available for both the Linux and Windows operating systems. + + The container instance must have at least version 1.67.0 of the container agent and at least version 1.67.0-1 of the ``ecs-init`` package + + You can specify a maximum of 100 port ranges per container. + + You do not specify a ``hostPortRange``. The value of the ``hostPortRange`` is set as follows: + + For containers in a task with the ``awsvpc`` network mode, the ``hostPortRange`` is set to the same value as the ``containerPortRange``. This is a static mapping strategy. + + For containers in a task with the ``bridge`` network mode, the Amazon ECS agent finds open host ports from the default ephemeral range and passes it to docker to bind them to the container ports. + + + The ``containerPortRange`` valid values are between 1 and 65535. + + A port can only be included in one port mapping per container. + + You cannot specify overlapping port ranges. + + The first port in the range must be less than last port in the range. + + Docker recommends that you turn off the docker-proxy in the Docker daemon config file when you have a large number of ports. + For more information, see [Issue #11185](https://docs.aws.amazon.com/https://github.com/moby/moby/issues/11185) on the Github website. + For information about how to turn off the docker-proxy in the Docker daemon config file, see [Docker daemon](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/bootstrap_container_instance.html#bootstrap_docker_daemon) in the *Amazon ECS Developer Guide*. + + You can call [DescribeTasks](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) to view the ``hostPortRange`` which are the host ports that are bound to the container ports. + """ + host_port: NotRequired[pulumi.Input[int]] + """ + The port number on the container instance to reserve for your container. + If you specify a ``containerPortRange``, leave this field empty and the value of the ``hostPort`` is set as follows: + + For containers in a task with the ``awsvpc`` network mode, the ``hostPort`` is set to the same value as the ``containerPort``. This is a static mapping strategy. + + For containers in a task with the ``bridge`` network mode, the Amazon ECS agent finds open ports on the host and automatically binds them to the container ports. This is a dynamic mapping strategy. + + If you use containers in a task with the ``awsvpc`` or ``host`` network mode, the ``hostPort`` can either be left blank or set to the same value as the ``containerPort``. + If you use containers in a task with the ``bridge`` network mode, you can specify a non-reserved host port for your container port mapping, or you can omit the ``hostPort`` (or set it to ``0``) while specifying a ``containerPort`` and your container automatically receives a port in the ephemeral port range for your container instance operating system and Docker version. + The default ephemeral port range for Docker version 1.6.0 and later is listed on the instance under ``/proc/sys/net/ipv4/ip_local_port_range``. If this kernel parameter is unavailable, the default ephemeral port range from 49153 through 65535 (Linux) or 49152 through 65535 (Windows) is used. Do not attempt to specify a host port in the ephemeral port range as these are reserved for automatic assignment. In general, ports below 32768 are outside of the ephemeral port range. + The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the Amazon ECS container agent ports 51678-51680. Any host port that was previously specified in a running task is also reserved while the task is running. That is, after a task stops, the host port is released. The current reserved ports are displayed in the ``remainingResources`` of [DescribeContainerInstances](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeContainerInstances.html) output. A container instance can have up to 100 reserved ports at a time. This number includes the default reserved ports. Automatically assigned ports aren't included in the 100 reserved ports quota. + """ + name: NotRequired[pulumi.Input[str]] """ - The type of constraint. The ``MemberOf`` constraint restricts selection to be from a group of valid candidates. + The name that's used for the port mapping. This parameter only applies to Service Connect. This parameter is the name that you use in the ``serviceConnectConfiguration`` of a service. The name can include up to 64 characters. The characters can include lowercase letters, numbers, underscores (_), and hyphens (-). The name can't start with a hyphen. + For more information, see [Service Connect](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the *Amazon Elastic Container Service Developer Guide*. """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter - def expression(self) -> Optional[pulumi.Input[str]]: + protocol: NotRequired[pulumi.Input[str]] """ - A cluster query language expression to apply to the constraint. For more information, see [Cluster query language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) in the *Amazon Elastic Container Service Developer Guide*. + The protocol used for the port mapping. Valid values are ``tcp`` and ``udp``. The default is ``tcp``. ``protocol`` is immutable in a Service Connect service. Updating this field requires a service deletion and redeployment. """ - return pulumi.get(self, "expression") - - @expression.setter - def expression(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "expression", value) - +elif False: + TaskDefinitionPortMappingArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class TaskDefinitionPortMappingArgs: @@ -4299,6 +5936,34 @@ def protocol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "protocol", value) +if not MYPY: + class TaskDefinitionProxyConfigurationArgsDict(TypedDict): + """ + The configuration details for the App Mesh proxy. + For tasks that use the EC2 launch type, the container instances require at least version 1.26.0 of the container agent and at least version 1.26.0-1 of the ``ecs-init`` package to use a proxy configuration. If your container instances are launched from the Amazon ECS optimized AMI version ``20190301`` or later, then they contain the required versions of the container agent and ``ecs-init``. For more information, see [Amazon ECS-optimized Linux AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) + """ + container_name: pulumi.Input[str] + """ + The name of the container that will serve as the App Mesh proxy. + """ + proxy_configuration_properties: NotRequired[pulumi.Input[Sequence[pulumi.Input['TaskDefinitionKeyValuePairArgsDict']]]] + """ + The set of network configuration parameters to provide the Container Network Interface (CNI) plugin, specified as key-value pairs. + + ``IgnoredUID`` - (Required) The user ID (UID) of the proxy container as defined by the ``user`` parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If ``IgnoredGID`` is specified, this field can be empty. + + ``IgnoredGID`` - (Required) The group ID (GID) of the proxy container as defined by the ``user`` parameter in a container definition. This is used to ensure the proxy ignores its own traffic. If ``IgnoredUID`` is specified, this field can be empty. + + ``AppPorts`` - (Required) The list of ports that the application uses. Network traffic to these ports is forwarded to the ``ProxyIngressPort`` and ``ProxyEgressPort``. + + ``ProxyIngressPort`` - (Required) Specifies the port that incoming traffic to the ``AppPorts`` is directed to. + + ``ProxyEgressPort`` - (Required) Specifies the port that outgoing traffic from the ``AppPorts`` is directed to. + + ``EgressIgnoredPorts`` - (Required) The egress traffic going to the specified ports is ignored and not redirected to the ``ProxyEgressPort``. It can be an empty list. + + ``EgressIgnoredIPs`` - (Required) The egress traffic going to the specified IP addresses is ignored and not redirected to the ``ProxyEgressPort``. It can be an empty list. + """ + type: NotRequired[pulumi.Input[str]] + """ + The proxy type. The only supported value is ``APPMESH``. + """ +elif False: + TaskDefinitionProxyConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionProxyConfigurationArgs: def __init__(__self__, *, @@ -4369,6 +6034,19 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class TaskDefinitionRepositoryCredentialsArgsDict(TypedDict): + """ + The repository credentials for private registry authentication. + """ + credentials_parameter: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the secret containing the private repository credentials. + When you use the Amazon ECS API, CLI, or AWS SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the AWS Management Console, you must specify the full ARN of the secret. + """ +elif False: + TaskDefinitionRepositoryCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionRepositoryCredentialsArgs: def __init__(__self__, *, @@ -4395,6 +6073,24 @@ def credentials_parameter(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "credentials_parameter", value) +if not MYPY: + class TaskDefinitionResourceRequirementArgsDict(TypedDict): + """ + The type and amount of a resource to assign to a container. The supported resource types are GPUs and Elastic Inference accelerators. For more information, see [Working with GPUs on Amazon ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html) or [Working with Amazon Elastic Inference on Amazon ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) in the *Amazon Elastic Container Service Developer Guide* + """ + type: pulumi.Input[str] + """ + The type of resource to assign to a container. + """ + value: pulumi.Input[str] + """ + The value for the specified resource type. + When the type is ``GPU``, the value is the number of physical ``GPUs`` the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on. + When the type is ``InferenceAccelerator``, the ``value`` matches the ``deviceName`` for an [InferenceAccelerator](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_InferenceAccelerator.html) specified in a task definition. + """ +elif False: + TaskDefinitionResourceRequirementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionResourceRequirementArgs: def __init__(__self__, *, @@ -4437,6 +6133,26 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class TaskDefinitionRestartPolicyArgsDict(TypedDict): + """ + You can enable a restart policy for each container defined in your task definition, to overcome transient failures faster and maintain task availability. When you enable a restart policy for a container, Amazon ECS can restart the container if it exits, without needing to replace the task. For more information, see [Restart individual containers in Amazon ECS tasks with container restart policies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-restart-policy.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether a restart policy is enabled for the container. + """ + ignored_exit_codes: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + """ + A list of exit codes that Amazon ECS will ignore and not attempt a restart on. You can specify a maximum of 50 container exit codes. By default, Amazon ECS does not ignore any exit codes. + """ + restart_attempt_period: NotRequired[pulumi.Input[int]] + """ + A period of time (in seconds) that the container must run for before a restart can be attempted. A container can be restarted only once every ``restartAttemptPeriod`` seconds. If a container isn't able to run for this time period and exits early, it will not be restarted. You can set a minimum ``restartAttemptPeriod`` of 60 seconds and a maximum ``restartAttemptPeriod`` of 1800 seconds. By default, a container must run for 300 seconds before it can be restarted. + """ +elif False: + TaskDefinitionRestartPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionRestartPolicyArgs: def __init__(__self__, *, @@ -4493,6 +6209,24 @@ def restart_attempt_period(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "restart_attempt_period", value) +if not MYPY: + class TaskDefinitionRuntimePlatformArgsDict(TypedDict): + """ + Information about the platform for the Amazon ECS service or task. + For more information about ``RuntimePlatform``, see [RuntimePlatform](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) in the *Amazon Elastic Container Service Developer Guide*. + """ + cpu_architecture: NotRequired[pulumi.Input[str]] + """ + The CPU architecture. + You can run your Linux tasks on an ARM-based platform by setting the value to ``ARM64``. This option is available for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate. + """ + operating_system_family: NotRequired[pulumi.Input[str]] + """ + The operating system. + """ +elif False: + TaskDefinitionRuntimePlatformArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionRuntimePlatformArgs: def __init__(__self__, *, @@ -4536,6 +6270,28 @@ def operating_system_family(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "operating_system_family", value) +if not MYPY: + class TaskDefinitionSecretArgsDict(TypedDict): + """ + An object representing the secret to expose to your container. Secrets can be exposed to a container in the following ways: + + To inject sensitive data into your containers as environment variables, use the ``secrets`` container definition parameter. + + To reference sensitive information in the log configuration of a container, use the ``secretOptions`` container definition parameter. + + For more information, see [Specifying sensitive data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the *Amazon Elastic Container Service Developer Guide*. + """ + name: pulumi.Input[str] + """ + The name of the secret. + """ + value_from: pulumi.Input[str] + """ + The secret to expose to the container. The supported values are either the full ARN of the ASMlong secret or the full ARN of the parameter in the SSM Parameter Store. + For information about the require IAMlong permissions, see [Required IAM permissions for Amazon ECS secrets](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam) (for Secrets Manager) or [Required IAM permissions for Amazon ECS secrets](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html) (for Systems Manager Parameter store) in the *Amazon Elastic Container Service Developer Guide*. + If the SSM Parameter Store parameter exists in the same Region as the task you're launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified. + """ +elif False: + TaskDefinitionSecretArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionSecretArgs: def __init__(__self__, *, @@ -4582,6 +6338,35 @@ def value_from(self, value: pulumi.Input[str]): pulumi.set(self, "value_from", value) +if not MYPY: + class TaskDefinitionSystemControlArgsDict(TypedDict): + """ + A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in tthe docker container create command and the ``--sysctl`` option to docker run. For example, you can configure ``net.ipv4.tcp_keepalive_time`` setting to maintain longer lived connections. + We don't recommend that you specify network-related ``systemControls`` parameters for multiple containers in a single task that also uses either the ``awsvpc`` or ``host`` network mode. Doing this has the following disadvantages: + + For tasks that use the ``awsvpc`` network mode including Fargate, if you set ``systemControls`` for any container, it applies to all containers in the task. If you set different ``systemControls`` for multiple containers in a single task, the container that's started last determines which ``systemControls`` take effect. + + For tasks that use the ``host`` network mode, the network namespace ``systemControls`` aren't supported. + + If you're setting an IPC resource namespace to use for the containers in the task, the following conditions apply to your system controls. For more information, see [IPC mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_ipcmode). + + For tasks that use the ``host`` IPC mode, IPC namespace ``systemControls`` aren't supported. + + For tasks that use the ``task`` IPC mode, IPC namespace ``systemControls`` values apply to all containers within a task. + + This parameter is not supported for Windows containers. + This parameter is only supported for tasks that are hosted on FARGATElong if the tasks are using platform version ``1.4.0`` or later (Linux). This isn't supported for Windows containers on Fargate. + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The namespaced kernel parameter to set a ``value`` for. + """ + value: NotRequired[pulumi.Input[str]] + """ + The namespaced kernel parameter to set a ``value`` for. + Valid IPC namespace values: ``"kernel.msgmax" | "kernel.msgmnb" | "kernel.msgmni" | "kernel.sem" | "kernel.shmall" | "kernel.shmmax" | "kernel.shmmni" | "kernel.shm_rmid_forced"``, and ``Sysctls`` that start with ``"fs.mqueue.*"`` + Valid network namespace values: ``Sysctls`` that start with ``"net.*"`` + All of these values are supported by Fargate. + """ +elif False: + TaskDefinitionSystemControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionSystemControlArgs: def __init__(__self__, *, @@ -4638,6 +6423,27 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class TaskDefinitionTmpfsArgsDict(TypedDict): + """ + The container path, mount options, and size of the tmpfs mount. + """ + size: pulumi.Input[int] + """ + The maximum size (in MiB) of the tmpfs volume. + """ + container_path: NotRequired[pulumi.Input[str]] + """ + The absolute file path where the tmpfs volume is to be mounted. + """ + mount_options: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of tmpfs volume mount options. + Valid values: ``"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"`` + """ +elif False: + TaskDefinitionTmpfsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionTmpfsArgs: def __init__(__self__, *, @@ -4695,6 +6501,28 @@ def mount_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "mount_options", value) +if not MYPY: + class TaskDefinitionUlimitArgsDict(TypedDict): + """ + The ``ulimit`` settings to pass to the container. + Amazon ECS tasks hosted on FARGATElong use the default resource limit values set by the operating system with the exception of the ``nofile`` resource limit parameter which FARGATElong overrides. The ``nofile`` resource limit sets a restriction on the number of open files that a container can use. The default ``nofile`` soft limit is ``65535`` and the default hard limit is ``65535``. + You can specify the ``ulimit`` settings for a container in a task definition. + """ + hard_limit: pulumi.Input[int] + """ + The hard limit for the ``ulimit`` type. + """ + name: pulumi.Input[str] + """ + The ``type`` of the ``ulimit``. + """ + soft_limit: pulumi.Input[int] + """ + The soft limit for the ``ulimit`` type. + """ +elif False: + TaskDefinitionUlimitArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionUlimitArgs: def __init__(__self__, *, @@ -4750,6 +6578,22 @@ def soft_limit(self, value: pulumi.Input[int]): pulumi.set(self, "soft_limit", value) +if not MYPY: + class TaskDefinitionVolumeFromArgsDict(TypedDict): + """ + Details on a data volume from another container in the same task definition. + """ + read_only: NotRequired[pulumi.Input[bool]] + """ + If this value is ``true``, the container has read-only access to the volume. If this value is ``false``, then the container can write to the volume. The default value is ``false``. + """ + source_container: NotRequired[pulumi.Input[str]] + """ + The name of another container within the same task definition to mount volumes from. + """ +elif False: + TaskDefinitionVolumeFromArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionVolumeFromArgs: def __init__(__self__, *, @@ -4790,6 +6634,45 @@ def source_container(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_container", value) +if not MYPY: + class TaskDefinitionVolumeArgsDict(TypedDict): + """ + The data volume configuration for tasks launched using this task definition. Specifying a volume configuration in a task definition is optional. The volume configuration may contain multiple volumes but only one volume configured at launch is supported. Each volume defined in the volume configuration may only specify a ``name`` and one of either ``configuredAtLaunch``, ``dockerVolumeConfiguration``, ``efsVolumeConfiguration``, ``fsxWindowsFileServerVolumeConfiguration``, or ``host``. If an empty volume configuration is specified, by default Amazon ECS uses a host volume. For more information, see [Using data volumes in tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html). + """ + configured_at_launch: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the volume should be configured at launch time. This is used to create Amazon EBS volumes for standalone tasks or tasks created as part of a service. Each task definition revision may only have one volume configured at launch in the volume configuration. + To configure a volume at launch time, use this task definition revision and specify a ``volumeConfigurations`` object when calling the ``CreateService``, ``UpdateService``, ``RunTask`` or ``StartTask`` APIs. + """ + docker_volume_configuration: NotRequired[pulumi.Input['TaskDefinitionDockerVolumeConfigurationArgsDict']] + """ + This parameter is specified when you use Docker volumes. + Windows containers only support the use of the ``local`` driver. To use bind mounts, specify the ``host`` parameter instead. + Docker volumes aren't supported by tasks run on FARGATElong. + """ + efs_volume_configuration: NotRequired[pulumi.Input['TaskDefinitionEfsVolumeConfigurationArgsDict']] + """ + This parameter is specified when you use an Amazon Elastic File System file system for task storage. + """ + f_sx_windows_file_server_volume_configuration: NotRequired[pulumi.Input['TaskDefinitionFSxWindowsFileServerVolumeConfigurationArgsDict']] + """ + This parameter is specified when you use Amazon FSx for Windows File Server file system for task storage. + """ + host: NotRequired[pulumi.Input['TaskDefinitionHostVolumePropertiesArgsDict']] + """ + This parameter is specified when you use bind mount host volumes. The contents of the ``host`` parameter determine whether your bind mount host volume persists on the host container instance and where it's stored. If the ``host`` parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it stop running. + Windows containers can mount whole directories on the same drive as ``$env:ProgramData``. Windows containers can't mount directories on a different drive, and mount point can't be across drives. For example, you can mount ``C:\\my\\path:C:\\my\\path`` and ``D:\\:D:\\``, but not ``D:\\my\\path:C:\\my\\path`` or ``D:\\:C:\\my\\path``. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. + When using a volume configured at launch, the ``name`` is required and must also be specified as the volume name in the ``ServiceVolumeConfiguration`` or ``TaskVolumeConfiguration`` parameter when creating your service or standalone task. + For all other types of volumes, this name is referenced in the ``sourceVolume`` parameter of the ``mountPoints`` object in the container definition. + When a volume is using the ``efsVolumeConfiguration``, the name is required. + """ +elif False: + TaskDefinitionVolumeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionVolumeArgs: def __init__(__self__, *, @@ -4908,6 +6791,26 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class TaskSetAwsVpcConfigurationArgsDict(TypedDict): + """ + The VPC subnets and security groups associated with a task. All specified subnets and security groups must be from the same VPC. + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The subnets associated with the task or service. There is a limit of 16 subnets that can be specified per AwsVpcConfiguration. + """ + assign_public_ip: NotRequired[pulumi.Input['TaskSetAwsVpcConfigurationAssignPublicIp']] + """ + Whether the task's elastic network interface receives a public IP address. The default value is DISABLED. + """ + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. There is a limit of 5 security groups that can be specified per AwsVpcConfiguration. + """ +elif False: + TaskSetAwsVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskSetAwsVpcConfigurationArgs: def __init__(__self__, *, @@ -4963,6 +6866,14 @@ def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "security_groups", value) +if not MYPY: + class TaskSetCapacityProviderStrategyItemArgsDict(TypedDict): + base: NotRequired[pulumi.Input[int]] + capacity_provider: NotRequired[pulumi.Input[str]] + weight: NotRequired[pulumi.Input[int]] +elif False: + TaskSetCapacityProviderStrategyItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskSetCapacityProviderStrategyItemArgs: def __init__(__self__, *, @@ -5004,6 +6915,26 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class TaskSetLoadBalancerArgsDict(TypedDict): + """ + A load balancer object representing the load balancer to use with the task set. The supported load balancer types are either an Application Load Balancer or a Network Load Balancer. + """ + container_name: NotRequired[pulumi.Input[str]] + """ + The name of the container (as it appears in a container definition) to associate with the load balancer. + """ + container_port: NotRequired[pulumi.Input[int]] + """ + The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping. + """ + target_group_arn: NotRequired[pulumi.Input[str]] + """ + The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set. A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a Classic Load Balancer this should be omitted. For services using the ECS deployment controller, you can specify one or multiple target groups. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html in the Amazon Elastic Container Service Developer Guide. For services using the CODE_DEPLOY deployment controller, you are required to define two target groups for the load balancer. For more information, see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html in the Amazon Elastic Container Service Developer Guide. If your service's task definition uses the awsvpc network mode (which is required for the Fargate launch type), you must choose ip as the target type, not instance, when creating your target groups because tasks that use the awsvpc network mode are associated with an elastic network interface, not an Amazon EC2 instance. + """ +elif False: + TaskSetLoadBalancerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskSetLoadBalancerArgs: def __init__(__self__, *, @@ -5060,6 +6991,20 @@ def target_group_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_group_arn", value) +if not MYPY: + class TaskSetNetworkConfigurationArgsDict(TypedDict): + """ + An object representing the network configuration for a task or service. + """ + aws_vpc_configuration: NotRequired[pulumi.Input['TaskSetAwsVpcConfigurationArgsDict']] + """ + The VPC subnets and security groups that are associated with a task. + + > All specified subnets and security groups must be from the same VPC. + """ +elif False: + TaskSetNetworkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskSetNetworkConfigurationArgs: def __init__(__self__, *, @@ -5088,6 +7033,19 @@ def aws_vpc_configuration(self, value: Optional[pulumi.Input['TaskSetAwsVpcConfi pulumi.set(self, "aws_vpc_configuration", value) +if not MYPY: + class TaskSetScaleArgsDict(TypedDict): + unit: NotRequired[pulumi.Input['TaskSetScaleUnit']] + """ + The unit of measure for the scale value. + """ + value: NotRequired[pulumi.Input[float]] + """ + The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100. + """ +elif False: + TaskSetScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskSetScaleArgs: def __init__(__self__, *, @@ -5127,6 +7085,27 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class TaskSetServiceRegistryArgsDict(TypedDict): + container_name: NotRequired[pulumi.Input[str]] + """ + The container name value, already specified in the task definition, to be used for your service discovery service. If the task definition that your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition that your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both. + """ + container_port: NotRequired[pulumi.Input[int]] + """ + The port value, already specified in the task definition, to be used for your service discovery service. If the task definition your service task specifies uses the bridge or host network mode, you must specify a containerName and containerPort combination from the task definition. If the task definition your service task specifies uses the awsvpc network mode and a type SRV DNS record is used, you must specify either a containerName and containerPort combination or a port value, but not both. + """ + port: NotRequired[pulumi.Input[int]] + """ + The port value used if your service discovery service specified an SRV record. This field may be used if both the awsvpc network mode and SRV records are used. + """ + registry_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is AWS Cloud Map. For more information, see https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html + """ +elif False: + TaskSetServiceRegistryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskSetServiceRegistryArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/ecs/capacity_provider.py b/sdk/python/pulumi_aws_native/ecs/capacity_provider.py index 8f2df7f3ff..349fb44a33 100644 --- a/sdk/python/pulumi_aws_native/ecs/capacity_provider.py +++ b/sdk/python/pulumi_aws_native/ecs/capacity_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ecs/cluster.py b/sdk/python/pulumi_aws_native/ecs/cluster.py index 4066e302ea..fe069b9d3e 100644 --- a/sdk/python/pulumi_aws_native/ecs/cluster.py +++ b/sdk/python/pulumi_aws_native/ecs/cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ecs/cluster_capacity_provider_associations.py b/sdk/python/pulumi_aws_native/ecs/cluster_capacity_provider_associations.py index 9294401275..72c19d4e73 100644 --- a/sdk/python/pulumi_aws_native/ecs/cluster_capacity_provider_associations.py +++ b/sdk/python/pulumi_aws_native/ecs/cluster_capacity_provider_associations.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ecs/get_capacity_provider.py b/sdk/python/pulumi_aws_native/ecs/get_capacity_provider.py index fd51b788de..9a95eb1fb4 100644 --- a/sdk/python/pulumi_aws_native/ecs/get_capacity_provider.py +++ b/sdk/python/pulumi_aws_native/ecs/get_capacity_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -82,9 +87,6 @@ def get_capacity_provider(name: Optional[str] = None, return AwaitableGetCapacityProviderResult( auto_scaling_group_provider=pulumi.get(__ret__, 'auto_scaling_group_provider'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_capacity_provider) def get_capacity_provider_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCapacityProviderResult]: """ @@ -93,4 +95,10 @@ def get_capacity_provider_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the capacity provider. If a name is specified, it cannot start with `aws` , `ecs` , or `fargate` . If no name is specified, a default name in the `CFNStackName-CFNResourceName-RandomString` format is used. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ecs:getCapacityProvider', __args__, opts=opts, typ=GetCapacityProviderResult) + return __ret__.apply(lambda __response__: GetCapacityProviderResult( + auto_scaling_group_provider=pulumi.get(__response__, 'auto_scaling_group_provider'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ecs/get_cluster.py b/sdk/python/pulumi_aws_native/ecs/get_cluster.py index 0b644ae76c..59f15e2751 100644 --- a/sdk/python/pulumi_aws_native/ecs/get_cluster.py +++ b/sdk/python/pulumi_aws_native/ecs/get_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -134,9 +139,6 @@ def get_cluster(cluster_name: Optional[str] = None, configuration=pulumi.get(__ret__, 'configuration'), default_capacity_provider_strategy=pulumi.get(__ret__, 'default_capacity_provider_strategy'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: """ @@ -145,4 +147,14 @@ def get_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None, :param str cluster_name: A user-generated string that you use to identify your cluster. If you don't specify a name, CFNlong generates a unique physical ID for the name. """ - ... + __args__ = dict() + __args__['clusterName'] = cluster_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ecs:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + arn=pulumi.get(__response__, 'arn'), + capacity_providers=pulumi.get(__response__, 'capacity_providers'), + cluster_settings=pulumi.get(__response__, 'cluster_settings'), + configuration=pulumi.get(__response__, 'configuration'), + default_capacity_provider_strategy=pulumi.get(__response__, 'default_capacity_provider_strategy'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ecs/get_cluster_capacity_provider_associations.py b/sdk/python/pulumi_aws_native/ecs/get_cluster_capacity_provider_associations.py index b58a93af44..07f20f052f 100644 --- a/sdk/python/pulumi_aws_native/ecs/get_cluster_capacity_provider_associations.py +++ b/sdk/python/pulumi_aws_native/ecs/get_cluster_capacity_provider_associations.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -71,9 +76,6 @@ def get_cluster_capacity_provider_associations(cluster: Optional[str] = None, return AwaitableGetClusterCapacityProviderAssociationsResult( capacity_providers=pulumi.get(__ret__, 'capacity_providers'), default_capacity_provider_strategy=pulumi.get(__ret__, 'default_capacity_provider_strategy')) - - -@_utilities.lift_output_func(get_cluster_capacity_provider_associations) def get_cluster_capacity_provider_associations_output(cluster: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterCapacityProviderAssociationsResult]: """ @@ -82,4 +84,10 @@ def get_cluster_capacity_provider_associations_output(cluster: Optional[pulumi.I :param str cluster: The cluster the capacity provider association is the target of. """ - ... + __args__ = dict() + __args__['cluster'] = cluster + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ecs:getClusterCapacityProviderAssociations', __args__, opts=opts, typ=GetClusterCapacityProviderAssociationsResult) + return __ret__.apply(lambda __response__: GetClusterCapacityProviderAssociationsResult( + capacity_providers=pulumi.get(__response__, 'capacity_providers'), + default_capacity_provider_strategy=pulumi.get(__response__, 'default_capacity_provider_strategy'))) diff --git a/sdk/python/pulumi_aws_native/ecs/get_primary_task_set.py b/sdk/python/pulumi_aws_native/ecs/get_primary_task_set.py index 84f8aa3daa..132989eca1 100644 --- a/sdk/python/pulumi_aws_native/ecs/get_primary_task_set.py +++ b/sdk/python/pulumi_aws_native/ecs/get_primary_task_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -59,9 +64,6 @@ def get_primary_task_set(cluster: Optional[str] = None, return AwaitableGetPrimaryTaskSetResult( task_set_id=pulumi.get(__ret__, 'task_set_id')) - - -@_utilities.lift_output_func(get_primary_task_set) def get_primary_task_set_output(cluster: Optional[pulumi.Input[str]] = None, service: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrimaryTaskSetResult]: @@ -72,4 +74,10 @@ def get_primary_task_set_output(cluster: Optional[pulumi.Input[str]] = None, :param str cluster: The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in. :param str service: The short name or full Amazon Resource Name (ARN) of the service to create the task set in. """ - ... + __args__ = dict() + __args__['cluster'] = cluster + __args__['service'] = service + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ecs:getPrimaryTaskSet', __args__, opts=opts, typ=GetPrimaryTaskSetResult) + return __ret__.apply(lambda __response__: GetPrimaryTaskSetResult( + task_set_id=pulumi.get(__response__, 'task_set_id'))) diff --git a/sdk/python/pulumi_aws_native/ecs/get_service.py b/sdk/python/pulumi_aws_native/ecs/get_service.py index 62a75cc8a4..c7ec44e73c 100644 --- a/sdk/python/pulumi_aws_native/ecs/get_service.py +++ b/sdk/python/pulumi_aws_native/ecs/get_service.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -292,9 +297,6 @@ def get_service(cluster: Optional[str] = None, service_registries=pulumi.get(__ret__, 'service_registries'), tags=pulumi.get(__ret__, 'tags'), task_definition=pulumi.get(__ret__, 'task_definition')) - - -@_utilities.lift_output_func(get_service) def get_service_output(cluster: Optional[pulumi.Input[str]] = None, service_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceResult]: @@ -307,4 +309,26 @@ def get_service_output(cluster: Optional[pulumi.Input[str]] = None, :param str cluster: The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. If you do not specify a cluster, the default cluster is assumed. :param str service_arn: Not currently supported in AWS CloudFormation . """ - ... + __args__ = dict() + __args__['cluster'] = cluster + __args__['serviceArn'] = service_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ecs:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + capacity_provider_strategy=pulumi.get(__response__, 'capacity_provider_strategy'), + deployment_configuration=pulumi.get(__response__, 'deployment_configuration'), + desired_count=pulumi.get(__response__, 'desired_count'), + enable_ecs_managed_tags=pulumi.get(__response__, 'enable_ecs_managed_tags'), + enable_execute_command=pulumi.get(__response__, 'enable_execute_command'), + health_check_grace_period_seconds=pulumi.get(__response__, 'health_check_grace_period_seconds'), + load_balancers=pulumi.get(__response__, 'load_balancers'), + name=pulumi.get(__response__, 'name'), + network_configuration=pulumi.get(__response__, 'network_configuration'), + placement_constraints=pulumi.get(__response__, 'placement_constraints'), + placement_strategies=pulumi.get(__response__, 'placement_strategies'), + platform_version=pulumi.get(__response__, 'platform_version'), + propagate_tags=pulumi.get(__response__, 'propagate_tags'), + service_arn=pulumi.get(__response__, 'service_arn'), + service_registries=pulumi.get(__response__, 'service_registries'), + tags=pulumi.get(__response__, 'tags'), + task_definition=pulumi.get(__response__, 'task_definition'))) diff --git a/sdk/python/pulumi_aws_native/ecs/get_task_definition.py b/sdk/python/pulumi_aws_native/ecs/get_task_definition.py index b2adf8fc6a..cbfdc095f1 100644 --- a/sdk/python/pulumi_aws_native/ecs/get_task_definition.py +++ b/sdk/python/pulumi_aws_native/ecs/get_task_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -82,9 +87,6 @@ def get_task_definition(task_definition_arn: Optional[str] = None, return AwaitableGetTaskDefinitionResult( tags=pulumi.get(__ret__, 'tags'), task_definition_arn=pulumi.get(__ret__, 'task_definition_arn')) - - -@_utilities.lift_output_func(get_task_definition) def get_task_definition_output(task_definition_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTaskDefinitionResult]: """ @@ -97,4 +99,10 @@ def get_task_definition_output(task_definition_arn: Optional[pulumi.Input[str]] :param str task_definition_arn: The ARN of the task definition. """ - ... + __args__ = dict() + __args__['taskDefinitionArn'] = task_definition_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ecs:getTaskDefinition', __args__, opts=opts, typ=GetTaskDefinitionResult) + return __ret__.apply(lambda __response__: GetTaskDefinitionResult( + tags=pulumi.get(__response__, 'tags'), + task_definition_arn=pulumi.get(__response__, 'task_definition_arn'))) diff --git a/sdk/python/pulumi_aws_native/ecs/get_task_set.py b/sdk/python/pulumi_aws_native/ecs/get_task_set.py index dd6476cb8d..088dc611bd 100644 --- a/sdk/python/pulumi_aws_native/ecs/get_task_set.py +++ b/sdk/python/pulumi_aws_native/ecs/get_task_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -101,9 +106,6 @@ def get_task_set(cluster: Optional[str] = None, id=pulumi.get(__ret__, 'id'), scale=pulumi.get(__ret__, 'scale'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_task_set) def get_task_set_output(cluster: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, service: Optional[pulumi.Input[str]] = None, @@ -116,4 +118,13 @@ def get_task_set_output(cluster: Optional[pulumi.Input[str]] = None, :param str id: The ID of the task set. :param str service: The short name or full Amazon Resource Name (ARN) of the service to create the task set in. """ - ... + __args__ = dict() + __args__['cluster'] = cluster + __args__['id'] = id + __args__['service'] = service + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ecs:getTaskSet', __args__, opts=opts, typ=GetTaskSetResult) + return __ret__.apply(lambda __response__: GetTaskSetResult( + id=pulumi.get(__response__, 'id'), + scale=pulumi.get(__response__, 'scale'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ecs/outputs.py b/sdk/python/pulumi_aws_native/ecs/outputs.py index caee535f06..7d3401b747 100644 --- a/sdk/python/pulumi_aws_native/ecs/outputs.py +++ b/sdk/python/pulumi_aws_native/ecs/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ecs/primary_task_set.py b/sdk/python/pulumi_aws_native/ecs/primary_task_set.py index fe60f936e1..0f4fdae1d4 100644 --- a/sdk/python/pulumi_aws_native/ecs/primary_task_set.py +++ b/sdk/python/pulumi_aws_native/ecs/primary_task_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['PrimaryTaskSetArgs', 'PrimaryTaskSet'] diff --git a/sdk/python/pulumi_aws_native/ecs/service.py b/sdk/python/pulumi_aws_native/ecs/service.py index 7e733c023d..6e5312733a 100644 --- a/sdk/python/pulumi_aws_native/ecs/service.py +++ b/sdk/python/pulumi_aws_native/ecs/service.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ecs/task_definition.py b/sdk/python/pulumi_aws_native/ecs/task_definition.py index 1d3e3ab262..ea2ec66f68 100644 --- a/sdk/python/pulumi_aws_native/ecs/task_definition.py +++ b/sdk/python/pulumi_aws_native/ecs/task_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ecs/task_set.py b/sdk/python/pulumi_aws_native/ecs/task_set.py index 2f5b28d913..889b7c15cb 100644 --- a/sdk/python/pulumi_aws_native/ecs/task_set.py +++ b/sdk/python/pulumi_aws_native/ecs/task_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/efs/_inputs.py b/sdk/python/pulumi_aws_native/efs/_inputs.py index 50015d7cf2..7f73aaf6cf 100644 --- a/sdk/python/pulumi_aws_native/efs/_inputs.py +++ b/sdk/python/pulumi_aws_native/efs/_inputs.py @@ -4,23 +4,60 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AccessPointCreationInfoArgs', + 'AccessPointCreationInfoArgsDict', 'AccessPointPosixUserArgs', + 'AccessPointPosixUserArgsDict', 'AccessPointRootDirectoryArgs', + 'AccessPointRootDirectoryArgsDict', 'FileSystemBackupPolicyArgs', + 'FileSystemBackupPolicyArgsDict', 'FileSystemLifecyclePolicyArgs', + 'FileSystemLifecyclePolicyArgsDict', 'FileSystemProtectionArgs', + 'FileSystemProtectionArgsDict', 'FileSystemReplicationConfigurationArgs', + 'FileSystemReplicationConfigurationArgsDict', 'FileSystemReplicationDestinationArgs', + 'FileSystemReplicationDestinationArgsDict', ] +MYPY = False + +if not MYPY: + class AccessPointCreationInfoArgsDict(TypedDict): + """ + Required if the ``RootDirectory`` > ``Path`` specified does not exist. Specifies the POSIX IDs and permissions to apply to the access point's ``RootDirectory`` > ``Path``. If the access point root directory does not exist, EFS creates it with these settings when a client connects to the access point. When specifying ``CreationInfo``, you must include values for all properties. + Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail. + If you do not provide ``CreationInfo`` and the specified ``RootDirectory`` does not exist, attempts to mount the file system using the access point will fail. + """ + owner_gid: pulumi.Input[str] + """ + Specifies the POSIX group ID to apply to the ``RootDirectory``. Accepts values from 0 to 2^32 (4294967295). + """ + owner_uid: pulumi.Input[str] + """ + Specifies the POSIX user ID to apply to the ``RootDirectory``. Accepts values from 0 to 2^32 (4294967295). + """ + permissions: pulumi.Input[str] + """ + Specifies the POSIX permissions to apply to the ``RootDirectory``, in the format of an octal number representing the file's mode bits. + """ +elif False: + AccessPointCreationInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPointCreationInfoArgs: def __init__(__self__, *, @@ -76,6 +113,26 @@ def permissions(self, value: pulumi.Input[str]): pulumi.set(self, "permissions", value) +if not MYPY: + class AccessPointPosixUserArgsDict(TypedDict): + """ + The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point. + """ + gid: pulumi.Input[str] + """ + The POSIX group ID used for all file system operations using this access point. + """ + uid: pulumi.Input[str] + """ + The POSIX user ID used for all file system operations using this access point. + """ + secondary_gids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Secondary POSIX group IDs used for all file system operations using this access point. + """ +elif False: + AccessPointPosixUserArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPointPosixUserArgs: def __init__(__self__, *, @@ -130,6 +187,23 @@ def secondary_gids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] pulumi.set(self, "secondary_gids", value) +if not MYPY: + class AccessPointRootDirectoryArgsDict(TypedDict): + """ + Specifies the directory on the Amazon EFS file system that the access point provides access to. The access point exposes the specified file system path as the root directory of your file system to applications using the access point. NFS clients using the access point can only access data in the access point's ``RootDirectory`` and its subdirectories. + """ + creation_info: NotRequired[pulumi.Input['AccessPointCreationInfoArgsDict']] + """ + (Optional) Specifies the POSIX IDs and permissions to apply to the access point's ``RootDirectory``. If the ``RootDirectory`` > ``Path`` specified does not exist, EFS creates the root directory using the ``CreationInfo`` settings when a client connects to an access point. When specifying the ``CreationInfo``, you must provide values for all properties. + If you do not provide ``CreationInfo`` and the specified ``RootDirectory`` > ``Path`` does not exist, attempts to mount the file system using the access point will fail. + """ + path: NotRequired[pulumi.Input[str]] + """ + Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the ``CreationInfo``. + """ +elif False: + AccessPointRootDirectoryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPointRootDirectoryArgs: def __init__(__self__, *, @@ -172,6 +246,20 @@ def path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "path", value) +if not MYPY: + class FileSystemBackupPolicyArgsDict(TypedDict): + """ + The backup policy turns automatic backups for the file system on or off. + """ + status: pulumi.Input['FileSystemBackupPolicyStatus'] + """ + Set the backup policy status for the file system. + + *ENABLED* - Turns automatic backups on for the file system. + + *DISABLED* - Turns automatic backups off for the file system. + """ +elif False: + FileSystemBackupPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FileSystemBackupPolicyArgs: def __init__(__self__, *, @@ -199,6 +287,28 @@ def status(self, value: pulumi.Input['FileSystemBackupPolicyStatus']): pulumi.set(self, "status", value) +if not MYPY: + class FileSystemLifecyclePolicyArgsDict(TypedDict): + """ + Describes a policy used by Lifecycle management that specifies when to transition files into and out of the EFS storage classes. For more information, see [Managing file system storage](https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html). + + Each ``LifecyclePolicy`` object can have only a single transition. This means that in a request body, ``LifecyclePolicies`` must be structured as an array of ``LifecyclePolicy`` objects, one object for each transition, ``TransitionToIA``, ``TransitionToArchive``, ``TransitionToPrimaryStorageClass``. + + See the AWS::EFS::FileSystem examples for the correct ``LifecyclePolicy`` structure. Do not use the syntax shown on this page. + """ + transition_to_archive: NotRequired[pulumi.Input[str]] + """ + The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events. + """ + transition_to_ia: NotRequired[pulumi.Input[str]] + """ + The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events. + """ + transition_to_primary_storage_class: NotRequired[pulumi.Input[str]] + """ + Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events. + """ +elif False: + FileSystemLifecyclePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FileSystemLifecyclePolicyArgs: def __init__(__self__, *, @@ -257,6 +367,23 @@ def transition_to_primary_storage_class(self, value: Optional[pulumi.Input[str]] pulumi.set(self, "transition_to_primary_storage_class", value) +if not MYPY: + class FileSystemProtectionArgsDict(TypedDict): + """ + Describes the protection on the file system. + """ + replication_overwrite_protection: NotRequired[pulumi.Input['FileSystemProtectionReplicationOverwriteProtection']] + """ + The status of the file system's replication overwrite protection. + + ``ENABLED`` – The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection is ``ENABLED`` by default. + + ``DISABLED`` – The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication. + + ``REPLICATING`` – The file system is being used as the destination file system in a replication configuration. The file system is read-only and is only modified only by EFS replication. + + If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable. + """ +elif False: + FileSystemProtectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FileSystemProtectionArgs: def __init__(__self__, *, @@ -291,6 +418,18 @@ def replication_overwrite_protection(self, value: Optional[pulumi.Input['FileSys pulumi.set(self, "replication_overwrite_protection", value) +if not MYPY: + class FileSystemReplicationConfigurationArgsDict(TypedDict): + """ + Describes the replication configuration for a specific file system. + """ + destinations: NotRequired[pulumi.Input[Sequence[pulumi.Input['FileSystemReplicationDestinationArgsDict']]]] + """ + An array of destination objects. Only one destination object is supported. + """ +elif False: + FileSystemReplicationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FileSystemReplicationConfigurationArgs: def __init__(__self__, *, @@ -315,6 +454,33 @@ def destinations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FileS pulumi.set(self, "destinations", value) +if not MYPY: + class FileSystemReplicationDestinationArgsDict(TypedDict): + """ + Describes the destination file system in the replication configuration. + """ + availability_zone_name: NotRequired[pulumi.Input[str]] + """ + For One Zone file systems, the replication configuration must specify the Availability Zone in which the destination file system is located. + Use the format ``us-east-1a`` to specify the Availability Zone. For more information about One Zone file systems, see [EFS file system types](https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html) in the *Amazon EFS User Guide*. + One Zone file system type is not available in all Availability Zones in AWS-Regions where Amazon EFS is available. + """ + file_system_id: NotRequired[pulumi.Input[str]] + """ + The ID of the destination Amazon EFS file system. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The ID of an kms-key-long used to protect the encrypted file system. + """ + region: NotRequired[pulumi.Input[str]] + """ + The AWS-Region in which the destination file system is located. + For One Zone file systems, the replication configuration must specify the AWS-Region in which the destination file system is located. + """ +elif False: + FileSystemReplicationDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FileSystemReplicationDestinationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/efs/access_point.py b/sdk/python/pulumi_aws_native/efs/access_point.py index 3f5522ec56..07ee75b7b2 100644 --- a/sdk/python/pulumi_aws_native/efs/access_point.py +++ b/sdk/python/pulumi_aws_native/efs/access_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/efs/file_system.py b/sdk/python/pulumi_aws_native/efs/file_system.py index d654670862..e3121c48fd 100644 --- a/sdk/python/pulumi_aws_native/efs/file_system.py +++ b/sdk/python/pulumi_aws_native/efs/file_system.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/efs/get_access_point.py b/sdk/python/pulumi_aws_native/efs/get_access_point.py index 99e6f6bb39..32ada92b70 100644 --- a/sdk/python/pulumi_aws_native/efs/get_access_point.py +++ b/sdk/python/pulumi_aws_native/efs/get_access_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -85,9 +90,6 @@ def get_access_point(access_point_id: Optional[str] = None, access_point_id=pulumi.get(__ret__, 'access_point_id'), access_point_tags=pulumi.get(__ret__, 'access_point_tags'), arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_access_point) def get_access_point_output(access_point_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPointResult]: """ @@ -97,4 +99,11 @@ def get_access_point_output(access_point_id: Optional[pulumi.Input[str]] = None, :param str access_point_id: The ID of the EFS access point. """ - ... + __args__ = dict() + __args__['accessPointId'] = access_point_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:efs:getAccessPoint', __args__, opts=opts, typ=GetAccessPointResult) + return __ret__.apply(lambda __response__: GetAccessPointResult( + access_point_id=pulumi.get(__response__, 'access_point_id'), + access_point_tags=pulumi.get(__response__, 'access_point_tags'), + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/efs/get_file_system.py b/sdk/python/pulumi_aws_native/efs/get_file_system.py index 8d877cf890..e46c70318e 100644 --- a/sdk/python/pulumi_aws_native/efs/get_file_system.py +++ b/sdk/python/pulumi_aws_native/efs/get_file_system.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -186,9 +191,6 @@ def get_file_system(file_system_id: Optional[str] = None, provisioned_throughput_in_mibps=pulumi.get(__ret__, 'provisioned_throughput_in_mibps'), replication_configuration=pulumi.get(__ret__, 'replication_configuration'), throughput_mode=pulumi.get(__ret__, 'throughput_mode')) - - -@_utilities.lift_output_func(get_file_system) def get_file_system_output(file_system_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFileSystemResult]: """ @@ -197,4 +199,18 @@ def get_file_system_output(file_system_id: Optional[pulumi.Input[str]] = None, :param str file_system_id: The ID of the EFS file system. For example: `fs-abcdef0123456789a` """ - ... + __args__ = dict() + __args__['fileSystemId'] = file_system_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:efs:getFileSystem', __args__, opts=opts, typ=GetFileSystemResult) + return __ret__.apply(lambda __response__: GetFileSystemResult( + arn=pulumi.get(__response__, 'arn'), + backup_policy=pulumi.get(__response__, 'backup_policy'), + file_system_id=pulumi.get(__response__, 'file_system_id'), + file_system_policy=pulumi.get(__response__, 'file_system_policy'), + file_system_protection=pulumi.get(__response__, 'file_system_protection'), + file_system_tags=pulumi.get(__response__, 'file_system_tags'), + lifecycle_policies=pulumi.get(__response__, 'lifecycle_policies'), + provisioned_throughput_in_mibps=pulumi.get(__response__, 'provisioned_throughput_in_mibps'), + replication_configuration=pulumi.get(__response__, 'replication_configuration'), + throughput_mode=pulumi.get(__response__, 'throughput_mode'))) diff --git a/sdk/python/pulumi_aws_native/efs/get_mount_target.py b/sdk/python/pulumi_aws_native/efs/get_mount_target.py index a26502fb6a..b99787ba20 100644 --- a/sdk/python/pulumi_aws_native/efs/get_mount_target.py +++ b/sdk/python/pulumi_aws_native/efs/get_mount_target.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -73,9 +78,6 @@ def get_mount_target(id: Optional[str] = None, return AwaitableGetMountTargetResult( id=pulumi.get(__ret__, 'id'), security_groups=pulumi.get(__ret__, 'security_groups')) - - -@_utilities.lift_output_func(get_mount_target) def get_mount_target_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMountTargetResult]: """ @@ -86,4 +88,10 @@ def get_mount_target_output(id: Optional[pulumi.Input[str]] = None, Example: `fs-0123456789111222a` """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:efs:getMountTarget', __args__, opts=opts, typ=GetMountTargetResult) + return __ret__.apply(lambda __response__: GetMountTargetResult( + id=pulumi.get(__response__, 'id'), + security_groups=pulumi.get(__response__, 'security_groups'))) diff --git a/sdk/python/pulumi_aws_native/efs/mount_target.py b/sdk/python/pulumi_aws_native/efs/mount_target.py index d4aaabc54e..81ecb29423 100644 --- a/sdk/python/pulumi_aws_native/efs/mount_target.py +++ b/sdk/python/pulumi_aws_native/efs/mount_target.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['MountTargetArgs', 'MountTarget'] diff --git a/sdk/python/pulumi_aws_native/efs/outputs.py b/sdk/python/pulumi_aws_native/efs/outputs.py index 625fe9da71..1cf5550c30 100644 --- a/sdk/python/pulumi_aws_native/efs/outputs.py +++ b/sdk/python/pulumi_aws_native/efs/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/eks/_inputs.py b/sdk/python/pulumi_aws_native/eks/_inputs.py index ec535fb801..bc89bbc679 100644 --- a/sdk/python/pulumi_aws_native/eks/_inputs.py +++ b/sdk/python/pulumi_aws_native/eks/_inputs.py @@ -4,39 +4,86 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AccessEntryAccessPolicyArgs', + 'AccessEntryAccessPolicyArgsDict', 'AccessEntryAccessScopeArgs', + 'AccessEntryAccessScopeArgsDict', 'AddonPodIdentityAssociationArgs', + 'AddonPodIdentityAssociationArgsDict', 'ClusterAccessConfigArgs', + 'ClusterAccessConfigArgsDict', 'ClusterControlPlanePlacementArgs', + 'ClusterControlPlanePlacementArgsDict', 'ClusterEncryptionConfigArgs', + 'ClusterEncryptionConfigArgsDict', 'ClusterKubernetesNetworkConfigArgs', + 'ClusterKubernetesNetworkConfigArgsDict', 'ClusterLoggingEnabledTypesArgs', + 'ClusterLoggingEnabledTypesArgsDict', 'ClusterLoggingTypeConfigArgs', + 'ClusterLoggingTypeConfigArgsDict', 'ClusterOutpostConfigArgs', + 'ClusterOutpostConfigArgsDict', 'ClusterProviderArgs', + 'ClusterProviderArgsDict', 'ClusterResourcesVpcConfigArgs', + 'ClusterResourcesVpcConfigArgsDict', 'ClusterUpgradePolicyArgs', + 'ClusterUpgradePolicyArgsDict', 'ClusterZonalShiftConfigArgs', + 'ClusterZonalShiftConfigArgsDict', 'FargateProfileLabelArgs', + 'FargateProfileLabelArgsDict', 'FargateProfileSelectorArgs', + 'FargateProfileSelectorArgsDict', 'IdentityProviderConfigOidcIdentityProviderConfigArgs', + 'IdentityProviderConfigOidcIdentityProviderConfigArgsDict', 'IdentityProviderConfigRequiredClaimArgs', + 'IdentityProviderConfigRequiredClaimArgsDict', 'LoggingArgs', + 'LoggingArgsDict', 'NodegroupLaunchTemplateSpecificationArgs', + 'NodegroupLaunchTemplateSpecificationArgsDict', 'NodegroupRemoteAccessArgs', + 'NodegroupRemoteAccessArgsDict', 'NodegroupScalingConfigArgs', + 'NodegroupScalingConfigArgsDict', 'NodegroupTaintArgs', + 'NodegroupTaintArgsDict', 'NodegroupUpdateConfigArgs', + 'NodegroupUpdateConfigArgsDict', ] +MYPY = False + +if not MYPY: + class AccessEntryAccessPolicyArgsDict(TypedDict): + """ + An access policy to associate with the current access entry. + """ + access_scope: pulumi.Input['AccessEntryAccessScopeArgsDict'] + """ + The scope of an `AccessPolicy` that's associated to an `AccessEntry` . + """ + policy_arn: pulumi.Input[str] + """ + The ARN of the access policy to add to the access entry. + """ +elif False: + AccessEntryAccessPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessEntryAccessPolicyArgs: def __init__(__self__, *, @@ -75,6 +122,22 @@ def policy_arn(self, value: pulumi.Input[str]): pulumi.set(self, "policy_arn", value) +if not MYPY: + class AccessEntryAccessScopeArgsDict(TypedDict): + """ + The access scope of the access policy. + """ + type: pulumi.Input['AccessEntryAccessScopeType'] + """ + The type of the access scope. + """ + namespaces: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The namespaces to associate with the access scope. Only specify if Type is set to 'namespace'. + """ +elif False: + AccessEntryAccessScopeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessEntryAccessScopeArgs: def __init__(__self__, *, @@ -114,6 +177,22 @@ def namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "namespaces", value) +if not MYPY: + class AddonPodIdentityAssociationArgsDict(TypedDict): + """ + A pod identity to associate with an add-on. + """ + role_arn: pulumi.Input[str] + """ + The IAM role ARN that the pod identity association is created for. + """ + service_account: pulumi.Input[str] + """ + The Kubernetes service account that the pod identity association is created for. + """ +elif False: + AddonPodIdentityAssociationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AddonPodIdentityAssociationArgs: def __init__(__self__, *, @@ -152,6 +231,22 @@ def service_account(self, value: pulumi.Input[str]): pulumi.set(self, "service_account", value) +if not MYPY: + class ClusterAccessConfigArgsDict(TypedDict): + """ + An object representing the Access Config to use for the cluster. + """ + authentication_mode: NotRequired[pulumi.Input['ClusterAccessConfigAuthenticationMode']] + """ + Specify the authentication mode that should be used to create your cluster. + """ + bootstrap_cluster_creator_admin_permissions: NotRequired[pulumi.Input[bool]] + """ + Set this value to false to avoid creating a default cluster admin Access Entry using the IAM principal used to create the cluster. + """ +elif False: + ClusterAccessConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterAccessConfigArgs: def __init__(__self__, *, @@ -192,6 +287,18 @@ def bootstrap_cluster_creator_admin_permissions(self, value: Optional[pulumi.Inp pulumi.set(self, "bootstrap_cluster_creator_admin_permissions", value) +if not MYPY: + class ClusterControlPlanePlacementArgsDict(TypedDict): + """ + Specify the placement group of the control plane machines for your cluster. + """ + group_name: NotRequired[pulumi.Input[str]] + """ + Specify the placement group name of the control place machines for your cluster. + """ +elif False: + ClusterControlPlanePlacementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterControlPlanePlacementArgs: def __init__(__self__, *, @@ -216,6 +323,22 @@ def group_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "group_name", value) +if not MYPY: + class ClusterEncryptionConfigArgsDict(TypedDict): + """ + The encryption configuration for the cluster + """ + provider: NotRequired[pulumi.Input['ClusterProviderArgsDict']] + """ + The encryption provider for the cluster. + """ + resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies the resources to be encrypted. The only supported value is "secrets". + """ +elif False: + ClusterEncryptionConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterEncryptionConfigArgs: def __init__(__self__, *, @@ -256,6 +379,26 @@ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "resources", value) +if not MYPY: + class ClusterKubernetesNetworkConfigArgsDict(TypedDict): + """ + The Kubernetes network configuration for the cluster. + """ + ip_family: NotRequired[pulumi.Input['ClusterKubernetesNetworkConfigIpFamily']] + """ + Ipv4 or Ipv6. You can only specify ipv6 for 1.21 and later clusters that use version 1.10.1 or later of the Amazon VPC CNI add-on + """ + service_ipv4_cidr: NotRequired[pulumi.Input[str]] + """ + The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. + """ + service_ipv6_cidr: NotRequired[pulumi.Input[str]] + """ + The CIDR block to assign Kubernetes service IP addresses from. + """ +elif False: + ClusterKubernetesNetworkConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterKubernetesNetworkConfigArgs: def __init__(__self__, *, @@ -312,6 +455,20 @@ def service_ipv6_cidr(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "service_ipv6_cidr", value) +if not MYPY: + class ClusterLoggingEnabledTypesArgsDict(TypedDict): + """ + The cluster control plane logging configuration for your cluster. + """ + enabled_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['ClusterLoggingTypeConfigArgsDict']]]] + """ + The enabled control plane logs for your cluster. All log types are disabled if the array is empty. + + > When updating a resource, you must include this `EnabledTypes` property if the previous CloudFormation template of the resource had it. + """ +elif False: + ClusterLoggingEnabledTypesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterLoggingEnabledTypesArgs: def __init__(__self__, *, @@ -340,6 +497,18 @@ def enabled_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Clus pulumi.set(self, "enabled_types", value) +if not MYPY: + class ClusterLoggingTypeConfigArgsDict(TypedDict): + """ + Enabled Logging Type + """ + type: NotRequired[pulumi.Input['ClusterLoggingTypeConfigType']] + """ + name of the log type + """ +elif False: + ClusterLoggingTypeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterLoggingTypeConfigArgs: def __init__(__self__, *, @@ -364,6 +533,26 @@ def type(self, value: Optional[pulumi.Input['ClusterLoggingTypeConfigType']]): pulumi.set(self, "type", value) +if not MYPY: + class ClusterOutpostConfigArgsDict(TypedDict): + """ + An object representing the Outpost configuration to use for AWS EKS outpost cluster. + """ + control_plane_instance_type: pulumi.Input[str] + """ + Specify the Instance type of the machines that should be used to create your cluster. + """ + outpost_arns: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Specify one or more Arn(s) of Outpost(s) on which you would like to create your cluster. + """ + control_plane_placement: NotRequired[pulumi.Input['ClusterControlPlanePlacementArgsDict']] + """ + Specify the placement group of the control plane machines for your cluster. + """ +elif False: + ClusterOutpostConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterOutpostConfigArgs: def __init__(__self__, *, @@ -418,6 +607,15 @@ def control_plane_placement(self, value: Optional[pulumi.Input['ClusterControlPl pulumi.set(self, "control_plane_placement", value) +if not MYPY: + class ClusterProviderArgsDict(TypedDict): + key_arn: NotRequired[pulumi.Input[str]] + """ + Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must be symmetric, created in the same region as the cluster, and if the KMS key was created in a different account, the user must have access to the KMS key. + """ +elif False: + ClusterProviderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterProviderArgs: def __init__(__self__, *, @@ -441,6 +639,34 @@ def key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_arn", value) +if not MYPY: + class ClusterResourcesVpcConfigArgsDict(TypedDict): + """ + An object representing the VPC configuration to use for an Amazon EKS cluster. + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Specify subnets for your Amazon EKS nodes. Amazon EKS creates cross-account elastic network interfaces in these subnets to allow communication between your nodes and the Kubernetes control plane. + """ + endpoint_private_access: NotRequired[pulumi.Input[bool]] + """ + Set this value to true to enable private access for your cluster's Kubernetes API server endpoint. If you enable private access, Kubernetes API requests from within your cluster's VPC use the private VPC endpoint. The default value for this parameter is false, which disables private access for your Kubernetes API server. If you disable private access and you have nodes or AWS Fargate pods in the cluster, then ensure that publicAccessCidrs includes the necessary CIDR blocks for communication with the nodes or Fargate pods. + """ + endpoint_public_access: NotRequired[pulumi.Input[bool]] + """ + Set this value to false to disable public access to your cluster's Kubernetes API server endpoint. If you disable public access, your cluster's Kubernetes API server can only receive requests from within the cluster VPC. The default value for this parameter is true, which enables public access for your Kubernetes API server. + """ + public_access_cidrs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that you specify is denied. The default value is 0.0.0.0/0. If you've disabled private endpoint access and you have nodes or AWS Fargate pods in the cluster, then ensure that you specify the necessary CIDR blocks. + """ + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specify one or more security groups for the cross-account elastic network interfaces that Amazon EKS creates to use to allow communication between your worker nodes and the Kubernetes control plane. If you don't specify a security group, the default security group for your VPC is used. + """ +elif False: + ClusterResourcesVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterResourcesVpcConfigArgs: def __init__(__self__, *, @@ -528,6 +754,18 @@ def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "security_group_ids", value) +if not MYPY: + class ClusterUpgradePolicyArgsDict(TypedDict): + """ + An object representing the Upgrade Policy to use for the cluster. + """ + support_type: NotRequired[pulumi.Input['ClusterUpgradePolicySupportType']] + """ + Specify the support type for your cluster. + """ +elif False: + ClusterUpgradePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterUpgradePolicyArgs: def __init__(__self__, *, @@ -552,6 +790,18 @@ def support_type(self, value: Optional[pulumi.Input['ClusterUpgradePolicySupport pulumi.set(self, "support_type", value) +if not MYPY: + class ClusterZonalShiftConfigArgsDict(TypedDict): + """ + The current zonal shift configuration to use for the cluster. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Set this value to true to enable zonal shift for the cluster. + """ +elif False: + ClusterZonalShiftConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterZonalShiftConfigArgs: def __init__(__self__, *, @@ -576,6 +826,22 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class FargateProfileLabelArgsDict(TypedDict): + """ + A key-value pair to associate with a pod. + """ + key: pulumi.Input[str] + """ + The key name of the label. + """ + value: pulumi.Input[str] + """ + The value for the label. + """ +elif False: + FargateProfileLabelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FargateProfileLabelArgs: def __init__(__self__, *, @@ -614,6 +880,19 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class FargateProfileSelectorArgsDict(TypedDict): + namespace: pulumi.Input[str] + """ + The Kubernetes `namespace` that the selector should match. + """ + labels: NotRequired[pulumi.Input[Sequence[pulumi.Input['FargateProfileLabelArgsDict']]]] + """ + The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match. + """ +elif False: + FargateProfileSelectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FargateProfileSelectorArgs: def __init__(__self__, *, @@ -652,6 +931,42 @@ def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FargateProf pulumi.set(self, "labels", value) +if not MYPY: + class IdentityProviderConfigOidcIdentityProviderConfigArgsDict(TypedDict): + """ + An object representing an OpenID Connect (OIDC) configuration. + """ + client_id: pulumi.Input[str] + """ + This is also known as audience. The ID for the client application that makes authentication requests to the OpenID identity provider. + """ + issuer_url: pulumi.Input[str] + """ + The URL of the OpenID identity provider that allows the API server to discover public signing keys for verifying tokens. + """ + groups_claim: NotRequired[pulumi.Input[str]] + """ + The JWT claim that the provider uses to return your groups. + """ + groups_prefix: NotRequired[pulumi.Input[str]] + """ + The prefix that is prepended to group claims to prevent clashes with existing names (such as system: groups). + """ + required_claims: NotRequired[pulumi.Input[Sequence[pulumi.Input['IdentityProviderConfigRequiredClaimArgsDict']]]] + """ + The key-value pairs that describe required claims in the identity token. If set, each claim is verified to be present in the token with a matching value. + """ + username_claim: NotRequired[pulumi.Input[str]] + """ + The JSON Web Token (JWT) claim to use as the username. The default is sub, which is expected to be a unique identifier of the end user. You can choose other claims, such as email or name, depending on the OpenID identity provider. Claims other than email are prefixed with the issuer URL to prevent naming clashes with other plug-ins. + """ + username_prefix: NotRequired[pulumi.Input[str]] + """ + The prefix that is prepended to username claims to prevent clashes with existing names. If you do not provide this field, and username is a value other than email, the prefix defaults to issuerurl#. You can use the value - to disable all prefixing. + """ +elif False: + IdentityProviderConfigOidcIdentityProviderConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentityProviderConfigOidcIdentityProviderConfigArgs: def __init__(__self__, *, @@ -770,6 +1085,22 @@ def username_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "username_prefix", value) +if not MYPY: + class IdentityProviderConfigRequiredClaimArgsDict(TypedDict): + """ + The key value pairs that describe required claims in the identity token. If set, each claim is verified to be present in the token with a matching value. + """ + key: pulumi.Input[str] + """ + The key of the requiredClaims. + """ + value: pulumi.Input[str] + """ + The value for the requiredClaims. + """ +elif False: + IdentityProviderConfigRequiredClaimArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentityProviderConfigRequiredClaimArgs: def __init__(__self__, *, @@ -808,6 +1139,18 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class LoggingArgsDict(TypedDict): + """ + Enable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs based on log types. By default, cluster control plane logs aren't exported to CloudWatch Logs. + """ + cluster_logging: NotRequired[pulumi.Input['ClusterLoggingEnabledTypesArgsDict']] + """ + The cluster control plane logging configuration for your cluster. + """ +elif False: + LoggingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingArgs: def __init__(__self__, *, @@ -832,6 +1175,30 @@ def cluster_logging(self, value: Optional[pulumi.Input['ClusterLoggingEnabledTyp pulumi.set(self, "cluster_logging", value) +if not MYPY: + class NodegroupLaunchTemplateSpecificationArgsDict(TypedDict): + """ + An object representing a launch template specification for AWS EKS Nodegroup. + """ + id: NotRequired[pulumi.Input[str]] + """ + The ID of the launch template. + + You must specify either the launch template ID or the launch template name in the request, but not both. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the launch template. + + You must specify either the launch template name or the launch template ID in the request, but not both. + """ + version: NotRequired[pulumi.Input[str]] + """ + The version number of the launch template to use. If no version is specified, then the template's default version is used. + """ +elif False: + NodegroupLaunchTemplateSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NodegroupLaunchTemplateSpecificationArgs: def __init__(__self__, *, @@ -896,6 +1263,22 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class NodegroupRemoteAccessArgsDict(TypedDict): + """ + An object representing a remote access configuration specification for AWS EKS Nodegroup. + """ + ec2_ssh_key: pulumi.Input[str] + """ + The Amazon EC2 SSH key name that provides access for SSH communication with the nodes in the managed node group. For more information, see [Amazon EC2 key pairs and Linux instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) in the *Amazon Elastic Compute Cloud User Guide for Linux Instances* . For Windows, an Amazon EC2 SSH key is used to obtain the RDP password. For more information, see [Amazon EC2 key pairs and Windows instances](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-key-pairs.html) in the *Amazon Elastic Compute Cloud User Guide for Windows Instances* . + """ + source_security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The security group IDs that are allowed SSH access (port 22) to the nodes. For Windows, the port is 3389. If you specify an Amazon EC2 SSH key but don't specify a source security group when you create a managed node group, then the port on the nodes is opened to the internet ( `0.0.0.0/0` ). For more information, see [Security Groups for Your VPC](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html) in the *Amazon Virtual Private Cloud User Guide* . + """ +elif False: + NodegroupRemoteAccessArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NodegroupRemoteAccessArgs: def __init__(__self__, *, @@ -935,6 +1318,32 @@ def source_security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "source_security_groups", value) +if not MYPY: + class NodegroupScalingConfigArgsDict(TypedDict): + """ + An object representing a auto scaling group specification for AWS EKS Nodegroup. + """ + desired_size: NotRequired[pulumi.Input[int]] + """ + The current number of nodes that the managed node group should maintain. + + > If you use the Kubernetes [Cluster Autoscaler](https://docs.aws.amazon.com/https://github.com/kubernetes/autoscaler#kubernetes-autoscaler) , you shouldn't change the `desiredSize` value directly, as this can cause the Cluster Autoscaler to suddenly scale up or scale down. + + Whenever this parameter changes, the number of worker nodes in the node group is updated to the specified size. If this parameter is given a value that is smaller than the current number of running worker nodes, the necessary number of worker nodes are terminated to match the given value. When using CloudFormation, no action occurs if you remove this parameter from your CFN template. + + This parameter can be different from `minSize` in some cases, such as when starting with extra hosts for testing. This parameter can also be different when you want to start with an estimated number of needed hosts, but let the Cluster Autoscaler reduce the number if there are too many. When the Cluster Autoscaler is used, the `desiredSize` parameter is altered by the Cluster Autoscaler (but can be out-of-date for short periods of time). the Cluster Autoscaler doesn't scale a managed node group lower than `minSize` or higher than `maxSize` . + """ + max_size: NotRequired[pulumi.Input[int]] + """ + The maximum number of nodes that the managed node group can scale out to. For information about the maximum number that you can specify, see [Amazon EKS service quotas](https://docs.aws.amazon.com/eks/latest/userguide/service-quotas.html) in the *Amazon EKS User Guide* . + """ + min_size: NotRequired[pulumi.Input[int]] + """ + The minimum number of nodes that the managed node group can scale in to. + """ +elif False: + NodegroupScalingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NodegroupScalingConfigArgs: def __init__(__self__, *, @@ -1003,6 +1412,26 @@ def min_size(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min_size", value) +if not MYPY: + class NodegroupTaintArgsDict(TypedDict): + """ + An object representing a Taint specification for AWS EKS Nodegroup. + """ + effect: NotRequired[pulumi.Input[str]] + """ + The effect of the taint. + """ + key: NotRequired[pulumi.Input[str]] + """ + The key of the taint. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of the taint. + """ +elif False: + NodegroupTaintArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NodegroupTaintArgs: def __init__(__self__, *, @@ -1059,6 +1488,22 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class NodegroupUpdateConfigArgsDict(TypedDict): + """ + The node group update configuration. + """ + max_unavailable: NotRequired[pulumi.Input[float]] + """ + The maximum number of nodes unavailable at once during a version update. Nodes will be updated in parallel. This value or maxUnavailablePercentage is required to have a value.The maximum number is 100. + """ + max_unavailable_percentage: NotRequired[pulumi.Input[float]] + """ + The maximum percentage of nodes unavailable during a version update. This percentage of nodes will be updated in parallel, up to 100 nodes at once. This value or maxUnavailable is required to have a value. + """ +elif False: + NodegroupUpdateConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NodegroupUpdateConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/eks/access_entry.py b/sdk/python/pulumi_aws_native/eks/access_entry.py index b8a26a61fd..bbb9ef6164 100644 --- a/sdk/python/pulumi_aws_native/eks/access_entry.py +++ b/sdk/python/pulumi_aws_native/eks/access_entry.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/eks/addon.py b/sdk/python/pulumi_aws_native/eks/addon.py index c08eb75c7d..ef5ff09b54 100644 --- a/sdk/python/pulumi_aws_native/eks/addon.py +++ b/sdk/python/pulumi_aws_native/eks/addon.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/eks/cluster.py b/sdk/python/pulumi_aws_native/eks/cluster.py index 5272d8b8c9..e71a479da7 100644 --- a/sdk/python/pulumi_aws_native/eks/cluster.py +++ b/sdk/python/pulumi_aws_native/eks/cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/eks/fargate_profile.py b/sdk/python/pulumi_aws_native/eks/fargate_profile.py index a56dbf0026..ca3cd16c21 100644 --- a/sdk/python/pulumi_aws_native/eks/fargate_profile.py +++ b/sdk/python/pulumi_aws_native/eks/fargate_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/eks/get_access_entry.py b/sdk/python/pulumi_aws_native/eks/get_access_entry.py index 8b319d1d67..4e093ea755 100644 --- a/sdk/python/pulumi_aws_native/eks/get_access_entry.py +++ b/sdk/python/pulumi_aws_native/eks/get_access_entry.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -114,9 +119,6 @@ def get_access_entry(cluster_name: Optional[str] = None, kubernetes_groups=pulumi.get(__ret__, 'kubernetes_groups'), tags=pulumi.get(__ret__, 'tags'), username=pulumi.get(__ret__, 'username')) - - -@_utilities.lift_output_func(get_access_entry) def get_access_entry_output(cluster_name: Optional[pulumi.Input[str]] = None, principal_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessEntryResult]: @@ -127,4 +129,14 @@ def get_access_entry_output(cluster_name: Optional[pulumi.Input[str]] = None, :param str cluster_name: The cluster that the access entry is created for. :param str principal_arn: The principal ARN that the access entry is created for. """ - ... + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['principalArn'] = principal_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:eks:getAccessEntry', __args__, opts=opts, typ=GetAccessEntryResult) + return __ret__.apply(lambda __response__: GetAccessEntryResult( + access_entry_arn=pulumi.get(__response__, 'access_entry_arn'), + access_policies=pulumi.get(__response__, 'access_policies'), + kubernetes_groups=pulumi.get(__response__, 'kubernetes_groups'), + tags=pulumi.get(__response__, 'tags'), + username=pulumi.get(__response__, 'username'))) diff --git a/sdk/python/pulumi_aws_native/eks/get_addon.py b/sdk/python/pulumi_aws_native/eks/get_addon.py index 95e9e9864a..d70ea79a33 100644 --- a/sdk/python/pulumi_aws_native/eks/get_addon.py +++ b/sdk/python/pulumi_aws_native/eks/get_addon.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -112,9 +117,6 @@ def get_addon(addon_name: Optional[str] = None, configuration_values=pulumi.get(__ret__, 'configuration_values'), service_account_role_arn=pulumi.get(__ret__, 'service_account_role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_addon) def get_addon_output(addon_name: Optional[pulumi.Input[str]] = None, cluster_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAddonResult]: @@ -125,4 +127,14 @@ def get_addon_output(addon_name: Optional[pulumi.Input[str]] = None, :param str addon_name: Name of Addon :param str cluster_name: Name of Cluster """ - ... + __args__ = dict() + __args__['addonName'] = addon_name + __args__['clusterName'] = cluster_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:eks:getAddon', __args__, opts=opts, typ=GetAddonResult) + return __ret__.apply(lambda __response__: GetAddonResult( + addon_version=pulumi.get(__response__, 'addon_version'), + arn=pulumi.get(__response__, 'arn'), + configuration_values=pulumi.get(__response__, 'configuration_values'), + service_account_role_arn=pulumi.get(__response__, 'service_account_role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/eks/get_cluster.py b/sdk/python/pulumi_aws_native/eks/get_cluster.py index 7616e95002..588488ce7f 100644 --- a/sdk/python/pulumi_aws_native/eks/get_cluster.py +++ b/sdk/python/pulumi_aws_native/eks/get_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -227,9 +232,6 @@ def get_cluster(name: Optional[str] = None, upgrade_policy=pulumi.get(__ret__, 'upgrade_policy'), version=pulumi.get(__ret__, 'version'), zonal_shift_config=pulumi.get(__ret__, 'zonal_shift_config')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: """ @@ -238,4 +240,22 @@ def get_cluster_output(name: Optional[pulumi.Input[str]] = None, :param str name: The unique name to give to your cluster. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:eks:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + access_config=pulumi.get(__response__, 'access_config'), + arn=pulumi.get(__response__, 'arn'), + certificate_authority_data=pulumi.get(__response__, 'certificate_authority_data'), + cluster_security_group_id=pulumi.get(__response__, 'cluster_security_group_id'), + encryption_config_key_arn=pulumi.get(__response__, 'encryption_config_key_arn'), + endpoint=pulumi.get(__response__, 'endpoint'), + id=pulumi.get(__response__, 'id'), + logging=pulumi.get(__response__, 'logging'), + open_id_connect_issuer_url=pulumi.get(__response__, 'open_id_connect_issuer_url'), + resources_vpc_config=pulumi.get(__response__, 'resources_vpc_config'), + tags=pulumi.get(__response__, 'tags'), + upgrade_policy=pulumi.get(__response__, 'upgrade_policy'), + version=pulumi.get(__response__, 'version'), + zonal_shift_config=pulumi.get(__response__, 'zonal_shift_config'))) diff --git a/sdk/python/pulumi_aws_native/eks/get_fargate_profile.py b/sdk/python/pulumi_aws_native/eks/get_fargate_profile.py index 712c4d412d..6e9642c0c0 100644 --- a/sdk/python/pulumi_aws_native/eks/get_fargate_profile.py +++ b/sdk/python/pulumi_aws_native/eks/get_fargate_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -73,9 +78,6 @@ def get_fargate_profile(cluster_name: Optional[str] = None, return AwaitableGetFargateProfileResult( arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_fargate_profile) def get_fargate_profile_output(cluster_name: Optional[pulumi.Input[str]] = None, fargate_profile_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFargateProfileResult]: @@ -86,4 +88,11 @@ def get_fargate_profile_output(cluster_name: Optional[pulumi.Input[str]] = None, :param str cluster_name: Name of the Cluster :param str fargate_profile_name: Name of FargateProfile """ - ... + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['fargateProfileName'] = fargate_profile_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:eks:getFargateProfile', __args__, opts=opts, typ=GetFargateProfileResult) + return __ret__.apply(lambda __response__: GetFargateProfileResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/eks/get_identity_provider_config.py b/sdk/python/pulumi_aws_native/eks/get_identity_provider_config.py index c59454f30c..4a70742f0e 100644 --- a/sdk/python/pulumi_aws_native/eks/get_identity_provider_config.py +++ b/sdk/python/pulumi_aws_native/eks/get_identity_provider_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -77,9 +82,6 @@ def get_identity_provider_config(cluster_name: Optional[str] = None, return AwaitableGetIdentityProviderConfigResult( identity_provider_config_arn=pulumi.get(__ret__, 'identity_provider_config_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_identity_provider_config) def get_identity_provider_config_output(cluster_name: Optional[pulumi.Input[str]] = None, identity_provider_config_name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input['IdentityProviderConfigType']] = None, @@ -92,4 +94,12 @@ def get_identity_provider_config_output(cluster_name: Optional[pulumi.Input[str] :param str identity_provider_config_name: The name of the OIDC provider configuration. :param 'IdentityProviderConfigType' type: The type of the identity provider configuration. """ - ... + __args__ = dict() + __args__['clusterName'] = cluster_name + __args__['identityProviderConfigName'] = identity_provider_config_name + __args__['type'] = type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:eks:getIdentityProviderConfig', __args__, opts=opts, typ=GetIdentityProviderConfigResult) + return __ret__.apply(lambda __response__: GetIdentityProviderConfigResult( + identity_provider_config_arn=pulumi.get(__response__, 'identity_provider_config_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/eks/get_nodegroup.py b/sdk/python/pulumi_aws_native/eks/get_nodegroup.py index f9e9a6a902..d55cea750a 100644 --- a/sdk/python/pulumi_aws_native/eks/get_nodegroup.py +++ b/sdk/python/pulumi_aws_native/eks/get_nodegroup.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -168,12 +173,23 @@ def get_nodegroup(id: Optional[str] = None, taints=pulumi.get(__ret__, 'taints'), update_config=pulumi.get(__ret__, 'update_config'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_nodegroup) def get_nodegroup_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNodegroupResult]: """ Resource schema for AWS::EKS::Nodegroup """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:eks:getNodegroup', __args__, opts=opts, typ=GetNodegroupResult) + return __ret__.apply(lambda __response__: GetNodegroupResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + labels=pulumi.get(__response__, 'labels'), + launch_template=pulumi.get(__response__, 'launch_template'), + release_version=pulumi.get(__response__, 'release_version'), + scaling_config=pulumi.get(__response__, 'scaling_config'), + tags=pulumi.get(__response__, 'tags'), + taints=pulumi.get(__response__, 'taints'), + update_config=pulumi.get(__response__, 'update_config'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/eks/get_pod_identity_association.py b/sdk/python/pulumi_aws_native/eks/get_pod_identity_association.py index 8ea6c741b6..697c6245d9 100644 --- a/sdk/python/pulumi_aws_native/eks/get_pod_identity_association.py +++ b/sdk/python/pulumi_aws_native/eks/get_pod_identity_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_pod_identity_association(association_arn: Optional[str] = None, association_id=pulumi.get(__ret__, 'association_id'), role_arn=pulumi.get(__ret__, 'role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_pod_identity_association) def get_pod_identity_association_output(association_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPodIdentityAssociationResult]: """ @@ -107,4 +109,12 @@ def get_pod_identity_association_output(association_arn: Optional[pulumi.Input[s :param str association_arn: The ARN of the pod identity association. """ - ... + __args__ = dict() + __args__['associationArn'] = association_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:eks:getPodIdentityAssociation', __args__, opts=opts, typ=GetPodIdentityAssociationResult) + return __ret__.apply(lambda __response__: GetPodIdentityAssociationResult( + association_arn=pulumi.get(__response__, 'association_arn'), + association_id=pulumi.get(__response__, 'association_id'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/eks/identity_provider_config.py b/sdk/python/pulumi_aws_native/eks/identity_provider_config.py index 355744b430..cb340d9b2c 100644 --- a/sdk/python/pulumi_aws_native/eks/identity_provider_config.py +++ b/sdk/python/pulumi_aws_native/eks/identity_provider_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/eks/nodegroup.py b/sdk/python/pulumi_aws_native/eks/nodegroup.py index b8dec308ed..5823368c45 100644 --- a/sdk/python/pulumi_aws_native/eks/nodegroup.py +++ b/sdk/python/pulumi_aws_native/eks/nodegroup.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/eks/outputs.py b/sdk/python/pulumi_aws_native/eks/outputs.py index b204467baa..4ed533a442 100644 --- a/sdk/python/pulumi_aws_native/eks/outputs.py +++ b/sdk/python/pulumi_aws_native/eks/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/eks/pod_identity_association.py b/sdk/python/pulumi_aws_native/eks/pod_identity_association.py index 2a78aa1f46..e70fd7156f 100644 --- a/sdk/python/pulumi_aws_native/eks/pod_identity_association.py +++ b/sdk/python/pulumi_aws_native/eks/pod_identity_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/elasticache/_inputs.py b/sdk/python/pulumi_aws_native/elasticache/_inputs.py index ab4ba17899..241dc4a740 100644 --- a/sdk/python/pulumi_aws_native/elasticache/_inputs.py +++ b/sdk/python/pulumi_aws_native/elasticache/_inputs.py @@ -4,23 +4,59 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AuthenticationModePropertiesArgs', + 'AuthenticationModePropertiesArgsDict', 'GlobalReplicationGroupMemberArgs', + 'GlobalReplicationGroupMemberArgsDict', 'GlobalReplicationGroupRegionalConfigurationArgs', + 'GlobalReplicationGroupRegionalConfigurationArgsDict', 'GlobalReplicationGroupReshardingConfigurationArgs', + 'GlobalReplicationGroupReshardingConfigurationArgsDict', 'ServerlessCacheCacheUsageLimitsArgs', + 'ServerlessCacheCacheUsageLimitsArgsDict', 'ServerlessCacheDataStorageArgs', + 'ServerlessCacheDataStorageArgsDict', 'ServerlessCacheEcpuPerSecondArgs', + 'ServerlessCacheEcpuPerSecondArgsDict', 'ServerlessCacheEndpointArgs', + 'ServerlessCacheEndpointArgsDict', ] +MYPY = False + +if not MYPY: + class AuthenticationModePropertiesArgsDict(TypedDict): + """ + Specifies the authentication mode to use. Below is an example of the possible JSON values: + + ``` + { Passwords: ["*****", "******"] // If Type is password. + } + ``` + """ + type: pulumi.Input['UserAuthenticationModePropertiesType'] + """ + Authentication Type + """ + passwords: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Passwords used for this user account. You can create up to two passwords for each user. + """ +elif False: + AuthenticationModePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AuthenticationModePropertiesArgs: def __init__(__self__, *, @@ -65,6 +101,23 @@ def passwords(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "passwords", value) +if not MYPY: + class GlobalReplicationGroupMemberArgsDict(TypedDict): + replication_group_id: NotRequired[pulumi.Input[str]] + """ + Regionally unique identifier for the member i.e. ReplicationGroupId. + """ + replication_group_region: NotRequired[pulumi.Input[str]] + """ + The AWS region of the Global Datastore member. + """ + role: NotRequired[pulumi.Input['GlobalReplicationGroupMemberRole']] + """ + Indicates the role of the member, primary or secondary. + """ +elif False: + GlobalReplicationGroupMemberArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalReplicationGroupMemberArgs: def __init__(__self__, *, @@ -120,6 +173,23 @@ def role(self, value: Optional[pulumi.Input['GlobalReplicationGroupMemberRole']] pulumi.set(self, "role", value) +if not MYPY: + class GlobalReplicationGroupRegionalConfigurationArgsDict(TypedDict): + replication_group_id: NotRequired[pulumi.Input[str]] + """ + The replication group id of the Global Datastore member. + """ + replication_group_region: NotRequired[pulumi.Input[str]] + """ + The AWS region of the Global Datastore member. + """ + resharding_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['GlobalReplicationGroupReshardingConfigurationArgsDict']]]] + """ + A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the resharded cluster. + """ +elif False: + GlobalReplicationGroupRegionalConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalReplicationGroupRegionalConfigurationArgs: def __init__(__self__, *, @@ -175,6 +245,19 @@ def resharding_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi pulumi.set(self, "resharding_configurations", value) +if not MYPY: + class GlobalReplicationGroupReshardingConfigurationArgsDict(TypedDict): + node_group_id: NotRequired[pulumi.Input[str]] + """ + Unique identifier for the Node Group. This is either auto-generated by ElastiCache (4-digit id) or a user supplied id. + """ + preferred_availability_zones: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of preferred availability zones for the nodes of new node groups. + """ +elif False: + GlobalReplicationGroupReshardingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GlobalReplicationGroupReshardingConfigurationArgs: def __init__(__self__, *, @@ -214,6 +297,22 @@ def preferred_availability_zones(self, value: Optional[pulumi.Input[Sequence[pul pulumi.set(self, "preferred_availability_zones", value) +if not MYPY: + class ServerlessCacheCacheUsageLimitsArgsDict(TypedDict): + """ + The cache capacity limit of the Serverless Cache. + """ + data_storage: NotRequired[pulumi.Input['ServerlessCacheDataStorageArgsDict']] + """ + The maximum data storage limit in the cache, expressed in Gigabytes. + """ + ecpu_per_second: NotRequired[pulumi.Input['ServerlessCacheEcpuPerSecondArgsDict']] + """ + The number of ElastiCache Processing Units (ECPU) the cache can consume per second. + """ +elif False: + ServerlessCacheCacheUsageLimitsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServerlessCacheCacheUsageLimitsArgs: def __init__(__self__, *, @@ -254,6 +353,26 @@ def ecpu_per_second(self, value: Optional[pulumi.Input['ServerlessCacheEcpuPerSe pulumi.set(self, "ecpu_per_second", value) +if not MYPY: + class ServerlessCacheDataStorageArgsDict(TypedDict): + """ + The cached data capacity of the Serverless Cache. + """ + unit: pulumi.Input['ServerlessCacheDataStorageUnit'] + """ + The unit of cached data capacity of the Serverless Cache. + """ + maximum: NotRequired[pulumi.Input[int]] + """ + The maximum cached data capacity of the Serverless Cache. + """ + minimum: NotRequired[pulumi.Input[int]] + """ + The minimum cached data capacity of the Serverless Cache. + """ +elif False: + ServerlessCacheDataStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServerlessCacheDataStorageArgs: def __init__(__self__, *, @@ -309,6 +428,22 @@ def minimum(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "minimum", value) +if not MYPY: + class ServerlessCacheEcpuPerSecondArgsDict(TypedDict): + """ + The ECPU per second of the Serverless Cache. + """ + maximum: NotRequired[pulumi.Input[int]] + """ + The maximum ECPU per second of the Serverless Cache. + """ + minimum: NotRequired[pulumi.Input[int]] + """ + The minimum ECPU per second of the Serverless Cache. + """ +elif False: + ServerlessCacheEcpuPerSecondArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServerlessCacheEcpuPerSecondArgs: def __init__(__self__, *, @@ -349,6 +484,22 @@ def minimum(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "minimum", value) +if not MYPY: + class ServerlessCacheEndpointArgsDict(TypedDict): + """ + The address and the port. + """ + address: NotRequired[pulumi.Input[str]] + """ + Endpoint address. + """ + port: NotRequired[pulumi.Input[str]] + """ + Endpoint port. + """ +elif False: + ServerlessCacheEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServerlessCacheEndpointArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/elasticache/get_global_replication_group.py b/sdk/python/pulumi_aws_native/elasticache/get_global_replication_group.py index ab6a20270a..40a8eda08f 100644 --- a/sdk/python/pulumi_aws_native/elasticache/get_global_replication_group.py +++ b/sdk/python/pulumi_aws_native/elasticache/get_global_replication_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -110,9 +115,6 @@ def get_global_replication_group(global_replication_group_id: Optional[str] = No global_replication_group_id=pulumi.get(__ret__, 'global_replication_group_id'), members=pulumi.get(__ret__, 'members'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_global_replication_group) def get_global_replication_group_output(global_replication_group_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGlobalReplicationGroupResult]: """ @@ -121,4 +123,13 @@ def get_global_replication_group_output(global_replication_group_id: Optional[pu :param str global_replication_group_id: The name of the Global Datastore, it is generated by ElastiCache adding a prefix to GlobalReplicationGroupIdSuffix. """ - ... + __args__ = dict() + __args__['globalReplicationGroupId'] = global_replication_group_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticache:getGlobalReplicationGroup', __args__, opts=opts, typ=GetGlobalReplicationGroupResult) + return __ret__.apply(lambda __response__: GetGlobalReplicationGroupResult( + cache_parameter_group_name=pulumi.get(__response__, 'cache_parameter_group_name'), + global_replication_group_description=pulumi.get(__response__, 'global_replication_group_description'), + global_replication_group_id=pulumi.get(__response__, 'global_replication_group_id'), + members=pulumi.get(__response__, 'members'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/elasticache/get_parameter_group.py b/sdk/python/pulumi_aws_native/elasticache/get_parameter_group.py index 15caa762ad..17bcbbcc38 100644 --- a/sdk/python/pulumi_aws_native/elasticache/get_parameter_group.py +++ b/sdk/python/pulumi_aws_native/elasticache/get_parameter_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_parameter_group(cache_parameter_group_name: Optional[str] = None, description=pulumi.get(__ret__, 'description'), properties=pulumi.get(__ret__, 'properties'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_parameter_group) def get_parameter_group_output(cache_parameter_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetParameterGroupResult]: """ @@ -107,4 +109,12 @@ def get_parameter_group_output(cache_parameter_group_name: Optional[pulumi.Input :param str cache_parameter_group_name: The name of the Cache Parameter Group. """ - ... + __args__ = dict() + __args__['cacheParameterGroupName'] = cache_parameter_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticache:getParameterGroup', __args__, opts=opts, typ=GetParameterGroupResult) + return __ret__.apply(lambda __response__: GetParameterGroupResult( + cache_parameter_group_name=pulumi.get(__response__, 'cache_parameter_group_name'), + description=pulumi.get(__response__, 'description'), + properties=pulumi.get(__response__, 'properties'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/elasticache/get_serverless_cache.py b/sdk/python/pulumi_aws_native/elasticache/get_serverless_cache.py index 1a36352b73..1a68823a8c 100644 --- a/sdk/python/pulumi_aws_native/elasticache/get_serverless_cache.py +++ b/sdk/python/pulumi_aws_native/elasticache/get_serverless_cache.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -215,9 +220,6 @@ def get_serverless_cache(serverless_cache_name: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), user_group_id=pulumi.get(__ret__, 'user_group_id')) - - -@_utilities.lift_output_func(get_serverless_cache) def get_serverless_cache_output(serverless_cache_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerlessCacheResult]: """ @@ -226,4 +228,21 @@ def get_serverless_cache_output(serverless_cache_name: Optional[pulumi.Input[str :param str serverless_cache_name: The name of the Serverless Cache. This value must be unique. """ - ... + __args__ = dict() + __args__['serverlessCacheName'] = serverless_cache_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticache:getServerlessCache', __args__, opts=opts, typ=GetServerlessCacheResult) + return __ret__.apply(lambda __response__: GetServerlessCacheResult( + arn=pulumi.get(__response__, 'arn'), + cache_usage_limits=pulumi.get(__response__, 'cache_usage_limits'), + create_time=pulumi.get(__response__, 'create_time'), + daily_snapshot_time=pulumi.get(__response__, 'daily_snapshot_time'), + description=pulumi.get(__response__, 'description'), + endpoint=pulumi.get(__response__, 'endpoint'), + full_engine_version=pulumi.get(__response__, 'full_engine_version'), + reader_endpoint=pulumi.get(__response__, 'reader_endpoint'), + security_group_ids=pulumi.get(__response__, 'security_group_ids'), + snapshot_retention_limit=pulumi.get(__response__, 'snapshot_retention_limit'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + user_group_id=pulumi.get(__response__, 'user_group_id'))) diff --git a/sdk/python/pulumi_aws_native/elasticache/get_subnet_group.py b/sdk/python/pulumi_aws_native/elasticache/get_subnet_group.py index 59b3e27beb..c734a550a5 100644 --- a/sdk/python/pulumi_aws_native/elasticache/get_subnet_group.py +++ b/sdk/python/pulumi_aws_native/elasticache/get_subnet_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_subnet_group(cache_subnet_group_name: Optional[str] = None, description=pulumi.get(__ret__, 'description'), subnet_ids=pulumi.get(__ret__, 'subnet_ids'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_subnet_group) def get_subnet_group_output(cache_subnet_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubnetGroupResult]: """ @@ -94,4 +96,11 @@ def get_subnet_group_output(cache_subnet_group_name: Optional[pulumi.Input[str]] :param str cache_subnet_group_name: The name for the cache subnet group. This value is stored as a lowercase string. """ - ... + __args__ = dict() + __args__['cacheSubnetGroupName'] = cache_subnet_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticache:getSubnetGroup', __args__, opts=opts, typ=GetSubnetGroupResult) + return __ret__.apply(lambda __response__: GetSubnetGroupResult( + description=pulumi.get(__response__, 'description'), + subnet_ids=pulumi.get(__response__, 'subnet_ids'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/elasticache/get_user.py b/sdk/python/pulumi_aws_native/elasticache/get_user.py index 1103556b02..ebb713f3e6 100644 --- a/sdk/python/pulumi_aws_native/elasticache/get_user.py +++ b/sdk/python/pulumi_aws_native/elasticache/get_user.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_user(user_id: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_user) def get_user_output(user_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserResult]: """ @@ -94,4 +96,11 @@ def get_user_output(user_id: Optional[pulumi.Input[str]] = None, :param str user_id: The ID of the user. """ - ... + __args__ = dict() + __args__['userId'] = user_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticache:getUser', __args__, opts=opts, typ=GetUserResult) + return __ret__.apply(lambda __response__: GetUserResult( + arn=pulumi.get(__response__, 'arn'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/elasticache/get_user_group.py b/sdk/python/pulumi_aws_native/elasticache/get_user_group.py index 2cbb5cfb49..9fe742190d 100644 --- a/sdk/python/pulumi_aws_native/elasticache/get_user_group.py +++ b/sdk/python/pulumi_aws_native/elasticache/get_user_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_user_group(user_group_id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), user_ids=pulumi.get(__ret__, 'user_ids')) - - -@_utilities.lift_output_func(get_user_group) def get_user_group_output(user_group_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserGroupResult]: """ @@ -107,4 +109,12 @@ def get_user_group_output(user_group_id: Optional[pulumi.Input[str]] = None, :param str user_group_id: The ID of the user group. """ - ... + __args__ = dict() + __args__['userGroupId'] = user_group_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticache:getUserGroup', __args__, opts=opts, typ=GetUserGroupResult) + return __ret__.apply(lambda __response__: GetUserGroupResult( + arn=pulumi.get(__response__, 'arn'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + user_ids=pulumi.get(__response__, 'user_ids'))) diff --git a/sdk/python/pulumi_aws_native/elasticache/global_replication_group.py b/sdk/python/pulumi_aws_native/elasticache/global_replication_group.py index 55502a5e7b..a82d050833 100644 --- a/sdk/python/pulumi_aws_native/elasticache/global_replication_group.py +++ b/sdk/python/pulumi_aws_native/elasticache/global_replication_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/elasticache/outputs.py b/sdk/python/pulumi_aws_native/elasticache/outputs.py index 9f42b8bad4..aab10780d8 100644 --- a/sdk/python/pulumi_aws_native/elasticache/outputs.py +++ b/sdk/python/pulumi_aws_native/elasticache/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/elasticache/parameter_group.py b/sdk/python/pulumi_aws_native/elasticache/parameter_group.py index f17b07bf7f..08e2492c28 100644 --- a/sdk/python/pulumi_aws_native/elasticache/parameter_group.py +++ b/sdk/python/pulumi_aws_native/elasticache/parameter_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/elasticache/serverless_cache.py b/sdk/python/pulumi_aws_native/elasticache/serverless_cache.py index 0c1a6dc3fd..bc448c826d 100644 --- a/sdk/python/pulumi_aws_native/elasticache/serverless_cache.py +++ b/sdk/python/pulumi_aws_native/elasticache/serverless_cache.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/elasticache/subnet_group.py b/sdk/python/pulumi_aws_native/elasticache/subnet_group.py index 099859968f..9730fd918a 100644 --- a/sdk/python/pulumi_aws_native/elasticache/subnet_group.py +++ b/sdk/python/pulumi_aws_native/elasticache/subnet_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/elasticache/user.py b/sdk/python/pulumi_aws_native/elasticache/user.py index 80b39e18ca..c31a027049 100644 --- a/sdk/python/pulumi_aws_native/elasticache/user.py +++ b/sdk/python/pulumi_aws_native/elasticache/user.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/elasticache/user_group.py b/sdk/python/pulumi_aws_native/elasticache/user_group.py index e62bdd3f12..fa24409269 100644 --- a/sdk/python/pulumi_aws_native/elasticache/user_group.py +++ b/sdk/python/pulumi_aws_native/elasticache/user_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/elasticbeanstalk/_inputs.py b/sdk/python/pulumi_aws_native/elasticbeanstalk/_inputs.py index bd9c9197ac..15253f42a2 100644 --- a/sdk/python/pulumi_aws_native/elasticbeanstalk/_inputs.py +++ b/sdk/python/pulumi_aws_native/elasticbeanstalk/_inputs.py @@ -4,23 +4,56 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'ApplicationMaxAgeRuleArgs', + 'ApplicationMaxAgeRuleArgsDict', 'ApplicationMaxCountRuleArgs', + 'ApplicationMaxCountRuleArgsDict', 'ApplicationResourceLifecycleConfigArgs', + 'ApplicationResourceLifecycleConfigArgsDict', 'ApplicationVersionLifecycleConfigArgs', + 'ApplicationVersionLifecycleConfigArgsDict', 'ApplicationVersionSourceBundleArgs', + 'ApplicationVersionSourceBundleArgsDict', 'ConfigurationTemplateConfigurationOptionSettingArgs', + 'ConfigurationTemplateConfigurationOptionSettingArgsDict', 'ConfigurationTemplateSourceConfigurationArgs', + 'ConfigurationTemplateSourceConfigurationArgsDict', 'EnvironmentOptionSettingArgs', + 'EnvironmentOptionSettingArgsDict', 'EnvironmentTierArgs', + 'EnvironmentTierArgsDict', ] +MYPY = False + +if not MYPY: + class ApplicationMaxAgeRuleArgsDict(TypedDict): + delete_source_from_s3: NotRequired[pulumi.Input[bool]] + """ + Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Specify true to apply the rule, or false to disable it. + """ + max_age_in_days: NotRequired[pulumi.Input[int]] + """ + Specify the number of days to retain an application versions. + """ +elif False: + ApplicationMaxAgeRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationMaxAgeRuleArgs: def __init__(__self__, *, @@ -76,6 +109,23 @@ def max_age_in_days(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_age_in_days", value) +if not MYPY: + class ApplicationMaxCountRuleArgsDict(TypedDict): + delete_source_from_s3: NotRequired[pulumi.Input[bool]] + """ + Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Specify true to apply the rule, or false to disable it. + """ + max_count: NotRequired[pulumi.Input[int]] + """ + Specify the maximum number of application versions to retain. + """ +elif False: + ApplicationMaxCountRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationMaxCountRuleArgs: def __init__(__self__, *, @@ -131,6 +181,19 @@ def max_count(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_count", value) +if not MYPY: + class ApplicationResourceLifecycleConfigArgsDict(TypedDict): + service_role: NotRequired[pulumi.Input[str]] + """ + The ARN of an IAM service role that Elastic Beanstalk has permission to assume. The ServiceRole property is required the first time that you provide a ResourceLifecycleConfig for the application. After you provide it once, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again. You can, however, specify it in subsequent updates to change the Service Role to another value. + """ + version_lifecycle_config: NotRequired[pulumi.Input['ApplicationVersionLifecycleConfigArgsDict']] + """ + Defines lifecycle settings for application versions. + """ +elif False: + ApplicationResourceLifecycleConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationResourceLifecycleConfigArgs: def __init__(__self__, *, @@ -170,6 +233,19 @@ def version_lifecycle_config(self, value: Optional[pulumi.Input['ApplicationVers pulumi.set(self, "version_lifecycle_config", value) +if not MYPY: + class ApplicationVersionLifecycleConfigArgsDict(TypedDict): + max_age_rule: NotRequired[pulumi.Input['ApplicationMaxAgeRuleArgsDict']] + """ + Specify a max age rule to restrict the length of time that application versions are retained for an application. + """ + max_count_rule: NotRequired[pulumi.Input['ApplicationMaxCountRuleArgsDict']] + """ + Specify a max count rule to restrict the number of application versions that are retained for an application. + """ +elif False: + ApplicationVersionLifecycleConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationVersionLifecycleConfigArgs: def __init__(__self__, *, @@ -209,6 +285,19 @@ def max_count_rule(self, value: Optional[pulumi.Input['ApplicationMaxCountRuleAr pulumi.set(self, "max_count_rule", value) +if not MYPY: + class ApplicationVersionSourceBundleArgsDict(TypedDict): + s3_bucket: pulumi.Input[str] + """ + The Amazon S3 bucket where the data is located. + """ + s3_key: pulumi.Input[str] + """ + The Amazon S3 key where the data is located. + """ +elif False: + ApplicationVersionSourceBundleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationVersionSourceBundleArgs: def __init__(__self__, *, @@ -246,6 +335,27 @@ def s3_key(self, value: pulumi.Input[str]): pulumi.set(self, "s3_key", value) +if not MYPY: + class ConfigurationTemplateConfigurationOptionSettingArgsDict(TypedDict): + namespace: pulumi.Input[str] + """ + A unique namespace that identifies the option's associated AWS resource. + """ + option_name: pulumi.Input[str] + """ + The name of the configuration option. + """ + resource_name: NotRequired[pulumi.Input[str]] + """ + A unique resource name for the option setting. Use it for a time–based scaling configuration option. + """ + value: NotRequired[pulumi.Input[str]] + """ + The current value for the configuration option. + """ +elif False: + ConfigurationTemplateConfigurationOptionSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationTemplateConfigurationOptionSettingArgs: def __init__(__self__, *, @@ -315,6 +425,19 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ConfigurationTemplateSourceConfigurationArgsDict(TypedDict): + application_name: pulumi.Input[str] + """ + The name of the application associated with the configuration. + """ + template_name: pulumi.Input[str] + """ + The name of the configuration template. + """ +elif False: + ConfigurationTemplateSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationTemplateSourceConfigurationArgs: def __init__(__self__, *, @@ -352,6 +475,27 @@ def template_name(self, value: pulumi.Input[str]): pulumi.set(self, "template_name", value) +if not MYPY: + class EnvironmentOptionSettingArgsDict(TypedDict): + namespace: pulumi.Input[str] + """ + A unique namespace that identifies the option's associated AWS resource. + """ + option_name: pulumi.Input[str] + """ + The name of the configuration option. + """ + resource_name: NotRequired[pulumi.Input[str]] + """ + A unique resource name for the option setting. Use it for a time–based scaling configuration option. + """ + value: NotRequired[pulumi.Input[str]] + """ + The current value for the configuration option. + """ +elif False: + EnvironmentOptionSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentOptionSettingArgs: def __init__(__self__, *, @@ -421,6 +565,23 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class EnvironmentTierArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The name of this environment tier. + """ + type: NotRequired[pulumi.Input[str]] + """ + The type of this environment tier. + """ + version: NotRequired[pulumi.Input[str]] + """ + The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version. + """ +elif False: + EnvironmentTierArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentTierArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/elasticbeanstalk/application.py b/sdk/python/pulumi_aws_native/elasticbeanstalk/application.py index 029414f8ff..608184e176 100644 --- a/sdk/python/pulumi_aws_native/elasticbeanstalk/application.py +++ b/sdk/python/pulumi_aws_native/elasticbeanstalk/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/elasticbeanstalk/application_version.py b/sdk/python/pulumi_aws_native/elasticbeanstalk/application_version.py index e12a9a03d6..cfd3700418 100644 --- a/sdk/python/pulumi_aws_native/elasticbeanstalk/application_version.py +++ b/sdk/python/pulumi_aws_native/elasticbeanstalk/application_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/elasticbeanstalk/configuration_template.py b/sdk/python/pulumi_aws_native/elasticbeanstalk/configuration_template.py index 699d8ef73e..40bbaa64a1 100644 --- a/sdk/python/pulumi_aws_native/elasticbeanstalk/configuration_template.py +++ b/sdk/python/pulumi_aws_native/elasticbeanstalk/configuration_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/elasticbeanstalk/environment.py b/sdk/python/pulumi_aws_native/elasticbeanstalk/environment.py index f2071c2ad8..a09a5aa7cc 100644 --- a/sdk/python/pulumi_aws_native/elasticbeanstalk/environment.py +++ b/sdk/python/pulumi_aws_native/elasticbeanstalk/environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/elasticbeanstalk/get_application.py b/sdk/python/pulumi_aws_native/elasticbeanstalk/get_application.py index 708b28ba88..f784315f2a 100644 --- a/sdk/python/pulumi_aws_native/elasticbeanstalk/get_application.py +++ b/sdk/python/pulumi_aws_native/elasticbeanstalk/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_application(application_name: Optional[str] = None, return AwaitableGetApplicationResult( description=pulumi.get(__ret__, 'description'), resource_lifecycle_config=pulumi.get(__ret__, 'resource_lifecycle_config')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -81,4 +83,10 @@ def get_application_output(application_name: Optional[pulumi.Input[str]] = None, :param str application_name: A name for the Elastic Beanstalk application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name. """ - ... + __args__ = dict() + __args__['applicationName'] = application_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticbeanstalk:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + description=pulumi.get(__response__, 'description'), + resource_lifecycle_config=pulumi.get(__response__, 'resource_lifecycle_config'))) diff --git a/sdk/python/pulumi_aws_native/elasticbeanstalk/get_application_version.py b/sdk/python/pulumi_aws_native/elasticbeanstalk/get_application_version.py index faec1c81dc..445d0b254f 100644 --- a/sdk/python/pulumi_aws_native/elasticbeanstalk/get_application_version.py +++ b/sdk/python/pulumi_aws_native/elasticbeanstalk/get_application_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -68,9 +73,6 @@ def get_application_version(application_name: Optional[str] = None, return AwaitableGetApplicationVersionResult( description=pulumi.get(__ret__, 'description'), id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_application_version) def get_application_version_output(application_name: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationVersionResult]: @@ -80,4 +82,11 @@ def get_application_version_output(application_name: Optional[pulumi.Input[str]] :param str application_name: The name of the Elastic Beanstalk application that is associated with this application version. """ - ... + __args__ = dict() + __args__['applicationName'] = application_name + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticbeanstalk:getApplicationVersion', __args__, opts=opts, typ=GetApplicationVersionResult) + return __ret__.apply(lambda __response__: GetApplicationVersionResult( + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/elasticbeanstalk/get_configuration_template.py b/sdk/python/pulumi_aws_native/elasticbeanstalk/get_configuration_template.py index f0328684b9..247382d709 100644 --- a/sdk/python/pulumi_aws_native/elasticbeanstalk/get_configuration_template.py +++ b/sdk/python/pulumi_aws_native/elasticbeanstalk/get_configuration_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -86,9 +91,6 @@ def get_configuration_template(application_name: Optional[str] = None, description=pulumi.get(__ret__, 'description'), option_settings=pulumi.get(__ret__, 'option_settings'), template_name=pulumi.get(__ret__, 'template_name')) - - -@_utilities.lift_output_func(get_configuration_template) def get_configuration_template_output(application_name: Optional[pulumi.Input[str]] = None, template_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationTemplateResult]: @@ -99,4 +101,12 @@ def get_configuration_template_output(application_name: Optional[pulumi.Input[st :param str application_name: The name of the Elastic Beanstalk application to associate with this configuration template. :param str template_name: The name of the configuration template """ - ... + __args__ = dict() + __args__['applicationName'] = application_name + __args__['templateName'] = template_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticbeanstalk:getConfigurationTemplate', __args__, opts=opts, typ=GetConfigurationTemplateResult) + return __ret__.apply(lambda __response__: GetConfigurationTemplateResult( + description=pulumi.get(__response__, 'description'), + option_settings=pulumi.get(__response__, 'option_settings'), + template_name=pulumi.get(__response__, 'template_name'))) diff --git a/sdk/python/pulumi_aws_native/elasticbeanstalk/get_environment.py b/sdk/python/pulumi_aws_native/elasticbeanstalk/get_environment.py index b276bae1a7..4054c3337e 100644 --- a/sdk/python/pulumi_aws_native/elasticbeanstalk/get_environment.py +++ b/sdk/python/pulumi_aws_native/elasticbeanstalk/get_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -142,9 +147,6 @@ def get_environment(environment_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), tier=pulumi.get(__ret__, 'tier'), version_label=pulumi.get(__ret__, 'version_label')) - - -@_utilities.lift_output_func(get_environment) def get_environment_output(environment_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentResult]: """ @@ -153,4 +155,15 @@ def get_environment_output(environment_name: Optional[pulumi.Input[str]] = None, :param str environment_name: A unique name for the environment. """ - ... + __args__ = dict() + __args__['environmentName'] = environment_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticbeanstalk:getEnvironment', __args__, opts=opts, typ=GetEnvironmentResult) + return __ret__.apply(lambda __response__: GetEnvironmentResult( + description=pulumi.get(__response__, 'description'), + endpoint_url=pulumi.get(__response__, 'endpoint_url'), + operations_role=pulumi.get(__response__, 'operations_role'), + platform_arn=pulumi.get(__response__, 'platform_arn'), + tags=pulumi.get(__response__, 'tags'), + tier=pulumi.get(__response__, 'tier'), + version_label=pulumi.get(__response__, 'version_label'))) diff --git a/sdk/python/pulumi_aws_native/elasticbeanstalk/outputs.py b/sdk/python/pulumi_aws_native/elasticbeanstalk/outputs.py index 9270bfdc1e..7dabca0191 100644 --- a/sdk/python/pulumi_aws_native/elasticbeanstalk/outputs.py +++ b/sdk/python/pulumi_aws_native/elasticbeanstalk/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/_inputs.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/_inputs.py index fc8422793f..6ee4a4d724 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/_inputs.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/_inputs.py @@ -4,47 +4,127 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'ListenerActionArgs', + 'ListenerActionArgsDict', 'ListenerAttributeArgs', + 'ListenerAttributeArgsDict', 'ListenerAuthenticateCognitoConfigArgs', + 'ListenerAuthenticateCognitoConfigArgsDict', 'ListenerAuthenticateOidcConfigArgs', + 'ListenerAuthenticateOidcConfigArgsDict', 'ListenerCertificateArgs', + 'ListenerCertificateArgsDict', 'ListenerFixedResponseConfigArgs', + 'ListenerFixedResponseConfigArgsDict', 'ListenerForwardConfigArgs', + 'ListenerForwardConfigArgsDict', 'ListenerMutualAuthenticationArgs', + 'ListenerMutualAuthenticationArgsDict', 'ListenerRedirectConfigArgs', + 'ListenerRedirectConfigArgsDict', 'ListenerRuleActionArgs', + 'ListenerRuleActionArgsDict', 'ListenerRuleAuthenticateCognitoConfigArgs', + 'ListenerRuleAuthenticateCognitoConfigArgsDict', 'ListenerRuleAuthenticateOidcConfigArgs', + 'ListenerRuleAuthenticateOidcConfigArgsDict', 'ListenerRuleFixedResponseConfigArgs', + 'ListenerRuleFixedResponseConfigArgsDict', 'ListenerRuleForwardConfigArgs', + 'ListenerRuleForwardConfigArgsDict', 'ListenerRuleHostHeaderConfigArgs', + 'ListenerRuleHostHeaderConfigArgsDict', 'ListenerRuleHttpHeaderConfigArgs', + 'ListenerRuleHttpHeaderConfigArgsDict', 'ListenerRuleHttpRequestMethodConfigArgs', + 'ListenerRuleHttpRequestMethodConfigArgsDict', 'ListenerRulePathPatternConfigArgs', + 'ListenerRulePathPatternConfigArgsDict', 'ListenerRuleQueryStringConfigArgs', + 'ListenerRuleQueryStringConfigArgsDict', 'ListenerRuleQueryStringKeyValueArgs', + 'ListenerRuleQueryStringKeyValueArgsDict', 'ListenerRuleRedirectConfigArgs', + 'ListenerRuleRedirectConfigArgsDict', 'ListenerRuleRuleConditionArgs', + 'ListenerRuleRuleConditionArgsDict', 'ListenerRuleSourceIpConfigArgs', + 'ListenerRuleSourceIpConfigArgsDict', 'ListenerRuleTargetGroupStickinessConfigArgs', + 'ListenerRuleTargetGroupStickinessConfigArgsDict', 'ListenerRuleTargetGroupTupleArgs', + 'ListenerRuleTargetGroupTupleArgsDict', 'ListenerTargetGroupStickinessConfigArgs', + 'ListenerTargetGroupStickinessConfigArgsDict', 'ListenerTargetGroupTupleArgs', + 'ListenerTargetGroupTupleArgsDict', 'LoadBalancerAttributeArgs', + 'LoadBalancerAttributeArgsDict', 'LoadBalancerSubnetMappingArgs', + 'LoadBalancerSubnetMappingArgsDict', 'TargetGroupAttributeArgs', + 'TargetGroupAttributeArgsDict', 'TargetGroupMatcherArgs', + 'TargetGroupMatcherArgsDict', 'TargetGroupTargetDescriptionArgs', + 'TargetGroupTargetDescriptionArgsDict', 'TrustStoreRevocationRevocationContentArgs', + 'TrustStoreRevocationRevocationContentArgsDict', ] +MYPY = False + +if not MYPY: + class ListenerActionArgsDict(TypedDict): + """ + Specifies an action for a listener rule. + """ + type: pulumi.Input[str] + """ + The type of action. + """ + authenticate_cognito_config: NotRequired[pulumi.Input['ListenerAuthenticateCognitoConfigArgsDict']] + """ + [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when ``Type`` is ``authenticate-cognito``. + """ + authenticate_oidc_config: NotRequired[pulumi.Input['ListenerAuthenticateOidcConfigArgsDict']] + """ + [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when ``Type`` is ``authenticate-oidc``. + """ + fixed_response_config: NotRequired[pulumi.Input['ListenerFixedResponseConfigArgsDict']] + """ + [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when ``Type`` is ``fixed-response``. + """ + forward_config: NotRequired[pulumi.Input['ListenerForwardConfigArgsDict']] + """ + Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``. + """ + order: NotRequired[pulumi.Input[int]] + """ + The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first. + """ + redirect_config: NotRequired[pulumi.Input['ListenerRedirectConfigArgsDict']] + """ + [Application Load Balancer] Information for creating a redirect action. Specify only when ``Type`` is ``redirect``. + """ + target_group_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead. + """ +elif False: + ListenerActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerActionArgs: def __init__(__self__, *, @@ -180,6 +260,24 @@ def target_group_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_group_arn", value) +if not MYPY: + class ListenerAttributeArgsDict(TypedDict): + """ + Information about a listener attribute. + """ + key: NotRequired[pulumi.Input[str]] + """ + The name of the attribute. + The following attribute is supported by Network Load Balancers, and Gateway Load Balancers. + + ``tcp.idle_timeout.seconds`` - The tcp idle timeout value, in seconds. The valid range is 60-6000 seconds. The default is 350 seconds. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of the attribute. + """ +elif False: + ListenerAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerAttributeArgs: def __init__(__self__, *, @@ -224,6 +322,50 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ListenerAuthenticateCognitoConfigArgsDict(TypedDict): + """ + Specifies information required when integrating with Amazon Cognito to authenticate users. + """ + user_pool_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Amazon Cognito user pool. + """ + user_pool_client_id: pulumi.Input[str] + """ + The ID of the Amazon Cognito user pool client. + """ + user_pool_domain: pulumi.Input[str] + """ + The domain prefix or fully-qualified domain name of the Amazon Cognito user pool. + """ + authentication_request_extra_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The query parameters (up to 10) to include in the redirect request to the authorization endpoint. + """ + on_unauthenticated_request: NotRequired[pulumi.Input[str]] + """ + The behavior if the user is not authenticated. The following are possible values: + + deny```` - Return an HTTP 401 Unauthorized error. + + allow```` - Allow the request to be forwarded to the target. + + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value. + """ + scope: NotRequired[pulumi.Input[str]] + """ + The set of user claims to be requested from the IdP. The default is ``openid``. + To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP. + """ + session_cookie_name: NotRequired[pulumi.Input[str]] + """ + The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie. + """ + session_timeout: NotRequired[pulumi.Input[str]] + """ + The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days). + """ +elif False: + ListenerAuthenticateCognitoConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerAuthenticateCognitoConfigArgs: def __init__(__self__, *, @@ -365,6 +507,66 @@ def session_timeout(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "session_timeout", value) +if not MYPY: + class ListenerAuthenticateOidcConfigArgsDict(TypedDict): + """ + Specifies information required using an identity provide (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users. + """ + authorization_endpoint: pulumi.Input[str] + """ + The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path. + """ + client_id: pulumi.Input[str] + """ + The OAuth 2.0 client identifier. + """ + issuer: pulumi.Input[str] + """ + The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path. + """ + token_endpoint: pulumi.Input[str] + """ + The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path. + """ + user_info_endpoint: pulumi.Input[str] + """ + The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path. + """ + authentication_request_extra_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The query parameters (up to 10) to include in the redirect request to the authorization endpoint. + """ + client_secret: NotRequired[pulumi.Input[str]] + """ + The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set ``UseExistingClientSecret`` to true. + """ + on_unauthenticated_request: NotRequired[pulumi.Input[str]] + """ + The behavior if the user is not authenticated. The following are possible values: + + deny```` - Return an HTTP 401 Unauthorized error. + + allow```` - Allow the request to be forwarded to the target. + + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value. + """ + scope: NotRequired[pulumi.Input[str]] + """ + The set of user claims to be requested from the IdP. The default is ``openid``. + To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP. + """ + session_cookie_name: NotRequired[pulumi.Input[str]] + """ + The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie. + """ + session_timeout: NotRequired[pulumi.Input[str]] + """ + The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days). + """ + use_existing_client_secret: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false. + """ +elif False: + ListenerAuthenticateOidcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerAuthenticateOidcConfigArgs: def __init__(__self__, *, @@ -568,6 +770,18 @@ def use_existing_client_secret(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_existing_client_secret", value) +if not MYPY: + class ListenerCertificateArgsDict(TypedDict): + """ + Specifies an SSL server certificate to use as the default certificate for a secure listener. + """ + certificate_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the certificate. + """ +elif False: + ListenerCertificateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerCertificateArgs: def __init__(__self__, *, @@ -592,6 +806,27 @@ def certificate_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "certificate_arn", value) +if not MYPY: + class ListenerFixedResponseConfigArgsDict(TypedDict): + """ + Specifies information required when returning a custom HTTP response. + """ + status_code: pulumi.Input[str] + """ + The HTTP response code (2XX, 4XX, or 5XX). + """ + content_type: NotRequired[pulumi.Input[str]] + """ + The content type. + Valid Values: text/plain | text/css | text/html | application/javascript | application/json + """ + message_body: NotRequired[pulumi.Input[str]] + """ + The message. + """ +elif False: + ListenerFixedResponseConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerFixedResponseConfigArgs: def __init__(__self__, *, @@ -649,6 +884,22 @@ def message_body(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "message_body", value) +if not MYPY: + class ListenerForwardConfigArgsDict(TypedDict): + """ + Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``. + """ + target_group_stickiness_config: NotRequired[pulumi.Input['ListenerTargetGroupStickinessConfigArgsDict']] + """ + Information about the target group stickiness for a rule. + """ + target_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['ListenerTargetGroupTupleArgsDict']]]] + """ + Information about how traffic will be distributed between multiple target groups in a forward rule. + """ +elif False: + ListenerForwardConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerForwardConfigArgs: def __init__(__self__, *, @@ -689,6 +940,26 @@ def target_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['List pulumi.set(self, "target_groups", value) +if not MYPY: + class ListenerMutualAuthenticationArgsDict(TypedDict): + """ + Specifies the configuration information for mutual authentication. + """ + ignore_client_certificate_expiry: NotRequired[pulumi.Input[bool]] + """ + Indicates whether expired client certificates are ignored. + """ + mode: NotRequired[pulumi.Input[str]] + """ + The client certificate handling method. Options are ``off``, ``passthrough`` or ``verify``. The default value is ``off``. + """ + trust_store_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the trust store. + """ +elif False: + ListenerMutualAuthenticationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerMutualAuthenticationArgs: def __init__(__self__, *, @@ -745,6 +1016,47 @@ def trust_store_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "trust_store_arn", value) +if not MYPY: + class ListenerRedirectConfigArgsDict(TypedDict): + """ + Information about a redirect action. + A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values. + You can reuse URI components using the following reserved keywords: + + #{protocol} + + #{host} + + #{port} + + #{path} (the leading "/" is removed) + + #{query} + + For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&value=xyz". + """ + status_code: pulumi.Input[str] + """ + The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302). + """ + host: NotRequired[pulumi.Input[str]] + """ + The hostname. This component is not percent-encoded. The hostname can contain #{host}. + """ + path: NotRequired[pulumi.Input[str]] + """ + The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}. + """ + port: NotRequired[pulumi.Input[str]] + """ + The port. You can specify a value from 1 to 65535 or #{port}. + """ + protocol: NotRequired[pulumi.Input[str]] + """ + The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP. + """ + query: NotRequired[pulumi.Input[str]] + """ + The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords. + """ +elif False: + ListenerRedirectConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRedirectConfigArgs: def __init__(__self__, *, @@ -857,6 +1169,46 @@ def query(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "query", value) +if not MYPY: + class ListenerRuleActionArgsDict(TypedDict): + """ + Specifies an action for a listener rule. + """ + type: pulumi.Input[str] + """ + The type of action. + """ + authenticate_cognito_config: NotRequired[pulumi.Input['ListenerRuleAuthenticateCognitoConfigArgsDict']] + """ + [HTTPS listeners] Information for using Amazon Cognito to authenticate users. Specify only when ``Type`` is ``authenticate-cognito``. + """ + authenticate_oidc_config: NotRequired[pulumi.Input['ListenerRuleAuthenticateOidcConfigArgsDict']] + """ + [HTTPS listeners] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when ``Type`` is ``authenticate-oidc``. + """ + fixed_response_config: NotRequired[pulumi.Input['ListenerRuleFixedResponseConfigArgsDict']] + """ + [Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when ``Type`` is ``fixed-response``. + """ + forward_config: NotRequired[pulumi.Input['ListenerRuleForwardConfigArgsDict']] + """ + Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``. + """ + order: NotRequired[pulumi.Input[int]] + """ + The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first. + """ + redirect_config: NotRequired[pulumi.Input['ListenerRuleRedirectConfigArgsDict']] + """ + [Application Load Balancer] Information for creating a redirect action. Specify only when ``Type`` is ``redirect``. + """ + target_group_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to one or more target groups, use ``ForwardConfig`` instead. + """ +elif False: + ListenerRuleActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleActionArgs: def __init__(__self__, *, @@ -992,6 +1344,50 @@ def target_group_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_group_arn", value) +if not MYPY: + class ListenerRuleAuthenticateCognitoConfigArgsDict(TypedDict): + """ + Specifies information required when integrating with Amazon Cognito to authenticate users. + """ + user_pool_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Amazon Cognito user pool. + """ + user_pool_client_id: pulumi.Input[str] + """ + The ID of the Amazon Cognito user pool client. + """ + user_pool_domain: pulumi.Input[str] + """ + The domain prefix or fully-qualified domain name of the Amazon Cognito user pool. + """ + authentication_request_extra_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The query parameters (up to 10) to include in the redirect request to the authorization endpoint. + """ + on_unauthenticated_request: NotRequired[pulumi.Input[str]] + """ + The behavior if the user is not authenticated. The following are possible values: + + deny```` - Return an HTTP 401 Unauthorized error. + + allow```` - Allow the request to be forwarded to the target. + + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value. + """ + scope: NotRequired[pulumi.Input[str]] + """ + The set of user claims to be requested from the IdP. The default is ``openid``. + To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP. + """ + session_cookie_name: NotRequired[pulumi.Input[str]] + """ + The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie. + """ + session_timeout: NotRequired[pulumi.Input[int]] + """ + The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days). + """ +elif False: + ListenerRuleAuthenticateCognitoConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleAuthenticateCognitoConfigArgs: def __init__(__self__, *, @@ -1133,10 +1529,70 @@ def session_timeout(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "session_timeout", value) -@pulumi.input_type -class ListenerRuleAuthenticateOidcConfigArgs: - def __init__(__self__, *, - authorization_endpoint: pulumi.Input[str], +if not MYPY: + class ListenerRuleAuthenticateOidcConfigArgsDict(TypedDict): + """ + Specifies information required using an identity provide (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users. + """ + authorization_endpoint: pulumi.Input[str] + """ + The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path. + """ + client_id: pulumi.Input[str] + """ + The OAuth 2.0 client identifier. + """ + issuer: pulumi.Input[str] + """ + The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path. + """ + token_endpoint: pulumi.Input[str] + """ + The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path. + """ + user_info_endpoint: pulumi.Input[str] + """ + The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path. + """ + authentication_request_extra_params: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The query parameters (up to 10) to include in the redirect request to the authorization endpoint. + """ + client_secret: NotRequired[pulumi.Input[str]] + """ + The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set ``UseExistingClientSecret`` to true. + """ + on_unauthenticated_request: NotRequired[pulumi.Input[str]] + """ + The behavior if the user is not authenticated. The following are possible values: + + deny```` - Return an HTTP 401 Unauthorized error. + + allow```` - Allow the request to be forwarded to the target. + + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value. + """ + scope: NotRequired[pulumi.Input[str]] + """ + The set of user claims to be requested from the IdP. The default is ``openid``. + To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP. + """ + session_cookie_name: NotRequired[pulumi.Input[str]] + """ + The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie. + """ + session_timeout: NotRequired[pulumi.Input[int]] + """ + The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days). + """ + use_existing_client_secret: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false. + """ +elif False: + ListenerRuleAuthenticateOidcConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ListenerRuleAuthenticateOidcConfigArgs: + def __init__(__self__, *, + authorization_endpoint: pulumi.Input[str], client_id: pulumi.Input[str], issuer: pulumi.Input[str], token_endpoint: pulumi.Input[str], @@ -1336,6 +1792,27 @@ def use_existing_client_secret(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_existing_client_secret", value) +if not MYPY: + class ListenerRuleFixedResponseConfigArgsDict(TypedDict): + """ + Specifies information required when returning a custom HTTP response. + """ + status_code: pulumi.Input[str] + """ + The HTTP response code (2XX, 4XX, or 5XX). + """ + content_type: NotRequired[pulumi.Input[str]] + """ + The content type. + Valid Values: text/plain | text/css | text/html | application/javascript | application/json + """ + message_body: NotRequired[pulumi.Input[str]] + """ + The message. + """ +elif False: + ListenerRuleFixedResponseConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleFixedResponseConfigArgs: def __init__(__self__, *, @@ -1393,6 +1870,22 @@ def message_body(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "message_body", value) +if not MYPY: + class ListenerRuleForwardConfigArgsDict(TypedDict): + """ + Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when ``Type`` is ``forward``. If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``. + """ + target_group_stickiness_config: NotRequired[pulumi.Input['ListenerRuleTargetGroupStickinessConfigArgsDict']] + """ + Information about the target group stickiness for a rule. + """ + target_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['ListenerRuleTargetGroupTupleArgsDict']]]] + """ + Information about how traffic will be distributed between multiple target groups in a forward rule. + """ +elif False: + ListenerRuleForwardConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleForwardConfigArgs: def __init__(__self__, *, @@ -1433,6 +1926,19 @@ def target_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['List pulumi.set(self, "target_groups", value) +if not MYPY: + class ListenerRuleHostHeaderConfigArgsDict(TypedDict): + """ + Information about a host header condition. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The host names. The maximum size of each name is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). + If you specify multiple strings, the condition is satisfied if one of the strings matches the host name. + """ +elif False: + ListenerRuleHostHeaderConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleHostHeaderConfigArgs: def __init__(__self__, *, @@ -1459,6 +1965,25 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class ListenerRuleHttpHeaderConfigArgsDict(TypedDict): + """ + Information about an HTTP header condition. + There is a set of standard HTTP header fields. You can also define custom HTTP header fields. + """ + http_header_name: NotRequired[pulumi.Input[str]] + """ + The name of the HTTP header field. The maximum size is 40 characters. The header name is case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not supported. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The strings to compare against the value of the HTTP header. The maximum size of each string is 128 characters. The comparison strings are case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). + If the same header appears multiple times in the request, we search them in order until a match is found. + If you specify multiple strings, the condition is satisfied if one of the strings matches the value of the HTTP header. To require that all of the strings are a match, create one condition per string. + """ +elif False: + ListenerRuleHttpHeaderConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleHttpHeaderConfigArgs: def __init__(__self__, *, @@ -1504,6 +2029,20 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class ListenerRuleHttpRequestMethodConfigArgsDict(TypedDict): + """ + Information about an HTTP method condition. + HTTP defines a set of request methods, also referred to as HTTP verbs. For more information, see the [HTTP Method Registry](https://docs.aws.amazon.com/https://www.iana.org/assignments/http-methods/http-methods.xhtml). You can also define custom HTTP methods. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The name of the request method. The maximum size is 40 characters. The allowed characters are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not supported; therefore, the method name must be an exact match. + If you specify multiple strings, the condition is satisfied if one of the strings matches the HTTP request method. We recommend that you route GET and HEAD requests in the same way, because the response to a HEAD request may be cached. + """ +elif False: + ListenerRuleHttpRequestMethodConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleHttpRequestMethodConfigArgs: def __init__(__self__, *, @@ -1531,6 +2070,19 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class ListenerRulePathPatternConfigArgsDict(TypedDict): + """ + Information about a path pattern condition. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). + If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. + """ +elif False: + ListenerRulePathPatternConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRulePathPatternConfigArgs: def __init__(__self__, *, @@ -1557,6 +2109,20 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class ListenerRuleQueryStringConfigArgsDict(TypedDict): + """ + Information about a query string condition. + The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['ListenerRuleQueryStringKeyValueArgsDict']]]] + """ + The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in ``Values`` using a '\\' character. + If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string. + """ +elif False: + ListenerRuleQueryStringConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleQueryStringConfigArgs: def __init__(__self__, *, @@ -1584,6 +2150,22 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ListenerRul pulumi.set(self, "values", value) +if not MYPY: + class ListenerRuleQueryStringKeyValueArgsDict(TypedDict): + """ + Information about a key/value pair. + """ + key: NotRequired[pulumi.Input[str]] + """ + The key. You can omit the key. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value. + """ +elif False: + ListenerRuleQueryStringKeyValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleQueryStringKeyValueArgs: def __init__(__self__, *, @@ -1624,6 +2206,47 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ListenerRuleRedirectConfigArgsDict(TypedDict): + """ + Information about a redirect action. + A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values. + You can reuse URI components using the following reserved keywords: + + #{protocol} + + #{host} + + #{port} + + #{path} (the leading "/" is removed) + + #{query} + + For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&value=xyz". + """ + status_code: pulumi.Input[str] + """ + The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302). + """ + host: NotRequired[pulumi.Input[str]] + """ + The hostname. This component is not percent-encoded. The hostname can contain #{host}. + """ + path: NotRequired[pulumi.Input[str]] + """ + The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}. + """ + port: NotRequired[pulumi.Input[str]] + """ + The port. You can specify a value from 1 to 65535 or #{port}. + """ + protocol: NotRequired[pulumi.Input[str]] + """ + The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP. + """ + query: NotRequired[pulumi.Input[str]] + """ + The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords. + """ +elif False: + ListenerRuleRedirectConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleRedirectConfigArgs: def __init__(__self__, *, @@ -1736,6 +2359,64 @@ def query(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "query", value) +if not MYPY: + class ListenerRuleRuleConditionArgsDict(TypedDict): + """ + Specifies a condition for a listener rule. + """ + field: NotRequired[pulumi.Input[str]] + """ + The field in the HTTP request. The following are the possible values: + + ``http-header`` + + ``http-request-method`` + + ``host-header`` + + ``path-pattern`` + + ``query-string`` + + ``source-ip`` + """ + host_header_config: NotRequired[pulumi.Input['ListenerRuleHostHeaderConfigArgsDict']] + """ + Information for a host header condition. Specify only when ``Field`` is ``host-header``. + """ + http_header_config: NotRequired[pulumi.Input['ListenerRuleHttpHeaderConfigArgsDict']] + """ + Information for an HTTP header condition. Specify only when ``Field`` is ``http-header``. + """ + http_request_method_config: NotRequired[pulumi.Input['ListenerRuleHttpRequestMethodConfigArgsDict']] + """ + Information for an HTTP method condition. Specify only when ``Field`` is ``http-request-method``. + """ + path_pattern_config: NotRequired[pulumi.Input['ListenerRulePathPatternConfigArgsDict']] + """ + Information for a path pattern condition. Specify only when ``Field`` is ``path-pattern``. + """ + query_string_config: NotRequired[pulumi.Input['ListenerRuleQueryStringConfigArgsDict']] + """ + Information for a query string condition. Specify only when ``Field`` is ``query-string``. + """ + source_ip_config: NotRequired[pulumi.Input['ListenerRuleSourceIpConfigArgsDict']] + """ + Information for a source IP condition. Specify only when ``Field`` is ``source-ip``. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The condition value. Specify only when ``Field`` is ``host-header`` or ``path-pattern``. Alternatively, to specify multiple host names or multiple path patterns, use ``HostHeaderConfig`` or ``PathPatternConfig``. + If ``Field`` is ``host-header`` and you're not using ``HostHeaderConfig``, you can specify a single host name (for example, my.example.com). A host name is case insensitive, can be up to 128 characters in length, and can contain any of the following characters. + + A-Z, a-z, 0-9 + + - . + + * (matches 0 or more characters) + + ? (matches exactly 1 character) + + If ``Field`` is ``path-pattern`` and you're not using ``PathPatternConfig``, you can specify a single path pattern (for example, /img/*). A path pattern is case-sensitive, can be up to 128 characters in length, and can contain any of the following characters. + + A-Z, a-z, 0-9 + + _ - . $ / ~ " ' @ : + + + & (using &) + + * (matches 0 or more characters) + + ? (matches exactly 1 character) + """ +elif False: + ListenerRuleRuleConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleRuleConditionArgs: def __init__(__self__, *, @@ -1908,6 +2589,20 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class ListenerRuleSourceIpConfigArgsDict(TypedDict): + """ + Information about a source IP condition. + You can use this condition to route based on the IP address of the source that connects to the load balancer. If a client is behind a proxy, this is the IP address of the proxy not the IP address of the client. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. Wildcards are not supported. + If you specify multiple addresses, the condition is satisfied if the source IP address of the request matches one of the CIDR blocks. This condition is not satisfied by the addresses in the X-Forwarded-For header. + """ +elif False: + ListenerRuleSourceIpConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleSourceIpConfigArgs: def __init__(__self__, *, @@ -1935,6 +2630,22 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class ListenerRuleTargetGroupStickinessConfigArgsDict(TypedDict): + """ + Information about the target group stickiness for a rule. + """ + duration_seconds: NotRequired[pulumi.Input[int]] + """ + The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether target group stickiness is enabled. + """ +elif False: + ListenerRuleTargetGroupStickinessConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleTargetGroupStickinessConfigArgs: def __init__(__self__, *, @@ -1975,6 +2686,22 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class ListenerRuleTargetGroupTupleArgsDict(TypedDict): + """ + Information about how traffic will be distributed between multiple target groups in a forward rule. + """ + target_group_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the target group. + """ + weight: NotRequired[pulumi.Input[int]] + """ + The weight. The range is 0 to 999. + """ +elif False: + ListenerRuleTargetGroupTupleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerRuleTargetGroupTupleArgs: def __init__(__self__, *, @@ -2015,6 +2742,22 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class ListenerTargetGroupStickinessConfigArgsDict(TypedDict): + """ + Information about the target group stickiness for a rule. + """ + duration_seconds: NotRequired[pulumi.Input[int]] + """ + The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether target group stickiness is enabled. + """ +elif False: + ListenerTargetGroupStickinessConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerTargetGroupStickinessConfigArgs: def __init__(__self__, *, @@ -2055,6 +2798,22 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class ListenerTargetGroupTupleArgsDict(TypedDict): + """ + Information about how traffic will be distributed between multiple target groups in a forward rule. + """ + target_group_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the target group. + """ + weight: NotRequired[pulumi.Input[int]] + """ + The weight. The range is 0 to 999. + """ +elif False: + ListenerTargetGroupTupleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerTargetGroupTupleArgs: def __init__(__self__, *, @@ -2095,6 +2854,53 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class LoadBalancerAttributeArgsDict(TypedDict): + """ + Specifies an attribute for an Application Load Balancer, a Network Load Balancer, or a Gateway Load Balancer. + """ + key: NotRequired[pulumi.Input[str]] + """ + The name of the attribute. + The following attributes are supported by all load balancers: + + ``deletion_protection.enabled`` - Indicates whether deletion protection is enabled. The value is ``true`` or ``false``. The default is ``false``. + + ``load_balancing.cross_zone.enabled`` - Indicates whether cross-zone load balancing is enabled. The possible values are ``true`` and ``false``. The default for Network Load Balancers and Gateway Load Balancers is ``false``. The default for Application Load Balancers is ``true``, and cannot be changed. + + The following attributes are supported by both Application Load Balancers and Network Load Balancers: + + ``access_logs.s3.enabled`` - Indicates whether access logs are enabled. The value is ``true`` or ``false``. The default is ``false``. + + ``access_logs.s3.bucket`` - The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket. + + ``access_logs.s3.prefix`` - The prefix for the location in the S3 bucket for the access logs. + + ``ipv6.deny_all_igw_traffic`` - Blocks internet gateway (IGW) access to the load balancer. It is set to ``false`` for internet-facing load balancers and ``true`` for internal load balancers, preventing unintended access to your internal load balancer through an internet gateway. + + The following attributes are supported by only Application Load Balancers: + + ``idle_timeout.timeout_seconds`` - The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds. + + ``client_keep_alive.seconds`` - The client keep alive value, in seconds. The valid range is 60-604800 seconds. The default is 3600 seconds. + + ``connection_logs.s3.enabled`` - Indicates whether connection logs are enabled. The value is ``true`` or ``false``. The default is ``false``. + + ``connection_logs.s3.bucket`` - The name of the S3 bucket for the connection logs. This attribute is required if connection logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket. + + ``connection_logs.s3.prefix`` - The prefix for the location in the S3 bucket for the connection logs. + + ``routing.http.desync_mitigation_mode`` - Determines how the load balancer handles requests that might pose a security risk to your application. The possible values are ``monitor``, ``defensive``, and ``strictest``. The default is ``defensive``. + + ``routing.http.drop_invalid_header_fields.enabled`` - Indicates whether HTTP headers with invalid header fields are removed by the load balancer (``true``) or routed to targets (``false``). The default is ``false``. + + ``routing.http.preserve_host_header.enabled`` - Indicates whether the Application Load Balancer should preserve the ``Host`` header in the HTTP request and send it to the target without any change. The possible values are ``true`` and ``false``. The default is ``false``. + + ``routing.http.x_amzn_tls_version_and_cipher_suite.enabled`` - Indicates whether the two headers (``x-amzn-tls-version`` and ``x-amzn-tls-cipher-suite``), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. The ``x-amzn-tls-version`` header has information about the TLS protocol version negotiated with the client, and the ``x-amzn-tls-cipher-suite`` header has information about the cipher suite negotiated with the client. Both headers are in OpenSSL format. The possible values for the attribute are ``true`` and ``false``. The default is ``false``. + + ``routing.http.xff_client_port.enabled`` - Indicates whether the ``X-Forwarded-For`` header should preserve the source port that the client used to connect to the load balancer. The possible values are ``true`` and ``false``. The default is ``false``. + + ``routing.http.xff_header_processing.mode`` - Enables you to modify, preserve, or remove the ``X-Forwarded-For`` header in the HTTP request before the Application Load Balancer sends the request to the target. The possible values are ``append``, ``preserve``, and ``remove``. The default is ``append``. + + If the value is ``append``, the Application Load Balancer adds the client IP address (of the last hop) to the ``X-Forwarded-For`` header in the HTTP request before it sends it to targets. + + If the value is ``preserve`` the Application Load Balancer preserves the ``X-Forwarded-For`` header in the HTTP request, and sends it to targets without any change. + + If the value is ``remove``, the Application Load Balancer removes the ``X-Forwarded-For`` header in the HTTP request before it sends it to targets. + + + ``routing.http2.enabled`` - Indicates whether HTTP/2 is enabled. The possible values are ``true`` and ``false``. The default is ``true``. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. + + ``waf.fail_open.enabled`` - Indicates whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to AWS WAF. The possible values are ``true`` and ``false``. The default is ``false``. + + The following attributes are supported by only Network Load Balancers: + + ``dns_record.client_routing_policy`` - Indicates how traffic is distributed among the load balancer Availability Zones. The possible values are ``availability_zone_affinity`` with 100 percent zonal affinity, ``partial_availability_zone_affinity`` with 85 percent zonal affinity, and ``any_availability_zone`` with 0 percent zonal affinity. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of the attribute. + """ +elif False: + LoadBalancerAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoadBalancerAttributeArgs: def __init__(__self__, *, @@ -2197,6 +3003,30 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class LoadBalancerSubnetMappingArgsDict(TypedDict): + """ + Specifies a subnet for a load balancer. + """ + subnet_id: pulumi.Input[str] + """ + The ID of the subnet. + """ + allocation_id: NotRequired[pulumi.Input[str]] + """ + [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer. + """ + i_pv6_address: NotRequired[pulumi.Input[str]] + """ + [Network Load Balancers] The IPv6 address. + """ + private_i_pv4_address: NotRequired[pulumi.Input[str]] + """ + [Network Load Balancers] The private IPv4 address for an internal load balancer. + """ +elif False: + LoadBalancerSubnetMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoadBalancerSubnetMappingArgs: def __init__(__self__, *, @@ -2268,6 +3098,19 @@ def private_i_pv4_address(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "private_i_pv4_address", value) +if not MYPY: + class TargetGroupAttributeArgsDict(TypedDict): + key: NotRequired[pulumi.Input[str]] + """ + The value of the attribute. + """ + value: NotRequired[pulumi.Input[str]] + """ + The name of the attribute. + """ +elif False: + TargetGroupAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TargetGroupAttributeArgs: def __init__(__self__, *, @@ -2307,6 +3150,19 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class TargetGroupMatcherArgsDict(TypedDict): + grpc_code: NotRequired[pulumi.Input[str]] + """ + You can specify values between 0 and 99. You can specify multiple values, or a range of values. The default value is 12. + """ + http_code: NotRequired[pulumi.Input[str]] + """ + For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values or a range of values. + """ +elif False: + TargetGroupMatcherArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TargetGroupMatcherArgs: def __init__(__self__, *, @@ -2346,6 +3202,23 @@ def http_code(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "http_code", value) +if not MYPY: + class TargetGroupTargetDescriptionArgsDict(TypedDict): + id: pulumi.Input[str] + """ + The ID of the target. If the target type of the target group is instance, specify an instance ID. If the target type is ip, specify an IP address. If the target type is lambda, specify the ARN of the Lambda function. If the target type is alb, specify the ARN of the Application Load Balancer target. + """ + availability_zone: NotRequired[pulumi.Input[str]] + """ + An Availability Zone or all. This determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer. + """ + port: NotRequired[pulumi.Input[int]] + """ + The port on which the target is listening. If the target group protocol is GENEVE, the supported port is 6081. If the target type is alb, the targeted Application Load Balancer must have at least one listener whose port matches the target group port. Not used if the target is a Lambda function. + """ +elif False: + TargetGroupTargetDescriptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TargetGroupTargetDescriptionArgs: def __init__(__self__, *, @@ -2400,6 +3273,27 @@ def port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "port", value) +if not MYPY: + class TrustStoreRevocationRevocationContentArgsDict(TypedDict): + revocation_type: NotRequired[pulumi.Input[str]] + """ + The type of revocation file. + """ + s3_bucket: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 bucket for the revocation file. + """ + s3_key: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 path for the revocation file. + """ + s3_object_version: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 object version of the revocation file. + """ +elif False: + TrustStoreRevocationRevocationContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrustStoreRevocationRevocationContentArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_listener.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_listener.py index 77b3cb381c..77bcef81d0 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_listener.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_listener.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -165,9 +170,6 @@ def get_listener(listener_arn: Optional[str] = None, port=pulumi.get(__ret__, 'port'), protocol=pulumi.get(__ret__, 'protocol'), ssl_policy=pulumi.get(__ret__, 'ssl_policy')) - - -@_utilities.lift_output_func(get_listener) def get_listener_output(listener_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetListenerResult]: """ @@ -176,4 +178,17 @@ def get_listener_output(listener_arn: Optional[pulumi.Input[str]] = None, :param str listener_arn: The Amazon Resource Name (ARN) of the listener. """ - ... + __args__ = dict() + __args__['listenerArn'] = listener_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticloadbalancingv2:getListener', __args__, opts=opts, typ=GetListenerResult) + return __ret__.apply(lambda __response__: GetListenerResult( + alpn_policy=pulumi.get(__response__, 'alpn_policy'), + certificates=pulumi.get(__response__, 'certificates'), + default_actions=pulumi.get(__response__, 'default_actions'), + listener_arn=pulumi.get(__response__, 'listener_arn'), + listener_attributes=pulumi.get(__response__, 'listener_attributes'), + mutual_authentication=pulumi.get(__response__, 'mutual_authentication'), + port=pulumi.get(__response__, 'port'), + protocol=pulumi.get(__response__, 'protocol'), + ssl_policy=pulumi.get(__response__, 'ssl_policy'))) diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_listener_rule.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_listener_rule.py index 1c4376db48..9a35d2cc06 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_listener_rule.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_listener_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -113,9 +118,6 @@ def get_listener_rule(rule_arn: Optional[str] = None, is_default=pulumi.get(__ret__, 'is_default'), priority=pulumi.get(__ret__, 'priority'), rule_arn=pulumi.get(__ret__, 'rule_arn')) - - -@_utilities.lift_output_func(get_listener_rule) def get_listener_rule_output(rule_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetListenerRuleResult]: """ @@ -125,4 +127,13 @@ def get_listener_rule_output(rule_arn: Optional[pulumi.Input[str]] = None, :param str rule_arn: The Amazon Resource Name (ARN) of the rule. """ - ... + __args__ = dict() + __args__['ruleArn'] = rule_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticloadbalancingv2:getListenerRule', __args__, opts=opts, typ=GetListenerRuleResult) + return __ret__.apply(lambda __response__: GetListenerRuleResult( + actions=pulumi.get(__response__, 'actions'), + conditions=pulumi.get(__response__, 'conditions'), + is_default=pulumi.get(__response__, 'is_default'), + priority=pulumi.get(__response__, 'priority'), + rule_arn=pulumi.get(__response__, 'rule_arn'))) diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_load_balancer.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_load_balancer.py index 8038113d68..754e686cfb 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_load_balancer.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_load_balancer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -215,9 +220,6 @@ def get_load_balancer(load_balancer_arn: Optional[str] = None, subnet_mappings=pulumi.get(__ret__, 'subnet_mappings'), subnets=pulumi.get(__ret__, 'subnets'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_load_balancer) def get_load_balancer_output(load_balancer_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadBalancerResult]: """ @@ -226,4 +228,20 @@ def get_load_balancer_output(load_balancer_arn: Optional[pulumi.Input[str]] = No :param str load_balancer_arn: The Amazon Resource Name (ARN) of the load balancer. """ - ... + __args__ = dict() + __args__['loadBalancerArn'] = load_balancer_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticloadbalancingv2:getLoadBalancer', __args__, opts=opts, typ=GetLoadBalancerResult) + return __ret__.apply(lambda __response__: GetLoadBalancerResult( + canonical_hosted_zone_id=pulumi.get(__response__, 'canonical_hosted_zone_id'), + dns_name=pulumi.get(__response__, 'dns_name'), + enforce_security_group_inbound_rules_on_private_link_traffic=pulumi.get(__response__, 'enforce_security_group_inbound_rules_on_private_link_traffic'), + ip_address_type=pulumi.get(__response__, 'ip_address_type'), + load_balancer_arn=pulumi.get(__response__, 'load_balancer_arn'), + load_balancer_attributes=pulumi.get(__response__, 'load_balancer_attributes'), + load_balancer_full_name=pulumi.get(__response__, 'load_balancer_full_name'), + load_balancer_name=pulumi.get(__response__, 'load_balancer_name'), + security_groups=pulumi.get(__response__, 'security_groups'), + subnet_mappings=pulumi.get(__response__, 'subnet_mappings'), + subnets=pulumi.get(__response__, 'subnets'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_target_group.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_target_group.py index 03bb79e5ce..ab3dfb9844 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_target_group.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_target_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -253,9 +258,6 @@ def get_target_group(target_group_arn: Optional[str] = None, target_group_name=pulumi.get(__ret__, 'target_group_name'), targets=pulumi.get(__ret__, 'targets'), unhealthy_threshold_count=pulumi.get(__ret__, 'unhealthy_threshold_count')) - - -@_utilities.lift_output_func(get_target_group) def get_target_group_output(target_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTargetGroupResult]: """ @@ -264,4 +266,24 @@ def get_target_group_output(target_group_arn: Optional[pulumi.Input[str]] = None :param str target_group_arn: The ARN of the Target Group """ - ... + __args__ = dict() + __args__['targetGroupArn'] = target_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticloadbalancingv2:getTargetGroup', __args__, opts=opts, typ=GetTargetGroupResult) + return __ret__.apply(lambda __response__: GetTargetGroupResult( + health_check_enabled=pulumi.get(__response__, 'health_check_enabled'), + health_check_interval_seconds=pulumi.get(__response__, 'health_check_interval_seconds'), + health_check_path=pulumi.get(__response__, 'health_check_path'), + health_check_port=pulumi.get(__response__, 'health_check_port'), + health_check_protocol=pulumi.get(__response__, 'health_check_protocol'), + health_check_timeout_seconds=pulumi.get(__response__, 'health_check_timeout_seconds'), + healthy_threshold_count=pulumi.get(__response__, 'healthy_threshold_count'), + load_balancer_arns=pulumi.get(__response__, 'load_balancer_arns'), + matcher=pulumi.get(__response__, 'matcher'), + tags=pulumi.get(__response__, 'tags'), + target_group_arn=pulumi.get(__response__, 'target_group_arn'), + target_group_attributes=pulumi.get(__response__, 'target_group_attributes'), + target_group_full_name=pulumi.get(__response__, 'target_group_full_name'), + target_group_name=pulumi.get(__response__, 'target_group_name'), + targets=pulumi.get(__response__, 'targets'), + unhealthy_threshold_count=pulumi.get(__response__, 'unhealthy_threshold_count'))) diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_trust_store.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_trust_store.py index 408b7be1a0..cde5d14f85 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_trust_store.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_trust_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_trust_store(trust_store_arn: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), trust_store_arn=pulumi.get(__ret__, 'trust_store_arn')) - - -@_utilities.lift_output_func(get_trust_store) def get_trust_store_output(trust_store_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTrustStoreResult]: """ @@ -107,4 +109,12 @@ def get_trust_store_output(trust_store_arn: Optional[pulumi.Input[str]] = None, :param str trust_store_arn: The Amazon Resource Name (ARN) of the trust store. """ - ... + __args__ = dict() + __args__['trustStoreArn'] = trust_store_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticloadbalancingv2:getTrustStore', __args__, opts=opts, typ=GetTrustStoreResult) + return __ret__.apply(lambda __response__: GetTrustStoreResult( + number_of_ca_certificates=pulumi.get(__response__, 'number_of_ca_certificates'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + trust_store_arn=pulumi.get(__response__, 'trust_store_arn'))) diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_trust_store_revocation.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_trust_store_revocation.py index bb6716880a..63a94a20e3 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_trust_store_revocation.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/get_trust_store_revocation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -73,9 +78,6 @@ def get_trust_store_revocation(revocation_id: Optional[int] = None, return AwaitableGetTrustStoreRevocationResult( revocation_id=pulumi.get(__ret__, 'revocation_id'), trust_store_revocations=pulumi.get(__ret__, 'trust_store_revocations')) - - -@_utilities.lift_output_func(get_trust_store_revocation) def get_trust_store_revocation_output(revocation_id: Optional[pulumi.Input[int]] = None, trust_store_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTrustStoreRevocationResult]: @@ -86,4 +88,11 @@ def get_trust_store_revocation_output(revocation_id: Optional[pulumi.Input[int]] :param int revocation_id: The ID associated with the revocation. :param str trust_store_arn: The Amazon Resource Name (ARN) of the trust store. """ - ... + __args__ = dict() + __args__['revocationId'] = revocation_id + __args__['trustStoreArn'] = trust_store_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:elasticloadbalancingv2:getTrustStoreRevocation', __args__, opts=opts, typ=GetTrustStoreRevocationResult) + return __ret__.apply(lambda __response__: GetTrustStoreRevocationResult( + revocation_id=pulumi.get(__response__, 'revocation_id'), + trust_store_revocations=pulumi.get(__response__, 'trust_store_revocations'))) diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/listener.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/listener.py index 623dc44d6b..3645f08a82 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/listener.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/listener.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/listener_rule.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/listener_rule.py index 5ff4e8773e..45816bd4c9 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/listener_rule.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/listener_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/load_balancer.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/load_balancer.py index 7315f66f8f..3582072cc9 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/load_balancer.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/load_balancer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/outputs.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/outputs.py index 7dffd54596..ad136e6f82 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/outputs.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/target_group.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/target_group.py index fdbc65a55c..babc35d0c0 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/target_group.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/target_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/trust_store.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/trust_store.py index 8478545474..3a03b9fe52 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/trust_store.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/trust_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/trust_store_revocation.py b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/trust_store_revocation.py index fbd870aba0..8cfef1023e 100644 --- a/sdk/python/pulumi_aws_native/elasticloadbalancingv2/trust_store_revocation.py +++ b/sdk/python/pulumi_aws_native/elasticloadbalancingv2/trust_store_revocation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/emr/get_studio.py b/sdk/python/pulumi_aws_native/emr/get_studio.py index 5e1f49a5c2..cc1bd2e506 100644 --- a/sdk/python/pulumi_aws_native/emr/get_studio.py +++ b/sdk/python/pulumi_aws_native/emr/get_studio.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -174,9 +179,6 @@ def get_studio(studio_id: Optional[str] = None, subnet_ids=pulumi.get(__ret__, 'subnet_ids'), tags=pulumi.get(__ret__, 'tags'), url=pulumi.get(__ret__, 'url')) - - -@_utilities.lift_output_func(get_studio) def get_studio_output(studio_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStudioResult]: """ @@ -185,4 +187,18 @@ def get_studio_output(studio_id: Optional[pulumi.Input[str]] = None, :param str studio_id: The ID of the EMR Studio. """ - ... + __args__ = dict() + __args__['studioId'] = studio_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:emr:getStudio', __args__, opts=opts, typ=GetStudioResult) + return __ret__.apply(lambda __response__: GetStudioResult( + arn=pulumi.get(__response__, 'arn'), + default_s3_location=pulumi.get(__response__, 'default_s3_location'), + description=pulumi.get(__response__, 'description'), + idp_auth_url=pulumi.get(__response__, 'idp_auth_url'), + idp_relay_state_parameter_name=pulumi.get(__response__, 'idp_relay_state_parameter_name'), + name=pulumi.get(__response__, 'name'), + studio_id=pulumi.get(__response__, 'studio_id'), + subnet_ids=pulumi.get(__response__, 'subnet_ids'), + tags=pulumi.get(__response__, 'tags'), + url=pulumi.get(__response__, 'url'))) diff --git a/sdk/python/pulumi_aws_native/emr/get_studio_session_mapping.py b/sdk/python/pulumi_aws_native/emr/get_studio_session_mapping.py index 044fa6b71d..08fe1e504a 100644 --- a/sdk/python/pulumi_aws_native/emr/get_studio_session_mapping.py +++ b/sdk/python/pulumi_aws_native/emr/get_studio_session_mapping.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -63,9 +68,6 @@ def get_studio_session_mapping(identity_name: Optional[str] = None, return AwaitableGetStudioSessionMappingResult( session_policy_arn=pulumi.get(__ret__, 'session_policy_arn')) - - -@_utilities.lift_output_func(get_studio_session_mapping) def get_studio_session_mapping_output(identity_name: Optional[pulumi.Input[str]] = None, identity_type: Optional[pulumi.Input['StudioSessionMappingIdentityType']] = None, studio_id: Optional[pulumi.Input[str]] = None, @@ -78,4 +80,11 @@ def get_studio_session_mapping_output(identity_name: Optional[pulumi.Input[str]] :param 'StudioSessionMappingIdentityType' identity_type: Specifies whether the identity to map to the Studio is a user or a group. :param str studio_id: The ID of the Amazon EMR Studio to which the user or group will be mapped. """ - ... + __args__ = dict() + __args__['identityName'] = identity_name + __args__['identityType'] = identity_type + __args__['studioId'] = studio_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:emr:getStudioSessionMapping', __args__, opts=opts, typ=GetStudioSessionMappingResult) + return __ret__.apply(lambda __response__: GetStudioSessionMappingResult( + session_policy_arn=pulumi.get(__response__, 'session_policy_arn'))) diff --git a/sdk/python/pulumi_aws_native/emr/get_wal_workspace.py b/sdk/python/pulumi_aws_native/emr/get_wal_workspace.py index cf72bccddf..86cab64674 100644 --- a/sdk/python/pulumi_aws_native/emr/get_wal_workspace.py +++ b/sdk/python/pulumi_aws_native/emr/get_wal_workspace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -57,9 +62,6 @@ def get_wal_workspace(wal_workspace_name: Optional[str] = None, return AwaitableGetWalWorkspaceResult( tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_wal_workspace) def get_wal_workspace_output(wal_workspace_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWalWorkspaceResult]: """ @@ -68,4 +70,9 @@ def get_wal_workspace_output(wal_workspace_name: Optional[pulumi.Input[str]] = N :param str wal_workspace_name: The name of the emrwal container """ - ... + __args__ = dict() + __args__['walWorkspaceName'] = wal_workspace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:emr:getWalWorkspace', __args__, opts=opts, typ=GetWalWorkspaceResult) + return __ret__.apply(lambda __response__: GetWalWorkspaceResult( + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/emr/security_configuration.py b/sdk/python/pulumi_aws_native/emr/security_configuration.py index 5d077a18c6..1c372bf5b3 100644 --- a/sdk/python/pulumi_aws_native/emr/security_configuration.py +++ b/sdk/python/pulumi_aws_native/emr/security_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SecurityConfigurationArgs', 'SecurityConfiguration'] diff --git a/sdk/python/pulumi_aws_native/emr/studio.py b/sdk/python/pulumi_aws_native/emr/studio.py index 8b7a8f9ea9..1d7855ac8a 100644 --- a/sdk/python/pulumi_aws_native/emr/studio.py +++ b/sdk/python/pulumi_aws_native/emr/studio.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/emr/studio_session_mapping.py b/sdk/python/pulumi_aws_native/emr/studio_session_mapping.py index f3bdb54b58..acc3ebf3be 100644 --- a/sdk/python/pulumi_aws_native/emr/studio_session_mapping.py +++ b/sdk/python/pulumi_aws_native/emr/studio_session_mapping.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/emr/wal_workspace.py b/sdk/python/pulumi_aws_native/emr/wal_workspace.py index fded38161a..36707783e8 100644 --- a/sdk/python/pulumi_aws_native/emr/wal_workspace.py +++ b/sdk/python/pulumi_aws_native/emr/wal_workspace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/emrcontainers/_inputs.py b/sdk/python/pulumi_aws_native/emrcontainers/_inputs.py index 722f326e65..a2e4099967 100644 --- a/sdk/python/pulumi_aws_native/emrcontainers/_inputs.py +++ b/sdk/python/pulumi_aws_native/emrcontainers/_inputs.py @@ -4,17 +4,36 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'VirtualClusterContainerInfoArgs', + 'VirtualClusterContainerInfoArgsDict', 'VirtualClusterContainerProviderArgs', + 'VirtualClusterContainerProviderArgsDict', 'VirtualClusterEksInfoArgs', + 'VirtualClusterEksInfoArgsDict', ] +MYPY = False + +if not MYPY: + class VirtualClusterContainerInfoArgsDict(TypedDict): + eks_info: pulumi.Input['VirtualClusterEksInfoArgsDict'] + """ + The information about the Amazon EKS cluster. + """ +elif False: + VirtualClusterContainerInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VirtualClusterContainerInfoArgs: def __init__(__self__, *, @@ -37,6 +56,23 @@ def eks_info(self, value: pulumi.Input['VirtualClusterEksInfoArgs']): pulumi.set(self, "eks_info", value) +if not MYPY: + class VirtualClusterContainerProviderArgsDict(TypedDict): + id: pulumi.Input[str] + """ + The ID of the container cluster + """ + info: pulumi.Input['VirtualClusterContainerInfoArgsDict'] + """ + The information about the container cluster. + """ + type: pulumi.Input[str] + """ + The type of the container provider + """ +elif False: + VirtualClusterContainerProviderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VirtualClusterContainerProviderArgs: def __init__(__self__, *, @@ -89,6 +125,21 @@ def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) +if not MYPY: + class VirtualClusterEksInfoArgsDict(TypedDict): + namespace: pulumi.Input[str] + """ + The namespaces of the EKS cluster. + + *Minimum* : 1 + + *Maximum* : 63 + + *Pattern* : `[a-z0-9]([-a-z0-9]*[a-z0-9])?` + """ +elif False: + VirtualClusterEksInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VirtualClusterEksInfoArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/emrcontainers/get_virtual_cluster.py b/sdk/python/pulumi_aws_native/emrcontainers/get_virtual_cluster.py index acf9c1e55f..a3bd9b96e9 100644 --- a/sdk/python/pulumi_aws_native/emrcontainers/get_virtual_cluster.py +++ b/sdk/python/pulumi_aws_native/emrcontainers/get_virtual_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_virtual_cluster(id: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_virtual_cluster) def get_virtual_cluster_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualClusterResult]: """ @@ -94,4 +96,11 @@ def get_virtual_cluster_output(id: Optional[pulumi.Input[str]] = None, :param str id: Id of the virtual cluster. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:emrcontainers:getVirtualCluster', __args__, opts=opts, typ=GetVirtualClusterResult) + return __ret__.apply(lambda __response__: GetVirtualClusterResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/emrcontainers/outputs.py b/sdk/python/pulumi_aws_native/emrcontainers/outputs.py index dcce15a461..c29f2729e6 100644 --- a/sdk/python/pulumi_aws_native/emrcontainers/outputs.py +++ b/sdk/python/pulumi_aws_native/emrcontainers/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/emrcontainers/virtual_cluster.py b/sdk/python/pulumi_aws_native/emrcontainers/virtual_cluster.py index f53662b2cc..531c04fbf4 100644 --- a/sdk/python/pulumi_aws_native/emrcontainers/virtual_cluster.py +++ b/sdk/python/pulumi_aws_native/emrcontainers/virtual_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/emrserverless/_inputs.py b/sdk/python/pulumi_aws_native/emrserverless/_inputs.py index 2afdc990d7..7f2f363609 100644 --- a/sdk/python/pulumi_aws_native/emrserverless/_inputs.py +++ b/sdk/python/pulumi_aws_native/emrserverless/_inputs.py @@ -4,31 +4,66 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ApplicationAutoStartConfigurationArgs', + 'ApplicationAutoStartConfigurationArgsDict', 'ApplicationAutoStopConfigurationArgs', + 'ApplicationAutoStopConfigurationArgsDict', 'ApplicationCloudWatchLoggingConfigurationArgs', + 'ApplicationCloudWatchLoggingConfigurationArgsDict', 'ApplicationConfigurationObjectArgs', + 'ApplicationConfigurationObjectArgsDict', 'ApplicationImageConfigurationInputArgs', + 'ApplicationImageConfigurationInputArgsDict', 'ApplicationInitialCapacityConfigKeyValuePairArgs', + 'ApplicationInitialCapacityConfigKeyValuePairArgsDict', 'ApplicationInitialCapacityConfigArgs', + 'ApplicationInitialCapacityConfigArgsDict', 'ApplicationInteractiveConfigurationArgs', + 'ApplicationInteractiveConfigurationArgsDict', 'ApplicationLogTypeMapKeyValuePairArgs', + 'ApplicationLogTypeMapKeyValuePairArgsDict', 'ApplicationManagedPersistenceMonitoringConfigurationArgs', + 'ApplicationManagedPersistenceMonitoringConfigurationArgsDict', 'ApplicationMaximumAllowedResourcesArgs', + 'ApplicationMaximumAllowedResourcesArgsDict', 'ApplicationMonitoringConfigurationArgs', + 'ApplicationMonitoringConfigurationArgsDict', 'ApplicationNetworkConfigurationArgs', + 'ApplicationNetworkConfigurationArgsDict', 'ApplicationS3MonitoringConfigurationArgs', + 'ApplicationS3MonitoringConfigurationArgsDict', 'ApplicationWorkerConfigurationArgs', + 'ApplicationWorkerConfigurationArgsDict', 'ApplicationWorkerTypeSpecificationInputArgs', + 'ApplicationWorkerTypeSpecificationInputArgsDict', ] +MYPY = False + +if not MYPY: + class ApplicationAutoStartConfigurationArgsDict(TypedDict): + """ + Configuration for Auto Start of Application + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + If set to true, the Application will automatically start. Defaults to true. + """ +elif False: + ApplicationAutoStartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationAutoStartConfigurationArgs: def __init__(__self__, *, @@ -53,6 +88,22 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class ApplicationAutoStopConfigurationArgsDict(TypedDict): + """ + Configuration for Auto Stop of Application + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + If set to true, the Application will automatically stop after being idle. Defaults to true. + """ + idle_timeout_minutes: NotRequired[pulumi.Input[int]] + """ + The amount of time [in minutes] to wait before auto stopping the Application when idle. Defaults to 15 minutes. + """ +elif False: + ApplicationAutoStopConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationAutoStopConfigurationArgs: def __init__(__self__, *, @@ -93,6 +144,31 @@ def idle_timeout_minutes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "idle_timeout_minutes", value) +if not MYPY: + class ApplicationCloudWatchLoggingConfigurationArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + If set to false, CloudWatch logging will be turned off. Defaults to false. + """ + encryption_key_arn: NotRequired[pulumi.Input[str]] + """ + KMS key ARN to encrypt the logs stored in given CloudWatch log-group. + """ + log_group_name: NotRequired[pulumi.Input[str]] + """ + Log-group name to produce log-streams on CloudWatch. If undefined, logs will be produced in a default log-group /aws/emr-serverless + """ + log_stream_name_prefix: NotRequired[pulumi.Input[str]] + """ + Log-stream name prefix by which log-stream names will start in the CloudWatch Log-group. + """ + log_type_map: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationLogTypeMapKeyValuePairArgsDict']]]] + """ + The specific log-streams which need to be uploaded to CloudWatch. + """ +elif False: + ApplicationCloudWatchLoggingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationCloudWatchLoggingConfigurationArgs: def __init__(__self__, *, @@ -180,6 +256,20 @@ def log_type_map(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Appli pulumi.set(self, "log_type_map", value) +if not MYPY: + class ApplicationConfigurationObjectArgsDict(TypedDict): + """ + Configuration for a JobRun. + """ + classification: pulumi.Input[str] + """ + String with a maximum length of 1024. + """ + configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationConfigurationObjectArgsDict']]]] + properties: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] +elif False: + ApplicationConfigurationObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationConfigurationObjectArgs: def __init__(__self__, *, @@ -227,6 +317,18 @@ def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str] pulumi.set(self, "properties", value) +if not MYPY: + class ApplicationImageConfigurationInputArgsDict(TypedDict): + """ + The image configuration. + """ + image_uri: NotRequired[pulumi.Input[str]] + """ + The URI of an image in the Amazon ECR registry. This field is required when you create a new application. If you leave this field blank in an update, Amazon EMR will remove the image configuration. + """ +elif False: + ApplicationImageConfigurationInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationImageConfigurationInputArgs: def __init__(__self__, *, @@ -251,6 +353,16 @@ def image_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "image_uri", value) +if not MYPY: + class ApplicationInitialCapacityConfigKeyValuePairArgsDict(TypedDict): + key: pulumi.Input[str] + """ + Worker type for an analytics framework. + """ + value: pulumi.Input['ApplicationInitialCapacityConfigArgsDict'] +elif False: + ApplicationInitialCapacityConfigKeyValuePairArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationInitialCapacityConfigKeyValuePairArgs: def __init__(__self__, *, @@ -284,6 +396,16 @@ def value(self, value: pulumi.Input['ApplicationInitialCapacityConfigArgs']): pulumi.set(self, "value", value) +if not MYPY: + class ApplicationInitialCapacityConfigArgsDict(TypedDict): + worker_configuration: pulumi.Input['ApplicationWorkerConfigurationArgsDict'] + worker_count: pulumi.Input[int] + """ + Initial count of workers to be initialized when an Application is started. This count will be continued to be maintained until the Application is stopped + """ +elif False: + ApplicationInitialCapacityConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationInitialCapacityConfigArgs: def __init__(__self__, *, @@ -317,6 +439,19 @@ def worker_count(self, value: pulumi.Input[int]): pulumi.set(self, "worker_count", value) +if not MYPY: + class ApplicationInteractiveConfigurationArgsDict(TypedDict): + livy_endpoint_enabled: NotRequired[pulumi.Input[bool]] + """ + Enables an Apache Livy endpoint that you can connect to and run interactive jobs + """ + studio_enabled: NotRequired[pulumi.Input[bool]] + """ + Enabled you to connect an Application to Amazon EMR Studio to run interactive workloads in a notebook + """ +elif False: + ApplicationInteractiveConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationInteractiveConfigurationArgs: def __init__(__self__, *, @@ -356,6 +491,13 @@ def studio_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "studio_enabled", value) +if not MYPY: + class ApplicationLogTypeMapKeyValuePairArgsDict(TypedDict): + key: pulumi.Input[str] + value: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + ApplicationLogTypeMapKeyValuePairArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationLogTypeMapKeyValuePairArgs: def __init__(__self__, *, @@ -383,6 +525,19 @@ def value(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "value", value) +if not MYPY: + class ApplicationManagedPersistenceMonitoringConfigurationArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + If set to false, managed logging will be turned off. Defaults to true. + """ + encryption_key_arn: NotRequired[pulumi.Input[str]] + """ + KMS key ARN to encrypt the logs stored in managed persistence + """ +elif False: + ApplicationManagedPersistenceMonitoringConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationManagedPersistenceMonitoringConfigurationArgs: def __init__(__self__, *, @@ -422,6 +577,23 @@ def encryption_key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "encryption_key_arn", value) +if not MYPY: + class ApplicationMaximumAllowedResourcesArgsDict(TypedDict): + cpu: pulumi.Input[str] + """ + Per worker CPU resource. vCPU is the only supported unit and specifying vCPU is optional. + """ + memory: pulumi.Input[str] + """ + Per worker memory resource. GB is the only supported unit and specifying GB is optional. + """ + disk: NotRequired[pulumi.Input[str]] + """ + Per worker Disk resource. GB is the only supported unit and specifying GB is optional + """ +elif False: + ApplicationMaximumAllowedResourcesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationMaximumAllowedResourcesArgs: def __init__(__self__, *, @@ -475,6 +647,26 @@ def disk(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "disk", value) +if not MYPY: + class ApplicationMonitoringConfigurationArgsDict(TypedDict): + """ + Monitoring configuration for batch and interactive JobRun. + """ + cloud_watch_logging_configuration: NotRequired[pulumi.Input['ApplicationCloudWatchLoggingConfigurationArgsDict']] + """ + CloudWatch logging configurations for a JobRun. + """ + managed_persistence_monitoring_configuration: NotRequired[pulumi.Input['ApplicationManagedPersistenceMonitoringConfigurationArgsDict']] + """ + Managed log persistence configurations for a JobRun. + """ + s3_monitoring_configuration: NotRequired[pulumi.Input['ApplicationS3MonitoringConfigurationArgsDict']] + """ + S3 monitoring configurations for a JobRun. + """ +elif False: + ApplicationMonitoringConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationMonitoringConfigurationArgs: def __init__(__self__, *, @@ -531,6 +723,19 @@ def s3_monitoring_configuration(self, value: Optional[pulumi.Input['ApplicationS pulumi.set(self, "s3_monitoring_configuration", value) +if not MYPY: + class ApplicationNetworkConfigurationArgsDict(TypedDict): + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The ID of the security groups in the VPC to which you want to connect your job or application. + """ + subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The ID of the subnets in the VPC to which you want to connect your job or application. + """ +elif False: + ApplicationNetworkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationNetworkConfigurationArgs: def __init__(__self__, *, @@ -570,6 +775,16 @@ def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "subnet_ids", value) +if not MYPY: + class ApplicationS3MonitoringConfigurationArgsDict(TypedDict): + encryption_key_arn: NotRequired[pulumi.Input[str]] + """ + KMS key ARN to encrypt the logs stored in given s3 + """ + log_uri: NotRequired[pulumi.Input[str]] +elif False: + ApplicationS3MonitoringConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationS3MonitoringConfigurationArgs: def __init__(__self__, *, @@ -605,6 +820,27 @@ def log_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_uri", value) +if not MYPY: + class ApplicationWorkerConfigurationArgsDict(TypedDict): + cpu: pulumi.Input[str] + """ + Per worker CPU resource. vCPU is the only supported unit and specifying vCPU is optional. + """ + memory: pulumi.Input[str] + """ + Per worker memory resource. GB is the only supported unit and specifying GB is optional. + """ + disk: NotRequired[pulumi.Input[str]] + """ + Per worker Disk resource. GB is the only supported unit and specifying GB is optional + """ + disk_type: NotRequired[pulumi.Input[str]] + """ + Per worker DiskType resource. Shuffle optimized and Standard are only supported types and specifying diskType is optional + """ +elif False: + ApplicationWorkerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationWorkerConfigurationArgs: def __init__(__self__, *, @@ -674,6 +910,18 @@ def disk_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "disk_type", value) +if not MYPY: + class ApplicationWorkerTypeSpecificationInputArgsDict(TypedDict): + """ + The specifications for a worker type. + """ + image_configuration: NotRequired[pulumi.Input['ApplicationImageConfigurationInputArgsDict']] + """ + The image configuration for a worker type. + """ +elif False: + ApplicationWorkerTypeSpecificationInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationWorkerTypeSpecificationInputArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/emrserverless/application.py b/sdk/python/pulumi_aws_native/emrserverless/application.py index 6b3589698a..b6fdb6c15e 100644 --- a/sdk/python/pulumi_aws_native/emrserverless/application.py +++ b/sdk/python/pulumi_aws_native/emrserverless/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/emrserverless/get_application.py b/sdk/python/pulumi_aws_native/emrserverless/get_application.py index 64e53edb62..3353b02d17 100644 --- a/sdk/python/pulumi_aws_native/emrserverless/get_application.py +++ b/sdk/python/pulumi_aws_native/emrserverless/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -241,9 +246,6 @@ def get_application(application_id: Optional[str] = None, runtime_configuration=pulumi.get(__ret__, 'runtime_configuration'), tags=pulumi.get(__ret__, 'tags'), worker_type_specifications=pulumi.get(__ret__, 'worker_type_specifications')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -252,4 +254,23 @@ def get_application_output(application_id: Optional[pulumi.Input[str]] = None, :param str application_id: The ID of the EMR Serverless Application. """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:emrserverless:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + application_id=pulumi.get(__response__, 'application_id'), + architecture=pulumi.get(__response__, 'architecture'), + arn=pulumi.get(__response__, 'arn'), + auto_start_configuration=pulumi.get(__response__, 'auto_start_configuration'), + auto_stop_configuration=pulumi.get(__response__, 'auto_stop_configuration'), + image_configuration=pulumi.get(__response__, 'image_configuration'), + initial_capacity=pulumi.get(__response__, 'initial_capacity'), + interactive_configuration=pulumi.get(__response__, 'interactive_configuration'), + maximum_capacity=pulumi.get(__response__, 'maximum_capacity'), + monitoring_configuration=pulumi.get(__response__, 'monitoring_configuration'), + network_configuration=pulumi.get(__response__, 'network_configuration'), + release_label=pulumi.get(__response__, 'release_label'), + runtime_configuration=pulumi.get(__response__, 'runtime_configuration'), + tags=pulumi.get(__response__, 'tags'), + worker_type_specifications=pulumi.get(__response__, 'worker_type_specifications'))) diff --git a/sdk/python/pulumi_aws_native/emrserverless/outputs.py b/sdk/python/pulumi_aws_native/emrserverless/outputs.py index d8960caa95..9fc40fd514 100644 --- a/sdk/python/pulumi_aws_native/emrserverless/outputs.py +++ b/sdk/python/pulumi_aws_native/emrserverless/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/entityresolution/_inputs.py b/sdk/python/pulumi_aws_native/entityresolution/_inputs.py index c9cc8c7d7e..ae790725bb 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/_inputs.py +++ b/sdk/python/pulumi_aws_native/entityresolution/_inputs.py @@ -4,37 +4,95 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'IdMappingWorkflowIdMappingRuleBasedPropertiesArgs', + 'IdMappingWorkflowIdMappingRuleBasedPropertiesArgsDict', 'IdMappingWorkflowIdMappingTechniquesArgs', + 'IdMappingWorkflowIdMappingTechniquesArgsDict', 'IdMappingWorkflowInputSourceArgs', + 'IdMappingWorkflowInputSourceArgsDict', 'IdMappingWorkflowIntermediateSourceConfigurationArgs', + 'IdMappingWorkflowIntermediateSourceConfigurationArgsDict', 'IdMappingWorkflowOutputSourceArgs', + 'IdMappingWorkflowOutputSourceArgsDict', 'IdMappingWorkflowProviderPropertiesArgs', + 'IdMappingWorkflowProviderPropertiesArgsDict', 'IdMappingWorkflowRuleArgs', + 'IdMappingWorkflowRuleArgsDict', 'IdNamespaceIdMappingWorkflowPropertiesArgs', + 'IdNamespaceIdMappingWorkflowPropertiesArgsDict', 'IdNamespaceInputSourceArgs', + 'IdNamespaceInputSourceArgsDict', 'IdNamespaceNamespaceProviderPropertiesArgs', + 'IdNamespaceNamespaceProviderPropertiesArgsDict', 'IdNamespaceNamespaceRuleBasedPropertiesArgs', + 'IdNamespaceNamespaceRuleBasedPropertiesArgsDict', 'IdNamespaceRuleArgs', + 'IdNamespaceRuleArgsDict', 'MatchingWorkflowIncrementalRunConfigArgs', + 'MatchingWorkflowIncrementalRunConfigArgsDict', 'MatchingWorkflowInputSourceArgs', + 'MatchingWorkflowInputSourceArgsDict', 'MatchingWorkflowIntermediateSourceConfigurationArgs', + 'MatchingWorkflowIntermediateSourceConfigurationArgsDict', 'MatchingWorkflowOutputAttributeArgs', + 'MatchingWorkflowOutputAttributeArgsDict', 'MatchingWorkflowOutputSourceArgs', + 'MatchingWorkflowOutputSourceArgsDict', 'MatchingWorkflowProviderPropertiesArgs', + 'MatchingWorkflowProviderPropertiesArgsDict', 'MatchingWorkflowResolutionTechniquesArgs', + 'MatchingWorkflowResolutionTechniquesArgsDict', 'MatchingWorkflowRuleBasedPropertiesArgs', + 'MatchingWorkflowRuleBasedPropertiesArgsDict', 'MatchingWorkflowRuleArgs', + 'MatchingWorkflowRuleArgsDict', 'SchemaMappingSchemaInputAttributeArgs', + 'SchemaMappingSchemaInputAttributeArgsDict', ] +MYPY = False + +if not MYPY: + class IdMappingWorkflowIdMappingRuleBasedPropertiesArgsDict(TypedDict): + attribute_matching_model: pulumi.Input['IdMappingWorkflowIdMappingRuleBasedPropertiesAttributeMatchingModel'] + """ + The comparison type. You can either choose `ONE_TO_ONE` or `MANY_TO_MANY` as the `attributeMatchingModel` . + + If you choose `MANY_TO_MANY` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the `Email` field of Profile A matches the value of the `BusinessEmail` field of Profile B, the two profiles are matched on the `Email` attribute type. + + If you choose `ONE_TO_ONE` , the system can only match attributes if the sub-types are an exact match. For example, for the `Email` attribute type, the system will only consider it a match if the value of the `Email` field of Profile A matches the value of the `Email` field of Profile B. + """ + record_matching_model: pulumi.Input['IdMappingWorkflowIdMappingRuleBasedPropertiesRecordMatchingModel'] + """ + The type of matching record that is allowed to be used in an ID mapping workflow. + + If the value is set to `ONE_SOURCE_TO_ONE_TARGET` , only one record in the source can be matched to the same record in the target. + + If the value is set to `MANY_SOURCE_TO_ONE_TARGET` , multiple records in the source can be matched to one record in the target. + """ + rule_definition_type: NotRequired[pulumi.Input['IdMappingWorkflowIdMappingRuleBasedPropertiesRuleDefinitionType']] + """ + The set of rules you can use in an ID mapping workflow. The limitations specified for the source or target to define the match rules must be compatible. + """ + rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['IdMappingWorkflowRuleArgsDict']]]] + """ + The rules that can be used for ID mapping. + """ +elif False: + IdMappingWorkflowIdMappingRuleBasedPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdMappingWorkflowIdMappingRuleBasedPropertiesArgs: def __init__(__self__, *, @@ -120,6 +178,23 @@ def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IdMappingWor pulumi.set(self, "rules", value) +if not MYPY: + class IdMappingWorkflowIdMappingTechniquesArgsDict(TypedDict): + id_mapping_type: NotRequired[pulumi.Input['IdMappingWorkflowIdMappingTechniquesIdMappingType']] + """ + The type of ID mapping. + """ + provider_properties: NotRequired[pulumi.Input['IdMappingWorkflowProviderPropertiesArgsDict']] + """ + An object which defines any additional configurations required by the provider service. + """ + rule_based_properties: NotRequired[pulumi.Input['IdMappingWorkflowIdMappingRuleBasedPropertiesArgsDict']] + """ + An object which defines any additional configurations required by rule-based matching. + """ +elif False: + IdMappingWorkflowIdMappingTechniquesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdMappingWorkflowIdMappingTechniquesArgs: def __init__(__self__, *, @@ -175,6 +250,27 @@ def rule_based_properties(self, value: Optional[pulumi.Input['IdMappingWorkflowI pulumi.set(self, "rule_based_properties", value) +if not MYPY: + class IdMappingWorkflowInputSourceArgsDict(TypedDict): + input_source_arn: pulumi.Input[str] + """ + An Glue table ARN for the input source table, MatchingWorkflow arn or IdNamespace ARN + """ + schema_arn: NotRequired[pulumi.Input[str]] + """ + The ARN (Amazon Resource Name) that AWS Entity Resolution generated for the `SchemaMapping` . + """ + type: NotRequired[pulumi.Input['IdMappingWorkflowInputSourceType']] + """ + The type of ID namespace. There are two types: `SOURCE` and `TARGET` . + + The `SOURCE` contains configurations for `sourceId` data that will be processed in an ID mapping workflow. + + The `TARGET` contains a configuration of `targetId` which all `sourceIds` will resolve to. + """ +elif False: + IdMappingWorkflowInputSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdMappingWorkflowInputSourceArgs: def __init__(__self__, *, @@ -237,6 +333,15 @@ def type(self, value: Optional[pulumi.Input['IdMappingWorkflowInputSourceType']] pulumi.set(self, "type", value) +if not MYPY: + class IdMappingWorkflowIntermediateSourceConfigurationArgsDict(TypedDict): + intermediate_s3_path: pulumi.Input[str] + """ + The s3 path that would be used to stage the intermediate data being generated during workflow execution. + """ +elif False: + IdMappingWorkflowIntermediateSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdMappingWorkflowIntermediateSourceConfigurationArgs: def __init__(__self__, *, @@ -259,6 +364,19 @@ def intermediate_s3_path(self, value: pulumi.Input[str]): pulumi.set(self, "intermediate_s3_path", value) +if not MYPY: + class IdMappingWorkflowOutputSourceArgsDict(TypedDict): + output_s3_path: pulumi.Input[str] + """ + The S3 path to which Entity Resolution will write the output table + """ + kms_arn: NotRequired[pulumi.Input[str]] + """ + Customer AWS KMS ARN for encryption at rest. If not provided, system will use an AWS Entity Resolution managed KMS key. + """ +elif False: + IdMappingWorkflowOutputSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdMappingWorkflowOutputSourceArgs: def __init__(__self__, *, @@ -297,6 +415,23 @@ def kms_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_arn", value) +if not MYPY: + class IdMappingWorkflowProviderPropertiesArgsDict(TypedDict): + provider_service_arn: pulumi.Input[str] + """ + Arn of the Provider Service being used. + """ + intermediate_source_configuration: NotRequired[pulumi.Input['IdMappingWorkflowIntermediateSourceConfigurationArgsDict']] + """ + The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently. + """ + provider_configuration: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format + """ +elif False: + IdMappingWorkflowProviderPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdMappingWorkflowProviderPropertiesArgs: def __init__(__self__, *, @@ -351,6 +486,19 @@ def provider_configuration(self, value: Optional[pulumi.Input[Mapping[str, pulum pulumi.set(self, "provider_configuration", value) +if not MYPY: + class IdMappingWorkflowRuleArgsDict(TypedDict): + matching_keys: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of `MatchingKeys` . The `MatchingKeys` must have been defined in the `SchemaMapping` . Two records are considered to match according to this rule if all of the `MatchingKeys` match. + """ + rule_name: pulumi.Input[str] + """ + A name for the matching rule. + """ +elif False: + IdMappingWorkflowRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdMappingWorkflowRuleArgs: def __init__(__self__, *, @@ -388,6 +536,23 @@ def rule_name(self, value: pulumi.Input[str]): pulumi.set(self, "rule_name", value) +if not MYPY: + class IdNamespaceIdMappingWorkflowPropertiesArgsDict(TypedDict): + id_mapping_type: pulumi.Input['IdNamespaceIdMappingWorkflowPropertiesIdMappingType'] + """ + The type of ID mapping. + """ + provider_properties: NotRequired[pulumi.Input['IdNamespaceNamespaceProviderPropertiesArgsDict']] + """ + An object which defines any additional configurations required by the provider service. + """ + rule_based_properties: NotRequired[pulumi.Input['IdNamespaceNamespaceRuleBasedPropertiesArgsDict']] + """ + An object which defines any additional configurations required by rule-based matching. + """ +elif False: + IdNamespaceIdMappingWorkflowPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdNamespaceIdMappingWorkflowPropertiesArgs: def __init__(__self__, *, @@ -442,6 +607,19 @@ def rule_based_properties(self, value: Optional[pulumi.Input['IdNamespaceNamespa pulumi.set(self, "rule_based_properties", value) +if not MYPY: + class IdNamespaceInputSourceArgsDict(TypedDict): + input_source_arn: pulumi.Input[str] + """ + An AWS Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table. + """ + schema_name: NotRequired[pulumi.Input[str]] + """ + The name of the schema. + """ +elif False: + IdNamespaceInputSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdNamespaceInputSourceArgs: def __init__(__self__, *, @@ -480,6 +658,19 @@ def schema_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "schema_name", value) +if not MYPY: + class IdNamespaceNamespaceProviderPropertiesArgsDict(TypedDict): + provider_service_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the provider service. + """ + provider_configuration: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format. + """ +elif False: + IdNamespaceNamespaceProviderPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdNamespaceNamespaceProviderPropertiesArgs: def __init__(__self__, *, @@ -518,6 +709,35 @@ def provider_configuration(self, value: Optional[pulumi.Input[Mapping[str, pulum pulumi.set(self, "provider_configuration", value) +if not MYPY: + class IdNamespaceNamespaceRuleBasedPropertiesArgsDict(TypedDict): + attribute_matching_model: NotRequired[pulumi.Input['IdNamespaceNamespaceRuleBasedPropertiesAttributeMatchingModel']] + """ + The comparison type. You can either choose `ONE_TO_ONE` or `MANY_TO_MANY` as the `attributeMatchingModel` . + + If you choose `MANY_TO_MANY` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the `Email` field of Profile A matches the value of `BusinessEmail` field of Profile B, the two profiles are matched on the `Email` attribute type. + + If you choose `ONE_TO_ONE` , the system can only match attributes if the sub-types are an exact match. For example, for the `Email` attribute type, the system will only consider it a match if the value of the `Email` field of Profile A matches the value of the `Email` field of Profile B. + """ + record_matching_models: NotRequired[pulumi.Input[Sequence[pulumi.Input['IdNamespaceRecordMatchingModel']]]] + """ + The type of matching record that is allowed to be used in an ID mapping workflow. + + If the value is set to `ONE_SOURCE_TO_ONE_TARGET` , only one record in the source is matched to one record in the target. + + If the value is set to `MANY_SOURCE_TO_ONE_TARGET` , all matching records in the source are matched to one record in the target. + """ + rule_definition_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['IdNamespaceRuleDefinitionType']]]] + """ + The sets of rules you can use in an ID mapping workflow. The limitations specified for the source and target must be compatible. + """ + rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['IdNamespaceRuleArgsDict']]]] + """ + The rules for the ID namespace. + """ +elif False: + IdNamespaceNamespaceRuleBasedPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdNamespaceNamespaceRuleBasedPropertiesArgs: def __init__(__self__, *, @@ -605,6 +825,19 @@ def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IdNamespaceR pulumi.set(self, "rules", value) +if not MYPY: + class IdNamespaceRuleArgsDict(TypedDict): + matching_keys: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of `MatchingKeys` . The `MatchingKeys` must have been defined in the `SchemaMapping` . Two records are considered to match according to this rule if all of the `MatchingKeys` match. + """ + rule_name: pulumi.Input[str] + """ + A name for the matching rule. + """ +elif False: + IdNamespaceRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdNamespaceRuleArgs: def __init__(__self__, *, @@ -642,6 +875,15 @@ def rule_name(self, value: pulumi.Input[str]): pulumi.set(self, "rule_name", value) +if not MYPY: + class MatchingWorkflowIncrementalRunConfigArgsDict(TypedDict): + incremental_run_type: pulumi.Input['MatchingWorkflowIncrementalRunConfigIncrementalRunType'] + """ + The type of incremental run. It takes only one value: `IMMEDIATE` . + """ +elif False: + MatchingWorkflowIncrementalRunConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MatchingWorkflowIncrementalRunConfigArgs: def __init__(__self__, *, @@ -664,6 +906,23 @@ def incremental_run_type(self, value: pulumi.Input['MatchingWorkflowIncrementalR pulumi.set(self, "incremental_run_type", value) +if not MYPY: + class MatchingWorkflowInputSourceArgsDict(TypedDict): + input_source_arn: pulumi.Input[str] + """ + An Glue table ARN for the input source table + """ + schema_arn: pulumi.Input[str] + """ + The name of the schema. + """ + apply_normalization: NotRequired[pulumi.Input[bool]] + """ + Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an `AttributeType` of `PHONE_NUMBER` , and the data in the input table is in a format of 1234567890, AWS Entity Resolution will normalize this field in the output to (123)-456-7890. + """ +elif False: + MatchingWorkflowInputSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MatchingWorkflowInputSourceArgs: def __init__(__self__, *, @@ -717,6 +976,15 @@ def apply_normalization(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "apply_normalization", value) +if not MYPY: + class MatchingWorkflowIntermediateSourceConfigurationArgsDict(TypedDict): + intermediate_s3_path: pulumi.Input[str] + """ + The s3 path that would be used to stage the intermediate data being generated during workflow execution. + """ +elif False: + MatchingWorkflowIntermediateSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MatchingWorkflowIntermediateSourceConfigurationArgs: def __init__(__self__, *, @@ -739,6 +1007,19 @@ def intermediate_s3_path(self, value: pulumi.Input[str]): pulumi.set(self, "intermediate_s3_path", value) +if not MYPY: + class MatchingWorkflowOutputAttributeArgsDict(TypedDict): + name: pulumi.Input[str] + """ + A name of a column to be written to the output. This must be an `InputField` name in the schema mapping. + """ + hashed: NotRequired[pulumi.Input[bool]] + """ + Enables the ability to hash the column values in the output. + """ +elif False: + MatchingWorkflowOutputAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MatchingWorkflowOutputAttributeArgs: def __init__(__self__, *, @@ -777,6 +1058,27 @@ def hashed(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "hashed", value) +if not MYPY: + class MatchingWorkflowOutputSourceArgsDict(TypedDict): + output: pulumi.Input[Sequence[pulumi.Input['MatchingWorkflowOutputAttributeArgsDict']]] + """ + A list of `OutputAttribute` objects, each of which have the fields `Name` and `Hashed` . Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed. + """ + output_s3_path: pulumi.Input[str] + """ + The S3 path to which Entity Resolution will write the output table + """ + apply_normalization: NotRequired[pulumi.Input[bool]] + """ + Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an `AttributeType` of `PHONE_NUMBER` , and the data in the input table is in a format of 1234567890, AWS Entity Resolution will normalize this field in the output to (123)-456-7890. + """ + kms_arn: NotRequired[pulumi.Input[str]] + """ + Customer KMS ARN for encryption at rest. If not provided, system will use an AWS Entity Resolution managed KMS key. + """ +elif False: + MatchingWorkflowOutputSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MatchingWorkflowOutputSourceArgs: def __init__(__self__, *, @@ -846,6 +1148,23 @@ def kms_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_arn", value) +if not MYPY: + class MatchingWorkflowProviderPropertiesArgsDict(TypedDict): + provider_service_arn: pulumi.Input[str] + """ + Arn of the Provider service being used. + """ + intermediate_source_configuration: NotRequired[pulumi.Input['MatchingWorkflowIntermediateSourceConfigurationArgsDict']] + """ + The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently. + """ + provider_configuration: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Additional Provider configuration that would be required for the provider service. The Configuration must be in JSON string format + """ +elif False: + MatchingWorkflowProviderPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MatchingWorkflowProviderPropertiesArgs: def __init__(__self__, *, @@ -900,6 +1219,23 @@ def provider_configuration(self, value: Optional[pulumi.Input[Mapping[str, pulum pulumi.set(self, "provider_configuration", value) +if not MYPY: + class MatchingWorkflowResolutionTechniquesArgsDict(TypedDict): + provider_properties: NotRequired[pulumi.Input['MatchingWorkflowProviderPropertiesArgsDict']] + """ + The properties of the provider service. + """ + resolution_type: NotRequired[pulumi.Input['MatchingWorkflowResolutionType']] + """ + The type of matching. There are three types of matching: `RULE_MATCHING` , `ML_MATCHING` , and `PROVIDER` . + """ + rule_based_properties: NotRequired[pulumi.Input['MatchingWorkflowRuleBasedPropertiesArgsDict']] + """ + An object which defines the list of matching rules to run and has a field `Rules` , which is a list of rule objects. + """ +elif False: + MatchingWorkflowResolutionTechniquesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MatchingWorkflowResolutionTechniquesArgs: def __init__(__self__, *, @@ -955,6 +1291,31 @@ def rule_based_properties(self, value: Optional[pulumi.Input['MatchingWorkflowRu pulumi.set(self, "rule_based_properties", value) +if not MYPY: + class MatchingWorkflowRuleBasedPropertiesArgsDict(TypedDict): + attribute_matching_model: pulumi.Input['MatchingWorkflowRuleBasedPropertiesAttributeMatchingModel'] + """ + The comparison type. You can either choose `ONE_TO_ONE` or `MANY_TO_MANY` as the `attributeMatchingModel` . + + If you choose `MANY_TO_MANY` , the system can match attributes across the sub-types of an attribute type. For example, if the value of the `Email` field of Profile A and the value of `BusinessEmail` field of Profile B matches, the two profiles are matched on the `Email` attribute type. + + If you choose `ONE_TO_ONE` , the system can only match attributes if the sub-types are an exact match. For example, for the `Email` attribute type, the system will only consider it a match if the value of the `Email` field of Profile A matches the value of the `Email` field of Profile B. + """ + rules: pulumi.Input[Sequence[pulumi.Input['MatchingWorkflowRuleArgsDict']]] + """ + A list of `Rule` objects, each of which have fields `RuleName` and `MatchingKeys` . + """ + match_purpose: NotRequired[pulumi.Input['MatchingWorkflowRuleBasedPropertiesMatchPurpose']] + """ + An indicator of whether to generate IDs and index the data or not. + + If you choose `IDENTIFIER_GENERATION` , the process generates IDs and indexes the data. + + If you choose `INDEXING` , the process indexes the data without generating IDs. + """ +elif False: + MatchingWorkflowRuleBasedPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MatchingWorkflowRuleBasedPropertiesArgs: def __init__(__self__, *, @@ -1024,6 +1385,19 @@ def match_purpose(self, value: Optional[pulumi.Input['MatchingWorkflowRuleBasedP pulumi.set(self, "match_purpose", value) +if not MYPY: + class MatchingWorkflowRuleArgsDict(TypedDict): + matching_keys: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of `MatchingKeys` . The `MatchingKeys` must have been defined in the `SchemaMapping` . Two records are considered to match according to this rule if all of the `MatchingKeys` match. + """ + rule_name: pulumi.Input[str] + """ + A name for the matching rule. + """ +elif False: + MatchingWorkflowRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MatchingWorkflowRuleArgs: def __init__(__self__, *, @@ -1061,6 +1435,20 @@ def rule_name(self, value: pulumi.Input[str]): pulumi.set(self, "rule_name", value) +if not MYPY: + class SchemaMappingSchemaInputAttributeArgsDict(TypedDict): + field_name: pulumi.Input[str] + type: pulumi.Input['SchemaMappingSchemaAttributeType'] + group_name: NotRequired[pulumi.Input[str]] + hashed: NotRequired[pulumi.Input[bool]] + match_key: NotRequired[pulumi.Input[str]] + sub_type: NotRequired[pulumi.Input[str]] + """ + The subtype of the Attribute. Would be required only when type is PROVIDER_ID + """ +elif False: + SchemaMappingSchemaInputAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SchemaMappingSchemaInputAttributeArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/entityresolution/get_id_mapping_workflow.py b/sdk/python/pulumi_aws_native/entityresolution/get_id_mapping_workflow.py index a4ad096fce..d041ab9b73 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/get_id_mapping_workflow.py +++ b/sdk/python/pulumi_aws_native/entityresolution/get_id_mapping_workflow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -154,9 +159,6 @@ def get_id_mapping_workflow(workflow_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at'), workflow_arn=pulumi.get(__ret__, 'workflow_arn')) - - -@_utilities.lift_output_func(get_id_mapping_workflow) def get_id_mapping_workflow_output(workflow_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIdMappingWorkflowResult]: """ @@ -165,4 +167,17 @@ def get_id_mapping_workflow_output(workflow_name: Optional[pulumi.Input[str]] = :param str workflow_name: The name of the IdMappingWorkflow """ - ... + __args__ = dict() + __args__['workflowName'] = workflow_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:entityresolution:getIdMappingWorkflow', __args__, opts=opts, typ=GetIdMappingWorkflowResult) + return __ret__.apply(lambda __response__: GetIdMappingWorkflowResult( + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + id_mapping_techniques=pulumi.get(__response__, 'id_mapping_techniques'), + input_source_config=pulumi.get(__response__, 'input_source_config'), + output_source_config=pulumi.get(__response__, 'output_source_config'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'), + workflow_arn=pulumi.get(__response__, 'workflow_arn'))) diff --git a/sdk/python/pulumi_aws_native/entityresolution/get_id_namespace.py b/sdk/python/pulumi_aws_native/entityresolution/get_id_namespace.py index 7d4cf70d2c..482c4e7443 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/get_id_namespace.py +++ b/sdk/python/pulumi_aws_native/entityresolution/get_id_namespace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -167,9 +172,6 @@ def get_id_namespace(id_namespace_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_id_namespace) def get_id_namespace_output(id_namespace_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIdNamespaceResult]: """ @@ -178,4 +180,17 @@ def get_id_namespace_output(id_namespace_name: Optional[pulumi.Input[str]] = Non :param str id_namespace_name: The name of the ID namespace. """ - ... + __args__ = dict() + __args__['idNamespaceName'] = id_namespace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:entityresolution:getIdNamespace', __args__, opts=opts, typ=GetIdNamespaceResult) + return __ret__.apply(lambda __response__: GetIdNamespaceResult( + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + id_mapping_workflow_properties=pulumi.get(__response__, 'id_mapping_workflow_properties'), + id_namespace_arn=pulumi.get(__response__, 'id_namespace_arn'), + input_source_config=pulumi.get(__response__, 'input_source_config'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/entityresolution/get_matching_workflow.py b/sdk/python/pulumi_aws_native/entityresolution/get_matching_workflow.py index a59e940b9e..16a6ca4cad 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/get_matching_workflow.py +++ b/sdk/python/pulumi_aws_native/entityresolution/get_matching_workflow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -167,9 +172,6 @@ def get_matching_workflow(workflow_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at'), workflow_arn=pulumi.get(__ret__, 'workflow_arn')) - - -@_utilities.lift_output_func(get_matching_workflow) def get_matching_workflow_output(workflow_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMatchingWorkflowResult]: """ @@ -178,4 +180,18 @@ def get_matching_workflow_output(workflow_name: Optional[pulumi.Input[str]] = No :param str workflow_name: The name of the MatchingWorkflow """ - ... + __args__ = dict() + __args__['workflowName'] = workflow_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:entityresolution:getMatchingWorkflow', __args__, opts=opts, typ=GetMatchingWorkflowResult) + return __ret__.apply(lambda __response__: GetMatchingWorkflowResult( + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + incremental_run_config=pulumi.get(__response__, 'incremental_run_config'), + input_source_config=pulumi.get(__response__, 'input_source_config'), + output_source_config=pulumi.get(__response__, 'output_source_config'), + resolution_techniques=pulumi.get(__response__, 'resolution_techniques'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'), + workflow_arn=pulumi.get(__response__, 'workflow_arn'))) diff --git a/sdk/python/pulumi_aws_native/entityresolution/get_policy_statement.py b/sdk/python/pulumi_aws_native/entityresolution/get_policy_statement.py index 5b58ba5561..3d4445a335 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/get_policy_statement.py +++ b/sdk/python/pulumi_aws_native/entityresolution/get_policy_statement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -103,9 +108,6 @@ def get_policy_statement(arn: Optional[str] = None, condition=pulumi.get(__ret__, 'condition'), effect=pulumi.get(__ret__, 'effect'), principal=pulumi.get(__ret__, 'principal')) - - -@_utilities.lift_output_func(get_policy_statement) def get_policy_statement_output(arn: Optional[pulumi.Input[str]] = None, statement_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyStatementResult]: @@ -116,4 +118,13 @@ def get_policy_statement_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the resource that will be accessed by the principal. :param str statement_id: A statement identifier that differentiates the statement from others in the same policy. """ - ... + __args__ = dict() + __args__['arn'] = arn + __args__['statementId'] = statement_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:entityresolution:getPolicyStatement', __args__, opts=opts, typ=GetPolicyStatementResult) + return __ret__.apply(lambda __response__: GetPolicyStatementResult( + action=pulumi.get(__response__, 'action'), + condition=pulumi.get(__response__, 'condition'), + effect=pulumi.get(__response__, 'effect'), + principal=pulumi.get(__response__, 'principal'))) diff --git a/sdk/python/pulumi_aws_native/entityresolution/get_schema_mapping.py b/sdk/python/pulumi_aws_native/entityresolution/get_schema_mapping.py index a7e66d38ce..cad40d8cf6 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/get_schema_mapping.py +++ b/sdk/python/pulumi_aws_native/entityresolution/get_schema_mapping.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -125,9 +130,6 @@ def get_schema_mapping(schema_name: Optional[str] = None, schema_arn=pulumi.get(__ret__, 'schema_arn'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_schema_mapping) def get_schema_mapping_output(schema_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchemaMappingResult]: """ @@ -136,4 +138,15 @@ def get_schema_mapping_output(schema_name: Optional[pulumi.Input[str]] = None, :param str schema_name: The name of the SchemaMapping """ - ... + __args__ = dict() + __args__['schemaName'] = schema_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:entityresolution:getSchemaMapping', __args__, opts=opts, typ=GetSchemaMappingResult) + return __ret__.apply(lambda __response__: GetSchemaMappingResult( + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + has_workflows=pulumi.get(__response__, 'has_workflows'), + mapped_input_fields=pulumi.get(__response__, 'mapped_input_fields'), + schema_arn=pulumi.get(__response__, 'schema_arn'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/entityresolution/id_mapping_workflow.py b/sdk/python/pulumi_aws_native/entityresolution/id_mapping_workflow.py index a866108362..1785939ba3 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/id_mapping_workflow.py +++ b/sdk/python/pulumi_aws_native/entityresolution/id_mapping_workflow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/entityresolution/id_namespace.py b/sdk/python/pulumi_aws_native/entityresolution/id_namespace.py index 49909f4bf1..e80cd4e7ec 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/id_namespace.py +++ b/sdk/python/pulumi_aws_native/entityresolution/id_namespace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/entityresolution/matching_workflow.py b/sdk/python/pulumi_aws_native/entityresolution/matching_workflow.py index 9f1165e41e..a2c94166f6 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/matching_workflow.py +++ b/sdk/python/pulumi_aws_native/entityresolution/matching_workflow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/entityresolution/outputs.py b/sdk/python/pulumi_aws_native/entityresolution/outputs.py index a2f1667555..22c0c0b759 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/outputs.py +++ b/sdk/python/pulumi_aws_native/entityresolution/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/entityresolution/policy_statement.py b/sdk/python/pulumi_aws_native/entityresolution/policy_statement.py index 0ca1585dfd..c6cbd160a7 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/policy_statement.py +++ b/sdk/python/pulumi_aws_native/entityresolution/policy_statement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/entityresolution/schema_mapping.py b/sdk/python/pulumi_aws_native/entityresolution/schema_mapping.py index ae2b4732cc..19103c6818 100644 --- a/sdk/python/pulumi_aws_native/entityresolution/schema_mapping.py +++ b/sdk/python/pulumi_aws_native/entityresolution/schema_mapping.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/events/_inputs.py b/sdk/python/pulumi_aws_native/events/_inputs.py index 914eab3077..51df108f65 100644 --- a/sdk/python/pulumi_aws_native/events/_inputs.py +++ b/sdk/python/pulumi_aws_native/events/_inputs.py @@ -4,52 +4,109 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ConnectionApiKeyAuthParametersArgs', + 'ConnectionApiKeyAuthParametersArgsDict', 'ConnectionAuthParametersArgs', + 'ConnectionAuthParametersArgsDict', 'ConnectionBasicAuthParametersArgs', + 'ConnectionBasicAuthParametersArgsDict', 'ConnectionClientParametersArgs', + 'ConnectionClientParametersArgsDict', 'ConnectionHttpParametersArgs', + 'ConnectionHttpParametersArgsDict', 'ConnectionOAuthParametersArgs', + 'ConnectionOAuthParametersArgsDict', 'ConnectionParameterArgs', + 'ConnectionParameterArgsDict', 'DeadLetterConfigPropertiesArgs', + 'DeadLetterConfigPropertiesArgsDict', 'EndpointEventBusArgs', + 'EndpointEventBusArgsDict', 'EndpointFailoverConfigArgs', + 'EndpointFailoverConfigArgsDict', 'EndpointPrimaryArgs', + 'EndpointPrimaryArgsDict', 'EndpointReplicationConfigArgs', + 'EndpointReplicationConfigArgsDict', 'EndpointRoutingConfigArgs', + 'EndpointRoutingConfigArgsDict', 'EndpointSecondaryArgs', + 'EndpointSecondaryArgsDict', 'RuleAppSyncParametersArgs', + 'RuleAppSyncParametersArgsDict', 'RuleAwsVpcConfigurationArgs', + 'RuleAwsVpcConfigurationArgsDict', 'RuleBatchArrayPropertiesArgs', + 'RuleBatchArrayPropertiesArgsDict', 'RuleBatchParametersArgs', + 'RuleBatchParametersArgsDict', 'RuleBatchRetryStrategyArgs', + 'RuleBatchRetryStrategyArgsDict', 'RuleCapacityProviderStrategyItemArgs', + 'RuleCapacityProviderStrategyItemArgsDict', 'RuleDeadLetterConfigArgs', + 'RuleDeadLetterConfigArgsDict', 'RuleEcsParametersArgs', + 'RuleEcsParametersArgsDict', 'RuleHttpParametersArgs', + 'RuleHttpParametersArgsDict', 'RuleInputTransformerArgs', + 'RuleInputTransformerArgsDict', 'RuleKinesisParametersArgs', + 'RuleKinesisParametersArgsDict', 'RuleNetworkConfigurationArgs', + 'RuleNetworkConfigurationArgsDict', 'RulePlacementConstraintArgs', + 'RulePlacementConstraintArgsDict', 'RulePlacementStrategyArgs', + 'RulePlacementStrategyArgsDict', 'RuleRedshiftDataParametersArgs', + 'RuleRedshiftDataParametersArgsDict', 'RuleRetryPolicyArgs', + 'RuleRetryPolicyArgsDict', 'RuleRunCommandParametersArgs', + 'RuleRunCommandParametersArgsDict', 'RuleRunCommandTargetArgs', + 'RuleRunCommandTargetArgsDict', 'RuleSageMakerPipelineParametersArgs', + 'RuleSageMakerPipelineParametersArgsDict', 'RuleSageMakerPipelineParameterArgs', + 'RuleSageMakerPipelineParameterArgsDict', 'RuleSqsParametersArgs', + 'RuleSqsParametersArgsDict', 'RuleTagArgs', + 'RuleTagArgsDict', 'RuleTargetArgs', + 'RuleTargetArgsDict', ] +MYPY = False + +if not MYPY: + class ConnectionApiKeyAuthParametersArgsDict(TypedDict): + api_key_name: pulumi.Input[str] + """ + The name of the API key to use for authorization. + """ + api_key_value: pulumi.Input[str] + """ + The value for the API key to use for authorization. + """ +elif False: + ConnectionApiKeyAuthParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionApiKeyAuthParametersArgs: def __init__(__self__, *, @@ -87,6 +144,27 @@ def api_key_value(self, value: pulumi.Input[str]): pulumi.set(self, "api_key_value", value) +if not MYPY: + class ConnectionAuthParametersArgsDict(TypedDict): + api_key_auth_parameters: NotRequired[pulumi.Input['ConnectionApiKeyAuthParametersArgsDict']] + """ + The API Key parameters to use for authorization. + """ + basic_auth_parameters: NotRequired[pulumi.Input['ConnectionBasicAuthParametersArgsDict']] + """ + The authorization parameters for Basic authorization. + """ + invocation_http_parameters: NotRequired[pulumi.Input['ConnectionHttpParametersArgsDict']] + """ + Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint. + """ + o_auth_parameters: NotRequired[pulumi.Input['ConnectionOAuthParametersArgsDict']] + """ + The OAuth parameters to use for authorization. + """ +elif False: + ConnectionAuthParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionAuthParametersArgs: def __init__(__self__, *, @@ -158,6 +236,19 @@ def o_auth_parameters(self, value: Optional[pulumi.Input['ConnectionOAuthParamet pulumi.set(self, "o_auth_parameters", value) +if not MYPY: + class ConnectionBasicAuthParametersArgsDict(TypedDict): + password: pulumi.Input[str] + """ + The password associated with the user name to use for Basic authorization. + """ + username: pulumi.Input[str] + """ + The user name to use for Basic authorization. + """ +elif False: + ConnectionBasicAuthParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionBasicAuthParametersArgs: def __init__(__self__, *, @@ -195,6 +286,19 @@ def username(self, value: pulumi.Input[str]): pulumi.set(self, "username", value) +if not MYPY: + class ConnectionClientParametersArgsDict(TypedDict): + client_id: pulumi.Input[str] + """ + The client ID to use for OAuth authorization. + """ + client_secret: pulumi.Input[str] + """ + The client secret assciated with the client ID to use for OAuth authorization. + """ +elif False: + ConnectionClientParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionClientParametersArgs: def __init__(__self__, *, @@ -232,6 +336,23 @@ def client_secret(self, value: pulumi.Input[str]): pulumi.set(self, "client_secret", value) +if not MYPY: + class ConnectionHttpParametersArgsDict(TypedDict): + body_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectionParameterArgsDict']]]] + """ + Contains additional body string parameters for the connection. + """ + header_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectionParameterArgsDict']]]] + """ + Contains additional header parameters for the connection. + """ + query_string_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectionParameterArgsDict']]]] + """ + Contains additional query string parameters for the connection. + """ +elif False: + ConnectionHttpParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionHttpParametersArgs: def __init__(__self__, *, @@ -287,6 +408,27 @@ def query_string_parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "query_string_parameters", value) +if not MYPY: + class ConnectionOAuthParametersArgsDict(TypedDict): + authorization_endpoint: pulumi.Input[str] + """ + The URL to the authorization endpoint when OAuth is specified as the authorization type. + """ + client_parameters: pulumi.Input['ConnectionClientParametersArgsDict'] + """ + A `CreateConnectionOAuthClientRequestParameters` object that contains the client parameters for OAuth authorization. + """ + http_method: pulumi.Input['ConnectionOAuthParametersHttpMethod'] + """ + The method to use for the authorization request. + """ + o_auth_http_parameters: NotRequired[pulumi.Input['ConnectionHttpParametersArgsDict']] + """ + A `ConnectionHttpParameters` object that contains details about the additional parameters to use for the connection. + """ +elif False: + ConnectionOAuthParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionOAuthParametersArgs: def __init__(__self__, *, @@ -355,6 +497,23 @@ def o_auth_http_parameters(self, value: Optional[pulumi.Input['ConnectionHttpPar pulumi.set(self, "o_auth_http_parameters", value) +if not MYPY: + class ConnectionParameterArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The key for a query string parameter. + """ + value: pulumi.Input[str] + """ + The value associated with the key for the query string parameter. + """ + is_value_secret: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the value is secret. + """ +elif False: + ConnectionParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectionParameterArgs: def __init__(__self__, *, @@ -408,6 +567,18 @@ def is_value_secret(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_value_secret", value) +if not MYPY: + class DeadLetterConfigPropertiesArgsDict(TypedDict): + """ + Dead Letter Queue for the event bus. + """ + arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the SQS queue specified as the target for the dead-letter queue. + """ +elif False: + DeadLetterConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeadLetterConfigPropertiesArgs: def __init__(__self__, *, @@ -432,6 +603,12 @@ def arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "arn", value) +if not MYPY: + class EndpointEventBusArgsDict(TypedDict): + event_bus_arn: pulumi.Input[str] +elif False: + EndpointEventBusArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EndpointEventBusArgs: def __init__(__self__, *, @@ -448,6 +625,19 @@ def event_bus_arn(self, value: pulumi.Input[str]): pulumi.set(self, "event_bus_arn", value) +if not MYPY: + class EndpointFailoverConfigArgsDict(TypedDict): + primary: pulumi.Input['EndpointPrimaryArgsDict'] + """ + The main Region of the endpoint. + """ + secondary: pulumi.Input['EndpointSecondaryArgsDict'] + """ + The Region that events are routed to when failover is triggered or event replication is enabled. + """ +elif False: + EndpointFailoverConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EndpointFailoverConfigArgs: def __init__(__self__, *, @@ -485,6 +675,15 @@ def secondary(self, value: pulumi.Input['EndpointSecondaryArgs']): pulumi.set(self, "secondary", value) +if not MYPY: + class EndpointPrimaryArgsDict(TypedDict): + health_check: pulumi.Input[str] + """ + The ARN of the health check used by the endpoint to determine whether failover is triggered. + """ +elif False: + EndpointPrimaryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EndpointPrimaryArgs: def __init__(__self__, *, @@ -507,6 +706,15 @@ def health_check(self, value: pulumi.Input[str]): pulumi.set(self, "health_check", value) +if not MYPY: + class EndpointReplicationConfigArgsDict(TypedDict): + state: pulumi.Input['EndpointReplicationState'] + """ + The state of event replication. + """ +elif False: + EndpointReplicationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EndpointReplicationConfigArgs: def __init__(__self__, *, @@ -529,6 +737,15 @@ def state(self, value: pulumi.Input['EndpointReplicationState']): pulumi.set(self, "state", value) +if not MYPY: + class EndpointRoutingConfigArgsDict(TypedDict): + failover_config: pulumi.Input['EndpointFailoverConfigArgsDict'] + """ + The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered. + """ +elif False: + EndpointRoutingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EndpointRoutingConfigArgs: def __init__(__self__, *, @@ -551,6 +768,15 @@ def failover_config(self, value: pulumi.Input['EndpointFailoverConfigArgs']): pulumi.set(self, "failover_config", value) +if not MYPY: + class EndpointSecondaryArgsDict(TypedDict): + route: pulumi.Input[str] + """ + Defines the secondary Region. + """ +elif False: + EndpointSecondaryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EndpointSecondaryArgs: def __init__(__self__, *, @@ -573,6 +799,17 @@ def route(self, value: pulumi.Input[str]): pulumi.set(self, "route", value) +if not MYPY: + class RuleAppSyncParametersArgsDict(TypedDict): + graph_ql_operation: pulumi.Input[str] + """ + The GraphQL operation; that is, the query, mutation, or subscription to be parsed and executed by the GraphQL service. + + For more information, see [Operations](https://docs.aws.amazon.com/appsync/latest/devguide/graphql-architecture.html#graphql-operations) in the *AWS AppSync User Guide* . + """ +elif False: + RuleAppSyncParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleAppSyncParametersArgs: def __init__(__self__, *, @@ -599,6 +836,23 @@ def graph_ql_operation(self, value: pulumi.Input[str]): pulumi.set(self, "graph_ql_operation", value) +if not MYPY: + class RuleAwsVpcConfigurationArgsDict(TypedDict): + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets. + """ + assign_public_ip: NotRequired[pulumi.Input[str]] + """ + Specifies whether the task's elastic network interface receives a public IP address. You can specify `ENABLED` only when `LaunchType` in `EcsParameters` is set to `FARGATE` . + """ + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used. + """ +elif False: + RuleAwsVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleAwsVpcConfigurationArgs: def __init__(__self__, *, @@ -653,6 +907,15 @@ def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "security_groups", value) +if not MYPY: + class RuleBatchArrayPropertiesArgsDict(TypedDict): + size: NotRequired[pulumi.Input[int]] + """ + The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000. + """ +elif False: + RuleBatchArrayPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleBatchArrayPropertiesArgs: def __init__(__self__, *, @@ -676,6 +939,27 @@ def size(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "size", value) +if not MYPY: + class RuleBatchParametersArgsDict(TypedDict): + job_definition: pulumi.Input[str] + """ + The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist. + """ + job_name: pulumi.Input[str] + """ + The name to use for this execution of the job, if the target is an AWS Batch job. + """ + array_properties: NotRequired[pulumi.Input['RuleBatchArrayPropertiesArgsDict']] + """ + The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job. + """ + retry_strategy: NotRequired[pulumi.Input['RuleBatchRetryStrategyArgsDict']] + """ + The retry strategy to use for failed jobs, if the target is an AWS Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition. + """ +elif False: + RuleBatchParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleBatchParametersArgs: def __init__(__self__, *, @@ -745,6 +1029,15 @@ def retry_strategy(self, value: Optional[pulumi.Input['RuleBatchRetryStrategyArg pulumi.set(self, "retry_strategy", value) +if not MYPY: + class RuleBatchRetryStrategyArgsDict(TypedDict): + attempts: NotRequired[pulumi.Input[int]] + """ + The number of times to attempt to retry, if the job fails. Valid values are 1–10. + """ +elif False: + RuleBatchRetryStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleBatchRetryStrategyArgs: def __init__(__self__, *, @@ -768,6 +1061,23 @@ def attempts(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "attempts", value) +if not MYPY: + class RuleCapacityProviderStrategyItemArgsDict(TypedDict): + capacity_provider: pulumi.Input[str] + """ + The short name of the capacity provider. + """ + base: NotRequired[pulumi.Input[int]] + """ + The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used. + """ + weight: NotRequired[pulumi.Input[int]] + """ + The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied. + """ +elif False: + RuleCapacityProviderStrategyItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleCapacityProviderStrategyItemArgs: def __init__(__self__, *, @@ -822,6 +1132,15 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class RuleDeadLetterConfigArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the SQS queue specified as the target for the dead-letter queue. + """ +elif False: + RuleDeadLetterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleDeadLetterConfigArgs: def __init__(__self__, *, @@ -845,6 +1164,73 @@ def arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "arn", value) +if not MYPY: + class RuleEcsParametersArgsDict(TypedDict): + task_definition_arn: pulumi.Input[str] + """ + The ARN of the task definition to use if the event target is an Amazon ECS task. + """ + capacity_provider_strategy: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleCapacityProviderStrategyItemArgsDict']]]] + """ + The capacity provider strategy to use for the task. + + If a `capacityProviderStrategy` is specified, the `launchType` parameter must be omitted. If no `capacityProviderStrategy` or launchType is specified, the `defaultCapacityProviderStrategy` for the cluster is used. + """ + enable_ecs_managed_tags: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to enable Amazon ECS managed tags for the task. For more information, see [Tagging Your Amazon ECS Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) in the Amazon Elastic Container Service Developer Guide. + """ + enable_execute_command: NotRequired[pulumi.Input[bool]] + """ + Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task. + """ + group: NotRequired[pulumi.Input[str]] + """ + Specifies an ECS task group for the task. The maximum length is 255 characters. + """ + launch_type: NotRequired[pulumi.Input[str]] + """ + Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. The `FARGATE` value is supported only in the Regions where AWS Fargate with Amazon ECS is supported. For more information, see [AWS Fargate on Amazon ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + network_configuration: NotRequired[pulumi.Input['RuleNetworkConfigurationArgsDict']] + """ + Use this structure if the Amazon ECS task uses the `awsvpc` network mode. This structure specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This structure is required if `LaunchType` is `FARGATE` because the `awsvpc` mode is required for Fargate tasks. + + If you specify `NetworkConfiguration` when the target ECS task does not use the `awsvpc` network mode, the task fails. + """ + placement_constraints: NotRequired[pulumi.Input[Sequence[pulumi.Input['RulePlacementConstraintArgsDict']]]] + """ + An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). + """ + placement_strategies: NotRequired[pulumi.Input[Sequence[pulumi.Input['RulePlacementStrategyArgsDict']]]] + """ + The placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task. + """ + platform_version: NotRequired[pulumi.Input[str]] + """ + Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as `1.1.0` . + + This structure is used only if `LaunchType` is `FARGATE` . For more information about valid platform versions, see [AWS Fargate Platform Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + propagate_tags: NotRequired[pulumi.Input[str]] + """ + Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the TagResource API action. + """ + reference_id: NotRequired[pulumi.Input[str]] + """ + The reference ID to use for the task. + """ + tag_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleTagArgsDict']]]] + """ + The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. To learn more, see [RunTask](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags) in the Amazon ECS API Reference. + """ + task_count: NotRequired[pulumi.Input[int]] + """ + The number of tasks to create based on `TaskDefinition` . The default is 1. + """ +elif False: + RuleEcsParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleEcsParametersArgs: def __init__(__self__, *, @@ -1087,6 +1473,23 @@ def task_count(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "task_count", value) +if not MYPY: + class RuleHttpParametersArgsDict(TypedDict): + header_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination. + """ + path_parameter_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The path parameter values to be used to populate API Gateway API or EventBridge ApiDestination path wildcards ("*"). + """ + query_string_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The query string keys/values that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination. + """ +elif False: + RuleHttpParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleHttpParametersArgs: def __init__(__self__, *, @@ -1142,6 +1545,63 @@ def query_string_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulu pulumi.set(self, "query_string_parameters", value) +if not MYPY: + class RuleInputTransformerArgsDict(TypedDict): + input_template: pulumi.Input[str] + """ + Input template where you specify placeholders that will be filled with the values of the keys from `InputPathsMap` to customize the data sent to the target. Enclose each `InputPathsMaps` value in brackets: < *value* > + + If `InputTemplate` is a JSON object (surrounded by curly braces), the following restrictions apply: + + - The placeholder cannot be used as an object key. + + The following example shows the syntax for using `InputPathsMap` and `InputTemplate` . + + `"InputTransformer":` + + `{` + + `"InputPathsMap": {"instance": "$.detail.instance","status": "$.detail.status"},` + + `"InputTemplate": " is in state "` + + `}` + + To have the `InputTemplate` include quote marks within a JSON string, escape each quote marks with a slash, as in the following example: + + `"InputTransformer":` + + `{` + + `"InputPathsMap": {"instance": "$.detail.instance","status": "$.detail.status"},` + + `"InputTemplate": " is in state \\"\\""` + + `}` + + The `InputTemplate` can also be valid JSON with varibles in quotes or out, as in the following example: + + `"InputTransformer":` + + `{` + + `"InputPathsMap": {"instance": "$.detail.instance","status": "$.detail.status"},` + + `"InputTemplate": '{"myInstance": ,"myStatus": " is in state \\"\\""}'` + + `}` + """ + input_paths_map: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Map of JSON paths to be extracted from the event. You can then insert these in the template in `InputTemplate` to produce the output you want to be sent to the target. + + `InputPathsMap` is an array key-value pairs, where each value is a valid JSON path. You can have as many as 100 key-value pairs. You must use JSON dot notation, not bracket notation. + + The keys cannot start with " AWS ." + """ +elif False: + RuleInputTransformerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleInputTransformerArgs: def __init__(__self__, *, @@ -1268,6 +1728,15 @@ def input_paths_map(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input pulumi.set(self, "input_paths_map", value) +if not MYPY: + class RuleKinesisParametersArgsDict(TypedDict): + partition_key_path: pulumi.Input[str] + """ + The JSON path to be extracted from the event and used as the partition key. For more information, see [Amazon Kinesis Streams Key Concepts](https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key) in the *Amazon Kinesis Streams Developer Guide* . + """ +elif False: + RuleKinesisParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleKinesisParametersArgs: def __init__(__self__, *, @@ -1290,6 +1759,15 @@ def partition_key_path(self, value: pulumi.Input[str]): pulumi.set(self, "partition_key_path", value) +if not MYPY: + class RuleNetworkConfigurationArgsDict(TypedDict): + aws_vpc_configuration: NotRequired[pulumi.Input['RuleAwsVpcConfigurationArgsDict']] + """ + Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the `awsvpc` network mode. + """ +elif False: + RuleNetworkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleNetworkConfigurationArgs: def __init__(__self__, *, @@ -1313,6 +1791,19 @@ def aws_vpc_configuration(self, value: Optional[pulumi.Input['RuleAwsVpcConfigur pulumi.set(self, "aws_vpc_configuration", value) +if not MYPY: + class RulePlacementConstraintArgsDict(TypedDict): + expression: NotRequired[pulumi.Input[str]] + """ + A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is `distinctInstance` . To learn more, see [Cluster Query Language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) in the Amazon Elastic Container Service Developer Guide. + """ + type: NotRequired[pulumi.Input[str]] + """ + The type of constraint. Use distinctInstance to ensure that each task in a particular group is running on a different container instance. Use memberOf to restrict the selection to a group of valid candidates. + """ +elif False: + RulePlacementConstraintArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RulePlacementConstraintArgs: def __init__(__self__, *, @@ -1352,6 +1843,19 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class RulePlacementStrategyArgsDict(TypedDict): + field: NotRequired[pulumi.Input[str]] + """ + The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are cpu and memory. For the random placement strategy, this field is not used. + """ + type: NotRequired[pulumi.Input[str]] + """ + The type of placement strategy. The random placement strategy randomly places tasks on available candidates. The spread placement strategy spreads placement across available candidates evenly based on the field parameter. The binpack strategy places tasks on available candidates that have the least available amount of the resource that is specified with the field parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task). + """ +elif False: + RulePlacementStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RulePlacementStrategyArgs: def __init__(__self__, *, @@ -1391,6 +1895,39 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class RuleRedshiftDataParametersArgsDict(TypedDict): + database: pulumi.Input[str] + """ + The name of the database. Required when authenticating using temporary credentials. + """ + db_user: NotRequired[pulumi.Input[str]] + """ + The database user name. Required when authenticating using temporary credentials. + """ + secret_manager_arn: NotRequired[pulumi.Input[str]] + """ + The name or ARN of the secret that enables access to the database. Required when authenticating using AWS Secrets Manager. + """ + sql: NotRequired[pulumi.Input[str]] + """ + The SQL statement text to run. + """ + sqls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back. + """ + statement_name: NotRequired[pulumi.Input[str]] + """ + The name of the SQL statement. You can name the SQL statement when you create it to identify the query. + """ + with_event: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to send an event back to EventBridge after the SQL statement runs. + """ +elif False: + RuleRedshiftDataParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleRedshiftDataParametersArgs: def __init__(__self__, *, @@ -1509,6 +2046,19 @@ def with_event(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "with_event", value) +if not MYPY: + class RuleRetryPolicyArgsDict(TypedDict): + maximum_event_age_in_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum amount of time, in seconds, to continue to make retry attempts. + """ + maximum_retry_attempts: NotRequired[pulumi.Input[int]] + """ + The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the `MaximumEventAgeInSeconds` is met. + """ +elif False: + RuleRetryPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleRetryPolicyArgs: def __init__(__self__, *, @@ -1548,6 +2098,15 @@ def maximum_retry_attempts(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "maximum_retry_attempts", value) +if not MYPY: + class RuleRunCommandParametersArgsDict(TypedDict): + run_command_targets: pulumi.Input[Sequence[pulumi.Input['RuleRunCommandTargetArgsDict']]] + """ + Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag. + """ +elif False: + RuleRunCommandParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleRunCommandParametersArgs: def __init__(__self__, *, @@ -1570,6 +2129,19 @@ def run_command_targets(self, value: pulumi.Input[Sequence[pulumi.Input['RuleRun pulumi.set(self, "run_command_targets", value) +if not MYPY: + class RuleRunCommandTargetArgsDict(TypedDict): + key: pulumi.Input[str] + """ + Can be either `tag:` *tag-key* or `InstanceIds` . + """ + values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + If `Key` is `tag:` *tag-key* , `Values` is a list of tag values. If `Key` is `InstanceIds` , `Values` is a list of Amazon EC2 instance IDs. + """ +elif False: + RuleRunCommandTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleRunCommandTargetArgs: def __init__(__self__, *, @@ -1607,6 +2179,15 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class RuleSageMakerPipelineParametersArgsDict(TypedDict): + pipeline_parameter_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleSageMakerPipelineParameterArgsDict']]]] + """ + List of Parameter names and values for SageMaker Model Building Pipeline execution. + """ +elif False: + RuleSageMakerPipelineParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleSageMakerPipelineParametersArgs: def __init__(__self__, *, @@ -1630,6 +2211,19 @@ def pipeline_parameter_list(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "pipeline_parameter_list", value) +if not MYPY: + class RuleSageMakerPipelineParameterArgsDict(TypedDict): + name: pulumi.Input[str] + """ + Name of parameter to start execution of a SageMaker Model Building Pipeline. + """ + value: pulumi.Input[str] + """ + Value of parameter to start execution of a SageMaker Model Building Pipeline. + """ +elif False: + RuleSageMakerPipelineParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleSageMakerPipelineParameterArgs: def __init__(__self__, *, @@ -1667,6 +2261,15 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class RuleSqsParametersArgsDict(TypedDict): + message_group_id: pulumi.Input[str] + """ + The FIFO message group ID to use as the target. + """ +elif False: + RuleSqsParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleSqsParametersArgs: def __init__(__self__, *, @@ -1689,6 +2292,19 @@ def message_group_id(self, value: pulumi.Input[str]): pulumi.set(self, "message_group_id", value) +if not MYPY: + class RuleTagArgsDict(TypedDict): + key: NotRequired[pulumi.Input[str]] + """ + A string you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value for the specified tag key. + """ +elif False: + RuleTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleTagArgs: def __init__(__self__, *, @@ -1728,6 +2344,87 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class RuleTargetArgsDict(TypedDict): + arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the target. + """ + id: pulumi.Input[str] + """ + The ID of the target within the specified rule. Use this ID to reference the target when updating the rule. We recommend using a memorable and unique string. + """ + app_sync_parameters: NotRequired[pulumi.Input['RuleAppSyncParametersArgsDict']] + """ + Contains the GraphQL operation to be parsed and executed, if the event target is an AWS AppSync API. + """ + batch_parameters: NotRequired[pulumi.Input['RuleBatchParametersArgsDict']] + """ + If the event target is an AWS Batch job, this contains the job definition, job name, and other parameters. For more information, see [Jobs](https://docs.aws.amazon.com/batch/latest/userguide/jobs.html) in the *AWS Batch User Guide* . + """ + dead_letter_config: NotRequired[pulumi.Input['RuleDeadLetterConfigArgsDict']] + """ + The `DeadLetterConfig` that defines the target queue to send dead-letter queue events to. + """ + ecs_parameters: NotRequired[pulumi.Input['RuleEcsParametersArgsDict']] + """ + Contains the Amazon ECS task definition and task count to be used, if the event target is an Amazon ECS task. For more information about Amazon ECS tasks, see [Task Definitions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html) in the *Amazon EC2 Container Service Developer Guide* . + """ + http_parameters: NotRequired[pulumi.Input['RuleHttpParametersArgsDict']] + """ + Contains the HTTP parameters to use when the target is a API Gateway endpoint or EventBridge ApiDestination. + + If you specify an API Gateway API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence. + """ + input: NotRequired[pulumi.Input[str]] + """ + Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see [The JavaScript Object Notation (JSON) Data Interchange Format](https://docs.aws.amazon.com/http://www.rfc-editor.org/rfc/rfc7159.txt) . + """ + input_path: NotRequired[pulumi.Input[str]] + """ + The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. You may use JSON dot notation or bracket notation. For more information about JSON paths, see [JSONPath](https://docs.aws.amazon.com/http://goessner.net/articles/JsonPath/) . + """ + input_transformer: NotRequired[pulumi.Input['RuleInputTransformerArgsDict']] + """ + Settings to enable you to provide custom input to a target based on certain event data. You can extract one or more key-value pairs from the event and then use that data to send customized input to the target. + """ + kinesis_parameters: NotRequired[pulumi.Input['RuleKinesisParametersArgsDict']] + """ + The custom parameter you can use to control the shard assignment, when the target is a Kinesis data stream. If you do not include this parameter, the default is to use the `eventId` as the partition key. + """ + redshift_data_parameters: NotRequired[pulumi.Input['RuleRedshiftDataParametersArgsDict']] + """ + Contains the Amazon Redshift Data API parameters to use when the target is a Amazon Redshift cluster. + + If you specify a Amazon Redshift Cluster as a Target, you can use this to specify parameters to invoke the Amazon Redshift Data API ExecuteStatement based on EventBridge events. + """ + retry_policy: NotRequired[pulumi.Input['RuleRetryPolicyArgsDict']] + """ + The `RetryPolicy` object that contains the retry policy configuration to use for the dead-letter queue. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. If one rule triggers multiple targets, you can use a different IAM role for each target. + """ + run_command_parameters: NotRequired[pulumi.Input['RuleRunCommandParametersArgsDict']] + """ + Parameters used when you are using the rule to invoke Amazon EC2 Run Command. + """ + sage_maker_pipeline_parameters: NotRequired[pulumi.Input['RuleSageMakerPipelineParametersArgsDict']] + """ + Contains the SageMaker Model Building Pipeline parameters to start execution of a SageMaker Model Building Pipeline. + + If you specify a SageMaker Model Building Pipeline as a target, you can use this to specify parameters to start a pipeline execution based on EventBridge events. + """ + sqs_parameters: NotRequired[pulumi.Input['RuleSqsParametersArgsDict']] + """ + Contains the message group ID to use when the target is a FIFO queue. + + If you specify an SQS FIFO queue as a target, the queue must have content-based deduplication enabled. + """ +elif False: + RuleTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleTargetArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/events/api_destination.py b/sdk/python/pulumi_aws_native/events/api_destination.py index f1eb2e89ad..270e650cce 100644 --- a/sdk/python/pulumi_aws_native/events/api_destination.py +++ b/sdk/python/pulumi_aws_native/events/api_destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/events/archive.py b/sdk/python/pulumi_aws_native/events/archive.py index 223beaf6bd..5b52d7eb89 100644 --- a/sdk/python/pulumi_aws_native/events/archive.py +++ b/sdk/python/pulumi_aws_native/events/archive.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ArchiveArgs', 'Archive'] diff --git a/sdk/python/pulumi_aws_native/events/connection.py b/sdk/python/pulumi_aws_native/events/connection.py index e898527035..4d6e2ddcd7 100644 --- a/sdk/python/pulumi_aws_native/events/connection.py +++ b/sdk/python/pulumi_aws_native/events/connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/events/endpoint.py b/sdk/python/pulumi_aws_native/events/endpoint.py index eaaa4c5cb8..64a16d6d5c 100644 --- a/sdk/python/pulumi_aws_native/events/endpoint.py +++ b/sdk/python/pulumi_aws_native/events/endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/events/event_bus.py b/sdk/python/pulumi_aws_native/events/event_bus.py index 37ecfdc4d3..b90670edfd 100644 --- a/sdk/python/pulumi_aws_native/events/event_bus.py +++ b/sdk/python/pulumi_aws_native/events/event_bus.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/events/get_api_destination.py b/sdk/python/pulumi_aws_native/events/get_api_destination.py index e949ddbce8..1c7066c741 100644 --- a/sdk/python/pulumi_aws_native/events/get_api_destination.py +++ b/sdk/python/pulumi_aws_native/events/get_api_destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -122,9 +127,6 @@ def get_api_destination(name: Optional[str] = None, http_method=pulumi.get(__ret__, 'http_method'), invocation_endpoint=pulumi.get(__ret__, 'invocation_endpoint'), invocation_rate_limit_per_second=pulumi.get(__ret__, 'invocation_rate_limit_per_second')) - - -@_utilities.lift_output_func(get_api_destination) def get_api_destination_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApiDestinationResult]: """ @@ -133,4 +135,14 @@ def get_api_destination_output(name: Optional[pulumi.Input[str]] = None, :param str name: Name of the apiDestination. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:events:getApiDestination', __args__, opts=opts, typ=GetApiDestinationResult) + return __ret__.apply(lambda __response__: GetApiDestinationResult( + arn=pulumi.get(__response__, 'arn'), + connection_arn=pulumi.get(__response__, 'connection_arn'), + description=pulumi.get(__response__, 'description'), + http_method=pulumi.get(__response__, 'http_method'), + invocation_endpoint=pulumi.get(__response__, 'invocation_endpoint'), + invocation_rate_limit_per_second=pulumi.get(__response__, 'invocation_rate_limit_per_second'))) diff --git a/sdk/python/pulumi_aws_native/events/get_archive.py b/sdk/python/pulumi_aws_native/events/get_archive.py index e267ecf15a..4a9e8ad144 100644 --- a/sdk/python/pulumi_aws_native/events/get_archive.py +++ b/sdk/python/pulumi_aws_native/events/get_archive.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -97,9 +102,6 @@ def get_archive(archive_name: Optional[str] = None, description=pulumi.get(__ret__, 'description'), event_pattern=pulumi.get(__ret__, 'event_pattern'), retention_days=pulumi.get(__ret__, 'retention_days')) - - -@_utilities.lift_output_func(get_archive) def get_archive_output(archive_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetArchiveResult]: """ @@ -108,4 +110,12 @@ def get_archive_output(archive_name: Optional[pulumi.Input[str]] = None, :param str archive_name: The name for the archive to create. """ - ... + __args__ = dict() + __args__['archiveName'] = archive_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:events:getArchive', __args__, opts=opts, typ=GetArchiveResult) + return __ret__.apply(lambda __response__: GetArchiveResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + event_pattern=pulumi.get(__response__, 'event_pattern'), + retention_days=pulumi.get(__response__, 'retention_days'))) diff --git a/sdk/python/pulumi_aws_native/events/get_connection.py b/sdk/python/pulumi_aws_native/events/get_connection.py index 1ce589bdae..deec137cc2 100644 --- a/sdk/python/pulumi_aws_native/events/get_connection.py +++ b/sdk/python/pulumi_aws_native/events/get_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -98,9 +103,6 @@ def get_connection(name: Optional[str] = None, authorization_type=pulumi.get(__ret__, 'authorization_type'), description=pulumi.get(__ret__, 'description'), secret_arn=pulumi.get(__ret__, 'secret_arn')) - - -@_utilities.lift_output_func(get_connection) def get_connection_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectionResult]: """ @@ -109,4 +111,12 @@ def get_connection_output(name: Optional[pulumi.Input[str]] = None, :param str name: Name of the connection. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:events:getConnection', __args__, opts=opts, typ=GetConnectionResult) + return __ret__.apply(lambda __response__: GetConnectionResult( + arn=pulumi.get(__response__, 'arn'), + authorization_type=pulumi.get(__response__, 'authorization_type'), + description=pulumi.get(__response__, 'description'), + secret_arn=pulumi.get(__response__, 'secret_arn'))) diff --git a/sdk/python/pulumi_aws_native/events/get_endpoint.py b/sdk/python/pulumi_aws_native/events/get_endpoint.py index 6f603cf5d3..540fc309ac 100644 --- a/sdk/python/pulumi_aws_native/events/get_endpoint.py +++ b/sdk/python/pulumi_aws_native/events/get_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -177,9 +182,6 @@ def get_endpoint(name: Optional[str] = None, routing_config=pulumi.get(__ret__, 'routing_config'), state=pulumi.get(__ret__, 'state'), state_reason=pulumi.get(__ret__, 'state_reason')) - - -@_utilities.lift_output_func(get_endpoint) def get_endpoint_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEndpointResult]: """ @@ -188,4 +190,18 @@ def get_endpoint_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the endpoint. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:events:getEndpoint', __args__, opts=opts, typ=GetEndpointResult) + return __ret__.apply(lambda __response__: GetEndpointResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + endpoint_id=pulumi.get(__response__, 'endpoint_id'), + endpoint_url=pulumi.get(__response__, 'endpoint_url'), + event_buses=pulumi.get(__response__, 'event_buses'), + replication_config=pulumi.get(__response__, 'replication_config'), + role_arn=pulumi.get(__response__, 'role_arn'), + routing_config=pulumi.get(__response__, 'routing_config'), + state=pulumi.get(__response__, 'state'), + state_reason=pulumi.get(__response__, 'state_reason'))) diff --git a/sdk/python/pulumi_aws_native/events/get_event_bus.py b/sdk/python/pulumi_aws_native/events/get_event_bus.py index bd2c375b49..5fc11d2eec 100644 --- a/sdk/python/pulumi_aws_native/events/get_event_bus.py +++ b/sdk/python/pulumi_aws_native/events/get_event_bus.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -125,9 +130,6 @@ def get_event_bus(name: Optional[str] = None, kms_key_identifier=pulumi.get(__ret__, 'kms_key_identifier'), policy=pulumi.get(__ret__, 'policy'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_event_bus) def get_event_bus_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventBusResult]: """ @@ -136,4 +138,14 @@ def get_event_bus_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the event bus. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:events:getEventBus', __args__, opts=opts, typ=GetEventBusResult) + return __ret__.apply(lambda __response__: GetEventBusResult( + arn=pulumi.get(__response__, 'arn'), + dead_letter_config=pulumi.get(__response__, 'dead_letter_config'), + description=pulumi.get(__response__, 'description'), + kms_key_identifier=pulumi.get(__response__, 'kms_key_identifier'), + policy=pulumi.get(__response__, 'policy'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/events/get_rule.py b/sdk/python/pulumi_aws_native/events/get_rule.py index 3da1fed842..41b521098c 100644 --- a/sdk/python/pulumi_aws_native/events/get_rule.py +++ b/sdk/python/pulumi_aws_native/events/get_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -152,9 +157,6 @@ def get_rule(arn: Optional[str] = None, schedule_expression=pulumi.get(__ret__, 'schedule_expression'), state=pulumi.get(__ret__, 'state'), targets=pulumi.get(__ret__, 'targets')) - - -@_utilities.lift_output_func(get_rule) def get_rule_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRuleResult]: """ @@ -163,4 +165,16 @@ def get_rule_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the rule, such as arn:aws:events:us-east-2:123456789012:rule/example. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:events:getRule', __args__, opts=opts, typ=GetRuleResult) + return __ret__.apply(lambda __response__: GetRuleResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + event_bus_name=pulumi.get(__response__, 'event_bus_name'), + event_pattern=pulumi.get(__response__, 'event_pattern'), + role_arn=pulumi.get(__response__, 'role_arn'), + schedule_expression=pulumi.get(__response__, 'schedule_expression'), + state=pulumi.get(__response__, 'state'), + targets=pulumi.get(__response__, 'targets'))) diff --git a/sdk/python/pulumi_aws_native/events/outputs.py b/sdk/python/pulumi_aws_native/events/outputs.py index 036d5a7f85..1c375ebb18 100644 --- a/sdk/python/pulumi_aws_native/events/outputs.py +++ b/sdk/python/pulumi_aws_native/events/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/events/rule.py b/sdk/python/pulumi_aws_native/events/rule.py index a44deb4d7a..87684e0d74 100644 --- a/sdk/python/pulumi_aws_native/events/rule.py +++ b/sdk/python/pulumi_aws_native/events/rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/eventschemas/discoverer.py b/sdk/python/pulumi_aws_native/eventschemas/discoverer.py index 8f2f5f8324..da670727c0 100644 --- a/sdk/python/pulumi_aws_native/eventschemas/discoverer.py +++ b/sdk/python/pulumi_aws_native/eventschemas/discoverer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/eventschemas/get_discoverer.py b/sdk/python/pulumi_aws_native/eventschemas/get_discoverer.py index 8691043275..dbc032d07b 100644 --- a/sdk/python/pulumi_aws_native/eventschemas/get_discoverer.py +++ b/sdk/python/pulumi_aws_native/eventschemas/get_discoverer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_discoverer(discoverer_arn: Optional[str] = None, discoverer_id=pulumi.get(__ret__, 'discoverer_id'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_discoverer) def get_discoverer_output(discoverer_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDiscovererResult]: """ @@ -133,4 +135,14 @@ def get_discoverer_output(discoverer_arn: Optional[pulumi.Input[str]] = None, :param str discoverer_arn: The ARN of the discoverer. """ - ... + __args__ = dict() + __args__['discovererArn'] = discoverer_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:eventschemas:getDiscoverer', __args__, opts=opts, typ=GetDiscovererResult) + return __ret__.apply(lambda __response__: GetDiscovererResult( + cross_account=pulumi.get(__response__, 'cross_account'), + description=pulumi.get(__response__, 'description'), + discoverer_arn=pulumi.get(__response__, 'discoverer_arn'), + discoverer_id=pulumi.get(__response__, 'discoverer_id'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/eventschemas/get_registry.py b/sdk/python/pulumi_aws_native/eventschemas/get_registry.py index 60eb3f3314..951393218e 100644 --- a/sdk/python/pulumi_aws_native/eventschemas/get_registry.py +++ b/sdk/python/pulumi_aws_native/eventschemas/get_registry.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_registry(registry_arn: Optional[str] = None, description=pulumi.get(__ret__, 'description'), registry_arn=pulumi.get(__ret__, 'registry_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_registry) def get_registry_output(registry_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryResult]: """ @@ -94,4 +96,11 @@ def get_registry_output(registry_arn: Optional[pulumi.Input[str]] = None, :param str registry_arn: The ARN of the registry. """ - ... + __args__ = dict() + __args__['registryArn'] = registry_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:eventschemas:getRegistry', __args__, opts=opts, typ=GetRegistryResult) + return __ret__.apply(lambda __response__: GetRegistryResult( + description=pulumi.get(__response__, 'description'), + registry_arn=pulumi.get(__response__, 'registry_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/eventschemas/get_registry_policy.py b/sdk/python/pulumi_aws_native/eventschemas/get_registry_policy.py index e65750043a..e1c1e87577 100644 --- a/sdk/python/pulumi_aws_native/eventschemas/get_registry_policy.py +++ b/sdk/python/pulumi_aws_native/eventschemas/get_registry_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -97,9 +102,6 @@ def get_registry_policy(id: Optional[str] = None, policy=pulumi.get(__ret__, 'policy'), registry_name=pulumi.get(__ret__, 'registry_name'), revision_id=pulumi.get(__ret__, 'revision_id')) - - -@_utilities.lift_output_func(get_registry_policy) def get_registry_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryPolicyResult]: """ @@ -108,4 +110,12 @@ def get_registry_policy_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the policy. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:eventschemas:getRegistryPolicy', __args__, opts=opts, typ=GetRegistryPolicyResult) + return __ret__.apply(lambda __response__: GetRegistryPolicyResult( + id=pulumi.get(__response__, 'id'), + policy=pulumi.get(__response__, 'policy'), + registry_name=pulumi.get(__response__, 'registry_name'), + revision_id=pulumi.get(__response__, 'revision_id'))) diff --git a/sdk/python/pulumi_aws_native/eventschemas/get_schema.py b/sdk/python/pulumi_aws_native/eventschemas/get_schema.py index 720fa3e439..dd0ce84d5f 100644 --- a/sdk/python/pulumi_aws_native/eventschemas/get_schema.py +++ b/sdk/python/pulumi_aws_native/eventschemas/get_schema.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -148,9 +153,6 @@ def get_schema(schema_arn: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type'), version_created_date=pulumi.get(__ret__, 'version_created_date')) - - -@_utilities.lift_output_func(get_schema) def get_schema_output(schema_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchemaResult]: """ @@ -159,4 +161,16 @@ def get_schema_output(schema_arn: Optional[pulumi.Input[str]] = None, :param str schema_arn: The ARN of the schema. """ - ... + __args__ = dict() + __args__['schemaArn'] = schema_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:eventschemas:getSchema', __args__, opts=opts, typ=GetSchemaResult) + return __ret__.apply(lambda __response__: GetSchemaResult( + content=pulumi.get(__response__, 'content'), + description=pulumi.get(__response__, 'description'), + last_modified=pulumi.get(__response__, 'last_modified'), + schema_arn=pulumi.get(__response__, 'schema_arn'), + schema_version=pulumi.get(__response__, 'schema_version'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + version_created_date=pulumi.get(__response__, 'version_created_date'))) diff --git a/sdk/python/pulumi_aws_native/eventschemas/registry.py b/sdk/python/pulumi_aws_native/eventschemas/registry.py index 05c15316d2..8e38b9fa79 100644 --- a/sdk/python/pulumi_aws_native/eventschemas/registry.py +++ b/sdk/python/pulumi_aws_native/eventschemas/registry.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/eventschemas/registry_policy.py b/sdk/python/pulumi_aws_native/eventschemas/registry_policy.py index 3b4b2319e2..5935b11507 100644 --- a/sdk/python/pulumi_aws_native/eventschemas/registry_policy.py +++ b/sdk/python/pulumi_aws_native/eventschemas/registry_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['RegistryPolicyArgs', 'RegistryPolicy'] diff --git a/sdk/python/pulumi_aws_native/eventschemas/schema.py b/sdk/python/pulumi_aws_native/eventschemas/schema.py index 24957468e5..39a4c78f0d 100644 --- a/sdk/python/pulumi_aws_native/eventschemas/schema.py +++ b/sdk/python/pulumi_aws_native/eventschemas/schema.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/evidently/_inputs.py b/sdk/python/pulumi_aws_native/evidently/_inputs.py index 31a87cf5be..f093c51dc0 100644 --- a/sdk/python/pulumi_aws_native/evidently/_inputs.py +++ b/sdk/python/pulumi_aws_native/evidently/_inputs.py @@ -4,31 +4,85 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ExperimentMetricGoalObjectArgs', + 'ExperimentMetricGoalObjectArgsDict', 'ExperimentOnlineAbConfigObjectArgs', + 'ExperimentOnlineAbConfigObjectArgsDict', 'ExperimentRunningStatusObjectArgs', + 'ExperimentRunningStatusObjectArgsDict', 'ExperimentTreatmentObjectArgs', + 'ExperimentTreatmentObjectArgsDict', 'ExperimentTreatmentToWeightArgs', + 'ExperimentTreatmentToWeightArgsDict', 'FeatureEntityOverrideArgs', + 'FeatureEntityOverrideArgsDict', 'FeatureVariationObjectArgs', + 'FeatureVariationObjectArgsDict', 'LaunchExecutionStatusObjectArgs', + 'LaunchExecutionStatusObjectArgsDict', 'LaunchGroupObjectArgs', + 'LaunchGroupObjectArgsDict', 'LaunchGroupToWeightArgs', + 'LaunchGroupToWeightArgsDict', 'LaunchMetricDefinitionObjectArgs', + 'LaunchMetricDefinitionObjectArgsDict', 'LaunchSegmentOverrideArgs', + 'LaunchSegmentOverrideArgsDict', 'LaunchStepConfigArgs', + 'LaunchStepConfigArgsDict', 'ProjectAppConfigResourceObjectArgs', + 'ProjectAppConfigResourceObjectArgsDict', 'ProjectDataDeliveryObjectArgs', + 'ProjectDataDeliveryObjectArgsDict', 'ProjectS3DestinationArgs', + 'ProjectS3DestinationArgsDict', ] +MYPY = False + +if not MYPY: + class ExperimentMetricGoalObjectArgsDict(TypedDict): + desired_change: pulumi.Input['ExperimentMetricGoalObjectDesiredChange'] + """ + `INCREASE` means that a variation with a higher number for this metric is performing better. + + `DECREASE` means that a variation with a lower number for this metric is performing better. + """ + entity_id_key: pulumi.Input[str] + """ + The JSON path to reference the entity id in the event. + """ + metric_name: pulumi.Input[str] + """ + A name for the metric. It can include up to 255 characters. + """ + value_key: pulumi.Input[str] + """ + The JSON path to reference the numerical metric value in the event. + """ + event_pattern: NotRequired[pulumi.Input[str]] + """ + Event patterns have the same structure as the events they match. Rules use event patterns to select events. An event pattern either matches an event or it doesn't. + """ + unit_label: NotRequired[pulumi.Input[str]] + """ + A label for the units that the metric is measuring. + """ +elif False: + ExperimentMetricGoalObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentMetricGoalObjectArgs: def __init__(__self__, *, @@ -132,6 +186,19 @@ def unit_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit_label", value) +if not MYPY: + class ExperimentOnlineAbConfigObjectArgsDict(TypedDict): + control_treatment_name: NotRequired[pulumi.Input[str]] + """ + The name of the variation that is to be the default variation that the other variations are compared to. + """ + treatment_weights: NotRequired[pulumi.Input[Sequence[pulumi.Input['ExperimentTreatmentToWeightArgsDict']]]] + """ + A set of key-value pairs. The keys are treatment names, and the values are the portion of experiment traffic to be assigned to that treatment. Specify the traffic portion in thousandths of a percent, so 20,000 for a variation would allocate 20% of the experiment traffic to that variation. + """ +elif False: + ExperimentOnlineAbConfigObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentOnlineAbConfigObjectArgs: def __init__(__self__, *, @@ -171,6 +238,27 @@ def treatment_weights(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "treatment_weights", value) +if not MYPY: + class ExperimentRunningStatusObjectArgsDict(TypedDict): + analysis_complete_time: NotRequired[pulumi.Input[str]] + """ + Provide the analysis Completion time for an experiment + """ + desired_state: NotRequired[pulumi.Input[str]] + """ + Provide CANCELLED or COMPLETED desired state when stopping an experiment + """ + reason: NotRequired[pulumi.Input[str]] + """ + Reason is a required input for stopping the experiment + """ + status: NotRequired[pulumi.Input[str]] + """ + Provide START or STOP action to apply on an experiment + """ +elif False: + ExperimentRunningStatusObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentRunningStatusObjectArgs: def __init__(__self__, *, @@ -242,6 +330,27 @@ def status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "status", value) +if not MYPY: + class ExperimentTreatmentObjectArgsDict(TypedDict): + feature: pulumi.Input[str] + """ + The name of the feature for this experiment. + """ + treatment_name: pulumi.Input[str] + """ + A name for this treatment. It can include up to 127 characters. + """ + variation: pulumi.Input[str] + """ + The name of the variation to use for this treatment. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the treatment. + """ +elif False: + ExperimentTreatmentObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentTreatmentObjectArgs: def __init__(__self__, *, @@ -310,6 +419,19 @@ def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) +if not MYPY: + class ExperimentTreatmentToWeightArgsDict(TypedDict): + split_weight: pulumi.Input[int] + """ + The portion of experiment traffic to allocate to this treatment. Specify the traffic portion in thousandths of a percent, so 20,000 allocated to a treatment would allocate 20% of the experiment traffic to that treatment. + """ + treatment: pulumi.Input[str] + """ + The name of the treatment. + """ +elif False: + ExperimentTreatmentToWeightArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentTreatmentToWeightArgs: def __init__(__self__, *, @@ -347,6 +469,19 @@ def treatment(self, value: pulumi.Input[str]): pulumi.set(self, "treatment", value) +if not MYPY: + class FeatureEntityOverrideArgsDict(TypedDict): + entity_id: NotRequired[pulumi.Input[str]] + """ + The entity ID to be served the variation specified in `Variation` . + """ + variation: NotRequired[pulumi.Input[str]] + """ + The name of the variation to serve to the user session that matches the `EntityId` . + """ +elif False: + FeatureEntityOverrideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FeatureEntityOverrideArgs: def __init__(__self__, *, @@ -386,6 +521,31 @@ def variation(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "variation", value) +if not MYPY: + class FeatureVariationObjectArgsDict(TypedDict): + boolean_value: NotRequired[pulumi.Input[bool]] + """ + The value assigned to this variation, if the variation type is boolean. + """ + double_value: NotRequired[pulumi.Input[float]] + """ + The value assigned to this variation, if the variation type is a double. + """ + long_value: NotRequired[pulumi.Input[float]] + """ + The value assigned to this variation, if the variation type is a long. + """ + string_value: NotRequired[pulumi.Input[str]] + """ + The value assigned to this variation, if the variation type is a string. + """ + variation_name: NotRequired[pulumi.Input[str]] + """ + A name for the variation. It can include up to 127 characters. + """ +elif False: + FeatureVariationObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FeatureVariationObjectArgs: def __init__(__self__, *, @@ -473,6 +633,23 @@ def variation_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "variation_name", value) +if not MYPY: + class LaunchExecutionStatusObjectArgsDict(TypedDict): + status: pulumi.Input[str] + """ + Provide START or STOP action to apply on a launch + """ + desired_state: NotRequired[pulumi.Input[str]] + """ + Provide CANCELLED or COMPLETED as the launch desired state. Defaults to Completed if not provided. + """ + reason: NotRequired[pulumi.Input[str]] + """ + Provide a reason for stopping the launch. Defaults to empty if not provided. + """ +elif False: + LaunchExecutionStatusObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchExecutionStatusObjectArgs: def __init__(__self__, *, @@ -527,6 +704,27 @@ def reason(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "reason", value) +if not MYPY: + class LaunchGroupObjectArgsDict(TypedDict): + feature: pulumi.Input[str] + """ + The feature that this launch is using. + """ + group_name: pulumi.Input[str] + """ + A name for this launch group. It can include up to 127 characters. + """ + variation: pulumi.Input[str] + """ + The feature variation to use for this launch group. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description of the launch group. + """ +elif False: + LaunchGroupObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchGroupObjectArgs: def __init__(__self__, *, @@ -595,6 +793,21 @@ def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) +if not MYPY: + class LaunchGroupToWeightArgsDict(TypedDict): + group_name: pulumi.Input[str] + """ + The name of the launch group. It can include up to 127 characters. + """ + split_weight: pulumi.Input[int] + """ + The portion of launch traffic to allocate to this launch group. + + This is represented in thousandths of a percent. For example, specify 20,000 to allocate 20% of the launch audience to this launch group. + """ +elif False: + LaunchGroupToWeightArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchGroupToWeightArgs: def __init__(__self__, *, @@ -636,6 +849,31 @@ def split_weight(self, value: pulumi.Input[int]): pulumi.set(self, "split_weight", value) +if not MYPY: + class LaunchMetricDefinitionObjectArgsDict(TypedDict): + entity_id_key: pulumi.Input[str] + """ + The JSON path to reference the entity id in the event. + """ + metric_name: pulumi.Input[str] + """ + A name for the metric. It can include up to 255 characters. + """ + value_key: pulumi.Input[str] + """ + The JSON path to reference the numerical metric value in the event. + """ + event_pattern: NotRequired[pulumi.Input[str]] + """ + Event patterns have the same structure as the events they match. Rules use event patterns to select events. An event pattern either matches an event or it doesn't. + """ + unit_label: NotRequired[pulumi.Input[str]] + """ + A label for the units that the metric is measuring. + """ +elif False: + LaunchMetricDefinitionObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchMetricDefinitionObjectArgs: def __init__(__self__, *, @@ -720,6 +958,23 @@ def unit_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit_label", value) +if not MYPY: + class LaunchSegmentOverrideArgsDict(TypedDict): + evaluation_order: pulumi.Input[int] + """ + A number indicating the order to use to evaluate segment overrides, if there are more than one. Segment overrides with lower numbers are evaluated first. + """ + segment: pulumi.Input[str] + """ + The ARN of the segment to use for this override. + """ + weights: pulumi.Input[Sequence[pulumi.Input['LaunchGroupToWeightArgsDict']]] + """ + The traffic allocation percentages among the feature variations to assign to this segment. This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic. + """ +elif False: + LaunchSegmentOverrideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchSegmentOverrideArgs: def __init__(__self__, *, @@ -772,6 +1027,25 @@ def weights(self, value: pulumi.Input[Sequence[pulumi.Input['LaunchGroupToWeight pulumi.set(self, "weights", value) +if not MYPY: + class LaunchStepConfigArgsDict(TypedDict): + group_weights: pulumi.Input[Sequence[pulumi.Input['LaunchGroupToWeightArgsDict']]] + """ + An array of structures that define how much launch traffic to allocate to each launch group during this step of the launch. + """ + start_time: pulumi.Input[str] + """ + The date and time to start this step of the launch. Use UTC format, `yyyy-MM-ddTHH:mm:ssZ` . For example, `2025-11-25T23:59:59Z` + """ + segment_overrides: NotRequired[pulumi.Input[Sequence[pulumi.Input['LaunchSegmentOverrideArgsDict']]]] + """ + An array of structures that you can use to specify different traffic splits for one or more audience *segments* . A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age. + + For more information, see [Use segments to focus your audience](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html) . + """ +elif False: + LaunchStepConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchStepConfigArgs: def __init__(__self__, *, @@ -829,6 +1103,19 @@ def segment_overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "segment_overrides", value) +if not MYPY: + class ProjectAppConfigResourceObjectArgsDict(TypedDict): + application_id: pulumi.Input[str] + """ + The ID of the AWS AppConfig application to use for client-side evaluation. + """ + environment_id: pulumi.Input[str] + """ + The ID of the AWS AppConfig environment to use for client-side evaluation. + """ +elif False: + ProjectAppConfigResourceObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProjectAppConfigResourceObjectArgs: def __init__(__self__, *, @@ -866,6 +1153,22 @@ def environment_id(self, value: pulumi.Input[str]): pulumi.set(self, "environment_id", value) +if not MYPY: + class ProjectDataDeliveryObjectArgsDict(TypedDict): + """ + Destinations for data. + """ + log_group: NotRequired[pulumi.Input[str]] + """ + If the project stores evaluation events in CloudWatch Logs , this structure stores the log group name. + """ + s3: NotRequired[pulumi.Input['ProjectS3DestinationArgsDict']] + """ + If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix. + """ +elif False: + ProjectDataDeliveryObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProjectDataDeliveryObjectArgs: def __init__(__self__, *, @@ -906,6 +1209,19 @@ def s3(self, value: Optional[pulumi.Input['ProjectS3DestinationArgs']]): pulumi.set(self, "s3", value) +if not MYPY: + class ProjectS3DestinationArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + """ + The name of the bucket in which Evidently stores evaluation events. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + The bucket prefix in which Evidently stores evaluation events. + """ +elif False: + ProjectS3DestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProjectS3DestinationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/evidently/experiment.py b/sdk/python/pulumi_aws_native/evidently/experiment.py index 3df2307f0e..83a6c2cfeb 100644 --- a/sdk/python/pulumi_aws_native/evidently/experiment.py +++ b/sdk/python/pulumi_aws_native/evidently/experiment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/evidently/feature.py b/sdk/python/pulumi_aws_native/evidently/feature.py index d2c71527e3..284e59f922 100644 --- a/sdk/python/pulumi_aws_native/evidently/feature.py +++ b/sdk/python/pulumi_aws_native/evidently/feature.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/evidently/get_experiment.py b/sdk/python/pulumi_aws_native/evidently/get_experiment.py index 6ddb561d7b..12cb96de61 100644 --- a/sdk/python/pulumi_aws_native/evidently/get_experiment.py +++ b/sdk/python/pulumi_aws_native/evidently/get_experiment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -193,9 +198,6 @@ def get_experiment(arn: Optional[str] = None, segment=pulumi.get(__ret__, 'segment'), tags=pulumi.get(__ret__, 'tags'), treatments=pulumi.get(__ret__, 'treatments')) - - -@_utilities.lift_output_func(get_experiment) def get_experiment_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExperimentResult]: """ @@ -204,4 +206,19 @@ def get_experiment_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the experiment. For example, `arn:aws:evidently:us-west-2:0123455678912:project/myProject/experiment/myExperiment` """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:evidently:getExperiment', __args__, opts=opts, typ=GetExperimentResult) + return __ret__.apply(lambda __response__: GetExperimentResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + metric_goals=pulumi.get(__response__, 'metric_goals'), + online_ab_config=pulumi.get(__response__, 'online_ab_config'), + randomization_salt=pulumi.get(__response__, 'randomization_salt'), + remove_segment=pulumi.get(__response__, 'remove_segment'), + running_status=pulumi.get(__response__, 'running_status'), + sampling_rate=pulumi.get(__response__, 'sampling_rate'), + segment=pulumi.get(__response__, 'segment'), + tags=pulumi.get(__response__, 'tags'), + treatments=pulumi.get(__response__, 'treatments'))) diff --git a/sdk/python/pulumi_aws_native/evidently/get_feature.py b/sdk/python/pulumi_aws_native/evidently/get_feature.py index 88756e8d0a..8c2dea1755 100644 --- a/sdk/python/pulumi_aws_native/evidently/get_feature.py +++ b/sdk/python/pulumi_aws_native/evidently/get_feature.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -143,9 +148,6 @@ def get_feature(arn: Optional[str] = None, evaluation_strategy=pulumi.get(__ret__, 'evaluation_strategy'), tags=pulumi.get(__ret__, 'tags'), variations=pulumi.get(__ret__, 'variations')) - - -@_utilities.lift_output_func(get_feature) def get_feature_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFeatureResult]: """ @@ -154,4 +156,15 @@ def get_feature_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the feature. For example, `arn:aws:evidently:us-west-2:0123455678912:project/myProject/feature/myFeature` . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:evidently:getFeature', __args__, opts=opts, typ=GetFeatureResult) + return __ret__.apply(lambda __response__: GetFeatureResult( + arn=pulumi.get(__response__, 'arn'), + default_variation=pulumi.get(__response__, 'default_variation'), + description=pulumi.get(__response__, 'description'), + entity_overrides=pulumi.get(__response__, 'entity_overrides'), + evaluation_strategy=pulumi.get(__response__, 'evaluation_strategy'), + tags=pulumi.get(__response__, 'tags'), + variations=pulumi.get(__response__, 'variations'))) diff --git a/sdk/python/pulumi_aws_native/evidently/get_launch.py b/sdk/python/pulumi_aws_native/evidently/get_launch.py index c6bd08fbf0..900b089d1d 100644 --- a/sdk/python/pulumi_aws_native/evidently/get_launch.py +++ b/sdk/python/pulumi_aws_native/evidently/get_launch.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -149,9 +154,6 @@ def get_launch(arn: Optional[str] = None, randomization_salt=pulumi.get(__ret__, 'randomization_salt'), scheduled_splits_config=pulumi.get(__ret__, 'scheduled_splits_config'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_launch) def get_launch_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLaunchResult]: """ @@ -160,4 +162,16 @@ def get_launch_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the launch. For example, `arn:aws:evidently:us-west-2:0123455678912:project/myProject/launch/myLaunch` """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:evidently:getLaunch', __args__, opts=opts, typ=GetLaunchResult) + return __ret__.apply(lambda __response__: GetLaunchResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + execution_status=pulumi.get(__response__, 'execution_status'), + groups=pulumi.get(__response__, 'groups'), + metric_monitors=pulumi.get(__response__, 'metric_monitors'), + randomization_salt=pulumi.get(__response__, 'randomization_salt'), + scheduled_splits_config=pulumi.get(__response__, 'scheduled_splits_config'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/evidently/get_project.py b/sdk/python/pulumi_aws_native/evidently/get_project.py index 525921fa66..5f29ba9f5d 100644 --- a/sdk/python/pulumi_aws_native/evidently/get_project.py +++ b/sdk/python/pulumi_aws_native/evidently/get_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -116,9 +121,6 @@ def get_project(arn: Optional[str] = None, data_delivery=pulumi.get(__ret__, 'data_delivery'), description=pulumi.get(__ret__, 'description'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_project) def get_project_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]: """ @@ -127,4 +129,13 @@ def get_project_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the project. For example, `arn:aws:evidently:us-west-2:0123455678912:project/myProject` """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:evidently:getProject', __args__, opts=opts, typ=GetProjectResult) + return __ret__.apply(lambda __response__: GetProjectResult( + app_config_resource=pulumi.get(__response__, 'app_config_resource'), + arn=pulumi.get(__response__, 'arn'), + data_delivery=pulumi.get(__response__, 'data_delivery'), + description=pulumi.get(__response__, 'description'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/evidently/get_segment.py b/sdk/python/pulumi_aws_native/evidently/get_segment.py index 97d4791161..591059b836 100644 --- a/sdk/python/pulumi_aws_native/evidently/get_segment.py +++ b/sdk/python/pulumi_aws_native/evidently/get_segment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_segment(arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), pattern=pulumi.get(__ret__, 'pattern'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_segment) def get_segment_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSegmentResult]: """ @@ -120,4 +122,13 @@ def get_segment_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the segment. For example, `arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment` """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:evidently:getSegment', __args__, opts=opts, typ=GetSegmentResult) + return __ret__.apply(lambda __response__: GetSegmentResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + name=pulumi.get(__response__, 'name'), + pattern=pulumi.get(__response__, 'pattern'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/evidently/launch.py b/sdk/python/pulumi_aws_native/evidently/launch.py index 0e201a6405..ad1fc3e5ec 100644 --- a/sdk/python/pulumi_aws_native/evidently/launch.py +++ b/sdk/python/pulumi_aws_native/evidently/launch.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/evidently/outputs.py b/sdk/python/pulumi_aws_native/evidently/outputs.py index 82f47b715d..ed2498d54d 100644 --- a/sdk/python/pulumi_aws_native/evidently/outputs.py +++ b/sdk/python/pulumi_aws_native/evidently/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/evidently/project.py b/sdk/python/pulumi_aws_native/evidently/project.py index d871139269..72336b28f8 100644 --- a/sdk/python/pulumi_aws_native/evidently/project.py +++ b/sdk/python/pulumi_aws_native/evidently/project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/evidently/segment.py b/sdk/python/pulumi_aws_native/evidently/segment.py index faeb8e84a0..d8454977a2 100644 --- a/sdk/python/pulumi_aws_native/evidently/segment.py +++ b/sdk/python/pulumi_aws_native/evidently/segment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/extension_resource.py b/sdk/python/pulumi_aws_native/extension_resource.py index a03eb35cd6..73d64e957f 100644 --- a/sdk/python/pulumi_aws_native/extension_resource.py +++ b/sdk/python/pulumi_aws_native/extension_resource.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/finspace/_inputs.py b/sdk/python/pulumi_aws_native/finspace/_inputs.py index a69e9aceae..ea315f593d 100644 --- a/sdk/python/pulumi_aws_native/finspace/_inputs.py +++ b/sdk/python/pulumi_aws_native/finspace/_inputs.py @@ -4,18 +4,41 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'EnvironmentFederationParametersAttributeMapItemPropertiesArgs', + 'EnvironmentFederationParametersAttributeMapItemPropertiesArgsDict', 'EnvironmentFederationParametersArgs', + 'EnvironmentFederationParametersArgsDict', 'EnvironmentSuperuserParametersArgs', + 'EnvironmentSuperuserParametersArgsDict', ] +MYPY = False + +if not MYPY: + class EnvironmentFederationParametersAttributeMapItemPropertiesArgsDict(TypedDict): + key: NotRequired[pulumi.Input[str]] + """ + The key name of the tag. You can specify a value that is 1 to 128 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 -. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value for the tag. You can specify a value that is 0 to 256 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 -. + """ +elif False: + EnvironmentFederationParametersAttributeMapItemPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentFederationParametersAttributeMapItemPropertiesArgs: def __init__(__self__, *, @@ -55,6 +78,38 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class EnvironmentFederationParametersArgsDict(TypedDict): + """ + Additional parameters to identify Federation mode + """ + application_call_back_url: NotRequired[pulumi.Input[str]] + """ + SAML metadata URL to link with the Environment + """ + attribute_map: NotRequired[pulumi.Input[Sequence[pulumi.Input['EnvironmentFederationParametersAttributeMapItemPropertiesArgsDict']]]] + """ + Attribute map for SAML configuration + """ + federation_provider_name: NotRequired[pulumi.Input[str]] + """ + Federation provider name to link with the Environment + """ + federation_urn: NotRequired[pulumi.Input[str]] + """ + SAML metadata URL to link with the Environment + """ + saml_metadata_document: NotRequired[pulumi.Input[str]] + """ + SAML metadata document to link the federation provider to the Environment + """ + saml_metadata_url: NotRequired[pulumi.Input[str]] + """ + SAML metadata URL to link with the Environment + """ +elif False: + EnvironmentFederationParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentFederationParametersArgs: def __init__(__self__, *, @@ -159,6 +214,26 @@ def saml_metadata_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "saml_metadata_url", value) +if not MYPY: + class EnvironmentSuperuserParametersArgsDict(TypedDict): + """ + Parameters of the first Superuser for the FinSpace Environment + """ + email_address: NotRequired[pulumi.Input[str]] + """ + Email address + """ + first_name: NotRequired[pulumi.Input[str]] + """ + First name + """ + last_name: NotRequired[pulumi.Input[str]] + """ + Last name + """ +elif False: + EnvironmentSuperuserParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentSuperuserParametersArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/finspace/environment.py b/sdk/python/pulumi_aws_native/finspace/environment.py index 2470e34aa6..0b05d8ffee 100644 --- a/sdk/python/pulumi_aws_native/finspace/environment.py +++ b/sdk/python/pulumi_aws_native/finspace/environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/finspace/get_environment.py b/sdk/python/pulumi_aws_native/finspace/get_environment.py index e970b3182c..3a9d233528 100644 --- a/sdk/python/pulumi_aws_native/finspace/get_environment.py +++ b/sdk/python/pulumi_aws_native/finspace/get_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -174,9 +179,6 @@ def get_environment(environment_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), sage_maker_studio_domain_url=pulumi.get(__ret__, 'sage_maker_studio_domain_url'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_environment) def get_environment_output(environment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentResult]: """ @@ -185,4 +187,18 @@ def get_environment_output(environment_id: Optional[pulumi.Input[str]] = None, :param str environment_id: Unique identifier for representing FinSpace Environment """ - ... + __args__ = dict() + __args__['environmentId'] = environment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:finspace:getEnvironment', __args__, opts=opts, typ=GetEnvironmentResult) + return __ret__.apply(lambda __response__: GetEnvironmentResult( + aws_account_id=pulumi.get(__response__, 'aws_account_id'), + dedicated_service_account_id=pulumi.get(__response__, 'dedicated_service_account_id'), + description=pulumi.get(__response__, 'description'), + environment_arn=pulumi.get(__response__, 'environment_arn'), + environment_id=pulumi.get(__response__, 'environment_id'), + environment_url=pulumi.get(__response__, 'environment_url'), + federation_mode=pulumi.get(__response__, 'federation_mode'), + name=pulumi.get(__response__, 'name'), + sage_maker_studio_domain_url=pulumi.get(__response__, 'sage_maker_studio_domain_url'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/finspace/outputs.py b/sdk/python/pulumi_aws_native/finspace/outputs.py index 571c46fd9b..960e14c578 100644 --- a/sdk/python/pulumi_aws_native/finspace/outputs.py +++ b/sdk/python/pulumi_aws_native/finspace/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/fis/_inputs.py b/sdk/python/pulumi_aws_native/fis/_inputs.py index 20ea4ec1ba..001e57ad8d 100644 --- a/sdk/python/pulumi_aws_native/fis/_inputs.py +++ b/sdk/python/pulumi_aws_native/fis/_inputs.py @@ -4,23 +4,66 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ExperimentTemplateActionArgs', + 'ExperimentTemplateActionArgsDict', 'ExperimentTemplateExperimentOptionsArgs', + 'ExperimentTemplateExperimentOptionsArgsDict', 'ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationPropertiesArgs', + 'ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationPropertiesArgsDict', 'ExperimentTemplateLogConfigurationS3ConfigurationPropertiesArgs', + 'ExperimentTemplateLogConfigurationS3ConfigurationPropertiesArgsDict', 'ExperimentTemplateLogConfigurationArgs', + 'ExperimentTemplateLogConfigurationArgsDict', 'ExperimentTemplateStopConditionArgs', + 'ExperimentTemplateStopConditionArgsDict', 'ExperimentTemplateTargetFilterArgs', + 'ExperimentTemplateTargetFilterArgsDict', 'ExperimentTemplateTargetArgs', + 'ExperimentTemplateTargetArgsDict', ] +MYPY = False + +if not MYPY: + class ExperimentTemplateActionArgsDict(TypedDict): + """ + Specifies an action for the experiment template. + """ + action_id: pulumi.Input[str] + """ + The ID of the action. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description for the action. + """ + parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The parameters for the action, if applicable. + """ + start_after: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The name of the action that must be completed before the current action starts. + """ + targets: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + One or more targets for the action. + """ +elif False: + ExperimentTemplateActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentTemplateActionArgs: def __init__(__self__, *, @@ -108,6 +151,19 @@ def targets(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] pulumi.set(self, "targets", value) +if not MYPY: + class ExperimentTemplateExperimentOptionsArgsDict(TypedDict): + account_targeting: NotRequired[pulumi.Input['ExperimentTemplateExperimentOptionsAccountTargeting']] + """ + The account targeting setting for the experiment template. + """ + empty_target_resolution_mode: NotRequired[pulumi.Input['ExperimentTemplateExperimentOptionsEmptyTargetResolutionMode']] + """ + The target resolution failure mode for the experiment template. + """ +elif False: + ExperimentTemplateExperimentOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentTemplateExperimentOptionsArgs: def __init__(__self__, *, @@ -147,6 +203,15 @@ def empty_target_resolution_mode(self, value: Optional[pulumi.Input['ExperimentT pulumi.set(self, "empty_target_resolution_mode", value) +if not MYPY: + class ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationPropertiesArgsDict(TypedDict): + """ + The configuration for experiment logging to CloudWatch Logs . + """ + log_group_arn: pulumi.Input[str] +elif False: + ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationPropertiesArgs: def __init__(__self__, *, @@ -166,6 +231,16 @@ def log_group_arn(self, value: pulumi.Input[str]): pulumi.set(self, "log_group_arn", value) +if not MYPY: + class ExperimentTemplateLogConfigurationS3ConfigurationPropertiesArgsDict(TypedDict): + """ + The configuration for experiment logging to Amazon S3 . + """ + bucket_name: pulumi.Input[str] + prefix: NotRequired[pulumi.Input[str]] +elif False: + ExperimentTemplateLogConfigurationS3ConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentTemplateLogConfigurationS3ConfigurationPropertiesArgs: def __init__(__self__, *, @@ -197,6 +272,23 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class ExperimentTemplateLogConfigurationArgsDict(TypedDict): + log_schema_version: pulumi.Input[int] + """ + The schema version. + """ + cloud_watch_logs_configuration: NotRequired[pulumi.Input['ExperimentTemplateLogConfigurationCloudWatchLogsConfigurationPropertiesArgsDict']] + """ + The configuration for experiment logging to CloudWatch Logs . + """ + s3_configuration: NotRequired[pulumi.Input['ExperimentTemplateLogConfigurationS3ConfigurationPropertiesArgsDict']] + """ + The configuration for experiment logging to Amazon S3 . + """ +elif False: + ExperimentTemplateLogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentTemplateLogConfigurationArgs: def __init__(__self__, *, @@ -251,6 +343,13 @@ def s3_configuration(self, value: Optional[pulumi.Input['ExperimentTemplateLogCo pulumi.set(self, "s3_configuration", value) +if not MYPY: + class ExperimentTemplateStopConditionArgsDict(TypedDict): + source: pulumi.Input[str] + value: NotRequired[pulumi.Input[str]] +elif False: + ExperimentTemplateStopConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentTemplateStopConditionArgs: def __init__(__self__, *, @@ -279,6 +378,16 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class ExperimentTemplateTargetFilterArgsDict(TypedDict): + """ + Describes a filter used for the target resource input in an experiment template. + """ + path: pulumi.Input[str] + values: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + ExperimentTemplateTargetFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentTemplateTargetFilterArgs: def __init__(__self__, *, @@ -309,6 +418,38 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class ExperimentTemplateTargetArgsDict(TypedDict): + """ + Specifies a target for an experiment. + """ + resource_type: pulumi.Input[str] + """ + The resource type. + """ + selection_mode: pulumi.Input[str] + """ + Scopes the identified resources to a specific count or percentage. + """ + filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ExperimentTemplateTargetFilterArgsDict']]]] + """ + The filters to apply to identify target resources using specific attributes. + """ + parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The parameters for the resource type. + """ + resource_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The Amazon Resource Names (ARNs) of the targets. + """ + resource_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The tags for the target resources. + """ +elif False: + ExperimentTemplateTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExperimentTemplateTargetArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/fis/experiment_template.py b/sdk/python/pulumi_aws_native/fis/experiment_template.py index c8148d9049..d0736d512b 100644 --- a/sdk/python/pulumi_aws_native/fis/experiment_template.py +++ b/sdk/python/pulumi_aws_native/fis/experiment_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/fis/get_experiment_template.py b/sdk/python/pulumi_aws_native/fis/get_experiment_template.py index d2d7aceca9..23aacc1736 100644 --- a/sdk/python/pulumi_aws_native/fis/get_experiment_template.py +++ b/sdk/python/pulumi_aws_native/fis/get_experiment_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -149,9 +154,6 @@ def get_experiment_template(id: Optional[str] = None, role_arn=pulumi.get(__ret__, 'role_arn'), stop_conditions=pulumi.get(__ret__, 'stop_conditions'), targets=pulumi.get(__ret__, 'targets')) - - -@_utilities.lift_output_func(get_experiment_template) def get_experiment_template_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExperimentTemplateResult]: """ @@ -160,4 +162,16 @@ def get_experiment_template_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the experiment template. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:fis:getExperimentTemplate', __args__, opts=opts, typ=GetExperimentTemplateResult) + return __ret__.apply(lambda __response__: GetExperimentTemplateResult( + actions=pulumi.get(__response__, 'actions'), + description=pulumi.get(__response__, 'description'), + experiment_options=pulumi.get(__response__, 'experiment_options'), + id=pulumi.get(__response__, 'id'), + log_configuration=pulumi.get(__response__, 'log_configuration'), + role_arn=pulumi.get(__response__, 'role_arn'), + stop_conditions=pulumi.get(__response__, 'stop_conditions'), + targets=pulumi.get(__response__, 'targets'))) diff --git a/sdk/python/pulumi_aws_native/fis/get_target_account_configuration.py b/sdk/python/pulumi_aws_native/fis/get_target_account_configuration.py index 5b75428755..f91450499b 100644 --- a/sdk/python/pulumi_aws_native/fis/get_target_account_configuration.py +++ b/sdk/python/pulumi_aws_native/fis/get_target_account_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_target_account_configuration(account_id: Optional[str] = None, return AwaitableGetTargetAccountConfigurationResult( description=pulumi.get(__ret__, 'description'), role_arn=pulumi.get(__ret__, 'role_arn')) - - -@_utilities.lift_output_func(get_target_account_configuration) def get_target_account_configuration_output(account_id: Optional[pulumi.Input[str]] = None, experiment_template_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTargetAccountConfigurationResult]: @@ -85,4 +87,11 @@ def get_target_account_configuration_output(account_id: Optional[pulumi.Input[st :param str account_id: The AWS account ID of the target account. :param str experiment_template_id: The ID of the experiment template. """ - ... + __args__ = dict() + __args__['accountId'] = account_id + __args__['experimentTemplateId'] = experiment_template_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:fis:getTargetAccountConfiguration', __args__, opts=opts, typ=GetTargetAccountConfigurationResult) + return __ret__.apply(lambda __response__: GetTargetAccountConfigurationResult( + description=pulumi.get(__response__, 'description'), + role_arn=pulumi.get(__response__, 'role_arn'))) diff --git a/sdk/python/pulumi_aws_native/fis/outputs.py b/sdk/python/pulumi_aws_native/fis/outputs.py index c5cfb60879..3a20805879 100644 --- a/sdk/python/pulumi_aws_native/fis/outputs.py +++ b/sdk/python/pulumi_aws_native/fis/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/fis/target_account_configuration.py b/sdk/python/pulumi_aws_native/fis/target_account_configuration.py index daf39d63aa..0ddb0164e5 100644 --- a/sdk/python/pulumi_aws_native/fis/target_account_configuration.py +++ b/sdk/python/pulumi_aws_native/fis/target_account_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TargetAccountConfigurationArgs', 'TargetAccountConfiguration'] diff --git a/sdk/python/pulumi_aws_native/fms/_inputs.py b/sdk/python/pulumi_aws_native/fms/_inputs.py index 7188fb384d..0104c2b6d2 100644 --- a/sdk/python/pulumi_aws_native/fms/_inputs.py +++ b/sdk/python/pulumi_aws_native/fms/_inputs.py @@ -4,26 +4,60 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'PolicyIeMapArgs', + 'PolicyIeMapArgsDict', 'PolicyNetworkAclCommonPolicyArgs', + 'PolicyNetworkAclCommonPolicyArgsDict', 'PolicyNetworkAclEntryIcmpTypeCodePropertiesArgs', + 'PolicyNetworkAclEntryIcmpTypeCodePropertiesArgsDict', 'PolicyNetworkAclEntryPortRangePropertiesArgs', + 'PolicyNetworkAclEntryPortRangePropertiesArgsDict', 'PolicyNetworkAclEntrySetArgs', + 'PolicyNetworkAclEntrySetArgsDict', 'PolicyNetworkAclEntryArgs', + 'PolicyNetworkAclEntryArgsDict', 'PolicyNetworkFirewallPolicyArgs', + 'PolicyNetworkFirewallPolicyArgsDict', 'PolicyOptionArgs', + 'PolicyOptionArgsDict', 'PolicyResourceTagArgs', + 'PolicyResourceTagArgsDict', 'PolicySecurityServicePolicyDataArgs', + 'PolicySecurityServicePolicyDataArgsDict', 'PolicyThirdPartyFirewallPolicyArgs', + 'PolicyThirdPartyFirewallPolicyArgsDict', ] +MYPY = False + +if not MYPY: + class PolicyIeMapArgsDict(TypedDict): + """ + An FMS includeMap or excludeMap. + """ + account: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The account list for the map. + """ + orgunit: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The organizational unit list for the map. + """ +elif False: + PolicyIeMapArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyIeMapArgs: def __init__(__self__, *, @@ -64,6 +98,18 @@ def orgunit(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "orgunit", value) +if not MYPY: + class PolicyNetworkAclCommonPolicyArgsDict(TypedDict): + """ + Network ACL common policy. + """ + network_acl_entry_set: pulumi.Input['PolicyNetworkAclEntrySetArgsDict'] + """ + The definition of the first and last rules for the network ACL policy. + """ +elif False: + PolicyNetworkAclCommonPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyNetworkAclCommonPolicyArgs: def __init__(__self__, *, @@ -87,6 +133,22 @@ def network_acl_entry_set(self, value: pulumi.Input['PolicyNetworkAclEntrySetArg pulumi.set(self, "network_acl_entry_set", value) +if not MYPY: + class PolicyNetworkAclEntryIcmpTypeCodePropertiesArgsDict(TypedDict): + """ + ICMP type and code. + """ + code: pulumi.Input[int] + """ + Code. + """ + type: pulumi.Input[int] + """ + Type. + """ +elif False: + PolicyNetworkAclEntryIcmpTypeCodePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyNetworkAclEntryIcmpTypeCodePropertiesArgs: def __init__(__self__, *, @@ -125,6 +187,22 @@ def type(self, value: pulumi.Input[int]): pulumi.set(self, "type", value) +if not MYPY: + class PolicyNetworkAclEntryPortRangePropertiesArgsDict(TypedDict): + """ + Port range. + """ + from_: pulumi.Input[int] + """ + From Port. + """ + to: pulumi.Input[int] + """ + To Port. + """ +elif False: + PolicyNetworkAclEntryPortRangePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyNetworkAclEntryPortRangePropertiesArgs: def __init__(__self__, *, @@ -163,6 +241,42 @@ def to(self, value: pulumi.Input[int]): pulumi.set(self, "to", value) +if not MYPY: + class PolicyNetworkAclEntrySetArgsDict(TypedDict): + """ + Network ACL entry set. + """ + force_remediate_for_first_entries: pulumi.Input[bool] + """ + Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries. + + If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see [Remediation for managed network ACLs](https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html#network-acls-remediation) in the *AWS Firewall Manager Developer Guide* . + """ + force_remediate_for_last_entries: pulumi.Input[bool] + """ + Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries. + + If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see [Remediation for managed network ACLs](https://docs.aws.amazon.com/waf/latest/developerguide/network-acl-policies.html#network-acls-remediation) in the *AWS Firewall Manager Developer Guide* . + """ + first_entries: NotRequired[pulumi.Input[Sequence[pulumi.Input['PolicyNetworkAclEntryArgsDict']]]] + """ + The rules that you want to run first in the Firewall Manager managed network ACLs. + + > Provide these in the order in which you want them to run. Firewall Manager will assign the specific rule numbers for you, in the network ACLs that it creates. + + You must specify at least one first entry or one last entry in any network ACL policy. + """ + last_entries: NotRequired[pulumi.Input[Sequence[pulumi.Input['PolicyNetworkAclEntryArgsDict']]]] + """ + The rules that you want to run last in the Firewall Manager managed network ACLs. + + > Provide these in the order in which you want them to run. Firewall Manager will assign the specific rule numbers for you, in the network ACLs that it creates. + + You must specify at least one first entry or one last entry in any network ACL policy. + """ +elif False: + PolicyNetworkAclEntrySetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyNetworkAclEntrySetArgs: def __init__(__self__, *, @@ -257,6 +371,42 @@ def last_entries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Polic pulumi.set(self, "last_entries", value) +if not MYPY: + class PolicyNetworkAclEntryArgsDict(TypedDict): + """ + Network ACL entry. + """ + egress: pulumi.Input[bool] + """ + Whether the entry is an egress entry. + """ + protocol: pulumi.Input[str] + """ + Protocol. + """ + rule_action: pulumi.Input['PolicyNetworkAclEntryRuleAction'] + """ + Rule Action. + """ + cidr_block: NotRequired[pulumi.Input[str]] + """ + CIDR block. + """ + icmp_type_code: NotRequired[pulumi.Input['PolicyNetworkAclEntryIcmpTypeCodePropertiesArgsDict']] + """ + ICMP type and code. + """ + ipv6_cidr_block: NotRequired[pulumi.Input[str]] + """ + IPv6 CIDR block. + """ + port_range: NotRequired[pulumi.Input['PolicyNetworkAclEntryPortRangePropertiesArgsDict']] + """ + Port range. + """ +elif False: + PolicyNetworkAclEntryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyNetworkAclEntryArgs: def __init__(__self__, *, @@ -374,6 +524,18 @@ def port_range(self, value: Optional[pulumi.Input['PolicyNetworkAclEntryPortRang pulumi.set(self, "port_range", value) +if not MYPY: + class PolicyNetworkFirewallPolicyArgsDict(TypedDict): + """ + Network firewall policy. + """ + firewall_deployment_model: pulumi.Input['PolicyFirewallDeploymentModel'] + """ + Defines the deployment model to use for the firewall policy. To use a distributed model, set [FirewallDeploymentModel](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-thirdpartyfirewallpolicy.html) to `DISTRIBUTED` . + """ +elif False: + PolicyNetworkFirewallPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyNetworkFirewallPolicyArgs: def __init__(__self__, *, @@ -397,6 +559,26 @@ def firewall_deployment_model(self, value: pulumi.Input['PolicyFirewallDeploymen pulumi.set(self, "firewall_deployment_model", value) +if not MYPY: + class PolicyOptionArgsDict(TypedDict): + """ + Firewall policy option. + """ + network_acl_common_policy: NotRequired[pulumi.Input['PolicyNetworkAclCommonPolicyArgsDict']] + """ + Defines a Firewall Manager network ACL policy. + """ + network_firewall_policy: NotRequired[pulumi.Input['PolicyNetworkFirewallPolicyArgsDict']] + """ + Defines the deployment model to use for the firewall policy. + """ + third_party_firewall_policy: NotRequired[pulumi.Input['PolicyThirdPartyFirewallPolicyArgsDict']] + """ + Defines the policy options for a third-party firewall policy. + """ +elif False: + PolicyOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyOptionArgs: def __init__(__self__, *, @@ -453,6 +635,22 @@ def third_party_firewall_policy(self, value: Optional[pulumi.Input['PolicyThirdP pulumi.set(self, "third_party_firewall_policy", value) +if not MYPY: + class PolicyResourceTagArgsDict(TypedDict): + """ + A resource tag. + """ + key: pulumi.Input[str] + """ + The resource tag key. + """ + value: NotRequired[pulumi.Input[str]] + """ + The resource tag value. + """ +elif False: + PolicyResourceTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyResourceTagArgs: def __init__(__self__, *, @@ -492,6 +690,105 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class PolicySecurityServicePolicyDataArgsDict(TypedDict): + """ + Firewall security service policy data. + """ + type: pulumi.Input['PolicyType'] + """ + The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an AWS WAF policy, a Shield Advanced policy, or a security group policy. For security group policies, Firewall Manager supports one security group for each common policy and for each content audit policy. This is an adjustable limit that you can increase by contacting AWS Support . + """ + managed_service_data: NotRequired[pulumi.Input[str]] + """ + Details about the service that are specific to the service type, in JSON format. + + - Example: `DNS_FIREWALL` + + `"{\\"type\\":\\"DNS_FIREWALL\\",\\"preProcessRuleGroups\\":[{\\"ruleGroupId\\":\\"rslvr-frg-1\\",\\"priority\\":10}],\\"postProcessRuleGroups\\":[{\\"ruleGroupId\\":\\"rslvr-frg-2\\",\\"priority\\":9911}]}"` + + > Valid values for `preProcessRuleGroups` are between 1 and 99. Valid values for `postProcessRuleGroups` are between 9901 and 10000. + - Example: `NETWORK_FIREWALL` - Centralized deployment model + + `"{\\"type\\":\\"NETWORK_FIREWALL\\",\\"awsNetworkFirewallConfig\\":{\\"networkFirewallStatelessRuleGroupReferences\\":[{\\"resourceARN\\":\\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\\",\\"priority\\":1}],\\"networkFirewallStatelessDefaultActions\\":[\\"aws:forward_to_sfe\\",\\"customActionName\\"],\\"networkFirewallStatelessFragmentDefaultActions\\":[\\"aws:forward_to_sfe\\",\\"customActionName\\"],\\"networkFirewallStatelessCustomActions\\":[{\\"actionName\\":\\"customActionName\\",\\"actionDefinition\\":{\\"publishMetricAction\\":{\\"dimensions\\":[{\\"value\\":\\"metricdimensionvalue\\"}]}}}],\\"networkFirewallStatefulRuleGroupReferences\\":[{\\"resourceARN\\":\\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\\"}],\\"networkFirewallLoggingConfiguration\\":{\\"logDestinationConfigs\\":[{\\"logDestinationType\\":\\"S3\\",\\"logType\\":\\"ALERT\\",\\"logDestination\\":{\\"bucketName\\":\\"s3-bucket-name\\"}},{\\"logDestinationType\\":\\"S3\\",\\"logType\\":\\"FLOW\\",\\"logDestination\\":{\\"bucketName\\":\\"s3-bucket-name\\"}}],\\"overrideExistingConfig\\":true}},\\"firewallDeploymentModel\\":{\\"centralizedFirewallDeploymentModel\\":{\\"centralizedFirewallOrchestrationConfig\\":{\\"inspectionVpcIds\\":[{\\"resourceId\\":\\"vpc-1234\\",\\"accountId\\":\\"123456789011\\"}],\\"firewallCreationConfig\\":{\\"endpointLocation\\":{\\"availabilityZoneConfigList\\":[{\\"availabilityZoneId\\":null,\\"availabilityZoneName\\":\\"us-east-1a\\",\\"allowedIPV4CidrList\\":[\\"10.0.0.0/28\\"]}]}},\\"allowedIPV4CidrList\\":[]}}}}"` + + To use the distributed deployment model, you must set [FirewallDeploymentModel](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-networkfirewallpolicy.html) to `DISTRIBUTED` . + - Example: `NETWORK_FIREWALL` - Distributed deployment model with automatic Availability Zone configuration + + `"{\\"type\\":\\"NETWORK_FIREWALL\\",\\"networkFirewallStatelessRuleGroupReferences\\":[{\\"resourceARN\\":\\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\\",\\"priority\\":1}],\\"networkFirewallStatelessDefaultActions\\":[\\"aws:forward_to_sfe\\",\\"customActionName\\"],\\"networkFirewallStatelessFragmentDefaultActions\\":[\\"aws:forward_to_sfe\\",\\"customActionName\\"],\\"networkFirewallStatelessCustomActions\\":[{\\"actionName\\":\\"customActionName\\",\\"actionDefinition\\":{\\"publishMetricAction\\":{\\"dimensions\\":[{\\"value\\":\\"metricdimensionvalue\\"}]}}}],\\"networkFirewallStatefulRuleGroupReferences\\":[{\\"resourceARN\\":\\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\\"}],\\"networkFirewallOrchestrationConfig\\":{\\"singleFirewallEndpointPerVPC\\":false,\\"allowedIPV4CidrList\\":[\\"10.0.0.0/28\\",\\"192.168.0.0/28\\"],\\"routeManagementAction\\":\\"OFF\\"},\\"networkFirewallLoggingConfiguration\\":{\\"logDestinationConfigs\\":[{\\"logDestinationType\\":\\"S3\\",\\"logType\\":\\"ALERT\\",\\"logDestination\\":{\\"bucketName\\":\\"s3-bucket-name\\"}},{\\"logDestinationType\\":\\"S3\\",\\"logType\\":\\"FLOW\\",\\"logDestination\\":{\\"bucketName\\":\\"s3-bucket-name\\"}}],\\"overrideExistingConfig\\":true}}"` + + With automatic Availbility Zone configuration, Firewall Manager chooses which Availability Zones to create the endpoints in. To use the distributed deployment model, you must set [FirewallDeploymentModel](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-networkfirewallpolicy.html) to `DISTRIBUTED` . + - Example: `NETWORK_FIREWALL` - Distributed deployment model with automatic Availability Zone configuration and route management + + `"{\\"type\\":\\"NETWORK_FIREWALL\\",\\"networkFirewallStatelessRuleGroupReferences\\":[{\\"resourceARN\\":\\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\\",\\"priority\\":1}],\\"networkFirewallStatelessDefaultActions\\":[\\"aws:forward_to_sfe\\",\\"customActionName\\"],\\"networkFirewallStatelessFragmentDefaultActions\\":[\\"aws:forward_to_sfe\\",\\"customActionName\\"],\\"networkFirewallStatelessCustomActions\\":[{\\"actionName\\":\\"customActionName\\",\\"actionDefinition\\":{\\"publishMetricAction\\":{\\"dimensions\\":[{\\"value\\":\\"metricdimensionvalue\\"}]}}}],\\"networkFirewallStatefulRuleGroupReferences\\":[{\\"resourceARN\\":\\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\\"}],\\"networkFirewallOrchestrationConfig\\":{\\"singleFirewallEndpointPerVPC\\":false,\\"allowedIPV4CidrList\\":[\\"10.0.0.0/28\\",\\"192.168.0.0/28\\"],\\"routeManagementAction\\":\\"MONITOR\\",\\"routeManagementTargetTypes\\":[\\"InternetGateway\\"]},\\"networkFirewallLoggingConfiguration\\":{\\"logDestinationConfigs\\":[{\\"logDestinationType\\":\\"S3\\",\\"logType\\":\\"ALERT\\",\\"logDestination\\":{\\"bucketName\\":\\"s3-bucket-name\\"}},{\\"logDestinationType\\":\\"S3\\",\\"logType\\": \\"FLOW\\",\\"logDestination\\":{\\"bucketName\\":\\"s3-bucket-name\\"}}],\\"overrideExistingConfig\\":true}}"` + + To use the distributed deployment model, you must set [FirewallDeploymentModel](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-networkfirewallpolicy.html) to `DISTRIBUTED` . + - Example: `NETWORK_FIREWALL` - Distributed deployment model with custom Availability Zone configuration + + `"{\\"type\\":\\"NETWORK_FIREWALL\\",\\"networkFirewallStatelessRuleGroupReferences\\":[{\\"resourceARN\\":\\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\\",\\"priority\\":1}],\\"networkFirewallStatelessDefaultActions\\":[\\"aws:forward_to_sfe\\",\\"customActionName\\"],\\"networkFirewallStatelessFragmentDefaultActions\\":[\\"aws:forward_to_sfe\\",\\"fragmentcustomactionname\\"],\\"networkFirewallStatelessCustomActions\\":[{\\"actionName\\":\\"customActionName\\", \\"actionDefinition\\":{\\"publishMetricAction\\":{\\"dimensions\\":[{\\"value\\":\\"metricdimensionvalue\\"}]}}},{\\"actionName\\":\\"fragmentcustomactionname\\",\\"actionDefinition\\":{\\"publishMetricAction\\":{\\"dimensions\\":[{\\"value\\":\\"fragmentmetricdimensionvalue\\"}]}}}],\\"networkFirewallStatefulRuleGroupReferences\\":[{\\"resourceARN\\":\\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\\"}],\\"networkFirewallOrchestrationConfig\\":{\\"firewallCreationConfig\\":{ \\"endpointLocation\\":{\\"availabilityZoneConfigList\\":[{\\"availabilityZoneName\\":\\"us-east-1a\\",\\"allowedIPV4CidrList\\":[\\"10.0.0.0/28\\"]},{\\"availabilityZoneName\\":\\"us-east-1b\\",\\"allowedIPV4CidrList\\":[ \\"10.0.0.0/28\\"]}]} },\\"singleFirewallEndpointPerVPC\\":false,\\"allowedIPV4CidrList\\":null,\\"routeManagementAction\\":\\"OFF\\",\\"networkFirewallLoggingConfiguration\\":{\\"logDestinationConfigs\\":[{\\"logDestinationType\\":\\"S3\\",\\"logType\\":\\"ALERT\\",\\"logDestination\\":{\\"bucketName\\":\\"s3-bucket-name\\"}},{\\"logDestinationType\\":\\"S3\\",\\"logType\\":\\"FLOW\\",\\"logDestination\\":{\\"bucketName\\":\\"s3-bucket-name\\"}}],\\"overrideExistingConfig\\":boolean}}"` + + With custom Availability Zone configuration, you define which specific Availability Zones to create endpoints in by configuring `firewallCreationConfig` . To configure the Availability Zones in `firewallCreationConfig` , specify either the `availabilityZoneName` or `availabilityZoneId` parameter, not both parameters. + + To use the distributed deployment model, you must set [FirewallDeploymentModel](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-networkfirewallpolicy.html) to `DISTRIBUTED` . + - Example: `NETWORK_FIREWALL` - Distributed deployment model with custom Availability Zone configuration and route management + + `"{\\"type\\":\\"NETWORK_FIREWALL\\",\\"networkFirewallStatelessRuleGroupReferences\\":[{\\"resourceARN\\":\\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\\",\\"priority\\":1}],\\"networkFirewallStatelessDefaultActions\\":[\\"aws:forward_to_sfe\\",\\"customActionName\\"],\\"networkFirewallStatelessFragmentDefaultActions\\":[\\"aws:forward_to_sfe\\",\\"fragmentcustomactionname\\"],\\"networkFirewallStatelessCustomActions\\":[{\\"actionName\\":\\"customActionName\\",\\"actionDefinition\\":{\\"publishMetricAction\\":{\\"dimensions\\":[{\\"value\\":\\"metricdimensionvalue\\"}]}}},{\\"actionName\\":\\"fragmentcustomactionname\\",\\"actionDefinition\\":{\\"publishMetricAction\\":{\\"dimensions\\":[{\\"value\\":\\"fragmentmetricdimensionvalue\\"}]}}}],\\"networkFirewallStatefulRuleGroupReferences\\":[{\\"resourceARN\\":\\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\\"}],\\"networkFirewallOrchestrationConfig\\":{\\"firewallCreationConfig\\":{\\"endpointLocation\\":{\\"availabilityZoneConfigList\\":[{\\"availabilityZoneName\\":\\"us-east-1a\\",\\"allowedIPV4CidrList\\":[\\"10.0.0.0/28\\"]},{\\"availabilityZoneName\\":\\"us-east-1b\\",\\"allowedIPV4CidrList\\":[\\"10.0.0.0/28\\"]}]}},\\"singleFirewallEndpointPerVPC\\":false,\\"allowedIPV4CidrList\\":null,\\"routeManagementAction\\":\\"MONITOR\\",\\"routeManagementTargetTypes\\":[\\"InternetGateway\\"],\\"routeManagementConfig\\":{\\"allowCrossAZTrafficIfNoEndpoint\\":true}},\\"networkFirewallLoggingConfiguration\\":{\\"logDestinationConfigs\\":[{\\"logDestinationType\\":\\"S3\\",\\"logType\\":\\"ALERT\\",\\"logDestination\\":{\\"bucketName\\":\\"s3-bucket-name\\"}},{\\"logDestinationType\\":\\"S3\\",\\"logType\\":\\"FLOW\\",\\"logDestination\\":{\\"bucketName\\":\\"s3-bucket-name\\"}}],\\"overrideExistingConfig\\":boolean}}"` + + To use the distributed deployment model, you must set [FirewallDeploymentModel](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-networkfirewallpolicy.html) to `DISTRIBUTED` . + - Example: `THIRD_PARTY_FIREWALL` - Palo Alto Networks Cloud Next-Generation Firewall centralized deployment model + + `"{ \\"type\\":\\"THIRD_PARTY_FIREWALL\\", \\"thirdPartyFirewall\\":\\"PALO_ALTO_NETWORKS_CLOUD_NGFW\\", \\"thirdPartyFirewallConfig\\":{ \\"thirdPartyFirewallPolicyList\\":[\\"global-1\\"] },\\"firewallDeploymentModel\\":{\\"centralizedFirewallDeploymentModel\\":{\\"centralizedFirewallOrchestrationConfig\\":{\\"inspectionVpcIds\\":[{\\"resourceId\\":\\"vpc-1234\\",\\"accountId\\":\\"123456789011\\"}],\\"firewallCreationConfig\\":{\\"endpointLocation\\":{\\"availabilityZoneConfigList\\":[{\\"availabilityZoneId\\":null,\\"availabilityZoneName\\":\\"us-east-1a\\",\\"allowedIPV4CidrList\\":[\\"10.0.0.0/28\\"]}]}},\\"allowedIPV4CidrList\\":[]}}}}"` + + To use the distributed deployment model, you must set [FirewallDeploymentModel](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-thirdpartyfirewallpolicy.html) to `CENTRALIZED` . + - Example: `THIRD_PARTY_FIREWALL` - Palo Alto Networks Cloud Next-Generation Firewall distributed deployment model + + `"{\\"type\\":\\"THIRD_PARTY_FIREWALL\\",\\"thirdPartyFirewall\\":\\"PALO_ALTO_NETWORKS_CLOUD_NGFW\\",\\"thirdPartyFirewallConfig\\":{\\"thirdPartyFirewallPolicyList\\":[\\"global-1\\"] },\\"firewallDeploymentModel\\":{ \\"distributedFirewallDeploymentModel\\":{ \\"distributedFirewallOrchestrationConfig\\":{\\"firewallCreationConfig\\":{\\"endpointLocation\\":{ \\"availabilityZoneConfigList\\":[ {\\"availabilityZoneName\\":\\"${AvailabilityZone}\\" } ] } }, \\"allowedIPV4CidrList\\":[ ] } } } }"` + + To use the distributed deployment model, you must set [FirewallDeploymentModel](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-policy-thirdpartyfirewallpolicy.html) to `DISTRIBUTED` . + - Specification for `SHIELD_ADVANCED` for Amazon CloudFront distributions + + `"{\\"type\\":\\"SHIELD_ADVANCED\\",\\"automaticResponseConfiguration\\": {\\"automaticResponseStatus\\":\\"ENABLED|IGNORED|DISABLED\\", \\"automaticResponseAction\\":\\"BLOCK|COUNT\\"}, \\"overrideCustomerWebaclClassic\\":true|false}"` + + For example: `"{\\"type\\":\\"SHIELD_ADVANCED\\",\\"automaticResponseConfiguration\\": {\\"automaticResponseStatus\\":\\"ENABLED\\", \\"automaticResponseAction\\":\\"COUNT\\"}}"` + + The default value for `automaticResponseStatus` is `IGNORED` . The value for `automaticResponseAction` is only required when `automaticResponseStatus` is set to `ENABLED` . The default value for `overrideCustomerWebaclClassic` is `false` . + + For other resource types that you can protect with a Shield Advanced policy, this `ManagedServiceData` configuration is an empty string. + - Example: `WAFV2` + + `"{\\"type\\":\\"WAFV2\\",\\"preProcessRuleGroups\\":[{\\"ruleGroupArn\\":null,\\"overrideAction\\":{\\"type\\":\\"NONE\\"},\\"managedRuleGroupIdentifier\\":{\\"version\\":null,\\"vendorName\\":\\"AWS\\",\\"managedRuleGroupName\\":\\"AWSManagedRulesAmazonIpReputationList\\"},\\"ruleGroupType\\":\\"ManagedRuleGroup\\",\\"excludeRules\\":[{\\"name\\":\\"NoUserAgent_HEADER\\"}]}],\\"postProcessRuleGroups\\":[],\\"defaultAction\\":{\\"type\\":\\"ALLOW\\"},\\"overrideCustomerWebACLAssociation\\":false,\\"loggingConfiguration\\":{\\"logDestinationConfigs\\":[\\"arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination\\"],\\"redactedFields\\":[{\\"redactedFieldType\\":\\"SingleHeader\\",\\"redactedFieldValue\\":\\"Cookies\\"},{\\"redactedFieldType\\":\\"Method\\"}]}}"` + + In the `loggingConfiguration` , you can specify one `logDestinationConfigs` , you can optionally provide up to 20 `redactedFields` , and the `RedactedFieldType` must be one of `URI` , `QUERY_STRING` , `HEADER` , or `METHOD` . + - Example: `AWS WAF Classic` + + `"{\\"type\\": \\"WAF\\", \\"ruleGroups\\": [{\\"id\\":\\"12345678-1bcd-9012-efga-0987654321ab\\", \\"overrideAction\\" : {\\"type\\": \\"COUNT\\"}}], \\"defaultAction\\": {\\"type\\": \\"BLOCK\\"}}"` + - Example: `WAFV2` - AWS Firewall Manager support for AWS WAF managed rule group versioning + + `"{\\"type\\":\\"WAFV2\\",\\"preProcessRuleGroups\\":[{\\"ruleGroupArn\\":null,\\"overrideAction\\":{\\"type\\":\\"NONE\\"},\\"managedRuleGroupIdentifier\\":{\\"versionEnabled\\":true,\\"version\\":\\"Version_2.0\\",\\"vendorName\\":\\"AWS\\",\\"managedRuleGroupName\\":\\"AWSManagedRulesCommonRuleSet\\"},\\"ruleGroupType\\":\\"ManagedRuleGroup\\",\\"excludeRules\\":[{\\"name\\":\\"NoUserAgent_HEADER\\"}]}],\\"postProcessRuleGroups\\":[],\\"defaultAction\\":{\\"type\\":\\"ALLOW\\"},\\"overrideCustomerWebACLAssociation\\":false,\\"loggingConfiguration\\":{\\"logDestinationConfigs\\":[\\"arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination\\"],\\"redactedFields\\":[{\\"redactedFieldType\\":\\"SingleHeader\\",\\"redactedFieldValue\\":\\"Cookies\\"},{\\"redactedFieldType\\":\\"Method\\"}]}}"` + + To use a specific version of a AWS WAF managed rule group in your Firewall Manager policy, you must set `versionEnabled` to `true` , and set `version` to the version you'd like to use. If you don't set `versionEnabled` to `true` , or if you omit `versionEnabled` , then Firewall Manager uses the default version of the AWS WAF managed rule group. + - Example: `SECURITY_GROUPS_COMMON` + + `"{\\"type\\":\\"SECURITY_GROUPS_COMMON\\",\\"revertManualSecurityGroupChanges\\":false,\\"exclusiveResourceSecurityGroupManagement\\":false, \\"applyToAllEC2InstanceENIs\\":false,\\"securityGroups\\":[{\\"id\\":\\" sg-000e55995d61a06bd\\"}]}"` + - Example: Shared VPCs. Apply the preceding policy to resources in shared VPCs as well as to those in VPCs that the account owns + + `"{\\"type\\":\\"SECURITY_GROUPS_COMMON\\",\\"revertManualSecurityGroupChanges\\":false,\\"exclusiveResourceSecurityGroupManagement\\":false, \\"applyToAllEC2InstanceENIs\\":false,\\"includeSharedVPC\\":true,\\"securityGroups\\":[{\\"id\\":\\" sg-000e55995d61a06bd\\"}]}"` + - Example: `SECURITY_GROUPS_CONTENT_AUDIT` + + `"{\\"type\\":\\"SECURITY_GROUPS_CONTENT_AUDIT\\",\\"securityGroups\\":[{\\"id\\":\\"sg-000e55995d61a06bd\\"}],\\"securityGroupAction\\":{\\"type\\":\\"ALLOW\\"}}"` + + The security group action for content audit can be `ALLOW` or `DENY` . For `ALLOW` , all in-scope security group rules must be within the allowed range of the policy's security group rules. For `DENY` , all in-scope security group rules must not contain a value or a range that matches a rule value or range in the policy security group. + - Example: `SECURITY_GROUPS_USAGE_AUDIT` + + `"{\\"type\\":\\"SECURITY_GROUPS_USAGE_AUDIT\\",\\"deleteUnusedSecurityGroups\\":true,\\"coalesceRedundantSecurityGroups\\":true}"` + """ + policy_option: NotRequired[pulumi.Input['PolicyOptionArgsDict']] + """ + Contains the settings to configure a network ACL policy, a AWS Network Firewall firewall policy deployment model, or a third-party firewall policy. + """ +elif False: + PolicySecurityServicePolicyDataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicySecurityServicePolicyDataArgs: def __init__(__self__, *, @@ -705,6 +1002,18 @@ def policy_option(self, value: Optional[pulumi.Input['PolicyOptionArgs']]): pulumi.set(self, "policy_option", value) +if not MYPY: + class PolicyThirdPartyFirewallPolicyArgsDict(TypedDict): + """ + Third party firewall policy. + """ + firewall_deployment_model: pulumi.Input['PolicyFirewallDeploymentModel'] + """ + Defines the deployment model to use for the third-party firewall policy. + """ +elif False: + PolicyThirdPartyFirewallPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyThirdPartyFirewallPolicyArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/fms/get_notification_channel.py b/sdk/python/pulumi_aws_native/fms/get_notification_channel.py index 59e191da35..b5079261fc 100644 --- a/sdk/python/pulumi_aws_native/fms/get_notification_channel.py +++ b/sdk/python/pulumi_aws_native/fms/get_notification_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_notification_channel(sns_topic_arn: Optional[str] = None, return AwaitableGetNotificationChannelResult( sns_role_name=pulumi.get(__ret__, 'sns_role_name'), sns_topic_arn=pulumi.get(__ret__, 'sns_topic_arn')) - - -@_utilities.lift_output_func(get_notification_channel) def get_notification_channel_output(sns_topic_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNotificationChannelResult]: """ @@ -80,4 +82,10 @@ def get_notification_channel_output(sns_topic_arn: Optional[pulumi.Input[str]] = :param str sns_topic_arn: The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager . """ - ... + __args__ = dict() + __args__['snsTopicArn'] = sns_topic_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:fms:getNotificationChannel', __args__, opts=opts, typ=GetNotificationChannelResult) + return __ret__.apply(lambda __response__: GetNotificationChannelResult( + sns_role_name=pulumi.get(__response__, 'sns_role_name'), + sns_topic_arn=pulumi.get(__response__, 'sns_topic_arn'))) diff --git a/sdk/python/pulumi_aws_native/fms/get_policy.py b/sdk/python/pulumi_aws_native/fms/get_policy.py index 5c643e1747..6ab8efb3ba 100644 --- a/sdk/python/pulumi_aws_native/fms/get_policy.py +++ b/sdk/python/pulumi_aws_native/fms/get_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -357,9 +362,6 @@ def get_policy(id: Optional[str] = None, resources_clean_up=pulumi.get(__ret__, 'resources_clean_up'), security_service_policy_data=pulumi.get(__ret__, 'security_service_policy_data'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_policy) def get_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyResult]: """ @@ -368,4 +370,23 @@ def get_policy_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the policy. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:fms:getPolicy', __args__, opts=opts, typ=GetPolicyResult) + return __ret__.apply(lambda __response__: GetPolicyResult( + arn=pulumi.get(__response__, 'arn'), + exclude_map=pulumi.get(__response__, 'exclude_map'), + exclude_resource_tags=pulumi.get(__response__, 'exclude_resource_tags'), + id=pulumi.get(__response__, 'id'), + include_map=pulumi.get(__response__, 'include_map'), + policy_description=pulumi.get(__response__, 'policy_description'), + policy_name=pulumi.get(__response__, 'policy_name'), + remediation_enabled=pulumi.get(__response__, 'remediation_enabled'), + resource_set_ids=pulumi.get(__response__, 'resource_set_ids'), + resource_tags=pulumi.get(__response__, 'resource_tags'), + resource_type=pulumi.get(__response__, 'resource_type'), + resource_type_list=pulumi.get(__response__, 'resource_type_list'), + resources_clean_up=pulumi.get(__response__, 'resources_clean_up'), + security_service_policy_data=pulumi.get(__response__, 'security_service_policy_data'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/fms/get_resource_set.py b/sdk/python/pulumi_aws_native/fms/get_resource_set.py index 761cfeebe6..3e0341d031 100644 --- a/sdk/python/pulumi_aws_native/fms/get_resource_set.py +++ b/sdk/python/pulumi_aws_native/fms/get_resource_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -116,9 +121,6 @@ def get_resource_set(id: Optional[str] = None, resource_type_list=pulumi.get(__ret__, 'resource_type_list'), resources=pulumi.get(__ret__, 'resources'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_resource_set) def get_resource_set_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceSetResult]: """ @@ -127,4 +129,14 @@ def get_resource_set_output(id: Optional[pulumi.Input[str]] = None, :param str id: A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:fms:getResourceSet', __args__, opts=opts, typ=GetResourceSetResult) + return __ret__.apply(lambda __response__: GetResourceSetResult( + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + resource_type_list=pulumi.get(__response__, 'resource_type_list'), + resources=pulumi.get(__response__, 'resources'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/fms/notification_channel.py b/sdk/python/pulumi_aws_native/fms/notification_channel.py index e2d8e9855a..541403939f 100644 --- a/sdk/python/pulumi_aws_native/fms/notification_channel.py +++ b/sdk/python/pulumi_aws_native/fms/notification_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['NotificationChannelArgs', 'NotificationChannel'] diff --git a/sdk/python/pulumi_aws_native/fms/outputs.py b/sdk/python/pulumi_aws_native/fms/outputs.py index 218005450b..902881ca5a 100644 --- a/sdk/python/pulumi_aws_native/fms/outputs.py +++ b/sdk/python/pulumi_aws_native/fms/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/fms/policy.py b/sdk/python/pulumi_aws_native/fms/policy.py index fe95b30bf0..0135bdf55c 100644 --- a/sdk/python/pulumi_aws_native/fms/policy.py +++ b/sdk/python/pulumi_aws_native/fms/policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/fms/resource_set.py b/sdk/python/pulumi_aws_native/fms/resource_set.py index 7bf600cf61..c790bdb47a 100644 --- a/sdk/python/pulumi_aws_native/fms/resource_set.py +++ b/sdk/python/pulumi_aws_native/fms/resource_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/forecast/_inputs.py b/sdk/python/pulumi_aws_native/forecast/_inputs.py index 3d9cce9b5d..4668111684 100644 --- a/sdk/python/pulumi_aws_native/forecast/_inputs.py +++ b/sdk/python/pulumi_aws_native/forecast/_inputs.py @@ -4,18 +4,41 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DatasetAttributesItemPropertiesArgs', + 'DatasetAttributesItemPropertiesArgsDict', 'EncryptionConfigPropertiesArgs', + 'EncryptionConfigPropertiesArgsDict', 'SchemaPropertiesArgs', + 'SchemaPropertiesArgsDict', ] +MYPY = False + +if not MYPY: + class DatasetAttributesItemPropertiesArgsDict(TypedDict): + attribute_name: NotRequired[pulumi.Input[str]] + """ + Name of the dataset field + """ + attribute_type: NotRequired[pulumi.Input['DatasetAttributesItemPropertiesAttributeType']] + """ + Data type of the field + """ +elif False: + DatasetAttributesItemPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetAttributesItemPropertiesArgs: def __init__(__self__, *, @@ -55,6 +78,24 @@ def attribute_type(self, value: Optional[pulumi.Input['DatasetAttributesItemProp pulumi.set(self, "attribute_type", value) +if not MYPY: + class EncryptionConfigPropertiesArgsDict(TypedDict): + """ + A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. + """ + kms_key_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the KMS key. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key. + + Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an `InvalidInputException` error. + """ +elif False: + EncryptionConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EncryptionConfigPropertiesArgs: def __init__(__self__, *, @@ -99,6 +140,18 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class SchemaPropertiesArgsDict(TypedDict): + """ + The schema for the dataset. The schema attributes and their order must match the fields in your data. The dataset `Domain` and `DatasetType` that you choose determine the minimum required fields in your training data. For information about the required fields for a specific dataset domain and type, see [Dataset Domains and Dataset Types](https://docs.aws.amazon.com/forecast/latest/dg/howitworks-domains-ds-types.html) . + """ + attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input['DatasetAttributesItemPropertiesArgsDict']]]] + """ + An array of attributes specifying the name and type of each field in a dataset. + """ +elif False: + SchemaPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SchemaPropertiesArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/forecast/dataset.py b/sdk/python/pulumi_aws_native/forecast/dataset.py index d1f4294e38..3290c89712 100644 --- a/sdk/python/pulumi_aws_native/forecast/dataset.py +++ b/sdk/python/pulumi_aws_native/forecast/dataset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/forecast/dataset_group.py b/sdk/python/pulumi_aws_native/forecast/dataset_group.py index 2f3e019879..44726266bd 100644 --- a/sdk/python/pulumi_aws_native/forecast/dataset_group.py +++ b/sdk/python/pulumi_aws_native/forecast/dataset_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/forecast/get_dataset.py b/sdk/python/pulumi_aws_native/forecast/get_dataset.py index 663c7843aa..cb6406f24d 100644 --- a/sdk/python/pulumi_aws_native/forecast/get_dataset.py +++ b/sdk/python/pulumi_aws_native/forecast/get_dataset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -139,9 +144,6 @@ def get_dataset(arn: Optional[str] = None, encryption_config=pulumi.get(__ret__, 'encryption_config'), schema=pulumi.get(__ret__, 'schema'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_dataset) def get_dataset_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatasetResult]: """ @@ -150,4 +152,15 @@ def get_dataset_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the dataset. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:forecast:getDataset', __args__, opts=opts, typ=GetDatasetResult) + return __ret__.apply(lambda __response__: GetDatasetResult( + arn=pulumi.get(__response__, 'arn'), + data_frequency=pulumi.get(__response__, 'data_frequency'), + dataset_type=pulumi.get(__response__, 'dataset_type'), + domain=pulumi.get(__response__, 'domain'), + encryption_config=pulumi.get(__response__, 'encryption_config'), + schema=pulumi.get(__response__, 'schema'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/forecast/get_dataset_group.py b/sdk/python/pulumi_aws_native/forecast/get_dataset_group.py index 6da4420124..ba328ee010 100644 --- a/sdk/python/pulumi_aws_native/forecast/get_dataset_group.py +++ b/sdk/python/pulumi_aws_native/forecast/get_dataset_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -97,9 +102,6 @@ def get_dataset_group(dataset_group_arn: Optional[str] = None, dataset_group_arn=pulumi.get(__ret__, 'dataset_group_arn'), domain=pulumi.get(__ret__, 'domain'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_dataset_group) def get_dataset_group_output(dataset_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatasetGroupResult]: """ @@ -108,4 +110,12 @@ def get_dataset_group_output(dataset_group_arn: Optional[pulumi.Input[str]] = No :param str dataset_group_arn: The Amazon Resource Name (ARN) of the dataset group to delete. """ - ... + __args__ = dict() + __args__['datasetGroupArn'] = dataset_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:forecast:getDatasetGroup', __args__, opts=opts, typ=GetDatasetGroupResult) + return __ret__.apply(lambda __response__: GetDatasetGroupResult( + dataset_arns=pulumi.get(__response__, 'dataset_arns'), + dataset_group_arn=pulumi.get(__response__, 'dataset_group_arn'), + domain=pulumi.get(__response__, 'domain'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/forecast/outputs.py b/sdk/python/pulumi_aws_native/forecast/outputs.py index f9bb1b46fb..732c9ac56a 100644 --- a/sdk/python/pulumi_aws_native/forecast/outputs.py +++ b/sdk/python/pulumi_aws_native/forecast/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/frauddetector/_inputs.py b/sdk/python/pulumi_aws_native/frauddetector/_inputs.py index 3c2f3bda9f..1a40e281fa 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/_inputs.py +++ b/sdk/python/pulumi_aws_native/frauddetector/_inputs.py @@ -4,27 +4,81 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DetectorEntityTypeArgs', + 'DetectorEntityTypeArgsDict', 'DetectorEventTypeArgs', + 'DetectorEventTypeArgsDict', 'DetectorEventVariableArgs', + 'DetectorEventVariableArgsDict', 'DetectorLabelArgs', + 'DetectorLabelArgsDict', 'DetectorModelArgs', + 'DetectorModelArgsDict', 'DetectorOutcomeArgs', + 'DetectorOutcomeArgsDict', 'DetectorRuleArgs', + 'DetectorRuleArgsDict', 'DetectorTagArgs', + 'DetectorTagArgsDict', 'EventTypeEntityTypeArgs', + 'EventTypeEntityTypeArgsDict', 'EventTypeEventVariableArgs', + 'EventTypeEventVariableArgsDict', 'EventTypeLabelArgs', + 'EventTypeLabelArgsDict', 'EventTypeTagArgs', + 'EventTypeTagArgsDict', ] +MYPY = False + +if not MYPY: + class DetectorEntityTypeArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The entity type ARN. + """ + created_time: NotRequired[pulumi.Input[str]] + """ + The time when the entity type was created. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description. + """ + inline: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true` , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false` , CloudFormation will validate that the object exists and then use it within the resource without making changes to the object. + + For example, when creating `AWS::FraudDetector::Detector` you must define at least two variables. You can set `Inline=true` for these Variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set `Inline=false` , CloudFormation will associate the variables to your detector but not execute any changes to the variables. + """ + last_updated_time: NotRequired[pulumi.Input[str]] + """ + The time when the entity type was last updated. + """ + name: NotRequired[pulumi.Input[str]] + """ + The entity type name. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorTagArgsDict']]]] + """ + Tags associated with this entity type. + """ +elif False: + DetectorEntityTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorEntityTypeArgs: def __init__(__self__, *, @@ -148,6 +202,53 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorTagAr pulumi.set(self, "tags", value) +if not MYPY: + class DetectorEventTypeArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the event type. + """ + created_time: NotRequired[pulumi.Input[str]] + """ + The time when the event type was created. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the event type. + """ + entity_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorEntityTypeArgsDict']]]] + """ + The event type entity types. + """ + event_variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorEventVariableArgsDict']]]] + """ + The event type event variables. + """ + inline: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true` , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false` , CloudFormation will validate that the object exists and then use it within the resource without making changes to the object. + + For example, when creating `AWS::FraudDetector::Detector` you must define at least two variables. You can set `Inline=true` for these variables and CloudFormation will create/update/delete the Variables as part of stack operations. However, if you set `Inline=false` , CloudFormation will associate the variables to your detector but not execute any changes to the variables. + """ + labels: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorLabelArgsDict']]]] + """ + The event type labels. + """ + last_updated_time: NotRequired[pulumi.Input[str]] + """ + The time when the event type was last updated. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name for the event type + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorTagArgsDict']]]] + """ + Tags associated with this event type. + """ +elif False: + DetectorEventTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorEventTypeArgs: def __init__(__self__, *, @@ -319,6 +420,63 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorTagAr pulumi.set(self, "tags", value) +if not MYPY: + class DetectorEventVariableArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The event variable ARN. + """ + created_time: NotRequired[pulumi.Input[str]] + """ + The time when the event variable was created. + """ + data_source: NotRequired[pulumi.Input['DetectorEventVariableDataSource']] + """ + The data source of the event variable. + + Valid values: `EVENT | EXTERNAL_MODEL_SCORE` + + When defining a variable within a detector, you can only use the `EVENT` value for DataSource when the *Inline* property is set to true. If the *Inline* property is set false, you can use either `EVENT` or `MODEL_SCORE` for DataSource. + """ + data_type: NotRequired[pulumi.Input['DetectorEventVariableDataType']] + """ + The data type of the event variable. + + Valid values: `STRING | INTEGER | BOOLEAN | FLOAT` + """ + default_value: NotRequired[pulumi.Input[str]] + """ + The default value of the event variable. This is required if you are providing the details of your variables instead of the ARN. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description. + """ + inline: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true` , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false` , CloudFormation will validate that the object exists and then use it within the resource without making changes to the object. + + For example, when creating `AWS::FraudDetector::Detector` you must define at least two variables. You can set `Inline=true` for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set `Inline=false` , CloudFormation will associate the variables to your detector but not execute any changes to the variables. + """ + last_updated_time: NotRequired[pulumi.Input[str]] + """ + The time when the event variable was last updated. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the event variable. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorTagArgsDict']]]] + """ + Tags associated with this event variable. + """ + variable_type: NotRequired[pulumi.Input['DetectorEventVariableVariableType']] + """ + The type of event variable. For more information, see [Variable types](https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types) . + """ +elif False: + DetectorEventVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorEventVariableArgs: def __init__(__self__, *, @@ -518,6 +676,41 @@ def variable_type(self, value: Optional[pulumi.Input['DetectorEventVariableVaria pulumi.set(self, "variable_type", value) +if not MYPY: + class DetectorLabelArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The label ARN. + """ + created_time: NotRequired[pulumi.Input[str]] + """ + The time when the label was created. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description. + """ + inline: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true` , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false` , CloudFormation will validate that the object exists and then use it within the resource without making changes to the object. + + For example, when creating `AWS::FraudDetector::Detector` you must define at least two variables. You can set `Inline=true` for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set `Inline=false` , CloudFormation will associate the variables to your detector but not execute any changes to the variables. + """ + last_updated_time: NotRequired[pulumi.Input[str]] + """ + The time when the label was last updated. + """ + name: NotRequired[pulumi.Input[str]] + """ + The label name. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorTagArgsDict']]]] + """ + Tags associated with this label. + """ +elif False: + DetectorLabelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorLabelArgs: def __init__(__self__, *, @@ -641,6 +834,18 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorTagAr pulumi.set(self, "tags", value) +if not MYPY: + class DetectorModelArgsDict(TypedDict): + """ + A model to associate with a detector. + """ + arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the model. + """ +elif False: + DetectorModelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelArgs: def __init__(__self__, *, @@ -665,6 +870,41 @@ def arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "arn", value) +if not MYPY: + class DetectorOutcomeArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The outcome ARN. + """ + created_time: NotRequired[pulumi.Input[str]] + """ + The time when the outcome was created. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description. + """ + inline: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true` , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false` , CloudFormation will validate that the object exists and then use it within the resource without making changes to the object. + + For example, when creating `AWS::FraudDetector::Detector` you must define at least two variables. You can set `Inline=true` for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set `Inline=false` , CloudFormation will associate the variables to your detector but not execute any changes to the variables. + """ + last_updated_time: NotRequired[pulumi.Input[str]] + """ + The time when the outcome was last updated. + """ + name: NotRequired[pulumi.Input[str]] + """ + The outcome name. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorTagArgsDict']]]] + """ + Tags associated with this outcome. + """ +elif False: + DetectorOutcomeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorOutcomeArgs: def __init__(__self__, *, @@ -788,6 +1028,57 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorTagAr pulumi.set(self, "tags", value) +if not MYPY: + class DetectorRuleArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The rule ARN. + """ + created_time: NotRequired[pulumi.Input[str]] + """ + The time when the event type was created. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description. + """ + detector_id: NotRequired[pulumi.Input[str]] + """ + The detector for which the rule is associated. + """ + expression: NotRequired[pulumi.Input[str]] + """ + The rule expression. A rule expression captures the business logic. For more information, see [Rule language reference](https://docs.aws.amazon.com/frauddetector/latest/ug/rule-language-reference.html) . + """ + language: NotRequired[pulumi.Input['DetectorRuleLanguage']] + """ + The rule language. + + Valid Value: DETECTORPL + """ + last_updated_time: NotRequired[pulumi.Input[str]] + """ + The time when the event type was last updated. + """ + outcomes: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorOutcomeArgsDict']]]] + """ + The rule outcome. + """ + rule_id: NotRequired[pulumi.Input[str]] + """ + The rule ID. + """ + rule_version: NotRequired[pulumi.Input[str]] + """ + The rule version. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorTagArgsDict']]]] + """ + Tags associated with this event type. + """ +elif False: + DetectorRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorRuleArgs: def __init__(__self__, *, @@ -975,6 +1266,19 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorTagAr pulumi.set(self, "tags", value) +if not MYPY: + class DetectorTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + A tag key. + """ + value: pulumi.Input[str] + """ + A value assigned to a tag key. + """ +elif False: + DetectorTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorTagArgs: def __init__(__self__, *, @@ -1012,6 +1316,43 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class EventTypeEntityTypeArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The entity type ARN. + """ + created_time: NotRequired[pulumi.Input[str]] + """ + The time when the event type was created. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description. + """ + inline: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true` , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false` , CloudFormation will validate that the object exists and then use it within the resource without making changes to the object. + + For example, when creating `AWS::FraudDetector::EventType` you must define at least two variables. You can set `Inline=true` for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set `Inline=false` , CloudFormation will associate the variables to your event type but not execute any changes to the variables. + """ + last_updated_time: NotRequired[pulumi.Input[str]] + """ + The time when the event type was last updated. + """ + name: NotRequired[pulumi.Input[str]] + """ + The entity type name. + + `^[0-9a-z_-]+$` + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['EventTypeTagArgsDict']]]] + """ + Tags associated with this event type. + """ +elif False: + EventTypeEntityTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventTypeEntityTypeArgs: def __init__(__self__, *, @@ -1139,6 +1480,61 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EventTypeTagA pulumi.set(self, "tags", value) +if not MYPY: + class EventTypeEventVariableArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The event variable ARN. + """ + created_time: NotRequired[pulumi.Input[str]] + """ + The time when the event type was created. + """ + data_source: NotRequired[pulumi.Input['EventTypeEventVariableDataSource']] + """ + The source of the event variable. + + Valid values: `EVENT | EXTERNAL_MODEL_SCORE` + + When defining a variable within a event type, you can only use the `EVENT` value for DataSource when the *Inline* property is set to true. If the *Inline* property is set false, you can use either `EVENT` or `MODEL_SCORE` for DataSource. + """ + data_type: NotRequired[pulumi.Input['EventTypeEventVariableDataType']] + """ + The data type of the event variable. For more information, see [Data types](https://docs.aws.amazon.com/frauddetector/latest/ug/variables.html#data-types) . + """ + default_value: NotRequired[pulumi.Input[str]] + """ + The default value of the event variable + """ + description: NotRequired[pulumi.Input[str]] + """ + The description. + """ + inline: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true` , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false` , CloudFormation will validate that the object exists and then use it within the resource without making changes to the object. + + For example, when creating `AWS::FraudDetector::EventType` you must define at least two variables. You can set `Inline=true` for these variables and CloudFormation will create/update/delete the Variables as part of stack operations. However, if you set `Inline=false` , CloudFormation will associate the variables to your event type but not execute any changes to the variables. + """ + last_updated_time: NotRequired[pulumi.Input[str]] + """ + The time when the event type was last updated. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the event variable. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['EventTypeTagArgsDict']]]] + """ + Tags associated with this event type. + """ + variable_type: NotRequired[pulumi.Input['EventTypeEventVariableVariableType']] + """ + The type of event variable. For more information, see [Variable types](https://docs.aws.amazon.com/frauddetector/latest/ug/variables.html#variable-types) . + """ +elif False: + EventTypeEventVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventTypeEventVariableArgs: def __init__(__self__, *, @@ -1334,6 +1730,41 @@ def variable_type(self, value: Optional[pulumi.Input['EventTypeEventVariableVari pulumi.set(self, "variable_type", value) +if not MYPY: + class EventTypeLabelArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The label ARN. + """ + created_time: NotRequired[pulumi.Input[str]] + """ + The time when the event type was created. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description. + """ + inline: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is `true` , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is `false` , CloudFormation will validate that the object exists and then use it within the resource without making changes to the object. + + For example, when creating `AWS::FraudDetector::EventType` you must define at least two variables. You can set `Inline=true` for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set `Inline=false` , CloudFormation will associate the variables to your EventType but not execute any changes to the variables. + """ + last_updated_time: NotRequired[pulumi.Input[str]] + """ + The time when the event type was last updated. + """ + name: NotRequired[pulumi.Input[str]] + """ + The label name. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['EventTypeTagArgsDict']]]] + """ + Tags associated with this event type. + """ +elif False: + EventTypeLabelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventTypeLabelArgs: def __init__(__self__, *, @@ -1457,6 +1888,19 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EventTypeTagA pulumi.set(self, "tags", value) +if not MYPY: + class EventTypeTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + A tag key. + """ + value: pulumi.Input[str] + """ + A value assigned to a tag key. + """ +elif False: + EventTypeTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventTypeTagArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/frauddetector/detector.py b/sdk/python/pulumi_aws_native/frauddetector/detector.py index 846225eebf..339823abbc 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/detector.py +++ b/sdk/python/pulumi_aws_native/frauddetector/detector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/frauddetector/entity_type.py b/sdk/python/pulumi_aws_native/frauddetector/entity_type.py index bc07cb76de..3a6946f794 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/entity_type.py +++ b/sdk/python/pulumi_aws_native/frauddetector/entity_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/frauddetector/event_type.py b/sdk/python/pulumi_aws_native/frauddetector/event_type.py index 831393b7d1..19ae790100 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/event_type.py +++ b/sdk/python/pulumi_aws_native/frauddetector/event_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/frauddetector/get_detector.py b/sdk/python/pulumi_aws_native/frauddetector/get_detector.py index 9f9628f888..81390378a4 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/get_detector.py +++ b/sdk/python/pulumi_aws_native/frauddetector/get_detector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -197,9 +202,6 @@ def get_detector(arn: Optional[str] = None, rule_execution_mode=pulumi.get(__ret__, 'rule_execution_mode'), rules=pulumi.get(__ret__, 'rules'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_detector) def get_detector_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDetectorResult]: """ @@ -208,4 +210,19 @@ def get_detector_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the detector. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:frauddetector:getDetector', __args__, opts=opts, typ=GetDetectorResult) + return __ret__.apply(lambda __response__: GetDetectorResult( + arn=pulumi.get(__response__, 'arn'), + associated_models=pulumi.get(__response__, 'associated_models'), + created_time=pulumi.get(__response__, 'created_time'), + description=pulumi.get(__response__, 'description'), + detector_version_id=pulumi.get(__response__, 'detector_version_id'), + detector_version_status=pulumi.get(__response__, 'detector_version_status'), + event_type=pulumi.get(__response__, 'event_type'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + rule_execution_mode=pulumi.get(__response__, 'rule_execution_mode'), + rules=pulumi.get(__response__, 'rules'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/frauddetector/get_entity_type.py b/sdk/python/pulumi_aws_native/frauddetector/get_entity_type.py index 7fbb55a089..c924f0cbcc 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/get_entity_type.py +++ b/sdk/python/pulumi_aws_native/frauddetector/get_entity_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_entity_type(arn: Optional[str] = None, description=pulumi.get(__ret__, 'description'), last_updated_time=pulumi.get(__ret__, 'last_updated_time'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_entity_type) def get_entity_type_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEntityTypeResult]: """ @@ -120,4 +122,13 @@ def get_entity_type_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The entity type ARN. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:frauddetector:getEntityType', __args__, opts=opts, typ=GetEntityTypeResult) + return __ret__.apply(lambda __response__: GetEntityTypeResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + description=pulumi.get(__response__, 'description'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/frauddetector/get_event_type.py b/sdk/python/pulumi_aws_native/frauddetector/get_event_type.py index cae3f6b43a..bbf9c5c4c9 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/get_event_type.py +++ b/sdk/python/pulumi_aws_native/frauddetector/get_event_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_event_type(arn: Optional[str] = None, labels=pulumi.get(__ret__, 'labels'), last_updated_time=pulumi.get(__ret__, 'last_updated_time'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_event_type) def get_event_type_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventTypeResult]: """ @@ -161,4 +163,16 @@ def get_event_type_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the event type. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:frauddetector:getEventType', __args__, opts=opts, typ=GetEventTypeResult) + return __ret__.apply(lambda __response__: GetEventTypeResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + description=pulumi.get(__response__, 'description'), + entity_types=pulumi.get(__response__, 'entity_types'), + event_variables=pulumi.get(__response__, 'event_variables'), + labels=pulumi.get(__response__, 'labels'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/frauddetector/get_label.py b/sdk/python/pulumi_aws_native/frauddetector/get_label.py index 900a883d37..ad7d379207 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/get_label.py +++ b/sdk/python/pulumi_aws_native/frauddetector/get_label.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_label(arn: Optional[str] = None, description=pulumi.get(__ret__, 'description'), last_updated_time=pulumi.get(__ret__, 'last_updated_time'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_label) def get_label_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLabelResult]: """ @@ -120,4 +122,13 @@ def get_label_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The label ARN. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:frauddetector:getLabel', __args__, opts=opts, typ=GetLabelResult) + return __ret__.apply(lambda __response__: GetLabelResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + description=pulumi.get(__response__, 'description'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/frauddetector/get_list.py b/sdk/python/pulumi_aws_native/frauddetector/get_list.py index e12decad9e..5616a9e531 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/get_list.py +++ b/sdk/python/pulumi_aws_native/frauddetector/get_list.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -135,9 +140,6 @@ def get_list(arn: Optional[str] = None, last_updated_time=pulumi.get(__ret__, 'last_updated_time'), tags=pulumi.get(__ret__, 'tags'), variable_type=pulumi.get(__ret__, 'variable_type')) - - -@_utilities.lift_output_func(get_list) def get_list_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetListResult]: """ @@ -146,4 +148,15 @@ def get_list_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The list ARN. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:frauddetector:getList', __args__, opts=opts, typ=GetListResult) + return __ret__.apply(lambda __response__: GetListResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + description=pulumi.get(__response__, 'description'), + elements=pulumi.get(__response__, 'elements'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + tags=pulumi.get(__response__, 'tags'), + variable_type=pulumi.get(__response__, 'variable_type'))) diff --git a/sdk/python/pulumi_aws_native/frauddetector/get_outcome.py b/sdk/python/pulumi_aws_native/frauddetector/get_outcome.py index 779b81e688..efe04e2d31 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/get_outcome.py +++ b/sdk/python/pulumi_aws_native/frauddetector/get_outcome.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_outcome(arn: Optional[str] = None, description=pulumi.get(__ret__, 'description'), last_updated_time=pulumi.get(__ret__, 'last_updated_time'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_outcome) def get_outcome_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOutcomeResult]: """ @@ -120,4 +122,13 @@ def get_outcome_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The outcome ARN. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:frauddetector:getOutcome', __args__, opts=opts, typ=GetOutcomeResult) + return __ret__.apply(lambda __response__: GetOutcomeResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + description=pulumi.get(__response__, 'description'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/frauddetector/get_variable.py b/sdk/python/pulumi_aws_native/frauddetector/get_variable.py index 88958ad100..14fc747ac9 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/get_variable.py +++ b/sdk/python/pulumi_aws_native/frauddetector/get_variable.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -162,9 +167,6 @@ def get_variable(arn: Optional[str] = None, last_updated_time=pulumi.get(__ret__, 'last_updated_time'), tags=pulumi.get(__ret__, 'tags'), variable_type=pulumi.get(__ret__, 'variable_type')) - - -@_utilities.lift_output_func(get_variable) def get_variable_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVariableResult]: """ @@ -173,4 +175,17 @@ def get_variable_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the variable. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:frauddetector:getVariable', __args__, opts=opts, typ=GetVariableResult) + return __ret__.apply(lambda __response__: GetVariableResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + data_source=pulumi.get(__response__, 'data_source'), + data_type=pulumi.get(__response__, 'data_type'), + default_value=pulumi.get(__response__, 'default_value'), + description=pulumi.get(__response__, 'description'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + tags=pulumi.get(__response__, 'tags'), + variable_type=pulumi.get(__response__, 'variable_type'))) diff --git a/sdk/python/pulumi_aws_native/frauddetector/label.py b/sdk/python/pulumi_aws_native/frauddetector/label.py index 18fdfc8c27..61c1c3c3b2 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/label.py +++ b/sdk/python/pulumi_aws_native/frauddetector/label.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/frauddetector/list.py b/sdk/python/pulumi_aws_native/frauddetector/list.py index 37980950fa..53a71be4ad 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/list.py +++ b/sdk/python/pulumi_aws_native/frauddetector/list.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/frauddetector/outcome.py b/sdk/python/pulumi_aws_native/frauddetector/outcome.py index 8734b6a224..e91c222b43 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/outcome.py +++ b/sdk/python/pulumi_aws_native/frauddetector/outcome.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/frauddetector/outputs.py b/sdk/python/pulumi_aws_native/frauddetector/outputs.py index dc18758739..efaaa27c87 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/outputs.py +++ b/sdk/python/pulumi_aws_native/frauddetector/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/frauddetector/variable.py b/sdk/python/pulumi_aws_native/frauddetector/variable.py index 58e92c3d97..9d12768549 100644 --- a/sdk/python/pulumi_aws_native/frauddetector/variable.py +++ b/sdk/python/pulumi_aws_native/frauddetector/variable.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/fsx/_inputs.py b/sdk/python/pulumi_aws_native/fsx/_inputs.py index 2608a6d4d6..743f83a102 100644 --- a/sdk/python/pulumi_aws_native/fsx/_inputs.py +++ b/sdk/python/pulumi_aws_native/fsx/_inputs.py @@ -4,18 +4,46 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DataRepositoryAssociationAutoExportPolicyArgs', + 'DataRepositoryAssociationAutoExportPolicyArgsDict', 'DataRepositoryAssociationAutoImportPolicyArgs', + 'DataRepositoryAssociationAutoImportPolicyArgsDict', 'DataRepositoryAssociationS3Args', + 'DataRepositoryAssociationS3ArgsDict', ] +MYPY = False + +if not MYPY: + class DataRepositoryAssociationAutoExportPolicyArgsDict(TypedDict): + """ + Describes a data repository association's automatic export policy. The ``AutoExportPolicy`` defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file. + The ``AutoExportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association. + """ + events: pulumi.Input[Sequence[pulumi.Input['DataRepositoryAssociationEventType']]] + """ + The ``AutoExportPolicy`` can have the following event values: + + ``NEW`` - New files and directories are automatically exported to the data repository as they are added to the file system. + + ``CHANGED`` - Changes to files and directories on the file system are automatically exported to the data repository. + + ``DELETED`` - Files and directories are automatically deleted on the data repository when they are deleted on the file system. + + You can define any combination of event types for your ``AutoExportPolicy``. + """ +elif False: + DataRepositoryAssociationAutoExportPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataRepositoryAssociationAutoExportPolicyArgs: def __init__(__self__, *, @@ -50,6 +78,24 @@ def events(self, value: pulumi.Input[Sequence[pulumi.Input['DataRepositoryAssoci pulumi.set(self, "events", value) +if not MYPY: + class DataRepositoryAssociationAutoImportPolicyArgsDict(TypedDict): + """ + Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket. + The ``AutoImportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association. + """ + events: pulumi.Input[Sequence[pulumi.Input['DataRepositoryAssociationEventType']]] + """ + The ``AutoImportPolicy`` can have the following event values: + + ``NEW`` - Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system. + + ``CHANGED`` - Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository. + + ``DELETED`` - Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository. + + You can define any combination of event types for your ``AutoImportPolicy``. + """ +elif False: + DataRepositoryAssociationAutoImportPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataRepositoryAssociationAutoImportPolicyArgs: def __init__(__self__, *, @@ -84,6 +130,24 @@ def events(self, value: pulumi.Input[Sequence[pulumi.Input['DataRepositoryAssoci pulumi.set(self, "events", value) +if not MYPY: + class DataRepositoryAssociationS3ArgsDict(TypedDict): + """ + The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository. + """ + auto_export_policy: NotRequired[pulumi.Input['DataRepositoryAssociationAutoExportPolicyArgsDict']] + """ + Describes a data repository association's automatic export policy. The ``AutoExportPolicy`` defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file. + The ``AutoExportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association. + """ + auto_import_policy: NotRequired[pulumi.Input['DataRepositoryAssociationAutoImportPolicyArgsDict']] + """ + Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket. + The ``AutoImportPolicy`` is only supported on Amazon FSx for Lustre file systems with a data repository association. + """ +elif False: + DataRepositoryAssociationS3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataRepositoryAssociationS3Args: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/fsx/data_repository_association.py b/sdk/python/pulumi_aws_native/fsx/data_repository_association.py index 61916915c2..28fcf66235 100644 --- a/sdk/python/pulumi_aws_native/fsx/data_repository_association.py +++ b/sdk/python/pulumi_aws_native/fsx/data_repository_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/fsx/get_data_repository_association.py b/sdk/python/pulumi_aws_native/fsx/get_data_repository_association.py index 427bd0890c..4db96297d4 100644 --- a/sdk/python/pulumi_aws_native/fsx/get_data_repository_association.py +++ b/sdk/python/pulumi_aws_native/fsx/get_data_repository_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -120,9 +125,6 @@ def get_data_repository_association(association_id: Optional[str] = None, resource_arn=pulumi.get(__ret__, 'resource_arn'), s3=pulumi.get(__ret__, 's3'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_data_repository_association) def get_data_repository_association_output(association_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataRepositoryAssociationResult]: """ @@ -134,4 +136,13 @@ def get_data_repository_association_output(association_id: Optional[pulumi.Input Example: `dra-abcdef0123456789d` """ - ... + __args__ = dict() + __args__['associationId'] = association_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:fsx:getDataRepositoryAssociation', __args__, opts=opts, typ=GetDataRepositoryAssociationResult) + return __ret__.apply(lambda __response__: GetDataRepositoryAssociationResult( + association_id=pulumi.get(__response__, 'association_id'), + imported_file_chunk_size=pulumi.get(__response__, 'imported_file_chunk_size'), + resource_arn=pulumi.get(__response__, 'resource_arn'), + s3=pulumi.get(__response__, 's3'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/fsx/outputs.py b/sdk/python/pulumi_aws_native/fsx/outputs.py index 52c76b1ffc..f5ccb0a850 100644 --- a/sdk/python/pulumi_aws_native/fsx/outputs.py +++ b/sdk/python/pulumi_aws_native/fsx/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/gamelift/_inputs.py b/sdk/python/pulumi_aws_native/gamelift/_inputs.py index 274bd82747..c987617265 100644 --- a/sdk/python/pulumi_aws_native/gamelift/_inputs.py +++ b/sdk/python/pulumi_aws_native/gamelift/_inputs.py @@ -4,47 +4,103 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AliasRoutingStrategyArgs', + 'AliasRoutingStrategyArgsDict', 'BuildStorageLocationArgs', + 'BuildStorageLocationArgsDict', 'ContainerGroupDefinitionContainerDefinitionArgs', + 'ContainerGroupDefinitionContainerDefinitionArgsDict', 'ContainerGroupDefinitionContainerDependencyArgs', + 'ContainerGroupDefinitionContainerDependencyArgsDict', 'ContainerGroupDefinitionContainerEnvironmentArgs', + 'ContainerGroupDefinitionContainerEnvironmentArgsDict', 'ContainerGroupDefinitionContainerHealthCheckArgs', + 'ContainerGroupDefinitionContainerHealthCheckArgsDict', 'ContainerGroupDefinitionContainerPortRangeArgs', + 'ContainerGroupDefinitionContainerPortRangeArgsDict', 'ContainerGroupDefinitionMemoryLimitsArgs', + 'ContainerGroupDefinitionMemoryLimitsArgsDict', 'ContainerGroupDefinitionPortConfigurationArgs', + 'ContainerGroupDefinitionPortConfigurationArgsDict', 'FleetAnywhereConfigurationArgs', + 'FleetAnywhereConfigurationArgsDict', 'FleetCertificateConfigurationArgs', + 'FleetCertificateConfigurationArgsDict', 'FleetConnectionPortRangeArgs', + 'FleetConnectionPortRangeArgsDict', 'FleetContainerGroupsConfigurationArgs', + 'FleetContainerGroupsConfigurationArgsDict', 'FleetContainerGroupsPerInstanceArgs', + 'FleetContainerGroupsPerInstanceArgsDict', 'FleetIpPermissionArgs', + 'FleetIpPermissionArgsDict', 'FleetLocationCapacityArgs', + 'FleetLocationCapacityArgsDict', 'FleetLocationConfigurationArgs', + 'FleetLocationConfigurationArgsDict', 'FleetResourceCreationLimitPolicyArgs', + 'FleetResourceCreationLimitPolicyArgsDict', 'FleetRuntimeConfigurationArgs', + 'FleetRuntimeConfigurationArgsDict', 'FleetScalingPolicyArgs', + 'FleetScalingPolicyArgsDict', 'FleetServerProcessArgs', + 'FleetServerProcessArgsDict', 'FleetTargetConfigurationArgs', + 'FleetTargetConfigurationArgsDict', 'GameServerGroupAutoScalingPolicyArgs', + 'GameServerGroupAutoScalingPolicyArgsDict', 'GameServerGroupInstanceDefinitionArgs', + 'GameServerGroupInstanceDefinitionArgsDict', 'GameServerGroupLaunchTemplateArgs', + 'GameServerGroupLaunchTemplateArgsDict', 'GameServerGroupTargetTrackingConfigurationArgs', + 'GameServerGroupTargetTrackingConfigurationArgsDict', 'GameSessionQueueDestinationArgs', + 'GameSessionQueueDestinationArgsDict', 'GameSessionQueueFilterConfigurationArgs', + 'GameSessionQueueFilterConfigurationArgsDict', 'GameSessionQueuePlayerLatencyPolicyArgs', + 'GameSessionQueuePlayerLatencyPolicyArgsDict', 'GameSessionQueuePriorityConfigurationArgs', + 'GameSessionQueuePriorityConfigurationArgsDict', 'MatchmakingConfigurationGamePropertyArgs', + 'MatchmakingConfigurationGamePropertyArgsDict', 'ScriptS3LocationArgs', + 'ScriptS3LocationArgsDict', ] +MYPY = False + +if not MYPY: + class AliasRoutingStrategyArgsDict(TypedDict): + type: pulumi.Input['AliasRoutingStrategyType'] + """ + Simple routing strategy. The alias resolves to one specific fleet. Use this type when routing to active fleets. + """ + fleet_id: NotRequired[pulumi.Input[str]] + """ + A unique identifier for a fleet that the alias points to. If you specify SIMPLE for the Type property, you must specify this property. + """ + message: NotRequired[pulumi.Input[str]] + """ + The message text to be used with a terminal routing strategy. If you specify TERMINAL for the Type property, you must specify this property. + """ +elif False: + AliasRoutingStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AliasRoutingStrategyArgs: def __init__(__self__, *, @@ -99,6 +155,27 @@ def message(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "message", value) +if not MYPY: + class BuildStorageLocationArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + An Amazon S3 bucket identifier. This is the name of the S3 bucket. + """ + key: pulumi.Input[str] + """ + The name of the zip file that contains the build files or script files. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket. + """ + object_version: NotRequired[pulumi.Input[str]] + """ + The version of the file, if object versioning is turned on for the bucket. Amazon GameLift uses this information when retrieving files from your S3 bucket. To retrieve a specific version of the file, provide an object version. To retrieve the latest version of the file, do not set this parameter. + """ +elif False: + BuildStorageLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BuildStorageLocationArgs: def __init__(__self__, *, @@ -167,6 +244,66 @@ def object_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "object_version", value) +if not MYPY: + class ContainerGroupDefinitionContainerDefinitionArgsDict(TypedDict): + """ + Details about a container that is used in a container fleet + """ + container_name: pulumi.Input[str] + """ + A descriptive label for the container definition. Container definition names must be unique with a container group definition. + """ + image_uri: pulumi.Input[str] + """ + Specifies the image URI of this container. + """ + command: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The command that's passed to the container. + """ + cpu: NotRequired[pulumi.Input[int]] + """ + The maximum number of CPU units reserved for this container. The value is expressed as an integer amount of CPU units. 1 vCPU is equal to 1024 CPU units + """ + depends_on: NotRequired[pulumi.Input[Sequence[pulumi.Input['ContainerGroupDefinitionContainerDependencyArgsDict']]]] + """ + A list of container dependencies that determines when this container starts up and shuts down. For container groups with multiple containers, dependencies let you define a startup/shutdown sequence across the containers. + """ + entry_point: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The entry point that's passed to the container so that it will run as an executable. If there are multiple arguments, each argument is a string in the array. + """ + environment: NotRequired[pulumi.Input[Sequence[pulumi.Input['ContainerGroupDefinitionContainerEnvironmentArgsDict']]]] + """ + The environment variables to pass to a container. + """ + essential: NotRequired[pulumi.Input[bool]] + """ + Specifies if the container is essential. If an essential container fails a health check, then all containers in the container group will be restarted. You must specify exactly 1 essential container in a container group. + """ + health_check: NotRequired[pulumi.Input['ContainerGroupDefinitionContainerHealthCheckArgsDict']] + """ + Specifies how the health of the containers will be checked. + """ + memory_limits: NotRequired[pulumi.Input['ContainerGroupDefinitionMemoryLimitsArgsDict']] + """ + Specifies how much memory is available to the container. You must specify at least this parameter or the TotalMemoryLimit parameter of the ContainerGroupDefinition. + """ + port_configuration: NotRequired[pulumi.Input['ContainerGroupDefinitionPortConfigurationArgsDict']] + """ + Defines the ports on the container. + """ + resolved_image_digest: NotRequired[pulumi.Input[str]] + """ + The digest of the container image. + """ + working_directory: NotRequired[pulumi.Input[str]] + """ + The working directory to run commands inside the container in. + """ +elif False: + ContainerGroupDefinitionContainerDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerGroupDefinitionContainerDefinitionArgs: def __init__(__self__, *, @@ -381,6 +518,22 @@ def working_directory(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "working_directory", value) +if not MYPY: + class ContainerGroupDefinitionContainerDependencyArgsDict(TypedDict): + """ + A dependency that impacts a container's startup and shutdown. + """ + condition: pulumi.Input['ContainerGroupDefinitionContainerDependencyCondition'] + """ + The type of dependency. + """ + container_name: pulumi.Input[str] + """ + A descriptive label for the container definition. The container being defined depends on this container's condition. + """ +elif False: + ContainerGroupDefinitionContainerDependencyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerGroupDefinitionContainerDependencyArgs: def __init__(__self__, *, @@ -419,6 +572,22 @@ def container_name(self, value: pulumi.Input[str]): pulumi.set(self, "container_name", value) +if not MYPY: + class ContainerGroupDefinitionContainerEnvironmentArgsDict(TypedDict): + """ + An environment variable to set inside a container, in the form of a key-value pair. + """ + name: pulumi.Input[str] + """ + The environment variable name. + """ + value: pulumi.Input[str] + """ + The environment variable value. + """ +elif False: + ContainerGroupDefinitionContainerEnvironmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerGroupDefinitionContainerEnvironmentArgs: def __init__(__self__, *, @@ -457,6 +626,34 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ContainerGroupDefinitionContainerHealthCheckArgsDict(TypedDict): + """ + Specifies how the process manager checks the health of containers. + """ + command: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A string array representing the command that the container runs to determine if it is healthy. + """ + interval: NotRequired[pulumi.Input[int]] + """ + How often (in seconds) the health is checked. + """ + retries: NotRequired[pulumi.Input[int]] + """ + How many times the process manager will retry the command after a timeout. (The first run of the command does not count as a retry.) + """ + start_period: NotRequired[pulumi.Input[int]] + """ + The optional grace period (in seconds) to give a container time to boostrap before teh health check is declared failed. + """ + timeout: NotRequired[pulumi.Input[int]] + """ + How many seconds the process manager allows the command to run before canceling it. + """ +elif False: + ContainerGroupDefinitionContainerHealthCheckArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerGroupDefinitionContainerHealthCheckArgs: def __init__(__self__, *, @@ -544,6 +741,26 @@ def timeout(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "timeout", value) +if not MYPY: + class ContainerGroupDefinitionContainerPortRangeArgsDict(TypedDict): + """ + A set of one or more port numbers that can be opened on the container. + """ + from_port: pulumi.Input[int] + """ + A starting value for the range of allowed port numbers. + """ + protocol: pulumi.Input['ContainerGroupDefinitionContainerPortRangeProtocol'] + """ + Defines the protocol of these ports. + """ + to_port: pulumi.Input[int] + """ + An ending value for the range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than FromPort. + """ +elif False: + ContainerGroupDefinitionContainerPortRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerGroupDefinitionContainerPortRangeArgs: def __init__(__self__, *, @@ -597,6 +814,22 @@ def to_port(self, value: pulumi.Input[int]): pulumi.set(self, "to_port", value) +if not MYPY: + class ContainerGroupDefinitionMemoryLimitsArgsDict(TypedDict): + """ + Specifies how much memory is available to the container. + """ + hard_limit: NotRequired[pulumi.Input[int]] + """ + The hard limit of memory to reserve for the container. + """ + soft_limit: NotRequired[pulumi.Input[int]] + """ + The amount of memory that is reserved for the container. + """ +elif False: + ContainerGroupDefinitionMemoryLimitsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerGroupDefinitionMemoryLimitsArgs: def __init__(__self__, *, @@ -637,6 +870,18 @@ def soft_limit(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "soft_limit", value) +if not MYPY: + class ContainerGroupDefinitionPortConfigurationArgsDict(TypedDict): + """ + Defines the ports on a container. + """ + container_port_ranges: pulumi.Input[Sequence[pulumi.Input['ContainerGroupDefinitionContainerPortRangeArgsDict']]] + """ + Specifies one or more ranges of ports on a container. + """ +elif False: + ContainerGroupDefinitionPortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerGroupDefinitionPortConfigurationArgs: def __init__(__self__, *, @@ -660,6 +905,18 @@ def container_port_ranges(self, value: pulumi.Input[Sequence[pulumi.Input['Conta pulumi.set(self, "container_port_ranges", value) +if not MYPY: + class FleetAnywhereConfigurationArgsDict(TypedDict): + """ + Configuration for Anywhere fleet. + """ + cost: pulumi.Input[str] + """ + Cost of compute can be specified on Anywhere Fleets to prioritize placement across Queue destinations based on Cost. + """ +elif False: + FleetAnywhereConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetAnywhereConfigurationArgs: def __init__(__self__, *, @@ -683,6 +940,23 @@ def cost(self, value: pulumi.Input[str]): pulumi.set(self, "cost", value) +if not MYPY: + class FleetCertificateConfigurationArgsDict(TypedDict): + """ + Information about the use of a TLS/SSL certificate for a fleet. TLS certificate generation is enabled at the fleet level, with one certificate generated for the fleet. When this feature is enabled, the certificate can be retrieved using the GameLift Server SDK call GetInstanceCertificate. All instances in a fleet share the same certificate. + """ + certificate_type: pulumi.Input['FleetCertificateConfigurationCertificateType'] + """ + Indicates whether a TLS/SSL certificate is generated for a fleet. + + Valid values include: + + - *GENERATED* - Generate a TLS/SSL certificate for this fleet. + - *DISABLED* - (default) Do not generate a TLS/SSL certificate for this fleet. + """ +elif False: + FleetCertificateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetCertificateConfigurationArgs: def __init__(__self__, *, @@ -716,6 +990,22 @@ def certificate_type(self, value: pulumi.Input['FleetCertificateConfigurationCer pulumi.set(self, "certificate_type", value) +if not MYPY: + class FleetConnectionPortRangeArgsDict(TypedDict): + """ + Defines the range of ports on the instance that allow inbound traffic to connect with containers in a fleet. + """ + from_port: pulumi.Input[int] + """ + A starting value for a range of allowed port numbers. + """ + to_port: pulumi.Input[int] + """ + An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort. + """ +elif False: + FleetConnectionPortRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetConnectionPortRangeArgs: def __init__(__self__, *, @@ -754,6 +1044,31 @@ def to_port(self, value: pulumi.Input[int]): pulumi.set(self, "to_port", value) +if not MYPY: + class FleetContainerGroupsConfigurationArgsDict(TypedDict): + """ + Specifies container groups that this instance will hold. You must specify exactly one replica group. Optionally, you may specify exactly one daemon group. You can't change this property after you create the fleet. + """ + connection_port_range: pulumi.Input['FleetConnectionPortRangeArgsDict'] + """ + A set of ports to allow inbound traffic, including game clients, to connect to processes running in the container fleet. + + Connection ports are dynamically mapped to container ports, which are assigned to individual processes running in a container. The connection port range must have enough ports to map to all container ports across a fleet instance. To calculate the minimum connection ports needed, use the following formula: + + *[Total number of container ports as defined for containers in the replica container group] * [Desired or calculated number of replica container groups per instance] + [Total number of container ports as defined for containers in the daemon container group]* + + As a best practice, double the minimum number of connection ports. + + > Use the fleet's `EC2InboundPermissions` property to control external access to connection ports. Set this property to the connection port numbers that you want to open access to. See `IpPermission` for more details. + """ + container_group_definition_names: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The names of the container group definitions that will be created in an instance. You must specify exactly one REPLICA container group. You have the option to also specify one DAEMON container group. + """ + container_groups_per_instance: NotRequired[pulumi.Input['FleetContainerGroupsPerInstanceArgsDict']] +elif False: + FleetContainerGroupsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetContainerGroupsConfigurationArgs: def __init__(__self__, *, @@ -820,6 +1135,22 @@ def container_groups_per_instance(self, value: Optional[pulumi.Input['FleetConta pulumi.set(self, "container_groups_per_instance", value) +if not MYPY: + class FleetContainerGroupsPerInstanceArgsDict(TypedDict): + """ + The number of container groups per instance. + """ + desired_replica_container_groups_per_instance: NotRequired[pulumi.Input[int]] + """ + Use this parameter to override the number of replica container groups GameLift will launch per instance with a number that is lower than that calculated maximum. + """ + max_replica_container_groups_per_instance: NotRequired[pulumi.Input[int]] + """ + GameLift calculates the maximum number of replica container groups it can launch per instance based on instance properties such as CPU, memory, and connection ports. + """ +elif False: + FleetContainerGroupsPerInstanceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetContainerGroupsPerInstanceArgs: def __init__(__self__, *, @@ -860,6 +1191,30 @@ def max_replica_container_groups_per_instance(self, value: Optional[pulumi.Input pulumi.set(self, "max_replica_container_groups_per_instance", value) +if not MYPY: + class FleetIpPermissionArgsDict(TypedDict): + """ + A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an Amazon GameLift hosting resource. New game sessions that are started on the fleet are assigned an IP address/port number combination, which must fall into the fleet's allowed ranges. For fleets created with a custom game server, the ranges reflect the server's game session assignments. For Realtime Servers fleets, Amazon GameLift automatically opens two port ranges, one for TCP messaging and one for UDP, for use by the Realtime servers. + """ + from_port: pulumi.Input[int] + """ + A starting value for a range of allowed port numbers. + """ + ip_range: pulumi.Input[str] + """ + A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "000.000.000.000/[subnet mask]" or optionally the shortened version "0.0.0.0/[subnet mask]". + """ + protocol: pulumi.Input['FleetIpPermissionProtocol'] + """ + The network communication protocol used by the fleet. + """ + to_port: pulumi.Input[int] + """ + An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort. + """ +elif False: + FleetIpPermissionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetIpPermissionArgs: def __init__(__self__, *, @@ -928,6 +1283,26 @@ def to_port(self, value: pulumi.Input[int]): pulumi.set(self, "to_port", value) +if not MYPY: + class FleetLocationCapacityArgsDict(TypedDict): + """ + Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region. + """ + desired_ec2_instances: pulumi.Input[int] + """ + The number of EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. + """ + max_size: pulumi.Input[int] + """ + The maximum value that is allowed for the fleet's instance count for a location. When creating a new fleet, GameLift automatically sets this value to "1". Once the fleet is active, you can change this value. + """ + min_size: pulumi.Input[int] + """ + The minimum value allowed for the fleet's instance count for a location. When creating a new fleet, GameLift automatically sets this value to "0". After the fleet is active, you can change this value. + """ +elif False: + FleetLocationCapacityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetLocationCapacityArgs: def __init__(__self__, *, @@ -981,6 +1356,24 @@ def min_size(self, value: pulumi.Input[int]): pulumi.set(self, "min_size", value) +if not MYPY: + class FleetLocationConfigurationArgsDict(TypedDict): + """ + A remote location where a multi-location fleet can deploy EC2 instances for game hosting. + """ + location: pulumi.Input[str] + """ + An AWS Region code, such as `us-west-2` . For a list of supported Regions and Local Zones, see [Amazon GameLift service locations](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html) for managed hosting. + """ + location_capacity: NotRequired[pulumi.Input['FleetLocationCapacityArgsDict']] + """ + Current resource capacity settings for managed EC2 fleets and container fleets. For multi-location fleets, location values might refer to a fleet's remote location or its home Region. + + *Returned by:* [DescribeFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) , [DescribeFleetLocationCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) , [UpdateFleetCapacity](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html) + """ +elif False: + FleetLocationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetLocationConfigurationArgs: def __init__(__self__, *, @@ -1024,6 +1417,24 @@ def location_capacity(self, value: Optional[pulumi.Input['FleetLocationCapacityA pulumi.set(self, "location_capacity", value) +if not MYPY: + class FleetResourceCreationLimitPolicyArgsDict(TypedDict): + """ + A policy that limits the number of game sessions a player can create on the same fleet. This optional policy gives game owners control over how players can consume available game server resources. A resource creation policy makes the following statement: "An individual player can create a maximum number of new game sessions within a specified time period". + + The policy is evaluated when a player tries to create a new game session. For example, assume you have a policy of 10 new game sessions and a time period of 60 minutes. On receiving a CreateGameSession request, Amazon GameLift checks that the player (identified by CreatorId) has created fewer than 10 game sessions in the past 60 minutes. + """ + new_game_sessions_per_creator: NotRequired[pulumi.Input[int]] + """ + The maximum number of game sessions that an individual can create during the policy period. + """ + policy_period_in_minutes: NotRequired[pulumi.Input[int]] + """ + The time span used in evaluating the resource creation limit policy. + """ +elif False: + FleetResourceCreationLimitPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetResourceCreationLimitPolicyArgs: def __init__(__self__, *, @@ -1066,6 +1477,30 @@ def policy_period_in_minutes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "policy_period_in_minutes", value) +if not MYPY: + class FleetRuntimeConfigurationArgsDict(TypedDict): + """ + A collection of server process configurations that describe the processes to run on each instance in a fleet. All fleets must have a runtime configuration. Each instance in the fleet maintains server processes as specified in the runtime configuration, launching new ones as existing processes end. Each instance regularly checks for an updated runtime configuration makes adjustments as called for. + + The runtime configuration enables the instances in a fleet to run multiple processes simultaneously. Potential scenarios are as follows: (1) Run multiple processes of a single game server executable to maximize usage of your hosting resources. (2) Run one or more processes of different executables, such as your game server and a metrics tracking program. (3) Run multiple processes of a single game server but with different launch parameters, for example to run one process on each instance in debug mode. + + An Amazon GameLift instance is limited to 50 processes running simultaneously. A runtime configuration must specify fewer than this limit. To calculate the total number of processes specified in a runtime configuration, add the values of the ConcurrentExecutions parameter for each ServerProcess object in the runtime configuration. + """ + game_session_activation_timeout_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum amount of time (in seconds) that a game session can remain in status ACTIVATING. If the game session is not active before the timeout, activation is terminated and the game session status is changed to TERMINATED. + """ + max_concurrent_game_session_activations: NotRequired[pulumi.Input[int]] + """ + The maximum number of game sessions with status ACTIVATING to allow on an instance simultaneously. This setting limits the amount of instance resources that can be used for new game activations at any one time. + """ + server_processes: NotRequired[pulumi.Input[Sequence[pulumi.Input['FleetServerProcessArgsDict']]]] + """ + A collection of server process configurations that describe which server processes to run on each instance in a fleet. + """ +elif False: + FleetRuntimeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetRuntimeConfigurationArgs: def __init__(__self__, *, @@ -1126,6 +1561,62 @@ def server_processes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['F pulumi.set(self, "server_processes", value) +if not MYPY: + class FleetScalingPolicyArgsDict(TypedDict): + """ + Rule that controls how a fleet is scaled. Scaling policies are uniquely identified by the combination of name and fleet ID. + """ + metric_name: pulumi.Input['FleetScalingPolicyMetricName'] + """ + Name of the Amazon GameLift-defined metric that is used to trigger a scaling adjustment. + """ + name: pulumi.Input[str] + """ + A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique. + """ + comparison_operator: NotRequired[pulumi.Input['FleetScalingPolicyComparisonOperator']] + """ + Comparison operator to use when measuring a metric against the threshold value. + """ + evaluation_periods: NotRequired[pulumi.Input[int]] + """ + Length of time (in minutes) the metric must be at or beyond the threshold before a scaling event is triggered. + """ + location: NotRequired[pulumi.Input[str]] + """ + The fleet location. + """ + policy_type: NotRequired[pulumi.Input['FleetScalingPolicyPolicyType']] + """ + The type of scaling policy to create. For a target-based policy, set the parameter MetricName to 'PercentAvailableGameSessions' and specify a TargetConfiguration. For a rule-based policy set the following parameters: MetricName, ComparisonOperator, Threshold, EvaluationPeriods, ScalingAdjustmentType, and ScalingAdjustment. + """ + scaling_adjustment: NotRequired[pulumi.Input[int]] + """ + Amount of adjustment to make, based on the scaling adjustment type. + """ + scaling_adjustment_type: NotRequired[pulumi.Input['FleetScalingPolicyScalingAdjustmentType']] + """ + The type of adjustment to make to a fleet's instance count. + """ + status: NotRequired[pulumi.Input['FleetScalingPolicyStatus']] + """ + Current status of the scaling policy. The scaling policy can be in force only when in an ACTIVE status. Scaling policies can be suspended for individual fleets. If the policy is suspended for a fleet, the policy status does not change. + """ + target_configuration: NotRequired[pulumi.Input['FleetTargetConfigurationArgsDict']] + """ + An object that contains settings for a target-based scaling policy. + """ + threshold: NotRequired[pulumi.Input[float]] + """ + Metric value used to trigger a scaling event. + """ + update_status: NotRequired[pulumi.Input['FleetScalingPolicyUpdateStatus']] + """ + The current status of the fleet's scaling policies in a requested fleet location. The status PENDING_UPDATE indicates that an update was requested for the fleet but has not yet been completed for the location. + """ +elif False: + FleetScalingPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetScalingPolicyArgs: def __init__(__self__, *, @@ -1324,6 +1815,30 @@ def update_status(self, value: Optional[pulumi.Input['FleetScalingPolicyUpdateSt pulumi.set(self, "update_status", value) +if not MYPY: + class FleetServerProcessArgsDict(TypedDict): + """ + A set of instructions for launching server processes on each instance in a fleet. Each instruction set identifies the location of the server executable, optional launch parameters, and the number of server processes with this configuration to maintain concurrently on the instance. Server process configurations make up a fleet's RuntimeConfiguration. + """ + concurrent_executions: pulumi.Input[int] + """ + The number of server processes that use this configuration to run concurrently on an instance. + """ + launch_path: pulumi.Input[str] + """ + The location of the server executable in a custom game build or the name of the Realtime script file that contains the Init() function. Game builds and Realtime scripts are installed on instances at the root: + + Windows (for custom game builds only): C:\\game. Example: "C:\\game\\MyGame\\server.exe" + + Linux: /local/game. Examples: "/local/game/MyGame/server.exe" or "/local/game/MyRealtimeScript.js" + """ + parameters: NotRequired[pulumi.Input[str]] + """ + An optional list of parameters to pass to the server executable or Realtime script on launch. + """ +elif False: + FleetServerProcessArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetServerProcessArgs: def __init__(__self__, *, @@ -1386,6 +1901,18 @@ def parameters(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "parameters", value) +if not MYPY: + class FleetTargetConfigurationArgsDict(TypedDict): + """ + Settings for a target-based scaling policy. A target-based policy tracks a particular fleet metric specifies a target value for the metric. As player usage changes, the policy triggers Amazon GameLift to adjust capacity so that the metric returns to the target value. The target configuration specifies settings as needed for the target based policy, including the target value. + """ + target_value: pulumi.Input[float] + """ + Desired value to use with a target-based scaling policy. The value must be relevant for whatever metric the scaling policy is using. For example, in a policy using the metric PercentAvailableGameSessions, the target value should be the preferred size of the fleet's buffer (the percent of capacity that should be idle and ready for new game sessions). + """ +elif False: + FleetTargetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetTargetConfigurationArgs: def __init__(__self__, *, @@ -1409,6 +1936,22 @@ def target_value(self, value: pulumi.Input[float]): pulumi.set(self, "target_value", value) +if not MYPY: + class GameServerGroupAutoScalingPolicyArgsDict(TypedDict): + """ + Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource. + """ + target_tracking_configuration: pulumi.Input['GameServerGroupTargetTrackingConfigurationArgsDict'] + """ + Settings for a target-based scaling policy applied to Auto Scaling group. These settings are used to create a target-based policy that tracks the GameLift FleetIQ metric `PercentUtilizedGameServers` and specifies a target value for the metric. As player usage changes, the policy triggers to adjust the game server group capacity so that the metric returns to the target value. + """ + estimated_instance_warmup: NotRequired[pulumi.Input[float]] + """ + Length of time, in seconds, it takes for a new instance to start new game server processes and register with Amazon GameLift FleetIQ. Specifying a warm-up time can be useful, particularly with game servers that take a long time to start up, because it avoids prematurely starting new instances. + """ +elif False: + GameServerGroupAutoScalingPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GameServerGroupAutoScalingPolicyArgs: def __init__(__self__, *, @@ -1448,6 +1991,16 @@ def estimated_instance_warmup(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "estimated_instance_warmup", value) +if not MYPY: + class GameServerGroupInstanceDefinitionArgsDict(TypedDict): + """ + An allowed instance type for your game server group. + """ + instance_type: pulumi.Input[str] + weighted_capacity: NotRequired[pulumi.Input[str]] +elif False: + GameServerGroupInstanceDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GameServerGroupInstanceDefinitionArgs: def __init__(__self__, *, @@ -1479,6 +2032,26 @@ def weighted_capacity(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "weighted_capacity", value) +if not MYPY: + class GameServerGroupLaunchTemplateArgsDict(TypedDict): + """ + The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource. + """ + launch_template_id: NotRequired[pulumi.Input[str]] + """ + A unique identifier for an existing Amazon EC2 launch template. + """ + launch_template_name: NotRequired[pulumi.Input[str]] + """ + A readable identifier for an existing Amazon EC2 launch template. + """ + version: NotRequired[pulumi.Input[str]] + """ + The version of the Amazon EC2 launch template to use. If no version is specified, the default version will be used. With Amazon EC2, you can specify a default version for a launch template. If none is set, the default is the first version created. + """ +elif False: + GameServerGroupLaunchTemplateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GameServerGroupLaunchTemplateArgs: def __init__(__self__, *, @@ -1535,6 +2108,18 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class GameServerGroupTargetTrackingConfigurationArgsDict(TypedDict): + """ + Settings for a target-based scaling policy applied to Auto Scaling group. + """ + target_value: pulumi.Input[float] + """ + Desired value to use with a game server group target-based scaling policy. + """ +elif False: + GameServerGroupTargetTrackingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GameServerGroupTargetTrackingConfigurationArgs: def __init__(__self__, *, @@ -1558,6 +2143,18 @@ def target_value(self, value: pulumi.Input[float]): pulumi.set(self, "target_value", value) +if not MYPY: + class GameSessionQueueDestinationArgsDict(TypedDict): + """ + A fleet or alias designated in a game session queue. + """ + destination_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. ARNs, which include a fleet ID or alias ID and a Region name, provide a unique identifier across all Regions. + """ +elif False: + GameSessionQueueDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GameSessionQueueDestinationArgs: def __init__(__self__, *, @@ -1582,6 +2179,15 @@ def destination_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "destination_arn", value) +if not MYPY: + class GameSessionQueueFilterConfigurationArgsDict(TypedDict): + allowed_locations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of locations to allow game session placement in, in the form of AWS Region codes such as `us-west-2` . + """ +elif False: + GameSessionQueueFilterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GameSessionQueueFilterConfigurationArgs: def __init__(__self__, *, @@ -1605,6 +2211,22 @@ def allowed_locations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[s pulumi.set(self, "allowed_locations", value) +if not MYPY: + class GameSessionQueuePlayerLatencyPolicyArgsDict(TypedDict): + """ + Sets a latency cap for individual players when placing a game session. + """ + maximum_individual_player_latency_milliseconds: NotRequired[pulumi.Input[int]] + """ + The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property. + """ + policy_duration_seconds: NotRequired[pulumi.Input[int]] + """ + The length of time, in seconds, that the policy is enforced while placing a new game session. + """ +elif False: + GameSessionQueuePlayerLatencyPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GameSessionQueuePlayerLatencyPolicyArgs: def __init__(__self__, *, @@ -1645,6 +2267,24 @@ def policy_duration_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "policy_duration_seconds", value) +if not MYPY: + class GameSessionQueuePriorityConfigurationArgsDict(TypedDict): + location_order: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The prioritization order to use for fleet locations, when the `PriorityOrder` property includes `LOCATION` . Locations are identified by AWS Region codes such as `us-west-2` . Each location can only be listed once. + """ + priority_order: NotRequired[pulumi.Input[Sequence[pulumi.Input['GameSessionQueuePriorityOrderItem']]]] + """ + The recommended sequence to use when prioritizing where to place new game sessions. Each type can only be listed once. + + - `LATENCY` -- FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest. + - `COST` -- FleetIQ prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue. + - `DESTINATION` -- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration. + - `LOCATION` -- FleetIQ prioritizes based on the provided order of locations, as defined in `LocationOrder` . + """ +elif False: + GameSessionQueuePriorityConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GameSessionQueuePriorityConfigurationArgs: def __init__(__self__, *, @@ -1694,6 +2334,22 @@ def priority_order(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Gam pulumi.set(self, "priority_order", value) +if not MYPY: + class MatchmakingConfigurationGamePropertyArgsDict(TypedDict): + """ + A key-value pair that contains information about a game session. + """ + key: pulumi.Input[str] + """ + The game property identifier. + """ + value: pulumi.Input[str] + """ + The game property value. + """ +elif False: + MatchmakingConfigurationGamePropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MatchmakingConfigurationGamePropertyArgs: def __init__(__self__, *, @@ -1732,6 +2388,27 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ScriptS3LocationArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + An Amazon S3 bucket identifier. This is the name of the S3 bucket. + """ + key: pulumi.Input[str] + """ + The name of the zip file that contains the script files. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket. + """ + object_version: NotRequired[pulumi.Input[str]] + """ + The version of the file, if object versioning is turned on for the bucket. Amazon GameLift uses this information when retrieving files from your S3 bucket. To retrieve a specific version of the file, provide an object version. To retrieve the latest version of the file, do not set this parameter. + """ +elif False: + ScriptS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScriptS3LocationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/gamelift/alias.py b/sdk/python/pulumi_aws_native/gamelift/alias.py index 3689562cb1..ad25e7c0bb 100644 --- a/sdk/python/pulumi_aws_native/gamelift/alias.py +++ b/sdk/python/pulumi_aws_native/gamelift/alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/gamelift/build.py b/sdk/python/pulumi_aws_native/gamelift/build.py index 884db17cb9..2d3fe9ba4a 100644 --- a/sdk/python/pulumi_aws_native/gamelift/build.py +++ b/sdk/python/pulumi_aws_native/gamelift/build.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/gamelift/container_group_definition.py b/sdk/python/pulumi_aws_native/gamelift/container_group_definition.py index fcaf682c3b..265fa0ed40 100644 --- a/sdk/python/pulumi_aws_native/gamelift/container_group_definition.py +++ b/sdk/python/pulumi_aws_native/gamelift/container_group_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/gamelift/fleet.py b/sdk/python/pulumi_aws_native/gamelift/fleet.py index 7f9475f440..c649869926 100644 --- a/sdk/python/pulumi_aws_native/gamelift/fleet.py +++ b/sdk/python/pulumi_aws_native/gamelift/fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/gamelift/game_server_group.py b/sdk/python/pulumi_aws_native/gamelift/game_server_group.py index 00a476083c..268de558ad 100644 --- a/sdk/python/pulumi_aws_native/gamelift/game_server_group.py +++ b/sdk/python/pulumi_aws_native/gamelift/game_server_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/gamelift/game_session_queue.py b/sdk/python/pulumi_aws_native/gamelift/game_session_queue.py index 376430f45d..9360dec08c 100644 --- a/sdk/python/pulumi_aws_native/gamelift/game_session_queue.py +++ b/sdk/python/pulumi_aws_native/gamelift/game_session_queue.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/gamelift/get_alias.py b/sdk/python/pulumi_aws_native/gamelift/get_alias.py index 5195e872d3..2ffc3641ca 100644 --- a/sdk/python/pulumi_aws_native/gamelift/get_alias.py +++ b/sdk/python/pulumi_aws_native/gamelift/get_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -97,9 +102,6 @@ def get_alias(alias_id: Optional[str] = None, description=pulumi.get(__ret__, 'description'), name=pulumi.get(__ret__, 'name'), routing_strategy=pulumi.get(__ret__, 'routing_strategy')) - - -@_utilities.lift_output_func(get_alias) def get_alias_output(alias_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAliasResult]: """ @@ -108,4 +110,12 @@ def get_alias_output(alias_id: Optional[pulumi.Input[str]] = None, :param str alias_id: Unique alias ID """ - ... + __args__ = dict() + __args__['aliasId'] = alias_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:gamelift:getAlias', __args__, opts=opts, typ=GetAliasResult) + return __ret__.apply(lambda __response__: GetAliasResult( + alias_id=pulumi.get(__response__, 'alias_id'), + description=pulumi.get(__response__, 'description'), + name=pulumi.get(__response__, 'name'), + routing_strategy=pulumi.get(__response__, 'routing_strategy'))) diff --git a/sdk/python/pulumi_aws_native/gamelift/get_build.py b/sdk/python/pulumi_aws_native/gamelift/get_build.py index e7df8a9ab3..12eb6f3cc9 100644 --- a/sdk/python/pulumi_aws_native/gamelift/get_build.py +++ b/sdk/python/pulumi_aws_native/gamelift/get_build.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_build(build_id: Optional[str] = None, build_id=pulumi.get(__ret__, 'build_id'), name=pulumi.get(__ret__, 'name'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_build) def get_build_output(build_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBuildResult]: """ @@ -93,4 +95,11 @@ def get_build_output(build_id: Optional[pulumi.Input[str]] = None, :param str build_id: A unique identifier for a build to be deployed on the new fleet. If you are deploying the fleet with a custom game build, you must specify this property. The build must have been successfully uploaded to Amazon GameLift and be in a READY status. This fleet setting cannot be changed once the fleet is created. """ - ... + __args__ = dict() + __args__['buildId'] = build_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:gamelift:getBuild', __args__, opts=opts, typ=GetBuildResult) + return __ret__.apply(lambda __response__: GetBuildResult( + build_id=pulumi.get(__response__, 'build_id'), + name=pulumi.get(__response__, 'name'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/gamelift/get_container_group_definition.py b/sdk/python/pulumi_aws_native/gamelift/get_container_group_definition.py index 48a836dddc..8b3bfb66aa 100644 --- a/sdk/python/pulumi_aws_native/gamelift/get_container_group_definition.py +++ b/sdk/python/pulumi_aws_native/gamelift/get_container_group_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_container_group_definition(name: Optional[str] = None, container_group_definition_arn=pulumi.get(__ret__, 'container_group_definition_arn'), creation_time=pulumi.get(__ret__, 'creation_time'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_container_group_definition) def get_container_group_definition_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContainerGroupDefinitionResult]: """ @@ -94,4 +96,11 @@ def get_container_group_definition_output(name: Optional[pulumi.Input[str]] = No :param str name: A descriptive label for the container group definition. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:gamelift:getContainerGroupDefinition', __args__, opts=opts, typ=GetContainerGroupDefinitionResult) + return __ret__.apply(lambda __response__: GetContainerGroupDefinitionResult( + container_group_definition_arn=pulumi.get(__response__, 'container_group_definition_arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/gamelift/get_fleet.py b/sdk/python/pulumi_aws_native/gamelift/get_fleet.py index 071cbafb29..168dcbb923 100644 --- a/sdk/python/pulumi_aws_native/gamelift/get_fleet.py +++ b/sdk/python/pulumi_aws_native/gamelift/get_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -229,9 +234,6 @@ def get_fleet(fleet_id: Optional[str] = None, resource_creation_limit_policy=pulumi.get(__ret__, 'resource_creation_limit_policy'), runtime_configuration=pulumi.get(__ret__, 'runtime_configuration'), scaling_policies=pulumi.get(__ret__, 'scaling_policies')) - - -@_utilities.lift_output_func(get_fleet) def get_fleet_output(fleet_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetResult]: """ @@ -240,4 +242,22 @@ def get_fleet_output(fleet_id: Optional[pulumi.Input[str]] = None, :param str fleet_id: Unique fleet ID """ - ... + __args__ = dict() + __args__['fleetId'] = fleet_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:gamelift:getFleet', __args__, opts=opts, typ=GetFleetResult) + return __ret__.apply(lambda __response__: GetFleetResult( + anywhere_configuration=pulumi.get(__response__, 'anywhere_configuration'), + description=pulumi.get(__response__, 'description'), + desired_ec2_instances=pulumi.get(__response__, 'desired_ec2_instances'), + ec2_inbound_permissions=pulumi.get(__response__, 'ec2_inbound_permissions'), + fleet_id=pulumi.get(__response__, 'fleet_id'), + locations=pulumi.get(__response__, 'locations'), + max_size=pulumi.get(__response__, 'max_size'), + metric_groups=pulumi.get(__response__, 'metric_groups'), + min_size=pulumi.get(__response__, 'min_size'), + name=pulumi.get(__response__, 'name'), + new_game_session_protection_policy=pulumi.get(__response__, 'new_game_session_protection_policy'), + resource_creation_limit_policy=pulumi.get(__response__, 'resource_creation_limit_policy'), + runtime_configuration=pulumi.get(__response__, 'runtime_configuration'), + scaling_policies=pulumi.get(__response__, 'scaling_policies'))) diff --git a/sdk/python/pulumi_aws_native/gamelift/get_game_server_group.py b/sdk/python/pulumi_aws_native/gamelift/get_game_server_group.py index 37026edb1f..4d94d49f67 100644 --- a/sdk/python/pulumi_aws_native/gamelift/get_game_server_group.py +++ b/sdk/python/pulumi_aws_native/gamelift/get_game_server_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -136,9 +141,6 @@ def get_game_server_group(game_server_group_arn: Optional[str] = None, game_server_protection_policy=pulumi.get(__ret__, 'game_server_protection_policy'), instance_definitions=pulumi.get(__ret__, 'instance_definitions'), role_arn=pulumi.get(__ret__, 'role_arn')) - - -@_utilities.lift_output_func(get_game_server_group) def get_game_server_group_output(game_server_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGameServerGroupResult]: """ @@ -147,4 +149,15 @@ def get_game_server_group_output(game_server_group_arn: Optional[pulumi.Input[st :param str game_server_group_arn: A generated unique ID for the game server group. """ - ... + __args__ = dict() + __args__['gameServerGroupArn'] = game_server_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:gamelift:getGameServerGroup', __args__, opts=opts, typ=GetGameServerGroupResult) + return __ret__.apply(lambda __response__: GetGameServerGroupResult( + auto_scaling_group_arn=pulumi.get(__response__, 'auto_scaling_group_arn'), + balancing_strategy=pulumi.get(__response__, 'balancing_strategy'), + game_server_group_arn=pulumi.get(__response__, 'game_server_group_arn'), + game_server_group_name=pulumi.get(__response__, 'game_server_group_name'), + game_server_protection_policy=pulumi.get(__response__, 'game_server_protection_policy'), + instance_definitions=pulumi.get(__response__, 'instance_definitions'), + role_arn=pulumi.get(__response__, 'role_arn'))) diff --git a/sdk/python/pulumi_aws_native/gamelift/get_game_session_queue.py b/sdk/python/pulumi_aws_native/gamelift/get_game_session_queue.py index 985d8f4f18..f2a58e9083 100644 --- a/sdk/python/pulumi_aws_native/gamelift/get_game_session_queue.py +++ b/sdk/python/pulumi_aws_native/gamelift/get_game_session_queue.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -163,9 +168,6 @@ def get_game_session_queue(name: Optional[str] = None, priority_configuration=pulumi.get(__ret__, 'priority_configuration'), tags=pulumi.get(__ret__, 'tags'), timeout_in_seconds=pulumi.get(__ret__, 'timeout_in_seconds')) - - -@_utilities.lift_output_func(get_game_session_queue) def get_game_session_queue_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGameSessionQueueResult]: """ @@ -174,4 +176,17 @@ def get_game_session_queue_output(name: Optional[pulumi.Input[str]] = None, :param str name: A descriptive label that is associated with game session queue. Queue names must be unique within each Region. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:gamelift:getGameSessionQueue', __args__, opts=opts, typ=GetGameSessionQueueResult) + return __ret__.apply(lambda __response__: GetGameSessionQueueResult( + arn=pulumi.get(__response__, 'arn'), + custom_event_data=pulumi.get(__response__, 'custom_event_data'), + destinations=pulumi.get(__response__, 'destinations'), + filter_configuration=pulumi.get(__response__, 'filter_configuration'), + notification_target=pulumi.get(__response__, 'notification_target'), + player_latency_policies=pulumi.get(__response__, 'player_latency_policies'), + priority_configuration=pulumi.get(__response__, 'priority_configuration'), + tags=pulumi.get(__response__, 'tags'), + timeout_in_seconds=pulumi.get(__response__, 'timeout_in_seconds'))) diff --git a/sdk/python/pulumi_aws_native/gamelift/get_location.py b/sdk/python/pulumi_aws_native/gamelift/get_location.py index 6ece20a451..06e23243d3 100644 --- a/sdk/python/pulumi_aws_native/gamelift/get_location.py +++ b/sdk/python/pulumi_aws_native/gamelift/get_location.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_location(location_name: Optional[str] = None, return AwaitableGetLocationResult( location_arn=pulumi.get(__ret__, 'location_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_location) def get_location_output(location_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLocationResult]: """ @@ -81,4 +83,10 @@ def get_location_output(location_name: Optional[pulumi.Input[str]] = None, :param str location_name: A descriptive name for the custom location. """ - ... + __args__ = dict() + __args__['locationName'] = location_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:gamelift:getLocation', __args__, opts=opts, typ=GetLocationResult) + return __ret__.apply(lambda __response__: GetLocationResult( + location_arn=pulumi.get(__response__, 'location_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/gamelift/get_matchmaking_configuration.py b/sdk/python/pulumi_aws_native/gamelift/get_matchmaking_configuration.py index d6e90f047e..898cd63c72 100644 --- a/sdk/python/pulumi_aws_native/gamelift/get_matchmaking_configuration.py +++ b/sdk/python/pulumi_aws_native/gamelift/get_matchmaking_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -267,9 +272,6 @@ def get_matchmaking_configuration(name: Optional[str] = None, rule_set_arn=pulumi.get(__ret__, 'rule_set_arn'), rule_set_name=pulumi.get(__ret__, 'rule_set_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_matchmaking_configuration) def get_matchmaking_configuration_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMatchmakingConfigurationResult]: """ @@ -278,4 +280,25 @@ def get_matchmaking_configuration_output(name: Optional[pulumi.Input[str]] = Non :param str name: A unique identifier for the matchmaking configuration. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:gamelift:getMatchmakingConfiguration', __args__, opts=opts, typ=GetMatchmakingConfigurationResult) + return __ret__.apply(lambda __response__: GetMatchmakingConfigurationResult( + acceptance_required=pulumi.get(__response__, 'acceptance_required'), + acceptance_timeout_seconds=pulumi.get(__response__, 'acceptance_timeout_seconds'), + additional_player_count=pulumi.get(__response__, 'additional_player_count'), + arn=pulumi.get(__response__, 'arn'), + backfill_mode=pulumi.get(__response__, 'backfill_mode'), + creation_time=pulumi.get(__response__, 'creation_time'), + custom_event_data=pulumi.get(__response__, 'custom_event_data'), + description=pulumi.get(__response__, 'description'), + flex_match_mode=pulumi.get(__response__, 'flex_match_mode'), + game_properties=pulumi.get(__response__, 'game_properties'), + game_session_data=pulumi.get(__response__, 'game_session_data'), + game_session_queue_arns=pulumi.get(__response__, 'game_session_queue_arns'), + notification_target=pulumi.get(__response__, 'notification_target'), + request_timeout_seconds=pulumi.get(__response__, 'request_timeout_seconds'), + rule_set_arn=pulumi.get(__response__, 'rule_set_arn'), + rule_set_name=pulumi.get(__response__, 'rule_set_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/gamelift/get_matchmaking_rule_set.py b/sdk/python/pulumi_aws_native/gamelift/get_matchmaking_rule_set.py index 9eabe8fa37..c644850df3 100644 --- a/sdk/python/pulumi_aws_native/gamelift/get_matchmaking_rule_set.py +++ b/sdk/python/pulumi_aws_native/gamelift/get_matchmaking_rule_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_matchmaking_rule_set(name: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), creation_time=pulumi.get(__ret__, 'creation_time'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_matchmaking_rule_set) def get_matchmaking_rule_set_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMatchmakingRuleSetResult]: """ @@ -94,4 +96,11 @@ def get_matchmaking_rule_set_output(name: Optional[pulumi.Input[str]] = None, :param str name: A unique identifier for the matchmaking rule set. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:gamelift:getMatchmakingRuleSet', __args__, opts=opts, typ=GetMatchmakingRuleSetResult) + return __ret__.apply(lambda __response__: GetMatchmakingRuleSetResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/gamelift/get_script.py b/sdk/python/pulumi_aws_native/gamelift/get_script.py index 7e5cfb9e53..574fbca073 100644 --- a/sdk/python/pulumi_aws_native/gamelift/get_script.py +++ b/sdk/python/pulumi_aws_native/gamelift/get_script.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -149,9 +154,6 @@ def get_script(id: Optional[str] = None, storage_location=pulumi.get(__ret__, 'storage_location'), tags=pulumi.get(__ret__, 'tags'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_script) def get_script_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScriptResult]: """ @@ -160,4 +162,16 @@ def get_script_output(id: Optional[pulumi.Input[str]] = None, :param str id: A unique identifier for the Realtime script """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:gamelift:getScript', __args__, opts=opts, typ=GetScriptResult) + return __ret__.apply(lambda __response__: GetScriptResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + size_on_disk=pulumi.get(__response__, 'size_on_disk'), + storage_location=pulumi.get(__response__, 'storage_location'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/gamelift/location.py b/sdk/python/pulumi_aws_native/gamelift/location.py index d15923fe19..389c78eb6d 100644 --- a/sdk/python/pulumi_aws_native/gamelift/location.py +++ b/sdk/python/pulumi_aws_native/gamelift/location.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/gamelift/matchmaking_configuration.py b/sdk/python/pulumi_aws_native/gamelift/matchmaking_configuration.py index fa7729bc90..fffff9a6ef 100644 --- a/sdk/python/pulumi_aws_native/gamelift/matchmaking_configuration.py +++ b/sdk/python/pulumi_aws_native/gamelift/matchmaking_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/gamelift/matchmaking_rule_set.py b/sdk/python/pulumi_aws_native/gamelift/matchmaking_rule_set.py index f95b85c4ad..529539df32 100644 --- a/sdk/python/pulumi_aws_native/gamelift/matchmaking_rule_set.py +++ b/sdk/python/pulumi_aws_native/gamelift/matchmaking_rule_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/gamelift/outputs.py b/sdk/python/pulumi_aws_native/gamelift/outputs.py index 1e9c9972c0..b2272a1fae 100644 --- a/sdk/python/pulumi_aws_native/gamelift/outputs.py +++ b/sdk/python/pulumi_aws_native/gamelift/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/gamelift/script.py b/sdk/python/pulumi_aws_native/gamelift/script.py index 97a8fefa03..01958ae9aa 100644 --- a/sdk/python/pulumi_aws_native/gamelift/script.py +++ b/sdk/python/pulumi_aws_native/gamelift/script.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/get_account_id.py b/sdk/python/pulumi_aws_native/get_account_id.py index 9cda7f4930..0b5e002628 100644 --- a/sdk/python/pulumi_aws_native/get_account_id.py +++ b/sdk/python/pulumi_aws_native/get_account_id.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = [ @@ -48,11 +53,12 @@ def get_account_id(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetA return AwaitableGetAccountIdResult( account_id=pulumi.get(__ret__, 'account_id')) - - -@_utilities.lift_output_func(get_account_id) def get_account_id_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountIdResult]: """ Use this data source to access information about an existing resource. """ - ... + __args__ = dict() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:index:getAccountId', __args__, opts=opts, typ=GetAccountIdResult) + return __ret__.apply(lambda __response__: GetAccountIdResult( + account_id=pulumi.get(__response__, 'account_id'))) diff --git a/sdk/python/pulumi_aws_native/get_azs.py b/sdk/python/pulumi_aws_native/get_azs.py index d478ed3e66..d6b0340afb 100644 --- a/sdk/python/pulumi_aws_native/get_azs.py +++ b/sdk/python/pulumi_aws_native/get_azs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = [ @@ -50,12 +55,14 @@ def get_azs(region: Optional[str] = None, return AwaitableGetAzsResult( azs=pulumi.get(__ret__, 'azs')) - - -@_utilities.lift_output_func(get_azs) def get_azs_output(region: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAzsResult]: """ Use this data source to access information about an existing resource. """ - ... + __args__ = dict() + __args__['region'] = region + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:index:getAzs', __args__, opts=opts, typ=GetAzsResult) + return __ret__.apply(lambda __response__: GetAzsResult( + azs=pulumi.get(__response__, 'azs'))) diff --git a/sdk/python/pulumi_aws_native/get_partition.py b/sdk/python/pulumi_aws_native/get_partition.py index 7ed314c669..fdae411147 100644 --- a/sdk/python/pulumi_aws_native/get_partition.py +++ b/sdk/python/pulumi_aws_native/get_partition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = [ @@ -64,11 +69,13 @@ def get_partition(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPa return AwaitableGetPartitionResult( dns_suffix=pulumi.get(__ret__, 'dns_suffix'), partition=pulumi.get(__ret__, 'partition')) - - -@_utilities.lift_output_func(get_partition) def get_partition_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPartitionResult]: """ Use this data source to access information about an existing resource. """ - ... + __args__ = dict() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:index:getPartition', __args__, opts=opts, typ=GetPartitionResult) + return __ret__.apply(lambda __response__: GetPartitionResult( + dns_suffix=pulumi.get(__response__, 'dns_suffix'), + partition=pulumi.get(__response__, 'partition'))) diff --git a/sdk/python/pulumi_aws_native/get_region.py b/sdk/python/pulumi_aws_native/get_region.py index 4871c57264..51b29a46fe 100644 --- a/sdk/python/pulumi_aws_native/get_region.py +++ b/sdk/python/pulumi_aws_native/get_region.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = [ @@ -48,11 +53,12 @@ def get_region(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegio return AwaitableGetRegionResult( region=pulumi.get(__ret__, 'region')) - - -@_utilities.lift_output_func(get_region) def get_region_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegionResult]: """ Use this data source to access information about an existing resource. """ - ... + __args__ = dict() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:index:getRegion', __args__, opts=opts, typ=GetRegionResult) + return __ret__.apply(lambda __response__: GetRegionResult( + region=pulumi.get(__response__, 'region'))) diff --git a/sdk/python/pulumi_aws_native/get_ssm_parameter_list.py b/sdk/python/pulumi_aws_native/get_ssm_parameter_list.py index 78a65d8a1b..3fc7b12bbd 100644 --- a/sdk/python/pulumi_aws_native/get_ssm_parameter_list.py +++ b/sdk/python/pulumi_aws_native/get_ssm_parameter_list.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = [ @@ -50,12 +55,14 @@ def get_ssm_parameter_list(name: Optional[str] = None, return AwaitableGetSsmParameterListResult( value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(get_ssm_parameter_list) def get_ssm_parameter_list_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSsmParameterListResult]: """ Use this data source to access information about an existing resource. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:index:getSsmParameterList', __args__, opts=opts, typ=GetSsmParameterListResult) + return __ret__.apply(lambda __response__: GetSsmParameterListResult( + value=pulumi.get(__response__, 'value'))) diff --git a/sdk/python/pulumi_aws_native/get_ssm_parameter_string.py b/sdk/python/pulumi_aws_native/get_ssm_parameter_string.py index 378bb08eb2..05efa96e25 100644 --- a/sdk/python/pulumi_aws_native/get_ssm_parameter_string.py +++ b/sdk/python/pulumi_aws_native/get_ssm_parameter_string.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = [ @@ -50,12 +55,14 @@ def get_ssm_parameter_string(name: Optional[str] = None, return AwaitableGetSsmParameterStringResult( value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(get_ssm_parameter_string) def get_ssm_parameter_string_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSsmParameterStringResult]: """ Use this data source to access information about an existing resource. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:index:getSsmParameterString', __args__, opts=opts, typ=GetSsmParameterStringResult) + return __ret__.apply(lambda __response__: GetSsmParameterStringResult( + value=pulumi.get(__response__, 'value'))) diff --git a/sdk/python/pulumi_aws_native/get_url_suffix.py b/sdk/python/pulumi_aws_native/get_url_suffix.py index c77a470bbc..bc4867877d 100644 --- a/sdk/python/pulumi_aws_native/get_url_suffix.py +++ b/sdk/python/pulumi_aws_native/get_url_suffix.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = [ @@ -48,11 +53,12 @@ def get_url_suffix(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetU return AwaitableGetUrlSuffixResult( url_suffix=pulumi.get(__ret__, 'url_suffix')) - - -@_utilities.lift_output_func(get_url_suffix) def get_url_suffix_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUrlSuffixResult]: """ Use this data source to access information about an existing resource. """ - ... + __args__ = dict() + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:index:getUrlSuffix', __args__, opts=opts, typ=GetUrlSuffixResult) + return __ret__.apply(lambda __response__: GetUrlSuffixResult( + url_suffix=pulumi.get(__response__, 'url_suffix'))) diff --git a/sdk/python/pulumi_aws_native/globalaccelerator/_inputs.py b/sdk/python/pulumi_aws_native/globalaccelerator/_inputs.py index 2856065037..afeb4aabbf 100644 --- a/sdk/python/pulumi_aws_native/globalaccelerator/_inputs.py +++ b/sdk/python/pulumi_aws_native/globalaccelerator/_inputs.py @@ -4,19 +4,54 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CrossAccountAttachmentResourceArgs', + 'CrossAccountAttachmentResourceArgsDict', 'EndpointGroupEndpointConfigurationArgs', + 'EndpointGroupEndpointConfigurationArgsDict', 'EndpointGroupPortOverrideArgs', + 'EndpointGroupPortOverrideArgsDict', 'ListenerPortRangeArgs', + 'ListenerPortRangeArgsDict', ] +MYPY = False + +if not MYPY: + class CrossAccountAttachmentResourceArgsDict(TypedDict): + """ + ARN of resource to share. + """ + cidr: NotRequired[pulumi.Input[str]] + """ + An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in AWS Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator + + For more information, see [Bring your own IP addresses (BYOIP)](https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) in the AWS Global Accelerator Developer Guide. + """ + endpoint_id: NotRequired[pulumi.Input[str]] + """ + The endpoint ID for the endpoint that is specified as a AWS resource. + + An endpoint ID for the cross-account feature is the ARN of an AWS resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator. + """ + region: NotRequired[pulumi.Input[str]] + """ + The AWS Region where a shared endpoint resource is located. + """ +elif False: + CrossAccountAttachmentResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrossAccountAttachmentResourceArgs: def __init__(__self__, *, @@ -81,6 +116,30 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +if not MYPY: + class EndpointGroupEndpointConfigurationArgsDict(TypedDict): + """ + The configuration for a given endpoint + """ + endpoint_id: pulumi.Input[str] + """ + Id of the endpoint. For Network/Application Load Balancer this value is the ARN. For EIP, this value is the allocation ID. For EC2 instances, this is the EC2 instance ID + """ + attachment_arn: NotRequired[pulumi.Input[str]] + """ + Attachment ARN that provides access control to the cross account endpoint. Not required for resources hosted in the same account as the endpoint group. + """ + client_ip_preservation_enabled: NotRequired[pulumi.Input[bool]] + """ + true if client ip should be preserved + """ + weight: NotRequired[pulumi.Input[int]] + """ + The weight for the endpoint. + """ +elif False: + EndpointGroupEndpointConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EndpointGroupEndpointConfigurationArgs: def __init__(__self__, *, @@ -152,6 +211,22 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class EndpointGroupPortOverrideArgsDict(TypedDict): + """ + listener to endpoint port mapping. + """ + endpoint_port: pulumi.Input[int] + """ + The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance. + """ + listener_port: pulumi.Input[int] + """ + The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on. + """ +elif False: + EndpointGroupPortOverrideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EndpointGroupPortOverrideArgs: def __init__(__self__, *, @@ -190,6 +265,22 @@ def listener_port(self, value: pulumi.Input[int]): pulumi.set(self, "listener_port", value) +if not MYPY: + class ListenerPortRangeArgsDict(TypedDict): + """ + A port range to support for connections from clients to your accelerator. + """ + from_port: pulumi.Input[int] + """ + The first port in the range of ports, inclusive. + """ + to_port: pulumi.Input[int] + """ + The last port in the range of ports, inclusive. + """ +elif False: + ListenerPortRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerPortRangeArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/globalaccelerator/accelerator.py b/sdk/python/pulumi_aws_native/globalaccelerator/accelerator.py index fc87a6fec2..c7a73b3000 100644 --- a/sdk/python/pulumi_aws_native/globalaccelerator/accelerator.py +++ b/sdk/python/pulumi_aws_native/globalaccelerator/accelerator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/globalaccelerator/cross_account_attachment.py b/sdk/python/pulumi_aws_native/globalaccelerator/cross_account_attachment.py index b1089bc55c..5dc7f5209e 100644 --- a/sdk/python/pulumi_aws_native/globalaccelerator/cross_account_attachment.py +++ b/sdk/python/pulumi_aws_native/globalaccelerator/cross_account_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/globalaccelerator/endpoint_group.py b/sdk/python/pulumi_aws_native/globalaccelerator/endpoint_group.py index 67c2cf58a6..1a3d2a65ee 100644 --- a/sdk/python/pulumi_aws_native/globalaccelerator/endpoint_group.py +++ b/sdk/python/pulumi_aws_native/globalaccelerator/endpoint_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/globalaccelerator/get_accelerator.py b/sdk/python/pulumi_aws_native/globalaccelerator/get_accelerator.py index 727507ef0e..f39d4ae690 100644 --- a/sdk/python/pulumi_aws_native/globalaccelerator/get_accelerator.py +++ b/sdk/python/pulumi_aws_native/globalaccelerator/get_accelerator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -177,9 +182,6 @@ def get_accelerator(accelerator_arn: Optional[str] = None, ipv6_addresses=pulumi.get(__ret__, 'ipv6_addresses'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_accelerator) def get_accelerator_output(accelerator_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAcceleratorResult]: """ @@ -188,4 +190,18 @@ def get_accelerator_output(accelerator_arn: Optional[pulumi.Input[str]] = None, :param str accelerator_arn: The Amazon Resource Name (ARN) of the accelerator. """ - ... + __args__ = dict() + __args__['acceleratorArn'] = accelerator_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:globalaccelerator:getAccelerator', __args__, opts=opts, typ=GetAcceleratorResult) + return __ret__.apply(lambda __response__: GetAcceleratorResult( + accelerator_arn=pulumi.get(__response__, 'accelerator_arn'), + dns_name=pulumi.get(__response__, 'dns_name'), + dual_stack_dns_name=pulumi.get(__response__, 'dual_stack_dns_name'), + enabled=pulumi.get(__response__, 'enabled'), + ip_address_type=pulumi.get(__response__, 'ip_address_type'), + ip_addresses=pulumi.get(__response__, 'ip_addresses'), + ipv4_addresses=pulumi.get(__response__, 'ipv4_addresses'), + ipv6_addresses=pulumi.get(__response__, 'ipv6_addresses'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/globalaccelerator/get_cross_account_attachment.py b/sdk/python/pulumi_aws_native/globalaccelerator/get_cross_account_attachment.py index 44c5dc363f..89896748e1 100644 --- a/sdk/python/pulumi_aws_native/globalaccelerator/get_cross_account_attachment.py +++ b/sdk/python/pulumi_aws_native/globalaccelerator/get_cross_account_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -112,9 +117,6 @@ def get_cross_account_attachment(attachment_arn: Optional[str] = None, principals=pulumi.get(__ret__, 'principals'), resources=pulumi.get(__ret__, 'resources'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_cross_account_attachment) def get_cross_account_attachment_output(attachment_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCrossAccountAttachmentResult]: """ @@ -123,4 +125,13 @@ def get_cross_account_attachment_output(attachment_arn: Optional[pulumi.Input[st :param str attachment_arn: The Amazon Resource Name (ARN) of the attachment. """ - ... + __args__ = dict() + __args__['attachmentArn'] = attachment_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:globalaccelerator:getCrossAccountAttachment', __args__, opts=opts, typ=GetCrossAccountAttachmentResult) + return __ret__.apply(lambda __response__: GetCrossAccountAttachmentResult( + attachment_arn=pulumi.get(__response__, 'attachment_arn'), + name=pulumi.get(__response__, 'name'), + principals=pulumi.get(__response__, 'principals'), + resources=pulumi.get(__response__, 'resources'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/globalaccelerator/get_endpoint_group.py b/sdk/python/pulumi_aws_native/globalaccelerator/get_endpoint_group.py index 5bf879adac..0d5f1abc43 100644 --- a/sdk/python/pulumi_aws_native/globalaccelerator/get_endpoint_group.py +++ b/sdk/python/pulumi_aws_native/globalaccelerator/get_endpoint_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -162,9 +167,6 @@ def get_endpoint_group(endpoint_group_arn: Optional[str] = None, port_overrides=pulumi.get(__ret__, 'port_overrides'), threshold_count=pulumi.get(__ret__, 'threshold_count'), traffic_dial_percentage=pulumi.get(__ret__, 'traffic_dial_percentage')) - - -@_utilities.lift_output_func(get_endpoint_group) def get_endpoint_group_output(endpoint_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEndpointGroupResult]: """ @@ -173,4 +175,17 @@ def get_endpoint_group_output(endpoint_group_arn: Optional[pulumi.Input[str]] = :param str endpoint_group_arn: The Amazon Resource Name (ARN) of the endpoint group """ - ... + __args__ = dict() + __args__['endpointGroupArn'] = endpoint_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:globalaccelerator:getEndpointGroup', __args__, opts=opts, typ=GetEndpointGroupResult) + return __ret__.apply(lambda __response__: GetEndpointGroupResult( + endpoint_configurations=pulumi.get(__response__, 'endpoint_configurations'), + endpoint_group_arn=pulumi.get(__response__, 'endpoint_group_arn'), + health_check_interval_seconds=pulumi.get(__response__, 'health_check_interval_seconds'), + health_check_path=pulumi.get(__response__, 'health_check_path'), + health_check_port=pulumi.get(__response__, 'health_check_port'), + health_check_protocol=pulumi.get(__response__, 'health_check_protocol'), + port_overrides=pulumi.get(__response__, 'port_overrides'), + threshold_count=pulumi.get(__response__, 'threshold_count'), + traffic_dial_percentage=pulumi.get(__response__, 'traffic_dial_percentage'))) diff --git a/sdk/python/pulumi_aws_native/globalaccelerator/get_listener.py b/sdk/python/pulumi_aws_native/globalaccelerator/get_listener.py index 60f0aace24..6a79a9c103 100644 --- a/sdk/python/pulumi_aws_native/globalaccelerator/get_listener.py +++ b/sdk/python/pulumi_aws_native/globalaccelerator/get_listener.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -97,9 +102,6 @@ def get_listener(listener_arn: Optional[str] = None, listener_arn=pulumi.get(__ret__, 'listener_arn'), port_ranges=pulumi.get(__ret__, 'port_ranges'), protocol=pulumi.get(__ret__, 'protocol')) - - -@_utilities.lift_output_func(get_listener) def get_listener_output(listener_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetListenerResult]: """ @@ -108,4 +110,12 @@ def get_listener_output(listener_arn: Optional[pulumi.Input[str]] = None, :param str listener_arn: The Amazon Resource Name (ARN) of the listener. """ - ... + __args__ = dict() + __args__['listenerArn'] = listener_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:globalaccelerator:getListener', __args__, opts=opts, typ=GetListenerResult) + return __ret__.apply(lambda __response__: GetListenerResult( + client_affinity=pulumi.get(__response__, 'client_affinity'), + listener_arn=pulumi.get(__response__, 'listener_arn'), + port_ranges=pulumi.get(__response__, 'port_ranges'), + protocol=pulumi.get(__response__, 'protocol'))) diff --git a/sdk/python/pulumi_aws_native/globalaccelerator/listener.py b/sdk/python/pulumi_aws_native/globalaccelerator/listener.py index e31c076a6c..fc24c7d1e4 100644 --- a/sdk/python/pulumi_aws_native/globalaccelerator/listener.py +++ b/sdk/python/pulumi_aws_native/globalaccelerator/listener.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/globalaccelerator/outputs.py b/sdk/python/pulumi_aws_native/globalaccelerator/outputs.py index c21d6f686c..3c61f41e7f 100644 --- a/sdk/python/pulumi_aws_native/globalaccelerator/outputs.py +++ b/sdk/python/pulumi_aws_native/globalaccelerator/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/glue/_inputs.py b/sdk/python/pulumi_aws_native/glue/_inputs.py index d4df0123af..38b47264a3 100644 --- a/sdk/python/pulumi_aws_native/glue/_inputs.py +++ b/sdk/python/pulumi_aws_native/glue/_inputs.py @@ -4,46 +4,112 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CrawlerCatalogTargetArgs', + 'CrawlerCatalogTargetArgsDict', 'CrawlerDeltaTargetArgs', + 'CrawlerDeltaTargetArgsDict', 'CrawlerDynamoDbTargetArgs', + 'CrawlerDynamoDbTargetArgsDict', 'CrawlerIcebergTargetArgs', + 'CrawlerIcebergTargetArgsDict', 'CrawlerJdbcTargetArgs', + 'CrawlerJdbcTargetArgsDict', 'CrawlerLakeFormationConfigurationArgs', + 'CrawlerLakeFormationConfigurationArgsDict', 'CrawlerMongoDbTargetArgs', + 'CrawlerMongoDbTargetArgsDict', 'CrawlerRecrawlPolicyArgs', + 'CrawlerRecrawlPolicyArgsDict', 'CrawlerS3TargetArgs', + 'CrawlerS3TargetArgsDict', 'CrawlerScheduleArgs', + 'CrawlerScheduleArgsDict', 'CrawlerSchemaChangePolicyArgs', + 'CrawlerSchemaChangePolicyArgsDict', 'CrawlerTargetsArgs', + 'CrawlerTargetsArgsDict', 'DatabaseDataLakePrincipalArgs', + 'DatabaseDataLakePrincipalArgsDict', 'DatabaseFederatedDatabaseArgs', + 'DatabaseFederatedDatabaseArgsDict', 'DatabaseIdentifierArgs', + 'DatabaseIdentifierArgsDict', 'DatabaseInputArgs', + 'DatabaseInputArgsDict', 'DatabasePrincipalPrivilegesArgs', + 'DatabasePrincipalPrivilegesArgsDict', 'JobCommandArgs', + 'JobCommandArgsDict', 'JobConnectionsListArgs', + 'JobConnectionsListArgsDict', 'JobExecutionPropertyArgs', + 'JobExecutionPropertyArgsDict', 'JobNotificationPropertyArgs', + 'JobNotificationPropertyArgsDict', 'SchemaRegistryArgs', + 'SchemaRegistryArgsDict', 'SchemaVersionSchemaArgs', + 'SchemaVersionSchemaArgsDict', 'SchemaVersionArgs', + 'SchemaVersionArgsDict', 'TriggerActionArgs', + 'TriggerActionArgsDict', 'TriggerConditionArgs', + 'TriggerConditionArgsDict', 'TriggerEventBatchingConditionArgs', + 'TriggerEventBatchingConditionArgsDict', 'TriggerNotificationPropertyArgs', + 'TriggerNotificationPropertyArgsDict', 'TriggerPredicateArgs', + 'TriggerPredicateArgsDict', 'UsageProfileConfigurationObjectArgs', + 'UsageProfileConfigurationObjectArgsDict', 'UsageProfileProfileConfigurationArgs', + 'UsageProfileProfileConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class CrawlerCatalogTargetArgsDict(TypedDict): + """ + Specifies an AWS Glue Data Catalog target. + """ + connection_name: NotRequired[pulumi.Input[str]] + """ + The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a Catalog connection type paired with a NETWORK Connection type. + """ + database_name: NotRequired[pulumi.Input[str]] + """ + The name of the database to be synchronized. + """ + dlq_event_queue_arn: NotRequired[pulumi.Input[str]] + """ + A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue. + """ + event_queue_arn: NotRequired[pulumi.Input[str]] + """ + A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs. + """ + tables: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the tables to be synchronized. + """ +elif False: + CrawlerCatalogTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerCatalogTargetArgs: def __init__(__self__, *, @@ -132,6 +198,30 @@ def tables(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "tables", value) +if not MYPY: + class CrawlerDeltaTargetArgsDict(TypedDict): + """ + Specifies a Delta data store to crawl one or more Delta tables. + """ + connection_name: NotRequired[pulumi.Input[str]] + """ + The name of the connection to use to connect to the Delta table target. + """ + create_native_delta_table: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the crawler will create native tables, to allow integration with query engines that support querying of the Delta transaction log directly. + """ + delta_tables: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the Amazon S3 paths to the Delta tables. + """ + write_manifest: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to write the manifest files to the Delta table path. + """ +elif False: + CrawlerDeltaTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerDeltaTargetArgs: def __init__(__self__, *, @@ -204,6 +294,18 @@ def write_manifest(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "write_manifest", value) +if not MYPY: + class CrawlerDynamoDbTargetArgsDict(TypedDict): + """ + Specifies an Amazon DynamoDB table to crawl. + """ + path: NotRequired[pulumi.Input[str]] + """ + The name of the DynamoDB table to crawl. + """ +elif False: + CrawlerDynamoDbTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerDynamoDbTargetArgs: def __init__(__self__, *, @@ -228,6 +330,30 @@ def path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "path", value) +if not MYPY: + class CrawlerIcebergTargetArgsDict(TypedDict): + """ + Specifies Apache Iceberg data store targets. + """ + connection_name: NotRequired[pulumi.Input[str]] + """ + The name of the connection to use to connect to the Iceberg target. + """ + exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of global patterns used to exclude from the crawl. + """ + maximum_traversal_depth: NotRequired[pulumi.Input[int]] + """ + The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Iceberg metadata folder in your Amazon S3 path. Used to limit the crawler run time. + """ + paths: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + One or more Amazon S3 paths that contains Iceberg metadata folders as s3://bucket/prefix . + """ +elif False: + CrawlerIcebergTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerIcebergTargetArgs: def __init__(__self__, *, @@ -300,6 +426,32 @@ def paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "paths", value) +if not MYPY: + class CrawlerJdbcTargetArgsDict(TypedDict): + """ + Specifies a JDBC data store to crawl. + """ + connection_name: NotRequired[pulumi.Input[str]] + """ + The name of the connection to use to connect to the JDBC target. + """ + enable_additional_metadata: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database. + + If you do not need additional metadata, keep the field empty. + """ + exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler. + """ + path: NotRequired[pulumi.Input[str]] + """ + The path of the JDBC target. + """ +elif False: + CrawlerJdbcTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerJdbcTargetArgs: def __init__(__self__, *, @@ -376,6 +528,22 @@ def path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "path", value) +if not MYPY: + class CrawlerLakeFormationConfigurationArgsDict(TypedDict): + """ + Specifies AWS Lake Formation configuration settings for the crawler + """ + account_id: NotRequired[pulumi.Input[str]] + """ + Required for cross account crawls. For same account crawls as the target data, this can be left as null. + """ + use_lake_formation_credentials: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to use AWS Lake Formation credentials for the crawler instead of the IAM role credentials. + """ +elif False: + CrawlerLakeFormationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerLakeFormationConfigurationArgs: def __init__(__self__, *, @@ -416,6 +584,22 @@ def use_lake_formation_credentials(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_lake_formation_credentials", value) +if not MYPY: + class CrawlerMongoDbTargetArgsDict(TypedDict): + """ + Specifies an Amazon DocumentDB or MongoDB data store to crawl. + """ + connection_name: NotRequired[pulumi.Input[str]] + """ + The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target. + """ + path: NotRequired[pulumi.Input[str]] + """ + The path of the Amazon DocumentDB or MongoDB target (database/collection). + """ +elif False: + CrawlerMongoDbTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerMongoDbTargetArgs: def __init__(__self__, *, @@ -456,6 +640,18 @@ def path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "path", value) +if not MYPY: + class CrawlerRecrawlPolicyArgsDict(TypedDict): + """ + When crawling an Amazon S3 data source after the first crawl is complete, specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run. For more information, see Incremental Crawls in AWS Glue in the developer guide. + """ + recrawl_behavior: NotRequired[pulumi.Input[str]] + """ + Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run. A value of CRAWL_EVERYTHING specifies crawling the entire dataset again. A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run. A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events. + """ +elif False: + CrawlerRecrawlPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerRecrawlPolicyArgs: def __init__(__self__, *, @@ -480,6 +676,38 @@ def recrawl_behavior(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "recrawl_behavior", value) +if not MYPY: + class CrawlerS3TargetArgsDict(TypedDict): + """ + Specifies a data store in Amazon Simple Storage Service (Amazon S3). + """ + connection_name: NotRequired[pulumi.Input[str]] + """ + The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC). + """ + dlq_event_queue_arn: NotRequired[pulumi.Input[str]] + """ + A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue. + """ + event_queue_arn: NotRequired[pulumi.Input[str]] + """ + A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs. + """ + exclusions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of glob patterns used to exclude from the crawl. + """ + path: NotRequired[pulumi.Input[str]] + """ + The path to the Amazon S3 target. + """ + sample_size: NotRequired[pulumi.Input[int]] + """ + Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249. + """ +elif False: + CrawlerS3TargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerS3TargetArgs: def __init__(__self__, *, @@ -584,6 +812,18 @@ def sample_size(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "sample_size", value) +if not MYPY: + class CrawlerScheduleArgsDict(TypedDict): + """ + A scheduling object using a cron statement to schedule an event. + """ + schedule_expression: NotRequired[pulumi.Input[str]] + """ + A cron expression used to specify the schedule. For more information, see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify cron(15 12 * * ? *). + """ +elif False: + CrawlerScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerScheduleArgs: def __init__(__self__, *, @@ -608,6 +848,22 @@ def schedule_expression(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "schedule_expression", value) +if not MYPY: + class CrawlerSchemaChangePolicyArgsDict(TypedDict): + """ + The policy that specifies update and delete behaviors for the crawler. The policy tells the crawler what to do in the event that it detects a change in a table that already exists in the customer's database at the time of the crawl. The SchemaChangePolicy does not affect whether or how new tables and partitions are added. New tables and partitions are always created regardless of the SchemaChangePolicy on a crawler. The SchemaChangePolicy consists of two components, UpdateBehavior and DeleteBehavior. + """ + delete_behavior: NotRequired[pulumi.Input[str]] + """ + The deletion behavior when the crawler finds a deleted object. A value of LOG specifies that if a table or partition is found to no longer exist, do not delete it, only log that it was found to no longer exist. A value of DELETE_FROM_DATABASE specifies that if a table or partition is found to have been removed, delete it from the database. A value of DEPRECATE_IN_DATABASE specifies that if a table has been found to no longer exist, to add a property to the table that says 'DEPRECATED' and includes a timestamp with the time of deprecation. + """ + update_behavior: NotRequired[pulumi.Input[str]] + """ + The update behavior when the crawler finds a changed schema. A value of LOG specifies that if a table or a partition already exists, and a change is detected, do not update it, only log that a change was detected. Add new tables and new partitions (including on existing tables). A value of UPDATE_IN_DATABASE specifies that if a table or partition already exists, and a change is detected, update it. Add new tables and partitions. + """ +elif False: + CrawlerSchemaChangePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerSchemaChangePolicyArgs: def __init__(__self__, *, @@ -648,6 +904,42 @@ def update_behavior(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "update_behavior", value) +if not MYPY: + class CrawlerTargetsArgsDict(TypedDict): + """ + Specifies data stores to crawl. + """ + catalog_targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['CrawlerCatalogTargetArgsDict']]]] + """ + Specifies AWS Glue Data Catalog targets. + """ + delta_targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['CrawlerDeltaTargetArgsDict']]]] + """ + Specifies an array of Delta data store targets. + """ + dynamo_db_targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['CrawlerDynamoDbTargetArgsDict']]]] + """ + Specifies Amazon DynamoDB targets. + """ + iceberg_targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['CrawlerIcebergTargetArgsDict']]]] + """ + Specifies Apache Iceberg data store targets. + """ + jdbc_targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['CrawlerJdbcTargetArgsDict']]]] + """ + Specifies JDBC targets. + """ + mongo_db_targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['CrawlerMongoDbTargetArgsDict']]]] + """ + A list of Mongo DB targets. + """ + s3_targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['CrawlerS3TargetArgsDict']]]] + """ + Specifies Amazon Simple Storage Service (Amazon S3) targets. + """ +elif False: + CrawlerTargetsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CrawlerTargetsArgs: def __init__(__self__, *, @@ -768,6 +1060,18 @@ def s3_targets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Crawler pulumi.set(self, "s3_targets", value) +if not MYPY: + class DatabaseDataLakePrincipalArgsDict(TypedDict): + """ + The AWS Lake Formation principal. + """ + data_lake_principal_identifier: NotRequired[pulumi.Input[str]] + """ + An identifier for the AWS Lake Formation principal. + """ +elif False: + DatabaseDataLakePrincipalArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatabaseDataLakePrincipalArgs: def __init__(__self__, *, @@ -792,6 +1096,22 @@ def data_lake_principal_identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "data_lake_principal_identifier", value) +if not MYPY: + class DatabaseFederatedDatabaseArgsDict(TypedDict): + """ + A FederatedDatabase structure that references an entity outside the AWS Glue Data Catalog. + """ + connection_name: NotRequired[pulumi.Input[str]] + """ + The name of the connection to the external metastore. + """ + identifier: NotRequired[pulumi.Input[str]] + """ + A unique identifier for the federated database. + """ +elif False: + DatabaseFederatedDatabaseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatabaseFederatedDatabaseArgs: def __init__(__self__, *, @@ -832,6 +1152,26 @@ def identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "identifier", value) +if not MYPY: + class DatabaseIdentifierArgsDict(TypedDict): + """ + A structure that describes a target database for resource linking. + """ + catalog_id: NotRequired[pulumi.Input[str]] + """ + The ID of the Data Catalog in which the database resides. + """ + database_name: NotRequired[pulumi.Input[str]] + """ + The name of the catalog database. + """ + region: NotRequired[pulumi.Input[str]] + """ + Region of the target database. + """ +elif False: + DatabaseIdentifierArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatabaseIdentifierArgs: def __init__(__self__, *, @@ -888,6 +1228,42 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +if not MYPY: + class DatabaseInputArgsDict(TypedDict): + """ + The structure used to create or update a database. + """ + create_table_default_permissions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DatabasePrincipalPrivilegesArgsDict']]]] + """ + Creates a set of default permissions on the table for principals. Used by AWS Lake Formation. Not used in the normal course of AWS Glue operations. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description of the database. + """ + federated_database: NotRequired[pulumi.Input['DatabaseFederatedDatabaseArgsDict']] + """ + A FederatedDatabase structure that references an entity outside the AWS Glue Data Catalog. + """ + location_uri: NotRequired[pulumi.Input[str]] + """ + The location of the database (for example, an HDFS path). + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the database. For hive compatibility, this is folded to lowercase when it is stored. + """ + parameters: NotRequired[Any] + """ + These key-value pairs define parameters and properties of the database. + """ + target_database: NotRequired[pulumi.Input['DatabaseIdentifierArgsDict']] + """ + A DatabaseIdentifier structure that describes a target database for resource linking. + """ +elif False: + DatabaseInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatabaseInputArgs: def __init__(__self__, *, @@ -1008,6 +1384,22 @@ def target_database(self, value: Optional[pulumi.Input['DatabaseIdentifierArgs'] pulumi.set(self, "target_database", value) +if not MYPY: + class DatabasePrincipalPrivilegesArgsDict(TypedDict): + """ + The permissions granted to a principal. + """ + permissions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The permissions that are granted to the principal. + """ + principal: NotRequired[pulumi.Input['DatabaseDataLakePrincipalArgsDict']] + """ + The principal who is granted permissions. + """ +elif False: + DatabasePrincipalPrivilegesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatabasePrincipalPrivilegesArgs: def __init__(__self__, *, @@ -1048,6 +1440,27 @@ def principal(self, value: Optional[pulumi.Input['DatabaseDataLakePrincipalArgs' pulumi.set(self, "principal", value) +if not MYPY: + class JobCommandArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The name of the job command + """ + python_version: NotRequired[pulumi.Input[str]] + """ + The Python version being used to execute a Python shell job. + """ + runtime: NotRequired[pulumi.Input[str]] + """ + Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment + """ + script_location: NotRequired[pulumi.Input[str]] + """ + Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job + """ +elif False: + JobCommandArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobCommandArgs: def __init__(__self__, *, @@ -1119,6 +1532,15 @@ def script_location(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "script_location", value) +if not MYPY: + class JobConnectionsListArgsDict(TypedDict): + connections: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of connections used by the job. + """ +elif False: + JobConnectionsListArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobConnectionsListArgs: def __init__(__self__, *, @@ -1142,6 +1564,15 @@ def connections(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "connections", value) +if not MYPY: + class JobExecutionPropertyArgsDict(TypedDict): + max_concurrent_runs: NotRequired[pulumi.Input[float]] + """ + The maximum number of concurrent runs allowed for the job. + """ +elif False: + JobExecutionPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobExecutionPropertyArgs: def __init__(__self__, *, @@ -1165,6 +1596,15 @@ def max_concurrent_runs(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "max_concurrent_runs", value) +if not MYPY: + class JobNotificationPropertyArgsDict(TypedDict): + notify_delay_after: NotRequired[pulumi.Input[int]] + """ + It is the number of minutes to wait before sending a job run delay notification after a job run starts + """ +elif False: + JobNotificationPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobNotificationPropertyArgs: def __init__(__self__, *, @@ -1188,6 +1628,22 @@ def notify_delay_after(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "notify_delay_after", value) +if not MYPY: + class SchemaRegistryArgsDict(TypedDict): + """ + Identifier for the registry which the schema is part of. + """ + arn: NotRequired[pulumi.Input[str]] + """ + Amazon Resource Name for the Registry. + """ + name: NotRequired[pulumi.Input[str]] + """ + Name of the registry in which the schema will be created. + """ +elif False: + SchemaRegistryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SchemaRegistryArgs: def __init__(__self__, *, @@ -1228,6 +1684,26 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class SchemaVersionSchemaArgsDict(TypedDict): + """ + Identifier for the schema where the schema version will be created. + """ + registry_name: NotRequired[pulumi.Input[str]] + """ + Name of the registry to identify where the Schema is located. + """ + schema_arn: NotRequired[pulumi.Input[str]] + """ + Amazon Resource Name for the Schema. This attribute can be used to uniquely represent the Schema. + """ + schema_name: NotRequired[pulumi.Input[str]] + """ + Name of the schema. This parameter requires RegistryName to be provided. + """ +elif False: + SchemaVersionSchemaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SchemaVersionSchemaArgs: def __init__(__self__, *, @@ -1284,6 +1760,22 @@ def schema_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "schema_name", value) +if not MYPY: + class SchemaVersionArgsDict(TypedDict): + """ + Specify checkpoint version for update. This is only required to update the Compatibility. + """ + is_latest: NotRequired[pulumi.Input[bool]] + """ + Indicates if the latest version needs to be updated. + """ + version_number: NotRequired[pulumi.Input[int]] + """ + Indicates the version number in the schema to update. + """ +elif False: + SchemaVersionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SchemaVersionArgs: def __init__(__self__, *, @@ -1324,6 +1816,38 @@ def version_number(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "version_number", value) +if not MYPY: + class TriggerActionArgsDict(TypedDict): + """ + The actions initiated by this trigger. + """ + arguments: NotRequired[Any] + """ + The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself. + """ + crawler_name: NotRequired[pulumi.Input[str]] + """ + The name of the crawler to be used with this action. + """ + job_name: NotRequired[pulumi.Input[str]] + """ + The name of a job to be executed. + """ + notification_property: NotRequired[pulumi.Input['TriggerNotificationPropertyArgsDict']] + """ + Specifies configuration properties of a job run notification. + """ + security_configuration: NotRequired[pulumi.Input[str]] + """ + The name of the SecurityConfiguration structure to be used with this action. + """ + timeout: NotRequired[pulumi.Input[int]] + """ + The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job. + """ +elif False: + TriggerActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TriggerActionArgs: def __init__(__self__, *, @@ -1428,6 +1952,34 @@ def timeout(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "timeout", value) +if not MYPY: + class TriggerConditionArgsDict(TypedDict): + """ + Defines a condition under which a trigger fires. + """ + crawl_state: NotRequired[pulumi.Input[str]] + """ + The state of the crawler to which this condition applies. + """ + crawler_name: NotRequired[pulumi.Input[str]] + """ + The name of the crawler to which this condition applies. + """ + job_name: NotRequired[pulumi.Input[str]] + """ + The name of the job whose JobRuns this condition applies to, and on which this trigger waits. + """ + logical_operator: NotRequired[pulumi.Input[str]] + """ + A logical operator. + """ + state: NotRequired[pulumi.Input[str]] + """ + The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT, and FAILED. + """ +elif False: + TriggerConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TriggerConditionArgs: def __init__(__self__, *, @@ -1516,6 +2068,22 @@ def state(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "state", value) +if not MYPY: + class TriggerEventBatchingConditionArgsDict(TypedDict): + """ + Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires. + """ + batch_size: pulumi.Input[int] + """ + Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires. + """ + batch_window: NotRequired[pulumi.Input[int]] + """ + Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received. + """ +elif False: + TriggerEventBatchingConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TriggerEventBatchingConditionArgs: def __init__(__self__, *, @@ -1555,6 +2123,18 @@ def batch_window(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "batch_window", value) +if not MYPY: + class TriggerNotificationPropertyArgsDict(TypedDict): + """ + Specifies configuration properties of a job run notification. + """ + notify_delay_after: NotRequired[pulumi.Input[int]] + """ + After a job run starts, the number of minutes to wait before sending a job run delay notification + """ +elif False: + TriggerNotificationPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TriggerNotificationPropertyArgs: def __init__(__self__, *, @@ -1579,6 +2159,22 @@ def notify_delay_after(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "notify_delay_after", value) +if not MYPY: + class TriggerPredicateArgsDict(TypedDict): + """ + The predicate of this trigger, which defines when it will fire. + """ + conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TriggerConditionArgsDict']]]] + """ + A list of the conditions that determine when the trigger will fire. + """ + logical: NotRequired[pulumi.Input[str]] + """ + An optional field if only one condition is listed. If multiple conditions are listed, then this field is required. + """ +elif False: + TriggerPredicateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TriggerPredicateArgs: def __init__(__self__, *, @@ -1619,6 +2215,15 @@ def logical(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "logical", value) +if not MYPY: + class UsageProfileConfigurationObjectArgsDict(TypedDict): + allowed_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + default_value: NotRequired[pulumi.Input[str]] + max_value: NotRequired[pulumi.Input[str]] + min_value: NotRequired[pulumi.Input[str]] +elif False: + UsageProfileConfigurationObjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UsageProfileConfigurationObjectArgs: def __init__(__self__, *, @@ -1672,6 +2277,13 @@ def min_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "min_value", value) +if not MYPY: + class UsageProfileProfileConfigurationArgsDict(TypedDict): + job_configuration: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['UsageProfileConfigurationObjectArgsDict']]]] + session_configuration: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['UsageProfileConfigurationObjectArgsDict']]]] +elif False: + UsageProfileProfileConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UsageProfileProfileConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/glue/crawler.py b/sdk/python/pulumi_aws_native/glue/crawler.py index d48f426659..3335064dd7 100644 --- a/sdk/python/pulumi_aws_native/glue/crawler.py +++ b/sdk/python/pulumi_aws_native/glue/crawler.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/glue/database.py b/sdk/python/pulumi_aws_native/glue/database.py index 68cb67d69e..bee3bc4033 100644 --- a/sdk/python/pulumi_aws_native/glue/database.py +++ b/sdk/python/pulumi_aws_native/glue/database.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/glue/get_crawler.py b/sdk/python/pulumi_aws_native/glue/get_crawler.py index f63fd108e2..e792323f46 100644 --- a/sdk/python/pulumi_aws_native/glue/get_crawler.py +++ b/sdk/python/pulumi_aws_native/glue/get_crawler.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -217,9 +222,6 @@ def get_crawler(name: Optional[str] = None, table_prefix=pulumi.get(__ret__, 'table_prefix'), tags=pulumi.get(__ret__, 'tags'), targets=pulumi.get(__ret__, 'targets')) - - -@_utilities.lift_output_func(get_crawler) def get_crawler_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCrawlerResult]: """ @@ -228,4 +230,21 @@ def get_crawler_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the crawler. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:glue:getCrawler', __args__, opts=opts, typ=GetCrawlerResult) + return __ret__.apply(lambda __response__: GetCrawlerResult( + classifiers=pulumi.get(__response__, 'classifiers'), + configuration=pulumi.get(__response__, 'configuration'), + crawler_security_configuration=pulumi.get(__response__, 'crawler_security_configuration'), + database_name=pulumi.get(__response__, 'database_name'), + description=pulumi.get(__response__, 'description'), + lake_formation_configuration=pulumi.get(__response__, 'lake_formation_configuration'), + recrawl_policy=pulumi.get(__response__, 'recrawl_policy'), + role=pulumi.get(__response__, 'role'), + schedule=pulumi.get(__response__, 'schedule'), + schema_change_policy=pulumi.get(__response__, 'schema_change_policy'), + table_prefix=pulumi.get(__response__, 'table_prefix'), + tags=pulumi.get(__response__, 'tags'), + targets=pulumi.get(__response__, 'targets'))) diff --git a/sdk/python/pulumi_aws_native/glue/get_database.py b/sdk/python/pulumi_aws_native/glue/get_database.py index bb1e6b3565..5958f81ea6 100644 --- a/sdk/python/pulumi_aws_native/glue/get_database.py +++ b/sdk/python/pulumi_aws_native/glue/get_database.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_database(database_name: Optional[str] = None, return AwaitableGetDatabaseResult( catalog_id=pulumi.get(__ret__, 'catalog_id'), database_input=pulumi.get(__ret__, 'database_input')) - - -@_utilities.lift_output_func(get_database) def get_database_output(database_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseResult]: """ @@ -81,4 +83,10 @@ def get_database_output(database_name: Optional[pulumi.Input[str]] = None, :param str database_name: The name of the database. For hive compatibility, this is folded to lowercase when it is store. """ - ... + __args__ = dict() + __args__['databaseName'] = database_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:glue:getDatabase', __args__, opts=opts, typ=GetDatabaseResult) + return __ret__.apply(lambda __response__: GetDatabaseResult( + catalog_id=pulumi.get(__response__, 'catalog_id'), + database_input=pulumi.get(__response__, 'database_input'))) diff --git a/sdk/python/pulumi_aws_native/glue/get_job.py b/sdk/python/pulumi_aws_native/glue/get_job.py index 46721e57b9..c615d5b315 100644 --- a/sdk/python/pulumi_aws_native/glue/get_job.py +++ b/sdk/python/pulumi_aws_native/glue/get_job.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -337,9 +342,6 @@ def get_job(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), timeout=pulumi.get(__ret__, 'timeout'), worker_type=pulumi.get(__ret__, 'worker_type')) - - -@_utilities.lift_output_func(get_job) def get_job_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetJobResult]: """ @@ -348,4 +350,30 @@ def get_job_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name you assign to the job definition """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:glue:getJob', __args__, opts=opts, typ=GetJobResult) + return __ret__.apply(lambda __response__: GetJobResult( + allocated_capacity=pulumi.get(__response__, 'allocated_capacity'), + command=pulumi.get(__response__, 'command'), + connections=pulumi.get(__response__, 'connections'), + default_arguments=pulumi.get(__response__, 'default_arguments'), + description=pulumi.get(__response__, 'description'), + execution_class=pulumi.get(__response__, 'execution_class'), + execution_property=pulumi.get(__response__, 'execution_property'), + glue_version=pulumi.get(__response__, 'glue_version'), + job_mode=pulumi.get(__response__, 'job_mode'), + job_run_queuing_enabled=pulumi.get(__response__, 'job_run_queuing_enabled'), + log_uri=pulumi.get(__response__, 'log_uri'), + maintenance_window=pulumi.get(__response__, 'maintenance_window'), + max_capacity=pulumi.get(__response__, 'max_capacity'), + max_retries=pulumi.get(__response__, 'max_retries'), + non_overridable_arguments=pulumi.get(__response__, 'non_overridable_arguments'), + notification_property=pulumi.get(__response__, 'notification_property'), + number_of_workers=pulumi.get(__response__, 'number_of_workers'), + role=pulumi.get(__response__, 'role'), + security_configuration=pulumi.get(__response__, 'security_configuration'), + tags=pulumi.get(__response__, 'tags'), + timeout=pulumi.get(__response__, 'timeout'), + worker_type=pulumi.get(__response__, 'worker_type'))) diff --git a/sdk/python/pulumi_aws_native/glue/get_registry.py b/sdk/python/pulumi_aws_native/glue/get_registry.py index d4c48afced..0d235eebbd 100644 --- a/sdk/python/pulumi_aws_native/glue/get_registry.py +++ b/sdk/python/pulumi_aws_native/glue/get_registry.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_registry(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), description=pulumi.get(__ret__, 'description'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_registry) def get_registry_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistryResult]: """ @@ -94,4 +96,11 @@ def get_registry_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Amazon Resource Name for the created Registry. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:glue:getRegistry', __args__, opts=opts, typ=GetRegistryResult) + return __ret__.apply(lambda __response__: GetRegistryResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/glue/get_schema.py b/sdk/python/pulumi_aws_native/glue/get_schema.py index 449c6f70b9..20a30c7f62 100644 --- a/sdk/python/pulumi_aws_native/glue/get_schema.py +++ b/sdk/python/pulumi_aws_native/glue/get_schema.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_schema(arn: Optional[str] = None, description=pulumi.get(__ret__, 'description'), initial_schema_version_id=pulumi.get(__ret__, 'initial_schema_version_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_schema) def get_schema_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchemaResult]: """ @@ -135,4 +137,14 @@ def get_schema_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Amazon Resource Name for the Schema. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:glue:getSchema', __args__, opts=opts, typ=GetSchemaResult) + return __ret__.apply(lambda __response__: GetSchemaResult( + arn=pulumi.get(__response__, 'arn'), + checkpoint_version=pulumi.get(__response__, 'checkpoint_version'), + compatibility=pulumi.get(__response__, 'compatibility'), + description=pulumi.get(__response__, 'description'), + initial_schema_version_id=pulumi.get(__response__, 'initial_schema_version_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/glue/get_schema_version.py b/sdk/python/pulumi_aws_native/glue/get_schema_version.py index dae3743d33..a95ad45ffd 100644 --- a/sdk/python/pulumi_aws_native/glue/get_schema_version.py +++ b/sdk/python/pulumi_aws_native/glue/get_schema_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_schema_version(version_id: Optional[str] = None, return AwaitableGetSchemaVersionResult( version_id=pulumi.get(__ret__, 'version_id')) - - -@_utilities.lift_output_func(get_schema_version) def get_schema_version_output(version_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchemaVersionResult]: """ @@ -67,4 +69,9 @@ def get_schema_version_output(version_id: Optional[pulumi.Input[str]] = None, :param str version_id: Represents the version ID associated with the schema version. """ - ... + __args__ = dict() + __args__['versionId'] = version_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:glue:getSchemaVersion', __args__, opts=opts, typ=GetSchemaVersionResult) + return __ret__.apply(lambda __response__: GetSchemaVersionResult( + version_id=pulumi.get(__response__, 'version_id'))) diff --git a/sdk/python/pulumi_aws_native/glue/get_trigger.py b/sdk/python/pulumi_aws_native/glue/get_trigger.py index e2904df5b6..06a7b55cfc 100644 --- a/sdk/python/pulumi_aws_native/glue/get_trigger.py +++ b/sdk/python/pulumi_aws_native/glue/get_trigger.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -124,9 +129,6 @@ def get_trigger(name: Optional[str] = None, predicate=pulumi.get(__ret__, 'predicate'), schedule=pulumi.get(__ret__, 'schedule'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_trigger) def get_trigger_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTriggerResult]: """ @@ -135,4 +137,14 @@ def get_trigger_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the trigger. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:glue:getTrigger', __args__, opts=opts, typ=GetTriggerResult) + return __ret__.apply(lambda __response__: GetTriggerResult( + actions=pulumi.get(__response__, 'actions'), + description=pulumi.get(__response__, 'description'), + event_batching_condition=pulumi.get(__response__, 'event_batching_condition'), + predicate=pulumi.get(__response__, 'predicate'), + schedule=pulumi.get(__response__, 'schedule'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/glue/get_usage_profile.py b/sdk/python/pulumi_aws_native/glue/get_usage_profile.py index ce37963dac..54742bcc37 100644 --- a/sdk/python/pulumi_aws_native/glue/get_usage_profile.py +++ b/sdk/python/pulumi_aws_native/glue/get_usage_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -97,9 +102,6 @@ def get_usage_profile(name: Optional[str] = None, created_on=pulumi.get(__ret__, 'created_on'), description=pulumi.get(__ret__, 'description'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_usage_profile) def get_usage_profile_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsageProfileResult]: """ @@ -108,4 +110,12 @@ def get_usage_profile_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the UsageProfile. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:glue:getUsageProfile', __args__, opts=opts, typ=GetUsageProfileResult) + return __ret__.apply(lambda __response__: GetUsageProfileResult( + configuration=pulumi.get(__response__, 'configuration'), + created_on=pulumi.get(__response__, 'created_on'), + description=pulumi.get(__response__, 'description'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/glue/job.py b/sdk/python/pulumi_aws_native/glue/job.py index 01938b2ac3..7723575438 100644 --- a/sdk/python/pulumi_aws_native/glue/job.py +++ b/sdk/python/pulumi_aws_native/glue/job.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/glue/outputs.py b/sdk/python/pulumi_aws_native/glue/outputs.py index c4632b98ce..35d2ed5b16 100644 --- a/sdk/python/pulumi_aws_native/glue/outputs.py +++ b/sdk/python/pulumi_aws_native/glue/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/glue/registry.py b/sdk/python/pulumi_aws_native/glue/registry.py index 52dc053f10..e505be157e 100644 --- a/sdk/python/pulumi_aws_native/glue/registry.py +++ b/sdk/python/pulumi_aws_native/glue/registry.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/glue/schema.py b/sdk/python/pulumi_aws_native/glue/schema.py index 6d464dd35d..77421c4a9b 100644 --- a/sdk/python/pulumi_aws_native/glue/schema.py +++ b/sdk/python/pulumi_aws_native/glue/schema.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/glue/schema_version.py b/sdk/python/pulumi_aws_native/glue/schema_version.py index 38233381f0..b261aaa7a7 100644 --- a/sdk/python/pulumi_aws_native/glue/schema_version.py +++ b/sdk/python/pulumi_aws_native/glue/schema_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/glue/schema_version_metadata.py b/sdk/python/pulumi_aws_native/glue/schema_version_metadata.py index 0d2c1c9696..9d332a1a4f 100644 --- a/sdk/python/pulumi_aws_native/glue/schema_version_metadata.py +++ b/sdk/python/pulumi_aws_native/glue/schema_version_metadata.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SchemaVersionMetadataArgs', 'SchemaVersionMetadata'] diff --git a/sdk/python/pulumi_aws_native/glue/trigger.py b/sdk/python/pulumi_aws_native/glue/trigger.py index 7aba3325b0..202ee9ad9d 100644 --- a/sdk/python/pulumi_aws_native/glue/trigger.py +++ b/sdk/python/pulumi_aws_native/glue/trigger.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/glue/usage_profile.py b/sdk/python/pulumi_aws_native/glue/usage_profile.py index 55480c632f..157fdadc10 100644 --- a/sdk/python/pulumi_aws_native/glue/usage_profile.py +++ b/sdk/python/pulumi_aws_native/glue/usage_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/grafana/_inputs.py b/sdk/python/pulumi_aws_native/grafana/_inputs.py index 0e6dcddbeb..0af843f10f 100644 --- a/sdk/python/pulumi_aws_native/grafana/_inputs.py +++ b/sdk/python/pulumi_aws_native/grafana/_inputs.py @@ -4,21 +4,66 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'WorkspaceAssertionAttributesArgs', + 'WorkspaceAssertionAttributesArgsDict', 'WorkspaceIdpMetadataArgs', + 'WorkspaceIdpMetadataArgsDict', 'WorkspaceNetworkAccessControlArgs', + 'WorkspaceNetworkAccessControlArgsDict', 'WorkspaceRoleValuesArgs', + 'WorkspaceRoleValuesArgsDict', 'WorkspaceSamlConfigurationArgs', + 'WorkspaceSamlConfigurationArgsDict', 'WorkspaceVpcConfigurationArgs', + 'WorkspaceVpcConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class WorkspaceAssertionAttributesArgsDict(TypedDict): + """ + Maps Grafana friendly names to the IdPs SAML attributes. + """ + email: NotRequired[pulumi.Input[str]] + """ + Name of the attribute within the SAML assert to use as the users email in Grafana. + """ + groups: NotRequired[pulumi.Input[str]] + """ + Name of the attribute within the SAML assert to use as the users groups in Grafana. + """ + login: NotRequired[pulumi.Input[str]] + """ + Name of the attribute within the SAML assert to use as the users login handle in Grafana. + """ + name: NotRequired[pulumi.Input[str]] + """ + Name of the attribute within the SAML assert to use as the users name in Grafana. + """ + org: NotRequired[pulumi.Input[str]] + """ + Name of the attribute within the SAML assert to use as the users organizations in Grafana. + """ + role: NotRequired[pulumi.Input[str]] + """ + Name of the attribute within the SAML assert to use as the users roles in Grafana. + """ +elif False: + WorkspaceAssertionAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkspaceAssertionAttributesArgs: def __init__(__self__, *, @@ -123,6 +168,22 @@ def role(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role", value) +if not MYPY: + class WorkspaceIdpMetadataArgsDict(TypedDict): + """ + IdP Metadata used to configure SAML authentication in Grafana. + """ + url: NotRequired[pulumi.Input[str]] + """ + URL that vends the IdPs metadata. + """ + xml: NotRequired[pulumi.Input[str]] + """ + XML blob of the IdPs metadata. + """ +elif False: + WorkspaceIdpMetadataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkspaceIdpMetadataArgs: def __init__(__self__, *, @@ -163,6 +224,22 @@ def xml(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "xml", value) +if not MYPY: + class WorkspaceNetworkAccessControlArgsDict(TypedDict): + """ + The configuration settings for Network Access Control. + """ + prefix_list_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of prefix list IDs. A prefix list is a list of CIDR ranges of IP addresses. The IP addresses specified are allowed to access your workspace. If the list is not included in the configuration then no IP addresses will be allowed to access the workspace. + """ + vpce_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of Amazon VPC endpoint IDs for the workspace. If a NetworkAccessConfiguration is specified then only VPC endpoints specified here will be allowed to access the workspace. + """ +elif False: + WorkspaceNetworkAccessControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkspaceNetworkAccessControlArgs: def __init__(__self__, *, @@ -203,6 +280,22 @@ def vpce_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "vpce_ids", value) +if not MYPY: + class WorkspaceRoleValuesArgsDict(TypedDict): + """ + Maps SAML roles to the Grafana Editor and Admin roles. + """ + admin: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of SAML roles which will be mapped into the Grafana Admin role. + """ + editor: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of SAML roles which will be mapped into the Grafana Editor role. + """ +elif False: + WorkspaceRoleValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkspaceRoleValuesArgs: def __init__(__self__, *, @@ -243,6 +336,34 @@ def editor(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "editor", value) +if not MYPY: + class WorkspaceSamlConfigurationArgsDict(TypedDict): + """ + SAML configuration data associated with an AMG workspace. + """ + idp_metadata: pulumi.Input['WorkspaceIdpMetadataArgsDict'] + """ + A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace. + """ + allowed_organizations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of SAML organizations allowed to access Grafana. + """ + assertion_attributes: NotRequired[pulumi.Input['WorkspaceAssertionAttributesArgsDict']] + """ + A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace. + """ + login_validity_duration: NotRequired[pulumi.Input[float]] + """ + The maximum lifetime an authenticated user can be logged in (in minutes) before being required to re-authenticate. + """ + role_values: NotRequired[pulumi.Input['WorkspaceRoleValuesArgsDict']] + """ + A structure containing arrays that map group names in the SAML assertion to the Grafana `Admin` and `Editor` roles in the workspace. + """ +elif False: + WorkspaceSamlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkspaceSamlConfigurationArgs: def __init__(__self__, *, @@ -330,6 +451,22 @@ def role_values(self, value: Optional[pulumi.Input['WorkspaceRoleValuesArgs']]): pulumi.set(self, "role_values", value) +if not MYPY: + class WorkspaceVpcConfigurationArgsDict(TypedDict): + """ + The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to. + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect. + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect. + """ +elif False: + WorkspaceVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkspaceVpcConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/grafana/get_workspace.py b/sdk/python/pulumi_aws_native/grafana/get_workspace.py index cb63df731b..9528e256dc 100644 --- a/sdk/python/pulumi_aws_native/grafana/get_workspace.py +++ b/sdk/python/pulumi_aws_native/grafana/get_workspace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -360,9 +365,6 @@ def get_workspace(id: Optional[str] = None, stack_set_name=pulumi.get(__ret__, 'stack_set_name'), status=pulumi.get(__ret__, 'status'), vpc_configuration=pulumi.get(__ret__, 'vpc_configuration')) - - -@_utilities.lift_output_func(get_workspace) def get_workspace_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceResult]: """ @@ -371,4 +373,31 @@ def get_workspace_output(id: Optional[pulumi.Input[str]] = None, :param str id: The id that uniquely identifies a Grafana workspace. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:grafana:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult) + return __ret__.apply(lambda __response__: GetWorkspaceResult( + account_access_type=pulumi.get(__response__, 'account_access_type'), + authentication_providers=pulumi.get(__response__, 'authentication_providers'), + creation_timestamp=pulumi.get(__response__, 'creation_timestamp'), + data_sources=pulumi.get(__response__, 'data_sources'), + description=pulumi.get(__response__, 'description'), + endpoint=pulumi.get(__response__, 'endpoint'), + grafana_version=pulumi.get(__response__, 'grafana_version'), + id=pulumi.get(__response__, 'id'), + modification_timestamp=pulumi.get(__response__, 'modification_timestamp'), + name=pulumi.get(__response__, 'name'), + network_access_control=pulumi.get(__response__, 'network_access_control'), + notification_destinations=pulumi.get(__response__, 'notification_destinations'), + organization_role_name=pulumi.get(__response__, 'organization_role_name'), + organizational_units=pulumi.get(__response__, 'organizational_units'), + permission_type=pulumi.get(__response__, 'permission_type'), + plugin_admin_enabled=pulumi.get(__response__, 'plugin_admin_enabled'), + role_arn=pulumi.get(__response__, 'role_arn'), + saml_configuration=pulumi.get(__response__, 'saml_configuration'), + saml_configuration_status=pulumi.get(__response__, 'saml_configuration_status'), + sso_client_id=pulumi.get(__response__, 'sso_client_id'), + stack_set_name=pulumi.get(__response__, 'stack_set_name'), + status=pulumi.get(__response__, 'status'), + vpc_configuration=pulumi.get(__response__, 'vpc_configuration'))) diff --git a/sdk/python/pulumi_aws_native/grafana/outputs.py b/sdk/python/pulumi_aws_native/grafana/outputs.py index f487eacf3e..bc74733c79 100644 --- a/sdk/python/pulumi_aws_native/grafana/outputs.py +++ b/sdk/python/pulumi_aws_native/grafana/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/grafana/workspace.py b/sdk/python/pulumi_aws_native/grafana/workspace.py index 973af421fb..b1fdb812f1 100644 --- a/sdk/python/pulumi_aws_native/grafana/workspace.py +++ b/sdk/python/pulumi_aws_native/grafana/workspace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/greengrassv2/_inputs.py b/sdk/python/pulumi_aws_native/greengrassv2/_inputs.py index e6a94f5799..dd8ddc6998 100644 --- a/sdk/python/pulumi_aws_native/greengrassv2/_inputs.py +++ b/sdk/python/pulumi_aws_native/greengrassv2/_inputs.py @@ -4,38 +4,75 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ComponentVersionComponentDependencyRequirementArgs', + 'ComponentVersionComponentDependencyRequirementArgsDict', 'ComponentVersionComponentPlatformArgs', + 'ComponentVersionComponentPlatformArgsDict', 'ComponentVersionLambdaContainerParamsArgs', + 'ComponentVersionLambdaContainerParamsArgsDict', 'ComponentVersionLambdaDeviceMountArgs', + 'ComponentVersionLambdaDeviceMountArgsDict', 'ComponentVersionLambdaEventSourceArgs', + 'ComponentVersionLambdaEventSourceArgsDict', 'ComponentVersionLambdaExecutionParametersArgs', + 'ComponentVersionLambdaExecutionParametersArgsDict', 'ComponentVersionLambdaFunctionRecipeSourceArgs', + 'ComponentVersionLambdaFunctionRecipeSourceArgsDict', 'ComponentVersionLambdaLinuxProcessParamsArgs', + 'ComponentVersionLambdaLinuxProcessParamsArgsDict', 'ComponentVersionLambdaVolumeMountArgs', + 'ComponentVersionLambdaVolumeMountArgsDict', 'DeploymentComponentConfigurationUpdateArgs', + 'DeploymentComponentConfigurationUpdateArgsDict', 'DeploymentComponentDeploymentSpecificationArgs', + 'DeploymentComponentDeploymentSpecificationArgsDict', 'DeploymentComponentRunWithArgs', + 'DeploymentComponentRunWithArgsDict', 'DeploymentComponentUpdatePolicyArgs', + 'DeploymentComponentUpdatePolicyArgsDict', 'DeploymentConfigurationValidationPolicyArgs', + 'DeploymentConfigurationValidationPolicyArgsDict', 'DeploymentIoTJobAbortConfigArgs', + 'DeploymentIoTJobAbortConfigArgsDict', 'DeploymentIoTJobAbortCriteriaArgs', + 'DeploymentIoTJobAbortCriteriaArgsDict', 'DeploymentIoTJobConfigurationArgs', + 'DeploymentIoTJobConfigurationArgsDict', 'DeploymentIoTJobExecutionsRolloutConfigArgs', + 'DeploymentIoTJobExecutionsRolloutConfigArgsDict', 'DeploymentIoTJobExponentialRolloutRateArgs', + 'DeploymentIoTJobExponentialRolloutRateArgsDict', 'DeploymentIoTJobRateIncreaseCriteriaArgs', + 'DeploymentIoTJobRateIncreaseCriteriaArgsDict', 'DeploymentIoTJobTimeoutConfigArgs', + 'DeploymentIoTJobTimeoutConfigArgsDict', 'DeploymentPoliciesArgs', + 'DeploymentPoliciesArgsDict', 'DeploymentSystemResourceLimitsArgs', + 'DeploymentSystemResourceLimitsArgsDict', ] +MYPY = False + +if not MYPY: + class ComponentVersionComponentDependencyRequirementArgsDict(TypedDict): + dependency_type: NotRequired[pulumi.Input['ComponentVersionComponentDependencyRequirementDependencyType']] + version_requirement: NotRequired[pulumi.Input[str]] +elif False: + ComponentVersionComponentDependencyRequirementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentVersionComponentDependencyRequirementArgs: def __init__(__self__, *, @@ -65,6 +102,21 @@ def version_requirement(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version_requirement", value) +if not MYPY: + class ComponentVersionComponentPlatformArgsDict(TypedDict): + attributes: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A dictionary of attributes for the platform. The AWS IoT Greengrass Core software defines the `os` and `platform` by default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the [AWS IoT Greengrass nucleus component](https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html) in the *AWS IoT Greengrass V2 Developer Guide* . + """ + name: NotRequired[pulumi.Input[str]] + """ + The friendly name of the platform. This name helps you identify the platform. + + If you omit this parameter, AWS IoT Greengrass creates a friendly name from the `os` and `architecture` of the platform. + """ +elif False: + ComponentVersionComponentPlatformArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentVersionComponentPlatformArgs: def __init__(__self__, *, @@ -108,6 +160,31 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class ComponentVersionLambdaContainerParamsArgsDict(TypedDict): + devices: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentVersionLambdaDeviceMountArgsDict']]]] + """ + The list of system devices that the container can access. + """ + memory_size_in_kb: NotRequired[pulumi.Input[int]] + """ + The memory size of the container, expressed in kilobytes. + + Default: `16384` (16 MB) + """ + mount_ro_sysfs: NotRequired[pulumi.Input[bool]] + """ + Whether or not the container can read information from the device's `/sys` folder. + + Default: `false` + """ + volumes: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentVersionLambdaVolumeMountArgsDict']]]] + """ + The list of volumes that the container can access. + """ +elif False: + ComponentVersionLambdaContainerParamsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentVersionLambdaContainerParamsArgs: def __init__(__self__, *, @@ -187,6 +264,27 @@ def volumes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ComponentV pulumi.set(self, "volumes", value) +if not MYPY: + class ComponentVersionLambdaDeviceMountArgsDict(TypedDict): + add_group_owner: NotRequired[pulumi.Input[bool]] + """ + Whether or not to add the component's system user as an owner of the device. + + Default: `false` + """ + path: NotRequired[pulumi.Input[str]] + """ + The mount path for the device in the file system. + """ + permission: NotRequired[pulumi.Input['ComponentVersionLambdaFilesystemPermission']] + """ + The permission to access the device: read/only ( `ro` ) or read/write ( `rw` ). + + Default: `ro` + """ +elif False: + ComponentVersionLambdaDeviceMountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentVersionLambdaDeviceMountArgs: def __init__(__self__, *, @@ -250,6 +348,22 @@ def permission(self, value: Optional[pulumi.Input['ComponentVersionLambdaFilesys pulumi.set(self, "permission", value) +if not MYPY: + class ComponentVersionLambdaEventSourceArgsDict(TypedDict): + topic: NotRequired[pulumi.Input[str]] + """ + The topic to which to subscribe to receive event messages. + """ + type: NotRequired[pulumi.Input['ComponentVersionLambdaEventSourceType']] + """ + The type of event source. Choose from the following options: + + - `PUB_SUB` – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards ( `+` and `#` ) in the event source topic. + - `IOT_CORE` – Subscribe to AWS IoT Core MQTT messages. This event source type supports MQTT wildcards ( `+` and `#` ) in the event source topic. + """ +elif False: + ComponentVersionLambdaEventSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentVersionLambdaEventSourceArgs: def __init__(__self__, *, @@ -295,6 +409,62 @@ def type(self, value: Optional[pulumi.Input['ComponentVersionLambdaEventSourceTy pulumi.set(self, "type", value) +if not MYPY: + class ComponentVersionLambdaExecutionParametersArgsDict(TypedDict): + environment_variables: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The map of environment variables that are available to the Lambda function when it runs. + """ + event_sources: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentVersionLambdaEventSourceArgsDict']]]] + """ + The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and AWS IoT Core MQTT messages. + """ + exec_args: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of arguments to pass to the Lambda function when it runs. + """ + input_payload_encoding_type: NotRequired[pulumi.Input['ComponentVersionLambdaExecutionParametersInputPayloadEncodingType']] + """ + The encoding type that the Lambda function supports. + + Default: `json` + """ + linux_process_params: NotRequired[pulumi.Input['ComponentVersionLambdaLinuxProcessParamsArgsDict']] + """ + The parameters for the Linux process that contains the Lambda function. + """ + max_idle_time_in_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum amount of time in seconds that a non-pinned Lambda function can idle before the AWS IoT Greengrass Core software stops its process. + """ + max_instances_count: NotRequired[pulumi.Input[int]] + """ + The maximum number of instances that a non-pinned Lambda function can run at the same time. + """ + max_queue_size: NotRequired[pulumi.Input[int]] + """ + The maximum size of the message queue for the Lambda function component. The AWS IoT Greengrass core device stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message. + """ + pinned: NotRequired[pulumi.Input[bool]] + """ + Whether or not the Lambda function is pinned, or long-lived. + + - A pinned Lambda function starts when the AWS IoT Greengrass Core starts and keeps running in its own container. + - A non-pinned Lambda function starts only when it receives a work item and exists after it idles for `maxIdleTimeInSeconds` . If the function has multiple work items, the AWS IoT Greengrass Core software creates multiple instances of the function. + + Default: `true` + """ + status_timeout_in_seconds: NotRequired[pulumi.Input[int]] + """ + The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component. + """ + timeout_in_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum amount of time in seconds that the Lambda function can process a work item. + """ +elif False: + ComponentVersionLambdaExecutionParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentVersionLambdaExecutionParametersArgs: def __init__(__self__, *, @@ -492,6 +662,39 @@ def timeout_in_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "timeout_in_seconds", value) +if not MYPY: + class ComponentVersionLambdaFunctionRecipeSourceArgsDict(TypedDict): + component_dependencies: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['ComponentVersionComponentDependencyRequirementArgsDict']]]] + """ + The component versions on which this Lambda function component depends. + """ + component_lambda_parameters: NotRequired[pulumi.Input['ComponentVersionLambdaExecutionParametersArgsDict']] + """ + The system and runtime parameters for the Lambda function as it runs on the AWS IoT Greengrass core device. + """ + component_name: NotRequired[pulumi.Input[str]] + """ + The name of the component. + + Defaults to the name of the Lambda function. + """ + component_platforms: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentVersionComponentPlatformArgsDict']]]] + """ + The platforms that the component version supports. + """ + component_version: NotRequired[pulumi.Input[str]] + """ + The version of the component. + + Defaults to the version of the Lambda function as a semantic version. For example, if your function version is `3` , the component version becomes `3.0.0` . + """ + lambda_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like `$LATEST` . + """ +elif False: + ComponentVersionLambdaFunctionRecipeSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentVersionLambdaFunctionRecipeSourceArgs: def __init__(__self__, *, @@ -603,6 +806,21 @@ def lambda_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "lambda_arn", value) +if not MYPY: + class ComponentVersionLambdaLinuxProcessParamsArgsDict(TypedDict): + container_params: NotRequired[pulumi.Input['ComponentVersionLambdaContainerParamsArgsDict']] + """ + The parameters for the container in which the Lambda function runs. + """ + isolation_mode: NotRequired[pulumi.Input['ComponentVersionLambdaLinuxProcessParamsIsolationMode']] + """ + The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container. + + Default: `GreengrassContainer` + """ +elif False: + ComponentVersionLambdaLinuxProcessParamsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentVersionLambdaLinuxProcessParamsArgs: def __init__(__self__, *, @@ -646,6 +864,31 @@ def isolation_mode(self, value: Optional[pulumi.Input['ComponentVersionLambdaLin pulumi.set(self, "isolation_mode", value) +if not MYPY: + class ComponentVersionLambdaVolumeMountArgsDict(TypedDict): + add_group_owner: NotRequired[pulumi.Input[bool]] + """ + Whether or not to add the AWS IoT Greengrass user group as an owner of the volume. + + Default: `false` + """ + destination_path: NotRequired[pulumi.Input[str]] + """ + The path to the logical volume in the file system. + """ + permission: NotRequired[pulumi.Input['ComponentVersionLambdaFilesystemPermission']] + """ + The permission to access the volume: read/only ( `ro` ) or read/write ( `rw` ). + + Default: `ro` + """ + source_path: NotRequired[pulumi.Input[str]] + """ + The path to the physical volume in the file system. + """ +elif False: + ComponentVersionLambdaVolumeMountArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentVersionLambdaVolumeMountArgs: def __init__(__self__, *, @@ -725,6 +968,13 @@ def source_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_path", value) +if not MYPY: + class DeploymentComponentConfigurationUpdateArgsDict(TypedDict): + merge: NotRequired[pulumi.Input[str]] + reset: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + DeploymentComponentConfigurationUpdateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentComponentConfigurationUpdateArgs: def __init__(__self__, *, @@ -754,6 +1004,14 @@ def reset(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "reset", value) +if not MYPY: + class DeploymentComponentDeploymentSpecificationArgsDict(TypedDict): + component_version: NotRequired[pulumi.Input[str]] + configuration_update: NotRequired[pulumi.Input['DeploymentComponentConfigurationUpdateArgsDict']] + run_with: NotRequired[pulumi.Input['DeploymentComponentRunWithArgsDict']] +elif False: + DeploymentComponentDeploymentSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentComponentDeploymentSpecificationArgs: def __init__(__self__, *, @@ -795,6 +1053,14 @@ def run_with(self, value: Optional[pulumi.Input['DeploymentComponentRunWithArgs' pulumi.set(self, "run_with", value) +if not MYPY: + class DeploymentComponentRunWithArgsDict(TypedDict): + posix_user: NotRequired[pulumi.Input[str]] + system_resource_limits: NotRequired[pulumi.Input['DeploymentSystemResourceLimitsArgsDict']] + windows_user: NotRequired[pulumi.Input[str]] +elif False: + DeploymentComponentRunWithArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentComponentRunWithArgs: def __init__(__self__, *, @@ -836,6 +1102,26 @@ def windows_user(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "windows_user", value) +if not MYPY: + class DeploymentComponentUpdatePolicyArgsDict(TypedDict): + action: NotRequired[pulumi.Input['DeploymentComponentUpdatePolicyAction']] + """ + Whether or not to notify components and wait for components to become safe to update. Choose from the following options: + + - `NOTIFY_COMPONENTS` – The deployment notifies each component before it stops and updates that component. Components can use the [SubscribeToComponentUpdates](https://docs.aws.amazon.com/greengrass/v2/developerguide/interprocess-communication.html#ipc-operation-subscribetocomponentupdates) IPC operation to receive these notifications. Then, components can respond with the [DeferComponentUpdate](https://docs.aws.amazon.com/greengrass/v2/developerguide/interprocess-communication.html#ipc-operation-defercomponentupdate) IPC operation. For more information, see the [Create deployments](https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html) in the *AWS IoT Greengrass V2 Developer Guide* . + - `SKIP_NOTIFY_COMPONENTS` – The deployment doesn't notify components or wait for them to be safe to update. + + Default: `NOTIFY_COMPONENTS` + """ + timeout_in_seconds: NotRequired[pulumi.Input[int]] + """ + The amount of time in seconds that each component on a device has to report that it's safe to update. If the component waits for longer than this timeout, then the deployment proceeds on the device. + + Default: `60` + """ +elif False: + DeploymentComponentUpdatePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentComponentUpdatePolicyArgs: def __init__(__self__, *, @@ -889,6 +1175,17 @@ def timeout_in_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "timeout_in_seconds", value) +if not MYPY: + class DeploymentConfigurationValidationPolicyArgsDict(TypedDict): + timeout_in_seconds: NotRequired[pulumi.Input[int]] + """ + The amount of time in seconds that a component can validate its configuration updates. If the validation time exceeds this timeout, then the deployment proceeds for the device. + + Default: `30` + """ +elif False: + DeploymentConfigurationValidationPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentConfigurationValidationPolicyArgs: def __init__(__self__, *, @@ -916,6 +1213,15 @@ def timeout_in_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "timeout_in_seconds", value) +if not MYPY: + class DeploymentIoTJobAbortConfigArgsDict(TypedDict): + criteria_list: pulumi.Input[Sequence[pulumi.Input['DeploymentIoTJobAbortCriteriaArgsDict']]] + """ + The list of criteria that define when and how to cancel the configuration deployment. + """ +elif False: + DeploymentIoTJobAbortConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentIoTJobAbortConfigArgs: def __init__(__self__, *, @@ -938,6 +1244,29 @@ def criteria_list(self, value: pulumi.Input[Sequence[pulumi.Input['DeploymentIoT pulumi.set(self, "criteria_list", value) +if not MYPY: + class DeploymentIoTJobAbortCriteriaArgsDict(TypedDict): + action: pulumi.Input['DeploymentIoTJobAbortCriteriaAction'] + """ + The action to perform when the criteria are met. + """ + failure_type: pulumi.Input['DeploymentIoTJobAbortCriteriaFailureType'] + """ + The type of job deployment failure that can cancel a job. + """ + min_number_of_executed_things: pulumi.Input[int] + """ + The minimum number of things that receive the configuration before the job can cancel. + """ + threshold_percentage: pulumi.Input[float] + """ + The minimum percentage of `failureType` failures that occur before the job can cancel. + + This parameter supports up to two digits after the decimal (for example, you can specify `10.9` or `10.99` , but not `10.999` ). + """ +elif False: + DeploymentIoTJobAbortCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentIoTJobAbortCriteriaArgs: def __init__(__self__, *, @@ -1009,6 +1338,23 @@ def threshold_percentage(self, value: pulumi.Input[float]): pulumi.set(self, "threshold_percentage", value) +if not MYPY: + class DeploymentIoTJobConfigurationArgsDict(TypedDict): + abort_config: NotRequired[pulumi.Input['DeploymentIoTJobAbortConfigArgsDict']] + """ + The stop configuration for the job. This configuration defines when and how to stop a job rollout. + """ + job_executions_rollout_config: NotRequired[pulumi.Input['DeploymentIoTJobExecutionsRolloutConfigArgsDict']] + """ + The rollout configuration for the job. This configuration defines the rate at which the job rolls out to the fleet of target devices. + """ + timeout_config: NotRequired[pulumi.Input['DeploymentIoTJobTimeoutConfigArgsDict']] + """ + The timeout configuration for the job. This configuration defines the amount of time each device has to complete the job. + """ +elif False: + DeploymentIoTJobConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentIoTJobConfigurationArgs: def __init__(__self__, *, @@ -1064,6 +1410,19 @@ def timeout_config(self, value: Optional[pulumi.Input['DeploymentIoTJobTimeoutCo pulumi.set(self, "timeout_config", value) +if not MYPY: + class DeploymentIoTJobExecutionsRolloutConfigArgsDict(TypedDict): + exponential_rate: NotRequired[pulumi.Input['DeploymentIoTJobExponentialRolloutRateArgsDict']] + """ + The exponential rate to increase the job rollout rate. + """ + maximum_per_minute: NotRequired[pulumi.Input[int]] + """ + The maximum number of devices that receive a pending job notification, per minute. + """ +elif False: + DeploymentIoTJobExecutionsRolloutConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentIoTJobExecutionsRolloutConfigArgs: def __init__(__self__, *, @@ -1103,6 +1462,25 @@ def maximum_per_minute(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "maximum_per_minute", value) +if not MYPY: + class DeploymentIoTJobExponentialRolloutRateArgsDict(TypedDict): + base_rate_per_minute: pulumi.Input[int] + """ + The minimum number of devices that receive a pending job notification, per minute, when the job starts. This parameter defines the initial rollout rate of the job. + """ + increment_factor: pulumi.Input[float] + """ + The exponential factor to increase the rollout rate for the job. + + This parameter supports up to one digit after the decimal (for example, you can specify `1.5` , but not `1.55` ). + """ + rate_increase_criteria: pulumi.Input['DeploymentIoTJobRateIncreaseCriteriaArgsDict'] + """ + The criteria to increase the rollout rate for the job. + """ +elif False: + DeploymentIoTJobExponentialRolloutRateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentIoTJobExponentialRolloutRateArgs: def __init__(__self__, *, @@ -1159,12 +1537,29 @@ def rate_increase_criteria(self, value: pulumi.Input['DeploymentIoTJobRateIncrea pulumi.set(self, "rate_increase_criteria", value) +if not MYPY: + class DeploymentIoTJobRateIncreaseCriteriaArgsDict(TypedDict): + pass +elif False: + DeploymentIoTJobRateIncreaseCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentIoTJobRateIncreaseCriteriaArgs: def __init__(__self__): pass +if not MYPY: + class DeploymentIoTJobTimeoutConfigArgsDict(TypedDict): + in_progress_timeout_in_minutes: NotRequired[pulumi.Input[int]] + """ + The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set to `IN_PROGRESS` . If the job status doesn't change to a terminal state before the time expires, then the job status is set to `TIMED_OUT` . + + The timeout interval must be between 1 minute and 7 days (10080 minutes). + """ +elif False: + DeploymentIoTJobTimeoutConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentIoTJobTimeoutConfigArgs: def __init__(__self__, *, @@ -1192,6 +1587,25 @@ def in_progress_timeout_in_minutes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "in_progress_timeout_in_minutes", value) +if not MYPY: + class DeploymentPoliciesArgsDict(TypedDict): + component_update_policy: NotRequired[pulumi.Input['DeploymentComponentUpdatePolicyArgsDict']] + """ + The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices. + """ + configuration_validation_policy: NotRequired[pulumi.Input['DeploymentConfigurationValidationPolicyArgsDict']] + """ + The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates. + """ + failure_handling_policy: NotRequired[pulumi.Input['DeploymentPoliciesFailureHandlingPolicy']] + """ + The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails. + + Default: `ROLLBACK` + """ +elif False: + DeploymentPoliciesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentPoliciesArgs: def __init__(__self__, *, @@ -1251,6 +1665,13 @@ def failure_handling_policy(self, value: Optional[pulumi.Input['DeploymentPolici pulumi.set(self, "failure_handling_policy", value) +if not MYPY: + class DeploymentSystemResourceLimitsArgsDict(TypedDict): + cpus: NotRequired[pulumi.Input[float]] + memory: NotRequired[pulumi.Input[int]] +elif False: + DeploymentSystemResourceLimitsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeploymentSystemResourceLimitsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/greengrassv2/component_version.py b/sdk/python/pulumi_aws_native/greengrassv2/component_version.py index 05cc957f56..b7b2dd01ee 100644 --- a/sdk/python/pulumi_aws_native/greengrassv2/component_version.py +++ b/sdk/python/pulumi_aws_native/greengrassv2/component_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/greengrassv2/deployment.py b/sdk/python/pulumi_aws_native/greengrassv2/deployment.py index b6b380a51c..2b167774e4 100644 --- a/sdk/python/pulumi_aws_native/greengrassv2/deployment.py +++ b/sdk/python/pulumi_aws_native/greengrassv2/deployment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/greengrassv2/get_component_version.py b/sdk/python/pulumi_aws_native/greengrassv2/get_component_version.py index f3a3ac9ca1..691144d1f5 100644 --- a/sdk/python/pulumi_aws_native/greengrassv2/get_component_version.py +++ b/sdk/python/pulumi_aws_native/greengrassv2/get_component_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -102,9 +107,6 @@ def get_component_version(arn: Optional[str] = None, component_name=pulumi.get(__ret__, 'component_name'), component_version=pulumi.get(__ret__, 'component_version'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_component_version) def get_component_version_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetComponentVersionResult]: """ @@ -113,4 +115,12 @@ def get_component_version_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the component version. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:greengrassv2:getComponentVersion', __args__, opts=opts, typ=GetComponentVersionResult) + return __ret__.apply(lambda __response__: GetComponentVersionResult( + arn=pulumi.get(__response__, 'arn'), + component_name=pulumi.get(__response__, 'component_name'), + component_version=pulumi.get(__response__, 'component_version'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/greengrassv2/get_deployment.py b/sdk/python/pulumi_aws_native/greengrassv2/get_deployment.py index 75a2c29533..d7a1005d1e 100644 --- a/sdk/python/pulumi_aws_native/greengrassv2/get_deployment.py +++ b/sdk/python/pulumi_aws_native/greengrassv2/get_deployment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -76,9 +81,6 @@ def get_deployment(deployment_id: Optional[str] = None, return AwaitableGetDeploymentResult( deployment_id=pulumi.get(__ret__, 'deployment_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_deployment) def get_deployment_output(deployment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeploymentResult]: """ @@ -87,4 +89,10 @@ def get_deployment_output(deployment_id: Optional[pulumi.Input[str]] = None, :param str deployment_id: The ID of the deployment. """ - ... + __args__ = dict() + __args__['deploymentId'] = deployment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:greengrassv2:getDeployment', __args__, opts=opts, typ=GetDeploymentResult) + return __ret__.apply(lambda __response__: GetDeploymentResult( + deployment_id=pulumi.get(__response__, 'deployment_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/greengrassv2/outputs.py b/sdk/python/pulumi_aws_native/greengrassv2/outputs.py index c0d4704fc4..0658c8cb8e 100644 --- a/sdk/python/pulumi_aws_native/greengrassv2/outputs.py +++ b/sdk/python/pulumi_aws_native/greengrassv2/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/groundstation/_inputs.py b/sdk/python/pulumi_aws_native/groundstation/_inputs.py index 35a8ec1c42..4afb202dd3 100644 --- a/sdk/python/pulumi_aws_native/groundstation/_inputs.py +++ b/sdk/python/pulumi_aws_native/groundstation/_inputs.py @@ -4,41 +4,83 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ConfigAntennaDownlinkConfigArgs', + 'ConfigAntennaDownlinkConfigArgsDict', 'ConfigAntennaDownlinkDemodDecodeConfigArgs', + 'ConfigAntennaDownlinkDemodDecodeConfigArgsDict', 'ConfigAntennaUplinkConfigArgs', + 'ConfigAntennaUplinkConfigArgsDict', 'ConfigDataflowEndpointConfigArgs', + 'ConfigDataflowEndpointConfigArgsDict', 'ConfigDataArgs', + 'ConfigDataArgsDict', 'ConfigDecodeConfigArgs', + 'ConfigDecodeConfigArgsDict', 'ConfigDemodulationConfigArgs', + 'ConfigDemodulationConfigArgsDict', 'ConfigEirpArgs', + 'ConfigEirpArgsDict', 'ConfigFrequencyBandwidthArgs', + 'ConfigFrequencyBandwidthArgsDict', 'ConfigFrequencyArgs', + 'ConfigFrequencyArgsDict', 'ConfigS3RecordingConfigArgs', + 'ConfigS3RecordingConfigArgsDict', 'ConfigSpectrumConfigArgs', + 'ConfigSpectrumConfigArgsDict', 'ConfigTrackingConfigArgs', + 'ConfigTrackingConfigArgsDict', 'ConfigUplinkEchoConfigArgs', + 'ConfigUplinkEchoConfigArgsDict', 'ConfigUplinkSpectrumConfigArgs', + 'ConfigUplinkSpectrumConfigArgsDict', 'DataflowEndpointGroupAwsGroundStationAgentEndpointArgs', + 'DataflowEndpointGroupAwsGroundStationAgentEndpointArgsDict', 'DataflowEndpointGroupConnectionDetailsArgs', + 'DataflowEndpointGroupConnectionDetailsArgsDict', 'DataflowEndpointGroupDataflowEndpointArgs', + 'DataflowEndpointGroupDataflowEndpointArgsDict', 'DataflowEndpointGroupEndpointDetailsArgs', + 'DataflowEndpointGroupEndpointDetailsArgsDict', 'DataflowEndpointGroupIntegerRangeArgs', + 'DataflowEndpointGroupIntegerRangeArgsDict', 'DataflowEndpointGroupRangedConnectionDetailsArgs', + 'DataflowEndpointGroupRangedConnectionDetailsArgsDict', 'DataflowEndpointGroupRangedSocketAddressArgs', + 'DataflowEndpointGroupRangedSocketAddressArgsDict', 'DataflowEndpointGroupSecurityDetailsArgs', + 'DataflowEndpointGroupSecurityDetailsArgsDict', 'DataflowEndpointGroupSocketAddressArgs', + 'DataflowEndpointGroupSocketAddressArgsDict', 'MissionProfileDataflowEdgeArgs', + 'MissionProfileDataflowEdgeArgsDict', 'MissionProfileStreamsKmsKeyArgs', + 'MissionProfileStreamsKmsKeyArgsDict', ] +MYPY = False + +if not MYPY: + class ConfigAntennaDownlinkConfigArgsDict(TypedDict): + spectrum_config: NotRequired[pulumi.Input['ConfigSpectrumConfigArgsDict']] + """ + Defines the spectrum configuration. + """ +elif False: + ConfigAntennaDownlinkConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigAntennaDownlinkConfigArgs: def __init__(__self__, *, @@ -62,6 +104,23 @@ def spectrum_config(self, value: Optional[pulumi.Input['ConfigSpectrumConfigArgs pulumi.set(self, "spectrum_config", value) +if not MYPY: + class ConfigAntennaDownlinkDemodDecodeConfigArgsDict(TypedDict): + decode_config: NotRequired[pulumi.Input['ConfigDecodeConfigArgsDict']] + """ + Defines how the RF signal will be decoded. + """ + demodulation_config: NotRequired[pulumi.Input['ConfigDemodulationConfigArgsDict']] + """ + Defines how the RF signal will be demodulated. + """ + spectrum_config: NotRequired[pulumi.Input['ConfigSpectrumConfigArgsDict']] + """ + Defines the spectrum configuration. + """ +elif False: + ConfigAntennaDownlinkDemodDecodeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigAntennaDownlinkDemodDecodeConfigArgs: def __init__(__self__, *, @@ -117,6 +176,23 @@ def spectrum_config(self, value: Optional[pulumi.Input['ConfigSpectrumConfigArgs pulumi.set(self, "spectrum_config", value) +if not MYPY: + class ConfigAntennaUplinkConfigArgsDict(TypedDict): + spectrum_config: NotRequired[pulumi.Input['ConfigUplinkSpectrumConfigArgsDict']] + """ + Defines the spectrum configuration. + """ + target_eirp: NotRequired[pulumi.Input['ConfigEirpArgsDict']] + """ + The equivalent isotropically radiated power (EIRP) to use for uplink transmissions. Valid values are between 20.0 to 50.0 dBW. + """ + transmit_disabled: NotRequired[pulumi.Input[bool]] + """ + Whether or not uplink transmit is disabled. + """ +elif False: + ConfigAntennaUplinkConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigAntennaUplinkConfigArgs: def __init__(__self__, *, @@ -172,6 +248,19 @@ def transmit_disabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "transmit_disabled", value) +if not MYPY: + class ConfigDataflowEndpointConfigArgsDict(TypedDict): + dataflow_endpoint_name: NotRequired[pulumi.Input[str]] + """ + The name of the dataflow endpoint to use during contacts. + """ + dataflow_endpoint_region: NotRequired[pulumi.Input[str]] + """ + The region of the dataflow endpoint to use during contacts. When omitted, Ground Station will use the region of the contact. + """ +elif False: + ConfigDataflowEndpointConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigDataflowEndpointConfigArgs: def __init__(__self__, *, @@ -211,6 +300,39 @@ def dataflow_endpoint_region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "dataflow_endpoint_region", value) +if not MYPY: + class ConfigDataArgsDict(TypedDict): + antenna_downlink_config: NotRequired[pulumi.Input['ConfigAntennaDownlinkConfigArgsDict']] + """ + Provides information for an antenna downlink config object. Antenna downlink config objects are used to provide parameters for downlinks where no demodulation or decoding is performed by Ground Station (RF over IP downlinks). + """ + antenna_downlink_demod_decode_config: NotRequired[pulumi.Input['ConfigAntennaDownlinkDemodDecodeConfigArgsDict']] + """ + Provides information for a downlink demod decode config object. Downlink demod decode config objects are used to provide parameters for downlinks where the Ground Station service will demodulate and decode the downlinked data. + """ + antenna_uplink_config: NotRequired[pulumi.Input['ConfigAntennaUplinkConfigArgsDict']] + """ + Provides information for an uplink config object. Uplink config objects are used to provide parameters for uplink contacts. + """ + dataflow_endpoint_config: NotRequired[pulumi.Input['ConfigDataflowEndpointConfigArgsDict']] + """ + Provides information for a dataflow endpoint config object. Dataflow endpoint config objects are used to provide parameters about which IP endpoint(s) to use during a contact. Dataflow endpoints are where Ground Station sends data during a downlink contact and where Ground Station receives data to send to the satellite during an uplink contact. + """ + s3_recording_config: NotRequired[pulumi.Input['ConfigS3RecordingConfigArgsDict']] + """ + Provides information for an S3 recording config object. S3 recording config objects are used to provide parameters for S3 recording during downlink contacts. + """ + tracking_config: NotRequired[pulumi.Input['ConfigTrackingConfigArgsDict']] + """ + Provides information for a tracking config object. Tracking config objects are used to provide parameters about how to track the satellite through the sky during a contact. + """ + uplink_echo_config: NotRequired[pulumi.Input['ConfigUplinkEchoConfigArgsDict']] + """ + Provides information for an uplink echo config object. Uplink echo config objects are used to provide parameters for uplink echo during uplink contacts. + """ +elif False: + ConfigDataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigDataArgs: def __init__(__self__, *, @@ -330,6 +452,15 @@ def uplink_echo_config(self, value: Optional[pulumi.Input['ConfigUplinkEchoConfi pulumi.set(self, "uplink_echo_config", value) +if not MYPY: + class ConfigDecodeConfigArgsDict(TypedDict): + unvalidated_json: NotRequired[pulumi.Input[str]] + """ + The decoding settings are in JSON format and define a set of steps to perform to decode the data. + """ +elif False: + ConfigDecodeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigDecodeConfigArgs: def __init__(__self__, *, @@ -353,6 +484,15 @@ def unvalidated_json(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unvalidated_json", value) +if not MYPY: + class ConfigDemodulationConfigArgsDict(TypedDict): + unvalidated_json: NotRequired[pulumi.Input[str]] + """ + The demodulation settings are in JSON format and define parameters for demodulation, for example which modulation scheme (e.g. PSK, QPSK, etc.) and matched filter to use. + """ +elif False: + ConfigDemodulationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigDemodulationConfigArgs: def __init__(__self__, *, @@ -376,6 +516,19 @@ def unvalidated_json(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unvalidated_json", value) +if not MYPY: + class ConfigEirpArgsDict(TypedDict): + units: NotRequired[pulumi.Input['ConfigEirpUnits']] + """ + The units of the EIRP. + """ + value: NotRequired[pulumi.Input[float]] + """ + The value of the EIRP. Valid values are between 20.0 to 50.0 dBW. + """ +elif False: + ConfigEirpArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigEirpArgs: def __init__(__self__, *, @@ -415,6 +568,23 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class ConfigFrequencyBandwidthArgsDict(TypedDict): + units: NotRequired[pulumi.Input['ConfigBandwidthUnits']] + """ + The units of the bandwidth. + """ + value: NotRequired[pulumi.Input[float]] + """ + The value of the bandwidth. AWS Ground Station currently has the following bandwidth limitations: + + - For `AntennaDownlinkDemodDecodeconfig` , valid values are between 125 kHz to 650 MHz. + - For `AntennaDownlinkconfig` , valid values are between 10 kHz to 54 MHz. + - For `AntennaUplinkConfig` , valid values are between 10 kHz to 54 MHz. + """ +elif False: + ConfigFrequencyBandwidthArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigFrequencyBandwidthArgs: def __init__(__self__, *, @@ -462,6 +632,19 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class ConfigFrequencyArgsDict(TypedDict): + units: NotRequired[pulumi.Input['ConfigFrequencyUnits']] + """ + The units of the frequency. + """ + value: NotRequired[pulumi.Input[float]] + """ + The value of the frequency. Valid values are between 2200 to 2300 MHz and 7750 to 8400 MHz for downlink and 2025 to 2120 MHz for uplink. + """ +elif False: + ConfigFrequencyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigFrequencyArgs: def __init__(__self__, *, @@ -501,6 +684,25 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class ConfigS3RecordingConfigArgsDict(TypedDict): + bucket_arn: NotRequired[pulumi.Input[str]] + """ + S3 Bucket where the data is written. The name of the S3 Bucket provided must begin with `aws-groundstation` . + """ + prefix: NotRequired[pulumi.Input[str]] + """ + The prefix of the S3 data object. If you choose to use any optional keys for substitution, these values will be replaced with the corresponding information from your contact details. For example, a prefix of `{satellite_id}/{year}/{month}/{day}/` will replaced with `fake_satellite_id/2021/01/10/` + + *Optional keys for substitution* : `{satellite_id}` | `{config-name}` | `{config-id}` | `{year}` | `{month}` | `{day}` + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + Defines the ARN of the role assumed for putting archives to S3. + """ +elif False: + ConfigS3RecordingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigS3RecordingConfigArgs: def __init__(__self__, *, @@ -560,6 +762,27 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class ConfigSpectrumConfigArgsDict(TypedDict): + bandwidth: NotRequired[pulumi.Input['ConfigFrequencyBandwidthArgsDict']] + """ + The bandwidth of the spectrum. AWS Ground Station currently has the following bandwidth limitations: + + - For `AntennaDownlinkDemodDecodeconfig` , valid values are between 125 kHz to 650 MHz. + - For `AntennaDownlinkconfig` , valid values are between 10 kHz to 54 MHz. + - For `AntennaUplinkConfig` , valid values are between 10 kHz to 54 MHz. + """ + center_frequency: NotRequired[pulumi.Input['ConfigFrequencyArgsDict']] + """ + The center frequency of the spectrum. Valid values are between 2200 to 2300 MHz and 7750 to 8400 MHz for downlink and 2025 to 2120 MHz for uplink. + """ + polarization: NotRequired[pulumi.Input['ConfigPolarization']] + """ + The polarization of the spectrum. Valid values are `"RIGHT_HAND"` and `"LEFT_HAND"` . Capturing both `"RIGHT_HAND"` and `"LEFT_HAND"` polarization requires two separate configs. + """ +elif False: + ConfigSpectrumConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigSpectrumConfigArgs: def __init__(__self__, *, @@ -623,6 +846,15 @@ def polarization(self, value: Optional[pulumi.Input['ConfigPolarization']]): pulumi.set(self, "polarization", value) +if not MYPY: + class ConfigTrackingConfigArgsDict(TypedDict): + autotrack: NotRequired[pulumi.Input['ConfigTrackingConfigAutotrack']] + """ + Specifies whether or not to use autotrack. `REMOVED` specifies that program track should only be used during the contact. `PREFERRED` specifies that autotracking is preferred during the contact but fallback to program track if the signal is lost. `REQUIRED` specifies that autotracking is required during the contact and not to use program track if the signal is lost. + """ +elif False: + ConfigTrackingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigTrackingConfigArgs: def __init__(__self__, *, @@ -646,6 +878,19 @@ def autotrack(self, value: Optional[pulumi.Input['ConfigTrackingConfigAutotrack' pulumi.set(self, "autotrack", value) +if not MYPY: + class ConfigUplinkEchoConfigArgsDict(TypedDict): + antenna_uplink_config_arn: NotRequired[pulumi.Input[str]] + """ + Defines the ARN of the uplink config to echo back to a dataflow endpoint. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Whether or not uplink echo is enabled. + """ +elif False: + ConfigUplinkEchoConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigUplinkEchoConfigArgs: def __init__(__self__, *, @@ -685,6 +930,19 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class ConfigUplinkSpectrumConfigArgsDict(TypedDict): + center_frequency: NotRequired[pulumi.Input['ConfigFrequencyArgsDict']] + """ + The center frequency of the spectrum. Valid values are between 2200 to 2300 MHz and 7750 to 8400 MHz for downlink and 2025 to 2120 MHz for uplink. + """ + polarization: NotRequired[pulumi.Input['ConfigPolarization']] + """ + The polarization of the spectrum. Valid values are `"RIGHT_HAND"` and `"LEFT_HAND"` . + """ +elif False: + ConfigUplinkSpectrumConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigUplinkSpectrumConfigArgs: def __init__(__self__, *, @@ -724,6 +982,34 @@ def polarization(self, value: Optional[pulumi.Input['ConfigPolarization']]): pulumi.set(self, "polarization", value) +if not MYPY: + class DataflowEndpointGroupAwsGroundStationAgentEndpointArgsDict(TypedDict): + """ + Information about AwsGroundStationAgentEndpoint. + """ + agent_status: NotRequired[pulumi.Input['DataflowEndpointGroupAgentStatus']] + """ + The status of AgentEndpoint. + """ + audit_results: NotRequired[pulumi.Input['DataflowEndpointGroupAuditResults']] + """ + The results of the audit. + """ + egress_address: NotRequired[pulumi.Input['DataflowEndpointGroupConnectionDetailsArgsDict']] + """ + The egress address of AgentEndpoint. + """ + ingress_address: NotRequired[pulumi.Input['DataflowEndpointGroupRangedConnectionDetailsArgsDict']] + """ + The ingress address of AgentEndpoint. + """ + name: NotRequired[pulumi.Input[str]] + """ + Name string associated with AgentEndpoint. Used as a human-readable identifier for AgentEndpoint. + """ +elif False: + DataflowEndpointGroupAwsGroundStationAgentEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataflowEndpointGroupAwsGroundStationAgentEndpointArgs: def __init__(__self__, *, @@ -812,6 +1098,22 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class DataflowEndpointGroupConnectionDetailsArgsDict(TypedDict): + """ + Egress address of AgentEndpoint with an optional mtu. + """ + mtu: NotRequired[pulumi.Input[int]] + """ + Maximum transmission unit (MTU) size in bytes of a dataflow endpoint. + """ + socket_address: NotRequired[pulumi.Input['DataflowEndpointGroupSocketAddressArgsDict']] + """ + A socket address. + """ +elif False: + DataflowEndpointGroupConnectionDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataflowEndpointGroupConnectionDetailsArgs: def __init__(__self__, *, @@ -852,6 +1154,25 @@ def socket_address(self, value: Optional[pulumi.Input['DataflowEndpointGroupSock pulumi.set(self, "socket_address", value) +if not MYPY: + class DataflowEndpointGroupDataflowEndpointArgsDict(TypedDict): + address: NotRequired[pulumi.Input['DataflowEndpointGroupSocketAddressArgsDict']] + """ + The address and port of an endpoint. + """ + mtu: NotRequired[pulumi.Input[int]] + """ + Maximum transmission unit (MTU) size in bytes of a dataflow endpoint. Valid values are between 1400 and 1500. A default value of 1500 is used if not set. + """ + name: NotRequired[pulumi.Input[str]] + """ + The endpoint name. + + When listing available contacts for a satellite, Ground Station searches for a dataflow endpoint whose name matches the value specified by the dataflow endpoint config of the selected mission profile. If no matching dataflow endpoints are found then Ground Station will not display any available contacts for the satellite. + """ +elif False: + DataflowEndpointGroupDataflowEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataflowEndpointGroupDataflowEndpointArgs: def __init__(__self__, *, @@ -911,6 +1232,23 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class DataflowEndpointGroupEndpointDetailsArgsDict(TypedDict): + aws_ground_station_agent_endpoint: NotRequired[pulumi.Input['DataflowEndpointGroupAwsGroundStationAgentEndpointArgsDict']] + """ + An agent endpoint. + """ + endpoint: NotRequired[pulumi.Input['DataflowEndpointGroupDataflowEndpointArgsDict']] + """ + Information about the endpoint such as name and the endpoint address. + """ + security_details: NotRequired[pulumi.Input['DataflowEndpointGroupSecurityDetailsArgsDict']] + """ + The role ARN, and IDs for security groups and subnets. + """ +elif False: + DataflowEndpointGroupEndpointDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataflowEndpointGroupEndpointDetailsArgs: def __init__(__self__, *, @@ -966,6 +1304,22 @@ def security_details(self, value: Optional[pulumi.Input['DataflowEndpointGroupSe pulumi.set(self, "security_details", value) +if not MYPY: + class DataflowEndpointGroupIntegerRangeArgsDict(TypedDict): + """ + An integer range that has a minimum and maximum value. + """ + maximum: NotRequired[pulumi.Input[int]] + """ + A maximum value. + """ + minimum: NotRequired[pulumi.Input[int]] + """ + A minimum value. + """ +elif False: + DataflowEndpointGroupIntegerRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataflowEndpointGroupIntegerRangeArgs: def __init__(__self__, *, @@ -1006,6 +1360,22 @@ def minimum(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "minimum", value) +if not MYPY: + class DataflowEndpointGroupRangedConnectionDetailsArgsDict(TypedDict): + """ + Ingress address of AgentEndpoint with a port range and an optional mtu. + """ + mtu: NotRequired[pulumi.Input[int]] + """ + Maximum transmission unit (MTU) size in bytes of a dataflow endpoint. + """ + socket_address: NotRequired[pulumi.Input['DataflowEndpointGroupRangedSocketAddressArgsDict']] + """ + A ranged socket address. + """ +elif False: + DataflowEndpointGroupRangedConnectionDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataflowEndpointGroupRangedConnectionDetailsArgs: def __init__(__self__, *, @@ -1046,6 +1416,22 @@ def socket_address(self, value: Optional[pulumi.Input['DataflowEndpointGroupRang pulumi.set(self, "socket_address", value) +if not MYPY: + class DataflowEndpointGroupRangedSocketAddressArgsDict(TypedDict): + """ + A socket address with a port range. + """ + name: NotRequired[pulumi.Input[str]] + """ + IPv4 socket address. + """ + port_range: NotRequired[pulumi.Input['DataflowEndpointGroupIntegerRangeArgsDict']] + """ + Port range of a socket address. + """ +elif False: + DataflowEndpointGroupRangedSocketAddressArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataflowEndpointGroupRangedSocketAddressArgs: def __init__(__self__, *, @@ -1086,6 +1472,25 @@ def port_range(self, value: Optional[pulumi.Input['DataflowEndpointGroupIntegerR pulumi.set(self, "port_range", value) +if not MYPY: + class DataflowEndpointGroupSecurityDetailsArgsDict(TypedDict): + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of a role which Ground Station has permission to assume, such as `arn:aws:iam::1234567890:role/DataDeliveryServiceRole` . + + Ground Station will assume this role and create an ENI in your VPC on the specified subnet upon creation of a dataflow endpoint group. This ENI is used as the ingress/egress point for data streamed during a satellite contact. + """ + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The security group Ids of the security role, such as `sg-1234567890abcdef0` . + """ + subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The subnet Ids of the security details, such as `subnet-12345678` . + """ +elif False: + DataflowEndpointGroupSecurityDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataflowEndpointGroupSecurityDetailsArgs: def __init__(__self__, *, @@ -1145,6 +1550,19 @@ def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "subnet_ids", value) +if not MYPY: + class DataflowEndpointGroupSocketAddressArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The name of the endpoint, such as `Endpoint 1` . + """ + port: NotRequired[pulumi.Input[int]] + """ + The port of the endpoint, such as `55888` . + """ +elif False: + DataflowEndpointGroupSocketAddressArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataflowEndpointGroupSocketAddressArgs: def __init__(__self__, *, @@ -1184,6 +1602,19 @@ def port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "port", value) +if not MYPY: + class MissionProfileDataflowEdgeArgsDict(TypedDict): + destination: NotRequired[pulumi.Input[str]] + """ + The ARN of the destination for this dataflow edge. For example, specify the ARN of a dataflow endpoint config for a downlink edge or an antenna uplink config for an uplink edge. + """ + source: NotRequired[pulumi.Input[str]] + """ + The ARN of the source for this dataflow edge. For example, specify the ARN of an antenna downlink config for a downlink edge or a dataflow endpoint config for an uplink edge. + """ +elif False: + MissionProfileDataflowEdgeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MissionProfileDataflowEdgeArgs: def __init__(__self__, *, @@ -1223,6 +1654,19 @@ def source(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source", value) +if not MYPY: + class MissionProfileStreamsKmsKeyArgsDict(TypedDict): + kms_alias_arn: NotRequired[pulumi.Input[str]] + """ + KMS Alias Arn. + """ + kms_key_arn: NotRequired[pulumi.Input[str]] + """ + KMS Key Arn. + """ +elif False: + MissionProfileStreamsKmsKeyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MissionProfileStreamsKmsKeyArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/groundstation/config.py b/sdk/python/pulumi_aws_native/groundstation/config.py index 7b0574eb1b..732f147852 100644 --- a/sdk/python/pulumi_aws_native/groundstation/config.py +++ b/sdk/python/pulumi_aws_native/groundstation/config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/groundstation/dataflow_endpoint_group.py b/sdk/python/pulumi_aws_native/groundstation/dataflow_endpoint_group.py index c8071fb20b..78d6c0c269 100644 --- a/sdk/python/pulumi_aws_native/groundstation/dataflow_endpoint_group.py +++ b/sdk/python/pulumi_aws_native/groundstation/dataflow_endpoint_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/groundstation/get_config.py b/sdk/python/pulumi_aws_native/groundstation/get_config.py index 91a6172078..dfccacffe4 100644 --- a/sdk/python/pulumi_aws_native/groundstation/get_config.py +++ b/sdk/python/pulumi_aws_native/groundstation/get_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_config(arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_config) def get_config_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigResult]: """ @@ -135,4 +137,14 @@ def get_config_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the config, such as `arn:aws:groundstation:us-east-2:1234567890:config/tracking/9940bf3b-d2ba-427e-9906-842b5e5d2296` . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:groundstation:getConfig', __args__, opts=opts, typ=GetConfigResult) + return __ret__.apply(lambda __response__: GetConfigResult( + arn=pulumi.get(__response__, 'arn'), + config_data=pulumi.get(__response__, 'config_data'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/groundstation/get_dataflow_endpoint_group.py b/sdk/python/pulumi_aws_native/groundstation/get_dataflow_endpoint_group.py index 859c54c42d..b608d029a3 100644 --- a/sdk/python/pulumi_aws_native/groundstation/get_dataflow_endpoint_group.py +++ b/sdk/python/pulumi_aws_native/groundstation/get_dataflow_endpoint_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_dataflow_endpoint_group(id: Optional[str] = None, endpoint_details=pulumi.get(__ret__, 'endpoint_details'), id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_dataflow_endpoint_group) def get_dataflow_endpoint_group_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataflowEndpointGroupResult]: """ @@ -135,4 +137,14 @@ def get_dataflow_endpoint_group_output(id: Optional[pulumi.Input[str]] = None, :param str id: UUID of a dataflow endpoint group. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:groundstation:getDataflowEndpointGroup', __args__, opts=opts, typ=GetDataflowEndpointGroupResult) + return __ret__.apply(lambda __response__: GetDataflowEndpointGroupResult( + arn=pulumi.get(__response__, 'arn'), + contact_post_pass_duration_seconds=pulumi.get(__response__, 'contact_post_pass_duration_seconds'), + contact_pre_pass_duration_seconds=pulumi.get(__response__, 'contact_pre_pass_duration_seconds'), + endpoint_details=pulumi.get(__response__, 'endpoint_details'), + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/groundstation/get_mission_profile.py b/sdk/python/pulumi_aws_native/groundstation/get_mission_profile.py index e20c8e4482..0b98bd6849 100644 --- a/sdk/python/pulumi_aws_native/groundstation/get_mission_profile.py +++ b/sdk/python/pulumi_aws_native/groundstation/get_mission_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -204,9 +209,6 @@ def get_mission_profile(arn: Optional[str] = None, streams_kms_role=pulumi.get(__ret__, 'streams_kms_role'), tags=pulumi.get(__ret__, 'tags'), tracking_config_arn=pulumi.get(__ret__, 'tracking_config_arn')) - - -@_utilities.lift_output_func(get_mission_profile) def get_mission_profile_output(arn: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMissionProfileResult]: @@ -217,4 +219,21 @@ def get_mission_profile_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the mission profile, such as `arn:aws:groundstation:us-east-2:1234567890:mission-profile/9940bf3b-d2ba-427e-9906-842b5e5d2296` . :param str id: The ID of the mission profile, such as `9940bf3b-d2ba-427e-9906-842b5e5d2296` . """ - ... + __args__ = dict() + __args__['arn'] = arn + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:groundstation:getMissionProfile', __args__, opts=opts, typ=GetMissionProfileResult) + return __ret__.apply(lambda __response__: GetMissionProfileResult( + arn=pulumi.get(__response__, 'arn'), + contact_post_pass_duration_seconds=pulumi.get(__response__, 'contact_post_pass_duration_seconds'), + contact_pre_pass_duration_seconds=pulumi.get(__response__, 'contact_pre_pass_duration_seconds'), + dataflow_edges=pulumi.get(__response__, 'dataflow_edges'), + id=pulumi.get(__response__, 'id'), + minimum_viable_contact_duration_seconds=pulumi.get(__response__, 'minimum_viable_contact_duration_seconds'), + name=pulumi.get(__response__, 'name'), + region=pulumi.get(__response__, 'region'), + streams_kms_key=pulumi.get(__response__, 'streams_kms_key'), + streams_kms_role=pulumi.get(__response__, 'streams_kms_role'), + tags=pulumi.get(__response__, 'tags'), + tracking_config_arn=pulumi.get(__response__, 'tracking_config_arn'))) diff --git a/sdk/python/pulumi_aws_native/groundstation/mission_profile.py b/sdk/python/pulumi_aws_native/groundstation/mission_profile.py index f235fff7b4..542774b947 100644 --- a/sdk/python/pulumi_aws_native/groundstation/mission_profile.py +++ b/sdk/python/pulumi_aws_native/groundstation/mission_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/groundstation/outputs.py b/sdk/python/pulumi_aws_native/groundstation/outputs.py index 61c53cbd97..615b5a8bc9 100644 --- a/sdk/python/pulumi_aws_native/groundstation/outputs.py +++ b/sdk/python/pulumi_aws_native/groundstation/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/guardduty/_inputs.py b/sdk/python/pulumi_aws_native/guardduty/_inputs.py index cfc0ca303e..aeea6ad8eb 100644 --- a/sdk/python/pulumi_aws_native/guardduty/_inputs.py +++ b/sdk/python/pulumi_aws_native/guardduty/_inputs.py @@ -4,29 +4,67 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DetectorCfnDataSourceConfigurationsArgs', + 'DetectorCfnDataSourceConfigurationsArgsDict', 'DetectorCfnFeatureAdditionalConfigurationArgs', + 'DetectorCfnFeatureAdditionalConfigurationArgsDict', 'DetectorCfnFeatureConfigurationArgs', + 'DetectorCfnFeatureConfigurationArgsDict', 'DetectorCfnKubernetesAuditLogsConfigurationArgs', + 'DetectorCfnKubernetesAuditLogsConfigurationArgsDict', 'DetectorCfnKubernetesConfigurationArgs', + 'DetectorCfnKubernetesConfigurationArgsDict', 'DetectorCfnMalwareProtectionConfigurationArgs', + 'DetectorCfnMalwareProtectionConfigurationArgsDict', 'DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs', + 'DetectorCfnScanEc2InstanceWithFindingsConfigurationArgsDict', 'DetectorCfns3LogsConfigurationArgs', + 'DetectorCfns3LogsConfigurationArgsDict', 'FilterConditionArgs', + 'FilterConditionArgsDict', 'FilterFindingCriteriaArgs', + 'FilterFindingCriteriaArgsDict', 'MalwareProtectionPlanCfnActionsArgs', + 'MalwareProtectionPlanCfnActionsArgsDict', 'MalwareProtectionPlanCfnProtectedResourceS3BucketPropertiesArgs', + 'MalwareProtectionPlanCfnProtectedResourceS3BucketPropertiesArgsDict', 'MalwareProtectionPlanCfnProtectedResourceArgs', + 'MalwareProtectionPlanCfnProtectedResourceArgsDict', 'MalwareProtectionPlanCfnTaggingArgs', + 'MalwareProtectionPlanCfnTaggingArgsDict', ] +MYPY = False + +if not MYPY: + class DetectorCfnDataSourceConfigurationsArgsDict(TypedDict): + kubernetes: NotRequired[pulumi.Input['DetectorCfnKubernetesConfigurationArgsDict']] + """ + Describes which Kubernetes data sources are enabled for a detector. + """ + malware_protection: NotRequired[pulumi.Input['DetectorCfnMalwareProtectionConfigurationArgsDict']] + """ + Describes whether Malware Protection will be enabled as a data source. + """ + s3_logs: NotRequired[pulumi.Input['DetectorCfns3LogsConfigurationArgsDict']] + """ + Describes whether S3 data event logs are enabled as a data source. + """ +elif False: + DetectorCfnDataSourceConfigurationsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorCfnDataSourceConfigurationsArgs: def __init__(__self__, *, @@ -82,6 +120,19 @@ def s3_logs(self, value: Optional[pulumi.Input['DetectorCfns3LogsConfigurationAr pulumi.set(self, "s3_logs", value) +if not MYPY: + class DetectorCfnFeatureAdditionalConfigurationArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + Name of the additional configuration. + """ + status: NotRequired[pulumi.Input[str]] + """ + Status of the additional configuration. + """ +elif False: + DetectorCfnFeatureAdditionalConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorCfnFeatureAdditionalConfigurationArgs: def __init__(__self__, *, @@ -121,6 +172,23 @@ def status(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "status", value) +if not MYPY: + class DetectorCfnFeatureConfigurationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + Name of the feature. For a list of allowed values, see [DetectorFeatureConfiguration](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html#guardduty-Type-DetectorFeatureConfiguration-name) in the *GuardDuty API Reference* . + """ + status: pulumi.Input['DetectorCfnFeatureConfigurationStatus'] + """ + Status of the feature configuration. + """ + additional_configuration: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorCfnFeatureAdditionalConfigurationArgsDict']]]] + """ + Information about the additional configuration of a feature in your account. + """ +elif False: + DetectorCfnFeatureConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorCfnFeatureConfigurationArgs: def __init__(__self__, *, @@ -174,6 +242,15 @@ def additional_configuration(self, value: Optional[pulumi.Input[Sequence[pulumi. pulumi.set(self, "additional_configuration", value) +if not MYPY: + class DetectorCfnKubernetesAuditLogsConfigurationArgsDict(TypedDict): + enable: pulumi.Input[bool] + """ + Describes whether Kubernetes audit logs are enabled as a data source for the detector. + """ +elif False: + DetectorCfnKubernetesAuditLogsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorCfnKubernetesAuditLogsConfigurationArgs: def __init__(__self__, *, @@ -196,6 +273,15 @@ def enable(self, value: pulumi.Input[bool]): pulumi.set(self, "enable", value) +if not MYPY: + class DetectorCfnKubernetesConfigurationArgsDict(TypedDict): + audit_logs: pulumi.Input['DetectorCfnKubernetesAuditLogsConfigurationArgsDict'] + """ + Describes whether Kubernetes audit logs are enabled as a data source for the detector. + """ +elif False: + DetectorCfnKubernetesConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorCfnKubernetesConfigurationArgs: def __init__(__self__, *, @@ -218,6 +304,15 @@ def audit_logs(self, value: pulumi.Input['DetectorCfnKubernetesAuditLogsConfigur pulumi.set(self, "audit_logs", value) +if not MYPY: + class DetectorCfnMalwareProtectionConfigurationArgsDict(TypedDict): + scan_ec2_instance_with_findings: NotRequired[pulumi.Input['DetectorCfnScanEc2InstanceWithFindingsConfigurationArgsDict']] + """ + Describes the configuration of Malware Protection for EC2 instances with findings. + """ +elif False: + DetectorCfnMalwareProtectionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorCfnMalwareProtectionConfigurationArgs: def __init__(__self__, *, @@ -241,6 +336,15 @@ def scan_ec2_instance_with_findings(self, value: Optional[pulumi.Input['Detector pulumi.set(self, "scan_ec2_instance_with_findings", value) +if not MYPY: + class DetectorCfnScanEc2InstanceWithFindingsConfigurationArgsDict(TypedDict): + ebs_volumes: NotRequired[pulumi.Input[bool]] + """ + Describes the configuration for scanning EBS volumes as data source. + """ +elif False: + DetectorCfnScanEc2InstanceWithFindingsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorCfnScanEc2InstanceWithFindingsConfigurationArgs: def __init__(__self__, *, @@ -264,6 +368,15 @@ def ebs_volumes(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "ebs_volumes", value) +if not MYPY: + class DetectorCfns3LogsConfigurationArgsDict(TypedDict): + enable: pulumi.Input[bool] + """ + The status of S3 data event logs as a data source. + """ +elif False: + DetectorCfns3LogsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorCfns3LogsConfigurationArgs: def __init__(__self__, *, @@ -286,6 +399,23 @@ def enable(self, value: pulumi.Input[bool]): pulumi.set(self, "enable", value) +if not MYPY: + class FilterConditionArgsDict(TypedDict): + eq: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + equals: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + greater_than: NotRequired[pulumi.Input[int]] + greater_than_or_equal: NotRequired[pulumi.Input[int]] + gt: NotRequired[pulumi.Input[int]] + gte: NotRequired[pulumi.Input[int]] + less_than: NotRequired[pulumi.Input[int]] + less_than_or_equal: NotRequired[pulumi.Input[int]] + lt: NotRequired[pulumi.Input[int]] + lte: NotRequired[pulumi.Input[int]] + neq: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + not_equals: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + FilterConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FilterConditionArgs: def __init__(__self__, *, @@ -435,6 +565,124 @@ def not_equals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "not_equals", value) +if not MYPY: + class FilterFindingCriteriaArgsDict(TypedDict): + criterion: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['FilterConditionArgsDict']]]] + """ + Represents a map of finding properties that match specified conditions and values when querying findings. + + For information about JSON criterion mapping to their console equivalent, see [Finding criteria](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_filter-findings.html#filter_criteria) . The following are the available criterion: + + - accountId + - id + - region + - severity + + To filter on the basis of severity, the API and AWS CLI use the following input list for the `FindingCriteria` condition: + + - *Low* : `["1", "2", "3"]` + - *Medium* : `["4", "5", "6"]` + - *High* : `["7", "8", "9"]` + + For more information, see [Severity levels for GuardDuty findings](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings.html#guardduty_findings-severity) in the *Amazon GuardDuty User Guide* . + - type + - updatedAt + + Type: ISO 8601 string format: `YYYY-MM-DDTHH:MM:SS.SSSZ` or `YYYY-MM-DDTHH:MM:SSZ` depending on whether the value contains milliseconds. + - resource.accessKeyDetails.accessKeyId + - resource.accessKeyDetails.principalId + - resource.accessKeyDetails.userName + - resource.accessKeyDetails.userType + - resource.instanceDetails.iamInstanceProfile.id + - resource.instanceDetails.imageId + - resource.instanceDetails.instanceId + - resource.instanceDetails.tags.key + - resource.instanceDetails.tags.value + - resource.instanceDetails.networkInterfaces.ipv6Addresses + - resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress + - resource.instanceDetails.networkInterfaces.publicDnsName + - resource.instanceDetails.networkInterfaces.publicIp + - resource.instanceDetails.networkInterfaces.securityGroups.groupId + - resource.instanceDetails.networkInterfaces.securityGroups.groupName + - resource.instanceDetails.networkInterfaces.subnetId + - resource.instanceDetails.networkInterfaces.vpcId + - resource.instanceDetails.outpostArn + - resource.resourceType + - resource.s3BucketDetails.publicAccess.effectivePermissions + - resource.s3BucketDetails.name + - resource.s3BucketDetails.tags.key + - resource.s3BucketDetails.tags.value + - resource.s3BucketDetails.type + - service.action.actionType + - service.action.awsApiCallAction.api + - service.action.awsApiCallAction.callerType + - service.action.awsApiCallAction.errorCode + - service.action.awsApiCallAction.remoteIpDetails.city.cityName + - service.action.awsApiCallAction.remoteIpDetails.country.countryName + - service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 + - service.action.awsApiCallAction.remoteIpDetails.ipAddressV6 + - service.action.awsApiCallAction.remoteIpDetails.organization.asn + - service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg + - service.action.awsApiCallAction.serviceName + - service.action.dnsRequestAction.domain + - service.action.dnsRequestAction.domainWithSuffix + - service.action.networkConnectionAction.blocked + - service.action.networkConnectionAction.connectionDirection + - service.action.networkConnectionAction.localPortDetails.port + - service.action.networkConnectionAction.protocol + - service.action.networkConnectionAction.remoteIpDetails.city.cityName + - service.action.networkConnectionAction.remoteIpDetails.country.countryName + - service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 + - service.action.networkConnectionAction.remoteIpDetails.ipAddressV6 + - service.action.networkConnectionAction.remoteIpDetails.organization.asn + - service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg + - service.action.networkConnectionAction.remotePortDetails.port + - service.action.awsApiCallAction.remoteAccountDetails.affiliated + - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4 + - service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV6 + - service.action.kubernetesApiCallAction.namespace + - service.action.kubernetesApiCallAction.remoteIpDetails.organization.asn + - service.action.kubernetesApiCallAction.requestUri + - service.action.kubernetesApiCallAction.statusCode + - service.action.networkConnectionAction.localIpDetails.ipAddressV4 + - service.action.networkConnectionAction.localIpDetails.ipAddressV6 + - service.action.networkConnectionAction.protocol + - service.action.awsApiCallAction.serviceName + - service.action.awsApiCallAction.remoteAccountDetails.accountId + - service.additionalInfo.threatListName + - service.resourceRole + - resource.eksClusterDetails.name + - resource.kubernetesDetails.kubernetesWorkloadDetails.name + - resource.kubernetesDetails.kubernetesWorkloadDetails.namespace + - resource.kubernetesDetails.kubernetesUserDetails.username + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.image + - resource.kubernetesDetails.kubernetesWorkloadDetails.containers.imagePrefix + - service.ebsVolumeScanDetails.scanId + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.name + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.severity + - service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.hash + - service.malwareScanDetails.threats.name + - resource.ecsClusterDetails.name + - resource.ecsClusterDetails.taskDetails.containers.image + - resource.ecsClusterDetails.taskDetails.definitionArn + - resource.containerDetails.image + - resource.rdsDbInstanceDetails.dbInstanceIdentifier + - resource.rdsDbInstanceDetails.dbClusterIdentifier + - resource.rdsDbInstanceDetails.engine + - resource.rdsDbUserDetails.user + - resource.rdsDbInstanceDetails.tags.key + - resource.rdsDbInstanceDetails.tags.value + - service.runtimeDetails.process.executableSha256 + - service.runtimeDetails.process.name + - service.runtimeDetails.process.name + - resource.lambdaDetails.functionName + - resource.lambdaDetails.functionArn + - resource.lambdaDetails.tags.key + - resource.lambdaDetails.tags.value + """ +elif False: + FilterFindingCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FilterFindingCriteriaArgs: def __init__(__self__, *, @@ -676,6 +924,15 @@ def criterion(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['Filt pulumi.set(self, "criterion", value) +if not MYPY: + class MalwareProtectionPlanCfnActionsArgsDict(TypedDict): + tagging: NotRequired[pulumi.Input['MalwareProtectionPlanCfnTaggingArgsDict']] + """ + Contains information about tagging status of the Malware Protection plan resource. + """ +elif False: + MalwareProtectionPlanCfnActionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MalwareProtectionPlanCfnActionsArgs: def __init__(__self__, *, @@ -699,6 +956,22 @@ def tagging(self, value: Optional[pulumi.Input['MalwareProtectionPlanCfnTaggingA pulumi.set(self, "tagging", value) +if not MYPY: + class MalwareProtectionPlanCfnProtectedResourceS3BucketPropertiesArgsDict(TypedDict): + """ + Information about the protected S3 bucket resource. + """ + bucket_name: NotRequired[pulumi.Input[str]] + """ + Name of the S3 bucket. + """ + object_prefixes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes. + """ +elif False: + MalwareProtectionPlanCfnProtectedResourceS3BucketPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MalwareProtectionPlanCfnProtectedResourceS3BucketPropertiesArgs: def __init__(__self__, *, @@ -739,6 +1012,15 @@ def object_prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "object_prefixes", value) +if not MYPY: + class MalwareProtectionPlanCfnProtectedResourceArgsDict(TypedDict): + s3_bucket: pulumi.Input['MalwareProtectionPlanCfnProtectedResourceS3BucketPropertiesArgsDict'] + """ + Information about the protected S3 bucket resource. + """ +elif False: + MalwareProtectionPlanCfnProtectedResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MalwareProtectionPlanCfnProtectedResourceArgs: def __init__(__self__, *, @@ -761,6 +1043,15 @@ def s3_bucket(self, value: pulumi.Input['MalwareProtectionPlanCfnProtectedResour pulumi.set(self, "s3_bucket", value) +if not MYPY: + class MalwareProtectionPlanCfnTaggingArgsDict(TypedDict): + status: NotRequired[pulumi.Input[str]] + """ + Indicates whether or not you chose GuardDuty to add a predefined tag to the scanned S3 object. + """ +elif False: + MalwareProtectionPlanCfnTaggingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MalwareProtectionPlanCfnTaggingArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/guardduty/detector.py b/sdk/python/pulumi_aws_native/guardduty/detector.py index 55727474a8..6f1842af4f 100644 --- a/sdk/python/pulumi_aws_native/guardduty/detector.py +++ b/sdk/python/pulumi_aws_native/guardduty/detector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/guardduty/filter.py b/sdk/python/pulumi_aws_native/guardduty/filter.py index 540c9659d2..079a54deaf 100644 --- a/sdk/python/pulumi_aws_native/guardduty/filter.py +++ b/sdk/python/pulumi_aws_native/guardduty/filter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/guardduty/get_detector.py b/sdk/python/pulumi_aws_native/guardduty/get_detector.py index 218f3eb441..d62634c13c 100644 --- a/sdk/python/pulumi_aws_native/guardduty/get_detector.py +++ b/sdk/python/pulumi_aws_native/guardduty/get_detector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -128,9 +133,6 @@ def get_detector(id: Optional[str] = None, finding_publishing_frequency=pulumi.get(__ret__, 'finding_publishing_frequency'), id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_detector) def get_detector_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDetectorResult]: """ @@ -139,4 +141,14 @@ def get_detector_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique ID of the detector. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:guardduty:getDetector', __args__, opts=opts, typ=GetDetectorResult) + return __ret__.apply(lambda __response__: GetDetectorResult( + data_sources=pulumi.get(__response__, 'data_sources'), + enable=pulumi.get(__response__, 'enable'), + features=pulumi.get(__response__, 'features'), + finding_publishing_frequency=pulumi.get(__response__, 'finding_publishing_frequency'), + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/guardduty/get_filter.py b/sdk/python/pulumi_aws_native/guardduty/get_filter.py index c7395bbafc..9a54035b10 100644 --- a/sdk/python/pulumi_aws_native/guardduty/get_filter.py +++ b/sdk/python/pulumi_aws_native/guardduty/get_filter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -120,9 +125,6 @@ def get_filter(detector_id: Optional[str] = None, finding_criteria=pulumi.get(__ret__, 'finding_criteria'), rank=pulumi.get(__ret__, 'rank'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_filter) def get_filter_output(detector_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFilterResult]: @@ -136,4 +138,14 @@ def get_filter_output(detector_id: Optional[pulumi.Input[str]] = None, Settings page in the GuardDuty console, or run the [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) API. :param str name: The name of the filter. Valid characters include period (.), underscore (_), dash (-), and alphanumeric characters. A whitespace is considered to be an invalid character. """ - ... + __args__ = dict() + __args__['detectorId'] = detector_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:guardduty:getFilter', __args__, opts=opts, typ=GetFilterResult) + return __ret__.apply(lambda __response__: GetFilterResult( + action=pulumi.get(__response__, 'action'), + description=pulumi.get(__response__, 'description'), + finding_criteria=pulumi.get(__response__, 'finding_criteria'), + rank=pulumi.get(__response__, 'rank'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/guardduty/get_ip_set.py b/sdk/python/pulumi_aws_native/guardduty/get_ip_set.py index d9330bc7dd..d737f4a33c 100644 --- a/sdk/python/pulumi_aws_native/guardduty/get_ip_set.py +++ b/sdk/python/pulumi_aws_native/guardduty/get_ip_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -102,9 +107,6 @@ def get_ip_set(detector_id: Optional[str] = None, location=pulumi.get(__ret__, 'location'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_ip_set) def get_ip_set_output(detector_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpSetResult]: @@ -117,4 +119,13 @@ def get_ip_set_output(detector_id: Optional[pulumi.Input[str]] = None, To find the `detectorId` in the current Region, see the Settings page in the GuardDuty console, or run the [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) API. """ - ... + __args__ = dict() + __args__['detectorId'] = detector_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:guardduty:getIpSet', __args__, opts=opts, typ=GetIpSetResult) + return __ret__.apply(lambda __response__: GetIpSetResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/guardduty/get_malware_protection_plan.py b/sdk/python/pulumi_aws_native/guardduty/get_malware_protection_plan.py index b44866beae..76e71891a6 100644 --- a/sdk/python/pulumi_aws_native/guardduty/get_malware_protection_plan.py +++ b/sdk/python/pulumi_aws_native/guardduty/get_malware_protection_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -162,9 +167,6 @@ def get_malware_protection_plan(malware_protection_plan_id: Optional[str] = None status=pulumi.get(__ret__, 'status'), status_reasons=pulumi.get(__ret__, 'status_reasons'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_malware_protection_plan) def get_malware_protection_plan_output(malware_protection_plan_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMalwareProtectionPlanResult]: """ @@ -173,4 +175,17 @@ def get_malware_protection_plan_output(malware_protection_plan_id: Optional[pulu :param str malware_protection_plan_id: A unique identifier associated with Malware Protection plan resource. """ - ... + __args__ = dict() + __args__['malwareProtectionPlanId'] = malware_protection_plan_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:guardduty:getMalwareProtectionPlan', __args__, opts=opts, typ=GetMalwareProtectionPlanResult) + return __ret__.apply(lambda __response__: GetMalwareProtectionPlanResult( + actions=pulumi.get(__response__, 'actions'), + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + malware_protection_plan_id=pulumi.get(__response__, 'malware_protection_plan_id'), + protected_resource=pulumi.get(__response__, 'protected_resource'), + role=pulumi.get(__response__, 'role'), + status=pulumi.get(__response__, 'status'), + status_reasons=pulumi.get(__response__, 'status_reasons'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/guardduty/get_member.py b/sdk/python/pulumi_aws_native/guardduty/get_member.py index 7b23f1373e..2d4c7d9375 100644 --- a/sdk/python/pulumi_aws_native/guardduty/get_member.py +++ b/sdk/python/pulumi_aws_native/guardduty/get_member.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_member(detector_id: Optional[str] = None, return AwaitableGetMemberResult( email=pulumi.get(__ret__, 'email'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_member) def get_member_output(detector_id: Optional[pulumi.Input[str]] = None, member_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMemberResult]: @@ -85,4 +87,11 @@ def get_member_output(detector_id: Optional[pulumi.Input[str]] = None, :param str detector_id: The ID of the detector associated with the GuardDuty service to add the member to. :param str member_id: The AWS account ID of the account to designate as a member. """ - ... + __args__ = dict() + __args__['detectorId'] = detector_id + __args__['memberId'] = member_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:guardduty:getMember', __args__, opts=opts, typ=GetMemberResult) + return __ret__.apply(lambda __response__: GetMemberResult( + email=pulumi.get(__response__, 'email'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/guardduty/get_threat_intel_set.py b/sdk/python/pulumi_aws_native/guardduty/get_threat_intel_set.py index 0243985774..060b5213db 100644 --- a/sdk/python/pulumi_aws_native/guardduty/get_threat_intel_set.py +++ b/sdk/python/pulumi_aws_native/guardduty/get_threat_intel_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -104,9 +109,6 @@ def get_threat_intel_set(detector_id: Optional[str] = None, location=pulumi.get(__ret__, 'location'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_threat_intel_set) def get_threat_intel_set_output(detector_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetThreatIntelSetResult]: @@ -120,4 +122,13 @@ def get_threat_intel_set_output(detector_id: Optional[pulumi.Input[str]] = None, Settings page in the GuardDuty console, or run the [ListDetectors](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html) API. :param str id: The unique ID of the `threatIntelSet` . """ - ... + __args__ = dict() + __args__['detectorId'] = detector_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:guardduty:getThreatIntelSet', __args__, opts=opts, typ=GetThreatIntelSetResult) + return __ret__.apply(lambda __response__: GetThreatIntelSetResult( + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/guardduty/ip_set.py b/sdk/python/pulumi_aws_native/guardduty/ip_set.py index bb179ec987..2697de9791 100644 --- a/sdk/python/pulumi_aws_native/guardduty/ip_set.py +++ b/sdk/python/pulumi_aws_native/guardduty/ip_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/guardduty/malware_protection_plan.py b/sdk/python/pulumi_aws_native/guardduty/malware_protection_plan.py index dd7fc36f41..57b7eb5147 100644 --- a/sdk/python/pulumi_aws_native/guardduty/malware_protection_plan.py +++ b/sdk/python/pulumi_aws_native/guardduty/malware_protection_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/guardduty/master.py b/sdk/python/pulumi_aws_native/guardduty/master.py index 2e6e83adbd..ee26449132 100644 --- a/sdk/python/pulumi_aws_native/guardduty/master.py +++ b/sdk/python/pulumi_aws_native/guardduty/master.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['MasterArgs', 'Master'] diff --git a/sdk/python/pulumi_aws_native/guardduty/member.py b/sdk/python/pulumi_aws_native/guardduty/member.py index 993dbdff06..7915a911c1 100644 --- a/sdk/python/pulumi_aws_native/guardduty/member.py +++ b/sdk/python/pulumi_aws_native/guardduty/member.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['MemberArgs', 'Member'] diff --git a/sdk/python/pulumi_aws_native/guardduty/outputs.py b/sdk/python/pulumi_aws_native/guardduty/outputs.py index f21e54ec1b..79ae62d977 100644 --- a/sdk/python/pulumi_aws_native/guardduty/outputs.py +++ b/sdk/python/pulumi_aws_native/guardduty/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/guardduty/threat_intel_set.py b/sdk/python/pulumi_aws_native/guardduty/threat_intel_set.py index 598373f230..63486a1c90 100644 --- a/sdk/python/pulumi_aws_native/guardduty/threat_intel_set.py +++ b/sdk/python/pulumi_aws_native/guardduty/threat_intel_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/healthimaging/datastore.py b/sdk/python/pulumi_aws_native/healthimaging/datastore.py index b9c9cf0080..67d099dd5b 100644 --- a/sdk/python/pulumi_aws_native/healthimaging/datastore.py +++ b/sdk/python/pulumi_aws_native/healthimaging/datastore.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/healthimaging/get_datastore.py b/sdk/python/pulumi_aws_native/healthimaging/get_datastore.py index b145ae2fb6..9437154aad 100644 --- a/sdk/python/pulumi_aws_native/healthimaging/get_datastore.py +++ b/sdk/python/pulumi_aws_native/healthimaging/get_datastore.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -109,9 +114,6 @@ def get_datastore(datastore_id: Optional[str] = None, datastore_id=pulumi.get(__ret__, 'datastore_id'), datastore_status=pulumi.get(__ret__, 'datastore_status'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_datastore) def get_datastore_output(datastore_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatastoreResult]: """ @@ -120,4 +122,13 @@ def get_datastore_output(datastore_id: Optional[pulumi.Input[str]] = None, :param str datastore_id: The data store identifier. """ - ... + __args__ = dict() + __args__['datastoreId'] = datastore_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:healthimaging:getDatastore', __args__, opts=opts, typ=GetDatastoreResult) + return __ret__.apply(lambda __response__: GetDatastoreResult( + created_at=pulumi.get(__response__, 'created_at'), + datastore_arn=pulumi.get(__response__, 'datastore_arn'), + datastore_id=pulumi.get(__response__, 'datastore_id'), + datastore_status=pulumi.get(__response__, 'datastore_status'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/healthlake/_inputs.py b/sdk/python/pulumi_aws_native/healthlake/_inputs.py index 86a59cf9e6..0092ef1e76 100644 --- a/sdk/python/pulumi_aws_native/healthlake/_inputs.py +++ b/sdk/python/pulumi_aws_native/healthlake/_inputs.py @@ -4,19 +4,54 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'FhirDatastoreIdentityProviderConfigurationArgs', + 'FhirDatastoreIdentityProviderConfigurationArgsDict', 'FhirDatastoreKmsEncryptionConfigArgs', + 'FhirDatastoreKmsEncryptionConfigArgsDict', 'FhirDatastorePreloadDataConfigArgs', + 'FhirDatastorePreloadDataConfigArgsDict', 'FhirDatastoreSseConfigurationArgs', + 'FhirDatastoreSseConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class FhirDatastoreIdentityProviderConfigurationArgsDict(TypedDict): + """ + The identity provider configuration for the datastore + """ + authorization_strategy: pulumi.Input['FhirDatastoreIdentityProviderConfigurationAuthorizationStrategy'] + """ + Type of Authorization Strategy. The two types of supported Authorization strategies are SMART_ON_FHIR_V1 and AWS_AUTH. + """ + fine_grained_authorization_enabled: NotRequired[pulumi.Input[bool]] + """ + Flag to indicate if fine-grained authorization will be enabled for the datastore + """ + idp_lambda_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the Lambda function that will be used to decode the access token created by the authorization server. + """ + metadata: NotRequired[pulumi.Input[str]] + """ + The JSON metadata elements for identity provider configuration. + """ +elif False: + FhirDatastoreIdentityProviderConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FhirDatastoreIdentityProviderConfigurationArgs: def __init__(__self__, *, @@ -88,6 +123,22 @@ def metadata(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metadata", value) +if not MYPY: + class FhirDatastoreKmsEncryptionConfigArgsDict(TypedDict): + """ + The customer-managed-key (CMK) used when creating a Data Store. If a customer owned key is not specified, an AWS owned key will be used for encryption. + """ + cmk_type: pulumi.Input['FhirDatastoreKmsEncryptionConfigCmkType'] + """ + The type of customer-managed-key (CMK) used for encryption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The KMS encryption key id/alias used to encrypt the Data Store contents at rest. + """ +elif False: + FhirDatastoreKmsEncryptionConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FhirDatastoreKmsEncryptionConfigArgs: def __init__(__self__, *, @@ -127,6 +178,18 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class FhirDatastorePreloadDataConfigArgsDict(TypedDict): + """ + The preloaded data configuration for the Data Store. Only data preloaded from Synthea is supported. + """ + preload_data_type: pulumi.Input['FhirDatastorePreloadDataConfigPreloadDataType'] + """ + The type of preloaded data. Only Synthea preloaded data is supported. + """ +elif False: + FhirDatastorePreloadDataConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FhirDatastorePreloadDataConfigArgs: def __init__(__self__, *, @@ -150,6 +213,18 @@ def preload_data_type(self, value: pulumi.Input['FhirDatastorePreloadDataConfigP pulumi.set(self, "preload_data_type", value) +if not MYPY: + class FhirDatastoreSseConfigurationArgsDict(TypedDict): + """ + The server-side encryption key configuration for a customer provided encryption key. + """ + kms_encryption_config: pulumi.Input['FhirDatastoreKmsEncryptionConfigArgsDict'] + """ + The server-side encryption key configuration for a customer provided encryption key (CMK). + """ +elif False: + FhirDatastoreSseConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FhirDatastoreSseConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/healthlake/fhir_datastore.py b/sdk/python/pulumi_aws_native/healthlake/fhir_datastore.py index d1903b92b6..cfb8e87cc3 100644 --- a/sdk/python/pulumi_aws_native/healthlake/fhir_datastore.py +++ b/sdk/python/pulumi_aws_native/healthlake/fhir_datastore.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/healthlake/get_fhir_datastore.py b/sdk/python/pulumi_aws_native/healthlake/get_fhir_datastore.py index e885945302..e154adc7fc 100644 --- a/sdk/python/pulumi_aws_native/healthlake/get_fhir_datastore.py +++ b/sdk/python/pulumi_aws_native/healthlake/get_fhir_datastore.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -123,9 +128,6 @@ def get_fhir_datastore(datastore_id: Optional[str] = None, datastore_id=pulumi.get(__ret__, 'datastore_id'), datastore_status=pulumi.get(__ret__, 'datastore_status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_fhir_datastore) def get_fhir_datastore_output(datastore_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFhirDatastoreResult]: """ @@ -134,4 +136,14 @@ def get_fhir_datastore_output(datastore_id: Optional[pulumi.Input[str]] = None, :param str datastore_id: The Amazon generated Data Store id. This id is in the output from the initial Data Store creation call. """ - ... + __args__ = dict() + __args__['datastoreId'] = datastore_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:healthlake:getFhirDatastore', __args__, opts=opts, typ=GetFhirDatastoreResult) + return __ret__.apply(lambda __response__: GetFhirDatastoreResult( + created_at=pulumi.get(__response__, 'created_at'), + datastore_arn=pulumi.get(__response__, 'datastore_arn'), + datastore_endpoint=pulumi.get(__response__, 'datastore_endpoint'), + datastore_id=pulumi.get(__response__, 'datastore_id'), + datastore_status=pulumi.get(__response__, 'datastore_status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/healthlake/outputs.py b/sdk/python/pulumi_aws_native/healthlake/outputs.py index dfc701d6e3..62d6865958 100644 --- a/sdk/python/pulumi_aws_native/healthlake/outputs.py +++ b/sdk/python/pulumi_aws_native/healthlake/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iam/_inputs.py b/sdk/python/pulumi_aws_native/iam/_inputs.py index d07eaa7fd2..d2b8a80254 100644 --- a/sdk/python/pulumi_aws_native/iam/_inputs.py +++ b/sdk/python/pulumi_aws_native/iam/_inputs.py @@ -4,18 +4,47 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'GroupPolicyArgs', + 'GroupPolicyArgsDict', 'RolePolicyArgs', + 'RolePolicyArgsDict', 'UserLoginProfileArgs', + 'UserLoginProfileArgsDict', 'UserPolicyArgs', + 'UserPolicyArgsDict', ] +MYPY = False + +if not MYPY: + class GroupPolicyArgsDict(TypedDict): + """ + Contains information about an attached policy. + An attached policy is a managed policy that has been attached to a user, group, or role. + For more information about managed policies, see [Managed Policies and Inline Policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *User Guide*. + """ + policy_document: Any + """ + The policy document. + """ + policy_name: pulumi.Input[str] + """ + The friendly name (not ARN) identifying the policy. + """ +elif False: + GroupPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GroupPolicyArgs: def __init__(__self__, *, @@ -56,6 +85,24 @@ def policy_name(self, value: pulumi.Input[str]): pulumi.set(self, "policy_name", value) +if not MYPY: + class RolePolicyArgsDict(TypedDict): + """ + Contains information about an attached policy. + An attached policy is a managed policy that has been attached to a user, group, or role. + For more information about managed policies, refer to [Managed Policies and Inline Policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *User Guide*. + """ + policy_document: Any + """ + The entire contents of the policy that defines permissions. For more information, see [Overview of JSON policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json). + """ + policy_name: pulumi.Input[str] + """ + The friendly name (not ARN) identifying the policy. + """ +elif False: + RolePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RolePolicyArgs: def __init__(__self__, *, @@ -96,6 +143,22 @@ def policy_name(self, value: pulumi.Input[str]): pulumi.set(self, "policy_name", value) +if not MYPY: + class UserLoginProfileArgsDict(TypedDict): + """ + Creates a password for the specified user, giving the user the ability to access AWS services through the console. For more information about managing passwords, see [Managing Passwords](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html) in the *User Guide*. + """ + password: pulumi.Input[str] + """ + The user's password. + """ + password_reset_required: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the user is required to set a new password on next sign-in. + """ +elif False: + UserLoginProfileArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserLoginProfileArgs: def __init__(__self__, *, @@ -135,6 +198,24 @@ def password_reset_required(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "password_reset_required", value) +if not MYPY: + class UserPolicyArgsDict(TypedDict): + """ + Contains information about an attached policy. + An attached policy is a managed policy that has been attached to a user, group, or role. + For more information about managed policies, refer to [Managed Policies and Inline Policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *User Guide*. + """ + policy_document: Any + """ + The entire contents of the policy that defines permissions. For more information, see [Overview of JSON policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json). + """ + policy_name: pulumi.Input[str] + """ + The friendly name (not ARN) identifying the policy. + """ +elif False: + UserPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserPolicyArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/iam/get_group.py b/sdk/python/pulumi_aws_native/iam/get_group.py index 5bc5a35a79..0afaaed7a5 100644 --- a/sdk/python/pulumi_aws_native/iam/get_group.py +++ b/sdk/python/pulumi_aws_native/iam/get_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -106,9 +111,6 @@ def get_group(group_name: Optional[str] = None, managed_policy_arns=pulumi.get(__ret__, 'managed_policy_arns'), path=pulumi.get(__ret__, 'path'), policies=pulumi.get(__ret__, 'policies')) - - -@_utilities.lift_output_func(get_group) def get_group_output(group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupResult]: """ @@ -122,4 +124,12 @@ def get_group_output(group_name: Optional[pulumi.Input[str]] = None, If you specify a name, you must specify the ``CAPABILITY_NAMED_IAM`` value to acknowledge your template's capabilities. For more information, see [Acknowledging Resources in Templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities). Naming an IAM resource can cause an unrecoverable error if you reuse the same template in multiple Regions. To prevent this, we recommend using ``Fn::Join`` and ``AWS::Region`` to create a Region-specific name, as in the following example: ``{"Fn::Join": ["", [{"Ref": "AWS::Region"}, {"Ref": "MyResourceName"}]]}``. """ - ... + __args__ = dict() + __args__['groupName'] = group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getGroup', __args__, opts=opts, typ=GetGroupResult) + return __ret__.apply(lambda __response__: GetGroupResult( + arn=pulumi.get(__response__, 'arn'), + managed_policy_arns=pulumi.get(__response__, 'managed_policy_arns'), + path=pulumi.get(__response__, 'path'), + policies=pulumi.get(__response__, 'policies'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_group_policy.py b/sdk/python/pulumi_aws_native/iam/get_group_policy.py index f60d68784b..c58aa665de 100644 --- a/sdk/python/pulumi_aws_native/iam/get_group_policy.py +++ b/sdk/python/pulumi_aws_native/iam/get_group_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -70,9 +75,6 @@ def get_group_policy(group_name: Optional[str] = None, return AwaitableGetGroupPolicyResult( policy_document=pulumi.get(__ret__, 'policy_document')) - - -@_utilities.lift_output_func(get_group_policy) def get_group_policy_output(group_name: Optional[pulumi.Input[str]] = None, policy_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupPolicyResult]: @@ -87,4 +89,10 @@ def get_group_policy_output(group_name: Optional[pulumi.Input[str]] = None, :param str policy_name: The name of the policy document. This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- """ - ... + __args__ = dict() + __args__['groupName'] = group_name + __args__['policyName'] = policy_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getGroupPolicy', __args__, opts=opts, typ=GetGroupPolicyResult) + return __ret__.apply(lambda __response__: GetGroupPolicyResult( + policy_document=pulumi.get(__response__, 'policy_document'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_instance_profile.py b/sdk/python/pulumi_aws_native/iam/get_instance_profile.py index ec6271a519..c283cfc0c6 100644 --- a/sdk/python/pulumi_aws_native/iam/get_instance_profile.py +++ b/sdk/python/pulumi_aws_native/iam/get_instance_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -75,9 +80,6 @@ def get_instance_profile(instance_profile_name: Optional[str] = None, return AwaitableGetInstanceProfileResult( arn=pulumi.get(__ret__, 'arn'), roles=pulumi.get(__ret__, 'roles')) - - -@_utilities.lift_output_func(get_instance_profile) def get_instance_profile_output(instance_profile_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceProfileResult]: """ @@ -88,4 +90,10 @@ def get_instance_profile_output(instance_profile_name: Optional[pulumi.Input[str :param str instance_profile_name: The name of the instance profile to create. This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- """ - ... + __args__ = dict() + __args__['instanceProfileName'] = instance_profile_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getInstanceProfile', __args__, opts=opts, typ=GetInstanceProfileResult) + return __ret__.apply(lambda __response__: GetInstanceProfileResult( + arn=pulumi.get(__response__, 'arn'), + roles=pulumi.get(__response__, 'roles'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_managed_policy.py b/sdk/python/pulumi_aws_native/iam/get_managed_policy.py index d989c359ad..4a8668a4a8 100644 --- a/sdk/python/pulumi_aws_native/iam/get_managed_policy.py +++ b/sdk/python/pulumi_aws_native/iam/get_managed_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -188,9 +193,6 @@ def get_managed_policy(policy_arn: Optional[str] = None, roles=pulumi.get(__ret__, 'roles'), update_date=pulumi.get(__ret__, 'update_date'), users=pulumi.get(__ret__, 'users')) - - -@_utilities.lift_output_func(get_managed_policy) def get_managed_policy_output(policy_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedPolicyResult]: """ @@ -199,4 +201,20 @@ def get_managed_policy_output(policy_arn: Optional[pulumi.Input[str]] = None, As a best practice, you can validate your IAM policies. To learn more, see [Validating IAM policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html) in the *IAM User Guide*. For more information about managed policies in general, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*. """ - ... + __args__ = dict() + __args__['policyArn'] = policy_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getManagedPolicy', __args__, opts=opts, typ=GetManagedPolicyResult) + return __ret__.apply(lambda __response__: GetManagedPolicyResult( + attachment_count=pulumi.get(__response__, 'attachment_count'), + create_date=pulumi.get(__response__, 'create_date'), + default_version_id=pulumi.get(__response__, 'default_version_id'), + groups=pulumi.get(__response__, 'groups'), + is_attachable=pulumi.get(__response__, 'is_attachable'), + permissions_boundary_usage_count=pulumi.get(__response__, 'permissions_boundary_usage_count'), + policy_arn=pulumi.get(__response__, 'policy_arn'), + policy_document=pulumi.get(__response__, 'policy_document'), + policy_id=pulumi.get(__response__, 'policy_id'), + roles=pulumi.get(__response__, 'roles'), + update_date=pulumi.get(__response__, 'update_date'), + users=pulumi.get(__response__, 'users'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_oidc_provider.py b/sdk/python/pulumi_aws_native/iam/get_oidc_provider.py index 6397cf6555..e73cb302ee 100644 --- a/sdk/python/pulumi_aws_native/iam/get_oidc_provider.py +++ b/sdk/python/pulumi_aws_native/iam/get_oidc_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -98,9 +103,6 @@ def get_oidc_provider(arn: Optional[str] = None, client_id_list=pulumi.get(__ret__, 'client_id_list'), tags=pulumi.get(__ret__, 'tags'), thumbprint_list=pulumi.get(__ret__, 'thumbprint_list')) - - -@_utilities.lift_output_func(get_oidc_provider) def get_oidc_provider_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOidcProviderResult]: """ @@ -109,4 +111,12 @@ def get_oidc_provider_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Amazon Resource Name (ARN) of the OIDC provider """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getOidcProvider', __args__, opts=opts, typ=GetOidcProviderResult) + return __ret__.apply(lambda __response__: GetOidcProviderResult( + arn=pulumi.get(__response__, 'arn'), + client_id_list=pulumi.get(__response__, 'client_id_list'), + tags=pulumi.get(__response__, 'tags'), + thumbprint_list=pulumi.get(__response__, 'thumbprint_list'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_role.py b/sdk/python/pulumi_aws_native/iam/get_role.py index 71d1202d57..db338769ca 100644 --- a/sdk/python/pulumi_aws_native/iam/get_role.py +++ b/sdk/python/pulumi_aws_native/iam/get_role.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -190,9 +195,6 @@ def get_role(role_name: Optional[str] = None, policies=pulumi.get(__ret__, 'policies'), role_id=pulumi.get(__ret__, 'role_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_role) def get_role_output(role_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoleResult]: """ @@ -210,4 +212,17 @@ def get_role_output(role_name: Optional[pulumi.Input[str]] = None, > Naming an IAM resource can cause an unrecoverable error if you reuse the same template in multiple Regions. To prevent this, we recommend using `Fn::Join` and `AWS::Region` to create a Region-specific name, as in the following example: `{"Fn::Join": ["", [{"Ref": "AWS::Region"}, {"Ref": "MyResourceName"}]]}` . """ - ... + __args__ = dict() + __args__['roleName'] = role_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getRole', __args__, opts=opts, typ=GetRoleResult) + return __ret__.apply(lambda __response__: GetRoleResult( + arn=pulumi.get(__response__, 'arn'), + assume_role_policy_document=pulumi.get(__response__, 'assume_role_policy_document'), + description=pulumi.get(__response__, 'description'), + managed_policy_arns=pulumi.get(__response__, 'managed_policy_arns'), + max_session_duration=pulumi.get(__response__, 'max_session_duration'), + permissions_boundary=pulumi.get(__response__, 'permissions_boundary'), + policies=pulumi.get(__response__, 'policies'), + role_id=pulumi.get(__response__, 'role_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_role_policy.py b/sdk/python/pulumi_aws_native/iam/get_role_policy.py index 1f3b9fca24..5a92480bec 100644 --- a/sdk/python/pulumi_aws_native/iam/get_role_policy.py +++ b/sdk/python/pulumi_aws_native/iam/get_role_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -71,9 +76,6 @@ def get_role_policy(policy_name: Optional[str] = None, return AwaitableGetRolePolicyResult( policy_document=pulumi.get(__ret__, 'policy_document')) - - -@_utilities.lift_output_func(get_role_policy) def get_role_policy_output(policy_name: Optional[pulumi.Input[str]] = None, role_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRolePolicyResult]: @@ -89,4 +91,10 @@ def get_role_policy_output(policy_name: Optional[pulumi.Input[str]] = None, :param str role_name: The name of the role to associate the policy with. This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- """ - ... + __args__ = dict() + __args__['policyName'] = policy_name + __args__['roleName'] = role_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getRolePolicy', __args__, opts=opts, typ=GetRolePolicyResult) + return __ret__.apply(lambda __response__: GetRolePolicyResult( + policy_document=pulumi.get(__response__, 'policy_document'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_saml_provider.py b/sdk/python/pulumi_aws_native/iam/get_saml_provider.py index 024052e18f..2a2500dba2 100644 --- a/sdk/python/pulumi_aws_native/iam/get_saml_provider.py +++ b/sdk/python/pulumi_aws_native/iam/get_saml_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -87,9 +92,6 @@ def get_saml_provider(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), saml_metadata_document=pulumi.get(__ret__, 'saml_metadata_document'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_saml_provider) def get_saml_provider_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSamlProviderResult]: """ @@ -98,4 +100,11 @@ def get_saml_provider_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Amazon Resource Name (ARN) of the SAML provider """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getSamlProvider', __args__, opts=opts, typ=GetSamlProviderResult) + return __ret__.apply(lambda __response__: GetSamlProviderResult( + arn=pulumi.get(__response__, 'arn'), + saml_metadata_document=pulumi.get(__response__, 'saml_metadata_document'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_server_certificate.py b/sdk/python/pulumi_aws_native/iam/get_server_certificate.py index fb35b61709..b63468b6b7 100644 --- a/sdk/python/pulumi_aws_native/iam/get_server_certificate.py +++ b/sdk/python/pulumi_aws_native/iam/get_server_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -89,9 +94,6 @@ def get_server_certificate(server_certificate_name: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), path=pulumi.get(__ret__, 'path'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_server_certificate) def get_server_certificate_output(server_certificate_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerCertificateResult]: """ @@ -102,4 +104,11 @@ def get_server_certificate_output(server_certificate_name: Optional[pulumi.Input This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex) ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- """ - ... + __args__ = dict() + __args__['serverCertificateName'] = server_certificate_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getServerCertificate', __args__, opts=opts, typ=GetServerCertificateResult) + return __ret__.apply(lambda __response__: GetServerCertificateResult( + arn=pulumi.get(__response__, 'arn'), + path=pulumi.get(__response__, 'path'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_service_linked_role.py b/sdk/python/pulumi_aws_native/iam/get_service_linked_role.py index 9ac0fc49fd..15a385a2ef 100644 --- a/sdk/python/pulumi_aws_native/iam/get_service_linked_role.py +++ b/sdk/python/pulumi_aws_native/iam/get_service_linked_role.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_service_linked_role(role_name: Optional[str] = None, return AwaitableGetServiceLinkedRoleResult( description=pulumi.get(__ret__, 'description'), role_name=pulumi.get(__ret__, 'role_name')) - - -@_utilities.lift_output_func(get_service_linked_role) def get_service_linked_role_output(role_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceLinkedRoleResult]: """ @@ -80,4 +82,10 @@ def get_service_linked_role_output(role_name: Optional[pulumi.Input[str]] = None :param str role_name: The name of the role. """ - ... + __args__ = dict() + __args__['roleName'] = role_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getServiceLinkedRole', __args__, opts=opts, typ=GetServiceLinkedRoleResult) + return __ret__.apply(lambda __response__: GetServiceLinkedRoleResult( + description=pulumi.get(__response__, 'description'), + role_name=pulumi.get(__response__, 'role_name'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_user.py b/sdk/python/pulumi_aws_native/iam/get_user.py index 61becac9cf..825bb2c1f3 100644 --- a/sdk/python/pulumi_aws_native/iam/get_user.py +++ b/sdk/python/pulumi_aws_native/iam/get_user.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -164,9 +169,6 @@ def get_user(user_name: Optional[str] = None, permissions_boundary=pulumi.get(__ret__, 'permissions_boundary'), policies=pulumi.get(__ret__, 'policies'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_user) def get_user_output(user_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserResult]: """ @@ -180,4 +182,16 @@ def get_user_output(user_name: Optional[pulumi.Input[str]] = None, If you specify a name, you must specify the ``CAPABILITY_NAMED_IAM`` value to acknowledge your template's capabilities. For more information, see [Acknowledging Resources in Templates](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities). Naming an IAM resource can cause an unrecoverable error if you reuse the same template in multiple Regions. To prevent this, we recommend using ``Fn::Join`` and ``AWS::Region`` to create a Region-specific name, as in the following example: ``{"Fn::Join": ["", [{"Ref": "AWS::Region"}, {"Ref": "MyResourceName"}]]}``. """ - ... + __args__ = dict() + __args__['userName'] = user_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getUser', __args__, opts=opts, typ=GetUserResult) + return __ret__.apply(lambda __response__: GetUserResult( + arn=pulumi.get(__response__, 'arn'), + groups=pulumi.get(__response__, 'groups'), + login_profile=pulumi.get(__response__, 'login_profile'), + managed_policy_arns=pulumi.get(__response__, 'managed_policy_arns'), + path=pulumi.get(__response__, 'path'), + permissions_boundary=pulumi.get(__response__, 'permissions_boundary'), + policies=pulumi.get(__response__, 'policies'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_user_policy.py b/sdk/python/pulumi_aws_native/iam/get_user_policy.py index 4f0da22d01..963c6904ed 100644 --- a/sdk/python/pulumi_aws_native/iam/get_user_policy.py +++ b/sdk/python/pulumi_aws_native/iam/get_user_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -70,9 +75,6 @@ def get_user_policy(policy_name: Optional[str] = None, return AwaitableGetUserPolicyResult( policy_document=pulumi.get(__ret__, 'policy_document')) - - -@_utilities.lift_output_func(get_user_policy) def get_user_policy_output(policy_name: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserPolicyResult]: @@ -87,4 +89,10 @@ def get_user_policy_output(policy_name: Optional[pulumi.Input[str]] = None, :param str user_name: The name of the user to associate the policy with. This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- """ - ... + __args__ = dict() + __args__['policyName'] = policy_name + __args__['userName'] = user_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getUserPolicy', __args__, opts=opts, typ=GetUserPolicyResult) + return __ret__.apply(lambda __response__: GetUserPolicyResult( + policy_document=pulumi.get(__response__, 'policy_document'))) diff --git a/sdk/python/pulumi_aws_native/iam/get_virtual_mfa_device.py b/sdk/python/pulumi_aws_native/iam/get_virtual_mfa_device.py index 5e1ad61865..5725d64a53 100644 --- a/sdk/python/pulumi_aws_native/iam/get_virtual_mfa_device.py +++ b/sdk/python/pulumi_aws_native/iam/get_virtual_mfa_device.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -85,9 +90,6 @@ def get_virtual_mfa_device(serial_number: Optional[str] = None, serial_number=pulumi.get(__ret__, 'serial_number'), tags=pulumi.get(__ret__, 'tags'), users=pulumi.get(__ret__, 'users')) - - -@_utilities.lift_output_func(get_virtual_mfa_device) def get_virtual_mfa_device_output(serial_number: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVirtualMfaDeviceResult]: """ @@ -96,4 +98,11 @@ def get_virtual_mfa_device_output(serial_number: Optional[pulumi.Input[str]] = N :param str serial_number: Returns the serial number for the specified `AWS::IAM::VirtualMFADevice` resource. """ - ... + __args__ = dict() + __args__['serialNumber'] = serial_number + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iam:getVirtualMfaDevice', __args__, opts=opts, typ=GetVirtualMfaDeviceResult) + return __ret__.apply(lambda __response__: GetVirtualMfaDeviceResult( + serial_number=pulumi.get(__response__, 'serial_number'), + tags=pulumi.get(__response__, 'tags'), + users=pulumi.get(__response__, 'users'))) diff --git a/sdk/python/pulumi_aws_native/iam/group.py b/sdk/python/pulumi_aws_native/iam/group.py index d9b52fb494..21fcabb5bb 100644 --- a/sdk/python/pulumi_aws_native/iam/group.py +++ b/sdk/python/pulumi_aws_native/iam/group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/iam/group_policy.py b/sdk/python/pulumi_aws_native/iam/group_policy.py index 1b56c77759..e2793aa3a5 100644 --- a/sdk/python/pulumi_aws_native/iam/group_policy.py +++ b/sdk/python/pulumi_aws_native/iam/group_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['GroupPolicyInitArgs', 'GroupPolicy'] diff --git a/sdk/python/pulumi_aws_native/iam/instance_profile.py b/sdk/python/pulumi_aws_native/iam/instance_profile.py index df188a05d8..00fadc87e4 100644 --- a/sdk/python/pulumi_aws_native/iam/instance_profile.py +++ b/sdk/python/pulumi_aws_native/iam/instance_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['InstanceProfileArgs', 'InstanceProfile'] diff --git a/sdk/python/pulumi_aws_native/iam/managed_policy.py b/sdk/python/pulumi_aws_native/iam/managed_policy.py index fbac226a93..e1aeef28c6 100644 --- a/sdk/python/pulumi_aws_native/iam/managed_policy.py +++ b/sdk/python/pulumi_aws_native/iam/managed_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ManagedPolicyArgs', 'ManagedPolicy'] diff --git a/sdk/python/pulumi_aws_native/iam/oidc_provider.py b/sdk/python/pulumi_aws_native/iam/oidc_provider.py index 5f64148097..3c9277afff 100644 --- a/sdk/python/pulumi_aws_native/iam/oidc_provider.py +++ b/sdk/python/pulumi_aws_native/iam/oidc_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iam/outputs.py b/sdk/python/pulumi_aws_native/iam/outputs.py index 7fee481d5e..0380136aac 100644 --- a/sdk/python/pulumi_aws_native/iam/outputs.py +++ b/sdk/python/pulumi_aws_native/iam/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/iam/role.py b/sdk/python/pulumi_aws_native/iam/role.py index bca1eadaa6..598f0b2a81 100644 --- a/sdk/python/pulumi_aws_native/iam/role.py +++ b/sdk/python/pulumi_aws_native/iam/role.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iam/role_policy.py b/sdk/python/pulumi_aws_native/iam/role_policy.py index 32afc58320..9708f9d57b 100644 --- a/sdk/python/pulumi_aws_native/iam/role_policy.py +++ b/sdk/python/pulumi_aws_native/iam/role_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['RolePolicyInitArgs', 'RolePolicy'] diff --git a/sdk/python/pulumi_aws_native/iam/saml_provider.py b/sdk/python/pulumi_aws_native/iam/saml_provider.py index 8de0e0b09f..efa33b35a3 100644 --- a/sdk/python/pulumi_aws_native/iam/saml_provider.py +++ b/sdk/python/pulumi_aws_native/iam/saml_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iam/server_certificate.py b/sdk/python/pulumi_aws_native/iam/server_certificate.py index 8f69497b22..47947b7af2 100644 --- a/sdk/python/pulumi_aws_native/iam/server_certificate.py +++ b/sdk/python/pulumi_aws_native/iam/server_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iam/service_linked_role.py b/sdk/python/pulumi_aws_native/iam/service_linked_role.py index 3cc94527c7..6f53ebefa7 100644 --- a/sdk/python/pulumi_aws_native/iam/service_linked_role.py +++ b/sdk/python/pulumi_aws_native/iam/service_linked_role.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ServiceLinkedRoleArgs', 'ServiceLinkedRole'] diff --git a/sdk/python/pulumi_aws_native/iam/user.py b/sdk/python/pulumi_aws_native/iam/user.py index adb0676524..c48c455781 100644 --- a/sdk/python/pulumi_aws_native/iam/user.py +++ b/sdk/python/pulumi_aws_native/iam/user.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iam/user_policy.py b/sdk/python/pulumi_aws_native/iam/user_policy.py index a723e45b26..60b729bfcf 100644 --- a/sdk/python/pulumi_aws_native/iam/user_policy.py +++ b/sdk/python/pulumi_aws_native/iam/user_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['UserPolicyInitArgs', 'UserPolicy'] diff --git a/sdk/python/pulumi_aws_native/iam/virtual_mfa_device.py b/sdk/python/pulumi_aws_native/iam/virtual_mfa_device.py index 956b95d10a..ea031c38f4 100644 --- a/sdk/python/pulumi_aws_native/iam/virtual_mfa_device.py +++ b/sdk/python/pulumi_aws_native/iam/virtual_mfa_device.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/identitystore/_inputs.py b/sdk/python/pulumi_aws_native/identitystore/_inputs.py index 92fbf58bc7..e4ab3cd5be 100644 --- a/sdk/python/pulumi_aws_native/identitystore/_inputs.py +++ b/sdk/python/pulumi_aws_native/identitystore/_inputs.py @@ -4,15 +4,35 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'GroupMembershipMemberIdArgs', + 'GroupMembershipMemberIdArgsDict', ] +MYPY = False + +if not MYPY: + class GroupMembershipMemberIdArgsDict(TypedDict): + """ + An object containing the identifier of a group member. + """ + user_id: pulumi.Input[str] + """ + The identifier for a user in the identity store. + """ +elif False: + GroupMembershipMemberIdArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GroupMembershipMemberIdArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/identitystore/get_group.py b/sdk/python/pulumi_aws_native/identitystore/get_group.py index cabb4c3ced..2f6c9edacc 100644 --- a/sdk/python/pulumi_aws_native/identitystore/get_group.py +++ b/sdk/python/pulumi_aws_native/identitystore/get_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -85,9 +90,6 @@ def get_group(group_id: Optional[str] = None, description=pulumi.get(__ret__, 'description'), display_name=pulumi.get(__ret__, 'display_name'), group_id=pulumi.get(__ret__, 'group_id')) - - -@_utilities.lift_output_func(get_group) def get_group_output(group_id: Optional[pulumi.Input[str]] = None, identity_store_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupResult]: @@ -98,4 +100,12 @@ def get_group_output(group_id: Optional[pulumi.Input[str]] = None, :param str group_id: The unique identifier for a group in the identity store. :param str identity_store_id: The globally unique identifier for the identity store. """ - ... + __args__ = dict() + __args__['groupId'] = group_id + __args__['identityStoreId'] = identity_store_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:identitystore:getGroup', __args__, opts=opts, typ=GetGroupResult) + return __ret__.apply(lambda __response__: GetGroupResult( + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + group_id=pulumi.get(__response__, 'group_id'))) diff --git a/sdk/python/pulumi_aws_native/identitystore/get_group_membership.py b/sdk/python/pulumi_aws_native/identitystore/get_group_membership.py index c86e02bd78..91bd770384 100644 --- a/sdk/python/pulumi_aws_native/identitystore/get_group_membership.py +++ b/sdk/python/pulumi_aws_native/identitystore/get_group_membership.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -59,9 +64,6 @@ def get_group_membership(identity_store_id: Optional[str] = None, return AwaitableGetGroupMembershipResult( membership_id=pulumi.get(__ret__, 'membership_id')) - - -@_utilities.lift_output_func(get_group_membership) def get_group_membership_output(identity_store_id: Optional[pulumi.Input[str]] = None, membership_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupMembershipResult]: @@ -72,4 +74,10 @@ def get_group_membership_output(identity_store_id: Optional[pulumi.Input[str]] = :param str identity_store_id: The globally unique identifier for the identity store. :param str membership_id: The identifier for a GroupMembership in the identity store. """ - ... + __args__ = dict() + __args__['identityStoreId'] = identity_store_id + __args__['membershipId'] = membership_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:identitystore:getGroupMembership', __args__, opts=opts, typ=GetGroupMembershipResult) + return __ret__.apply(lambda __response__: GetGroupMembershipResult( + membership_id=pulumi.get(__response__, 'membership_id'))) diff --git a/sdk/python/pulumi_aws_native/identitystore/group.py b/sdk/python/pulumi_aws_native/identitystore/group.py index 6b6900c05c..7fc55f84a8 100644 --- a/sdk/python/pulumi_aws_native/identitystore/group.py +++ b/sdk/python/pulumi_aws_native/identitystore/group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['GroupArgs', 'Group'] diff --git a/sdk/python/pulumi_aws_native/identitystore/group_membership.py b/sdk/python/pulumi_aws_native/identitystore/group_membership.py index e7ab89a06e..2f0178c71d 100644 --- a/sdk/python/pulumi_aws_native/identitystore/group_membership.py +++ b/sdk/python/pulumi_aws_native/identitystore/group_membership.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/identitystore/outputs.py b/sdk/python/pulumi_aws_native/identitystore/outputs.py index c59a5608c6..08b0176ecb 100644 --- a/sdk/python/pulumi_aws_native/identitystore/outputs.py +++ b/sdk/python/pulumi_aws_native/identitystore/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/imagebuilder/_inputs.py b/sdk/python/pulumi_aws_native/imagebuilder/_inputs.py index 061ea07f1c..e46afa0c03 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/_inputs.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/_inputs.py @@ -4,59 +4,126 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ContainerRecipeComponentConfigurationArgs', + 'ContainerRecipeComponentConfigurationArgsDict', 'ContainerRecipeComponentParameterArgs', + 'ContainerRecipeComponentParameterArgsDict', 'ContainerRecipeEbsInstanceBlockDeviceSpecificationArgs', + 'ContainerRecipeEbsInstanceBlockDeviceSpecificationArgsDict', 'ContainerRecipeInstanceBlockDeviceMappingArgs', + 'ContainerRecipeInstanceBlockDeviceMappingArgsDict', 'ContainerRecipeInstanceConfigurationArgs', + 'ContainerRecipeInstanceConfigurationArgsDict', 'ContainerRecipeTargetContainerRepositoryArgs', + 'ContainerRecipeTargetContainerRepositoryArgsDict', 'DistributionConfigurationAmiDistributionConfigurationArgs', + 'DistributionConfigurationAmiDistributionConfigurationArgsDict', 'DistributionConfigurationContainerDistributionConfigurationArgs', + 'DistributionConfigurationContainerDistributionConfigurationArgsDict', 'DistributionConfigurationDistributionArgs', + 'DistributionConfigurationDistributionArgsDict', 'DistributionConfigurationFastLaunchConfigurationArgs', + 'DistributionConfigurationFastLaunchConfigurationArgsDict', 'DistributionConfigurationFastLaunchLaunchTemplateSpecificationArgs', + 'DistributionConfigurationFastLaunchLaunchTemplateSpecificationArgsDict', 'DistributionConfigurationFastLaunchSnapshotConfigurationArgs', + 'DistributionConfigurationFastLaunchSnapshotConfigurationArgsDict', 'DistributionConfigurationLaunchPermissionConfigurationArgs', + 'DistributionConfigurationLaunchPermissionConfigurationArgsDict', 'DistributionConfigurationLaunchTemplateConfigurationArgs', + 'DistributionConfigurationLaunchTemplateConfigurationArgsDict', 'DistributionConfigurationTargetContainerRepositoryArgs', + 'DistributionConfigurationTargetContainerRepositoryArgsDict', 'ImageEcrConfigurationArgs', + 'ImageEcrConfigurationArgsDict', 'ImagePipelineEcrConfigurationArgs', + 'ImagePipelineEcrConfigurationArgsDict', 'ImagePipelineImageScanningConfigurationArgs', + 'ImagePipelineImageScanningConfigurationArgsDict', 'ImagePipelineImageTestsConfigurationArgs', + 'ImagePipelineImageTestsConfigurationArgsDict', 'ImagePipelineScheduleArgs', + 'ImagePipelineScheduleArgsDict', 'ImagePipelineWorkflowConfigurationArgs', + 'ImagePipelineWorkflowConfigurationArgsDict', 'ImagePipelineWorkflowParameterArgs', + 'ImagePipelineWorkflowParameterArgsDict', 'ImageRecipeAdditionalInstanceConfigurationArgs', + 'ImageRecipeAdditionalInstanceConfigurationArgsDict', 'ImageRecipeComponentConfigurationArgs', + 'ImageRecipeComponentConfigurationArgsDict', 'ImageRecipeComponentParameterArgs', + 'ImageRecipeComponentParameterArgsDict', 'ImageRecipeEbsInstanceBlockDeviceSpecificationArgs', + 'ImageRecipeEbsInstanceBlockDeviceSpecificationArgsDict', 'ImageRecipeInstanceBlockDeviceMappingArgs', + 'ImageRecipeInstanceBlockDeviceMappingArgsDict', 'ImageRecipeSystemsManagerAgentArgs', + 'ImageRecipeSystemsManagerAgentArgsDict', 'ImageScanningConfigurationArgs', + 'ImageScanningConfigurationArgsDict', 'ImageTestsConfigurationArgs', + 'ImageTestsConfigurationArgsDict', 'ImageWorkflowConfigurationArgs', + 'ImageWorkflowConfigurationArgsDict', 'ImageWorkflowParameterArgs', + 'ImageWorkflowParameterArgsDict', 'InfrastructureConfigurationInstanceMetadataOptionsArgs', + 'InfrastructureConfigurationInstanceMetadataOptionsArgsDict', 'InfrastructureConfigurationLoggingArgs', + 'InfrastructureConfigurationLoggingArgsDict', 'InfrastructureConfigurationS3LogsArgs', + 'InfrastructureConfigurationS3LogsArgsDict', 'LifecyclePolicyActionArgs', + 'LifecyclePolicyActionArgsDict', 'LifecyclePolicyAmiExclusionRulesArgs', + 'LifecyclePolicyAmiExclusionRulesArgsDict', 'LifecyclePolicyExclusionRulesArgs', + 'LifecyclePolicyExclusionRulesArgsDict', 'LifecyclePolicyFilterArgs', + 'LifecyclePolicyFilterArgsDict', 'LifecyclePolicyIncludeResourcesArgs', + 'LifecyclePolicyIncludeResourcesArgsDict', 'LifecyclePolicyLastLaunchedArgs', + 'LifecyclePolicyLastLaunchedArgsDict', 'LifecyclePolicyPolicyDetailArgs', + 'LifecyclePolicyPolicyDetailArgsDict', 'LifecyclePolicyRecipeSelectionArgs', + 'LifecyclePolicyRecipeSelectionArgsDict', 'LifecyclePolicyResourceSelectionArgs', + 'LifecyclePolicyResourceSelectionArgsDict', ] +MYPY = False + +if not MYPY: + class ContainerRecipeComponentConfigurationArgsDict(TypedDict): + """ + Configuration details of the component. + """ + component_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the component. + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ContainerRecipeComponentParameterArgsDict']]]] + """ + A group of parameter settings that are used to configure the component for a specific recipe. + """ +elif False: + ContainerRecipeComponentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerRecipeComponentConfigurationArgs: def __init__(__self__, *, @@ -97,6 +164,22 @@ def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Contain pulumi.set(self, "parameters", value) +if not MYPY: + class ContainerRecipeComponentParameterArgsDict(TypedDict): + """ + Contains a key/value pair that sets the named component parameter. + """ + name: pulumi.Input[str] + """ + The name of the component parameter to set. + """ + value: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Sets the value for the named component parameter. + """ +elif False: + ContainerRecipeComponentParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerRecipeComponentParameterArgs: def __init__(__self__, *, @@ -135,6 +218,46 @@ def value(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "value", value) +if not MYPY: + class ContainerRecipeEbsInstanceBlockDeviceSpecificationArgsDict(TypedDict): + """ + Amazon EBS-specific block device mapping specifications. + """ + delete_on_termination: NotRequired[pulumi.Input[bool]] + """ + Use to configure delete on termination of the associated device. + """ + encrypted: NotRequired[pulumi.Input[bool]] + """ + Use to configure device encryption. + """ + iops: NotRequired[pulumi.Input[int]] + """ + Use to configure device IOPS. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + Use to configure the KMS key to use when encrypting the device. + """ + snapshot_id: NotRequired[pulumi.Input[str]] + """ + The snapshot that defines the device contents. + """ + throughput: NotRequired[pulumi.Input[int]] + """ + For GP3 volumes only - The throughput in MiB/s that the volume supports. + """ + volume_size: NotRequired[pulumi.Input[int]] + """ + Use to override the device's volume size. + """ + volume_type: NotRequired[pulumi.Input['ContainerRecipeEbsInstanceBlockDeviceSpecificationVolumeType']] + """ + Use to override the device's volume type. + """ +elif False: + ContainerRecipeEbsInstanceBlockDeviceSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerRecipeEbsInstanceBlockDeviceSpecificationArgs: def __init__(__self__, *, @@ -271,6 +394,30 @@ def volume_type(self, value: Optional[pulumi.Input['ContainerRecipeEbsInstanceBl pulumi.set(self, "volume_type", value) +if not MYPY: + class ContainerRecipeInstanceBlockDeviceMappingArgsDict(TypedDict): + """ + Defines block device mappings for the instance used to configure your image. + """ + device_name: NotRequired[pulumi.Input[str]] + """ + The device to which these mappings apply. + """ + ebs: NotRequired[pulumi.Input['ContainerRecipeEbsInstanceBlockDeviceSpecificationArgsDict']] + """ + Use to manage Amazon EBS-specific configuration for this mapping. + """ + no_device: NotRequired[pulumi.Input[str]] + """ + Use to remove a mapping from the parent image. + """ + virtual_name: NotRequired[pulumi.Input[str]] + """ + Use to manage instance ephemeral devices. + """ +elif False: + ContainerRecipeInstanceBlockDeviceMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerRecipeInstanceBlockDeviceMappingArgs: def __init__(__self__, *, @@ -343,6 +490,22 @@ def virtual_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "virtual_name", value) +if not MYPY: + class ContainerRecipeInstanceConfigurationArgsDict(TypedDict): + """ + A group of options that can be used to configure an instance for building and testing container images. + """ + block_device_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['ContainerRecipeInstanceBlockDeviceMappingArgsDict']]]] + """ + Defines the block devices to attach for building an instance from this Image Builder AMI. + """ + image: NotRequired[pulumi.Input[str]] + """ + The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image. + """ +elif False: + ContainerRecipeInstanceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerRecipeInstanceConfigurationArgs: def __init__(__self__, *, @@ -383,6 +546,22 @@ def image(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "image", value) +if not MYPY: + class ContainerRecipeTargetContainerRepositoryArgsDict(TypedDict): + """ + The container repository where the output container image is stored. + """ + repository_name: NotRequired[pulumi.Input[str]] + """ + The name of the container repository where the output container image is stored. This name is prefixed by the repository location. + """ + service: NotRequired[pulumi.Input['ContainerRecipeTargetContainerRepositoryService']] + """ + Specifies the service in which this image was registered. + """ +elif False: + ContainerRecipeTargetContainerRepositoryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerRecipeTargetContainerRepositoryArgs: def __init__(__self__, *, @@ -423,6 +602,38 @@ def service(self, value: Optional[pulumi.Input['ContainerRecipeTargetContainerRe pulumi.set(self, "service", value) +if not MYPY: + class DistributionConfigurationAmiDistributionConfigurationArgsDict(TypedDict): + """ + The specific AMI settings (for example, launch permissions, AMI tags). + """ + ami_tags: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The tags to apply to AMIs distributed to this Region. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the AMI distribution configuration. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The KMS key identifier used to encrypt the distributed image. + """ + launch_permission_configuration: NotRequired[pulumi.Input['DistributionConfigurationLaunchPermissionConfigurationArgsDict']] + """ + Launch permissions can be used to configure which AWS account s can use the AMI to launch instances. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the AMI distribution configuration. + """ + target_account_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The ID of accounts to which you want to distribute an image. + """ +elif False: + DistributionConfigurationAmiDistributionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionConfigurationAmiDistributionConfigurationArgs: def __init__(__self__, *, @@ -527,6 +738,26 @@ def target_account_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "target_account_ids", value) +if not MYPY: + class DistributionConfigurationContainerDistributionConfigurationArgsDict(TypedDict): + """ + Container distribution settings for encryption, licensing, and sharing in a specific Region. + """ + container_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Tags that are attached to the container distribution configuration. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the container distribution configuration. + """ + target_repository: NotRequired[pulumi.Input['DistributionConfigurationTargetContainerRepositoryArgsDict']] + """ + The destination repository for the container distribution configuration. + """ +elif False: + DistributionConfigurationContainerDistributionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionConfigurationContainerDistributionConfigurationArgs: def __init__(__self__, *, @@ -583,6 +814,38 @@ def target_repository(self, value: Optional[pulumi.Input['DistributionConfigurat pulumi.set(self, "target_repository", value) +if not MYPY: + class DistributionConfigurationDistributionArgsDict(TypedDict): + """ + The distributions of the distribution configuration. + """ + region: pulumi.Input[str] + """ + region + """ + ami_distribution_configuration: NotRequired[pulumi.Input['DistributionConfigurationAmiDistributionConfigurationArgsDict']] + """ + The specific AMI settings, such as launch permissions and AMI tags. For details, see example schema below. + """ + container_distribution_configuration: NotRequired[pulumi.Input['DistributionConfigurationContainerDistributionConfigurationArgsDict']] + """ + Container distribution settings for encryption, licensing, and sharing in a specific Region. For details, see example schema below. + """ + fast_launch_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DistributionConfigurationFastLaunchConfigurationArgsDict']]]] + """ + The Windows faster-launching configurations to use for AMI distribution. + """ + launch_template_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DistributionConfigurationLaunchTemplateConfigurationArgsDict']]]] + """ + A group of launchTemplateConfiguration settings that apply to image distribution. + """ + license_configuration_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The License Manager Configuration to associate with the AMI in the specified Region. + """ +elif False: + DistributionConfigurationDistributionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionConfigurationDistributionArgs: def __init__(__self__, *, @@ -686,6 +949,34 @@ def license_configuration_arns(self, value: Optional[pulumi.Input[Sequence[pulum pulumi.set(self, "license_configuration_arns", value) +if not MYPY: + class DistributionConfigurationFastLaunchConfigurationArgsDict(TypedDict): + """ + The Windows faster-launching configuration to use for AMI distribution. + """ + account_id: NotRequired[pulumi.Input[str]] + """ + The owner account ID for the fast-launch enabled Windows AMI. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + A Boolean that represents the current state of faster launching for the Windows AMI. Set to true to start using Windows faster launching, or false to stop using it. + """ + launch_template: NotRequired[pulumi.Input['DistributionConfigurationFastLaunchLaunchTemplateSpecificationArgsDict']] + """ + The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots. + """ + max_parallel_launches: NotRequired[pulumi.Input[int]] + """ + The maximum number of parallel instances that are launched for creating resources. + """ + snapshot_configuration: NotRequired[pulumi.Input['DistributionConfigurationFastLaunchSnapshotConfigurationArgsDict']] + """ + Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled. + """ +elif False: + DistributionConfigurationFastLaunchConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionConfigurationFastLaunchConfigurationArgs: def __init__(__self__, *, @@ -774,6 +1065,26 @@ def snapshot_configuration(self, value: Optional[pulumi.Input['DistributionConfi pulumi.set(self, "snapshot_configuration", value) +if not MYPY: + class DistributionConfigurationFastLaunchLaunchTemplateSpecificationArgsDict(TypedDict): + """ + The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots. + """ + launch_template_id: NotRequired[pulumi.Input[str]] + """ + The ID of the launch template to use for faster launching for a Windows AMI. + """ + launch_template_name: NotRequired[pulumi.Input[str]] + """ + The name of the launch template to use for faster launching for a Windows AMI. + """ + launch_template_version: NotRequired[pulumi.Input[str]] + """ + The version of the launch template to use for faster launching for a Windows AMI. + """ +elif False: + DistributionConfigurationFastLaunchLaunchTemplateSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionConfigurationFastLaunchLaunchTemplateSpecificationArgs: def __init__(__self__, *, @@ -830,6 +1141,18 @@ def launch_template_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "launch_template_version", value) +if not MYPY: + class DistributionConfigurationFastLaunchSnapshotConfigurationArgsDict(TypedDict): + """ + Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled. + """ + target_resource_count: NotRequired[pulumi.Input[int]] + """ + The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI. + """ +elif False: + DistributionConfigurationFastLaunchSnapshotConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionConfigurationFastLaunchSnapshotConfigurationArgs: def __init__(__self__, *, @@ -854,6 +1177,30 @@ def target_resource_count(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "target_resource_count", value) +if not MYPY: + class DistributionConfigurationLaunchPermissionConfigurationArgsDict(TypedDict): + """ + Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances. + """ + organization_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The ARN for an Amazon Web Services Organization that you want to share your AMI with. + """ + organizational_unit_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. + """ + user_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The name of the group. + """ + user_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The AWS account ID. + """ +elif False: + DistributionConfigurationLaunchPermissionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionConfigurationLaunchPermissionConfigurationArgs: def __init__(__self__, *, @@ -926,6 +1273,26 @@ def user_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "user_ids", value) +if not MYPY: + class DistributionConfigurationLaunchTemplateConfigurationArgsDict(TypedDict): + """ + launchTemplateConfiguration settings that apply to image distribution. + """ + account_id: NotRequired[pulumi.Input[str]] + """ + The account ID that this configuration applies to. + """ + launch_template_id: NotRequired[pulumi.Input[str]] + """ + Identifies the EC2 launch template to use. + """ + set_default_version: NotRequired[pulumi.Input[bool]] + """ + Set the specified EC2 launch template as the default launch template for the specified account. + """ +elif False: + DistributionConfigurationLaunchTemplateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionConfigurationLaunchTemplateConfigurationArgs: def __init__(__self__, *, @@ -982,6 +1349,22 @@ def set_default_version(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "set_default_version", value) +if not MYPY: + class DistributionConfigurationTargetContainerRepositoryArgsDict(TypedDict): + """ + The destination repository for the container image. + """ + repository_name: NotRequired[pulumi.Input[str]] + """ + The repository name of target container repository. + """ + service: NotRequired[pulumi.Input['DistributionConfigurationTargetContainerRepositoryService']] + """ + The service of target container repository. + """ +elif False: + DistributionConfigurationTargetContainerRepositoryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DistributionConfigurationTargetContainerRepositoryArgs: def __init__(__self__, *, @@ -1022,6 +1405,22 @@ def service(self, value: Optional[pulumi.Input['DistributionConfigurationTargetC pulumi.set(self, "service", value) +if not MYPY: + class ImageEcrConfigurationArgsDict(TypedDict): + """ + Settings for Image Builder to configure the ECR repository and output container images that are scanned. + """ + container_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images. + """ + repository_name: NotRequired[pulumi.Input[str]] + """ + The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository to use for vulnerability scans for your output container images. + """ +elif False: + ImageEcrConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageEcrConfigurationArgs: def __init__(__self__, *, @@ -1062,6 +1461,22 @@ def repository_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "repository_name", value) +if not MYPY: + class ImagePipelineEcrConfigurationArgsDict(TypedDict): + """ + Settings for Image Builder to configure the ECR repository and output container images that are scanned. + """ + container_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Tags for Image Builder to apply the output container image that is scanned. Tags can help you identify and manage your scanned images. + """ + repository_name: NotRequired[pulumi.Input[str]] + """ + The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don't provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository to use for vulnerability scans for your output container images. + """ +elif False: + ImagePipelineEcrConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImagePipelineEcrConfigurationArgs: def __init__(__self__, *, @@ -1102,6 +1517,22 @@ def repository_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "repository_name", value) +if not MYPY: + class ImagePipelineImageScanningConfigurationArgsDict(TypedDict): + """ + Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution. + """ + ecr_configuration: NotRequired[pulumi.Input['ImagePipelineEcrConfigurationArgsDict']] + """ + Contains ECR settings for vulnerability scans. + """ + image_scanning_enabled: NotRequired[pulumi.Input[bool]] + """ + This sets whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image. + """ +elif False: + ImagePipelineImageScanningConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImagePipelineImageScanningConfigurationArgs: def __init__(__self__, *, @@ -1142,14 +1573,30 @@ def image_scanning_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "image_scanning_enabled", value) -@pulumi.input_type -class ImagePipelineImageTestsConfigurationArgs: - def __init__(__self__, *, - image_tests_enabled: Optional[pulumi.Input[bool]] = None, - timeout_minutes: Optional[pulumi.Input[int]] = None): +if not MYPY: + class ImagePipelineImageTestsConfigurationArgsDict(TypedDict): """ Image tests configuration. - :param pulumi.Input[bool] image_tests_enabled: Defines if tests should be executed when building this image. + """ + image_tests_enabled: NotRequired[pulumi.Input[bool]] + """ + Defines if tests should be executed when building this image. + """ + timeout_minutes: NotRequired[pulumi.Input[int]] + """ + The maximum time in minutes that tests are permitted to run. + """ +elif False: + ImagePipelineImageTestsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ImagePipelineImageTestsConfigurationArgs: + def __init__(__self__, *, + image_tests_enabled: Optional[pulumi.Input[bool]] = None, + timeout_minutes: Optional[pulumi.Input[int]] = None): + """ + Image tests configuration. + :param pulumi.Input[bool] image_tests_enabled: Defines if tests should be executed when building this image. :param pulumi.Input[int] timeout_minutes: The maximum time in minutes that tests are permitted to run. """ if image_tests_enabled is not None: @@ -1182,6 +1629,22 @@ def timeout_minutes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "timeout_minutes", value) +if not MYPY: + class ImagePipelineScheduleArgsDict(TypedDict): + """ + The schedule of the image pipeline. + """ + pipeline_execution_start_condition: NotRequired[pulumi.Input['ImagePipelineSchedulePipelineExecutionStartCondition']] + """ + The condition configures when the pipeline should trigger a new image build. + """ + schedule_expression: NotRequired[pulumi.Input[str]] + """ + The expression determines how often EC2 Image Builder evaluates your pipelineExecutionStartCondition. + """ +elif False: + ImagePipelineScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImagePipelineScheduleArgs: def __init__(__self__, *, @@ -1222,6 +1685,30 @@ def schedule_expression(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "schedule_expression", value) +if not MYPY: + class ImagePipelineWorkflowConfigurationArgsDict(TypedDict): + """ + The workflow configuration of the image + """ + on_failure: NotRequired[pulumi.Input['ImagePipelineWorkflowConfigurationOnFailure']] + """ + Define execution decision in case of workflow failure + """ + parallel_group: NotRequired[pulumi.Input[str]] + """ + The parallel group name + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ImagePipelineWorkflowParameterArgsDict']]]] + """ + The parameters associated with the workflow + """ + workflow_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the workflow + """ +elif False: + ImagePipelineWorkflowConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImagePipelineWorkflowConfigurationArgs: def __init__(__self__, *, @@ -1294,6 +1781,22 @@ def workflow_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "workflow_arn", value) +if not MYPY: + class ImagePipelineWorkflowParameterArgsDict(TypedDict): + """ + A parameter associated with the workflow + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the workflow parameter to set. + """ + value: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Sets the value for the named workflow parameter. + """ +elif False: + ImagePipelineWorkflowParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImagePipelineWorkflowParameterArgs: def __init__(__self__, *, @@ -1334,6 +1837,22 @@ def value(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "value", value) +if not MYPY: + class ImageRecipeAdditionalInstanceConfigurationArgsDict(TypedDict): + """ + Specify additional settings and launch scripts for your build instances. + """ + systems_manager_agent: NotRequired[pulumi.Input['ImageRecipeSystemsManagerAgentArgsDict']] + """ + Contains settings for the SSM agent on your build instance. + """ + user_data_override: NotRequired[pulumi.Input[str]] + """ + Use this property to provide commands or a command script to run when you launch your build instance. + """ +elif False: + ImageRecipeAdditionalInstanceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageRecipeAdditionalInstanceConfigurationArgs: def __init__(__self__, *, @@ -1374,6 +1893,22 @@ def user_data_override(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_data_override", value) +if not MYPY: + class ImageRecipeComponentConfigurationArgsDict(TypedDict): + """ + Configuration details of the component. + """ + component_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the component. + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ImageRecipeComponentParameterArgsDict']]]] + """ + A group of parameter settings that are used to configure the component for a specific recipe. + """ +elif False: + ImageRecipeComponentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageRecipeComponentConfigurationArgs: def __init__(__self__, *, @@ -1414,6 +1949,22 @@ def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ImageRe pulumi.set(self, "parameters", value) +if not MYPY: + class ImageRecipeComponentParameterArgsDict(TypedDict): + """ + Contains a key/value pair that sets the named component parameter. + """ + name: pulumi.Input[str] + """ + The name of the component parameter to set. + """ + value: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Sets the value for the named component parameter. + """ +elif False: + ImageRecipeComponentParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageRecipeComponentParameterArgs: def __init__(__self__, *, @@ -1452,6 +2003,46 @@ def value(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "value", value) +if not MYPY: + class ImageRecipeEbsInstanceBlockDeviceSpecificationArgsDict(TypedDict): + """ + Amazon EBS-specific block device mapping specifications. + """ + delete_on_termination: NotRequired[pulumi.Input[bool]] + """ + Use to configure delete on termination of the associated device. + """ + encrypted: NotRequired[pulumi.Input[bool]] + """ + Use to configure device encryption. + """ + iops: NotRequired[pulumi.Input[int]] + """ + Use to configure device IOPS. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + Use to configure the KMS key to use when encrypting the device. + """ + snapshot_id: NotRequired[pulumi.Input[str]] + """ + The snapshot that defines the device contents. + """ + throughput: NotRequired[pulumi.Input[int]] + """ + For GP3 volumes only - The throughput in MiB/s that the volume supports. + """ + volume_size: NotRequired[pulumi.Input[int]] + """ + Use to override the device's volume size. + """ + volume_type: NotRequired[pulumi.Input['ImageRecipeEbsInstanceBlockDeviceSpecificationVolumeType']] + """ + Use to override the device's volume type. + """ +elif False: + ImageRecipeEbsInstanceBlockDeviceSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageRecipeEbsInstanceBlockDeviceSpecificationArgs: def __init__(__self__, *, @@ -1588,6 +2179,30 @@ def volume_type(self, value: Optional[pulumi.Input['ImageRecipeEbsInstanceBlockD pulumi.set(self, "volume_type", value) +if not MYPY: + class ImageRecipeInstanceBlockDeviceMappingArgsDict(TypedDict): + """ + Defines block device mappings for the instance used to configure your image. + """ + device_name: NotRequired[pulumi.Input[str]] + """ + The device to which these mappings apply. + """ + ebs: NotRequired[pulumi.Input['ImageRecipeEbsInstanceBlockDeviceSpecificationArgsDict']] + """ + Use to manage Amazon EBS-specific configuration for this mapping. + """ + no_device: NotRequired[pulumi.Input[str]] + """ + Use to remove a mapping from the parent image. + """ + virtual_name: NotRequired[pulumi.Input[str]] + """ + Use to manage instance ephemeral devices. + """ +elif False: + ImageRecipeInstanceBlockDeviceMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageRecipeInstanceBlockDeviceMappingArgs: def __init__(__self__, *, @@ -1660,6 +2275,18 @@ def virtual_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "virtual_name", value) +if not MYPY: + class ImageRecipeSystemsManagerAgentArgsDict(TypedDict): + """ + Contains settings for the SSM agent on your build instance. + """ + uninstall_after_build: NotRequired[pulumi.Input[bool]] + """ + Controls whether the SSM agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false. + """ +elif False: + ImageRecipeSystemsManagerAgentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageRecipeSystemsManagerAgentArgs: def __init__(__self__, *, @@ -1684,6 +2311,22 @@ def uninstall_after_build(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "uninstall_after_build", value) +if not MYPY: + class ImageScanningConfigurationArgsDict(TypedDict): + """ + Contains settings for Image Builder image resource and container image scans. + """ + ecr_configuration: NotRequired[pulumi.Input['ImageEcrConfigurationArgsDict']] + """ + Contains ECR settings for vulnerability scans. + """ + image_scanning_enabled: NotRequired[pulumi.Input[bool]] + """ + This sets whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image. + """ +elif False: + ImageScanningConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageScanningConfigurationArgs: def __init__(__self__, *, @@ -1724,6 +2367,22 @@ def image_scanning_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "image_scanning_enabled", value) +if not MYPY: + class ImageTestsConfigurationArgsDict(TypedDict): + """ + The image tests configuration used when creating this image. + """ + image_tests_enabled: NotRequired[pulumi.Input[bool]] + """ + ImageTestsEnabled + """ + timeout_minutes: NotRequired[pulumi.Input[int]] + """ + TimeoutMinutes + """ +elif False: + ImageTestsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageTestsConfigurationArgs: def __init__(__self__, *, @@ -1764,6 +2423,30 @@ def timeout_minutes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "timeout_minutes", value) +if not MYPY: + class ImageWorkflowConfigurationArgsDict(TypedDict): + """ + The workflow configuration of the image + """ + on_failure: NotRequired[pulumi.Input['ImageWorkflowConfigurationOnFailure']] + """ + Define execution decision in case of workflow failure + """ + parallel_group: NotRequired[pulumi.Input[str]] + """ + The parallel group name + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ImageWorkflowParameterArgsDict']]]] + """ + The parameters associated with the workflow + """ + workflow_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the workflow + """ +elif False: + ImageWorkflowConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageWorkflowConfigurationArgs: def __init__(__self__, *, @@ -1836,6 +2519,22 @@ def workflow_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "workflow_arn", value) +if not MYPY: + class ImageWorkflowParameterArgsDict(TypedDict): + """ + A parameter associated with the workflow + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the workflow parameter to set. + """ + value: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Sets the value for the named workflow parameter. + """ +elif False: + ImageWorkflowParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ImageWorkflowParameterArgs: def __init__(__self__, *, @@ -1876,6 +2575,22 @@ def value(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "value", value) +if not MYPY: + class InfrastructureConfigurationInstanceMetadataOptionsArgsDict(TypedDict): + """ + The instance metadata option settings for the infrastructure configuration. + """ + http_put_response_hop_limit: NotRequired[pulumi.Input[int]] + """ + Limit the number of hops that an instance metadata request can traverse to reach its destination. + """ + http_tokens: NotRequired[pulumi.Input['InfrastructureConfigurationInstanceMetadataOptionsHttpTokens']] + """ + Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows: + """ +elif False: + InfrastructureConfigurationInstanceMetadataOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InfrastructureConfigurationInstanceMetadataOptionsArgs: def __init__(__self__, *, @@ -1916,6 +2631,18 @@ def http_tokens(self, value: Optional[pulumi.Input['InfrastructureConfigurationI pulumi.set(self, "http_tokens", value) +if not MYPY: + class InfrastructureConfigurationLoggingArgsDict(TypedDict): + """ + The logging configuration of the infrastructure configuration. + """ + s3_logs: NotRequired[pulumi.Input['InfrastructureConfigurationS3LogsArgsDict']] + """ + The Amazon S3 logging configuration. + """ +elif False: + InfrastructureConfigurationLoggingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InfrastructureConfigurationLoggingArgs: def __init__(__self__, *, @@ -1940,6 +2667,22 @@ def s3_logs(self, value: Optional[pulumi.Input['InfrastructureConfigurationS3Log pulumi.set(self, "s3_logs", value) +if not MYPY: + class InfrastructureConfigurationS3LogsArgsDict(TypedDict): + """ + The S3 path in which to store the logs. + """ + s3_bucket_name: NotRequired[pulumi.Input[str]] + """ + S3BucketName + """ + s3_key_prefix: NotRequired[pulumi.Input[str]] + """ + S3KeyPrefix + """ +elif False: + InfrastructureConfigurationS3LogsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InfrastructureConfigurationS3LogsArgs: def __init__(__self__, *, @@ -1980,6 +2723,22 @@ def s3_key_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_key_prefix", value) +if not MYPY: + class LifecyclePolicyActionArgsDict(TypedDict): + """ + The action of the policy detail. + """ + type: pulumi.Input['LifecyclePolicyActionType'] + """ + The action type of the policy detail. + """ + include_resources: NotRequired[pulumi.Input['LifecyclePolicyIncludeResourcesArgsDict']] + """ + Specifies the resources that the lifecycle policy applies to. + """ +elif False: + LifecyclePolicyActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LifecyclePolicyActionArgs: def __init__(__self__, *, @@ -2019,6 +2778,34 @@ def include_resources(self, value: Optional[pulumi.Input['LifecyclePolicyInclude pulumi.set(self, "include_resources", value) +if not MYPY: + class LifecyclePolicyAmiExclusionRulesArgsDict(TypedDict): + """ + The AMI exclusion rules for the policy detail. + """ + is_public: NotRequired[pulumi.Input[bool]] + """ + Use to apply lifecycle policy actions on whether the AMI is public. + """ + last_launched: NotRequired[pulumi.Input['LifecyclePolicyLastLaunchedArgsDict']] + """ + Use to apply lifecycle policy actions on AMIs launched before a certain time. + """ + regions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Use to apply lifecycle policy actions on AMIs distributed to a set of regions. + """ + shared_accounts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Use to apply lifecycle policy actions on AMIs shared with a set of regions. + """ + tag_map: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The AMIs to select by tag. + """ +elif False: + LifecyclePolicyAmiExclusionRulesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LifecyclePolicyAmiExclusionRulesArgs: def __init__(__self__, *, @@ -2107,6 +2894,22 @@ def tag_map(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] pulumi.set(self, "tag_map", value) +if not MYPY: + class LifecyclePolicyExclusionRulesArgsDict(TypedDict): + """ + The exclusion rules to apply of the policy detail. + """ + amis: NotRequired[pulumi.Input['LifecyclePolicyAmiExclusionRulesArgsDict']] + """ + Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action. + """ + tag_map: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The Image Builder tags to filter on. + """ +elif False: + LifecyclePolicyExclusionRulesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LifecyclePolicyExclusionRulesArgs: def __init__(__self__, *, @@ -2147,6 +2950,30 @@ def tag_map(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] pulumi.set(self, "tag_map", value) +if not MYPY: + class LifecyclePolicyFilterArgsDict(TypedDict): + """ + The filters to apply of the policy detail. + """ + type: pulumi.Input['LifecyclePolicyFilterType'] + """ + The filter type. + """ + value: pulumi.Input[int] + """ + The filter value. + """ + retain_at_least: NotRequired[pulumi.Input[int]] + """ + The minimum number of Image Builder resources to retain. + """ + unit: NotRequired[pulumi.Input['LifecyclePolicyTimeUnit']] + """ + The value's time unit. + """ +elif False: + LifecyclePolicyFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LifecyclePolicyFilterArgs: def __init__(__self__, *, @@ -2217,6 +3044,26 @@ def unit(self, value: Optional[pulumi.Input['LifecyclePolicyTimeUnit']]): pulumi.set(self, "unit", value) +if not MYPY: + class LifecyclePolicyIncludeResourcesArgsDict(TypedDict): + """ + The included resources of the policy detail. + """ + amis: NotRequired[pulumi.Input[bool]] + """ + Use to configure lifecycle actions on AMIs. + """ + containers: NotRequired[pulumi.Input[bool]] + """ + Use to configure lifecycle actions on containers. + """ + snapshots: NotRequired[pulumi.Input[bool]] + """ + Use to configure lifecycle actions on snapshots. + """ +elif False: + LifecyclePolicyIncludeResourcesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LifecyclePolicyIncludeResourcesArgs: def __init__(__self__, *, @@ -2273,6 +3120,22 @@ def snapshots(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "snapshots", value) +if not MYPY: + class LifecyclePolicyLastLaunchedArgsDict(TypedDict): + """ + The last launched time of a resource. + """ + unit: pulumi.Input['LifecyclePolicyTimeUnit'] + """ + The value's time unit. + """ + value: pulumi.Input[int] + """ + The last launched value. + """ +elif False: + LifecyclePolicyLastLaunchedArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LifecyclePolicyLastLaunchedArgs: def __init__(__self__, *, @@ -2311,6 +3174,26 @@ def value(self, value: pulumi.Input[int]): pulumi.set(self, "value", value) +if not MYPY: + class LifecyclePolicyPolicyDetailArgsDict(TypedDict): + """ + The policy detail of the lifecycle policy. + """ + action: pulumi.Input['LifecyclePolicyActionArgsDict'] + """ + Configuration details for the policy action. + """ + filter: pulumi.Input['LifecyclePolicyFilterArgsDict'] + """ + Specifies the resources that the lifecycle policy applies to. + """ + exclusion_rules: NotRequired[pulumi.Input['LifecyclePolicyExclusionRulesArgsDict']] + """ + Additional rules to specify resources that should be exempt from policy actions. + """ +elif False: + LifecyclePolicyPolicyDetailArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LifecyclePolicyPolicyDetailArgs: def __init__(__self__, *, @@ -2365,6 +3248,22 @@ def exclusion_rules(self, value: Optional[pulumi.Input['LifecyclePolicyExclusion pulumi.set(self, "exclusion_rules", value) +if not MYPY: + class LifecyclePolicyRecipeSelectionArgsDict(TypedDict): + """ + The recipe to apply the lifecycle policy for. + """ + name: pulumi.Input[str] + """ + The recipe name. + """ + semantic_version: pulumi.Input[str] + """ + The recipe version. + """ +elif False: + LifecyclePolicyRecipeSelectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LifecyclePolicyRecipeSelectionArgs: def __init__(__self__, *, @@ -2403,6 +3302,22 @@ def semantic_version(self, value: pulumi.Input[str]): pulumi.set(self, "semantic_version", value) +if not MYPY: + class LifecyclePolicyResourceSelectionArgsDict(TypedDict): + """ + The resource selection for the lifecycle policy. + """ + recipes: NotRequired[pulumi.Input[Sequence[pulumi.Input['LifecyclePolicyRecipeSelectionArgsDict']]]] + """ + The recipes to select. + """ + tag_map: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The Image Builder resources to select by tag. + """ +elif False: + LifecyclePolicyResourceSelectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LifecyclePolicyResourceSelectionArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/imagebuilder/component.py b/sdk/python/pulumi_aws_native/imagebuilder/component.py index 4fb28e10c5..854e15201d 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/component.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/component.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/imagebuilder/container_recipe.py b/sdk/python/pulumi_aws_native/imagebuilder/container_recipe.py index 7989a107b4..4a579ab203 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/container_recipe.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/container_recipe.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/imagebuilder/distribution_configuration.py b/sdk/python/pulumi_aws_native/imagebuilder/distribution_configuration.py index 7a8b39432d..2b20a942a8 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/distribution_configuration.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/distribution_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/imagebuilder/get_component.py b/sdk/python/pulumi_aws_native/imagebuilder/get_component.py index ed9b77e2f1..e0c4a14f6c 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_component.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_component.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -83,9 +88,6 @@ def get_component(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), encrypted=pulumi.get(__ret__, 'encrypted'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_component) def get_component_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetComponentResult]: """ @@ -94,4 +96,11 @@ def get_component_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the component. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:imagebuilder:getComponent', __args__, opts=opts, typ=GetComponentResult) + return __ret__.apply(lambda __response__: GetComponentResult( + arn=pulumi.get(__response__, 'arn'), + encrypted=pulumi.get(__response__, 'encrypted'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/imagebuilder/get_container_recipe.py b/sdk/python/pulumi_aws_native/imagebuilder/get_container_recipe.py index f946c15b74..2cc82a57ca 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_container_recipe.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_container_recipe.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_container_recipe(arn: Optional[str] = None, return AwaitableGetContainerRecipeResult( arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_container_recipe) def get_container_recipe_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContainerRecipeResult]: """ @@ -67,4 +69,9 @@ def get_container_recipe_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the container recipe. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:imagebuilder:getContainerRecipe', __args__, opts=opts, typ=GetContainerRecipeResult) + return __ret__.apply(lambda __response__: GetContainerRecipeResult( + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/imagebuilder/get_distribution_configuration.py b/sdk/python/pulumi_aws_native/imagebuilder/get_distribution_configuration.py index c507891625..e318fb7b65 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_distribution_configuration.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_distribution_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -97,9 +102,6 @@ def get_distribution_configuration(arn: Optional[str] = None, description=pulumi.get(__ret__, 'description'), distributions=pulumi.get(__ret__, 'distributions'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_distribution_configuration) def get_distribution_configuration_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDistributionConfigurationResult]: """ @@ -108,4 +110,12 @@ def get_distribution_configuration_output(arn: Optional[pulumi.Input[str]] = Non :param str arn: The Amazon Resource Name (ARN) of the distribution configuration. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:imagebuilder:getDistributionConfiguration', __args__, opts=opts, typ=GetDistributionConfigurationResult) + return __ret__.apply(lambda __response__: GetDistributionConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + distributions=pulumi.get(__response__, 'distributions'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/imagebuilder/get_image.py b/sdk/python/pulumi_aws_native/imagebuilder/get_image.py index 1d77cad298..3efd370ff0 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_image.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_image.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -108,9 +113,6 @@ def get_image(arn: Optional[str] = None, image_id=pulumi.get(__ret__, 'image_id'), image_uri=pulumi.get(__ret__, 'image_uri'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_image) def get_image_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetImageResult]: """ @@ -119,4 +121,13 @@ def get_image_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the image. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:imagebuilder:getImage', __args__, opts=opts, typ=GetImageResult) + return __ret__.apply(lambda __response__: GetImageResult( + arn=pulumi.get(__response__, 'arn'), + execution_role=pulumi.get(__response__, 'execution_role'), + image_id=pulumi.get(__response__, 'image_id'), + image_uri=pulumi.get(__response__, 'image_uri'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_aws_native/imagebuilder/get_image_pipeline.py b/sdk/python/pulumi_aws_native/imagebuilder/get_image_pipeline.py index 4bd07b8c6e..224550123c 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_image_pipeline.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_image_pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -227,9 +232,6 @@ def get_image_pipeline(arn: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), workflows=pulumi.get(__ret__, 'workflows')) - - -@_utilities.lift_output_func(get_image_pipeline) def get_image_pipeline_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetImagePipelineResult]: """ @@ -238,4 +240,22 @@ def get_image_pipeline_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the image pipeline. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:imagebuilder:getImagePipeline', __args__, opts=opts, typ=GetImagePipelineResult) + return __ret__.apply(lambda __response__: GetImagePipelineResult( + arn=pulumi.get(__response__, 'arn'), + container_recipe_arn=pulumi.get(__response__, 'container_recipe_arn'), + description=pulumi.get(__response__, 'description'), + distribution_configuration_arn=pulumi.get(__response__, 'distribution_configuration_arn'), + enhanced_image_metadata_enabled=pulumi.get(__response__, 'enhanced_image_metadata_enabled'), + execution_role=pulumi.get(__response__, 'execution_role'), + image_recipe_arn=pulumi.get(__response__, 'image_recipe_arn'), + image_scanning_configuration=pulumi.get(__response__, 'image_scanning_configuration'), + image_tests_configuration=pulumi.get(__response__, 'image_tests_configuration'), + infrastructure_configuration_arn=pulumi.get(__response__, 'infrastructure_configuration_arn'), + schedule=pulumi.get(__response__, 'schedule'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + workflows=pulumi.get(__response__, 'workflows'))) diff --git a/sdk/python/pulumi_aws_native/imagebuilder/get_image_recipe.py b/sdk/python/pulumi_aws_native/imagebuilder/get_image_recipe.py index b56e93ea2a..2d4aa92502 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_image_recipe.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_image_recipe.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_image_recipe(arn: Optional[str] = None, return AwaitableGetImageRecipeResult( additional_instance_configuration=pulumi.get(__ret__, 'additional_instance_configuration'), arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_image_recipe) def get_image_recipe_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetImageRecipeResult]: """ @@ -81,4 +83,10 @@ def get_image_recipe_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the image recipe. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:imagebuilder:getImageRecipe', __args__, opts=opts, typ=GetImageRecipeResult) + return __ret__.apply(lambda __response__: GetImageRecipeResult( + additional_instance_configuration=pulumi.get(__response__, 'additional_instance_configuration'), + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/imagebuilder/get_infrastructure_configuration.py b/sdk/python/pulumi_aws_native/imagebuilder/get_infrastructure_configuration.py index c750415df6..87fb252a9d 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_infrastructure_configuration.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_infrastructure_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -214,9 +219,6 @@ def get_infrastructure_configuration(arn: Optional[str] = None, subnet_id=pulumi.get(__ret__, 'subnet_id'), tags=pulumi.get(__ret__, 'tags'), terminate_instance_on_failure=pulumi.get(__ret__, 'terminate_instance_on_failure')) - - -@_utilities.lift_output_func(get_infrastructure_configuration) def get_infrastructure_configuration_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInfrastructureConfigurationResult]: """ @@ -225,4 +227,21 @@ def get_infrastructure_configuration_output(arn: Optional[pulumi.Input[str]] = N :param str arn: The Amazon Resource Name (ARN) of the infrastructure configuration. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:imagebuilder:getInfrastructureConfiguration', __args__, opts=opts, typ=GetInfrastructureConfigurationResult) + return __ret__.apply(lambda __response__: GetInfrastructureConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + instance_metadata_options=pulumi.get(__response__, 'instance_metadata_options'), + instance_profile_name=pulumi.get(__response__, 'instance_profile_name'), + instance_types=pulumi.get(__response__, 'instance_types'), + key_pair=pulumi.get(__response__, 'key_pair'), + logging=pulumi.get(__response__, 'logging'), + resource_tags=pulumi.get(__response__, 'resource_tags'), + security_group_ids=pulumi.get(__response__, 'security_group_ids'), + sns_topic_arn=pulumi.get(__response__, 'sns_topic_arn'), + subnet_id=pulumi.get(__response__, 'subnet_id'), + tags=pulumi.get(__response__, 'tags'), + terminate_instance_on_failure=pulumi.get(__response__, 'terminate_instance_on_failure'))) diff --git a/sdk/python/pulumi_aws_native/imagebuilder/get_lifecycle_policy.py b/sdk/python/pulumi_aws_native/imagebuilder/get_lifecycle_policy.py index 1657546af8..39f936615d 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_lifecycle_policy.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_lifecycle_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -149,9 +154,6 @@ def get_lifecycle_policy(arn: Optional[str] = None, resource_type=pulumi.get(__ret__, 'resource_type'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_lifecycle_policy) def get_lifecycle_policy_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLifecyclePolicyResult]: """ @@ -160,4 +162,16 @@ def get_lifecycle_policy_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the lifecycle policy. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:imagebuilder:getLifecyclePolicy', __args__, opts=opts, typ=GetLifecyclePolicyResult) + return __ret__.apply(lambda __response__: GetLifecyclePolicyResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + execution_role=pulumi.get(__response__, 'execution_role'), + policy_details=pulumi.get(__response__, 'policy_details'), + resource_selection=pulumi.get(__response__, 'resource_selection'), + resource_type=pulumi.get(__response__, 'resource_type'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/imagebuilder/get_workflow.py b/sdk/python/pulumi_aws_native/imagebuilder/get_workflow.py index ac34133afe..9c18484f9c 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/get_workflow.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/get_workflow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_workflow(arn: Optional[str] = None, return AwaitableGetWorkflowResult( arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_workflow) def get_workflow_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkflowResult]: """ @@ -67,4 +69,9 @@ def get_workflow_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the workflow. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:imagebuilder:getWorkflow', __args__, opts=opts, typ=GetWorkflowResult) + return __ret__.apply(lambda __response__: GetWorkflowResult( + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/imagebuilder/image.py b/sdk/python/pulumi_aws_native/imagebuilder/image.py index 286a24537f..a29ddfc99d 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/image.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/image.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/imagebuilder/image_pipeline.py b/sdk/python/pulumi_aws_native/imagebuilder/image_pipeline.py index dac663b795..c342da627b 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/image_pipeline.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/image_pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/imagebuilder/image_recipe.py b/sdk/python/pulumi_aws_native/imagebuilder/image_recipe.py index fee0626237..d2b52ab865 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/image_recipe.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/image_recipe.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/imagebuilder/infrastructure_configuration.py b/sdk/python/pulumi_aws_native/imagebuilder/infrastructure_configuration.py index 0c3b9c8977..c99da041e5 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/infrastructure_configuration.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/infrastructure_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/imagebuilder/lifecycle_policy.py b/sdk/python/pulumi_aws_native/imagebuilder/lifecycle_policy.py index c5c8659401..d2308d5a68 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/lifecycle_policy.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/lifecycle_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/imagebuilder/outputs.py b/sdk/python/pulumi_aws_native/imagebuilder/outputs.py index 6a534e876e..ae212b19e7 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/outputs.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/imagebuilder/workflow.py b/sdk/python/pulumi_aws_native/imagebuilder/workflow.py index ba0331941b..247f2dbc1d 100644 --- a/sdk/python/pulumi_aws_native/imagebuilder/workflow.py +++ b/sdk/python/pulumi_aws_native/imagebuilder/workflow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/import_value.py b/sdk/python/pulumi_aws_native/import_value.py index 82e8e90291..af67872ca9 100644 --- a/sdk/python/pulumi_aws_native/import_value.py +++ b/sdk/python/pulumi_aws_native/import_value.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities __all__ = [ @@ -50,12 +55,14 @@ def import_value(name: Optional[str] = None, return AwaitableImportValueResult( value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(import_value) def import_value_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[ImportValueResult]: """ Use this data source to access information about an existing resource. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:index:importValue', __args__, opts=opts, typ=ImportValueResult) + return __ret__.apply(lambda __response__: ImportValueResult( + value=pulumi.get(__response__, 'value'))) diff --git a/sdk/python/pulumi_aws_native/inspector/_inputs.py b/sdk/python/pulumi_aws_native/inspector/_inputs.py index d7969a9751..93c8eb0ade 100644 --- a/sdk/python/pulumi_aws_native/inspector/_inputs.py +++ b/sdk/python/pulumi_aws_native/inspector/_inputs.py @@ -4,16 +4,38 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'AssessmentTemplateTagArgs', + 'AssessmentTemplateTagArgsDict', 'ResourceGroupTagArgs', + 'ResourceGroupTagArgsDict', ] +MYPY = False + +if not MYPY: + class AssessmentTemplateTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + A tag key. + """ + value: pulumi.Input[str] + """ + A value assigned to a tag key. + """ +elif False: + AssessmentTemplateTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssessmentTemplateTagArgs: def __init__(__self__, *, @@ -51,6 +73,19 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ResourceGroupTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + A tag key. + """ + value: pulumi.Input[str] + """ + A value assigned to a tag key. + """ +elif False: + ResourceGroupTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceGroupTagArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/inspector/assessment_target.py b/sdk/python/pulumi_aws_native/inspector/assessment_target.py index fc2c010f15..6323dd3bc3 100644 --- a/sdk/python/pulumi_aws_native/inspector/assessment_target.py +++ b/sdk/python/pulumi_aws_native/inspector/assessment_target.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['AssessmentTargetArgs', 'AssessmentTarget'] diff --git a/sdk/python/pulumi_aws_native/inspector/assessment_template.py b/sdk/python/pulumi_aws_native/inspector/assessment_template.py index db61fc6f36..ba139d10d0 100644 --- a/sdk/python/pulumi_aws_native/inspector/assessment_template.py +++ b/sdk/python/pulumi_aws_native/inspector/assessment_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/inspector/get_assessment_target.py b/sdk/python/pulumi_aws_native/inspector/get_assessment_target.py index 35dfaa51d4..8dfc4c3c32 100644 --- a/sdk/python/pulumi_aws_native/inspector/get_assessment_target.py +++ b/sdk/python/pulumi_aws_native/inspector/get_assessment_target.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_assessment_target(arn: Optional[str] = None, return AwaitableGetAssessmentTargetResult( arn=pulumi.get(__ret__, 'arn'), resource_group_arn=pulumi.get(__ret__, 'resource_group_arn')) - - -@_utilities.lift_output_func(get_assessment_target) def get_assessment_target_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAssessmentTargetResult]: """ @@ -80,4 +82,10 @@ def get_assessment_target_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) that specifies the assessment target that is created. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:inspector:getAssessmentTarget', __args__, opts=opts, typ=GetAssessmentTargetResult) + return __ret__.apply(lambda __response__: GetAssessmentTargetResult( + arn=pulumi.get(__response__, 'arn'), + resource_group_arn=pulumi.get(__response__, 'resource_group_arn'))) diff --git a/sdk/python/pulumi_aws_native/inspector/get_assessment_template.py b/sdk/python/pulumi_aws_native/inspector/get_assessment_template.py index b465264701..0b1fcf080d 100644 --- a/sdk/python/pulumi_aws_native/inspector/get_assessment_template.py +++ b/sdk/python/pulumi_aws_native/inspector/get_assessment_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_assessment_template(arn: Optional[str] = None, return AwaitableGetAssessmentTemplateResult( arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_assessment_template) def get_assessment_template_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAssessmentTemplateResult]: """ @@ -67,4 +69,9 @@ def get_assessment_template_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) that specifies the assessment template that is created. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:inspector:getAssessmentTemplate', __args__, opts=opts, typ=GetAssessmentTemplateResult) + return __ret__.apply(lambda __response__: GetAssessmentTemplateResult( + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/inspector/get_resource_group.py b/sdk/python/pulumi_aws_native/inspector/get_resource_group.py index bbb6de234e..a2a4846afd 100644 --- a/sdk/python/pulumi_aws_native/inspector/get_resource_group.py +++ b/sdk/python/pulumi_aws_native/inspector/get_resource_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_resource_group(arn: Optional[str] = None, return AwaitableGetResourceGroupResult( arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_resource_group) def get_resource_group_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceGroupResult]: """ @@ -67,4 +69,9 @@ def get_resource_group_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) that specifies the resource group that is created. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:inspector:getResourceGroup', __args__, opts=opts, typ=GetResourceGroupResult) + return __ret__.apply(lambda __response__: GetResourceGroupResult( + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/inspector/outputs.py b/sdk/python/pulumi_aws_native/inspector/outputs.py index 0ec461eda0..691cd9e6f9 100644 --- a/sdk/python/pulumi_aws_native/inspector/outputs.py +++ b/sdk/python/pulumi_aws_native/inspector/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/inspector/resource_group.py b/sdk/python/pulumi_aws_native/inspector/resource_group.py index 7d073e11c6..44b0bc8264 100644 --- a/sdk/python/pulumi_aws_native/inspector/resource_group.py +++ b/sdk/python/pulumi_aws_native/inspector/resource_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/inspectorv2/_inputs.py b/sdk/python/pulumi_aws_native/inspectorv2/_inputs.py index c365efbeb3..7e37542e99 100644 --- a/sdk/python/pulumi_aws_native/inspectorv2/_inputs.py +++ b/sdk/python/pulumi_aws_native/inspectorv2/_inputs.py @@ -4,29 +4,57 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CisScanConfigurationCisTargetsArgs', + 'CisScanConfigurationCisTargetsArgsDict', 'CisScanConfigurationDailyScheduleArgs', + 'CisScanConfigurationDailyScheduleArgsDict', 'CisScanConfigurationMonthlyScheduleArgs', + 'CisScanConfigurationMonthlyScheduleArgsDict', 'CisScanConfigurationOneTimeScheduleArgs', + 'CisScanConfigurationOneTimeScheduleArgsDict', 'CisScanConfigurationScheduleArgs', + 'CisScanConfigurationScheduleArgsDict', 'CisScanConfigurationTimeArgs', + 'CisScanConfigurationTimeArgsDict', 'CisScanConfigurationWeeklyScheduleArgs', + 'CisScanConfigurationWeeklyScheduleArgsDict', 'FilterCriteriaArgs', + 'FilterCriteriaArgsDict', 'FilterDateFilterArgs', + 'FilterDateFilterArgsDict', 'FilterMapFilterArgs', + 'FilterMapFilterArgsDict', 'FilterNumberFilterArgs', + 'FilterNumberFilterArgsDict', 'FilterPackageFilterArgs', + 'FilterPackageFilterArgsDict', 'FilterPortRangeFilterArgs', + 'FilterPortRangeFilterArgsDict', 'FilterStringFilterArgs', + 'FilterStringFilterArgsDict', ] +MYPY = False + +if not MYPY: + class CisScanConfigurationCisTargetsArgsDict(TypedDict): + account_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + target_resource_tags: NotRequired[pulumi.Input[Mapping[str, Any]]] +elif False: + CisScanConfigurationCisTargetsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CisScanConfigurationCisTargetsArgs: def __init__(__self__, *, @@ -55,6 +83,12 @@ def target_resource_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]) pulumi.set(self, "target_resource_tags", value) +if not MYPY: + class CisScanConfigurationDailyScheduleArgsDict(TypedDict): + start_time: pulumi.Input['CisScanConfigurationTimeArgsDict'] +elif False: + CisScanConfigurationDailyScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CisScanConfigurationDailyScheduleArgs: def __init__(__self__, *, @@ -71,6 +105,13 @@ def start_time(self, value: pulumi.Input['CisScanConfigurationTimeArgs']): pulumi.set(self, "start_time", value) +if not MYPY: + class CisScanConfigurationMonthlyScheduleArgsDict(TypedDict): + day: pulumi.Input['CisScanConfigurationDay'] + start_time: pulumi.Input['CisScanConfigurationTimeArgsDict'] +elif False: + CisScanConfigurationMonthlyScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CisScanConfigurationMonthlyScheduleArgs: def __init__(__self__, *, @@ -98,12 +139,30 @@ def start_time(self, value: pulumi.Input['CisScanConfigurationTimeArgs']): pulumi.set(self, "start_time", value) +if not MYPY: + class CisScanConfigurationOneTimeScheduleArgsDict(TypedDict): + pass +elif False: + CisScanConfigurationOneTimeScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CisScanConfigurationOneTimeScheduleArgs: def __init__(__self__): pass +if not MYPY: + class CisScanConfigurationScheduleArgsDict(TypedDict): + """ + Choose a Schedule cadence + """ + daily: NotRequired[pulumi.Input['CisScanConfigurationDailyScheduleArgsDict']] + monthly: NotRequired[pulumi.Input['CisScanConfigurationMonthlyScheduleArgsDict']] + one_time: NotRequired[pulumi.Input['CisScanConfigurationOneTimeScheduleArgsDict']] + weekly: NotRequired[pulumi.Input['CisScanConfigurationWeeklyScheduleArgsDict']] +elif False: + CisScanConfigurationScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CisScanConfigurationScheduleArgs: def __init__(__self__, *, @@ -160,6 +219,13 @@ def weekly(self, value: Optional[pulumi.Input['CisScanConfigurationWeeklySchedul pulumi.set(self, "weekly", value) +if not MYPY: + class CisScanConfigurationTimeArgsDict(TypedDict): + time_of_day: pulumi.Input[str] + time_zone: pulumi.Input[str] +elif False: + CisScanConfigurationTimeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CisScanConfigurationTimeArgs: def __init__(__self__, *, @@ -187,6 +253,13 @@ def time_zone(self, value: pulumi.Input[str]): pulumi.set(self, "time_zone", value) +if not MYPY: + class CisScanConfigurationWeeklyScheduleArgsDict(TypedDict): + days: pulumi.Input[Sequence[pulumi.Input['CisScanConfigurationDay']]] + start_time: pulumi.Input['CisScanConfigurationTimeArgsDict'] +elif False: + CisScanConfigurationWeeklyScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CisScanConfigurationWeeklyScheduleArgs: def __init__(__self__, *, @@ -214,6 +287,135 @@ def start_time(self, value: pulumi.Input['CisScanConfigurationTimeArgs']): pulumi.set(self, "start_time", value) +if not MYPY: + class FilterCriteriaArgsDict(TypedDict): + aws_account_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details of the AWS account IDs used to filter findings. + """ + component_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details of the component IDs used to filter findings. + """ + component_type: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details of the component types used to filter findings. + """ + ec2_instance_image_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details of the Amazon EC2 instance image IDs used to filter findings. + """ + ec2_instance_subnet_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details of the Amazon EC2 instance subnet IDs used to filter findings. + """ + ec2_instance_vpc_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details of the Amazon EC2 instance VPC IDs used to filter findings. + """ + ecr_image_architecture: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details of the Amazon ECR image architecture types used to filter findings. + """ + ecr_image_hash: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details of the Amazon ECR image hashes used to filter findings. + """ + ecr_image_pushed_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterDateFilterArgsDict']]]] + """ + Details on the Amazon ECR image push date and time used to filter findings. + """ + ecr_image_registry: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the Amazon ECR registry used to filter findings. + """ + ecr_image_repository_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the name of the Amazon ECR repository used to filter findings. + """ + ecr_image_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + The tags attached to the Amazon ECR container image. + """ + finding_arn: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the finding ARNs used to filter findings. + """ + finding_status: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the finding status types used to filter findings. + """ + finding_type: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the finding types used to filter findings. + """ + first_observed_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterDateFilterArgsDict']]]] + """ + Details on the date and time a finding was first seen used to filter findings. + """ + inspector_score: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterNumberFilterArgsDict']]]] + """ + The Amazon Inspector score to filter on. + """ + last_observed_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterDateFilterArgsDict']]]] + """ + Details on the date and time a finding was last seen used to filter findings. + """ + network_protocol: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on network protocol used to filter findings. + """ + port_range: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterPortRangeFilterArgsDict']]]] + """ + Details on the port ranges used to filter findings. + """ + related_vulnerabilities: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the related vulnerabilities used to filter findings. + """ + resource_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the resource IDs used to filter findings. + """ + resource_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterMapFilterArgsDict']]]] + """ + Details on the resource tags used to filter findings. + """ + resource_type: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the resource types used to filter findings. + """ + severity: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the severity used to filter findings. + """ + title: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the finding title used to filter findings. + """ + updated_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterDateFilterArgsDict']]]] + """ + Details on the date and time a finding was last updated at used to filter findings. + """ + vendor_severity: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the vendor severity used to filter findings. + """ + vulnerability_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the vulnerability ID used to filter findings. + """ + vulnerability_source: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterStringFilterArgsDict']]]] + """ + Details on the vulnerability score to filter findings by. + """ + vulnerable_packages: NotRequired[pulumi.Input[Sequence[pulumi.Input['FilterPackageFilterArgsDict']]]] + """ + Details on the vulnerable packages used to filter findings. + """ +elif False: + FilterCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FilterCriteriaArgs: def __init__(__self__, *, @@ -717,6 +919,13 @@ def vulnerable_packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "vulnerable_packages", value) +if not MYPY: + class FilterDateFilterArgsDict(TypedDict): + end_inclusive: NotRequired[pulumi.Input[int]] + start_inclusive: NotRequired[pulumi.Input[int]] +elif False: + FilterDateFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FilterDateFilterArgs: def __init__(__self__, *, @@ -746,6 +955,14 @@ def start_inclusive(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "start_inclusive", value) +if not MYPY: + class FilterMapFilterArgsDict(TypedDict): + comparison: pulumi.Input['FilterMapComparison'] + key: NotRequired[pulumi.Input[str]] + value: NotRequired[pulumi.Input[str]] +elif False: + FilterMapFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FilterMapFilterArgs: def __init__(__self__, *, @@ -786,6 +1003,13 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class FilterNumberFilterArgsDict(TypedDict): + lower_inclusive: NotRequired[pulumi.Input[float]] + upper_inclusive: NotRequired[pulumi.Input[float]] +elif False: + FilterNumberFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FilterNumberFilterArgs: def __init__(__self__, *, @@ -815,6 +1039,17 @@ def upper_inclusive(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "upper_inclusive", value) +if not MYPY: + class FilterPackageFilterArgsDict(TypedDict): + architecture: NotRequired[pulumi.Input['FilterStringFilterArgsDict']] + epoch: NotRequired[pulumi.Input['FilterNumberFilterArgsDict']] + name: NotRequired[pulumi.Input['FilterStringFilterArgsDict']] + release: NotRequired[pulumi.Input['FilterStringFilterArgsDict']] + source_layer_hash: NotRequired[pulumi.Input['FilterStringFilterArgsDict']] + version: NotRequired[pulumi.Input['FilterStringFilterArgsDict']] +elif False: + FilterPackageFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FilterPackageFilterArgs: def __init__(__self__, *, @@ -892,6 +1127,13 @@ def version(self, value: Optional[pulumi.Input['FilterStringFilterArgs']]): pulumi.set(self, "version", value) +if not MYPY: + class FilterPortRangeFilterArgsDict(TypedDict): + begin_inclusive: NotRequired[pulumi.Input[int]] + end_inclusive: NotRequired[pulumi.Input[int]] +elif False: + FilterPortRangeFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FilterPortRangeFilterArgs: def __init__(__self__, *, @@ -921,6 +1163,13 @@ def end_inclusive(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "end_inclusive", value) +if not MYPY: + class FilterStringFilterArgsDict(TypedDict): + comparison: pulumi.Input['FilterStringComparison'] + value: pulumi.Input[str] +elif False: + FilterStringFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FilterStringFilterArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/inspectorv2/cis_scan_configuration.py b/sdk/python/pulumi_aws_native/inspectorv2/cis_scan_configuration.py index 8e3f935fef..a5e8c16286 100644 --- a/sdk/python/pulumi_aws_native/inspectorv2/cis_scan_configuration.py +++ b/sdk/python/pulumi_aws_native/inspectorv2/cis_scan_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/inspectorv2/filter.py b/sdk/python/pulumi_aws_native/inspectorv2/filter.py index 6577ad796e..825755c01f 100644 --- a/sdk/python/pulumi_aws_native/inspectorv2/filter.py +++ b/sdk/python/pulumi_aws_native/inspectorv2/filter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/inspectorv2/get_cis_scan_configuration.py b/sdk/python/pulumi_aws_native/inspectorv2/get_cis_scan_configuration.py index 4324201025..dcaa97d87d 100644 --- a/sdk/python/pulumi_aws_native/inspectorv2/get_cis_scan_configuration.py +++ b/sdk/python/pulumi_aws_native/inspectorv2/get_cis_scan_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -123,9 +128,6 @@ def get_cis_scan_configuration(arn: Optional[str] = None, security_level=pulumi.get(__ret__, 'security_level'), tags=pulumi.get(__ret__, 'tags'), targets=pulumi.get(__ret__, 'targets')) - - -@_utilities.lift_output_func(get_cis_scan_configuration) def get_cis_scan_configuration_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCisScanConfigurationResult]: """ @@ -134,4 +136,14 @@ def get_cis_scan_configuration_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: CIS Scan configuration unique identifier """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:inspectorv2:getCisScanConfiguration', __args__, opts=opts, typ=GetCisScanConfigurationResult) + return __ret__.apply(lambda __response__: GetCisScanConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + scan_name=pulumi.get(__response__, 'scan_name'), + schedule=pulumi.get(__response__, 'schedule'), + security_level=pulumi.get(__response__, 'security_level'), + tags=pulumi.get(__response__, 'tags'), + targets=pulumi.get(__response__, 'targets'))) diff --git a/sdk/python/pulumi_aws_native/inspectorv2/get_filter.py b/sdk/python/pulumi_aws_native/inspectorv2/get_filter.py index f02980d2df..bffb151f10 100644 --- a/sdk/python/pulumi_aws_native/inspectorv2/get_filter.py +++ b/sdk/python/pulumi_aws_native/inspectorv2/get_filter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -110,9 +115,6 @@ def get_filter(arn: Optional[str] = None, filter_action=pulumi.get(__ret__, 'filter_action'), filter_criteria=pulumi.get(__ret__, 'filter_criteria'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_filter) def get_filter_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFilterResult]: """ @@ -121,4 +123,13 @@ def get_filter_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Findings filter ARN. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:inspectorv2:getFilter', __args__, opts=opts, typ=GetFilterResult) + return __ret__.apply(lambda __response__: GetFilterResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + filter_action=pulumi.get(__response__, 'filter_action'), + filter_criteria=pulumi.get(__response__, 'filter_criteria'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_aws_native/inspectorv2/outputs.py b/sdk/python/pulumi_aws_native/inspectorv2/outputs.py index 559fa5de05..29ea236871 100644 --- a/sdk/python/pulumi_aws_native/inspectorv2/outputs.py +++ b/sdk/python/pulumi_aws_native/inspectorv2/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/internetmonitor/_inputs.py b/sdk/python/pulumi_aws_native/internetmonitor/_inputs.py index d0e3839ce5..a85db164d2 100644 --- a/sdk/python/pulumi_aws_native/internetmonitor/_inputs.py +++ b/sdk/python/pulumi_aws_native/internetmonitor/_inputs.py @@ -4,19 +4,51 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'MonitorHealthEventsConfigArgs', + 'MonitorHealthEventsConfigArgsDict', 'MonitorInternetMeasurementsLogDeliveryArgs', + 'MonitorInternetMeasurementsLogDeliveryArgsDict', 'MonitorLocalHealthEventsConfigArgs', + 'MonitorLocalHealthEventsConfigArgsDict', 'MonitorS3ConfigArgs', + 'MonitorS3ConfigArgsDict', ] +MYPY = False + +if not MYPY: + class MonitorHealthEventsConfigArgsDict(TypedDict): + availability_local_health_events_config: NotRequired[pulumi.Input['MonitorLocalHealthEventsConfigArgsDict']] + """ + The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local availability issue. + """ + availability_score_threshold: NotRequired[pulumi.Input[float]] + """ + The health event threshold percentage set for availability scores. When the overall availability score is at or below this percentage, Internet Monitor creates a health event. + """ + performance_local_health_events_config: NotRequired[pulumi.Input['MonitorLocalHealthEventsConfigArgsDict']] + """ + The configuration that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance issue. + """ + performance_score_threshold: NotRequired[pulumi.Input[float]] + """ + The health event threshold percentage set for performance scores. When the overall performance score is at or below this percentage, Internet Monitor creates a health event. + """ +elif False: + MonitorHealthEventsConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitorHealthEventsConfigArgs: def __init__(__self__, *, @@ -88,6 +120,15 @@ def performance_score_threshold(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "performance_score_threshold", value) +if not MYPY: + class MonitorInternetMeasurementsLogDeliveryArgsDict(TypedDict): + s3_config: NotRequired[pulumi.Input['MonitorS3ConfigArgsDict']] + """ + The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3. + """ +elif False: + MonitorInternetMeasurementsLogDeliveryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitorInternetMeasurementsLogDeliveryArgs: def __init__(__self__, *, @@ -111,6 +152,25 @@ def s3_config(self, value: Optional[pulumi.Input['MonitorS3ConfigArgs']]): pulumi.set(self, "s3_config", value) +if not MYPY: + class MonitorLocalHealthEventsConfigArgsDict(TypedDict): + health_score_threshold: NotRequired[pulumi.Input[float]] + """ + The health event threshold percentage set for a local health score. + """ + min_traffic_impact: NotRequired[pulumi.Input[float]] + """ + The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a threshold is crossed for a local health score. + + If you don't set a minimum traffic impact threshold, the default value is 0.01%. + """ + status: NotRequired[pulumi.Input['MonitorLocalHealthEventsConfigStatus']] + """ + The status of whether Internet Monitor creates a health event based on a threshold percentage set for a local health score. The status can be `ENABLED` or `DISABLED` . + """ +elif False: + MonitorLocalHealthEventsConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitorLocalHealthEventsConfigArgs: def __init__(__self__, *, @@ -170,6 +230,23 @@ def status(self, value: Optional[pulumi.Input['MonitorLocalHealthEventsConfigSta pulumi.set(self, "status", value) +if not MYPY: + class MonitorS3ConfigArgsDict(TypedDict): + bucket_name: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 bucket name for internet measurements publishing. + """ + bucket_prefix: NotRequired[pulumi.Input[str]] + """ + An optional Amazon S3 bucket prefix for internet measurements publishing. + """ + log_delivery_status: NotRequired[pulumi.Input['MonitorS3ConfigLogDeliveryStatus']] + """ + The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket. The delivery status is `ENABLED` if you choose to deliver internet measurements to an S3 bucket, and `DISABLED` otherwise. + """ +elif False: + MonitorS3ConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitorS3ConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/internetmonitor/get_monitor.py b/sdk/python/pulumi_aws_native/internetmonitor/get_monitor.py index ca0bc70338..19ffb43af9 100644 --- a/sdk/python/pulumi_aws_native/internetmonitor/get_monitor.py +++ b/sdk/python/pulumi_aws_native/internetmonitor/get_monitor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -216,9 +221,6 @@ def get_monitor(monitor_name: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), traffic_percentage_to_monitor=pulumi.get(__ret__, 'traffic_percentage_to_monitor')) - - -@_utilities.lift_output_func(get_monitor) def get_monitor_output(monitor_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitorResult]: """ @@ -227,4 +229,20 @@ def get_monitor_output(monitor_name: Optional[pulumi.Input[str]] = None, :param str monitor_name: The name of the monitor. A monitor name can contain only alphanumeric characters, dashes (-), periods (.), and underscores (_). """ - ... + __args__ = dict() + __args__['monitorName'] = monitor_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:internetmonitor:getMonitor', __args__, opts=opts, typ=GetMonitorResult) + return __ret__.apply(lambda __response__: GetMonitorResult( + created_at=pulumi.get(__response__, 'created_at'), + health_events_config=pulumi.get(__response__, 'health_events_config'), + internet_measurements_log_delivery=pulumi.get(__response__, 'internet_measurements_log_delivery'), + max_city_networks_to_monitor=pulumi.get(__response__, 'max_city_networks_to_monitor'), + modified_at=pulumi.get(__response__, 'modified_at'), + monitor_arn=pulumi.get(__response__, 'monitor_arn'), + processing_status=pulumi.get(__response__, 'processing_status'), + processing_status_info=pulumi.get(__response__, 'processing_status_info'), + resources=pulumi.get(__response__, 'resources'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + traffic_percentage_to_monitor=pulumi.get(__response__, 'traffic_percentage_to_monitor'))) diff --git a/sdk/python/pulumi_aws_native/internetmonitor/monitor.py b/sdk/python/pulumi_aws_native/internetmonitor/monitor.py index f1f997d68f..2756754236 100644 --- a/sdk/python/pulumi_aws_native/internetmonitor/monitor.py +++ b/sdk/python/pulumi_aws_native/internetmonitor/monitor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/internetmonitor/outputs.py b/sdk/python/pulumi_aws_native/internetmonitor/outputs.py index c732da59fb..94acd57287 100644 --- a/sdk/python/pulumi_aws_native/internetmonitor/outputs.py +++ b/sdk/python/pulumi_aws_native/internetmonitor/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iot/_inputs.py b/sdk/python/pulumi_aws_native/iot/_inputs.py index d0145f7809..95dc5de553 100644 --- a/sdk/python/pulumi_aws_native/iot/_inputs.py +++ b/sdk/python/pulumi_aws_native/iot/_inputs.py @@ -4,97 +4,198 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AbortConfigPropertiesArgs', + 'AbortConfigPropertiesArgsDict', 'AccountAuditConfigurationAuditCheckConfigurationsArgs', + 'AccountAuditConfigurationAuditCheckConfigurationsArgsDict', 'AccountAuditConfigurationAuditCheckConfigurationArgs', + 'AccountAuditConfigurationAuditCheckConfigurationArgsDict', 'AccountAuditConfigurationAuditNotificationTargetConfigurationsArgs', + 'AccountAuditConfigurationAuditNotificationTargetConfigurationsArgsDict', 'AccountAuditConfigurationAuditNotificationTargetArgs', + 'AccountAuditConfigurationAuditNotificationTargetArgsDict', 'BillingGroupPropertiesPropertiesArgs', + 'BillingGroupPropertiesPropertiesArgsDict', 'CaCertificateRegistrationConfigArgs', + 'CaCertificateRegistrationConfigArgsDict', 'DomainConfigurationAuthorizerConfigArgs', + 'DomainConfigurationAuthorizerConfigArgsDict', 'DomainConfigurationClientCertificateConfigArgs', + 'DomainConfigurationClientCertificateConfigArgsDict', 'DomainConfigurationServerCertificateConfigArgs', + 'DomainConfigurationServerCertificateConfigArgsDict', 'DomainConfigurationTlsConfigArgs', + 'DomainConfigurationTlsConfigArgsDict', 'FleetMetricAggregationTypeArgs', + 'FleetMetricAggregationTypeArgsDict', 'JobExecutionsRetryConfigPropertiesArgs', + 'JobExecutionsRetryConfigPropertiesArgsDict', 'JobExecutionsRolloutConfigPropertiesArgs', + 'JobExecutionsRolloutConfigPropertiesArgsDict', 'JobTemplateAbortCriteriaArgs', + 'JobTemplateAbortCriteriaArgsDict', 'JobTemplateExponentialRolloutRateArgs', + 'JobTemplateExponentialRolloutRateArgsDict', 'JobTemplateMaintenanceWindowArgs', + 'JobTemplateMaintenanceWindowArgsDict', 'JobTemplateRateIncreaseCriteriaArgs', + 'JobTemplateRateIncreaseCriteriaArgsDict', 'JobTemplateRetryCriteriaArgs', + 'JobTemplateRetryCriteriaArgsDict', 'MetricsExportConfigPropertiesArgs', + 'MetricsExportConfigPropertiesArgsDict', 'MitigationActionActionParamsArgs', + 'MitigationActionActionParamsArgsDict', 'MitigationActionAddThingsToThingGroupParamsArgs', + 'MitigationActionAddThingsToThingGroupParamsArgsDict', 'MitigationActionEnableIoTLoggingParamsArgs', + 'MitigationActionEnableIoTLoggingParamsArgsDict', 'MitigationActionPublishFindingToSnsParamsArgs', + 'MitigationActionPublishFindingToSnsParamsArgsDict', 'MitigationActionReplaceDefaultPolicyVersionParamsArgs', + 'MitigationActionReplaceDefaultPolicyVersionParamsArgsDict', 'MitigationActionUpdateCaCertificateParamsArgs', + 'MitigationActionUpdateCaCertificateParamsArgsDict', 'MitigationActionUpdateDeviceCertificateParamsArgs', + 'MitigationActionUpdateDeviceCertificateParamsArgsDict', 'PresignedUrlConfigPropertiesArgs', + 'PresignedUrlConfigPropertiesArgsDict', 'ProvisioningTemplateProvisioningHookArgs', + 'ProvisioningTemplateProvisioningHookArgsDict', 'SecurityProfileAlertTargetArgs', + 'SecurityProfileAlertTargetArgsDict', 'SecurityProfileBehaviorCriteriaArgs', + 'SecurityProfileBehaviorCriteriaArgsDict', 'SecurityProfileBehaviorArgs', + 'SecurityProfileBehaviorArgsDict', 'SecurityProfileMachineLearningDetectionConfigArgs', + 'SecurityProfileMachineLearningDetectionConfigArgsDict', 'SecurityProfileMetricDimensionArgs', + 'SecurityProfileMetricDimensionArgsDict', 'SecurityProfileMetricToRetainArgs', + 'SecurityProfileMetricToRetainArgsDict', 'SecurityProfileMetricValueArgs', + 'SecurityProfileMetricValueArgsDict', 'SecurityProfileStatisticalThresholdArgs', + 'SecurityProfileStatisticalThresholdArgsDict', 'ThingAttributePayloadArgs', + 'ThingAttributePayloadArgsDict', 'ThingGroupAttributePayloadArgs', + 'ThingGroupAttributePayloadArgsDict', 'ThingGroupPropertiesPropertiesArgs', + 'ThingGroupPropertiesPropertiesArgsDict', 'ThingTypePropertiesPropertiesArgs', + 'ThingTypePropertiesPropertiesArgsDict', 'TimeoutConfigPropertiesArgs', + 'TimeoutConfigPropertiesArgsDict', 'TopicRuleActionArgs', + 'TopicRuleActionArgsDict', 'TopicRuleAssetPropertyTimestampArgs', + 'TopicRuleAssetPropertyTimestampArgsDict', 'TopicRuleAssetPropertyValueArgs', + 'TopicRuleAssetPropertyValueArgsDict', 'TopicRuleAssetPropertyVariantArgs', + 'TopicRuleAssetPropertyVariantArgsDict', 'TopicRuleCloudwatchAlarmActionArgs', + 'TopicRuleCloudwatchAlarmActionArgsDict', 'TopicRuleCloudwatchLogsActionArgs', + 'TopicRuleCloudwatchLogsActionArgsDict', 'TopicRuleCloudwatchMetricActionArgs', + 'TopicRuleCloudwatchMetricActionArgsDict', 'TopicRuleDestinationHttpUrlDestinationSummaryArgs', + 'TopicRuleDestinationHttpUrlDestinationSummaryArgsDict', 'TopicRuleDestinationVpcDestinationPropertiesArgs', + 'TopicRuleDestinationVpcDestinationPropertiesArgsDict', 'TopicRuleDynamoDBv2ActionArgs', + 'TopicRuleDynamoDBv2ActionArgsDict', 'TopicRuleDynamoDbActionArgs', + 'TopicRuleDynamoDbActionArgsDict', 'TopicRuleElasticsearchActionArgs', + 'TopicRuleElasticsearchActionArgsDict', 'TopicRuleFirehoseActionArgs', + 'TopicRuleFirehoseActionArgsDict', 'TopicRuleHttpActionHeaderArgs', + 'TopicRuleHttpActionHeaderArgsDict', 'TopicRuleHttpActionArgs', + 'TopicRuleHttpActionArgsDict', 'TopicRuleHttpAuthorizationArgs', + 'TopicRuleHttpAuthorizationArgsDict', 'TopicRuleIotAnalyticsActionArgs', + 'TopicRuleIotAnalyticsActionArgsDict', 'TopicRuleIotEventsActionArgs', + 'TopicRuleIotEventsActionArgsDict', 'TopicRuleIotSiteWiseActionArgs', + 'TopicRuleIotSiteWiseActionArgsDict', 'TopicRuleKafkaActionHeaderArgs', + 'TopicRuleKafkaActionHeaderArgsDict', 'TopicRuleKafkaActionArgs', + 'TopicRuleKafkaActionArgsDict', 'TopicRuleKinesisActionArgs', + 'TopicRuleKinesisActionArgsDict', 'TopicRuleLambdaActionArgs', + 'TopicRuleLambdaActionArgsDict', 'TopicRuleLocationActionArgs', + 'TopicRuleLocationActionArgsDict', 'TopicRuleOpenSearchActionArgs', + 'TopicRuleOpenSearchActionArgsDict', 'TopicRulePayloadArgs', + 'TopicRulePayloadArgsDict', 'TopicRulePutAssetPropertyValueEntryArgs', + 'TopicRulePutAssetPropertyValueEntryArgsDict', 'TopicRulePutItemInputArgs', + 'TopicRulePutItemInputArgsDict', 'TopicRuleRepublishActionHeadersArgs', + 'TopicRuleRepublishActionHeadersArgsDict', 'TopicRuleRepublishActionArgs', + 'TopicRuleRepublishActionArgsDict', 'TopicRuleS3ActionArgs', + 'TopicRuleS3ActionArgsDict', 'TopicRuleSigV4AuthorizationArgs', + 'TopicRuleSigV4AuthorizationArgsDict', 'TopicRuleSnsActionArgs', + 'TopicRuleSnsActionArgsDict', 'TopicRuleSqsActionArgs', + 'TopicRuleSqsActionArgsDict', 'TopicRuleStepFunctionsActionArgs', + 'TopicRuleStepFunctionsActionArgsDict', 'TopicRuleTimestampArgs', + 'TopicRuleTimestampArgsDict', 'TopicRuleTimestreamActionArgs', + 'TopicRuleTimestreamActionArgsDict', 'TopicRuleTimestreamDimensionArgs', + 'TopicRuleTimestreamDimensionArgsDict', 'TopicRuleTimestreamTimestampArgs', + 'TopicRuleTimestreamTimestampArgsDict', 'TopicRuleUserPropertyArgs', + 'TopicRuleUserPropertyArgsDict', ] +MYPY = False + +if not MYPY: + class AbortConfigPropertiesArgsDict(TypedDict): + """ + The criteria that determine when and how a job abort takes place. + """ + criteria_list: pulumi.Input[Sequence[pulumi.Input['JobTemplateAbortCriteriaArgsDict']]] + """ + The list of criteria that determine when and how to abort the job. + """ +elif False: + AbortConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AbortConfigPropertiesArgs: def __init__(__self__, *, @@ -118,6 +219,78 @@ def criteria_list(self, value: pulumi.Input[Sequence[pulumi.Input['JobTemplateAb pulumi.set(self, "criteria_list", value) +if not MYPY: + class AccountAuditConfigurationAuditCheckConfigurationsArgsDict(TypedDict): + """ + Specifies which audit checks are enabled and disabled for this account. + """ + authenticated_cognito_role_overly_permissive_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks the permissiveness of an authenticated Amazon Cognito identity pool role. For this check, AWS IoT Device Defender audits all Amazon Cognito identity pools that have been used to connect to the AWS IoT message broker during the 31 days before the audit is performed. + """ + ca_certificate_expiring_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if a CA certificate is expiring. This check applies to CA certificates expiring within 30 days or that have expired. + """ + ca_certificate_key_quality_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks the quality of the CA certificate key. The quality checks if the key is in a valid format, not expired, and if the key meets a minimum required size. This check applies to CA certificates that are `ACTIVE` or `PENDING_TRANSFER` . + """ + conflicting_client_ids_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if multiple devices connect using the same client ID. + """ + device_certificate_expiring_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if a device certificate is expiring. This check applies to device certificates expiring within 30 days or that have expired. + """ + device_certificate_key_quality_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks the quality of the device certificate key. The quality checks if the key is in a valid format, not expired, signed by a registered certificate authority, and if the key meets a minimum required size. + """ + device_certificate_shared_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if multiple concurrent connections use the same X.509 certificate to authenticate with AWS IoT . + """ + intermediate_ca_revoked_for_active_device_certificates_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if device certificates are still active despite being revoked by an intermediate CA. + """ + io_t_policy_potential_mis_configuration_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if an AWS IoT policy is potentially misconfigured. Misconfigured policies, including overly permissive policies, can cause security incidents like allowing devices access to unintended resources. This check is a warning for you to make sure that only intended actions are allowed before updating the policy. + """ + iot_policy_overly_permissive_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks the permissiveness of a policy attached to an authenticated Amazon Cognito identity pool role. + """ + iot_role_alias_allows_access_to_unused_services_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if a role alias has access to services that haven't been used for the AWS IoT device in the last year. + """ + iot_role_alias_overly_permissive_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if the temporary credentials provided by AWS IoT role aliases are overly permissive. + """ + logging_disabled_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if AWS IoT logs are disabled. + """ + revoked_ca_certificate_still_active_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if a revoked CA certificate is still active. + """ + revoked_device_certificate_still_active_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if a revoked device certificate is still active. + """ + unauthenticated_cognito_role_overly_permissive_check: NotRequired[pulumi.Input['AccountAuditConfigurationAuditCheckConfigurationArgsDict']] + """ + Checks if policy attached to an unauthenticated Amazon Cognito identity pool role is too permissive. + """ +elif False: + AccountAuditConfigurationAuditCheckConfigurationsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccountAuditConfigurationAuditCheckConfigurationsArgs: def __init__(__self__, *, @@ -382,6 +555,18 @@ def unauthenticated_cognito_role_overly_permissive_check(self, value: Optional[p pulumi.set(self, "unauthenticated_cognito_role_overly_permissive_check", value) +if not MYPY: + class AccountAuditConfigurationAuditCheckConfigurationArgsDict(TypedDict): + """ + The configuration for a specific audit check. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + True if the check is enabled. + """ +elif False: + AccountAuditConfigurationAuditCheckConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccountAuditConfigurationAuditCheckConfigurationArgs: def __init__(__self__, *, @@ -406,6 +591,18 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class AccountAuditConfigurationAuditNotificationTargetConfigurationsArgsDict(TypedDict): + """ + Information about the targets to which audit notifications are sent. + """ + sns: NotRequired[pulumi.Input['AccountAuditConfigurationAuditNotificationTargetArgsDict']] + """ + The `Sns` notification target. + """ +elif False: + AccountAuditConfigurationAuditNotificationTargetConfigurationsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccountAuditConfigurationAuditNotificationTargetConfigurationsArgs: def __init__(__self__, *, @@ -430,6 +627,23 @@ def sns(self, value: Optional[pulumi.Input['AccountAuditConfigurationAuditNotifi pulumi.set(self, "sns", value) +if not MYPY: + class AccountAuditConfigurationAuditNotificationTargetArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + True if notifications to the target are enabled. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the role that grants permission to send notifications to the target. + """ + target_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the target (SNS topic) to which audit notifications are sent. + """ +elif False: + AccountAuditConfigurationAuditNotificationTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccountAuditConfigurationAuditNotificationTargetArgs: def __init__(__self__, *, @@ -485,6 +699,18 @@ def target_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_arn", value) +if not MYPY: + class BillingGroupPropertiesPropertiesArgsDict(TypedDict): + """ + The properties of the billing group. + """ + billing_group_description: NotRequired[pulumi.Input[str]] + """ + The description of the billing group. + """ +elif False: + BillingGroupPropertiesPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BillingGroupPropertiesPropertiesArgs: def __init__(__self__, *, @@ -509,6 +735,23 @@ def billing_group_description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "billing_group_description", value) +if not MYPY: + class CaCertificateRegistrationConfigArgsDict(TypedDict): + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the role. + """ + template_body: NotRequired[pulumi.Input[str]] + """ + The template body. + """ + template_name: NotRequired[pulumi.Input[str]] + """ + The name of the provisioning template. + """ +elif False: + CaCertificateRegistrationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CaCertificateRegistrationConfigArgs: def __init__(__self__, *, @@ -564,6 +807,19 @@ def template_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "template_name", value) +if not MYPY: + class DomainConfigurationAuthorizerConfigArgsDict(TypedDict): + allow_authorizer_override: NotRequired[pulumi.Input[bool]] + """ + A Boolean that specifies whether the domain configuration's authorization service can be overridden. + """ + default_authorizer_name: NotRequired[pulumi.Input[str]] + """ + The name of the authorization service for a domain configuration. + """ +elif False: + DomainConfigurationAuthorizerConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainConfigurationAuthorizerConfigArgs: def __init__(__self__, *, @@ -603,6 +859,17 @@ def default_authorizer_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "default_authorizer_name", value) +if not MYPY: + class DomainConfigurationClientCertificateConfigArgsDict(TypedDict): + client_certificate_callback_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the Lambda function that IoT invokes after mutual TLS authentication during the connection. + + > This property isn't available in China. + """ +elif False: + DomainConfigurationClientCertificateConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainConfigurationClientCertificateConfigArgs: def __init__(__self__, *, @@ -630,6 +897,15 @@ def client_certificate_callback_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "client_certificate_callback_arn", value) +if not MYPY: + class DomainConfigurationServerCertificateConfigArgsDict(TypedDict): + enable_ocsp_check: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see [Configurable endpoints](https://docs.aws.amazon.com//iot/latest/developerguide/iot-custom-endpoints-configurable.html) from the AWS IoT Core Developer Guide. + """ +elif False: + DomainConfigurationServerCertificateConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainConfigurationServerCertificateConfigArgs: def __init__(__self__, *, @@ -653,6 +929,15 @@ def enable_ocsp_check(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enable_ocsp_check", value) +if not MYPY: + class DomainConfigurationTlsConfigArgsDict(TypedDict): + security_policy: NotRequired[pulumi.Input[str]] + """ + The security policy for a domain configuration. For more information, see [Security policies](https://docs.aws.amazon.com/iot/latest/developerguide/transport-security.html#tls-policy-table) in the *AWS IoT Core developer guide* . + """ +elif False: + DomainConfigurationTlsConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainConfigurationTlsConfigArgs: def __init__(__self__, *, @@ -676,6 +961,22 @@ def security_policy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "security_policy", value) +if not MYPY: + class FleetMetricAggregationTypeArgsDict(TypedDict): + """ + Aggregation types supported by Fleet Indexing + """ + name: pulumi.Input[str] + """ + Fleet Indexing aggregation type names such as Statistics, Percentiles and Cardinality + """ + values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Fleet Indexing aggregation type values + """ +elif False: + FleetMetricAggregationTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FleetMetricAggregationTypeArgs: def __init__(__self__, *, @@ -714,6 +1015,18 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class JobExecutionsRetryConfigPropertiesArgsDict(TypedDict): + """ + Allows you to create the criteria to retry a job. + """ + retry_criteria_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['JobTemplateRetryCriteriaArgsDict']]]] + """ + The list of criteria that determines how many retries are allowed for each failure type for a job. + """ +elif False: + JobExecutionsRetryConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobExecutionsRetryConfigPropertiesArgs: def __init__(__self__, *, @@ -738,6 +1051,22 @@ def retry_criteria_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "retry_criteria_list", value) +if not MYPY: + class JobExecutionsRolloutConfigPropertiesArgsDict(TypedDict): + """ + Allows you to create a staged rollout of a job. + """ + exponential_rollout_rate: NotRequired[pulumi.Input['JobTemplateExponentialRolloutRateArgsDict']] + """ + The rate of increase for a job rollout. This parameter allows you to define an exponential rate for a job rollout. + """ + maximum_per_minute: NotRequired[pulumi.Input[int]] + """ + The maximum number of things that will be notified of a pending job, per minute. This parameter allows you to create a staged rollout. + """ +elif False: + JobExecutionsRolloutConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobExecutionsRolloutConfigPropertiesArgs: def __init__(__self__, *, @@ -778,6 +1107,30 @@ def maximum_per_minute(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "maximum_per_minute", value) +if not MYPY: + class JobTemplateAbortCriteriaArgsDict(TypedDict): + """ + The criteria that determine when and how a job abort takes place. + """ + action: pulumi.Input['JobTemplateAction'] + """ + The type of job action to take to initiate the job abort. + """ + failure_type: pulumi.Input['JobTemplateFailureType'] + """ + The type of job execution failures that can initiate a job abort. + """ + min_number_of_executed_things: pulumi.Input[int] + """ + The minimum number of things which must receive job execution notifications before the job can be aborted. + """ + threshold_percentage: pulumi.Input[float] + """ + The minimum percentage of job execution failures that must occur to initiate the job abort. + """ +elif False: + JobTemplateAbortCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobTemplateAbortCriteriaArgs: def __init__(__self__, *, @@ -846,6 +1199,26 @@ def threshold_percentage(self, value: pulumi.Input[float]): pulumi.set(self, "threshold_percentage", value) +if not MYPY: + class JobTemplateExponentialRolloutRateArgsDict(TypedDict): + """ + Allows you to create an exponential rate of rollout for a job. + """ + base_rate_per_minute: pulumi.Input[int] + """ + The minimum number of things that will be notified of a pending job, per minute at the start of job rollout. This parameter allows you to define the initial rate of rollout. + """ + increment_factor: pulumi.Input[float] + """ + The exponential factor to increase the rate of rollout for a job. + """ + rate_increase_criteria: pulumi.Input['JobTemplateRateIncreaseCriteriaArgsDict'] + """ + The criteria to initiate the increase in rate of rollout for a job. + """ +elif False: + JobTemplateExponentialRolloutRateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobTemplateExponentialRolloutRateArgs: def __init__(__self__, *, @@ -899,6 +1272,22 @@ def rate_increase_criteria(self, value: pulumi.Input['JobTemplateRateIncreaseCri pulumi.set(self, "rate_increase_criteria", value) +if not MYPY: + class JobTemplateMaintenanceWindowArgsDict(TypedDict): + """ + Specifies a start time and duration for a scheduled Job. + """ + duration_in_minutes: NotRequired[pulumi.Input[int]] + """ + Displays the duration of the next maintenance window. + """ + start_time: NotRequired[pulumi.Input[str]] + """ + Displays the start time of the next maintenance window. + """ +elif False: + JobTemplateMaintenanceWindowArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobTemplateMaintenanceWindowArgs: def __init__(__self__, *, @@ -939,6 +1328,19 @@ def start_time(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start_time", value) +if not MYPY: + class JobTemplateRateIncreaseCriteriaArgsDict(TypedDict): + number_of_notified_things: NotRequired[pulumi.Input[int]] + """ + The threshold for number of notified things that will initiate the increase in rate of rollout. + """ + number_of_succeeded_things: NotRequired[pulumi.Input[int]] + """ + The threshold for number of succeeded things that will initiate the increase in rate of rollout. + """ +elif False: + JobTemplateRateIncreaseCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobTemplateRateIncreaseCriteriaArgs: def __init__(__self__, *, @@ -978,6 +1380,22 @@ def number_of_succeeded_things(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "number_of_succeeded_things", value) +if not MYPY: + class JobTemplateRetryCriteriaArgsDict(TypedDict): + """ + Specifies how many times a failure type should be retried. + """ + failure_type: NotRequired[pulumi.Input['JobTemplateJobRetryFailureType']] + """ + The type of job execution failures that can initiate a job retry. + """ + number_of_retries: NotRequired[pulumi.Input[int]] + """ + The number of retries allowed for a failure type for the job. + """ +elif False: + JobTemplateRetryCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class JobTemplateRetryCriteriaArgs: def __init__(__self__, *, @@ -1018,6 +1436,22 @@ def number_of_retries(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "number_of_retries", value) +if not MYPY: + class MetricsExportConfigPropertiesArgsDict(TypedDict): + """ + A structure containing the mqtt topic for metrics export. + """ + mqtt_topic: pulumi.Input[str] + """ + The topic for metrics export. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that grants permission to publish to mqtt topic. + """ +elif False: + MetricsExportConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MetricsExportConfigPropertiesArgs: def __init__(__self__, *, @@ -1056,6 +1490,38 @@ def role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "role_arn", value) +if not MYPY: + class MitigationActionActionParamsArgsDict(TypedDict): + """ + The set of parameters for this mitigation action. You can specify only one type of parameter (in other words, you can apply only one action for each defined mitigation action). + """ + add_things_to_thing_group_params: NotRequired[pulumi.Input['MitigationActionAddThingsToThingGroupParamsArgsDict']] + """ + Specifies the group to which you want to add the devices. + """ + enable_io_t_logging_params: NotRequired[pulumi.Input['MitigationActionEnableIoTLoggingParamsArgsDict']] + """ + Specifies the logging level and the role with permissions for logging. You cannot specify a logging level of `DISABLED` . + """ + publish_finding_to_sns_params: NotRequired[pulumi.Input['MitigationActionPublishFindingToSnsParamsArgsDict']] + """ + Specifies the topic to which the finding should be published. + """ + replace_default_policy_version_params: NotRequired[pulumi.Input['MitigationActionReplaceDefaultPolicyVersionParamsArgsDict']] + """ + Replaces the policy version with a default or blank policy. You specify the template name. Only a value of `BLANK_POLICY` is currently supported. + """ + update_ca_certificate_params: NotRequired[pulumi.Input['MitigationActionUpdateCaCertificateParamsArgsDict']] + """ + Specifies the new state for the CA certificate. Only a value of `DEACTIVATE` is currently supported. + """ + update_device_certificate_params: NotRequired[pulumi.Input['MitigationActionUpdateDeviceCertificateParamsArgsDict']] + """ + Specifies the new state for a device certificate. Only a value of `DEACTIVATE` is currently supported. + """ +elif False: + MitigationActionActionParamsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MitigationActionActionParamsArgs: def __init__(__self__, *, @@ -1160,6 +1626,22 @@ def update_device_certificate_params(self, value: Optional[pulumi.Input['Mitigat pulumi.set(self, "update_device_certificate_params", value) +if not MYPY: + class MitigationActionAddThingsToThingGroupParamsArgsDict(TypedDict): + """ + Parameters to define a mitigation action that moves devices associated with a certificate to one or more specified thing groups, typically for quarantine. + """ + thing_group_names: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of groups to which you want to add the things that triggered the mitigation action. + """ + override_dynamic_groups: NotRequired[pulumi.Input[bool]] + """ + Specifies if this mitigation action can move the things that triggered the mitigation action out of one or more dynamic thing groups. + """ +elif False: + MitigationActionAddThingsToThingGroupParamsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MitigationActionAddThingsToThingGroupParamsArgs: def __init__(__self__, *, @@ -1199,18 +1681,34 @@ def override_dynamic_groups(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "override_dynamic_groups", value) -@pulumi.input_type -class MitigationActionEnableIoTLoggingParamsArgs: - def __init__(__self__, *, - log_level: pulumi.Input['MitigationActionEnableIoTLoggingParamsLogLevel'], - role_arn_for_logging: pulumi.Input[str]): +if not MYPY: + class MitigationActionEnableIoTLoggingParamsArgsDict(TypedDict): """ Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail. - :param pulumi.Input['MitigationActionEnableIoTLoggingParamsLogLevel'] log_level: Specifies which types of information are logged. - :param pulumi.Input[str] role_arn_for_logging: The ARN of the IAM role used for logging. """ - pulumi.set(__self__, "log_level", log_level) - pulumi.set(__self__, "role_arn_for_logging", role_arn_for_logging) + log_level: pulumi.Input['MitigationActionEnableIoTLoggingParamsLogLevel'] + """ + Specifies which types of information are logged. + """ + role_arn_for_logging: pulumi.Input[str] + """ + The ARN of the IAM role used for logging. + """ +elif False: + MitigationActionEnableIoTLoggingParamsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class MitigationActionEnableIoTLoggingParamsArgs: + def __init__(__self__, *, + log_level: pulumi.Input['MitigationActionEnableIoTLoggingParamsLogLevel'], + role_arn_for_logging: pulumi.Input[str]): + """ + Parameters to define a mitigation action that enables AWS IoT logging at a specified level of detail. + :param pulumi.Input['MitigationActionEnableIoTLoggingParamsLogLevel'] log_level: Specifies which types of information are logged. + :param pulumi.Input[str] role_arn_for_logging: The ARN of the IAM role used for logging. + """ + pulumi.set(__self__, "log_level", log_level) + pulumi.set(__self__, "role_arn_for_logging", role_arn_for_logging) @property @pulumi.getter(name="logLevel") @@ -1237,6 +1735,18 @@ def role_arn_for_logging(self, value: pulumi.Input[str]): pulumi.set(self, "role_arn_for_logging", value) +if not MYPY: + class MitigationActionPublishFindingToSnsParamsArgsDict(TypedDict): + """ + Parameters, to define a mitigation action that publishes findings to Amazon SNS. You can implement your own custom actions in response to the Amazon SNS messages. + """ + topic_arn: pulumi.Input[str] + """ + The ARN of the topic to which you want to publish the findings. + """ +elif False: + MitigationActionPublishFindingToSnsParamsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MitigationActionPublishFindingToSnsParamsArgs: def __init__(__self__, *, @@ -1260,6 +1770,18 @@ def topic_arn(self, value: pulumi.Input[str]): pulumi.set(self, "topic_arn", value) +if not MYPY: + class MitigationActionReplaceDefaultPolicyVersionParamsArgsDict(TypedDict): + """ + Parameters to define a mitigation action that adds a blank policy to restrict permissions. + """ + template_name: pulumi.Input['MitigationActionReplaceDefaultPolicyVersionParamsTemplateName'] + """ + The name of the template to be applied. The only supported value is `BLANK_POLICY` . + """ +elif False: + MitigationActionReplaceDefaultPolicyVersionParamsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MitigationActionReplaceDefaultPolicyVersionParamsArgs: def __init__(__self__, *, @@ -1283,6 +1805,18 @@ def template_name(self, value: pulumi.Input['MitigationActionReplaceDefaultPolic pulumi.set(self, "template_name", value) +if not MYPY: + class MitigationActionUpdateCaCertificateParamsArgsDict(TypedDict): + """ + Parameters to define a mitigation action that changes the state of the CA certificate to inactive. + """ + action: pulumi.Input['MitigationActionUpdateCaCertificateParamsAction'] + """ + The action that you want to apply to the CA certificate. The only supported value is `DEACTIVATE` . + """ +elif False: + MitigationActionUpdateCaCertificateParamsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MitigationActionUpdateCaCertificateParamsArgs: def __init__(__self__, *, @@ -1306,6 +1840,18 @@ def action(self, value: pulumi.Input['MitigationActionUpdateCaCertificateParamsA pulumi.set(self, "action", value) +if not MYPY: + class MitigationActionUpdateDeviceCertificateParamsArgsDict(TypedDict): + """ + Parameters to define a mitigation action that changes the state of the device certificate to inactive. + """ + action: pulumi.Input['MitigationActionUpdateDeviceCertificateParamsAction'] + """ + The action that you want to apply to the device certificate. The only supported value is `DEACTIVATE` . + """ +elif False: + MitigationActionUpdateDeviceCertificateParamsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MitigationActionUpdateDeviceCertificateParamsArgs: def __init__(__self__, *, @@ -1329,6 +1875,24 @@ def action(self, value: pulumi.Input['MitigationActionUpdateDeviceCertificatePar pulumi.set(self, "action", value) +if not MYPY: + class PresignedUrlConfigPropertiesArgsDict(TypedDict): + """ + Configuration for pre-signed S3 URLs. + """ + role_arn: pulumi.Input[str] + """ + The ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored. The role must also grant permission for IoT to download the files. + + > For information about addressing the confused deputy problem, see [cross-service confused deputy prevention](https://docs.aws.amazon.com/iot/latest/developerguide/cross-service-confused-deputy-prevention.html) in the *AWS IoT Core developer guide* . + """ + expires_in_sec: NotRequired[pulumi.Input[int]] + """ + How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds. Pre-signed URLs are generated when Jobs receives an MQTT request for the job document. + """ +elif False: + PresignedUrlConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PresignedUrlConfigPropertiesArgs: def __init__(__self__, *, @@ -1372,6 +1936,19 @@ def expires_in_sec(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "expires_in_sec", value) +if not MYPY: + class ProvisioningTemplateProvisioningHookArgsDict(TypedDict): + payload_version: NotRequired[pulumi.Input[str]] + """ + The payload that was sent to the target function. The valid payload is `"2020-04-01"` . + """ + target_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the target function. + """ +elif False: + ProvisioningTemplateProvisioningHookArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProvisioningTemplateProvisioningHookArgs: def __init__(__self__, *, @@ -1411,6 +1988,22 @@ def target_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_arn", value) +if not MYPY: + class SecurityProfileAlertTargetArgsDict(TypedDict): + """ + A structure containing the alert target ARN and the role ARN. + """ + alert_target_arn: pulumi.Input[str] + """ + The ARN of the notification target to which alerts are sent. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that grants permission to send alerts to the notification target. + """ +elif False: + SecurityProfileAlertTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityProfileAlertTargetArgs: def __init__(__self__, *, @@ -1449,6 +2042,42 @@ def role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "role_arn", value) +if not MYPY: + class SecurityProfileBehaviorCriteriaArgsDict(TypedDict): + """ + The criteria by which the behavior is determined to be normal. + """ + comparison_operator: NotRequired[pulumi.Input['SecurityProfileBehaviorCriteriaComparisonOperator']] + """ + The operator that relates the thing measured (metric) to the criteria (containing a value or statisticalThreshold). + """ + consecutive_datapoints_to_alarm: NotRequired[pulumi.Input[int]] + """ + If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1. + """ + consecutive_datapoints_to_clear: NotRequired[pulumi.Input[int]] + """ + If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1. + """ + duration_seconds: NotRequired[pulumi.Input[int]] + """ + Use this to specify the time duration over which the behavior is evaluated. + """ + ml_detection_config: NotRequired[pulumi.Input['SecurityProfileMachineLearningDetectionConfigArgsDict']] + """ + The confidence level of the detection model. + """ + statistical_threshold: NotRequired[pulumi.Input['SecurityProfileStatisticalThresholdArgsDict']] + """ + A statistical ranking (percentile)that indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior. + """ + value: NotRequired[pulumi.Input['SecurityProfileMetricValueArgsDict']] + """ + The value to be compared with the `metric` . + """ +elif False: + SecurityProfileBehaviorCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityProfileBehaviorCriteriaArgs: def __init__(__self__, *, @@ -1569,6 +2198,40 @@ def value(self, value: Optional[pulumi.Input['SecurityProfileMetricValueArgs']]) pulumi.set(self, "value", value) +if not MYPY: + class SecurityProfileBehaviorArgsDict(TypedDict): + """ + A security profile behavior. + """ + name: pulumi.Input[str] + """ + The name for the behavior. + """ + criteria: NotRequired[pulumi.Input['SecurityProfileBehaviorCriteriaArgsDict']] + """ + The criteria that determine if a device is behaving normally in regard to the `metric` . + + > In the AWS IoT console, you can choose to be sent an alert through Amazon SNS when AWS IoT Device Defender detects that a device is behaving anomalously. + """ + export_metric: NotRequired[pulumi.Input[bool]] + """ + Value indicates exporting metrics related to the behavior when it is true. + """ + metric: NotRequired[pulumi.Input[str]] + """ + What is measured by the behavior. + """ + metric_dimension: NotRequired[pulumi.Input['SecurityProfileMetricDimensionArgsDict']] + """ + The dimension of the metric. + """ + suppress_alerts: NotRequired[pulumi.Input[bool]] + """ + Manage Detect alarm SNS notifications by setting behavior notification to on or suppressed. Detect will continue to performing device behavior evaluations. However, suppressed alarms wouldn't be forwarded for SNS notification. + """ +elif False: + SecurityProfileBehaviorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityProfileBehaviorArgs: def __init__(__self__, *, @@ -1676,6 +2339,18 @@ def suppress_alerts(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "suppress_alerts", value) +if not MYPY: + class SecurityProfileMachineLearningDetectionConfigArgsDict(TypedDict): + """ + The configuration of an ML Detect Security Profile. + """ + confidence_level: NotRequired[pulumi.Input['SecurityProfileMachineLearningDetectionConfigConfidenceLevel']] + """ + The sensitivity of anomalous behavior evaluation. Can be Low, Medium, or High. + """ +elif False: + SecurityProfileMachineLearningDetectionConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityProfileMachineLearningDetectionConfigArgs: def __init__(__self__, *, @@ -1700,6 +2375,22 @@ def confidence_level(self, value: Optional[pulumi.Input['SecurityProfileMachineL pulumi.set(self, "confidence_level", value) +if not MYPY: + class SecurityProfileMetricDimensionArgsDict(TypedDict): + """ + The dimension of a metric. + """ + dimension_name: pulumi.Input[str] + """ + A unique identifier for the dimension. + """ + operator: NotRequired[pulumi.Input['SecurityProfileMetricDimensionOperator']] + """ + Defines how the dimensionValues of a dimension are interpreted. + """ +elif False: + SecurityProfileMetricDimensionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityProfileMetricDimensionArgs: def __init__(__self__, *, @@ -1739,6 +2430,26 @@ def operator(self, value: Optional[pulumi.Input['SecurityProfileMetricDimensionO pulumi.set(self, "operator", value) +if not MYPY: + class SecurityProfileMetricToRetainArgsDict(TypedDict): + """ + The metric you want to retain. Dimensions are optional. + """ + metric: pulumi.Input[str] + """ + What is measured by the behavior. + """ + export_metric: NotRequired[pulumi.Input[bool]] + """ + The value indicates exporting metrics related to the `MetricToRetain` when it's true. + """ + metric_dimension: NotRequired[pulumi.Input['SecurityProfileMetricDimensionArgsDict']] + """ + The dimension of the metric. + """ +elif False: + SecurityProfileMetricToRetainArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityProfileMetricToRetainArgs: def __init__(__self__, *, @@ -1794,6 +2505,38 @@ def metric_dimension(self, value: Optional[pulumi.Input['SecurityProfileMetricDi pulumi.set(self, "metric_dimension", value) +if not MYPY: + class SecurityProfileMetricValueArgsDict(TypedDict): + """ + The value to be compared with the metric. + """ + cidrs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + If the ComparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric. + """ + count: NotRequired[pulumi.Input[str]] + """ + If the ComparisonOperator calls for a numeric value, use this to specify that (integer) numeric value to be compared with the metric. + """ + number: NotRequired[pulumi.Input[float]] + """ + The numeral value of a metric. + """ + numbers: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + The numeral values of a metric. + """ + ports: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + """ + If the ComparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric. + """ + strings: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The string values of a metric. + """ +elif False: + SecurityProfileMetricValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityProfileMetricValueArgs: def __init__(__self__, *, @@ -1898,6 +2641,18 @@ def strings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "strings", value) +if not MYPY: + class SecurityProfileStatisticalThresholdArgsDict(TypedDict): + """ + A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior. + """ + statistic: NotRequired[pulumi.Input['SecurityProfileStatisticalThresholdStatistic']] + """ + The percentile which resolves to a threshold value by which compliance with a behavior is determined + """ +elif False: + SecurityProfileStatisticalThresholdArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityProfileStatisticalThresholdArgs: def __init__(__self__, *, @@ -1922,6 +2677,17 @@ def statistic(self, value: Optional[pulumi.Input['SecurityProfileStatisticalThre pulumi.set(self, "statistic", value) +if not MYPY: + class ThingAttributePayloadArgsDict(TypedDict): + attributes: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A JSON string containing up to three key-value pair in JSON format. For example: + + `{\\"attributes\\":{\\"string1\\":\\"string2\\"}}` + """ +elif False: + ThingAttributePayloadArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThingAttributePayloadArgs: def __init__(__self__, *, @@ -1949,6 +2715,17 @@ def attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str] pulumi.set(self, "attributes", value) +if not MYPY: + class ThingGroupAttributePayloadArgsDict(TypedDict): + attributes: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + A JSON string containing up to three key-value pair in JSON format. For example: + + `{\\"attributes\\":{\\"string1\\":\\"string2\\"}}` + """ +elif False: + ThingGroupAttributePayloadArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThingGroupAttributePayloadArgs: def __init__(__self__, *, @@ -1976,6 +2753,22 @@ def attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str] pulumi.set(self, "attributes", value) +if not MYPY: + class ThingGroupPropertiesPropertiesArgsDict(TypedDict): + """ + Thing group properties. + """ + attribute_payload: NotRequired[pulumi.Input['ThingGroupAttributePayloadArgsDict']] + """ + The thing group attributes in JSON format. + """ + thing_group_description: NotRequired[pulumi.Input[str]] + """ + The thing group description. + """ +elif False: + ThingGroupPropertiesPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThingGroupPropertiesPropertiesArgs: def __init__(__self__, *, @@ -2016,6 +2809,22 @@ def thing_group_description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "thing_group_description", value) +if not MYPY: + class ThingTypePropertiesPropertiesArgsDict(TypedDict): + """ + The thing type properties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names. `ThingTypeProperties` can't be updated after the initial creation of the `ThingType` . + """ + searchable_attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of searchable thing attribute names. + """ + thing_type_description: NotRequired[pulumi.Input[str]] + """ + The description of the thing type. + """ +elif False: + ThingTypePropertiesPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThingTypePropertiesPropertiesArgs: def __init__(__self__, *, @@ -2047,37 +2856,144 @@ def searchable_attributes(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp @pulumi.getter(name="thingTypeDescription") def thing_type_description(self) -> Optional[pulumi.Input[str]]: """ - The description of the thing type. + The description of the thing type. + """ + return pulumi.get(self, "thing_type_description") + + @thing_type_description.setter + def thing_type_description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "thing_type_description", value) + + +if not MYPY: + class TimeoutConfigPropertiesArgsDict(TypedDict): + """ + Specifies the amount of time each device has to finish its execution of the job. + """ + in_progress_timeout_in_minutes: pulumi.Input[int] + """ + Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal `TIMED_OUT` status. + """ +elif False: + TimeoutConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class TimeoutConfigPropertiesArgs: + def __init__(__self__, *, + in_progress_timeout_in_minutes: pulumi.Input[int]): + """ + Specifies the amount of time each device has to finish its execution of the job. + :param pulumi.Input[int] in_progress_timeout_in_minutes: Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal `TIMED_OUT` status. + """ + pulumi.set(__self__, "in_progress_timeout_in_minutes", in_progress_timeout_in_minutes) + + @property + @pulumi.getter(name="inProgressTimeoutInMinutes") + def in_progress_timeout_in_minutes(self) -> pulumi.Input[int]: + """ + Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal `TIMED_OUT` status. + """ + return pulumi.get(self, "in_progress_timeout_in_minutes") + + @in_progress_timeout_in_minutes.setter + def in_progress_timeout_in_minutes(self, value: pulumi.Input[int]): + pulumi.set(self, "in_progress_timeout_in_minutes", value) + + +if not MYPY: + class TopicRuleActionArgsDict(TypedDict): + cloudwatch_alarm: NotRequired[pulumi.Input['TopicRuleCloudwatchAlarmActionArgsDict']] + """ + Change the state of a CloudWatch alarm. + """ + cloudwatch_logs: NotRequired[pulumi.Input['TopicRuleCloudwatchLogsActionArgsDict']] + """ + Sends data to CloudWatch. + """ + cloudwatch_metric: NotRequired[pulumi.Input['TopicRuleCloudwatchMetricActionArgsDict']] + """ + Capture a CloudWatch metric. + """ + dynamo_d_bv2: NotRequired[pulumi.Input['TopicRuleDynamoDBv2ActionArgsDict']] + """ + Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column. + """ + dynamo_db: NotRequired[pulumi.Input['TopicRuleDynamoDbActionArgsDict']] + """ + Write to a DynamoDB table. + """ + elasticsearch: NotRequired[pulumi.Input['TopicRuleElasticsearchActionArgsDict']] + """ + Write data to an Amazon OpenSearch Service domain. + + > The `Elasticsearch` action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use the `OpenSearch` rule action instead. For more information, see [OpenSearchAction](https://docs.aws.amazon.com//iot/latest/apireference/API_OpenSearchAction.html) . + """ + firehose: NotRequired[pulumi.Input['TopicRuleFirehoseActionArgsDict']] + """ + Write to an Amazon Kinesis Firehose stream. + """ + http: NotRequired[pulumi.Input['TopicRuleHttpActionArgsDict']] + """ + Send data to an HTTPS endpoint. + """ + iot_analytics: NotRequired[pulumi.Input['TopicRuleIotAnalyticsActionArgsDict']] + """ + Sends message data to an AWS IoT Analytics channel. + """ + iot_events: NotRequired[pulumi.Input['TopicRuleIotEventsActionArgsDict']] + """ + Sends an input to an AWS IoT Events detector. + """ + iot_site_wise: NotRequired[pulumi.Input['TopicRuleIotSiteWiseActionArgsDict']] + """ + Sends data from the MQTT message that triggered the rule to AWS IoT SiteWise asset properties. + """ + kafka: NotRequired[pulumi.Input['TopicRuleKafkaActionArgsDict']] + """ + Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster. + """ + kinesis: NotRequired[pulumi.Input['TopicRuleKinesisActionArgsDict']] + """ + Write data to an Amazon Kinesis stream. + """ + lambda_: NotRequired[pulumi.Input['TopicRuleLambdaActionArgsDict']] + """ + Invoke a Lambda function. + """ + location: NotRequired[pulumi.Input['TopicRuleLocationActionArgsDict']] + """ + Sends device location data to [Amazon Location Service](https://docs.aws.amazon.com//location/latest/developerguide/welcome.html) . + """ + open_search: NotRequired[pulumi.Input['TopicRuleOpenSearchActionArgsDict']] + """ + Write data to an Amazon OpenSearch Service domain. + """ + republish: NotRequired[pulumi.Input['TopicRuleRepublishActionArgsDict']] + """ + Publish to another MQTT topic. + """ + s3: NotRequired[pulumi.Input['TopicRuleS3ActionArgsDict']] + """ + Write to an Amazon S3 bucket. + """ + sns: NotRequired[pulumi.Input['TopicRuleSnsActionArgsDict']] """ - return pulumi.get(self, "thing_type_description") - - @thing_type_description.setter - def thing_type_description(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "thing_type_description", value) - - -@pulumi.input_type -class TimeoutConfigPropertiesArgs: - def __init__(__self__, *, - in_progress_timeout_in_minutes: pulumi.Input[int]): + Publish to an Amazon SNS topic. """ - Specifies the amount of time each device has to finish its execution of the job. - :param pulumi.Input[int] in_progress_timeout_in_minutes: Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal `TIMED_OUT` status. + sqs: NotRequired[pulumi.Input['TopicRuleSqsActionArgsDict']] """ - pulumi.set(__self__, "in_progress_timeout_in_minutes", in_progress_timeout_in_minutes) - - @property - @pulumi.getter(name="inProgressTimeoutInMinutes") - def in_progress_timeout_in_minutes(self) -> pulumi.Input[int]: + Publish to an Amazon SQS queue. """ - Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal `TIMED_OUT` status. + step_functions: NotRequired[pulumi.Input['TopicRuleStepFunctionsActionArgsDict']] """ - return pulumi.get(self, "in_progress_timeout_in_minutes") - - @in_progress_timeout_in_minutes.setter - def in_progress_timeout_in_minutes(self, value: pulumi.Input[int]): - pulumi.set(self, "in_progress_timeout_in_minutes", value) - + Starts execution of a Step Functions state machine. + """ + timestream: NotRequired[pulumi.Input['TopicRuleTimestreamActionArgsDict']] + """ + Writes attributes from an MQTT message. + """ +elif False: + TopicRuleActionArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class TopicRuleActionArgs: @@ -2442,6 +3358,19 @@ def timestream(self, value: Optional[pulumi.Input['TopicRuleTimestreamActionArgs pulumi.set(self, "timestream", value) +if not MYPY: + class TopicRuleAssetPropertyTimestampArgsDict(TypedDict): + time_in_seconds: pulumi.Input[str] + """ + A string that contains the time in seconds since epoch. Accepts substitution templates. + """ + offset_in_nanos: NotRequired[pulumi.Input[str]] + """ + Optional. A string that contains the nanosecond time offset. Accepts substitution templates. + """ +elif False: + TopicRuleAssetPropertyTimestampArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleAssetPropertyTimestampArgs: def __init__(__self__, *, @@ -2480,6 +3409,23 @@ def offset_in_nanos(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "offset_in_nanos", value) +if not MYPY: + class TopicRuleAssetPropertyValueArgsDict(TypedDict): + timestamp: pulumi.Input['TopicRuleAssetPropertyTimestampArgsDict'] + """ + The asset property value timestamp. + """ + value: pulumi.Input['TopicRuleAssetPropertyVariantArgsDict'] + """ + The value of the asset property. + """ + quality: NotRequired[pulumi.Input[str]] + """ + Optional. A string that describes the quality of the value. Accepts substitution templates. Must be `GOOD` , `BAD` , or `UNCERTAIN` . + """ +elif False: + TopicRuleAssetPropertyValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleAssetPropertyValueArgs: def __init__(__self__, *, @@ -2533,6 +3479,27 @@ def quality(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "quality", value) +if not MYPY: + class TopicRuleAssetPropertyVariantArgsDict(TypedDict): + boolean_value: NotRequired[pulumi.Input[str]] + """ + Optional. A string that contains the boolean value ( `true` or `false` ) of the value entry. Accepts substitution templates. + """ + double_value: NotRequired[pulumi.Input[str]] + """ + Optional. A string that contains the double value of the value entry. Accepts substitution templates. + """ + integer_value: NotRequired[pulumi.Input[str]] + """ + Optional. A string that contains the integer value of the value entry. Accepts substitution templates. + """ + string_value: NotRequired[pulumi.Input[str]] + """ + Optional. The string value of the value entry. Accepts substitution templates. + """ +elif False: + TopicRuleAssetPropertyVariantArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleAssetPropertyVariantArgs: def __init__(__self__, *, @@ -2604,6 +3571,27 @@ def string_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "string_value", value) +if not MYPY: + class TopicRuleCloudwatchAlarmActionArgsDict(TypedDict): + alarm_name: pulumi.Input[str] + """ + The CloudWatch alarm name. + """ + role_arn: pulumi.Input[str] + """ + The IAM role that allows access to the CloudWatch alarm. + """ + state_reason: pulumi.Input[str] + """ + The reason for the alarm change. + """ + state_value: pulumi.Input[str] + """ + The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA. + """ +elif False: + TopicRuleCloudwatchAlarmActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleCloudwatchAlarmActionArgs: def __init__(__self__, *, @@ -2671,6 +3659,23 @@ def state_value(self, value: pulumi.Input[str]): pulumi.set(self, "state_value", value) +if not MYPY: + class TopicRuleCloudwatchLogsActionArgsDict(TypedDict): + log_group_name: pulumi.Input[str] + """ + The CloudWatch log name. + """ + role_arn: pulumi.Input[str] + """ + The IAM role that allows access to the CloudWatch log. + """ + batch_mode: NotRequired[pulumi.Input[bool]] + """ + Indicates whether batches of log records will be extracted and uploaded into CloudWatch. + """ +elif False: + TopicRuleCloudwatchLogsActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleCloudwatchLogsActionArgs: def __init__(__self__, *, @@ -2724,6 +3729,35 @@ def batch_mode(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "batch_mode", value) +if not MYPY: + class TopicRuleCloudwatchMetricActionArgsDict(TypedDict): + metric_name: pulumi.Input[str] + """ + The CloudWatch metric name. + """ + metric_namespace: pulumi.Input[str] + """ + The CloudWatch metric namespace name. + """ + metric_unit: pulumi.Input[str] + """ + The [metric unit](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit) supported by CloudWatch. + """ + metric_value: pulumi.Input[str] + """ + The CloudWatch metric value. + """ + role_arn: pulumi.Input[str] + """ + The IAM role that allows access to the CloudWatch metric. + """ + metric_timestamp: NotRequired[pulumi.Input[str]] + """ + An optional [Unix timestamp](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp) . + """ +elif False: + TopicRuleCloudwatchMetricActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleCloudwatchMetricActionArgs: def __init__(__self__, *, @@ -2822,6 +3856,15 @@ def metric_timestamp(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "metric_timestamp", value) +if not MYPY: + class TopicRuleDestinationHttpUrlDestinationSummaryArgsDict(TypedDict): + confirmation_url: NotRequired[pulumi.Input[str]] + """ + The URL used to confirm the HTTP topic rule destination URL. + """ +elif False: + TopicRuleDestinationHttpUrlDestinationSummaryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleDestinationHttpUrlDestinationSummaryArgs: def __init__(__self__, *, @@ -2845,6 +3888,27 @@ def confirmation_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "confirmation_url", value) +if not MYPY: + class TopicRuleDestinationVpcDestinationPropertiesArgsDict(TypedDict): + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs). + """ + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The security groups of the VPC destination. + """ + subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The subnet IDs of the VPC destination. + """ + vpc_id: NotRequired[pulumi.Input[str]] + """ + The ID of the VPC. + """ +elif False: + TopicRuleDestinationVpcDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleDestinationVpcDestinationPropertiesArgs: def __init__(__self__, *, @@ -2916,6 +3980,23 @@ def vpc_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_id", value) +if not MYPY: + class TopicRuleDynamoDBv2ActionArgsDict(TypedDict): + put_item: NotRequired[pulumi.Input['TopicRulePutItemInputArgsDict']] + """ + Specifies the DynamoDB table to which the message data will be written. For example: + + `{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }` + + Each attribute in the message payload will be written to a separate column in the DynamoDB database. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the IAM role that grants access to the DynamoDB table. + """ +elif False: + TopicRuleDynamoDBv2ActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleDynamoDBv2ActionArgs: def __init__(__self__, *, @@ -2963,6 +4044,47 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class TopicRuleDynamoDbActionArgsDict(TypedDict): + hash_key_field: pulumi.Input[str] + """ + The hash key name. + """ + hash_key_value: pulumi.Input[str] + """ + The hash key value. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the IAM role that grants access to the DynamoDB table. + """ + table_name: pulumi.Input[str] + """ + The name of the DynamoDB table. + """ + hash_key_type: NotRequired[pulumi.Input[str]] + """ + The hash key type. Valid values are "STRING" or "NUMBER" + """ + payload_field: NotRequired[pulumi.Input[str]] + """ + The action payload. This name can be customized. + """ + range_key_field: NotRequired[pulumi.Input[str]] + """ + The range key name. + """ + range_key_type: NotRequired[pulumi.Input[str]] + """ + The range key type. Valid values are "STRING" or "NUMBER" + """ + range_key_value: NotRequired[pulumi.Input[str]] + """ + The range key value. + """ +elif False: + TopicRuleDynamoDbActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleDynamoDbActionArgs: def __init__(__self__, *, @@ -3110,6 +4232,31 @@ def range_key_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "range_key_value", value) +if not MYPY: + class TopicRuleElasticsearchActionArgsDict(TypedDict): + endpoint: pulumi.Input[str] + """ + The endpoint of your OpenSearch domain. + """ + id: pulumi.Input[str] + """ + The unique identifier for the document you are storing. + """ + index: pulumi.Input[str] + """ + The index where you want to store your data. + """ + role_arn: pulumi.Input[str] + """ + The IAM role ARN that has access to OpenSearch. + """ + type: pulumi.Input[str] + """ + The type of document you are storing. + """ +elif False: + TopicRuleElasticsearchActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleElasticsearchActionArgs: def __init__(__self__, *, @@ -3192,6 +4339,29 @@ def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) +if not MYPY: + class TopicRuleFirehoseActionArgsDict(TypedDict): + delivery_stream_name: pulumi.Input[str] + """ + The delivery stream name. + """ + role_arn: pulumi.Input[str] + """ + The IAM role that grants access to the Amazon Kinesis Firehose stream. + """ + batch_mode: NotRequired[pulumi.Input[bool]] + """ + Whether to deliver the Kinesis Data Firehose stream as a batch by using [`PutRecordBatch`](https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html) . The default value is `false` . + + When `batchMode` is `true` and the rule's SQL statement evaluates to an Array, each Array element forms one record in the [`PutRecordBatch`](https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html) request. The resulting array can't have more than 500 records. + """ + separator: NotRequired[pulumi.Input[str]] + """ + A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ',' (comma). + """ +elif False: + TopicRuleFirehoseActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleFirehoseActionArgs: def __init__(__self__, *, @@ -3265,6 +4435,19 @@ def separator(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "separator", value) +if not MYPY: + class TopicRuleHttpActionHeaderArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The HTTP header key. + """ + value: pulumi.Input[str] + """ + The HTTP header value. Substitution templates are supported. + """ +elif False: + TopicRuleHttpActionHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleHttpActionHeaderArgs: def __init__(__self__, *, @@ -3302,6 +4485,27 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class TopicRuleHttpActionArgsDict(TypedDict): + url: pulumi.Input[str] + """ + The endpoint URL. If substitution templates are used in the URL, you must also specify a `confirmationUrl` . If this is a new destination, a new `TopicRuleDestination` is created if possible. + """ + auth: NotRequired[pulumi.Input['TopicRuleHttpAuthorizationArgsDict']] + """ + The authentication method to use when sending data to an HTTPS endpoint. + """ + confirmation_url: NotRequired[pulumi.Input[str]] + """ + The URL to which AWS IoT sends a confirmation message. The value of the confirmation URL must be a prefix of the endpoint URL. If you do not specify a confirmation URL AWS IoT uses the endpoint URL as the confirmation URL. If you use substitution templates in the confirmationUrl, you must create and enable topic rule destinations that match each possible value of the substitution template before traffic is allowed to your endpoint URL. + """ + headers: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicRuleHttpActionHeaderArgsDict']]]] + """ + The HTTP headers to send with the message data. + """ +elif False: + TopicRuleHttpActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleHttpActionArgs: def __init__(__self__, *, @@ -3372,6 +4576,15 @@ def headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TopicRuleH pulumi.set(self, "headers", value) +if not MYPY: + class TopicRuleHttpAuthorizationArgsDict(TypedDict): + sigv4: NotRequired[pulumi.Input['TopicRuleSigV4AuthorizationArgsDict']] + """ + Use Sig V4 authorization. For more information, see [Signature Version 4 Signing Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) . + """ +elif False: + TopicRuleHttpAuthorizationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleHttpAuthorizationArgs: def __init__(__self__, *, @@ -3395,6 +4608,25 @@ def sigv4(self, value: Optional[pulumi.Input['TopicRuleSigV4AuthorizationArgs']] pulumi.set(self, "sigv4", value) +if not MYPY: + class TopicRuleIotAnalyticsActionArgsDict(TypedDict): + channel_name: pulumi.Input[str] + """ + The name of the IoT Analytics channel to which message data will be sent. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage). + """ + batch_mode: NotRequired[pulumi.Input[bool]] + """ + Whether to process the action as a batch. The default value is `false` . + + When `batchMode` is `true` and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by [`BatchPutMessage`](https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_BatchPutMessage.html) The resulting array can't have more than 100 messages. + """ +elif False: + TopicRuleIotAnalyticsActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleIotAnalyticsActionArgs: def __init__(__self__, *, @@ -3452,6 +4684,35 @@ def batch_mode(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "batch_mode", value) +if not MYPY: + class TopicRuleIotEventsActionArgsDict(TypedDict): + input_name: pulumi.Input[str] + """ + The name of the AWS IoT Events input. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage"). + """ + batch_mode: NotRequired[pulumi.Input[bool]] + """ + Whether to process the event actions as a batch. The default value is `false` . + + When `batchMode` is `true` , you can't specify a `messageId` . + + When `batchMode` is `true` and the rule SQL statement evaluates to an Array, each Array element is treated as a separate message when Events by calling [`BatchPutMessage`](https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchPutMessage.html) . The resulting array can't have more than 10 messages. + """ + message_id: NotRequired[pulumi.Input[str]] + """ + The ID of the message. The default `messageId` is a new UUID value. + + When `batchMode` is `true` , you can't specify a `messageId` --a new UUID value will be assigned. + + Assign a value to this property to ensure that only one input (message) with a given `messageId` will be processed by an AWS IoT Events detector. + """ +elif False: + TopicRuleIotEventsActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleIotEventsActionArgs: def __init__(__self__, *, @@ -3537,6 +4798,19 @@ def message_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "message_id", value) +if not MYPY: + class TopicRuleIotSiteWiseActionArgsDict(TypedDict): + put_asset_property_value_entries: pulumi.Input[Sequence[pulumi.Input['TopicRulePutAssetPropertyValueEntryArgsDict']]] + """ + A list of asset property value entries. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that grants AWS IoT permission to send an asset property value to AWS IoT SiteWise. ( `"Action": "iotsitewise:BatchPutAssetPropertyValue"` ). The trust policy can restrict access to specific asset hierarchy paths. + """ +elif False: + TopicRuleIotSiteWiseActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleIotSiteWiseActionArgs: def __init__(__self__, *, @@ -3574,6 +4848,19 @@ def role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "role_arn", value) +if not MYPY: + class TopicRuleKafkaActionHeaderArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The key of the Kafka header. + """ + value: pulumi.Input[str] + """ + The value of the Kafka header. + """ +elif False: + TopicRuleKafkaActionHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleKafkaActionHeaderArgs: def __init__(__self__, *, @@ -3611,6 +4898,35 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class TopicRuleKafkaActionArgsDict(TypedDict): + client_properties: pulumi.Input[Mapping[str, pulumi.Input[str]]] + """ + Properties of the Apache Kafka producer client. + """ + destination_arn: pulumi.Input[str] + """ + The ARN of Kafka action's VPC `TopicRuleDestination` . + """ + topic: pulumi.Input[str] + """ + The Kafka topic for messages to be sent to the Kafka broker. + """ + headers: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicRuleKafkaActionHeaderArgsDict']]]] + """ + The list of Kafka headers that you specify. + """ + key: NotRequired[pulumi.Input[str]] + """ + The Kafka message key. + """ + partition: NotRequired[pulumi.Input[str]] + """ + The Kafka message partition. + """ +elif False: + TopicRuleKafkaActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleKafkaActionArgs: def __init__(__self__, *, @@ -3711,6 +5027,23 @@ def partition(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "partition", value) +if not MYPY: + class TopicRuleKinesisActionArgsDict(TypedDict): + role_arn: pulumi.Input[str] + """ + The ARN of the IAM role that grants access to the Amazon Kinesis stream. + """ + stream_name: pulumi.Input[str] + """ + The name of the Amazon Kinesis stream. + """ + partition_key: NotRequired[pulumi.Input[str]] + """ + The partition key. + """ +elif False: + TopicRuleKinesisActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleKinesisActionArgs: def __init__(__self__, *, @@ -3764,6 +5097,15 @@ def partition_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "partition_key", value) +if not MYPY: + class TopicRuleLambdaActionArgsDict(TypedDict): + function_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the Lambda function. + """ +elif False: + TopicRuleLambdaActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleLambdaActionArgs: def __init__(__self__, *, @@ -3787,6 +5129,35 @@ def function_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "function_arn", value) +if not MYPY: + class TopicRuleLocationActionArgsDict(TypedDict): + device_id: pulumi.Input[str] + """ + The unique ID of the device providing the location data. + """ + latitude: pulumi.Input[str] + """ + A string that evaluates to a double value that represents the latitude of the device's location. + """ + longitude: pulumi.Input[str] + """ + A string that evaluates to a double value that represents the longitude of the device's location. + """ + role_arn: pulumi.Input[str] + """ + The IAM role that grants permission to write to the Amazon Location resource. + """ + tracker_name: pulumi.Input[str] + """ + The name of the tracker resource in Amazon Location in which the location is updated. + """ + timestamp: NotRequired[pulumi.Input['TopicRuleTimestampArgsDict']] + """ + The time that the location data was sampled. The default value is the time the MQTT message was processed. + """ +elif False: + TopicRuleLocationActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleLocationActionArgs: def __init__(__self__, *, @@ -3885,6 +5256,31 @@ def timestamp(self, value: Optional[pulumi.Input['TopicRuleTimestampArgs']]): pulumi.set(self, "timestamp", value) +if not MYPY: + class TopicRuleOpenSearchActionArgsDict(TypedDict): + endpoint: pulumi.Input[str] + """ + The endpoint of your OpenSearch domain. + """ + id: pulumi.Input[str] + """ + The unique identifier for the document you are storing. + """ + index: pulumi.Input[str] + """ + The OpenSearch index where you want to store your data. + """ + role_arn: pulumi.Input[str] + """ + The IAM role ARN that has access to OpenSearch. + """ + type: pulumi.Input[str] + """ + The type of document you are storing. + """ +elif False: + TopicRuleOpenSearchActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleOpenSearchActionArgs: def __init__(__self__, *, @@ -3967,6 +5363,37 @@ def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) +if not MYPY: + class TopicRulePayloadArgsDict(TypedDict): + actions: pulumi.Input[Sequence[pulumi.Input['TopicRuleActionArgsDict']]] + """ + The actions associated with the rule. + """ + sql: pulumi.Input[str] + """ + The SQL statement used to query the topic. For more information, see [AWS IoT SQL Reference](https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-reference.html) in the *AWS IoT Developer Guide* . + """ + aws_iot_sql_version: NotRequired[pulumi.Input[str]] + """ + The version of the SQL rules engine to use when evaluating the rule. + + The default value is 2015-10-08. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the rule. + """ + error_action: NotRequired[pulumi.Input['TopicRuleActionArgsDict']] + """ + The action to take when an error occurs. + """ + rule_disabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the rule is disabled. + """ +elif False: + TopicRulePayloadArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRulePayloadArgs: def __init__(__self__, *, @@ -4072,6 +5499,31 @@ def rule_disabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "rule_disabled", value) +if not MYPY: + class TopicRulePutAssetPropertyValueEntryArgsDict(TypedDict): + property_values: pulumi.Input[Sequence[pulumi.Input['TopicRuleAssetPropertyValueArgsDict']]] + """ + A list of property values to insert that each contain timestamp, quality, and value (TQV) information. + """ + asset_id: NotRequired[pulumi.Input[str]] + """ + The ID of the AWS IoT SiteWise asset. You must specify either a `propertyAlias` or both an `aliasId` and a `propertyId` . Accepts substitution templates. + """ + entry_id: NotRequired[pulumi.Input[str]] + """ + Optional. A unique identifier for this entry that you can define to better track which message caused an error in case of failure. Accepts substitution templates. Defaults to a new UUID. + """ + property_alias: NotRequired[pulumi.Input[str]] + """ + The name of the property alias associated with your asset property. You must specify either a `propertyAlias` or both an `aliasId` and a `propertyId` . Accepts substitution templates. + """ + property_id: NotRequired[pulumi.Input[str]] + """ + The ID of the asset's property. You must specify either a `propertyAlias` or both an `aliasId` and a `propertyId` . Accepts substitution templates. + """ +elif False: + TopicRulePutAssetPropertyValueEntryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRulePutAssetPropertyValueEntryArgs: def __init__(__self__, *, @@ -4158,6 +5610,15 @@ def property_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "property_id", value) +if not MYPY: + class TopicRulePutItemInputArgsDict(TypedDict): + table_name: pulumi.Input[str] + """ + The table where the message data will be written. + """ +elif False: + TopicRulePutItemInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRulePutItemInputArgs: def __init__(__self__, *, @@ -4180,6 +5641,57 @@ def table_name(self, value: pulumi.Input[str]): pulumi.set(self, "table_name", value) +if not MYPY: + class TopicRuleRepublishActionHeadersArgsDict(TypedDict): + content_type: NotRequired[pulumi.Input[str]] + """ + A UTF-8 encoded string that describes the content of the publishing message. + + For more information, see [Content Type](https://docs.aws.amazon.com/https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901118) in the MQTT Version 5.0 specification. + + Supports [substitution templates](https://docs.aws.amazon.com//iot/latest/developerguide/iot-substitution-templates.html) . + """ + correlation_data: NotRequired[pulumi.Input[str]] + """ + The base64-encoded binary data used by the sender of the request message to identify which request the response message is for. + + For more information, see [Correlation Data](https://docs.aws.amazon.com/https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901115) in the MQTT Version 5.0 specification. + + Supports [substitution templates](https://docs.aws.amazon.com//iot/latest/developerguide/iot-substitution-templates.html) . + + > This binary data must be base64-encoded. + """ + message_expiry: NotRequired[pulumi.Input[str]] + """ + A user-defined integer value that represents the message expiry interval at the broker. If the messages haven't been sent to the subscribers within that interval, the message expires and is removed. The value of `messageExpiry` represents the number of seconds before it expires. For more information about the limits of `messageExpiry` , see [Message broker and protocol limits and quotas](https://docs.aws.amazon.com//general/latest/gr/iot-core.html#limits_iot) in the IoT Core Reference Guide. + + Supports [substitution templates](https://docs.aws.amazon.com//iot/latest/developerguide/iot-substitution-templates.html) . + """ + payload_format_indicator: NotRequired[pulumi.Input[str]] + """ + An `Enum` string value that indicates whether the payload is formatted as UTF-8. + + Valid values are `UNSPECIFIED_BYTES` and `UTF8_DATA` . + + For more information, see [Payload Format Indicator](https://docs.aws.amazon.com/https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901111) from the MQTT Version 5.0 specification. + + Supports [substitution templates](https://docs.aws.amazon.com//iot/latest/developerguide/iot-substitution-templates.html) . + """ + response_topic: NotRequired[pulumi.Input[str]] + """ + A UTF-8 encoded string that's used as the topic name for a response message. The response topic is used to describe the topic to which the receiver should publish as part of the request-response flow. The topic must not contain wildcard characters. + + For more information, see [Response Topic](https://docs.aws.amazon.com/https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901114) in the MQTT Version 5.0 specification. + + Supports [substitution templates](https://docs.aws.amazon.com//iot/latest/developerguide/iot-substitution-templates.html) . + """ + user_properties: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicRuleUserPropertyArgsDict']]]] + """ + An array of key-value pairs that you define in the MQTT5 header. + """ +elif False: + TopicRuleRepublishActionHeadersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleRepublishActionHeadersArgs: def __init__(__self__, *, @@ -4327,6 +5839,27 @@ def user_properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['To pulumi.set(self, "user_properties", value) +if not MYPY: + class TopicRuleRepublishActionArgsDict(TypedDict): + role_arn: pulumi.Input[str] + """ + The ARN of the IAM role that grants access. + """ + topic: pulumi.Input[str] + """ + The name of the MQTT topic. + """ + headers: NotRequired[pulumi.Input['TopicRuleRepublishActionHeadersArgsDict']] + """ + MQTT Version 5.0 headers information. For more information, see [MQTT](https://docs.aws.amazon.com//iot/latest/developerguide/mqtt.html) in the IoT Core Developer Guide. + """ + qos: NotRequired[pulumi.Input[int]] + """ + The Quality of Service (QoS) level to use when republishing messages. The default value is 0. + """ +elif False: + TopicRuleRepublishActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleRepublishActionArgs: def __init__(__self__, *, @@ -4396,6 +5929,27 @@ def qos(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "qos", value) +if not MYPY: + class TopicRuleS3ActionArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + """ + The Amazon S3 bucket. + """ + key: pulumi.Input[str] + """ + The object key. For more information, see [Actions, resources, and condition keys for Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html) . + """ + role_arn: pulumi.Input[str] + """ + The ARN of the IAM role that grants access. + """ + canned_acl: NotRequired[pulumi.Input['TopicRuleCannedAccessControlList']] + """ + The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see [S3 canned ACLs](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) . + """ +elif False: + TopicRuleS3ActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleS3ActionArgs: def __init__(__self__, *, @@ -4464,6 +6018,23 @@ def canned_acl(self, value: Optional[pulumi.Input['TopicRuleCannedAccessControlL pulumi.set(self, "canned_acl", value) +if not MYPY: + class TopicRuleSigV4AuthorizationArgsDict(TypedDict): + role_arn: pulumi.Input[str] + """ + The ARN of the signing role. + """ + service_name: pulumi.Input[str] + """ + The service name to use while signing with Sig V4. + """ + signing_region: pulumi.Input[str] + """ + The signing region. + """ +elif False: + TopicRuleSigV4AuthorizationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleSigV4AuthorizationArgs: def __init__(__self__, *, @@ -4516,6 +6087,23 @@ def signing_region(self, value: pulumi.Input[str]): pulumi.set(self, "signing_region", value) +if not MYPY: + class TopicRuleSnsActionArgsDict(TypedDict): + role_arn: pulumi.Input[str] + """ + The ARN of the IAM role that grants access. + """ + target_arn: pulumi.Input[str] + """ + The ARN of the SNS topic. + """ + message_format: NotRequired[pulumi.Input[str]] + """ + (Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. For more information, see [Amazon SNS Message and JSON Formats](https://docs.aws.amazon.com/sns/latest/dg/json-formats.html) in the *Amazon Simple Notification Service Developer Guide* . + """ +elif False: + TopicRuleSnsActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleSnsActionArgs: def __init__(__self__, *, @@ -4569,6 +6157,23 @@ def message_format(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "message_format", value) +if not MYPY: + class TopicRuleSqsActionArgsDict(TypedDict): + queue_url: pulumi.Input[str] + """ + The URL of the Amazon SQS queue. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the IAM role that grants access. + """ + use_base64: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to use Base64 encoding. + """ +elif False: + TopicRuleSqsActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleSqsActionArgs: def __init__(__self__, *, @@ -4622,6 +6227,23 @@ def use_base64(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_base64", value) +if not MYPY: + class TopicRuleStepFunctionsActionArgsDict(TypedDict): + role_arn: pulumi.Input[str] + """ + The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution"). + """ + state_machine_name: pulumi.Input[str] + """ + The name of the Step Functions state machine whose execution will be started. + """ + execution_name_prefix: NotRequired[pulumi.Input[str]] + """ + (Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided. + """ +elif False: + TopicRuleStepFunctionsActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleStepFunctionsActionArgs: def __init__(__self__, *, @@ -4675,6 +6297,19 @@ def execution_name_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "execution_name_prefix", value) +if not MYPY: + class TopicRuleTimestampArgsDict(TypedDict): + value: pulumi.Input[str] + """ + An expression that returns a long epoch time value. + """ + unit: NotRequired[pulumi.Input[str]] + """ + The precision of the timestamp value that results from the expression described in `value` . + """ +elif False: + TopicRuleTimestampArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleTimestampArgs: def __init__(__self__, *, @@ -4713,6 +6348,31 @@ def unit(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit", value) +if not MYPY: + class TopicRuleTimestreamActionArgsDict(TypedDict): + database_name: pulumi.Input[str] + """ + The name of an Amazon Timestream database that has the table to write records into. + """ + dimensions: pulumi.Input[Sequence[pulumi.Input['TopicRuleTimestreamDimensionArgsDict']]] + """ + Metadata attributes of the time series that are written in each measure record. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the role that grants AWS IoT permission to write to the Timestream database table. + """ + table_name: pulumi.Input[str] + """ + The table where the message data will be written. + """ + timestamp: NotRequired[pulumi.Input['TopicRuleTimestreamTimestampArgsDict']] + """ + The value to use for the entry's timestamp. If blank, the time that the entry was processed is used. + """ +elif False: + TopicRuleTimestreamActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleTimestreamActionArgs: def __init__(__self__, *, @@ -4796,6 +6456,13 @@ def timestamp(self, value: Optional[pulumi.Input['TopicRuleTimestreamTimestampAr pulumi.set(self, "timestamp", value) +if not MYPY: + class TopicRuleTimestreamDimensionArgsDict(TypedDict): + name: pulumi.Input[str] + value: pulumi.Input[str] +elif False: + TopicRuleTimestreamDimensionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleTimestreamDimensionArgs: def __init__(__self__, *, @@ -4823,6 +6490,19 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class TopicRuleTimestreamTimestampArgsDict(TypedDict): + unit: pulumi.Input[str] + """ + The precision of the timestamp value that results from the expression described in `value` . + """ + value: pulumi.Input[str] + """ + An expression that returns a long epoch time value. + """ +elif False: + TopicRuleTimestreamTimestampArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleTimestreamTimestampArgs: def __init__(__self__, *, @@ -4860,6 +6540,13 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class TopicRuleUserPropertyArgsDict(TypedDict): + key: pulumi.Input[str] + value: pulumi.Input[str] +elif False: + TopicRuleUserPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRuleUserPropertyArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/iot/account_audit_configuration.py b/sdk/python/pulumi_aws_native/iot/account_audit_configuration.py index 58491ae5a3..77a8cf68db 100644 --- a/sdk/python/pulumi_aws_native/iot/account_audit_configuration.py +++ b/sdk/python/pulumi_aws_native/iot/account_audit_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/iot/authorizer.py b/sdk/python/pulumi_aws_native/iot/authorizer.py index 02d1dd7554..6633592df4 100644 --- a/sdk/python/pulumi_aws_native/iot/authorizer.py +++ b/sdk/python/pulumi_aws_native/iot/authorizer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iot/billing_group.py b/sdk/python/pulumi_aws_native/iot/billing_group.py index 7a1493552e..65430ffe1d 100644 --- a/sdk/python/pulumi_aws_native/iot/billing_group.py +++ b/sdk/python/pulumi_aws_native/iot/billing_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iot/ca_certificate.py b/sdk/python/pulumi_aws_native/iot/ca_certificate.py index f93da8b1f6..172a489efe 100644 --- a/sdk/python/pulumi_aws_native/iot/ca_certificate.py +++ b/sdk/python/pulumi_aws_native/iot/ca_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iot/certificate.py b/sdk/python/pulumi_aws_native/iot/certificate.py index 4d1cd361fb..40f50a7b04 100644 --- a/sdk/python/pulumi_aws_native/iot/certificate.py +++ b/sdk/python/pulumi_aws_native/iot/certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iot/certificate_provider.py b/sdk/python/pulumi_aws_native/iot/certificate_provider.py index 376322b72f..bdcefccbdf 100644 --- a/sdk/python/pulumi_aws_native/iot/certificate_provider.py +++ b/sdk/python/pulumi_aws_native/iot/certificate_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iot/custom_metric.py b/sdk/python/pulumi_aws_native/iot/custom_metric.py index d6f8c90e7b..49319d46e0 100644 --- a/sdk/python/pulumi_aws_native/iot/custom_metric.py +++ b/sdk/python/pulumi_aws_native/iot/custom_metric.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iot/dimension.py b/sdk/python/pulumi_aws_native/iot/dimension.py index 713b9b030c..e616e937bb 100644 --- a/sdk/python/pulumi_aws_native/iot/dimension.py +++ b/sdk/python/pulumi_aws_native/iot/dimension.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iot/domain_configuration.py b/sdk/python/pulumi_aws_native/iot/domain_configuration.py index df241ab740..6ccd82670e 100644 --- a/sdk/python/pulumi_aws_native/iot/domain_configuration.py +++ b/sdk/python/pulumi_aws_native/iot/domain_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iot/fleet_metric.py b/sdk/python/pulumi_aws_native/iot/fleet_metric.py index 9ab721e02f..e99a0a1e5e 100644 --- a/sdk/python/pulumi_aws_native/iot/fleet_metric.py +++ b/sdk/python/pulumi_aws_native/iot/fleet_metric.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iot/get_account_audit_configuration.py b/sdk/python/pulumi_aws_native/iot/get_account_audit_configuration.py index a05c426af9..d98af34146 100644 --- a/sdk/python/pulumi_aws_native/iot/get_account_audit_configuration.py +++ b/sdk/python/pulumi_aws_native/iot/get_account_audit_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -91,9 +96,6 @@ def get_account_audit_configuration(account_id: Optional[str] = None, audit_check_configurations=pulumi.get(__ret__, 'audit_check_configurations'), audit_notification_target_configurations=pulumi.get(__ret__, 'audit_notification_target_configurations'), role_arn=pulumi.get(__ret__, 'role_arn')) - - -@_utilities.lift_output_func(get_account_audit_configuration) def get_account_audit_configuration_output(account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountAuditConfigurationResult]: """ @@ -102,4 +104,11 @@ def get_account_audit_configuration_output(account_id: Optional[pulumi.Input[str :param str account_id: Your 12-digit account ID (used as the primary identifier for the CloudFormation resource). """ - ... + __args__ = dict() + __args__['accountId'] = account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getAccountAuditConfiguration', __args__, opts=opts, typ=GetAccountAuditConfigurationResult) + return __ret__.apply(lambda __response__: GetAccountAuditConfigurationResult( + audit_check_configurations=pulumi.get(__response__, 'audit_check_configurations'), + audit_notification_target_configurations=pulumi.get(__response__, 'audit_notification_target_configurations'), + role_arn=pulumi.get(__response__, 'role_arn'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_authorizer.py b/sdk/python/pulumi_aws_native/iot/get_authorizer.py index 85351e6f36..324a164565 100644 --- a/sdk/python/pulumi_aws_native/iot/get_authorizer.py +++ b/sdk/python/pulumi_aws_native/iot/get_authorizer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -144,9 +149,6 @@ def get_authorizer(authorizer_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), token_key_name=pulumi.get(__ret__, 'token_key_name'), token_signing_public_keys=pulumi.get(__ret__, 'token_signing_public_keys')) - - -@_utilities.lift_output_func(get_authorizer) def get_authorizer_output(authorizer_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAuthorizerResult]: """ @@ -155,4 +157,15 @@ def get_authorizer_output(authorizer_name: Optional[pulumi.Input[str]] = None, :param str authorizer_name: The authorizer name. """ - ... + __args__ = dict() + __args__['authorizerName'] = authorizer_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getAuthorizer', __args__, opts=opts, typ=GetAuthorizerResult) + return __ret__.apply(lambda __response__: GetAuthorizerResult( + arn=pulumi.get(__response__, 'arn'), + authorizer_function_arn=pulumi.get(__response__, 'authorizer_function_arn'), + enable_caching_for_http=pulumi.get(__response__, 'enable_caching_for_http'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + token_key_name=pulumi.get(__response__, 'token_key_name'), + token_signing_public_keys=pulumi.get(__response__, 'token_signing_public_keys'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_billing_group.py b/sdk/python/pulumi_aws_native/iot/get_billing_group.py index 576bbc2aaf..54d863074f 100644 --- a/sdk/python/pulumi_aws_native/iot/get_billing_group.py +++ b/sdk/python/pulumi_aws_native/iot/get_billing_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -97,9 +102,6 @@ def get_billing_group(billing_group_name: Optional[str] = None, billing_group_properties=pulumi.get(__ret__, 'billing_group_properties'), id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_billing_group) def get_billing_group_output(billing_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBillingGroupResult]: """ @@ -108,4 +110,12 @@ def get_billing_group_output(billing_group_name: Optional[pulumi.Input[str]] = N :param str billing_group_name: The name of the billing group. """ - ... + __args__ = dict() + __args__['billingGroupName'] = billing_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getBillingGroup', __args__, opts=opts, typ=GetBillingGroupResult) + return __ret__.apply(lambda __response__: GetBillingGroupResult( + arn=pulumi.get(__response__, 'arn'), + billing_group_properties=pulumi.get(__response__, 'billing_group_properties'), + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_ca_certificate.py b/sdk/python/pulumi_aws_native/iot/get_ca_certificate.py index 1ac1dfbc90..db7b60aaf3 100644 --- a/sdk/python/pulumi_aws_native/iot/get_ca_certificate.py +++ b/sdk/python/pulumi_aws_native/iot/get_ca_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -132,9 +137,6 @@ def get_ca_certificate(id: Optional[str] = None, registration_config=pulumi.get(__ret__, 'registration_config'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_ca_certificate) def get_ca_certificate_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCaCertificateResult]: """ @@ -143,4 +145,14 @@ def get_ca_certificate_output(id: Optional[pulumi.Input[str]] = None, :param str id: The CA certificate ID. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getCaCertificate', __args__, opts=opts, typ=GetCaCertificateResult) + return __ret__.apply(lambda __response__: GetCaCertificateResult( + arn=pulumi.get(__response__, 'arn'), + auto_registration_status=pulumi.get(__response__, 'auto_registration_status'), + id=pulumi.get(__response__, 'id'), + registration_config=pulumi.get(__response__, 'registration_config'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_certificate.py b/sdk/python/pulumi_aws_native/iot/get_certificate.py index 3801640496..fc9614cb54 100644 --- a/sdk/python/pulumi_aws_native/iot/get_certificate.py +++ b/sdk/python/pulumi_aws_native/iot/get_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -93,9 +98,6 @@ def get_certificate(id: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), id=pulumi.get(__ret__, 'id'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_certificate) def get_certificate_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateResult]: """ @@ -104,4 +106,11 @@ def get_certificate_output(id: Optional[pulumi.Input[str]] = None, :param str id: The certificate ID. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getCertificate', __args__, opts=opts, typ=GetCertificateResult) + return __ret__.apply(lambda __response__: GetCertificateResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_certificate_provider.py b/sdk/python/pulumi_aws_native/iot/get_certificate_provider.py index 5d0340b645..f04ce26bc1 100644 --- a/sdk/python/pulumi_aws_native/iot/get_certificate_provider.py +++ b/sdk/python/pulumi_aws_native/iot/get_certificate_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -103,9 +108,6 @@ def get_certificate_provider(certificate_provider_name: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), lambda_function_arn=pulumi.get(__ret__, 'lambda_function_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_certificate_provider) def get_certificate_provider_output(certificate_provider_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateProviderResult]: """ @@ -114,4 +116,12 @@ def get_certificate_provider_output(certificate_provider_name: Optional[pulumi.I :param str certificate_provider_name: The name of the certificate provider. """ - ... + __args__ = dict() + __args__['certificateProviderName'] = certificate_provider_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getCertificateProvider', __args__, opts=opts, typ=GetCertificateProviderResult) + return __ret__.apply(lambda __response__: GetCertificateProviderResult( + account_default_for_operations=pulumi.get(__response__, 'account_default_for_operations'), + arn=pulumi.get(__response__, 'arn'), + lambda_function_arn=pulumi.get(__response__, 'lambda_function_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_custom_metric.py b/sdk/python/pulumi_aws_native/iot/get_custom_metric.py index 5ef12a768d..de123bdc18 100644 --- a/sdk/python/pulumi_aws_native/iot/get_custom_metric.py +++ b/sdk/python/pulumi_aws_native/iot/get_custom_metric.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_custom_metric(metric_name: Optional[str] = None, display_name=pulumi.get(__ret__, 'display_name'), metric_arn=pulumi.get(__ret__, 'metric_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_custom_metric) def get_custom_metric_output(metric_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCustomMetricResult]: """ @@ -94,4 +96,11 @@ def get_custom_metric_output(metric_name: Optional[pulumi.Input[str]] = None, :param str metric_name: The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws: . Cannot be updated once defined. """ - ... + __args__ = dict() + __args__['metricName'] = metric_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getCustomMetric', __args__, opts=opts, typ=GetCustomMetricResult) + return __ret__.apply(lambda __response__: GetCustomMetricResult( + display_name=pulumi.get(__response__, 'display_name'), + metric_arn=pulumi.get(__response__, 'metric_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_dimension.py b/sdk/python/pulumi_aws_native/iot/get_dimension.py index f60eaeca84..d62c8c374a 100644 --- a/sdk/python/pulumi_aws_native/iot/get_dimension.py +++ b/sdk/python/pulumi_aws_native/iot/get_dimension.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_dimension(name: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), string_values=pulumi.get(__ret__, 'string_values'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_dimension) def get_dimension_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDimensionResult]: """ @@ -94,4 +96,11 @@ def get_dimension_output(name: Optional[pulumi.Input[str]] = None, :param str name: A unique identifier for the dimension. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getDimension', __args__, opts=opts, typ=GetDimensionResult) + return __ret__.apply(lambda __response__: GetDimensionResult( + arn=pulumi.get(__response__, 'arn'), + string_values=pulumi.get(__response__, 'string_values'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_domain_configuration.py b/sdk/python/pulumi_aws_native/iot/get_domain_configuration.py index 4f80018ace..d91b1d567a 100644 --- a/sdk/python/pulumi_aws_native/iot/get_domain_configuration.py +++ b/sdk/python/pulumi_aws_native/iot/get_domain_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -205,9 +210,6 @@ def get_domain_configuration(domain_configuration_name: Optional[str] = None, server_certificates=pulumi.get(__ret__, 'server_certificates'), tags=pulumi.get(__ret__, 'tags'), tls_config=pulumi.get(__ret__, 'tls_config')) - - -@_utilities.lift_output_func(get_domain_configuration) def get_domain_configuration_output(domain_configuration_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainConfigurationResult]: """ @@ -216,4 +218,19 @@ def get_domain_configuration_output(domain_configuration_name: Optional[pulumi.I :param str domain_configuration_name: The name of the domain configuration. This value must be unique to a region. """ - ... + __args__ = dict() + __args__['domainConfigurationName'] = domain_configuration_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getDomainConfiguration', __args__, opts=opts, typ=GetDomainConfigurationResult) + return __ret__.apply(lambda __response__: GetDomainConfigurationResult( + application_protocol=pulumi.get(__response__, 'application_protocol'), + arn=pulumi.get(__response__, 'arn'), + authentication_type=pulumi.get(__response__, 'authentication_type'), + authorizer_config=pulumi.get(__response__, 'authorizer_config'), + client_certificate_config=pulumi.get(__response__, 'client_certificate_config'), + domain_configuration_status=pulumi.get(__response__, 'domain_configuration_status'), + domain_type=pulumi.get(__response__, 'domain_type'), + server_certificate_config=pulumi.get(__response__, 'server_certificate_config'), + server_certificates=pulumi.get(__response__, 'server_certificates'), + tags=pulumi.get(__response__, 'tags'), + tls_config=pulumi.get(__response__, 'tls_config'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_fleet_metric.py b/sdk/python/pulumi_aws_native/iot/get_fleet_metric.py index 14805558c4..3f15298856 100644 --- a/sdk/python/pulumi_aws_native/iot/get_fleet_metric.py +++ b/sdk/python/pulumi_aws_native/iot/get_fleet_metric.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -214,9 +219,6 @@ def get_fleet_metric(metric_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), unit=pulumi.get(__ret__, 'unit'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_fleet_metric) def get_fleet_metric_output(metric_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetMetricResult]: """ @@ -225,4 +227,21 @@ def get_fleet_metric_output(metric_name: Optional[pulumi.Input[str]] = None, :param str metric_name: The name of the fleet metric """ - ... + __args__ = dict() + __args__['metricName'] = metric_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getFleetMetric', __args__, opts=opts, typ=GetFleetMetricResult) + return __ret__.apply(lambda __response__: GetFleetMetricResult( + aggregation_field=pulumi.get(__response__, 'aggregation_field'), + aggregation_type=pulumi.get(__response__, 'aggregation_type'), + creation_date=pulumi.get(__response__, 'creation_date'), + description=pulumi.get(__response__, 'description'), + index_name=pulumi.get(__response__, 'index_name'), + last_modified_date=pulumi.get(__response__, 'last_modified_date'), + metric_arn=pulumi.get(__response__, 'metric_arn'), + period=pulumi.get(__response__, 'period'), + query_string=pulumi.get(__response__, 'query_string'), + query_version=pulumi.get(__response__, 'query_version'), + tags=pulumi.get(__response__, 'tags'), + unit=pulumi.get(__response__, 'unit'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_job_template.py b/sdk/python/pulumi_aws_native/iot/get_job_template.py index 43fcbcd509..490a7df154 100644 --- a/sdk/python/pulumi_aws_native/iot/get_job_template.py +++ b/sdk/python/pulumi_aws_native/iot/get_job_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_job_template(job_template_id: Optional[str] = None, return AwaitableGetJobTemplateResult( arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_job_template) def get_job_template_output(job_template_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetJobTemplateResult]: """ @@ -67,4 +69,9 @@ def get_job_template_output(job_template_id: Optional[pulumi.Input[str]] = None, :param str job_template_id: A unique identifier for the job template. We recommend using a UUID. Alpha-numeric characters, "-", and "_" are valid for use here. """ - ... + __args__ = dict() + __args__['jobTemplateId'] = job_template_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getJobTemplate', __args__, opts=opts, typ=GetJobTemplateResult) + return __ret__.apply(lambda __response__: GetJobTemplateResult( + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_logging.py b/sdk/python/pulumi_aws_native/iot/get_logging.py index 1dc1ee5740..a0171d0e65 100644 --- a/sdk/python/pulumi_aws_native/iot/get_logging.py +++ b/sdk/python/pulumi_aws_native/iot/get_logging.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -70,9 +75,6 @@ def get_logging(account_id: Optional[str] = None, return AwaitableGetLoggingResult( default_log_level=pulumi.get(__ret__, 'default_log_level'), role_arn=pulumi.get(__ret__, 'role_arn')) - - -@_utilities.lift_output_func(get_logging) def get_logging_output(account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoggingResult]: """ @@ -81,4 +83,10 @@ def get_logging_output(account_id: Optional[pulumi.Input[str]] = None, :param str account_id: Your 12-digit account ID (used as the primary identifier for the CloudFormation resource). """ - ... + __args__ = dict() + __args__['accountId'] = account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getLogging', __args__, opts=opts, typ=GetLoggingResult) + return __ret__.apply(lambda __response__: GetLoggingResult( + default_log_level=pulumi.get(__response__, 'default_log_level'), + role_arn=pulumi.get(__response__, 'role_arn'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_mitigation_action.py b/sdk/python/pulumi_aws_native/iot/get_mitigation_action.py index ad9ad38ec0..b167a77108 100644 --- a/sdk/python/pulumi_aws_native/iot/get_mitigation_action.py +++ b/sdk/python/pulumi_aws_native/iot/get_mitigation_action.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -111,9 +116,6 @@ def get_mitigation_action(action_name: Optional[str] = None, mitigation_action_id=pulumi.get(__ret__, 'mitigation_action_id'), role_arn=pulumi.get(__ret__, 'role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_mitigation_action) def get_mitigation_action_output(action_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMitigationActionResult]: """ @@ -122,4 +124,13 @@ def get_mitigation_action_output(action_name: Optional[pulumi.Input[str]] = None :param str action_name: A unique identifier for the mitigation action. """ - ... + __args__ = dict() + __args__['actionName'] = action_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getMitigationAction', __args__, opts=opts, typ=GetMitigationActionResult) + return __ret__.apply(lambda __response__: GetMitigationActionResult( + action_params=pulumi.get(__response__, 'action_params'), + mitigation_action_arn=pulumi.get(__response__, 'mitigation_action_arn'), + mitigation_action_id=pulumi.get(__response__, 'mitigation_action_id'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_policy.py b/sdk/python/pulumi_aws_native/iot/get_policy.py index 05c18417b2..1149a49ecc 100644 --- a/sdk/python/pulumi_aws_native/iot/get_policy.py +++ b/sdk/python/pulumi_aws_native/iot/get_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -95,9 +100,6 @@ def get_policy(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), policy_document=pulumi.get(__ret__, 'policy_document'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_policy) def get_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyResult]: """ @@ -106,4 +108,12 @@ def get_policy_output(id: Optional[pulumi.Input[str]] = None, :param str id: The name of this policy. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getPolicy', __args__, opts=opts, typ=GetPolicyResult) + return __ret__.apply(lambda __response__: GetPolicyResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + policy_document=pulumi.get(__response__, 'policy_document'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_provisioning_template.py b/sdk/python/pulumi_aws_native/iot/get_provisioning_template.py index 55be8a8597..ee3460a336 100644 --- a/sdk/python/pulumi_aws_native/iot/get_provisioning_template.py +++ b/sdk/python/pulumi_aws_native/iot/get_provisioning_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -136,9 +141,6 @@ def get_provisioning_template(template_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), template_arn=pulumi.get(__ret__, 'template_arn'), template_body=pulumi.get(__ret__, 'template_body')) - - -@_utilities.lift_output_func(get_provisioning_template) def get_provisioning_template_output(template_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProvisioningTemplateResult]: """ @@ -147,4 +149,15 @@ def get_provisioning_template_output(template_name: Optional[pulumi.Input[str]] :param str template_name: The name of the fleet provisioning template. """ - ... + __args__ = dict() + __args__['templateName'] = template_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getProvisioningTemplate', __args__, opts=opts, typ=GetProvisioningTemplateResult) + return __ret__.apply(lambda __response__: GetProvisioningTemplateResult( + description=pulumi.get(__response__, 'description'), + enabled=pulumi.get(__response__, 'enabled'), + pre_provisioning_hook=pulumi.get(__response__, 'pre_provisioning_hook'), + provisioning_role_arn=pulumi.get(__response__, 'provisioning_role_arn'), + tags=pulumi.get(__response__, 'tags'), + template_arn=pulumi.get(__response__, 'template_arn'), + template_body=pulumi.get(__response__, 'template_body'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_resource_specific_logging.py b/sdk/python/pulumi_aws_native/iot/get_resource_specific_logging.py index 16a5fd39ea..3a06d4b6dd 100644 --- a/sdk/python/pulumi_aws_native/iot/get_resource_specific_logging.py +++ b/sdk/python/pulumi_aws_native/iot/get_resource_specific_logging.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -70,9 +75,6 @@ def get_resource_specific_logging(target_id: Optional[str] = None, return AwaitableGetResourceSpecificLoggingResult( log_level=pulumi.get(__ret__, 'log_level'), target_id=pulumi.get(__ret__, 'target_id')) - - -@_utilities.lift_output_func(get_resource_specific_logging) def get_resource_specific_logging_output(target_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceSpecificLoggingResult]: """ @@ -81,4 +83,10 @@ def get_resource_specific_logging_output(target_id: Optional[pulumi.Input[str]] :param str target_id: Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target. """ - ... + __args__ = dict() + __args__['targetId'] = target_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getResourceSpecificLogging', __args__, opts=opts, typ=GetResourceSpecificLoggingResult) + return __ret__.apply(lambda __response__: GetResourceSpecificLoggingResult( + log_level=pulumi.get(__response__, 'log_level'), + target_id=pulumi.get(__response__, 'target_id'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_role_alias.py b/sdk/python/pulumi_aws_native/iot/get_role_alias.py index ac0bde5489..0223413428 100644 --- a/sdk/python/pulumi_aws_native/iot/get_role_alias.py +++ b/sdk/python/pulumi_aws_native/iot/get_role_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -98,9 +103,6 @@ def get_role_alias(role_alias: Optional[str] = None, role_alias_arn=pulumi.get(__ret__, 'role_alias_arn'), role_arn=pulumi.get(__ret__, 'role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_role_alias) def get_role_alias_output(role_alias: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoleAliasResult]: """ @@ -109,4 +111,12 @@ def get_role_alias_output(role_alias: Optional[pulumi.Input[str]] = None, :param str role_alias: The role alias. """ - ... + __args__ = dict() + __args__['roleAlias'] = role_alias + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getRoleAlias', __args__, opts=opts, typ=GetRoleAliasResult) + return __ret__.apply(lambda __response__: GetRoleAliasResult( + credential_duration_seconds=pulumi.get(__response__, 'credential_duration_seconds'), + role_alias_arn=pulumi.get(__response__, 'role_alias_arn'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_scheduled_audit.py b/sdk/python/pulumi_aws_native/iot/get_scheduled_audit.py index ac20196ed0..2589cda152 100644 --- a/sdk/python/pulumi_aws_native/iot/get_scheduled_audit.py +++ b/sdk/python/pulumi_aws_native/iot/get_scheduled_audit.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -123,9 +128,6 @@ def get_scheduled_audit(scheduled_audit_name: Optional[str] = None, scheduled_audit_arn=pulumi.get(__ret__, 'scheduled_audit_arn'), tags=pulumi.get(__ret__, 'tags'), target_check_names=pulumi.get(__ret__, 'target_check_names')) - - -@_utilities.lift_output_func(get_scheduled_audit) def get_scheduled_audit_output(scheduled_audit_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduledAuditResult]: """ @@ -134,4 +136,14 @@ def get_scheduled_audit_output(scheduled_audit_name: Optional[pulumi.Input[str]] :param str scheduled_audit_name: The name you want to give to the scheduled audit. """ - ... + __args__ = dict() + __args__['scheduledAuditName'] = scheduled_audit_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getScheduledAudit', __args__, opts=opts, typ=GetScheduledAuditResult) + return __ret__.apply(lambda __response__: GetScheduledAuditResult( + day_of_month=pulumi.get(__response__, 'day_of_month'), + day_of_week=pulumi.get(__response__, 'day_of_week'), + frequency=pulumi.get(__response__, 'frequency'), + scheduled_audit_arn=pulumi.get(__response__, 'scheduled_audit_arn'), + tags=pulumi.get(__response__, 'tags'), + target_check_names=pulumi.get(__response__, 'target_check_names'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_security_profile.py b/sdk/python/pulumi_aws_native/iot/get_security_profile.py index d322866cbd..a4b4702581 100644 --- a/sdk/python/pulumi_aws_native/iot/get_security_profile.py +++ b/sdk/python/pulumi_aws_native/iot/get_security_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_security_profile(security_profile_name: Optional[str] = None, security_profile_description=pulumi.get(__ret__, 'security_profile_description'), tags=pulumi.get(__ret__, 'tags'), target_arns=pulumi.get(__ret__, 'target_arns')) - - -@_utilities.lift_output_func(get_security_profile) def get_security_profile_output(security_profile_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityProfileResult]: """ @@ -161,4 +163,16 @@ def get_security_profile_output(security_profile_name: Optional[pulumi.Input[str :param str security_profile_name: A unique identifier for the security profile. """ - ... + __args__ = dict() + __args__['securityProfileName'] = security_profile_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getSecurityProfile', __args__, opts=opts, typ=GetSecurityProfileResult) + return __ret__.apply(lambda __response__: GetSecurityProfileResult( + additional_metrics_to_retain_v2=pulumi.get(__response__, 'additional_metrics_to_retain_v2'), + alert_targets=pulumi.get(__response__, 'alert_targets'), + behaviors=pulumi.get(__response__, 'behaviors'), + metrics_export_config=pulumi.get(__response__, 'metrics_export_config'), + security_profile_arn=pulumi.get(__response__, 'security_profile_arn'), + security_profile_description=pulumi.get(__response__, 'security_profile_description'), + tags=pulumi.get(__response__, 'tags'), + target_arns=pulumi.get(__response__, 'target_arns'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_software_package.py b/sdk/python/pulumi_aws_native/iot/get_software_package.py index b64a1adc84..3ce7b62181 100644 --- a/sdk/python/pulumi_aws_native/iot/get_software_package.py +++ b/sdk/python/pulumi_aws_native/iot/get_software_package.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -77,12 +82,16 @@ def get_software_package(package_name: Optional[str] = None, description=pulumi.get(__ret__, 'description'), package_arn=pulumi.get(__ret__, 'package_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_software_package) def get_software_package_output(package_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSoftwarePackageResult]: """ resource definition """ - ... + __args__ = dict() + __args__['packageName'] = package_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getSoftwarePackage', __args__, opts=opts, typ=GetSoftwarePackageResult) + return __ret__.apply(lambda __response__: GetSoftwarePackageResult( + description=pulumi.get(__response__, 'description'), + package_arn=pulumi.get(__response__, 'package_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_software_package_version.py b/sdk/python/pulumi_aws_native/iot/get_software_package_version.py index e107f8ee64..9cd44db536 100644 --- a/sdk/python/pulumi_aws_native/iot/get_software_package_version.py +++ b/sdk/python/pulumi_aws_native/iot/get_software_package_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -116,13 +121,21 @@ def get_software_package_version(package_name: Optional[str] = None, package_version_arn=pulumi.get(__ret__, 'package_version_arn'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_software_package_version) def get_software_package_version_output(package_name: Optional[pulumi.Input[str]] = None, version_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSoftwarePackageVersionResult]: """ resource definition """ - ... + __args__ = dict() + __args__['packageName'] = package_name + __args__['versionName'] = version_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getSoftwarePackageVersion', __args__, opts=opts, typ=GetSoftwarePackageVersionResult) + return __ret__.apply(lambda __response__: GetSoftwarePackageVersionResult( + attributes=pulumi.get(__response__, 'attributes'), + description=pulumi.get(__response__, 'description'), + error_reason=pulumi.get(__response__, 'error_reason'), + package_version_arn=pulumi.get(__response__, 'package_version_arn'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_thing.py b/sdk/python/pulumi_aws_native/iot/get_thing.py index f1789bd136..8c7dbd9ddb 100644 --- a/sdk/python/pulumi_aws_native/iot/get_thing.py +++ b/sdk/python/pulumi_aws_native/iot/get_thing.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -85,9 +90,6 @@ def get_thing(thing_name: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), attribute_payload=pulumi.get(__ret__, 'attribute_payload'), id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_thing) def get_thing_output(thing_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetThingResult]: """ @@ -98,4 +100,11 @@ def get_thing_output(thing_name: Optional[pulumi.Input[str]] = None, You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing. """ - ... + __args__ = dict() + __args__['thingName'] = thing_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getThing', __args__, opts=opts, typ=GetThingResult) + return __ret__.apply(lambda __response__: GetThingResult( + arn=pulumi.get(__response__, 'arn'), + attribute_payload=pulumi.get(__response__, 'attribute_payload'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_thing_group.py b/sdk/python/pulumi_aws_native/iot/get_thing_group.py index dcecbbee0a..d7d91c9a71 100644 --- a/sdk/python/pulumi_aws_native/iot/get_thing_group.py +++ b/sdk/python/pulumi_aws_native/iot/get_thing_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -112,9 +117,6 @@ def get_thing_group(thing_group_name: Optional[str] = None, query_string=pulumi.get(__ret__, 'query_string'), tags=pulumi.get(__ret__, 'tags'), thing_group_properties=pulumi.get(__ret__, 'thing_group_properties')) - - -@_utilities.lift_output_func(get_thing_group) def get_thing_group_output(thing_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetThingGroupResult]: """ @@ -123,4 +125,13 @@ def get_thing_group_output(thing_group_name: Optional[pulumi.Input[str]] = None, :param str thing_group_name: The thing group name. """ - ... + __args__ = dict() + __args__['thingGroupName'] = thing_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getThingGroup', __args__, opts=opts, typ=GetThingGroupResult) + return __ret__.apply(lambda __response__: GetThingGroupResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + query_string=pulumi.get(__response__, 'query_string'), + tags=pulumi.get(__response__, 'tags'), + thing_group_properties=pulumi.get(__response__, 'thing_group_properties'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_thing_type.py b/sdk/python/pulumi_aws_native/iot/get_thing_type.py index 6e1ae36292..a92e51c3ad 100644 --- a/sdk/python/pulumi_aws_native/iot/get_thing_type.py +++ b/sdk/python/pulumi_aws_native/iot/get_thing_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -98,9 +103,6 @@ def get_thing_type(thing_type_name: Optional[str] = None, deprecate_thing_type=pulumi.get(__ret__, 'deprecate_thing_type'), id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_thing_type) def get_thing_type_output(thing_type_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetThingTypeResult]: """ @@ -109,4 +111,12 @@ def get_thing_type_output(thing_type_name: Optional[pulumi.Input[str]] = None, :param str thing_type_name: The name of the thing type. """ - ... + __args__ = dict() + __args__['thingTypeName'] = thing_type_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getThingType', __args__, opts=opts, typ=GetThingTypeResult) + return __ret__.apply(lambda __response__: GetThingTypeResult( + arn=pulumi.get(__response__, 'arn'), + deprecate_thing_type=pulumi.get(__response__, 'deprecate_thing_type'), + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_topic_rule.py b/sdk/python/pulumi_aws_native/iot/get_topic_rule.py index 485001e93e..b8ff78a649 100644 --- a/sdk/python/pulumi_aws_native/iot/get_topic_rule.py +++ b/sdk/python/pulumi_aws_native/iot/get_topic_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -93,9 +98,6 @@ def get_topic_rule(rule_name: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags'), topic_rule_payload=pulumi.get(__ret__, 'topic_rule_payload')) - - -@_utilities.lift_output_func(get_topic_rule) def get_topic_rule_output(rule_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTopicRuleResult]: """ @@ -106,4 +108,11 @@ def get_topic_rule_output(rule_name: Optional[pulumi.Input[str]] = None, *Pattern* : `^[a-zA-Z0-9_]+$` """ - ... + __args__ = dict() + __args__['ruleName'] = rule_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getTopicRule', __args__, opts=opts, typ=GetTopicRuleResult) + return __ret__.apply(lambda __response__: GetTopicRuleResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'), + topic_rule_payload=pulumi.get(__response__, 'topic_rule_payload'))) diff --git a/sdk/python/pulumi_aws_native/iot/get_topic_rule_destination.py b/sdk/python/pulumi_aws_native/iot/get_topic_rule_destination.py index 0a0c86b383..dac1d04cac 100644 --- a/sdk/python/pulumi_aws_native/iot/get_topic_rule_destination.py +++ b/sdk/python/pulumi_aws_native/iot/get_topic_rule_destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -83,9 +88,6 @@ def get_topic_rule_destination(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), status=pulumi.get(__ret__, 'status'), status_reason=pulumi.get(__ret__, 'status_reason')) - - -@_utilities.lift_output_func(get_topic_rule_destination) def get_topic_rule_destination_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTopicRuleDestinationResult]: """ @@ -94,4 +96,11 @@ def get_topic_rule_destination_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Amazon Resource Name (ARN). """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iot:getTopicRuleDestination', __args__, opts=opts, typ=GetTopicRuleDestinationResult) + return __ret__.apply(lambda __response__: GetTopicRuleDestinationResult( + arn=pulumi.get(__response__, 'arn'), + status=pulumi.get(__response__, 'status'), + status_reason=pulumi.get(__response__, 'status_reason'))) diff --git a/sdk/python/pulumi_aws_native/iot/job_template.py b/sdk/python/pulumi_aws_native/iot/job_template.py index f96b02351b..fd1a91299b 100644 --- a/sdk/python/pulumi_aws_native/iot/job_template.py +++ b/sdk/python/pulumi_aws_native/iot/job_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iot/logging.py b/sdk/python/pulumi_aws_native/iot/logging.py index cb1be10d7e..809b4564b6 100644 --- a/sdk/python/pulumi_aws_native/iot/logging.py +++ b/sdk/python/pulumi_aws_native/iot/logging.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iot/mitigation_action.py b/sdk/python/pulumi_aws_native/iot/mitigation_action.py index 12e5d8ccf8..a3de1791a7 100644 --- a/sdk/python/pulumi_aws_native/iot/mitigation_action.py +++ b/sdk/python/pulumi_aws_native/iot/mitigation_action.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iot/outputs.py b/sdk/python/pulumi_aws_native/iot/outputs.py index 9d600975d8..2c46a3c92e 100644 --- a/sdk/python/pulumi_aws_native/iot/outputs.py +++ b/sdk/python/pulumi_aws_native/iot/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iot/policy.py b/sdk/python/pulumi_aws_native/iot/policy.py index 29f727d234..f1e0590b2f 100644 --- a/sdk/python/pulumi_aws_native/iot/policy.py +++ b/sdk/python/pulumi_aws_native/iot/policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iot/provisioning_template.py b/sdk/python/pulumi_aws_native/iot/provisioning_template.py index b772229c98..e6c0167c2b 100644 --- a/sdk/python/pulumi_aws_native/iot/provisioning_template.py +++ b/sdk/python/pulumi_aws_native/iot/provisioning_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iot/resource_specific_logging.py b/sdk/python/pulumi_aws_native/iot/resource_specific_logging.py index a295b96639..46b22e2e3a 100644 --- a/sdk/python/pulumi_aws_native/iot/resource_specific_logging.py +++ b/sdk/python/pulumi_aws_native/iot/resource_specific_logging.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iot/role_alias.py b/sdk/python/pulumi_aws_native/iot/role_alias.py index 8dd9de6d7a..7f40935c2a 100644 --- a/sdk/python/pulumi_aws_native/iot/role_alias.py +++ b/sdk/python/pulumi_aws_native/iot/role_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iot/scheduled_audit.py b/sdk/python/pulumi_aws_native/iot/scheduled_audit.py index 5019f64d64..0edac77ac9 100644 --- a/sdk/python/pulumi_aws_native/iot/scheduled_audit.py +++ b/sdk/python/pulumi_aws_native/iot/scheduled_audit.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iot/security_profile.py b/sdk/python/pulumi_aws_native/iot/security_profile.py index 94617b3f0b..c7eed97097 100644 --- a/sdk/python/pulumi_aws_native/iot/security_profile.py +++ b/sdk/python/pulumi_aws_native/iot/security_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iot/software_package.py b/sdk/python/pulumi_aws_native/iot/software_package.py index de8b7f9b0c..9baf271d0a 100644 --- a/sdk/python/pulumi_aws_native/iot/software_package.py +++ b/sdk/python/pulumi_aws_native/iot/software_package.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iot/software_package_version.py b/sdk/python/pulumi_aws_native/iot/software_package_version.py index 0272335fb2..777c9178f1 100644 --- a/sdk/python/pulumi_aws_native/iot/software_package_version.py +++ b/sdk/python/pulumi_aws_native/iot/software_package_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iot/thing.py b/sdk/python/pulumi_aws_native/iot/thing.py index ab60485d7b..c496ef8dfb 100644 --- a/sdk/python/pulumi_aws_native/iot/thing.py +++ b/sdk/python/pulumi_aws_native/iot/thing.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/iot/thing_group.py b/sdk/python/pulumi_aws_native/iot/thing_group.py index 840fdb3dee..91bc554d58 100644 --- a/sdk/python/pulumi_aws_native/iot/thing_group.py +++ b/sdk/python/pulumi_aws_native/iot/thing_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iot/thing_type.py b/sdk/python/pulumi_aws_native/iot/thing_type.py index fb79a3b20d..b0f40f99b7 100644 --- a/sdk/python/pulumi_aws_native/iot/thing_type.py +++ b/sdk/python/pulumi_aws_native/iot/thing_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iot/topic_rule.py b/sdk/python/pulumi_aws_native/iot/topic_rule.py index ceb6795685..b49183d48d 100644 --- a/sdk/python/pulumi_aws_native/iot/topic_rule.py +++ b/sdk/python/pulumi_aws_native/iot/topic_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iot/topic_rule_destination.py b/sdk/python/pulumi_aws_native/iot/topic_rule_destination.py index 71dab31c70..1323f7d63c 100644 --- a/sdk/python/pulumi_aws_native/iot/topic_rule_destination.py +++ b/sdk/python/pulumi_aws_native/iot/topic_rule_destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iotanalytics/_inputs.py b/sdk/python/pulumi_aws_native/iotanalytics/_inputs.py index ca6be179f4..db936e95b2 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/_inputs.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/_inputs.py @@ -4,67 +4,143 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ChannelCustomerManagedS3Args', + 'ChannelCustomerManagedS3ArgsDict', 'ChannelRetentionPeriodArgs', + 'ChannelRetentionPeriodArgsDict', 'ChannelServiceManagedS3Args', + 'ChannelServiceManagedS3ArgsDict', 'ChannelStorageArgs', + 'ChannelStorageArgsDict', 'DatasetActionArgs', + 'DatasetActionArgsDict', 'DatasetContainerActionArgs', + 'DatasetContainerActionArgsDict', 'DatasetContentDeliveryRuleDestinationArgs', + 'DatasetContentDeliveryRuleDestinationArgsDict', 'DatasetContentDeliveryRuleArgs', + 'DatasetContentDeliveryRuleArgsDict', 'DatasetContentVersionValueArgs', + 'DatasetContentVersionValueArgsDict', 'DatasetDeltaTimeSessionWindowConfigurationArgs', + 'DatasetDeltaTimeSessionWindowConfigurationArgsDict', 'DatasetDeltaTimeArgs', + 'DatasetDeltaTimeArgsDict', 'DatasetFilterArgs', + 'DatasetFilterArgsDict', 'DatasetGlueConfigurationArgs', + 'DatasetGlueConfigurationArgsDict', 'DatasetIotEventsDestinationConfigurationArgs', + 'DatasetIotEventsDestinationConfigurationArgsDict', 'DatasetLateDataRuleConfigurationArgs', + 'DatasetLateDataRuleConfigurationArgsDict', 'DatasetLateDataRuleArgs', + 'DatasetLateDataRuleArgsDict', 'DatasetOutputFileUriValueArgs', + 'DatasetOutputFileUriValueArgsDict', 'DatasetQueryActionArgs', + 'DatasetQueryActionArgsDict', 'DatasetResourceConfigurationArgs', + 'DatasetResourceConfigurationArgsDict', 'DatasetRetentionPeriodArgs', + 'DatasetRetentionPeriodArgsDict', 'DatasetS3DestinationConfigurationArgs', + 'DatasetS3DestinationConfigurationArgsDict', 'DatasetScheduleArgs', + 'DatasetScheduleArgsDict', 'DatasetTriggeringDatasetArgs', + 'DatasetTriggeringDatasetArgsDict', 'DatasetTriggerArgs', + 'DatasetTriggerArgsDict', 'DatasetVariableArgs', + 'DatasetVariableArgsDict', 'DatasetVersioningConfigurationArgs', + 'DatasetVersioningConfigurationArgsDict', 'DatastoreColumnArgs', + 'DatastoreColumnArgsDict', 'DatastoreCustomerManagedS3StorageArgs', + 'DatastoreCustomerManagedS3StorageArgsDict', 'DatastoreCustomerManagedS3Args', + 'DatastoreCustomerManagedS3ArgsDict', 'DatastoreFileFormatConfigurationArgs', + 'DatastoreFileFormatConfigurationArgsDict', 'DatastoreIotSiteWiseMultiLayerStorageArgs', + 'DatastoreIotSiteWiseMultiLayerStorageArgsDict', 'DatastoreJsonConfigurationArgs', + 'DatastoreJsonConfigurationArgsDict', 'DatastoreParquetConfigurationArgs', + 'DatastoreParquetConfigurationArgsDict', 'DatastorePartitionsArgs', + 'DatastorePartitionsArgsDict', 'DatastorePartitionArgs', + 'DatastorePartitionArgsDict', 'DatastoreRetentionPeriodArgs', + 'DatastoreRetentionPeriodArgsDict', 'DatastoreSchemaDefinitionArgs', + 'DatastoreSchemaDefinitionArgsDict', 'DatastoreServiceManagedS3Args', + 'DatastoreServiceManagedS3ArgsDict', 'DatastoreStorageArgs', + 'DatastoreStorageArgsDict', 'DatastoreTimestampPartitionArgs', + 'DatastoreTimestampPartitionArgsDict', 'PartitionArgs', + 'PartitionArgsDict', 'PipelineActivityArgs', + 'PipelineActivityArgsDict', 'PipelineAddAttributesArgs', + 'PipelineAddAttributesArgsDict', 'PipelineChannelArgs', + 'PipelineChannelArgsDict', 'PipelineDatastoreArgs', + 'PipelineDatastoreArgsDict', 'PipelineDeviceRegistryEnrichArgs', + 'PipelineDeviceRegistryEnrichArgsDict', 'PipelineDeviceShadowEnrichArgs', + 'PipelineDeviceShadowEnrichArgsDict', 'PipelineFilterArgs', + 'PipelineFilterArgsDict', 'PipelineLambdaArgs', + 'PipelineLambdaArgsDict', 'PipelineMathArgs', + 'PipelineMathArgsDict', 'PipelineRemoveAttributesArgs', + 'PipelineRemoveAttributesArgsDict', 'PipelineSelectAttributesArgs', + 'PipelineSelectAttributesArgsDict', ] +MYPY = False + +if not MYPY: + class ChannelCustomerManagedS3ArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + The name of the S3 bucket in which channel data is stored. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources. + """ + key_prefix: NotRequired[pulumi.Input[str]] + """ + (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/). + """ +elif False: + ChannelCustomerManagedS3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelCustomerManagedS3Args: def __init__(__self__, *, @@ -118,6 +194,19 @@ def key_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_prefix", value) +if not MYPY: + class ChannelRetentionPeriodArgsDict(TypedDict): + number_of_days: NotRequired[pulumi.Input[int]] + """ + The number of days that message data is kept. The `unlimited` parameter must be false. + """ + unlimited: NotRequired[pulumi.Input[bool]] + """ + If true, message data is kept indefinitely. + """ +elif False: + ChannelRetentionPeriodArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelRetentionPeriodArgs: def __init__(__self__, *, @@ -157,12 +246,31 @@ def unlimited(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "unlimited", value) +if not MYPY: + class ChannelServiceManagedS3ArgsDict(TypedDict): + pass +elif False: + ChannelServiceManagedS3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelServiceManagedS3Args: def __init__(__self__): pass +if not MYPY: + class ChannelStorageArgsDict(TypedDict): + customer_managed_s3: NotRequired[pulumi.Input['ChannelCustomerManagedS3ArgsDict']] + """ + Used to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the `retentionPeriod` parameter is ignored. You can't change the choice of S3 storage after the data store is created. + """ + service_managed_s3: NotRequired[pulumi.Input['ChannelServiceManagedS3ArgsDict']] + """ + Used to store channel data in an S3 bucket managed by AWS IoT Analytics . You can't change the choice of S3 storage after the data store is created. + """ +elif False: + ChannelStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelStorageArgs: def __init__(__self__, *, @@ -202,6 +310,23 @@ def service_managed_s3(self, value: Optional[pulumi.Input['ChannelServiceManaged pulumi.set(self, "service_managed_s3", value) +if not MYPY: + class DatasetActionArgsDict(TypedDict): + action_name: pulumi.Input[str] + """ + The name of the data set action by which data set contents are automatically created. + """ + container_action: NotRequired[pulumi.Input['DatasetContainerActionArgsDict']] + """ + Information which allows the system to run a containerized application in order to create the data set contents. The application must be in a Docker container along with any needed support libraries. + """ + query_action: NotRequired[pulumi.Input['DatasetQueryActionArgsDict']] + """ + An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents. + """ +elif False: + DatasetActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetActionArgs: def __init__(__self__, *, @@ -256,6 +381,27 @@ def query_action(self, value: Optional[pulumi.Input['DatasetQueryActionArgs']]): pulumi.set(self, "query_action", value) +if not MYPY: + class DatasetContainerActionArgsDict(TypedDict): + execution_role_arn: pulumi.Input[str] + """ + The ARN of the role which gives permission to the system to access needed resources in order to run the "containerAction". This includes, at minimum, permission to retrieve the data set contents which are the input to the containerized application. + """ + image: pulumi.Input[str] + """ + The ARN of the Docker container stored in your account. The Docker container contains an application and needed support libraries and is used to generate data set contents. + """ + resource_configuration: pulumi.Input['DatasetResourceConfigurationArgsDict'] + """ + Configuration of the resource which executes the "containerAction". + """ + variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['DatasetVariableArgsDict']]]] + """ + The values of variables used within the context of the execution of the containerized application (basically, parameters passed to the application). Each variable must have a name and a value given by one of "stringValue", "datasetContentVersionValue", or "outputFileUriValue". + """ +elif False: + DatasetContainerActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetContainerActionArgs: def __init__(__self__, *, @@ -324,6 +470,19 @@ def variables(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatasetV pulumi.set(self, "variables", value) +if not MYPY: + class DatasetContentDeliveryRuleDestinationArgsDict(TypedDict): + iot_events_destination_configuration: NotRequired[pulumi.Input['DatasetIotEventsDestinationConfigurationArgsDict']] + """ + Configuration information for delivery of dataset contents to AWS IoT Events . + """ + s3_destination_configuration: NotRequired[pulumi.Input['DatasetS3DestinationConfigurationArgsDict']] + """ + Configuration information for delivery of dataset contents to Amazon S3. + """ +elif False: + DatasetContentDeliveryRuleDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetContentDeliveryRuleDestinationArgs: def __init__(__self__, *, @@ -363,6 +522,19 @@ def s3_destination_configuration(self, value: Optional[pulumi.Input['DatasetS3De pulumi.set(self, "s3_destination_configuration", value) +if not MYPY: + class DatasetContentDeliveryRuleArgsDict(TypedDict): + destination: pulumi.Input['DatasetContentDeliveryRuleDestinationArgsDict'] + """ + The destination to which dataset contents are delivered. + """ + entry_name: NotRequired[pulumi.Input[str]] + """ + The name of the dataset content delivery rules entry. + """ +elif False: + DatasetContentDeliveryRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetContentDeliveryRuleArgs: def __init__(__self__, *, @@ -401,6 +573,15 @@ def entry_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "entry_name", value) +if not MYPY: + class DatasetContentVersionValueArgsDict(TypedDict): + dataset_name: pulumi.Input[str] + """ + The name of the dataset whose latest contents are used as input to the notebook or application. + """ +elif False: + DatasetContentVersionValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetContentVersionValueArgs: def __init__(__self__, *, @@ -423,6 +604,17 @@ def dataset_name(self, value: pulumi.Input[str]): pulumi.set(self, "dataset_name", value) +if not MYPY: + class DatasetDeltaTimeSessionWindowConfigurationArgsDict(TypedDict): + timeout_in_minutes: pulumi.Input[int] + """ + A time interval. You can use `timeoutInMinutes` so that AWS IoT Analytics can batch up late data notifications that have been generated since the last execution. AWS IoT Analytics sends one batch of notifications to Amazon CloudWatch Events at one time. + + For more information about how to write a timestamp expression, see [Date and Time Functions and Operators](https://docs.aws.amazon.com/https://prestodb.io/docs/current/functions/datetime.html) , in the *Presto 0.172 Documentation* . + """ +elif False: + DatasetDeltaTimeSessionWindowConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetDeltaTimeSessionWindowConfigurationArgs: def __init__(__self__, *, @@ -449,6 +641,19 @@ def timeout_in_minutes(self, value: pulumi.Input[int]): pulumi.set(self, "timeout_in_minutes", value) +if not MYPY: + class DatasetDeltaTimeArgsDict(TypedDict): + offset_seconds: pulumi.Input[int] + """ + The number of seconds of estimated in-flight lag time of message data. When you create dataset contents using message data from a specified timeframe, some message data might still be in flight when processing begins, and so do not arrive in time to be processed. Use this field to make allowances for the in flight time of your message data, so that data not processed from a previous timeframe is included with the next timeframe. Otherwise, missed message data would be excluded from processing during the next timeframe too, because its timestamp places it within the previous timeframe. + """ + time_expression: pulumi.Input[str] + """ + An expression by which the time of the message data might be determined. This can be the name of a timestamp field or a SQL expression that is used to derive the time the message data was generated. + """ +elif False: + DatasetDeltaTimeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetDeltaTimeArgs: def __init__(__self__, *, @@ -486,6 +691,15 @@ def time_expression(self, value: pulumi.Input[str]): pulumi.set(self, "time_expression", value) +if not MYPY: + class DatasetFilterArgsDict(TypedDict): + delta_time: NotRequired[pulumi.Input['DatasetDeltaTimeArgsDict']] + """ + Used to limit data to that which has arrived since the last execution of the action. + """ +elif False: + DatasetFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetFilterArgs: def __init__(__self__, *, @@ -509,6 +723,19 @@ def delta_time(self, value: Optional[pulumi.Input['DatasetDeltaTimeArgs']]): pulumi.set(self, "delta_time", value) +if not MYPY: + class DatasetGlueConfigurationArgsDict(TypedDict): + database_name: pulumi.Input[str] + """ + The name of the database in your AWS Glue Data Catalog in which the table is located. An AWS Glue Data Catalog database contains metadata tables. + """ + table_name: pulumi.Input[str] + """ + The name of the table in your AWS Glue Data Catalog that is used to perform the ETL operations. An AWS Glue Data Catalog table contains partitioned data and descriptions of data sources and targets. + """ +elif False: + DatasetGlueConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetGlueConfigurationArgs: def __init__(__self__, *, @@ -546,6 +773,19 @@ def table_name(self, value: pulumi.Input[str]): pulumi.set(self, "table_name", value) +if not MYPY: + class DatasetIotEventsDestinationConfigurationArgsDict(TypedDict): + input_name: pulumi.Input[str] + """ + The name of the AWS IoT Events input to which dataset contents are delivered. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that grants AWS IoT Analytics permission to deliver dataset contents to an AWS IoT Events input. + """ +elif False: + DatasetIotEventsDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetIotEventsDestinationConfigurationArgs: def __init__(__self__, *, @@ -583,6 +823,15 @@ def role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "role_arn", value) +if not MYPY: + class DatasetLateDataRuleConfigurationArgsDict(TypedDict): + delta_time_session_window_configuration: NotRequired[pulumi.Input['DatasetDeltaTimeSessionWindowConfigurationArgsDict']] + """ + The information needed to configure a delta time session window. + """ +elif False: + DatasetLateDataRuleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetLateDataRuleConfigurationArgs: def __init__(__self__, *, @@ -606,6 +855,19 @@ def delta_time_session_window_configuration(self, value: Optional[pulumi.Input[' pulumi.set(self, "delta_time_session_window_configuration", value) +if not MYPY: + class DatasetLateDataRuleArgsDict(TypedDict): + rule_configuration: pulumi.Input['DatasetLateDataRuleConfigurationArgsDict'] + """ + The information needed to configure the late data rule. + """ + rule_name: NotRequired[pulumi.Input[str]] + """ + The name of the late data rule. + """ +elif False: + DatasetLateDataRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetLateDataRuleArgs: def __init__(__self__, *, @@ -644,6 +906,15 @@ def rule_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "rule_name", value) +if not MYPY: + class DatasetOutputFileUriValueArgsDict(TypedDict): + file_name: pulumi.Input[str] + """ + The URI of the location where dataset contents are stored, usually the URI of a file in an S3 bucket. + """ +elif False: + DatasetOutputFileUriValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetOutputFileUriValueArgs: def __init__(__self__, *, @@ -666,6 +937,19 @@ def file_name(self, value: pulumi.Input[str]): pulumi.set(self, "file_name", value) +if not MYPY: + class DatasetQueryActionArgsDict(TypedDict): + sql_query: pulumi.Input[str] + """ + An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents. + """ + filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DatasetFilterArgsDict']]]] + """ + Pre-filters applied to message data. + """ +elif False: + DatasetQueryActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetQueryActionArgs: def __init__(__self__, *, @@ -704,6 +988,19 @@ def filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatasetFil pulumi.set(self, "filters", value) +if not MYPY: + class DatasetResourceConfigurationArgsDict(TypedDict): + compute_type: pulumi.Input['DatasetResourceConfigurationComputeType'] + """ + The type of the compute resource used to execute the `containerAction` . Possible values are: `ACU_1` (vCPU=4, memory=16 GiB) or `ACU_2` (vCPU=8, memory=32 GiB). + """ + volume_size_in_gb: pulumi.Input[int] + """ + The size, in GB, of the persistent storage available to the resource instance used to execute the `containerAction` (min: 1, max: 50). + """ +elif False: + DatasetResourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetResourceConfigurationArgs: def __init__(__self__, *, @@ -741,6 +1038,19 @@ def volume_size_in_gb(self, value: pulumi.Input[int]): pulumi.set(self, "volume_size_in_gb", value) +if not MYPY: + class DatasetRetentionPeriodArgsDict(TypedDict): + number_of_days: NotRequired[pulumi.Input[int]] + """ + The number of days that message data is kept. The `unlimited` parameter must be false. + """ + unlimited: NotRequired[pulumi.Input[bool]] + """ + If true, message data is kept indefinitely. + """ +elif False: + DatasetRetentionPeriodArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetRetentionPeriodArgs: def __init__(__self__, *, @@ -780,6 +1090,37 @@ def unlimited(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "unlimited", value) +if not MYPY: + class DatasetS3DestinationConfigurationArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + The name of the S3 bucket to which dataset contents are delivered. + """ + key: pulumi.Input[str] + """ + The key of the dataset contents object in an S3 bucket. Each object has a key that is a unique identifier. Each object has exactly one key. + + You can create a unique key with the following options: + + - Use `!{iotanalytics:scheduleTime}` to insert the time of a scheduled SQL query run. + - Use `!{iotanalytics:versionId}` to insert a unique hash that identifies a dataset content. + - Use `!{iotanalytics:creationTime}` to insert the creation time of a dataset content. + + The following example creates a unique key for a CSV file: `dataset/mydataset/!{iotanalytics:scheduleTime}/!{iotanalytics:versionId}.csv` + + > If you don't use `!{iotanalytics:versionId}` to specify the key, you might get duplicate keys. For example, you might have two dataset contents with the same `scheduleTime` but different `versionId` s. This means that one dataset content overwrites the other. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 and AWS Glue resources. + """ + glue_configuration: NotRequired[pulumi.Input['DatasetGlueConfigurationArgsDict']] + """ + Configuration information for coordination with AWS Glue , a fully managed extract, transform and load (ETL) service. + """ +elif False: + DatasetS3DestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetS3DestinationConfigurationArgs: def __init__(__self__, *, @@ -868,6 +1209,15 @@ def glue_configuration(self, value: Optional[pulumi.Input['DatasetGlueConfigurat pulumi.set(self, "glue_configuration", value) +if not MYPY: + class DatasetScheduleArgsDict(TypedDict): + schedule_expression: pulumi.Input[str] + """ + The expression that defines when to trigger an update. For more information, see [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html) in the Amazon CloudWatch documentation. + """ +elif False: + DatasetScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetScheduleArgs: def __init__(__self__, *, @@ -890,6 +1240,15 @@ def schedule_expression(self, value: pulumi.Input[str]): pulumi.set(self, "schedule_expression", value) +if not MYPY: + class DatasetTriggeringDatasetArgsDict(TypedDict): + dataset_name: pulumi.Input[str] + """ + The name of the data set whose content generation triggers the new data set content generation. + """ +elif False: + DatasetTriggeringDatasetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetTriggeringDatasetArgs: def __init__(__self__, *, @@ -912,6 +1271,19 @@ def dataset_name(self, value: pulumi.Input[str]): pulumi.set(self, "dataset_name", value) +if not MYPY: + class DatasetTriggerArgsDict(TypedDict): + schedule: NotRequired[pulumi.Input['DatasetScheduleArgsDict']] + """ + The "Schedule" when the trigger is initiated. + """ + triggering_dataset: NotRequired[pulumi.Input['DatasetTriggeringDatasetArgsDict']] + """ + Information about the data set whose content generation triggers the new data set content generation. + """ +elif False: + DatasetTriggerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetTriggerArgs: def __init__(__self__, *, @@ -951,6 +1323,31 @@ def triggering_dataset(self, value: Optional[pulumi.Input['DatasetTriggeringData pulumi.set(self, "triggering_dataset", value) +if not MYPY: + class DatasetVariableArgsDict(TypedDict): + variable_name: pulumi.Input[str] + """ + The name of the variable. + """ + dataset_content_version_value: NotRequired[pulumi.Input['DatasetContentVersionValueArgsDict']] + """ + The value of the variable as a structure that specifies a dataset content version. + """ + double_value: NotRequired[pulumi.Input[float]] + """ + The value of the variable as a double (numeric). + """ + output_file_uri_value: NotRequired[pulumi.Input['DatasetOutputFileUriValueArgsDict']] + """ + The value of the variable as a structure that specifies an output file URI. + """ + string_value: NotRequired[pulumi.Input[str]] + """ + The value of the variable as a string. + """ +elif False: + DatasetVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetVariableArgs: def __init__(__self__, *, @@ -1037,6 +1434,19 @@ def string_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "string_value", value) +if not MYPY: + class DatasetVersioningConfigurationArgsDict(TypedDict): + max_versions: NotRequired[pulumi.Input[int]] + """ + How many versions of dataset contents are kept. The `unlimited` parameter must be `false` . + """ + unlimited: NotRequired[pulumi.Input[bool]] + """ + If true, unlimited versions of dataset contents are kept. + """ +elif False: + DatasetVersioningConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetVersioningConfigurationArgs: def __init__(__self__, *, @@ -1076,6 +1486,19 @@ def unlimited(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "unlimited", value) +if not MYPY: + class DatastoreColumnArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the column. + """ + type: pulumi.Input[str] + """ + The type of data. For more information about the supported data types, see [Common data types](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html) in the *AWS Glue Developer Guide* . + """ +elif False: + DatastoreColumnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreColumnArgs: def __init__(__self__, *, @@ -1113,6 +1536,19 @@ def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) +if not MYPY: + class DatastoreCustomerManagedS3StorageArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + The name of the Amazon S3 bucket where your data is stored. + """ + key_prefix: NotRequired[pulumi.Input[str]] + """ + (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/). + """ +elif False: + DatastoreCustomerManagedS3StorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreCustomerManagedS3StorageArgs: def __init__(__self__, *, @@ -1151,6 +1587,23 @@ def key_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_prefix", value) +if not MYPY: + class DatastoreCustomerManagedS3ArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + The name of the Amazon S3 bucket where your data is stored. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources. + """ + key_prefix: NotRequired[pulumi.Input[str]] + """ + (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/). + """ +elif False: + DatastoreCustomerManagedS3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreCustomerManagedS3Args: def __init__(__self__, *, @@ -1204,6 +1657,19 @@ def key_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_prefix", value) +if not MYPY: + class DatastoreFileFormatConfigurationArgsDict(TypedDict): + json_configuration: NotRequired[pulumi.Input['DatastoreJsonConfigurationArgsDict']] + """ + Contains the configuration information of the JSON format. + """ + parquet_configuration: NotRequired[pulumi.Input['DatastoreParquetConfigurationArgsDict']] + """ + Contains the configuration information of the Parquet format. + """ +elif False: + DatastoreFileFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreFileFormatConfigurationArgs: def __init__(__self__, *, @@ -1243,6 +1709,15 @@ def parquet_configuration(self, value: Optional[pulumi.Input['DatastoreParquetCo pulumi.set(self, "parquet_configuration", value) +if not MYPY: + class DatastoreIotSiteWiseMultiLayerStorageArgsDict(TypedDict): + customer_managed_s3_storage: NotRequired[pulumi.Input['DatastoreCustomerManagedS3StorageArgsDict']] + """ + Stores data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. + """ +elif False: + DatastoreIotSiteWiseMultiLayerStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreIotSiteWiseMultiLayerStorageArgs: def __init__(__self__, *, @@ -1266,12 +1741,27 @@ def customer_managed_s3_storage(self, value: Optional[pulumi.Input['DatastoreCus pulumi.set(self, "customer_managed_s3_storage", value) +if not MYPY: + class DatastoreJsonConfigurationArgsDict(TypedDict): + pass +elif False: + DatastoreJsonConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreJsonConfigurationArgs: def __init__(__self__): pass +if not MYPY: + class DatastoreParquetConfigurationArgsDict(TypedDict): + schema_definition: NotRequired[pulumi.Input['DatastoreSchemaDefinitionArgsDict']] + """ + Information needed to define a schema. + """ +elif False: + DatastoreParquetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreParquetConfigurationArgs: def __init__(__self__, *, @@ -1295,6 +1785,15 @@ def schema_definition(self, value: Optional[pulumi.Input['DatastoreSchemaDefinit pulumi.set(self, "schema_definition", value) +if not MYPY: + class DatastorePartitionsArgsDict(TypedDict): + partitions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DatastorePartitionArgsDict']]]] + """ + A list of partition dimensions in a data store. + """ +elif False: + DatastorePartitionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastorePartitionsArgs: def __init__(__self__, *, @@ -1318,6 +1817,19 @@ def partitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Datasto pulumi.set(self, "partitions", value) +if not MYPY: + class DatastorePartitionArgsDict(TypedDict): + partition: NotRequired[pulumi.Input['PartitionArgsDict']] + """ + A partition dimension defined by an attribute. + """ + timestamp_partition: NotRequired[pulumi.Input['DatastoreTimestampPartitionArgsDict']] + """ + A partition dimension defined by a timestamp attribute. + """ +elif False: + DatastorePartitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastorePartitionArgs: def __init__(__self__, *, @@ -1357,6 +1869,19 @@ def timestamp_partition(self, value: Optional[pulumi.Input['DatastoreTimestampPa pulumi.set(self, "timestamp_partition", value) +if not MYPY: + class DatastoreRetentionPeriodArgsDict(TypedDict): + number_of_days: NotRequired[pulumi.Input[int]] + """ + The number of days that message data is kept. The `unlimited` parameter must be false. + """ + unlimited: NotRequired[pulumi.Input[bool]] + """ + If true, message data is kept indefinitely. + """ +elif False: + DatastoreRetentionPeriodArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreRetentionPeriodArgs: def __init__(__self__, *, @@ -1396,6 +1921,17 @@ def unlimited(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "unlimited", value) +if not MYPY: + class DatastoreSchemaDefinitionArgsDict(TypedDict): + columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['DatastoreColumnArgsDict']]]] + """ + Specifies one or more columns that store your data. + + Each schema can have up to 100 columns. Each column can have up to 100 nested types. + """ +elif False: + DatastoreSchemaDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreSchemaDefinitionArgs: def __init__(__self__, *, @@ -1423,12 +1959,35 @@ def columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatastoreC pulumi.set(self, "columns", value) +if not MYPY: + class DatastoreServiceManagedS3ArgsDict(TypedDict): + pass +elif False: + DatastoreServiceManagedS3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreServiceManagedS3Args: def __init__(__self__): pass +if not MYPY: + class DatastoreStorageArgsDict(TypedDict): + customer_managed_s3: NotRequired[pulumi.Input['DatastoreCustomerManagedS3ArgsDict']] + """ + Use this to store data store data in an S3 bucket that you manage. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store. + """ + iot_site_wise_multi_layer_storage: NotRequired[pulumi.Input['DatastoreIotSiteWiseMultiLayerStorageArgsDict']] + """ + Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created. + """ + service_managed_s3: NotRequired[pulumi.Input['DatastoreServiceManagedS3ArgsDict']] + """ + Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store. + """ +elif False: + DatastoreStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreStorageArgs: def __init__(__self__, *, @@ -1484,6 +2043,19 @@ def service_managed_s3(self, value: Optional[pulumi.Input['DatastoreServiceManag pulumi.set(self, "service_managed_s3", value) +if not MYPY: + class DatastoreTimestampPartitionArgsDict(TypedDict): + attribute_name: pulumi.Input[str] + """ + The attribute name of the partition defined by a timestamp. + """ + timestamp_format: NotRequired[pulumi.Input[str]] + """ + The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time). + """ +elif False: + DatastoreTimestampPartitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatastoreTimestampPartitionArgs: def __init__(__self__, *, @@ -1522,6 +2094,15 @@ def timestamp_format(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "timestamp_format", value) +if not MYPY: + class PartitionArgsDict(TypedDict): + attribute_name: pulumi.Input[str] + """ + The name of the attribute that defines a partition dimension. + """ +elif False: + PartitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PartitionArgs: def __init__(__self__, *, @@ -1544,6 +2125,51 @@ def attribute_name(self, value: pulumi.Input[str]): pulumi.set(self, "attribute_name", value) +if not MYPY: + class PipelineActivityArgsDict(TypedDict): + add_attributes: NotRequired[pulumi.Input['PipelineAddAttributesArgsDict']] + """ + Adds other attributes based on existing attributes in the message. + """ + channel: NotRequired[pulumi.Input['PipelineChannelArgsDict']] + """ + Determines the source of the messages to be processed. + """ + datastore: NotRequired[pulumi.Input['PipelineDatastoreArgsDict']] + """ + Specifies where to store the processed message data. + """ + device_registry_enrich: NotRequired[pulumi.Input['PipelineDeviceRegistryEnrichArgsDict']] + """ + Adds data from the AWS IoT device registry to your message. + """ + device_shadow_enrich: NotRequired[pulumi.Input['PipelineDeviceShadowEnrichArgsDict']] + """ + Adds information from the AWS IoT Device Shadows service to a message. + """ + filter: NotRequired[pulumi.Input['PipelineFilterArgsDict']] + """ + Filters a message based on its attributes. + """ + lambda_: NotRequired[pulumi.Input['PipelineLambdaArgsDict']] + """ + Runs a Lambda function to modify the message. + """ + math: NotRequired[pulumi.Input['PipelineMathArgsDict']] + """ + Computes an arithmetic expression using the message's attributes and adds it to the message. + """ + remove_attributes: NotRequired[pulumi.Input['PipelineRemoveAttributesArgsDict']] + """ + Removes attributes from a message. + """ + select_attributes: NotRequired[pulumi.Input['PipelineSelectAttributesArgsDict']] + """ + Creates a new message using only the specified attributes from the original message. + """ +elif False: + PipelineActivityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineActivityArgs: def __init__(__self__, *, @@ -1711,6 +2337,25 @@ def select_attributes(self, value: Optional[pulumi.Input['PipelineSelectAttribut pulumi.set(self, "select_attributes", value) +if not MYPY: + class PipelineAddAttributesArgsDict(TypedDict): + attributes: pulumi.Input[Mapping[str, pulumi.Input[str]]] + """ + A list of 1-50 "AttributeNameMapping" objects that map an existing attribute to a new attribute. + + > The existing attributes remain in the message, so if you want to remove the originals, use "RemoveAttributeActivity". + """ + name: pulumi.Input[str] + """ + The name of the 'addAttributes' activity. + """ + next: NotRequired[pulumi.Input[str]] + """ + The next activity in the pipeline. + """ +elif False: + PipelineAddAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineAddAttributesArgs: def __init__(__self__, *, @@ -1768,6 +2413,23 @@ def next(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "next", value) +if not MYPY: + class PipelineChannelArgsDict(TypedDict): + channel_name: pulumi.Input[str] + """ + The name of the channel from which the messages are processed. + """ + name: pulumi.Input[str] + """ + The name of the 'channel' activity. + """ + next: NotRequired[pulumi.Input[str]] + """ + The next activity in the pipeline. + """ +elif False: + PipelineChannelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineChannelArgs: def __init__(__self__, *, @@ -1821,6 +2483,19 @@ def next(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "next", value) +if not MYPY: + class PipelineDatastoreArgsDict(TypedDict): + datastore_name: pulumi.Input[str] + """ + The name of the data store where processed messages are stored. + """ + name: pulumi.Input[str] + """ + The name of the datastore activity. + """ +elif False: + PipelineDatastoreArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineDatastoreArgs: def __init__(__self__, *, @@ -1858,6 +2533,31 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class PipelineDeviceRegistryEnrichArgsDict(TypedDict): + attribute: pulumi.Input[str] + """ + The name of the attribute that is added to the message. + """ + name: pulumi.Input[str] + """ + The name of the 'deviceRegistryEnrich' activity. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that allows access to the device's registry information. + """ + thing_name: pulumi.Input[str] + """ + The name of the IoT device whose registry information is added to the message. + """ + next: NotRequired[pulumi.Input[str]] + """ + The next activity in the pipeline. + """ +elif False: + PipelineDeviceRegistryEnrichArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineDeviceRegistryEnrichArgs: def __init__(__self__, *, @@ -1941,6 +2641,31 @@ def next(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "next", value) +if not MYPY: + class PipelineDeviceShadowEnrichArgsDict(TypedDict): + attribute: pulumi.Input[str] + """ + The name of the attribute that is added to the message. + """ + name: pulumi.Input[str] + """ + The name of the 'deviceShadowEnrich' activity. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that allows access to the device's shadow. + """ + thing_name: pulumi.Input[str] + """ + The name of the IoT device whose shadow information is added to the message. + """ + next: NotRequired[pulumi.Input[str]] + """ + The next activity in the pipeline. + """ +elif False: + PipelineDeviceShadowEnrichArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineDeviceShadowEnrichArgs: def __init__(__self__, *, @@ -2024,6 +2749,23 @@ def next(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "next", value) +if not MYPY: + class PipelineFilterArgsDict(TypedDict): + filter: pulumi.Input[str] + """ + An expression that looks like an SQL WHERE clause that must return a Boolean value. + """ + name: pulumi.Input[str] + """ + The name of the 'filter' activity. + """ + next: NotRequired[pulumi.Input[str]] + """ + The next activity in the pipeline. + """ +elif False: + PipelineFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineFilterArgs: def __init__(__self__, *, @@ -2077,6 +2819,29 @@ def next(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "next", value) +if not MYPY: + class PipelineLambdaArgsDict(TypedDict): + batch_size: pulumi.Input[int] + """ + The number of messages passed to the Lambda function for processing. + + The AWS Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions. + """ + lambda_name: pulumi.Input[str] + """ + The name of the Lambda function that is run on the message. + """ + name: pulumi.Input[str] + """ + The name of the 'lambda' activity. + """ + next: NotRequired[pulumi.Input[str]] + """ + The next activity in the pipeline. + """ +elif False: + PipelineLambdaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineLambdaArgs: def __init__(__self__, *, @@ -2149,6 +2914,27 @@ def next(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "next", value) +if not MYPY: + class PipelineMathArgsDict(TypedDict): + attribute: pulumi.Input[str] + """ + The name of the attribute that contains the result of the math operation. + """ + math: pulumi.Input[str] + """ + An expression that uses one or more existing attributes and must return an integer value. + """ + name: pulumi.Input[str] + """ + The name of the 'math' activity. + """ + next: NotRequired[pulumi.Input[str]] + """ + The next activity in the pipeline. + """ +elif False: + PipelineMathArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineMathArgs: def __init__(__self__, *, @@ -2217,6 +3003,23 @@ def next(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "next", value) +if not MYPY: + class PipelineRemoveAttributesArgsDict(TypedDict): + attributes: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of 1-50 attributes to remove from the message. + """ + name: pulumi.Input[str] + """ + The name of the 'removeAttributes' activity. + """ + next: NotRequired[pulumi.Input[str]] + """ + The next activity in the pipeline. + """ +elif False: + PipelineRemoveAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineRemoveAttributesArgs: def __init__(__self__, *, @@ -2270,6 +3073,23 @@ def next(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "next", value) +if not MYPY: + class PipelineSelectAttributesArgsDict(TypedDict): + attributes: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of the attributes to select from the message. + """ + name: pulumi.Input[str] + """ + The name of the 'selectAttributes' activity. + """ + next: NotRequired[pulumi.Input[str]] + """ + The next activity in the pipeline. + """ +elif False: + PipelineSelectAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineSelectAttributesArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/iotanalytics/channel.py b/sdk/python/pulumi_aws_native/iotanalytics/channel.py index 8d25838579..418258a41c 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/channel.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotanalytics/dataset.py b/sdk/python/pulumi_aws_native/iotanalytics/dataset.py index d7d37efb70..4dabf4c977 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/dataset.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/dataset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotanalytics/datastore.py b/sdk/python/pulumi_aws_native/iotanalytics/datastore.py index 5ff4636388..f96a97c0f2 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/datastore.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/datastore.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotanalytics/get_channel.py b/sdk/python/pulumi_aws_native/iotanalytics/get_channel.py index 02af245f6a..6a263df9ad 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/get_channel.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/get_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_channel(channel_name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), retention_period=pulumi.get(__ret__, 'retention_period'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_channel) def get_channel_output(channel_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetChannelResult]: """ @@ -107,4 +109,12 @@ def get_channel_output(channel_name: Optional[pulumi.Input[str]] = None, :param str channel_name: The name of the channel. """ - ... + __args__ = dict() + __args__['channelName'] = channel_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotanalytics:getChannel', __args__, opts=opts, typ=GetChannelResult) + return __ret__.apply(lambda __response__: GetChannelResult( + channel_storage=pulumi.get(__response__, 'channel_storage'), + id=pulumi.get(__response__, 'id'), + retention_period=pulumi.get(__response__, 'retention_period'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotanalytics/get_dataset.py b/sdk/python/pulumi_aws_native/iotanalytics/get_dataset.py index b0feb8ea99..d697beb510 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/get_dataset.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/get_dataset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -149,9 +154,6 @@ def get_dataset(dataset_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), triggers=pulumi.get(__ret__, 'triggers'), versioning_configuration=pulumi.get(__ret__, 'versioning_configuration')) - - -@_utilities.lift_output_func(get_dataset) def get_dataset_output(dataset_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatasetResult]: """ @@ -160,4 +162,16 @@ def get_dataset_output(dataset_name: Optional[pulumi.Input[str]] = None, :param str dataset_name: The name of the dataset. """ - ... + __args__ = dict() + __args__['datasetName'] = dataset_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotanalytics:getDataset', __args__, opts=opts, typ=GetDatasetResult) + return __ret__.apply(lambda __response__: GetDatasetResult( + actions=pulumi.get(__response__, 'actions'), + content_delivery_rules=pulumi.get(__response__, 'content_delivery_rules'), + id=pulumi.get(__response__, 'id'), + late_data_rules=pulumi.get(__response__, 'late_data_rules'), + retention_period=pulumi.get(__response__, 'retention_period'), + tags=pulumi.get(__response__, 'tags'), + triggers=pulumi.get(__response__, 'triggers'), + versioning_configuration=pulumi.get(__response__, 'versioning_configuration'))) diff --git a/sdk/python/pulumi_aws_native/iotanalytics/get_datastore.py b/sdk/python/pulumi_aws_native/iotanalytics/get_datastore.py index 952f9db041..39141581c9 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/get_datastore.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/get_datastore.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -126,9 +131,6 @@ def get_datastore(datastore_name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), retention_period=pulumi.get(__ret__, 'retention_period'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_datastore) def get_datastore_output(datastore_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatastoreResult]: """ @@ -137,4 +139,14 @@ def get_datastore_output(datastore_name: Optional[pulumi.Input[str]] = None, :param str datastore_name: The name of the data store. """ - ... + __args__ = dict() + __args__['datastoreName'] = datastore_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotanalytics:getDatastore', __args__, opts=opts, typ=GetDatastoreResult) + return __ret__.apply(lambda __response__: GetDatastoreResult( + datastore_partitions=pulumi.get(__response__, 'datastore_partitions'), + datastore_storage=pulumi.get(__response__, 'datastore_storage'), + file_format_configuration=pulumi.get(__response__, 'file_format_configuration'), + id=pulumi.get(__response__, 'id'), + retention_period=pulumi.get(__response__, 'retention_period'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotanalytics/get_pipeline.py b/sdk/python/pulumi_aws_native/iotanalytics/get_pipeline.py index 151ebb4f0b..6739272569 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/get_pipeline.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/get_pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -87,9 +92,6 @@ def get_pipeline(pipeline_name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), pipeline_activities=pulumi.get(__ret__, 'pipeline_activities'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_pipeline) def get_pipeline_output(pipeline_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPipelineResult]: """ @@ -98,4 +100,11 @@ def get_pipeline_output(pipeline_name: Optional[pulumi.Input[str]] = None, :param str pipeline_name: The name of the pipeline. """ - ... + __args__ = dict() + __args__['pipelineName'] = pipeline_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotanalytics:getPipeline', __args__, opts=opts, typ=GetPipelineResult) + return __ret__.apply(lambda __response__: GetPipelineResult( + id=pulumi.get(__response__, 'id'), + pipeline_activities=pulumi.get(__response__, 'pipeline_activities'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotanalytics/outputs.py b/sdk/python/pulumi_aws_native/iotanalytics/outputs.py index 0d053eba1e..3b23967937 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/outputs.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iotanalytics/pipeline.py b/sdk/python/pulumi_aws_native/iotanalytics/pipeline.py index e2127c0345..2412a64683 100644 --- a/sdk/python/pulumi_aws_native/iotanalytics/pipeline.py +++ b/sdk/python/pulumi_aws_native/iotanalytics/pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/_inputs.py b/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/_inputs.py index 3af17172cb..ea472401b9 100644 --- a/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/_inputs.py +++ b/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/_inputs.py @@ -4,16 +4,81 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'SuiteDefinitionConfigurationPropertiesArgs', + 'SuiteDefinitionConfigurationPropertiesArgsDict', 'SuiteDefinitionDeviceUnderTestArgs', + 'SuiteDefinitionDeviceUnderTestArgsDict', ] +MYPY = False + +if not MYPY: + class SuiteDefinitionConfigurationPropertiesArgsDict(TypedDict): + """ + The configuration of the Suite Definition. Listed below are the required elements of the `SuiteDefinitionConfiguration` . + + - ***devicePermissionRoleArn*** - The device permission arn. + + This is a required element. + + *Type:* String + - ***devices*** - The list of configured devices under test. For more information on devices under test, see [DeviceUnderTest](https://docs.aws.amazon.com/iot/latest/apireference/API_iotdeviceadvisor_DeviceUnderTest.html) + + Not a required element. + + *Type:* List of devices under test + - ***intendedForQualification*** - The tests intended for qualification in a suite. + + Not a required element. + + *Type:* Boolean + - ***rootGroup*** - The test suite root group. For more information on creating and using root groups see the [Device Advisor workflow](https://docs.aws.amazon.com/iot/latest/developerguide/device-advisor-workflow.html) . + + This is a required element. + + *Type:* String + - ***suiteDefinitionName*** - The Suite Definition Configuration name. + + This is a required element. + + *Type:* String + """ + device_permission_role_arn: pulumi.Input[str] + """ + Gets the device permission ARN. This is a required parameter. + """ + root_group: pulumi.Input[str] + """ + Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if `intendedForQualification` is set to true, `rootGroup` can be an empty string. If `intendedForQualification` is false, `rootGroup` cannot be an empty string. If `rootGroup` is empty, and `intendedForQualification` is set to true, all the qualification tests are included, and the configuration is default. + + For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048. + """ + devices: NotRequired[pulumi.Input[Sequence[pulumi.Input['SuiteDefinitionDeviceUnderTestArgsDict']]]] + """ + Gets the devices configured. + """ + intended_for_qualification: NotRequired[pulumi.Input[bool]] + """ + Gets the tests intended for qualification in a suite. + """ + suite_definition_name: NotRequired[pulumi.Input[str]] + """ + Gets the suite definition name. This is a required parameter. + """ +elif False: + SuiteDefinitionConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SuiteDefinitionConfigurationPropertiesArgs: def __init__(__self__, *, @@ -130,6 +195,13 @@ def suite_definition_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "suite_definition_name", value) +if not MYPY: + class SuiteDefinitionDeviceUnderTestArgsDict(TypedDict): + certificate_arn: NotRequired[pulumi.Input[str]] + thing_arn: NotRequired[pulumi.Input[str]] +elif False: + SuiteDefinitionDeviceUnderTestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SuiteDefinitionDeviceUnderTestArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/get_suite_definition.py b/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/get_suite_definition.py index 6a708a8c71..59f2d6d15c 100644 --- a/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/get_suite_definition.py +++ b/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/get_suite_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -136,9 +141,6 @@ def get_suite_definition(suite_definition_id: Optional[str] = None, suite_definition_id=pulumi.get(__ret__, 'suite_definition_id'), suite_definition_version=pulumi.get(__ret__, 'suite_definition_version'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_suite_definition) def get_suite_definition_output(suite_definition_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSuiteDefinitionResult]: """ @@ -147,4 +149,13 @@ def get_suite_definition_output(suite_definition_id: Optional[pulumi.Input[str]] :param str suite_definition_id: The unique identifier for the suite definition. """ - ... + __args__ = dict() + __args__['suiteDefinitionId'] = suite_definition_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotcoredeviceadvisor:getSuiteDefinition', __args__, opts=opts, typ=GetSuiteDefinitionResult) + return __ret__.apply(lambda __response__: GetSuiteDefinitionResult( + suite_definition_arn=pulumi.get(__response__, 'suite_definition_arn'), + suite_definition_configuration=pulumi.get(__response__, 'suite_definition_configuration'), + suite_definition_id=pulumi.get(__response__, 'suite_definition_id'), + suite_definition_version=pulumi.get(__response__, 'suite_definition_version'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/outputs.py b/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/outputs.py index 89eb5a7dca..022e034d64 100644 --- a/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/outputs.py +++ b/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/suite_definition.py b/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/suite_definition.py index 62de59182a..727d122992 100644 --- a/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/suite_definition.py +++ b/sdk/python/pulumi_aws_native/iotcoredeviceadvisor/suite_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotevents/_inputs.py b/sdk/python/pulumi_aws_native/iotevents/_inputs.py index 1ee67dfe2c..4a1b77c84a 100644 --- a/sdk/python/pulumi_aws_native/iotevents/_inputs.py +++ b/sdk/python/pulumi_aws_native/iotevents/_inputs.py @@ -4,62 +4,128 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AlarmModelAcknowledgeFlowArgs', + 'AlarmModelAcknowledgeFlowArgsDict', 'AlarmModelAlarmActionArgs', + 'AlarmModelAlarmActionArgsDict', 'AlarmModelAlarmCapabilitiesArgs', + 'AlarmModelAlarmCapabilitiesArgsDict', 'AlarmModelAlarmEventActionsArgs', + 'AlarmModelAlarmEventActionsArgsDict', 'AlarmModelAlarmRuleArgs', + 'AlarmModelAlarmRuleArgsDict', 'AlarmModelAssetPropertyTimestampArgs', + 'AlarmModelAssetPropertyTimestampArgsDict', 'AlarmModelAssetPropertyValueArgs', + 'AlarmModelAssetPropertyValueArgsDict', 'AlarmModelAssetPropertyVariantArgs', + 'AlarmModelAssetPropertyVariantArgsDict', 'AlarmModelDynamoDBv2Args', + 'AlarmModelDynamoDBv2ArgsDict', 'AlarmModelDynamoDbArgs', + 'AlarmModelDynamoDbArgsDict', 'AlarmModelFirehoseArgs', + 'AlarmModelFirehoseArgsDict', 'AlarmModelInitializationConfigurationArgs', + 'AlarmModelInitializationConfigurationArgsDict', 'AlarmModelIotEventsArgs', + 'AlarmModelIotEventsArgsDict', 'AlarmModelIotSiteWiseArgs', + 'AlarmModelIotSiteWiseArgsDict', 'AlarmModelIotTopicPublishArgs', + 'AlarmModelIotTopicPublishArgsDict', 'AlarmModelLambdaArgs', + 'AlarmModelLambdaArgsDict', 'AlarmModelPayloadArgs', + 'AlarmModelPayloadArgsDict', 'AlarmModelSimpleRuleArgs', + 'AlarmModelSimpleRuleArgsDict', 'AlarmModelSnsArgs', + 'AlarmModelSnsArgsDict', 'AlarmModelSqsArgs', + 'AlarmModelSqsArgsDict', 'DetectorModelActionArgs', + 'DetectorModelActionArgsDict', 'DetectorModelAssetPropertyTimestampArgs', + 'DetectorModelAssetPropertyTimestampArgsDict', 'DetectorModelAssetPropertyValueArgs', + 'DetectorModelAssetPropertyValueArgsDict', 'DetectorModelAssetPropertyVariantArgs', + 'DetectorModelAssetPropertyVariantArgsDict', 'DetectorModelClearTimerArgs', + 'DetectorModelClearTimerArgsDict', 'DetectorModelDefinitionArgs', + 'DetectorModelDefinitionArgsDict', 'DetectorModelDynamoDBv2Args', + 'DetectorModelDynamoDBv2ArgsDict', 'DetectorModelDynamoDbArgs', + 'DetectorModelDynamoDbArgsDict', 'DetectorModelEventArgs', + 'DetectorModelEventArgsDict', 'DetectorModelFirehoseArgs', + 'DetectorModelFirehoseArgsDict', 'DetectorModelIotEventsArgs', + 'DetectorModelIotEventsArgsDict', 'DetectorModelIotSiteWiseArgs', + 'DetectorModelIotSiteWiseArgsDict', 'DetectorModelIotTopicPublishArgs', + 'DetectorModelIotTopicPublishArgsDict', 'DetectorModelLambdaArgs', + 'DetectorModelLambdaArgsDict', 'DetectorModelOnEnterArgs', + 'DetectorModelOnEnterArgsDict', 'DetectorModelOnExitArgs', + 'DetectorModelOnExitArgsDict', 'DetectorModelOnInputArgs', + 'DetectorModelOnInputArgsDict', 'DetectorModelPayloadArgs', + 'DetectorModelPayloadArgsDict', 'DetectorModelResetTimerArgs', + 'DetectorModelResetTimerArgsDict', 'DetectorModelSetTimerArgs', + 'DetectorModelSetTimerArgsDict', 'DetectorModelSetVariableArgs', + 'DetectorModelSetVariableArgsDict', 'DetectorModelSnsArgs', + 'DetectorModelSnsArgsDict', 'DetectorModelSqsArgs', + 'DetectorModelSqsArgsDict', 'DetectorModelStateArgs', + 'DetectorModelStateArgsDict', 'DetectorModelTransitionEventArgs', + 'DetectorModelTransitionEventArgsDict', 'InputAttributeArgs', + 'InputAttributeArgsDict', 'InputDefinitionArgs', + 'InputDefinitionArgsDict', ] +MYPY = False + +if not MYPY: + class AlarmModelAcknowledgeFlowArgsDict(TypedDict): + """ + Specifies whether to get notified for alarm state changes. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + The value must be ``TRUE`` or ``FALSE``. If ``TRUE``, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to ``NORMAL``. If ``FALSE``, you won't receive notifications. The alarm automatically changes to the ``NORMAL`` state when the input property value returns to the specified range. + """ +elif False: + AlarmModelAcknowledgeFlowArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelAcknowledgeFlowArgs: def __init__(__self__, *, @@ -84,6 +150,86 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class AlarmModelAlarmActionArgsDict(TypedDict): + """ + Specifies one of the following actions to receive notifications when the alarm state changes. + """ + dynamo_d_bv2: NotRequired[pulumi.Input['AlarmModelDynamoDBv2ArgsDict']] + """ + Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. + You must use expressions for all parameters in ``DynamoDBv2Action``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``tableName`` parameter can be ``'GreenhouseTemperatureTable'``. + + For references, you must specify either variables or input values. For example, the value for the ``tableName`` parameter can be ``$variable.ddbtableName``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``contentExpression`` parameter in ``Payload`` uses a substitution template. + ``'{\\"sensorID\\": \\"${$input.GreenhouseInput.sensor_id}\\", \\"temperature\\": \\"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\\"}'`` + + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``tableName`` parameter uses a string concatenation. + ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date`` + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + The value for the ``type`` parameter in ``Payload`` must be ``JSON``. + """ + dynamo_db: NotRequired[pulumi.Input['AlarmModelDynamoDbArgsDict']] + """ + Defines an action to write to the Amazon DynamoDB table that you created. The standard action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. + You must use expressions for all parameters in ``DynamoDBAction``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``hashKeyType`` parameter can be ``'STRING'``. + + For references, you must specify either variables or input values. For example, the value for the ``hashKeyField`` parameter can be ``$input.GreenhouseInput.name``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``hashKeyValue`` parameter uses a substitution template. + ``'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'`` + + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``tableName`` parameter uses a string concatenation. + ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date`` + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + If the defined payload type is a string, ``DynamoDBAction`` writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The value for the ``payloadField`` parameter is ``_raw``. + """ + firehose: NotRequired[pulumi.Input['AlarmModelFirehoseArgsDict']] + """ + Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream. + """ + iot_events: NotRequired[pulumi.Input['AlarmModelIotEventsArgsDict']] + """ + Sends an ITE input, passing in information about the detector model instance and the event that triggered the action. + """ + iot_site_wise: NotRequired[pulumi.Input['AlarmModelIotSiteWiseArgsDict']] + """ + Sends information about the detector model instance and the event that triggered the action to a specified asset property in ITSW. + You must use expressions for all parameters in ``IotSiteWiseAction``. The expressions accept literals, operators, functions, references, and substitutions templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``propertyAlias`` parameter can be ``'/company/windfarm/3/turbine/7/temperature'``. + + For references, you must specify either variables or input values. For example, the value for the ``assetId`` parameter can be ``$input.TurbineInput.assetId1``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``propertyAlias`` parameter uses a substitution template. + ``'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'`` + + You must specify either ``propertyAlias`` or both ``assetId`` and ``propertyId`` to identify the target asset property in ITSW. + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + """ + iot_topic_publish: NotRequired[pulumi.Input['AlarmModelIotTopicPublishArgsDict']] + """ + Information required to publish the MQTT message through the IoT message broker. + """ + lambda_: NotRequired[pulumi.Input['AlarmModelLambdaArgsDict']] + """ + Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action. + """ + sns: NotRequired[pulumi.Input['AlarmModelSnsArgsDict']] + """ + Information required to publish the Amazon SNS message. + """ + sqs: NotRequired[pulumi.Input['AlarmModelSqsArgsDict']] + """ + Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue. + """ +elif False: + AlarmModelAlarmActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelAlarmActionArgs: def __init__(__self__, *, @@ -308,6 +454,22 @@ def sqs(self, value: Optional[pulumi.Input['AlarmModelSqsArgs']]): pulumi.set(self, "sqs", value) +if not MYPY: + class AlarmModelAlarmCapabilitiesArgsDict(TypedDict): + """ + Contains the configuration information of alarm state changes. + """ + acknowledge_flow: NotRequired[pulumi.Input['AlarmModelAcknowledgeFlowArgsDict']] + """ + Specifies whether to get notified for alarm state changes. + """ + initialization_configuration: NotRequired[pulumi.Input['AlarmModelInitializationConfigurationArgsDict']] + """ + Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model. + """ +elif False: + AlarmModelAlarmCapabilitiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelAlarmCapabilitiesArgs: def __init__(__self__, *, @@ -348,6 +510,18 @@ def initialization_configuration(self, value: Optional[pulumi.Input['AlarmModelI pulumi.set(self, "initialization_configuration", value) +if not MYPY: + class AlarmModelAlarmEventActionsArgsDict(TypedDict): + """ + Contains information about one or more alarm actions. + """ + alarm_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AlarmModelAlarmActionArgsDict']]]] + """ + Specifies one or more supported actions to receive notifications when the alarm state changes. + """ +elif False: + AlarmModelAlarmEventActionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelAlarmEventActionsArgs: def __init__(__self__, *, @@ -372,6 +546,18 @@ def alarm_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Alar pulumi.set(self, "alarm_actions", value) +if not MYPY: + class AlarmModelAlarmRuleArgsDict(TypedDict): + """ + Defines when your alarm is invoked. + """ + simple_rule: NotRequired[pulumi.Input['AlarmModelSimpleRuleArgsDict']] + """ + A rule that compares an input property value to a threshold value with a comparison operator. + """ +elif False: + AlarmModelAlarmRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelAlarmRuleArgs: def __init__(__self__, *, @@ -396,6 +582,31 @@ def simple_rule(self, value: Optional[pulumi.Input['AlarmModelSimpleRuleArgs']]) pulumi.set(self, "simple_rule", value) +if not MYPY: + class AlarmModelAssetPropertyTimestampArgsDict(TypedDict): + """ + A structure that contains timestamp information. For more information, see [TimeInNanos](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html) in the *API Reference*. + You must use expressions for all parameters in ``AssetPropertyTimestamp``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``timeInSeconds`` parameter can be ``'1586400675'``. + + For references, you must specify either variables or input values. For example, the value for the ``offsetInNanos`` parameter can be ``$variable.time``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``timeInSeconds`` parameter uses a substitution template. + ``'${$input.TemperatureInput.sensorData.timestamp / 1000}'`` + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + """ + time_in_seconds: pulumi.Input[str] + """ + The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199. + """ + offset_in_nanos: NotRequired[pulumi.Input[str]] + """ + The nanosecond offset converted from ``timeInSeconds``. The valid range is between 0-999999999. + """ +elif False: + AlarmModelAssetPropertyTimestampArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelAssetPropertyTimestampArgs: def __init__(__self__, *, @@ -444,6 +655,32 @@ def offset_in_nanos(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "offset_in_nanos", value) +if not MYPY: + class AlarmModelAssetPropertyValueArgsDict(TypedDict): + """ + A structure that contains value information. For more information, see [AssetPropertyValue](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html) in the *API Reference*. + You must use expressions for all parameters in ``AssetPropertyValue``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``quality`` parameter can be ``'GOOD'``. + + For references, you must specify either variables or input values. For example, the value for the ``quality`` parameter can be ``$input.TemperatureInput.sensorData.quality``. + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + """ + value: pulumi.Input['AlarmModelAssetPropertyVariantArgsDict'] + """ + The value to send to an asset property. + """ + quality: NotRequired[pulumi.Input[str]] + """ + The quality of the asset property value. The value must be ``'GOOD'``, ``'BAD'``, or ``'UNCERTAIN'``. + """ + timestamp: NotRequired[pulumi.Input['AlarmModelAssetPropertyTimestampArgsDict']] + """ + The timestamp associated with the asset property value. The default is the current event time. + """ +elif False: + AlarmModelAssetPropertyValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelAssetPropertyValueArgs: def __init__(__self__, *, @@ -505,6 +742,40 @@ def timestamp(self, value: Optional[pulumi.Input['AlarmModelAssetPropertyTimesta pulumi.set(self, "timestamp", value) +if not MYPY: + class AlarmModelAssetPropertyVariantArgsDict(TypedDict): + """ + A structure that contains an asset property value. For more information, see [Variant](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html) in the *API Reference*. + You must use expressions for all parameters in ``AssetPropertyVariant``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``integerValue`` parameter can be ``'100'``. + + For references, you must specify either variables or parameters. For example, the value for the ``booleanValue`` parameter can be ``$variable.offline``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``doubleValue`` parameter uses a substitution template. + ``'${$input.TemperatureInput.sensorData.temperature * 6 / 5 + 32}'`` + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + You must specify one of the following value types, depending on the ``dataType`` of the specified asset property. For more information, see [AssetProperty](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetProperty.html) in the *API Reference*. + """ + boolean_value: NotRequired[pulumi.Input[str]] + """ + The asset property value is a Boolean value that must be ``'TRUE'`` or ``'FALSE'``. You must use an expression, and the evaluated result should be a Boolean value. + """ + double_value: NotRequired[pulumi.Input[str]] + """ + The asset property value is a double. You must use an expression, and the evaluated result should be a double. + """ + integer_value: NotRequired[pulumi.Input[str]] + """ + The asset property value is an integer. You must use an expression, and the evaluated result should be an integer. + """ + string_value: NotRequired[pulumi.Input[str]] + """ + The asset property value is a string. You must use an expression, and the evaluated result should be a string. + """ +elif False: + AlarmModelAssetPropertyVariantArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelAssetPropertyVariantArgs: def __init__(__self__, *, @@ -587,6 +858,36 @@ def string_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "string_value", value) +if not MYPY: + class AlarmModelDynamoDBv2ArgsDict(TypedDict): + """ + Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. + You must use expressions for all parameters in ``DynamoDBv2Action``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``tableName`` parameter can be ``'GreenhouseTemperatureTable'``. + + For references, you must specify either variables or input values. For example, the value for the ``tableName`` parameter can be ``$variable.ddbtableName``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``contentExpression`` parameter in ``Payload`` uses a substitution template. + ``'{\\"sensorID\\": \\"${$input.GreenhouseInput.sensor_id}\\", \\"temperature\\": \\"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\\"}'`` + + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``tableName`` parameter uses a string concatenation. + ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date`` + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + The value for the ``type`` parameter in ``Payload`` must be ``JSON``. + """ + table_name: pulumi.Input[str] + """ + The name of the DynamoDB table. + """ + payload: NotRequired[pulumi.Input['AlarmModelPayloadArgsDict']] + """ + Information needed to configure the payload. + By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``. + """ +elif False: + AlarmModelDynamoDBv2ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelDynamoDBv2Args: def __init__(__self__, *, @@ -641,6 +942,82 @@ def payload(self, value: Optional[pulumi.Input['AlarmModelPayloadArgs']]): pulumi.set(self, "payload", value) +if not MYPY: + class AlarmModelDynamoDbArgsDict(TypedDict): + """ + Defines an action to write to the Amazon DynamoDB table that you created. The standard action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. + You must use expressions for all parameters in ``DynamoDBAction``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``hashKeyType`` parameter can be ``'STRING'``. + + For references, you must specify either variables or input values. For example, the value for the ``hashKeyField`` parameter can be ``$input.GreenhouseInput.name``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``hashKeyValue`` parameter uses a substitution template. + ``'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'`` + + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``tableName`` parameter uses a string concatenation. + ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date`` + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + If the defined payload type is a string, ``DynamoDBAction`` writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The value for the ``payloadField`` parameter is ``_raw``. + """ + hash_key_field: pulumi.Input[str] + """ + The name of the hash key (also called the partition key). The ``hashKeyField`` value must match the partition key of the target DynamoDB table. + """ + hash_key_value: pulumi.Input[str] + """ + The value of the hash key (also called the partition key). + """ + table_name: pulumi.Input[str] + """ + The name of the DynamoDB table. The ``tableName`` value must match the table name of the target DynamoDB table. + """ + hash_key_type: NotRequired[pulumi.Input[str]] + """ + The data type for the hash key (also called the partition key). You can specify the following values: + + ``'STRING'`` - The hash key is a string. + + ``'NUMBER'`` - The hash key is a number. + + If you don't specify ``hashKeyType``, the default value is ``'STRING'``. + """ + operation: NotRequired[pulumi.Input[str]] + """ + The type of operation to perform. You can specify the following values: + + ``'INSERT'`` - Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key. + + ``'UPDATE'`` - Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key. + + ``'DELETE'`` - Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key. + + If you don't specify this parameter, ITE triggers the ``'INSERT'`` operation. + """ + payload: NotRequired[pulumi.Input['AlarmModelPayloadArgsDict']] + """ + Information needed to configure the payload. + By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``. + """ + payload_field: NotRequired[pulumi.Input[str]] + """ + The name of the DynamoDB column that receives the action payload. + If you don't specify this parameter, the name of the DynamoDB column is ``payload``. + """ + range_key_field: NotRequired[pulumi.Input[str]] + """ + The name of the range key (also called the sort key). The ``rangeKeyField`` value must match the sort key of the target DynamoDB table. + """ + range_key_type: NotRequired[pulumi.Input[str]] + """ + The data type for the range key (also called the sort key), You can specify the following values: + + ``'STRING'`` - The range key is a string. + + ``'NUMBER'`` - The range key is number. + + If you don't specify ``rangeKeyField``, the default value is ``'STRING'``. + """ + range_key_value: NotRequired[pulumi.Input[str]] + """ + The value of the range key (also called the sort key). + """ +elif False: + AlarmModelDynamoDbArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelDynamoDbArgs: def __init__(__self__, *, @@ -849,15 +1226,35 @@ def range_key_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "range_key_value", value) -@pulumi.input_type -class AlarmModelFirehoseArgs: - def __init__(__self__, *, - delivery_stream_name: pulumi.Input[str], - payload: Optional[pulumi.Input['AlarmModelPayloadArgs']] = None, - separator: Optional[pulumi.Input[str]] = None): +if not MYPY: + class AlarmModelFirehoseArgsDict(TypedDict): """ Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream. - :param pulumi.Input[str] delivery_stream_name: The name of the Kinesis Data Firehose delivery stream where the data is written. + """ + delivery_stream_name: pulumi.Input[str] + """ + The name of the Kinesis Data Firehose delivery stream where the data is written. + """ + payload: NotRequired[pulumi.Input['AlarmModelPayloadArgsDict']] + """ + You can configure the action payload when you send a message to an Amazon Data Firehose delivery stream. + """ + separator: NotRequired[pulumi.Input[str]] + """ + A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ',' (comma). + """ +elif False: + AlarmModelFirehoseArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AlarmModelFirehoseArgs: + def __init__(__self__, *, + delivery_stream_name: pulumi.Input[str], + payload: Optional[pulumi.Input['AlarmModelPayloadArgs']] = None, + separator: Optional[pulumi.Input[str]] = None): + """ + Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream. + :param pulumi.Input[str] delivery_stream_name: The name of the Kinesis Data Firehose delivery stream where the data is written. :param pulumi.Input['AlarmModelPayloadArgs'] payload: You can configure the action payload when you send a message to an Amazon Data Firehose delivery stream. :param pulumi.Input[str] separator: A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ',' (comma). """ @@ -904,6 +1301,18 @@ def separator(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "separator", value) +if not MYPY: + class AlarmModelInitializationConfigurationArgsDict(TypedDict): + """ + Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model. + """ + disabled_on_initialization: pulumi.Input[bool] + """ + The value must be ``TRUE`` or ``FALSE``. If ``FALSE``, all alarm instances created based on the alarm model are activated. The default value is ``TRUE``. + """ +elif False: + AlarmModelInitializationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelInitializationConfigurationArgs: def __init__(__self__, *, @@ -927,6 +1336,22 @@ def disabled_on_initialization(self, value: pulumi.Input[bool]): pulumi.set(self, "disabled_on_initialization", value) +if not MYPY: + class AlarmModelIotEventsArgsDict(TypedDict): + """ + Sends an ITE input, passing in information about the detector model instance and the event that triggered the action. + """ + input_name: pulumi.Input[str] + """ + The name of the ITE input where the data is sent. + """ + payload: NotRequired[pulumi.Input['AlarmModelPayloadArgsDict']] + """ + You can configure the action payload when you send a message to an ITE input. + """ +elif False: + AlarmModelIotEventsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelIotEventsArgs: def __init__(__self__, *, @@ -966,6 +1391,44 @@ def payload(self, value: Optional[pulumi.Input['AlarmModelPayloadArgs']]): pulumi.set(self, "payload", value) +if not MYPY: + class AlarmModelIotSiteWiseArgsDict(TypedDict): + """ + Sends information about the detector model instance and the event that triggered the action to a specified asset property in ITSW. + You must use expressions for all parameters in ``IotSiteWiseAction``. The expressions accept literals, operators, functions, references, and substitutions templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``propertyAlias`` parameter can be ``'/company/windfarm/3/turbine/7/temperature'``. + + For references, you must specify either variables or input values. For example, the value for the ``assetId`` parameter can be ``$input.TurbineInput.assetId1``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``propertyAlias`` parameter uses a substitution template. + ``'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'`` + + You must specify either ``propertyAlias`` or both ``assetId`` and ``propertyId`` to identify the target asset property in ITSW. + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + """ + asset_id: NotRequired[pulumi.Input[str]] + """ + The ID of the asset that has the specified property. + """ + entry_id: NotRequired[pulumi.Input[str]] + """ + A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier. + """ + property_alias: NotRequired[pulumi.Input[str]] + """ + The alias of the asset property. + """ + property_id: NotRequired[pulumi.Input[str]] + """ + The ID of the asset property. + """ + property_value: NotRequired[pulumi.Input['AlarmModelAssetPropertyValueArgsDict']] + """ + The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information. + """ +elif False: + AlarmModelIotSiteWiseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelIotSiteWiseArgs: def __init__(__self__, *, @@ -1064,6 +1527,22 @@ def property_value(self, value: Optional[pulumi.Input['AlarmModelAssetPropertyVa pulumi.set(self, "property_value", value) +if not MYPY: + class AlarmModelIotTopicPublishArgsDict(TypedDict): + """ + Information required to publish the MQTT message through the IoT message broker. + """ + mqtt_topic: pulumi.Input[str] + """ + The MQTT topic of the message. You can use a string expression that includes variables (``$variable.``) and input values (``$input..``) as the topic string. + """ + payload: NotRequired[pulumi.Input['AlarmModelPayloadArgsDict']] + """ + You can configure the action payload when you publish a message to an IoTCore topic. + """ +elif False: + AlarmModelIotTopicPublishArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelIotTopicPublishArgs: def __init__(__self__, *, @@ -1103,6 +1582,22 @@ def payload(self, value: Optional[pulumi.Input['AlarmModelPayloadArgs']]): pulumi.set(self, "payload", value) +if not MYPY: + class AlarmModelLambdaArgsDict(TypedDict): + """ + Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action. + """ + function_arn: pulumi.Input[str] + """ + The ARN of the Lambda function that is executed. + """ + payload: NotRequired[pulumi.Input['AlarmModelPayloadArgsDict']] + """ + You can configure the action payload when you send a message to a Lambda function. + """ +elif False: + AlarmModelLambdaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelLambdaArgs: def __init__(__self__, *, @@ -1142,6 +1637,23 @@ def payload(self, value: Optional[pulumi.Input['AlarmModelPayloadArgs']]): pulumi.set(self, "payload", value) +if not MYPY: + class AlarmModelPayloadArgsDict(TypedDict): + """ + Information needed to configure the payload. + By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``. + """ + content_expression: pulumi.Input[str] + """ + The content of the payload. You can use a string expression that includes quoted strings (``''``), variables (``$variable.``), input values (``$input..``), string concatenations, and quoted strings that contain ``${}`` as the content. The recommended maximum size of a content expression is 1 KB. + """ + type: pulumi.Input[str] + """ + The value of the payload type can be either ``STRING`` or ``JSON``. + """ +elif False: + AlarmModelPayloadArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelPayloadArgs: def __init__(__self__, *, @@ -1181,6 +1693,26 @@ def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) +if not MYPY: + class AlarmModelSimpleRuleArgsDict(TypedDict): + """ + A rule that compares an input property value to a threshold value with a comparison operator. + """ + comparison_operator: pulumi.Input['AlarmModelSimpleRuleComparisonOperator'] + """ + The comparison operator. + """ + input_property: pulumi.Input[str] + """ + The value on the left side of the comparison operator. You can specify an ITE input attribute as an input property. + """ + threshold: pulumi.Input[str] + """ + The value on the right side of the comparison operator. You can enter a number or specify an ITE input attribute. + """ +elif False: + AlarmModelSimpleRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelSimpleRuleArgs: def __init__(__self__, *, @@ -1234,6 +1766,22 @@ def threshold(self, value: pulumi.Input[str]): pulumi.set(self, "threshold", value) +if not MYPY: + class AlarmModelSnsArgsDict(TypedDict): + """ + Information required to publish the Amazon SNS message. + """ + target_arn: pulumi.Input[str] + """ + The ARN of the Amazon SNS target where the message is sent. + """ + payload: NotRequired[pulumi.Input['AlarmModelPayloadArgsDict']] + """ + You can configure the action payload when you send a message as an Amazon SNS push notification. + """ +elif False: + AlarmModelSnsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelSnsArgs: def __init__(__self__, *, @@ -1273,6 +1821,26 @@ def payload(self, value: Optional[pulumi.Input['AlarmModelPayloadArgs']]): pulumi.set(self, "payload", value) +if not MYPY: + class AlarmModelSqsArgsDict(TypedDict): + """ + Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue. + """ + queue_url: pulumi.Input[str] + """ + The URL of the SQS queue where the data is written. + """ + payload: NotRequired[pulumi.Input['AlarmModelPayloadArgsDict']] + """ + You can configure the action payload when you send a message to an Amazon SQS queue. + """ + use_base64: NotRequired[pulumi.Input[bool]] + """ + Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE. + """ +elif False: + AlarmModelSqsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmModelSqsArgs: def __init__(__self__, *, @@ -1328,6 +1896,66 @@ def use_base64(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_base64", value) +if not MYPY: + class DetectorModelActionArgsDict(TypedDict): + """ + An action to be performed when the ``condition`` is TRUE. + """ + clear_timer: NotRequired[pulumi.Input['DetectorModelClearTimerArgsDict']] + """ + Information needed to clear the timer. + """ + dynamo_d_bv2: NotRequired[pulumi.Input['DetectorModelDynamoDBv2ArgsDict']] + """ + Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. For more information, see [Actions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html) in *Developer Guide*. + """ + dynamo_db: NotRequired[pulumi.Input['DetectorModelDynamoDbArgsDict']] + """ + Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see [Actions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html) in *Developer Guide*. + """ + firehose: NotRequired[pulumi.Input['DetectorModelFirehoseArgsDict']] + """ + Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream. + """ + iot_events: NotRequired[pulumi.Input['DetectorModelIotEventsArgsDict']] + """ + Sends ITE input, which passes information about the detector model instance and the event that triggered the action. + """ + iot_site_wise: NotRequired[pulumi.Input['DetectorModelIotSiteWiseArgsDict']] + """ + Sends information about the detector model instance and the event that triggered the action to an asset property in ITSW . + """ + iot_topic_publish: NotRequired[pulumi.Input['DetectorModelIotTopicPublishArgsDict']] + """ + Publishes an MQTT message with the given topic to the IoT message broker. + """ + lambda_: NotRequired[pulumi.Input['DetectorModelLambdaArgsDict']] + """ + Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action. + """ + reset_timer: NotRequired[pulumi.Input['DetectorModelResetTimerArgsDict']] + """ + Information needed to reset the timer. + """ + set_timer: NotRequired[pulumi.Input['DetectorModelSetTimerArgsDict']] + """ + Information needed to set the timer. + """ + set_variable: NotRequired[pulumi.Input['DetectorModelSetVariableArgsDict']] + """ + Sets a variable to a specified value. + """ + sns: NotRequired[pulumi.Input['DetectorModelSnsArgsDict']] + """ + Sends an Amazon SNS message. + """ + sqs: NotRequired[pulumi.Input['DetectorModelSqsArgsDict']] + """ + Sends an Amazon SNS message. + """ +elif False: + DetectorModelActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelActionArgs: def __init__(__self__, *, @@ -1544,6 +2172,31 @@ def sqs(self, value: Optional[pulumi.Input['DetectorModelSqsArgs']]): pulumi.set(self, "sqs", value) +if not MYPY: + class DetectorModelAssetPropertyTimestampArgsDict(TypedDict): + """ + A structure that contains timestamp information. For more information, see [TimeInNanos](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html) in the *API Reference*. + You must use expressions for all parameters in ``AssetPropertyTimestamp``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``timeInSeconds`` parameter can be ``'1586400675'``. + + For references, you must specify either variables or input values. For example, the value for the ``offsetInNanos`` parameter can be ``$variable.time``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``timeInSeconds`` parameter uses a substitution template. + ``'${$input.TemperatureInput.sensorData.timestamp / 1000}'`` + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + """ + time_in_seconds: pulumi.Input[str] + """ + The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199. + """ + offset_in_nanos: NotRequired[pulumi.Input[str]] + """ + The nanosecond offset converted from ``timeInSeconds``. The valid range is between 0-999999999. + """ +elif False: + DetectorModelAssetPropertyTimestampArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelAssetPropertyTimestampArgs: def __init__(__self__, *, @@ -1592,6 +2245,32 @@ def offset_in_nanos(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "offset_in_nanos", value) +if not MYPY: + class DetectorModelAssetPropertyValueArgsDict(TypedDict): + """ + A structure that contains value information. For more information, see [AssetPropertyValue](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html) in the *API Reference*. + You must use expressions for all parameters in ``AssetPropertyValue``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``quality`` parameter can be ``'GOOD'``. + + For references, you must specify either variables or input values. For example, the value for the ``quality`` parameter can be ``$input.TemperatureInput.sensorData.quality``. + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + """ + value: pulumi.Input['DetectorModelAssetPropertyVariantArgsDict'] + """ + The value to send to an asset property. + """ + quality: NotRequired[pulumi.Input[str]] + """ + The quality of the asset property value. The value must be ``'GOOD'``, ``'BAD'``, or ``'UNCERTAIN'``. + """ + timestamp: NotRequired[pulumi.Input['DetectorModelAssetPropertyTimestampArgsDict']] + """ + The timestamp associated with the asset property value. The default is the current event time. + """ +elif False: + DetectorModelAssetPropertyValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelAssetPropertyValueArgs: def __init__(__self__, *, @@ -1653,6 +2332,40 @@ def timestamp(self, value: Optional[pulumi.Input['DetectorModelAssetPropertyTime pulumi.set(self, "timestamp", value) +if not MYPY: + class DetectorModelAssetPropertyVariantArgsDict(TypedDict): + """ + A structure that contains an asset property value. For more information, see [Variant](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html) in the *API Reference*. + You must use expressions for all parameters in ``AssetPropertyVariant``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``integerValue`` parameter can be ``'100'``. + + For references, you must specify either variables or parameters. For example, the value for the ``booleanValue`` parameter can be ``$variable.offline``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``doubleValue`` parameter uses a substitution template. + ``'${$input.TemperatureInput.sensorData.temperature * 6 / 5 + 32}'`` + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + You must specify one of the following value types, depending on the ``dataType`` of the specified asset property. For more information, see [AssetProperty](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetProperty.html) in the *API Reference*. + """ + boolean_value: NotRequired[pulumi.Input[str]] + """ + The asset property value is a Boolean value that must be ``'TRUE'`` or ``'FALSE'``. You must use an expression, and the evaluated result should be a Boolean value. + """ + double_value: NotRequired[pulumi.Input[str]] + """ + The asset property value is a double. You must use an expression, and the evaluated result should be a double. + """ + integer_value: NotRequired[pulumi.Input[str]] + """ + The asset property value is an integer. You must use an expression, and the evaluated result should be an integer. + """ + string_value: NotRequired[pulumi.Input[str]] + """ + The asset property value is a string. You must use an expression, and the evaluated result should be a string. + """ +elif False: + DetectorModelAssetPropertyVariantArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelAssetPropertyVariantArgs: def __init__(__self__, *, @@ -1735,6 +2448,18 @@ def string_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "string_value", value) +if not MYPY: + class DetectorModelClearTimerArgsDict(TypedDict): + """ + Information needed to clear the timer. + """ + timer_name: pulumi.Input[str] + """ + The name of the timer to clear. + """ +elif False: + DetectorModelClearTimerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelClearTimerArgs: def __init__(__self__, *, @@ -1758,6 +2483,22 @@ def timer_name(self, value: pulumi.Input[str]): pulumi.set(self, "timer_name", value) +if not MYPY: + class DetectorModelDefinitionArgsDict(TypedDict): + """ + Information that defines how a detector operates. + """ + initial_state_name: pulumi.Input[str] + """ + The state that is entered at the creation of each detector (instance). + """ + states: pulumi.Input[Sequence[pulumi.Input['DetectorModelStateArgsDict']]] + """ + Information about the states of the detector. + """ +elif False: + DetectorModelDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelDefinitionArgs: def __init__(__self__, *, @@ -1796,6 +2537,36 @@ def states(self, value: pulumi.Input[Sequence[pulumi.Input['DetectorModelStateAr pulumi.set(self, "states", value) +if not MYPY: + class DetectorModelDynamoDBv2ArgsDict(TypedDict): + """ + Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. + You must use expressions for all parameters in ``DynamoDBv2Action``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``tableName`` parameter can be ``'GreenhouseTemperatureTable'``. + + For references, you must specify either variables or input values. For example, the value for the ``tableName`` parameter can be ``$variable.ddbtableName``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``contentExpression`` parameter in ``Payload`` uses a substitution template. + ``'{\\"sensorID\\": \\"${$input.GreenhouseInput.sensor_id}\\", \\"temperature\\": \\"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\\"}'`` + + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``tableName`` parameter uses a string concatenation. + ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date`` + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + The value for the ``type`` parameter in ``Payload`` must be ``JSON``. + """ + table_name: pulumi.Input[str] + """ + The name of the DynamoDB table. + """ + payload: NotRequired[pulumi.Input['DetectorModelPayloadArgsDict']] + """ + Information needed to configure the payload. + By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``. + """ +elif False: + DetectorModelDynamoDBv2ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelDynamoDBv2Args: def __init__(__self__, *, @@ -1830,25 +2601,101 @@ def table_name(self) -> pulumi.Input[str]: """ The name of the DynamoDB table. """ - return pulumi.get(self, "table_name") - - @table_name.setter - def table_name(self, value: pulumi.Input[str]): - pulumi.set(self, "table_name", value) - - @property - @pulumi.getter - def payload(self) -> Optional[pulumi.Input['DetectorModelPayloadArgs']]: + return pulumi.get(self, "table_name") + + @table_name.setter + def table_name(self, value: pulumi.Input[str]): + pulumi.set(self, "table_name", value) + + @property + @pulumi.getter + def payload(self) -> Optional[pulumi.Input['DetectorModelPayloadArgs']]: + """ + Information needed to configure the payload. + By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``. + """ + return pulumi.get(self, "payload") + + @payload.setter + def payload(self, value: Optional[pulumi.Input['DetectorModelPayloadArgs']]): + pulumi.set(self, "payload", value) + + +if not MYPY: + class DetectorModelDynamoDbArgsDict(TypedDict): + """ + Defines an action to write to the Amazon DynamoDB table that you created. The standard action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. + You must use expressions for all parameters in ``DynamoDBAction``. The expressions accept literals, operators, functions, references, and substitution templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``hashKeyType`` parameter can be ``'STRING'``. + + For references, you must specify either variables or input values. For example, the value for the ``hashKeyField`` parameter can be ``$input.GreenhouseInput.name``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``hashKeyValue`` parameter uses a substitution template. + ``'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'`` + + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``tableName`` parameter uses a string concatenation. + ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date`` + + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + If the defined payload type is a string, ``DynamoDBAction`` writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The value for the ``payloadField`` parameter is ``_raw``. + """ + hash_key_field: pulumi.Input[str] + """ + The name of the hash key (also called the partition key). The ``hashKeyField`` value must match the partition key of the target DynamoDB table. + """ + hash_key_value: pulumi.Input[str] + """ + The value of the hash key (also called the partition key). + """ + table_name: pulumi.Input[str] + """ + The name of the DynamoDB table. The ``tableName`` value must match the table name of the target DynamoDB table. + """ + hash_key_type: NotRequired[pulumi.Input[str]] + """ + The data type for the hash key (also called the partition key). You can specify the following values: + + ``'STRING'`` - The hash key is a string. + + ``'NUMBER'`` - The hash key is a number. + + If you don't specify ``hashKeyType``, the default value is ``'STRING'``. + """ + operation: NotRequired[pulumi.Input[str]] + """ + The type of operation to perform. You can specify the following values: + + ``'INSERT'`` - Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key. + + ``'UPDATE'`` - Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key. + + ``'DELETE'`` - Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key. + + If you don't specify this parameter, ITE triggers the ``'INSERT'`` operation. + """ + payload: NotRequired[pulumi.Input['DetectorModelPayloadArgsDict']] """ Information needed to configure the payload. By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``. """ - return pulumi.get(self, "payload") - - @payload.setter - def payload(self, value: Optional[pulumi.Input['DetectorModelPayloadArgs']]): - pulumi.set(self, "payload", value) - + payload_field: NotRequired[pulumi.Input[str]] + """ + The name of the DynamoDB column that receives the action payload. + If you don't specify this parameter, the name of the DynamoDB column is ``payload``. + """ + range_key_field: NotRequired[pulumi.Input[str]] + """ + The name of the range key (also called the sort key). The ``rangeKeyField`` value must match the sort key of the target DynamoDB table. + """ + range_key_type: NotRequired[pulumi.Input[str]] + """ + The data type for the range key (also called the sort key), You can specify the following values: + + ``'STRING'`` - The range key is a string. + + ``'NUMBER'`` - The range key is number. + + If you don't specify ``rangeKeyField``, the default value is ``'STRING'``. + """ + range_key_value: NotRequired[pulumi.Input[str]] + """ + The value of the range key (also called the sort key). + """ +elif False: + DetectorModelDynamoDbArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class DetectorModelDynamoDbArgs: @@ -2058,6 +2905,26 @@ def range_key_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "range_key_value", value) +if not MYPY: + class DetectorModelEventArgsDict(TypedDict): + """ + Specifies the ``actions`` to be performed when the ``condition`` evaluates to TRUE. + """ + event_name: pulumi.Input[str] + """ + The name of the event. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorModelActionArgsDict']]]] + """ + The actions to be performed. + """ + condition: NotRequired[pulumi.Input[str]] + """ + Optional. The Boolean expression that, when TRUE, causes the ``actions`` to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE). + """ +elif False: + DetectorModelEventArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelEventArgs: def __init__(__self__, *, @@ -2113,6 +2980,26 @@ def condition(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "condition", value) +if not MYPY: + class DetectorModelFirehoseArgsDict(TypedDict): + """ + Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream. + """ + delivery_stream_name: pulumi.Input[str] + """ + The name of the Kinesis Data Firehose delivery stream where the data is written. + """ + payload: NotRequired[pulumi.Input['DetectorModelPayloadArgsDict']] + """ + You can configure the action payload when you send a message to an Amazon Data Firehose delivery stream. + """ + separator: NotRequired[pulumi.Input[str]] + """ + A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ',' (comma). + """ +elif False: + DetectorModelFirehoseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelFirehoseArgs: def __init__(__self__, *, @@ -2168,6 +3055,22 @@ def separator(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "separator", value) +if not MYPY: + class DetectorModelIotEventsArgsDict(TypedDict): + """ + Sends an ITE input, passing in information about the detector model instance and the event that triggered the action. + """ + input_name: pulumi.Input[str] + """ + The name of the ITE input where the data is sent. + """ + payload: NotRequired[pulumi.Input['DetectorModelPayloadArgsDict']] + """ + You can configure the action payload when you send a message to an ITE input. + """ +elif False: + DetectorModelIotEventsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelIotEventsArgs: def __init__(__self__, *, @@ -2207,6 +3110,44 @@ def payload(self, value: Optional[pulumi.Input['DetectorModelPayloadArgs']]): pulumi.set(self, "payload", value) +if not MYPY: + class DetectorModelIotSiteWiseArgsDict(TypedDict): + """ + Sends information about the detector model instance and the event that triggered the action to a specified asset property in ITSW. + You must use expressions for all parameters in ``IotSiteWiseAction``. The expressions accept literals, operators, functions, references, and substitutions templates. + **Examples** + + For literal values, the expressions must contain single quotes. For example, the value for the ``propertyAlias`` parameter can be ``'/company/windfarm/3/turbine/7/temperature'``. + + For references, you must specify either variables or input values. For example, the value for the ``assetId`` parameter can be ``$input.TurbineInput.assetId1``. + + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. + In the following example, the value for the ``propertyAlias`` parameter uses a substitution template. + ``'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'`` + + You must specify either ``propertyAlias`` or both ``assetId`` and ``propertyId`` to identify the target asset property in ITSW. + For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*. + """ + property_value: pulumi.Input['DetectorModelAssetPropertyValueArgsDict'] + """ + The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information. + """ + asset_id: NotRequired[pulumi.Input[str]] + """ + The ID of the asset that has the specified property. + """ + entry_id: NotRequired[pulumi.Input[str]] + """ + A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier. + """ + property_alias: NotRequired[pulumi.Input[str]] + """ + The alias of the asset property. + """ + property_id: NotRequired[pulumi.Input[str]] + """ + The ID of the asset property. + """ +elif False: + DetectorModelIotSiteWiseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelIotSiteWiseArgs: def __init__(__self__, *, @@ -2304,6 +3245,22 @@ def property_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "property_id", value) +if not MYPY: + class DetectorModelIotTopicPublishArgsDict(TypedDict): + """ + Information required to publish the MQTT message through the IoT message broker. + """ + mqtt_topic: pulumi.Input[str] + """ + The MQTT topic of the message. You can use a string expression that includes variables (``$variable.``) and input values (``$input..``) as the topic string. + """ + payload: NotRequired[pulumi.Input['DetectorModelPayloadArgsDict']] + """ + You can configure the action payload when you publish a message to an IoTCore topic. + """ +elif False: + DetectorModelIotTopicPublishArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelIotTopicPublishArgs: def __init__(__self__, *, @@ -2343,6 +3300,22 @@ def payload(self, value: Optional[pulumi.Input['DetectorModelPayloadArgs']]): pulumi.set(self, "payload", value) +if not MYPY: + class DetectorModelLambdaArgsDict(TypedDict): + """ + Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action. + """ + function_arn: pulumi.Input[str] + """ + The ARN of the Lambda function that is executed. + """ + payload: NotRequired[pulumi.Input['DetectorModelPayloadArgsDict']] + """ + You can configure the action payload when you send a message to a Lambda function. + """ +elif False: + DetectorModelLambdaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelLambdaArgs: def __init__(__self__, *, @@ -2382,6 +3355,18 @@ def payload(self, value: Optional[pulumi.Input['DetectorModelPayloadArgs']]): pulumi.set(self, "payload", value) +if not MYPY: + class DetectorModelOnEnterArgsDict(TypedDict): + """ + When entering this state, perform these ``actions`` if the ``condition`` is TRUE. + """ + events: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorModelEventArgsDict']]]] + """ + Specifies the actions that are performed when the state is entered and the ``condition`` is ``TRUE``. + """ +elif False: + DetectorModelOnEnterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelOnEnterArgs: def __init__(__self__, *, @@ -2406,6 +3391,18 @@ def events(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorMod pulumi.set(self, "events", value) +if not MYPY: + class DetectorModelOnExitArgsDict(TypedDict): + """ + When exiting this state, perform these ``actions`` if the specified ``condition`` is ``TRUE``. + """ + events: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorModelEventArgsDict']]]] + """ + Specifies the ``actions`` that are performed when the state is exited and the ``condition`` is ``TRUE``. + """ +elif False: + DetectorModelOnExitArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelOnExitArgs: def __init__(__self__, *, @@ -2430,6 +3427,22 @@ def events(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorMod pulumi.set(self, "events", value) +if not MYPY: + class DetectorModelOnInputArgsDict(TypedDict): + """ + Specifies the actions performed when the ``condition`` evaluates to TRUE. + """ + events: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorModelEventArgsDict']]]] + """ + Specifies the actions performed when the ``condition`` evaluates to TRUE. + """ + transition_events: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorModelTransitionEventArgsDict']]]] + """ + Specifies the actions performed, and the next state entered, when a ``condition`` evaluates to TRUE. + """ +elif False: + DetectorModelOnInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelOnInputArgs: def __init__(__self__, *, @@ -2470,6 +3483,23 @@ def transition_events(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "transition_events", value) +if not MYPY: + class DetectorModelPayloadArgsDict(TypedDict): + """ + Information needed to configure the payload. + By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``. + """ + content_expression: pulumi.Input[str] + """ + The content of the payload. You can use a string expression that includes quoted strings (``''``), variables (``$variable.``), input values (``$input..``), string concatenations, and quoted strings that contain ``${}`` as the content. The recommended maximum size of a content expression is 1 KB. + """ + type: pulumi.Input[str] + """ + The value of the payload type can be either ``STRING`` or ``JSON``. + """ +elif False: + DetectorModelPayloadArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelPayloadArgs: def __init__(__self__, *, @@ -2509,6 +3539,18 @@ def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) +if not MYPY: + class DetectorModelResetTimerArgsDict(TypedDict): + """ + Information required to reset the timer. The timer is reset to the previously evaluated result of the duration. The duration expression isn't reevaluated when you reset the timer. + """ + timer_name: pulumi.Input[str] + """ + The name of the timer to reset. + """ +elif False: + DetectorModelResetTimerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelResetTimerArgs: def __init__(__self__, *, @@ -2532,6 +3574,26 @@ def timer_name(self, value: pulumi.Input[str]): pulumi.set(self, "timer_name", value) +if not MYPY: + class DetectorModelSetTimerArgsDict(TypedDict): + """ + Information needed to set the timer. + """ + timer_name: pulumi.Input[str] + """ + The name of the timer. + """ + duration_expression: NotRequired[pulumi.Input[str]] + """ + The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (``$variable.``), and input values (``$input..``) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number. + """ + seconds: NotRequired[pulumi.Input[int]] + """ + The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds. + """ +elif False: + DetectorModelSetTimerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelSetTimerArgs: def __init__(__self__, *, @@ -2587,6 +3649,22 @@ def seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "seconds", value) +if not MYPY: + class DetectorModelSetVariableArgsDict(TypedDict): + """ + Information about the variable and its new value. + """ + value: pulumi.Input[str] + """ + The new value of the variable. + """ + variable_name: pulumi.Input[str] + """ + The name of the variable. + """ +elif False: + DetectorModelSetVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelSetVariableArgs: def __init__(__self__, *, @@ -2625,6 +3703,22 @@ def variable_name(self, value: pulumi.Input[str]): pulumi.set(self, "variable_name", value) +if not MYPY: + class DetectorModelSnsArgsDict(TypedDict): + """ + Information required to publish the Amazon SNS message. + """ + target_arn: pulumi.Input[str] + """ + The ARN of the Amazon SNS target where the message is sent. + """ + payload: NotRequired[pulumi.Input['DetectorModelPayloadArgsDict']] + """ + You can configure the action payload when you send a message as an Amazon SNS push notification. + """ +elif False: + DetectorModelSnsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelSnsArgs: def __init__(__self__, *, @@ -2664,6 +3758,26 @@ def payload(self, value: Optional[pulumi.Input['DetectorModelPayloadArgs']]): pulumi.set(self, "payload", value) +if not MYPY: + class DetectorModelSqsArgsDict(TypedDict): + """ + Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue. + """ + queue_url: pulumi.Input[str] + """ + The URL of the SQS queue where the data is written. + """ + payload: NotRequired[pulumi.Input['DetectorModelPayloadArgsDict']] + """ + You can configure the action payload when you send a message to an Amazon SQS queue. + """ + use_base64: NotRequired[pulumi.Input[bool]] + """ + Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE. + """ +elif False: + DetectorModelSqsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelSqsArgs: def __init__(__self__, *, @@ -2719,6 +3833,30 @@ def use_base64(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_base64", value) +if not MYPY: + class DetectorModelStateArgsDict(TypedDict): + """ + Information that defines a state of a detector. + """ + state_name: pulumi.Input[str] + """ + The name of the state. + """ + on_enter: NotRequired[pulumi.Input['DetectorModelOnEnterArgsDict']] + """ + When entering this state, perform these ``actions`` if the ``condition`` is TRUE. + """ + on_exit: NotRequired[pulumi.Input['DetectorModelOnExitArgsDict']] + """ + When exiting this state, perform these ``actions`` if the specified ``condition`` is ``TRUE``. + """ + on_input: NotRequired[pulumi.Input['DetectorModelOnInputArgsDict']] + """ + When an input is received and the ``condition`` is TRUE, perform the specified ``actions``. + """ +elif False: + DetectorModelStateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelStateArgs: def __init__(__self__, *, @@ -2790,6 +3928,30 @@ def on_input(self, value: Optional[pulumi.Input['DetectorModelOnInputArgs']]): pulumi.set(self, "on_input", value) +if not MYPY: + class DetectorModelTransitionEventArgsDict(TypedDict): + """ + Specifies the actions performed and the next state entered when a ``condition`` evaluates to TRUE. + """ + condition: pulumi.Input[str] + """ + Required. A Boolean expression that when TRUE causes the actions to be performed and the ``nextState`` to be entered. + """ + event_name: pulumi.Input[str] + """ + The name of the transition event. + """ + next_state: pulumi.Input[str] + """ + The next state to enter. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DetectorModelActionArgsDict']]]] + """ + The actions to be performed. + """ +elif False: + DetectorModelTransitionEventArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DetectorModelTransitionEventArgs: def __init__(__self__, *, @@ -2859,6 +4021,19 @@ def actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorMo pulumi.set(self, "actions", value) +if not MYPY: + class InputAttributeArgsDict(TypedDict): + """ + The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the ITE system using ``BatchPutMessage``. Each such message contains a JSON payload. Those attributes (and their paired values) specified here are available for use in the ``condition`` expressions used by detectors. + """ + json_path: pulumi.Input[str] + """ + An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to ITE (``BatchPutMessage``). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the ``condition`` expressions used by detectors. + Syntax: ``....`` + """ +elif False: + InputAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InputAttributeArgs: def __init__(__self__, *, @@ -2884,6 +4059,18 @@ def json_path(self, value: pulumi.Input[str]): pulumi.set(self, "json_path", value) +if not MYPY: + class InputDefinitionArgsDict(TypedDict): + """ + The definition of the input. + """ + attributes: pulumi.Input[Sequence[pulumi.Input['InputAttributeArgsDict']]] + """ + The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the ITE system using ``BatchPutMessage``. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the ``condition`` expressions used by detectors that monitor this input. + """ +elif False: + InputDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InputDefinitionArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/iotevents/alarm_model.py b/sdk/python/pulumi_aws_native/iotevents/alarm_model.py index ab14248238..10c9a314ba 100644 --- a/sdk/python/pulumi_aws_native/iotevents/alarm_model.py +++ b/sdk/python/pulumi_aws_native/iotevents/alarm_model.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotevents/detector_model.py b/sdk/python/pulumi_aws_native/iotevents/detector_model.py index 9710c0c650..dc90dd6626 100644 --- a/sdk/python/pulumi_aws_native/iotevents/detector_model.py +++ b/sdk/python/pulumi_aws_native/iotevents/detector_model.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotevents/get_alarm_model.py b/sdk/python/pulumi_aws_native/iotevents/get_alarm_model.py index 98df1ef768..9f6b7a1f69 100644 --- a/sdk/python/pulumi_aws_native/iotevents/get_alarm_model.py +++ b/sdk/python/pulumi_aws_native/iotevents/get_alarm_model.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -138,9 +143,6 @@ def get_alarm_model(alarm_model_name: Optional[str] = None, role_arn=pulumi.get(__ret__, 'role_arn'), severity=pulumi.get(__ret__, 'severity'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_alarm_model) def get_alarm_model_output(alarm_model_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAlarmModelResult]: """ @@ -149,4 +151,15 @@ def get_alarm_model_output(alarm_model_name: Optional[pulumi.Input[str]] = None, :param str alarm_model_name: The name of the alarm model. """ - ... + __args__ = dict() + __args__['alarmModelName'] = alarm_model_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotevents:getAlarmModel', __args__, opts=opts, typ=GetAlarmModelResult) + return __ret__.apply(lambda __response__: GetAlarmModelResult( + alarm_capabilities=pulumi.get(__response__, 'alarm_capabilities'), + alarm_event_actions=pulumi.get(__response__, 'alarm_event_actions'), + alarm_model_description=pulumi.get(__response__, 'alarm_model_description'), + alarm_rule=pulumi.get(__response__, 'alarm_rule'), + role_arn=pulumi.get(__response__, 'role_arn'), + severity=pulumi.get(__response__, 'severity'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotevents/get_detector_model.py b/sdk/python/pulumi_aws_native/iotevents/get_detector_model.py index b934cc22f0..44aaf1f56e 100644 --- a/sdk/python/pulumi_aws_native/iotevents/get_detector_model.py +++ b/sdk/python/pulumi_aws_native/iotevents/get_detector_model.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -116,9 +121,6 @@ def get_detector_model(detector_model_name: Optional[str] = None, evaluation_method=pulumi.get(__ret__, 'evaluation_method'), role_arn=pulumi.get(__ret__, 'role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_detector_model) def get_detector_model_output(detector_model_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDetectorModelResult]: """ @@ -131,4 +133,13 @@ def get_detector_model_output(detector_model_name: Optional[pulumi.Input[str]] = :param str detector_model_name: The name of the detector model. """ - ... + __args__ = dict() + __args__['detectorModelName'] = detector_model_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotevents:getDetectorModel', __args__, opts=opts, typ=GetDetectorModelResult) + return __ret__.apply(lambda __response__: GetDetectorModelResult( + detector_model_definition=pulumi.get(__response__, 'detector_model_definition'), + detector_model_description=pulumi.get(__response__, 'detector_model_description'), + evaluation_method=pulumi.get(__response__, 'evaluation_method'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotevents/get_input.py b/sdk/python/pulumi_aws_native/iotevents/get_input.py index 8168bd85ce..044866b0de 100644 --- a/sdk/python/pulumi_aws_native/iotevents/get_input.py +++ b/sdk/python/pulumi_aws_native/iotevents/get_input.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -85,9 +90,6 @@ def get_input(input_name: Optional[str] = None, input_definition=pulumi.get(__ret__, 'input_definition'), input_description=pulumi.get(__ret__, 'input_description'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_input) def get_input_output(input_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInputResult]: """ @@ -96,4 +98,11 @@ def get_input_output(input_name: Optional[pulumi.Input[str]] = None, :param str input_name: The name of the input. """ - ... + __args__ = dict() + __args__['inputName'] = input_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotevents:getInput', __args__, opts=opts, typ=GetInputResult) + return __ret__.apply(lambda __response__: GetInputResult( + input_definition=pulumi.get(__response__, 'input_definition'), + input_description=pulumi.get(__response__, 'input_description'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotevents/input.py b/sdk/python/pulumi_aws_native/iotevents/input.py index 11d19dcb2b..32bd47cb70 100644 --- a/sdk/python/pulumi_aws_native/iotevents/input.py +++ b/sdk/python/pulumi_aws_native/iotevents/input.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotevents/outputs.py b/sdk/python/pulumi_aws_native/iotevents/outputs.py index 47d248e062..c9b8ee0b5b 100644 --- a/sdk/python/pulumi_aws_native/iotevents/outputs.py +++ b/sdk/python/pulumi_aws_native/iotevents/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iotfleethub/application.py b/sdk/python/pulumi_aws_native/iotfleethub/application.py index e52daa31f1..cb1952adc8 100644 --- a/sdk/python/pulumi_aws_native/iotfleethub/application.py +++ b/sdk/python/pulumi_aws_native/iotfleethub/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iotfleethub/get_application.py b/sdk/python/pulumi_aws_native/iotfleethub/get_application.py index ad3d2458c7..7cd98cd927 100644 --- a/sdk/python/pulumi_aws_native/iotfleethub/get_application.py +++ b/sdk/python/pulumi_aws_native/iotfleethub/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -200,9 +205,6 @@ def get_application(application_id: Optional[str] = None, role_arn=pulumi.get(__ret__, 'role_arn'), sso_client_id=pulumi.get(__ret__, 'sso_client_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -211,4 +213,20 @@ def get_application_output(application_id: Optional[pulumi.Input[str]] = None, :param str application_id: The ID of the application. """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotfleethub:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + application_arn=pulumi.get(__response__, 'application_arn'), + application_creation_date=pulumi.get(__response__, 'application_creation_date'), + application_description=pulumi.get(__response__, 'application_description'), + application_id=pulumi.get(__response__, 'application_id'), + application_last_update_date=pulumi.get(__response__, 'application_last_update_date'), + application_name=pulumi.get(__response__, 'application_name'), + application_state=pulumi.get(__response__, 'application_state'), + application_url=pulumi.get(__response__, 'application_url'), + error_message=pulumi.get(__response__, 'error_message'), + role_arn=pulumi.get(__response__, 'role_arn'), + sso_client_id=pulumi.get(__response__, 'sso_client_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotsitewise/_inputs.py b/sdk/python/pulumi_aws_native/iotsitewise/_inputs.py index 2cfb0f77cb..2153cbed7c 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/_inputs.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/_inputs.py @@ -4,42 +4,88 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AccessPolicyIamRoleArgs', + 'AccessPolicyIamRoleArgsDict', 'AccessPolicyIamUserArgs', + 'AccessPolicyIamUserArgsDict', 'AccessPolicyIdentityArgs', + 'AccessPolicyIdentityArgsDict', 'AccessPolicyPortalArgs', + 'AccessPolicyPortalArgsDict', 'AccessPolicyProjectArgs', + 'AccessPolicyProjectArgsDict', 'AccessPolicyResourceArgs', + 'AccessPolicyResourceArgsDict', 'AccessPolicyUserArgs', + 'AccessPolicyUserArgsDict', 'AlarmsPropertiesArgs', + 'AlarmsPropertiesArgsDict', 'AssetHierarchyArgs', + 'AssetHierarchyArgsDict', 'AssetModelAttributeArgs', + 'AssetModelAttributeArgsDict', 'AssetModelCompositeModelArgs', + 'AssetModelCompositeModelArgsDict', 'AssetModelExpressionVariableArgs', + 'AssetModelExpressionVariableArgsDict', 'AssetModelHierarchyArgs', + 'AssetModelHierarchyArgsDict', 'AssetModelMetricWindowArgs', + 'AssetModelMetricWindowArgsDict', 'AssetModelMetricArgs', + 'AssetModelMetricArgsDict', 'AssetModelPropertyPathDefinitionArgs', + 'AssetModelPropertyPathDefinitionArgsDict', 'AssetModelPropertyTypeArgs', + 'AssetModelPropertyTypeArgsDict', 'AssetModelPropertyArgs', + 'AssetModelPropertyArgsDict', 'AssetModelTransformArgs', + 'AssetModelTransformArgsDict', 'AssetModelTumblingWindowArgs', + 'AssetModelTumblingWindowArgsDict', 'AssetModelVariableValueArgs', + 'AssetModelVariableValueArgsDict', 'AssetPropertyArgs', + 'AssetPropertyArgsDict', 'GatewayCapabilitySummaryArgs', + 'GatewayCapabilitySummaryArgsDict', 'GatewayGreengrassV2Args', + 'GatewayGreengrassV2ArgsDict', 'GatewayGreengrassArgs', + 'GatewayGreengrassArgsDict', 'GatewayPlatformArgs', + 'GatewayPlatformArgsDict', 'GatewaySiemensIeArgs', + 'GatewaySiemensIeArgsDict', ] +MYPY = False + +if not MYPY: + class AccessPolicyIamRoleArgsDict(TypedDict): + """ + Contains information for an IAM role identity in an access policy. + """ + arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the IAM role. + """ +elif False: + AccessPolicyIamRoleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPolicyIamRoleArgs: def __init__(__self__, *, @@ -64,6 +110,18 @@ def arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "arn", value) +if not MYPY: + class AccessPolicyIamUserArgsDict(TypedDict): + """ + Contains information for an IAM user identity in an access policy. + """ + arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the IAM user. + """ +elif False: + AccessPolicyIamUserArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPolicyIamUserArgs: def __init__(__self__, *, @@ -88,6 +146,26 @@ def arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "arn", value) +if not MYPY: + class AccessPolicyIdentityArgsDict(TypedDict): + """ + The identity for this access policy. Choose either an SSO user or group or an IAM user or role. + """ + iam_role: NotRequired[pulumi.Input['AccessPolicyIamRoleArgsDict']] + """ + An IAM role identity. + """ + iam_user: NotRequired[pulumi.Input['AccessPolicyIamUserArgsDict']] + """ + An IAM user identity. + """ + user: NotRequired[pulumi.Input['AccessPolicyUserArgsDict']] + """ + An IAM Identity Center user identity. + """ +elif False: + AccessPolicyIdentityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPolicyIdentityArgs: def __init__(__self__, *, @@ -144,6 +222,18 @@ def user(self, value: Optional[pulumi.Input['AccessPolicyUserArgs']]): pulumi.set(self, "user", value) +if not MYPY: + class AccessPolicyPortalArgsDict(TypedDict): + """ + A portal resource. + """ + id: NotRequired[pulumi.Input[str]] + """ + The ID of the portal. + """ +elif False: + AccessPolicyPortalArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPolicyPortalArgs: def __init__(__self__, *, @@ -168,6 +258,18 @@ def id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "id", value) +if not MYPY: + class AccessPolicyProjectArgsDict(TypedDict): + """ + A project resource. + """ + id: NotRequired[pulumi.Input[str]] + """ + The ID of the project. + """ +elif False: + AccessPolicyProjectArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPolicyProjectArgs: def __init__(__self__, *, @@ -192,6 +294,22 @@ def id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "id", value) +if not MYPY: + class AccessPolicyResourceArgsDict(TypedDict): + """ + The AWS IoT SiteWise Monitor resource for this access policy. Choose either portal or project but not both. + """ + portal: NotRequired[pulumi.Input['AccessPolicyPortalArgsDict']] + """ + Identifies an AWS IoT SiteWise Monitor portal. + """ + project: NotRequired[pulumi.Input['AccessPolicyProjectArgsDict']] + """ + Identifies a specific AWS IoT SiteWise Monitor project. + """ +elif False: + AccessPolicyResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPolicyResourceArgs: def __init__(__self__, *, @@ -232,6 +350,18 @@ def project(self, value: Optional[pulumi.Input['AccessPolicyProjectArgs']]): pulumi.set(self, "project", value) +if not MYPY: + class AccessPolicyUserArgsDict(TypedDict): + """ + Contains information for a user identity in an access policy. + """ + id: NotRequired[pulumi.Input[str]] + """ + The AWS SSO ID of the user. + """ +elif False: + AccessPolicyUserArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPolicyUserArgs: def __init__(__self__, *, @@ -256,6 +386,22 @@ def id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "id", value) +if not MYPY: + class AlarmsPropertiesArgsDict(TypedDict): + """ + Contains the configuration information of an alarm created in an AWS IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. + """ + alarm_role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the IAM role that allows the alarm to perform actions and access AWS resources and services, such as AWS IoT Events. + """ + notification_lambda_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the AWS Lambda function that manages alarm notifications. For more information, see Managing alarm notifications in the AWS IoT Events Developer Guide. + """ +elif False: + AlarmsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlarmsPropertiesArgs: def __init__(__self__, *, @@ -296,6 +442,30 @@ def notification_lambda_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notification_lambda_arn", value) +if not MYPY: + class AssetHierarchyArgsDict(TypedDict): + """ + A hierarchy specifies allowed parent/child asset relationships. + """ + child_asset_id: pulumi.Input[str] + """ + The ID of the child asset to be associated. + """ + external_id: NotRequired[pulumi.Input[str]] + """ + String-friendly customer provided external ID + """ + id: NotRequired[pulumi.Input[str]] + """ + Customer provided actual UUID for property + """ + logical_id: NotRequired[pulumi.Input[str]] + """ + The LogicalID of a hierarchy in the parent asset's model. + """ +elif False: + AssetHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetHierarchyArgs: def __init__(__self__, *, @@ -367,6 +537,15 @@ def logical_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "logical_id", value) +if not MYPY: + class AssetModelAttributeArgsDict(TypedDict): + default_value: NotRequired[pulumi.Input[str]] + """ + The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see [Updating attribute values](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/update-attribute-values.html) in the *AWS IoT SiteWise User Guide* . + """ +elif False: + AssetModelAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelAttributeArgs: def __init__(__self__, *, @@ -390,6 +569,50 @@ def default_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "default_value", value) +if not MYPY: + class AssetModelCompositeModelArgsDict(TypedDict): + """ + Contains a composite model definition in an asset model. This composite model definition is applied to all assets created from the asset model. + """ + name: pulumi.Input[str] + """ + A unique, friendly name for the asset composite model. + """ + type: pulumi.Input[str] + """ + The type of the composite model. For alarm composite models, this type is AWS/ALARM + """ + composed_asset_model_id: NotRequired[pulumi.Input[str]] + """ + The component model ID for which the composite model is composed of + """ + composite_model_properties: NotRequired[pulumi.Input[Sequence[pulumi.Input['AssetModelPropertyArgsDict']]]] + """ + The property definitions of the asset model. You can specify up to 200 properties per asset model. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description for the asset composite model. + """ + external_id: NotRequired[pulumi.Input[str]] + """ + The External ID of the composite model + """ + id: NotRequired[pulumi.Input[str]] + """ + The Actual ID of the composite model + """ + parent_asset_model_composite_model_external_id: NotRequired[pulumi.Input[str]] + """ + The parent composite model External ID + """ + path: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The path of the composite model. This is only for derived composite models + """ +elif False: + AssetModelCompositeModelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelCompositeModelArgs: def __init__(__self__, *, @@ -540,6 +763,19 @@ def path(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "path", value) +if not MYPY: + class AssetModelExpressionVariableArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The friendly name of the variable to be used in the expression. + """ + value: pulumi.Input['AssetModelVariableValueArgsDict'] + """ + The variable that identifies an asset property from which to use values. + """ +elif False: + AssetModelExpressionVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelExpressionVariableArgs: def __init__(__self__, *, @@ -577,6 +813,34 @@ def value(self, value: pulumi.Input['AssetModelVariableValueArgs']): pulumi.set(self, "value", value) +if not MYPY: + class AssetModelHierarchyArgsDict(TypedDict): + """ + Contains information about an asset model hierarchy. + """ + child_asset_model_id: pulumi.Input[str] + """ + The ID of the asset model. All assets in this hierarchy must be instances of the child AssetModelId asset model. + """ + name: pulumi.Input[str] + """ + The name of the asset model hierarchy. + """ + external_id: NotRequired[pulumi.Input[str]] + """ + Customer provided external ID for hierarchy + """ + id: NotRequired[pulumi.Input[str]] + """ + Customer provided actual ID for hierarchy + """ + logical_id: NotRequired[pulumi.Input[str]] + """ + Customer provided logical ID for hierarchy. + """ +elif False: + AssetModelHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelHierarchyArgs: def __init__(__self__, *, @@ -663,6 +927,18 @@ def logical_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "logical_id", value) +if not MYPY: + class AssetModelMetricWindowArgsDict(TypedDict): + """ + Contains a time interval window used for data aggregate computations (for example, average, sum, count, and so on). + """ + tumbling: NotRequired[pulumi.Input['AssetModelTumblingWindowArgsDict']] + """ + The tumbling time interval window. + """ +elif False: + AssetModelMetricWindowArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelMetricWindowArgs: def __init__(__self__, *, @@ -687,6 +963,23 @@ def tumbling(self, value: Optional[pulumi.Input['AssetModelTumblingWindowArgs']] pulumi.set(self, "tumbling", value) +if not MYPY: + class AssetModelMetricArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The mathematical expression that defines the metric aggregation function. You can specify up to 10 functions per expression. + """ + variables: pulumi.Input[Sequence[pulumi.Input['AssetModelExpressionVariableArgsDict']]] + """ + The list of variables used in the expression. + """ + window: pulumi.Input['AssetModelMetricWindowArgsDict'] + """ + The window (time interval) over which AWS IoT SiteWise computes the metric's aggregation expression + """ +elif False: + AssetModelMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelMetricArgs: def __init__(__self__, *, @@ -739,6 +1032,18 @@ def window(self, value: pulumi.Input['AssetModelMetricWindowArgs']): pulumi.set(self, "window", value) +if not MYPY: + class AssetModelPropertyPathDefinitionArgsDict(TypedDict): + """ + The definition for property path which is used to reference properties in transforms/metrics + """ + name: pulumi.Input[str] + """ + The name of the property + """ +elif False: + AssetModelPropertyPathDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelPropertyPathDefinitionArgs: def __init__(__self__, *, @@ -762,6 +1067,30 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class AssetModelPropertyTypeArgsDict(TypedDict): + """ + Contains a property type, which can be one of attribute, measurement, metric, or transform. + """ + type_name: pulumi.Input['AssetModelTypeName'] + """ + The type of property type, which can be one of `Attribute` , `Measurement` , `Metric` , or `Transform` . + """ + attribute: NotRequired[pulumi.Input['AssetModelAttributeArgsDict']] + """ + Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an [IIoT](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/Internet_of_things#Industrial_applications) wind turbine. + """ + metric: NotRequired[pulumi.Input['AssetModelMetricArgsDict']] + """ + Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature. + """ + transform: NotRequired[pulumi.Input['AssetModelTransformArgsDict']] + """ + Specifies an asset transform property. A transform contains a mathematical expression that maps a property's data points from one form to another, such as a unit conversion from Celsius to Fahrenheit. + """ +elif False: + AssetModelPropertyTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelPropertyTypeArgs: def __init__(__self__, *, @@ -833,6 +1162,46 @@ def transform(self, value: Optional[pulumi.Input['AssetModelTransformArgs']]): pulumi.set(self, "transform", value) +if not MYPY: + class AssetModelPropertyArgsDict(TypedDict): + """ + Contains information about an asset model property. + """ + data_type: pulumi.Input['AssetModelDataType'] + """ + The data type of the asset model property. + """ + name: pulumi.Input[str] + """ + The name of the asset model property. + """ + type: pulumi.Input['AssetModelPropertyTypeArgsDict'] + """ + The property type + """ + data_type_spec: NotRequired[pulumi.Input['AssetModelDataTypeSpec']] + """ + The data type of the structure for this property. + """ + external_id: NotRequired[pulumi.Input[str]] + """ + The External ID of the Asset Model Property + """ + id: NotRequired[pulumi.Input[str]] + """ + The ID of the Asset Model Property + """ + logical_id: NotRequired[pulumi.Input[str]] + """ + Customer provided Logical ID for property. + """ + unit: NotRequired[pulumi.Input[str]] + """ + The unit of the asset model property, such as Newtons or RPM. + """ +elif False: + AssetModelPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelPropertyArgs: def __init__(__self__, *, @@ -966,6 +1335,19 @@ def unit(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit", value) +if not MYPY: + class AssetModelTransformArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The mathematical expression that defines the transformation function. You can specify up to 10 functions per expression. + """ + variables: pulumi.Input[Sequence[pulumi.Input['AssetModelExpressionVariableArgsDict']]] + """ + The list of variables used in the expression. + """ +elif False: + AssetModelTransformArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelTransformArgs: def __init__(__self__, *, @@ -1003,6 +1385,48 @@ def variables(self, value: pulumi.Input[Sequence[pulumi.Input['AssetModelExpress pulumi.set(self, "variables", value) +if not MYPY: + class AssetModelTumblingWindowArgsDict(TypedDict): + """ + Contains a tumbling window, which is a repeating fixed-sized, non-overlapping, and contiguous time interval. This window is used in metric and aggregation computations. + """ + interval: pulumi.Input[str] + """ + The time interval for the tumbling window. The interval time must be between 1 minute and 1 week. + + AWS IoT SiteWise computes the `1w` interval the end of Sunday at midnight each week (UTC), the `1d` interval at the end of each day at midnight (UTC), the `1h` interval at the end of each hour, and so on. + + When AWS IoT SiteWise aggregates data points for metric computations, the start of each interval is exclusive and the end of each interval is inclusive. AWS IoT SiteWise places the computed data point at the end of the interval. + """ + offset: NotRequired[pulumi.Input[str]] + """ + The offset for the tumbling window. The `offset` parameter accepts the following: + + - The offset time. + + For example, if you specify `18h` for `offset` and `1d` for `interval` , AWS IoT SiteWise aggregates data in one of the following ways: + + - If you create the metric before or at 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) on the day when you create the metric. + - If you create the metric after 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) the next day. + - The ISO 8601 format. + + For example, if you specify `PT18H` for `offset` and `1d` for `interval` , AWS IoT SiteWise aggregates data in one of the following ways: + + - If you create the metric before or at 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) on the day when you create the metric. + - If you create the metric after 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) the next day. + - The 24-hour clock. + + For example, if you specify `00:03:00` for `offset` , `5m` for `interval` , and you create the metric at 2 PM (UTC), you get the first aggregation result at 2:03 PM (UTC). You get the second aggregation result at 2:08 PM (UTC). + - The offset time zone. + + For example, if you specify `2021-07-23T18:00-08` for `offset` and `1d` for `interval` , AWS IoT SiteWise aggregates data in one of the following ways: + + - If you create the metric before or at 6 PM (PST), you get the first aggregation result at 6 PM (PST) on the day when you create the metric. + - If you create the metric after 6 PM (PST), you get the first aggregation result at 6 PM (PST) the next day. + """ +elif False: + AssetModelTumblingWindowArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelTumblingWindowArgs: def __init__(__self__, *, @@ -1094,6 +1518,41 @@ def offset(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "offset", value) +if not MYPY: + class AssetModelVariableValueArgsDict(TypedDict): + hierarchy_external_id: NotRequired[pulumi.Input[str]] + """ + The External ID of the hierarchy that is trying to be referenced + """ + hierarchy_id: NotRequired[pulumi.Input[str]] + """ + The ID of the hierarchy that is trying to be referenced + """ + hierarchy_logical_id: NotRequired[pulumi.Input[str]] + """ + The `LogicalID` of the hierarchy to query for the `PropertyLogicalID` . + + You use a `hierarchyLogicalID` instead of a model ID because you can have several hierarchies using the same model and therefore the same property. For example, you might have separately grouped assets that come from the same asset model. For more information, see [Defining relationships between asset models (hierarchies)](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html) in the *AWS IoT SiteWise User Guide* . + """ + property_external_id: NotRequired[pulumi.Input[str]] + """ + The External ID of the property that is trying to be referenced + """ + property_id: NotRequired[pulumi.Input[str]] + """ + The ID of the property that is trying to be referenced + """ + property_logical_id: NotRequired[pulumi.Input[str]] + """ + The `LogicalID` of the property that is being referenced. + """ + property_path: NotRequired[pulumi.Input[Sequence[pulumi.Input['AssetModelPropertyPathDefinitionArgsDict']]]] + """ + The path of the property that is trying to be referenced + """ +elif False: + AssetModelVariableValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetModelVariableValueArgs: def __init__(__self__, *, @@ -1217,6 +1676,38 @@ def property_path(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Asse pulumi.set(self, "property_path", value) +if not MYPY: + class AssetPropertyArgsDict(TypedDict): + """ + The asset property's definition, alias, unit, and notification state. + """ + alias: NotRequired[pulumi.Input[str]] + """ + The property alias that identifies the property. + """ + external_id: NotRequired[pulumi.Input[str]] + """ + String-friendly customer provided external ID + """ + id: NotRequired[pulumi.Input[str]] + """ + Customer provided actual UUID for property + """ + logical_id: NotRequired[pulumi.Input[str]] + """ + Customer provided ID for property. + """ + notification_state: NotRequired[pulumi.Input['AssetPropertyNotificationState']] + """ + The MQTT notification state (ENABLED or DISABLED) for this asset property. + """ + unit: NotRequired[pulumi.Input[str]] + """ + The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this parameter, the service uses the value of the assetModelProperty in the asset model. + """ +elif False: + AssetPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetPropertyArgs: def __init__(__self__, *, @@ -1321,6 +1812,22 @@ def unit(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit", value) +if not MYPY: + class GatewayCapabilitySummaryArgsDict(TypedDict): + """ + Contains a summary of a gateway capability configuration. + """ + capability_namespace: pulumi.Input[str] + """ + The namespace of the capability configuration. For example, if you configure OPC-UA sources from the AWS IoT SiteWise console, your OPC-UA capability configuration has the namespace `iotsitewise:opcuacollector:version` , where `version` is a number such as `1` . + """ + capability_configuration: NotRequired[pulumi.Input[str]] + """ + The JSON document that defines the configuration for the gateway capability. For more information, see [Configuring data sources (CLI)](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/configure-sources.html#configure-source-cli) in the *AWS IoT SiteWise User Guide* . + """ +elif False: + GatewayCapabilitySummaryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GatewayCapabilitySummaryArgs: def __init__(__self__, *, @@ -1360,6 +1867,18 @@ def capability_configuration(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "capability_configuration", value) +if not MYPY: + class GatewayGreengrassV2ArgsDict(TypedDict): + """ + Contains the CoreDeviceThingName of AWS IoT Greengrass Group V2 that the gateway runs on. + """ + core_device_thing_name: pulumi.Input[str] + """ + The name of the CoreDevice in GreenGrass V2. + """ +elif False: + GatewayGreengrassV2ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GatewayGreengrassV2Args: def __init__(__self__, *, @@ -1383,6 +1902,18 @@ def core_device_thing_name(self, value: pulumi.Input[str]): pulumi.set(self, "core_device_thing_name", value) +if not MYPY: + class GatewayGreengrassArgsDict(TypedDict): + """ + Contains the ARN of AWS IoT Greengrass Group V1 that the gateway runs on. + """ + group_arn: pulumi.Input[str] + """ + The ARN of the Greengrass group. + """ +elif False: + GatewayGreengrassArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GatewayGreengrassArgs: def __init__(__self__, *, @@ -1406,6 +1937,26 @@ def group_arn(self, value: pulumi.Input[str]): pulumi.set(self, "group_arn", value) +if not MYPY: + class GatewayPlatformArgsDict(TypedDict): + """ + Contains a gateway's platform information. + """ + greengrass: NotRequired[pulumi.Input['GatewayGreengrassArgsDict']] + """ + A gateway that runs on AWS IoT Greengrass V1. + """ + greengrass_v2: NotRequired[pulumi.Input['GatewayGreengrassV2ArgsDict']] + """ + A gateway that runs on AWS IoT Greengrass V2. + """ + siemens_ie: NotRequired[pulumi.Input['GatewaySiemensIeArgsDict']] + """ + A gateway that runs on Siemens Industrial Edge. + """ +elif False: + GatewayPlatformArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GatewayPlatformArgs: def __init__(__self__, *, @@ -1462,6 +2013,18 @@ def siemens_ie(self, value: Optional[pulumi.Input['GatewaySiemensIeArgs']]): pulumi.set(self, "siemens_ie", value) +if not MYPY: + class GatewaySiemensIeArgsDict(TypedDict): + """ + Contains the IotCoreThingName of AWS IoT Thing that the gateway runs on. + """ + iot_core_thing_name: pulumi.Input[str] + """ + The name of the IoT Core Thing. + """ +elif False: + GatewaySiemensIeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GatewaySiemensIeArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/iotsitewise/access_policy.py b/sdk/python/pulumi_aws_native/iotsitewise/access_policy.py index fa6e0e1e4e..350126ff98 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/access_policy.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/access_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/iotsitewise/asset.py b/sdk/python/pulumi_aws_native/iotsitewise/asset.py index c0dbaf72a0..bb6e7fba18 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/asset.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/asset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotsitewise/asset_model.py b/sdk/python/pulumi_aws_native/iotsitewise/asset_model.py index 08c35899ac..9998c90889 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/asset_model.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/asset_model.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotsitewise/dashboard.py b/sdk/python/pulumi_aws_native/iotsitewise/dashboard.py index 1f700353bf..5df74ac1e6 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/dashboard.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/dashboard.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iotsitewise/gateway.py b/sdk/python/pulumi_aws_native/iotsitewise/gateway.py index 871a3beaa8..b560357c71 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/gateway.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotsitewise/get_access_policy.py b/sdk/python/pulumi_aws_native/iotsitewise/get_access_policy.py index 0ec5497321..50be4e4e15 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/get_access_policy.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/get_access_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -109,9 +114,6 @@ def get_access_policy(access_policy_id: Optional[str] = None, access_policy_identity=pulumi.get(__ret__, 'access_policy_identity'), access_policy_permission=pulumi.get(__ret__, 'access_policy_permission'), access_policy_resource=pulumi.get(__ret__, 'access_policy_resource')) - - -@_utilities.lift_output_func(get_access_policy) def get_access_policy_output(access_policy_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPolicyResult]: """ @@ -120,4 +122,13 @@ def get_access_policy_output(access_policy_id: Optional[pulumi.Input[str]] = Non :param str access_policy_id: The ID of the access policy. """ - ... + __args__ = dict() + __args__['accessPolicyId'] = access_policy_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotsitewise:getAccessPolicy', __args__, opts=opts, typ=GetAccessPolicyResult) + return __ret__.apply(lambda __response__: GetAccessPolicyResult( + access_policy_arn=pulumi.get(__response__, 'access_policy_arn'), + access_policy_id=pulumi.get(__response__, 'access_policy_id'), + access_policy_identity=pulumi.get(__response__, 'access_policy_identity'), + access_policy_permission=pulumi.get(__response__, 'access_policy_permission'), + access_policy_resource=pulumi.get(__response__, 'access_policy_resource'))) diff --git a/sdk/python/pulumi_aws_native/iotsitewise/get_asset.py b/sdk/python/pulumi_aws_native/iotsitewise/get_asset.py index 6cdf4a7469..e2f8e5d210 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/get_asset.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/get_asset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -165,9 +170,6 @@ def get_asset(asset_id: Optional[str] = None, asset_name=pulumi.get(__ret__, 'asset_name'), asset_properties=pulumi.get(__ret__, 'asset_properties'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_asset) def get_asset_output(asset_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAssetResult]: """ @@ -176,4 +178,17 @@ def get_asset_output(asset_id: Optional[pulumi.Input[str]] = None, :param str asset_id: The ID of the asset """ - ... + __args__ = dict() + __args__['assetId'] = asset_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotsitewise:getAsset', __args__, opts=opts, typ=GetAssetResult) + return __ret__.apply(lambda __response__: GetAssetResult( + asset_arn=pulumi.get(__response__, 'asset_arn'), + asset_description=pulumi.get(__response__, 'asset_description'), + asset_external_id=pulumi.get(__response__, 'asset_external_id'), + asset_hierarchies=pulumi.get(__response__, 'asset_hierarchies'), + asset_id=pulumi.get(__response__, 'asset_id'), + asset_model_id=pulumi.get(__response__, 'asset_model_id'), + asset_name=pulumi.get(__response__, 'asset_name'), + asset_properties=pulumi.get(__response__, 'asset_properties'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotsitewise/get_asset_model.py b/sdk/python/pulumi_aws_native/iotsitewise/get_asset_model.py index 3b578762bb..0592298761 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/get_asset_model.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/get_asset_model.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -163,9 +168,6 @@ def get_asset_model(asset_model_id: Optional[str] = None, asset_model_name=pulumi.get(__ret__, 'asset_model_name'), asset_model_properties=pulumi.get(__ret__, 'asset_model_properties'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_asset_model) def get_asset_model_output(asset_model_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAssetModelResult]: """ @@ -174,4 +176,17 @@ def get_asset_model_output(asset_model_id: Optional[pulumi.Input[str]] = None, :param str asset_model_id: The ID of the asset model. """ - ... + __args__ = dict() + __args__['assetModelId'] = asset_model_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotsitewise:getAssetModel', __args__, opts=opts, typ=GetAssetModelResult) + return __ret__.apply(lambda __response__: GetAssetModelResult( + asset_model_arn=pulumi.get(__response__, 'asset_model_arn'), + asset_model_composite_models=pulumi.get(__response__, 'asset_model_composite_models'), + asset_model_description=pulumi.get(__response__, 'asset_model_description'), + asset_model_external_id=pulumi.get(__response__, 'asset_model_external_id'), + asset_model_hierarchies=pulumi.get(__response__, 'asset_model_hierarchies'), + asset_model_id=pulumi.get(__response__, 'asset_model_id'), + asset_model_name=pulumi.get(__response__, 'asset_model_name'), + asset_model_properties=pulumi.get(__response__, 'asset_model_properties'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotsitewise/get_dashboard.py b/sdk/python/pulumi_aws_native/iotsitewise/get_dashboard.py index c43c77b43f..0bf76b719a 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/get_dashboard.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/get_dashboard.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_dashboard(dashboard_id: Optional[str] = None, dashboard_id=pulumi.get(__ret__, 'dashboard_id'), dashboard_name=pulumi.get(__ret__, 'dashboard_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_dashboard) def get_dashboard_output(dashboard_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDashboardResult]: """ @@ -133,4 +135,14 @@ def get_dashboard_output(dashboard_id: Optional[pulumi.Input[str]] = None, :param str dashboard_id: The ID of the dashboard. """ - ... + __args__ = dict() + __args__['dashboardId'] = dashboard_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotsitewise:getDashboard', __args__, opts=opts, typ=GetDashboardResult) + return __ret__.apply(lambda __response__: GetDashboardResult( + dashboard_arn=pulumi.get(__response__, 'dashboard_arn'), + dashboard_definition=pulumi.get(__response__, 'dashboard_definition'), + dashboard_description=pulumi.get(__response__, 'dashboard_description'), + dashboard_id=pulumi.get(__response__, 'dashboard_id'), + dashboard_name=pulumi.get(__response__, 'dashboard_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotsitewise/get_gateway.py b/sdk/python/pulumi_aws_native/iotsitewise/get_gateway.py index f67fc6ed66..2364a849e6 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/get_gateway.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/get_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -97,9 +102,6 @@ def get_gateway(gateway_id: Optional[str] = None, gateway_id=pulumi.get(__ret__, 'gateway_id'), gateway_name=pulumi.get(__ret__, 'gateway_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_gateway) def get_gateway_output(gateway_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGatewayResult]: """ @@ -108,4 +110,12 @@ def get_gateway_output(gateway_id: Optional[pulumi.Input[str]] = None, :param str gateway_id: The ID of the gateway device. """ - ... + __args__ = dict() + __args__['gatewayId'] = gateway_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotsitewise:getGateway', __args__, opts=opts, typ=GetGatewayResult) + return __ret__.apply(lambda __response__: GetGatewayResult( + gateway_capability_summaries=pulumi.get(__response__, 'gateway_capability_summaries'), + gateway_id=pulumi.get(__response__, 'gateway_id'), + gateway_name=pulumi.get(__response__, 'gateway_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotsitewise/get_portal.py b/sdk/python/pulumi_aws_native/iotsitewise/get_portal.py index 72221e9613..f1d7118b94 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/get_portal.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/get_portal.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -188,9 +193,6 @@ def get_portal(portal_id: Optional[str] = None, portal_start_url=pulumi.get(__ret__, 'portal_start_url'), role_arn=pulumi.get(__ret__, 'role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_portal) def get_portal_output(portal_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPortalResult]: """ @@ -199,4 +201,19 @@ def get_portal_output(portal_id: Optional[pulumi.Input[str]] = None, :param str portal_id: The ID of the portal. """ - ... + __args__ = dict() + __args__['portalId'] = portal_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotsitewise:getPortal', __args__, opts=opts, typ=GetPortalResult) + return __ret__.apply(lambda __response__: GetPortalResult( + alarms=pulumi.get(__response__, 'alarms'), + notification_sender_email=pulumi.get(__response__, 'notification_sender_email'), + portal_arn=pulumi.get(__response__, 'portal_arn'), + portal_client_id=pulumi.get(__response__, 'portal_client_id'), + portal_contact_email=pulumi.get(__response__, 'portal_contact_email'), + portal_description=pulumi.get(__response__, 'portal_description'), + portal_id=pulumi.get(__response__, 'portal_id'), + portal_name=pulumi.get(__response__, 'portal_name'), + portal_start_url=pulumi.get(__response__, 'portal_start_url'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotsitewise/get_project.py b/sdk/python/pulumi_aws_native/iotsitewise/get_project.py index 33e5f7c8f6..e24e22ba55 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/get_project.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/get_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_project(project_id: Optional[str] = None, project_id=pulumi.get(__ret__, 'project_id'), project_name=pulumi.get(__ret__, 'project_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_project) def get_project_output(project_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]: """ @@ -133,4 +135,14 @@ def get_project_output(project_id: Optional[pulumi.Input[str]] = None, :param str project_id: The ID of the project. """ - ... + __args__ = dict() + __args__['projectId'] = project_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotsitewise:getProject', __args__, opts=opts, typ=GetProjectResult) + return __ret__.apply(lambda __response__: GetProjectResult( + asset_ids=pulumi.get(__response__, 'asset_ids'), + project_arn=pulumi.get(__response__, 'project_arn'), + project_description=pulumi.get(__response__, 'project_description'), + project_id=pulumi.get(__response__, 'project_id'), + project_name=pulumi.get(__response__, 'project_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotsitewise/outputs.py b/sdk/python/pulumi_aws_native/iotsitewise/outputs.py index 5c4f47d277..64c01792b6 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/outputs.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iotsitewise/portal.py b/sdk/python/pulumi_aws_native/iotsitewise/portal.py index 7ec52fe0cb..a58b59f48d 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/portal.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/portal.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotsitewise/project.py b/sdk/python/pulumi_aws_native/iotsitewise/project.py index ddf49e0f81..1547e87d5f 100644 --- a/sdk/python/pulumi_aws_native/iotsitewise/project.py +++ b/sdk/python/pulumi_aws_native/iotsitewise/project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/_inputs.py b/sdk/python/pulumi_aws_native/iottwinmaker/_inputs.py index 0af7638e75..76109be613 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/_inputs.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/_inputs.py @@ -4,36 +4,76 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ComponentTypeCompositeComponentTypeArgs', + 'ComponentTypeCompositeComponentTypeArgsDict', 'ComponentTypeDataConnectorArgs', + 'ComponentTypeDataConnectorArgsDict', 'ComponentTypeDataTypeArgs', + 'ComponentTypeDataTypeArgsDict', 'ComponentTypeDataValueRelationshipValuePropertiesArgs', + 'ComponentTypeDataValueRelationshipValuePropertiesArgsDict', 'ComponentTypeDataValueArgs', + 'ComponentTypeDataValueArgsDict', 'ComponentTypeFunctionArgs', + 'ComponentTypeFunctionArgsDict', 'ComponentTypeLambdaFunctionArgs', + 'ComponentTypeLambdaFunctionArgsDict', 'ComponentTypePropertyDefinitionArgs', + 'ComponentTypePropertyDefinitionArgsDict', 'ComponentTypePropertyGroupArgs', + 'ComponentTypePropertyGroupArgsDict', 'ComponentTypeRelationshipArgs', + 'ComponentTypeRelationshipArgsDict', 'EntityComponentArgs', + 'EntityComponentArgsDict', 'EntityCompositeComponentArgs', + 'EntityCompositeComponentArgsDict', 'EntityDataTypeArgs', + 'EntityDataTypeArgsDict', 'EntityDataValueRelationshipValuePropertiesArgs', + 'EntityDataValueRelationshipValuePropertiesArgsDict', 'EntityDataValueArgs', + 'EntityDataValueArgsDict', 'EntityDefinitionArgs', + 'EntityDefinitionArgsDict', 'EntityPropertyGroupArgs', + 'EntityPropertyGroupArgsDict', 'EntityPropertyArgs', + 'EntityPropertyArgsDict', 'EntityRelationshipArgs', + 'EntityRelationshipArgsDict', 'EntityStatusErrorPropertiesArgs', + 'EntityStatusErrorPropertiesArgsDict', 'EntityStatusArgs', + 'EntityStatusArgsDict', ] +MYPY = False + +if not MYPY: + class ComponentTypeCompositeComponentTypeArgsDict(TypedDict): + """ + An object that sets information about a composite component type. + """ + component_type_id: NotRequired[pulumi.Input[str]] + """ + The id of the composite component type. + """ +elif False: + ComponentTypeCompositeComponentTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentTypeCompositeComponentTypeArgs: def __init__(__self__, *, @@ -58,6 +98,22 @@ def component_type_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "component_type_id", value) +if not MYPY: + class ComponentTypeDataConnectorArgsDict(TypedDict): + """ + The data connector. + """ + is_native: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the data connector is native to IoT TwinMaker. + """ + lambda_: NotRequired[pulumi.Input['ComponentTypeLambdaFunctionArgsDict']] + """ + The Lambda function associated with this data connector. + """ +elif False: + ComponentTypeDataConnectorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentTypeDataConnectorArgs: def __init__(__self__, *, @@ -98,6 +154,34 @@ def lambda_(self, value: Optional[pulumi.Input['ComponentTypeLambdaFunctionArgs' pulumi.set(self, "lambda_", value) +if not MYPY: + class ComponentTypeDataTypeArgsDict(TypedDict): + """ + An object that specifies the data type of a property. + """ + type: pulumi.Input['ComponentTypeDataTypeType'] + """ + The underlying type of the data type. + """ + allowed_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentTypeDataValueArgsDict']]]] + """ + The allowed values for this data type. + """ + nested_type: NotRequired[pulumi.Input['ComponentTypeDataTypeArgsDict']] + """ + The nested type in the data type. + """ + relationship: NotRequired[pulumi.Input['ComponentTypeRelationshipArgsDict']] + """ + A relationship that associates a component with another component. + """ + unit_of_measure: NotRequired[pulumi.Input[str]] + """ + The unit of measure used in this data type. + """ +elif False: + ComponentTypeDataTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentTypeDataTypeArgs: def __init__(__self__, *, @@ -185,6 +269,16 @@ def unit_of_measure(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit_of_measure", value) +if not MYPY: + class ComponentTypeDataValueRelationshipValuePropertiesArgsDict(TypedDict): + """ + A value that relates a component to another component. + """ + target_component_name: NotRequired[pulumi.Input[str]] + target_entity_id: NotRequired[pulumi.Input[str]] +elif False: + ComponentTypeDataValueRelationshipValuePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentTypeDataValueRelationshipValuePropertiesArgs: def __init__(__self__, *, @@ -217,6 +311,50 @@ def target_entity_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_entity_id", value) +if not MYPY: + class ComponentTypeDataValueArgsDict(TypedDict): + """ + An object that specifies a value for a property. + """ + boolean_value: NotRequired[pulumi.Input[bool]] + """ + A Boolean value. + """ + double_value: NotRequired[pulumi.Input[float]] + """ + A double value. + """ + expression: NotRequired[pulumi.Input[str]] + """ + An expression that produces the value. + """ + integer_value: NotRequired[pulumi.Input[int]] + """ + An integer value. + """ + list_value: NotRequired[pulumi.Input[Sequence[pulumi.Input['ComponentTypeDataValueArgsDict']]]] + """ + A list of multiple values. + """ + long_value: NotRequired[pulumi.Input[float]] + """ + A long value. + """ + map_value: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['ComponentTypeDataValueArgsDict']]]] + """ + An object that maps strings to multiple DataValue objects. + """ + relationship_value: NotRequired[pulumi.Input['ComponentTypeDataValueRelationshipValuePropertiesArgsDict']] + """ + A value that relates a component to another component. + """ + string_value: NotRequired[pulumi.Input[str]] + """ + A string value. + """ +elif False: + ComponentTypeDataValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentTypeDataValueArgs: def __init__(__self__, *, @@ -369,6 +507,26 @@ def string_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "string_value", value) +if not MYPY: + class ComponentTypeFunctionArgsDict(TypedDict): + """ + The function of component type. + """ + implemented_by: NotRequired[pulumi.Input['ComponentTypeDataConnectorArgsDict']] + """ + The data connector. + """ + required_properties: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The required properties of the function. + """ + scope: NotRequired[pulumi.Input['ComponentTypeFunctionScope']] + """ + The scope of the function. + """ +elif False: + ComponentTypeFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentTypeFunctionArgs: def __init__(__self__, *, @@ -425,6 +583,12 @@ def scope(self, value: Optional[pulumi.Input['ComponentTypeFunctionScope']]): pulumi.set(self, "scope", value) +if not MYPY: + class ComponentTypeLambdaFunctionArgsDict(TypedDict): + arn: pulumi.Input[str] +elif False: + ComponentTypeLambdaFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentTypeLambdaFunctionArgs: def __init__(__self__, *, @@ -441,6 +605,42 @@ def arn(self, value: pulumi.Input[str]): pulumi.set(self, "arn", value) +if not MYPY: + class ComponentTypePropertyDefinitionArgsDict(TypedDict): + """ + An object that sets information about a property. + """ + configurations: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + An object that specifies information about a property. + """ + data_type: NotRequired[pulumi.Input['ComponentTypeDataTypeArgsDict']] + """ + An object that contains information about the data type. + """ + default_value: NotRequired[pulumi.Input['ComponentTypeDataValueArgsDict']] + """ + An object that contains the default value. + """ + is_external_id: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the property ID comes from an external data store. + """ + is_required_in_entity: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the property is required. + """ + is_stored_externally: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the property is stored externally. + """ + is_time_series: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the property consists of time series data. + """ +elif False: + ComponentTypePropertyDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentTypePropertyDefinitionArgs: def __init__(__self__, *, @@ -561,6 +761,22 @@ def is_time_series(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_time_series", value) +if not MYPY: + class ComponentTypePropertyGroupArgsDict(TypedDict): + """ + An object that sets information about a property group. + """ + group_type: NotRequired[pulumi.Input['ComponentTypePropertyGroupGroupType']] + """ + The type of property group. + """ + property_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of property names in the property group. + """ +elif False: + ComponentTypePropertyGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentTypePropertyGroupArgs: def __init__(__self__, *, @@ -601,6 +817,22 @@ def property_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] pulumi.set(self, "property_names", value) +if not MYPY: + class ComponentTypeRelationshipArgsDict(TypedDict): + """ + The type of the relationship. + """ + relationship_type: NotRequired[pulumi.Input[str]] + """ + The type of the relationship. + """ + target_component_type_id: NotRequired[pulumi.Input[str]] + """ + The ID of the target component type associated with this relationship. + """ +elif False: + ComponentTypeRelationshipArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ComponentTypeRelationshipArgs: def __init__(__self__, *, @@ -641,6 +873,39 @@ def target_component_type_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_component_type_id", value) +if not MYPY: + class EntityComponentArgsDict(TypedDict): + component_name: NotRequired[pulumi.Input[str]] + """ + The name of the component. + """ + component_type_id: NotRequired[pulumi.Input[str]] + """ + The ID of the component type. + """ + defined_in: NotRequired[pulumi.Input[str]] + """ + The name of the property definition set in the component. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the component. + """ + properties: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyArgsDict']]]] + """ + An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object. + """ + property_groups: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyGroupArgsDict']]]] + """ + An object that maps strings to the property groups to set in the component type. Each string in the mapping must be unique to this object. + """ + status: NotRequired[pulumi.Input['EntityStatusArgsDict']] + """ + The current status of the entity. + """ +elif False: + EntityComponentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntityComponentArgs: def __init__(__self__, *, @@ -760,6 +1025,39 @@ def status(self, value: Optional[pulumi.Input['EntityStatusArgs']]): pulumi.set(self, "status", value) +if not MYPY: + class EntityCompositeComponentArgsDict(TypedDict): + component_name: NotRequired[pulumi.Input[str]] + """ + The name of the component. + """ + component_path: NotRequired[pulumi.Input[str]] + """ + The path of the component. + """ + component_type_id: NotRequired[pulumi.Input[str]] + """ + The ID of the component type. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the component. + """ + properties: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyArgsDict']]]] + """ + An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object. + """ + property_groups: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['EntityPropertyGroupArgsDict']]]] + """ + An object that maps strings to the property groups to set in the component type. Each string in the mapping must be unique to this object. + """ + status: NotRequired[pulumi.Input['EntityStatusArgsDict']] + """ + The current status of the component. + """ +elif False: + EntityCompositeComponentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntityCompositeComponentArgs: def __init__(__self__, *, @@ -879,6 +1177,34 @@ def status(self, value: Optional[pulumi.Input['EntityStatusArgs']]): pulumi.set(self, "status", value) +if not MYPY: + class EntityDataTypeArgsDict(TypedDict): + """ + An object that specifies the data type of a property. + """ + allowed_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['EntityDataValueArgsDict']]]] + """ + The allowed values for this data type. + """ + nested_type: NotRequired[pulumi.Input['EntityDataTypeArgsDict']] + """ + The nested type in the data type. + """ + relationship: NotRequired[pulumi.Input['EntityRelationshipArgsDict']] + """ + A relationship that associates a component with another component. + """ + type: NotRequired[pulumi.Input['EntityDataTypeType']] + """ + The underlying type of the data type. + """ + unit_of_measure: NotRequired[pulumi.Input[str]] + """ + The unit of measure used in this data type. + """ +elif False: + EntityDataTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntityDataTypeArgs: def __init__(__self__, *, @@ -967,6 +1293,16 @@ def unit_of_measure(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unit_of_measure", value) +if not MYPY: + class EntityDataValueRelationshipValuePropertiesArgsDict(TypedDict): + """ + A value that relates a component to another component. + """ + target_component_name: NotRequired[pulumi.Input[str]] + target_entity_id: NotRequired[pulumi.Input[str]] +elif False: + EntityDataValueRelationshipValuePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntityDataValueRelationshipValuePropertiesArgs: def __init__(__self__, *, @@ -999,6 +1335,50 @@ def target_entity_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_entity_id", value) +if not MYPY: + class EntityDataValueArgsDict(TypedDict): + """ + An object that specifies a value for a property. + """ + boolean_value: NotRequired[pulumi.Input[bool]] + """ + A Boolean value. + """ + double_value: NotRequired[pulumi.Input[float]] + """ + A double value. + """ + expression: NotRequired[pulumi.Input[str]] + """ + An expression that produces the value. + """ + integer_value: NotRequired[pulumi.Input[int]] + """ + An integer value. + """ + list_value: NotRequired[pulumi.Input[Sequence[pulumi.Input['EntityDataValueArgsDict']]]] + """ + A list of multiple values. + """ + long_value: NotRequired[pulumi.Input[float]] + """ + A long value. + """ + map_value: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['EntityDataValueArgsDict']]]] + """ + An object that maps strings to multiple DataValue objects. + """ + relationship_value: NotRequired[pulumi.Input['EntityDataValueRelationshipValuePropertiesArgsDict']] + """ + A value that relates a component to another component. + """ + string_value: NotRequired[pulumi.Input[str]] + """ + A string value. + """ +elif False: + EntityDataValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntityDataValueArgs: def __init__(__self__, *, @@ -1151,6 +1531,54 @@ def string_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "string_value", value) +if not MYPY: + class EntityDefinitionArgsDict(TypedDict): + """ + An object that specifies information about a property definition. + """ + configuration: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + An object that specifies information about a property configuration. + """ + data_type: NotRequired[pulumi.Input['EntityDataTypeArgsDict']] + """ + An object that contains information about the data type. + """ + default_value: NotRequired[pulumi.Input['EntityDataValueArgsDict']] + """ + An object that contains the default value. + """ + is_external_id: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the property ID comes from an external data store. + """ + is_final: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the property definition can be updated. + """ + is_imported: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the property definition is imported from an external data store. + """ + is_inherited: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the property definition is inherited from a parent entity. + """ + is_required_in_entity: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the property is required. + """ + is_stored_externally: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the property is stored externally. + """ + is_time_series: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that specifies whether the property consists of time series data. + """ +elif False: + EntityDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntityDefinitionArgs: def __init__(__self__, *, @@ -1319,6 +1747,22 @@ def is_time_series(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_time_series", value) +if not MYPY: + class EntityPropertyGroupArgsDict(TypedDict): + """ + An object that specifies information about a property group. + """ + group_type: NotRequired[pulumi.Input['EntityPropertyGroupGroupType']] + """ + The type of property group. + """ + property_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of property names in the property group. + """ +elif False: + EntityPropertyGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntityPropertyGroupArgs: def __init__(__self__, *, @@ -1359,6 +1803,22 @@ def property_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] pulumi.set(self, "property_names", value) +if not MYPY: + class EntityPropertyArgsDict(TypedDict): + """ + An object that specifies information about a property. + """ + definition: NotRequired[pulumi.Input['EntityDefinitionArgsDict']] + """ + The definition of the property. + """ + value: NotRequired[pulumi.Input['EntityDataValueArgsDict']] + """ + The value of the property. + """ +elif False: + EntityPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntityPropertyArgs: def __init__(__self__, *, @@ -1399,6 +1859,22 @@ def value(self, value: Optional[pulumi.Input['EntityDataValueArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class EntityRelationshipArgsDict(TypedDict): + """ + The type of the relationship. + """ + relationship_type: NotRequired[pulumi.Input[str]] + """ + The type of the relationship. + """ + target_component_type_id: NotRequired[pulumi.Input[str]] + """ + The ID of the target component type associated with this relationship. + """ +elif False: + EntityRelationshipArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntityRelationshipArgs: def __init__(__self__, *, @@ -1439,6 +1915,16 @@ def target_component_type_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_component_type_id", value) +if not MYPY: + class EntityStatusErrorPropertiesArgsDict(TypedDict): + """ + Error object with Message and Code. + """ + code: NotRequired[pulumi.Input['EntityStatusErrorPropertiesCode']] + message: NotRequired[pulumi.Input[str]] +elif False: + EntityStatusErrorPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntityStatusErrorPropertiesArgs: def __init__(__self__, *, @@ -1471,6 +1957,13 @@ def message(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "message", value) +if not MYPY: + class EntityStatusArgsDict(TypedDict): + error: NotRequired[pulumi.Input[Union[Any, 'EntityStatusErrorPropertiesArgsDict']]] + state: NotRequired[pulumi.Input['EntityStatusState']] +elif False: + EntityStatusArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EntityStatusArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/component_type.py b/sdk/python/pulumi_aws_native/iottwinmaker/component_type.py index 65191b98dc..88850d847d 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/component_type.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/component_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/entity.py b/sdk/python/pulumi_aws_native/iottwinmaker/entity.py index 81667ce346..29e1a00e83 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/entity.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/entity.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/get_component_type.py b/sdk/python/pulumi_aws_native/iottwinmaker/get_component_type.py index 8793f98206..d683696128 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/get_component_type.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/get_component_type.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -230,9 +235,6 @@ def get_component_type(component_type_id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), update_date_time=pulumi.get(__ret__, 'update_date_time')) - - -@_utilities.lift_output_func(get_component_type) def get_component_type_output(component_type_id: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetComponentTypeResult]: @@ -243,4 +245,23 @@ def get_component_type_output(component_type_id: Optional[pulumi.Input[str]] = N :param str component_type_id: The ID of the component type. :param str workspace_id: The ID of the workspace that contains the component type. """ - ... + __args__ = dict() + __args__['componentTypeId'] = component_type_id + __args__['workspaceId'] = workspace_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iottwinmaker:getComponentType', __args__, opts=opts, typ=GetComponentTypeResult) + return __ret__.apply(lambda __response__: GetComponentTypeResult( + arn=pulumi.get(__response__, 'arn'), + composite_component_types=pulumi.get(__response__, 'composite_component_types'), + creation_date_time=pulumi.get(__response__, 'creation_date_time'), + description=pulumi.get(__response__, 'description'), + extends_from=pulumi.get(__response__, 'extends_from'), + functions=pulumi.get(__response__, 'functions'), + is_abstract=pulumi.get(__response__, 'is_abstract'), + is_schema_initialized=pulumi.get(__response__, 'is_schema_initialized'), + is_singleton=pulumi.get(__response__, 'is_singleton'), + property_definitions=pulumi.get(__response__, 'property_definitions'), + property_groups=pulumi.get(__response__, 'property_groups'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + update_date_time=pulumi.get(__response__, 'update_date_time'))) diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/get_entity.py b/sdk/python/pulumi_aws_native/iottwinmaker/get_entity.py index 4d5abdedcc..3d0a89f1f9 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/get_entity.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/get_entity.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -191,9 +196,6 @@ def get_entity(entity_id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), update_date_time=pulumi.get(__ret__, 'update_date_time')) - - -@_utilities.lift_output_func(get_entity) def get_entity_output(entity_id: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEntityResult]: @@ -204,4 +206,20 @@ def get_entity_output(entity_id: Optional[pulumi.Input[str]] = None, :param str entity_id: The ID of the entity. :param str workspace_id: The ID of the workspace. """ - ... + __args__ = dict() + __args__['entityId'] = entity_id + __args__['workspaceId'] = workspace_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iottwinmaker:getEntity', __args__, opts=opts, typ=GetEntityResult) + return __ret__.apply(lambda __response__: GetEntityResult( + arn=pulumi.get(__response__, 'arn'), + components=pulumi.get(__response__, 'components'), + composite_components=pulumi.get(__response__, 'composite_components'), + creation_date_time=pulumi.get(__response__, 'creation_date_time'), + description=pulumi.get(__response__, 'description'), + entity_name=pulumi.get(__response__, 'entity_name'), + has_child_entities=pulumi.get(__response__, 'has_child_entities'), + parent_entity_id=pulumi.get(__response__, 'parent_entity_id'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + update_date_time=pulumi.get(__response__, 'update_date_time'))) diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/get_scene.py b/sdk/python/pulumi_aws_native/iottwinmaker/get_scene.py index 2cb29ada3b..e3c8cedb36 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/get_scene.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/get_scene.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -163,9 +168,6 @@ def get_scene(scene_id: Optional[str] = None, scene_metadata=pulumi.get(__ret__, 'scene_metadata'), tags=pulumi.get(__ret__, 'tags'), update_date_time=pulumi.get(__ret__, 'update_date_time')) - - -@_utilities.lift_output_func(get_scene) def get_scene_output(scene_id: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSceneResult]: @@ -176,4 +178,18 @@ def get_scene_output(scene_id: Optional[pulumi.Input[str]] = None, :param str scene_id: The ID of the scene. :param str workspace_id: The ID of the scene. """ - ... + __args__ = dict() + __args__['sceneId'] = scene_id + __args__['workspaceId'] = workspace_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iottwinmaker:getScene', __args__, opts=opts, typ=GetSceneResult) + return __ret__.apply(lambda __response__: GetSceneResult( + arn=pulumi.get(__response__, 'arn'), + capabilities=pulumi.get(__response__, 'capabilities'), + content_location=pulumi.get(__response__, 'content_location'), + creation_date_time=pulumi.get(__response__, 'creation_date_time'), + description=pulumi.get(__response__, 'description'), + generated_scene_metadata=pulumi.get(__response__, 'generated_scene_metadata'), + scene_metadata=pulumi.get(__response__, 'scene_metadata'), + tags=pulumi.get(__response__, 'tags'), + update_date_time=pulumi.get(__response__, 'update_date_time'))) diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/get_sync_job.py b/sdk/python/pulumi_aws_native/iottwinmaker/get_sync_job.py index c2db2cb3f6..8266f2575c 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/get_sync_job.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/get_sync_job.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -98,9 +103,6 @@ def get_sync_job(sync_source: Optional[str] = None, creation_date_time=pulumi.get(__ret__, 'creation_date_time'), state=pulumi.get(__ret__, 'state'), update_date_time=pulumi.get(__ret__, 'update_date_time')) - - -@_utilities.lift_output_func(get_sync_job) def get_sync_job_output(sync_source: Optional[pulumi.Input[str]] = None, workspace_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSyncJobResult]: @@ -111,4 +113,13 @@ def get_sync_job_output(sync_source: Optional[pulumi.Input[str]] = None, :param str sync_source: The source of the SyncJob. :param str workspace_id: The ID of the workspace. """ - ... + __args__ = dict() + __args__['syncSource'] = sync_source + __args__['workspaceId'] = workspace_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iottwinmaker:getSyncJob', __args__, opts=opts, typ=GetSyncJobResult) + return __ret__.apply(lambda __response__: GetSyncJobResult( + arn=pulumi.get(__response__, 'arn'), + creation_date_time=pulumi.get(__response__, 'creation_date_time'), + state=pulumi.get(__response__, 'state'), + update_date_time=pulumi.get(__response__, 'update_date_time'))) diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/get_workspace.py b/sdk/python/pulumi_aws_native/iottwinmaker/get_workspace.py index 561abf2dcf..53846bf85c 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/get_workspace.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/get_workspace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -134,9 +139,6 @@ def get_workspace(workspace_id: Optional[str] = None, s3_location=pulumi.get(__ret__, 's3_location'), tags=pulumi.get(__ret__, 'tags'), update_date_time=pulumi.get(__ret__, 'update_date_time')) - - -@_utilities.lift_output_func(get_workspace) def get_workspace_output(workspace_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceResult]: """ @@ -145,4 +147,15 @@ def get_workspace_output(workspace_id: Optional[pulumi.Input[str]] = None, :param str workspace_id: The ID of the workspace. """ - ... + __args__ = dict() + __args__['workspaceId'] = workspace_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iottwinmaker:getWorkspace', __args__, opts=opts, typ=GetWorkspaceResult) + return __ret__.apply(lambda __response__: GetWorkspaceResult( + arn=pulumi.get(__response__, 'arn'), + creation_date_time=pulumi.get(__response__, 'creation_date_time'), + description=pulumi.get(__response__, 'description'), + role=pulumi.get(__response__, 'role'), + s3_location=pulumi.get(__response__, 's3_location'), + tags=pulumi.get(__response__, 'tags'), + update_date_time=pulumi.get(__response__, 'update_date_time'))) diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/outputs.py b/sdk/python/pulumi_aws_native/iottwinmaker/outputs.py index 95aa1e49d5..c44f215628 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/outputs.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/scene.py b/sdk/python/pulumi_aws_native/iottwinmaker/scene.py index 4f5f022e3d..7491993653 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/scene.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/scene.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SceneArgs', 'Scene'] diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/sync_job.py b/sdk/python/pulumi_aws_native/iottwinmaker/sync_job.py index 25cfc861a9..4fc2eaf651 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/sync_job.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/sync_job.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SyncJobArgs', 'SyncJob'] diff --git a/sdk/python/pulumi_aws_native/iottwinmaker/workspace.py b/sdk/python/pulumi_aws_native/iottwinmaker/workspace.py index f2f1aec4bc..28b6d27555 100644 --- a/sdk/python/pulumi_aws_native/iottwinmaker/workspace.py +++ b/sdk/python/pulumi_aws_native/iottwinmaker/workspace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['WorkspaceArgs', 'Workspace'] diff --git a/sdk/python/pulumi_aws_native/iotwireless/_inputs.py b/sdk/python/pulumi_aws_native/iotwireless/_inputs.py index 6fccf95851..dfacebff21 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/_inputs.py +++ b/sdk/python/pulumi_aws_native/iotwireless/_inputs.py @@ -4,32 +4,137 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DeviceProfileLoRaWanDeviceProfileArgs', + 'DeviceProfileLoRaWanDeviceProfileArgsDict', 'FuotaTaskLoRaWanArgs', + 'FuotaTaskLoRaWanArgsDict', 'MulticastGroupLoRaWanArgs', + 'MulticastGroupLoRaWanArgsDict', 'ServiceProfileLoRaWanServiceProfileArgs', + 'ServiceProfileLoRaWanServiceProfileArgsDict', 'TaskDefinitionLoRaWanGatewayVersionArgs', + 'TaskDefinitionLoRaWanGatewayVersionArgsDict', 'TaskDefinitionLoRaWanUpdateGatewayTaskCreateArgs', + 'TaskDefinitionLoRaWanUpdateGatewayTaskCreateArgsDict', 'TaskDefinitionLoRaWanUpdateGatewayTaskEntryArgs', + 'TaskDefinitionLoRaWanUpdateGatewayTaskEntryArgsDict', 'TaskDefinitionUpdateWirelessGatewayTaskCreateArgs', + 'TaskDefinitionUpdateWirelessGatewayTaskCreateArgsDict', 'TraceContentPropertiesArgs', + 'TraceContentPropertiesArgsDict', 'WirelessDeviceAbpV10xArgs', + 'WirelessDeviceAbpV10xArgsDict', 'WirelessDeviceAbpV11Args', + 'WirelessDeviceAbpV11ArgsDict', 'WirelessDeviceLoRaWanDeviceArgs', + 'WirelessDeviceLoRaWanDeviceArgsDict', 'WirelessDeviceOtaaV10xArgs', + 'WirelessDeviceOtaaV10xArgsDict', 'WirelessDeviceOtaaV11Args', + 'WirelessDeviceOtaaV11ArgsDict', 'WirelessDeviceSessionKeysAbpV10xArgs', + 'WirelessDeviceSessionKeysAbpV10xArgsDict', 'WirelessDeviceSessionKeysAbpV11Args', + 'WirelessDeviceSessionKeysAbpV11ArgsDict', 'WirelessGatewayLoRaWanGatewayArgs', + 'WirelessGatewayLoRaWanGatewayArgsDict', ] +MYPY = False + +if not MYPY: + class DeviceProfileLoRaWanDeviceProfileArgsDict(TypedDict): + class_b_timeout: NotRequired[pulumi.Input[int]] + """ + The ClassBTimeout value. + """ + class_c_timeout: NotRequired[pulumi.Input[int]] + """ + The ClassCTimeout value. + """ + factory_preset_freqs_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + """ + The list of values that make up the FactoryPresetFreqs value. Valid range of values include a minimum value of 1000000 and a maximum value of 16700000. + """ + mac_version: NotRequired[pulumi.Input[str]] + """ + The MAC version (such as OTAA 1.1 or OTAA 1.0.3) to use with this device profile. + """ + max_duty_cycle: NotRequired[pulumi.Input[int]] + """ + The MaxDutyCycle value. + """ + max_eirp: NotRequired[pulumi.Input[int]] + """ + The MaxEIRP value. + """ + ping_slot_dr: NotRequired[pulumi.Input[int]] + """ + The PingSlotDR value. + """ + ping_slot_freq: NotRequired[pulumi.Input[int]] + """ + The PingSlotFreq value. + """ + ping_slot_period: NotRequired[pulumi.Input[int]] + """ + The PingSlotPeriod value. + """ + reg_params_revision: NotRequired[pulumi.Input[str]] + """ + The version of regional parameters. + """ + rf_region: NotRequired[pulumi.Input[str]] + """ + The frequency band (RFRegion) value. + """ + rx_data_rate2: NotRequired[pulumi.Input[int]] + """ + The RXDataRate2 value. + """ + rx_delay1: NotRequired[pulumi.Input[int]] + """ + The RXDelay1 value. + """ + rx_dr_offset1: NotRequired[pulumi.Input[int]] + """ + The RXDROffset1 value. + """ + rx_freq2: NotRequired[pulumi.Input[int]] + """ + The RXFreq2 value. + """ + supports32_bit_f_cnt: NotRequired[pulumi.Input[bool]] + """ + The Supports32BitFCnt value. + """ + supports_class_b: NotRequired[pulumi.Input[bool]] + """ + The SupportsClassB value. + """ + supports_class_c: NotRequired[pulumi.Input[bool]] + """ + The SupportsClassC value. + """ + supports_join: NotRequired[pulumi.Input[bool]] + """ + The SupportsJoin value. + """ +elif False: + DeviceProfileLoRaWanDeviceProfileArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceProfileLoRaWanDeviceProfileArgs: def __init__(__self__, *, @@ -341,6 +446,19 @@ def supports_join(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "supports_join", value) +if not MYPY: + class FuotaTaskLoRaWanArgsDict(TypedDict): + rf_region: pulumi.Input[str] + """ + FUOTA task LoRaWAN RF region + """ + start_time: NotRequired[pulumi.Input[str]] + """ + FUOTA task LoRaWAN start time + """ +elif False: + FuotaTaskLoRaWanArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FuotaTaskLoRaWanArgs: def __init__(__self__, *, @@ -379,6 +497,27 @@ def start_time(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start_time", value) +if not MYPY: + class MulticastGroupLoRaWanArgsDict(TypedDict): + dl_class: pulumi.Input[str] + """ + Multicast group LoRaWAN DL Class + """ + rf_region: pulumi.Input[str] + """ + Multicast group LoRaWAN RF region + """ + number_of_devices_in_group: NotRequired[pulumi.Input[int]] + """ + Multicast group number of devices in group. Returned after successful read. + """ + number_of_devices_requested: NotRequired[pulumi.Input[int]] + """ + Multicast group number of devices requested. Returned after successful read. + """ +elif False: + MulticastGroupLoRaWanArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MulticastGroupLoRaWanArgs: def __init__(__self__, *, @@ -448,6 +587,121 @@ def number_of_devices_requested(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "number_of_devices_requested", value) +if not MYPY: + class ServiceProfileLoRaWanServiceProfileArgsDict(TypedDict): + add_gw_metadata: NotRequired[pulumi.Input[bool]] + """ + The AddGWMetaData value. + """ + channel_mask: NotRequired[pulumi.Input[str]] + """ + The ChannelMask value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + dev_status_req_freq: NotRequired[pulumi.Input[int]] + """ + The DevStatusReqFreq value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + dl_bucket_size: NotRequired[pulumi.Input[int]] + """ + The DLBucketSize value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + dl_rate: NotRequired[pulumi.Input[int]] + """ + The DLRate value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + dl_rate_policy: NotRequired[pulumi.Input[str]] + """ + The DLRatePolicy value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + dr_max: NotRequired[pulumi.Input[int]] + """ + The DRMax value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + dr_min: NotRequired[pulumi.Input[int]] + """ + The DRMin value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + hr_allowed: NotRequired[pulumi.Input[bool]] + """ + The HRAllowed value that describes whether handover roaming is allowed. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + min_gw_diversity: NotRequired[pulumi.Input[int]] + """ + The MinGwDiversity value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + nwk_geo_loc: NotRequired[pulumi.Input[bool]] + """ + The NwkGeoLoc value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + pr_allowed: NotRequired[pulumi.Input[bool]] + """ + The PRAllowed value that describes whether passive roaming is allowed. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + ra_allowed: NotRequired[pulumi.Input[bool]] + """ + The RAAllowed value that describes whether roaming activation is allowed. + """ + report_dev_status_battery: NotRequired[pulumi.Input[bool]] + """ + The ReportDevStatusBattery value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + report_dev_status_margin: NotRequired[pulumi.Input[bool]] + """ + The ReportDevStatusMargin value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + target_per: NotRequired[pulumi.Input[int]] + """ + The TargetPer value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + ul_bucket_size: NotRequired[pulumi.Input[int]] + """ + The UlBucketSize value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + ul_rate: NotRequired[pulumi.Input[int]] + """ + The ULRate value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ + ul_rate_policy: NotRequired[pulumi.Input[str]] + """ + The ULRatePolicy value. + + This property is `ReadOnly` and can't be inputted for create. It's returned with `Fn::GetAtt` + """ +elif False: + ServiceProfileLoRaWanServiceProfileArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceProfileLoRaWanServiceProfileArgs: def __init__(__self__, *, @@ -827,6 +1081,23 @@ def ul_rate_policy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ul_rate_policy", value) +if not MYPY: + class TaskDefinitionLoRaWanGatewayVersionArgsDict(TypedDict): + model: NotRequired[pulumi.Input[str]] + """ + The model number of the wireless gateway. + """ + package_version: NotRequired[pulumi.Input[str]] + """ + The version of the wireless gateway firmware. + """ + station: NotRequired[pulumi.Input[str]] + """ + The basic station version of the wireless gateway. + """ +elif False: + TaskDefinitionLoRaWanGatewayVersionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionLoRaWanGatewayVersionArgs: def __init__(__self__, *, @@ -882,6 +1153,27 @@ def station(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "station", value) +if not MYPY: + class TaskDefinitionLoRaWanUpdateGatewayTaskCreateArgsDict(TypedDict): + current_version: NotRequired[pulumi.Input['TaskDefinitionLoRaWanGatewayVersionArgsDict']] + """ + The version of the gateways that should receive the update. + """ + sig_key_crc: NotRequired[pulumi.Input[int]] + """ + The CRC of the signature private key to check. + """ + update_signature: NotRequired[pulumi.Input[str]] + """ + The signature used to verify the update firmware. + """ + update_version: NotRequired[pulumi.Input['TaskDefinitionLoRaWanGatewayVersionArgsDict']] + """ + The firmware version to update the gateway to. + """ +elif False: + TaskDefinitionLoRaWanUpdateGatewayTaskCreateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionLoRaWanUpdateGatewayTaskCreateArgs: def __init__(__self__, *, @@ -953,6 +1245,19 @@ def update_version(self, value: Optional[pulumi.Input['TaskDefinitionLoRaWanGate pulumi.set(self, "update_version", value) +if not MYPY: + class TaskDefinitionLoRaWanUpdateGatewayTaskEntryArgsDict(TypedDict): + current_version: NotRequired[pulumi.Input['TaskDefinitionLoRaWanGatewayVersionArgsDict']] + """ + The version of the gateways that should receive the update. + """ + update_version: NotRequired[pulumi.Input['TaskDefinitionLoRaWanGatewayVersionArgsDict']] + """ + The firmware version to update the gateway to. + """ +elif False: + TaskDefinitionLoRaWanUpdateGatewayTaskEntryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionLoRaWanUpdateGatewayTaskEntryArgs: def __init__(__self__, *, @@ -992,6 +1297,23 @@ def update_version(self, value: Optional[pulumi.Input['TaskDefinitionLoRaWanGate pulumi.set(self, "update_version", value) +if not MYPY: + class TaskDefinitionUpdateWirelessGatewayTaskCreateArgsDict(TypedDict): + lo_ra_wan: NotRequired[pulumi.Input['TaskDefinitionLoRaWanUpdateGatewayTaskCreateArgsDict']] + """ + The properties that relate to the LoRaWAN wireless gateway. + """ + update_data_role: NotRequired[pulumi.Input[str]] + """ + The IAM role used to read data from the S3 bucket. + """ + update_data_source: NotRequired[pulumi.Input[str]] + """ + The link to the S3 bucket. + """ +elif False: + TaskDefinitionUpdateWirelessGatewayTaskCreateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TaskDefinitionUpdateWirelessGatewayTaskCreateArgs: def __init__(__self__, *, @@ -1047,6 +1369,22 @@ def update_data_source(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "update_data_source", value) +if not MYPY: + class TraceContentPropertiesArgsDict(TypedDict): + """ + Trace content for your wireless gateway and wireless device resources + """ + log_level: NotRequired[pulumi.Input['NetworkAnalyzerConfigurationLogLevel']] + """ + The log level for a log message. The log levels can be disabled, or set to `ERROR` to display less verbose logs containing only error information, or to `INFO` for more detailed logs + """ + wireless_device_frame_info: NotRequired[pulumi.Input['NetworkAnalyzerConfigurationWirelessDeviceFrameInfo']] + """ + `FrameInfo` of your wireless device resources for the trace content. Use FrameInfo to debug the communication between your LoRaWAN end devices and the network server. + """ +elif False: + TraceContentPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TraceContentPropertiesArgs: def __init__(__self__, *, @@ -1087,6 +1425,19 @@ def wireless_device_frame_info(self, value: Optional[pulumi.Input['NetworkAnalyz pulumi.set(self, "wireless_device_frame_info", value) +if not MYPY: + class WirelessDeviceAbpV10xArgsDict(TypedDict): + dev_addr: pulumi.Input[str] + """ + The DevAddr value. + """ + session_keys: pulumi.Input['WirelessDeviceSessionKeysAbpV10xArgsDict'] + """ + Session keys for ABP v1.0.x. + """ +elif False: + WirelessDeviceAbpV10xArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WirelessDeviceAbpV10xArgs: def __init__(__self__, *, @@ -1124,6 +1475,19 @@ def session_keys(self, value: pulumi.Input['WirelessDeviceSessionKeysAbpV10xArgs pulumi.set(self, "session_keys", value) +if not MYPY: + class WirelessDeviceAbpV11ArgsDict(TypedDict): + dev_addr: pulumi.Input[str] + """ + The DevAddr value. + """ + session_keys: pulumi.Input['WirelessDeviceSessionKeysAbpV11ArgsDict'] + """ + Session keys for ABP v1.1. + """ +elif False: + WirelessDeviceAbpV11ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WirelessDeviceAbpV11Args: def __init__(__self__, *, @@ -1161,6 +1525,39 @@ def session_keys(self, value: pulumi.Input['WirelessDeviceSessionKeysAbpV11Args' pulumi.set(self, "session_keys", value) +if not MYPY: + class WirelessDeviceLoRaWanDeviceArgsDict(TypedDict): + abp_v10x: NotRequired[pulumi.Input['WirelessDeviceAbpV10xArgsDict']] + """ + ABP device object for LoRaWAN specification v1.0.x. + """ + abp_v11: NotRequired[pulumi.Input['WirelessDeviceAbpV11ArgsDict']] + """ + ABP device object for create APIs for v1.1. + """ + dev_eui: NotRequired[pulumi.Input[str]] + """ + The DevEUI value. + """ + device_profile_id: NotRequired[pulumi.Input[str]] + """ + The ID of the device profile for the new wireless device. + """ + otaa_v10x: NotRequired[pulumi.Input['WirelessDeviceOtaaV10xArgsDict']] + """ + OTAA device object for create APIs for v1.0.x + """ + otaa_v11: NotRequired[pulumi.Input['WirelessDeviceOtaaV11ArgsDict']] + """ + OTAA device object for v1.1 for create APIs. + """ + service_profile_id: NotRequired[pulumi.Input[str]] + """ + The ID of the service profile. + """ +elif False: + WirelessDeviceLoRaWanDeviceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WirelessDeviceLoRaWanDeviceArgs: def __init__(__self__, *, @@ -1280,6 +1677,19 @@ def service_profile_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "service_profile_id", value) +if not MYPY: + class WirelessDeviceOtaaV10xArgsDict(TypedDict): + app_eui: pulumi.Input[str] + """ + The AppEUI value. You specify this value when using LoRaWAN versions v1.0.2 or v1.0.3. + """ + app_key: pulumi.Input[str] + """ + The AppKey value. + """ +elif False: + WirelessDeviceOtaaV10xArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WirelessDeviceOtaaV10xArgs: def __init__(__self__, *, @@ -1317,6 +1727,23 @@ def app_key(self, value: pulumi.Input[str]): pulumi.set(self, "app_key", value) +if not MYPY: + class WirelessDeviceOtaaV11ArgsDict(TypedDict): + app_key: pulumi.Input[str] + """ + The AppKey is a secret key, which you should handle in a similar way as you would an application password. You can protect the AppKey value by storing it in the AWS Secrets Manager and use the [secretsmanager](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html#dynamic-references-secretsmanager) to reference this value. + """ + join_eui: pulumi.Input[str] + """ + The JoinEUI value. + """ + nwk_key: pulumi.Input[str] + """ + The NwkKey is a secret key, which you should handle in a similar way as you would an application password. You can protect the NwkKey value by storing it in the AWS Secrets Manager and use the [secretsmanager](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html#dynamic-references-secretsmanager) to reference this value. + """ +elif False: + WirelessDeviceOtaaV11ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WirelessDeviceOtaaV11Args: def __init__(__self__, *, @@ -1369,6 +1796,19 @@ def nwk_key(self, value: pulumi.Input[str]): pulumi.set(self, "nwk_key", value) +if not MYPY: + class WirelessDeviceSessionKeysAbpV10xArgsDict(TypedDict): + app_s_key: pulumi.Input[str] + """ + The AppSKey value. + """ + nwk_s_key: pulumi.Input[str] + """ + The NwkKey value. + """ +elif False: + WirelessDeviceSessionKeysAbpV10xArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WirelessDeviceSessionKeysAbpV10xArgs: def __init__(__self__, *, @@ -1406,6 +1846,27 @@ def nwk_s_key(self, value: pulumi.Input[str]): pulumi.set(self, "nwk_s_key", value) +if not MYPY: + class WirelessDeviceSessionKeysAbpV11ArgsDict(TypedDict): + app_s_key: pulumi.Input[str] + """ + The AppSKey is a secret key, which you should handle in a similar way as you would an application password. You can protect the AppSKey value by storing it in the AWS Secrets Manager and use the [secretsmanager](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html#dynamic-references-secretsmanager) to reference this value. + """ + f_nwk_s_int_key: pulumi.Input[str] + """ + The FNwkSIntKey is a secret key, which you should handle in a similar way as you would an application password. You can protect the FNwkSIntKey value by storing it in the AWS Secrets Manager and use the [secretsmanager](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html#dynamic-references-secretsmanager) to reference this value. + """ + nwk_s_enc_key: pulumi.Input[str] + """ + The NwkSEncKey is a secret key, which you should handle in a similar way as you would an application password. You can protect the NwkSEncKey value by storing it in the AWS Secrets Manager and use the [secretsmanager](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html#dynamic-references-secretsmanager) to reference this value. + """ + s_nwk_s_int_key: pulumi.Input[str] + """ + The SNwkSIntKey is a secret key, which you should handle in a similar way as you would an application password. You can protect the SNwkSIntKey value by storing it in the AWS Secrets Manager and use the [secretsmanager](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html#dynamic-references-secretsmanager) to reference this value. + """ +elif False: + WirelessDeviceSessionKeysAbpV11ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WirelessDeviceSessionKeysAbpV11Args: def __init__(__self__, *, @@ -1473,6 +1934,19 @@ def s_nwk_s_int_key(self, value: pulumi.Input[str]): pulumi.set(self, "s_nwk_s_int_key", value) +if not MYPY: + class WirelessGatewayLoRaWanGatewayArgsDict(TypedDict): + gateway_eui: pulumi.Input[str] + """ + The gateway's EUI value. + """ + rf_region: pulumi.Input[str] + """ + The frequency band (RFRegion) value. + """ +elif False: + WirelessGatewayLoRaWanGatewayArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WirelessGatewayLoRaWanGatewayArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/iotwireless/destination.py b/sdk/python/pulumi_aws_native/iotwireless/destination.py index 157b0d925e..0498682b15 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/destination.py +++ b/sdk/python/pulumi_aws_native/iotwireless/destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/iotwireless/device_profile.py b/sdk/python/pulumi_aws_native/iotwireless/device_profile.py index d49b8a50d2..91776eb694 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/device_profile.py +++ b/sdk/python/pulumi_aws_native/iotwireless/device_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotwireless/fuota_task.py b/sdk/python/pulumi_aws_native/iotwireless/fuota_task.py index bbc4192f48..66a658f322 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/fuota_task.py +++ b/sdk/python/pulumi_aws_native/iotwireless/fuota_task.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotwireless/get_destination.py b/sdk/python/pulumi_aws_native/iotwireless/get_destination.py index 410c5b3432..2fac354f45 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/get_destination.py +++ b/sdk/python/pulumi_aws_native/iotwireless/get_destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -123,9 +128,6 @@ def get_destination(name: Optional[str] = None, expression_type=pulumi.get(__ret__, 'expression_type'), role_arn=pulumi.get(__ret__, 'role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_destination) def get_destination_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDestinationResult]: """ @@ -134,4 +136,14 @@ def get_destination_output(name: Optional[pulumi.Input[str]] = None, :param str name: Unique name of destination """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotwireless:getDestination', __args__, opts=opts, typ=GetDestinationResult) + return __ret__.apply(lambda __response__: GetDestinationResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + expression=pulumi.get(__response__, 'expression'), + expression_type=pulumi.get(__response__, 'expression_type'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotwireless/get_device_profile.py b/sdk/python/pulumi_aws_native/iotwireless/get_device_profile.py index a66465e58d..30e88baf61 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/get_device_profile.py +++ b/sdk/python/pulumi_aws_native/iotwireless/get_device_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -110,9 +115,6 @@ def get_device_profile(id: Optional[str] = None, lo_ra_wan=pulumi.get(__ret__, 'lo_ra_wan'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_device_profile) def get_device_profile_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeviceProfileResult]: """ @@ -121,4 +123,13 @@ def get_device_profile_output(id: Optional[pulumi.Input[str]] = None, :param str id: Service profile Id. Returned after successful create. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotwireless:getDeviceProfile', __args__, opts=opts, typ=GetDeviceProfileResult) + return __ret__.apply(lambda __response__: GetDeviceProfileResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + lo_ra_wan=pulumi.get(__response__, 'lo_ra_wan'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotwireless/get_fuota_task.py b/sdk/python/pulumi_aws_native/iotwireless/get_fuota_task.py index 585e87d6d5..f1dc07ee75 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/get_fuota_task.py +++ b/sdk/python/pulumi_aws_native/iotwireless/get_fuota_task.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -214,9 +219,6 @@ def get_fuota_task(id: Optional[str] = None, lo_ra_wan=pulumi.get(__ret__, 'lo_ra_wan'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_fuota_task) def get_fuota_task_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFuotaTaskResult]: """ @@ -225,4 +227,21 @@ def get_fuota_task_output(id: Optional[pulumi.Input[str]] = None, :param str id: FUOTA task id. Returned after successful create. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotwireless:getFuotaTask', __args__, opts=opts, typ=GetFuotaTaskResult) + return __ret__.apply(lambda __response__: GetFuotaTaskResult( + arn=pulumi.get(__response__, 'arn'), + associate_multicast_group=pulumi.get(__response__, 'associate_multicast_group'), + associate_wireless_device=pulumi.get(__response__, 'associate_wireless_device'), + description=pulumi.get(__response__, 'description'), + disassociate_multicast_group=pulumi.get(__response__, 'disassociate_multicast_group'), + disassociate_wireless_device=pulumi.get(__response__, 'disassociate_wireless_device'), + firmware_update_image=pulumi.get(__response__, 'firmware_update_image'), + firmware_update_role=pulumi.get(__response__, 'firmware_update_role'), + fuota_task_status=pulumi.get(__response__, 'fuota_task_status'), + id=pulumi.get(__response__, 'id'), + lo_ra_wan=pulumi.get(__response__, 'lo_ra_wan'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotwireless/get_multicast_group.py b/sdk/python/pulumi_aws_native/iotwireless/get_multicast_group.py index 2ef513d861..cb9121b6fb 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/get_multicast_group.py +++ b/sdk/python/pulumi_aws_native/iotwireless/get_multicast_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -162,9 +167,6 @@ def get_multicast_group(id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_multicast_group) def get_multicast_group_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMulticastGroupResult]: """ @@ -173,4 +175,17 @@ def get_multicast_group_output(id: Optional[pulumi.Input[str]] = None, :param str id: Multicast group id. Returned after successful create. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotwireless:getMulticastGroup', __args__, opts=opts, typ=GetMulticastGroupResult) + return __ret__.apply(lambda __response__: GetMulticastGroupResult( + arn=pulumi.get(__response__, 'arn'), + associate_wireless_device=pulumi.get(__response__, 'associate_wireless_device'), + description=pulumi.get(__response__, 'description'), + disassociate_wireless_device=pulumi.get(__response__, 'disassociate_wireless_device'), + id=pulumi.get(__response__, 'id'), + lo_ra_wan=pulumi.get(__response__, 'lo_ra_wan'), + name=pulumi.get(__response__, 'name'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotwireless/get_network_analyzer_configuration.py b/sdk/python/pulumi_aws_native/iotwireless/get_network_analyzer_configuration.py index 50e45834ed..53a8a61e75 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/get_network_analyzer_configuration.py +++ b/sdk/python/pulumi_aws_native/iotwireless/get_network_analyzer_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -110,9 +115,6 @@ def get_network_analyzer_configuration(name: Optional[str] = None, trace_content=pulumi.get(__ret__, 'trace_content'), wireless_devices=pulumi.get(__ret__, 'wireless_devices'), wireless_gateways=pulumi.get(__ret__, 'wireless_gateways')) - - -@_utilities.lift_output_func(get_network_analyzer_configuration) def get_network_analyzer_configuration_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkAnalyzerConfigurationResult]: """ @@ -121,4 +123,13 @@ def get_network_analyzer_configuration_output(name: Optional[pulumi.Input[str]] :param str name: Name of the network analyzer configuration """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotwireless:getNetworkAnalyzerConfiguration', __args__, opts=opts, typ=GetNetworkAnalyzerConfigurationResult) + return __ret__.apply(lambda __response__: GetNetworkAnalyzerConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + trace_content=pulumi.get(__response__, 'trace_content'), + wireless_devices=pulumi.get(__response__, 'wireless_devices'), + wireless_gateways=pulumi.get(__response__, 'wireless_gateways'))) diff --git a/sdk/python/pulumi_aws_native/iotwireless/get_service_profile.py b/sdk/python/pulumi_aws_native/iotwireless/get_service_profile.py index c5173b0e80..fda3f4202b 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/get_service_profile.py +++ b/sdk/python/pulumi_aws_native/iotwireless/get_service_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -110,9 +115,6 @@ def get_service_profile(id: Optional[str] = None, lo_ra_wan=pulumi.get(__ret__, 'lo_ra_wan'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service_profile) def get_service_profile_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceProfileResult]: """ @@ -121,4 +123,13 @@ def get_service_profile_output(id: Optional[pulumi.Input[str]] = None, :param str id: Service profile Id. Returned after successful create. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotwireless:getServiceProfile', __args__, opts=opts, typ=GetServiceProfileResult) + return __ret__.apply(lambda __response__: GetServiceProfileResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + lo_ra_wan=pulumi.get(__response__, 'lo_ra_wan'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/iotwireless/get_task_definition.py b/sdk/python/pulumi_aws_native/iotwireless/get_task_definition.py index 7ee88dcc90..6cf3a578a2 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/get_task_definition.py +++ b/sdk/python/pulumi_aws_native/iotwireless/get_task_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_task_definition(id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), task_definition_type=pulumi.get(__ret__, 'task_definition_type'), update=pulumi.get(__ret__, 'update')) - - -@_utilities.lift_output_func(get_task_definition) def get_task_definition_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTaskDefinitionResult]: """ @@ -161,4 +163,16 @@ def get_task_definition_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the new wireless gateway task definition """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotwireless:getTaskDefinition', __args__, opts=opts, typ=GetTaskDefinitionResult) + return __ret__.apply(lambda __response__: GetTaskDefinitionResult( + arn=pulumi.get(__response__, 'arn'), + auto_create_tasks=pulumi.get(__response__, 'auto_create_tasks'), + id=pulumi.get(__response__, 'id'), + lo_ra_wan_update_gateway_task_entry=pulumi.get(__response__, 'lo_ra_wan_update_gateway_task_entry'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + task_definition_type=pulumi.get(__response__, 'task_definition_type'), + update=pulumi.get(__response__, 'update'))) diff --git a/sdk/python/pulumi_aws_native/iotwireless/get_wireless_device.py b/sdk/python/pulumi_aws_native/iotwireless/get_wireless_device.py index 17bef9ca63..a8974ceb7b 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/get_wireless_device.py +++ b/sdk/python/pulumi_aws_native/iotwireless/get_wireless_device.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -189,9 +194,6 @@ def get_wireless_device(id: Optional[str] = None, thing_arn=pulumi.get(__ret__, 'thing_arn'), thing_name=pulumi.get(__ret__, 'thing_name'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_wireless_device) def get_wireless_device_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWirelessDeviceResult]: """ @@ -200,4 +202,19 @@ def get_wireless_device_output(id: Optional[pulumi.Input[str]] = None, :param str id: Wireless device Id. Returned after successful create. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotwireless:getWirelessDevice', __args__, opts=opts, typ=GetWirelessDeviceResult) + return __ret__.apply(lambda __response__: GetWirelessDeviceResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + destination_name=pulumi.get(__response__, 'destination_name'), + id=pulumi.get(__response__, 'id'), + last_uplink_received_at=pulumi.get(__response__, 'last_uplink_received_at'), + lo_ra_wan=pulumi.get(__response__, 'lo_ra_wan'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + thing_arn=pulumi.get(__response__, 'thing_arn'), + thing_name=pulumi.get(__response__, 'thing_name'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/iotwireless/get_wireless_gateway.py b/sdk/python/pulumi_aws_native/iotwireless/get_wireless_gateway.py index 5e1f9d29d4..79a11b50f2 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/get_wireless_gateway.py +++ b/sdk/python/pulumi_aws_native/iotwireless/get_wireless_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -162,9 +167,6 @@ def get_wireless_gateway(id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), thing_arn=pulumi.get(__ret__, 'thing_arn'), thing_name=pulumi.get(__ret__, 'thing_name')) - - -@_utilities.lift_output_func(get_wireless_gateway) def get_wireless_gateway_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWirelessGatewayResult]: """ @@ -173,4 +175,17 @@ def get_wireless_gateway_output(id: Optional[pulumi.Input[str]] = None, :param str id: Id for Wireless Gateway. Returned upon successful create. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:iotwireless:getWirelessGateway', __args__, opts=opts, typ=GetWirelessGatewayResult) + return __ret__.apply(lambda __response__: GetWirelessGatewayResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + last_uplink_received_at=pulumi.get(__response__, 'last_uplink_received_at'), + lo_ra_wan=pulumi.get(__response__, 'lo_ra_wan'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + thing_arn=pulumi.get(__response__, 'thing_arn'), + thing_name=pulumi.get(__response__, 'thing_name'))) diff --git a/sdk/python/pulumi_aws_native/iotwireless/multicast_group.py b/sdk/python/pulumi_aws_native/iotwireless/multicast_group.py index f6cc82d24b..43c633af09 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/multicast_group.py +++ b/sdk/python/pulumi_aws_native/iotwireless/multicast_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotwireless/network_analyzer_configuration.py b/sdk/python/pulumi_aws_native/iotwireless/network_analyzer_configuration.py index 877564e58f..a177b8dcdf 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/network_analyzer_configuration.py +++ b/sdk/python/pulumi_aws_native/iotwireless/network_analyzer_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotwireless/outputs.py b/sdk/python/pulumi_aws_native/iotwireless/outputs.py index e3aa4c5c02..7f6d37bee8 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/outputs.py +++ b/sdk/python/pulumi_aws_native/iotwireless/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/iotwireless/service_profile.py b/sdk/python/pulumi_aws_native/iotwireless/service_profile.py index d488f68dc4..67ed696538 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/service_profile.py +++ b/sdk/python/pulumi_aws_native/iotwireless/service_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotwireless/task_definition.py b/sdk/python/pulumi_aws_native/iotwireless/task_definition.py index 5ce955dca2..dfee88ca3a 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/task_definition.py +++ b/sdk/python/pulumi_aws_native/iotwireless/task_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotwireless/wireless_device.py b/sdk/python/pulumi_aws_native/iotwireless/wireless_device.py index 180f4d9eec..5ffe114fc8 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/wireless_device.py +++ b/sdk/python/pulumi_aws_native/iotwireless/wireless_device.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/iotwireless/wireless_gateway.py b/sdk/python/pulumi_aws_native/iotwireless/wireless_gateway.py index 4bcf4f6fe9..8f059d01ba 100644 --- a/sdk/python/pulumi_aws_native/iotwireless/wireless_gateway.py +++ b/sdk/python/pulumi_aws_native/iotwireless/wireless_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ivs/_inputs.py b/sdk/python/pulumi_aws_native/ivs/_inputs.py index f01a75af53..b37fb7e2b4 100644 --- a/sdk/python/pulumi_aws_native/ivs/_inputs.py +++ b/sdk/python/pulumi_aws_native/ivs/_inputs.py @@ -4,22 +4,48 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'RecordingConfigurationDestinationConfigurationArgs', + 'RecordingConfigurationDestinationConfigurationArgsDict', 'RecordingConfigurationRenditionConfigurationArgs', + 'RecordingConfigurationRenditionConfigurationArgsDict', 'RecordingConfigurationS3DestinationConfigurationArgs', + 'RecordingConfigurationS3DestinationConfigurationArgsDict', 'RecordingConfigurationThumbnailConfigurationArgs', + 'RecordingConfigurationThumbnailConfigurationArgsDict', 'StageAutoParticipantRecordingConfigurationArgs', + 'StageAutoParticipantRecordingConfigurationArgsDict', 'StorageConfigurationS3StorageConfigurationArgs', + 'StorageConfigurationS3StorageConfigurationArgsDict', 'VideoPropertiesArgs', + 'VideoPropertiesArgsDict', ] +MYPY = False + +if not MYPY: + class RecordingConfigurationDestinationConfigurationArgsDict(TypedDict): + """ + Recording Destination Configuration. + """ + s3: NotRequired[pulumi.Input['RecordingConfigurationS3DestinationConfigurationArgsDict']] + """ + An S3 destination configuration where recorded videos will be stored. See the [S3DestinationConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-s3destinationconfiguration.html) property type for more information. + """ +elif False: + RecordingConfigurationDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecordingConfigurationDestinationConfigurationArgs: def __init__(__self__, *, @@ -44,6 +70,22 @@ def s3(self, value: Optional[pulumi.Input['RecordingConfigurationS3DestinationCo pulumi.set(self, "s3", value) +if not MYPY: + class RecordingConfigurationRenditionConfigurationArgsDict(TypedDict): + """ + Rendition Configuration describes which renditions should be recorded for a stream. + """ + rendition_selection: NotRequired[pulumi.Input['RecordingConfigurationRenditionConfigurationRenditionSelection']] + """ + Resolution Selection indicates which set of renditions are recorded for a stream. + """ + renditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['RecordingConfigurationRenditionConfigurationRenditionsItem']]]] + """ + Renditions indicates which renditions are recorded for a stream. + """ +elif False: + RecordingConfigurationRenditionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecordingConfigurationRenditionConfigurationArgs: def __init__(__self__, *, @@ -84,6 +126,18 @@ def renditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Recordi pulumi.set(self, "renditions", value) +if not MYPY: + class RecordingConfigurationS3DestinationConfigurationArgsDict(TypedDict): + """ + Recording S3 Destination Configuration. + """ + bucket_name: pulumi.Input[str] + """ + Location (S3 bucket name) where recorded videos will be stored. + """ +elif False: + RecordingConfigurationS3DestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecordingConfigurationS3DestinationConfigurationArgs: def __init__(__self__, *, @@ -107,6 +161,30 @@ def bucket_name(self, value: pulumi.Input[str]): pulumi.set(self, "bucket_name", value) +if not MYPY: + class RecordingConfigurationThumbnailConfigurationArgsDict(TypedDict): + """ + Recording Thumbnail Configuration. + """ + recording_mode: NotRequired[pulumi.Input['RecordingConfigurationThumbnailConfigurationRecordingMode']] + """ + Thumbnail Recording Mode, which determines whether thumbnails are recorded at an interval or are disabled. + """ + resolution: NotRequired[pulumi.Input['RecordingConfigurationThumbnailConfigurationResolution']] + """ + Resolution indicates the desired resolution of recorded thumbnails. + """ + storage: NotRequired[pulumi.Input[Sequence[pulumi.Input['RecordingConfigurationThumbnailConfigurationStorageItem']]]] + """ + Storage indicates the format in which thumbnails are recorded. + """ + target_interval_seconds: NotRequired[pulumi.Input[int]] + """ + Target Interval Seconds defines the interval at which thumbnails are recorded. This field is required if RecordingMode is INTERVAL. + """ +elif False: + RecordingConfigurationThumbnailConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RecordingConfigurationThumbnailConfigurationArgs: def __init__(__self__, *, @@ -179,6 +257,22 @@ def target_interval_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "target_interval_seconds", value) +if not MYPY: + class StageAutoParticipantRecordingConfigurationArgsDict(TypedDict): + """ + Configuration object for individual participant recording, to attach to the new stage. + """ + storage_configuration_arn: pulumi.Input[str] + """ + ARN of the StorageConfiguration resource to use for individual participant recording. + """ + media_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['StageAutoParticipantRecordingConfigurationMediaTypesItem']]]] + """ + Types of media to be recorded. Default: AUDIO_VIDEO. + """ +elif False: + StageAutoParticipantRecordingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StageAutoParticipantRecordingConfigurationArgs: def __init__(__self__, *, @@ -218,6 +312,18 @@ def media_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StageA pulumi.set(self, "media_types", value) +if not MYPY: + class StorageConfigurationS3StorageConfigurationArgsDict(TypedDict): + """ + A complex type that describes an S3 location where recorded videos will be stored. + """ + bucket_name: pulumi.Input[str] + """ + Location (S3 bucket name) where recorded videos will be stored. Note that the StorageConfiguration and S3 bucket must be in the same region as the Composition. + """ +elif False: + StorageConfigurationS3StorageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageConfigurationS3StorageConfigurationArgs: def __init__(__self__, *, @@ -241,6 +347,30 @@ def bucket_name(self, value: pulumi.Input[str]): pulumi.set(self, "bucket_name", value) +if not MYPY: + class VideoPropertiesArgsDict(TypedDict): + """ + Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps + """ + bitrate: NotRequired[pulumi.Input[int]] + """ + Bitrate for generated output, in bps. Default: 2500000. + """ + framerate: NotRequired[pulumi.Input[float]] + """ + Video frame rate, in fps. Default: 30. + """ + height: NotRequired[pulumi.Input[int]] + """ + Video-resolution height. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720. + """ + width: NotRequired[pulumi.Input[int]] + """ + Video-resolution width. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280. + """ +elif False: + VideoPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VideoPropertiesArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/ivs/channel.py b/sdk/python/pulumi_aws_native/ivs/channel.py index 6174396a79..860ff1fe7f 100644 --- a/sdk/python/pulumi_aws_native/ivs/channel.py +++ b/sdk/python/pulumi_aws_native/ivs/channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ivs/encoder_configuration.py b/sdk/python/pulumi_aws_native/ivs/encoder_configuration.py index ceae3435cb..9b793a703a 100644 --- a/sdk/python/pulumi_aws_native/ivs/encoder_configuration.py +++ b/sdk/python/pulumi_aws_native/ivs/encoder_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ivs/get_channel.py b/sdk/python/pulumi_aws_native/ivs/get_channel.py index 0105856e3e..3ee7d31afc 100644 --- a/sdk/python/pulumi_aws_native/ivs/get_channel.py +++ b/sdk/python/pulumi_aws_native/ivs/get_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -188,9 +193,6 @@ def get_channel(arn: Optional[str] = None, recording_configuration_arn=pulumi.get(__ret__, 'recording_configuration_arn'), tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_channel) def get_channel_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetChannelResult]: """ @@ -199,4 +201,19 @@ def get_channel_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Channel ARN is automatically generated on creation and assigned as the unique identifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ivs:getChannel', __args__, opts=opts, typ=GetChannelResult) + return __ret__.apply(lambda __response__: GetChannelResult( + arn=pulumi.get(__response__, 'arn'), + authorized=pulumi.get(__response__, 'authorized'), + ingest_endpoint=pulumi.get(__response__, 'ingest_endpoint'), + insecure_ingest=pulumi.get(__response__, 'insecure_ingest'), + latency_mode=pulumi.get(__response__, 'latency_mode'), + name=pulumi.get(__response__, 'name'), + playback_url=pulumi.get(__response__, 'playback_url'), + preset=pulumi.get(__response__, 'preset'), + recording_configuration_arn=pulumi.get(__response__, 'recording_configuration_arn'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/ivs/get_encoder_configuration.py b/sdk/python/pulumi_aws_native/ivs/get_encoder_configuration.py index 3cd7e74e39..4ee5262c14 100644 --- a/sdk/python/pulumi_aws_native/ivs/get_encoder_configuration.py +++ b/sdk/python/pulumi_aws_native/ivs/get_encoder_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_encoder_configuration(arn: Optional[str] = None, return AwaitableGetEncoderConfigurationResult( arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_encoder_configuration) def get_encoder_configuration_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEncoderConfigurationResult]: """ @@ -81,4 +83,10 @@ def get_encoder_configuration_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Encoder configuration identifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ivs:getEncoderConfiguration', __args__, opts=opts, typ=GetEncoderConfigurationResult) + return __ret__.apply(lambda __response__: GetEncoderConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ivs/get_playback_key_pair.py b/sdk/python/pulumi_aws_native/ivs/get_playback_key_pair.py index a379b6039e..783ddc94fa 100644 --- a/sdk/python/pulumi_aws_native/ivs/get_playback_key_pair.py +++ b/sdk/python/pulumi_aws_native/ivs/get_playback_key_pair.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_playback_key_pair(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), fingerprint=pulumi.get(__ret__, 'fingerprint'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_playback_key_pair) def get_playback_key_pair_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPlaybackKeyPairResult]: """ @@ -94,4 +96,11 @@ def get_playback_key_pair_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Key-pair identifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ivs:getPlaybackKeyPair', __args__, opts=opts, typ=GetPlaybackKeyPairResult) + return __ret__.apply(lambda __response__: GetPlaybackKeyPairResult( + arn=pulumi.get(__response__, 'arn'), + fingerprint=pulumi.get(__response__, 'fingerprint'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ivs/get_playback_restriction_policy.py b/sdk/python/pulumi_aws_native/ivs/get_playback_restriction_policy.py index 1961640c08..d8029f498c 100644 --- a/sdk/python/pulumi_aws_native/ivs/get_playback_restriction_policy.py +++ b/sdk/python/pulumi_aws_native/ivs/get_playback_restriction_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_playback_restriction_policy(arn: Optional[str] = None, enable_strict_origin_enforcement=pulumi.get(__ret__, 'enable_strict_origin_enforcement'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_playback_restriction_policy) def get_playback_restriction_policy_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPlaybackRestrictionPolicyResult]: """ @@ -133,4 +135,14 @@ def get_playback_restriction_policy_output(arn: Optional[pulumi.Input[str]] = No :param str arn: Playback-restriction-policy identifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ivs:getPlaybackRestrictionPolicy', __args__, opts=opts, typ=GetPlaybackRestrictionPolicyResult) + return __ret__.apply(lambda __response__: GetPlaybackRestrictionPolicyResult( + allowed_countries=pulumi.get(__response__, 'allowed_countries'), + allowed_origins=pulumi.get(__response__, 'allowed_origins'), + arn=pulumi.get(__response__, 'arn'), + enable_strict_origin_enforcement=pulumi.get(__response__, 'enable_strict_origin_enforcement'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ivs/get_public_key.py b/sdk/python/pulumi_aws_native/ivs/get_public_key.py index 8ba8438c0c..4161a12370 100644 --- a/sdk/python/pulumi_aws_native/ivs/get_public_key.py +++ b/sdk/python/pulumi_aws_native/ivs/get_public_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_public_key(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), fingerprint=pulumi.get(__ret__, 'fingerprint'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_public_key) def get_public_key_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPublicKeyResult]: """ @@ -94,4 +96,11 @@ def get_public_key_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Key-pair identifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ivs:getPublicKey', __args__, opts=opts, typ=GetPublicKeyResult) + return __ret__.apply(lambda __response__: GetPublicKeyResult( + arn=pulumi.get(__response__, 'arn'), + fingerprint=pulumi.get(__response__, 'fingerprint'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ivs/get_recording_configuration.py b/sdk/python/pulumi_aws_native/ivs/get_recording_configuration.py index d88deed5bc..6f8651e496 100644 --- a/sdk/python/pulumi_aws_native/ivs/get_recording_configuration.py +++ b/sdk/python/pulumi_aws_native/ivs/get_recording_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -84,9 +89,6 @@ def get_recording_configuration(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_recording_configuration) def get_recording_configuration_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRecordingConfigurationResult]: """ @@ -95,4 +97,11 @@ def get_recording_configuration_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Recording Configuration ARN is automatically generated on creation and assigned as the unique identifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ivs:getRecordingConfiguration', __args__, opts=opts, typ=GetRecordingConfigurationResult) + return __ret__.apply(lambda __response__: GetRecordingConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ivs/get_stage.py b/sdk/python/pulumi_aws_native/ivs/get_stage.py index 32f9cdcdd9..c6265050ef 100644 --- a/sdk/python/pulumi_aws_native/ivs/get_stage.py +++ b/sdk/python/pulumi_aws_native/ivs/get_stage.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -108,9 +113,6 @@ def get_stage(arn: Optional[str] = None, auto_participant_recording_configuration=pulumi.get(__ret__, 'auto_participant_recording_configuration'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_stage) def get_stage_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStageResult]: """ @@ -119,4 +121,13 @@ def get_stage_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Stage ARN is automatically generated on creation and assigned as the unique identifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ivs:getStage', __args__, opts=opts, typ=GetStageResult) + return __ret__.apply(lambda __response__: GetStageResult( + active_session_id=pulumi.get(__response__, 'active_session_id'), + arn=pulumi.get(__response__, 'arn'), + auto_participant_recording_configuration=pulumi.get(__response__, 'auto_participant_recording_configuration'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ivs/get_storage_configuration.py b/sdk/python/pulumi_aws_native/ivs/get_storage_configuration.py index 62cca4993e..a4c24b4a1a 100644 --- a/sdk/python/pulumi_aws_native/ivs/get_storage_configuration.py +++ b/sdk/python/pulumi_aws_native/ivs/get_storage_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_storage_configuration(arn: Optional[str] = None, return AwaitableGetStorageConfigurationResult( arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_storage_configuration) def get_storage_configuration_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageConfigurationResult]: """ @@ -81,4 +83,10 @@ def get_storage_configuration_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Storage Configuration ARN is automatically generated on creation and assigned as the unique identifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ivs:getStorageConfiguration', __args__, opts=opts, typ=GetStorageConfigurationResult) + return __ret__.apply(lambda __response__: GetStorageConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ivs/get_stream_key.py b/sdk/python/pulumi_aws_native/ivs/get_stream_key.py index 2ea9333db7..1ed7299e82 100644 --- a/sdk/python/pulumi_aws_native/ivs/get_stream_key.py +++ b/sdk/python/pulumi_aws_native/ivs/get_stream_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_stream_key(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags'), value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(get_stream_key) def get_stream_key_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStreamKeyResult]: """ @@ -94,4 +96,11 @@ def get_stream_key_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Stream Key ARN is automatically generated on creation and assigned as the unique identifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ivs:getStreamKey', __args__, opts=opts, typ=GetStreamKeyResult) + return __ret__.apply(lambda __response__: GetStreamKeyResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'), + value=pulumi.get(__response__, 'value'))) diff --git a/sdk/python/pulumi_aws_native/ivs/outputs.py b/sdk/python/pulumi_aws_native/ivs/outputs.py index 3bd2aa27fa..a8a2a8c677 100644 --- a/sdk/python/pulumi_aws_native/ivs/outputs.py +++ b/sdk/python/pulumi_aws_native/ivs/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ivs/playback_key_pair.py b/sdk/python/pulumi_aws_native/ivs/playback_key_pair.py index f1203fc111..57a7466a65 100644 --- a/sdk/python/pulumi_aws_native/ivs/playback_key_pair.py +++ b/sdk/python/pulumi_aws_native/ivs/playback_key_pair.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ivs/playback_restriction_policy.py b/sdk/python/pulumi_aws_native/ivs/playback_restriction_policy.py index db6fecec4f..3658eaeeaf 100644 --- a/sdk/python/pulumi_aws_native/ivs/playback_restriction_policy.py +++ b/sdk/python/pulumi_aws_native/ivs/playback_restriction_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ivs/public_key.py b/sdk/python/pulumi_aws_native/ivs/public_key.py index 076b1f2475..9af4bab574 100644 --- a/sdk/python/pulumi_aws_native/ivs/public_key.py +++ b/sdk/python/pulumi_aws_native/ivs/public_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ivs/recording_configuration.py b/sdk/python/pulumi_aws_native/ivs/recording_configuration.py index c6220318aa..76f56c29d8 100644 --- a/sdk/python/pulumi_aws_native/ivs/recording_configuration.py +++ b/sdk/python/pulumi_aws_native/ivs/recording_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ivs/stage.py b/sdk/python/pulumi_aws_native/ivs/stage.py index 638ad377f0..b428115ae6 100644 --- a/sdk/python/pulumi_aws_native/ivs/stage.py +++ b/sdk/python/pulumi_aws_native/ivs/stage.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ivs/storage_configuration.py b/sdk/python/pulumi_aws_native/ivs/storage_configuration.py index 4396be385a..2196baa042 100644 --- a/sdk/python/pulumi_aws_native/ivs/storage_configuration.py +++ b/sdk/python/pulumi_aws_native/ivs/storage_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ivs/stream_key.py b/sdk/python/pulumi_aws_native/ivs/stream_key.py index 1b214d89a1..1cccbff372 100644 --- a/sdk/python/pulumi_aws_native/ivs/stream_key.py +++ b/sdk/python/pulumi_aws_native/ivs/stream_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ivschat/_inputs.py b/sdk/python/pulumi_aws_native/ivschat/_inputs.py index 4bab4679f2..6ade8a7213 100644 --- a/sdk/python/pulumi_aws_native/ivschat/_inputs.py +++ b/sdk/python/pulumi_aws_native/ivschat/_inputs.py @@ -4,20 +4,44 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'LoggingConfigurationCloudWatchLogsDestinationConfigurationArgs', + 'LoggingConfigurationCloudWatchLogsDestinationConfigurationArgsDict', 'LoggingConfigurationDestinationConfigurationArgs', + 'LoggingConfigurationDestinationConfigurationArgsDict', 'LoggingConfigurationFirehoseDestinationConfigurationArgs', + 'LoggingConfigurationFirehoseDestinationConfigurationArgsDict', 'LoggingConfigurationS3DestinationConfigurationArgs', + 'LoggingConfigurationS3DestinationConfigurationArgsDict', 'RoomMessageReviewHandlerArgs', + 'RoomMessageReviewHandlerArgsDict', ] +MYPY = False + +if not MYPY: + class LoggingConfigurationCloudWatchLogsDestinationConfigurationArgsDict(TypedDict): + """ + CloudWatch destination configuration for IVS Chat logging. + """ + log_group_name: pulumi.Input[str] + """ + Name of the Amazon CloudWatch Logs log group where chat activity will be logged. + """ +elif False: + LoggingConfigurationCloudWatchLogsDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationCloudWatchLogsDestinationConfigurationArgs: def __init__(__self__, *, @@ -41,6 +65,26 @@ def log_group_name(self, value: pulumi.Input[str]): pulumi.set(self, "log_group_name", value) +if not MYPY: + class LoggingConfigurationDestinationConfigurationArgsDict(TypedDict): + """ + Destination configuration for IVS Chat logging. + """ + cloud_watch_logs: NotRequired[pulumi.Input['LoggingConfigurationCloudWatchLogsDestinationConfigurationArgsDict']] + """ + An Amazon CloudWatch Logs destination configuration where chat activity will be logged. + """ + firehose: NotRequired[pulumi.Input['LoggingConfigurationFirehoseDestinationConfigurationArgsDict']] + """ + An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged. + """ + s3: NotRequired[pulumi.Input['LoggingConfigurationS3DestinationConfigurationArgsDict']] + """ + An Amazon S3 destination configuration where chat activity will be logged. + """ +elif False: + LoggingConfigurationDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationDestinationConfigurationArgs: def __init__(__self__, *, @@ -97,6 +141,18 @@ def s3(self, value: Optional[pulumi.Input['LoggingConfigurationS3DestinationConf pulumi.set(self, "s3", value) +if not MYPY: + class LoggingConfigurationFirehoseDestinationConfigurationArgsDict(TypedDict): + """ + Kinesis Firehose destination configuration for IVS Chat logging. + """ + delivery_stream_name: pulumi.Input[str] + """ + Name of the Amazon Kinesis Firehose delivery stream where chat activity will be logged. + """ +elif False: + LoggingConfigurationFirehoseDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationFirehoseDestinationConfigurationArgs: def __init__(__self__, *, @@ -120,6 +176,18 @@ def delivery_stream_name(self, value: pulumi.Input[str]): pulumi.set(self, "delivery_stream_name", value) +if not MYPY: + class LoggingConfigurationS3DestinationConfigurationArgsDict(TypedDict): + """ + S3 destination configuration for IVS Chat logging. + """ + bucket_name: pulumi.Input[str] + """ + Name of the Amazon S3 bucket where chat activity will be logged. + """ +elif False: + LoggingConfigurationS3DestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationS3DestinationConfigurationArgs: def __init__(__self__, *, @@ -143,6 +211,22 @@ def bucket_name(self, value: pulumi.Input[str]): pulumi.set(self, "bucket_name", value) +if not MYPY: + class RoomMessageReviewHandlerArgsDict(TypedDict): + """ + Configuration information for optional review of messages. + """ + fallback_result: NotRequired[pulumi.Input['RoomMessageReviewHandlerFallbackResult']] + """ + Specifies the fallback behavior if the handler does not return a valid response, encounters an error, or times out. + """ + uri: NotRequired[pulumi.Input[str]] + """ + Identifier of the message review handler. + """ +elif False: + RoomMessageReviewHandlerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RoomMessageReviewHandlerArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/ivschat/get_logging_configuration.py b/sdk/python/pulumi_aws_native/ivschat/get_logging_configuration.py index 2d745714c5..a03e1b0be4 100644 --- a/sdk/python/pulumi_aws_native/ivschat/get_logging_configuration.py +++ b/sdk/python/pulumi_aws_native/ivschat/get_logging_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_logging_configuration(arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_logging_configuration) def get_logging_configuration_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoggingConfigurationResult]: """ @@ -135,4 +137,14 @@ def get_logging_configuration_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: LoggingConfiguration ARN is automatically generated on creation and assigned as the unique identifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ivschat:getLoggingConfiguration', __args__, opts=opts, typ=GetLoggingConfigurationResult) + return __ret__.apply(lambda __response__: GetLoggingConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + destination_configuration=pulumi.get(__response__, 'destination_configuration'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ivschat/get_room.py b/sdk/python/pulumi_aws_native/ivschat/get_room.py index 83c2fd25ed..1198b9ed9c 100644 --- a/sdk/python/pulumi_aws_native/ivschat/get_room.py +++ b/sdk/python/pulumi_aws_native/ivschat/get_room.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_room(arn: Optional[str] = None, message_review_handler=pulumi.get(__ret__, 'message_review_handler'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_room) def get_room_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoomResult]: """ @@ -161,4 +163,16 @@ def get_room_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Room ARN is automatically generated on creation and assigned as the unique identifier. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ivschat:getRoom', __args__, opts=opts, typ=GetRoomResult) + return __ret__.apply(lambda __response__: GetRoomResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + logging_configuration_identifiers=pulumi.get(__response__, 'logging_configuration_identifiers'), + maximum_message_length=pulumi.get(__response__, 'maximum_message_length'), + maximum_message_rate_per_second=pulumi.get(__response__, 'maximum_message_rate_per_second'), + message_review_handler=pulumi.get(__response__, 'message_review_handler'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ivschat/logging_configuration.py b/sdk/python/pulumi_aws_native/ivschat/logging_configuration.py index 80bd383c19..333ff6dcf3 100644 --- a/sdk/python/pulumi_aws_native/ivschat/logging_configuration.py +++ b/sdk/python/pulumi_aws_native/ivschat/logging_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ivschat/outputs.py b/sdk/python/pulumi_aws_native/ivschat/outputs.py index be262cfbd9..3be7c250d5 100644 --- a/sdk/python/pulumi_aws_native/ivschat/outputs.py +++ b/sdk/python/pulumi_aws_native/ivschat/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ivschat/room.py b/sdk/python/pulumi_aws_native/ivschat/room.py index 90cbd8bdcc..36b7794ee8 100644 --- a/sdk/python/pulumi_aws_native/ivschat/room.py +++ b/sdk/python/pulumi_aws_native/ivschat/room.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/kafkaconnect/_inputs.py b/sdk/python/pulumi_aws_native/kafkaconnect/_inputs.py index 6365ab4352..b38132b958 100644 --- a/sdk/python/pulumi_aws_native/kafkaconnect/_inputs.py +++ b/sdk/python/pulumi_aws_native/kafkaconnect/_inputs.py @@ -4,35 +4,78 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ConnectorApacheKafkaClusterArgs', + 'ConnectorApacheKafkaClusterArgsDict', 'ConnectorAutoScalingArgs', + 'ConnectorAutoScalingArgsDict', 'ConnectorCapacityArgs', + 'ConnectorCapacityArgsDict', 'ConnectorCloudWatchLogsLogDeliveryArgs', + 'ConnectorCloudWatchLogsLogDeliveryArgsDict', 'ConnectorCustomPluginArgs', + 'ConnectorCustomPluginArgsDict', 'ConnectorFirehoseLogDeliveryArgs', + 'ConnectorFirehoseLogDeliveryArgsDict', 'ConnectorKafkaClusterClientAuthenticationArgs', + 'ConnectorKafkaClusterClientAuthenticationArgsDict', 'ConnectorKafkaClusterEncryptionInTransitArgs', + 'ConnectorKafkaClusterEncryptionInTransitArgsDict', 'ConnectorKafkaClusterArgs', + 'ConnectorKafkaClusterArgsDict', 'ConnectorLogDeliveryArgs', + 'ConnectorLogDeliveryArgsDict', 'ConnectorPluginArgs', + 'ConnectorPluginArgsDict', 'ConnectorProvisionedCapacityArgs', + 'ConnectorProvisionedCapacityArgsDict', 'ConnectorS3LogDeliveryArgs', + 'ConnectorS3LogDeliveryArgsDict', 'ConnectorScaleInPolicyArgs', + 'ConnectorScaleInPolicyArgsDict', 'ConnectorScaleOutPolicyArgs', + 'ConnectorScaleOutPolicyArgsDict', 'ConnectorVpcArgs', + 'ConnectorVpcArgsDict', 'ConnectorWorkerConfigurationArgs', + 'ConnectorWorkerConfigurationArgsDict', 'ConnectorWorkerLogDeliveryArgs', + 'ConnectorWorkerLogDeliveryArgsDict', 'CustomPluginLocationArgs', + 'CustomPluginLocationArgsDict', 'CustomPluginS3LocationArgs', + 'CustomPluginS3LocationArgsDict', ] +MYPY = False + +if not MYPY: + class ConnectorApacheKafkaClusterArgsDict(TypedDict): + """ + Details of how to connect to an Apache Kafka cluster. + """ + bootstrap_servers: pulumi.Input[str] + """ + The bootstrap servers string of the Apache Kafka cluster. + """ + vpc: pulumi.Input['ConnectorVpcArgsDict'] + """ + Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster. + """ +elif False: + ConnectorApacheKafkaClusterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorApacheKafkaClusterArgs: def __init__(__self__, *, @@ -71,6 +114,34 @@ def vpc(self, value: pulumi.Input['ConnectorVpcArgs']): pulumi.set(self, "vpc", value) +if not MYPY: + class ConnectorAutoScalingArgsDict(TypedDict): + """ + Details about auto scaling of a connector. + """ + max_worker_count: pulumi.Input[int] + """ + The maximum number of workers for a connector. + """ + mcu_count: pulumi.Input[int] + """ + Specifies how many MSK Connect Units (MCU) as the minimum scaling unit. + """ + min_worker_count: pulumi.Input[int] + """ + The minimum number of workers for a connector. + """ + scale_in_policy: pulumi.Input['ConnectorScaleInPolicyArgsDict'] + """ + The sacle-in policy for the connector. + """ + scale_out_policy: pulumi.Input['ConnectorScaleOutPolicyArgsDict'] + """ + The sacle-out policy for the connector. + """ +elif False: + ConnectorAutoScalingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorAutoScalingArgs: def __init__(__self__, *, @@ -154,6 +225,22 @@ def scale_out_policy(self, value: pulumi.Input['ConnectorScaleOutPolicyArgs']): pulumi.set(self, "scale_out_policy", value) +if not MYPY: + class ConnectorCapacityArgsDict(TypedDict): + """ + Information about the capacity allocated to the connector. + """ + auto_scaling: NotRequired[pulumi.Input['ConnectorAutoScalingArgsDict']] + """ + Information about the auto scaling parameters for the connector. + """ + provisioned_capacity: NotRequired[pulumi.Input['ConnectorProvisionedCapacityArgsDict']] + """ + Details about a fixed capacity allocated to a connector. + """ +elif False: + ConnectorCapacityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorCapacityArgs: def __init__(__self__, *, @@ -194,6 +281,22 @@ def provisioned_capacity(self, value: Optional[pulumi.Input['ConnectorProvisione pulumi.set(self, "provisioned_capacity", value) +if not MYPY: + class ConnectorCloudWatchLogsLogDeliveryArgsDict(TypedDict): + """ + Details about delivering logs to Amazon CloudWatch Logs. + """ + enabled: pulumi.Input[bool] + """ + Specifies whether the logs get sent to the specified CloudWatch Logs destination. + """ + log_group: NotRequired[pulumi.Input[str]] + """ + The CloudWatch log group that is the destination for log delivery. + """ +elif False: + ConnectorCloudWatchLogsLogDeliveryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorCloudWatchLogsLogDeliveryArgs: def __init__(__self__, *, @@ -233,6 +336,22 @@ def log_group(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_group", value) +if not MYPY: + class ConnectorCustomPluginArgsDict(TypedDict): + """ + Details about a custom plugin. + """ + custom_plugin_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the custom plugin to use. + """ + revision: pulumi.Input[int] + """ + The revision of the custom plugin to use. + """ +elif False: + ConnectorCustomPluginArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorCustomPluginArgs: def __init__(__self__, *, @@ -271,6 +390,22 @@ def revision(self, value: pulumi.Input[int]): pulumi.set(self, "revision", value) +if not MYPY: + class ConnectorFirehoseLogDeliveryArgsDict(TypedDict): + """ + Details about delivering logs to Amazon Kinesis Data Firehose. + """ + enabled: pulumi.Input[bool] + """ + Specifies whether the logs get sent to the specified Kinesis Data Firehose delivery stream. + """ + delivery_stream: NotRequired[pulumi.Input[str]] + """ + The Kinesis Data Firehose delivery stream that is the destination for log delivery. + """ +elif False: + ConnectorFirehoseLogDeliveryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorFirehoseLogDeliveryArgs: def __init__(__self__, *, @@ -310,6 +445,18 @@ def delivery_stream(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "delivery_stream", value) +if not MYPY: + class ConnectorKafkaClusterClientAuthenticationArgsDict(TypedDict): + """ + Details of the client authentication used by the Kafka cluster. + """ + authentication_type: pulumi.Input['ConnectorKafkaClusterClientAuthenticationType'] + """ + The type of client authentication used to connect to the Apache Kafka cluster. Value NONE means that no client authentication is used. + """ +elif False: + ConnectorKafkaClusterClientAuthenticationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorKafkaClusterClientAuthenticationArgs: def __init__(__self__, *, @@ -333,6 +480,18 @@ def authentication_type(self, value: pulumi.Input['ConnectorKafkaClusterClientAu pulumi.set(self, "authentication_type", value) +if not MYPY: + class ConnectorKafkaClusterEncryptionInTransitArgsDict(TypedDict): + """ + Details of encryption in transit to the Kafka cluster. + """ + encryption_type: pulumi.Input['ConnectorKafkaClusterEncryptionInTransitType'] + """ + The type of encryption in transit to the Apache Kafka cluster. + """ +elif False: + ConnectorKafkaClusterEncryptionInTransitArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorKafkaClusterEncryptionInTransitArgs: def __init__(__self__, *, @@ -356,6 +515,18 @@ def encryption_type(self, value: pulumi.Input['ConnectorKafkaClusterEncryptionIn pulumi.set(self, "encryption_type", value) +if not MYPY: + class ConnectorKafkaClusterArgsDict(TypedDict): + """ + Details of how to connect to the Kafka cluster. + """ + apache_kafka_cluster: pulumi.Input['ConnectorApacheKafkaClusterArgsDict'] + """ + The Apache Kafka cluster to which the connector is connected. + """ +elif False: + ConnectorKafkaClusterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorKafkaClusterArgs: def __init__(__self__, *, @@ -379,6 +550,18 @@ def apache_kafka_cluster(self, value: pulumi.Input['ConnectorApacheKafkaClusterA pulumi.set(self, "apache_kafka_cluster", value) +if not MYPY: + class ConnectorLogDeliveryArgsDict(TypedDict): + """ + Details of what logs are delivered and where they are delivered. + """ + worker_log_delivery: pulumi.Input['ConnectorWorkerLogDeliveryArgsDict'] + """ + The workers can send worker logs to different destination types. This configuration specifies the details of these destinations. + """ +elif False: + ConnectorLogDeliveryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorLogDeliveryArgs: def __init__(__self__, *, @@ -402,6 +585,18 @@ def worker_log_delivery(self, value: pulumi.Input['ConnectorWorkerLogDeliveryArg pulumi.set(self, "worker_log_delivery", value) +if not MYPY: + class ConnectorPluginArgsDict(TypedDict): + """ + Details about a Kafka Connect plugin which will be used with the connector. + """ + custom_plugin: pulumi.Input['ConnectorCustomPluginArgsDict'] + """ + Details about a custom plugin. + """ +elif False: + ConnectorPluginArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorPluginArgs: def __init__(__self__, *, @@ -425,6 +620,22 @@ def custom_plugin(self, value: pulumi.Input['ConnectorCustomPluginArgs']): pulumi.set(self, "custom_plugin", value) +if not MYPY: + class ConnectorProvisionedCapacityArgsDict(TypedDict): + """ + Details about a fixed capacity allocated to a connector. + """ + worker_count: pulumi.Input[int] + """ + Number of workers for a connector. + """ + mcu_count: NotRequired[pulumi.Input[int]] + """ + Specifies how many MSK Connect Units (MCU) are allocated to the connector. + """ +elif False: + ConnectorProvisionedCapacityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorProvisionedCapacityArgs: def __init__(__self__, *, @@ -464,6 +675,26 @@ def mcu_count(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "mcu_count", value) +if not MYPY: + class ConnectorS3LogDeliveryArgsDict(TypedDict): + """ + Details about delivering logs to Amazon S3. + """ + enabled: pulumi.Input[bool] + """ + Specifies whether the logs get sent to the specified Amazon S3 destination. + """ + bucket: NotRequired[pulumi.Input[str]] + """ + The name of the S3 bucket that is the destination for log delivery. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + The S3 prefix that is the destination for log delivery. + """ +elif False: + ConnectorS3LogDeliveryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorS3LogDeliveryArgs: def __init__(__self__, *, @@ -519,6 +750,18 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class ConnectorScaleInPolicyArgsDict(TypedDict): + """ + Information about the scale in policy of the connector. + """ + cpu_utilization_percentage: pulumi.Input[int] + """ + Specifies the CPU utilization percentage threshold at which connector scale in should trigger. + """ +elif False: + ConnectorScaleInPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorScaleInPolicyArgs: def __init__(__self__, *, @@ -542,6 +785,18 @@ def cpu_utilization_percentage(self, value: pulumi.Input[int]): pulumi.set(self, "cpu_utilization_percentage", value) +if not MYPY: + class ConnectorScaleOutPolicyArgsDict(TypedDict): + """ + Information about the scale out policy of the connector. + """ + cpu_utilization_percentage: pulumi.Input[int] + """ + Specifies the CPU utilization percentage threshold at which connector scale out should trigger. + """ +elif False: + ConnectorScaleOutPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorScaleOutPolicyArgs: def __init__(__self__, *, @@ -565,6 +820,22 @@ def cpu_utilization_percentage(self, value: pulumi.Input[int]): pulumi.set(self, "cpu_utilization_percentage", value) +if not MYPY: + class ConnectorVpcArgsDict(TypedDict): + """ + Information about a VPC used with the connector. + """ + security_groups: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The AWS security groups to associate with the elastic network interfaces in order to specify what the connector has access to. + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. + """ +elif False: + ConnectorVpcArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorVpcArgs: def __init__(__self__, *, @@ -603,6 +874,22 @@ def subnets(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "subnets", value) +if not MYPY: + class ConnectorWorkerConfigurationArgsDict(TypedDict): + """ + Specifies the worker configuration to use with the connector. + """ + revision: pulumi.Input[int] + """ + The revision of the worker configuration to use. + """ + worker_configuration_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the worker configuration to use. + """ +elif False: + ConnectorWorkerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorWorkerConfigurationArgs: def __init__(__self__, *, @@ -641,6 +928,26 @@ def worker_configuration_arn(self, value: pulumi.Input[str]): pulumi.set(self, "worker_configuration_arn", value) +if not MYPY: + class ConnectorWorkerLogDeliveryArgsDict(TypedDict): + """ + Specifies where worker logs are delivered. + """ + cloud_watch_logs: NotRequired[pulumi.Input['ConnectorCloudWatchLogsLogDeliveryArgsDict']] + """ + Details about delivering logs to Amazon CloudWatch Logs. + """ + firehose: NotRequired[pulumi.Input['ConnectorFirehoseLogDeliveryArgsDict']] + """ + Details about delivering logs to Amazon Kinesis Data Firehose. + """ + s3: NotRequired[pulumi.Input['ConnectorS3LogDeliveryArgsDict']] + """ + Details about delivering logs to Amazon S3. + """ +elif False: + ConnectorWorkerLogDeliveryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorWorkerLogDeliveryArgs: def __init__(__self__, *, @@ -697,6 +1004,18 @@ def s3(self, value: Optional[pulumi.Input['ConnectorS3LogDeliveryArgs']]): pulumi.set(self, "s3", value) +if not MYPY: + class CustomPluginLocationArgsDict(TypedDict): + """ + Information about the location of a custom plugin. + """ + s3_location: pulumi.Input['CustomPluginS3LocationArgsDict'] + """ + The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3. + """ +elif False: + CustomPluginLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CustomPluginLocationArgs: def __init__(__self__, *, @@ -720,6 +1039,26 @@ def s3_location(self, value: pulumi.Input['CustomPluginS3LocationArgs']): pulumi.set(self, "s3_location", value) +if not MYPY: + class CustomPluginS3LocationArgsDict(TypedDict): + """ + The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3. + """ + bucket_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an S3 bucket. + """ + file_key: pulumi.Input[str] + """ + The file key for an object in an S3 bucket. + """ + object_version: NotRequired[pulumi.Input[str]] + """ + The version of an object in an S3 bucket. + """ +elif False: + CustomPluginS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CustomPluginS3LocationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/kafkaconnect/connector.py b/sdk/python/pulumi_aws_native/kafkaconnect/connector.py index 7a4e77dda3..6f1d978b5a 100644 --- a/sdk/python/pulumi_aws_native/kafkaconnect/connector.py +++ b/sdk/python/pulumi_aws_native/kafkaconnect/connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/kafkaconnect/custom_plugin.py b/sdk/python/pulumi_aws_native/kafkaconnect/custom_plugin.py index 7dc2b082f7..e22819985e 100644 --- a/sdk/python/pulumi_aws_native/kafkaconnect/custom_plugin.py +++ b/sdk/python/pulumi_aws_native/kafkaconnect/custom_plugin.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/kafkaconnect/get_connector.py b/sdk/python/pulumi_aws_native/kafkaconnect/get_connector.py index 09e79b3077..6aa51bd507 100644 --- a/sdk/python/pulumi_aws_native/kafkaconnect/get_connector.py +++ b/sdk/python/pulumi_aws_native/kafkaconnect/get_connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -84,9 +89,6 @@ def get_connector(connector_arn: Optional[str] = None, capacity=pulumi.get(__ret__, 'capacity'), connector_arn=pulumi.get(__ret__, 'connector_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_connector) def get_connector_output(connector_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectorResult]: """ @@ -95,4 +97,11 @@ def get_connector_output(connector_arn: Optional[pulumi.Input[str]] = None, :param str connector_arn: Amazon Resource Name for the created Connector. """ - ... + __args__ = dict() + __args__['connectorArn'] = connector_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kafkaconnect:getConnector', __args__, opts=opts, typ=GetConnectorResult) + return __ret__.apply(lambda __response__: GetConnectorResult( + capacity=pulumi.get(__response__, 'capacity'), + connector_arn=pulumi.get(__response__, 'connector_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/kafkaconnect/get_custom_plugin.py b/sdk/python/pulumi_aws_native/kafkaconnect/get_custom_plugin.py index 84bb202a36..a19a35a595 100644 --- a/sdk/python/pulumi_aws_native/kafkaconnect/get_custom_plugin.py +++ b/sdk/python/pulumi_aws_native/kafkaconnect/get_custom_plugin.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -94,9 +99,6 @@ def get_custom_plugin(custom_plugin_arn: Optional[str] = None, file_description=pulumi.get(__ret__, 'file_description'), revision=pulumi.get(__ret__, 'revision'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_custom_plugin) def get_custom_plugin_output(custom_plugin_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCustomPluginResult]: """ @@ -105,4 +107,12 @@ def get_custom_plugin_output(custom_plugin_arn: Optional[pulumi.Input[str]] = No :param str custom_plugin_arn: The Amazon Resource Name (ARN) of the custom plugin to use. """ - ... + __args__ = dict() + __args__['customPluginArn'] = custom_plugin_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kafkaconnect:getCustomPlugin', __args__, opts=opts, typ=GetCustomPluginResult) + return __ret__.apply(lambda __response__: GetCustomPluginResult( + custom_plugin_arn=pulumi.get(__response__, 'custom_plugin_arn'), + file_description=pulumi.get(__response__, 'file_description'), + revision=pulumi.get(__response__, 'revision'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/kafkaconnect/get_worker_configuration.py b/sdk/python/pulumi_aws_native/kafkaconnect/get_worker_configuration.py index b36ff98ec8..53b37a1aee 100644 --- a/sdk/python/pulumi_aws_native/kafkaconnect/get_worker_configuration.py +++ b/sdk/python/pulumi_aws_native/kafkaconnect/get_worker_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_worker_configuration(worker_configuration_arn: Optional[str] = None, revision=pulumi.get(__ret__, 'revision'), tags=pulumi.get(__ret__, 'tags'), worker_configuration_arn=pulumi.get(__ret__, 'worker_configuration_arn')) - - -@_utilities.lift_output_func(get_worker_configuration) def get_worker_configuration_output(worker_configuration_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkerConfigurationResult]: """ @@ -94,4 +96,11 @@ def get_worker_configuration_output(worker_configuration_arn: Optional[pulumi.In :param str worker_configuration_arn: The Amazon Resource Name (ARN) of the custom configuration. """ - ... + __args__ = dict() + __args__['workerConfigurationArn'] = worker_configuration_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kafkaconnect:getWorkerConfiguration', __args__, opts=opts, typ=GetWorkerConfigurationResult) + return __ret__.apply(lambda __response__: GetWorkerConfigurationResult( + revision=pulumi.get(__response__, 'revision'), + tags=pulumi.get(__response__, 'tags'), + worker_configuration_arn=pulumi.get(__response__, 'worker_configuration_arn'))) diff --git a/sdk/python/pulumi_aws_native/kafkaconnect/outputs.py b/sdk/python/pulumi_aws_native/kafkaconnect/outputs.py index e345b0a112..84edefc1b0 100644 --- a/sdk/python/pulumi_aws_native/kafkaconnect/outputs.py +++ b/sdk/python/pulumi_aws_native/kafkaconnect/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/kafkaconnect/worker_configuration.py b/sdk/python/pulumi_aws_native/kafkaconnect/worker_configuration.py index 9e3ea47a96..d988b6fd81 100644 --- a/sdk/python/pulumi_aws_native/kafkaconnect/worker_configuration.py +++ b/sdk/python/pulumi_aws_native/kafkaconnect/worker_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/kendra/_inputs.py b/sdk/python/pulumi_aws_native/kendra/_inputs.py index 29a1081b83..d0a45042c9 100644 --- a/sdk/python/pulumi_aws_native/kendra/_inputs.py +++ b/sdk/python/pulumi_aws_native/kendra/_inputs.py @@ -4,74 +4,149 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DataSourceAccessControlListConfigurationArgs', + 'DataSourceAccessControlListConfigurationArgsDict', 'DataSourceAclConfigurationArgs', + 'DataSourceAclConfigurationArgsDict', 'DataSourceColumnConfigurationArgs', + 'DataSourceColumnConfigurationArgsDict', 'DataSourceConfigurationArgs', + 'DataSourceConfigurationArgsDict', 'DataSourceConfluenceAttachmentConfigurationArgs', + 'DataSourceConfluenceAttachmentConfigurationArgsDict', 'DataSourceConfluenceAttachmentToIndexFieldMappingArgs', + 'DataSourceConfluenceAttachmentToIndexFieldMappingArgsDict', 'DataSourceConfluenceBlogConfigurationArgs', + 'DataSourceConfluenceBlogConfigurationArgsDict', 'DataSourceConfluenceBlogToIndexFieldMappingArgs', + 'DataSourceConfluenceBlogToIndexFieldMappingArgsDict', 'DataSourceConfluenceConfigurationArgs', + 'DataSourceConfluenceConfigurationArgsDict', 'DataSourceConfluencePageConfigurationArgs', + 'DataSourceConfluencePageConfigurationArgsDict', 'DataSourceConfluencePageToIndexFieldMappingArgs', + 'DataSourceConfluencePageToIndexFieldMappingArgsDict', 'DataSourceConfluenceSpaceConfigurationArgs', + 'DataSourceConfluenceSpaceConfigurationArgsDict', 'DataSourceConfluenceSpaceToIndexFieldMappingArgs', + 'DataSourceConfluenceSpaceToIndexFieldMappingArgsDict', 'DataSourceConnectionConfigurationArgs', + 'DataSourceConnectionConfigurationArgsDict', 'DataSourceCustomDocumentEnrichmentConfigurationArgs', + 'DataSourceCustomDocumentEnrichmentConfigurationArgsDict', 'DataSourceDatabaseConfigurationArgs', + 'DataSourceDatabaseConfigurationArgsDict', 'DataSourceDocumentAttributeConditionArgs', + 'DataSourceDocumentAttributeConditionArgsDict', 'DataSourceDocumentAttributeTargetArgs', + 'DataSourceDocumentAttributeTargetArgsDict', 'DataSourceDocumentAttributeValueArgs', + 'DataSourceDocumentAttributeValueArgsDict', 'DataSourceDocumentsMetadataConfigurationArgs', + 'DataSourceDocumentsMetadataConfigurationArgsDict', 'DataSourceGoogleDriveConfigurationArgs', + 'DataSourceGoogleDriveConfigurationArgsDict', 'DataSourceHookConfigurationArgs', + 'DataSourceHookConfigurationArgsDict', 'DataSourceInlineCustomDocumentEnrichmentConfigurationArgs', + 'DataSourceInlineCustomDocumentEnrichmentConfigurationArgsDict', 'DataSourceOneDriveConfigurationArgs', + 'DataSourceOneDriveConfigurationArgsDict', 'DataSourceOneDriveUsersArgs', + 'DataSourceOneDriveUsersArgsDict', 'DataSourceProxyConfigurationArgs', + 'DataSourceProxyConfigurationArgsDict', 'DataSourceS3DataSourceConfigurationArgs', + 'DataSourceS3DataSourceConfigurationArgsDict', 'DataSourceS3PathArgs', + 'DataSourceS3PathArgsDict', 'DataSourceSalesforceChatterFeedConfigurationArgs', + 'DataSourceSalesforceChatterFeedConfigurationArgsDict', 'DataSourceSalesforceConfigurationArgs', + 'DataSourceSalesforceConfigurationArgsDict', 'DataSourceSalesforceCustomKnowledgeArticleTypeConfigurationArgs', + 'DataSourceSalesforceCustomKnowledgeArticleTypeConfigurationArgsDict', 'DataSourceSalesforceKnowledgeArticleConfigurationArgs', + 'DataSourceSalesforceKnowledgeArticleConfigurationArgsDict', 'DataSourceSalesforceStandardKnowledgeArticleTypeConfigurationArgs', + 'DataSourceSalesforceStandardKnowledgeArticleTypeConfigurationArgsDict', 'DataSourceSalesforceStandardObjectAttachmentConfigurationArgs', + 'DataSourceSalesforceStandardObjectAttachmentConfigurationArgsDict', 'DataSourceSalesforceStandardObjectConfigurationArgs', + 'DataSourceSalesforceStandardObjectConfigurationArgsDict', 'DataSourceServiceNowConfigurationArgs', + 'DataSourceServiceNowConfigurationArgsDict', 'DataSourceServiceNowKnowledgeArticleConfigurationArgs', + 'DataSourceServiceNowKnowledgeArticleConfigurationArgsDict', 'DataSourceServiceNowServiceCatalogConfigurationArgs', + 'DataSourceServiceNowServiceCatalogConfigurationArgsDict', 'DataSourceSharePointConfigurationArgs', + 'DataSourceSharePointConfigurationArgsDict', 'DataSourceSqlConfigurationArgs', + 'DataSourceSqlConfigurationArgsDict', 'DataSourceToIndexFieldMappingArgs', + 'DataSourceToIndexFieldMappingArgsDict', 'DataSourceVpcConfigurationArgs', + 'DataSourceVpcConfigurationArgsDict', 'DataSourceWebCrawlerAuthenticationConfigurationArgs', + 'DataSourceWebCrawlerAuthenticationConfigurationArgsDict', 'DataSourceWebCrawlerBasicAuthenticationArgs', + 'DataSourceWebCrawlerBasicAuthenticationArgsDict', 'DataSourceWebCrawlerConfigurationArgs', + 'DataSourceWebCrawlerConfigurationArgsDict', 'DataSourceWebCrawlerSeedUrlConfigurationArgs', + 'DataSourceWebCrawlerSeedUrlConfigurationArgsDict', 'DataSourceWebCrawlerSiteMapsConfigurationArgs', + 'DataSourceWebCrawlerSiteMapsConfigurationArgsDict', 'DataSourceWebCrawlerUrlsArgs', + 'DataSourceWebCrawlerUrlsArgsDict', 'DataSourceWorkDocsConfigurationArgs', + 'DataSourceWorkDocsConfigurationArgsDict', 'FaqS3PathArgs', + 'FaqS3PathArgsDict', 'IndexCapacityUnitsConfigurationArgs', + 'IndexCapacityUnitsConfigurationArgsDict', 'IndexDocumentMetadataConfigurationArgs', + 'IndexDocumentMetadataConfigurationArgsDict', 'IndexJsonTokenTypeConfigurationArgs', + 'IndexJsonTokenTypeConfigurationArgsDict', 'IndexJwtTokenTypeConfigurationArgs', + 'IndexJwtTokenTypeConfigurationArgsDict', 'IndexRelevanceArgs', + 'IndexRelevanceArgsDict', 'IndexSearchArgs', + 'IndexSearchArgsDict', 'IndexServerSideEncryptionConfigurationArgs', + 'IndexServerSideEncryptionConfigurationArgsDict', 'IndexUserTokenConfigurationArgs', + 'IndexUserTokenConfigurationArgsDict', 'IndexValueImportanceItemArgs', + 'IndexValueImportanceItemArgsDict', ] +MYPY = False + +if not MYPY: + class DataSourceAccessControlListConfigurationArgsDict(TypedDict): + key_path: NotRequired[pulumi.Input[str]] + """ + Path to the AWS S3 bucket that contains the access control list files. + """ +elif False: + DataSourceAccessControlListConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceAccessControlListConfigurationArgs: def __init__(__self__, *, @@ -95,6 +170,15 @@ def key_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_path", value) +if not MYPY: + class DataSourceAclConfigurationArgsDict(TypedDict): + allowed_groups_column_name: pulumi.Input[str] + """ + A list of groups, separated by semi-colons, that filters a query response based on user context. The document is only returned to users that are in one of the groups specified in the `UserContext` field of the [Query](https://docs.aws.amazon.com/kendra/latest/dg/API_Query.html) operation. + """ +elif False: + DataSourceAclConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceAclConfigurationArgs: def __init__(__self__, *, @@ -117,6 +201,31 @@ def allowed_groups_column_name(self, value: pulumi.Input[str]): pulumi.set(self, "allowed_groups_column_name", value) +if not MYPY: + class DataSourceColumnConfigurationArgsDict(TypedDict): + change_detecting_columns: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + One to five columns that indicate when a document in the database has changed. + """ + document_data_column_name: pulumi.Input[str] + """ + The column that contains the contents of the document. + """ + document_id_column_name: pulumi.Input[str] + """ + The column that provides the document's identifier. + """ + document_title_column_name: NotRequired[pulumi.Input[str]] + """ + The column that contains the title of the document. + """ + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] + """ + An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the [UpdateIndex](https://docs.aws.amazon.com/kendra/latest/dg/API_UpdateIndex.html) operation. + """ +elif False: + DataSourceColumnConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceColumnConfigurationArgs: def __init__(__self__, *, @@ -201,6 +310,59 @@ def field_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dat pulumi.set(self, "field_mappings", value) +if not MYPY: + class DataSourceConfigurationArgsDict(TypedDict): + confluence_configuration: NotRequired[pulumi.Input['DataSourceConfluenceConfigurationArgsDict']] + """ + Provides the configuration information to connect to Confluence as your data source. + """ + database_configuration: NotRequired[pulumi.Input['DataSourceDatabaseConfigurationArgsDict']] + """ + Provides the configuration information to connect to a database as your data source. + """ + google_drive_configuration: NotRequired[pulumi.Input['DataSourceGoogleDriveConfigurationArgsDict']] + """ + Provides the configuration information to connect to Google Drive as your data source. + """ + one_drive_configuration: NotRequired[pulumi.Input['DataSourceOneDriveConfigurationArgsDict']] + """ + Provides the configuration information to connect to Microsoft OneDrive as your data source. + """ + s3_configuration: NotRequired[pulumi.Input['DataSourceS3DataSourceConfigurationArgsDict']] + """ + Provides the configuration information to connect to an Amazon S3 bucket as your data source. + + > Amazon Kendra now supports an upgraded Amazon S3 connector. + > + > You must now use the [TemplateConfiguration](https://docs.aws.amazon.com/kendra/latest/APIReference/API_TemplateConfiguration.html) object instead of the `S3DataSourceConfiguration` object to configure your connector. + > + > Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector. + > + > We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024. + """ + salesforce_configuration: NotRequired[pulumi.Input['DataSourceSalesforceConfigurationArgsDict']] + """ + Provides the configuration information to connect to Salesforce as your data source. + """ + service_now_configuration: NotRequired[pulumi.Input['DataSourceServiceNowConfigurationArgsDict']] + """ + Provides the configuration information to connect to ServiceNow as your data source. + """ + share_point_configuration: NotRequired[pulumi.Input['DataSourceSharePointConfigurationArgsDict']] + """ + Provides the configuration information to connect to Microsoft SharePoint as your data source. + """ + web_crawler_configuration: NotRequired[pulumi.Input['DataSourceWebCrawlerConfigurationArgsDict']] + """ + Provides the configuration information required for Amazon Kendra Web Crawler. + """ + work_docs_configuration: NotRequired[pulumi.Input['DataSourceWorkDocsConfigurationArgsDict']] + """ + Provides the configuration information to connect to Amazon WorkDocs as your data source. + """ +elif False: + DataSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfigurationArgs: def __init__(__self__, *, @@ -384,6 +546,21 @@ def work_docs_configuration(self, value: Optional[pulumi.Input['DataSourceWorkDo pulumi.set(self, "work_docs_configuration", value) +if not MYPY: + class DataSourceConfluenceAttachmentConfigurationArgsDict(TypedDict): + attachment_field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceConfluenceAttachmentToIndexFieldMappingArgsDict']]]] + """ + Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom fields, use the `UpdateIndex` API before you map to Confluence fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The Confluence data source field names must exist in your Confluence custom metadata. + + If you specify the `AttachentFieldMappings` parameter, you must specify at least one field mapping. + """ + crawl_attachments: NotRequired[pulumi.Input[bool]] + """ + `TRUE` to index attachments of pages and blogs in Confluence. + """ +elif False: + DataSourceConfluenceAttachmentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfluenceAttachmentConfigurationArgs: def __init__(__self__, *, @@ -427,6 +604,14 @@ def crawl_attachments(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "crawl_attachments", value) +if not MYPY: + class DataSourceConfluenceAttachmentToIndexFieldMappingArgsDict(TypedDict): + data_source_field_name: pulumi.Input['DataSourceConfluenceAttachmentFieldName'] + index_field_name: pulumi.Input[str] + date_field_format: NotRequired[pulumi.Input[str]] +elif False: + DataSourceConfluenceAttachmentToIndexFieldMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfluenceAttachmentToIndexFieldMappingArgs: def __init__(__self__, *, @@ -466,6 +651,17 @@ def date_field_format(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "date_field_format", value) +if not MYPY: + class DataSourceConfluenceBlogConfigurationArgsDict(TypedDict): + blog_field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceConfluenceBlogToIndexFieldMappingArgsDict']]]] + """ + Maps attributes or field names of Confluence blogs to Amazon Kendra index field names. To create custom fields, use the `UpdateIndex` API before you map to Confluence fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The Confluence data source field names must exist in your Confluence custom metadata. + + If you specify the `BlogFieldMappings` parameter, you must specify at least one field mapping. + """ +elif False: + DataSourceConfluenceBlogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfluenceBlogConfigurationArgs: def __init__(__self__, *, @@ -493,6 +689,14 @@ def blog_field_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "blog_field_mappings", value) +if not MYPY: + class DataSourceConfluenceBlogToIndexFieldMappingArgsDict(TypedDict): + data_source_field_name: pulumi.Input['DataSourceConfluenceBlogFieldName'] + index_field_name: pulumi.Input[str] + date_field_format: NotRequired[pulumi.Input[str]] +elif False: + DataSourceConfluenceBlogToIndexFieldMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfluenceBlogToIndexFieldMappingArgs: def __init__(__self__, *, @@ -532,6 +736,53 @@ def date_field_format(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "date_field_format", value) +if not MYPY: + class DataSourceConfluenceConfigurationArgsDict(TypedDict): + secret_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password required to connect to the Confluence instance. If you use Confluence Cloud, you use a generated API token as the password. + + You can also provide authentication credentials in the form of a personal access token. For more information, see [Using a Confluence data source](https://docs.aws.amazon.com/kendra/latest/dg/data-source-confluence.html) . + """ + server_url: pulumi.Input[str] + """ + The URL of your Confluence instance. Use the full URL of the server. For example, *https://server.example.com:port/* . You can also use an IP address, for example, *https://192.168.1.113/* . + """ + version: pulumi.Input['DataSourceConfluenceVersion'] + """ + The version or the type of Confluence installation to connect to. + """ + attachment_configuration: NotRequired[pulumi.Input['DataSourceConfluenceAttachmentConfigurationArgsDict']] + """ + Configuration information for indexing attachments to Confluence blogs and pages. + """ + blog_configuration: NotRequired[pulumi.Input['DataSourceConfluenceBlogConfigurationArgsDict']] + """ + Configuration information for indexing Confluence blogs. + """ + exclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index. + """ + inclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index. + """ + page_configuration: NotRequired[pulumi.Input['DataSourceConfluencePageConfigurationArgsDict']] + """ + Configuration information for indexing Confluence pages. + """ + space_configuration: NotRequired[pulumi.Input['DataSourceConfluenceSpaceConfigurationArgsDict']] + """ + Configuration information for indexing Confluence spaces. + """ + vpc_configuration: NotRequired[pulumi.Input['DataSourceVpcConfigurationArgsDict']] + """ + Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see [Configuring a VPC](https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html) . + """ +elif False: + DataSourceConfluenceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfluenceConfigurationArgs: def __init__(__self__, *, @@ -700,6 +951,17 @@ def vpc_configuration(self, value: Optional[pulumi.Input['DataSourceVpcConfigura pulumi.set(self, "vpc_configuration", value) +if not MYPY: + class DataSourceConfluencePageConfigurationArgsDict(TypedDict): + page_field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceConfluencePageToIndexFieldMappingArgsDict']]]] + """ + Maps attributes or field names of Confluence pages to Amazon Kendra index field names. To create custom fields, use the `UpdateIndex` API before you map to Confluence fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The Confluence data source field names must exist in your Confluence custom metadata. + + If you specify the `PageFieldMappings` parameter, you must specify at least one field mapping. + """ +elif False: + DataSourceConfluencePageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfluencePageConfigurationArgs: def __init__(__self__, *, @@ -727,6 +989,14 @@ def page_field_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "page_field_mappings", value) +if not MYPY: + class DataSourceConfluencePageToIndexFieldMappingArgsDict(TypedDict): + data_source_field_name: pulumi.Input['DataSourceConfluencePageFieldName'] + index_field_name: pulumi.Input[str] + date_field_format: NotRequired[pulumi.Input[str]] +elif False: + DataSourceConfluencePageToIndexFieldMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfluencePageToIndexFieldMappingArgs: def __init__(__self__, *, @@ -766,6 +1036,33 @@ def date_field_format(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "date_field_format", value) +if not MYPY: + class DataSourceConfluenceSpaceConfigurationArgsDict(TypedDict): + crawl_archived_spaces: NotRequired[pulumi.Input[bool]] + """ + `TRUE` to index archived spaces. + """ + crawl_personal_spaces: NotRequired[pulumi.Input[bool]] + """ + `TRUE` to index personal spaces. You can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see [Filtering on user context](https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html) . + """ + exclude_spaces: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are not indexed. If a space is in both the `ExcludeSpaces` and the `IncludeSpaces` list, the space is excluded. + """ + include_spaces: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist. Otherwise, Amazon Kendra logs an error when the data source is synchronized. If a space is in both the `IncludeSpaces` and the `ExcludeSpaces` list, the space is excluded. + """ + space_field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceConfluenceSpaceToIndexFieldMappingArgsDict']]]] + """ + Maps attributes or field names of Confluence spaces to Amazon Kendra index field names. To create custom fields, use the `UpdateIndex` API before you map to Confluence fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The Confluence data source field names must exist in your Confluence custom metadata. + + If you specify the `SpaceFieldMappings` parameter, you must specify at least one field mapping. + """ +elif False: + DataSourceConfluenceSpaceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfluenceSpaceConfigurationArgs: def __init__(__self__, *, @@ -857,6 +1154,14 @@ def space_field_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "space_field_mappings", value) +if not MYPY: + class DataSourceConfluenceSpaceToIndexFieldMappingArgsDict(TypedDict): + data_source_field_name: pulumi.Input['DataSourceConfluenceSpaceFieldName'] + index_field_name: pulumi.Input[str] + date_field_format: NotRequired[pulumi.Input[str]] +elif False: + DataSourceConfluenceSpaceToIndexFieldMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConfluenceSpaceToIndexFieldMappingArgs: def __init__(__self__, *, @@ -896,6 +1201,31 @@ def date_field_format(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "date_field_format", value) +if not MYPY: + class DataSourceConnectionConfigurationArgsDict(TypedDict): + database_host: pulumi.Input[str] + """ + The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address. + """ + database_name: pulumi.Input[str] + """ + The name of the database containing the document data. + """ + database_port: pulumi.Input[int] + """ + The port that the database uses for connections. + """ + secret_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that stores the credentials. The credentials should be a user-password pair. For more information, see [Using a Database Data Source](https://docs.aws.amazon.com/kendra/latest/dg/data-source-database.html) . For more information about AWS Secrets Manager , see [What Is AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) in the *AWS Secrets Manager* user guide. + """ + table_name: pulumi.Input[str] + """ + The name of the table that contains the document data. + """ +elif False: + DataSourceConnectionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceConnectionConfigurationArgs: def __init__(__self__, *, @@ -978,6 +1308,27 @@ def table_name(self, value: pulumi.Input[str]): pulumi.set(self, "table_name", value) +if not MYPY: + class DataSourceCustomDocumentEnrichmentConfigurationArgsDict(TypedDict): + inline_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceInlineCustomDocumentEnrichmentConfigurationArgsDict']]]] + """ + Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Kendra. + """ + post_extraction_hook_configuration: NotRequired[pulumi.Input['DataSourceHookConfigurationArgsDict']] + """ + Configuration information for invoking a Lambda function in AWS Lambda on the structured documents with their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see [Advanced data manipulation](https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html#advanced-data-manipulation) . + """ + pre_extraction_hook_configuration: NotRequired[pulumi.Input['DataSourceHookConfigurationArgsDict']] + """ + Configuration information for invoking a Lambda function in AWS Lambda on the original or raw documents before extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see [Advanced data manipulation](https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html#advanced-data-manipulation) . + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of an IAM role with permission to run `PreExtractionHookConfiguration` and `PostExtractionHookConfiguration` for altering document metadata and content during the document ingestion process. For more information, see [an IAM roles for Amazon Kendra](https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html) . + """ +elif False: + DataSourceCustomDocumentEnrichmentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceCustomDocumentEnrichmentConfigurationArgs: def __init__(__self__, *, @@ -1049,6 +1400,35 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class DataSourceDatabaseConfigurationArgsDict(TypedDict): + column_configuration: pulumi.Input['DataSourceColumnConfigurationArgsDict'] + """ + Information about where the index should get the document information from the database. + """ + connection_configuration: pulumi.Input['DataSourceConnectionConfigurationArgsDict'] + """ + Configuration information that's required to connect to a database. + """ + database_engine_type: pulumi.Input['DataSourceDatabaseEngineType'] + """ + The type of database engine that runs the database. + """ + acl_configuration: NotRequired[pulumi.Input['DataSourceAclConfigurationArgsDict']] + """ + Information about the database column that provides information for user context filtering. + """ + sql_configuration: NotRequired[pulumi.Input['DataSourceSqlConfigurationArgsDict']] + """ + Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source. + """ + vpc_configuration: NotRequired[pulumi.Input['DataSourceVpcConfigurationArgsDict']] + """ + Provides information for connecting to an Amazon VPC. + """ +elif False: + DataSourceDatabaseConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDatabaseConfigurationArgs: def __init__(__self__, *, @@ -1149,6 +1529,31 @@ def vpc_configuration(self, value: Optional[pulumi.Input['DataSourceVpcConfigura pulumi.set(self, "vpc_configuration", value) +if not MYPY: + class DataSourceDocumentAttributeConditionArgsDict(TypedDict): + condition_document_attribute_key: pulumi.Input[str] + """ + The identifier of the document attribute used for the condition. + + For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents. + + Amazon Kendra currently does not support `_document_body` as an attribute key used for the condition. + """ + operator: pulumi.Input['DataSourceConditionOperator'] + """ + The condition operator. + + For example, you can use 'Contains' to partially match a string. + """ + condition_on_value: NotRequired[pulumi.Input['DataSourceDocumentAttributeValueArgsDict']] + """ + The value used by the operator. + + For example, you can specify the value 'financial' for strings in the 'Source_URI' field that partially match or contain this value. + """ +elif False: + DataSourceDocumentAttributeConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDocumentAttributeConditionArgs: def __init__(__self__, *, @@ -1218,6 +1623,14 @@ def condition_on_value(self, value: Optional[pulumi.Input['DataSourceDocumentAtt pulumi.set(self, "condition_on_value", value) +if not MYPY: + class DataSourceDocumentAttributeTargetArgsDict(TypedDict): + target_document_attribute_key: pulumi.Input[str] + target_document_attribute_value: NotRequired[pulumi.Input['DataSourceDocumentAttributeValueArgsDict']] + target_document_attribute_value_deletion: NotRequired[pulumi.Input[bool]] +elif False: + DataSourceDocumentAttributeTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDocumentAttributeTargetArgs: def __init__(__self__, *, @@ -1258,6 +1671,29 @@ def target_document_attribute_value_deletion(self, value: Optional[pulumi.Input[ pulumi.set(self, "target_document_attribute_value_deletion", value) +if not MYPY: + class DataSourceDocumentAttributeValueArgsDict(TypedDict): + date_value: NotRequired[pulumi.Input[str]] + """ + A date expressed as an ISO 8601 string. + + It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time. + """ + long_value: NotRequired[pulumi.Input[int]] + """ + A long integer value. + """ + string_list_value: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of strings. The default maximum length or number of strings is 10. + """ + string_value: NotRequired[pulumi.Input[str]] + """ + A string, such as "department". + """ +elif False: + DataSourceDocumentAttributeValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDocumentAttributeValueArgs: def __init__(__self__, *, @@ -1333,6 +1769,15 @@ def string_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "string_value", value) +if not MYPY: + class DataSourceDocumentsMetadataConfigurationArgsDict(TypedDict): + s3_prefix: NotRequired[pulumi.Input[str]] + """ + A prefix used to filter metadata configuration files in the AWS S3 bucket. The S3 bucket might contain multiple metadata files. Use `S3Prefix` to include only the desired metadata files. + """ +elif False: + DataSourceDocumentsMetadataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDocumentsMetadataConfigurationArgs: def __init__(__self__, *, @@ -1356,6 +1801,41 @@ def s3_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_prefix", value) +if not MYPY: + class DataSourceGoogleDriveConfigurationArgsDict(TypedDict): + secret_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of a AWS Secrets Manager secret that contains the credentials required to connect to Google Drive. For more information, see [Using a Google Workspace Drive data source](https://docs.aws.amazon.com/kendra/latest/dg/data-source-google-drive.html) . + """ + exclude_mime_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of MIME types to exclude from the index. All documents matching the specified MIME type are excluded. + + For a list of MIME types, see [Using a Google Workspace Drive data source](https://docs.aws.amazon.com/kendra/latest/dg/data-source-google-drive.html) . + """ + exclude_shared_drives: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of identifiers or shared drives to exclude from the index. All files and folders stored on the shared drive are excluded. + """ + exclude_user_accounts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of email addresses of the users. Documents owned by these users are excluded from the index. Documents shared with excluded users are indexed unless they are excluded in another way. + """ + exclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to exclude certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index. + """ + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] + """ + Maps Google Drive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the `UpdateIndex` API before you map to Google Drive fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The Google Drive data source field names must exist in your Google Drive custom metadata. + """ + inclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to include certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index. + """ +elif False: + DataSourceGoogleDriveConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceGoogleDriveConfigurationArgs: def __init__(__self__, *, @@ -1478,6 +1958,25 @@ def inclusion_patterns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "inclusion_patterns", value) +if not MYPY: + class DataSourceHookConfigurationArgsDict(TypedDict): + lambda_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an IAM role with permission to run a Lambda function during ingestion. For more information, see [an IAM roles for Amazon Kendra](https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html) . + """ + s3_bucket: pulumi.Input[str] + """ + Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see [Data contracts for Lambda functions](https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html#cde-data-contracts-lambda) . + """ + invocation_condition: NotRequired[pulumi.Input['DataSourceDocumentAttributeConditionArgsDict']] + """ + The condition used for when a Lambda function should be invoked. + + For example, you can specify a condition that if there are empty date-time values, then Amazon Kendra should invoke a function that inserts the current date-time. + """ +elif False: + DataSourceHookConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceHookConfigurationArgs: def __init__(__self__, *, @@ -1535,6 +2034,14 @@ def invocation_condition(self, value: Optional[pulumi.Input['DataSourceDocumentA pulumi.set(self, "invocation_condition", value) +if not MYPY: + class DataSourceInlineCustomDocumentEnrichmentConfigurationArgsDict(TypedDict): + condition: NotRequired[pulumi.Input['DataSourceDocumentAttributeConditionArgsDict']] + document_content_deletion: NotRequired[pulumi.Input[bool]] + target: NotRequired[pulumi.Input['DataSourceDocumentAttributeTargetArgsDict']] +elif False: + DataSourceInlineCustomDocumentEnrichmentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceInlineCustomDocumentEnrichmentConfigurationArgs: def __init__(__self__, *, @@ -1576,6 +2083,43 @@ def target(self, value: Optional[pulumi.Input['DataSourceDocumentAttributeTarget pulumi.set(self, "target", value) +if not MYPY: + class DataSourceOneDriveConfigurationArgsDict(TypedDict): + one_drive_users: pulumi.Input['DataSourceOneDriveUsersArgsDict'] + """ + A list of user accounts whose documents should be indexed. + """ + secret_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to connect to OneDrive. The user name should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application. + """ + tenant_domain: pulumi.Input[str] + """ + The Azure Active Directory domain of the organization. + """ + disable_local_groups: NotRequired[pulumi.Input[bool]] + """ + `TRUE` to disable local groups information. + """ + exclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to exclude certain documents in your OneDrive. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index. + + The pattern is applied to the file name. + """ + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] + """ + A list of `DataSourceToIndexFieldMapping` objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the `UpdateIndex` API before you map to OneDrive fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The OneDrive data source field names must exist in your OneDrive custom metadata. + """ + inclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to include certain documents in your OneDrive. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index. + + The pattern is applied to the file name. + """ +elif False: + DataSourceOneDriveConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceOneDriveConfigurationArgs: def __init__(__self__, *, @@ -1700,6 +2244,19 @@ def inclusion_patterns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "inclusion_patterns", value) +if not MYPY: + class DataSourceOneDriveUsersArgsDict(TypedDict): + one_drive_user_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of users whose documents should be indexed. Specify the user names in email format, for example, `username@tenantdomain` . If you need to index the documents of more than 10 users, use the `OneDriveUserS3Path` field to specify the location of a file containing a list of users. + """ + one_drive_user_s3_path: NotRequired[pulumi.Input['DataSourceS3PathArgsDict']] + """ + The S3 bucket location of a file containing a list of users whose documents should be indexed. + """ +elif False: + DataSourceOneDriveUsersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceOneDriveUsersArgs: def __init__(__self__, *, @@ -1739,6 +2296,29 @@ def one_drive_user_s3_path(self, value: Optional[pulumi.Input['DataSourceS3PathA pulumi.set(self, "one_drive_user_s3_path", value) +if not MYPY: + class DataSourceProxyConfigurationArgsDict(TypedDict): + host: pulumi.Input[str] + """ + The name of the website host you want to connect to via a web proxy server. + + For example, the host name of https://a.example.com/page1.html is "a.example.com". + """ + port: pulumi.Input[int] + """ + The port number of the website host you want to connect to via a web proxy server. + + For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS. + """ + credentials: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of an AWS Secrets Manager secret. You create a secret to store your credentials in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) + + The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials. + """ +elif False: + DataSourceProxyConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceProxyConfigurationArgs: def __init__(__self__, *, @@ -1804,6 +2384,60 @@ def credentials(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "credentials", value) +if not MYPY: + class DataSourceS3DataSourceConfigurationArgsDict(TypedDict): + """ + S3 data source configuration + """ + bucket_name: pulumi.Input[str] + """ + The name of the bucket that contains the documents. + """ + access_control_list_configuration: NotRequired[pulumi.Input['DataSourceAccessControlListConfigurationArgsDict']] + """ + Provides the path to the S3 bucket that contains the user context filtering files for the data source. For the format of the file, see [Access control for S3 data sources](https://docs.aws.amazon.com/kendra/latest/dg/s3-acl.html) . + """ + documents_metadata_configuration: NotRequired[pulumi.Input['DataSourceDocumentsMetadataConfigurationArgsDict']] + """ + Specifies document metadata files that contain information such as the document access control information, source URI, document author, and custom attributes. Each metadata file contains metadata about a single document. + """ + exclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of glob patterns (patterns that can expand a wildcard pattern into a list of path names that match the given pattern) for certain file names and file types to exclude from your index. If a document matches both an inclusion and exclusion prefix or pattern, the exclusion prefix takes precendence and the document is not indexed. Examples of glob patterns include: + + - */myapp/config/** —All files inside config directory. + - ***/*.png* —All .png files in all directories. + - ***/*.{png, ico, md}* —All .png, .ico or .md files in all directories. + - */myapp/src/**/*.ts* —All .ts files inside src directory (and all its subdirectories). + - ***/!(*.module).ts* —All .ts files but not .module.ts + - **.png , *.jpg* —All PNG and JPEG image files in a directory (files with the extensions .png and .jpg). + - **internal** —All files in a directory that contain 'internal' in the file name, such as 'internal', 'internal_only', 'company_internal'. + - ***/*internal** —All internal-related files in a directory and its subdirectories. + + For more examples, see [Use of Exclude and Include Filters](https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters) in the AWS CLI Command Reference. + """ + inclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of glob patterns (patterns that can expand a wildcard pattern into a list of path names that match the given pattern) for certain file names and file types to include in your index. If a document matches both an inclusion and exclusion prefix or pattern, the exclusion prefix takes precendence and the document is not indexed. Examples of glob patterns include: + + - */myapp/config/** —All files inside config directory. + - ***/*.png* —All .png files in all directories. + - ***/*.{png, ico, md}* —All .png, .ico or .md files in all directories. + - */myapp/src/**/*.ts* —All .ts files inside src directory (and all its subdirectories). + - ***/!(*.module).ts* —All .ts files but not .module.ts + - **.png , *.jpg* —All PNG and JPEG image files in a directory (files with the extensions .png and .jpg). + - **internal** —All files in a directory that contain 'internal' in the file name, such as 'internal', 'internal_only', 'company_internal'. + - ***/*internal** —All internal-related files in a directory and its subdirectories. + + For more examples, see [Use of Exclude and Include Filters](https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters) in the AWS CLI Command Reference. + """ + inclusion_prefixes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of S3 prefixes for the documents that should be included in the index. + """ +elif False: + DataSourceS3DataSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceS3DataSourceConfigurationArgs: def __init__(__self__, *, @@ -1951,6 +2585,19 @@ def inclusion_prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "inclusion_prefixes", value) +if not MYPY: + class DataSourceS3PathArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + The name of the S3 bucket that contains the file. + """ + key: pulumi.Input[str] + """ + The name of the file. + """ +elif False: + DataSourceS3PathArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceS3PathArgs: def __init__(__self__, *, @@ -1988,6 +2635,27 @@ def key(self, value: pulumi.Input[str]): pulumi.set(self, "key", value) +if not MYPY: + class DataSourceSalesforceChatterFeedConfigurationArgsDict(TypedDict): + document_data_field_name: pulumi.Input[str] + """ + The name of the column in the Salesforce FeedItem table that contains the content to index. Typically this is the `Body` column. + """ + document_title_field_name: NotRequired[pulumi.Input[str]] + """ + The name of the column in the Salesforce FeedItem table that contains the title of the document. This is typically the `Title` column. + """ + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] + """ + Maps fields from a Salesforce chatter feed into Amazon Kendra index fields. + """ + include_filter_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceSalesforceChatterFeedIncludeFilterType']]]] + """ + Filters the documents in the feed based on status of the user. When you specify `ACTIVE_USERS` only documents from users who have an active account are indexed. When you specify `STANDARD_USER` only documents for Salesforce standard users are documented. You can specify both. + """ +elif False: + DataSourceSalesforceChatterFeedConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSalesforceChatterFeedConfigurationArgs: def __init__(__self__, *, @@ -2058,6 +2726,58 @@ def include_filter_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "include_filter_types", value) +if not MYPY: + class DataSourceSalesforceConfigurationArgsDict(TypedDict): + secret_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the key/value pairs required to connect to your Salesforce instance. The secret must contain a JSON structure with the following keys: + + - authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an OAUTH token. + - consumerKey - The application public key generated when you created your Salesforce application. + - consumerSecret - The application private key generated when you created your Salesforce application. + - password - The password associated with the user logging in to the Salesforce instance. + - securityToken - The token associated with the user logging in to the Salesforce instance. + - username - The user name of the user logging in to the Salesforce instance. + """ + server_url: pulumi.Input[str] + """ + The instance URL for the Salesforce site that you want to index. + """ + chatter_feed_configuration: NotRequired[pulumi.Input['DataSourceSalesforceChatterFeedConfigurationArgsDict']] + """ + Configuration information for Salesforce chatter feeds. + """ + crawl_attachments: NotRequired[pulumi.Input[bool]] + """ + Indicates whether Amazon Kendra should index attachments to Salesforce objects. + """ + exclude_attachment_file_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to exclude certain documents in your Salesforce. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index. + + The pattern is applied to the name of the attached file. + """ + include_attachment_file_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to include certain documents in your Salesforce. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index. + + The pattern is applied to the name of the attached file. + """ + knowledge_article_configuration: NotRequired[pulumi.Input['DataSourceSalesforceKnowledgeArticleConfigurationArgsDict']] + """ + Configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both. + """ + standard_object_attachment_configuration: NotRequired[pulumi.Input['DataSourceSalesforceStandardObjectAttachmentConfigurationArgsDict']] + """ + Configuration information for processing attachments to Salesforce standard objects. + """ + standard_object_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceSalesforceStandardObjectConfigurationArgsDict']]]] + """ + Configuration of the Salesforce standard objects that Amazon Kendra indexes. + """ +elif False: + DataSourceSalesforceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSalesforceConfigurationArgs: def __init__(__self__, *, @@ -2229,6 +2949,15 @@ def standard_object_configurations(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "standard_object_configurations", value) +if not MYPY: + class DataSourceSalesforceCustomKnowledgeArticleTypeConfigurationArgsDict(TypedDict): + document_data_field_name: pulumi.Input[str] + name: pulumi.Input[str] + document_title_field_name: NotRequired[pulumi.Input[str]] + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] +elif False: + DataSourceSalesforceCustomKnowledgeArticleTypeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSalesforceCustomKnowledgeArticleTypeConfigurationArgs: def __init__(__self__, *, @@ -2280,6 +3009,23 @@ def field_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dat pulumi.set(self, "field_mappings", value) +if not MYPY: + class DataSourceSalesforceKnowledgeArticleConfigurationArgsDict(TypedDict): + included_states: pulumi.Input[Sequence[pulumi.Input['DataSourceSalesforceKnowledgeArticleState']]] + """ + Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state. + """ + custom_knowledge_article_type_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceSalesforceCustomKnowledgeArticleTypeConfigurationArgsDict']]]] + """ + Configuration information for custom Salesforce knowledge articles. + """ + standard_knowledge_article_type_configuration: NotRequired[pulumi.Input['DataSourceSalesforceStandardKnowledgeArticleTypeConfigurationArgsDict']] + """ + Configuration information for standard Salesforce knowledge articles. + """ +elif False: + DataSourceSalesforceKnowledgeArticleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSalesforceKnowledgeArticleConfigurationArgs: def __init__(__self__, *, @@ -2334,6 +3080,23 @@ def standard_knowledge_article_type_configuration(self, value: Optional[pulumi.I pulumi.set(self, "standard_knowledge_article_type_configuration", value) +if not MYPY: + class DataSourceSalesforceStandardKnowledgeArticleTypeConfigurationArgsDict(TypedDict): + document_data_field_name: pulumi.Input[str] + """ + The name of the field that contains the document data to index. + """ + document_title_field_name: NotRequired[pulumi.Input[str]] + """ + The name of the field that contains the document title. + """ + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] + """ + Maps attributes or field names of the knowledge article to Amazon Kendra index field names. To create custom fields, use the `UpdateIndex` API before you map to Salesforce fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The Salesforce data source field names must exist in your Salesforce custom metadata. + """ +elif False: + DataSourceSalesforceStandardKnowledgeArticleTypeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSalesforceStandardKnowledgeArticleTypeConfigurationArgs: def __init__(__self__, *, @@ -2388,6 +3151,19 @@ def field_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dat pulumi.set(self, "field_mappings", value) +if not MYPY: + class DataSourceSalesforceStandardObjectAttachmentConfigurationArgsDict(TypedDict): + document_title_field_name: NotRequired[pulumi.Input[str]] + """ + The name of the field used for the document title. + """ + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] + """ + One or more objects that map fields in attachments to Amazon Kendra index fields. + """ +elif False: + DataSourceSalesforceStandardObjectAttachmentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSalesforceStandardObjectAttachmentConfigurationArgs: def __init__(__self__, *, @@ -2427,6 +3203,15 @@ def field_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dat pulumi.set(self, "field_mappings", value) +if not MYPY: + class DataSourceSalesforceStandardObjectConfigurationArgsDict(TypedDict): + document_data_field_name: pulumi.Input[str] + name: pulumi.Input['DataSourceSalesforceStandardObjectName'] + document_title_field_name: NotRequired[pulumi.Input[str]] + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] +elif False: + DataSourceSalesforceStandardObjectConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSalesforceStandardObjectConfigurationArgs: def __init__(__self__, *, @@ -2478,6 +3263,37 @@ def field_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dat pulumi.set(self, "field_mappings", value) +if not MYPY: + class DataSourceServiceNowConfigurationArgsDict(TypedDict): + host_url: pulumi.Input[str] + """ + The ServiceNow instance that the data source connects to. The host endpoint should look like the following: *{instance}.service-now.com.* + """ + secret_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the user name and password required to connect to the ServiceNow instance. You can also provide OAuth authentication credentials of user name, password, client ID, and client secret. For more information, see [Using a ServiceNow data source](https://docs.aws.amazon.com/kendra/latest/dg/data-source-servicenow.html) . + """ + service_now_build_version: pulumi.Input['DataSourceServiceNowBuildVersionType'] + """ + The identifier of the release that the ServiceNow host is running. If the host is not running the `LONDON` release, use `OTHERS` . + """ + authentication_type: NotRequired[pulumi.Input['DataSourceServiceNowAuthenticationType']] + """ + The type of authentication used to connect to the ServiceNow instance. If you choose `HTTP_BASIC` , Amazon Kendra is authenticated using the user name and password provided in the AWS Secrets Manager secret in the `SecretArn` field. If you choose `OAUTH2` , Amazon Kendra is authenticated using the credentials of client ID, client secret, user name and password. + + When you use `OAUTH2` authentication, you must generate a token and a client secret using the ServiceNow console. For more information, see [Using a ServiceNow data source](https://docs.aws.amazon.com/kendra/latest/dg/data-source-servicenow.html) . + """ + knowledge_article_configuration: NotRequired[pulumi.Input['DataSourceServiceNowKnowledgeArticleConfigurationArgsDict']] + """ + Configuration information for crawling knowledge articles in the ServiceNow site. + """ + service_catalog_configuration: NotRequired[pulumi.Input['DataSourceServiceNowServiceCatalogConfigurationArgsDict']] + """ + Configuration information for crawling service catalogs in the ServiceNow site. + """ +elif False: + DataSourceServiceNowConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceServiceNowConfigurationArgs: def __init__(__self__, *, @@ -2582,6 +3398,41 @@ def service_catalog_configuration(self, value: Optional[pulumi.Input['DataSource pulumi.set(self, "service_catalog_configuration", value) +if not MYPY: + class DataSourceServiceNowKnowledgeArticleConfigurationArgsDict(TypedDict): + document_data_field_name: pulumi.Input[str] + """ + The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index. + """ + crawl_attachments: NotRequired[pulumi.Input[bool]] + """ + `TRUE` to index attachments to knowledge articles. + """ + document_title_field_name: NotRequired[pulumi.Input[str]] + """ + The name of the ServiceNow field that is mapped to the index document title field. + """ + exclude_attachment_file_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns applied to exclude certain knowledge article attachments. Attachments that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index. + """ + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] + """ + Maps attributes or field names of knoweldge articles to Amazon Kendra index field names. To create custom fields, use the `UpdateIndex` API before you map to ServiceNow fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The ServiceNow data source field names must exist in your ServiceNow custom metadata. + """ + filter_query: NotRequired[pulumi.Input[str]] + """ + A query that selects the knowledge articles to index. The query can return articles from multiple knowledge bases, and the knowledge bases can be public or private. + + The query string must be one generated by the ServiceNow console. For more information, see [Specifying documents to index with a query](https://docs.aws.amazon.com/kendra/latest/dg/servicenow-query.html) . + """ + include_attachment_file_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns applied to include knowledge article attachments. Attachments that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index. + """ +elif False: + DataSourceServiceNowKnowledgeArticleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceServiceNowKnowledgeArticleConfigurationArgs: def __init__(__self__, *, @@ -2704,6 +3555,39 @@ def include_attachment_file_patterns(self, value: Optional[pulumi.Input[Sequence pulumi.set(self, "include_attachment_file_patterns", value) +if not MYPY: + class DataSourceServiceNowServiceCatalogConfigurationArgsDict(TypedDict): + document_data_field_name: pulumi.Input[str] + """ + The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index. + """ + crawl_attachments: NotRequired[pulumi.Input[bool]] + """ + `TRUE` to index attachments to service catalog items. + """ + document_title_field_name: NotRequired[pulumi.Input[str]] + """ + The name of the ServiceNow field that is mapped to the index document title field. + """ + exclude_attachment_file_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to exclude certain attachments of catalogs in your ServiceNow. Item that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index. + + The regex is applied to the file name of the attachment. + """ + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] + """ + Maps attributes or field names of catalogs to Amazon Kendra index field names. To create custom fields, use the `UpdateIndex` API before you map to ServiceNow fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The ServiceNow data source field names must exist in your ServiceNow custom metadata. + """ + include_attachment_file_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to include certain attachments of catalogs in your ServiceNow. Item that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index. + + The regex is applied to the file name of the attachment. + """ +elif False: + DataSourceServiceNowServiceCatalogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceServiceNowServiceCatalogConfigurationArgs: def __init__(__self__, *, @@ -2814,6 +3698,66 @@ def include_attachment_file_patterns(self, value: Optional[pulumi.Input[Sequence pulumi.set(self, "include_attachment_file_patterns", value) +if not MYPY: + class DataSourceSharePointConfigurationArgsDict(TypedDict): + """ + SharePoint configuration + """ + secret_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password required to connect to the SharePoint instance. For more information, see [Microsoft SharePoint](https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html) . + """ + share_point_version: pulumi.Input['DataSourceSharePointConfigurationSharePointVersion'] + """ + The version of Microsoft SharePoint that you use. + """ + urls: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The Microsoft SharePoint site URLs for the documents you want to index. + """ + crawl_attachments: NotRequired[pulumi.Input[bool]] + """ + `TRUE` to index document attachments. + """ + disable_local_groups: NotRequired[pulumi.Input[bool]] + """ + `TRUE` to disable local groups information. + """ + document_title_field_name: NotRequired[pulumi.Input[str]] + """ + The Microsoft SharePoint attribute field that contains the title of the document. + """ + exclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index. + + The regex is applied to the display URL of the SharePoint document. + """ + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] + """ + A list of `DataSourceToIndexFieldMapping` objects that map Microsoft SharePoint attributes or fields to Amazon Kendra index fields. You must first create the index fields using the [UpdateIndex](https://docs.aws.amazon.com/kendra/latest/dg/API_UpdateIndex.html) operation before you map SharePoint attributes. For more information, see [Mapping Data Source Fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . + """ + inclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to include certain documents in your SharePoint. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index. + + The regex applies to the display URL of the SharePoint document. + """ + ssl_certificate_s3_path: NotRequired[pulumi.Input['DataSourceS3PathArgsDict']] + """ + Information required to find a specific file in an Amazon S3 bucket. + """ + use_change_log: NotRequired[pulumi.Input[bool]] + """ + `TRUE` to use the SharePoint change log to determine which documents require updating in the index. Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in SharePoint. + """ + vpc_configuration: NotRequired[pulumi.Input['DataSourceVpcConfigurationArgsDict']] + """ + Provides information for connecting to an Amazon VPC. + """ +elif False: + DataSourceSharePointConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSharePointConfigurationArgs: def __init__(__self__, *, @@ -3019,6 +3963,21 @@ def vpc_configuration(self, value: Optional[pulumi.Input['DataSourceVpcConfigura pulumi.set(self, "vpc_configuration", value) +if not MYPY: + class DataSourceSqlConfigurationArgsDict(TypedDict): + query_identifiers_enclosing_option: NotRequired[pulumi.Input['DataSourceQueryIdentifiersEnclosingOption']] + """ + Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (") when making a database query. You can set the value to `DOUBLE_QUOTES` or `NONE` . + + By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes. + + PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case. + + For MySQL databases, you must enable the ansi_quotes option when you set this field to `DOUBLE_QUOTES` . + """ +elif False: + DataSourceSqlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSqlConfigurationArgs: def __init__(__self__, *, @@ -3054,6 +4013,14 @@ def query_identifiers_enclosing_option(self, value: Optional[pulumi.Input['DataS pulumi.set(self, "query_identifiers_enclosing_option", value) +if not MYPY: + class DataSourceToIndexFieldMappingArgsDict(TypedDict): + data_source_field_name: pulumi.Input[str] + index_field_name: pulumi.Input[str] + date_field_format: NotRequired[pulumi.Input[str]] +elif False: + DataSourceToIndexFieldMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceToIndexFieldMappingArgs: def __init__(__self__, *, @@ -3093,6 +4060,19 @@ def date_field_format(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "date_field_format", value) +if not MYPY: + class DataSourceVpcConfigurationArgsDict(TypedDict): + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Kendra to connect to the data source. + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device. + """ +elif False: + DataSourceVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceVpcConfigurationArgs: def __init__(__self__, *, @@ -3130,6 +4110,17 @@ def subnet_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "subnet_ids", value) +if not MYPY: + class DataSourceWebCrawlerAuthenticationConfigurationArgsDict(TypedDict): + basic_authentication: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceWebCrawlerBasicAuthenticationArgsDict']]]] + """ + The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials. + + The list includes the name and port number of the website host. + """ +elif False: + DataSourceWebCrawlerAuthenticationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceWebCrawlerAuthenticationConfigurationArgs: def __init__(__self__, *, @@ -3157,6 +4148,14 @@ def basic_authentication(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "basic_authentication", value) +if not MYPY: + class DataSourceWebCrawlerBasicAuthenticationArgsDict(TypedDict): + credentials: pulumi.Input[str] + host: pulumi.Input[str] + port: pulumi.Input[int] +elif False: + DataSourceWebCrawlerBasicAuthenticationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceWebCrawlerBasicAuthenticationArgs: def __init__(__self__, *, @@ -3195,6 +4194,73 @@ def port(self, value: pulumi.Input[int]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceWebCrawlerConfigurationArgsDict(TypedDict): + urls: pulumi.Input['DataSourceWebCrawlerUrlsArgsDict'] + """ + Specifies the seed or starting point URLs of the websites or the sitemap URLs of the websites you want to crawl. + + You can include website subdomains. You can list up to 100 seed URLs and up to three sitemap URLs. + + You can only crawl websites that use the secure communication protocol, Hypertext Transfer Protocol Secure (HTTPS). If you receive an error when crawling a website, it could be that the website is blocked from crawling. + + *When selecting websites to index, you must adhere to the [Amazon Acceptable Use Policy](https://docs.aws.amazon.com/aup/) and all other Amazon terms. Remember that you must only use Amazon Kendra Web Crawler to index your own webpages, or webpages that you have authorization to index.* + """ + authentication_configuration: NotRequired[pulumi.Input['DataSourceWebCrawlerAuthenticationConfigurationArgsDict']] + """ + Configuration information required to connect to websites using authentication. + + You can connect to websites using basic authentication of user name and password. You use a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) to store your authentication credentials. + + You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS. + """ + crawl_depth: NotRequired[pulumi.Input[int]] + """ + The 'depth' or number of levels from the seed level to crawl. For example, the seed URL page is depth 1 and any hyperlinks on this page that are also crawled are depth 2. + """ + max_content_size_per_page_in_mega_bytes: NotRequired[pulumi.Input[float]] + """ + The maximum size (in MB) of a web page or attachment to crawl. + + Files larger than this size (in MB) are skipped/not crawled. + + The default maximum size of a web page or attachment is set to 50 MB. + """ + max_links_per_page: NotRequired[pulumi.Input[int]] + """ + The maximum number of URLs on a web page to include when crawling a website. This number is per web page. + + As a website’s web pages are crawled, any URLs the web pages link to are also crawled. URLs on a web page are crawled in order of appearance. + + The default maximum links per page is 100. + """ + max_urls_per_minute_crawl_rate: NotRequired[pulumi.Input[int]] + """ + The maximum number of URLs crawled per website host per minute. + + A minimum of one URL is required. + + The default maximum number of URLs crawled per website host per minute is 300. + """ + proxy_configuration: NotRequired[pulumi.Input['DataSourceProxyConfigurationArgsDict']] + """ + Configuration information required to connect to your internal websites via a web proxy. + + You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is "a.example.com" and the port is 443, the standard port for HTTPS. + + Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication. To store web proxy credentials, you use a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) . + """ + url_exclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to exclude certain URLs to crawl. URLs that match the patterns are excluded from the index. URLs that don't match the patterns are included in the index. If a URL matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the URL file isn't included in the index. + """ + url_inclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to include certain URLs to crawl. URLs that match the patterns are included in the index. URLs that don't match the patterns are excluded from the index. If a URL matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the URL file isn't included in the index. + """ +elif False: + DataSourceWebCrawlerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceWebCrawlerConfigurationArgs: def __init__(__self__, *, @@ -3397,6 +4463,27 @@ def url_inclusion_patterns(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "url_inclusion_patterns", value) +if not MYPY: + class DataSourceWebCrawlerSeedUrlConfigurationArgsDict(TypedDict): + seed_urls: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of seed or starting point URLs of the websites you want to crawl. + + The list can include a maximum of 100 seed URLs. + """ + web_crawler_mode: NotRequired[pulumi.Input['DataSourceWebCrawlerSeedUrlConfigurationWebCrawlerMode']] + """ + You can choose one of the following modes: + + - `HOST_ONLY` —crawl only the website host names. For example, if the seed URL is "abc.example.com", then only URLs with host name "abc.example.com" are crawled. + - `SUBDOMAINS` —crawl the website host names with subdomains. For example, if the seed URL is "abc.example.com", then "a.abc.example.com" and "b.abc.example.com" are also crawled. + - `EVERYTHING` —crawl the website host names with subdomains and other domains that the web pages link to. + + The default mode is set to `HOST_ONLY` . + """ +elif False: + DataSourceWebCrawlerSeedUrlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceWebCrawlerSeedUrlConfigurationArgs: def __init__(__self__, *, @@ -3451,6 +4538,17 @@ def web_crawler_mode(self, value: Optional[pulumi.Input['DataSourceWebCrawlerSee pulumi.set(self, "web_crawler_mode", value) +if not MYPY: + class DataSourceWebCrawlerSiteMapsConfigurationArgsDict(TypedDict): + site_maps: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of sitemap URLs of the websites you want to crawl. + + The list can include a maximum of three sitemap URLs. + """ +elif False: + DataSourceWebCrawlerSiteMapsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceWebCrawlerSiteMapsConfigurationArgs: def __init__(__self__, *, @@ -3477,6 +4575,25 @@ def site_maps(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "site_maps", value) +if not MYPY: + class DataSourceWebCrawlerUrlsArgsDict(TypedDict): + seed_url_configuration: NotRequired[pulumi.Input['DataSourceWebCrawlerSeedUrlConfigurationArgsDict']] + """ + Configuration of the seed or starting point URLs of the websites you want to crawl. + + You can choose to crawl only the website host names, or the website host names with subdomains, or the website host names with subdomains and other domains that the web pages link to. + + You can list up to 100 seed URLs. + """ + site_maps_configuration: NotRequired[pulumi.Input['DataSourceWebCrawlerSiteMapsConfigurationArgsDict']] + """ + Configuration of the sitemap URLs of the websites you want to crawl. + + Only URLs belonging to the same website host names are crawled. You can list up to three sitemap URLs. + """ +elif False: + DataSourceWebCrawlerUrlsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceWebCrawlerUrlsArgs: def __init__(__self__, *, @@ -3528,6 +4645,39 @@ def site_maps_configuration(self, value: Optional[pulumi.Input['DataSourceWebCra pulumi.set(self, "site_maps_configuration", value) +if not MYPY: + class DataSourceWorkDocsConfigurationArgsDict(TypedDict): + organization_id: pulumi.Input[str] + """ + The identifier of the directory corresponding to your Amazon WorkDocs site repository. + + You can find the organization ID in the [AWS Directory Service](https://docs.aws.amazon.com/directoryservicev2/) by going to *Active Directory* , then *Directories* . Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the AWS Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console. + """ + crawl_comments: NotRequired[pulumi.Input[bool]] + """ + `TRUE` to include comments on documents in your index. Including comments in your index means each comment is a document that can be searched on. + + The default is set to `FALSE` . + """ + exclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index. + """ + field_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceToIndexFieldMappingArgsDict']]]] + """ + A list of `DataSourceToIndexFieldMapping` objects that map Amazon WorkDocs data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the `UpdateIndex` API before you map to Amazon WorkDocs fields. For more information, see [Mapping data source fields](https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html) . The Amazon WorkDocs data source field names must exist in your Amazon WorkDocs custom metadata. + """ + inclusion_patterns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index. + """ + use_change_log: NotRequired[pulumi.Input[bool]] + """ + `TRUE` to use the Amazon WorkDocs change log to determine which documents require updating in the index. Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in Amazon WorkDocs. + """ +elif False: + DataSourceWorkDocsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceWorkDocsConfigurationArgs: def __init__(__self__, *, @@ -3638,6 +4788,19 @@ def use_change_log(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_change_log", value) +if not MYPY: + class FaqS3PathArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + The name of the S3 bucket that contains the file. + """ + key: pulumi.Input[str] + """ + The name of the file. + """ +elif False: + FaqS3PathArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FaqS3PathArgs: def __init__(__self__, *, @@ -3675,6 +4838,23 @@ def key(self, value: pulumi.Input[str]): pulumi.set(self, "key", value) +if not MYPY: + class IndexCapacityUnitsConfigurationArgsDict(TypedDict): + query_capacity_units: pulumi.Input[int] + """ + The amount of extra query capacity for an index and [GetQuerySuggestions](https://docs.aws.amazon.com/kendra/latest/dg/API_GetQuerySuggestions.html) capacity. + + A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100 extra capacity units. + + `GetQuerySuggestions` capacity is five times the provisioned query capacity for an index, or the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries per second, and `GetQuerySuggestions` capacity has a base of 2.5 calls per second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, the `GetQuerySuggestions` capacity is 2.5 calls per second (higher than five times 0.2 queries per second). + """ + storage_capacity_units: pulumi.Input[int] + """ + The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first. You can add up to 100 extra capacity units. + """ +elif False: + IndexCapacityUnitsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexCapacityUnitsConfigurationArgs: def __init__(__self__, *, @@ -3720,6 +4900,15 @@ def storage_capacity_units(self, value: pulumi.Input[int]): pulumi.set(self, "storage_capacity_units", value) +if not MYPY: + class IndexDocumentMetadataConfigurationArgsDict(TypedDict): + name: pulumi.Input[str] + type: pulumi.Input['IndexDocumentAttributeValueType'] + relevance: NotRequired[pulumi.Input['IndexRelevanceArgsDict']] + search: NotRequired[pulumi.Input['IndexSearchArgsDict']] +elif False: + IndexDocumentMetadataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexDocumentMetadataConfigurationArgs: def __init__(__self__, *, @@ -3771,6 +4960,13 @@ def search(self, value: Optional[pulumi.Input['IndexSearchArgs']]): pulumi.set(self, "search", value) +if not MYPY: + class IndexJsonTokenTypeConfigurationArgsDict(TypedDict): + group_attribute_field: pulumi.Input[str] + user_name_attribute_field: pulumi.Input[str] +elif False: + IndexJsonTokenTypeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexJsonTokenTypeConfigurationArgs: def __init__(__self__, *, @@ -3798,6 +4994,18 @@ def user_name_attribute_field(self, value: pulumi.Input[str]): pulumi.set(self, "user_name_attribute_field", value) +if not MYPY: + class IndexJwtTokenTypeConfigurationArgsDict(TypedDict): + key_location: pulumi.Input['IndexKeyLocation'] + claim_regex: NotRequired[pulumi.Input[str]] + group_attribute_field: NotRequired[pulumi.Input[str]] + issuer: NotRequired[pulumi.Input[str]] + secret_manager_arn: NotRequired[pulumi.Input[str]] + url: NotRequired[pulumi.Input[str]] + user_name_attribute_field: NotRequired[pulumi.Input[str]] +elif False: + IndexJwtTokenTypeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexJwtTokenTypeConfigurationArgs: def __init__(__self__, *, @@ -3886,6 +5094,16 @@ def user_name_attribute_field(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_name_attribute_field", value) +if not MYPY: + class IndexRelevanceArgsDict(TypedDict): + duration: NotRequired[pulumi.Input[str]] + freshness: NotRequired[pulumi.Input[bool]] + importance: NotRequired[pulumi.Input[int]] + rank_order: NotRequired[pulumi.Input['IndexOrder']] + value_importance_items: NotRequired[pulumi.Input[Sequence[pulumi.Input['IndexValueImportanceItemArgsDict']]]] +elif False: + IndexRelevanceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexRelevanceArgs: def __init__(__self__, *, @@ -3951,6 +5169,15 @@ def value_importance_items(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "value_importance_items", value) +if not MYPY: + class IndexSearchArgsDict(TypedDict): + displayable: NotRequired[pulumi.Input[bool]] + facetable: NotRequired[pulumi.Input[bool]] + searchable: NotRequired[pulumi.Input[bool]] + sortable: NotRequired[pulumi.Input[bool]] +elif False: + IndexSearchArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexSearchArgs: def __init__(__self__, *, @@ -4004,6 +5231,15 @@ def sortable(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "sortable", value) +if not MYPY: + class IndexServerSideEncryptionConfigurationArgsDict(TypedDict): + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The identifier of the AWS KMS key . Amazon Kendra doesn't support asymmetric keys. + """ +elif False: + IndexServerSideEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexServerSideEncryptionConfigurationArgs: def __init__(__self__, *, @@ -4027,6 +5263,13 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class IndexUserTokenConfigurationArgsDict(TypedDict): + json_token_type_configuration: NotRequired[pulumi.Input['IndexJsonTokenTypeConfigurationArgsDict']] + jwt_token_type_configuration: NotRequired[pulumi.Input['IndexJwtTokenTypeConfigurationArgsDict']] +elif False: + IndexUserTokenConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexUserTokenConfigurationArgs: def __init__(__self__, *, @@ -4056,6 +5299,13 @@ def jwt_token_type_configuration(self, value: Optional[pulumi.Input['IndexJwtTok pulumi.set(self, "jwt_token_type_configuration", value) +if not MYPY: + class IndexValueImportanceItemArgsDict(TypedDict): + key: NotRequired[pulumi.Input[str]] + value: NotRequired[pulumi.Input[int]] +elif False: + IndexValueImportanceItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexValueImportanceItemArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/kendra/data_source.py b/sdk/python/pulumi_aws_native/kendra/data_source.py index 0d852a38b1..fb4ecf1dfa 100644 --- a/sdk/python/pulumi_aws_native/kendra/data_source.py +++ b/sdk/python/pulumi_aws_native/kendra/data_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/kendra/faq.py b/sdk/python/pulumi_aws_native/kendra/faq.py index e57800e5a6..8bc9643b3b 100644 --- a/sdk/python/pulumi_aws_native/kendra/faq.py +++ b/sdk/python/pulumi_aws_native/kendra/faq.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/kendra/get_data_source.py b/sdk/python/pulumi_aws_native/kendra/get_data_source.py index 216397f490..1f3e9818b0 100644 --- a/sdk/python/pulumi_aws_native/kendra/get_data_source.py +++ b/sdk/python/pulumi_aws_native/kendra/get_data_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -206,9 +211,6 @@ def get_data_source(id: Optional[str] = None, role_arn=pulumi.get(__ret__, 'role_arn'), schedule=pulumi.get(__ret__, 'schedule'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_data_source) def get_data_source_output(id: Optional[pulumi.Input[str]] = None, index_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataSourceResult]: @@ -221,4 +223,20 @@ def get_data_source_output(id: Optional[pulumi.Input[str]] = None, `b8cae438-6787-4091-8897-684a652bbb0a` . :param str index_id: The identifier of the index you want to use with the data source connector. """ - ... + __args__ = dict() + __args__['id'] = id + __args__['indexId'] = index_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kendra:getDataSource', __args__, opts=opts, typ=GetDataSourceResult) + return __ret__.apply(lambda __response__: GetDataSourceResult( + arn=pulumi.get(__response__, 'arn'), + custom_document_enrichment_configuration=pulumi.get(__response__, 'custom_document_enrichment_configuration'), + data_source_configuration=pulumi.get(__response__, 'data_source_configuration'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + index_id=pulumi.get(__response__, 'index_id'), + language_code=pulumi.get(__response__, 'language_code'), + name=pulumi.get(__response__, 'name'), + role_arn=pulumi.get(__response__, 'role_arn'), + schedule=pulumi.get(__response__, 'schedule'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/kendra/get_faq.py b/sdk/python/pulumi_aws_native/kendra/get_faq.py index 972255931e..688dc79f4f 100644 --- a/sdk/python/pulumi_aws_native/kendra/get_faq.py +++ b/sdk/python/pulumi_aws_native/kendra/get_faq.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -103,9 +108,6 @@ def get_faq(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), language_code=pulumi.get(__ret__, 'language_code'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_faq) def get_faq_output(id: Optional[pulumi.Input[str]] = None, index_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFaqResult]: @@ -118,4 +120,13 @@ def get_faq_output(id: Optional[pulumi.Input[str]] = None, `f61995a6-cd5c-4e99-9cfc-58816d8bfaa7` :param str index_id: Index ID """ - ... + __args__ = dict() + __args__['id'] = id + __args__['indexId'] = index_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kendra:getFaq', __args__, opts=opts, typ=GetFaqResult) + return __ret__.apply(lambda __response__: GetFaqResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + language_code=pulumi.get(__response__, 'language_code'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/kendra/get_index.py b/sdk/python/pulumi_aws_native/kendra/get_index.py index c04176a832..cf6a2917d2 100644 --- a/sdk/python/pulumi_aws_native/kendra/get_index.py +++ b/sdk/python/pulumi_aws_native/kendra/get_index.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -184,9 +189,6 @@ def get_index(id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), user_context_policy=pulumi.get(__ret__, 'user_context_policy'), user_token_configurations=pulumi.get(__ret__, 'user_token_configurations')) - - -@_utilities.lift_output_func(get_index) def get_index_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIndexResult]: """ @@ -195,4 +197,18 @@ def get_index_output(id: Optional[pulumi.Input[str]] = None, :param str id: The identifier for the index. For example: `f4aeaa10-8056-4b2c-a343-522ca0f41234` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kendra:getIndex', __args__, opts=opts, typ=GetIndexResult) + return __ret__.apply(lambda __response__: GetIndexResult( + arn=pulumi.get(__response__, 'arn'), + capacity_units=pulumi.get(__response__, 'capacity_units'), + description=pulumi.get(__response__, 'description'), + document_metadata_configurations=pulumi.get(__response__, 'document_metadata_configurations'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'), + user_context_policy=pulumi.get(__response__, 'user_context_policy'), + user_token_configurations=pulumi.get(__response__, 'user_token_configurations'))) diff --git a/sdk/python/pulumi_aws_native/kendra/index.py b/sdk/python/pulumi_aws_native/kendra/index.py index 90fa4f6603..018b1ae5b2 100644 --- a/sdk/python/pulumi_aws_native/kendra/index.py +++ b/sdk/python/pulumi_aws_native/kendra/index.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/kendra/outputs.py b/sdk/python/pulumi_aws_native/kendra/outputs.py index c619bde8b2..74fc65cfbd 100644 --- a/sdk/python/pulumi_aws_native/kendra/outputs.py +++ b/sdk/python/pulumi_aws_native/kendra/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/kendraranking/_inputs.py b/sdk/python/pulumi_aws_native/kendraranking/_inputs.py index 3408454007..0c6bb74d0d 100644 --- a/sdk/python/pulumi_aws_native/kendraranking/_inputs.py +++ b/sdk/python/pulumi_aws_native/kendraranking/_inputs.py @@ -4,15 +4,34 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'ExecutionPlanCapacityUnitsConfigurationArgs', + 'ExecutionPlanCapacityUnitsConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ExecutionPlanCapacityUnitsConfigurationArgsDict(TypedDict): + rescore_capacity_units: pulumi.Input[int] + """ + The amount of extra capacity for your rescore execution plan. + + A single extra capacity unit for a rescore execution plan provides 0.01 rescore requests per second. You can add up to 1000 extra capacity units. + """ +elif False: + ExecutionPlanCapacityUnitsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ExecutionPlanCapacityUnitsConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/kendraranking/execution_plan.py b/sdk/python/pulumi_aws_native/kendraranking/execution_plan.py index 7c6ae5ed40..8201f49916 100644 --- a/sdk/python/pulumi_aws_native/kendraranking/execution_plan.py +++ b/sdk/python/pulumi_aws_native/kendraranking/execution_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/kendraranking/get_execution_plan.py b/sdk/python/pulumi_aws_native/kendraranking/get_execution_plan.py index 61fff76036..a0f95fe16d 100644 --- a/sdk/python/pulumi_aws_native/kendraranking/get_execution_plan.py +++ b/sdk/python/pulumi_aws_native/kendraranking/get_execution_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -123,9 +128,6 @@ def get_execution_plan(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_execution_plan) def get_execution_plan_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetExecutionPlanResult]: """ @@ -134,4 +136,14 @@ def get_execution_plan_output(id: Optional[pulumi.Input[str]] = None, :param str id: The identifier of the rescore execution plan. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kendraranking:getExecutionPlan', __args__, opts=opts, typ=GetExecutionPlanResult) + return __ret__.apply(lambda __response__: GetExecutionPlanResult( + arn=pulumi.get(__response__, 'arn'), + capacity_units=pulumi.get(__response__, 'capacity_units'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/kendraranking/outputs.py b/sdk/python/pulumi_aws_native/kendraranking/outputs.py index 0f4cdf4a78..7c75b28a84 100644 --- a/sdk/python/pulumi_aws_native/kendraranking/outputs.py +++ b/sdk/python/pulumi_aws_native/kendraranking/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/kinesis/_inputs.py b/sdk/python/pulumi_aws_native/kinesis/_inputs.py index e994b3d68a..ed44dca389 100644 --- a/sdk/python/pulumi_aws_native/kinesis/_inputs.py +++ b/sdk/python/pulumi_aws_native/kinesis/_inputs.py @@ -4,17 +4,42 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'StreamEncryptionArgs', + 'StreamEncryptionArgsDict', 'StreamModeDetailsArgs', + 'StreamModeDetailsArgsDict', ] +MYPY = False + +if not MYPY: + class StreamEncryptionArgsDict(TypedDict): + """ + When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream. Removing this property from your stack template and updating your stack disables encryption. + """ + encryption_type: pulumi.Input['StreamEncryptionEncryptionType'] + """ + The encryption type to use. The only valid value is KMS. + """ + key_id: pulumi.Input[str] + """ + The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis. + """ +elif False: + StreamEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamEncryptionArgs: def __init__(__self__, *, @@ -53,6 +78,18 @@ def key_id(self, value: pulumi.Input[str]): pulumi.set(self, "key_id", value) +if not MYPY: + class StreamModeDetailsArgsDict(TypedDict): + """ + When specified, enables or updates the mode of stream. Default is PROVISIONED. + """ + stream_mode: pulumi.Input['StreamModeDetailsStreamMode'] + """ + The mode of the stream + """ +elif False: + StreamModeDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamModeDetailsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/kinesis/get_resource_policy.py b/sdk/python/pulumi_aws_native/kinesis/get_resource_policy.py index 56f8e65048..62134714db 100644 --- a/sdk/python/pulumi_aws_native/kinesis/get_resource_policy.py +++ b/sdk/python/pulumi_aws_native/kinesis/get_resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -58,9 +63,6 @@ def get_resource_policy(resource_arn: Optional[str] = None, return AwaitableGetResourcePolicyResult( resource_policy=pulumi.get(__ret__, 'resource_policy')) - - -@_utilities.lift_output_func(get_resource_policy) def get_resource_policy_output(resource_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourcePolicyResult]: """ @@ -69,4 +71,9 @@ def get_resource_policy_output(resource_arn: Optional[pulumi.Input[str]] = None, :param str resource_arn: The ARN of the AWS Kinesis resource to which the policy applies. """ - ... + __args__ = dict() + __args__['resourceArn'] = resource_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kinesis:getResourcePolicy', __args__, opts=opts, typ=GetResourcePolicyResult) + return __ret__.apply(lambda __response__: GetResourcePolicyResult( + resource_policy=pulumi.get(__response__, 'resource_policy'))) diff --git a/sdk/python/pulumi_aws_native/kinesis/get_stream.py b/sdk/python/pulumi_aws_native/kinesis/get_stream.py index 7f83cd695d..d38705681b 100644 --- a/sdk/python/pulumi_aws_native/kinesis/get_stream.py +++ b/sdk/python/pulumi_aws_native/kinesis/get_stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_stream(name: Optional[str] = None, stream_encryption=pulumi.get(__ret__, 'stream_encryption'), stream_mode_details=pulumi.get(__ret__, 'stream_mode_details'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_stream) def get_stream_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStreamResult]: """ @@ -135,4 +137,14 @@ def get_stream_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Kinesis stream. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kinesis:getStream', __args__, opts=opts, typ=GetStreamResult) + return __ret__.apply(lambda __response__: GetStreamResult( + arn=pulumi.get(__response__, 'arn'), + retention_period_hours=pulumi.get(__response__, 'retention_period_hours'), + shard_count=pulumi.get(__response__, 'shard_count'), + stream_encryption=pulumi.get(__response__, 'stream_encryption'), + stream_mode_details=pulumi.get(__response__, 'stream_mode_details'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/kinesis/outputs.py b/sdk/python/pulumi_aws_native/kinesis/outputs.py index 69a349d0a1..77983ff802 100644 --- a/sdk/python/pulumi_aws_native/kinesis/outputs.py +++ b/sdk/python/pulumi_aws_native/kinesis/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/kinesis/resource_policy.py b/sdk/python/pulumi_aws_native/kinesis/resource_policy.py index ce381c4978..4fcfa8985b 100644 --- a/sdk/python/pulumi_aws_native/kinesis/resource_policy.py +++ b/sdk/python/pulumi_aws_native/kinesis/resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ResourcePolicyArgs', 'ResourcePolicy'] diff --git a/sdk/python/pulumi_aws_native/kinesis/stream.py b/sdk/python/pulumi_aws_native/kinesis/stream.py index 44b23cbaa2..31c82cad9e 100644 --- a/sdk/python/pulumi_aws_native/kinesis/stream.py +++ b/sdk/python/pulumi_aws_native/kinesis/stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/kinesisanalyticsv2/_inputs.py b/sdk/python/pulumi_aws_native/kinesisanalyticsv2/_inputs.py index 13278e75bf..a5a42f07f9 100644 --- a/sdk/python/pulumi_aws_native/kinesisanalyticsv2/_inputs.py +++ b/sdk/python/pulumi_aws_native/kinesisanalyticsv2/_inputs.py @@ -4,53 +4,110 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ApplicationCatalogConfigurationArgs', + 'ApplicationCatalogConfigurationArgsDict', 'ApplicationCheckpointConfigurationArgs', + 'ApplicationCheckpointConfigurationArgsDict', 'ApplicationCodeConfigurationArgs', + 'ApplicationCodeConfigurationArgsDict', 'ApplicationCodeContentArgs', + 'ApplicationCodeContentArgsDict', 'ApplicationConfigurationArgs', + 'ApplicationConfigurationArgsDict', 'ApplicationCsvMappingParametersArgs', + 'ApplicationCsvMappingParametersArgsDict', 'ApplicationCustomArtifactConfigurationArgs', + 'ApplicationCustomArtifactConfigurationArgsDict', 'ApplicationDeployAsApplicationConfigurationArgs', + 'ApplicationDeployAsApplicationConfigurationArgsDict', 'ApplicationEnvironmentPropertiesArgs', + 'ApplicationEnvironmentPropertiesArgsDict', 'ApplicationFlinkApplicationConfigurationArgs', + 'ApplicationFlinkApplicationConfigurationArgsDict', 'ApplicationFlinkRunConfigurationArgs', + 'ApplicationFlinkRunConfigurationArgsDict', 'ApplicationGlueDataCatalogConfigurationArgs', + 'ApplicationGlueDataCatalogConfigurationArgsDict', 'ApplicationInputLambdaProcessorArgs', + 'ApplicationInputLambdaProcessorArgsDict', 'ApplicationInputParallelismArgs', + 'ApplicationInputParallelismArgsDict', 'ApplicationInputProcessingConfigurationArgs', + 'ApplicationInputProcessingConfigurationArgsDict', 'ApplicationInputSchemaArgs', + 'ApplicationInputSchemaArgsDict', 'ApplicationInputArgs', + 'ApplicationInputArgsDict', 'ApplicationJsonMappingParametersArgs', + 'ApplicationJsonMappingParametersArgsDict', 'ApplicationKinesisFirehoseInputArgs', + 'ApplicationKinesisFirehoseInputArgsDict', 'ApplicationKinesisStreamsInputArgs', + 'ApplicationKinesisStreamsInputArgsDict', 'ApplicationMaintenanceConfigurationArgs', + 'ApplicationMaintenanceConfigurationArgsDict', 'ApplicationMappingParametersArgs', + 'ApplicationMappingParametersArgsDict', 'ApplicationMavenReferenceArgs', + 'ApplicationMavenReferenceArgsDict', 'ApplicationMonitoringConfigurationArgs', + 'ApplicationMonitoringConfigurationArgsDict', 'ApplicationParallelismConfigurationArgs', + 'ApplicationParallelismConfigurationArgsDict', 'ApplicationPropertyGroupArgs', + 'ApplicationPropertyGroupArgsDict', 'ApplicationRecordColumnArgs', + 'ApplicationRecordColumnArgsDict', 'ApplicationRecordFormatArgs', + 'ApplicationRecordFormatArgsDict', 'ApplicationRestoreConfigurationArgs', + 'ApplicationRestoreConfigurationArgsDict', 'ApplicationRunConfigurationArgs', + 'ApplicationRunConfigurationArgsDict', 'ApplicationS3ContentBaseLocationArgs', + 'ApplicationS3ContentBaseLocationArgsDict', 'ApplicationS3ContentLocationArgs', + 'ApplicationS3ContentLocationArgsDict', 'ApplicationSnapshotConfigurationArgs', + 'ApplicationSnapshotConfigurationArgsDict', 'ApplicationSqlApplicationConfigurationArgs', + 'ApplicationSqlApplicationConfigurationArgsDict', 'ApplicationSystemRollbackConfigurationArgs', + 'ApplicationSystemRollbackConfigurationArgsDict', 'ApplicationVpcConfigurationArgs', + 'ApplicationVpcConfigurationArgsDict', 'ApplicationZeppelinApplicationConfigurationArgs', + 'ApplicationZeppelinApplicationConfigurationArgsDict', 'ApplicationZeppelinMonitoringConfigurationArgs', + 'ApplicationZeppelinMonitoringConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ApplicationCatalogConfigurationArgsDict(TypedDict): + """ + The configuration parameters for the default Amazon Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook. + """ + glue_data_catalog_configuration: NotRequired[pulumi.Input['ApplicationGlueDataCatalogConfigurationArgsDict']] + """ + The configuration parameters for the default Amazon Glue database. You use this database for Apache Flink SQL queries and table API transforms that you write in a Kinesis Data Analytics Studio notebook. + """ +elif False: + ApplicationCatalogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationCatalogConfigurationArgs: def __init__(__self__, *, @@ -75,6 +132,30 @@ def glue_data_catalog_configuration(self, value: Optional[pulumi.Input['Applicat pulumi.set(self, "glue_data_catalog_configuration", value) +if not MYPY: + class ApplicationCheckpointConfigurationArgsDict(TypedDict): + """ + Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance in the Apache Flink Documentation. + """ + configuration_type: pulumi.Input['ApplicationCheckpointConfigurationConfigurationType'] + """ + Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior. You must set this property to `CUSTOM` in order to set the `CheckpointingEnabled`, `CheckpointInterval`, or `MinPauseBetweenCheckpoints` parameters. + """ + checkpoint_interval: NotRequired[pulumi.Input[int]] + """ + Describes the interval in milliseconds between checkpoint operations. + """ + checkpointing_enabled: NotRequired[pulumi.Input[bool]] + """ + Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application. + """ + min_pause_between_checkpoints: NotRequired[pulumi.Input[int]] + """ + Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. If a checkpoint operation takes longer than the CheckpointInterval, the application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointing in the Apache Flink Documentation. + """ +elif False: + ApplicationCheckpointConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationCheckpointConfigurationArgs: def __init__(__self__, *, @@ -146,6 +227,22 @@ def min_pause_between_checkpoints(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min_pause_between_checkpoints", value) +if not MYPY: + class ApplicationCodeConfigurationArgsDict(TypedDict): + """ + Describes code configuration for an application. + """ + code_content: pulumi.Input['ApplicationCodeContentArgsDict'] + """ + The location and type of the application code. + """ + code_content_type: pulumi.Input['ApplicationCodeConfigurationCodeContentType'] + """ + Specifies whether the code content is in text or zip format. + """ +elif False: + ApplicationCodeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationCodeConfigurationArgs: def __init__(__self__, *, @@ -184,6 +281,26 @@ def code_content_type(self, value: pulumi.Input['ApplicationCodeConfigurationCod pulumi.set(self, "code_content_type", value) +if not MYPY: + class ApplicationCodeContentArgsDict(TypedDict): + """ + Specifies either the application code, or the location of the application code, for a Flink-based Kinesis Data Analytics application. + """ + s3_content_location: NotRequired[pulumi.Input['ApplicationS3ContentLocationArgsDict']] + """ + Information about the Amazon S3 bucket that contains the application code. + """ + text_content: NotRequired[pulumi.Input[str]] + """ + The text-format code for a Flink-based Kinesis Data Analytics application. + """ + zip_file_content: NotRequired[pulumi.Input[str]] + """ + The zip-format code for a Flink-based Kinesis Data Analytics application. + """ +elif False: + ApplicationCodeContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationCodeContentArgs: def __init__(__self__, *, @@ -240,6 +357,46 @@ def zip_file_content(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "zip_file_content", value) +if not MYPY: + class ApplicationConfigurationArgsDict(TypedDict): + """ + Specifies the creation parameters for a Kinesis Data Analytics application. + """ + application_code_configuration: NotRequired[pulumi.Input['ApplicationCodeConfigurationArgsDict']] + """ + The code location and type parameters for a Flink-based Kinesis Data Analytics application. + """ + application_snapshot_configuration: NotRequired[pulumi.Input['ApplicationSnapshotConfigurationArgsDict']] + """ + Describes whether snapshots are enabled for a Flink-based Kinesis Data Analytics application. + """ + application_system_rollback_configuration: NotRequired[pulumi.Input['ApplicationSystemRollbackConfigurationArgsDict']] + """ + Describes whether system initiated rollbacks are enabled for a Flink-based Kinesis Data Analytics application. + """ + environment_properties: NotRequired[pulumi.Input['ApplicationEnvironmentPropertiesArgsDict']] + """ + Describes execution properties for a Flink-based Kinesis Data Analytics application. + """ + flink_application_configuration: NotRequired[pulumi.Input['ApplicationFlinkApplicationConfigurationArgsDict']] + """ + The creation and update parameters for a Flink-based Kinesis Data Analytics application. + """ + sql_application_configuration: NotRequired[pulumi.Input['ApplicationSqlApplicationConfigurationArgsDict']] + """ + The creation and update parameters for a SQL-based Kinesis Data Analytics application. + """ + vpc_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationVpcConfigurationArgsDict']]]] + """ + The array of descriptions of VPC configurations available to the application. + """ + zeppelin_application_configuration: NotRequired[pulumi.Input['ApplicationZeppelinApplicationConfigurationArgsDict']] + """ + The configuration parameters for a Kinesis Data Analytics Studio notebook. + """ +elif False: + ApplicationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationConfigurationArgs: def __init__(__self__, *, @@ -376,6 +533,24 @@ def zeppelin_application_configuration(self, value: Optional[pulumi.Input['Appli pulumi.set(self, "zeppelin_application_configuration", value) +if not MYPY: + class ApplicationCsvMappingParametersArgsDict(TypedDict): + """ + For a SQL-based Kinesis Data Analytics application, provides additional mapping information when the record format uses delimiters, such as CSV. For example, the following sample records use CSV format, where the records use the '\\n' as the row delimiter and a comma (",") as the column delimiter: + `"name1", "address1"` + `"name2", "address2"` + """ + record_column_delimiter: pulumi.Input[str] + """ + The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter. + """ + record_row_delimiter: pulumi.Input[str] + """ + The row delimiter. For example, in a CSV format, '\\n' is the typical row delimiter. + """ +elif False: + ApplicationCsvMappingParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationCsvMappingParametersArgs: def __init__(__self__, *, @@ -416,6 +591,26 @@ def record_row_delimiter(self, value: pulumi.Input[str]): pulumi.set(self, "record_row_delimiter", value) +if not MYPY: + class ApplicationCustomArtifactConfigurationArgsDict(TypedDict): + """ + The configuration of connectors and user-defined functions. + """ + artifact_type: pulumi.Input['ApplicationCustomArtifactConfigurationArtifactType'] + """ + Set this to either `UDF` or `DEPENDENCY_JAR`. `UDF` stands for user-defined functions. This type of artifact must be in an S3 bucket. A `DEPENDENCY_JAR` can be in either Maven or an S3 bucket. + """ + maven_reference: NotRequired[pulumi.Input['ApplicationMavenReferenceArgsDict']] + """ + The parameters required to fully specify a Maven reference. + """ + s3_content_location: NotRequired[pulumi.Input['ApplicationS3ContentLocationArgsDict']] + """ + The location of the custom artifacts. + """ +elif False: + ApplicationCustomArtifactConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationCustomArtifactConfigurationArgs: def __init__(__self__, *, @@ -471,6 +666,18 @@ def s3_content_location(self, value: Optional[pulumi.Input['ApplicationS3Content pulumi.set(self, "s3_content_location", value) +if not MYPY: + class ApplicationDeployAsApplicationConfigurationArgsDict(TypedDict): + """ + The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state. + """ + s3_content_location: pulumi.Input['ApplicationS3ContentBaseLocationArgsDict'] + """ + The description of an Amazon S3 object that contains the Amazon Data Analytics application, including the Amazon Resource Name (ARN) of the S3 bucket, the name of the Amazon S3 object that contains the data, and the version number of the Amazon S3 object that contains the data. + """ +elif False: + ApplicationDeployAsApplicationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationDeployAsApplicationConfigurationArgs: def __init__(__self__, *, @@ -494,6 +701,18 @@ def s3_content_location(self, value: pulumi.Input['ApplicationS3ContentBaseLocat pulumi.set(self, "s3_content_location", value) +if not MYPY: + class ApplicationEnvironmentPropertiesArgsDict(TypedDict): + """ + Describes execution properties for a Flink-based Kinesis Data Analytics application. + """ + property_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationPropertyGroupArgsDict']]]] + """ + Describes the execution property groups. + """ +elif False: + ApplicationEnvironmentPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationEnvironmentPropertiesArgs: def __init__(__self__, *, @@ -518,6 +737,26 @@ def property_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Ap pulumi.set(self, "property_groups", value) +if not MYPY: + class ApplicationFlinkApplicationConfigurationArgsDict(TypedDict): + """ + Describes configuration parameters for a Flink-based Kinesis Data Analytics application or a Studio notebook. + """ + checkpoint_configuration: NotRequired[pulumi.Input['ApplicationCheckpointConfigurationArgsDict']] + """ + Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance in the Apache Flink Documentation. + """ + monitoring_configuration: NotRequired[pulumi.Input['ApplicationMonitoringConfigurationArgsDict']] + """ + Describes configuration parameters for Amazon CloudWatch logging for an application. + """ + parallelism_configuration: NotRequired[pulumi.Input['ApplicationParallelismConfigurationArgsDict']] + """ + Describes parameters for how an application executes multiple tasks simultaneously. + """ +elif False: + ApplicationFlinkApplicationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationFlinkApplicationConfigurationArgs: def __init__(__self__, *, @@ -574,6 +813,18 @@ def parallelism_configuration(self, value: Optional[pulumi.Input['ApplicationPar pulumi.set(self, "parallelism_configuration", value) +if not MYPY: + class ApplicationFlinkRunConfigurationArgsDict(TypedDict): + """ + Describes the starting parameters for a Flink-based Kinesis Data Analytics application. + """ + allow_non_restored_state: NotRequired[pulumi.Input[bool]] + """ + When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. Defaults to false. If you update your application without specifying this parameter, AllowNonRestoredState will be set to false, even if it was previously set to true. + """ +elif False: + ApplicationFlinkRunConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationFlinkRunConfigurationArgs: def __init__(__self__, *, @@ -598,6 +849,18 @@ def allow_non_restored_state(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "allow_non_restored_state", value) +if not MYPY: + class ApplicationGlueDataCatalogConfigurationArgsDict(TypedDict): + """ + The configuration of the Glue Data Catalog that you use for Apache Flink SQL queries and table API transforms that you write in an application. + """ + database_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the database. + """ +elif False: + ApplicationGlueDataCatalogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationGlueDataCatalogConfigurationArgs: def __init__(__self__, *, @@ -622,6 +885,18 @@ def database_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "database_arn", value) +if not MYPY: + class ApplicationInputLambdaProcessorArgsDict(TypedDict): + """ + An object that contains the Amazon Resource Name (ARN) of the Amazon Lambda function that is used to preprocess records in the stream in a SQL-based Kinesis Data Analytics application. + """ + resource_arn: pulumi.Input[str] + """ + The ARN of the Amazon Lambda function that operates on records in the stream. + """ +elif False: + ApplicationInputLambdaProcessorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationInputLambdaProcessorArgs: def __init__(__self__, *, @@ -645,6 +920,18 @@ def resource_arn(self, value: pulumi.Input[str]): pulumi.set(self, "resource_arn", value) +if not MYPY: + class ApplicationInputParallelismArgsDict(TypedDict): + """ + For a SQL-based Kinesis Data Analytics application, describes the number of in-application streams to create for a given streaming source. + """ + count: NotRequired[pulumi.Input[int]] + """ + The number of in-application streams to create. + """ +elif False: + ApplicationInputParallelismArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationInputParallelismArgs: def __init__(__self__, *, @@ -669,6 +956,18 @@ def count(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "count", value) +if not MYPY: + class ApplicationInputProcessingConfigurationArgsDict(TypedDict): + """ + For an SQL-based Amazon Kinesis Data Analytics application, describes a processor that is used to preprocess the records in the stream before being processed by your application code. Currently, the only input processor available is Amazon Lambda. + """ + input_lambda_processor: NotRequired[pulumi.Input['ApplicationInputLambdaProcessorArgsDict']] + """ + The InputLambdaProcessor that is used to preprocess the records in the stream before being processed by your application code. + """ +elif False: + ApplicationInputProcessingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationInputProcessingConfigurationArgs: def __init__(__self__, *, @@ -693,6 +992,26 @@ def input_lambda_processor(self, value: Optional[pulumi.Input['ApplicationInputL pulumi.set(self, "input_lambda_processor", value) +if not MYPY: + class ApplicationInputSchemaArgsDict(TypedDict): + """ + For a SQL-based Kinesis Data Analytics application, describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream. + """ + record_columns: pulumi.Input[Sequence[pulumi.Input['ApplicationRecordColumnArgsDict']]] + """ + A list of `RecordColumn` objects. + """ + record_format: pulumi.Input['ApplicationRecordFormatArgsDict'] + """ + Specifies the format of the records on the streaming source. + """ + record_encoding: NotRequired[pulumi.Input['ApplicationInputSchemaRecordEncoding']] + """ + Specifies the encoding of the records in the streaming source. For example, UTF-8. + """ +elif False: + ApplicationInputSchemaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationInputSchemaArgs: def __init__(__self__, *, @@ -747,6 +1066,38 @@ def record_encoding(self, value: Optional[pulumi.Input['ApplicationInputSchemaRe pulumi.set(self, "record_encoding", value) +if not MYPY: + class ApplicationInputArgsDict(TypedDict): + """ + When you configure the application input for a SQL-based Kinesis Data Analytics application, you specify the streaming source, the in-application stream name that is created, and the mapping between the two. + """ + input_schema: pulumi.Input['ApplicationInputSchemaArgsDict'] + """ + Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created. + """ + name_prefix: pulumi.Input[str] + """ + The name prefix to use when creating an in-application stream. Suppose that you specify a prefix `"MyInApplicationStream"`. Kinesis Data Analytics then creates one or more (as per the InputParallelism count you specified) in-application streams with the names `"MyInApplicationStream_001"`, `"MyInApplicationStream_002"`, and so on. + """ + input_parallelism: NotRequired[pulumi.Input['ApplicationInputParallelismArgsDict']] + """ + Describes the number of in-application streams to create. + """ + input_processing_configuration: NotRequired[pulumi.Input['ApplicationInputProcessingConfigurationArgsDict']] + """ + The InputProcessingConfiguration for the input. An input processor transforms records as they are received from the stream, before the application's SQL code executes. Currently, the only input processing configuration available is InputLambdaProcessor. + """ + kinesis_firehose_input: NotRequired[pulumi.Input['ApplicationKinesisFirehoseInputArgsDict']] + """ + If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN. + """ + kinesis_streams_input: NotRequired[pulumi.Input['ApplicationKinesisStreamsInputArgsDict']] + """ + If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN). + """ +elif False: + ApplicationInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationInputArgs: def __init__(__self__, *, @@ -849,6 +1200,18 @@ def kinesis_streams_input(self, value: Optional[pulumi.Input['ApplicationKinesis pulumi.set(self, "kinesis_streams_input", value) +if not MYPY: + class ApplicationJsonMappingParametersArgsDict(TypedDict): + """ + For a SQL-based Kinesis Data Analytics application, provides additional mapping information when JSON is the record format on the streaming source. + """ + record_row_path: pulumi.Input[str] + """ + The path to the top-level parent that contains the records. + """ +elif False: + ApplicationJsonMappingParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationJsonMappingParametersArgs: def __init__(__self__, *, @@ -872,6 +1235,18 @@ def record_row_path(self, value: pulumi.Input[str]): pulumi.set(self, "record_row_path", value) +if not MYPY: + class ApplicationKinesisFirehoseInputArgsDict(TypedDict): + """ + For a SQL-based Kinesis Data Analytics application, identifies a Kinesis Data Firehose delivery stream as the streaming source. You provide the delivery stream's Amazon Resource Name (ARN). + """ + resource_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the delivery stream. + """ +elif False: + ApplicationKinesisFirehoseInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationKinesisFirehoseInputArgs: def __init__(__self__, *, @@ -895,6 +1270,18 @@ def resource_arn(self, value: pulumi.Input[str]): pulumi.set(self, "resource_arn", value) +if not MYPY: + class ApplicationKinesisStreamsInputArgsDict(TypedDict): + """ + Identifies a Kinesis data stream as the streaming source. You provide the stream's Amazon Resource Name (ARN). + """ + resource_arn: pulumi.Input[str] + """ + The ARN of the input Kinesis data stream to read. + """ +elif False: + ApplicationKinesisStreamsInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationKinesisStreamsInputArgs: def __init__(__self__, *, @@ -918,6 +1305,18 @@ def resource_arn(self, value: pulumi.Input[str]): pulumi.set(self, "resource_arn", value) +if not MYPY: + class ApplicationMaintenanceConfigurationArgsDict(TypedDict): + """ + Describes the maintenance configuration for the application. + """ + application_maintenance_window_start_time: pulumi.Input[str] + """ + The start time for the maintenance window. + """ +elif False: + ApplicationMaintenanceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationMaintenanceConfigurationArgs: def __init__(__self__, *, @@ -941,6 +1340,22 @@ def application_maintenance_window_start_time(self, value: pulumi.Input[str]): pulumi.set(self, "application_maintenance_window_start_time", value) +if not MYPY: + class ApplicationMappingParametersArgsDict(TypedDict): + """ + When you configure a SQL-based Kinesis Data Analytics application's input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. + """ + csv_mapping_parameters: NotRequired[pulumi.Input['ApplicationCsvMappingParametersArgsDict']] + """ + Provides additional mapping information when the record format uses delimiters (for example, CSV). + """ + json_mapping_parameters: NotRequired[pulumi.Input['ApplicationJsonMappingParametersArgsDict']] + """ + Provides additional mapping information when JSON is the record format on the streaming source. + """ +elif False: + ApplicationMappingParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationMappingParametersArgs: def __init__(__self__, *, @@ -981,6 +1396,26 @@ def json_mapping_parameters(self, value: Optional[pulumi.Input['ApplicationJsonM pulumi.set(self, "json_mapping_parameters", value) +if not MYPY: + class ApplicationMavenReferenceArgsDict(TypedDict): + """ + The information required to specify a Maven reference. You can use Maven references to specify dependency JAR files. + """ + artifact_id: pulumi.Input[str] + """ + The artifact ID of the Maven reference. + """ + group_id: pulumi.Input[str] + """ + The group ID of the Maven reference. + """ + version: pulumi.Input[str] + """ + The version of the Maven reference. + """ +elif False: + ApplicationMavenReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationMavenReferenceArgs: def __init__(__self__, *, @@ -1034,6 +1469,26 @@ def version(self, value: pulumi.Input[str]): pulumi.set(self, "version", value) +if not MYPY: + class ApplicationMonitoringConfigurationArgsDict(TypedDict): + """ + Describes configuration parameters for Amazon CloudWatch logging for a Java-based Kinesis Data Analytics application. For more information about CloudWatch logging, see Monitoring. + """ + configuration_type: pulumi.Input['ApplicationMonitoringConfigurationConfigurationType'] + """ + Describes whether to use the default CloudWatch logging configuration for an application. You must set this property to CUSTOM in order to set the LogLevel or MetricsLevel parameters. + """ + log_level: NotRequired[pulumi.Input['ApplicationMonitoringConfigurationLogLevel']] + """ + Describes the verbosity of the CloudWatch Logs for an application. + """ + metrics_level: NotRequired[pulumi.Input['ApplicationMonitoringConfigurationMetricsLevel']] + """ + Describes the granularity of the CloudWatch Logs for an application. The Parallelism level is not recommended for applications with a Parallelism over 64 due to excessive costs. + """ +elif False: + ApplicationMonitoringConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationMonitoringConfigurationArgs: def __init__(__self__, *, @@ -1089,6 +1544,30 @@ def metrics_level(self, value: Optional[pulumi.Input['ApplicationMonitoringConfi pulumi.set(self, "metrics_level", value) +if not MYPY: + class ApplicationParallelismConfigurationArgsDict(TypedDict): + """ + Describes parameters for how a Flink-based Kinesis Data Analytics application executes multiple tasks simultaneously. For more information about parallelism, see Parallel Execution in the Apache Flink Documentation + """ + configuration_type: pulumi.Input['ApplicationParallelismConfigurationConfigurationType'] + """ + Describes whether the application uses the default parallelism for the Kinesis Data Analytics service. You must set this property to `CUSTOM` in order to change your application's `AutoScalingEnabled`, `Parallelism`, or `ParallelismPerKPU` properties. + """ + auto_scaling_enabled: NotRequired[pulumi.Input[bool]] + """ + Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput. + """ + parallelism: NotRequired[pulumi.Input[int]] + """ + Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform. The Kinesis Data Analytics service can increase this number automatically if ParallelismConfiguration:AutoScalingEnabled is set to true. + """ + parallelism_per_kpu: NotRequired[pulumi.Input[int]] + """ + Describes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application. For more information about KPUs, see Amazon Kinesis Data Analytics Pricing. + """ +elif False: + ApplicationParallelismConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationParallelismConfigurationArgs: def __init__(__self__, *, @@ -1160,6 +1639,22 @@ def parallelism_per_kpu(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "parallelism_per_kpu", value) +if not MYPY: + class ApplicationPropertyGroupArgsDict(TypedDict): + """ + Property key-value pairs passed into an application. + """ + property_group_id: NotRequired[pulumi.Input[str]] + """ + Describes the key of an application execution property key-value pair. + """ + property_map: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Describes the value of an application execution property key-value pair. + """ +elif False: + ApplicationPropertyGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationPropertyGroupArgs: def __init__(__self__, *, @@ -1200,6 +1695,27 @@ def property_map(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[st pulumi.set(self, "property_map", value) +if not MYPY: + class ApplicationRecordColumnArgsDict(TypedDict): + """ + For a SQL-based Kinesis Data Analytics application, describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream. + Also used to describe the format of the reference data source. + """ + name: pulumi.Input[str] + """ + The name of the column that is created in the in-application input stream or reference table. + """ + sql_type: pulumi.Input[str] + """ + The type of column created in the in-application input stream or reference table. + """ + mapping: NotRequired[pulumi.Input[str]] + """ + A reference to the data element in the streaming input or the reference data source. + """ +elif False: + ApplicationRecordColumnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationRecordColumnArgs: def __init__(__self__, *, @@ -1255,6 +1771,22 @@ def mapping(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "mapping", value) +if not MYPY: + class ApplicationRecordFormatArgsDict(TypedDict): + """ + For a SQL-based Kinesis Data Analytics application, describes the record format and relevant mapping information that should be applied to schematize the records on the stream. + """ + record_format_type: pulumi.Input['ApplicationRecordFormatRecordFormatType'] + """ + The type of record format. + """ + mapping_parameters: NotRequired[pulumi.Input['ApplicationMappingParametersArgsDict']] + """ + When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source. + """ +elif False: + ApplicationRecordFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationRecordFormatArgs: def __init__(__self__, *, @@ -1294,6 +1826,22 @@ def mapping_parameters(self, value: Optional[pulumi.Input['ApplicationMappingPar pulumi.set(self, "mapping_parameters", value) +if not MYPY: + class ApplicationRestoreConfigurationArgsDict(TypedDict): + """ + Describes the restore behavior of a restarting application. + """ + application_restore_type: pulumi.Input['ApplicationRestoreConfigurationApplicationRestoreType'] + """ + Specifies how the application should be restored. + """ + snapshot_name: NotRequired[pulumi.Input[str]] + """ + The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if RESTORE_FROM_CUSTOM_SNAPSHOT is specified for the ApplicationRestoreType. + """ +elif False: + ApplicationRestoreConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationRestoreConfigurationArgs: def __init__(__self__, *, @@ -1333,6 +1881,22 @@ def snapshot_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "snapshot_name", value) +if not MYPY: + class ApplicationRunConfigurationArgsDict(TypedDict): + """ + Identifies the run configuration (start parameters) of a Kinesis Data Analytics application. This section is evaluated only on stack updates for applications in running RUNNING state and has no effect during manual application start. + """ + application_restore_configuration: NotRequired[pulumi.Input['ApplicationRestoreConfigurationArgsDict']] + """ + Describes the restore behavior of a restarting application. + """ + flink_run_configuration: NotRequired[pulumi.Input['ApplicationFlinkRunConfigurationArgsDict']] + """ + Describes the starting parameters for a Flink-based Kinesis Data Analytics application. + """ +elif False: + ApplicationRunConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationRunConfigurationArgs: def __init__(__self__, *, @@ -1373,6 +1937,22 @@ def flink_run_configuration(self, value: Optional[pulumi.Input['ApplicationFlink pulumi.set(self, "flink_run_configuration", value) +if not MYPY: + class ApplicationS3ContentBaseLocationArgsDict(TypedDict): + """ + The base location of the Amazon Data Analytics application. + """ + bucket_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the S3 bucket. + """ + base_path: NotRequired[pulumi.Input[str]] + """ + The base path for the S3 bucket. + """ +elif False: + ApplicationS3ContentBaseLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationS3ContentBaseLocationArgs: def __init__(__self__, *, @@ -1412,6 +1992,26 @@ def base_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "base_path", value) +if not MYPY: + class ApplicationS3ContentLocationArgsDict(TypedDict): + """ + The location of an application or a custom artifact. + """ + bucket_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) for the S3 bucket containing the application code. + """ + file_key: pulumi.Input[str] + """ + The file key for the object containing the application code. + """ + object_version: NotRequired[pulumi.Input[str]] + """ + The version of the object containing the application code. + """ +elif False: + ApplicationS3ContentLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationS3ContentLocationArgs: def __init__(__self__, *, @@ -1466,6 +2066,18 @@ def object_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "object_version", value) +if not MYPY: + class ApplicationSnapshotConfigurationArgsDict(TypedDict): + """ + Describes whether snapshots are enabled for a Flink-based Kinesis Data Analytics application. + """ + snapshots_enabled: pulumi.Input[bool] + """ + Describes whether snapshots are enabled for a Flink-based Kinesis Data Analytics application. + """ +elif False: + ApplicationSnapshotConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationSnapshotConfigurationArgs: def __init__(__self__, *, @@ -1489,6 +2101,18 @@ def snapshots_enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "snapshots_enabled", value) +if not MYPY: + class ApplicationSqlApplicationConfigurationArgsDict(TypedDict): + """ + Describes the inputs, outputs, and reference data sources for a SQL-based Kinesis Data Analytics application. + """ + inputs: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationInputArgsDict']]]] + """ + The array of Input objects describing the input streams used by the application. + """ +elif False: + ApplicationSqlApplicationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationSqlApplicationConfigurationArgs: def __init__(__self__, *, @@ -1513,6 +2137,18 @@ def inputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Application pulumi.set(self, "inputs", value) +if not MYPY: + class ApplicationSystemRollbackConfigurationArgsDict(TypedDict): + """ + Describes whether system initiated rollbacks are enabled for a Flink-based Kinesis Data Analytics application. + """ + rollback_enabled: pulumi.Input[bool] + """ + Describes whether system initiated rollbacks are enabled for a Flink-based Kinesis Data Analytics application. + """ +elif False: + ApplicationSystemRollbackConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationSystemRollbackConfigurationArgs: def __init__(__self__, *, @@ -1536,6 +2172,22 @@ def rollback_enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "rollback_enabled", value) +if not MYPY: + class ApplicationVpcConfigurationArgsDict(TypedDict): + """ + Describes the parameters of a VPC used by the application. + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The array of SecurityGroup IDs used by the VPC configuration. + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The array of Subnet IDs used by the VPC configuration. + """ +elif False: + ApplicationVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationVpcConfigurationArgs: def __init__(__self__, *, @@ -1574,6 +2226,30 @@ def subnet_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "subnet_ids", value) +if not MYPY: + class ApplicationZeppelinApplicationConfigurationArgsDict(TypedDict): + """ + The configuration of a Kinesis Data Analytics Studio notebook. + """ + catalog_configuration: NotRequired[pulumi.Input['ApplicationCatalogConfigurationArgsDict']] + """ + The Amazon Glue Data Catalog that you use in queries in a Kinesis Data Analytics Studio notebook. + """ + custom_artifacts_configuration: NotRequired[pulumi.Input[Sequence[pulumi.Input['ApplicationCustomArtifactConfigurationArgsDict']]]] + """ + A list of CustomArtifactConfiguration objects. + """ + deploy_as_application_configuration: NotRequired[pulumi.Input['ApplicationDeployAsApplicationConfigurationArgsDict']] + """ + The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state. + """ + monitoring_configuration: NotRequired[pulumi.Input['ApplicationZeppelinMonitoringConfigurationArgsDict']] + """ + The monitoring configuration of a Kinesis Data Analytics Studio notebook. + """ +elif False: + ApplicationZeppelinApplicationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationZeppelinApplicationConfigurationArgs: def __init__(__self__, *, @@ -1646,6 +2322,18 @@ def monitoring_configuration(self, value: Optional[pulumi.Input['ApplicationZepp pulumi.set(self, "monitoring_configuration", value) +if not MYPY: + class ApplicationZeppelinMonitoringConfigurationArgsDict(TypedDict): + """ + Describes configuration parameters for Amazon CloudWatch logging for a Kinesis Data Analytics Studio notebook. For more information about CloudWatch logging, see Monitoring. + """ + log_level: NotRequired[pulumi.Input['ApplicationZeppelinMonitoringConfigurationLogLevel']] + """ + The verbosity of the CloudWatch Logs for an application. You can set it to `INFO`, `WARN`, `ERROR`, or `DEBUG`. + """ +elif False: + ApplicationZeppelinMonitoringConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationZeppelinMonitoringConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/kinesisanalyticsv2/application.py b/sdk/python/pulumi_aws_native/kinesisanalyticsv2/application.py index 65da99047d..0d24963fc2 100644 --- a/sdk/python/pulumi_aws_native/kinesisanalyticsv2/application.py +++ b/sdk/python/pulumi_aws_native/kinesisanalyticsv2/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/kinesisanalyticsv2/get_application.py b/sdk/python/pulumi_aws_native/kinesisanalyticsv2/get_application.py index 43b2f855f4..5eb0ee1339 100644 --- a/sdk/python/pulumi_aws_native/kinesisanalyticsv2/get_application.py +++ b/sdk/python/pulumi_aws_native/kinesisanalyticsv2/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_application(application_name: Optional[str] = None, runtime_environment=pulumi.get(__ret__, 'runtime_environment'), service_execution_role=pulumi.get(__ret__, 'service_execution_role'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -135,4 +137,14 @@ def get_application_output(application_name: Optional[pulumi.Input[str]] = None, :param str application_name: The name of the application. """ - ... + __args__ = dict() + __args__['applicationName'] = application_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kinesisanalyticsv2:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + application_configuration=pulumi.get(__response__, 'application_configuration'), + application_description=pulumi.get(__response__, 'application_description'), + application_maintenance_configuration=pulumi.get(__response__, 'application_maintenance_configuration'), + runtime_environment=pulumi.get(__response__, 'runtime_environment'), + service_execution_role=pulumi.get(__response__, 'service_execution_role'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/kinesisanalyticsv2/outputs.py b/sdk/python/pulumi_aws_native/kinesisanalyticsv2/outputs.py index b445f49c7f..84e5a750fb 100644 --- a/sdk/python/pulumi_aws_native/kinesisanalyticsv2/outputs.py +++ b/sdk/python/pulumi_aws_native/kinesisanalyticsv2/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/kinesisfirehose/_inputs.py b/sdk/python/pulumi_aws_native/kinesisfirehose/_inputs.py index 151d5c6a48..3944a65b98 100644 --- a/sdk/python/pulumi_aws_native/kinesisfirehose/_inputs.py +++ b/sdk/python/pulumi_aws_native/kinesisfirehose/_inputs.py @@ -4,70 +4,147 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DeliveryStreamAmazonOpenSearchServerlessBufferingHintsArgs', + 'DeliveryStreamAmazonOpenSearchServerlessBufferingHintsArgsDict', 'DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationArgs', + 'DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationArgsDict', 'DeliveryStreamAmazonOpenSearchServerlessRetryOptionsArgs', + 'DeliveryStreamAmazonOpenSearchServerlessRetryOptionsArgsDict', 'DeliveryStreamAmazonopensearchserviceBufferingHintsArgs', + 'DeliveryStreamAmazonopensearchserviceBufferingHintsArgsDict', 'DeliveryStreamAmazonopensearchserviceDestinationConfigurationArgs', + 'DeliveryStreamAmazonopensearchserviceDestinationConfigurationArgsDict', 'DeliveryStreamAmazonopensearchserviceRetryOptionsArgs', + 'DeliveryStreamAmazonopensearchserviceRetryOptionsArgsDict', 'DeliveryStreamAuthenticationConfigurationArgs', + 'DeliveryStreamAuthenticationConfigurationArgsDict', 'DeliveryStreamBufferingHintsArgs', + 'DeliveryStreamBufferingHintsArgsDict', 'DeliveryStreamCatalogConfigurationArgs', + 'DeliveryStreamCatalogConfigurationArgsDict', 'DeliveryStreamCloudWatchLoggingOptionsArgs', + 'DeliveryStreamCloudWatchLoggingOptionsArgsDict', 'DeliveryStreamCopyCommandArgs', + 'DeliveryStreamCopyCommandArgsDict', 'DeliveryStreamDataFormatConversionConfigurationArgs', + 'DeliveryStreamDataFormatConversionConfigurationArgsDict', 'DeliveryStreamDeserializerArgs', + 'DeliveryStreamDeserializerArgsDict', 'DeliveryStreamDestinationTableConfigurationArgs', + 'DeliveryStreamDestinationTableConfigurationArgsDict', 'DeliveryStreamDocumentIdOptionsArgs', + 'DeliveryStreamDocumentIdOptionsArgsDict', 'DeliveryStreamDynamicPartitioningConfigurationArgs', + 'DeliveryStreamDynamicPartitioningConfigurationArgsDict', 'DeliveryStreamElasticsearchBufferingHintsArgs', + 'DeliveryStreamElasticsearchBufferingHintsArgsDict', 'DeliveryStreamElasticsearchDestinationConfigurationArgs', + 'DeliveryStreamElasticsearchDestinationConfigurationArgsDict', 'DeliveryStreamElasticsearchRetryOptionsArgs', + 'DeliveryStreamElasticsearchRetryOptionsArgsDict', 'DeliveryStreamEncryptionConfigurationInputArgs', + 'DeliveryStreamEncryptionConfigurationInputArgsDict', 'DeliveryStreamEncryptionConfigurationArgs', + 'DeliveryStreamEncryptionConfigurationArgsDict', 'DeliveryStreamExtendedS3DestinationConfigurationArgs', + 'DeliveryStreamExtendedS3DestinationConfigurationArgsDict', 'DeliveryStreamHiveJsonSerDeArgs', + 'DeliveryStreamHiveJsonSerDeArgsDict', 'DeliveryStreamHttpEndpointCommonAttributeArgs', + 'DeliveryStreamHttpEndpointCommonAttributeArgsDict', 'DeliveryStreamHttpEndpointConfigurationArgs', + 'DeliveryStreamHttpEndpointConfigurationArgsDict', 'DeliveryStreamHttpEndpointDestinationConfigurationArgs', + 'DeliveryStreamHttpEndpointDestinationConfigurationArgsDict', 'DeliveryStreamHttpEndpointRequestConfigurationArgs', + 'DeliveryStreamHttpEndpointRequestConfigurationArgsDict', 'DeliveryStreamIcebergDestinationConfigurationArgs', + 'DeliveryStreamIcebergDestinationConfigurationArgsDict', 'DeliveryStreamInputFormatConfigurationArgs', + 'DeliveryStreamInputFormatConfigurationArgsDict', 'DeliveryStreamKinesisStreamSourceConfigurationArgs', + 'DeliveryStreamKinesisStreamSourceConfigurationArgsDict', 'DeliveryStreamKmsEncryptionConfigArgs', + 'DeliveryStreamKmsEncryptionConfigArgsDict', 'DeliveryStreamMskSourceConfigurationArgs', + 'DeliveryStreamMskSourceConfigurationArgsDict', 'DeliveryStreamOpenXJsonSerDeArgs', + 'DeliveryStreamOpenXJsonSerDeArgsDict', 'DeliveryStreamOrcSerDeArgs', + 'DeliveryStreamOrcSerDeArgsDict', 'DeliveryStreamOutputFormatConfigurationArgs', + 'DeliveryStreamOutputFormatConfigurationArgsDict', 'DeliveryStreamParquetSerDeArgs', + 'DeliveryStreamParquetSerDeArgsDict', 'DeliveryStreamProcessingConfigurationArgs', + 'DeliveryStreamProcessingConfigurationArgsDict', 'DeliveryStreamProcessorParameterArgs', + 'DeliveryStreamProcessorParameterArgsDict', 'DeliveryStreamProcessorArgs', + 'DeliveryStreamProcessorArgsDict', 'DeliveryStreamRedshiftDestinationConfigurationArgs', + 'DeliveryStreamRedshiftDestinationConfigurationArgsDict', 'DeliveryStreamRedshiftRetryOptionsArgs', + 'DeliveryStreamRedshiftRetryOptionsArgsDict', 'DeliveryStreamRetryOptionsArgs', + 'DeliveryStreamRetryOptionsArgsDict', 'DeliveryStreamS3DestinationConfigurationArgs', + 'DeliveryStreamS3DestinationConfigurationArgsDict', 'DeliveryStreamSchemaConfigurationArgs', + 'DeliveryStreamSchemaConfigurationArgsDict', 'DeliveryStreamSecretsManagerConfigurationArgs', + 'DeliveryStreamSecretsManagerConfigurationArgsDict', 'DeliveryStreamSerializerArgs', + 'DeliveryStreamSerializerArgsDict', 'DeliveryStreamSnowflakeBufferingHintsArgs', + 'DeliveryStreamSnowflakeBufferingHintsArgsDict', 'DeliveryStreamSnowflakeDestinationConfigurationArgs', + 'DeliveryStreamSnowflakeDestinationConfigurationArgsDict', 'DeliveryStreamSnowflakeRetryOptionsArgs', + 'DeliveryStreamSnowflakeRetryOptionsArgsDict', 'DeliveryStreamSnowflakeRoleConfigurationArgs', + 'DeliveryStreamSnowflakeRoleConfigurationArgsDict', 'DeliveryStreamSnowflakeVpcConfigurationArgs', + 'DeliveryStreamSnowflakeVpcConfigurationArgsDict', 'DeliveryStreamSplunkBufferingHintsArgs', + 'DeliveryStreamSplunkBufferingHintsArgsDict', 'DeliveryStreamSplunkDestinationConfigurationArgs', + 'DeliveryStreamSplunkDestinationConfigurationArgsDict', 'DeliveryStreamSplunkRetryOptionsArgs', + 'DeliveryStreamSplunkRetryOptionsArgsDict', 'DeliveryStreamVpcConfigurationArgs', + 'DeliveryStreamVpcConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class DeliveryStreamAmazonOpenSearchServerlessBufferingHintsArgsDict(TypedDict): + interval_in_seconds: NotRequired[pulumi.Input[int]] + """ + Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes). + """ + size_in_mbs: NotRequired[pulumi.Input[int]] + """ + Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5. + + We recommend setting this parameter to a value greater than the amount of data you typically ingest into the Firehose stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher. + """ +elif False: + DeliveryStreamAmazonOpenSearchServerlessBufferingHintsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamAmazonOpenSearchServerlessBufferingHintsArgs: def __init__(__self__, *, @@ -111,6 +188,39 @@ def size_in_mbs(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "size_in_mbs", value) +if not MYPY: + class DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationArgsDict(TypedDict): + index_name: pulumi.Input[str] + """ + The Serverless offering for Amazon OpenSearch Service index name. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for Amazon OpenSearch Service Configuration API and for indexing documents. + """ + s3_configuration: pulumi.Input['DeliveryStreamS3DestinationConfigurationArgsDict'] + buffering_hints: NotRequired[pulumi.Input['DeliveryStreamAmazonOpenSearchServerlessBufferingHintsArgsDict']] + """ + The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used. + """ + cloud_watch_logging_options: NotRequired[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgsDict']] + collection_endpoint: NotRequired[pulumi.Input[str]] + """ + The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch Service. + """ + processing_configuration: NotRequired[pulumi.Input['DeliveryStreamProcessingConfigurationArgsDict']] + retry_options: NotRequired[pulumi.Input['DeliveryStreamAmazonOpenSearchServerlessRetryOptionsArgsDict']] + """ + The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service. The default value is 300 (5 minutes). + """ + s3_backup_mode: NotRequired[pulumi.Input['DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationS3BackupMode']] + """ + Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix. + """ + vpc_configuration: NotRequired[pulumi.Input['DeliveryStreamVpcConfigurationArgsDict']] +elif False: + DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamAmazonOpenSearchServerlessDestinationConfigurationArgs: def __init__(__self__, *, @@ -259,6 +369,15 @@ def vpc_configuration(self, value: Optional[pulumi.Input['DeliveryStreamVpcConfi pulumi.set(self, "vpc_configuration", value) +if not MYPY: + class DeliveryStreamAmazonOpenSearchServerlessRetryOptionsArgsDict(TypedDict): + duration_in_seconds: NotRequired[pulumi.Input[int]] + """ + After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total amount of time during which Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries. + """ +elif False: + DeliveryStreamAmazonOpenSearchServerlessRetryOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamAmazonOpenSearchServerlessRetryOptionsArgs: def __init__(__self__, *, @@ -282,6 +401,19 @@ def duration_in_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "duration_in_seconds", value) +if not MYPY: + class DeliveryStreamAmazonopensearchserviceBufferingHintsArgsDict(TypedDict): + interval_in_seconds: NotRequired[pulumi.Input[int]] + """ + Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes). + """ + size_in_mbs: NotRequired[pulumi.Input[int]] + """ + Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5. We recommend setting this parameter to a value greater than the amount of data you typically ingest into the delivery stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher. + """ +elif False: + DeliveryStreamAmazonopensearchserviceBufferingHintsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamAmazonopensearchserviceBufferingHintsArgs: def __init__(__self__, *, @@ -321,6 +453,67 @@ def size_in_mbs(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "size_in_mbs", value) +if not MYPY: + class DeliveryStreamAmazonopensearchserviceDestinationConfigurationArgsDict(TypedDict): + index_name: pulumi.Input[str] + """ + The Amazon OpenSearch Service index name. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon OpenSearch Service Configuration API and for indexing documents. + """ + s3_configuration: pulumi.Input['DeliveryStreamS3DestinationConfigurationArgsDict'] + """ + Describes the configuration of a destination in Amazon S3. + """ + buffering_hints: NotRequired[pulumi.Input['DeliveryStreamAmazonopensearchserviceBufferingHintsArgsDict']] + """ + The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used. + """ + cloud_watch_logging_options: NotRequired[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgsDict']] + """ + Describes the Amazon CloudWatch logging options for your delivery stream. + """ + cluster_endpoint: NotRequired[pulumi.Input[str]] + """ + The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field. + """ + document_id_options: NotRequired[pulumi.Input['DeliveryStreamDocumentIdOptionsArgsDict']] + """ + Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID. + """ + domain_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the Amazon OpenSearch Service domain. + """ + index_rotation_period: NotRequired[pulumi.Input['DeliveryStreamAmazonopensearchserviceDestinationConfigurationIndexRotationPeriod']] + """ + The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to the IndexName to facilitate the expiration of old data. + """ + processing_configuration: NotRequired[pulumi.Input['DeliveryStreamProcessingConfigurationArgsDict']] + """ + Describes a data processing configuration. + """ + retry_options: NotRequired[pulumi.Input['DeliveryStreamAmazonopensearchserviceRetryOptionsArgsDict']] + """ + The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon OpenSearch Service. The default value is 300 (5 minutes). + """ + s3_backup_mode: NotRequired[pulumi.Input['DeliveryStreamAmazonopensearchserviceDestinationConfigurationS3BackupMode']] + """ + Defines how documents should be delivered to Amazon S3. + """ + type_name: NotRequired[pulumi.Input[str]] + """ + The Amazon OpenSearch Service type name. + """ + vpc_configuration: NotRequired[pulumi.Input['DeliveryStreamVpcConfigurationArgsDict']] + """ + The details of the VPC of the Amazon OpenSearch Service destination. + """ +elif False: + DeliveryStreamAmazonopensearchserviceDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamAmazonopensearchserviceDestinationConfigurationArgs: def __init__(__self__, *, @@ -549,6 +742,15 @@ def vpc_configuration(self, value: Optional[pulumi.Input['DeliveryStreamVpcConfi pulumi.set(self, "vpc_configuration", value) +if not MYPY: + class DeliveryStreamAmazonopensearchserviceRetryOptionsArgsDict(TypedDict): + duration_in_seconds: NotRequired[pulumi.Input[int]] + """ + After an initial failure to deliver to Amazon OpenSearch Service, the total amount of time during which Kinesis Data Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries. + """ +elif False: + DeliveryStreamAmazonopensearchserviceRetryOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamAmazonopensearchserviceRetryOptionsArgs: def __init__(__self__, *, @@ -572,6 +774,19 @@ def duration_in_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "duration_in_seconds", value) +if not MYPY: + class DeliveryStreamAuthenticationConfigurationArgsDict(TypedDict): + connectivity: pulumi.Input['DeliveryStreamAuthenticationConfigurationConnectivity'] + """ + The type of connectivity used to access the Amazon MSK cluster. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role used to access the Amazon MSK cluster. + """ +elif False: + DeliveryStreamAuthenticationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamAuthenticationConfigurationArgs: def __init__(__self__, *, @@ -609,6 +824,19 @@ def role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "role_arn", value) +if not MYPY: + class DeliveryStreamBufferingHintsArgsDict(TypedDict): + interval_in_seconds: NotRequired[pulumi.Input[int]] + """ + The length of time, in seconds, that Kinesis Data Firehose buffers incoming data before delivering it to the destination. For valid values, see the `IntervalInSeconds` content for the [BufferingHints](https://docs.aws.amazon.com/firehose/latest/APIReference/API_BufferingHints.html) data type in the *Amazon Kinesis Data Firehose API Reference* . + """ + size_in_mbs: NotRequired[pulumi.Input[int]] + """ + The size of the buffer, in MBs, that Kinesis Data Firehose uses for incoming data before delivering it to the destination. For valid values, see the `SizeInMBs` content for the [BufferingHints](https://docs.aws.amazon.com/firehose/latest/APIReference/API_BufferingHints.html) data type in the *Amazon Kinesis Data Firehose API Reference* . + """ +elif False: + DeliveryStreamBufferingHintsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamBufferingHintsArgs: def __init__(__self__, *, @@ -648,6 +876,15 @@ def size_in_mbs(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "size_in_mbs", value) +if not MYPY: + class DeliveryStreamCatalogConfigurationArgsDict(TypedDict): + catalog_arn: NotRequired[pulumi.Input[str]] + """ + Specifies the Glue catalog ARN identifier of the destination Apache Iceberg Tables. You must specify the ARN in the format `arn:aws:glue:region:account-id:catalog` . + """ +elif False: + DeliveryStreamCatalogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamCatalogConfigurationArgs: def __init__(__self__, *, @@ -671,6 +908,27 @@ def catalog_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "catalog_arn", value) +if not MYPY: + class DeliveryStreamCloudWatchLoggingOptionsArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether CloudWatch Logs logging is enabled. + """ + log_group_name: NotRequired[pulumi.Input[str]] + """ + The name of the CloudWatch Logs log group that contains the log stream that Kinesis Data Firehose will use. + + Conditional. If you enable logging, you must specify this property. + """ + log_stream_name: NotRequired[pulumi.Input[str]] + """ + The name of the CloudWatch Logs log stream that Kinesis Data Firehose uses to send logs about data delivery. + + Conditional. If you enable logging, you must specify this property. + """ +elif False: + DeliveryStreamCloudWatchLoggingOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamCloudWatchLoggingOptionsArgs: def __init__(__self__, *, @@ -734,6 +992,23 @@ def log_stream_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_stream_name", value) +if not MYPY: + class DeliveryStreamCopyCommandArgsDict(TypedDict): + data_table_name: pulumi.Input[str] + """ + The name of the target table. The table must already exist in the database. + """ + copy_options: NotRequired[pulumi.Input[str]] + """ + Parameters to use with the Amazon Redshift `COPY` command. For examples, see the `CopyOptions` content for the [CopyCommand](https://docs.aws.amazon.com/firehose/latest/APIReference/API_CopyCommand.html) data type in the *Amazon Kinesis Data Firehose API Reference* . + """ + data_table_columns: NotRequired[pulumi.Input[str]] + """ + A comma-separated list of column names. + """ +elif False: + DeliveryStreamCopyCommandArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamCopyCommandArgs: def __init__(__self__, *, @@ -788,6 +1063,27 @@ def data_table_columns(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "data_table_columns", value) +if not MYPY: + class DeliveryStreamDataFormatConversionConfigurationArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Defaults to `true` . Set it to `false` if you want to disable format conversion while preserving the configuration details. + """ + input_format_configuration: NotRequired[pulumi.Input['DeliveryStreamInputFormatConfigurationArgsDict']] + """ + Specifies the deserializer that you want Firehose to use to convert the format of your data from JSON. This parameter is required if `Enabled` is set to true. + """ + output_format_configuration: NotRequired[pulumi.Input['DeliveryStreamOutputFormatConfigurationArgsDict']] + """ + Specifies the serializer that you want Firehose to use to convert the format of your data to the Parquet or ORC format. This parameter is required if `Enabled` is set to true. + """ + schema_configuration: NotRequired[pulumi.Input['DeliveryStreamSchemaConfigurationArgsDict']] + """ + Specifies the AWS Glue Data Catalog table that contains the column information. This parameter is required if `Enabled` is set to true. + """ +elif False: + DeliveryStreamDataFormatConversionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamDataFormatConversionConfigurationArgs: def __init__(__self__, *, @@ -859,6 +1155,19 @@ def schema_configuration(self, value: Optional[pulumi.Input['DeliveryStreamSchem pulumi.set(self, "schema_configuration", value) +if not MYPY: + class DeliveryStreamDeserializerArgsDict(TypedDict): + hive_json_ser_de: NotRequired[pulumi.Input['DeliveryStreamHiveJsonSerDeArgsDict']] + """ + The native Hive / HCatalog JsonSerDe. Used by Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the OpenX SerDe. + """ + open_x_json_ser_de: NotRequired[pulumi.Input['DeliveryStreamOpenXJsonSerDeArgsDict']] + """ + The OpenX SerDe. Used by Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the native Hive / HCatalog JsonSerDe. + """ +elif False: + DeliveryStreamDeserializerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamDeserializerArgs: def __init__(__self__, *, @@ -898,6 +1207,15 @@ def open_x_json_ser_de(self, value: Optional[pulumi.Input['DeliveryStreamOpenXJs pulumi.set(self, "open_x_json_ser_de", value) +if not MYPY: + class DeliveryStreamDestinationTableConfigurationArgsDict(TypedDict): + destination_database_name: pulumi.Input[str] + destination_table_name: pulumi.Input[str] + s3_error_output_prefix: NotRequired[pulumi.Input[str]] + unique_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + DeliveryStreamDestinationTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamDestinationTableConfigurationArgs: def __init__(__self__, *, @@ -949,6 +1267,17 @@ def unique_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "unique_keys", value) +if not MYPY: + class DeliveryStreamDocumentIdOptionsArgsDict(TypedDict): + default_document_id_format: pulumi.Input['DeliveryStreamDocumentIdOptionsDefaultDocumentIdFormat'] + """ + When the `FIREHOSE_DEFAULT` option is chosen, Firehose generates a unique document ID for each record based on a unique internal identifier. The generated document ID is stable across multiple delivery attempts, which helps prevent the same record from being indexed multiple times with different document IDs. + + When the `NO_DOCUMENT_ID` option is chosen, Firehose does not include any document IDs in the requests it sends to the Amazon OpenSearch Service. This causes the Amazon OpenSearch Service domain to generate document IDs. In case of multiple delivery attempts, this may cause the same record to be indexed more than once with different document IDs. This option enables write-heavy operations, such as the ingestion of logs and observability data, to consume less resources in the Amazon OpenSearch Service domain, resulting in improved performance. + """ +elif False: + DeliveryStreamDocumentIdOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamDocumentIdOptionsArgs: def __init__(__self__, *, @@ -975,6 +1304,19 @@ def default_document_id_format(self, value: pulumi.Input['DeliveryStreamDocument pulumi.set(self, "default_document_id_format", value) +if not MYPY: + class DeliveryStreamDynamicPartitioningConfigurationArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether dynamic partitioning is enabled for this Kinesis Data Firehose delivery stream. + """ + retry_options: NotRequired[pulumi.Input['DeliveryStreamRetryOptionsArgsDict']] + """ + Specifies the retry behavior in case Kinesis Data Firehose is unable to deliver data to an Amazon S3 prefix. + """ +elif False: + DeliveryStreamDynamicPartitioningConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamDynamicPartitioningConfigurationArgs: def __init__(__self__, *, @@ -1014,6 +1356,19 @@ def retry_options(self, value: Optional[pulumi.Input['DeliveryStreamRetryOptions pulumi.set(self, "retry_options", value) +if not MYPY: + class DeliveryStreamElasticsearchBufferingHintsArgsDict(TypedDict): + interval_in_seconds: NotRequired[pulumi.Input[int]] + """ + The length of time, in seconds, that Kinesis Data Firehose buffers incoming data before delivering it to the destination. For valid values, see the `IntervalInSeconds` content for the [BufferingHints](https://docs.aws.amazon.com/firehose/latest/APIReference/API_BufferingHints.html) data type in the *Amazon Kinesis Data Firehose API Reference* . + """ + size_in_mbs: NotRequired[pulumi.Input[int]] + """ + The size of the buffer, in MBs, that Kinesis Data Firehose uses for incoming data before delivering it to the destination. For valid values, see the `SizeInMBs` content for the [BufferingHints](https://docs.aws.amazon.com/firehose/latest/APIReference/API_BufferingHints.html) data type in the *Amazon Kinesis Data Firehose API Reference* . + """ +elif False: + DeliveryStreamElasticsearchBufferingHintsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamElasticsearchBufferingHintsArgs: def __init__(__self__, *, @@ -1053,6 +1408,69 @@ def size_in_mbs(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "size_in_mbs", value) +if not MYPY: + class DeliveryStreamElasticsearchDestinationConfigurationArgsDict(TypedDict): + index_name: pulumi.Input[str] + """ + The name of the Elasticsearch index to which Kinesis Data Firehose adds data for indexing. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see [Controlling Access with Amazon Kinesis Data Firehose](https://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html) . + """ + s3_configuration: pulumi.Input['DeliveryStreamS3DestinationConfigurationArgsDict'] + """ + The S3 bucket where Kinesis Data Firehose backs up incoming data. + """ + buffering_hints: NotRequired[pulumi.Input['DeliveryStreamElasticsearchBufferingHintsArgsDict']] + """ + Configures how Kinesis Data Firehose buffers incoming data while delivering it to the Amazon ES domain. + """ + cloud_watch_logging_options: NotRequired[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgsDict']] + """ + The Amazon CloudWatch Logs logging options for the delivery stream. + """ + cluster_endpoint: NotRequired[pulumi.Input[str]] + """ + The endpoint to use when communicating with the cluster. Specify either this `ClusterEndpoint` or the `DomainARN` field. + """ + document_id_options: NotRequired[pulumi.Input['DeliveryStreamDocumentIdOptionsArgsDict']] + """ + Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID. + """ + domain_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the Amazon ES domain. The IAM role must have permissions for `DescribeElasticsearchDomain` , `DescribeElasticsearchDomains` , and `DescribeElasticsearchDomainConfig` after assuming the role specified in *RoleARN* . + + Specify either `ClusterEndpoint` or `DomainARN` . + """ + index_rotation_period: NotRequired[pulumi.Input['DeliveryStreamElasticsearchDestinationConfigurationIndexRotationPeriod']] + """ + The frequency of Elasticsearch index rotation. If you enable index rotation, Kinesis Data Firehose appends a portion of the UTC arrival timestamp to the specified index name, and rotates the appended timestamp accordingly. For more information, see [Index Rotation for the Amazon ES Destination](https://docs.aws.amazon.com/firehose/latest/dev/basic-deliver.html#es-index-rotation) in the *Amazon Kinesis Data Firehose Developer Guide* . + """ + processing_configuration: NotRequired[pulumi.Input['DeliveryStreamProcessingConfigurationArgsDict']] + """ + The data processing configuration for the Kinesis Data Firehose delivery stream. + """ + retry_options: NotRequired[pulumi.Input['DeliveryStreamElasticsearchRetryOptionsArgsDict']] + """ + The retry behavior when Kinesis Data Firehose is unable to deliver data to Amazon ES. + """ + s3_backup_mode: NotRequired[pulumi.Input['DeliveryStreamElasticsearchDestinationConfigurationS3BackupMode']] + """ + The condition under which Kinesis Data Firehose delivers data to Amazon Simple Storage Service (Amazon S3). You can send Amazon S3 all documents (all data) or only the documents that Kinesis Data Firehose could not deliver to the Amazon ES destination. For more information and valid values, see the `S3BackupMode` content for the [ElasticsearchDestinationConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_ElasticsearchDestinationConfiguration.html) data type in the *Amazon Kinesis Data Firehose API Reference* . + """ + type_name: NotRequired[pulumi.Input[str]] + """ + The Elasticsearch type name that Amazon ES adds to documents when indexing data. + """ + vpc_configuration: NotRequired[pulumi.Input['DeliveryStreamVpcConfigurationArgsDict']] + """ + The details of the VPC of the Amazon ES destination. + """ +elif False: + DeliveryStreamElasticsearchDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamElasticsearchDestinationConfigurationArgs: def __init__(__self__, *, @@ -1285,6 +1703,15 @@ def vpc_configuration(self, value: Optional[pulumi.Input['DeliveryStreamVpcConfi pulumi.set(self, "vpc_configuration", value) +if not MYPY: + class DeliveryStreamElasticsearchRetryOptionsArgsDict(TypedDict): + duration_in_seconds: NotRequired[pulumi.Input[int]] + """ + After an initial failure to deliver to Amazon ES, the total amount of time during which Kinesis Data Firehose re-attempts delivery (including the first attempt). If Kinesis Data Firehose can't deliver the data within the specified time, it writes the data to the backup S3 bucket. For valid values, see the `DurationInSeconds` content for the [ElasticsearchRetryOptions](https://docs.aws.amazon.com/firehose/latest/APIReference/API_ElasticsearchRetryOptions.html) data type in the *Amazon Kinesis Data Firehose API Reference* . + """ +elif False: + DeliveryStreamElasticsearchRetryOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamElasticsearchRetryOptionsArgs: def __init__(__self__, *, @@ -1308,6 +1735,23 @@ def duration_in_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "duration_in_seconds", value) +if not MYPY: + class DeliveryStreamEncryptionConfigurationInputArgsDict(TypedDict): + key_type: pulumi.Input['DeliveryStreamEncryptionConfigurationInputKeyType'] + """ + Indicates the type of customer master key (CMK) to use for encryption. The default setting is `AWS_OWNED_CMK` . For more information about CMKs, see [Customer Master Keys (CMKs)](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#master_keys) . + + You can use a CMK of type CUSTOMER_MANAGED_CMK to encrypt up to 500 delivery streams. + + > To encrypt your delivery stream, use symmetric CMKs. Kinesis Data Firehose doesn't support asymmetric CMKs. For information about symmetric and asymmetric CMKs, see [About Symmetric and Asymmetric CMKs](https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-concepts.html) in the AWS Key Management Service developer guide. + """ + key_arn: NotRequired[pulumi.Input[str]] + """ + If you set `KeyType` to `CUSTOMER_MANAGED_CMK` , you must specify the Amazon Resource Name (ARN) of the CMK. If you set `KeyType` to `AWS _OWNED_CMK` , Firehose uses a service-account CMK. + """ +elif False: + DeliveryStreamEncryptionConfigurationInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamEncryptionConfigurationInputArgs: def __init__(__self__, *, @@ -1354,6 +1798,19 @@ def key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_arn", value) +if not MYPY: + class DeliveryStreamEncryptionConfigurationArgsDict(TypedDict): + kms_encryption_config: NotRequired[pulumi.Input['DeliveryStreamKmsEncryptionConfigArgsDict']] + """ + The AWS Key Management Service ( AWS KMS) encryption key that Amazon S3 uses to encrypt your data. + """ + no_encryption_config: NotRequired[pulumi.Input['DeliveryStreamEncryptionConfigurationNoEncryptionConfig']] + """ + Disables encryption. For valid values, see the `NoEncryptionConfig` content for the [EncryptionConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_EncryptionConfiguration.html) data type in the *Amazon Kinesis Data Firehose API Reference* . + """ +elif False: + DeliveryStreamEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamEncryptionConfigurationArgs: def __init__(__self__, *, @@ -1393,26 +1850,91 @@ def no_encryption_config(self, value: Optional[pulumi.Input['DeliveryStreamEncry pulumi.set(self, "no_encryption_config", value) -@pulumi.input_type -class DeliveryStreamExtendedS3DestinationConfigurationArgs: - def __init__(__self__, *, - bucket_arn: pulumi.Input[str], - role_arn: pulumi.Input[str], - buffering_hints: Optional[pulumi.Input['DeliveryStreamBufferingHintsArgs']] = None, - cloud_watch_logging_options: Optional[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgs']] = None, - compression_format: Optional[pulumi.Input['DeliveryStreamExtendedS3DestinationConfigurationCompressionFormat']] = None, - custom_time_zone: Optional[pulumi.Input[str]] = None, - data_format_conversion_configuration: Optional[pulumi.Input['DeliveryStreamDataFormatConversionConfigurationArgs']] = None, - dynamic_partitioning_configuration: Optional[pulumi.Input['DeliveryStreamDynamicPartitioningConfigurationArgs']] = None, - encryption_configuration: Optional[pulumi.Input['DeliveryStreamEncryptionConfigurationArgs']] = None, - error_output_prefix: Optional[pulumi.Input[str]] = None, - file_extension: Optional[pulumi.Input[str]] = None, - prefix: Optional[pulumi.Input[str]] = None, - processing_configuration: Optional[pulumi.Input['DeliveryStreamProcessingConfigurationArgs']] = None, - s3_backup_configuration: Optional[pulumi.Input['DeliveryStreamS3DestinationConfigurationArgs']] = None, - s3_backup_mode: Optional[pulumi.Input['DeliveryStreamExtendedS3DestinationConfigurationS3BackupMode']] = None): +if not MYPY: + class DeliveryStreamExtendedS3DestinationConfigurationArgsDict(TypedDict): + bucket_arn: pulumi.Input[str] """ - :param pulumi.Input[str] bucket_arn: The Amazon Resource Name (ARN) of the Amazon S3 bucket. For constraints, see [ExtendedS3DestinationConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_ExtendedS3DestinationConfiguration.html) in the *Amazon Kinesis Data Firehose API Reference* . + The Amazon Resource Name (ARN) of the Amazon S3 bucket. For constraints, see [ExtendedS3DestinationConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_ExtendedS3DestinationConfiguration.html) in the *Amazon Kinesis Data Firehose API Reference* . + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the AWS credentials. For constraints, see [ExtendedS3DestinationConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_ExtendedS3DestinationConfiguration.html) in the *Amazon Kinesis Data Firehose API Reference* . + """ + buffering_hints: NotRequired[pulumi.Input['DeliveryStreamBufferingHintsArgsDict']] + """ + The buffering option. + """ + cloud_watch_logging_options: NotRequired[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgsDict']] + """ + The Amazon CloudWatch logging options for your Firehose stream. + """ + compression_format: NotRequired[pulumi.Input['DeliveryStreamExtendedS3DestinationConfigurationCompressionFormat']] + """ + The compression format. If no value is specified, the default is `UNCOMPRESSED` . + """ + custom_time_zone: NotRequired[pulumi.Input[str]] + """ + The time zone you prefer. UTC is the default. + """ + data_format_conversion_configuration: NotRequired[pulumi.Input['DeliveryStreamDataFormatConversionConfigurationArgsDict']] + """ + The serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format before writing it to Amazon S3. + """ + dynamic_partitioning_configuration: NotRequired[pulumi.Input['DeliveryStreamDynamicPartitioningConfigurationArgsDict']] + """ + The configuration of the dynamic partitioning mechanism that creates targeted data sets from the streaming data by partitioning it based on partition keys. + """ + encryption_configuration: NotRequired[pulumi.Input['DeliveryStreamEncryptionConfigurationArgsDict']] + """ + The encryption configuration for the Kinesis Data Firehose delivery stream. The default value is `NoEncryption` . + """ + error_output_prefix: NotRequired[pulumi.Input[str]] + """ + A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. This prefix appears immediately following the bucket name. For information about how to specify this prefix, see [Custom Prefixes for Amazon S3 Objects](https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html) . + """ + file_extension: NotRequired[pulumi.Input[str]] + """ + Specify a file extension. It will override the default file extension + """ + prefix: NotRequired[pulumi.Input[str]] + """ + The `YYYY/MM/DD/HH` time format prefix is automatically used for delivered Amazon S3 files. For more information, see [ExtendedS3DestinationConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_ExtendedS3DestinationConfiguration.html) in the *Amazon Kinesis Data Firehose API Reference* . + """ + processing_configuration: NotRequired[pulumi.Input['DeliveryStreamProcessingConfigurationArgsDict']] + """ + The data processing configuration for the Kinesis Data Firehose delivery stream. + """ + s3_backup_configuration: NotRequired[pulumi.Input['DeliveryStreamS3DestinationConfigurationArgsDict']] + """ + The configuration for backup in Amazon S3. + """ + s3_backup_mode: NotRequired[pulumi.Input['DeliveryStreamExtendedS3DestinationConfigurationS3BackupMode']] + """ + The Amazon S3 backup mode. After you create a Firehose stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the Firehose stream to disable it. + """ +elif False: + DeliveryStreamExtendedS3DestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DeliveryStreamExtendedS3DestinationConfigurationArgs: + def __init__(__self__, *, + bucket_arn: pulumi.Input[str], + role_arn: pulumi.Input[str], + buffering_hints: Optional[pulumi.Input['DeliveryStreamBufferingHintsArgs']] = None, + cloud_watch_logging_options: Optional[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgs']] = None, + compression_format: Optional[pulumi.Input['DeliveryStreamExtendedS3DestinationConfigurationCompressionFormat']] = None, + custom_time_zone: Optional[pulumi.Input[str]] = None, + data_format_conversion_configuration: Optional[pulumi.Input['DeliveryStreamDataFormatConversionConfigurationArgs']] = None, + dynamic_partitioning_configuration: Optional[pulumi.Input['DeliveryStreamDynamicPartitioningConfigurationArgs']] = None, + encryption_configuration: Optional[pulumi.Input['DeliveryStreamEncryptionConfigurationArgs']] = None, + error_output_prefix: Optional[pulumi.Input[str]] = None, + file_extension: Optional[pulumi.Input[str]] = None, + prefix: Optional[pulumi.Input[str]] = None, + processing_configuration: Optional[pulumi.Input['DeliveryStreamProcessingConfigurationArgs']] = None, + s3_backup_configuration: Optional[pulumi.Input['DeliveryStreamS3DestinationConfigurationArgs']] = None, + s3_backup_mode: Optional[pulumi.Input['DeliveryStreamExtendedS3DestinationConfigurationS3BackupMode']] = None): + """ + :param pulumi.Input[str] bucket_arn: The Amazon Resource Name (ARN) of the Amazon S3 bucket. For constraints, see [ExtendedS3DestinationConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_ExtendedS3DestinationConfiguration.html) in the *Amazon Kinesis Data Firehose API Reference* . :param pulumi.Input[str] role_arn: The Amazon Resource Name (ARN) of the AWS credentials. For constraints, see [ExtendedS3DestinationConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_ExtendedS3DestinationConfiguration.html) in the *Amazon Kinesis Data Firehose API Reference* . :param pulumi.Input['DeliveryStreamBufferingHintsArgs'] buffering_hints: The buffering option. :param pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgs'] cloud_watch_logging_options: The Amazon CloudWatch logging options for your Firehose stream. @@ -1638,6 +2160,15 @@ def s3_backup_mode(self, value: Optional[pulumi.Input['DeliveryStreamExtendedS3D pulumi.set(self, "s3_backup_mode", value) +if not MYPY: + class DeliveryStreamHiveJsonSerDeArgsDict(TypedDict): + timestamp_formats: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Indicates how you want Firehose to parse the date and timestamps that may be present in your input data JSON. To specify these format strings, follow the pattern syntax of JodaTime's DateTimeFormat format strings. For more information, see [Class DateTimeFormat](https://docs.aws.amazon.com/https://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html) . You can also use the special value `millis` to parse timestamps in epoch milliseconds. If you don't specify a format, Firehose uses `java.sql.Timestamp::valueOf` by default. + """ +elif False: + DeliveryStreamHiveJsonSerDeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamHiveJsonSerDeArgs: def __init__(__self__, *, @@ -1661,6 +2192,19 @@ def timestamp_formats(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[s pulumi.set(self, "timestamp_formats", value) +if not MYPY: + class DeliveryStreamHttpEndpointCommonAttributeArgsDict(TypedDict): + attribute_name: pulumi.Input[str] + """ + The name of the HTTP endpoint common attribute. + """ + attribute_value: pulumi.Input[str] + """ + The value of the HTTP endpoint common attribute. + """ +elif False: + DeliveryStreamHttpEndpointCommonAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamHttpEndpointCommonAttributeArgs: def __init__(__self__, *, @@ -1698,6 +2242,23 @@ def attribute_value(self, value: pulumi.Input[str]): pulumi.set(self, "attribute_value", value) +if not MYPY: + class DeliveryStreamHttpEndpointConfigurationArgsDict(TypedDict): + url: pulumi.Input[str] + """ + The URL of the HTTP endpoint selected as the destination. + """ + access_key: NotRequired[pulumi.Input[str]] + """ + The access key required for Kinesis Firehose to authenticate with the HTTP endpoint selected as the destination. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the HTTP endpoint selected as the destination. + """ +elif False: + DeliveryStreamHttpEndpointConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamHttpEndpointConfigurationArgs: def __init__(__self__, *, @@ -1752,6 +2313,51 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class DeliveryStreamHttpEndpointDestinationConfigurationArgsDict(TypedDict): + endpoint_configuration: pulumi.Input['DeliveryStreamHttpEndpointConfigurationArgsDict'] + """ + The configuration of the HTTP endpoint selected as the destination. + """ + s3_configuration: pulumi.Input['DeliveryStreamS3DestinationConfigurationArgsDict'] + """ + Describes the configuration of a destination in Amazon S3. + """ + buffering_hints: NotRequired[pulumi.Input['DeliveryStreamBufferingHintsArgsDict']] + """ + The buffering options that can be used before data is delivered to the specified destination. Kinesis Data Firehose treats these options as hints, and it might choose to use more optimal values. The SizeInMBs and IntervalInSeconds parameters are optional. However, if you specify a value for one of them, you must also provide a value for the other. + """ + cloud_watch_logging_options: NotRequired[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgsDict']] + """ + Describes the Amazon CloudWatch logging options for your delivery stream. + """ + processing_configuration: NotRequired[pulumi.Input['DeliveryStreamProcessingConfigurationArgsDict']] + """ + Describes the data processing configuration. + """ + request_configuration: NotRequired[pulumi.Input['DeliveryStreamHttpEndpointRequestConfigurationArgsDict']] + """ + The configuration of the request sent to the HTTP endpoint specified as the destination. + """ + retry_options: NotRequired[pulumi.Input['DeliveryStreamRetryOptionsArgsDict']] + """ + Describes the retry behavior in case Kinesis Data Firehose is unable to deliver data to the specified HTTP endpoint destination, or if it doesn't receive a valid acknowledgment of receipt from the specified HTTP endpoint destination. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + Kinesis Data Firehose uses this IAM role for all the permissions that the delivery stream needs. + """ + s3_backup_mode: NotRequired[pulumi.Input[str]] + """ + Describes the S3 bucket backup options for the data that Kinesis Data Firehose delivers to the HTTP endpoint destination. You can back up all documents (AllData) or only the documents that Kinesis Data Firehose could not deliver to the specified HTTP endpoint destination (FailedDataOnly). + """ + secrets_manager_configuration: NotRequired[pulumi.Input['DeliveryStreamSecretsManagerConfigurationArgsDict']] + """ + The configuration that defines how you access secrets for HTTP Endpoint destination. + """ +elif False: + DeliveryStreamHttpEndpointDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamHttpEndpointDestinationConfigurationArgs: def __init__(__self__, *, @@ -1917,6 +2523,19 @@ def secrets_manager_configuration(self, value: Optional[pulumi.Input['DeliverySt pulumi.set(self, "secrets_manager_configuration", value) +if not MYPY: + class DeliveryStreamHttpEndpointRequestConfigurationArgsDict(TypedDict): + common_attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input['DeliveryStreamHttpEndpointCommonAttributeArgsDict']]]] + """ + Describes the metadata sent to the HTTP endpoint destination. + """ + content_encoding: NotRequired[pulumi.Input['DeliveryStreamHttpEndpointRequestConfigurationContentEncoding']] + """ + Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the request to the destination. For more information, see Content-Encoding in MDN Web Docs, the official Mozilla documentation. + """ +elif False: + DeliveryStreamHttpEndpointRequestConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamHttpEndpointRequestConfigurationArgs: def __init__(__self__, *, @@ -1956,6 +2575,32 @@ def content_encoding(self, value: Optional[pulumi.Input['DeliveryStreamHttpEndpo pulumi.set(self, "content_encoding", value) +if not MYPY: + class DeliveryStreamIcebergDestinationConfigurationArgsDict(TypedDict): + catalog_configuration: pulumi.Input['DeliveryStreamCatalogConfigurationArgsDict'] + """ + Configuration describing where the destination Apache Iceberg Tables are persisted. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling Apache Iceberg Tables. + """ + s3_configuration: pulumi.Input['DeliveryStreamS3DestinationConfigurationArgsDict'] + buffering_hints: NotRequired[pulumi.Input['DeliveryStreamBufferingHintsArgsDict']] + cloud_watch_logging_options: NotRequired[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgsDict']] + destination_table_configuration_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['DeliveryStreamDestinationTableConfigurationArgsDict']]]] + """ + Provides a list of `DestinationTableConfigurations` which Firehose uses to deliver data to Apache Iceberg Tables. Firehose will write data with insert if table specific configuration is not provided here. + """ + processing_configuration: NotRequired[pulumi.Input['DeliveryStreamProcessingConfigurationArgsDict']] + retry_options: NotRequired[pulumi.Input['DeliveryStreamRetryOptionsArgsDict']] + s3_backup_mode: NotRequired[pulumi.Input['DeliveryStreamIcebergDestinationConfigurations3BackupMode']] + """ + Describes how Firehose will backup records. Currently,S3 backup only supports `FailedDataOnly` . + """ +elif False: + DeliveryStreamIcebergDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamIcebergDestinationConfigurationArgs: def __init__(__self__, *, @@ -2084,6 +2729,15 @@ def s3_backup_mode(self, value: Optional[pulumi.Input['DeliveryStreamIcebergDest pulumi.set(self, "s3_backup_mode", value) +if not MYPY: + class DeliveryStreamInputFormatConfigurationArgsDict(TypedDict): + deserializer: NotRequired[pulumi.Input['DeliveryStreamDeserializerArgsDict']] + """ + Specifies which deserializer to use. You can choose either the Apache Hive JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the request. + """ +elif False: + DeliveryStreamInputFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamInputFormatConfigurationArgs: def __init__(__self__, *, @@ -2107,6 +2761,19 @@ def deserializer(self, value: Optional[pulumi.Input['DeliveryStreamDeserializerA pulumi.set(self, "deserializer", value) +if not MYPY: + class DeliveryStreamKinesisStreamSourceConfigurationArgsDict(TypedDict): + kinesis_stream_arn: pulumi.Input[str] + """ + The ARN of the source Kinesis data stream. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that provides access to the source Kinesis data stream. + """ +elif False: + DeliveryStreamKinesisStreamSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamKinesisStreamSourceConfigurationArgs: def __init__(__self__, *, @@ -2144,6 +2811,15 @@ def role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "role_arn", value) +if not MYPY: + class DeliveryStreamKmsEncryptionConfigArgsDict(TypedDict): + awskms_key_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the AWS KMS encryption key that Amazon S3 uses to encrypt data delivered by the Kinesis Data Firehose stream. The key must belong to the same region as the destination S3 bucket. + """ +elif False: + DeliveryStreamKmsEncryptionConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamKmsEncryptionConfigArgs: def __init__(__self__, *, @@ -2166,6 +2842,29 @@ def awskms_key_arn(self, value: pulumi.Input[str]): pulumi.set(self, "awskms_key_arn", value) +if not MYPY: + class DeliveryStreamMskSourceConfigurationArgsDict(TypedDict): + authentication_configuration: pulumi.Input['DeliveryStreamAuthenticationConfigurationArgsDict'] + """ + The authentication configuration of the Amazon MSK cluster. + """ + msk_cluster_arn: pulumi.Input[str] + """ + The ARN of the Amazon MSK cluster. + """ + topic_name: pulumi.Input[str] + """ + The topic name within the Amazon MSK cluster. + """ + read_from_timestamp: NotRequired[pulumi.Input[str]] + """ + The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read. By default, this is set to timestamp when Firehose becomes Active. + + If you want to create a Firehose stream with Earliest start position from SDK or CLI, you need to set the `ReadFromTimestamp` parameter to Epoch (1970-01-01T00:00:00Z). + """ +elif False: + DeliveryStreamMskSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamMskSourceConfigurationArgs: def __init__(__self__, *, @@ -2238,6 +2937,25 @@ def read_from_timestamp(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "read_from_timestamp", value) +if not MYPY: + class DeliveryStreamOpenXJsonSerDeArgsDict(TypedDict): + case_insensitive: NotRequired[pulumi.Input[bool]] + """ + When set to `true` , which is the default, Firehose converts JSON keys to lowercase before deserializing them. + """ + column_to_json_key_mappings: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Maps column names to JSON keys that aren't identical to the column names. This is useful when the JSON contains keys that are Hive keywords. For example, `timestamp` is a Hive keyword. If you have a JSON key named `timestamp` , set this parameter to `{"ts": "timestamp"}` to map this key to a column named `ts` . + """ + convert_dots_in_json_keys_to_underscores: NotRequired[pulumi.Input[bool]] + """ + When set to `true` , specifies that the names of the keys include dots and that you want Firehose to replace them with underscores. This is useful because Apache Hive does not allow dots in column names. For example, if the JSON contains a key whose name is "a.b", you can define the column name to be "a_b" when using this option. + + The default is `false` . + """ +elif False: + DeliveryStreamOpenXJsonSerDeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamOpenXJsonSerDeArgs: def __init__(__self__, *, @@ -2297,6 +3015,55 @@ def convert_dots_in_json_keys_to_underscores(self, value: Optional[pulumi.Input[ pulumi.set(self, "convert_dots_in_json_keys_to_underscores", value) +if not MYPY: + class DeliveryStreamOrcSerDeArgsDict(TypedDict): + block_size_bytes: NotRequired[pulumi.Input[int]] + """ + The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Firehose uses this value for padding calculations. + """ + bloom_filter_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The column names for which you want Firehose to create bloom filters. The default is `null` . + """ + bloom_filter_false_positive_probability: NotRequired[pulumi.Input[float]] + """ + The Bloom filter false positive probability (FPP). The lower the FPP, the bigger the Bloom filter. The default value is 0.05, the minimum is 0, and the maximum is 1. + """ + compression: NotRequired[pulumi.Input[str]] + """ + The compression code to use over data blocks. The default is `SNAPPY` . + """ + dictionary_key_threshold: NotRequired[pulumi.Input[float]] + """ + Represents the fraction of the total number of non-null rows. To turn off dictionary encoding, set this fraction to a number that is less than the number of distinct keys in a dictionary. To always use dictionary encoding, set this threshold to 1. + """ + enable_padding: NotRequired[pulumi.Input[bool]] + """ + Set this to `true` to indicate that you want stripes to be padded to the HDFS block boundaries. This is useful if you intend to copy the data from Amazon S3 to HDFS before querying. The default is `false` . + """ + format_version: NotRequired[pulumi.Input[str]] + """ + The version of the file to write. The possible values are `V0_11` and `V0_12` . The default is `V0_12` . + """ + padding_tolerance: NotRequired[pulumi.Input[float]] + """ + A number between 0 and 1 that defines the tolerance for block padding as a decimal fraction of stripe size. The default value is 0.05, which means 5 percent of stripe size. + + For the default values of 64 MiB ORC stripes and 256 MiB HDFS blocks, the default block padding tolerance of 5 percent reserves a maximum of 3.2 MiB for padding within the 256 MiB block. In such a case, if the available size within the block is more than 3.2 MiB, a new, smaller stripe is inserted to fit within that space. This ensures that no stripe crosses block boundaries and causes remote reads within a node-local task. + + Kinesis Data Firehose ignores this parameter when `EnablePadding` is `false` . + """ + row_index_stride: NotRequired[pulumi.Input[int]] + """ + The number of rows between index entries. The default is 10,000 and the minimum is 1,000. + """ + stripe_size_bytes: NotRequired[pulumi.Input[int]] + """ + The number of bytes in each stripe. The default is 64 MiB and the minimum is 8 MiB. + """ +elif False: + DeliveryStreamOrcSerDeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamOrcSerDeArgs: def __init__(__self__, *, @@ -2472,6 +3239,15 @@ def stripe_size_bytes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "stripe_size_bytes", value) +if not MYPY: + class DeliveryStreamOutputFormatConfigurationArgsDict(TypedDict): + serializer: NotRequired[pulumi.Input['DeliveryStreamSerializerArgsDict']] + """ + Specifies which serializer to use. You can choose either the ORC SerDe or the Parquet SerDe. If both are non-null, the server rejects the request. + """ +elif False: + DeliveryStreamOutputFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamOutputFormatConfigurationArgs: def __init__(__self__, *, @@ -2495,6 +3271,35 @@ def serializer(self, value: Optional[pulumi.Input['DeliveryStreamSerializerArgs' pulumi.set(self, "serializer", value) +if not MYPY: + class DeliveryStreamParquetSerDeArgsDict(TypedDict): + block_size_bytes: NotRequired[pulumi.Input[int]] + """ + The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Firehose uses this value for padding calculations. + """ + compression: NotRequired[pulumi.Input[str]] + """ + The compression code to use over data blocks. The possible values are `UNCOMPRESSED` , `SNAPPY` , and `GZIP` , with the default being `SNAPPY` . Use `SNAPPY` for higher decompression speed. Use `GZIP` if the compression ratio is more important than speed. + """ + enable_dictionary_compression: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to enable dictionary compression. + """ + max_padding_bytes: NotRequired[pulumi.Input[int]] + """ + The maximum amount of padding to apply. This is useful if you intend to copy the data from Amazon S3 to HDFS before querying. The default is 0. + """ + page_size_bytes: NotRequired[pulumi.Input[int]] + """ + The Parquet page size. Column chunks are divided into pages. A page is conceptually an indivisible unit (in terms of compression and encoding). The minimum value is 64 KiB and the default is 1 MiB. + """ + writer_version: NotRequired[pulumi.Input[str]] + """ + Indicates the version of row format to output. The possible values are `V1` and `V2` . The default is `V1` . + """ +elif False: + DeliveryStreamParquetSerDeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamParquetSerDeArgs: def __init__(__self__, *, @@ -2598,6 +3403,19 @@ def writer_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "writer_version", value) +if not MYPY: + class DeliveryStreamProcessingConfigurationArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether data processing is enabled (true) or disabled (false). + """ + processors: NotRequired[pulumi.Input[Sequence[pulumi.Input['DeliveryStreamProcessorArgsDict']]]] + """ + The data processors. + """ +elif False: + DeliveryStreamProcessingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamProcessingConfigurationArgs: def __init__(__self__, *, @@ -2637,6 +3455,19 @@ def processors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Deliver pulumi.set(self, "processors", value) +if not MYPY: + class DeliveryStreamProcessorParameterArgsDict(TypedDict): + parameter_name: pulumi.Input[str] + """ + The name of the parameter. Currently the following default values are supported: 3 for `NumberOfRetries` and 60 for the `BufferIntervalInSeconds` . The `BufferSizeInMBs` ranges between 0.2 MB and up to 3MB. The default buffering hint is 1MB for all destinations, except Splunk. For Splunk, the default buffering hint is 256 KB. + """ + parameter_value: pulumi.Input[str] + """ + The parameter value. + """ +elif False: + DeliveryStreamProcessorParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamProcessorParameterArgs: def __init__(__self__, *, @@ -2674,43 +3505,109 @@ def parameter_value(self, value: pulumi.Input[str]): pulumi.set(self, "parameter_value", value) +if not MYPY: + class DeliveryStreamProcessorArgsDict(TypedDict): + type: pulumi.Input['DeliveryStreamProcessorType'] + """ + The type of processor. Valid values: `Lambda` . + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DeliveryStreamProcessorParameterArgsDict']]]] + """ + The processor parameters. + """ +elif False: + DeliveryStreamProcessorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamProcessorArgs: def __init__(__self__, *, type: pulumi.Input['DeliveryStreamProcessorType'], parameters: Optional[pulumi.Input[Sequence[pulumi.Input['DeliveryStreamProcessorParameterArgs']]]] = None): """ - :param pulumi.Input['DeliveryStreamProcessorType'] type: The type of processor. Valid values: `Lambda` . - :param pulumi.Input[Sequence[pulumi.Input['DeliveryStreamProcessorParameterArgs']]] parameters: The processor parameters. + :param pulumi.Input['DeliveryStreamProcessorType'] type: The type of processor. Valid values: `Lambda` . + :param pulumi.Input[Sequence[pulumi.Input['DeliveryStreamProcessorParameterArgs']]] parameters: The processor parameters. + """ + pulumi.set(__self__, "type", type) + if parameters is not None: + pulumi.set(__self__, "parameters", parameters) + + @property + @pulumi.getter + def type(self) -> pulumi.Input['DeliveryStreamProcessorType']: + """ + The type of processor. Valid values: `Lambda` . + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input['DeliveryStreamProcessorType']): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeliveryStreamProcessorParameterArgs']]]]: + """ + The processor parameters. + """ + return pulumi.get(self, "parameters") + + @parameters.setter + def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeliveryStreamProcessorParameterArgs']]]]): + pulumi.set(self, "parameters", value) + + +if not MYPY: + class DeliveryStreamRedshiftDestinationConfigurationArgsDict(TypedDict): + cluster_jdbcurl: pulumi.Input[str] + """ + The connection string that Kinesis Data Firehose uses to connect to the Amazon Redshift cluster. + """ + copy_command: pulumi.Input['DeliveryStreamCopyCommandArgsDict'] + """ + Configures the Amazon Redshift `COPY` command that Kinesis Data Firehose uses to load data into the cluster from the Amazon S3 bucket. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the AWS Identity and Access Management (IAM) role that grants Kinesis Data Firehose access to your Amazon S3 bucket and AWS KMS (if you enable data encryption). For more information, see [Grant Kinesis Data Firehose Access to an Amazon Redshift Destination](https://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-rs) in the *Amazon Kinesis Data Firehose Developer Guide* . + """ + s3_configuration: pulumi.Input['DeliveryStreamS3DestinationConfigurationArgsDict'] + """ + The S3 bucket where Kinesis Data Firehose first delivers data. After the data is in the bucket, Kinesis Data Firehose uses the `COPY` command to load the data into the Amazon Redshift cluster. For the Amazon S3 bucket's compression format, don't specify `SNAPPY` or `ZIP` because the Amazon Redshift `COPY` command doesn't support them. + """ + cloud_watch_logging_options: NotRequired[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgsDict']] + """ + The CloudWatch logging options for your Firehose stream. + """ + password: NotRequired[pulumi.Input[str]] + """ + The password for the Amazon Redshift user that you specified in the `Username` property. + """ + processing_configuration: NotRequired[pulumi.Input['DeliveryStreamProcessingConfigurationArgsDict']] + """ + The data processing configuration for the Kinesis Data Firehose delivery stream. + """ + retry_options: NotRequired[pulumi.Input['DeliveryStreamRedshiftRetryOptionsArgsDict']] + """ + The retry behavior in case Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes). + """ + s3_backup_configuration: NotRequired[pulumi.Input['DeliveryStreamS3DestinationConfigurationArgsDict']] """ - pulumi.set(__self__, "type", type) - if parameters is not None: - pulumi.set(__self__, "parameters", parameters) - - @property - @pulumi.getter - def type(self) -> pulumi.Input['DeliveryStreamProcessorType']: + The configuration for backup in Amazon S3. """ - The type of processor. Valid values: `Lambda` . + s3_backup_mode: NotRequired[pulumi.Input['DeliveryStreamRedshiftDestinationConfigurationS3BackupMode']] """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input['DeliveryStreamProcessorType']): - pulumi.set(self, "type", value) - - @property - @pulumi.getter - def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeliveryStreamProcessorParameterArgs']]]]: + The Amazon S3 backup mode. After you create a Firehose stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the Firehose stream to disable it. """ - The processor parameters. + secrets_manager_configuration: NotRequired[pulumi.Input['DeliveryStreamSecretsManagerConfigurationArgsDict']] """ - return pulumi.get(self, "parameters") - - @parameters.setter - def parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeliveryStreamProcessorParameterArgs']]]]): - pulumi.set(self, "parameters", value) - + The configuration that defines how you access secrets for Amazon Redshift. + """ + username: NotRequired[pulumi.Input[str]] + """ + The Amazon Redshift user that has permission to access the Amazon Redshift cluster. This user must have `INSERT` privileges for copying data from the Amazon S3 bucket to the cluster. + """ +elif False: + DeliveryStreamRedshiftDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class DeliveryStreamRedshiftDestinationConfigurationArgs: @@ -2907,6 +3804,15 @@ def username(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "username", value) +if not MYPY: + class DeliveryStreamRedshiftRetryOptionsArgsDict(TypedDict): + duration_in_seconds: NotRequired[pulumi.Input[int]] + """ + The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of `DurationInSeconds` is 0 (zero) or if the first delivery attempt takes longer than the current value. + """ +elif False: + DeliveryStreamRedshiftRetryOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamRedshiftRetryOptionsArgs: def __init__(__self__, *, @@ -2930,6 +3836,15 @@ def duration_in_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "duration_in_seconds", value) +if not MYPY: + class DeliveryStreamRetryOptionsArgsDict(TypedDict): + duration_in_seconds: NotRequired[pulumi.Input[int]] + """ + The total amount of time that Kinesis Data Firehose spends on retries. This duration starts after the initial attempt to send data to the custom destination via HTTPS endpoint fails. It doesn't include the periods during which Kinesis Data Firehose waits for acknowledgment from the specified destination after each attempt. + """ +elif False: + DeliveryStreamRetryOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamRetryOptionsArgs: def __init__(__self__, *, @@ -2953,6 +3868,43 @@ def duration_in_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "duration_in_seconds", value) +if not MYPY: + class DeliveryStreamS3DestinationConfigurationArgsDict(TypedDict): + bucket_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Amazon S3 bucket to send data to. + """ + role_arn: pulumi.Input[str] + """ + The ARN of an AWS Identity and Access Management (IAM) role that grants Kinesis Data Firehose access to your Amazon S3 bucket and AWS KMS (if you enable data encryption). For more information, see [Grant Kinesis Data Firehose Access to an Amazon S3 Destination](https://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-s3) in the *Amazon Kinesis Data Firehose Developer Guide* . + """ + buffering_hints: NotRequired[pulumi.Input['DeliveryStreamBufferingHintsArgsDict']] + """ + Configures how Kinesis Data Firehose buffers incoming data while delivering it to the Amazon S3 bucket. + """ + cloud_watch_logging_options: NotRequired[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgsDict']] + """ + The CloudWatch logging options for your Firehose stream. + """ + compression_format: NotRequired[pulumi.Input['DeliveryStreamS3DestinationConfigurationCompressionFormat']] + """ + The type of compression that Kinesis Data Firehose uses to compress the data that it delivers to the Amazon S3 bucket. For valid values, see the `CompressionFormat` content for the [S3DestinationConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_S3DestinationConfiguration.html) data type in the *Amazon Kinesis Data Firehose API Reference* . + """ + encryption_configuration: NotRequired[pulumi.Input['DeliveryStreamEncryptionConfigurationArgsDict']] + """ + Configures Amazon Simple Storage Service (Amazon S3) server-side encryption. Kinesis Data Firehose uses AWS Key Management Service ( AWS KMS) to encrypt the data that it delivers to your Amazon S3 bucket. + """ + error_output_prefix: NotRequired[pulumi.Input[str]] + """ + A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3. This prefix appears immediately following the bucket name. For information about how to specify this prefix, see [Custom Prefixes for Amazon S3 Objects](https://docs.aws.amazon.com/firehose/latest/dev/s3-prefixes.html) . + """ + prefix: NotRequired[pulumi.Input[str]] + """ + A prefix that Kinesis Data Firehose adds to the files that it delivers to the Amazon S3 bucket. The prefix helps you identify the files that Kinesis Data Firehose delivered. + """ +elif False: + DeliveryStreamS3DestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamS3DestinationConfigurationArgs: def __init__(__self__, *, @@ -3086,6 +4038,41 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class DeliveryStreamSchemaConfigurationArgsDict(TypedDict): + catalog_id: NotRequired[pulumi.Input[str]] + """ + The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default. + """ + database_name: NotRequired[pulumi.Input[str]] + """ + Specifies the name of the AWS Glue database that contains the schema for the output data. + + > If the `SchemaConfiguration` request parameter is used as part of invoking the `CreateDeliveryStream` API, then the `DatabaseName` property is required and its value must be specified. + """ + region: NotRequired[pulumi.Input[str]] + """ + If you don't specify an AWS Region, the default is the current Region. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The role that Firehose can use to access AWS Glue. This role must be in the same account you use for Firehose. Cross-account roles aren't allowed. + + > If the `SchemaConfiguration` request parameter is used as part of invoking the `CreateDeliveryStream` API, then the `RoleARN` property is required and its value must be specified. + """ + table_name: NotRequired[pulumi.Input[str]] + """ + Specifies the AWS Glue table that contains the column information that constitutes your data schema. + + > If the `SchemaConfiguration` request parameter is used as part of invoking the `CreateDeliveryStream` API, then the `TableName` property is required and its value must be specified. + """ + version_id: NotRequired[pulumi.Input[str]] + """ + Specifies the table version for the output data schema. If you don't specify this version ID, or if you set it to `LATEST` , Firehose uses the most recent version. This means that any updates to the table are automatically picked up. + """ +elif False: + DeliveryStreamSchemaConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamSchemaConfigurationArgs: def __init__(__self__, *, @@ -3201,6 +4188,23 @@ def version_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version_id", value) +if not MYPY: + class DeliveryStreamSecretsManagerConfigurationArgsDict(TypedDict): + enabled: pulumi.Input[bool] + """ + Specifies whether you want to use the secrets manager feature. When set as `True` the secrets manager configuration overwrites the existing secrets in the destination configuration. When it's set to `False` Firehose falls back to the credentials in the destination configuration. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + Specifies the role that Firehose assumes when calling the Secrets Manager API operation. When you provide the role, it overrides any destination specific role defined in the destination configuration. If you do not provide the then we use the destination specific role. This parameter is required for Splunk. + """ + secret_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the secret that stores your credentials. It must be in the same region as the Firehose stream and the role. The secret ARN can reside in a different account than the Firehose stream and role as Firehose supports cross-account secret access. This parameter is required when *Enabled* is set to `True` . + """ +elif False: + DeliveryStreamSecretsManagerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamSecretsManagerConfigurationArgs: def __init__(__self__, *, @@ -3255,6 +4259,19 @@ def secret_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "secret_arn", value) +if not MYPY: + class DeliveryStreamSerializerArgsDict(TypedDict): + orc_ser_de: NotRequired[pulumi.Input['DeliveryStreamOrcSerDeArgsDict']] + """ + A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more information, see [Apache ORC](https://docs.aws.amazon.com/https://orc.apache.org/docs/) . + """ + parquet_ser_de: NotRequired[pulumi.Input['DeliveryStreamParquetSerDeArgsDict']] + """ + A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see [Apache Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/documentation/latest/) . + """ +elif False: + DeliveryStreamSerializerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamSerializerArgs: def __init__(__self__, *, @@ -3294,6 +4311,19 @@ def parquet_ser_de(self, value: Optional[pulumi.Input['DeliveryStreamParquetSerD pulumi.set(self, "parquet_ser_de", value) +if not MYPY: + class DeliveryStreamSnowflakeBufferingHintsArgsDict(TypedDict): + interval_in_seconds: NotRequired[pulumi.Input[int]] + """ + Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 0. + """ + size_in_mbs: NotRequired[pulumi.Input[int]] + """ + Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 128. + """ +elif False: + DeliveryStreamSnowflakeBufferingHintsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamSnowflakeBufferingHintsArgs: def __init__(__self__, *, @@ -3333,6 +4363,85 @@ def size_in_mbs(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "size_in_mbs", value) +if not MYPY: + class DeliveryStreamSnowflakeDestinationConfigurationArgsDict(TypedDict): + account_url: pulumi.Input[str] + """ + URL for accessing your Snowflake account. This URL must include your [account identifier](https://docs.aws.amazon.com/https://docs.snowflake.com/en/user-guide/admin-account-identifier) . Note that the protocol (https://) and port number are optional. + """ + database: pulumi.Input[str] + """ + All data in Snowflake is maintained in databases. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Snowflake role + """ + s3_configuration: pulumi.Input['DeliveryStreamS3DestinationConfigurationArgsDict'] + schema: pulumi.Input[str] + """ + Each database consists of one or more schemas, which are logical groupings of database objects, such as tables and views + """ + table: pulumi.Input[str] + """ + All data in Snowflake is stored in database tables, logically structured as collections of columns and rows. + """ + buffering_hints: NotRequired[pulumi.Input['DeliveryStreamSnowflakeBufferingHintsArgsDict']] + """ + Describes the buffering to perform before delivering data to the Snowflake destination. If you do not specify any value, Firehose uses the default values. + """ + cloud_watch_logging_options: NotRequired[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgsDict']] + content_column_name: NotRequired[pulumi.Input[str]] + """ + The name of the record content column + """ + data_loading_option: NotRequired[pulumi.Input['DeliveryStreamSnowflakeDestinationConfigurationDataLoadingOption']] + """ + Choose to load JSON keys mapped to table column names or choose to split the JSON payload where content is mapped to a record content column and source metadata is mapped to a record metadata column. + """ + key_passphrase: NotRequired[pulumi.Input[str]] + """ + Passphrase to decrypt the private key when the key is encrypted. For information, see [Using Key Pair Authentication & Key Rotation](https://docs.aws.amazon.com/https://docs.snowflake.com/en/user-guide/data-load-snowpipe-streaming-configuration#using-key-pair-authentication-key-rotation) . + """ + meta_data_column_name: NotRequired[pulumi.Input[str]] + """ + The name of the record metadata column + """ + private_key: NotRequired[pulumi.Input[str]] + """ + The private key used to encrypt your Snowflake client. For information, see [Using Key Pair Authentication & Key Rotation](https://docs.aws.amazon.com/https://docs.snowflake.com/en/user-guide/data-load-snowpipe-streaming-configuration#using-key-pair-authentication-key-rotation) . + """ + processing_configuration: NotRequired[pulumi.Input['DeliveryStreamProcessingConfigurationArgsDict']] + """ + Specifies configuration for Snowflake. + """ + retry_options: NotRequired[pulumi.Input['DeliveryStreamSnowflakeRetryOptionsArgsDict']] + """ + The time period where Firehose will retry sending data to the chosen HTTP endpoint. + """ + s3_backup_mode: NotRequired[pulumi.Input['DeliveryStreamSnowflakeDestinationConfigurationS3BackupMode']] + """ + Choose an S3 backup mode + """ + secrets_manager_configuration: NotRequired[pulumi.Input['DeliveryStreamSecretsManagerConfigurationArgsDict']] + """ + The configuration that defines how you access secrets for Snowflake. + """ + snowflake_role_configuration: NotRequired[pulumi.Input['DeliveryStreamSnowflakeRoleConfigurationArgsDict']] + """ + Optionally configure a Snowflake role. Otherwise the default user role will be used. + """ + snowflake_vpc_configuration: NotRequired[pulumi.Input['DeliveryStreamSnowflakeVpcConfigurationArgsDict']] + """ + The VPCE ID for Firehose to privately connect with Snowflake. The ID format is com.amazonaws.vpce.[region].vpce-svc-<[id]>. For more information, see [Amazon PrivateLink & Snowflake](https://docs.aws.amazon.com/https://docs.snowflake.com/en/user-guide/admin-security-privatelink) + """ + user: NotRequired[pulumi.Input[str]] + """ + User login name for the Snowflake account. + """ +elif False: + DeliveryStreamSnowflakeDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamSnowflakeDestinationConfigurationArgs: def __init__(__self__, *, @@ -3646,6 +4755,15 @@ def user(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user", value) +if not MYPY: + class DeliveryStreamSnowflakeRetryOptionsArgsDict(TypedDict): + duration_in_seconds: NotRequired[pulumi.Input[int]] + """ + the time period where Firehose will retry sending data to the chosen HTTP endpoint. + """ +elif False: + DeliveryStreamSnowflakeRetryOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamSnowflakeRetryOptionsArgs: def __init__(__self__, *, @@ -3669,6 +4787,19 @@ def duration_in_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "duration_in_seconds", value) +if not MYPY: + class DeliveryStreamSnowflakeRoleConfigurationArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Enable Snowflake role + """ + snowflake_role: NotRequired[pulumi.Input[str]] + """ + The Snowflake role you wish to configure + """ +elif False: + DeliveryStreamSnowflakeRoleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamSnowflakeRoleConfigurationArgs: def __init__(__self__, *, @@ -3708,6 +4839,15 @@ def snowflake_role(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "snowflake_role", value) +if not MYPY: + class DeliveryStreamSnowflakeVpcConfigurationArgsDict(TypedDict): + private_link_vpce_id: pulumi.Input[str] + """ + The VPCE ID for Firehose to privately connect with Snowflake. The ID format is com.amazonaws.vpce.[region].vpce-svc-<[id]>. For more information, see [Amazon PrivateLink & Snowflake](https://docs.aws.amazon.com/https://docs.snowflake.com/en/user-guide/admin-security-privatelink) + """ +elif False: + DeliveryStreamSnowflakeVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamSnowflakeVpcConfigurationArgs: def __init__(__self__, *, @@ -3730,6 +4870,19 @@ def private_link_vpce_id(self, value: pulumi.Input[str]): pulumi.set(self, "private_link_vpce_id", value) +if not MYPY: + class DeliveryStreamSplunkBufferingHintsArgsDict(TypedDict): + interval_in_seconds: NotRequired[pulumi.Input[int]] + """ + Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 60 (1 minute). + """ + size_in_mbs: NotRequired[pulumi.Input[int]] + """ + Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5. + """ +elif False: + DeliveryStreamSplunkBufferingHintsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamSplunkBufferingHintsArgs: def __init__(__self__, *, @@ -3769,6 +4922,57 @@ def size_in_mbs(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "size_in_mbs", value) +if not MYPY: + class DeliveryStreamSplunkDestinationConfigurationArgsDict(TypedDict): + hec_endpoint: pulumi.Input[str] + """ + The HTTP Event Collector (HEC) endpoint to which Firehose sends your data. + """ + hec_endpoint_type: pulumi.Input['DeliveryStreamSplunkDestinationConfigurationHecEndpointType'] + """ + This type can be either `Raw` or `Event` . + """ + s3_configuration: pulumi.Input['DeliveryStreamS3DestinationConfigurationArgsDict'] + """ + The configuration for the backup Amazon S3 location. + """ + buffering_hints: NotRequired[pulumi.Input['DeliveryStreamSplunkBufferingHintsArgsDict']] + """ + The buffering options. If no value is specified, the default values for Splunk are used. + """ + cloud_watch_logging_options: NotRequired[pulumi.Input['DeliveryStreamCloudWatchLoggingOptionsArgsDict']] + """ + The Amazon CloudWatch logging options for your Firehose stream. + """ + hec_acknowledgment_timeout_in_seconds: NotRequired[pulumi.Input[int]] + """ + The amount of time that Firehose waits to receive an acknowledgment from Splunk after it sends it data. At the end of the timeout period, Firehose either tries to send the data again or considers it an error, based on your retry settings. + """ + hec_token: NotRequired[pulumi.Input[str]] + """ + This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint. + """ + processing_configuration: NotRequired[pulumi.Input['DeliveryStreamProcessingConfigurationArgsDict']] + """ + The data processing configuration. + """ + retry_options: NotRequired[pulumi.Input['DeliveryStreamSplunkRetryOptionsArgsDict']] + """ + The retry behavior in case Firehose is unable to deliver data to Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk. + """ + s3_backup_mode: NotRequired[pulumi.Input[str]] + """ + Defines how documents should be delivered to Amazon S3. When set to `FailedEventsOnly` , Firehose writes any data that could not be indexed to the configured Amazon S3 destination. When set to `AllEvents` , Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. The default value is `FailedEventsOnly` . + + You can update this backup mode from `FailedEventsOnly` to `AllEvents` . You can't update it from `AllEvents` to `FailedEventsOnly` . + """ + secrets_manager_configuration: NotRequired[pulumi.Input['DeliveryStreamSecretsManagerConfigurationArgsDict']] + """ + The configuration that defines how you access secrets for Splunk. + """ +elif False: + DeliveryStreamSplunkDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamSplunkDestinationConfigurationArgs: def __init__(__self__, *, @@ -3953,6 +5157,15 @@ def secrets_manager_configuration(self, value: Optional[pulumi.Input['DeliverySt pulumi.set(self, "secrets_manager_configuration", value) +if not MYPY: + class DeliveryStreamSplunkRetryOptionsArgsDict(TypedDict): + duration_in_seconds: NotRequired[pulumi.Input[int]] + """ + The total amount of time that Firehose spends on retries. This duration starts after the initial attempt to send data to Splunk fails. It doesn't include the periods during which Firehose waits for acknowledgment from Splunk after each attempt. + """ +elif False: + DeliveryStreamSplunkRetryOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamSplunkRetryOptionsArgs: def __init__(__self__, *, @@ -3976,6 +5189,36 @@ def duration_in_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "duration_in_seconds", value) +if not MYPY: + class DeliveryStreamVpcConfigurationArgsDict(TypedDict): + role_arn: pulumi.Input[str] + """ + The ARN of the IAM role that you want the delivery stream to use to create endpoints in the destination VPC. You can use your existing Kinesis Data Firehose delivery role or you can specify a new role. In either case, make sure that the role trusts the Kinesis Data Firehose service principal and that it grants the following permissions: + + - `ec2:DescribeVpcs` + - `ec2:DescribeVpcAttribute` + - `ec2:DescribeSubnets` + - `ec2:DescribeSecurityGroups` + - `ec2:DescribeNetworkInterfaces` + - `ec2:CreateNetworkInterface` + - `ec2:CreateNetworkInterfacePermission` + - `ec2:DeleteNetworkInterface` + + If you revoke these permissions after you create the delivery stream, Kinesis Data Firehose can't scale out by creating more ENIs when necessary. You might therefore see a degradation in performance. + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The IDs of the security groups that you want Kinesis Data Firehose to use when it creates ENIs in the VPC of the Amazon ES destination. You can use the same security group that the Amazon ES domain uses or different ones. If you specify different security groups here, ensure that they allow outbound HTTPS traffic to the Amazon ES domain's security group. Also ensure that the Amazon ES domain's security group allows HTTPS traffic from the security groups specified here. If you use the same security group for both your delivery stream and the Amazon ES domain, make sure the security group inbound rule allows HTTPS traffic. + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The IDs of the subnets that Kinesis Data Firehose uses to create ENIs in the VPC of the Amazon ES destination. Make sure that the routing tables and inbound and outbound rules allow traffic to flow from the subnets whose IDs are specified here to the subnets that have the destination Amazon ES endpoints. Kinesis Data Firehose creates at least one ENI in each of the subnets that are specified here. Do not delete or modify these ENIs. + + The number of ENIs that Kinesis Data Firehose creates in the subnets specified here scales up and down automatically based on throughput. To enable Kinesis Data Firehose to scale up the number of ENIs to match throughput, ensure that you have sufficient quota. To help you calculate the quota you need, assume that Kinesis Data Firehose can create up to three ENIs for this delivery stream for each of the subnets specified here. + """ +elif False: + DeliveryStreamVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryStreamVpcConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/kinesisfirehose/delivery_stream.py b/sdk/python/pulumi_aws_native/kinesisfirehose/delivery_stream.py index 017949b6a8..b48fef26b9 100644 --- a/sdk/python/pulumi_aws_native/kinesisfirehose/delivery_stream.py +++ b/sdk/python/pulumi_aws_native/kinesisfirehose/delivery_stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/kinesisfirehose/get_delivery_stream.py b/sdk/python/pulumi_aws_native/kinesisfirehose/get_delivery_stream.py index 3e84e45813..c765508cfa 100644 --- a/sdk/python/pulumi_aws_native/kinesisfirehose/get_delivery_stream.py +++ b/sdk/python/pulumi_aws_native/kinesisfirehose/get_delivery_stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -228,9 +233,6 @@ def get_delivery_stream(delivery_stream_name: Optional[str] = None, snowflake_destination_configuration=pulumi.get(__ret__, 'snowflake_destination_configuration'), splunk_destination_configuration=pulumi.get(__ret__, 'splunk_destination_configuration'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_delivery_stream) def get_delivery_stream_output(delivery_stream_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeliveryStreamResult]: """ @@ -239,4 +241,20 @@ def get_delivery_stream_output(delivery_stream_name: Optional[pulumi.Input[str]] :param str delivery_stream_name: The name of the Firehose stream. """ - ... + __args__ = dict() + __args__['deliveryStreamName'] = delivery_stream_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kinesisfirehose:getDeliveryStream', __args__, opts=opts, typ=GetDeliveryStreamResult) + return __ret__.apply(lambda __response__: GetDeliveryStreamResult( + amazon_open_search_serverless_destination_configuration=pulumi.get(__response__, 'amazon_open_search_serverless_destination_configuration'), + amazonopensearchservice_destination_configuration=pulumi.get(__response__, 'amazonopensearchservice_destination_configuration'), + arn=pulumi.get(__response__, 'arn'), + delivery_stream_encryption_configuration_input=pulumi.get(__response__, 'delivery_stream_encryption_configuration_input'), + elasticsearch_destination_configuration=pulumi.get(__response__, 'elasticsearch_destination_configuration'), + extended_s3_destination_configuration=pulumi.get(__response__, 'extended_s3_destination_configuration'), + http_endpoint_destination_configuration=pulumi.get(__response__, 'http_endpoint_destination_configuration'), + redshift_destination_configuration=pulumi.get(__response__, 'redshift_destination_configuration'), + s3_destination_configuration=pulumi.get(__response__, 's3_destination_configuration'), + snowflake_destination_configuration=pulumi.get(__response__, 'snowflake_destination_configuration'), + splunk_destination_configuration=pulumi.get(__response__, 'splunk_destination_configuration'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/kinesisfirehose/outputs.py b/sdk/python/pulumi_aws_native/kinesisfirehose/outputs.py index e18115bd75..d056373a4a 100644 --- a/sdk/python/pulumi_aws_native/kinesisfirehose/outputs.py +++ b/sdk/python/pulumi_aws_native/kinesisfirehose/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/kinesisvideo/get_signaling_channel.py b/sdk/python/pulumi_aws_native/kinesisvideo/get_signaling_channel.py index 5dcb84e00a..8fc905b51b 100644 --- a/sdk/python/pulumi_aws_native/kinesisvideo/get_signaling_channel.py +++ b/sdk/python/pulumi_aws_native/kinesisvideo/get_signaling_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -97,9 +102,6 @@ def get_signaling_channel(name: Optional[str] = None, message_ttl_seconds=pulumi.get(__ret__, 'message_ttl_seconds'), tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_signaling_channel) def get_signaling_channel_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSignalingChannelResult]: """ @@ -108,4 +110,12 @@ def get_signaling_channel_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Kinesis Video Signaling Channel. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kinesisvideo:getSignalingChannel', __args__, opts=opts, typ=GetSignalingChannelResult) + return __ret__.apply(lambda __response__: GetSignalingChannelResult( + arn=pulumi.get(__response__, 'arn'), + message_ttl_seconds=pulumi.get(__response__, 'message_ttl_seconds'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/kinesisvideo/get_stream.py b/sdk/python/pulumi_aws_native/kinesisvideo/get_stream.py index f9618d791d..9c50f64767 100644 --- a/sdk/python/pulumi_aws_native/kinesisvideo/get_stream.py +++ b/sdk/python/pulumi_aws_native/kinesisvideo/get_stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_stream(name: Optional[str] = None, kms_key_id=pulumi.get(__ret__, 'kms_key_id'), media_type=pulumi.get(__ret__, 'media_type'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_stream) def get_stream_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStreamResult]: """ @@ -133,4 +135,14 @@ def get_stream_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Kinesis Video stream. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kinesisvideo:getStream', __args__, opts=opts, typ=GetStreamResult) + return __ret__.apply(lambda __response__: GetStreamResult( + arn=pulumi.get(__response__, 'arn'), + data_retention_in_hours=pulumi.get(__response__, 'data_retention_in_hours'), + device_name=pulumi.get(__response__, 'device_name'), + kms_key_id=pulumi.get(__response__, 'kms_key_id'), + media_type=pulumi.get(__response__, 'media_type'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/kinesisvideo/signaling_channel.py b/sdk/python/pulumi_aws_native/kinesisvideo/signaling_channel.py index f0efe11495..354e0e9bcd 100644 --- a/sdk/python/pulumi_aws_native/kinesisvideo/signaling_channel.py +++ b/sdk/python/pulumi_aws_native/kinesisvideo/signaling_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/kinesisvideo/stream.py b/sdk/python/pulumi_aws_native/kinesisvideo/stream.py index ab5621539e..235e877e67 100644 --- a/sdk/python/pulumi_aws_native/kinesisvideo/stream.py +++ b/sdk/python/pulumi_aws_native/kinesisvideo/stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/kms/alias.py b/sdk/python/pulumi_aws_native/kms/alias.py index ad6dd37e03..5b536c8951 100644 --- a/sdk/python/pulumi_aws_native/kms/alias.py +++ b/sdk/python/pulumi_aws_native/kms/alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['AliasArgs', 'Alias'] diff --git a/sdk/python/pulumi_aws_native/kms/get_alias.py b/sdk/python/pulumi_aws_native/kms/get_alias.py index 98ff401aac..1a798e08e5 100644 --- a/sdk/python/pulumi_aws_native/kms/get_alias.py +++ b/sdk/python/pulumi_aws_native/kms/get_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -76,9 +81,6 @@ def get_alias(alias_name: Optional[str] = None, return AwaitableGetAliasResult( target_key_id=pulumi.get(__ret__, 'target_key_id')) - - -@_utilities.lift_output_func(get_alias) def get_alias_output(alias_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAliasResult]: """ @@ -99,4 +101,9 @@ def get_alias_output(alias_name: Optional[pulumi.Input[str]] = None, If you change the value of the ``AliasName`` property, the existing alias is deleted and a new alias is created for the specified KMS key. This change can disrupt applications that use the alias. It can also allow or deny access to a KMS key affected by attribute-based access control (ABAC). The alias must be string of 1-256 characters. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). The alias name cannot begin with ``alias/aws/``. The ``alias/aws/`` prefix is reserved for [](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk). """ - ... + __args__ = dict() + __args__['aliasName'] = alias_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kms:getAlias', __args__, opts=opts, typ=GetAliasResult) + return __ret__.apply(lambda __response__: GetAliasResult( + target_key_id=pulumi.get(__response__, 'target_key_id'))) diff --git a/sdk/python/pulumi_aws_native/kms/get_key.py b/sdk/python/pulumi_aws_native/kms/get_key.py index 83e319ad3b..dc68924464 100644 --- a/sdk/python/pulumi_aws_native/kms/get_key.py +++ b/sdk/python/pulumi_aws_native/kms/get_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -270,9 +275,6 @@ def get_key(key_id: Optional[str] = None, multi_region=pulumi.get(__ret__, 'multi_region'), origin=pulumi.get(__ret__, 'origin'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_key) def get_key_output(key_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyResult]: """ @@ -292,4 +294,19 @@ def get_key_output(key_id: Optional[pulumi.Input[str]] = None, For information about the key ID of a KMS key, see [Key ID](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-id) in the *AWS Key Management Service Developer Guide* . """ - ... + __args__ = dict() + __args__['keyId'] = key_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kms:getKey', __args__, opts=opts, typ=GetKeyResult) + return __ret__.apply(lambda __response__: GetKeyResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + enable_key_rotation=pulumi.get(__response__, 'enable_key_rotation'), + enabled=pulumi.get(__response__, 'enabled'), + key_id=pulumi.get(__response__, 'key_id'), + key_policy=pulumi.get(__response__, 'key_policy'), + key_spec=pulumi.get(__response__, 'key_spec'), + key_usage=pulumi.get(__response__, 'key_usage'), + multi_region=pulumi.get(__response__, 'multi_region'), + origin=pulumi.get(__response__, 'origin'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/kms/get_replica_key.py b/sdk/python/pulumi_aws_native/kms/get_replica_key.py index cbbd64be6e..39b5f6ec4e 100644 --- a/sdk/python/pulumi_aws_native/kms/get_replica_key.py +++ b/sdk/python/pulumi_aws_native/kms/get_replica_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -130,9 +135,6 @@ def get_replica_key(key_id: Optional[str] = None, key_id=pulumi.get(__ret__, 'key_id'), key_policy=pulumi.get(__ret__, 'key_policy'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_replica_key) def get_replica_key_output(key_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReplicaKeyResult]: """ @@ -143,4 +145,14 @@ def get_replica_key_output(key_id: Optional[pulumi.Input[str]] = None, Related multi-Region keys have the same key ID. For information about the key IDs of multi-Region keys, see [How multi-Region keys work](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html#mrk-how-it-works) in the *AWS Key Management Service Developer Guide* . """ - ... + __args__ = dict() + __args__['keyId'] = key_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:kms:getReplicaKey', __args__, opts=opts, typ=GetReplicaKeyResult) + return __ret__.apply(lambda __response__: GetReplicaKeyResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + enabled=pulumi.get(__response__, 'enabled'), + key_id=pulumi.get(__response__, 'key_id'), + key_policy=pulumi.get(__response__, 'key_policy'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/kms/key.py b/sdk/python/pulumi_aws_native/kms/key.py index b03306b0bf..a9128c33d5 100644 --- a/sdk/python/pulumi_aws_native/kms/key.py +++ b/sdk/python/pulumi_aws_native/kms/key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/kms/replica_key.py b/sdk/python/pulumi_aws_native/kms/replica_key.py index 73554f7723..d9ef58af49 100644 --- a/sdk/python/pulumi_aws_native/kms/replica_key.py +++ b/sdk/python/pulumi_aws_native/kms/replica_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/lakeformation/_inputs.py b/sdk/python/pulumi_aws_native/lakeformation/_inputs.py index 6dc48da5b4..2e3a3062c0 100644 --- a/sdk/python/pulumi_aws_native/lakeformation/_inputs.py +++ b/sdk/python/pulumi_aws_native/lakeformation/_inputs.py @@ -4,37 +4,78 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DataCellsFilterColumnWildcardArgs', + 'DataCellsFilterColumnWildcardArgsDict', 'DataCellsFilterRowFilterArgs', + 'DataCellsFilterRowFilterArgsDict', 'PrincipalPermissionsCatalogResourceArgs', + 'PrincipalPermissionsCatalogResourceArgsDict', 'PrincipalPermissionsColumnWildcardArgs', + 'PrincipalPermissionsColumnWildcardArgsDict', 'PrincipalPermissionsDataCellsFilterResourceArgs', + 'PrincipalPermissionsDataCellsFilterResourceArgsDict', 'PrincipalPermissionsDataLakePrincipalArgs', + 'PrincipalPermissionsDataLakePrincipalArgsDict', 'PrincipalPermissionsDataLocationResourceArgs', + 'PrincipalPermissionsDataLocationResourceArgsDict', 'PrincipalPermissionsDatabaseResourceArgs', + 'PrincipalPermissionsDatabaseResourceArgsDict', 'PrincipalPermissionsLfTagKeyResourceArgs', + 'PrincipalPermissionsLfTagKeyResourceArgsDict', 'PrincipalPermissionsLfTagPolicyResourceArgs', + 'PrincipalPermissionsLfTagPolicyResourceArgsDict', 'PrincipalPermissionsLfTagArgs', + 'PrincipalPermissionsLfTagArgsDict', 'PrincipalPermissionsResourceArgs', + 'PrincipalPermissionsResourceArgsDict', 'PrincipalPermissionsTableResourceArgs', + 'PrincipalPermissionsTableResourceArgsDict', 'PrincipalPermissionsTableWildcardArgs', + 'PrincipalPermissionsTableWildcardArgsDict', 'PrincipalPermissionsTableWithColumnsResourceArgs', + 'PrincipalPermissionsTableWithColumnsResourceArgsDict', 'TagAssociationCatalogResourceArgs', + 'TagAssociationCatalogResourceArgsDict', 'TagAssociationDatabaseResourceArgs', + 'TagAssociationDatabaseResourceArgsDict', 'TagAssociationLfTagPairArgs', + 'TagAssociationLfTagPairArgsDict', 'TagAssociationResourceArgs', + 'TagAssociationResourceArgsDict', 'TagAssociationTableResourceArgs', + 'TagAssociationTableResourceArgsDict', 'TagAssociationTableWildcardArgs', + 'TagAssociationTableWildcardArgsDict', 'TagAssociationTableWithColumnsResourceArgs', + 'TagAssociationTableWithColumnsResourceArgsDict', ] +MYPY = False + +if not MYPY: + class DataCellsFilterColumnWildcardArgsDict(TypedDict): + """ + An object representing the Data Cells Filter's Columns. Either Column Names or a Wildcard is required. + """ + excluded_column_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of column names to be excluded from the Data Cells Filter. + """ +elif False: + DataCellsFilterColumnWildcardArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataCellsFilterColumnWildcardArgs: def __init__(__self__, *, @@ -59,6 +100,22 @@ def excluded_column_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "excluded_column_names", value) +if not MYPY: + class DataCellsFilterRowFilterArgsDict(TypedDict): + """ + An object representing the Data Cells Filter's Row Filter. Either a Filter Expression or a Wildcard is required. + """ + all_rows_wildcard: NotRequired[Any] + """ + An empty object representing a row wildcard. + """ + filter_expression: NotRequired[pulumi.Input[str]] + """ + A PartiQL predicate. + """ +elif False: + DataCellsFilterRowFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataCellsFilterRowFilterArgs: def __init__(__self__, *, @@ -99,12 +156,30 @@ def filter_expression(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "filter_expression", value) +if not MYPY: + class PrincipalPermissionsCatalogResourceArgsDict(TypedDict): + pass +elif False: + PrincipalPermissionsCatalogResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsCatalogResourceArgs: def __init__(__self__): pass +if not MYPY: + class PrincipalPermissionsColumnWildcardArgsDict(TypedDict): + """ + A wildcard object, consisting of an optional list of excluded column names or indexes. + """ + excluded_column_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Excludes column names. Any column with this name will be excluded. + """ +elif False: + PrincipalPermissionsColumnWildcardArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsColumnWildcardArgs: def __init__(__self__, *, @@ -129,6 +204,30 @@ def excluded_column_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "excluded_column_names", value) +if not MYPY: + class PrincipalPermissionsDataCellsFilterResourceArgsDict(TypedDict): + """ + A structure that describes certain columns on certain rows. + """ + database_name: pulumi.Input[str] + """ + A database in the GLUDC. + """ + name: pulumi.Input[str] + """ + The name given by the user to the data filter cell. + """ + table_catalog_id: pulumi.Input[str] + """ + The ID of the catalog to which the table belongs. + """ + table_name: pulumi.Input[str] + """ + The name of the table. + """ +elif False: + PrincipalPermissionsDataCellsFilterResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsDataCellsFilterResourceArgs: def __init__(__self__, *, @@ -197,6 +296,18 @@ def table_name(self, value: pulumi.Input[str]): pulumi.set(self, "table_name", value) +if not MYPY: + class PrincipalPermissionsDataLakePrincipalArgsDict(TypedDict): + """ + The LFlong principal. + """ + data_lake_principal_identifier: NotRequired[pulumi.Input[str]] + """ + An identifier for the LFlong principal. + """ +elif False: + PrincipalPermissionsDataLakePrincipalArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsDataLakePrincipalArgs: def __init__(__self__, *, @@ -221,6 +332,22 @@ def data_lake_principal_identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "data_lake_principal_identifier", value) +if not MYPY: + class PrincipalPermissionsDataLocationResourceArgsDict(TypedDict): + """ + A structure for a data location object where permissions are granted or revoked. + """ + catalog_id: pulumi.Input[str] + """ + The identifier for the GLUDC where the location is registered with LFlong. + """ + resource_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) that uniquely identifies the data location resource. + """ +elif False: + PrincipalPermissionsDataLocationResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsDataLocationResourceArgs: def __init__(__self__, *, @@ -259,6 +386,22 @@ def resource_arn(self, value: pulumi.Input[str]): pulumi.set(self, "resource_arn", value) +if not MYPY: + class PrincipalPermissionsDatabaseResourceArgsDict(TypedDict): + """ + A structure for the database object. + """ + catalog_id: pulumi.Input[str] + """ + The identifier for the Data Catalog. By default, it is the account ID of the caller. + """ + name: pulumi.Input[str] + """ + The name of the database resource. Unique to the Data Catalog. + """ +elif False: + PrincipalPermissionsDatabaseResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsDatabaseResourceArgs: def __init__(__self__, *, @@ -297,6 +440,26 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class PrincipalPermissionsLfTagKeyResourceArgsDict(TypedDict): + """ + A structure containing an LF-tag key and values for a resource. + """ + catalog_id: pulumi.Input[str] + """ + The identifier for the GLUDC where the location is registered with GLUDC. + """ + tag_key: pulumi.Input[str] + """ + The key-name for the LF-tag. + """ + tag_values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of possible values for the corresponding ``TagKey`` of an LF-tag key-value pair. + """ +elif False: + PrincipalPermissionsLfTagKeyResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsLfTagKeyResourceArgs: def __init__(__self__, *, @@ -350,6 +513,27 @@ def tag_values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "tag_values", value) +if not MYPY: + class PrincipalPermissionsLfTagPolicyResourceArgsDict(TypedDict): + """ + A list of LF-tag conditions that define a resource's LF-tag policy. + A structure that allows an admin to grant user permissions on certain conditions. For example, granting a role access to all columns that do not have the LF-tag 'PII' in tables that have the LF-tag 'Prod'. + """ + catalog_id: pulumi.Input[str] + """ + The identifier for the GLUDC. The GLUDC is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your LFlong environment. + """ + expression: pulumi.Input[Sequence[pulumi.Input['PrincipalPermissionsLfTagArgsDict']]] + """ + A list of LF-tag conditions that apply to the resource's LF-tag policy. + """ + resource_type: pulumi.Input['PrincipalPermissionsResourceType'] + """ + The resource type for which the LF-tag policy applies. + """ +elif False: + PrincipalPermissionsLfTagPolicyResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsLfTagPolicyResourceArgs: def __init__(__self__, *, @@ -404,6 +588,22 @@ def resource_type(self, value: pulumi.Input['PrincipalPermissionsResourceType']) pulumi.set(self, "resource_type", value) +if not MYPY: + class PrincipalPermissionsLfTagArgsDict(TypedDict): + """ + The LF-tag key and values attached to a resource. + """ + tag_key: NotRequired[pulumi.Input[str]] + """ + The key-name for the LF-tag. + """ + tag_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of possible values of the corresponding ``TagKey`` of an LF-tag key-value pair. + """ +elif False: + PrincipalPermissionsLfTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsLfTagArgs: def __init__(__self__, *, @@ -444,6 +644,46 @@ def tag_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "tag_values", value) +if not MYPY: + class PrincipalPermissionsResourceArgsDict(TypedDict): + """ + A structure for the resource. + """ + catalog: NotRequired[pulumi.Input['PrincipalPermissionsCatalogResourceArgsDict']] + """ + The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your LFlong environment. + """ + data_cells_filter: NotRequired[pulumi.Input['PrincipalPermissionsDataCellsFilterResourceArgsDict']] + """ + A data cell filter. + """ + data_location: NotRequired[pulumi.Input['PrincipalPermissionsDataLocationResourceArgsDict']] + """ + The location of an Amazon S3 path where permissions are granted or revoked. + """ + database: NotRequired[pulumi.Input['PrincipalPermissionsDatabaseResourceArgsDict']] + """ + The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal. + """ + lf_tag: NotRequired[pulumi.Input['PrincipalPermissionsLfTagKeyResourceArgsDict']] + """ + The LF-tag key and values attached to a resource. + """ + lf_tag_policy: NotRequired[pulumi.Input['PrincipalPermissionsLfTagPolicyResourceArgsDict']] + """ + A list of LF-tag conditions that define a resource's LF-tag policy. + """ + table: NotRequired[pulumi.Input['PrincipalPermissionsTableResourceArgsDict']] + """ + The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal. + """ + table_with_columns: NotRequired[pulumi.Input['PrincipalPermissionsTableWithColumnsResourceArgsDict']] + """ + The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3. + """ +elif False: + PrincipalPermissionsResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsResourceArgs: def __init__(__self__, *, @@ -580,6 +820,31 @@ def table_with_columns(self, value: Optional[pulumi.Input['PrincipalPermissionsT pulumi.set(self, "table_with_columns", value) +if not MYPY: + class PrincipalPermissionsTableResourceArgsDict(TypedDict): + """ + A structure for the table object. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal. + """ + catalog_id: pulumi.Input[str] + """ + The identifier for the Data Catalog. By default, it is the account ID of the caller. + """ + database_name: pulumi.Input[str] + """ + The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the table. + """ + table_wildcard: NotRequired[pulumi.Input['PrincipalPermissionsTableWildcardArgsDict']] + """ + A wildcard object representing every table under a database. + At least one of ``TableResource$Name`` or ``TableResource$TableWildcard`` is required. + """ +elif False: + PrincipalPermissionsTableResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsTableResourceArgs: def __init__(__self__, *, @@ -652,12 +917,47 @@ def table_wildcard(self, value: Optional[pulumi.Input['PrincipalPermissionsTable pulumi.set(self, "table_wildcard", value) +if not MYPY: + class PrincipalPermissionsTableWildcardArgsDict(TypedDict): + pass +elif False: + PrincipalPermissionsTableWildcardArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsTableWildcardArgs: def __init__(__self__): pass +if not MYPY: + class PrincipalPermissionsTableWithColumnsResourceArgsDict(TypedDict): + """ + A structure for a table with columns object. This object is only used when granting a SELECT permission. + This object must take a value for at least one of ``ColumnsNames``, ``ColumnsIndexes``, or ``ColumnsWildcard``. + """ + catalog_id: pulumi.Input[str] + """ + The identifier for the GLUDC where the location is registered with LFlong. + """ + database_name: pulumi.Input[str] + """ + The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal. + """ + name: pulumi.Input[str] + """ + The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal. + """ + column_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of column names for the table. At least one of ``ColumnNames`` or ``ColumnWildcard`` is required. + """ + column_wildcard: NotRequired[pulumi.Input['PrincipalPermissionsColumnWildcardArgsDict']] + """ + A wildcard specified by a ``ColumnWildcard`` object. At least one of ``ColumnNames`` or ``ColumnWildcard`` is required. + """ +elif False: + PrincipalPermissionsTableWithColumnsResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PrincipalPermissionsTableWithColumnsResourceArgs: def __init__(__self__, *, @@ -744,12 +1044,31 @@ def column_wildcard(self, value: Optional[pulumi.Input['PrincipalPermissionsColu pulumi.set(self, "column_wildcard", value) +if not MYPY: + class TagAssociationCatalogResourceArgsDict(TypedDict): + pass +elif False: + TagAssociationCatalogResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TagAssociationCatalogResourceArgs: def __init__(__self__): pass +if not MYPY: + class TagAssociationDatabaseResourceArgsDict(TypedDict): + catalog_id: pulumi.Input[str] + """ + The identifier for the Data Catalog . By default, it should be the account ID of the caller. + """ + name: pulumi.Input[str] + """ + The name of the database resource. Unique to the Data Catalog. + """ +elif False: + TagAssociationDatabaseResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TagAssociationDatabaseResourceArgs: def __init__(__self__, *, @@ -787,6 +1106,14 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class TagAssociationLfTagPairArgsDict(TypedDict): + catalog_id: pulumi.Input[str] + tag_key: pulumi.Input[str] + tag_values: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + TagAssociationLfTagPairArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TagAssociationLfTagPairArgs: def __init__(__self__, *, @@ -825,6 +1152,27 @@ def tag_values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "tag_values", value) +if not MYPY: + class TagAssociationResourceArgsDict(TypedDict): + catalog: NotRequired[pulumi.Input['TagAssociationCatalogResourceArgsDict']] + """ + The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment. + """ + database: NotRequired[pulumi.Input['TagAssociationDatabaseResourceArgsDict']] + """ + The database for the resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal. + """ + table: NotRequired[pulumi.Input['TagAssociationTableResourceArgsDict']] + """ + The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal. + """ + table_with_columns: NotRequired[pulumi.Input['TagAssociationTableWithColumnsResourceArgsDict']] + """ + The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3. + """ +elif False: + TagAssociationResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TagAssociationResourceArgs: def __init__(__self__, *, @@ -896,6 +1244,29 @@ def table_with_columns(self, value: Optional[pulumi.Input['TagAssociationTableWi pulumi.set(self, "table_with_columns", value) +if not MYPY: + class TagAssociationTableResourceArgsDict(TypedDict): + catalog_id: pulumi.Input[str] + """ + The identifier for the Data Catalog . By default, it is the account ID of the caller. + """ + database_name: pulumi.Input[str] + """ + The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the table. + """ + table_wildcard: NotRequired[pulumi.Input['TagAssociationTableWildcardArgsDict']] + """ + A wildcard object representing every table under a database.This is an object with no properties that effectively behaves as a true or false depending on whether not it is passed as a parameter. The valid inputs for a property with this type in either yaml or json is null or {}. + + At least one of `TableResource$Name` or `TableResource$TableWildcard` is required. + """ +elif False: + TagAssociationTableResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TagAssociationTableResourceArgs: def __init__(__self__, *, @@ -969,12 +1340,41 @@ def table_wildcard(self, value: Optional[pulumi.Input['TagAssociationTableWildca pulumi.set(self, "table_wildcard", value) +if not MYPY: + class TagAssociationTableWildcardArgsDict(TypedDict): + pass +elif False: + TagAssociationTableWildcardArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TagAssociationTableWildcardArgs: def __init__(__self__): pass +if not MYPY: + class TagAssociationTableWithColumnsResourceArgsDict(TypedDict): + catalog_id: pulumi.Input[str] + """ + A wildcard object representing every table under a database. + + At least one of TableResource$Name or TableResource$TableWildcard is required. + """ + column_names: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of column names for the table. At least one of `ColumnNames` or `ColumnWildcard` is required. + """ + database_name: pulumi.Input[str] + """ + The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal. + """ + name: pulumi.Input[str] + """ + The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal. + """ +elif False: + TagAssociationTableWithColumnsResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TagAssociationTableWithColumnsResourceArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/lakeformation/data_cells_filter.py b/sdk/python/pulumi_aws_native/lakeformation/data_cells_filter.py index 23b1e41e00..ae515e9f7f 100644 --- a/sdk/python/pulumi_aws_native/lakeformation/data_cells_filter.py +++ b/sdk/python/pulumi_aws_native/lakeformation/data_cells_filter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/lakeformation/get_principal_permissions.py b/sdk/python/pulumi_aws_native/lakeformation/get_principal_permissions.py index 76e897f942..879861706b 100644 --- a/sdk/python/pulumi_aws_native/lakeformation/get_principal_permissions.py +++ b/sdk/python/pulumi_aws_native/lakeformation/get_principal_permissions.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_principal_permissions(principal_identifier: Optional[str] = None, return AwaitableGetPrincipalPermissionsResult( principal_identifier=pulumi.get(__ret__, 'principal_identifier'), resource_identifier=pulumi.get(__ret__, 'resource_identifier')) - - -@_utilities.lift_output_func(get_principal_permissions) def get_principal_permissions_output(principal_identifier: Optional[pulumi.Input[str]] = None, resource_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrincipalPermissionsResult]: @@ -85,4 +87,11 @@ def get_principal_permissions_output(principal_identifier: Optional[pulumi.Input :param str principal_identifier: Json encoding of the input principal. For example: `{"DataLakePrincipalIdentifier":"arn:aws:iam::123456789012:role/ExampleRole"}` :param str resource_identifier: Json encoding of the input resource. For example: `{"Catalog":null,"Database":null,"Table":null,"TableWithColumns":null,"DataLocation":null,"DataCellsFilter":{"TableCatalogId":"123456789012","DatabaseName":"ExampleDatabase","TableName":"ExampleTable","Name":"ExampleFilter"},"LFTag":null,"LFTagPolicy":null}` """ - ... + __args__ = dict() + __args__['principalIdentifier'] = principal_identifier + __args__['resourceIdentifier'] = resource_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lakeformation:getPrincipalPermissions', __args__, opts=opts, typ=GetPrincipalPermissionsResult) + return __ret__.apply(lambda __response__: GetPrincipalPermissionsResult( + principal_identifier=pulumi.get(__response__, 'principal_identifier'), + resource_identifier=pulumi.get(__response__, 'resource_identifier'))) diff --git a/sdk/python/pulumi_aws_native/lakeformation/get_tag.py b/sdk/python/pulumi_aws_native/lakeformation/get_tag.py index 8d7221c48d..e33c97c82b 100644 --- a/sdk/python/pulumi_aws_native/lakeformation/get_tag.py +++ b/sdk/python/pulumi_aws_native/lakeformation/get_tag.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_tag(tag_key: Optional[str] = None, return AwaitableGetTagResult( tag_values=pulumi.get(__ret__, 'tag_values')) - - -@_utilities.lift_output_func(get_tag) def get_tag_output(tag_key: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTagResult]: """ @@ -67,4 +69,9 @@ def get_tag_output(tag_key: Optional[pulumi.Input[str]] = None, :param str tag_key: The key-name for the LF-tag. """ - ... + __args__ = dict() + __args__['tagKey'] = tag_key + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lakeformation:getTag', __args__, opts=opts, typ=GetTagResult) + return __ret__.apply(lambda __response__: GetTagResult( + tag_values=pulumi.get(__response__, 'tag_values'))) diff --git a/sdk/python/pulumi_aws_native/lakeformation/get_tag_association.py b/sdk/python/pulumi_aws_native/lakeformation/get_tag_association.py index f54228f575..ba679dcbd7 100644 --- a/sdk/python/pulumi_aws_native/lakeformation/get_tag_association.py +++ b/sdk/python/pulumi_aws_native/lakeformation/get_tag_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_tag_association(resource_identifier: Optional[str] = None, return AwaitableGetTagAssociationResult( resource_identifier=pulumi.get(__ret__, 'resource_identifier'), tags_identifier=pulumi.get(__ret__, 'tags_identifier')) - - -@_utilities.lift_output_func(get_tag_association) def get_tag_association_output(resource_identifier: Optional[pulumi.Input[str]] = None, tags_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTagAssociationResult]: @@ -85,4 +87,11 @@ def get_tag_association_output(resource_identifier: Optional[pulumi.Input[str]] :param str resource_identifier: Unique string identifying the resource. Used as primary identifier, which ideally should be a string :param str tags_identifier: Unique string identifying the resource's tags. Used as primary identifier, which ideally should be a string """ - ... + __args__ = dict() + __args__['resourceIdentifier'] = resource_identifier + __args__['tagsIdentifier'] = tags_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lakeformation:getTagAssociation', __args__, opts=opts, typ=GetTagAssociationResult) + return __ret__.apply(lambda __response__: GetTagAssociationResult( + resource_identifier=pulumi.get(__response__, 'resource_identifier'), + tags_identifier=pulumi.get(__response__, 'tags_identifier'))) diff --git a/sdk/python/pulumi_aws_native/lakeformation/outputs.py b/sdk/python/pulumi_aws_native/lakeformation/outputs.py index 9daec0aef6..48fea3df39 100644 --- a/sdk/python/pulumi_aws_native/lakeformation/outputs.py +++ b/sdk/python/pulumi_aws_native/lakeformation/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lakeformation/principal_permissions.py b/sdk/python/pulumi_aws_native/lakeformation/principal_permissions.py index 7627996b92..5af367d982 100644 --- a/sdk/python/pulumi_aws_native/lakeformation/principal_permissions.py +++ b/sdk/python/pulumi_aws_native/lakeformation/principal_permissions.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lakeformation/tag.py b/sdk/python/pulumi_aws_native/lakeformation/tag.py index 64a1af032e..13f2ac945f 100644 --- a/sdk/python/pulumi_aws_native/lakeformation/tag.py +++ b/sdk/python/pulumi_aws_native/lakeformation/tag.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TagArgs', 'Tag'] diff --git a/sdk/python/pulumi_aws_native/lakeformation/tag_association.py b/sdk/python/pulumi_aws_native/lakeformation/tag_association.py index 506148b2be..c567a74005 100644 --- a/sdk/python/pulumi_aws_native/lakeformation/tag_association.py +++ b/sdk/python/pulumi_aws_native/lakeformation/tag_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/lambda_/_inputs.py b/sdk/python/pulumi_aws_native/lambda_/_inputs.py index 6d850027c5..07c03c0aaa 100644 --- a/sdk/python/pulumi_aws_native/lambda_/_inputs.py +++ b/sdk/python/pulumi_aws_native/lambda_/_inputs.py @@ -4,49 +4,102 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AliasProvisionedConcurrencyConfigurationArgs', + 'AliasProvisionedConcurrencyConfigurationArgsDict', 'AliasRoutingConfigurationArgs', + 'AliasRoutingConfigurationArgsDict', 'AliasVersionWeightArgs', + 'AliasVersionWeightArgsDict', 'CodeSigningConfigAllowedPublishersArgs', + 'CodeSigningConfigAllowedPublishersArgsDict', 'CodeSigningConfigCodeSigningPoliciesArgs', + 'CodeSigningConfigCodeSigningPoliciesArgsDict', 'EventInvokeConfigDestinationConfigArgs', + 'EventInvokeConfigDestinationConfigArgsDict', 'EventInvokeConfigOnFailureArgs', + 'EventInvokeConfigOnFailureArgsDict', 'EventInvokeConfigOnSuccessArgs', + 'EventInvokeConfigOnSuccessArgsDict', 'EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs', + 'EventSourceMappingAmazonManagedKafkaEventSourceConfigArgsDict', 'EventSourceMappingDestinationConfigArgs', + 'EventSourceMappingDestinationConfigArgsDict', 'EventSourceMappingDocumentDbEventSourceConfigArgs', + 'EventSourceMappingDocumentDbEventSourceConfigArgsDict', 'EventSourceMappingEndpointsArgs', + 'EventSourceMappingEndpointsArgsDict', 'EventSourceMappingFilterCriteriaArgs', + 'EventSourceMappingFilterCriteriaArgsDict', 'EventSourceMappingFilterArgs', + 'EventSourceMappingFilterArgsDict', 'EventSourceMappingOnFailureArgs', + 'EventSourceMappingOnFailureArgsDict', 'EventSourceMappingScalingConfigArgs', + 'EventSourceMappingScalingConfigArgsDict', 'EventSourceMappingSelfManagedEventSourceArgs', + 'EventSourceMappingSelfManagedEventSourceArgsDict', 'EventSourceMappingSelfManagedKafkaEventSourceConfigArgs', + 'EventSourceMappingSelfManagedKafkaEventSourceConfigArgsDict', 'EventSourceMappingSourceAccessConfigurationArgs', + 'EventSourceMappingSourceAccessConfigurationArgsDict', 'FunctionCodeArgs', + 'FunctionCodeArgsDict', 'FunctionDeadLetterConfigArgs', + 'FunctionDeadLetterConfigArgsDict', 'FunctionEnvironmentArgs', + 'FunctionEnvironmentArgsDict', 'FunctionEphemeralStorageArgs', + 'FunctionEphemeralStorageArgsDict', 'FunctionFileSystemConfigArgs', + 'FunctionFileSystemConfigArgsDict', 'FunctionImageConfigArgs', + 'FunctionImageConfigArgsDict', 'FunctionLoggingConfigArgs', + 'FunctionLoggingConfigArgsDict', 'FunctionRuntimeManagementConfigArgs', + 'FunctionRuntimeManagementConfigArgsDict', 'FunctionSnapStartArgs', + 'FunctionSnapStartArgsDict', 'FunctionTracingConfigArgs', + 'FunctionTracingConfigArgsDict', 'FunctionVpcConfigArgs', + 'FunctionVpcConfigArgsDict', 'LayerVersionContentArgs', + 'LayerVersionContentArgsDict', 'UrlCorsArgs', + 'UrlCorsArgsDict', 'VersionProvisionedConcurrencyConfigurationArgs', + 'VersionProvisionedConcurrencyConfigurationArgsDict', 'VersionRuntimePolicyArgs', + 'VersionRuntimePolicyArgsDict', ] +MYPY = False + +if not MYPY: + class AliasProvisionedConcurrencyConfigurationArgsDict(TypedDict): + """ + A provisioned concurrency configuration for a function's alias. + """ + provisioned_concurrent_executions: pulumi.Input[int] + """ + The amount of provisioned concurrency to allocate for the alias. + """ +elif False: + AliasProvisionedConcurrencyConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AliasProvisionedConcurrencyConfigurationArgs: def __init__(__self__, *, @@ -70,6 +123,18 @@ def provisioned_concurrent_executions(self, value: pulumi.Input[int]): pulumi.set(self, "provisioned_concurrent_executions", value) +if not MYPY: + class AliasRoutingConfigurationArgsDict(TypedDict): + """ + The traffic-shifting configuration of a Lambda function alias. + """ + additional_version_weights: NotRequired[pulumi.Input[Sequence[pulumi.Input['AliasVersionWeightArgsDict']]]] + """ + The second version, and the percentage of traffic that's routed to it. + """ +elif False: + AliasRoutingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AliasRoutingConfigurationArgs: def __init__(__self__, *, @@ -94,6 +159,22 @@ def additional_version_weights(self, value: Optional[pulumi.Input[Sequence[pulum pulumi.set(self, "additional_version_weights", value) +if not MYPY: + class AliasVersionWeightArgsDict(TypedDict): + """ + The traffic-shifting configuration of a Lambda function alias. + """ + function_version: pulumi.Input[str] + """ + The qualifier of the second version. + """ + function_weight: pulumi.Input[float] + """ + The percentage of traffic that the alias routes to the second version. + """ +elif False: + AliasVersionWeightArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AliasVersionWeightArgs: def __init__(__self__, *, @@ -132,6 +213,18 @@ def function_weight(self, value: pulumi.Input[float]): pulumi.set(self, "function_weight", value) +if not MYPY: + class CodeSigningConfigAllowedPublishersArgsDict(TypedDict): + """ + When the CodeSigningConfig is later on attached to a function, the function code will be expected to be signed by profiles from this list + """ + signing_profile_version_arns: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + List of Signing profile version Arns + """ +elif False: + CodeSigningConfigAllowedPublishersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CodeSigningConfigAllowedPublishersArgs: def __init__(__self__, *, @@ -155,6 +248,18 @@ def signing_profile_version_arns(self, value: pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "signing_profile_version_arns", value) +if not MYPY: + class CodeSigningConfigCodeSigningPoliciesArgsDict(TypedDict): + """ + Policies to control how to act if a signature is invalid + """ + untrusted_artifact_on_deployment: pulumi.Input['CodeSigningConfigCodeSigningPoliciesUntrustedArtifactOnDeployment'] + """ + Indicates how Lambda operations involve updating the code artifact will operate. Default to Warn if not provided + """ +elif False: + CodeSigningConfigCodeSigningPoliciesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CodeSigningConfigCodeSigningPoliciesArgs: def __init__(__self__, *, @@ -178,6 +283,22 @@ def untrusted_artifact_on_deployment(self, value: pulumi.Input['CodeSigningConfi pulumi.set(self, "untrusted_artifact_on_deployment", value) +if not MYPY: + class EventInvokeConfigDestinationConfigArgsDict(TypedDict): + """ + A destination for events after they have been sent to a function for processing. + """ + on_failure: NotRequired[pulumi.Input['EventInvokeConfigOnFailureArgsDict']] + """ + The destination configuration for failed invocations. + """ + on_success: NotRequired[pulumi.Input['EventInvokeConfigOnSuccessArgsDict']] + """ + The destination configuration for successful invocations. + """ +elif False: + EventInvokeConfigDestinationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventInvokeConfigDestinationConfigArgs: def __init__(__self__, *, @@ -218,6 +339,18 @@ def on_success(self, value: Optional[pulumi.Input['EventInvokeConfigOnSuccessArg pulumi.set(self, "on_success", value) +if not MYPY: + class EventInvokeConfigOnFailureArgsDict(TypedDict): + """ + The destination configuration for failed invocations. + """ + destination: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the destination resource. + """ +elif False: + EventInvokeConfigOnFailureArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventInvokeConfigOnFailureArgs: def __init__(__self__, *, @@ -241,6 +374,18 @@ def destination(self, value: pulumi.Input[str]): pulumi.set(self, "destination", value) +if not MYPY: + class EventInvokeConfigOnSuccessArgsDict(TypedDict): + """ + The destination configuration for successful invocations. + """ + destination: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the destination resource. + """ +elif False: + EventInvokeConfigOnSuccessArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventInvokeConfigOnSuccessArgs: def __init__(__self__, *, @@ -264,6 +409,18 @@ def destination(self, value: pulumi.Input[str]): pulumi.set(self, "destination", value) +if not MYPY: + class EventSourceMappingAmazonManagedKafkaEventSourceConfigArgsDict(TypedDict): + """ + Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source. + """ + consumer_group_id: NotRequired[pulumi.Input[str]] + """ + The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see [Customizable consumer group ID](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id). + """ +elif False: + EventSourceMappingAmazonManagedKafkaEventSourceConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs: def __init__(__self__, *, @@ -288,6 +445,18 @@ def consumer_group_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "consumer_group_id", value) +if not MYPY: + class EventSourceMappingDestinationConfigArgsDict(TypedDict): + """ + A configuration object that specifies the destination of an event after Lambda processes it. + """ + on_failure: NotRequired[pulumi.Input['EventSourceMappingOnFailureArgsDict']] + """ + The destination configuration for failed invocations. + """ +elif False: + EventSourceMappingDestinationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventSourceMappingDestinationConfigArgs: def __init__(__self__, *, @@ -312,6 +481,26 @@ def on_failure(self, value: Optional[pulumi.Input['EventSourceMappingOnFailureAr pulumi.set(self, "on_failure", value) +if not MYPY: + class EventSourceMappingDocumentDbEventSourceConfigArgsDict(TypedDict): + """ + Specific configuration settings for a DocumentDB event source. + """ + collection_name: NotRequired[pulumi.Input[str]] + """ + The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections. + """ + database_name: NotRequired[pulumi.Input[str]] + """ + The name of the database to consume within the DocumentDB cluster. + """ + full_document: NotRequired[pulumi.Input['EventSourceMappingDocumentDbEventSourceConfigFullDocument']] + """ + Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes. + """ +elif False: + EventSourceMappingDocumentDbEventSourceConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventSourceMappingDocumentDbEventSourceConfigArgs: def __init__(__self__, *, @@ -368,6 +557,18 @@ def full_document(self, value: Optional[pulumi.Input['EventSourceMappingDocument pulumi.set(self, "full_document", value) +if not MYPY: + class EventSourceMappingEndpointsArgsDict(TypedDict): + """ + The list of bootstrap servers for your Kafka brokers in the following format: ``"KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]``. + """ + kafka_bootstrap_servers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of bootstrap servers for your Kafka brokers in the following format: ``"KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]``. + """ +elif False: + EventSourceMappingEndpointsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventSourceMappingEndpointsArgs: def __init__(__self__, *, @@ -392,6 +593,18 @@ def kafka_bootstrap_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "kafka_bootstrap_servers", value) +if not MYPY: + class EventSourceMappingFilterCriteriaArgsDict(TypedDict): + """ + An object that contains the filters for an event source. + """ + filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['EventSourceMappingFilterArgsDict']]]] + """ + A list of filters. + """ +elif False: + EventSourceMappingFilterCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventSourceMappingFilterCriteriaArgs: def __init__(__self__, *, @@ -416,6 +629,18 @@ def filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['EventSourc pulumi.set(self, "filters", value) +if not MYPY: + class EventSourceMappingFilterArgsDict(TypedDict): + """ + A structure within a ``FilterCriteria`` object that defines an event filtering pattern. + """ + pattern: NotRequired[pulumi.Input[str]] + """ + A filter pattern. For more information on the syntax of a filter pattern, see [Filter rule syntax](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax). + """ +elif False: + EventSourceMappingFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventSourceMappingFilterArgs: def __init__(__self__, *, @@ -440,6 +665,21 @@ def pattern(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "pattern", value) +if not MYPY: + class EventSourceMappingOnFailureArgsDict(TypedDict): + """ + A destination for events that failed processing. + """ + destination: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the destination resource. + To retain records of [asynchronous invocations](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations), you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination. + To retain records of failed invocations from [Kinesis and DynamoDB event sources](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#event-source-mapping-destinations), you can configure an Amazon SNS topic or Amazon SQS queue as the destination. + To retain records of failed invocations from [self-managed Kafka](https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination) or [Amazon MSK](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination), you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination. + """ +elif False: + EventSourceMappingOnFailureArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventSourceMappingOnFailureArgs: def __init__(__self__, *, @@ -470,6 +710,18 @@ def destination(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "destination", value) +if not MYPY: + class EventSourceMappingScalingConfigArgsDict(TypedDict): + """ + (Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value. + """ + maximum_concurrency: NotRequired[pulumi.Input[int]] + """ + Limits the number of concurrent instances that the SQS event source can invoke. + """ +elif False: + EventSourceMappingScalingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventSourceMappingScalingConfigArgs: def __init__(__self__, *, @@ -494,6 +746,18 @@ def maximum_concurrency(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "maximum_concurrency", value) +if not MYPY: + class EventSourceMappingSelfManagedEventSourceArgsDict(TypedDict): + """ + The self-managed Apache Kafka cluster for your event source. + """ + endpoints: NotRequired[pulumi.Input['EventSourceMappingEndpointsArgsDict']] + """ + The list of bootstrap servers for your Kafka brokers in the following format: ``"KafkaBootstrapServers": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]``. + """ +elif False: + EventSourceMappingSelfManagedEventSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventSourceMappingSelfManagedEventSourceArgs: def __init__(__self__, *, @@ -518,6 +782,18 @@ def endpoints(self, value: Optional[pulumi.Input['EventSourceMappingEndpointsArg pulumi.set(self, "endpoints", value) +if not MYPY: + class EventSourceMappingSelfManagedKafkaEventSourceConfigArgsDict(TypedDict): + """ + Specific configuration settings for a self-managed Apache Kafka event source. + """ + consumer_group_id: NotRequired[pulumi.Input[str]] + """ + The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see [Customizable consumer group ID](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id). + """ +elif False: + EventSourceMappingSelfManagedKafkaEventSourceConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventSourceMappingSelfManagedKafkaEventSourceConfigArgs: def __init__(__self__, *, @@ -542,6 +818,31 @@ def consumer_group_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "consumer_group_id", value) +if not MYPY: + class EventSourceMappingSourceAccessConfigurationArgsDict(TypedDict): + """ + An array of the authentication protocol, VPC components, or virtual host to secure and define your event source. + """ + type: NotRequired[pulumi.Input['EventSourceMappingSourceAccessConfigurationType']] + """ + The type of authentication protocol, VPC components, or virtual host for your event source. For example: ``"Type":"SASL_SCRAM_512_AUTH"``. + + ``BASIC_AUTH`` – (Amazon MQ) The ASMlong secret that stores your broker credentials. + + ``BASIC_AUTH`` – (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers. + + ``VPC_SUBNET`` – (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster. + + ``VPC_SECURITY_GROUP`` – (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers. + + ``SASL_SCRAM_256_AUTH`` – (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers. + + ``SASL_SCRAM_512_AUTH`` – (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers. + + ``VIRTUAL_HOST`` –- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. This property cannot be specified in an UpdateEventSourceMapping API call. + + ``CLIENT_CERTIFICATE_TLS_AUTH`` – (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers. + + ``SERVER_ROOT_CA_CERTIFICATE`` – (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers. + """ + uri: NotRequired[pulumi.Input[str]] + """ + The value for your chosen configuration in ``Type``. For example: ``"URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName"``. + """ +elif False: + EventSourceMappingSourceAccessConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventSourceMappingSourceAccessConfigurationArgs: def __init__(__self__, *, @@ -600,6 +901,38 @@ def uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uri", value) +if not MYPY: + class FunctionCodeArgsDict(TypedDict): + """ + The [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. + Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template. + """ + image_uri: NotRequired[pulumi.Input[str]] + """ + URI of a [container image](https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html) in the Amazon ECR registry. + """ + s3_bucket: NotRequired[pulumi.Input[str]] + """ + An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account. + """ + s3_key: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 key of the deployment package. + """ + s3_object_version: NotRequired[pulumi.Input[str]] + """ + For versioned objects, the version of the deployment package object to use. + """ + source_kms_key_arn: NotRequired[pulumi.Input[str]] + zip_file: NotRequired[pulumi.Input[str]] + """ + (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named ``index`` and zips it to create a [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html). This zip file cannot exceed 4MB. For the ``Handler`` property, the first part of the handler identifier must be ``index``. For example, ``index.handler``. + For JSON, you must escape quotes and special characters such as newline (``\\n``) with a backslash. + If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module ([cfn-response](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-lambda-function-code-cfnresponsemodule.html)) that simplifies sending responses. See [Using Lambda with CloudFormation](https://docs.aws.amazon.com/lambda/latest/dg/services-cloudformation.html) for details. + """ +elif False: + FunctionCodeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionCodeArgs: def __init__(__self__, *, @@ -705,6 +1038,18 @@ def zip_file(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "zip_file", value) +if not MYPY: + class FunctionDeadLetterConfigArgsDict(TypedDict): + """ + The [dead-letter queue](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq) for failed asynchronous invocations. + """ + target_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic. + """ +elif False: + FunctionDeadLetterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionDeadLetterConfigArgs: def __init__(__self__, *, @@ -729,6 +1074,18 @@ def target_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_arn", value) +if not MYPY: + class FunctionEnvironmentArgsDict(TypedDict): + """ + A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration. + """ + variables: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Environment variable key-value pairs. For more information, see [Using Lambda environment variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). + """ +elif False: + FunctionEnvironmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionEnvironmentArgs: def __init__(__self__, *, @@ -753,6 +1110,18 @@ def variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]] pulumi.set(self, "variables", value) +if not MYPY: + class FunctionEphemeralStorageArgsDict(TypedDict): + """ + The size of the function's ``/tmp`` directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB. + """ + size: pulumi.Input[int] + """ + The size of the function's ``/tmp`` directory. + """ +elif False: + FunctionEphemeralStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionEphemeralStorageArgs: def __init__(__self__, *, @@ -776,6 +1145,22 @@ def size(self, value: pulumi.Input[int]): pulumi.set(self, "size", value) +if not MYPY: + class FunctionFileSystemConfigArgsDict(TypedDict): + """ + Details about the connection between a Lambda function and an [Amazon EFS file system](https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). + """ + arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system. + """ + local_mount_path: pulumi.Input[str] + """ + The path where the function can access the file system, starting with ``/mnt/``. + """ +elif False: + FunctionFileSystemConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionFileSystemConfigArgs: def __init__(__self__, *, @@ -814,6 +1199,26 @@ def local_mount_path(self, value: pulumi.Input[str]): pulumi.set(self, "local_mount_path", value) +if not MYPY: + class FunctionImageConfigArgsDict(TypedDict): + """ + Configuration values that override the container image Dockerfile settings. For more information, see [Container image settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms). + """ + command: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list. + """ + entry_point: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list. + """ + working_directory: NotRequired[pulumi.Input[str]] + """ + Specifies the working directory. The length of the directory string cannot exceed 1,000 characters. + """ +elif False: + FunctionImageConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionImageConfigArgs: def __init__(__self__, *, @@ -870,6 +1275,30 @@ def working_directory(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "working_directory", value) +if not MYPY: + class FunctionLoggingConfigArgsDict(TypedDict): + """ + The function's Amazon CloudWatch Logs configuration settings. + """ + application_log_level: NotRequired[pulumi.Input['FunctionLoggingConfigApplicationLogLevel']] + """ + Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where ``TRACE`` is the highest level and ``FATAL`` is the lowest. + """ + log_format: NotRequired[pulumi.Input['FunctionLoggingConfigLogFormat']] + """ + The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON. + """ + log_group: NotRequired[pulumi.Input[str]] + """ + The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named ``/aws/lambda/``. To use a different log group, enter an existing log group or enter a new log group name. + """ + system_log_level: NotRequired[pulumi.Input['FunctionLoggingConfigSystemLogLevel']] + """ + Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where ``DEBUG`` is the highest level and ``WARN`` is the lowest. + """ +elif False: + FunctionLoggingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionLoggingConfigArgs: def __init__(__self__, *, @@ -942,6 +1371,28 @@ def system_log_level(self, value: Optional[pulumi.Input['FunctionLoggingConfigSy pulumi.set(self, "system_log_level", value) +if not MYPY: + class FunctionRuntimeManagementConfigArgsDict(TypedDict): + """ + Sets the runtime management configuration for a function's version. For more information, see [Runtime updates](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html). + """ + update_runtime_on: pulumi.Input['FunctionRuntimeManagementConfigUpdateRuntimeOn'] + """ + Specify the runtime update mode. + + *Auto (default)* - Automatically update to the most recent and secure runtime version using a [Two-phase runtime version rollout](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-two-phase). This is the best choice for most customers to ensure they always benefit from runtime updates. + + *FunctionUpdate* - LAM updates the runtime of you function to the most recent and secure runtime version when you update your function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date. + + *Manual* - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, see [Roll back a runtime version](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-rollback). + + *Valid Values*: ``Auto`` | ``FunctionUpdate`` | ``Manual`` + """ + runtime_version_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the runtime version you want the function to use. + This is only required if you're using the *Manual* runtime update mode. + """ +elif False: + FunctionRuntimeManagementConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionRuntimeManagementConfigArgs: def __init__(__self__, *, @@ -993,6 +1444,18 @@ def runtime_version_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "runtime_version_arn", value) +if not MYPY: + class FunctionSnapStartArgsDict(TypedDict): + """ + The function's [SnapStart](https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting. + """ + apply_on: pulumi.Input['FunctionSnapStartApplyOn'] + """ + Set ``ApplyOn`` to ``PublishedVersions`` to create a snapshot of the initialized execution environment when you publish a function version. + """ +elif False: + FunctionSnapStartArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionSnapStartArgs: def __init__(__self__, *, @@ -1016,6 +1479,18 @@ def apply_on(self, value: pulumi.Input['FunctionSnapStartApplyOn']): pulumi.set(self, "apply_on", value) +if not MYPY: + class FunctionTracingConfigArgsDict(TypedDict): + """ + The function's [](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) tracing configuration. To sample and record incoming requests, set ``Mode`` to ``Active``. + """ + mode: NotRequired[pulumi.Input['FunctionTracingConfigMode']] + """ + The tracing mode. + """ +elif False: + FunctionTracingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionTracingConfigArgs: def __init__(__self__, *, @@ -1040,6 +1515,28 @@ def mode(self, value: Optional[pulumi.Input['FunctionTracingConfigMode']]): pulumi.set(self, "mode", value) +if not MYPY: + class FunctionVpcConfigArgsDict(TypedDict): + """ + The VPC security groups and subnets that are attached to a Lambda function. When you connect a function to a VPC, Lambda creates an elastic network interface for each combination of security group and subnet in the function's VPC configuration. The function can only access resources and the internet through that VPC. For more information, see [VPC Settings](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). + When you delete a function, CFN monitors the state of its network interfaces and waits for Lambda to delete them before proceeding. If the VPC is defined in the same stack, the network interfaces need to be deleted by Lambda before CFN can delete the VPC's resources. + To monitor network interfaces, CFN needs the ``ec2:DescribeNetworkInterfaces`` permission. It obtains this from the user or role that modifies the stack. If you don't provide this permission, CFN does not wait for network interfaces to be deleted. + """ + ipv6_allowed_for_dual_stack: NotRequired[pulumi.Input[bool]] + """ + Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. + """ + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of VPC security group IDs. + """ + subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of VPC subnet IDs. + """ +elif False: + FunctionVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FunctionVpcConfigArgs: def __init__(__self__, *, @@ -1098,6 +1595,23 @@ def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "subnet_ids", value) +if not MYPY: + class LayerVersionContentArgsDict(TypedDict): + s3_bucket: pulumi.Input[str] + """ + The Amazon S3 bucket of the layer archive. + """ + s3_key: pulumi.Input[str] + """ + The Amazon S3 key of the layer archive. + """ + s3_object_version: NotRequired[pulumi.Input[str]] + """ + For versioned objects, the version of the layer archive object to use. + """ +elif False: + LayerVersionContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LayerVersionContentArgs: def __init__(__self__, *, @@ -1151,6 +1665,35 @@ def s3_object_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_object_version", value) +if not MYPY: + class UrlCorsArgsDict(TypedDict): + allow_credentials: NotRequired[pulumi.Input[bool]] + """ + Specifies whether credentials are included in the CORS request. + """ + allow_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Represents a collection of allowed headers. + """ + allow_methods: NotRequired[pulumi.Input[Sequence[pulumi.Input['UrlAllowMethodsItem']]]] + """ + Represents a collection of allowed HTTP methods. + """ + allow_origins: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Represents a collection of allowed origins. + """ + expose_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Represents a collection of exposed headers. + """ + max_age: NotRequired[pulumi.Input[int]] + """ + The maximum amount of time, in seconds, that browsers can cache results of a preflight request. By default, this is set to `0` , which means the browser will not cache results. + """ +elif False: + UrlCorsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UrlCorsArgs: def __init__(__self__, *, @@ -1254,6 +1797,18 @@ def max_age(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_age", value) +if not MYPY: + class VersionProvisionedConcurrencyConfigurationArgsDict(TypedDict): + """ + A provisioned concurrency configuration for a function's version. + """ + provisioned_concurrent_executions: pulumi.Input[int] + """ + The amount of provisioned concurrency to allocate for the version. + """ +elif False: + VersionProvisionedConcurrencyConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VersionProvisionedConcurrencyConfigurationArgs: def __init__(__self__, *, @@ -1277,6 +1832,22 @@ def provisioned_concurrent_executions(self, value: pulumi.Input[int]): pulumi.set(self, "provisioned_concurrent_executions", value) +if not MYPY: + class VersionRuntimePolicyArgsDict(TypedDict): + """ + Runtime Management Config of a function. + """ + update_runtime_on: pulumi.Input[str] + """ + The runtime update mode. + """ + runtime_version_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the runtime the function is configured to use. If the runtime update mode is manual, the ARN is returned, otherwise null is returned. + """ +elif False: + VersionRuntimePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VersionRuntimePolicyArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/lambda_/alias.py b/sdk/python/pulumi_aws_native/lambda_/alias.py index 437ab26e35..2d4b54b7a8 100644 --- a/sdk/python/pulumi_aws_native/lambda_/alias.py +++ b/sdk/python/pulumi_aws_native/lambda_/alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/lambda_/code_signing_config.py b/sdk/python/pulumi_aws_native/lambda_/code_signing_config.py index 2302bc9bdf..99e1c8d17d 100644 --- a/sdk/python/pulumi_aws_native/lambda_/code_signing_config.py +++ b/sdk/python/pulumi_aws_native/lambda_/code_signing_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/lambda_/event_invoke_config.py b/sdk/python/pulumi_aws_native/lambda_/event_invoke_config.py index 59bce67010..853a3217c5 100644 --- a/sdk/python/pulumi_aws_native/lambda_/event_invoke_config.py +++ b/sdk/python/pulumi_aws_native/lambda_/event_invoke_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/lambda_/event_source_mapping.py b/sdk/python/pulumi_aws_native/lambda_/event_source_mapping.py index 8349006bdf..d038166720 100644 --- a/sdk/python/pulumi_aws_native/lambda_/event_source_mapping.py +++ b/sdk/python/pulumi_aws_native/lambda_/event_source_mapping.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/lambda_/function.py b/sdk/python/pulumi_aws_native/lambda_/function.py index e343cf110f..64522f4853 100644 --- a/sdk/python/pulumi_aws_native/lambda_/function.py +++ b/sdk/python/pulumi_aws_native/lambda_/function.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/lambda_/get_alias.py b/sdk/python/pulumi_aws_native/lambda_/get_alias.py index 7811753994..cb5373c4cc 100644 --- a/sdk/python/pulumi_aws_native/lambda_/get_alias.py +++ b/sdk/python/pulumi_aws_native/lambda_/get_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -109,9 +114,6 @@ def get_alias(alias_arn: Optional[str] = None, function_version=pulumi.get(__ret__, 'function_version'), provisioned_concurrency_config=pulumi.get(__ret__, 'provisioned_concurrency_config'), routing_config=pulumi.get(__ret__, 'routing_config')) - - -@_utilities.lift_output_func(get_alias) def get_alias_output(alias_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAliasResult]: """ @@ -120,4 +122,13 @@ def get_alias_output(alias_arn: Optional[pulumi.Input[str]] = None, :param str alias_arn: Lambda Alias ARN generated by the service. """ - ... + __args__ = dict() + __args__['aliasArn'] = alias_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lambda:getAlias', __args__, opts=opts, typ=GetAliasResult) + return __ret__.apply(lambda __response__: GetAliasResult( + alias_arn=pulumi.get(__response__, 'alias_arn'), + description=pulumi.get(__response__, 'description'), + function_version=pulumi.get(__response__, 'function_version'), + provisioned_concurrency_config=pulumi.get(__response__, 'provisioned_concurrency_config'), + routing_config=pulumi.get(__response__, 'routing_config'))) diff --git a/sdk/python/pulumi_aws_native/lambda_/get_code_signing_config.py b/sdk/python/pulumi_aws_native/lambda_/get_code_signing_config.py index 65cf15010f..6083810572 100644 --- a/sdk/python/pulumi_aws_native/lambda_/get_code_signing_config.py +++ b/sdk/python/pulumi_aws_native/lambda_/get_code_signing_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_code_signing_config(code_signing_config_arn: Optional[str] = None, code_signing_policies=pulumi.get(__ret__, 'code_signing_policies'), description=pulumi.get(__ret__, 'description'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_code_signing_config) def get_code_signing_config_output(code_signing_config_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCodeSigningConfigResult]: """ @@ -135,4 +137,14 @@ def get_code_signing_config_output(code_signing_config_arn: Optional[pulumi.Inpu :param str code_signing_config_arn: A unique Arn for CodeSigningConfig resource """ - ... + __args__ = dict() + __args__['codeSigningConfigArn'] = code_signing_config_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lambda:getCodeSigningConfig', __args__, opts=opts, typ=GetCodeSigningConfigResult) + return __ret__.apply(lambda __response__: GetCodeSigningConfigResult( + allowed_publishers=pulumi.get(__response__, 'allowed_publishers'), + code_signing_config_arn=pulumi.get(__response__, 'code_signing_config_arn'), + code_signing_config_id=pulumi.get(__response__, 'code_signing_config_id'), + code_signing_policies=pulumi.get(__response__, 'code_signing_policies'), + description=pulumi.get(__response__, 'description'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/lambda_/get_event_invoke_config.py b/sdk/python/pulumi_aws_native/lambda_/get_event_invoke_config.py index a1dd40b4d6..e2512791da 100644 --- a/sdk/python/pulumi_aws_native/lambda_/get_event_invoke_config.py +++ b/sdk/python/pulumi_aws_native/lambda_/get_event_invoke_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -91,9 +96,6 @@ def get_event_invoke_config(function_name: Optional[str] = None, destination_config=pulumi.get(__ret__, 'destination_config'), maximum_event_age_in_seconds=pulumi.get(__ret__, 'maximum_event_age_in_seconds'), maximum_retry_attempts=pulumi.get(__ret__, 'maximum_retry_attempts')) - - -@_utilities.lift_output_func(get_event_invoke_config) def get_event_invoke_config_output(function_name: Optional[pulumi.Input[str]] = None, qualifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventInvokeConfigResult]: @@ -104,4 +106,12 @@ def get_event_invoke_config_output(function_name: Optional[pulumi.Input[str]] = :param str function_name: The name of the Lambda function. :param str qualifier: The identifier of a version or alias. """ - ... + __args__ = dict() + __args__['functionName'] = function_name + __args__['qualifier'] = qualifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lambda:getEventInvokeConfig', __args__, opts=opts, typ=GetEventInvokeConfigResult) + return __ret__.apply(lambda __response__: GetEventInvokeConfigResult( + destination_config=pulumi.get(__response__, 'destination_config'), + maximum_event_age_in_seconds=pulumi.get(__response__, 'maximum_event_age_in_seconds'), + maximum_retry_attempts=pulumi.get(__response__, 'maximum_retry_attempts'))) diff --git a/sdk/python/pulumi_aws_native/lambda_/get_event_source_mapping.py b/sdk/python/pulumi_aws_native/lambda_/get_event_source_mapping.py index 7e433e8ec6..f2d96b78b1 100644 --- a/sdk/python/pulumi_aws_native/lambda_/get_event_source_mapping.py +++ b/sdk/python/pulumi_aws_native/lambda_/get_event_source_mapping.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -349,9 +354,6 @@ def get_event_source_mapping(id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), topics=pulumi.get(__ret__, 'topics'), tumbling_window_in_seconds=pulumi.get(__ret__, 'tumbling_window_in_seconds')) - - -@_utilities.lift_output_func(get_event_source_mapping) def get_event_source_mapping_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventSourceMappingResult]: """ @@ -368,4 +370,29 @@ def get_event_source_mapping_output(id: Optional[pulumi.Input[str]] = None, :param str id: The event source mapping's ID. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lambda:getEventSourceMapping', __args__, opts=opts, typ=GetEventSourceMappingResult) + return __ret__.apply(lambda __response__: GetEventSourceMappingResult( + batch_size=pulumi.get(__response__, 'batch_size'), + bisect_batch_on_function_error=pulumi.get(__response__, 'bisect_batch_on_function_error'), + destination_config=pulumi.get(__response__, 'destination_config'), + document_db_event_source_config=pulumi.get(__response__, 'document_db_event_source_config'), + enabled=pulumi.get(__response__, 'enabled'), + event_source_mapping_arn=pulumi.get(__response__, 'event_source_mapping_arn'), + filter_criteria=pulumi.get(__response__, 'filter_criteria'), + function_name=pulumi.get(__response__, 'function_name'), + function_response_types=pulumi.get(__response__, 'function_response_types'), + id=pulumi.get(__response__, 'id'), + kms_key_arn=pulumi.get(__response__, 'kms_key_arn'), + maximum_batching_window_in_seconds=pulumi.get(__response__, 'maximum_batching_window_in_seconds'), + maximum_record_age_in_seconds=pulumi.get(__response__, 'maximum_record_age_in_seconds'), + maximum_retry_attempts=pulumi.get(__response__, 'maximum_retry_attempts'), + parallelization_factor=pulumi.get(__response__, 'parallelization_factor'), + queues=pulumi.get(__response__, 'queues'), + scaling_config=pulumi.get(__response__, 'scaling_config'), + source_access_configurations=pulumi.get(__response__, 'source_access_configurations'), + tags=pulumi.get(__response__, 'tags'), + topics=pulumi.get(__response__, 'topics'), + tumbling_window_in_seconds=pulumi.get(__response__, 'tumbling_window_in_seconds'))) diff --git a/sdk/python/pulumi_aws_native/lambda_/get_function.py b/sdk/python/pulumi_aws_native/lambda_/get_function.py index cb7ff109cd..1001d9a893 100644 --- a/sdk/python/pulumi_aws_native/lambda_/get_function.py +++ b/sdk/python/pulumi_aws_native/lambda_/get_function.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -381,9 +386,6 @@ def get_function(function_name: Optional[str] = None, timeout=pulumi.get(__ret__, 'timeout'), tracing_config=pulumi.get(__ret__, 'tracing_config'), vpc_config=pulumi.get(__ret__, 'vpc_config')) - - -@_utilities.lift_output_func(get_function) def get_function_output(function_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFunctionResult]: """ @@ -398,4 +400,33 @@ def get_function_output(function_name: Optional[pulumi.Input[str]] = None, :param str function_name: The name of the Lambda function, up to 64 characters in length. If you don't specify a name, CFN generates one. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. """ - ... + __args__ = dict() + __args__['functionName'] = function_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lambda:getFunction', __args__, opts=opts, typ=GetFunctionResult) + return __ret__.apply(lambda __response__: GetFunctionResult( + architectures=pulumi.get(__response__, 'architectures'), + arn=pulumi.get(__response__, 'arn'), + code_signing_config_arn=pulumi.get(__response__, 'code_signing_config_arn'), + dead_letter_config=pulumi.get(__response__, 'dead_letter_config'), + description=pulumi.get(__response__, 'description'), + environment=pulumi.get(__response__, 'environment'), + ephemeral_storage=pulumi.get(__response__, 'ephemeral_storage'), + file_system_configs=pulumi.get(__response__, 'file_system_configs'), + handler=pulumi.get(__response__, 'handler'), + image_config=pulumi.get(__response__, 'image_config'), + kms_key_arn=pulumi.get(__response__, 'kms_key_arn'), + layers=pulumi.get(__response__, 'layers'), + logging_config=pulumi.get(__response__, 'logging_config'), + memory_size=pulumi.get(__response__, 'memory_size'), + package_type=pulumi.get(__response__, 'package_type'), + recursive_loop=pulumi.get(__response__, 'recursive_loop'), + reserved_concurrent_executions=pulumi.get(__response__, 'reserved_concurrent_executions'), + role=pulumi.get(__response__, 'role'), + runtime=pulumi.get(__response__, 'runtime'), + runtime_management_config=pulumi.get(__response__, 'runtime_management_config'), + snap_start_response=pulumi.get(__response__, 'snap_start_response'), + tags=pulumi.get(__response__, 'tags'), + timeout=pulumi.get(__response__, 'timeout'), + tracing_config=pulumi.get(__response__, 'tracing_config'), + vpc_config=pulumi.get(__response__, 'vpc_config'))) diff --git a/sdk/python/pulumi_aws_native/lambda_/get_layer_version.py b/sdk/python/pulumi_aws_native/lambda_/get_layer_version.py index b969f8f73c..5a762c88e9 100644 --- a/sdk/python/pulumi_aws_native/lambda_/get_layer_version.py +++ b/sdk/python/pulumi_aws_native/lambda_/get_layer_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_layer_version(layer_version_arn: Optional[str] = None, return AwaitableGetLayerVersionResult( layer_version_arn=pulumi.get(__ret__, 'layer_version_arn')) - - -@_utilities.lift_output_func(get_layer_version) def get_layer_version_output(layer_version_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLayerVersionResult]: """ @@ -67,4 +69,9 @@ def get_layer_version_output(layer_version_arn: Optional[pulumi.Input[str]] = No :param str layer_version_arn: The ARN of the layer version. """ - ... + __args__ = dict() + __args__['layerVersionArn'] = layer_version_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lambda:getLayerVersion', __args__, opts=opts, typ=GetLayerVersionResult) + return __ret__.apply(lambda __response__: GetLayerVersionResult( + layer_version_arn=pulumi.get(__response__, 'layer_version_arn'))) diff --git a/sdk/python/pulumi_aws_native/lambda_/get_layer_version_permission.py b/sdk/python/pulumi_aws_native/lambda_/get_layer_version_permission.py index df18e343b4..075101f662 100644 --- a/sdk/python/pulumi_aws_native/lambda_/get_layer_version_permission.py +++ b/sdk/python/pulumi_aws_native/lambda_/get_layer_version_permission.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_layer_version_permission(id: Optional[str] = None, return AwaitableGetLayerVersionPermissionResult( id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_layer_version_permission) def get_layer_version_permission_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLayerVersionPermissionResult]: """ @@ -67,4 +69,9 @@ def get_layer_version_permission_output(id: Optional[pulumi.Input[str]] = None, :param str id: ID generated by service """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lambda:getLayerVersionPermission', __args__, opts=opts, typ=GetLayerVersionPermissionResult) + return __ret__.apply(lambda __response__: GetLayerVersionPermissionResult( + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/lambda_/get_permission.py b/sdk/python/pulumi_aws_native/lambda_/get_permission.py index de6ce67958..bfa7b7e7f6 100644 --- a/sdk/python/pulumi_aws_native/lambda_/get_permission.py +++ b/sdk/python/pulumi_aws_native/lambda_/get_permission.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -64,9 +69,6 @@ def get_permission(function_name: Optional[str] = None, return AwaitableGetPermissionResult( id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_permission) def get_permission_output(function_name: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPermissionResult]: @@ -85,4 +87,10 @@ def get_permission_output(function_name: Optional[pulumi.Input[str]] = None, You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length. """ - ... + __args__ = dict() + __args__['functionName'] = function_name + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lambda:getPermission', __args__, opts=opts, typ=GetPermissionResult) + return __ret__.apply(lambda __response__: GetPermissionResult( + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/lambda_/get_url.py b/sdk/python/pulumi_aws_native/lambda_/get_url.py index aa3fc86a12..c30487830e 100644 --- a/sdk/python/pulumi_aws_native/lambda_/get_url.py +++ b/sdk/python/pulumi_aws_native/lambda_/get_url.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -110,9 +115,6 @@ def get_url(function_arn: Optional[str] = None, function_arn=pulumi.get(__ret__, 'function_arn'), function_url=pulumi.get(__ret__, 'function_url'), invoke_mode=pulumi.get(__ret__, 'invoke_mode')) - - -@_utilities.lift_output_func(get_url) def get_url_output(function_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUrlResult]: """ @@ -121,4 +123,13 @@ def get_url_output(function_arn: Optional[pulumi.Input[str]] = None, :param str function_arn: The full Amazon Resource Name (ARN) of the function associated with the Function URL. """ - ... + __args__ = dict() + __args__['functionArn'] = function_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lambda:getUrl', __args__, opts=opts, typ=GetUrlResult) + return __ret__.apply(lambda __response__: GetUrlResult( + auth_type=pulumi.get(__response__, 'auth_type'), + cors=pulumi.get(__response__, 'cors'), + function_arn=pulumi.get(__response__, 'function_arn'), + function_url=pulumi.get(__response__, 'function_url'), + invoke_mode=pulumi.get(__response__, 'invoke_mode'))) diff --git a/sdk/python/pulumi_aws_native/lambda_/get_version.py b/sdk/python/pulumi_aws_native/lambda_/get_version.py index 04cf9803c3..b33054b26d 100644 --- a/sdk/python/pulumi_aws_native/lambda_/get_version.py +++ b/sdk/python/pulumi_aws_native/lambda_/get_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -84,9 +89,6 @@ def get_version(function_arn: Optional[str] = None, function_arn=pulumi.get(__ret__, 'function_arn'), policy=pulumi.get(__ret__, 'policy'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_version) def get_version_output(function_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVersionResult]: """ @@ -95,4 +97,11 @@ def get_version_output(function_arn: Optional[pulumi.Input[str]] = None, :param str function_arn: The ARN of the version. """ - ... + __args__ = dict() + __args__['functionArn'] = function_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lambda:getVersion', __args__, opts=opts, typ=GetVersionResult) + return __ret__.apply(lambda __response__: GetVersionResult( + function_arn=pulumi.get(__response__, 'function_arn'), + policy=pulumi.get(__response__, 'policy'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/lambda_/layer_version.py b/sdk/python/pulumi_aws_native/lambda_/layer_version.py index c21bec9797..11a3b5187f 100644 --- a/sdk/python/pulumi_aws_native/lambda_/layer_version.py +++ b/sdk/python/pulumi_aws_native/lambda_/layer_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/lambda_/layer_version_permission.py b/sdk/python/pulumi_aws_native/lambda_/layer_version_permission.py index 2902e72e16..1d1126afd2 100644 --- a/sdk/python/pulumi_aws_native/lambda_/layer_version_permission.py +++ b/sdk/python/pulumi_aws_native/lambda_/layer_version_permission.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['LayerVersionPermissionArgs', 'LayerVersionPermission'] diff --git a/sdk/python/pulumi_aws_native/lambda_/outputs.py b/sdk/python/pulumi_aws_native/lambda_/outputs.py index 8c66923d04..1576b15937 100644 --- a/sdk/python/pulumi_aws_native/lambda_/outputs.py +++ b/sdk/python/pulumi_aws_native/lambda_/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lambda_/permission.py b/sdk/python/pulumi_aws_native/lambda_/permission.py index 980a06b802..3435ebc42a 100644 --- a/sdk/python/pulumi_aws_native/lambda_/permission.py +++ b/sdk/python/pulumi_aws_native/lambda_/permission.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lambda_/url.py b/sdk/python/pulumi_aws_native/lambda_/url.py index e3aaa3873c..6932ea61d5 100644 --- a/sdk/python/pulumi_aws_native/lambda_/url.py +++ b/sdk/python/pulumi_aws_native/lambda_/url.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lambda_/version.py b/sdk/python/pulumi_aws_native/lambda_/version.py index 3f10f83980..96a6bbe45d 100644 --- a/sdk/python/pulumi_aws_native/lambda_/version.py +++ b/sdk/python/pulumi_aws_native/lambda_/version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/launchwizard/deployment.py b/sdk/python/pulumi_aws_native/launchwizard/deployment.py index 6ec5c8065a..1d124d7cb3 100644 --- a/sdk/python/pulumi_aws_native/launchwizard/deployment.py +++ b/sdk/python/pulumi_aws_native/launchwizard/deployment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/launchwizard/get_deployment.py b/sdk/python/pulumi_aws_native/launchwizard/get_deployment.py index 4e8bcd30ba..3aad619c90 100644 --- a/sdk/python/pulumi_aws_native/launchwizard/get_deployment.py +++ b/sdk/python/pulumi_aws_native/launchwizard/get_deployment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -136,9 +141,6 @@ def get_deployment(arn: Optional[str] = None, resource_group=pulumi.get(__ret__, 'resource_group'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_deployment) def get_deployment_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeploymentResult]: """ @@ -147,4 +149,15 @@ def get_deployment_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: ARN of the LaunchWizard deployment """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:launchwizard:getDeployment', __args__, opts=opts, typ=GetDeploymentResult) + return __ret__.apply(lambda __response__: GetDeploymentResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + deleted_at=pulumi.get(__response__, 'deleted_at'), + deployment_id=pulumi.get(__response__, 'deployment_id'), + resource_group=pulumi.get(__response__, 'resource_group'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/lex/_inputs.py b/sdk/python/pulumi_aws_native/lex/_inputs.py index 4dbebabd8f..e5e628a8b7 100644 --- a/sdk/python/pulumi_aws_native/lex/_inputs.py +++ b/sdk/python/pulumi_aws_native/lex/_inputs.py @@ -4,109 +4,222 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'BotAdvancedRecognitionSettingArgs', + 'BotAdvancedRecognitionSettingArgsDict', 'BotAliasAudioLogDestinationArgs', + 'BotAliasAudioLogDestinationArgsDict', 'BotAliasAudioLogSettingArgs', + 'BotAliasAudioLogSettingArgsDict', 'BotAliasCloudWatchLogGroupLogDestinationArgs', + 'BotAliasCloudWatchLogGroupLogDestinationArgsDict', 'BotAliasCodeHookSpecificationArgs', + 'BotAliasCodeHookSpecificationArgsDict', 'BotAliasConversationLogSettingsArgs', + 'BotAliasConversationLogSettingsArgsDict', 'BotAliasLambdaCodeHookArgs', + 'BotAliasLambdaCodeHookArgsDict', 'BotAliasLocaleSettingsItemArgs', + 'BotAliasLocaleSettingsItemArgsDict', 'BotAliasLocaleSettingsArgs', + 'BotAliasLocaleSettingsArgsDict', 'BotAliasS3BucketLogDestinationArgs', + 'BotAliasS3BucketLogDestinationArgsDict', 'BotAliasTagArgs', + 'BotAliasTagArgsDict', 'BotAliasTextLogDestinationArgs', + 'BotAliasTextLogDestinationArgsDict', 'BotAliasTextLogSettingArgs', + 'BotAliasTextLogSettingArgsDict', 'BotAllowedInputTypesArgs', + 'BotAllowedInputTypesArgsDict', 'BotAudioAndDtmfInputSpecificationArgs', + 'BotAudioAndDtmfInputSpecificationArgsDict', 'BotAudioLogDestinationArgs', + 'BotAudioLogDestinationArgsDict', 'BotAudioLogSettingArgs', + 'BotAudioLogSettingArgsDict', 'BotAudioSpecificationArgs', + 'BotAudioSpecificationArgsDict', 'BotButtonArgs', + 'BotButtonArgsDict', 'BotCloudWatchLogGroupLogDestinationArgs', + 'BotCloudWatchLogGroupLogDestinationArgsDict', 'BotConditionalBranchArgs', + 'BotConditionalBranchArgsDict', 'BotConditionalSpecificationArgs', + 'BotConditionalSpecificationArgsDict', 'BotConditionArgs', + 'BotConditionArgsDict', 'BotConversationLogSettingsArgs', + 'BotConversationLogSettingsArgsDict', 'BotCustomPayloadArgs', + 'BotCustomPayloadArgsDict', 'BotCustomVocabularyItemArgs', + 'BotCustomVocabularyItemArgsDict', 'BotCustomVocabularyArgs', + 'BotCustomVocabularyArgsDict', 'BotDefaultConditionalBranchArgs', + 'BotDefaultConditionalBranchArgsDict', 'BotDialogActionArgs', + 'BotDialogActionArgsDict', 'BotDialogCodeHookInvocationSettingArgs', + 'BotDialogCodeHookInvocationSettingArgsDict', 'BotDialogCodeHookSettingArgs', + 'BotDialogCodeHookSettingArgsDict', 'BotDialogStateArgs', + 'BotDialogStateArgsDict', 'BotDtmfSpecificationArgs', + 'BotDtmfSpecificationArgsDict', 'BotElicitationCodeHookInvocationSettingArgs', + 'BotElicitationCodeHookInvocationSettingArgsDict', 'BotExternalSourceSettingArgs', + 'BotExternalSourceSettingArgsDict', 'BotFulfillmentCodeHookSettingArgs', + 'BotFulfillmentCodeHookSettingArgsDict', 'BotFulfillmentStartResponseSpecificationArgs', + 'BotFulfillmentStartResponseSpecificationArgsDict', 'BotFulfillmentUpdateResponseSpecificationArgs', + 'BotFulfillmentUpdateResponseSpecificationArgsDict', 'BotFulfillmentUpdatesSpecificationArgs', + 'BotFulfillmentUpdatesSpecificationArgsDict', 'BotGrammarSlotTypeSettingArgs', + 'BotGrammarSlotTypeSettingArgsDict', 'BotGrammarSlotTypeSourceArgs', + 'BotGrammarSlotTypeSourceArgsDict', 'BotImageResponseCardArgs', + 'BotImageResponseCardArgsDict', 'BotInitialResponseSettingArgs', + 'BotInitialResponseSettingArgsDict', 'BotInputContextArgs', + 'BotInputContextArgsDict', 'BotIntentClosingSettingArgs', + 'BotIntentClosingSettingArgsDict', 'BotIntentConfirmationSettingArgs', + 'BotIntentConfirmationSettingArgsDict', 'BotIntentOverrideArgs', + 'BotIntentOverrideArgsDict', 'BotIntentArgs', + 'BotIntentArgsDict', 'BotKendraConfigurationArgs', + 'BotKendraConfigurationArgsDict', 'BotLocaleArgs', + 'BotLocaleArgsDict', 'BotMessageGroupArgs', + 'BotMessageGroupArgsDict', 'BotMessageArgs', + 'BotMessageArgsDict', 'BotMultipleValuesSettingArgs', + 'BotMultipleValuesSettingArgsDict', 'BotObfuscationSettingArgs', + 'BotObfuscationSettingArgsDict', 'BotOutputContextArgs', + 'BotOutputContextArgsDict', 'BotPlainTextMessageArgs', + 'BotPlainTextMessageArgsDict', 'BotPostDialogCodeHookInvocationSpecificationArgs', + 'BotPostDialogCodeHookInvocationSpecificationArgsDict', 'BotPostFulfillmentStatusSpecificationArgs', + 'BotPostFulfillmentStatusSpecificationArgsDict', 'BotPromptAttemptSpecificationArgs', + 'BotPromptAttemptSpecificationArgsDict', 'BotPromptSpecificationArgs', + 'BotPromptSpecificationArgsDict', 'BotResponseSpecificationArgs', + 'BotResponseSpecificationArgsDict', 'BotS3BucketLogDestinationArgs', + 'BotS3BucketLogDestinationArgsDict', 'BotS3LocationArgs', + 'BotS3LocationArgsDict', 'BotSampleUtteranceArgs', + 'BotSampleUtteranceArgsDict', 'BotSampleValueArgs', + 'BotSampleValueArgsDict', 'BotSessionAttributeArgs', + 'BotSessionAttributeArgsDict', 'BotSlotCaptureSettingArgs', + 'BotSlotCaptureSettingArgsDict', 'BotSlotDefaultValueSpecificationArgs', + 'BotSlotDefaultValueSpecificationArgsDict', 'BotSlotDefaultValueArgs', + 'BotSlotDefaultValueArgsDict', 'BotSlotPriorityArgs', + 'BotSlotPriorityArgsDict', 'BotSlotTypeValueArgs', + 'BotSlotTypeValueArgsDict', 'BotSlotTypeArgs', + 'BotSlotTypeArgsDict', 'BotSlotValueElicitationSettingArgs', + 'BotSlotValueElicitationSettingArgsDict', 'BotSlotValueOverrideMapArgs', + 'BotSlotValueOverrideMapArgsDict', 'BotSlotValueOverrideArgs', + 'BotSlotValueOverrideArgsDict', 'BotSlotValueRegexFilterArgs', + 'BotSlotValueRegexFilterArgsDict', 'BotSlotValueSelectionSettingArgs', + 'BotSlotValueSelectionSettingArgsDict', 'BotSlotValueArgs', + 'BotSlotValueArgsDict', 'BotSlotArgs', + 'BotSlotArgsDict', 'BotSsmlMessageArgs', + 'BotSsmlMessageArgsDict', 'BotStillWaitingResponseSpecificationArgs', + 'BotStillWaitingResponseSpecificationArgsDict', 'BotTagArgs', + 'BotTagArgsDict', 'BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesArgs', + 'BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesArgsDict', 'BotTestBotAliasSettingsArgs', + 'BotTestBotAliasSettingsArgsDict', 'BotTextInputSpecificationArgs', + 'BotTextInputSpecificationArgsDict', 'BotTextLogDestinationArgs', + 'BotTextLogDestinationArgsDict', 'BotTextLogSettingArgs', + 'BotTextLogSettingArgsDict', 'BotVersionLocaleDetailsArgs', + 'BotVersionLocaleDetailsArgsDict', 'BotVersionLocaleSpecificationArgs', + 'BotVersionLocaleSpecificationArgsDict', 'BotVoiceSettingsArgs', + 'BotVoiceSettingsArgsDict', 'BotWaitAndContinueSpecificationArgs', + 'BotWaitAndContinueSpecificationArgsDict', 'DataPrivacyPropertiesArgs', + 'DataPrivacyPropertiesArgsDict', 'ResourcePolicyPolicyArgs', + 'ResourcePolicyPolicyArgsDict', 'SentimentAnalysisSettingsPropertiesArgs', + 'SentimentAnalysisSettingsPropertiesArgsDict', ] +MYPY = False + +if not MYPY: + class BotAdvancedRecognitionSettingArgsDict(TypedDict): + """ + Provides settings that enable advanced recognition settings for slot values. + """ + audio_recognition_strategy: NotRequired[pulumi.Input['BotAudioRecognitionStrategy']] + """ + Enables using the slot values as a custom vocabulary for recognizing user utterances. + """ +elif False: + BotAdvancedRecognitionSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAdvancedRecognitionSettingArgs: def __init__(__self__, *, @@ -131,6 +244,15 @@ def audio_recognition_strategy(self, value: Optional[pulumi.Input['BotAudioRecog pulumi.set(self, "audio_recognition_strategy", value) +if not MYPY: + class BotAliasAudioLogDestinationArgsDict(TypedDict): + """ + The location of audio log files collected when conversation logging is enabled for a bot. + """ + s3_bucket: pulumi.Input['BotAliasS3BucketLogDestinationArgsDict'] +elif False: + BotAliasAudioLogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasAudioLogDestinationArgs: def __init__(__self__, *, @@ -150,6 +272,16 @@ def s3_bucket(self, value: pulumi.Input['BotAliasS3BucketLogDestinationArgs']): pulumi.set(self, "s3_bucket", value) +if not MYPY: + class BotAliasAudioLogSettingArgsDict(TypedDict): + """ + Settings for logging audio of conversations between Amazon Lex and a user. You specify whether to log audio and the Amazon S3 bucket where the audio file is stored. + """ + destination: pulumi.Input['BotAliasAudioLogDestinationArgsDict'] + enabled: pulumi.Input[bool] +elif False: + BotAliasAudioLogSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasAudioLogSettingArgs: def __init__(__self__, *, @@ -180,6 +312,19 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class BotAliasCloudWatchLogGroupLogDestinationArgsDict(TypedDict): + cloud_watch_log_group_arn: pulumi.Input[str] + """ + A string used to identify the groupArn for the Cloudwatch Log Group + """ + log_prefix: pulumi.Input[str] + """ + A string containing the value for the Log Prefix + """ +elif False: + BotAliasCloudWatchLogGroupLogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasCloudWatchLogGroupLogDestinationArgs: def __init__(__self__, *, @@ -217,6 +362,15 @@ def log_prefix(self, value: pulumi.Input[str]): pulumi.set(self, "log_prefix", value) +if not MYPY: + class BotAliasCodeHookSpecificationArgsDict(TypedDict): + """ + Contains information about code hooks that Amazon Lex calls during a conversation. + """ + lambda_code_hook: pulumi.Input['BotAliasLambdaCodeHookArgsDict'] +elif False: + BotAliasCodeHookSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasCodeHookSpecificationArgs: def __init__(__self__, *, @@ -236,6 +390,22 @@ def lambda_code_hook(self, value: pulumi.Input['BotAliasLambdaCodeHookArgs']): pulumi.set(self, "lambda_code_hook", value) +if not MYPY: + class BotAliasConversationLogSettingsArgsDict(TypedDict): + """ + Contains information about code hooks that Amazon Lex calls during a conversation. + """ + audio_log_settings: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotAliasAudioLogSettingArgsDict']]]] + """ + The Amazon S3 settings for logging audio to an S3 bucket. + """ + text_log_settings: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotAliasTextLogSettingArgsDict']]]] + """ + The Amazon CloudWatch Logs settings for logging text and metadata. + """ +elif False: + BotAliasConversationLogSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasConversationLogSettingsArgs: def __init__(__self__, *, @@ -276,6 +446,22 @@ def text_log_settings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "text_log_settings", value) +if not MYPY: + class BotAliasLambdaCodeHookArgsDict(TypedDict): + """ + Contains information about code hooks that Amazon Lex calls during a conversation. + """ + code_hook_interface_version: pulumi.Input[str] + """ + The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. + """ + lambda_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Lambda function. + """ +elif False: + BotAliasLambdaCodeHookArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasLambdaCodeHookArgs: def __init__(__self__, *, @@ -314,6 +500,19 @@ def lambda_arn(self, value: pulumi.Input[str]): pulumi.set(self, "lambda_arn", value) +if not MYPY: + class BotAliasLocaleSettingsItemArgsDict(TypedDict): + """ + A locale setting in alias + """ + bot_alias_locale_setting: pulumi.Input['BotAliasLocaleSettingsArgsDict'] + locale_id: pulumi.Input[str] + """ + A string used to identify the locale + """ +elif False: + BotAliasLocaleSettingsItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasLocaleSettingsItemArgs: def __init__(__self__, *, @@ -348,6 +547,19 @@ def locale_id(self, value: pulumi.Input[str]): pulumi.set(self, "locale_id", value) +if not MYPY: + class BotAliasLocaleSettingsArgsDict(TypedDict): + """ + You can use this parameter to specify a specific Lambda function to run different functions in different locales. + """ + enabled: pulumi.Input[bool] + """ + Whether the Lambda code hook is enabled + """ + code_hook_specification: NotRequired[pulumi.Input['BotAliasCodeHookSpecificationArgsDict']] +elif False: + BotAliasLocaleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasLocaleSettingsArgs: def __init__(__self__, *, @@ -383,6 +595,26 @@ def code_hook_specification(self, value: Optional[pulumi.Input['BotAliasCodeHook pulumi.set(self, "code_hook_specification", value) +if not MYPY: + class BotAliasS3BucketLogDestinationArgsDict(TypedDict): + """ + Specifies an Amazon S3 bucket for logging audio conversations + """ + log_prefix: pulumi.Input[str] + """ + The Amazon S3 key of the deployment package. + """ + s3_bucket_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored. + """ + kms_key_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket. + """ +elif False: + BotAliasS3BucketLogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasS3BucketLogDestinationArgs: def __init__(__self__, *, @@ -437,6 +669,22 @@ def kms_key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_arn", value) +if not MYPY: + class BotAliasTagArgsDict(TypedDict): + """ + A label for tagging Lex resources + """ + key: pulumi.Input[str] + """ + A string used to identify this tag + """ + value: pulumi.Input[str] + """ + A string containing the value for the tag + """ +elif False: + BotAliasTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasTagArgs: def __init__(__self__, *, @@ -475,6 +723,15 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class BotAliasTextLogDestinationArgsDict(TypedDict): + """ + Defines the Amazon CloudWatch Logs destination log group for conversation text logs. + """ + cloud_watch: pulumi.Input['BotAliasCloudWatchLogGroupLogDestinationArgsDict'] +elif False: + BotAliasTextLogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasTextLogDestinationArgs: def __init__(__self__, *, @@ -494,6 +751,16 @@ def cloud_watch(self, value: pulumi.Input['BotAliasCloudWatchLogGroupLogDestinat pulumi.set(self, "cloud_watch", value) +if not MYPY: + class BotAliasTextLogSettingArgsDict(TypedDict): + """ + Contains information about code hooks that Amazon Lex calls during a conversation. + """ + destination: pulumi.Input['BotAliasTextLogDestinationArgsDict'] + enabled: pulumi.Input[bool] +elif False: + BotAliasTextLogSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAliasTextLogSettingArgs: def __init__(__self__, *, @@ -524,6 +791,22 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class BotAllowedInputTypesArgsDict(TypedDict): + """ + Specifies the allowed input types. + """ + allow_audio_input: pulumi.Input[bool] + """ + Indicates whether audio input is allowed. + """ + allow_dtmf_input: pulumi.Input[bool] + """ + Indicates whether DTMF input is allowed. + """ +elif False: + BotAllowedInputTypesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAllowedInputTypesArgs: def __init__(__self__, *, @@ -562,6 +845,20 @@ def allow_dtmf_input(self, value: pulumi.Input[bool]): pulumi.set(self, "allow_dtmf_input", value) +if not MYPY: + class BotAudioAndDtmfInputSpecificationArgsDict(TypedDict): + """ + Specifies the audio and DTMF input specification. + """ + start_timeout_ms: pulumi.Input[int] + """ + Time for which a bot waits before assuming that the customer isn't going to speak or press a key. This timeout is shared between Audio and DTMF inputs. + """ + audio_specification: NotRequired[pulumi.Input['BotAudioSpecificationArgsDict']] + dtmf_specification: NotRequired[pulumi.Input['BotDtmfSpecificationArgsDict']] +elif False: + BotAudioAndDtmfInputSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAudioAndDtmfInputSpecificationArgs: def __init__(__self__, *, @@ -609,6 +906,15 @@ def dtmf_specification(self, value: Optional[pulumi.Input['BotDtmfSpecificationA pulumi.set(self, "dtmf_specification", value) +if not MYPY: + class BotAudioLogDestinationArgsDict(TypedDict): + """ + The location of audio log files collected when conversation logging is enabled for a bot. + """ + s3_bucket: pulumi.Input['BotS3BucketLogDestinationArgsDict'] +elif False: + BotAudioLogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAudioLogDestinationArgs: def __init__(__self__, *, @@ -628,6 +934,16 @@ def s3_bucket(self, value: pulumi.Input['BotS3BucketLogDestinationArgs']): pulumi.set(self, "s3_bucket", value) +if not MYPY: + class BotAudioLogSettingArgsDict(TypedDict): + """ + Settings for logging audio of conversations between Amazon Lex and a user. You specify whether to log audio and the Amazon S3 bucket where the audio file is stored. + """ + destination: pulumi.Input['BotAudioLogDestinationArgsDict'] + enabled: pulumi.Input[bool] +elif False: + BotAudioLogSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAudioLogSettingArgs: def __init__(__self__, *, @@ -658,6 +974,22 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class BotAudioSpecificationArgsDict(TypedDict): + """ + Specifies the audio input specifications. + """ + end_timeout_ms: pulumi.Input[int] + """ + Time for which a bot waits after the customer stops speaking to assume the utterance is finished. + """ + max_length_ms: pulumi.Input[int] + """ + Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. + """ +elif False: + BotAudioSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotAudioSpecificationArgs: def __init__(__self__, *, @@ -696,6 +1028,22 @@ def max_length_ms(self, value: pulumi.Input[int]): pulumi.set(self, "max_length_ms", value) +if not MYPY: + class BotButtonArgsDict(TypedDict): + """ + A button to use on a response card used to gather slot values from a user. + """ + text: pulumi.Input[str] + """ + The text that appears on the button. + """ + value: pulumi.Input[str] + """ + The value returned to Amazon Lex when the user chooses this button. + """ +elif False: + BotButtonArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotButtonArgs: def __init__(__self__, *, @@ -734,6 +1082,19 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class BotCloudWatchLogGroupLogDestinationArgsDict(TypedDict): + cloud_watch_log_group_arn: pulumi.Input[str] + """ + A string used to identify the groupArn for the Cloudwatch Log Group + """ + log_prefix: pulumi.Input[str] + """ + A string containing the value for the Log Prefix + """ +elif False: + BotCloudWatchLogGroupLogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotCloudWatchLogGroupLogDestinationArgs: def __init__(__self__, *, @@ -771,6 +1132,30 @@ def log_prefix(self, value: pulumi.Input[str]): pulumi.set(self, "log_prefix", value) +if not MYPY: + class BotConditionalBranchArgsDict(TypedDict): + """ + A set of actions that Amazon Lex should run if the condition is matched. + """ + condition: pulumi.Input['BotConditionArgsDict'] + """ + Contains the expression to evaluate. If the condition is true, the branch's actions are taken. + """ + name: pulumi.Input[str] + """ + The name of the branch. + """ + next_step: pulumi.Input['BotDialogStateArgsDict'] + """ + The next step in the conversation. + """ + response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ +elif False: + BotConditionalBranchArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotConditionalBranchArgs: def __init__(__self__, *, @@ -840,6 +1225,26 @@ def response(self, value: Optional[pulumi.Input['BotResponseSpecificationArgs']] pulumi.set(self, "response", value) +if not MYPY: + class BotConditionalSpecificationArgsDict(TypedDict): + """ + Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition. + """ + conditional_branches: pulumi.Input[Sequence[pulumi.Input['BotConditionalBranchArgsDict']]] + """ + A list of conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true. + """ + default_branch: pulumi.Input['BotDefaultConditionalBranchArgsDict'] + """ + The conditional branch that should be followed when the conditions for other branches are not satisfied. A conditional branch is made up of a condition, a response and a next step. + """ + is_active: pulumi.Input[bool] + """ + Determines whether a conditional branch is active. When active is false, the conditions are not evaluated. + """ +elif False: + BotConditionalSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotConditionalSpecificationArgs: def __init__(__self__, *, @@ -893,6 +1298,18 @@ def is_active(self, value: pulumi.Input[bool]): pulumi.set(self, "is_active", value) +if not MYPY: + class BotConditionArgsDict(TypedDict): + """ + Provides an expression that evaluates to true or false. + """ + expression_string: pulumi.Input[str] + """ + The expression string that is evaluated. + """ +elif False: + BotConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotConditionArgs: def __init__(__self__, *, @@ -916,6 +1333,22 @@ def expression_string(self, value: pulumi.Input[str]): pulumi.set(self, "expression_string", value) +if not MYPY: + class BotConversationLogSettingsArgsDict(TypedDict): + """ + Contains information about code hooks that Amazon Lex calls during a conversation. + """ + audio_log_settings: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotAudioLogSettingArgsDict']]]] + """ + The Amazon S3 settings for logging audio to an S3 bucket. + """ + text_log_settings: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotTextLogSettingArgsDict']]]] + """ + The Amazon CloudWatch Logs settings for logging text and metadata. + """ +elif False: + BotConversationLogSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotConversationLogSettingsArgs: def __init__(__self__, *, @@ -956,6 +1389,18 @@ def text_log_settings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "text_log_settings", value) +if not MYPY: + class BotCustomPayloadArgsDict(TypedDict): + """ + A message in a custom format defined by the client application. + """ + value: pulumi.Input[str] + """ + The string that is sent to your application. + """ +elif False: + BotCustomPayloadArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotCustomPayloadArgs: def __init__(__self__, *, @@ -979,6 +1424,26 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class BotCustomVocabularyItemArgsDict(TypedDict): + """ + A custom vocabulary item that contains the phrase to recognize and a weight to give the boost. + """ + phrase: pulumi.Input[str] + """ + Phrase that should be recognized. + """ + display_as: NotRequired[pulumi.Input[str]] + """ + Defines how you want your phrase to look in your transcription output. + """ + weight: NotRequired[pulumi.Input[int]] + """ + The degree to which the phrase recognition is boosted. The weight 0 means that no boosting will be applied and the entry will only be used for performing replacements using the displayAs field. + """ +elif False: + BotCustomVocabularyItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotCustomVocabularyItemArgs: def __init__(__self__, *, @@ -1034,6 +1499,18 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class BotCustomVocabularyArgsDict(TypedDict): + """ + A custom vocabulary is a list of specific phrases that you want Amazon Lex V2 to recognize in the audio input. + """ + custom_vocabulary_items: pulumi.Input[Sequence[pulumi.Input['BotCustomVocabularyItemArgsDict']]] + """ + Specifies a list of words that you expect to be used during a conversation with your bot. + """ +elif False: + BotCustomVocabularyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotCustomVocabularyArgs: def __init__(__self__, *, @@ -1057,6 +1534,22 @@ def custom_vocabulary_items(self, value: pulumi.Input[Sequence[pulumi.Input['Bot pulumi.set(self, "custom_vocabulary_items", value) +if not MYPY: + class BotDefaultConditionalBranchArgsDict(TypedDict): + """ + A set of actions that Amazon Lex should run if none of the other conditions are met. + """ + next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + The next step in the conversation. + """ + response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ +elif False: + BotDefaultConditionalBranchArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotDefaultConditionalBranchArgs: def __init__(__self__, *, @@ -1097,6 +1590,26 @@ def response(self, value: Optional[pulumi.Input['BotResponseSpecificationArgs']] pulumi.set(self, "response", value) +if not MYPY: + class BotDialogActionArgsDict(TypedDict): + """ + Defines the action that the bot executes at runtime when the conversation reaches this step. + """ + type: pulumi.Input['BotDialogActionType'] + """ + The action that the bot should execute. + """ + slot_to_elicit: NotRequired[pulumi.Input[str]] + """ + If the dialog action is ElicitSlot, defines the slot to elicit from the user. + """ + suppress_next_message: NotRequired[pulumi.Input[bool]] + """ + When true the next message for the intent is not used. + """ +elif False: + BotDialogActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotDialogActionArgs: def __init__(__self__, *, @@ -1152,6 +1665,30 @@ def suppress_next_message(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "suppress_next_message", value) +if not MYPY: + class BotDialogCodeHookInvocationSettingArgsDict(TypedDict): + """ + Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation. + """ + enable_code_hook_invocation: pulumi.Input[bool] + """ + Indicates whether a Lambda function should be invoked for the dialog. + """ + is_active: pulumi.Input[bool] + """ + Determines whether a dialog code hook is used when the intent is activated. + """ + post_code_hook_specification: pulumi.Input['BotPostDialogCodeHookInvocationSpecificationArgsDict'] + """ + Contains the responses and actions that Amazon Lex takes after the Lambda function is complete. + """ + invocation_label: NotRequired[pulumi.Input[str]] + """ + A label that indicates the dialog step from which the dialog code hook is happening. + """ +elif False: + BotDialogCodeHookInvocationSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotDialogCodeHookInvocationSettingArgs: def __init__(__self__, *, @@ -1221,6 +1758,18 @@ def invocation_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "invocation_label", value) +if not MYPY: + class BotDialogCodeHookSettingArgsDict(TypedDict): + """ + Settings that determine the Lambda function that Amazon Lex uses for processing user responses. + """ + enabled: pulumi.Input[bool] + """ + Enables the dialog code hook so that it processes user requests. + """ +elif False: + BotDialogCodeHookSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotDialogCodeHookSettingArgs: def __init__(__self__, *, @@ -1244,6 +1793,26 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class BotDialogStateArgsDict(TypedDict): + """ + The current state of the conversation with the user. + """ + dialog_action: NotRequired[pulumi.Input['BotDialogActionArgsDict']] + """ + Defines the action that the bot executes at runtime when the conversation reaches this step. + """ + intent: NotRequired[pulumi.Input['BotIntentOverrideArgsDict']] + """ + Override settings to configure the intent state. + """ + session_attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotSessionAttributeArgsDict']]]] + """ + List of session attributes to be applied when the conversation reaches this step. + """ +elif False: + BotDialogStateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotDialogStateArgs: def __init__(__self__, *, @@ -1300,6 +1869,30 @@ def session_attributes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "session_attributes", value) +if not MYPY: + class BotDtmfSpecificationArgsDict(TypedDict): + """ + Specifies the settings on DTMF input. + """ + deletion_character: pulumi.Input[str] + """ + The DTMF character that clears the accumulated DTMF digits and immediately ends the input. + """ + end_character: pulumi.Input[str] + """ + The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout. + """ + end_timeout_ms: pulumi.Input[int] + """ + How long the bot should wait after the last DTMF character input before assuming that the input has concluded. + """ + max_length: pulumi.Input[int] + """ + The maximum number of DTMF digits allowed in an utterance. + """ +elif False: + BotDtmfSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotDtmfSpecificationArgs: def __init__(__self__, *, @@ -1368,6 +1961,22 @@ def max_length(self, value: pulumi.Input[int]): pulumi.set(self, "max_length", value) +if not MYPY: + class BotElicitationCodeHookInvocationSettingArgsDict(TypedDict): + """ + Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values. + """ + enable_code_hook_invocation: pulumi.Input[bool] + """ + Indicates whether a Lambda function should be invoked for the dialog. + """ + invocation_label: NotRequired[pulumi.Input[str]] + """ + A label that indicates the dialog step from which the dialog code hook is happening. + """ +elif False: + BotElicitationCodeHookInvocationSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotElicitationCodeHookInvocationSettingArgs: def __init__(__self__, *, @@ -1407,6 +2016,18 @@ def invocation_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "invocation_label", value) +if not MYPY: + class BotExternalSourceSettingArgsDict(TypedDict): + """ + Provides information about the external source of the slot type's definition. + """ + grammar_slot_type_setting: NotRequired[pulumi.Input['BotGrammarSlotTypeSettingArgsDict']] + """ + Settings required for a slot type based on a grammar that you provide. + """ +elif False: + BotExternalSourceSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotExternalSourceSettingArgs: def __init__(__self__, *, @@ -1431,6 +2052,30 @@ def grammar_slot_type_setting(self, value: Optional[pulumi.Input['BotGrammarSlot pulumi.set(self, "grammar_slot_type_setting", value) +if not MYPY: + class BotFulfillmentCodeHookSettingArgsDict(TypedDict): + """ + Settings that determine if a Lambda function should be invoked to fulfill a specific intent. + """ + enabled: pulumi.Input[bool] + """ + Indicates whether a Lambda function should be invoked to fulfill a specific intent. + """ + fulfillment_updates_specification: NotRequired[pulumi.Input['BotFulfillmentUpdatesSpecificationArgsDict']] + """ + Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations. + """ + is_active: NotRequired[pulumi.Input[bool]] + """ + Determines whether the fulfillment code hook is used. When active is false, the code hook doesn't run. + """ + post_fulfillment_status_specification: NotRequired[pulumi.Input['BotPostFulfillmentStatusSpecificationArgsDict']] + """ + Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations. + """ +elif False: + BotFulfillmentCodeHookSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotFulfillmentCodeHookSettingArgs: def __init__(__self__, *, @@ -1502,6 +2147,26 @@ def post_fulfillment_status_specification(self, value: Optional[pulumi.Input['Bo pulumi.set(self, "post_fulfillment_status_specification", value) +if not MYPY: + class BotFulfillmentStartResponseSpecificationArgsDict(TypedDict): + """ + Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running. + """ + delay_in_seconds: pulumi.Input[int] + """ + The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played. + """ + message_groups: pulumi.Input[Sequence[pulumi.Input['BotMessageGroupArgsDict']]] + """ + 1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user. + """ + allow_interrupt: NotRequired[pulumi.Input[bool]] + """ + Determines whether the user can interrupt the start message while it is playing. + """ +elif False: + BotFulfillmentStartResponseSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotFulfillmentStartResponseSpecificationArgs: def __init__(__self__, *, @@ -1556,6 +2221,26 @@ def allow_interrupt(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "allow_interrupt", value) +if not MYPY: + class BotFulfillmentUpdateResponseSpecificationArgsDict(TypedDict): + """ + Provides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running. + """ + frequency_in_seconds: pulumi.Input[int] + """ + The frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user. + """ + message_groups: pulumi.Input[Sequence[pulumi.Input['BotMessageGroupArgsDict']]] + """ + 1 - 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user. + """ + allow_interrupt: NotRequired[pulumi.Input[bool]] + """ + Determines whether the user can interrupt an update message while it is playing. + """ +elif False: + BotFulfillmentUpdateResponseSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotFulfillmentUpdateResponseSpecificationArgs: def __init__(__self__, *, @@ -1610,6 +2295,30 @@ def allow_interrupt(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "allow_interrupt", value) +if not MYPY: + class BotFulfillmentUpdatesSpecificationArgsDict(TypedDict): + """ + Provides information for updating the user on the progress of fulfilling an intent. + """ + active: pulumi.Input[bool] + """ + Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent. + """ + start_response: NotRequired[pulumi.Input['BotFulfillmentStartResponseSpecificationArgsDict']] + """ + Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running. + """ + timeout_in_seconds: NotRequired[pulumi.Input[int]] + """ + The length of time that the fulfillment Lambda function should run before it times out. + """ + update_response: NotRequired[pulumi.Input['BotFulfillmentUpdateResponseSpecificationArgsDict']] + """ + Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running. + """ +elif False: + BotFulfillmentUpdatesSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotFulfillmentUpdatesSpecificationArgs: def __init__(__self__, *, @@ -1681,6 +2390,18 @@ def update_response(self, value: Optional[pulumi.Input['BotFulfillmentUpdateResp pulumi.set(self, "update_response", value) +if not MYPY: + class BotGrammarSlotTypeSettingArgsDict(TypedDict): + """ + Settings required for a slot type based on a grammar that you provide. + """ + source: NotRequired[pulumi.Input['BotGrammarSlotTypeSourceArgsDict']] + """ + The source of the grammar used to create the slot type. + """ +elif False: + BotGrammarSlotTypeSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotGrammarSlotTypeSettingArgs: def __init__(__self__, *, @@ -1705,6 +2426,26 @@ def source(self, value: Optional[pulumi.Input['BotGrammarSlotTypeSourceArgs']]): pulumi.set(self, "source", value) +if not MYPY: + class BotGrammarSlotTypeSourceArgsDict(TypedDict): + """ + Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type. + """ + s3_bucket_name: pulumi.Input[str] + """ + The name of the S3 bucket that contains the grammar source. + """ + s3_object_key: pulumi.Input[str] + """ + The path to the grammar in the S3 bucket. + """ + kms_key_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon KMS key required to decrypt the contents of the grammar, if any. + """ +elif False: + BotGrammarSlotTypeSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotGrammarSlotTypeSourceArgs: def __init__(__self__, *, @@ -1759,6 +2500,30 @@ def kms_key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_arn", value) +if not MYPY: + class BotImageResponseCardArgsDict(TypedDict): + """ + A message that defines a response card that the client application can show to the user. + """ + title: pulumi.Input[str] + """ + The title to display on the response card. + """ + buttons: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotButtonArgsDict']]]] + """ + A list of buttons that should be displayed on the response card. + """ + image_url: NotRequired[pulumi.Input[str]] + """ + The URL of an image to display on the response card. + """ + subtitle: NotRequired[pulumi.Input[str]] + """ + The subtitle to display on the response card. + """ +elif False: + BotImageResponseCardArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotImageResponseCardArgs: def __init__(__self__, *, @@ -1830,6 +2595,30 @@ def subtitle(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "subtitle", value) +if not MYPY: + class BotInitialResponseSettingArgsDict(TypedDict): + """ + Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots. + """ + code_hook: NotRequired[pulumi.Input['BotDialogCodeHookInvocationSettingArgsDict']] + """ + Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation. + """ + conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition. + """ + initial_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ + next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + The next step in the conversation. + """ +elif False: + BotInitialResponseSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotInitialResponseSettingArgs: def __init__(__self__, *, @@ -1902,6 +2691,18 @@ def next_step(self, value: Optional[pulumi.Input['BotDialogStateArgs']]): pulumi.set(self, "next_step", value) +if not MYPY: + class BotInputContextArgsDict(TypedDict): + """ + InputContext specified for the intent. + """ + name: pulumi.Input[str] + """ + The name of the context. + """ +elif False: + BotInputContextArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotInputContextArgs: def __init__(__self__, *, @@ -1925,6 +2726,30 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class BotIntentClosingSettingArgsDict(TypedDict): + """ + Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled. + """ + closing_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + The response that Amazon Lex sends to the user when the intent is complete. + """ + conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + A list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional. + """ + is_active: NotRequired[pulumi.Input[bool]] + """ + Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true. + """ + next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + Specifies the next step that the bot executes after playing the intent's closing response. + """ +elif False: + BotIntentClosingSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotIntentClosingSettingArgs: def __init__(__self__, *, @@ -1997,6 +2822,66 @@ def next_step(self, value: Optional[pulumi.Input['BotDialogStateArgs']]): pulumi.set(self, "next_step", value) +if not MYPY: + class BotIntentConfirmationSettingArgsDict(TypedDict): + """ + Provides a prompt for making sure that the user is ready for the intent to be fulfilled. + """ + prompt_specification: pulumi.Input['BotPromptSpecificationArgsDict'] + """ + Prompts the user to confirm the intent. This question should have a yes or no answer. + """ + code_hook: NotRequired[pulumi.Input['BotDialogCodeHookInvocationSettingArgsDict']] + """ + The DialogCodeHookInvocationSetting object associated with intent's confirmation step. The dialog code hook is triggered based on these invocation settings when the confirmation next step or declination next step or failure next step is InvokeDialogCodeHook. + """ + confirmation_conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + A list of conditional branches to evaluate after the intent is closed. + """ + confirmation_next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + Specifies the next step that the bot executes when the customer confirms the intent. + """ + confirmation_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ + declination_conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + A list of conditional branches to evaluate after the intent is declined. + """ + declination_next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + Specifies the next step that the bot executes when the customer declines the intent. + """ + declination_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + When the user answers "no" to the question defined in promptSpecification, Amazon Lex responds with this response to acknowledge that the intent was canceled. + """ + elicitation_code_hook: NotRequired[pulumi.Input['BotElicitationCodeHookInvocationSettingArgsDict']] + """ + The DialogCodeHookInvocationSetting used when the code hook is invoked during confirmation prompt retries. + """ + failure_conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition. + """ + failure_next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + The next step to take in the conversation if the confirmation step fails. + """ + failure_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ + is_active: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the intent's confirmation is sent to the user. When this field is false, confirmation and declination responses aren't sent. If the active field isn't specified, the default is true. + """ +elif False: + BotIntentConfirmationSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotIntentConfirmationSettingArgs: def __init__(__self__, *, @@ -2212,6 +3097,22 @@ def is_active(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_active", value) +if not MYPY: + class BotIntentOverrideArgsDict(TypedDict): + """ + Override settings to configure the intent state. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the intent. Only required when you're switching intents. + """ + slots: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotSlotValueOverrideMapArgsDict']]]] + """ + A map of all of the slot value overrides for the intent. + """ +elif False: + BotIntentOverrideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotIntentOverrideArgs: def __init__(__self__, *, @@ -2252,6 +3153,70 @@ def slots(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BotSlotValue pulumi.set(self, "slots", value) +if not MYPY: + class BotIntentArgsDict(TypedDict): + """ + Represents an action that the user wants to perform. + """ + name: pulumi.Input[str] + """ + The name of the intent. + """ + description: NotRequired[pulumi.Input[str]] + """ + Description of thr intent. + """ + dialog_code_hook: NotRequired[pulumi.Input['BotDialogCodeHookSettingArgsDict']] + """ + Specifies that Amazon Lex invokes the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction. + """ + fulfillment_code_hook: NotRequired[pulumi.Input['BotFulfillmentCodeHookSettingArgsDict']] + """ + Specifies that Amazon Lex invokes the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user. + """ + initial_response_setting: NotRequired[pulumi.Input['BotInitialResponseSettingArgsDict']] + """ + Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots. + """ + input_contexts: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotInputContextArgsDict']]]] + """ + A list of contexts that must be active for this intent to be considered by Amazon Lex . + """ + intent_closing_setting: NotRequired[pulumi.Input['BotIntentClosingSettingArgsDict']] + """ + Sets the response that Amazon Lex sends to the user when the intent is closed. + """ + intent_confirmation_setting: NotRequired[pulumi.Input['BotIntentConfirmationSettingArgsDict']] + """ + Provides prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers "no," the settings contain a statement that is sent to the user to end the intent. + """ + kendra_configuration: NotRequired[pulumi.Input['BotKendraConfigurationArgsDict']] + """ + Provides configuration information for the `AMAZON.KendraSearchIntent` intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance. + """ + output_contexts: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotOutputContextArgsDict']]]] + """ + A list of contexts that the intent activates when it is fulfilled. + """ + parent_intent_signature: NotRequired[pulumi.Input[str]] + """ + A unique identifier for the built-in intent to base this intent on. + """ + sample_utterances: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotSampleUtteranceArgsDict']]]] + """ + A sample utterance that invokes an intent or respond to a slot elicitation prompt. + """ + slot_priorities: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotSlotPriorityArgsDict']]]] + """ + Indicates the priority for slots. Amazon Lex prompts the user for slot values in priority order. + """ + slots: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotSlotArgsDict']]]] + """ + List of slots + """ +elif False: + BotIntentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotIntentArgs: def __init__(__self__, *, @@ -2483,6 +3448,26 @@ def slots(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BotSlotArgs' pulumi.set(self, "slots", value) +if not MYPY: + class BotKendraConfigurationArgsDict(TypedDict): + """ + Configuration for searching a Amazon Kendra index specified for the intent. + """ + kendra_index: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the `AMAZON.KendraSearchIntent` intent to search. The index must be in the same account and Region as the Amazon Lex bot. + """ + query_filter_string: NotRequired[pulumi.Input[str]] + """ + A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see [Filtering queries](https://docs.aws.amazon.com/kendra/latest/dg/filtering.html) . + """ + query_filter_string_enabled: NotRequired[pulumi.Input[bool]] + """ + Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index. + """ +elif False: + BotKendraConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotKendraConfigurationArgs: def __init__(__self__, *, @@ -2529,14 +3514,57 @@ def query_filter_string(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="queryFilterStringEnabled") def query_filter_string_enabled(self) -> Optional[pulumi.Input[bool]]: """ - Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index. + Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index. + """ + return pulumi.get(self, "query_filter_string_enabled") + + @query_filter_string_enabled.setter + def query_filter_string_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "query_filter_string_enabled", value) + + +if not MYPY: + class BotLocaleArgsDict(TypedDict): + """ + A locale in the bot, which contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. + """ + locale_id: pulumi.Input[str] + """ + The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. + """ + nlu_confidence_threshold: pulumi.Input[float] + """ + Determines the threshold where Amazon Lex will insert the `AMAZON.FallbackIntent` , `AMAZON.KendraSearchIntent` , or both when returning alternative intents. You must configure an `AMAZON.FallbackIntent` . `AMAZON.KendraSearchIntent` is only inserted if it is configured for the bot. + """ + custom_vocabulary: NotRequired[pulumi.Input['BotCustomVocabularyArgsDict']] + """ + Specifies a custom vocabulary to use with a specific locale. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description of the bot locale. Use this to help identify the bot locale in lists. """ - return pulumi.get(self, "query_filter_string_enabled") + intents: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotIntentArgsDict']]]] + """ + List of intents + """ + slot_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotSlotTypeArgsDict']]]] + """ + List of SlotTypes + """ + voice_settings: NotRequired[pulumi.Input['BotVoiceSettingsArgsDict']] + """ + Defines settings for using an Amazon Polly voice to communicate with a user. - @query_filter_string_enabled.setter - def query_filter_string_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "query_filter_string_enabled", value) + Valid values include: + - `standard` + - `neural` + - `long-form` + - `generative` + """ +elif False: + BotLocaleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class BotLocaleArgs: @@ -2670,6 +3698,19 @@ def voice_settings(self, value: Optional[pulumi.Input['BotVoiceSettingsArgs']]): pulumi.set(self, "voice_settings", value) +if not MYPY: + class BotMessageGroupArgsDict(TypedDict): + """ + One or more messages that Amazon Lex can send to the user. + """ + message: pulumi.Input['BotMessageArgsDict'] + variations: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotMessageArgsDict']]]] + """ + Message variations to send to the user. + """ +elif False: + BotMessageGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotMessageGroupArgs: def __init__(__self__, *, @@ -2705,6 +3746,18 @@ def variations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BotMess pulumi.set(self, "variations", value) +if not MYPY: + class BotMessageArgsDict(TypedDict): + """ + The primary message that Amazon Lex should send to the user. + """ + custom_payload: NotRequired[pulumi.Input['BotCustomPayloadArgsDict']] + image_response_card: NotRequired[pulumi.Input['BotImageResponseCardArgsDict']] + plain_text_message: NotRequired[pulumi.Input['BotPlainTextMessageArgsDict']] + ssml_message: NotRequired[pulumi.Input['BotSsmlMessageArgsDict']] +elif False: + BotMessageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotMessageArgs: def __init__(__self__, *, @@ -2761,6 +3814,22 @@ def ssml_message(self, value: Optional[pulumi.Input['BotSsmlMessageArgs']]): pulumi.set(self, "ssml_message", value) +if not MYPY: + class BotMultipleValuesSettingArgsDict(TypedDict): + """ + Indicates whether a slot can return multiple values. + """ + allow_multiple_values: NotRequired[pulumi.Input[bool]] + """ + Indicates whether a slot can return multiple values. When `true` , the slot may return more than one value in a response. When `false` , the slot returns only a single value. + + Multi-value slots are only available in the en-US locale. If you set this value to `true` in any other locale, Amazon Lex throws a `ValidationException` . + + If the `allowMutlipleValues` is not set, the default value is `false` . + """ +elif False: + BotMultipleValuesSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotMultipleValuesSettingArgs: def __init__(__self__, *, @@ -2793,6 +3862,18 @@ def allow_multiple_values(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "allow_multiple_values", value) +if not MYPY: + class BotObfuscationSettingArgsDict(TypedDict): + """ + Determines whether Amazon Lex obscures slot values in conversation logs. + """ + obfuscation_setting_type: pulumi.Input['BotObfuscationSettingObfuscationSettingType'] + """ + Value that determines whether Amazon Lex obscures slot values in conversation logs. The default is to obscure the values. + """ +elif False: + BotObfuscationSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotObfuscationSettingArgs: def __init__(__self__, *, @@ -2816,6 +3897,17 @@ def obfuscation_setting_type(self, value: pulumi.Input['BotObfuscationSettingObf pulumi.set(self, "obfuscation_setting_type", value) +if not MYPY: + class BotOutputContextArgsDict(TypedDict): + """ + A session context that is activated when an intent is fulfilled. + """ + name: pulumi.Input[str] + time_to_live_in_seconds: pulumi.Input[int] + turns_to_live: pulumi.Input[int] +elif False: + BotOutputContextArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotOutputContextArgs: def __init__(__self__, *, @@ -2857,6 +3949,18 @@ def turns_to_live(self, value: pulumi.Input[int]): pulumi.set(self, "turns_to_live", value) +if not MYPY: + class BotPlainTextMessageArgsDict(TypedDict): + """ + A message in plain text format. + """ + value: pulumi.Input[str] + """ + The message to send to the user. + """ +elif False: + BotPlainTextMessageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotPlainTextMessageArgs: def __init__(__self__, *, @@ -2880,6 +3984,50 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class BotPostDialogCodeHookInvocationSpecificationArgsDict(TypedDict): + """ + Specifies next steps to run after the dialog code hook finishes. + """ + failure_conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed. + """ + failure_next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed. + """ + failure_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ + success_conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + A list of conditional branches to evaluate after the dialog code hook finishes successfully. + """ + success_next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + Specifics the next step the bot runs after the dialog code hook finishes successfully. + """ + success_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ + timeout_conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + A list of conditional branches to evaluate if the code hook times out. + """ + timeout_next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + Specifies the next step that the bot runs when the code hook times out. + """ + timeout_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ +elif False: + BotPostDialogCodeHookInvocationSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotPostDialogCodeHookInvocationSpecificationArgs: def __init__(__self__, *, @@ -3032,6 +4180,50 @@ def timeout_response(self, value: Optional[pulumi.Input['BotResponseSpecificatio pulumi.set(self, "timeout_response", value) +if not MYPY: + class BotPostFulfillmentStatusSpecificationArgsDict(TypedDict): + """ + Provides a setting that determines whether the post-fulfillment response is sent to the user. + """ + failure_conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the State field of the Intent object set to Failed. + """ + failure_next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the State field of the Intent object set to Failed. + """ + failure_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ + success_conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + A list of conditional branches to evaluate after the fulfillment code hook finishes successfully. + """ + success_next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully. + """ + success_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ + timeout_conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + A list of conditional branches to evaluate if the fulfillment code hook times out. + """ + timeout_next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + Specifies the next step that the bot runs when the fulfillment code hook times out. + """ + timeout_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ +elif False: + BotPostFulfillmentStatusSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotPostFulfillmentStatusSpecificationArgs: def __init__(__self__, *, @@ -3184,6 +4376,21 @@ def timeout_response(self, value: Optional[pulumi.Input['BotResponseSpecificatio pulumi.set(self, "timeout_response", value) +if not MYPY: + class BotPromptAttemptSpecificationArgsDict(TypedDict): + """ + Specifies the settings on a prompt attempt. + """ + allowed_input_types: pulumi.Input['BotAllowedInputTypesArgsDict'] + allow_interrupt: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the user can interrupt a speech prompt attempt from the bot. + """ + audio_and_dtmf_input_specification: NotRequired[pulumi.Input['BotAudioAndDtmfInputSpecificationArgsDict']] + text_input_specification: NotRequired[pulumi.Input['BotTextInputSpecificationArgsDict']] +elif False: + BotPromptAttemptSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotPromptAttemptSpecificationArgs: def __init__(__self__, *, @@ -3243,6 +4450,34 @@ def text_input_specification(self, value: Optional[pulumi.Input['BotTextInputSpe pulumi.set(self, "text_input_specification", value) +if not MYPY: + class BotPromptSpecificationArgsDict(TypedDict): + """ + Prompts the user to confirm the intent. + """ + max_retries: pulumi.Input[int] + """ + The maximum number of times the bot tries to elicit a response from the user using this prompt. + """ + message_groups_list: pulumi.Input[Sequence[pulumi.Input['BotMessageGroupArgsDict']]] + """ + A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime. + """ + allow_interrupt: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the user can interrupt a speech prompt from the bot. + """ + message_selection_strategy: NotRequired[pulumi.Input['BotMessageSelectionStrategy']] + """ + Indicates how a message is selected from a message group among retries. + """ + prompt_attempts_specification: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['BotPromptAttemptSpecificationArgsDict']]]] + """ + Specifies the advanced settings on each attempt of the prompt. + """ +elif False: + BotPromptSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotPromptSpecificationArgs: def __init__(__self__, *, @@ -3329,6 +4564,22 @@ def prompt_attempts_specification(self, value: Optional[pulumi.Input[Mapping[str pulumi.set(self, "prompt_attempts_specification", value) +if not MYPY: + class BotResponseSpecificationArgsDict(TypedDict): + """ + A list of message groups that Amazon Lex uses to respond the user input. + """ + message_groups_list: pulumi.Input[Sequence[pulumi.Input['BotMessageGroupArgsDict']]] + """ + A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime. + """ + allow_interrupt: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the user can interrupt a speech prompt from the bot. + """ +elif False: + BotResponseSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotResponseSpecificationArgs: def __init__(__self__, *, @@ -3368,6 +4619,26 @@ def allow_interrupt(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "allow_interrupt", value) +if not MYPY: + class BotS3BucketLogDestinationArgsDict(TypedDict): + """ + Specifies an Amazon S3 bucket for logging audio conversations + """ + log_prefix: pulumi.Input[str] + """ + The Amazon S3 key of the deployment package. + """ + s3_bucket_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored. + """ + kms_key_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket. + """ +elif False: + BotS3BucketLogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotS3BucketLogDestinationArgs: def __init__(__self__, *, @@ -3422,6 +4693,26 @@ def kms_key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_arn", value) +if not MYPY: + class BotS3LocationArgsDict(TypedDict): + """ + S3 location of bot definitions zip file, if it's not defined inline in CloudFormation. + """ + s3_bucket: pulumi.Input[str] + """ + An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account. + """ + s3_object_key: pulumi.Input[str] + """ + The Amazon S3 key of the deployment package. + """ + s3_object_version: NotRequired[pulumi.Input[str]] + """ + For versioned objects, the version of the deployment package object to use. If not specified, the current object version will be used. + """ +elif False: + BotS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotS3LocationArgs: def __init__(__self__, *, @@ -3476,6 +4767,15 @@ def s3_object_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_object_version", value) +if not MYPY: + class BotSampleUtteranceArgsDict(TypedDict): + """ + A sample utterance that invokes an intent or respond to a slot elicitation prompt. + """ + utterance: pulumi.Input[str] +elif False: + BotSampleUtteranceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSampleUtteranceArgs: def __init__(__self__, *, @@ -3495,6 +4795,18 @@ def utterance(self, value: pulumi.Input[str]): pulumi.set(self, "utterance", value) +if not MYPY: + class BotSampleValueArgsDict(TypedDict): + """ + Defines one of the values for a slot type. + """ + value: pulumi.Input[str] + """ + The value that can be used for a slot type. + """ +elif False: + BotSampleValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSampleValueArgs: def __init__(__self__, *, @@ -3518,6 +4830,22 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class BotSessionAttributeArgsDict(TypedDict): + """ + Key/value pair representing session-specific context information. It contains application information passed between Amazon Lex and a client application. + """ + key: pulumi.Input[str] + """ + The name of the session attribute. + """ + value: NotRequired[pulumi.Input[str]] + """ + The session-specific context information for the session attribute. + """ +elif False: + BotSessionAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSessionAttributeArgs: def __init__(__self__, *, @@ -3557,6 +4885,46 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class BotSlotCaptureSettingArgsDict(TypedDict): + """ + Settings used when Amazon Lex successfully captures a slot value from a user. + """ + capture_conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + A list of conditional branches to evaluate after the slot value is captured. + """ + capture_next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + Specifies the next step that the bot runs when the slot value is captured before the code hook times out. + """ + capture_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ + code_hook: NotRequired[pulumi.Input['BotDialogCodeHookInvocationSettingArgsDict']] + """ + Code hook called after Amazon Lex successfully captures a slot value. + """ + elicitation_code_hook: NotRequired[pulumi.Input['BotElicitationCodeHookInvocationSettingArgsDict']] + """ + Code hook called when Amazon Lex doesn't capture a slot value. + """ + failure_conditional: NotRequired[pulumi.Input['BotConditionalSpecificationArgsDict']] + """ + A list of conditional branches to evaluate when the slot value isn't captured. + """ + failure_next_step: NotRequired[pulumi.Input['BotDialogStateArgsDict']] + """ + Specifies the next step that the bot runs when the slot value code is not recognized. + """ + failure_response: NotRequired[pulumi.Input['BotResponseSpecificationArgsDict']] + """ + Specifies a list of message groups that Amazon Lex uses to respond the user input. + """ +elif False: + BotSlotCaptureSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotCaptureSettingArgs: def __init__(__self__, *, @@ -3693,6 +5061,18 @@ def failure_response(self, value: Optional[pulumi.Input['BotResponseSpecificatio pulumi.set(self, "failure_response", value) +if not MYPY: + class BotSlotDefaultValueSpecificationArgsDict(TypedDict): + """ + A list of values that Amazon Lex should use as the default value for a slot. + """ + default_value_list: pulumi.Input[Sequence[pulumi.Input['BotSlotDefaultValueArgsDict']]] + """ + A list of slot default values + """ +elif False: + BotSlotDefaultValueSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotDefaultValueSpecificationArgs: def __init__(__self__, *, @@ -3716,6 +5096,18 @@ def default_value_list(self, value: pulumi.Input[Sequence[pulumi.Input['BotSlotD pulumi.set(self, "default_value_list", value) +if not MYPY: + class BotSlotDefaultValueArgsDict(TypedDict): + """ + The default value to use when a user doesn't provide a value for a slot. + """ + default_value: pulumi.Input[str] + """ + The default value to use when a user doesn't provide a value for a slot. + """ +elif False: + BotSlotDefaultValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotDefaultValueArgs: def __init__(__self__, *, @@ -3739,6 +5131,19 @@ def default_value(self, value: pulumi.Input[str]): pulumi.set(self, "default_value", value) +if not MYPY: + class BotSlotPriorityArgsDict(TypedDict): + """ + The priority that Amazon Lex should use when eliciting slot values from a user. + """ + priority: pulumi.Input[int] + slot_name: pulumi.Input[str] + """ + The name of the slot. + """ +elif False: + BotSlotPriorityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotPriorityArgs: def __init__(__self__, *, @@ -3773,6 +5178,16 @@ def slot_name(self, value: pulumi.Input[str]): pulumi.set(self, "slot_name", value) +if not MYPY: + class BotSlotTypeValueArgsDict(TypedDict): + """ + Value that the slot type can take. + """ + sample_value: pulumi.Input['BotSampleValueArgsDict'] + synonyms: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotSampleValueArgsDict']]]] +elif False: + BotSlotTypeValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotTypeValueArgs: def __init__(__self__, *, @@ -3804,6 +5219,45 @@ def synonyms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BotSample pulumi.set(self, "synonyms", value) +if not MYPY: + class BotSlotTypeArgsDict(TypedDict): + """ + A custom, extended built-in or a grammar slot type. + """ + name: pulumi.Input[str] + """ + The name of the slot type. A slot type name must be unique withing the account. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description of the slot type. Use the description to help identify the slot type in lists. + """ + external_source_setting: NotRequired[pulumi.Input['BotExternalSourceSettingArgsDict']] + """ + Sets the type of external information used to create the slot type. + """ + parent_slot_type_signature: NotRequired[pulumi.Input[str]] + """ + The built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent lot type. + + Only `AMAZON.AlphaNumeric` is supported. + """ + slot_type_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotSlotTypeValueArgsDict']]]] + """ + A list of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for the slot. + """ + value_selection_setting: NotRequired[pulumi.Input['BotSlotValueSelectionSettingArgsDict']] + """ + Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values: + + - `ORIGINAL_VALUE` - Returns the value entered by the user, if the user value is similar to the slot value. + - `TOP_RESOLUTION` - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. + + If you don't specify the `valueSelectionStrategy` , the default is `ORIGINAL_VALUE` . + """ +elif False: + BotSlotTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotTypeArgs: def __init__(__self__, *, @@ -3921,6 +5375,38 @@ def value_selection_setting(self, value: Optional[pulumi.Input['BotSlotValueSele pulumi.set(self, "value_selection_setting", value) +if not MYPY: + class BotSlotValueElicitationSettingArgsDict(TypedDict): + """ + Settings that you can use for eliciting a slot value. + """ + slot_constraint: pulumi.Input['BotSlotConstraint'] + """ + Specifies whether the slot is required or optional. + """ + default_value_specification: NotRequired[pulumi.Input['BotSlotDefaultValueSpecificationArgsDict']] + """ + A list of default values for a slot. + """ + prompt_specification: NotRequired[pulumi.Input['BotPromptSpecificationArgsDict']] + """ + The prompt that Amazon Lex uses to elicit the slot value from the user. + """ + sample_utterances: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotSampleUtteranceArgsDict']]]] + """ + If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. + """ + slot_capture_setting: NotRequired[pulumi.Input['BotSlotCaptureSettingArgsDict']] + """ + Specifies the next stage in the conversation after capturing the slot. + """ + wait_and_continue_specification: NotRequired[pulumi.Input['BotWaitAndContinueSpecificationArgsDict']] + """ + Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input. + """ +elif False: + BotSlotValueElicitationSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotValueElicitationSettingArgs: def __init__(__self__, *, @@ -4024,6 +5510,22 @@ def wait_and_continue_specification(self, value: Optional[pulumi.Input['BotWaitA pulumi.set(self, "wait_and_continue_specification", value) +if not MYPY: + class BotSlotValueOverrideMapArgsDict(TypedDict): + """ + A map of slot names and their overridden values. + """ + slot_name: NotRequired[pulumi.Input[str]] + """ + The name of the slot. + """ + slot_value_override: NotRequired[pulumi.Input['BotSlotValueOverrideArgsDict']] + """ + The SlotValueOverride object to which the slot name will be mapped. + """ +elif False: + BotSlotValueOverrideMapArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotValueOverrideMapArgs: def __init__(__self__, *, @@ -4064,6 +5566,26 @@ def slot_value_override(self, value: Optional[pulumi.Input['BotSlotValueOverride pulumi.set(self, "slot_value_override", value) +if not MYPY: + class BotSlotValueOverrideArgsDict(TypedDict): + """ + The slot values that Amazon Lex uses when it sets slot values in a dialog step. + """ + shape: NotRequired[pulumi.Input['BotSlotShape']] + """ + When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value. + """ + value: NotRequired[pulumi.Input['BotSlotValueArgsDict']] + """ + The current value of the slot. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotSlotValueOverrideArgsDict']]]] + """ + A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple." + """ +elif False: + BotSlotValueOverrideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotValueOverrideArgs: def __init__(__self__, *, @@ -4120,6 +5642,18 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BotSlotValu pulumi.set(self, "values", value) +if not MYPY: + class BotSlotValueRegexFilterArgsDict(TypedDict): + """ + A regular expression used to validate the value of a slot. + """ + pattern: pulumi.Input[str] + """ + Regex pattern + """ +elif False: + BotSlotValueRegexFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotValueRegexFilterArgs: def __init__(__self__, *, @@ -4143,6 +5677,31 @@ def pattern(self, value: pulumi.Input[str]): pulumi.set(self, "pattern", value) +if not MYPY: + class BotSlotValueSelectionSettingArgsDict(TypedDict): + """ + Contains settings used by Amazon Lex to select a slot value. + """ + resolution_strategy: pulumi.Input['BotSlotValueResolutionStrategy'] + """ + Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values: + + - `ORIGINAL_VALUE` - Returns the value entered by the user, if the user value is similar to the slot value. + - `TOP_RESOLUTION` - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. + + If you don't specify the `valueSelectionStrategy` , the default is `ORIGINAL_VALUE` . + """ + advanced_recognition_setting: NotRequired[pulumi.Input['BotAdvancedRecognitionSettingArgsDict']] + """ + Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances. + """ + regex_filter: NotRequired[pulumi.Input['BotSlotValueRegexFilterArgsDict']] + """ + A regular expression used to validate the value of a slot. + """ +elif False: + BotSlotValueSelectionSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotValueSelectionSettingArgs: def __init__(__self__, *, @@ -4208,6 +5767,18 @@ def regex_filter(self, value: Optional[pulumi.Input['BotSlotValueRegexFilterArgs pulumi.set(self, "regex_filter", value) +if not MYPY: + class BotSlotValueArgsDict(TypedDict): + """ + The value to set in a slot. + """ + interpreted_value: NotRequired[pulumi.Input[str]] + """ + The value that Amazon Lex determines for the slot. + """ +elif False: + BotSlotValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotValueArgs: def __init__(__self__, *, @@ -4232,6 +5803,43 @@ def interpreted_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "interpreted_value", value) +if not MYPY: + class BotSlotArgsDict(TypedDict): + """ + A slot is a variable needed to fulfill an intent, where an intent can require zero or more slots. + """ + name: pulumi.Input[str] + """ + The name given to the slot. + """ + slot_type_name: pulumi.Input[str] + """ + The name of the slot type that this slot is based on. The slot type defines the acceptable values for the slot. + """ + value_elicitation_setting: pulumi.Input['BotSlotValueElicitationSettingArgsDict'] + """ + Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values: + + - ORIGINAL_VALUE - Returns the value entered by the user, if the user value is similar to a slot value. + - TOP_RESOLUTION - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. + + If you don't specify the `valueSelectionStrategy` , the default is `ORIGINAL_VALUE` . + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the slot. + """ + multiple_values_setting: NotRequired[pulumi.Input['BotMultipleValuesSettingArgsDict']] + """ + Indicates whether a slot can return multiple values. + """ + obfuscation_setting: NotRequired[pulumi.Input['BotObfuscationSettingArgsDict']] + """ + Determines whether the contents of the slot are obfuscated in Amazon CloudWatch Logs logs. Use obfuscated slots to protect information such as personally identifiable information (PII) in logs. + """ +elif False: + BotSlotArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSlotArgs: def __init__(__self__, *, @@ -4343,6 +5951,18 @@ def obfuscation_setting(self, value: Optional[pulumi.Input['BotObfuscationSettin pulumi.set(self, "obfuscation_setting", value) +if not MYPY: + class BotSsmlMessageArgsDict(TypedDict): + """ + A message in Speech Synthesis Markup Language (SSML). + """ + value: pulumi.Input[str] + """ + The SSML text that defines the prompt. + """ +elif False: + BotSsmlMessageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotSsmlMessageArgs: def __init__(__self__, *, @@ -4366,6 +5986,30 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class BotStillWaitingResponseSpecificationArgsDict(TypedDict): + """ + StillWaitingResponseSpecification. + """ + frequency_in_seconds: pulumi.Input[int] + """ + How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes. + """ + message_groups_list: pulumi.Input[Sequence[pulumi.Input['BotMessageGroupArgsDict']]] + """ + One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user. + """ + timeout_in_seconds: pulumi.Input[int] + """ + If Amazon Lex waits longer than this length of time for a response, it will stop sending messages. + """ + allow_interrupt: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the user can interrupt a speech prompt from the bot. + """ +elif False: + BotStillWaitingResponseSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotStillWaitingResponseSpecificationArgs: def __init__(__self__, *, @@ -4435,6 +6079,22 @@ def allow_interrupt(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "allow_interrupt", value) +if not MYPY: + class BotTagArgsDict(TypedDict): + """ + A key-value pair for tagging Lex resources + """ + key: pulumi.Input[str] + """ + The key name of the tag. You can specify a value that is 1 to 128 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 -. + """ + value: pulumi.Input[str] + """ + The value for the tag. You can specify a value that is 0 to 256 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 -. + """ +elif False: + BotTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotTagArgs: def __init__(__self__, *, @@ -4473,6 +6133,18 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesArgsDict(TypedDict): + """ + Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances. + """ + detect_sentiment: pulumi.Input[bool] + """ + Enable to call Amazon Comprehend for Sentiment natively within Lex + """ +elif False: + BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesArgs: def __init__(__self__, *, @@ -4496,6 +6168,30 @@ def detect_sentiment(self, value: pulumi.Input[bool]): pulumi.set(self, "detect_sentiment", value) +if not MYPY: + class BotTestBotAliasSettingsArgsDict(TypedDict): + """ + Configuring the test bot alias settings for a given bot + """ + bot_alias_locale_settings: NotRequired[pulumi.Input[Sequence[pulumi.Input['BotAliasLocaleSettingsItemArgsDict']]]] + """ + Specifies settings that are unique to a locale. For example, you can use a different Lambda function depending on the bot's locale. + """ + conversation_log_settings: NotRequired[pulumi.Input['BotConversationLogSettingsArgsDict']] + """ + Specifies settings for conversation logs that save audio, text, and metadata information for conversations with your users. + """ + description: NotRequired[pulumi.Input[str]] + """ + Specifies a description for the test bot alias. + """ + sentiment_analysis_settings: NotRequired[pulumi.Input['BotTestBotAliasSettingsSentimentAnalysisSettingsPropertiesArgsDict']] + """ + Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances. + """ +elif False: + BotTestBotAliasSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotTestBotAliasSettingsArgs: def __init__(__self__, *, @@ -4568,6 +6264,18 @@ def sentiment_analysis_settings(self, value: Optional[pulumi.Input['BotTestBotAl pulumi.set(self, "sentiment_analysis_settings", value) +if not MYPY: + class BotTextInputSpecificationArgsDict(TypedDict): + """ + Specifies the text input specifications. + """ + start_timeout_ms: pulumi.Input[int] + """ + Time for which a bot waits before re-prompting a customer for text input. + """ +elif False: + BotTextInputSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotTextInputSpecificationArgs: def __init__(__self__, *, @@ -4591,6 +6299,15 @@ def start_timeout_ms(self, value: pulumi.Input[int]): pulumi.set(self, "start_timeout_ms", value) +if not MYPY: + class BotTextLogDestinationArgsDict(TypedDict): + """ + Defines the Amazon CloudWatch Logs destination log group for conversation text logs. + """ + cloud_watch: pulumi.Input['BotCloudWatchLogGroupLogDestinationArgsDict'] +elif False: + BotTextLogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotTextLogDestinationArgs: def __init__(__self__, *, @@ -4610,6 +6327,16 @@ def cloud_watch(self, value: pulumi.Input['BotCloudWatchLogGroupLogDestinationAr pulumi.set(self, "cloud_watch", value) +if not MYPY: + class BotTextLogSettingArgsDict(TypedDict): + """ + Contains information about code hooks that Amazon Lex calls during a conversation. + """ + destination: pulumi.Input['BotTextLogDestinationArgsDict'] + enabled: pulumi.Input[bool] +elif False: + BotTextLogSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotTextLogSettingArgs: def __init__(__self__, *, @@ -4640,6 +6367,15 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class BotVersionLocaleDetailsArgsDict(TypedDict): + """ + The version of a bot used for a bot locale. + """ + source_bot_version: pulumi.Input[str] +elif False: + BotVersionLocaleDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotVersionLocaleDetailsArgs: def __init__(__self__, *, @@ -4659,6 +6395,13 @@ def source_bot_version(self, value: pulumi.Input[str]): pulumi.set(self, "source_bot_version", value) +if not MYPY: + class BotVersionLocaleSpecificationArgsDict(TypedDict): + bot_version_locale_details: pulumi.Input['BotVersionLocaleDetailsArgsDict'] + locale_id: pulumi.Input[str] +elif False: + BotVersionLocaleSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotVersionLocaleSpecificationArgs: def __init__(__self__, *, @@ -4686,6 +6429,22 @@ def locale_id(self, value: pulumi.Input[str]): pulumi.set(self, "locale_id", value) +if not MYPY: + class BotVoiceSettingsArgsDict(TypedDict): + """ + Settings for using an Amazon Polly voice to communicate with a user. + """ + voice_id: pulumi.Input[str] + """ + The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user. + """ + engine: NotRequired[pulumi.Input['BotVoiceSettingsEngine']] + """ + Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer guide. + """ +elif False: + BotVoiceSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotVoiceSettingsArgs: def __init__(__self__, *, @@ -4725,6 +6484,30 @@ def engine(self, value: Optional[pulumi.Input['BotVoiceSettingsEngine']]): pulumi.set(self, "engine", value) +if not MYPY: + class BotWaitAndContinueSpecificationArgsDict(TypedDict): + """ + The prompts that Amazon Lex uses while a bot is waiting for customer input. + """ + continue_response: pulumi.Input['BotResponseSpecificationArgsDict'] + """ + The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation. + """ + waiting_response: pulumi.Input['BotResponseSpecificationArgsDict'] + """ + The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue. + """ + is_active: NotRequired[pulumi.Input[bool]] + """ + Specifies whether the bot will wait for a user to respond. + """ + still_waiting_response: NotRequired[pulumi.Input['BotStillWaitingResponseSpecificationArgsDict']] + """ + The response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user. + """ +elif False: + BotWaitAndContinueSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BotWaitAndContinueSpecificationArgs: def __init__(__self__, *, @@ -4795,6 +6578,18 @@ def still_waiting_response(self, value: Optional[pulumi.Input['BotStillWaitingRe pulumi.set(self, "still_waiting_response", value) +if not MYPY: + class DataPrivacyPropertiesArgsDict(TypedDict): + """ + Data privacy setting of the Bot. + """ + child_directed: pulumi.Input[bool] + """ + For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying `true` or `false` in the `childDirected` field. By specifying `true` in the `childDirected` field, you confirm that your use of Amazon Lex *is* related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifying `false` in the `childDirected` field, you confirm that your use of Amazon Lex *is not* related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the `childDirected` field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the [Amazon Lex FAQ](https://docs.aws.amazon.com/lex/faqs#data-security) . + """ +elif False: + DataPrivacyPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataPrivacyPropertiesArgs: def __init__(__self__, *, @@ -4818,6 +6613,15 @@ def child_directed(self, value: pulumi.Input[bool]): pulumi.set(self, "child_directed", value) +if not MYPY: + class ResourcePolicyPolicyArgsDict(TypedDict): + """ + A resource policy to add to the resource. The policy is a JSON structure following the IAM syntax that contains one or more statements that define the policy. + """ + pass +elif False: + ResourcePolicyPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourcePolicyPolicyArgs: def __init__(__self__): @@ -4827,6 +6631,18 @@ def __init__(__self__): pass +if not MYPY: + class SentimentAnalysisSettingsPropertiesArgsDict(TypedDict): + """ + Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances. + """ + detect_sentiment: pulumi.Input[bool] + """ + Enable to call Amazon Comprehend for Sentiment natively within Lex + """ +elif False: + SentimentAnalysisSettingsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SentimentAnalysisSettingsPropertiesArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/lex/bot.py b/sdk/python/pulumi_aws_native/lex/bot.py index 5cc3d35292..1e05711f2f 100644 --- a/sdk/python/pulumi_aws_native/lex/bot.py +++ b/sdk/python/pulumi_aws_native/lex/bot.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lex/bot_alias.py b/sdk/python/pulumi_aws_native/lex/bot_alias.py index 000903d718..dc84e2b561 100644 --- a/sdk/python/pulumi_aws_native/lex/bot_alias.py +++ b/sdk/python/pulumi_aws_native/lex/bot_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lex/bot_version.py b/sdk/python/pulumi_aws_native/lex/bot_version.py index 383b10f555..dde3e3598a 100644 --- a/sdk/python/pulumi_aws_native/lex/bot_version.py +++ b/sdk/python/pulumi_aws_native/lex/bot_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/lex/get_bot.py b/sdk/python/pulumi_aws_native/lex/get_bot.py index d6144e04cb..f448ec33ec 100644 --- a/sdk/python/pulumi_aws_native/lex/get_bot.py +++ b/sdk/python/pulumi_aws_native/lex/get_bot.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -148,9 +153,6 @@ def get_bot(id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), role_arn=pulumi.get(__ret__, 'role_arn'), test_bot_alias_settings=pulumi.get(__ret__, 'test_bot_alias_settings')) - - -@_utilities.lift_output_func(get_bot) def get_bot_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBotResult]: """ @@ -159,4 +161,16 @@ def get_bot_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique identifier of the bot. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lex:getBot', __args__, opts=opts, typ=GetBotResult) + return __ret__.apply(lambda __response__: GetBotResult( + arn=pulumi.get(__response__, 'arn'), + data_privacy=pulumi.get(__response__, 'data_privacy'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + idle_session_ttl_in_seconds=pulumi.get(__response__, 'idle_session_ttl_in_seconds'), + name=pulumi.get(__response__, 'name'), + role_arn=pulumi.get(__response__, 'role_arn'), + test_bot_alias_settings=pulumi.get(__response__, 'test_bot_alias_settings'))) diff --git a/sdk/python/pulumi_aws_native/lex/get_bot_alias.py b/sdk/python/pulumi_aws_native/lex/get_bot_alias.py index 705dc4605c..1868b3664e 100644 --- a/sdk/python/pulumi_aws_native/lex/get_bot_alias.py +++ b/sdk/python/pulumi_aws_native/lex/get_bot_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -165,9 +170,6 @@ def get_bot_alias(bot_alias_id: Optional[str] = None, conversation_log_settings=pulumi.get(__ret__, 'conversation_log_settings'), description=pulumi.get(__ret__, 'description'), sentiment_analysis_settings=pulumi.get(__ret__, 'sentiment_analysis_settings')) - - -@_utilities.lift_output_func(get_bot_alias) def get_bot_alias_output(bot_alias_id: Optional[pulumi.Input[str]] = None, bot_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBotAliasResult]: @@ -178,4 +180,18 @@ def get_bot_alias_output(bot_alias_id: Optional[pulumi.Input[str]] = None, :param str bot_alias_id: The unique identifier of the bot alias. :param str bot_id: The unique identifier of the bot. """ - ... + __args__ = dict() + __args__['botAliasId'] = bot_alias_id + __args__['botId'] = bot_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lex:getBotAlias', __args__, opts=opts, typ=GetBotAliasResult) + return __ret__.apply(lambda __response__: GetBotAliasResult( + arn=pulumi.get(__response__, 'arn'), + bot_alias_id=pulumi.get(__response__, 'bot_alias_id'), + bot_alias_locale_settings=pulumi.get(__response__, 'bot_alias_locale_settings'), + bot_alias_name=pulumi.get(__response__, 'bot_alias_name'), + bot_alias_status=pulumi.get(__response__, 'bot_alias_status'), + bot_version=pulumi.get(__response__, 'bot_version'), + conversation_log_settings=pulumi.get(__response__, 'conversation_log_settings'), + description=pulumi.get(__response__, 'description'), + sentiment_analysis_settings=pulumi.get(__response__, 'sentiment_analysis_settings'))) diff --git a/sdk/python/pulumi_aws_native/lex/get_bot_version.py b/sdk/python/pulumi_aws_native/lex/get_bot_version.py index cf456758b4..baf3ef560b 100644 --- a/sdk/python/pulumi_aws_native/lex/get_bot_version.py +++ b/sdk/python/pulumi_aws_native/lex/get_bot_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_bot_version(bot_id: Optional[str] = None, return AwaitableGetBotVersionResult( bot_version=pulumi.get(__ret__, 'bot_version'), description=pulumi.get(__ret__, 'description')) - - -@_utilities.lift_output_func(get_bot_version) def get_bot_version_output(bot_id: Optional[pulumi.Input[str]] = None, bot_version: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBotVersionResult]: @@ -85,4 +87,11 @@ def get_bot_version_output(bot_id: Optional[pulumi.Input[str]] = None, :param str bot_id: The unique identifier of the bot. :param str bot_version: The version of the bot. """ - ... + __args__ = dict() + __args__['botId'] = bot_id + __args__['botVersion'] = bot_version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lex:getBotVersion', __args__, opts=opts, typ=GetBotVersionResult) + return __ret__.apply(lambda __response__: GetBotVersionResult( + bot_version=pulumi.get(__response__, 'bot_version'), + description=pulumi.get(__response__, 'description'))) diff --git a/sdk/python/pulumi_aws_native/lex/get_resource_policy.py b/sdk/python/pulumi_aws_native/lex/get_resource_policy.py index c53ab06c94..a4207eef41 100644 --- a/sdk/python/pulumi_aws_native/lex/get_resource_policy.py +++ b/sdk/python/pulumi_aws_native/lex/get_resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -96,9 +101,6 @@ def get_resource_policy(id: Optional[str] = None, policy=pulumi.get(__ret__, 'policy'), resource_arn=pulumi.get(__ret__, 'resource_arn'), revision_id=pulumi.get(__ret__, 'revision_id')) - - -@_utilities.lift_output_func(get_resource_policy) def get_resource_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourcePolicyResult]: """ @@ -107,4 +109,12 @@ def get_resource_policy_output(id: Optional[pulumi.Input[str]] = None, :param str id: The identifier of the resource policy. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lex:getResourcePolicy', __args__, opts=opts, typ=GetResourcePolicyResult) + return __ret__.apply(lambda __response__: GetResourcePolicyResult( + id=pulumi.get(__response__, 'id'), + policy=pulumi.get(__response__, 'policy'), + resource_arn=pulumi.get(__response__, 'resource_arn'), + revision_id=pulumi.get(__response__, 'revision_id'))) diff --git a/sdk/python/pulumi_aws_native/lex/outputs.py b/sdk/python/pulumi_aws_native/lex/outputs.py index fbdf0d8b3d..b6d7bbddd9 100644 --- a/sdk/python/pulumi_aws_native/lex/outputs.py +++ b/sdk/python/pulumi_aws_native/lex/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lex/resource_policy.py b/sdk/python/pulumi_aws_native/lex/resource_policy.py index 3eb8b70816..b9ba6a68b2 100644 --- a/sdk/python/pulumi_aws_native/lex/resource_policy.py +++ b/sdk/python/pulumi_aws_native/lex/resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/licensemanager/_inputs.py b/sdk/python/pulumi_aws_native/licensemanager/_inputs.py index 8d3ada65e1..3025d0ba3a 100644 --- a/sdk/python/pulumi_aws_native/licensemanager/_inputs.py +++ b/sdk/python/pulumi_aws_native/licensemanager/_inputs.py @@ -4,21 +4,48 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'LicenseBorrowConfigurationArgs', + 'LicenseBorrowConfigurationArgsDict', 'LicenseConsumptionConfigurationArgs', + 'LicenseConsumptionConfigurationArgsDict', 'LicenseEntitlementArgs', + 'LicenseEntitlementArgsDict', 'LicenseIssuerDataArgs', + 'LicenseIssuerDataArgsDict', 'LicenseMetadataArgs', + 'LicenseMetadataArgsDict', 'LicenseProvisionalConfigurationArgs', + 'LicenseProvisionalConfigurationArgsDict', 'LicenseValidityDateFormatArgs', + 'LicenseValidityDateFormatArgsDict', ] +MYPY = False + +if not MYPY: + class LicenseBorrowConfigurationArgsDict(TypedDict): + allow_early_check_in: pulumi.Input[bool] + """ + Indicates whether early check-ins are allowed. + """ + max_time_to_live_in_minutes: pulumi.Input[int] + """ + Maximum time for the borrow configuration, in minutes. + """ +elif False: + LicenseBorrowConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LicenseBorrowConfigurationArgs: def __init__(__self__, *, @@ -56,6 +83,23 @@ def max_time_to_live_in_minutes(self, value: pulumi.Input[int]): pulumi.set(self, "max_time_to_live_in_minutes", value) +if not MYPY: + class LicenseConsumptionConfigurationArgsDict(TypedDict): + borrow_configuration: NotRequired[pulumi.Input['LicenseBorrowConfigurationArgsDict']] + """ + Details about a borrow configuration. + """ + provisional_configuration: NotRequired[pulumi.Input['LicenseProvisionalConfigurationArgsDict']] + """ + Details about a provisional configuration. + """ + renew_type: NotRequired[pulumi.Input[str]] + """ + Renewal frequency. + """ +elif False: + LicenseConsumptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LicenseConsumptionConfigurationArgs: def __init__(__self__, *, @@ -111,6 +155,35 @@ def renew_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "renew_type", value) +if not MYPY: + class LicenseEntitlementArgsDict(TypedDict): + name: pulumi.Input[str] + """ + Entitlement name. + """ + unit: pulumi.Input[str] + """ + Entitlement unit. + """ + allow_check_in: NotRequired[pulumi.Input[bool]] + """ + Indicates whether check-ins are allowed. + """ + max_count: NotRequired[pulumi.Input[int]] + """ + Maximum entitlement count. Use if the unit is not None. + """ + overage: NotRequired[pulumi.Input[bool]] + """ + Indicates whether overages are allowed. + """ + value: NotRequired[pulumi.Input[str]] + """ + Entitlement resource. Use only if the unit is None. + """ +elif False: + LicenseEntitlementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LicenseEntitlementArgs: def __init__(__self__, *, @@ -212,6 +285,19 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class LicenseIssuerDataArgsDict(TypedDict): + name: pulumi.Input[str] + """ + Issuer name. + """ + sign_key: NotRequired[pulumi.Input[str]] + """ + Asymmetric KMS key from AWS Key Management Service . The KMS key must have a key usage of sign and verify, and support the RSASSA-PSS SHA-256 signing algorithm. + """ +elif False: + LicenseIssuerDataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LicenseIssuerDataArgs: def __init__(__self__, *, @@ -250,6 +336,19 @@ def sign_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sign_key", value) +if not MYPY: + class LicenseMetadataArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The key name. + """ + value: pulumi.Input[str] + """ + The value. + """ +elif False: + LicenseMetadataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LicenseMetadataArgs: def __init__(__self__, *, @@ -287,6 +386,15 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class LicenseProvisionalConfigurationArgsDict(TypedDict): + max_time_to_live_in_minutes: pulumi.Input[int] + """ + Maximum time for the provisional configuration, in minutes. + """ +elif False: + LicenseProvisionalConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LicenseProvisionalConfigurationArgs: def __init__(__self__, *, @@ -309,6 +417,19 @@ def max_time_to_live_in_minutes(self, value: pulumi.Input[int]): pulumi.set(self, "max_time_to_live_in_minutes", value) +if not MYPY: + class LicenseValidityDateFormatArgsDict(TypedDict): + begin: pulumi.Input[str] + """ + Validity begin date for the license. + """ + end: pulumi.Input[str] + """ + Validity begin date for the license. + """ +elif False: + LicenseValidityDateFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LicenseValidityDateFormatArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/licensemanager/get_grant.py b/sdk/python/pulumi_aws_native/licensemanager/get_grant.py index f4c0573106..a450dbfd3a 100644 --- a/sdk/python/pulumi_aws_native/licensemanager/get_grant.py +++ b/sdk/python/pulumi_aws_native/licensemanager/get_grant.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -108,9 +113,6 @@ def get_grant(grant_arn: Optional[str] = None, home_region=pulumi.get(__ret__, 'home_region'), license_arn=pulumi.get(__ret__, 'license_arn'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_grant) def get_grant_output(grant_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGrantResult]: """ @@ -119,4 +121,13 @@ def get_grant_output(grant_arn: Optional[pulumi.Input[str]] = None, :param str grant_arn: Arn of the grant. """ - ... + __args__ = dict() + __args__['grantArn'] = grant_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:licensemanager:getGrant', __args__, opts=opts, typ=GetGrantResult) + return __ret__.apply(lambda __response__: GetGrantResult( + grant_arn=pulumi.get(__response__, 'grant_arn'), + grant_name=pulumi.get(__response__, 'grant_name'), + home_region=pulumi.get(__response__, 'home_region'), + license_arn=pulumi.get(__response__, 'license_arn'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/licensemanager/get_license.py b/sdk/python/pulumi_aws_native/licensemanager/get_license.py index b5ce7ba932..c967aed4e9 100644 --- a/sdk/python/pulumi_aws_native/licensemanager/get_license.py +++ b/sdk/python/pulumi_aws_native/licensemanager/get_license.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -200,9 +205,6 @@ def get_license(license_arn: Optional[str] = None, product_sku=pulumi.get(__ret__, 'product_sku'), validity=pulumi.get(__ret__, 'validity'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_license) def get_license_output(license_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLicenseResult]: """ @@ -211,4 +213,20 @@ def get_license_output(license_arn: Optional[pulumi.Input[str]] = None, :param str license_arn: Amazon Resource Name is a unique name for each resource. """ - ... + __args__ = dict() + __args__['licenseArn'] = license_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:licensemanager:getLicense', __args__, opts=opts, typ=GetLicenseResult) + return __ret__.apply(lambda __response__: GetLicenseResult( + beneficiary=pulumi.get(__response__, 'beneficiary'), + consumption_configuration=pulumi.get(__response__, 'consumption_configuration'), + entitlements=pulumi.get(__response__, 'entitlements'), + home_region=pulumi.get(__response__, 'home_region'), + issuer=pulumi.get(__response__, 'issuer'), + license_arn=pulumi.get(__response__, 'license_arn'), + license_metadata=pulumi.get(__response__, 'license_metadata'), + license_name=pulumi.get(__response__, 'license_name'), + product_name=pulumi.get(__response__, 'product_name'), + product_sku=pulumi.get(__response__, 'product_sku'), + validity=pulumi.get(__response__, 'validity'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/licensemanager/grant.py b/sdk/python/pulumi_aws_native/licensemanager/grant.py index 58b753b363..ed5cd5c658 100644 --- a/sdk/python/pulumi_aws_native/licensemanager/grant.py +++ b/sdk/python/pulumi_aws_native/licensemanager/grant.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['GrantArgs', 'Grant'] diff --git a/sdk/python/pulumi_aws_native/licensemanager/license.py b/sdk/python/pulumi_aws_native/licensemanager/license.py index c825a0f3ee..222527e75d 100644 --- a/sdk/python/pulumi_aws_native/licensemanager/license.py +++ b/sdk/python/pulumi_aws_native/licensemanager/license.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/licensemanager/outputs.py b/sdk/python/pulumi_aws_native/licensemanager/outputs.py index 6553384c44..7c75495302 100644 --- a/sdk/python/pulumi_aws_native/licensemanager/outputs.py +++ b/sdk/python/pulumi_aws_native/licensemanager/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/lightsail/_inputs.py b/sdk/python/pulumi_aws_native/lightsail/_inputs.py index fd0bfb0897..b69e0dbe50 100644 --- a/sdk/python/pulumi_aws_native/lightsail/_inputs.py +++ b/sdk/python/pulumi_aws_native/lightsail/_inputs.py @@ -4,38 +4,84 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'BucketAccessRulesArgs', + 'BucketAccessRulesArgsDict', 'ContainerEnvironmentVariableArgs', + 'ContainerEnvironmentVariableArgsDict', 'ContainerHealthCheckConfigArgs', + 'ContainerHealthCheckConfigArgsDict', 'ContainerPortInfoArgs', + 'ContainerPortInfoArgsDict', 'ContainerPrivateRegistryAccessEcrImagePullerRolePropertiesArgs', + 'ContainerPrivateRegistryAccessEcrImagePullerRolePropertiesArgsDict', 'ContainerPrivateRegistryAccessArgs', + 'ContainerPrivateRegistryAccessArgsDict', 'ContainerPublicDomainNameArgs', + 'ContainerPublicDomainNameArgsDict', 'ContainerPublicEndpointArgs', + 'ContainerPublicEndpointArgsDict', 'ContainerServiceDeploymentArgs', + 'ContainerServiceDeploymentArgsDict', 'ContainerArgs', + 'ContainerArgsDict', 'DatabaseRelationalDatabaseParameterArgs', + 'DatabaseRelationalDatabaseParameterArgsDict', 'DiskAddOnArgs', + 'DiskAddOnArgsDict', 'DiskAutoSnapshotAddOnArgs', + 'DiskAutoSnapshotAddOnArgsDict', 'DiskLocationArgs', + 'DiskLocationArgsDict', 'InstanceAddOnArgs', + 'InstanceAddOnArgsDict', 'InstanceAutoSnapshotAddOnArgs', + 'InstanceAutoSnapshotAddOnArgsDict', 'InstanceDiskArgs', + 'InstanceDiskArgsDict', 'InstanceHardwareArgs', + 'InstanceHardwareArgsDict', 'InstanceLocationArgs', + 'InstanceLocationArgsDict', 'InstanceMonthlyTransferArgs', + 'InstanceMonthlyTransferArgsDict', 'InstanceNetworkingArgs', + 'InstanceNetworkingArgsDict', 'InstancePortArgs', + 'InstancePortArgsDict', 'InstanceStateArgs', + 'InstanceStateArgsDict', ] +MYPY = False + +if not MYPY: + class BucketAccessRulesArgsDict(TypedDict): + """ + An object that sets the public accessibility of objects in the specified bucket. + """ + allow_public_overrides: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates whether the access control list (ACL) permissions that are applied to individual objects override the getObject option that is currently specified. + """ + get_object: NotRequired[pulumi.Input[str]] + """ + Specifies the anonymous access to all objects in a bucket. + """ +elif False: + BucketAccessRulesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketAccessRulesArgs: def __init__(__self__, *, @@ -76,6 +122,19 @@ def get_object(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "get_object", value) +if not MYPY: + class ContainerEnvironmentVariableArgsDict(TypedDict): + value: NotRequired[pulumi.Input[str]] + """ + The environment variable value. + """ + variable: NotRequired[pulumi.Input[str]] + """ + The environment variable key. + """ +elif False: + ContainerEnvironmentVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerEnvironmentVariableArgs: def __init__(__self__, *, @@ -115,6 +174,38 @@ def variable(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "variable", value) +if not MYPY: + class ContainerHealthCheckConfigArgsDict(TypedDict): + """ + Describes the health check configuration of an Amazon Lightsail container service. + """ + healthy_threshold: NotRequired[pulumi.Input[int]] + """ + The number of consecutive health checks successes required before moving the container to the Healthy state. The default value is 2. + """ + interval_seconds: NotRequired[pulumi.Input[int]] + """ + The approximate interval, in seconds, between health checks of an individual container. You can specify between 5 and 300 seconds. The default value is 5. + """ + path: NotRequired[pulumi.Input[str]] + """ + The path on the container on which to perform the health check. The default value is /. + """ + success_codes: NotRequired[pulumi.Input[str]] + """ + The HTTP codes to use when checking for a successful response from a container. You can specify values between 200 and 499. You can specify multiple values (for example, 200,202) or a range of values (for example, 200-299). + """ + timeout_seconds: NotRequired[pulumi.Input[int]] + """ + The amount of time, in seconds, during which no response means a failed health check. You can specify between 2 and 60 seconds. The default value is 2. + """ + unhealthy_threshold: NotRequired[pulumi.Input[int]] + """ + The number of consecutive health check failures required before moving the container to the Unhealthy state. The default value is 2. + """ +elif False: + ContainerHealthCheckConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerHealthCheckConfigArgs: def __init__(__self__, *, @@ -219,6 +310,21 @@ def unhealthy_threshold(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "unhealthy_threshold", value) +if not MYPY: + class ContainerPortInfoArgsDict(TypedDict): + port: NotRequired[pulumi.Input[str]] + """ + The open firewall ports of the container. + """ + protocol: NotRequired[pulumi.Input[str]] + """ + The protocol name for the open ports. + + *Allowed values* : `HTTP` | `HTTPS` | `TCP` | `UDP` + """ +elif False: + ContainerPortInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerPortInfoArgs: def __init__(__self__, *, @@ -262,6 +368,22 @@ def protocol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "protocol", value) +if not MYPY: + class ContainerPrivateRegistryAccessEcrImagePullerRolePropertiesArgsDict(TypedDict): + """ + An object to describe a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories. + """ + is_active: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates whether to activate the role. + """ + principal_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the role, if it is activated. + """ +elif False: + ContainerPrivateRegistryAccessEcrImagePullerRolePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerPrivateRegistryAccessEcrImagePullerRolePropertiesArgs: def __init__(__self__, *, @@ -302,6 +424,18 @@ def principal_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "principal_arn", value) +if not MYPY: + class ContainerPrivateRegistryAccessArgsDict(TypedDict): + """ + An object to describe the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. + """ + ecr_image_puller_role: NotRequired[pulumi.Input['ContainerPrivateRegistryAccessEcrImagePullerRolePropertiesArgsDict']] + """ + An object to describe a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories. + """ +elif False: + ContainerPrivateRegistryAccessArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerPrivateRegistryAccessArgs: def __init__(__self__, *, @@ -326,6 +460,22 @@ def ecr_image_puller_role(self, value: Optional[pulumi.Input['ContainerPrivateRe pulumi.set(self, "ecr_image_puller_role", value) +if not MYPY: + class ContainerPublicDomainNameArgsDict(TypedDict): + """ + The public domain name to use with the container service, such as example.com and www.example.com. + """ + certificate_name: NotRequired[pulumi.Input[str]] + """ + The name of the certificate for the public domains. + """ + domain_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An object that describes the configuration for the containers of the deployment. + """ +elif False: + ContainerPublicDomainNameArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerPublicDomainNameArgs: def __init__(__self__, *, @@ -366,6 +516,26 @@ def domain_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]] pulumi.set(self, "domain_names", value) +if not MYPY: + class ContainerPublicEndpointArgsDict(TypedDict): + """ + Describes the settings of a public endpoint for an Amazon Lightsail container service. + """ + container_name: NotRequired[pulumi.Input[str]] + """ + The name of the container for the endpoint. + """ + container_port: NotRequired[pulumi.Input[int]] + """ + The port of the container to which traffic is forwarded to. + """ + health_check_config: NotRequired[pulumi.Input['ContainerHealthCheckConfigArgsDict']] + """ + An object that describes the health check configuration of the container. + """ +elif False: + ContainerPublicEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerPublicEndpointArgs: def __init__(__self__, *, @@ -422,6 +592,22 @@ def health_check_config(self, value: Optional[pulumi.Input['ContainerHealthCheck pulumi.set(self, "health_check_config", value) +if not MYPY: + class ContainerServiceDeploymentArgsDict(TypedDict): + """ + Describes a container deployment configuration of an Amazon Lightsail container service. + """ + containers: NotRequired[pulumi.Input[Sequence[pulumi.Input['ContainerArgsDict']]]] + """ + An object that describes the configuration for the containers of the deployment. + """ + public_endpoint: NotRequired[pulumi.Input['ContainerPublicEndpointArgsDict']] + """ + An object that describes the endpoint of the deployment. + """ +elif False: + ContainerServiceDeploymentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerServiceDeploymentArgs: def __init__(__self__, *, @@ -462,6 +648,34 @@ def public_endpoint(self, value: Optional[pulumi.Input['ContainerPublicEndpointA pulumi.set(self, "public_endpoint", value) +if not MYPY: + class ContainerArgsDict(TypedDict): + """ + Describes the settings of a container that will be launched, or that is launched, to an Amazon Lightsail container service. + """ + command: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The launch command for the container. + """ + container_name: NotRequired[pulumi.Input[str]] + """ + The name of the container. + """ + environment: NotRequired[pulumi.Input[Sequence[pulumi.Input['ContainerEnvironmentVariableArgsDict']]]] + """ + The environment variables of the container. + """ + image: NotRequired[pulumi.Input[str]] + """ + The name of the image used for the container. + """ + ports: NotRequired[pulumi.Input[Sequence[pulumi.Input['ContainerPortInfoArgsDict']]]] + """ + The open firewall ports of the container. + """ +elif False: + ContainerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContainerArgs: def __init__(__self__, *, @@ -550,6 +764,46 @@ def ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerPor pulumi.set(self, "ports", value) +if not MYPY: + class DatabaseRelationalDatabaseParameterArgsDict(TypedDict): + """ + Describes the parameters of the database. + """ + allowed_values: NotRequired[pulumi.Input[str]] + """ + Specifies the valid range of values for the parameter. + """ + apply_method: NotRequired[pulumi.Input[str]] + """ + Indicates when parameter updates are applied. Can be immediate or pending-reboot. + """ + apply_type: NotRequired[pulumi.Input[str]] + """ + Specifies the engine-specific parameter type. + """ + data_type: NotRequired[pulumi.Input[str]] + """ + Specifies the valid data type for the parameter. + """ + description: NotRequired[pulumi.Input[str]] + """ + Provides a description of the parameter. + """ + is_modifiable: NotRequired[pulumi.Input[bool]] + """ + A Boolean value indicating whether the parameter can be modified. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + Specifies the name of the parameter. + """ + parameter_value: NotRequired[pulumi.Input[str]] + """ + Specifies the value of the parameter. + """ +elif False: + DatabaseRelationalDatabaseParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatabaseRelationalDatabaseParameterArgs: def __init__(__self__, *, @@ -686,6 +940,26 @@ def parameter_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "parameter_value", value) +if not MYPY: + class DiskAddOnArgsDict(TypedDict): + """ + A addon associate with a resource. + """ + add_on_type: pulumi.Input[str] + """ + The add-on type + """ + auto_snapshot_add_on_request: NotRequired[pulumi.Input['DiskAutoSnapshotAddOnArgsDict']] + """ + The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created. + """ + status: NotRequired[pulumi.Input['DiskAddOnStatus']] + """ + Status of the Addon + """ +elif False: + DiskAddOnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DiskAddOnArgs: def __init__(__self__, *, @@ -741,6 +1015,18 @@ def status(self, value: Optional[pulumi.Input['DiskAddOnStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class DiskAutoSnapshotAddOnArgsDict(TypedDict): + """ + An object that represents additional parameters when enabling or modifying the automatic snapshot add-on + """ + snapshot_time_of_day: NotRequired[pulumi.Input[str]] + """ + The daily time when an automatic snapshot will be created. + """ +elif False: + DiskAutoSnapshotAddOnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DiskAutoSnapshotAddOnArgs: def __init__(__self__, *, @@ -765,6 +1051,22 @@ def snapshot_time_of_day(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "snapshot_time_of_day", value) +if not MYPY: + class DiskLocationArgsDict(TypedDict): + """ + Location of a resource. + """ + availability_zone: NotRequired[pulumi.Input[str]] + """ + The Availability Zone in which to create your disk. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request. + """ + region_name: NotRequired[pulumi.Input[str]] + """ + The Region Name in which to create your disk. + """ +elif False: + DiskLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DiskLocationArgs: def __init__(__self__, *, @@ -805,6 +1107,26 @@ def region_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region_name", value) +if not MYPY: + class InstanceAddOnArgsDict(TypedDict): + """ + A addon associate with a resource. + """ + add_on_type: pulumi.Input[str] + """ + The add-on type + """ + auto_snapshot_add_on_request: NotRequired[pulumi.Input['InstanceAutoSnapshotAddOnArgsDict']] + """ + The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created. + """ + status: NotRequired[pulumi.Input['InstanceAddOnStatus']] + """ + Status of the Addon + """ +elif False: + InstanceAddOnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceAddOnArgs: def __init__(__self__, *, @@ -860,6 +1182,18 @@ def status(self, value: Optional[pulumi.Input['InstanceAddOnStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class InstanceAutoSnapshotAddOnArgsDict(TypedDict): + """ + An object that represents additional parameters when enabling or modifying the automatic snapshot add-on + """ + snapshot_time_of_day: NotRequired[pulumi.Input[str]] + """ + The daily time when an automatic snapshot will be created. + """ +elif False: + InstanceAutoSnapshotAddOnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceAutoSnapshotAddOnArgs: def __init__(__self__, *, @@ -884,6 +1218,42 @@ def snapshot_time_of_day(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "snapshot_time_of_day", value) +if not MYPY: + class InstanceDiskArgsDict(TypedDict): + """ + Disk associated with the Instance. + """ + disk_name: pulumi.Input[str] + """ + The names to use for your new Lightsail disk. + """ + path: pulumi.Input[str] + """ + Path of the disk attached to the instance. + """ + attached_to: NotRequired[pulumi.Input[str]] + """ + Instance attached to the disk. + """ + attachment_state: NotRequired[pulumi.Input[str]] + """ + Attachment state of the disk. + """ + iops: NotRequired[pulumi.Input[int]] + """ + IOPS of disk. + """ + is_system_disk: NotRequired[pulumi.Input[bool]] + """ + Is the Attached disk is the system disk of the Instance. + """ + size_in_gb: NotRequired[pulumi.Input[str]] + """ + Size of the disk attached to the Instance. + """ +elif False: + InstanceDiskArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceDiskArgs: def __init__(__self__, *, @@ -1002,6 +1372,26 @@ def size_in_gb(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "size_in_gb", value) +if not MYPY: + class InstanceHardwareArgsDict(TypedDict): + """ + Hardware of the Instance. + """ + cpu_count: NotRequired[pulumi.Input[int]] + """ + CPU count of the Instance. + """ + disks: NotRequired[pulumi.Input[Sequence[pulumi.Input['InstanceDiskArgsDict']]]] + """ + Disks attached to the Instance. + """ + ram_size_in_gb: NotRequired[pulumi.Input[int]] + """ + RAM Size of the Instance. + """ +elif False: + InstanceHardwareArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceHardwareArgs: def __init__(__self__, *, @@ -1058,6 +1448,22 @@ def ram_size_in_gb(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "ram_size_in_gb", value) +if not MYPY: + class InstanceLocationArgsDict(TypedDict): + """ + Location of a resource. + """ + availability_zone: NotRequired[pulumi.Input[str]] + """ + The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request. + """ + region_name: NotRequired[pulumi.Input[str]] + """ + The Region Name in which to create your instance. + """ +elif False: + InstanceLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceLocationArgs: def __init__(__self__, *, @@ -1098,6 +1504,18 @@ def region_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region_name", value) +if not MYPY: + class InstanceMonthlyTransferArgsDict(TypedDict): + """ + Monthly Transfer of the Instance. + """ + gb_per_month_allocated: NotRequired[pulumi.Input[str]] + """ + GbPerMonthAllocated of the Instance. + """ +elif False: + InstanceMonthlyTransferArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceMonthlyTransferArgs: def __init__(__self__, *, @@ -1122,6 +1540,22 @@ def gb_per_month_allocated(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "gb_per_month_allocated", value) +if not MYPY: + class InstanceNetworkingArgsDict(TypedDict): + """ + Networking of the Instance. + """ + ports: pulumi.Input[Sequence[pulumi.Input['InstancePortArgsDict']]] + """ + Ports to the Instance. + """ + monthly_transfer: NotRequired[pulumi.Input['InstanceMonthlyTransferArgsDict']] + """ + The monthly amount of data transfer, in GB, allocated for the instance + """ +elif False: + InstanceNetworkingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceNetworkingArgs: def __init__(__self__, *, @@ -1161,6 +1595,65 @@ def monthly_transfer(self, value: Optional[pulumi.Input['InstanceMonthlyTransfer pulumi.set(self, "monthly_transfer", value) +if not MYPY: + class InstancePortArgsDict(TypedDict): + """ + Port of the Instance. + """ + access_direction: NotRequired[pulumi.Input[str]] + """ + Access Direction for Protocol of the Instance(inbound/outbound). + """ + access_from: NotRequired[pulumi.Input[str]] + """ + Access From Protocol of the Instance. + """ + access_type: NotRequired[pulumi.Input[str]] + """ + Access Type Protocol of the Instance. + """ + cidr_list_aliases: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An alias that defines access for a preconfigured range of IP addresses. + + The only alias currently supported is `lightsail-connect` , which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance. + """ + cidrs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. + + > The `ipv6Cidrs` parameter lists the IPv6 addresses that are allowed to connect to an instance. + + Examples: + + - To allow the IP address `192.0.2.44` , specify `192.0.2.44` or `192.0.2.44/32` . + - To allow the IP addresses `192.0.2.0` to `192.0.2.255` , specify `192.0.2.0/24` . + """ + common_name: NotRequired[pulumi.Input[str]] + """ + CommonName for Protocol of the Instance. + """ + from_port: NotRequired[pulumi.Input[int]] + """ + From Port of the Instance. + """ + ipv6_cidrs: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used. + + > The `cidrs` parameter lists the IPv4 addresses that are allowed to connect to an instance. + """ + protocol: NotRequired[pulumi.Input[str]] + """ + Port Protocol of the Instance. + """ + to_port: NotRequired[pulumi.Input[int]] + """ + To Port of the Instance. + """ +elif False: + InstancePortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstancePortArgs: def __init__(__self__, *, @@ -1351,6 +1844,22 @@ def to_port(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "to_port", value) +if not MYPY: + class InstanceStateArgsDict(TypedDict): + """ + Current State of the Instance. + """ + code: NotRequired[pulumi.Input[int]] + """ + Status code of the Instance. + """ + name: NotRequired[pulumi.Input[str]] + """ + Status code of the Instance. + """ +elif False: + InstanceStateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceStateArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/lightsail/alarm.py b/sdk/python/pulumi_aws_native/lightsail/alarm.py index 6c0ac33d6b..3cb5e7399e 100644 --- a/sdk/python/pulumi_aws_native/lightsail/alarm.py +++ b/sdk/python/pulumi_aws_native/lightsail/alarm.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['AlarmArgs', 'Alarm'] diff --git a/sdk/python/pulumi_aws_native/lightsail/bucket.py b/sdk/python/pulumi_aws_native/lightsail/bucket.py index 87052a23e2..75e5a5eb35 100644 --- a/sdk/python/pulumi_aws_native/lightsail/bucket.py +++ b/sdk/python/pulumi_aws_native/lightsail/bucket.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/lightsail/certificate.py b/sdk/python/pulumi_aws_native/lightsail/certificate.py index b819b63154..80b22bf581 100644 --- a/sdk/python/pulumi_aws_native/lightsail/certificate.py +++ b/sdk/python/pulumi_aws_native/lightsail/certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/lightsail/container.py b/sdk/python/pulumi_aws_native/lightsail/container.py index 65f5acc1d0..56b145563a 100644 --- a/sdk/python/pulumi_aws_native/lightsail/container.py +++ b/sdk/python/pulumi_aws_native/lightsail/container.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/lightsail/database.py b/sdk/python/pulumi_aws_native/lightsail/database.py index 32ae95ccca..3a25752884 100644 --- a/sdk/python/pulumi_aws_native/lightsail/database.py +++ b/sdk/python/pulumi_aws_native/lightsail/database.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/lightsail/disk.py b/sdk/python/pulumi_aws_native/lightsail/disk.py index e99638ce3c..44d54d9d4e 100644 --- a/sdk/python/pulumi_aws_native/lightsail/disk.py +++ b/sdk/python/pulumi_aws_native/lightsail/disk.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/lightsail/get_alarm.py b/sdk/python/pulumi_aws_native/lightsail/get_alarm.py index 069808a7d4..99eaf0893b 100644 --- a/sdk/python/pulumi_aws_native/lightsail/get_alarm.py +++ b/sdk/python/pulumi_aws_native/lightsail/get_alarm.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -173,9 +178,6 @@ def get_alarm(alarm_name: Optional[str] = None, state=pulumi.get(__ret__, 'state'), threshold=pulumi.get(__ret__, 'threshold'), treat_missing_data=pulumi.get(__ret__, 'treat_missing_data')) - - -@_utilities.lift_output_func(get_alarm) def get_alarm_output(alarm_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAlarmResult]: """ @@ -184,4 +186,18 @@ def get_alarm_output(alarm_name: Optional[pulumi.Input[str]] = None, :param str alarm_name: The name for the alarm. Specify the name of an existing alarm to update, and overwrite the previous configuration of the alarm. """ - ... + __args__ = dict() + __args__['alarmName'] = alarm_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lightsail:getAlarm', __args__, opts=opts, typ=GetAlarmResult) + return __ret__.apply(lambda __response__: GetAlarmResult( + alarm_arn=pulumi.get(__response__, 'alarm_arn'), + comparison_operator=pulumi.get(__response__, 'comparison_operator'), + contact_protocols=pulumi.get(__response__, 'contact_protocols'), + datapoints_to_alarm=pulumi.get(__response__, 'datapoints_to_alarm'), + evaluation_periods=pulumi.get(__response__, 'evaluation_periods'), + notification_enabled=pulumi.get(__response__, 'notification_enabled'), + notification_triggers=pulumi.get(__response__, 'notification_triggers'), + state=pulumi.get(__response__, 'state'), + threshold=pulumi.get(__response__, 'threshold'), + treat_missing_data=pulumi.get(__response__, 'treat_missing_data'))) diff --git a/sdk/python/pulumi_aws_native/lightsail/get_bucket.py b/sdk/python/pulumi_aws_native/lightsail/get_bucket.py index c8e74615ee..33d63de70f 100644 --- a/sdk/python/pulumi_aws_native/lightsail/get_bucket.py +++ b/sdk/python/pulumi_aws_native/lightsail/get_bucket.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -162,9 +167,6 @@ def get_bucket(bucket_name: Optional[str] = None, resources_receiving_access=pulumi.get(__ret__, 'resources_receiving_access'), tags=pulumi.get(__ret__, 'tags'), url=pulumi.get(__ret__, 'url')) - - -@_utilities.lift_output_func(get_bucket) def get_bucket_output(bucket_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBucketResult]: """ @@ -173,4 +175,17 @@ def get_bucket_output(bucket_name: Optional[pulumi.Input[str]] = None, :param str bucket_name: The name for the bucket. """ - ... + __args__ = dict() + __args__['bucketName'] = bucket_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lightsail:getBucket', __args__, opts=opts, typ=GetBucketResult) + return __ret__.apply(lambda __response__: GetBucketResult( + able_to_update_bundle=pulumi.get(__response__, 'able_to_update_bundle'), + access_rules=pulumi.get(__response__, 'access_rules'), + bucket_arn=pulumi.get(__response__, 'bucket_arn'), + bundle_id=pulumi.get(__response__, 'bundle_id'), + object_versioning=pulumi.get(__response__, 'object_versioning'), + read_only_access_accounts=pulumi.get(__response__, 'read_only_access_accounts'), + resources_receiving_access=pulumi.get(__response__, 'resources_receiving_access'), + tags=pulumi.get(__response__, 'tags'), + url=pulumi.get(__response__, 'url'))) diff --git a/sdk/python/pulumi_aws_native/lightsail/get_certificate.py b/sdk/python/pulumi_aws_native/lightsail/get_certificate.py index 7ccd6fef19..96caa900a0 100644 --- a/sdk/python/pulumi_aws_native/lightsail/get_certificate.py +++ b/sdk/python/pulumi_aws_native/lightsail/get_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_certificate(certificate_name: Optional[str] = None, certificate_arn=pulumi.get(__ret__, 'certificate_arn'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_certificate) def get_certificate_output(certificate_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateResult]: """ @@ -94,4 +96,11 @@ def get_certificate_output(certificate_name: Optional[pulumi.Input[str]] = None, :param str certificate_name: The name for the certificate. """ - ... + __args__ = dict() + __args__['certificateName'] = certificate_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lightsail:getCertificate', __args__, opts=opts, typ=GetCertificateResult) + return __ret__.apply(lambda __response__: GetCertificateResult( + certificate_arn=pulumi.get(__response__, 'certificate_arn'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/lightsail/get_container.py b/sdk/python/pulumi_aws_native/lightsail/get_container.py index b00ad4ec02..62d0bd28fb 100644 --- a/sdk/python/pulumi_aws_native/lightsail/get_container.py +++ b/sdk/python/pulumi_aws_native/lightsail/get_container.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -175,9 +180,6 @@ def get_container(service_name: Optional[str] = None, scale=pulumi.get(__ret__, 'scale'), tags=pulumi.get(__ret__, 'tags'), url=pulumi.get(__ret__, 'url')) - - -@_utilities.lift_output_func(get_container) def get_container_output(service_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContainerResult]: """ @@ -186,4 +188,18 @@ def get_container_output(service_name: Optional[pulumi.Input[str]] = None, :param str service_name: The name for the container service. """ - ... + __args__ = dict() + __args__['serviceName'] = service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lightsail:getContainer', __args__, opts=opts, typ=GetContainerResult) + return __ret__.apply(lambda __response__: GetContainerResult( + container_arn=pulumi.get(__response__, 'container_arn'), + container_service_deployment=pulumi.get(__response__, 'container_service_deployment'), + is_disabled=pulumi.get(__response__, 'is_disabled'), + power=pulumi.get(__response__, 'power'), + principal_arn=pulumi.get(__response__, 'principal_arn'), + private_registry_access=pulumi.get(__response__, 'private_registry_access'), + public_domain_names=pulumi.get(__response__, 'public_domain_names'), + scale=pulumi.get(__response__, 'scale'), + tags=pulumi.get(__response__, 'tags'), + url=pulumi.get(__response__, 'url'))) diff --git a/sdk/python/pulumi_aws_native/lightsail/get_database.py b/sdk/python/pulumi_aws_native/lightsail/get_database.py index 8ef29ad643..884689d89b 100644 --- a/sdk/python/pulumi_aws_native/lightsail/get_database.py +++ b/sdk/python/pulumi_aws_native/lightsail/get_database.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -135,9 +140,6 @@ def get_database(relational_database_name: Optional[str] = None, preferred_maintenance_window=pulumi.get(__ret__, 'preferred_maintenance_window'), publicly_accessible=pulumi.get(__ret__, 'publicly_accessible'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_database) def get_database_output(relational_database_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseResult]: """ @@ -146,4 +148,15 @@ def get_database_output(relational_database_name: Optional[pulumi.Input[str]] = :param str relational_database_name: The name to use for your new Lightsail database resource. """ - ... + __args__ = dict() + __args__['relationalDatabaseName'] = relational_database_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lightsail:getDatabase', __args__, opts=opts, typ=GetDatabaseResult) + return __ret__.apply(lambda __response__: GetDatabaseResult( + backup_retention=pulumi.get(__response__, 'backup_retention'), + ca_certificate_identifier=pulumi.get(__response__, 'ca_certificate_identifier'), + database_arn=pulumi.get(__response__, 'database_arn'), + preferred_backup_window=pulumi.get(__response__, 'preferred_backup_window'), + preferred_maintenance_window=pulumi.get(__response__, 'preferred_maintenance_window'), + publicly_accessible=pulumi.get(__response__, 'publicly_accessible'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/lightsail/get_disk.py b/sdk/python/pulumi_aws_native/lightsail/get_disk.py index 5ba43ae19d..20a4b21426 100644 --- a/sdk/python/pulumi_aws_native/lightsail/get_disk.py +++ b/sdk/python/pulumi_aws_native/lightsail/get_disk.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -202,9 +207,6 @@ def get_disk(disk_name: Optional[str] = None, state=pulumi.get(__ret__, 'state'), support_code=pulumi.get(__ret__, 'support_code'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_disk) def get_disk_output(disk_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDiskResult]: """ @@ -213,4 +215,20 @@ def get_disk_output(disk_name: Optional[pulumi.Input[str]] = None, :param str disk_name: The names to use for your new Lightsail disk. """ - ... + __args__ = dict() + __args__['diskName'] = disk_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lightsail:getDisk', __args__, opts=opts, typ=GetDiskResult) + return __ret__.apply(lambda __response__: GetDiskResult( + add_ons=pulumi.get(__response__, 'add_ons'), + attached_to=pulumi.get(__response__, 'attached_to'), + attachment_state=pulumi.get(__response__, 'attachment_state'), + disk_arn=pulumi.get(__response__, 'disk_arn'), + iops=pulumi.get(__response__, 'iops'), + is_attached=pulumi.get(__response__, 'is_attached'), + location=pulumi.get(__response__, 'location'), + path=pulumi.get(__response__, 'path'), + resource_type=pulumi.get(__response__, 'resource_type'), + state=pulumi.get(__response__, 'state'), + support_code=pulumi.get(__response__, 'support_code'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/lightsail/get_instance.py b/sdk/python/pulumi_aws_native/lightsail/get_instance.py index 80a2492a66..ecf67d5e64 100644 --- a/sdk/python/pulumi_aws_native/lightsail/get_instance.py +++ b/sdk/python/pulumi_aws_native/lightsail/get_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -260,9 +265,6 @@ def get_instance(instance_name: Optional[str] = None, support_code=pulumi.get(__ret__, 'support_code'), tags=pulumi.get(__ret__, 'tags'), user_name=pulumi.get(__ret__, 'user_name')) - - -@_utilities.lift_output_func(get_instance) def get_instance_output(instance_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceResult]: """ @@ -271,4 +273,24 @@ def get_instance_output(instance_name: Optional[pulumi.Input[str]] = None, :param str instance_name: The names to use for your new Lightsail instance. """ - ... + __args__ = dict() + __args__['instanceName'] = instance_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lightsail:getInstance', __args__, opts=opts, typ=GetInstanceResult) + return __ret__.apply(lambda __response__: GetInstanceResult( + add_ons=pulumi.get(__response__, 'add_ons'), + hardware=pulumi.get(__response__, 'hardware'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + ipv6_addresses=pulumi.get(__response__, 'ipv6_addresses'), + is_static_ip=pulumi.get(__response__, 'is_static_ip'), + key_pair_name=pulumi.get(__response__, 'key_pair_name'), + location=pulumi.get(__response__, 'location'), + networking=pulumi.get(__response__, 'networking'), + private_ip_address=pulumi.get(__response__, 'private_ip_address'), + public_ip_address=pulumi.get(__response__, 'public_ip_address'), + resource_type=pulumi.get(__response__, 'resource_type'), + ssh_key_name=pulumi.get(__response__, 'ssh_key_name'), + state=pulumi.get(__response__, 'state'), + support_code=pulumi.get(__response__, 'support_code'), + tags=pulumi.get(__response__, 'tags'), + user_name=pulumi.get(__response__, 'user_name'))) diff --git a/sdk/python/pulumi_aws_native/lightsail/get_load_balancer.py b/sdk/python/pulumi_aws_native/lightsail/get_load_balancer.py index 1df41ed036..bce5a5d4af 100644 --- a/sdk/python/pulumi_aws_native/lightsail/get_load_balancer.py +++ b/sdk/python/pulumi_aws_native/lightsail/get_load_balancer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -135,9 +140,6 @@ def get_load_balancer(load_balancer_name: Optional[str] = None, session_stickiness_lb_cookie_duration_seconds=pulumi.get(__ret__, 'session_stickiness_lb_cookie_duration_seconds'), tags=pulumi.get(__ret__, 'tags'), tls_policy_name=pulumi.get(__ret__, 'tls_policy_name')) - - -@_utilities.lift_output_func(get_load_balancer) def get_load_balancer_output(load_balancer_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadBalancerResult]: """ @@ -146,4 +148,15 @@ def get_load_balancer_output(load_balancer_name: Optional[pulumi.Input[str]] = N :param str load_balancer_name: The name of your load balancer. """ - ... + __args__ = dict() + __args__['loadBalancerName'] = load_balancer_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lightsail:getLoadBalancer', __args__, opts=opts, typ=GetLoadBalancerResult) + return __ret__.apply(lambda __response__: GetLoadBalancerResult( + attached_instances=pulumi.get(__response__, 'attached_instances'), + health_check_path=pulumi.get(__response__, 'health_check_path'), + load_balancer_arn=pulumi.get(__response__, 'load_balancer_arn'), + session_stickiness_enabled=pulumi.get(__response__, 'session_stickiness_enabled'), + session_stickiness_lb_cookie_duration_seconds=pulumi.get(__response__, 'session_stickiness_lb_cookie_duration_seconds'), + tags=pulumi.get(__response__, 'tags'), + tls_policy_name=pulumi.get(__response__, 'tls_policy_name'))) diff --git a/sdk/python/pulumi_aws_native/lightsail/get_load_balancer_tls_certificate.py b/sdk/python/pulumi_aws_native/lightsail/get_load_balancer_tls_certificate.py index 28d1e669b4..6715eeafaf 100644 --- a/sdk/python/pulumi_aws_native/lightsail/get_load_balancer_tls_certificate.py +++ b/sdk/python/pulumi_aws_native/lightsail/get_load_balancer_tls_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -98,9 +103,6 @@ def get_load_balancer_tls_certificate(certificate_name: Optional[str] = None, is_attached=pulumi.get(__ret__, 'is_attached'), load_balancer_tls_certificate_arn=pulumi.get(__ret__, 'load_balancer_tls_certificate_arn'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_load_balancer_tls_certificate) def get_load_balancer_tls_certificate_output(certificate_name: Optional[pulumi.Input[str]] = None, load_balancer_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoadBalancerTlsCertificateResult]: @@ -111,4 +113,13 @@ def get_load_balancer_tls_certificate_output(certificate_name: Optional[pulumi.I :param str certificate_name: The SSL/TLS certificate name. :param str load_balancer_name: The name of your load balancer. """ - ... + __args__ = dict() + __args__['certificateName'] = certificate_name + __args__['loadBalancerName'] = load_balancer_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lightsail:getLoadBalancerTlsCertificate', __args__, opts=opts, typ=GetLoadBalancerTlsCertificateResult) + return __ret__.apply(lambda __response__: GetLoadBalancerTlsCertificateResult( + https_redirection_enabled=pulumi.get(__response__, 'https_redirection_enabled'), + is_attached=pulumi.get(__response__, 'is_attached'), + load_balancer_tls_certificate_arn=pulumi.get(__response__, 'load_balancer_tls_certificate_arn'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/lightsail/get_static_ip.py b/sdk/python/pulumi_aws_native/lightsail/get_static_ip.py index 38837e9f5b..71fd70c53b 100644 --- a/sdk/python/pulumi_aws_native/lightsail/get_static_ip.py +++ b/sdk/python/pulumi_aws_native/lightsail/get_static_ip.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -95,9 +100,6 @@ def get_static_ip(static_ip_name: Optional[str] = None, ip_address=pulumi.get(__ret__, 'ip_address'), is_attached=pulumi.get(__ret__, 'is_attached'), static_ip_arn=pulumi.get(__ret__, 'static_ip_arn')) - - -@_utilities.lift_output_func(get_static_ip) def get_static_ip_output(static_ip_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStaticIpResult]: """ @@ -106,4 +108,12 @@ def get_static_ip_output(static_ip_name: Optional[pulumi.Input[str]] = None, :param str static_ip_name: The name of the static IP address. """ - ... + __args__ = dict() + __args__['staticIpName'] = static_ip_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lightsail:getStaticIp', __args__, opts=opts, typ=GetStaticIpResult) + return __ret__.apply(lambda __response__: GetStaticIpResult( + attached_to=pulumi.get(__response__, 'attached_to'), + ip_address=pulumi.get(__response__, 'ip_address'), + is_attached=pulumi.get(__response__, 'is_attached'), + static_ip_arn=pulumi.get(__response__, 'static_ip_arn'))) diff --git a/sdk/python/pulumi_aws_native/lightsail/instance.py b/sdk/python/pulumi_aws_native/lightsail/instance.py index 537d0e21b0..f94dddc0f8 100644 --- a/sdk/python/pulumi_aws_native/lightsail/instance.py +++ b/sdk/python/pulumi_aws_native/lightsail/instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/lightsail/load_balancer.py b/sdk/python/pulumi_aws_native/lightsail/load_balancer.py index 7e14da7852..2447a6e9c8 100644 --- a/sdk/python/pulumi_aws_native/lightsail/load_balancer.py +++ b/sdk/python/pulumi_aws_native/lightsail/load_balancer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/lightsail/load_balancer_tls_certificate.py b/sdk/python/pulumi_aws_native/lightsail/load_balancer_tls_certificate.py index 5dff7ab973..105f114f51 100644 --- a/sdk/python/pulumi_aws_native/lightsail/load_balancer_tls_certificate.py +++ b/sdk/python/pulumi_aws_native/lightsail/load_balancer_tls_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['LoadBalancerTlsCertificateArgs', 'LoadBalancerTlsCertificate'] diff --git a/sdk/python/pulumi_aws_native/lightsail/outputs.py b/sdk/python/pulumi_aws_native/lightsail/outputs.py index ef52d456fe..1bcf5bab50 100644 --- a/sdk/python/pulumi_aws_native/lightsail/outputs.py +++ b/sdk/python/pulumi_aws_native/lightsail/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lightsail/static_ip.py b/sdk/python/pulumi_aws_native/lightsail/static_ip.py index 9e9e6eb072..b0b8d03a75 100644 --- a/sdk/python/pulumi_aws_native/lightsail/static_ip.py +++ b/sdk/python/pulumi_aws_native/lightsail/static_ip.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['StaticIpArgs', 'StaticIp'] diff --git a/sdk/python/pulumi_aws_native/location/_inputs.py b/sdk/python/pulumi_aws_native/location/_inputs.py index ded146dccc..a23c4c45fa 100644 --- a/sdk/python/pulumi_aws_native/location/_inputs.py +++ b/sdk/python/pulumi_aws_native/location/_inputs.py @@ -4,18 +4,81 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ApiKeyRestrictionsArgs', + 'ApiKeyRestrictionsArgsDict', 'MapConfigurationArgs', + 'MapConfigurationArgsDict', 'PlaceIndexDataSourceConfigurationArgs', + 'PlaceIndexDataSourceConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ApiKeyRestrictionsArgsDict(TypedDict): + allow_actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of allowed actions that an API key resource grants permissions to perform. You must have at least one action for each type of resource. For example, if you have a place resource, you must include at least one place action. + + The following are valid values for the actions. + + - *Map actions* + + - `geo:GetMap*` - Allows all actions needed for map rendering. + - *Place actions* + + - `geo:SearchPlaceIndexForText` - Allows geocoding. + - `geo:SearchPlaceIndexForPosition` - Allows reverse geocoding. + - `geo:SearchPlaceIndexForSuggestions` - Allows generating suggestions from text. + - `geo:GetPlace` - Allows finding a place by place ID. + - *Route actions* + + - `geo:CalculateRoute` - Allows point to point routing. + - `geo:CalculateRouteMatrix` - Allows calculating a matrix of routes. + + > You must use these strings exactly. For example, to provide access to map rendering, the only valid action is `geo:GetMap*` as an input to the list. `["geo:GetMap*"]` is valid but `["geo:GetMapTile"]` is not. Similarly, you cannot use `["geo:SearchPlaceIndexFor*"]` - you must list each of the Place actions separately. + """ + allow_resources: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of allowed resource ARNs that a API key bearer can perform actions on. + + - The ARN must be the correct ARN for a map, place, or route ARN. You may include wildcards in the resource-id to match multiple resources of the same type. + - The resources must be in the same `partition` , `region` , and `account-id` as the key that is being created. + - Other than wildcards, you must include the full ARN, including the `arn` , `partition` , `service` , `region` , `account-id` and `resource-id` delimited by colons (:). + - No spaces allowed, even with wildcards. For example, `arn:aws:geo:region: *account-id* :map/ExampleMap*` . + + For more information about ARN format, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) . + """ + allow_referers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An optional list of allowed HTTP referers for which requests must originate from. Requests using this API key from other domains will not be allowed. + + Requirements: + + - Contain only alphanumeric characters (A–Z, a–z, 0–9) or any symbols in this list `$\\-._+!*`(),;/?:@=&` + - May contain a percent (%) if followed by 2 hexadecimal digits (A-F, a-f, 0-9); this is used for URL encoding purposes. + - May contain wildcard characters question mark (?) and asterisk (*). + + Question mark (?) will replace any single character (including hexadecimal digits). + + Asterisk (*) will replace any multiple characters (including multiple hexadecimal digits). + - No spaces allowed. For example, `https://example.com` . + """ +elif False: + ApiKeyRestrictionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApiKeyRestrictionsArgs: def __init__(__self__, *, @@ -141,6 +204,60 @@ def allow_referers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] pulumi.set(self, "allow_referers", value) +if not MYPY: + class MapConfigurationArgsDict(TypedDict): + style: pulumi.Input[str] + """ + Specifies the map style selected from an available data provider. + + Valid [Esri map styles](https://docs.aws.amazon.com/location/latest/developerguide/esri.html) : + + - `VectorEsriDarkGrayCanvas` – The Esri Dark Gray Canvas map style. A vector basemap with a dark gray, neutral background with minimal colors, labels, and features that's designed to draw attention to your thematic content. + - `RasterEsriImagery` – The Esri Imagery map style. A raster basemap that provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide. + - `VectorEsriLightGrayCanvas` – The Esri Light Gray Canvas map style, which provides a detailed vector basemap with a light gray, neutral background style with minimal colors, labels, and features that's designed to draw attention to your thematic content. + - `VectorEsriTopographic` – The Esri Light map style, which provides a detailed vector basemap with a classic Esri map style. + - `VectorEsriStreets` – The Esri Street Map style, which provides a detailed vector basemap for the world symbolized with a classic Esri street map style. The vector tile layer is similar in content and style to the World Street Map raster map. + - `VectorEsriNavigation` – The Esri Navigation map style, which provides a detailed basemap for the world symbolized with a custom navigation map style that's designed for use during the day in mobile devices. + + Valid [HERE Technologies map styles](https://docs.aws.amazon.com/location/latest/developerguide/HERE.html) : + + - `VectorHereContrast` – The HERE Contrast (Berlin) map style is a high contrast detailed base map of the world that blends 3D and 2D rendering. + + > The `VectorHereContrast` style has been renamed from `VectorHereBerlin` . `VectorHereBerlin` has been deprecated, but will continue to work in applications that use it. + - `VectorHereExplore` – A default HERE map style containing a neutral, global map and its features including roads, buildings, landmarks, and water features. It also now includes a fully designed map of Japan. + - `VectorHereExploreTruck` – A global map containing truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with highlighted segments and icons on top of HERE Explore to support use cases within transport and logistics. + - `RasterHereExploreSatellite` – A global map containing high resolution satellite imagery. + - `HybridHereExploreSatellite` – A global map displaying the road network, street names, and city labels over satellite imagery. This style will automatically retrieve both raster and vector tiles, and your charges will be based on total tiles retrieved. + + > Hybrid styles use both vector and raster tiles when rendering the map that you see. This means that more tiles are retrieved than when using either vector or raster tiles alone. Your charges will include all tiles retrieved. + + Valid [GrabMaps map styles](https://docs.aws.amazon.com/location/latest/developerguide/grab.html) : + + - `VectorGrabStandardLight` – The Grab Standard Light map style provides a basemap with detailed land use coloring, area names, roads, landmarks, and points of interest covering Southeast Asia. + - `VectorGrabStandardDark` – The Grab Standard Dark map style provides a dark variation of the standard basemap covering Southeast Asia. + + > Grab provides maps only for countries in Southeast Asia, and is only available in the Asia Pacific (Singapore) Region ( `ap-southeast-1` ). For more information, see [GrabMaps countries and area covered](https://docs.aws.amazon.com/location/latest/developerguide/grab.html#grab-coverage-area) . + + Valid [Open Data map styles](https://docs.aws.amazon.com/location/latest/developerguide/open-data.html) : + + - `VectorOpenDataStandardLight` – The Open Data Standard Light map style provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries. + - `VectorOpenDataStandardDark` – Open Data Standard Dark is a dark-themed map style that provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries. + - `VectorOpenDataVisualizationLight` – The Open Data Visualization Light map style is a light-themed style with muted colors and fewer features that aids in understanding overlaid data. + - `VectorOpenDataVisualizationDark` – The Open Data Visualization Dark map style is a dark-themed style with muted colors and fewer features that aids in understanding overlaid data. + """ + custom_layers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies the custom layers for the style. Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as the `POI` layer for the VectorEsriNavigation style. + + > Currenlty only `VectorEsriNavigation` supports CustomLayers. For more information, see [Custom Layers](https://docs.aws.amazon.com//location/latest/developerguide/map-concepts.html#map-custom-layers) . + """ + political_view: NotRequired[pulumi.Input[str]] + """ + Specifies the map political view selected from an available data provider. + """ +elif False: + MapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MapConfigurationArgs: def __init__(__self__, *, @@ -269,6 +386,22 @@ def political_view(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "political_view", value) +if not MYPY: + class PlaceIndexDataSourceConfigurationArgsDict(TypedDict): + intended_use: NotRequired[pulumi.Input['PlaceIndexIntendedUse']] + """ + Specifies how the results of an operation will be stored by the caller. + + Valid values include: + + - `SingleUse` specifies that the results won't be stored. + - `Storage` specifies that the result can be cached or stored in a database. + + Default value: `SingleUse` + """ +elif False: + PlaceIndexDataSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlaceIndexDataSourceConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/location/api_key.py b/sdk/python/pulumi_aws_native/location/api_key.py index 097f379019..61ce954437 100644 --- a/sdk/python/pulumi_aws_native/location/api_key.py +++ b/sdk/python/pulumi_aws_native/location/api_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/location/geofence_collection.py b/sdk/python/pulumi_aws_native/location/geofence_collection.py index ddeb3c688a..22e0411be5 100644 --- a/sdk/python/pulumi_aws_native/location/geofence_collection.py +++ b/sdk/python/pulumi_aws_native/location/geofence_collection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/location/get_api_key.py b/sdk/python/pulumi_aws_native/location/get_api_key.py index 8571a61387..174e136040 100644 --- a/sdk/python/pulumi_aws_native/location/get_api_key.py +++ b/sdk/python/pulumi_aws_native/location/get_api_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -155,9 +160,6 @@ def get_api_key(key_name: Optional[str] = None, restrictions=pulumi.get(__ret__, 'restrictions'), tags=pulumi.get(__ret__, 'tags'), update_time=pulumi.get(__ret__, 'update_time')) - - -@_utilities.lift_output_func(get_api_key) def get_api_key_output(key_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApiKeyResult]: """ @@ -172,4 +174,16 @@ def get_api_key_output(key_name: Optional[pulumi.Input[str]] = None, - Must be a unique API key name. - No spaces allowed. For example, `ExampleAPIKey` . """ - ... + __args__ = dict() + __args__['keyName'] = key_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:location:getApiKey', __args__, opts=opts, typ=GetApiKeyResult) + return __ret__.apply(lambda __response__: GetApiKeyResult( + arn=pulumi.get(__response__, 'arn'), + create_time=pulumi.get(__response__, 'create_time'), + description=pulumi.get(__response__, 'description'), + expire_time=pulumi.get(__response__, 'expire_time'), + key_arn=pulumi.get(__response__, 'key_arn'), + restrictions=pulumi.get(__response__, 'restrictions'), + tags=pulumi.get(__response__, 'tags'), + update_time=pulumi.get(__response__, 'update_time'))) diff --git a/sdk/python/pulumi_aws_native/location/get_geofence_collection.py b/sdk/python/pulumi_aws_native/location/get_geofence_collection.py index 70bf99271e..6083012c3c 100644 --- a/sdk/python/pulumi_aws_native/location/get_geofence_collection.py +++ b/sdk/python/pulumi_aws_native/location/get_geofence_collection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -156,9 +161,6 @@ def get_geofence_collection(collection_name: Optional[str] = None, pricing_plan_data_source=pulumi.get(__ret__, 'pricing_plan_data_source'), tags=pulumi.get(__ret__, 'tags'), update_time=pulumi.get(__ret__, 'update_time')) - - -@_utilities.lift_output_func(get_geofence_collection) def get_geofence_collection_output(collection_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGeofenceCollectionResult]: """ @@ -173,4 +175,16 @@ def get_geofence_collection_output(collection_name: Optional[pulumi.Input[str]] - Must be a unique geofence collection name. - No spaces allowed. For example, `ExampleGeofenceCollection` . """ - ... + __args__ = dict() + __args__['collectionName'] = collection_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:location:getGeofenceCollection', __args__, opts=opts, typ=GetGeofenceCollectionResult) + return __ret__.apply(lambda __response__: GetGeofenceCollectionResult( + arn=pulumi.get(__response__, 'arn'), + collection_arn=pulumi.get(__response__, 'collection_arn'), + create_time=pulumi.get(__response__, 'create_time'), + description=pulumi.get(__response__, 'description'), + pricing_plan=pulumi.get(__response__, 'pricing_plan'), + pricing_plan_data_source=pulumi.get(__response__, 'pricing_plan_data_source'), + tags=pulumi.get(__response__, 'tags'), + update_time=pulumi.get(__response__, 'update_time'))) diff --git a/sdk/python/pulumi_aws_native/location/get_map.py b/sdk/python/pulumi_aws_native/location/get_map.py index 33c5d05b9d..ce97e6059b 100644 --- a/sdk/python/pulumi_aws_native/location/get_map.py +++ b/sdk/python/pulumi_aws_native/location/get_map.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -148,9 +153,6 @@ def get_map(map_name: Optional[str] = None, pricing_plan=pulumi.get(__ret__, 'pricing_plan'), tags=pulumi.get(__ret__, 'tags'), update_time=pulumi.get(__ret__, 'update_time')) - - -@_utilities.lift_output_func(get_map) def get_map_output(map_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMapResult]: """ @@ -165,4 +167,15 @@ def get_map_output(map_name: Optional[pulumi.Input[str]] = None, - Must be a unique map resource name. - No spaces allowed. For example, `ExampleMap` . """ - ... + __args__ = dict() + __args__['mapName'] = map_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:location:getMap', __args__, opts=opts, typ=GetMapResult) + return __ret__.apply(lambda __response__: GetMapResult( + arn=pulumi.get(__response__, 'arn'), + create_time=pulumi.get(__response__, 'create_time'), + description=pulumi.get(__response__, 'description'), + map_arn=pulumi.get(__response__, 'map_arn'), + pricing_plan=pulumi.get(__response__, 'pricing_plan'), + tags=pulumi.get(__response__, 'tags'), + update_time=pulumi.get(__response__, 'update_time'))) diff --git a/sdk/python/pulumi_aws_native/location/get_place_index.py b/sdk/python/pulumi_aws_native/location/get_place_index.py index 30b01b55f8..5b4cab7913 100644 --- a/sdk/python/pulumi_aws_native/location/get_place_index.py +++ b/sdk/python/pulumi_aws_native/location/get_place_index.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -162,9 +167,6 @@ def get_place_index(index_name: Optional[str] = None, pricing_plan=pulumi.get(__ret__, 'pricing_plan'), tags=pulumi.get(__ret__, 'tags'), update_time=pulumi.get(__ret__, 'update_time')) - - -@_utilities.lift_output_func(get_place_index) def get_place_index_output(index_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPlaceIndexResult]: """ @@ -179,4 +181,16 @@ def get_place_index_output(index_name: Optional[pulumi.Input[str]] = None, - Must be a unique place index resource name. - No spaces allowed. For example, `ExamplePlaceIndex` . """ - ... + __args__ = dict() + __args__['indexName'] = index_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:location:getPlaceIndex', __args__, opts=opts, typ=GetPlaceIndexResult) + return __ret__.apply(lambda __response__: GetPlaceIndexResult( + arn=pulumi.get(__response__, 'arn'), + create_time=pulumi.get(__response__, 'create_time'), + data_source_configuration=pulumi.get(__response__, 'data_source_configuration'), + description=pulumi.get(__response__, 'description'), + index_arn=pulumi.get(__response__, 'index_arn'), + pricing_plan=pulumi.get(__response__, 'pricing_plan'), + tags=pulumi.get(__response__, 'tags'), + update_time=pulumi.get(__response__, 'update_time'))) diff --git a/sdk/python/pulumi_aws_native/location/get_route_calculator.py b/sdk/python/pulumi_aws_native/location/get_route_calculator.py index c69e576755..edb09befd1 100644 --- a/sdk/python/pulumi_aws_native/location/get_route_calculator.py +++ b/sdk/python/pulumi_aws_native/location/get_route_calculator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -148,9 +153,6 @@ def get_route_calculator(calculator_name: Optional[str] = None, pricing_plan=pulumi.get(__ret__, 'pricing_plan'), tags=pulumi.get(__ret__, 'tags'), update_time=pulumi.get(__ret__, 'update_time')) - - -@_utilities.lift_output_func(get_route_calculator) def get_route_calculator_output(calculator_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRouteCalculatorResult]: """ @@ -165,4 +167,15 @@ def get_route_calculator_output(calculator_name: Optional[pulumi.Input[str]] = N - Must be a unique Route calculator resource name. - No spaces allowed. For example, `ExampleRouteCalculator` . """ - ... + __args__ = dict() + __args__['calculatorName'] = calculator_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:location:getRouteCalculator', __args__, opts=opts, typ=GetRouteCalculatorResult) + return __ret__.apply(lambda __response__: GetRouteCalculatorResult( + arn=pulumi.get(__response__, 'arn'), + calculator_arn=pulumi.get(__response__, 'calculator_arn'), + create_time=pulumi.get(__response__, 'create_time'), + description=pulumi.get(__response__, 'description'), + pricing_plan=pulumi.get(__response__, 'pricing_plan'), + tags=pulumi.get(__response__, 'tags'), + update_time=pulumi.get(__response__, 'update_time'))) diff --git a/sdk/python/pulumi_aws_native/location/get_tracker.py b/sdk/python/pulumi_aws_native/location/get_tracker.py index a0f380f3eb..74c0bc8627 100644 --- a/sdk/python/pulumi_aws_native/location/get_tracker.py +++ b/sdk/python/pulumi_aws_native/location/get_tracker.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -197,9 +202,6 @@ def get_tracker(tracker_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), tracker_arn=pulumi.get(__ret__, 'tracker_arn'), update_time=pulumi.get(__ret__, 'update_time')) - - -@_utilities.lift_output_func(get_tracker) def get_tracker_output(tracker_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTrackerResult]: """ @@ -214,4 +216,19 @@ def get_tracker_output(tracker_name: Optional[pulumi.Input[str]] = None, - Must be a unique tracker resource name. - No spaces allowed. For example, `ExampleTracker` . """ - ... + __args__ = dict() + __args__['trackerName'] = tracker_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:location:getTracker', __args__, opts=opts, typ=GetTrackerResult) + return __ret__.apply(lambda __response__: GetTrackerResult( + arn=pulumi.get(__response__, 'arn'), + create_time=pulumi.get(__response__, 'create_time'), + description=pulumi.get(__response__, 'description'), + event_bridge_enabled=pulumi.get(__response__, 'event_bridge_enabled'), + kms_key_enable_geospatial_queries=pulumi.get(__response__, 'kms_key_enable_geospatial_queries'), + position_filtering=pulumi.get(__response__, 'position_filtering'), + pricing_plan=pulumi.get(__response__, 'pricing_plan'), + pricing_plan_data_source=pulumi.get(__response__, 'pricing_plan_data_source'), + tags=pulumi.get(__response__, 'tags'), + tracker_arn=pulumi.get(__response__, 'tracker_arn'), + update_time=pulumi.get(__response__, 'update_time'))) diff --git a/sdk/python/pulumi_aws_native/location/map.py b/sdk/python/pulumi_aws_native/location/map.py index 9112c052ab..83710f004c 100644 --- a/sdk/python/pulumi_aws_native/location/map.py +++ b/sdk/python/pulumi_aws_native/location/map.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/location/outputs.py b/sdk/python/pulumi_aws_native/location/outputs.py index fed70b1839..d7b4a5b596 100644 --- a/sdk/python/pulumi_aws_native/location/outputs.py +++ b/sdk/python/pulumi_aws_native/location/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/location/place_index.py b/sdk/python/pulumi_aws_native/location/place_index.py index f9bf8d04d2..c7ed158823 100644 --- a/sdk/python/pulumi_aws_native/location/place_index.py +++ b/sdk/python/pulumi_aws_native/location/place_index.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/location/route_calculator.py b/sdk/python/pulumi_aws_native/location/route_calculator.py index 377c8cadf8..0fc763ba29 100644 --- a/sdk/python/pulumi_aws_native/location/route_calculator.py +++ b/sdk/python/pulumi_aws_native/location/route_calculator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/location/tracker.py b/sdk/python/pulumi_aws_native/location/tracker.py index b661167b6c..95e11a2e97 100644 --- a/sdk/python/pulumi_aws_native/location/tracker.py +++ b/sdk/python/pulumi_aws_native/location/tracker.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/location/tracker_consumer.py b/sdk/python/pulumi_aws_native/location/tracker_consumer.py index 5f986dafa7..b59d4837aa 100644 --- a/sdk/python/pulumi_aws_native/location/tracker_consumer.py +++ b/sdk/python/pulumi_aws_native/location/tracker_consumer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TrackerConsumerArgs', 'TrackerConsumer'] diff --git a/sdk/python/pulumi_aws_native/logs/_inputs.py b/sdk/python/pulumi_aws_native/logs/_inputs.py index 91ea0c3493..d4d290fb22 100644 --- a/sdk/python/pulumi_aws_native/logs/_inputs.py +++ b/sdk/python/pulumi_aws_native/logs/_inputs.py @@ -4,18 +4,41 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DeliveryDestinationDestinationPolicyArgs', + 'DeliveryDestinationDestinationPolicyArgsDict', 'MetricFilterDimensionArgs', + 'MetricFilterDimensionArgsDict', 'MetricFilterMetricTransformationArgs', + 'MetricFilterMetricTransformationArgsDict', ] +MYPY = False + +if not MYPY: + class DeliveryDestinationDestinationPolicyArgsDict(TypedDict): + delivery_destination_name: pulumi.Input[str] + """ + The name of the delivery destination to assign this policy to + """ + delivery_destination_policy: pulumi.Input[str] + """ + The contents of the policy attached to the delivery destination + """ +elif False: + DeliveryDestinationDestinationPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeliveryDestinationDestinationPolicyArgs: def __init__(__self__, *, @@ -53,6 +76,28 @@ def delivery_destination_policy(self, value: pulumi.Input[str]): pulumi.set(self, "delivery_destination_policy", value) +if not MYPY: + class MetricFilterDimensionArgsDict(TypedDict): + """ + Specifies the CW metric dimensions to publish with this metric. + Because dimensions are part of the unique identifier for a metric, whenever a unique dimension name/value pair is extracted from your logs, you are creating a new variation of that metric. + For more information about publishing dimensions with metrics created by metric filters, see [Publishing dimensions with metrics from values in JSON or space-delimited log events](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html#logs-metric-filters-dimensions). + Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as ``IPAddress`` or ``requestID`` as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. + To help prevent accidental high charges, Amazon disables a metric filter if it generates 1000 different name/value pairs for the dimensions that you have specified within a certain amount of time. + You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see [Creating a Billing Alarm to Monitor Your Estimated Charges](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html). + """ + key: pulumi.Input[str] + """ + The name for the CW metric dimension that the metric filter creates. + Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:). + """ + value: pulumi.Input[str] + """ + The log event field that will contain the value for this dimension. This dimension will only be published for a metric if the value is found in the log event. For example, ``$.eventType`` for JSON log events, or ``$server`` for space-delimited log events. + """ +elif False: + MetricFilterDimensionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MetricFilterDimensionArgs: def __init__(__self__, *, @@ -98,6 +143,41 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class MetricFilterMetricTransformationArgsDict(TypedDict): + """ + ``MetricTransformation`` is a property of the ``AWS::Logs::MetricFilter`` resource that describes how to transform log streams into a CloudWatch metric. + """ + metric_name: pulumi.Input[str] + """ + The name of the CloudWatch metric. + """ + metric_namespace: pulumi.Input[str] + """ + A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see [Namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace). + """ + metric_value: pulumi.Input[str] + """ + The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like ``Error``, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as ``$.size``. + """ + default_value: NotRequired[pulumi.Input[float]] + """ + (Optional) The value to emit when a filter pattern does not match a log event. This value can be null. + """ + dimensions: NotRequired[pulumi.Input[Sequence[pulumi.Input['MetricFilterDimensionArgsDict']]]] + """ + The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. + Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as ``IPAddress`` or ``requestID`` as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. + CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. + You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see [Creating a Billing Alarm to Monitor Your Estimated Charges](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html). + """ + unit: NotRequired[pulumi.Input['MetricFilterMetricTransformationUnit']] + """ + The unit to assign to the metric. If you omit this, the unit is set as ``None``. + """ +elif False: + MetricFilterMetricTransformationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MetricFilterMetricTransformationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/logs/account_policy.py b/sdk/python/pulumi_aws_native/logs/account_policy.py index 8e88d68545..2410510da1 100644 --- a/sdk/python/pulumi_aws_native/logs/account_policy.py +++ b/sdk/python/pulumi_aws_native/logs/account_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/logs/delivery.py b/sdk/python/pulumi_aws_native/logs/delivery.py index ddedce60d3..6ff87ce10f 100644 --- a/sdk/python/pulumi_aws_native/logs/delivery.py +++ b/sdk/python/pulumi_aws_native/logs/delivery.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/logs/delivery_destination.py b/sdk/python/pulumi_aws_native/logs/delivery_destination.py index 4015ea87b6..a13b1cf246 100644 --- a/sdk/python/pulumi_aws_native/logs/delivery_destination.py +++ b/sdk/python/pulumi_aws_native/logs/delivery_destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/logs/delivery_source.py b/sdk/python/pulumi_aws_native/logs/delivery_source.py index 6169ebb305..df928683df 100644 --- a/sdk/python/pulumi_aws_native/logs/delivery_source.py +++ b/sdk/python/pulumi_aws_native/logs/delivery_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/logs/destination.py b/sdk/python/pulumi_aws_native/logs/destination.py index 78cd7af102..e4993ffb8e 100644 --- a/sdk/python/pulumi_aws_native/logs/destination.py +++ b/sdk/python/pulumi_aws_native/logs/destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DestinationArgs', 'Destination'] diff --git a/sdk/python/pulumi_aws_native/logs/get_account_policy.py b/sdk/python/pulumi_aws_native/logs/get_account_policy.py index 0637a8dff5..9c0425290f 100644 --- a/sdk/python/pulumi_aws_native/logs/get_account_policy.py +++ b/sdk/python/pulumi_aws_native/logs/get_account_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -108,9 +113,6 @@ def get_account_policy(account_id: Optional[str] = None, policy_document=pulumi.get(__ret__, 'policy_document'), scope=pulumi.get(__ret__, 'scope'), selection_criteria=pulumi.get(__ret__, 'selection_criteria')) - - -@_utilities.lift_output_func(get_account_policy) def get_account_policy_output(account_id: Optional[pulumi.Input[str]] = None, policy_name: Optional[pulumi.Input[str]] = None, policy_type: Optional[pulumi.Input['AccountPolicyPolicyType']] = None, @@ -123,4 +125,14 @@ def get_account_policy_output(account_id: Optional[pulumi.Input[str]] = None, :param str policy_name: The name of the account policy :param 'AccountPolicyPolicyType' policy_type: Type of the policy. """ - ... + __args__ = dict() + __args__['accountId'] = account_id + __args__['policyName'] = policy_name + __args__['policyType'] = policy_type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:logs:getAccountPolicy', __args__, opts=opts, typ=GetAccountPolicyResult) + return __ret__.apply(lambda __response__: GetAccountPolicyResult( + account_id=pulumi.get(__response__, 'account_id'), + policy_document=pulumi.get(__response__, 'policy_document'), + scope=pulumi.get(__response__, 'scope'), + selection_criteria=pulumi.get(__response__, 'selection_criteria'))) diff --git a/sdk/python/pulumi_aws_native/logs/get_delivery.py b/sdk/python/pulumi_aws_native/logs/get_delivery.py index 19af2384d7..8f54c7e846 100644 --- a/sdk/python/pulumi_aws_native/logs/get_delivery.py +++ b/sdk/python/pulumi_aws_native/logs/get_delivery.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -100,9 +105,6 @@ def get_delivery(delivery_id: Optional[str] = None, delivery_destination_type=pulumi.get(__ret__, 'delivery_destination_type'), delivery_id=pulumi.get(__ret__, 'delivery_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_delivery) def get_delivery_output(delivery_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeliveryResult]: """ @@ -115,4 +117,12 @@ def get_delivery_output(delivery_id: Optional[pulumi.Input[str]] = None, :param str delivery_id: The unique ID that identifies this delivery in your account. """ - ... + __args__ = dict() + __args__['deliveryId'] = delivery_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:logs:getDelivery', __args__, opts=opts, typ=GetDeliveryResult) + return __ret__.apply(lambda __response__: GetDeliveryResult( + arn=pulumi.get(__response__, 'arn'), + delivery_destination_type=pulumi.get(__response__, 'delivery_destination_type'), + delivery_id=pulumi.get(__response__, 'delivery_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/logs/get_delivery_destination.py b/sdk/python/pulumi_aws_native/logs/get_delivery_destination.py index 026b4be405..99f3d08bbc 100644 --- a/sdk/python/pulumi_aws_native/logs/get_delivery_destination.py +++ b/sdk/python/pulumi_aws_native/logs/get_delivery_destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -103,9 +108,6 @@ def get_delivery_destination(name: Optional[str] = None, delivery_destination_policy=pulumi.get(__ret__, 'delivery_destination_policy'), delivery_destination_type=pulumi.get(__ret__, 'delivery_destination_type'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_delivery_destination) def get_delivery_destination_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeliveryDestinationResult]: """ @@ -116,4 +118,12 @@ def get_delivery_destination_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of this delivery destination. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:logs:getDeliveryDestination', __args__, opts=opts, typ=GetDeliveryDestinationResult) + return __ret__.apply(lambda __response__: GetDeliveryDestinationResult( + arn=pulumi.get(__response__, 'arn'), + delivery_destination_policy=pulumi.get(__response__, 'delivery_destination_policy'), + delivery_destination_type=pulumi.get(__response__, 'delivery_destination_type'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/logs/get_delivery_source.py b/sdk/python/pulumi_aws_native/logs/get_delivery_source.py index 7be42bdc50..aede880b14 100644 --- a/sdk/python/pulumi_aws_native/logs/get_delivery_source.py +++ b/sdk/python/pulumi_aws_native/logs/get_delivery_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -111,9 +116,6 @@ def get_delivery_source(name: Optional[str] = None, resource_arns=pulumi.get(__ret__, 'resource_arns'), service=pulumi.get(__ret__, 'service'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_delivery_source) def get_delivery_source_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeliverySourceResult]: """ @@ -124,4 +126,13 @@ def get_delivery_source_output(name: Optional[pulumi.Input[str]] = None, :param str name: The unique name of the Log source. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:logs:getDeliverySource', __args__, opts=opts, typ=GetDeliverySourceResult) + return __ret__.apply(lambda __response__: GetDeliverySourceResult( + arn=pulumi.get(__response__, 'arn'), + log_type=pulumi.get(__response__, 'log_type'), + resource_arns=pulumi.get(__response__, 'resource_arns'), + service=pulumi.get(__response__, 'service'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/logs/get_destination.py b/sdk/python/pulumi_aws_native/logs/get_destination.py index 38eb996634..e676d7a560 100644 --- a/sdk/python/pulumi_aws_native/logs/get_destination.py +++ b/sdk/python/pulumi_aws_native/logs/get_destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -95,9 +100,6 @@ def get_destination(destination_name: Optional[str] = None, destination_policy=pulumi.get(__ret__, 'destination_policy'), role_arn=pulumi.get(__ret__, 'role_arn'), target_arn=pulumi.get(__ret__, 'target_arn')) - - -@_utilities.lift_output_func(get_destination) def get_destination_output(destination_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDestinationResult]: """ @@ -106,4 +108,12 @@ def get_destination_output(destination_name: Optional[pulumi.Input[str]] = None, :param str destination_name: The name of the destination resource """ - ... + __args__ = dict() + __args__['destinationName'] = destination_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:logs:getDestination', __args__, opts=opts, typ=GetDestinationResult) + return __ret__.apply(lambda __response__: GetDestinationResult( + arn=pulumi.get(__response__, 'arn'), + destination_policy=pulumi.get(__response__, 'destination_policy'), + role_arn=pulumi.get(__response__, 'role_arn'), + target_arn=pulumi.get(__response__, 'target_arn'))) diff --git a/sdk/python/pulumi_aws_native/logs/get_log_anomaly_detector.py b/sdk/python/pulumi_aws_native/logs/get_log_anomaly_detector.py index 07814fbbe1..c6fd00f9f6 100644 --- a/sdk/python/pulumi_aws_native/logs/get_log_anomaly_detector.py +++ b/sdk/python/pulumi_aws_native/logs/get_log_anomaly_detector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -174,9 +179,6 @@ def get_log_anomaly_detector(anomaly_detector_arn: Optional[str] = None, kms_key_id=pulumi.get(__ret__, 'kms_key_id'), last_modified_time_stamp=pulumi.get(__ret__, 'last_modified_time_stamp'), log_group_arn_list=pulumi.get(__ret__, 'log_group_arn_list')) - - -@_utilities.lift_output_func(get_log_anomaly_detector) def get_log_anomaly_detector_output(anomaly_detector_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogAnomalyDetectorResult]: """ @@ -185,4 +187,18 @@ def get_log_anomaly_detector_output(anomaly_detector_arn: Optional[pulumi.Input[ :param str anomaly_detector_arn: ARN of LogAnomalyDetector """ - ... + __args__ = dict() + __args__['anomalyDetectorArn'] = anomaly_detector_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:logs:getLogAnomalyDetector', __args__, opts=opts, typ=GetLogAnomalyDetectorResult) + return __ret__.apply(lambda __response__: GetLogAnomalyDetectorResult( + anomaly_detector_arn=pulumi.get(__response__, 'anomaly_detector_arn'), + anomaly_detector_status=pulumi.get(__response__, 'anomaly_detector_status'), + anomaly_visibility_time=pulumi.get(__response__, 'anomaly_visibility_time'), + creation_time_stamp=pulumi.get(__response__, 'creation_time_stamp'), + detector_name=pulumi.get(__response__, 'detector_name'), + evaluation_frequency=pulumi.get(__response__, 'evaluation_frequency'), + filter_pattern=pulumi.get(__response__, 'filter_pattern'), + kms_key_id=pulumi.get(__response__, 'kms_key_id'), + last_modified_time_stamp=pulumi.get(__response__, 'last_modified_time_stamp'), + log_group_arn_list=pulumi.get(__response__, 'log_group_arn_list'))) diff --git a/sdk/python/pulumi_aws_native/logs/get_log_group.py b/sdk/python/pulumi_aws_native/logs/get_log_group.py index d5cc6829ef..26a2fdfaba 100644 --- a/sdk/python/pulumi_aws_native/logs/get_log_group.py +++ b/sdk/python/pulumi_aws_native/logs/get_log_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -139,9 +144,6 @@ def get_log_group(log_group_name: Optional[str] = None, log_group_class=pulumi.get(__ret__, 'log_group_class'), retention_in_days=pulumi.get(__ret__, 'retention_in_days'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_log_group) def get_log_group_output(log_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogGroupResult]: """ @@ -154,4 +156,14 @@ def get_log_group_output(log_group_name: Optional[pulumi.Input[str]] = None, :param str log_group_name: The name of the log group. If you don't specify a name, CFNlong generates a unique ID for the log group. """ - ... + __args__ = dict() + __args__['logGroupName'] = log_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:logs:getLogGroup', __args__, opts=opts, typ=GetLogGroupResult) + return __ret__.apply(lambda __response__: GetLogGroupResult( + arn=pulumi.get(__response__, 'arn'), + data_protection_policy=pulumi.get(__response__, 'data_protection_policy'), + kms_key_id=pulumi.get(__response__, 'kms_key_id'), + log_group_class=pulumi.get(__response__, 'log_group_class'), + retention_in_days=pulumi.get(__response__, 'retention_in_days'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/logs/get_metric_filter.py b/sdk/python/pulumi_aws_native/logs/get_metric_filter.py index 41ce3559d0..64b3e61ea5 100644 --- a/sdk/python/pulumi_aws_native/logs/get_metric_filter.py +++ b/sdk/python/pulumi_aws_native/logs/get_metric_filter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -75,9 +80,6 @@ def get_metric_filter(filter_name: Optional[str] = None, return AwaitableGetMetricFilterResult( filter_pattern=pulumi.get(__ret__, 'filter_pattern'), metric_transformations=pulumi.get(__ret__, 'metric_transformations')) - - -@_utilities.lift_output_func(get_metric_filter) def get_metric_filter_output(filter_name: Optional[pulumi.Input[str]] = None, log_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMetricFilterResult]: @@ -89,4 +91,11 @@ def get_metric_filter_output(filter_name: Optional[pulumi.Input[str]] = None, :param str filter_name: The name of the metric filter. :param str log_group_name: The name of an existing log group that you want to associate with this metric filter. """ - ... + __args__ = dict() + __args__['filterName'] = filter_name + __args__['logGroupName'] = log_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:logs:getMetricFilter', __args__, opts=opts, typ=GetMetricFilterResult) + return __ret__.apply(lambda __response__: GetMetricFilterResult( + filter_pattern=pulumi.get(__response__, 'filter_pattern'), + metric_transformations=pulumi.get(__response__, 'metric_transformations'))) diff --git a/sdk/python/pulumi_aws_native/logs/get_query_definition.py b/sdk/python/pulumi_aws_native/logs/get_query_definition.py index 80a71bef35..daac2d3f25 100644 --- a/sdk/python/pulumi_aws_native/logs/get_query_definition.py +++ b/sdk/python/pulumi_aws_native/logs/get_query_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -95,9 +100,6 @@ def get_query_definition(query_definition_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), query_definition_id=pulumi.get(__ret__, 'query_definition_id'), query_string=pulumi.get(__ret__, 'query_string')) - - -@_utilities.lift_output_func(get_query_definition) def get_query_definition_output(query_definition_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetQueryDefinitionResult]: """ @@ -106,4 +108,12 @@ def get_query_definition_output(query_definition_id: Optional[pulumi.Input[str]] :param str query_definition_id: Unique identifier of a query definition """ - ... + __args__ = dict() + __args__['queryDefinitionId'] = query_definition_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:logs:getQueryDefinition', __args__, opts=opts, typ=GetQueryDefinitionResult) + return __ret__.apply(lambda __response__: GetQueryDefinitionResult( + log_group_names=pulumi.get(__response__, 'log_group_names'), + name=pulumi.get(__response__, 'name'), + query_definition_id=pulumi.get(__response__, 'query_definition_id'), + query_string=pulumi.get(__response__, 'query_string'))) diff --git a/sdk/python/pulumi_aws_native/logs/get_resource_policy.py b/sdk/python/pulumi_aws_native/logs/get_resource_policy.py index ab27ef9273..acbae87768 100644 --- a/sdk/python/pulumi_aws_native/logs/get_resource_policy.py +++ b/sdk/python/pulumi_aws_native/logs/get_resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_resource_policy(policy_name: Optional[str] = None, return AwaitableGetResourcePolicyResult( policy_document=pulumi.get(__ret__, 'policy_document')) - - -@_utilities.lift_output_func(get_resource_policy) def get_resource_policy_output(policy_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourcePolicyResult]: """ @@ -67,4 +69,9 @@ def get_resource_policy_output(policy_name: Optional[pulumi.Input[str]] = None, :param str policy_name: A name for resource policy """ - ... + __args__ = dict() + __args__['policyName'] = policy_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:logs:getResourcePolicy', __args__, opts=opts, typ=GetResourcePolicyResult) + return __ret__.apply(lambda __response__: GetResourcePolicyResult( + policy_document=pulumi.get(__response__, 'policy_document'))) diff --git a/sdk/python/pulumi_aws_native/logs/get_subscription_filter.py b/sdk/python/pulumi_aws_native/logs/get_subscription_filter.py index f292ee083f..9eff0c2094 100644 --- a/sdk/python/pulumi_aws_native/logs/get_subscription_filter.py +++ b/sdk/python/pulumi_aws_native/logs/get_subscription_filter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -105,9 +110,6 @@ def get_subscription_filter(filter_name: Optional[str] = None, distribution=pulumi.get(__ret__, 'distribution'), filter_pattern=pulumi.get(__ret__, 'filter_pattern'), role_arn=pulumi.get(__ret__, 'role_arn')) - - -@_utilities.lift_output_func(get_subscription_filter) def get_subscription_filter_output(filter_name: Optional[pulumi.Input[str]] = None, log_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubscriptionFilterResult]: @@ -124,4 +126,13 @@ def get_subscription_filter_output(filter_name: Optional[pulumi.Input[str]] = No :param str filter_name: The name of the subscription filter. :param str log_group_name: The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events. """ - ... + __args__ = dict() + __args__['filterName'] = filter_name + __args__['logGroupName'] = log_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:logs:getSubscriptionFilter', __args__, opts=opts, typ=GetSubscriptionFilterResult) + return __ret__.apply(lambda __response__: GetSubscriptionFilterResult( + destination_arn=pulumi.get(__response__, 'destination_arn'), + distribution=pulumi.get(__response__, 'distribution'), + filter_pattern=pulumi.get(__response__, 'filter_pattern'), + role_arn=pulumi.get(__response__, 'role_arn'))) diff --git a/sdk/python/pulumi_aws_native/logs/log_anomaly_detector.py b/sdk/python/pulumi_aws_native/logs/log_anomaly_detector.py index 7e4bff9554..7ed002216f 100644 --- a/sdk/python/pulumi_aws_native/logs/log_anomaly_detector.py +++ b/sdk/python/pulumi_aws_native/logs/log_anomaly_detector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/logs/log_group.py b/sdk/python/pulumi_aws_native/logs/log_group.py index de4b041df2..2e7e731de8 100644 --- a/sdk/python/pulumi_aws_native/logs/log_group.py +++ b/sdk/python/pulumi_aws_native/logs/log_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/logs/log_stream.py b/sdk/python/pulumi_aws_native/logs/log_stream.py index da1cfdf408..d5a5855731 100644 --- a/sdk/python/pulumi_aws_native/logs/log_stream.py +++ b/sdk/python/pulumi_aws_native/logs/log_stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['LogStreamArgs', 'LogStream'] diff --git a/sdk/python/pulumi_aws_native/logs/metric_filter.py b/sdk/python/pulumi_aws_native/logs/metric_filter.py index f76a5f5c09..0d4d335ae8 100644 --- a/sdk/python/pulumi_aws_native/logs/metric_filter.py +++ b/sdk/python/pulumi_aws_native/logs/metric_filter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/logs/outputs.py b/sdk/python/pulumi_aws_native/logs/outputs.py index 08a6f7d384..95a43f4e9a 100644 --- a/sdk/python/pulumi_aws_native/logs/outputs.py +++ b/sdk/python/pulumi_aws_native/logs/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/logs/query_definition.py b/sdk/python/pulumi_aws_native/logs/query_definition.py index c8b07a078c..8eef05101f 100644 --- a/sdk/python/pulumi_aws_native/logs/query_definition.py +++ b/sdk/python/pulumi_aws_native/logs/query_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['QueryDefinitionArgs', 'QueryDefinition'] diff --git a/sdk/python/pulumi_aws_native/logs/resource_policy.py b/sdk/python/pulumi_aws_native/logs/resource_policy.py index a09efb67c8..e68877acc8 100644 --- a/sdk/python/pulumi_aws_native/logs/resource_policy.py +++ b/sdk/python/pulumi_aws_native/logs/resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ResourcePolicyArgs', 'ResourcePolicy'] diff --git a/sdk/python/pulumi_aws_native/logs/subscription_filter.py b/sdk/python/pulumi_aws_native/logs/subscription_filter.py index 5cb94aa838..68cad0ce48 100644 --- a/sdk/python/pulumi_aws_native/logs/subscription_filter.py +++ b/sdk/python/pulumi_aws_native/logs/subscription_filter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lookoutmetrics/_inputs.py b/sdk/python/pulumi_aws_native/lookoutmetrics/_inputs.py index 5d3edf073f..7cd38d2d1f 100644 --- a/sdk/python/pulumi_aws_native/lookoutmetrics/_inputs.py +++ b/sdk/python/pulumi_aws_native/lookoutmetrics/_inputs.py @@ -4,32 +4,69 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AlertActionArgs', + 'AlertActionArgsDict', 'AlertLambdaConfigurationArgs', + 'AlertLambdaConfigurationArgsDict', 'AlertSnsConfigurationArgs', + 'AlertSnsConfigurationArgsDict', 'AnomalyDetectorAppFlowConfigArgs', + 'AnomalyDetectorAppFlowConfigArgsDict', 'AnomalyDetectorCloudwatchConfigArgs', + 'AnomalyDetectorCloudwatchConfigArgsDict', 'AnomalyDetectorConfigArgs', + 'AnomalyDetectorConfigArgsDict', 'AnomalyDetectorCsvFormatDescriptorArgs', + 'AnomalyDetectorCsvFormatDescriptorArgsDict', 'AnomalyDetectorFileFormatDescriptorArgs', + 'AnomalyDetectorFileFormatDescriptorArgsDict', 'AnomalyDetectorJsonFormatDescriptorArgs', + 'AnomalyDetectorJsonFormatDescriptorArgsDict', 'AnomalyDetectorMetricSetArgs', + 'AnomalyDetectorMetricSetArgsDict', 'AnomalyDetectorMetricSourceArgs', + 'AnomalyDetectorMetricSourceArgsDict', 'AnomalyDetectorMetricArgs', + 'AnomalyDetectorMetricArgsDict', 'AnomalyDetectorRdsSourceConfigArgs', + 'AnomalyDetectorRdsSourceConfigArgsDict', 'AnomalyDetectorRedshiftSourceConfigArgs', + 'AnomalyDetectorRedshiftSourceConfigArgsDict', 'AnomalyDetectorS3SourceConfigArgs', + 'AnomalyDetectorS3SourceConfigArgsDict', 'AnomalyDetectorTimestampColumnArgs', + 'AnomalyDetectorTimestampColumnArgsDict', 'AnomalyDetectorVpcConfigurationArgs', + 'AnomalyDetectorVpcConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class AlertActionArgsDict(TypedDict): + lambda_configuration: NotRequired[pulumi.Input['AlertLambdaConfigurationArgsDict']] + """ + A configuration for an AWS Lambda channel. + """ + sns_configuration: NotRequired[pulumi.Input['AlertSnsConfigurationArgsDict']] + """ + A configuration for an Amazon SNS channel. + """ +elif False: + AlertActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlertActionArgs: def __init__(__self__, *, @@ -69,6 +106,22 @@ def sns_configuration(self, value: Optional[pulumi.Input['AlertSnsConfigurationA pulumi.set(self, "sns_configuration", value) +if not MYPY: + class AlertLambdaConfigurationArgsDict(TypedDict): + """ + Configuration options for a Lambda alert action. + """ + lambda_arn: pulumi.Input[str] + """ + ARN of a Lambda to send alert notifications to. + """ + role_arn: pulumi.Input[str] + """ + ARN of an IAM role that LookoutMetrics should assume to access the Lambda function. + """ +elif False: + AlertLambdaConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlertLambdaConfigurationArgs: def __init__(__self__, *, @@ -107,6 +160,22 @@ def role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "role_arn", value) +if not MYPY: + class AlertSnsConfigurationArgsDict(TypedDict): + """ + Configuration options for an SNS alert action. + """ + role_arn: pulumi.Input[str] + """ + ARN of an IAM role that LookoutMetrics should assume to access the SNS topic. + """ + sns_topic_arn: pulumi.Input[str] + """ + ARN of an SNS topic to send alert notifications to. + """ +elif False: + AlertSnsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AlertSnsConfigurationArgs: def __init__(__self__, *, @@ -145,6 +214,19 @@ def sns_topic_arn(self, value: pulumi.Input[str]): pulumi.set(self, "sns_topic_arn", value) +if not MYPY: + class AnomalyDetectorAppFlowConfigArgsDict(TypedDict): + flow_name: pulumi.Input[str] + """ + name of the flow. + """ + role_arn: pulumi.Input[str] + """ + An IAM role that gives Amazon Lookout for Metrics permission to access the flow. + """ +elif False: + AnomalyDetectorAppFlowConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorAppFlowConfigArgs: def __init__(__self__, *, @@ -182,6 +264,15 @@ def role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "role_arn", value) +if not MYPY: + class AnomalyDetectorCloudwatchConfigArgsDict(TypedDict): + role_arn: pulumi.Input[str] + """ + An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch. + """ +elif False: + AnomalyDetectorCloudwatchConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorCloudwatchConfigArgs: def __init__(__self__, *, @@ -204,6 +295,15 @@ def role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "role_arn", value) +if not MYPY: + class AnomalyDetectorConfigArgsDict(TypedDict): + anomaly_detector_frequency: pulumi.Input['AnomalyDetectorFrequency'] + """ + Frequency of anomaly detection + """ +elif False: + AnomalyDetectorConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorConfigArgs: def __init__(__self__, *, @@ -226,6 +326,35 @@ def anomaly_detector_frequency(self, value: pulumi.Input['AnomalyDetectorFrequen pulumi.set(self, "anomaly_detector_frequency", value) +if not MYPY: + class AnomalyDetectorCsvFormatDescriptorArgsDict(TypedDict): + charset: NotRequired[pulumi.Input[str]] + """ + The character set in which the source CSV file is written. + """ + contains_header: NotRequired[pulumi.Input[bool]] + """ + Whether or not the source CSV file contains a header. + """ + delimiter: NotRequired[pulumi.Input[str]] + """ + The character used to delimit the source CSV file. + """ + file_compression: NotRequired[pulumi.Input['AnomalyDetectorCsvFormatDescriptorFileCompression']] + """ + The level of compression of the source CSV file. + """ + header_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the source CSV file's headers, if any. + """ + quote_symbol: NotRequired[pulumi.Input[str]] + """ + The character used as a quote character. + """ +elif False: + AnomalyDetectorCsvFormatDescriptorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorCsvFormatDescriptorArgs: def __init__(__self__, *, @@ -329,6 +458,19 @@ def quote_symbol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "quote_symbol", value) +if not MYPY: + class AnomalyDetectorFileFormatDescriptorArgsDict(TypedDict): + csv_format_descriptor: NotRequired[pulumi.Input['AnomalyDetectorCsvFormatDescriptorArgsDict']] + """ + Contains information about how a source CSV data file should be analyzed. + """ + json_format_descriptor: NotRequired[pulumi.Input['AnomalyDetectorJsonFormatDescriptorArgsDict']] + """ + Contains information about how a source JSON data file should be analyzed. + """ +elif False: + AnomalyDetectorFileFormatDescriptorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorFileFormatDescriptorArgs: def __init__(__self__, *, @@ -368,6 +510,19 @@ def json_format_descriptor(self, value: Optional[pulumi.Input['AnomalyDetectorJs pulumi.set(self, "json_format_descriptor", value) +if not MYPY: + class AnomalyDetectorJsonFormatDescriptorArgsDict(TypedDict): + charset: NotRequired[pulumi.Input[str]] + """ + The character set in which the source JSON file is written. + """ + file_compression: NotRequired[pulumi.Input['AnomalyDetectorJsonFormatDescriptorFileCompression']] + """ + The level of compression of the source CSV file. + """ +elif False: + AnomalyDetectorJsonFormatDescriptorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorJsonFormatDescriptorArgs: def __init__(__self__, *, @@ -407,6 +562,47 @@ def file_compression(self, value: Optional[pulumi.Input['AnomalyDetectorJsonForm pulumi.set(self, "file_compression", value) +if not MYPY: + class AnomalyDetectorMetricSetArgsDict(TypedDict): + metric_list: pulumi.Input[Sequence[pulumi.Input['AnomalyDetectorMetricArgsDict']]] + """ + Metrics captured by this MetricSet. + """ + metric_set_name: pulumi.Input[str] + """ + The name of the MetricSet. + """ + metric_source: pulumi.Input['AnomalyDetectorMetricSourceArgsDict'] + """ + Contains information about how the source data should be interpreted. + """ + dimension_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Dimensions for this MetricSet. + """ + metric_set_description: NotRequired[pulumi.Input[str]] + """ + A description for the MetricSet. + """ + metric_set_frequency: NotRequired[pulumi.Input['AnomalyDetectorMetricSetMetricSetFrequency']] + """ + A frequency period to aggregate the data + """ + offset: NotRequired[pulumi.Input[int]] + """ + Offset, in seconds, between the frequency interval and the time at which the metrics are available. + """ + timestamp_column: NotRequired[pulumi.Input['AnomalyDetectorTimestampColumnArgsDict']] + """ + Contains information about the column used for tracking time in your source data. + """ + timezone: NotRequired[pulumi.Input[str]] + """ + The time zone in which your source data was recorded. + """ +elif False: + AnomalyDetectorMetricSetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorMetricSetArgs: def __init__(__self__, *, @@ -555,6 +751,31 @@ def timezone(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "timezone", value) +if not MYPY: + class AnomalyDetectorMetricSourceArgsDict(TypedDict): + app_flow_config: NotRequired[pulumi.Input['AnomalyDetectorAppFlowConfigArgsDict']] + """ + Details about an AppFlow datasource. + """ + cloudwatch_config: NotRequired[pulumi.Input['AnomalyDetectorCloudwatchConfigArgsDict']] + """ + Details about an Amazon CloudWatch monitoring datasource. + """ + rds_source_config: NotRequired[pulumi.Input['AnomalyDetectorRdsSourceConfigArgsDict']] + """ + Details about an Amazon Relational Database Service (RDS) datasource. + """ + redshift_source_config: NotRequired[pulumi.Input['AnomalyDetectorRedshiftSourceConfigArgsDict']] + """ + Details about an Amazon Redshift database datasource. + """ + s3_source_config: NotRequired[pulumi.Input['AnomalyDetectorS3SourceConfigArgsDict']] + """ + Contains information about the configuration of the S3 bucket that contains source files. + """ +elif False: + AnomalyDetectorMetricSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorMetricSourceArgs: def __init__(__self__, *, @@ -642,6 +863,23 @@ def s3_source_config(self, value: Optional[pulumi.Input['AnomalyDetectorS3Source pulumi.set(self, "s3_source_config", value) +if not MYPY: + class AnomalyDetectorMetricArgsDict(TypedDict): + aggregation_function: pulumi.Input['AnomalyDetectorMetricAggregationFunction'] + """ + Operator used to aggregate metric values + """ + metric_name: pulumi.Input[str] + """ + The name of the metric. + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The namespace for the metric. + """ +elif False: + AnomalyDetectorMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorMetricArgs: def __init__(__self__, *, @@ -695,6 +933,43 @@ def namespace(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "namespace", value) +if not MYPY: + class AnomalyDetectorRdsSourceConfigArgsDict(TypedDict): + database_host: pulumi.Input[str] + """ + The host name of the database. + """ + database_name: pulumi.Input[str] + """ + The name of the RDS database. + """ + database_port: pulumi.Input[int] + """ + The port number where the database can be accessed. + """ + db_instance_identifier: pulumi.Input[str] + """ + A string identifying the database instance. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the role. + """ + secret_manager_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the AWS Secrets Manager role. + """ + table_name: pulumi.Input[str] + """ + The name of the table in the database. + """ + vpc_configuration: pulumi.Input['AnomalyDetectorVpcConfigurationArgsDict'] + """ + An object containing information about the Amazon Virtual Private Cloud (VPC) configuration. + """ +elif False: + AnomalyDetectorRdsSourceConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorRdsSourceConfigArgs: def __init__(__self__, *, @@ -822,6 +1097,43 @@ def vpc_configuration(self, value: pulumi.Input['AnomalyDetectorVpcConfiguration pulumi.set(self, "vpc_configuration", value) +if not MYPY: + class AnomalyDetectorRedshiftSourceConfigArgsDict(TypedDict): + cluster_identifier: pulumi.Input[str] + """ + A string identifying the Redshift cluster. + """ + database_host: pulumi.Input[str] + """ + The name of the database host. + """ + database_name: pulumi.Input[str] + """ + The Redshift database name. + """ + database_port: pulumi.Input[int] + """ + The port number where the database can be accessed. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the role providing access to the database. + """ + secret_manager_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the AWS Secrets Manager role. + """ + table_name: pulumi.Input[str] + """ + The table name of the Redshift database. + """ + vpc_configuration: pulumi.Input['AnomalyDetectorVpcConfigurationArgsDict'] + """ + Contains information about the Amazon Virtual Private Cloud (VPC) configuration. + """ +elif False: + AnomalyDetectorRedshiftSourceConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorRedshiftSourceConfigArgs: def __init__(__self__, *, @@ -949,6 +1261,27 @@ def vpc_configuration(self, value: pulumi.Input['AnomalyDetectorVpcConfiguration pulumi.set(self, "vpc_configuration", value) +if not MYPY: + class AnomalyDetectorS3SourceConfigArgsDict(TypedDict): + file_format_descriptor: pulumi.Input['AnomalyDetectorFileFormatDescriptorArgsDict'] + """ + Contains information about a source file's formatting. + """ + role_arn: pulumi.Input[str] + """ + The ARN of an IAM role that has read and write access permissions to the source S3 bucket. + """ + historical_data_path_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of paths to the historical data files. + """ + templated_path_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of templated paths to the source files. + """ +elif False: + AnomalyDetectorS3SourceConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorS3SourceConfigArgs: def __init__(__self__, *, @@ -1018,6 +1351,19 @@ def templated_path_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "templated_path_list", value) +if not MYPY: + class AnomalyDetectorTimestampColumnArgsDict(TypedDict): + column_format: NotRequired[pulumi.Input[str]] + """ + A timestamp format for the timestamps in the dataset + """ + column_name: NotRequired[pulumi.Input[str]] + """ + The name of the timestamp column. + """ +elif False: + AnomalyDetectorTimestampColumnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorTimestampColumnArgs: def __init__(__self__, *, @@ -1057,6 +1403,19 @@ def column_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "column_name", value) +if not MYPY: + class AnomalyDetectorVpcConfigurationArgsDict(TypedDict): + security_group_id_list: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + An array of strings containing the list of security groups. + """ + subnet_id_list: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + An array of strings containing the Amazon VPC subnet IDs (e.g., `subnet-0bb1c79de3EXAMPLE` . + """ +elif False: + AnomalyDetectorVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnomalyDetectorVpcConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/lookoutmetrics/alert.py b/sdk/python/pulumi_aws_native/lookoutmetrics/alert.py index c54bbe908c..d5d9c8bc14 100644 --- a/sdk/python/pulumi_aws_native/lookoutmetrics/alert.py +++ b/sdk/python/pulumi_aws_native/lookoutmetrics/alert.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/lookoutmetrics/anomaly_detector.py b/sdk/python/pulumi_aws_native/lookoutmetrics/anomaly_detector.py index dd6e3be77e..8549fc9e76 100644 --- a/sdk/python/pulumi_aws_native/lookoutmetrics/anomaly_detector.py +++ b/sdk/python/pulumi_aws_native/lookoutmetrics/anomaly_detector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lookoutmetrics/get_alert.py b/sdk/python/pulumi_aws_native/lookoutmetrics/get_alert.py index a8294926c2..913436c39f 100644 --- a/sdk/python/pulumi_aws_native/lookoutmetrics/get_alert.py +++ b/sdk/python/pulumi_aws_native/lookoutmetrics/get_alert.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_alert(arn: Optional[str] = None, return AwaitableGetAlertResult( arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_alert) def get_alert_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAlertResult]: """ @@ -67,4 +69,9 @@ def get_alert_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: ARN assigned to the alert. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lookoutmetrics:getAlert', __args__, opts=opts, typ=GetAlertResult) + return __ret__.apply(lambda __response__: GetAlertResult( + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/lookoutmetrics/get_anomaly_detector.py b/sdk/python/pulumi_aws_native/lookoutmetrics/get_anomaly_detector.py index 4b637ebb38..e7b83e540b 100644 --- a/sdk/python/pulumi_aws_native/lookoutmetrics/get_anomaly_detector.py +++ b/sdk/python/pulumi_aws_native/lookoutmetrics/get_anomaly_detector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -110,9 +115,6 @@ def get_anomaly_detector(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), kms_key_arn=pulumi.get(__ret__, 'kms_key_arn'), metric_set_list=pulumi.get(__ret__, 'metric_set_list')) - - -@_utilities.lift_output_func(get_anomaly_detector) def get_anomaly_detector_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAnomalyDetectorResult]: """ @@ -121,4 +123,13 @@ def get_anomaly_detector_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the detector. For example, `arn:aws:lookoutmetrics:us-east-2:123456789012:AnomalyDetector:my-detector` """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lookoutmetrics:getAnomalyDetector', __args__, opts=opts, typ=GetAnomalyDetectorResult) + return __ret__.apply(lambda __response__: GetAnomalyDetectorResult( + anomaly_detector_config=pulumi.get(__response__, 'anomaly_detector_config'), + anomaly_detector_description=pulumi.get(__response__, 'anomaly_detector_description'), + arn=pulumi.get(__response__, 'arn'), + kms_key_arn=pulumi.get(__response__, 'kms_key_arn'), + metric_set_list=pulumi.get(__response__, 'metric_set_list'))) diff --git a/sdk/python/pulumi_aws_native/lookoutmetrics/outputs.py b/sdk/python/pulumi_aws_native/lookoutmetrics/outputs.py index 36ca377cf3..8433881547 100644 --- a/sdk/python/pulumi_aws_native/lookoutmetrics/outputs.py +++ b/sdk/python/pulumi_aws_native/lookoutmetrics/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/lookoutvision/get_project.py b/sdk/python/pulumi_aws_native/lookoutvision/get_project.py index 8a2fc74813..3eae4f0105 100644 --- a/sdk/python/pulumi_aws_native/lookoutvision/get_project.py +++ b/sdk/python/pulumi_aws_native/lookoutvision/get_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_project(project_name: Optional[str] = None, return AwaitableGetProjectResult( arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_project) def get_project_output(project_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]: """ @@ -67,4 +69,9 @@ def get_project_output(project_name: Optional[pulumi.Input[str]] = None, :param str project_name: The name of the project. """ - ... + __args__ = dict() + __args__['projectName'] = project_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:lookoutvision:getProject', __args__, opts=opts, typ=GetProjectResult) + return __ret__.apply(lambda __response__: GetProjectResult( + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/lookoutvision/project.py b/sdk/python/pulumi_aws_native/lookoutvision/project.py index 40101f426a..45879c6af6 100644 --- a/sdk/python/pulumi_aws_native/lookoutvision/project.py +++ b/sdk/python/pulumi_aws_native/lookoutvision/project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ProjectArgs', 'Project'] diff --git a/sdk/python/pulumi_aws_native/m2/_inputs.py b/sdk/python/pulumi_aws_native/m2/_inputs.py index b6c064cf18..81a4b63265 100644 --- a/sdk/python/pulumi_aws_native/m2/_inputs.py +++ b/sdk/python/pulumi_aws_native/m2/_inputs.py @@ -4,19 +4,36 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ApplicationDefinition0PropertiesArgs', + 'ApplicationDefinition0PropertiesArgsDict', 'ApplicationDefinition1PropertiesArgs', + 'ApplicationDefinition1PropertiesArgsDict', 'EnvironmentHighAvailabilityConfigArgs', + 'EnvironmentHighAvailabilityConfigArgsDict', 'EnvironmentStorageConfigurationArgs', + 'EnvironmentStorageConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ApplicationDefinition0PropertiesArgsDict(TypedDict): + s3_location: pulumi.Input[str] +elif False: + ApplicationDefinition0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationDefinition0PropertiesArgs: def __init__(__self__, *, @@ -33,6 +50,12 @@ def s3_location(self, value: pulumi.Input[str]): pulumi.set(self, "s3_location", value) +if not MYPY: + class ApplicationDefinition1PropertiesArgsDict(TypedDict): + content: pulumi.Input[str] +elif False: + ApplicationDefinition1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationDefinition1PropertiesArgs: def __init__(__self__, *, @@ -49,6 +72,18 @@ def content(self, value: pulumi.Input[str]): pulumi.set(self, "content", value) +if not MYPY: + class EnvironmentHighAvailabilityConfigArgsDict(TypedDict): + """ + Defines the details of a high availability configuration. + """ + desired_capacity: pulumi.Input[int] + """ + The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100. + """ +elif False: + EnvironmentHighAvailabilityConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentHighAvailabilityConfigArgs: def __init__(__self__, *, @@ -72,6 +107,15 @@ def desired_capacity(self, value: pulumi.Input[int]): pulumi.set(self, "desired_capacity", value) +if not MYPY: + class EnvironmentStorageConfigurationArgsDict(TypedDict): + """ + Defines the storage configuration for an environment. + """ + pass +elif False: + EnvironmentStorageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentStorageConfigurationArgs: def __init__(__self__): diff --git a/sdk/python/pulumi_aws_native/m2/application.py b/sdk/python/pulumi_aws_native/m2/application.py index 01999a1260..9796881d32 100644 --- a/sdk/python/pulumi_aws_native/m2/application.py +++ b/sdk/python/pulumi_aws_native/m2/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/m2/environment.py b/sdk/python/pulumi_aws_native/m2/environment.py index da176575e8..dcee20ff32 100644 --- a/sdk/python/pulumi_aws_native/m2/environment.py +++ b/sdk/python/pulumi_aws_native/m2/environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/m2/get_application.py b/sdk/python/pulumi_aws_native/m2/get_application.py index a5a9566a9e..6086897429 100644 --- a/sdk/python/pulumi_aws_native/m2/get_application.py +++ b/sdk/python/pulumi_aws_native/m2/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -97,9 +102,6 @@ def get_application(application_arn: Optional[str] = None, application_id=pulumi.get(__ret__, 'application_id'), description=pulumi.get(__ret__, 'description'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -108,4 +110,12 @@ def get_application_output(application_arn: Optional[pulumi.Input[str]] = None, :param str application_arn: The Amazon Resource Name (ARN) of the application. """ - ... + __args__ = dict() + __args__['applicationArn'] = application_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:m2:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + application_arn=pulumi.get(__response__, 'application_arn'), + application_id=pulumi.get(__response__, 'application_id'), + description=pulumi.get(__response__, 'description'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/m2/get_environment.py b/sdk/python/pulumi_aws_native/m2/get_environment.py index 49dd238f4c..d9e2050e1b 100644 --- a/sdk/python/pulumi_aws_native/m2/get_environment.py +++ b/sdk/python/pulumi_aws_native/m2/get_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -135,9 +140,6 @@ def get_environment(environment_arn: Optional[str] = None, instance_type=pulumi.get(__ret__, 'instance_type'), preferred_maintenance_window=pulumi.get(__ret__, 'preferred_maintenance_window'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_environment) def get_environment_output(environment_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentResult]: """ @@ -146,4 +148,15 @@ def get_environment_output(environment_arn: Optional[pulumi.Input[str]] = None, :param str environment_arn: The Amazon Resource Name (ARN) of the runtime environment. """ - ... + __args__ = dict() + __args__['environmentArn'] = environment_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:m2:getEnvironment', __args__, opts=opts, typ=GetEnvironmentResult) + return __ret__.apply(lambda __response__: GetEnvironmentResult( + engine_version=pulumi.get(__response__, 'engine_version'), + environment_arn=pulumi.get(__response__, 'environment_arn'), + environment_id=pulumi.get(__response__, 'environment_id'), + high_availability_config=pulumi.get(__response__, 'high_availability_config'), + instance_type=pulumi.get(__response__, 'instance_type'), + preferred_maintenance_window=pulumi.get(__response__, 'preferred_maintenance_window'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/m2/outputs.py b/sdk/python/pulumi_aws_native/m2/outputs.py index 9cdc7243f4..100d4180ce 100644 --- a/sdk/python/pulumi_aws_native/m2/outputs.py +++ b/sdk/python/pulumi_aws_native/m2/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/macie/_inputs.py b/sdk/python/pulumi_aws_native/macie/_inputs.py index 2f5e5ee6c4..c07a748fb1 100644 --- a/sdk/python/pulumi_aws_native/macie/_inputs.py +++ b/sdk/python/pulumi_aws_native/macie/_inputs.py @@ -4,18 +4,37 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AllowListCriteriaArgs', + 'AllowListCriteriaArgsDict', 'FindingsFilterCriterionAdditionalPropertiesArgs', + 'FindingsFilterCriterionAdditionalPropertiesArgsDict', 'FindingsFilterFindingCriteriaArgs', + 'FindingsFilterFindingCriteriaArgsDict', ] +MYPY = False + +if not MYPY: + class AllowListCriteriaArgsDict(TypedDict): + """ + The regex or s3 object to use for the AllowList. + """ + pass +elif False: + AllowListCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AllowListCriteriaArgs: def __init__(__self__): @@ -25,6 +44,35 @@ def __init__(__self__): pass +if not MYPY: + class FindingsFilterCriterionAdditionalPropertiesArgsDict(TypedDict): + eq: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The value for the specified property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values. + """ + gt: NotRequired[pulumi.Input[int]] + """ + The value for the specified property is greater than the specified value. + """ + gte: NotRequired[pulumi.Input[int]] + """ + The value for the specified property is greater than or equal to the specified value. + """ + lt: NotRequired[pulumi.Input[int]] + """ + The value for the specified property is less than the specified value. + """ + lte: NotRequired[pulumi.Input[int]] + """ + The value for the specified property is less than or equal to the specified value. + """ + neq: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The value for the specified property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values. + """ +elif False: + FindingsFilterCriterionAdditionalPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FindingsFilterCriterionAdditionalPropertiesArgs: def __init__(__self__, *, @@ -128,6 +176,15 @@ def neq(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "neq", value) +if not MYPY: + class FindingsFilterFindingCriteriaArgsDict(TypedDict): + criterion: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['FindingsFilterCriterionAdditionalPropertiesArgsDict']]]] + """ + Specifies a condition that defines the property, operator, and one or more values to use to filter the results. + """ +elif False: + FindingsFilterFindingCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FindingsFilterFindingCriteriaArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/macie/allow_list.py b/sdk/python/pulumi_aws_native/macie/allow_list.py index 8e859295b3..b23c0895a2 100644 --- a/sdk/python/pulumi_aws_native/macie/allow_list.py +++ b/sdk/python/pulumi_aws_native/macie/allow_list.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/macie/custom_data_identifier.py b/sdk/python/pulumi_aws_native/macie/custom_data_identifier.py index 41e2e831c4..105438451b 100644 --- a/sdk/python/pulumi_aws_native/macie/custom_data_identifier.py +++ b/sdk/python/pulumi_aws_native/macie/custom_data_identifier.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/macie/findings_filter.py b/sdk/python/pulumi_aws_native/macie/findings_filter.py index 0251dfb877..97b878a77e 100644 --- a/sdk/python/pulumi_aws_native/macie/findings_filter.py +++ b/sdk/python/pulumi_aws_native/macie/findings_filter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/macie/get_allow_list.py b/sdk/python/pulumi_aws_native/macie/get_allow_list.py index 0289fba41e..353567f40b 100644 --- a/sdk/python/pulumi_aws_native/macie/get_allow_list.py +++ b/sdk/python/pulumi_aws_native/macie/get_allow_list.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_allow_list(id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_allow_list) def get_allow_list_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAllowListResult]: """ @@ -148,4 +150,15 @@ def get_allow_list_output(id: Optional[pulumi.Input[str]] = None, :param str id: AllowList ID. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:macie:getAllowList', __args__, opts=opts, typ=GetAllowListResult) + return __ret__.apply(lambda __response__: GetAllowListResult( + arn=pulumi.get(__response__, 'arn'), + criteria=pulumi.get(__response__, 'criteria'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/macie/get_custom_data_identifier.py b/sdk/python/pulumi_aws_native/macie/get_custom_data_identifier.py index 6a31d75e04..cbb824af60 100644 --- a/sdk/python/pulumi_aws_native/macie/get_custom_data_identifier.py +++ b/sdk/python/pulumi_aws_native/macie/get_custom_data_identifier.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_custom_data_identifier(id: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_custom_data_identifier) def get_custom_data_identifier_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCustomDataIdentifierResult]: """ @@ -94,4 +96,11 @@ def get_custom_data_identifier_output(id: Optional[pulumi.Input[str]] = None, :param str id: Custom data identifier ID. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:macie:getCustomDataIdentifier', __args__, opts=opts, typ=GetCustomDataIdentifierResult) + return __ret__.apply(lambda __response__: GetCustomDataIdentifierResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/macie/get_findings_filter.py b/sdk/python/pulumi_aws_native/macie/get_findings_filter.py index c0fdc05b31..838e99ab79 100644 --- a/sdk/python/pulumi_aws_native/macie/get_findings_filter.py +++ b/sdk/python/pulumi_aws_native/macie/get_findings_filter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_findings_filter(id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), position=pulumi.get(__ret__, 'position'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_findings_filter) def get_findings_filter_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFindingsFilterResult]: """ @@ -161,4 +163,16 @@ def get_findings_filter_output(id: Optional[pulumi.Input[str]] = None, :param str id: Findings filter ID. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:macie:getFindingsFilter', __args__, opts=opts, typ=GetFindingsFilterResult) + return __ret__.apply(lambda __response__: GetFindingsFilterResult( + action=pulumi.get(__response__, 'action'), + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + finding_criteria=pulumi.get(__response__, 'finding_criteria'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + position=pulumi.get(__response__, 'position'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/macie/get_session.py b/sdk/python/pulumi_aws_native/macie/get_session.py index 66fd20b958..ac887d94d7 100644 --- a/sdk/python/pulumi_aws_native/macie/get_session.py +++ b/sdk/python/pulumi_aws_native/macie/get_session.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -96,9 +101,6 @@ def get_session(aws_account_id: Optional[str] = None, finding_publishing_frequency=pulumi.get(__ret__, 'finding_publishing_frequency'), service_role=pulumi.get(__ret__, 'service_role'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_session) def get_session_output(aws_account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSessionResult]: """ @@ -107,4 +109,12 @@ def get_session_output(aws_account_id: Optional[pulumi.Input[str]] = None, :param str aws_account_id: AWS account ID of customer """ - ... + __args__ = dict() + __args__['awsAccountId'] = aws_account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:macie:getSession', __args__, opts=opts, typ=GetSessionResult) + return __ret__.apply(lambda __response__: GetSessionResult( + aws_account_id=pulumi.get(__response__, 'aws_account_id'), + finding_publishing_frequency=pulumi.get(__response__, 'finding_publishing_frequency'), + service_role=pulumi.get(__response__, 'service_role'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/macie/outputs.py b/sdk/python/pulumi_aws_native/macie/outputs.py index bc20e9428c..4f7718f1c1 100644 --- a/sdk/python/pulumi_aws_native/macie/outputs.py +++ b/sdk/python/pulumi_aws_native/macie/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/macie/session.py b/sdk/python/pulumi_aws_native/macie/session.py index 1e42789579..67f738c3f8 100644 --- a/sdk/python/pulumi_aws_native/macie/session.py +++ b/sdk/python/pulumi_aws_native/macie/session.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediaconnect/_inputs.py b/sdk/python/pulumi_aws_native/mediaconnect/_inputs.py index a5bbc5f782..9833f1bfeb 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/_inputs.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/_inputs.py @@ -4,55 +4,111 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'BridgeEgressGatewayBridgeArgs', + 'BridgeEgressGatewayBridgeArgsDict', 'BridgeFailoverConfigArgs', + 'BridgeFailoverConfigArgsDict', 'BridgeFlowSourceArgs', + 'BridgeFlowSourceArgsDict', 'BridgeIngressGatewayBridgeArgs', + 'BridgeIngressGatewayBridgeArgsDict', 'BridgeNetworkOutputArgs', + 'BridgeNetworkOutputArgsDict', 'BridgeNetworkSourceArgs', + 'BridgeNetworkSourceArgsDict', 'BridgeOutputResourceBridgeNetworkOutputArgs', + 'BridgeOutputResourceBridgeNetworkOutputArgsDict', 'BridgeOutputArgs', + 'BridgeOutputArgsDict', 'BridgeSourceBridgeFlowSourceArgs', + 'BridgeSourceBridgeFlowSourceArgsDict', 'BridgeSourceBridgeNetworkSourceArgs', + 'BridgeSourceBridgeNetworkSourceArgsDict', 'BridgeSourcePriorityArgs', + 'BridgeSourcePriorityArgsDict', 'BridgeSourceVpcInterfaceAttachmentArgs', + 'BridgeSourceVpcInterfaceAttachmentArgsDict', 'BridgeSourceArgs', + 'BridgeSourceArgsDict', 'BridgeVpcInterfaceAttachmentArgs', + 'BridgeVpcInterfaceAttachmentArgsDict', 'FlowEncryptionArgs', + 'FlowEncryptionArgsDict', 'FlowEntitlementEncryptionArgs', + 'FlowEntitlementEncryptionArgsDict', 'FlowFailoverConfigSourcePriorityPropertiesArgs', + 'FlowFailoverConfigSourcePriorityPropertiesArgsDict', 'FlowFailoverConfigArgs', + 'FlowFailoverConfigArgsDict', 'FlowFmtpArgs', + 'FlowFmtpArgsDict', 'FlowGatewayBridgeSourceArgs', + 'FlowGatewayBridgeSourceArgsDict', 'FlowInputConfigurationArgs', + 'FlowInputConfigurationArgsDict', 'FlowInterfaceArgs', + 'FlowInterfaceArgsDict', 'FlowMaintenanceArgs', + 'FlowMaintenanceArgsDict', 'FlowMediaStreamAttributesArgs', + 'FlowMediaStreamAttributesArgsDict', 'FlowMediaStreamSourceConfigurationArgs', + 'FlowMediaStreamSourceConfigurationArgsDict', 'FlowMediaStreamArgs', + 'FlowMediaStreamArgsDict', 'FlowOutputDestinationConfigurationArgs', + 'FlowOutputDestinationConfigurationArgsDict', 'FlowOutputEncodingParametersArgs', + 'FlowOutputEncodingParametersArgsDict', 'FlowOutputEncryptionArgs', + 'FlowOutputEncryptionArgsDict', 'FlowOutputInterfaceArgs', + 'FlowOutputInterfaceArgsDict', 'FlowOutputMediaStreamOutputConfigurationArgs', + 'FlowOutputMediaStreamOutputConfigurationArgsDict', 'FlowOutputVpcInterfaceAttachmentArgs', + 'FlowOutputVpcInterfaceAttachmentArgsDict', 'FlowSourceEncryptionArgs', + 'FlowSourceEncryptionArgsDict', 'FlowSourceGatewayBridgeSourceArgs', + 'FlowSourceGatewayBridgeSourceArgsDict', 'FlowSourceMonitoringConfigArgs', + 'FlowSourceMonitoringConfigArgsDict', 'FlowSourceVpcInterfaceAttachmentArgs', + 'FlowSourceVpcInterfaceAttachmentArgsDict', 'FlowSourceArgs', + 'FlowSourceArgsDict', 'FlowVpcInterfaceAttachmentArgs', + 'FlowVpcInterfaceAttachmentArgsDict', 'FlowVpcInterfaceArgs', + 'FlowVpcInterfaceArgsDict', 'GatewayNetworkArgs', + 'GatewayNetworkArgsDict', ] +MYPY = False + +if not MYPY: + class BridgeEgressGatewayBridgeArgsDict(TypedDict): + max_bitrate: pulumi.Input[int] + """ + The maximum expected bitrate of the egress bridge. + """ +elif False: + BridgeEgressGatewayBridgeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeEgressGatewayBridgeArgs: def __init__(__self__, *, @@ -75,6 +131,26 @@ def max_bitrate(self, value: pulumi.Input[int]): pulumi.set(self, "max_bitrate", value) +if not MYPY: + class BridgeFailoverConfigArgsDict(TypedDict): + """ + The settings for source failover. + """ + failover_mode: pulumi.Input['BridgeFailoverModeEnum'] + """ + The type of failover you choose for this flow. FAILOVER allows switching between different streams. + """ + source_priority: NotRequired[pulumi.Input['BridgeSourcePriorityArgsDict']] + """ + The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams. + """ + state: NotRequired[pulumi.Input['BridgeFailoverConfigStateEnum']] + """ + The state of source failover on the flow. If the state is inactive, the flow can have only one source. If the state is active, the flow can have one or two sources. + """ +elif False: + BridgeFailoverConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeFailoverConfigArgs: def __init__(__self__, *, @@ -130,6 +206,26 @@ def state(self, value: Optional[pulumi.Input['BridgeFailoverConfigStateEnum']]): pulumi.set(self, "state", value) +if not MYPY: + class BridgeFlowSourceArgsDict(TypedDict): + """ + The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow. + """ + flow_arn: pulumi.Input[str] + """ + The ARN of the cloud flow used as a source of this bridge. + """ + name: pulumi.Input[str] + """ + The name of the flow source. + """ + flow_vpc_interface_attachment: NotRequired[pulumi.Input['BridgeVpcInterfaceAttachmentArgsDict']] + """ + The name of the VPC interface attachment to use for this source. + """ +elif False: + BridgeFlowSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeFlowSourceArgs: def __init__(__self__, *, @@ -184,6 +280,19 @@ def flow_vpc_interface_attachment(self, value: Optional[pulumi.Input['BridgeVpcI pulumi.set(self, "flow_vpc_interface_attachment", value) +if not MYPY: + class BridgeIngressGatewayBridgeArgsDict(TypedDict): + max_bitrate: pulumi.Input[int] + """ + The maximum expected bitrate of the ingress bridge. + """ + max_outputs: pulumi.Input[int] + """ + The maximum number of outputs on the ingress bridge. + """ +elif False: + BridgeIngressGatewayBridgeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeIngressGatewayBridgeArgs: def __init__(__self__, *, @@ -221,6 +330,38 @@ def max_outputs(self, value: pulumi.Input[int]): pulumi.set(self, "max_outputs", value) +if not MYPY: + class BridgeNetworkOutputArgsDict(TypedDict): + """ + The output of the bridge. A network output is delivered to your premises. + """ + ip_address: pulumi.Input[str] + """ + The network output IP Address. + """ + name: pulumi.Input[str] + """ + The network output name. + """ + network_name: pulumi.Input[str] + """ + The network output's gateway network name. + """ + port: pulumi.Input[int] + """ + The network output port. + """ + protocol: pulumi.Input['BridgeProtocolEnum'] + """ + The network output protocol. + """ + ttl: pulumi.Input[int] + """ + The network output TTL. + """ +elif False: + BridgeNetworkOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeNetworkOutputArgs: def __init__(__self__, *, @@ -319,6 +460,34 @@ def ttl(self, value: pulumi.Input[int]): pulumi.set(self, "ttl", value) +if not MYPY: + class BridgeNetworkSourceArgsDict(TypedDict): + """ + The source of the bridge. A network source originates at your premises. + """ + multicast_ip: pulumi.Input[str] + """ + The network source multicast IP. + """ + name: pulumi.Input[str] + """ + The name of the network source. + """ + network_name: pulumi.Input[str] + """ + The network source's gateway network name. + """ + port: pulumi.Input[int] + """ + The network source port. + """ + protocol: pulumi.Input['BridgeProtocolEnum'] + """ + The network source protocol. + """ +elif False: + BridgeNetworkSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeNetworkSourceArgs: def __init__(__self__, *, @@ -402,6 +571,34 @@ def protocol(self, value: pulumi.Input['BridgeProtocolEnum']): pulumi.set(self, "protocol", value) +if not MYPY: + class BridgeOutputResourceBridgeNetworkOutputArgsDict(TypedDict): + """ + The output of the bridge. A network output is delivered to your premises. + """ + ip_address: pulumi.Input[str] + """ + The network output IP Address. + """ + network_name: pulumi.Input[str] + """ + The network output's gateway network name. + """ + port: pulumi.Input[int] + """ + The network output port. + """ + protocol: pulumi.Input['BridgeOutputResourceBridgeNetworkOutputProtocol'] + """ + The network output protocol. + """ + ttl: pulumi.Input[int] + """ + The network output TTL. + """ +elif False: + BridgeOutputResourceBridgeNetworkOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeOutputResourceBridgeNetworkOutputArgs: def __init__(__self__, *, @@ -485,6 +682,18 @@ def ttl(self, value: pulumi.Input[int]): pulumi.set(self, "ttl", value) +if not MYPY: + class BridgeOutputArgsDict(TypedDict): + """ + The output of the bridge. + """ + network_output: NotRequired[pulumi.Input['BridgeNetworkOutputArgsDict']] + """ + The output of the bridge. A network output is delivered to your premises. + """ +elif False: + BridgeOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeOutputArgs: def __init__(__self__, *, @@ -509,6 +718,22 @@ def network_output(self, value: Optional[pulumi.Input['BridgeNetworkOutputArgs'] pulumi.set(self, "network_output", value) +if not MYPY: + class BridgeSourceBridgeFlowSourceArgsDict(TypedDict): + """ + The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow. + """ + flow_arn: pulumi.Input[str] + """ + The ARN of the cloud flow used as a source of this bridge. + """ + flow_vpc_interface_attachment: NotRequired[pulumi.Input['BridgeSourceVpcInterfaceAttachmentArgsDict']] + """ + The name of the VPC interface attachment to use for this source. + """ +elif False: + BridgeSourceBridgeFlowSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeSourceBridgeFlowSourceArgs: def __init__(__self__, *, @@ -548,6 +773,30 @@ def flow_vpc_interface_attachment(self, value: Optional[pulumi.Input['BridgeSour pulumi.set(self, "flow_vpc_interface_attachment", value) +if not MYPY: + class BridgeSourceBridgeNetworkSourceArgsDict(TypedDict): + """ + The source of the bridge. A network source originates at your premises. + """ + multicast_ip: pulumi.Input[str] + """ + The network source multicast IP. + """ + network_name: pulumi.Input[str] + """ + The network source's gateway network name. + """ + port: pulumi.Input[int] + """ + The network source port. + """ + protocol: pulumi.Input['BridgeSourceProtocolEnum'] + """ + The network source protocol. + """ +elif False: + BridgeSourceBridgeNetworkSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeSourceBridgeNetworkSourceArgs: def __init__(__self__, *, @@ -616,6 +865,18 @@ def protocol(self, value: pulumi.Input['BridgeSourceProtocolEnum']): pulumi.set(self, "protocol", value) +if not MYPY: + class BridgeSourcePriorityArgsDict(TypedDict): + """ + The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams. + """ + primary_source: NotRequired[pulumi.Input[str]] + """ + The name of the source you choose as the primary source for this flow. + """ +elif False: + BridgeSourcePriorityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeSourcePriorityArgs: def __init__(__self__, *, @@ -640,6 +901,18 @@ def primary_source(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "primary_source", value) +if not MYPY: + class BridgeSourceVpcInterfaceAttachmentArgsDict(TypedDict): + """ + The settings for attaching a VPC interface to an resource. + """ + vpc_interface_name: NotRequired[pulumi.Input[str]] + """ + The name of the VPC interface to use for this resource. + """ +elif False: + BridgeSourceVpcInterfaceAttachmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeSourceVpcInterfaceAttachmentArgs: def __init__(__self__, *, @@ -664,6 +937,22 @@ def vpc_interface_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_interface_name", value) +if not MYPY: + class BridgeSourceArgsDict(TypedDict): + """ + The bridge's source. + """ + flow_source: NotRequired[pulumi.Input['BridgeFlowSourceArgsDict']] + """ + The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow. + """ + network_source: NotRequired[pulumi.Input['BridgeNetworkSourceArgsDict']] + """ + The source of the bridge. A network source originates at your premises. + """ +elif False: + BridgeSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeSourceArgs: def __init__(__self__, *, @@ -704,6 +993,18 @@ def network_source(self, value: Optional[pulumi.Input['BridgeNetworkSourceArgs'] pulumi.set(self, "network_source", value) +if not MYPY: + class BridgeVpcInterfaceAttachmentArgsDict(TypedDict): + """ + The settings for attaching a VPC interface to an resource. + """ + vpc_interface_name: NotRequired[pulumi.Input[str]] + """ + The name of the VPC interface to use for this resource. + """ +elif False: + BridgeVpcInterfaceAttachmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BridgeVpcInterfaceAttachmentArgs: def __init__(__self__, *, @@ -728,6 +1029,50 @@ def vpc_interface_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_interface_name", value) +if not MYPY: + class FlowEncryptionArgsDict(TypedDict): + """ + Information about the encryption of the flow. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity). + """ + algorithm: NotRequired[pulumi.Input['FlowEncryptionAlgorithm']] + """ + The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256). + """ + constant_initialization_vector: NotRequired[pulumi.Input[str]] + """ + A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption. + """ + device_id: NotRequired[pulumi.Input[str]] + """ + The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ + key_type: NotRequired[pulumi.Input['FlowEncryptionKeyType']] + """ + The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key). + """ + region: NotRequired[pulumi.Input[str]] + """ + The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ + resource_id: NotRequired[pulumi.Input[str]] + """ + An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ + secret_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption. + """ + url: NotRequired[pulumi.Input[str]] + """ + The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ +elif False: + FlowEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowEncryptionArgs: def __init__(__self__, *, @@ -879,6 +1224,50 @@ def url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url", value) +if not MYPY: + class FlowEntitlementEncryptionArgsDict(TypedDict): + """ + Information about the encryption of the flow. + """ + algorithm: pulumi.Input['FlowEntitlementEncryptionAlgorithm'] + """ + The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256). + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity). + """ + constant_initialization_vector: NotRequired[pulumi.Input[str]] + """ + A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption. + """ + device_id: NotRequired[pulumi.Input[str]] + """ + The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ + key_type: NotRequired[pulumi.Input['FlowEntitlementEncryptionKeyType']] + """ + The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key). + """ + region: NotRequired[pulumi.Input[str]] + """ + The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ + resource_id: NotRequired[pulumi.Input[str]] + """ + An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ + secret_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption. + """ + url: NotRequired[pulumi.Input[str]] + """ + The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ +elif False: + FlowEntitlementEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowEntitlementEncryptionArgs: def __init__(__self__, *, @@ -1029,6 +1418,18 @@ def url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url", value) +if not MYPY: + class FlowFailoverConfigSourcePriorityPropertiesArgsDict(TypedDict): + """ + The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams. + """ + primary_source: pulumi.Input[str] + """ + The name of the source you choose as the primary source for this flow. + """ +elif False: + FlowFailoverConfigSourcePriorityPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowFailoverConfigSourcePriorityPropertiesArgs: def __init__(__self__, *, @@ -1052,6 +1453,30 @@ def primary_source(self, value: pulumi.Input[str]): pulumi.set(self, "primary_source", value) +if not MYPY: + class FlowFailoverConfigArgsDict(TypedDict): + """ + The settings for source failover + """ + failover_mode: NotRequired[pulumi.Input['FlowFailoverConfigFailoverMode']] + """ + The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams. + """ + recovery_window: NotRequired[pulumi.Input[int]] + """ + Search window time to look for dash-7 packets + """ + source_priority: NotRequired[pulumi.Input['FlowFailoverConfigSourcePriorityPropertiesArgsDict']] + """ + The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams. + """ + state: NotRequired[pulumi.Input['FlowFailoverConfigState']] + """ + The state of source failover on the flow. If the state is inactive, the flow can have only one source. If the state is active, the flow can have one or two sources. + """ +elif False: + FlowFailoverConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowFailoverConfigArgs: def __init__(__self__, *, @@ -1124,6 +1549,42 @@ def state(self, value: Optional[pulumi.Input['FlowFailoverConfigState']]): pulumi.set(self, "state", value) +if not MYPY: + class FlowFmtpArgsDict(TypedDict): + """ + A set of parameters that define the media stream. + """ + channel_order: NotRequired[pulumi.Input[str]] + """ + The format of the audio channel. + """ + colorimetry: NotRequired[pulumi.Input['FlowFmtpColorimetry']] + """ + The format used for the representation of color. + """ + exact_framerate: NotRequired[pulumi.Input[str]] + """ + The frame rate for the video stream, in frames/second. For example: 60000/1001. + """ + par: NotRequired[pulumi.Input[str]] + """ + The pixel aspect ratio (PAR) of the video. + """ + range: NotRequired[pulumi.Input['FlowFmtpRange']] + """ + The encoding range of the video. + """ + scan_mode: NotRequired[pulumi.Input['FlowFmtpScanMode']] + """ + The type of compression that was used to smooth the video's appearance. + """ + tcs: NotRequired[pulumi.Input['FlowFmtpTcs']] + """ + The transfer characteristic system (TCS) that is used in the video. + """ +elif False: + FlowFmtpArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowFmtpArgs: def __init__(__self__, *, @@ -1244,6 +1705,22 @@ def tcs(self, value: Optional[pulumi.Input['FlowFmtpTcs']]): pulumi.set(self, "tcs", value) +if not MYPY: + class FlowGatewayBridgeSourceArgsDict(TypedDict): + """ + The source configuration for cloud flows receiving a stream from a bridge. + """ + bridge_arn: pulumi.Input[str] + """ + The ARN of the bridge feeding this flow. + """ + vpc_interface_attachment: NotRequired[pulumi.Input['FlowVpcInterfaceAttachmentArgsDict']] + """ + The name of the VPC interface attachment to use for this bridge source. + """ +elif False: + FlowGatewayBridgeSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowGatewayBridgeSourceArgs: def __init__(__self__, *, @@ -1283,6 +1760,22 @@ def vpc_interface_attachment(self, value: Optional[pulumi.Input['FlowVpcInterfac pulumi.set(self, "vpc_interface_attachment", value) +if not MYPY: + class FlowInputConfigurationArgsDict(TypedDict): + """ + The transport parameters associated with an incoming media stream. + """ + input_port: pulumi.Input[int] + """ + The port that the flow listens on for an incoming media stream. + """ + interface: pulumi.Input['FlowInterfaceArgsDict'] + """ + The VPC interface where the media stream comes in from. + """ +elif False: + FlowInputConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowInputConfigurationArgs: def __init__(__self__, *, @@ -1321,6 +1814,18 @@ def interface(self, value: pulumi.Input['FlowInterfaceArgs']): pulumi.set(self, "interface", value) +if not MYPY: + class FlowInterfaceArgsDict(TypedDict): + """ + The VPC interface that you want to use for the media stream associated with the output. + """ + name: pulumi.Input[str] + """ + The name of the VPC interface that you want to use for the media stream associated with the output. + """ +elif False: + FlowInterfaceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowInterfaceArgs: def __init__(__self__, *, @@ -1344,6 +1849,22 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class FlowMaintenanceArgsDict(TypedDict): + """ + The maintenance setting of a flow. + """ + maintenance_day: pulumi.Input['FlowMaintenanceMaintenanceDay'] + """ + A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday. + """ + maintenance_start_hour: pulumi.Input[str] + """ + UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00. + """ +elif False: + FlowMaintenanceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowMaintenanceArgs: def __init__(__self__, *, @@ -1382,6 +1903,22 @@ def maintenance_start_hour(self, value: pulumi.Input[str]): pulumi.set(self, "maintenance_start_hour", value) +if not MYPY: + class FlowMediaStreamAttributesArgsDict(TypedDict): + """ + Attributes that are related to the media stream. + """ + fmtp: NotRequired[pulumi.Input['FlowFmtpArgsDict']] + """ + A set of parameters that define the media stream. + """ + lang: NotRequired[pulumi.Input[str]] + """ + The audio language, in a format that is recognized by the receiver. + """ +elif False: + FlowMediaStreamAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowMediaStreamAttributesArgs: def __init__(__self__, *, @@ -1422,6 +1959,26 @@ def lang(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "lang", value) +if not MYPY: + class FlowMediaStreamSourceConfigurationArgsDict(TypedDict): + """ + The media stream that is associated with the source, and the parameters for that association. + """ + encoding_name: pulumi.Input['FlowMediaStreamSourceConfigurationEncodingName'] + """ + The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv. + """ + media_stream_name: pulumi.Input[str] + """ + A name that helps you distinguish one media stream from another. + """ + input_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['FlowInputConfigurationArgsDict']]]] + """ + The media streams that you want to associate with the source. + """ +elif False: + FlowMediaStreamSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowMediaStreamSourceConfigurationArgs: def __init__(__self__, *, @@ -1455,26 +2012,66 @@ def encoding_name(self, value: pulumi.Input['FlowMediaStreamSourceConfigurationE @pulumi.getter(name="mediaStreamName") def media_stream_name(self) -> pulumi.Input[str]: """ - A name that helps you distinguish one media stream from another. + A name that helps you distinguish one media stream from another. + """ + return pulumi.get(self, "media_stream_name") + + @media_stream_name.setter + def media_stream_name(self, value: pulumi.Input[str]): + pulumi.set(self, "media_stream_name", value) + + @property + @pulumi.getter(name="inputConfigurations") + def input_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FlowInputConfigurationArgs']]]]: + """ + The media streams that you want to associate with the source. + """ + return pulumi.get(self, "input_configurations") + + @input_configurations.setter + def input_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FlowInputConfigurationArgs']]]]): + pulumi.set(self, "input_configurations", value) + + +if not MYPY: + class FlowMediaStreamArgsDict(TypedDict): + """ + A single track or stream of media that contains video, audio, or ancillary data. After you add a media stream to a flow, you can associate it with sources and outputs on that flow, as long as they use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or output can consist of one or many media streams. + """ + media_stream_id: pulumi.Input[int] + """ + A unique identifier for the media stream. + """ + media_stream_name: pulumi.Input[str] + """ + A name that helps you distinguish one media stream from another. + """ + media_stream_type: pulumi.Input['FlowMediaStreamMediaStreamType'] + """ + The type of media stream. + """ + attributes: NotRequired[pulumi.Input['FlowMediaStreamAttributesArgsDict']] + """ + Attributes that are related to the media stream. + """ + clock_rate: NotRequired[pulumi.Input[int]] + """ + The sample rate for the stream. This value in measured in kHz. + """ + description: NotRequired[pulumi.Input[str]] """ - return pulumi.get(self, "media_stream_name") - - @media_stream_name.setter - def media_stream_name(self, value: pulumi.Input[str]): - pulumi.set(self, "media_stream_name", value) - - @property - @pulumi.getter(name="inputConfigurations") - def input_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FlowInputConfigurationArgs']]]]: + A description that can help you quickly identify what your media stream is used for. """ - The media streams that you want to associate with the source. + fmt: NotRequired[pulumi.Input[int]] """ - return pulumi.get(self, "input_configurations") - - @input_configurations.setter - def input_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FlowInputConfigurationArgs']]]]): - pulumi.set(self, "input_configurations", value) - + The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver. + """ + video_format: NotRequired[pulumi.Input['FlowMediaStreamVideoFormat']] + """ + The resolution of the video. + """ +elif False: + FlowMediaStreamArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class FlowMediaStreamArgs: @@ -1609,6 +2206,26 @@ def video_format(self, value: Optional[pulumi.Input['FlowMediaStreamVideoFormat' pulumi.set(self, "video_format", value) +if not MYPY: + class FlowOutputDestinationConfigurationArgsDict(TypedDict): + """ + The definition of a media stream that is associated with the output. + """ + destination_ip: pulumi.Input[str] + """ + The IP address where contents of the media stream will be sent. + """ + destination_port: pulumi.Input[int] + """ + The port to use when the content of the media stream is distributed to the output. + """ + interface: pulumi.Input['FlowOutputInterfaceArgsDict'] + """ + The VPC interface that is used for the media stream associated with the output. + """ +elif False: + FlowOutputDestinationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowOutputDestinationConfigurationArgs: def __init__(__self__, *, @@ -1662,6 +2279,22 @@ def interface(self, value: pulumi.Input['FlowOutputInterfaceArgs']): pulumi.set(self, "interface", value) +if not MYPY: + class FlowOutputEncodingParametersArgsDict(TypedDict): + """ + A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source. + """ + compression_factor: pulumi.Input[float] + """ + A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are in the range of 3.0 to 10.0, inclusive. + """ + encoder_profile: NotRequired[pulumi.Input['FlowOutputEncodingParametersEncoderProfile']] + """ + A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. + """ +elif False: + FlowOutputEncodingParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowOutputEncodingParametersArgs: def __init__(__self__, *, @@ -1701,6 +2334,30 @@ def encoder_profile(self, value: Optional[pulumi.Input['FlowOutputEncodingParame pulumi.set(self, "encoder_profile", value) +if not MYPY: + class FlowOutputEncryptionArgsDict(TypedDict): + """ + Information about the encryption of the flow. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity). + """ + secret_arn: pulumi.Input[str] + """ + The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption. + """ + algorithm: NotRequired[pulumi.Input['FlowOutputEncryptionAlgorithm']] + """ + The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256). + """ + key_type: NotRequired[pulumi.Input['FlowOutputEncryptionKeyType']] + """ + The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key). + """ +elif False: + FlowOutputEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowOutputEncryptionArgs: def __init__(__self__, *, @@ -1771,6 +2428,18 @@ def key_type(self, value: Optional[pulumi.Input['FlowOutputEncryptionKeyType']]) pulumi.set(self, "key_type", value) +if not MYPY: + class FlowOutputInterfaceArgsDict(TypedDict): + """ + The VPC interface that you want to use for the media stream associated with the output. + """ + name: pulumi.Input[str] + """ + The name of the VPC interface that you want to use for the media stream associated with the output. + """ +elif False: + FlowOutputInterfaceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowOutputInterfaceArgs: def __init__(__self__, *, @@ -1794,6 +2463,30 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class FlowOutputMediaStreamOutputConfigurationArgsDict(TypedDict): + """ + The media stream that is associated with the output, and the parameters for that association. + """ + encoding_name: pulumi.Input['FlowOutputMediaStreamOutputConfigurationEncodingName'] + """ + The format that will be used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video streams on sources or outputs that use the CDI protocol, set the encoding name to raw. For video streams on sources or outputs that use the ST 2110 JPEG XS protocol, set the encoding name to jxsv. + """ + media_stream_name: pulumi.Input[str] + """ + A name that helps you distinguish one media stream from another. + """ + destination_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['FlowOutputDestinationConfigurationArgsDict']]]] + """ + The media streams that you want to associate with the output. + """ + encoding_parameters: NotRequired[pulumi.Input['FlowOutputEncodingParametersArgsDict']] + """ + A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source. + """ +elif False: + FlowOutputMediaStreamOutputConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowOutputMediaStreamOutputConfigurationArgs: def __init__(__self__, *, @@ -1864,6 +2557,18 @@ def encoding_parameters(self, value: Optional[pulumi.Input['FlowOutputEncodingPa pulumi.set(self, "encoding_parameters", value) +if not MYPY: + class FlowOutputVpcInterfaceAttachmentArgsDict(TypedDict): + """ + The settings for attaching a VPC interface to an output. + """ + vpc_interface_name: NotRequired[pulumi.Input[str]] + """ + The name of the VPC interface to use for this output. + """ +elif False: + FlowOutputVpcInterfaceAttachmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowOutputVpcInterfaceAttachmentArgs: def __init__(__self__, *, @@ -1888,6 +2593,50 @@ def vpc_interface_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_interface_name", value) +if not MYPY: + class FlowSourceEncryptionArgsDict(TypedDict): + """ + Information about the encryption of the flow. + """ + role_arn: pulumi.Input[str] + """ + The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity). + """ + algorithm: NotRequired[pulumi.Input['FlowSourceEncryptionAlgorithm']] + """ + The type of algorithm that is used for the encryption (such as aes128, aes192, or aes256). + """ + constant_initialization_vector: NotRequired[pulumi.Input[str]] + """ + A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption. + """ + device_id: NotRequired[pulumi.Input[str]] + """ + The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ + key_type: NotRequired[pulumi.Input['FlowSourceEncryptionKeyType']] + """ + The type of key that is used for the encryption. If no keyType is provided, the service will use the default setting (static-key). + """ + region: NotRequired[pulumi.Input[str]] + """ + The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ + resource_id: NotRequired[pulumi.Input[str]] + """ + An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ + secret_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is required for static key encryption and is not valid for SPEKE encryption. + """ + url: NotRequired[pulumi.Input[str]] + """ + The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption. + """ +elif False: + FlowSourceEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSourceEncryptionArgs: def __init__(__self__, *, @@ -2039,6 +2788,22 @@ def url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url", value) +if not MYPY: + class FlowSourceGatewayBridgeSourceArgsDict(TypedDict): + """ + The source configuration for cloud flows receiving a stream from a bridge. + """ + bridge_arn: pulumi.Input[str] + """ + The ARN of the bridge feeding this flow. + """ + vpc_interface_attachment: NotRequired[pulumi.Input['FlowSourceVpcInterfaceAttachmentArgsDict']] + """ + The name of the VPC interface attachment to use for this bridge source. + """ +elif False: + FlowSourceGatewayBridgeSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSourceGatewayBridgeSourceArgs: def __init__(__self__, *, @@ -2078,6 +2843,18 @@ def vpc_interface_attachment(self, value: Optional[pulumi.Input['FlowSourceVpcIn pulumi.set(self, "vpc_interface_attachment", value) +if not MYPY: + class FlowSourceMonitoringConfigArgsDict(TypedDict): + """ + The settings for source monitoring. + """ + thumbnail_state: pulumi.Input['FlowSourceMonitoringConfigThumbnailState'] + """ + The state of thumbnail monitoring. + """ +elif False: + FlowSourceMonitoringConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSourceMonitoringConfigArgs: def __init__(__self__, *, @@ -2101,6 +2878,18 @@ def thumbnail_state(self, value: pulumi.Input['FlowSourceMonitoringConfigThumbna pulumi.set(self, "thumbnail_state", value) +if not MYPY: + class FlowSourceVpcInterfaceAttachmentArgsDict(TypedDict): + """ + The settings for attaching a VPC interface to an resource. + """ + vpc_interface_name: NotRequired[pulumi.Input[str]] + """ + The name of the VPC interface to use for this resource. + """ +elif False: + FlowSourceVpcInterfaceAttachmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSourceVpcInterfaceAttachmentArgs: def __init__(__self__, *, @@ -2125,6 +2914,102 @@ def vpc_interface_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_interface_name", value) +if not MYPY: + class FlowSourceArgsDict(TypedDict): + """ + The settings for the source of the flow. + """ + decryption: NotRequired[pulumi.Input['FlowEncryptionArgsDict']] + """ + The type of decryption that is used on the content ingested from this source. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description for the source. This value is not used or seen outside of the current AWS Elemental MediaConnect account. + """ + entitlement_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account. The entitlement is set by the content originator and the ARN is generated as part of the originator's flow. + """ + gateway_bridge_source: NotRequired[pulumi.Input['FlowGatewayBridgeSourceArgsDict']] + """ + The source configuration for cloud flows receiving a stream from a bridge. + """ + ingest_ip: NotRequired[pulumi.Input[str]] + """ + The IP address that the flow will be listening on for incoming content. + """ + ingest_port: NotRequired[pulumi.Input[int]] + """ + The port that the flow will be listening on for incoming content. + """ + max_bitrate: NotRequired[pulumi.Input[int]] + """ + The smoothing max bitrate for RIST, RTP, and RTP-FEC streams. + """ + max_latency: NotRequired[pulumi.Input[int]] + """ + The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams. + """ + max_sync_buffer: NotRequired[pulumi.Input[int]] + """ + The size of the buffer (in milliseconds) to use to sync incoming source data. + """ + media_stream_source_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['FlowMediaStreamSourceConfigurationArgsDict']]]] + """ + The media stream that is associated with the source, and the parameters for that association. + """ + min_latency: NotRequired[pulumi.Input[int]] + """ + The minimum latency in milliseconds. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the source. + """ + protocol: NotRequired[pulumi.Input['FlowSourceProtocol']] + """ + The protocol that is used by the source. + """ + sender_control_port: NotRequired[pulumi.Input[int]] + """ + The port that the flow uses to send outbound requests to initiate connection with the sender for fujitsu-qos protocol. + """ + sender_ip_address: NotRequired[pulumi.Input[str]] + """ + The IP address that the flow communicates with to initiate connection with the sender for fujitsu-qos protocol. + """ + source_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the source. + """ + source_ingest_port: NotRequired[pulumi.Input[str]] + """ + The port that the flow will be listening on for incoming content.(ReadOnly) + """ + source_listener_address: NotRequired[pulumi.Input[str]] + """ + Source IP or domain name for SRT-caller protocol. + """ + source_listener_port: NotRequired[pulumi.Input[int]] + """ + Source port for SRT-caller protocol. + """ + stream_id: NotRequired[pulumi.Input[str]] + """ + The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams. + """ + vpc_interface_name: NotRequired[pulumi.Input[str]] + """ + The name of the VPC Interface this Source is configured with. + """ + whitelist_cidr: NotRequired[pulumi.Input[str]] + """ + The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16. + """ +elif False: + FlowSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowSourceArgs: def __init__(__self__, *, @@ -2485,6 +3370,18 @@ def whitelist_cidr(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "whitelist_cidr", value) +if not MYPY: + class FlowVpcInterfaceAttachmentArgsDict(TypedDict): + """ + The settings for attaching a VPC interface to an resource. + """ + vpc_interface_name: NotRequired[pulumi.Input[str]] + """ + The name of the VPC interface to use for this resource. + """ +elif False: + FlowVpcInterfaceAttachmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowVpcInterfaceAttachmentArgs: def __init__(__self__, *, @@ -2509,6 +3406,38 @@ def vpc_interface_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_interface_name", value) +if not MYPY: + class FlowVpcInterfaceArgsDict(TypedDict): + """ + The details of a VPC interface. + """ + name: pulumi.Input[str] + """ + Immutable and has to be a unique against other VpcInterfaces in this Flow. + """ + role_arn: pulumi.Input[str] + """ + Role Arn MediaConnect can assume to create ENIs in customer's account. + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Security Group IDs to be used on ENI. + """ + subnet_id: pulumi.Input[str] + """ + Subnet must be in the AZ of the Flow + """ + network_interface_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + IDs of the network interfaces created in customer's account by MediaConnect. + """ + network_interface_type: NotRequired[pulumi.Input['FlowVpcInterfaceNetworkInterfaceType']] + """ + The type of network adapter that you want MediaConnect to use on this interface. If you don't set this value, it defaults to ENA. + """ +elif False: + FlowVpcInterfaceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FlowVpcInterfaceArgs: def __init__(__self__, *, @@ -2609,6 +3538,22 @@ def network_interface_type(self, value: Optional[pulumi.Input['FlowVpcInterfaceN pulumi.set(self, "network_interface_type", value) +if not MYPY: + class GatewayNetworkArgsDict(TypedDict): + """ + The network settings for a gateway. + """ + cidr_block: pulumi.Input[str] + """ + A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16. + """ + name: pulumi.Input[str] + """ + The name of the network. This name is used to reference the network and must be unique among networks in this gateway. + """ +elif False: + GatewayNetworkArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GatewayNetworkArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/mediaconnect/bridge.py b/sdk/python/pulumi_aws_native/mediaconnect/bridge.py index 9969bf0afb..a1adae6715 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/bridge.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/bridge.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediaconnect/bridge_output_resource.py b/sdk/python/pulumi_aws_native/mediaconnect/bridge_output_resource.py index 9985c9867b..3cb274fc03 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/bridge_output_resource.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/bridge_output_resource.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediaconnect/bridge_source.py b/sdk/python/pulumi_aws_native/mediaconnect/bridge_source.py index 88bca60ca0..84a3ab9396 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/bridge_source.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/bridge_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediaconnect/flow.py b/sdk/python/pulumi_aws_native/mediaconnect/flow.py index ef37f57f86..77ead4baf6 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/flow.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/flow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediaconnect/flow_entitlement.py b/sdk/python/pulumi_aws_native/mediaconnect/flow_entitlement.py index 3e1a33b52a..c702abf0a8 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/flow_entitlement.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/flow_entitlement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediaconnect/flow_output.py b/sdk/python/pulumi_aws_native/mediaconnect/flow_output.py index 3fef4d6629..0b9288deb1 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/flow_output.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/flow_output.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediaconnect/flow_source.py b/sdk/python/pulumi_aws_native/mediaconnect/flow_source.py index 5d2d83f611..18dc4a6263 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/flow_source.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/flow_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediaconnect/flow_vpc_interface.py b/sdk/python/pulumi_aws_native/mediaconnect/flow_vpc_interface.py index 2bb257ffab..19da57c30a 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/flow_vpc_interface.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/flow_vpc_interface.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['FlowVpcInterfaceInitArgs', 'FlowVpcInterface'] diff --git a/sdk/python/pulumi_aws_native/mediaconnect/gateway.py b/sdk/python/pulumi_aws_native/mediaconnect/gateway.py index 38965715cb..40d4760090 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/gateway.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediaconnect/get_bridge.py b/sdk/python/pulumi_aws_native/mediaconnect/get_bridge.py index adb662c0a5..dcf44866ef 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/get_bridge.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/get_bridge.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -162,9 +167,6 @@ def get_bridge(bridge_arn: Optional[str] = None, placement_arn=pulumi.get(__ret__, 'placement_arn'), source_failover_config=pulumi.get(__ret__, 'source_failover_config'), sources=pulumi.get(__ret__, 'sources')) - - -@_utilities.lift_output_func(get_bridge) def get_bridge_output(bridge_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBridgeResult]: """ @@ -173,4 +175,17 @@ def get_bridge_output(bridge_arn: Optional[pulumi.Input[str]] = None, :param str bridge_arn: The Amazon Resource Number (ARN) of the bridge. """ - ... + __args__ = dict() + __args__['bridgeArn'] = bridge_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediaconnect:getBridge', __args__, opts=opts, typ=GetBridgeResult) + return __ret__.apply(lambda __response__: GetBridgeResult( + bridge_arn=pulumi.get(__response__, 'bridge_arn'), + bridge_state=pulumi.get(__response__, 'bridge_state'), + egress_gateway_bridge=pulumi.get(__response__, 'egress_gateway_bridge'), + ingress_gateway_bridge=pulumi.get(__response__, 'ingress_gateway_bridge'), + name=pulumi.get(__response__, 'name'), + outputs=pulumi.get(__response__, 'outputs'), + placement_arn=pulumi.get(__response__, 'placement_arn'), + source_failover_config=pulumi.get(__response__, 'source_failover_config'), + sources=pulumi.get(__response__, 'sources'))) diff --git a/sdk/python/pulumi_aws_native/mediaconnect/get_bridge_output_resource.py b/sdk/python/pulumi_aws_native/mediaconnect/get_bridge_output_resource.py index 43e67e8a5d..684b7b1c21 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/get_bridge_output_resource.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/get_bridge_output_resource.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -61,9 +66,6 @@ def get_bridge_output_resource(bridge_arn: Optional[str] = None, return AwaitableGetBridgeOutputResourceResult( network_output=pulumi.get(__ret__, 'network_output')) - - -@_utilities.lift_output_func(get_bridge_output_resource) def get_bridge_output_resource_output(bridge_arn: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBridgeOutputResourceResult]: @@ -74,4 +76,10 @@ def get_bridge_output_resource_output(bridge_arn: Optional[pulumi.Input[str]] = :param str bridge_arn: The Amazon Resource Number (ARN) of the bridge. :param str name: The network output name. """ - ... + __args__ = dict() + __args__['bridgeArn'] = bridge_arn + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediaconnect:getBridgeOutputResource', __args__, opts=opts, typ=GetBridgeOutputResourceResult) + return __ret__.apply(lambda __response__: GetBridgeOutputResourceResult( + network_output=pulumi.get(__response__, 'network_output'))) diff --git a/sdk/python/pulumi_aws_native/mediaconnect/get_bridge_source.py b/sdk/python/pulumi_aws_native/mediaconnect/get_bridge_source.py index 5c864de6cb..9712ac0721 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/get_bridge_source.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/get_bridge_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -74,9 +79,6 @@ def get_bridge_source(bridge_arn: Optional[str] = None, return AwaitableGetBridgeSourceResult( flow_source=pulumi.get(__ret__, 'flow_source'), network_source=pulumi.get(__ret__, 'network_source')) - - -@_utilities.lift_output_func(get_bridge_source) def get_bridge_source_output(bridge_arn: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBridgeSourceResult]: @@ -87,4 +89,11 @@ def get_bridge_source_output(bridge_arn: Optional[pulumi.Input[str]] = None, :param str bridge_arn: The Amazon Resource Number (ARN) of the bridge. :param str name: The name of the source. """ - ... + __args__ = dict() + __args__['bridgeArn'] = bridge_arn + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediaconnect:getBridgeSource', __args__, opts=opts, typ=GetBridgeSourceResult) + return __ret__.apply(lambda __response__: GetBridgeSourceResult( + flow_source=pulumi.get(__response__, 'flow_source'), + network_source=pulumi.get(__response__, 'network_source'))) diff --git a/sdk/python/pulumi_aws_native/mediaconnect/get_flow.py b/sdk/python/pulumi_aws_native/mediaconnect/get_flow.py index 54e42373d2..f290aecde5 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/get_flow.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/get_flow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -162,9 +167,6 @@ def get_flow(flow_arn: Optional[str] = None, source_failover_config=pulumi.get(__ret__, 'source_failover_config'), source_monitoring_config=pulumi.get(__ret__, 'source_monitoring_config'), vpc_interfaces=pulumi.get(__ret__, 'vpc_interfaces')) - - -@_utilities.lift_output_func(get_flow) def get_flow_output(flow_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlowResult]: """ @@ -173,4 +175,17 @@ def get_flow_output(flow_arn: Optional[pulumi.Input[str]] = None, :param str flow_arn: The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow. """ - ... + __args__ = dict() + __args__['flowArn'] = flow_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediaconnect:getFlow', __args__, opts=opts, typ=GetFlowResult) + return __ret__.apply(lambda __response__: GetFlowResult( + egress_ip=pulumi.get(__response__, 'egress_ip'), + flow_arn=pulumi.get(__response__, 'flow_arn'), + flow_availability_zone=pulumi.get(__response__, 'flow_availability_zone'), + maintenance=pulumi.get(__response__, 'maintenance'), + media_streams=pulumi.get(__response__, 'media_streams'), + source=pulumi.get(__response__, 'source'), + source_failover_config=pulumi.get(__response__, 'source_failover_config'), + source_monitoring_config=pulumi.get(__response__, 'source_monitoring_config'), + vpc_interfaces=pulumi.get(__response__, 'vpc_interfaces'))) diff --git a/sdk/python/pulumi_aws_native/mediaconnect/get_flow_entitlement.py b/sdk/python/pulumi_aws_native/mediaconnect/get_flow_entitlement.py index ea374ab8ee..83261f5e54 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/get_flow_entitlement.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/get_flow_entitlement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -123,9 +128,6 @@ def get_flow_entitlement(entitlement_arn: Optional[str] = None, entitlement_status=pulumi.get(__ret__, 'entitlement_status'), flow_arn=pulumi.get(__ret__, 'flow_arn'), subscribers=pulumi.get(__ret__, 'subscribers')) - - -@_utilities.lift_output_func(get_flow_entitlement) def get_flow_entitlement_output(entitlement_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlowEntitlementResult]: """ @@ -134,4 +136,14 @@ def get_flow_entitlement_output(entitlement_arn: Optional[pulumi.Input[str]] = N :param str entitlement_arn: The ARN of the entitlement. """ - ... + __args__ = dict() + __args__['entitlementArn'] = entitlement_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediaconnect:getFlowEntitlement', __args__, opts=opts, typ=GetFlowEntitlementResult) + return __ret__.apply(lambda __response__: GetFlowEntitlementResult( + description=pulumi.get(__response__, 'description'), + encryption=pulumi.get(__response__, 'encryption'), + entitlement_arn=pulumi.get(__response__, 'entitlement_arn'), + entitlement_status=pulumi.get(__response__, 'entitlement_status'), + flow_arn=pulumi.get(__response__, 'flow_arn'), + subscribers=pulumi.get(__response__, 'subscribers'))) diff --git a/sdk/python/pulumi_aws_native/mediaconnect/get_flow_source.py b/sdk/python/pulumi_aws_native/mediaconnect/get_flow_source.py index 08cd1edea1..17c27e5ed7 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/get_flow_source.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/get_flow_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -305,9 +310,6 @@ def get_flow_source(source_arn: Optional[str] = None, stream_id=pulumi.get(__ret__, 'stream_id'), vpc_interface_name=pulumi.get(__ret__, 'vpc_interface_name'), whitelist_cidr=pulumi.get(__ret__, 'whitelist_cidr')) - - -@_utilities.lift_output_func(get_flow_source) def get_flow_source_output(source_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlowSourceResult]: """ @@ -316,4 +318,28 @@ def get_flow_source_output(source_arn: Optional[pulumi.Input[str]] = None, :param str source_arn: The ARN of the source. """ - ... + __args__ = dict() + __args__['sourceArn'] = source_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediaconnect:getFlowSource', __args__, opts=opts, typ=GetFlowSourceResult) + return __ret__.apply(lambda __response__: GetFlowSourceResult( + decryption=pulumi.get(__response__, 'decryption'), + description=pulumi.get(__response__, 'description'), + entitlement_arn=pulumi.get(__response__, 'entitlement_arn'), + flow_arn=pulumi.get(__response__, 'flow_arn'), + gateway_bridge_source=pulumi.get(__response__, 'gateway_bridge_source'), + ingest_ip=pulumi.get(__response__, 'ingest_ip'), + ingest_port=pulumi.get(__response__, 'ingest_port'), + max_bitrate=pulumi.get(__response__, 'max_bitrate'), + max_latency=pulumi.get(__response__, 'max_latency'), + min_latency=pulumi.get(__response__, 'min_latency'), + protocol=pulumi.get(__response__, 'protocol'), + sender_control_port=pulumi.get(__response__, 'sender_control_port'), + sender_ip_address=pulumi.get(__response__, 'sender_ip_address'), + source_arn=pulumi.get(__response__, 'source_arn'), + source_ingest_port=pulumi.get(__response__, 'source_ingest_port'), + source_listener_address=pulumi.get(__response__, 'source_listener_address'), + source_listener_port=pulumi.get(__response__, 'source_listener_port'), + stream_id=pulumi.get(__response__, 'stream_id'), + vpc_interface_name=pulumi.get(__response__, 'vpc_interface_name'), + whitelist_cidr=pulumi.get(__response__, 'whitelist_cidr'))) diff --git a/sdk/python/pulumi_aws_native/mediaconnect/get_flow_vpc_interface.py b/sdk/python/pulumi_aws_native/mediaconnect/get_flow_vpc_interface.py index 97185e8e79..b3cc5cb54b 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/get_flow_vpc_interface.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/get_flow_vpc_interface.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -98,9 +103,6 @@ def get_flow_vpc_interface(flow_arn: Optional[str] = None, role_arn=pulumi.get(__ret__, 'role_arn'), security_group_ids=pulumi.get(__ret__, 'security_group_ids'), subnet_id=pulumi.get(__ret__, 'subnet_id')) - - -@_utilities.lift_output_func(get_flow_vpc_interface) def get_flow_vpc_interface_output(flow_arn: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlowVpcInterfaceResult]: @@ -111,4 +113,13 @@ def get_flow_vpc_interface_output(flow_arn: Optional[pulumi.Input[str]] = None, :param str flow_arn: The Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow. :param str name: Immutable and has to be a unique against other VpcInterfaces in this Flow. """ - ... + __args__ = dict() + __args__['flowArn'] = flow_arn + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediaconnect:getFlowVpcInterface', __args__, opts=opts, typ=GetFlowVpcInterfaceResult) + return __ret__.apply(lambda __response__: GetFlowVpcInterfaceResult( + network_interface_ids=pulumi.get(__response__, 'network_interface_ids'), + role_arn=pulumi.get(__response__, 'role_arn'), + security_group_ids=pulumi.get(__response__, 'security_group_ids'), + subnet_id=pulumi.get(__response__, 'subnet_id'))) diff --git a/sdk/python/pulumi_aws_native/mediaconnect/get_gateway.py b/sdk/python/pulumi_aws_native/mediaconnect/get_gateway.py index 27528d79d7..bf2c49aab3 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/get_gateway.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/get_gateway.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -70,9 +75,6 @@ def get_gateway(gateway_arn: Optional[str] = None, return AwaitableGetGatewayResult( gateway_arn=pulumi.get(__ret__, 'gateway_arn'), gateway_state=pulumi.get(__ret__, 'gateway_state')) - - -@_utilities.lift_output_func(get_gateway) def get_gateway_output(gateway_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGatewayResult]: """ @@ -81,4 +83,10 @@ def get_gateway_output(gateway_arn: Optional[pulumi.Input[str]] = None, :param str gateway_arn: The Amazon Resource Name (ARN) of the gateway. """ - ... + __args__ = dict() + __args__['gatewayArn'] = gateway_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediaconnect:getGateway', __args__, opts=opts, typ=GetGatewayResult) + return __ret__.apply(lambda __response__: GetGatewayResult( + gateway_arn=pulumi.get(__response__, 'gateway_arn'), + gateway_state=pulumi.get(__response__, 'gateway_state'))) diff --git a/sdk/python/pulumi_aws_native/mediaconnect/outputs.py b/sdk/python/pulumi_aws_native/mediaconnect/outputs.py index 2be39b6c75..276e51053c 100644 --- a/sdk/python/pulumi_aws_native/mediaconnect/outputs.py +++ b/sdk/python/pulumi_aws_native/mediaconnect/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/medialive/_inputs.py b/sdk/python/pulumi_aws_native/medialive/_inputs.py index 9373427d35..1ddb66f955 100644 --- a/sdk/python/pulumi_aws_native/medialive/_inputs.py +++ b/sdk/python/pulumi_aws_native/medialive/_inputs.py @@ -4,28 +4,64 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ClusterInterfaceMappingArgs', + 'ClusterInterfaceMappingArgsDict', 'ClusterNetworkSettingsArgs', + 'ClusterNetworkSettingsArgsDict', 'EventBridgeRuleTemplateTargetArgs', + 'EventBridgeRuleTemplateTargetArgsDict', 'MultiplexOutputDestinationMultiplexMediaConnectOutputDestinationSettingsPropertiesArgs', + 'MultiplexOutputDestinationMultiplexMediaConnectOutputDestinationSettingsPropertiesArgsDict', 'MultiplexOutputDestinationArgs', + 'MultiplexOutputDestinationArgsDict', 'MultiplexSettingsArgs', + 'MultiplexSettingsArgsDict', 'MultiplexprogramMultiplexProgramPacketIdentifiersMapArgs', + 'MultiplexprogramMultiplexProgramPacketIdentifiersMapArgsDict', 'MultiplexprogramMultiplexProgramPipelineDetailArgs', + 'MultiplexprogramMultiplexProgramPipelineDetailArgsDict', 'MultiplexprogramMultiplexProgramServiceDescriptorArgs', + 'MultiplexprogramMultiplexProgramServiceDescriptorArgsDict', 'MultiplexprogramMultiplexProgramSettingsArgs', + 'MultiplexprogramMultiplexProgramSettingsArgsDict', 'MultiplexprogramMultiplexVideoSettingsArgs', + 'MultiplexprogramMultiplexVideoSettingsArgsDict', 'NetworkIpPoolArgs', + 'NetworkIpPoolArgsDict', 'NetworkRouteArgs', + 'NetworkRouteArgsDict', ] +MYPY = False + +if not MYPY: + class ClusterInterfaceMappingArgsDict(TypedDict): + """ + Network mappings for the cluster + """ + logical_interface_name: NotRequired[pulumi.Input[str]] + """ + logical interface name, unique in the list + """ + network_id: NotRequired[pulumi.Input[str]] + """ + Network Id to be associated with the logical interface name, can be duplicated in list + """ +elif False: + ClusterInterfaceMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterInterfaceMappingArgs: def __init__(__self__, *, @@ -66,6 +102,22 @@ def network_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "network_id", value) +if not MYPY: + class ClusterNetworkSettingsArgsDict(TypedDict): + """ + On premises settings which will have the interface network mappings and default Output logical interface + """ + default_route: NotRequired[pulumi.Input[str]] + """ + Default value if the customer does not define it in channel Output API + """ + interface_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['ClusterInterfaceMappingArgsDict']]]] + """ + Network mappings for the cluster + """ +elif False: + ClusterNetworkSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterNetworkSettingsArgs: def __init__(__self__, *, @@ -106,6 +158,18 @@ def interface_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "interface_mappings", value) +if not MYPY: + class EventBridgeRuleTemplateTargetArgsDict(TypedDict): + """ + The target to which to send matching events. + """ + arn: pulumi.Input[str] + """ + Target ARNs must be either an SNS topic or CloudWatch log group. + """ +elif False: + EventBridgeRuleTemplateTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EventBridgeRuleTemplateTargetArgs: def __init__(__self__, *, @@ -129,6 +193,18 @@ def arn(self, value: pulumi.Input[str]): pulumi.set(self, "arn", value) +if not MYPY: + class MultiplexOutputDestinationMultiplexMediaConnectOutputDestinationSettingsPropertiesArgsDict(TypedDict): + """ + Multiplex MediaConnect output destination settings. + """ + entitlement_arn: NotRequired[pulumi.Input[str]] + """ + The MediaConnect entitlement ARN available as a Flow source. + """ +elif False: + MultiplexOutputDestinationMultiplexMediaConnectOutputDestinationSettingsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MultiplexOutputDestinationMultiplexMediaConnectOutputDestinationSettingsPropertiesArgs: def __init__(__self__, *, @@ -153,6 +229,18 @@ def entitlement_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "entitlement_arn", value) +if not MYPY: + class MultiplexOutputDestinationArgsDict(TypedDict): + """ + Multiplex MediaConnect output destination settings. + """ + multiplex_media_connect_output_destination_settings: NotRequired[pulumi.Input['MultiplexOutputDestinationMultiplexMediaConnectOutputDestinationSettingsPropertiesArgsDict']] + """ + Multiplex MediaConnect output destination settings. + """ +elif False: + MultiplexOutputDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MultiplexOutputDestinationArgs: def __init__(__self__, *, @@ -177,6 +265,30 @@ def multiplex_media_connect_output_destination_settings(self, value: Optional[pu pulumi.set(self, "multiplex_media_connect_output_destination_settings", value) +if not MYPY: + class MultiplexSettingsArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + transport_stream_bitrate: pulumi.Input[int] + """ + Transport stream bit rate. + """ + transport_stream_id: pulumi.Input[int] + """ + Transport stream ID. + """ + maximum_video_buffer_delay_milliseconds: NotRequired[pulumi.Input[int]] + """ + Maximum video buffer delay in milliseconds. + """ + transport_stream_reserved_bitrate: NotRequired[pulumi.Input[int]] + """ + Transport stream reserved bit rate. + """ +elif False: + MultiplexSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MultiplexSettingsArgs: def __init__(__self__, *, @@ -247,6 +359,27 @@ def transport_stream_reserved_bitrate(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "transport_stream_reserved_bitrate", value) +if not MYPY: + class MultiplexprogramMultiplexProgramPacketIdentifiersMapArgsDict(TypedDict): + """ + Packet identifiers map for a given Multiplex program. + """ + audio_pids: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + dvb_sub_pids: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + dvb_teletext_pid: NotRequired[pulumi.Input[int]] + etv_platform_pid: NotRequired[pulumi.Input[int]] + etv_signal_pid: NotRequired[pulumi.Input[int]] + klv_data_pids: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + pcr_pid: NotRequired[pulumi.Input[int]] + pmt_pid: NotRequired[pulumi.Input[int]] + private_metadata_pid: NotRequired[pulumi.Input[int]] + scte27_pids: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + scte35_pid: NotRequired[pulumi.Input[int]] + timed_metadata_pid: NotRequired[pulumi.Input[int]] + video_pid: NotRequired[pulumi.Input[int]] +elif False: + MultiplexprogramMultiplexProgramPacketIdentifiersMapArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MultiplexprogramMultiplexProgramPacketIdentifiersMapArgs: def __init__(__self__, *, @@ -411,6 +544,22 @@ def video_pid(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "video_pid", value) +if not MYPY: + class MultiplexprogramMultiplexProgramPipelineDetailArgsDict(TypedDict): + """ + The current source for one of the pipelines in the multiplex. + """ + active_channel_pipeline: NotRequired[pulumi.Input[str]] + """ + Identifies the channel pipeline that is currently active for the pipeline (identified by PipelineId) in the multiplex. + """ + pipeline_id: NotRequired[pulumi.Input[str]] + """ + Identifies a specific pipeline in the multiplex. + """ +elif False: + MultiplexprogramMultiplexProgramPipelineDetailArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MultiplexprogramMultiplexProgramPipelineDetailArgs: def __init__(__self__, *, @@ -451,6 +600,22 @@ def pipeline_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "pipeline_id", value) +if not MYPY: + class MultiplexprogramMultiplexProgramServiceDescriptorArgsDict(TypedDict): + """ + Transport stream service descriptor configuration for the Multiplex program. + """ + provider_name: pulumi.Input[str] + """ + Name of the provider. + """ + service_name: pulumi.Input[str] + """ + Name of the service. + """ +elif False: + MultiplexprogramMultiplexProgramServiceDescriptorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MultiplexprogramMultiplexProgramServiceDescriptorArgs: def __init__(__self__, *, @@ -489,6 +654,30 @@ def service_name(self, value: pulumi.Input[str]): pulumi.set(self, "service_name", value) +if not MYPY: + class MultiplexprogramMultiplexProgramSettingsArgsDict(TypedDict): + """ + Multiplex Program settings configuration. + """ + program_number: pulumi.Input[int] + """ + Unique program number. + """ + preferred_channel_pipeline: NotRequired[pulumi.Input['MultiplexprogramPreferredChannelPipeline']] + """ + Indicates which pipeline is preferred by the multiplex for program ingest. + """ + service_descriptor: NotRequired[pulumi.Input['MultiplexprogramMultiplexProgramServiceDescriptorArgsDict']] + """ + Transport stream service descriptor configuration for the Multiplex program. + """ + video_settings: NotRequired[pulumi.Input['MultiplexprogramMultiplexVideoSettingsArgsDict']] + """ + Program video settings configuration. + """ +elif False: + MultiplexprogramMultiplexProgramSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MultiplexprogramMultiplexProgramSettingsArgs: def __init__(__self__, *, @@ -560,6 +749,15 @@ def video_settings(self, value: Optional[pulumi.Input['MultiplexprogramMultiplex pulumi.set(self, "video_settings", value) +if not MYPY: + class MultiplexprogramMultiplexVideoSettingsArgsDict(TypedDict): + """ + The video configuration for each program in a multiplex. + """ + pass +elif False: + MultiplexprogramMultiplexVideoSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MultiplexprogramMultiplexVideoSettingsArgs: def __init__(__self__): @@ -569,6 +767,18 @@ def __init__(__self__): pass +if not MYPY: + class NetworkIpPoolArgsDict(TypedDict): + """ + IP address cidr pool + """ + cidr: NotRequired[pulumi.Input[str]] + """ + IP address cidr pool + """ +elif False: + NetworkIpPoolArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkIpPoolArgs: def __init__(__self__, *, @@ -593,6 +803,19 @@ def cidr(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cidr", value) +if not MYPY: + class NetworkRouteArgsDict(TypedDict): + cidr: NotRequired[pulumi.Input[str]] + """ + Ip address cidr + """ + gateway: NotRequired[pulumi.Input[str]] + """ + IP address for the route packet paths + """ +elif False: + NetworkRouteArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NetworkRouteArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/medialive/channel_placement_group.py b/sdk/python/pulumi_aws_native/medialive/channel_placement_group.py index 4e21ac13fc..e86e1cf032 100644 --- a/sdk/python/pulumi_aws_native/medialive/channel_placement_group.py +++ b/sdk/python/pulumi_aws_native/medialive/channel_placement_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/medialive/cloud_watch_alarm_template.py b/sdk/python/pulumi_aws_native/medialive/cloud_watch_alarm_template.py index f62be8b9e7..80a6b21b62 100644 --- a/sdk/python/pulumi_aws_native/medialive/cloud_watch_alarm_template.py +++ b/sdk/python/pulumi_aws_native/medialive/cloud_watch_alarm_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/medialive/cloud_watch_alarm_template_group.py b/sdk/python/pulumi_aws_native/medialive/cloud_watch_alarm_template_group.py index f4a3e6ca5a..224f739a92 100644 --- a/sdk/python/pulumi_aws_native/medialive/cloud_watch_alarm_template_group.py +++ b/sdk/python/pulumi_aws_native/medialive/cloud_watch_alarm_template_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['CloudWatchAlarmTemplateGroupArgs', 'CloudWatchAlarmTemplateGroup'] diff --git a/sdk/python/pulumi_aws_native/medialive/cluster.py b/sdk/python/pulumi_aws_native/medialive/cluster.py index 108512bda7..cc362e573e 100644 --- a/sdk/python/pulumi_aws_native/medialive/cluster.py +++ b/sdk/python/pulumi_aws_native/medialive/cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/medialive/event_bridge_rule_template.py b/sdk/python/pulumi_aws_native/medialive/event_bridge_rule_template.py index 063d224acb..9976f5838c 100644 --- a/sdk/python/pulumi_aws_native/medialive/event_bridge_rule_template.py +++ b/sdk/python/pulumi_aws_native/medialive/event_bridge_rule_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/medialive/event_bridge_rule_template_group.py b/sdk/python/pulumi_aws_native/medialive/event_bridge_rule_template_group.py index 99e4a95e8e..25a08361eb 100644 --- a/sdk/python/pulumi_aws_native/medialive/event_bridge_rule_template_group.py +++ b/sdk/python/pulumi_aws_native/medialive/event_bridge_rule_template_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['EventBridgeRuleTemplateGroupArgs', 'EventBridgeRuleTemplateGroup'] diff --git a/sdk/python/pulumi_aws_native/medialive/get_channel_placement_group.py b/sdk/python/pulumi_aws_native/medialive/get_channel_placement_group.py index f386578d9c..8f96cab420 100644 --- a/sdk/python/pulumi_aws_native/medialive/get_channel_placement_group.py +++ b/sdk/python/pulumi_aws_native/medialive/get_channel_placement_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -136,9 +141,6 @@ def get_channel_placement_group(cluster_id: Optional[str] = None, nodes=pulumi.get(__ret__, 'nodes'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_channel_placement_group) def get_channel_placement_group_output(cluster_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetChannelPlacementGroupResult]: @@ -149,4 +151,16 @@ def get_channel_placement_group_output(cluster_id: Optional[pulumi.Input[str]] = :param str cluster_id: The ID of the cluster the node is on. :param str id: Unique internal identifier. """ - ... + __args__ = dict() + __args__['clusterId'] = cluster_id + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:medialive:getChannelPlacementGroup', __args__, opts=opts, typ=GetChannelPlacementGroupResult) + return __ret__.apply(lambda __response__: GetChannelPlacementGroupResult( + arn=pulumi.get(__response__, 'arn'), + channels=pulumi.get(__response__, 'channels'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + nodes=pulumi.get(__response__, 'nodes'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/medialive/get_cloud_watch_alarm_template.py b/sdk/python/pulumi_aws_native/medialive/get_cloud_watch_alarm_template.py index aec49b07e3..1b49ff972f 100644 --- a/sdk/python/pulumi_aws_native/medialive/get_cloud_watch_alarm_template.py +++ b/sdk/python/pulumi_aws_native/medialive/get_cloud_watch_alarm_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -259,12 +264,30 @@ def get_cloud_watch_alarm_template(identifier: Optional[str] = None, target_resource_type=pulumi.get(__ret__, 'target_resource_type'), threshold=pulumi.get(__ret__, 'threshold'), treat_missing_data=pulumi.get(__ret__, 'treat_missing_data')) - - -@_utilities.lift_output_func(get_cloud_watch_alarm_template) def get_cloud_watch_alarm_template_output(identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCloudWatchAlarmTemplateResult]: """ Definition of AWS::MediaLive::CloudWatchAlarmTemplate Resource Type """ - ... + __args__ = dict() + __args__['identifier'] = identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:medialive:getCloudWatchAlarmTemplate', __args__, opts=opts, typ=GetCloudWatchAlarmTemplateResult) + return __ret__.apply(lambda __response__: GetCloudWatchAlarmTemplateResult( + arn=pulumi.get(__response__, 'arn'), + comparison_operator=pulumi.get(__response__, 'comparison_operator'), + created_at=pulumi.get(__response__, 'created_at'), + datapoints_to_alarm=pulumi.get(__response__, 'datapoints_to_alarm'), + description=pulumi.get(__response__, 'description'), + evaluation_periods=pulumi.get(__response__, 'evaluation_periods'), + group_id=pulumi.get(__response__, 'group_id'), + id=pulumi.get(__response__, 'id'), + identifier=pulumi.get(__response__, 'identifier'), + metric_name=pulumi.get(__response__, 'metric_name'), + modified_at=pulumi.get(__response__, 'modified_at'), + name=pulumi.get(__response__, 'name'), + period=pulumi.get(__response__, 'period'), + statistic=pulumi.get(__response__, 'statistic'), + target_resource_type=pulumi.get(__response__, 'target_resource_type'), + threshold=pulumi.get(__response__, 'threshold'), + treat_missing_data=pulumi.get(__response__, 'treat_missing_data'))) diff --git a/sdk/python/pulumi_aws_native/medialive/get_cloud_watch_alarm_template_group.py b/sdk/python/pulumi_aws_native/medialive/get_cloud_watch_alarm_template_group.py index 3fd75e85c1..7b47e30c3e 100644 --- a/sdk/python/pulumi_aws_native/medialive/get_cloud_watch_alarm_template_group.py +++ b/sdk/python/pulumi_aws_native/medialive/get_cloud_watch_alarm_template_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -115,12 +120,19 @@ def get_cloud_watch_alarm_template_group(identifier: Optional[str] = None, id=pulumi.get(__ret__, 'id'), identifier=pulumi.get(__ret__, 'identifier'), modified_at=pulumi.get(__ret__, 'modified_at')) - - -@_utilities.lift_output_func(get_cloud_watch_alarm_template_group) def get_cloud_watch_alarm_template_group_output(identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCloudWatchAlarmTemplateGroupResult]: """ Definition of AWS::MediaLive::CloudWatchAlarmTemplateGroup Resource Type """ - ... + __args__ = dict() + __args__['identifier'] = identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:medialive:getCloudWatchAlarmTemplateGroup', __args__, opts=opts, typ=GetCloudWatchAlarmTemplateGroupResult) + return __ret__.apply(lambda __response__: GetCloudWatchAlarmTemplateGroupResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + identifier=pulumi.get(__response__, 'identifier'), + modified_at=pulumi.get(__response__, 'modified_at'))) diff --git a/sdk/python/pulumi_aws_native/medialive/get_cluster.py b/sdk/python/pulumi_aws_native/medialive/get_cluster.py index 31e82ad98a..d97faa6311 100644 --- a/sdk/python/pulumi_aws_native/medialive/get_cluster.py +++ b/sdk/python/pulumi_aws_native/medialive/get_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -131,9 +136,6 @@ def get_cluster(id: Optional[str] = None, network_settings=pulumi.get(__ret__, 'network_settings'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: """ @@ -142,4 +144,15 @@ def get_cluster_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique ID of the Cluster. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:medialive:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + arn=pulumi.get(__response__, 'arn'), + channel_ids=pulumi.get(__response__, 'channel_ids'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + network_settings=pulumi.get(__response__, 'network_settings'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/medialive/get_event_bridge_rule_template.py b/sdk/python/pulumi_aws_native/medialive/get_event_bridge_rule_template.py index e38e4f99cd..168d58024a 100644 --- a/sdk/python/pulumi_aws_native/medialive/get_event_bridge_rule_template.py +++ b/sdk/python/pulumi_aws_native/medialive/get_event_bridge_rule_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -175,9 +180,6 @@ def get_event_bridge_rule_template(identifier: Optional[str] = None, identifier=pulumi.get(__ret__, 'identifier'), modified_at=pulumi.get(__ret__, 'modified_at'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_event_bridge_rule_template) def get_event_bridge_rule_template_output(identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventBridgeRuleTemplateResult]: """ @@ -186,4 +188,18 @@ def get_event_bridge_rule_template_output(identifier: Optional[pulumi.Input[str] :param str identifier: Placeholder documentation for __string """ - ... + __args__ = dict() + __args__['identifier'] = identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:medialive:getEventBridgeRuleTemplate', __args__, opts=opts, typ=GetEventBridgeRuleTemplateResult) + return __ret__.apply(lambda __response__: GetEventBridgeRuleTemplateResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + event_targets=pulumi.get(__response__, 'event_targets'), + event_type=pulumi.get(__response__, 'event_type'), + group_id=pulumi.get(__response__, 'group_id'), + id=pulumi.get(__response__, 'id'), + identifier=pulumi.get(__response__, 'identifier'), + modified_at=pulumi.get(__response__, 'modified_at'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_aws_native/medialive/get_event_bridge_rule_template_group.py b/sdk/python/pulumi_aws_native/medialive/get_event_bridge_rule_template_group.py index 4f292a5af8..160ed05b47 100644 --- a/sdk/python/pulumi_aws_native/medialive/get_event_bridge_rule_template_group.py +++ b/sdk/python/pulumi_aws_native/medialive/get_event_bridge_rule_template_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -115,12 +120,19 @@ def get_event_bridge_rule_template_group(identifier: Optional[str] = None, id=pulumi.get(__ret__, 'id'), identifier=pulumi.get(__ret__, 'identifier'), modified_at=pulumi.get(__ret__, 'modified_at')) - - -@_utilities.lift_output_func(get_event_bridge_rule_template_group) def get_event_bridge_rule_template_group_output(identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventBridgeRuleTemplateGroupResult]: """ Definition of AWS::MediaLive::EventBridgeRuleTemplateGroup Resource Type """ - ... + __args__ = dict() + __args__['identifier'] = identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:medialive:getEventBridgeRuleTemplateGroup', __args__, opts=opts, typ=GetEventBridgeRuleTemplateGroupResult) + return __ret__.apply(lambda __response__: GetEventBridgeRuleTemplateGroupResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + identifier=pulumi.get(__response__, 'identifier'), + modified_at=pulumi.get(__response__, 'modified_at'))) diff --git a/sdk/python/pulumi_aws_native/medialive/get_multiplex.py b/sdk/python/pulumi_aws_native/medialive/get_multiplex.py index 27e7896904..1b6ec3c21d 100644 --- a/sdk/python/pulumi_aws_native/medialive/get_multiplex.py +++ b/sdk/python/pulumi_aws_native/medialive/get_multiplex.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -163,9 +168,6 @@ def get_multiplex(id: Optional[str] = None, program_count=pulumi.get(__ret__, 'program_count'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_multiplex) def get_multiplex_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMultiplexResult]: """ @@ -174,4 +176,17 @@ def get_multiplex_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique id of the multiplex. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:medialive:getMultiplex', __args__, opts=opts, typ=GetMultiplexResult) + return __ret__.apply(lambda __response__: GetMultiplexResult( + arn=pulumi.get(__response__, 'arn'), + destinations=pulumi.get(__response__, 'destinations'), + id=pulumi.get(__response__, 'id'), + multiplex_settings=pulumi.get(__response__, 'multiplex_settings'), + name=pulumi.get(__response__, 'name'), + pipelines_running_count=pulumi.get(__response__, 'pipelines_running_count'), + program_count=pulumi.get(__response__, 'program_count'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/medialive/get_multiplexprogram.py b/sdk/python/pulumi_aws_native/medialive/get_multiplexprogram.py index b6ce50d27f..13ddeb0387 100644 --- a/sdk/python/pulumi_aws_native/medialive/get_multiplexprogram.py +++ b/sdk/python/pulumi_aws_native/medialive/get_multiplexprogram.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -100,9 +105,6 @@ def get_multiplexprogram(multiplex_id: Optional[str] = None, multiplex_program_settings=pulumi.get(__ret__, 'multiplex_program_settings'), packet_identifiers_map=pulumi.get(__ret__, 'packet_identifiers_map'), pipeline_details=pulumi.get(__ret__, 'pipeline_details')) - - -@_utilities.lift_output_func(get_multiplexprogram) def get_multiplexprogram_output(multiplex_id: Optional[pulumi.Input[str]] = None, program_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMultiplexprogramResult]: @@ -113,4 +115,13 @@ def get_multiplexprogram_output(multiplex_id: Optional[pulumi.Input[str]] = None :param str multiplex_id: The ID of the multiplex that the program belongs to. :param str program_name: The name of the multiplex program. """ - ... + __args__ = dict() + __args__['multiplexId'] = multiplex_id + __args__['programName'] = program_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:medialive:getMultiplexprogram', __args__, opts=opts, typ=GetMultiplexprogramResult) + return __ret__.apply(lambda __response__: GetMultiplexprogramResult( + channel_id=pulumi.get(__response__, 'channel_id'), + multiplex_program_settings=pulumi.get(__response__, 'multiplex_program_settings'), + packet_identifiers_map=pulumi.get(__response__, 'packet_identifiers_map'), + pipeline_details=pulumi.get(__response__, 'pipeline_details'))) diff --git a/sdk/python/pulumi_aws_native/medialive/get_network.py b/sdk/python/pulumi_aws_native/medialive/get_network.py index 90aa061fc1..5e07a8400d 100644 --- a/sdk/python/pulumi_aws_native/medialive/get_network.py +++ b/sdk/python/pulumi_aws_native/medialive/get_network.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -147,9 +152,6 @@ def get_network(id: Optional[str] = None, routes=pulumi.get(__ret__, 'routes'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_network) def get_network_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkResult]: """ @@ -158,4 +160,16 @@ def get_network_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique ID of the Network. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:medialive:getNetwork', __args__, opts=opts, typ=GetNetworkResult) + return __ret__.apply(lambda __response__: GetNetworkResult( + arn=pulumi.get(__response__, 'arn'), + associated_cluster_ids=pulumi.get(__response__, 'associated_cluster_ids'), + id=pulumi.get(__response__, 'id'), + ip_pools=pulumi.get(__response__, 'ip_pools'), + name=pulumi.get(__response__, 'name'), + routes=pulumi.get(__response__, 'routes'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/medialive/get_sdi_source.py b/sdk/python/pulumi_aws_native/medialive/get_sdi_source.py index 9f6b475f0a..cd39d7a1d0 100644 --- a/sdk/python/pulumi_aws_native/medialive/get_sdi_source.py +++ b/sdk/python/pulumi_aws_native/medialive/get_sdi_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -140,9 +145,6 @@ def get_sdi_source(id: Optional[str] = None, state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_sdi_source) def get_sdi_source_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSdiSourceResult]: """ @@ -151,4 +153,16 @@ def get_sdi_source_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique identifier of the SdiSource. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:medialive:getSdiSource', __args__, opts=opts, typ=GetSdiSourceResult) + return __ret__.apply(lambda __response__: GetSdiSourceResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + inputs=pulumi.get(__response__, 'inputs'), + mode=pulumi.get(__response__, 'mode'), + name=pulumi.get(__response__, 'name'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/medialive/get_signal_map.py b/sdk/python/pulumi_aws_native/medialive/get_signal_map.py index dabdd90814..87452de813 100644 --- a/sdk/python/pulumi_aws_native/medialive/get_signal_map.py +++ b/sdk/python/pulumi_aws_native/medialive/get_signal_map.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -261,12 +266,31 @@ def get_signal_map(identifier: Optional[str] = None, monitor_deployment=pulumi.get(__ret__, 'monitor_deployment'), name=pulumi.get(__ret__, 'name'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_signal_map) def get_signal_map_output(identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSignalMapResult]: """ Definition of AWS::MediaLive::SignalMap Resource Type """ - ... + __args__ = dict() + __args__['identifier'] = identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:medialive:getSignalMap', __args__, opts=opts, typ=GetSignalMapResult) + return __ret__.apply(lambda __response__: GetSignalMapResult( + arn=pulumi.get(__response__, 'arn'), + cloud_watch_alarm_template_group_ids=pulumi.get(__response__, 'cloud_watch_alarm_template_group_ids'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + discovery_entry_point_arn=pulumi.get(__response__, 'discovery_entry_point_arn'), + error_message=pulumi.get(__response__, 'error_message'), + event_bridge_rule_template_group_ids=pulumi.get(__response__, 'event_bridge_rule_template_group_ids'), + failed_media_resource_map=pulumi.get(__response__, 'failed_media_resource_map'), + id=pulumi.get(__response__, 'id'), + identifier=pulumi.get(__response__, 'identifier'), + last_discovered_at=pulumi.get(__response__, 'last_discovered_at'), + last_successful_monitor_deployment=pulumi.get(__response__, 'last_successful_monitor_deployment'), + media_resource_map=pulumi.get(__response__, 'media_resource_map'), + modified_at=pulumi.get(__response__, 'modified_at'), + monitor_changes_pending_deployment=pulumi.get(__response__, 'monitor_changes_pending_deployment'), + monitor_deployment=pulumi.get(__response__, 'monitor_deployment'), + name=pulumi.get(__response__, 'name'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/medialive/multiplex.py b/sdk/python/pulumi_aws_native/medialive/multiplex.py index 9b67ba228f..5f47bf5a3b 100644 --- a/sdk/python/pulumi_aws_native/medialive/multiplex.py +++ b/sdk/python/pulumi_aws_native/medialive/multiplex.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/medialive/multiplexprogram.py b/sdk/python/pulumi_aws_native/medialive/multiplexprogram.py index 6d590b507e..08a8d7a9bd 100644 --- a/sdk/python/pulumi_aws_native/medialive/multiplexprogram.py +++ b/sdk/python/pulumi_aws_native/medialive/multiplexprogram.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/medialive/network.py b/sdk/python/pulumi_aws_native/medialive/network.py index c87ef98bf4..21cdc2022c 100644 --- a/sdk/python/pulumi_aws_native/medialive/network.py +++ b/sdk/python/pulumi_aws_native/medialive/network.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/medialive/outputs.py b/sdk/python/pulumi_aws_native/medialive/outputs.py index e3313c2419..bf5d6de121 100644 --- a/sdk/python/pulumi_aws_native/medialive/outputs.py +++ b/sdk/python/pulumi_aws_native/medialive/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/medialive/sdi_source.py b/sdk/python/pulumi_aws_native/medialive/sdi_source.py index c0ddbe07e5..4343c10c91 100644 --- a/sdk/python/pulumi_aws_native/medialive/sdi_source.py +++ b/sdk/python/pulumi_aws_native/medialive/sdi_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/medialive/signal_map.py b/sdk/python/pulumi_aws_native/medialive/signal_map.py index 10f6e61df1..05ab8c2502 100644 --- a/sdk/python/pulumi_aws_native/medialive/signal_map.py +++ b/sdk/python/pulumi_aws_native/medialive/signal_map.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediapackage/_inputs.py b/sdk/python/pulumi_aws_native/mediapackage/_inputs.py index e4c15153a5..262ff98414 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/_inputs.py +++ b/sdk/python/pulumi_aws_native/mediapackage/_inputs.py @@ -4,48 +4,104 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AssetEgressEndpointArgs', + 'AssetEgressEndpointArgsDict', 'ChannelHlsIngestArgs', + 'ChannelHlsIngestArgsDict', 'ChannelIngestEndpointArgs', + 'ChannelIngestEndpointArgsDict', 'ChannelLogConfigurationArgs', + 'ChannelLogConfigurationArgsDict', 'OriginEndpointAuthorizationArgs', + 'OriginEndpointAuthorizationArgsDict', 'OriginEndpointCmafEncryptionArgs', + 'OriginEndpointCmafEncryptionArgsDict', 'OriginEndpointCmafPackageArgs', + 'OriginEndpointCmafPackageArgsDict', 'OriginEndpointDashEncryptionArgs', + 'OriginEndpointDashEncryptionArgsDict', 'OriginEndpointDashPackageArgs', + 'OriginEndpointDashPackageArgsDict', 'OriginEndpointEncryptionContractConfigurationArgs', + 'OriginEndpointEncryptionContractConfigurationArgsDict', 'OriginEndpointHlsEncryptionArgs', + 'OriginEndpointHlsEncryptionArgsDict', 'OriginEndpointHlsManifestArgs', + 'OriginEndpointHlsManifestArgsDict', 'OriginEndpointHlsPackageArgs', + 'OriginEndpointHlsPackageArgsDict', 'OriginEndpointMssEncryptionArgs', + 'OriginEndpointMssEncryptionArgsDict', 'OriginEndpointMssPackageArgs', + 'OriginEndpointMssPackageArgsDict', 'OriginEndpointSpekeKeyProviderArgs', + 'OriginEndpointSpekeKeyProviderArgsDict', 'OriginEndpointStreamSelectionArgs', + 'OriginEndpointStreamSelectionArgsDict', 'PackagingConfigurationCmafEncryptionArgs', + 'PackagingConfigurationCmafEncryptionArgsDict', 'PackagingConfigurationCmafPackageArgs', + 'PackagingConfigurationCmafPackageArgsDict', 'PackagingConfigurationDashEncryptionArgs', + 'PackagingConfigurationDashEncryptionArgsDict', 'PackagingConfigurationDashManifestArgs', + 'PackagingConfigurationDashManifestArgsDict', 'PackagingConfigurationDashPackageArgs', + 'PackagingConfigurationDashPackageArgsDict', 'PackagingConfigurationEncryptionContractConfigurationArgs', + 'PackagingConfigurationEncryptionContractConfigurationArgsDict', 'PackagingConfigurationHlsEncryptionArgs', + 'PackagingConfigurationHlsEncryptionArgsDict', 'PackagingConfigurationHlsManifestArgs', + 'PackagingConfigurationHlsManifestArgsDict', 'PackagingConfigurationHlsPackageArgs', + 'PackagingConfigurationHlsPackageArgsDict', 'PackagingConfigurationMssEncryptionArgs', + 'PackagingConfigurationMssEncryptionArgsDict', 'PackagingConfigurationMssManifestArgs', + 'PackagingConfigurationMssManifestArgsDict', 'PackagingConfigurationMssPackageArgs', + 'PackagingConfigurationMssPackageArgsDict', 'PackagingConfigurationSpekeKeyProviderArgs', + 'PackagingConfigurationSpekeKeyProviderArgsDict', 'PackagingConfigurationStreamSelectionArgs', + 'PackagingConfigurationStreamSelectionArgsDict', 'PackagingGroupAuthorizationArgs', + 'PackagingGroupAuthorizationArgsDict', 'PackagingGroupLogConfigurationArgs', + 'PackagingGroupLogConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class AssetEgressEndpointArgsDict(TypedDict): + """ + The endpoint URL used to access an Asset using one PackagingConfiguration. + """ + packaging_configuration_id: pulumi.Input[str] + """ + The ID of the PackagingConfiguration being applied to the Asset. + """ + url: pulumi.Input[str] + """ + The URL of the parent manifest for the repackaged Asset. + """ +elif False: + AssetEgressEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssetEgressEndpointArgs: def __init__(__self__, *, @@ -84,6 +140,18 @@ def url(self, value: pulumi.Input[str]): pulumi.set(self, "url", value) +if not MYPY: + class ChannelHlsIngestArgsDict(TypedDict): + """ + An HTTP Live Streaming (HLS) ingest resource configuration. + """ + ingest_endpoints: NotRequired[pulumi.Input[Sequence[pulumi.Input['ChannelIngestEndpointArgsDict']]]] + """ + A list of endpoints to which the source stream should be sent. + """ +elif False: + ChannelHlsIngestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelHlsIngestArgs: def __init__(__self__, *, @@ -108,6 +176,30 @@ def ingest_endpoints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['C pulumi.set(self, "ingest_endpoints", value) +if not MYPY: + class ChannelIngestEndpointArgsDict(TypedDict): + """ + An endpoint for ingesting source content for a Channel. + """ + id: pulumi.Input[str] + """ + The system generated unique identifier for the IngestEndpoint + """ + password: pulumi.Input[str] + """ + The system generated password for ingest authentication. + """ + url: pulumi.Input[str] + """ + The ingest URL to which the source stream should be sent. + """ + username: pulumi.Input[str] + """ + The system generated username for ingest authentication. + """ +elif False: + ChannelIngestEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelIngestEndpointArgs: def __init__(__self__, *, @@ -176,6 +268,15 @@ def username(self, value: pulumi.Input[str]): pulumi.set(self, "username", value) +if not MYPY: + class ChannelLogConfigurationArgsDict(TypedDict): + log_group_name: NotRequired[pulumi.Input[str]] + """ + Sets a custom AWS CloudWatch log group name for access logs. If a log group name isn't specified, the defaults are used: /aws/MediaPackage/EgressAccessLogs for egress access logs and /aws/MediaPackage/IngressAccessLogs for ingress access logs. + """ +elif False: + ChannelLogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelLogConfigurationArgs: def __init__(__self__, *, @@ -199,6 +300,22 @@ def log_group_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_group_name", value) +if not MYPY: + class OriginEndpointAuthorizationArgsDict(TypedDict): + """ + CDN Authorization credentials + """ + cdn_identifier_secret: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) for the secret in Secrets Manager that your Content Distribution Network (CDN) uses for authorization to access your endpoint. + """ + secrets_role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager. + """ +elif False: + OriginEndpointAuthorizationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointAuthorizationArgs: def __init__(__self__, *, @@ -237,6 +354,30 @@ def secrets_role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "secrets_role_arn", value) +if not MYPY: + class OriginEndpointCmafEncryptionArgsDict(TypedDict): + """ + A Common Media Application Format (CMAF) encryption configuration. + """ + speke_key_provider: pulumi.Input['OriginEndpointSpekeKeyProviderArgsDict'] + """ + Parameters for the SPEKE key provider. + """ + constant_initialization_vector: NotRequired[pulumi.Input[str]] + """ + An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV). + """ + encryption_method: NotRequired[pulumi.Input['OriginEndpointCmafEncryptionEncryptionMethod']] + """ + The encryption method used + """ + key_rotation_interval_seconds: NotRequired[pulumi.Input[int]] + """ + Time (in seconds) between each encryption key rotation. + """ +elif False: + OriginEndpointCmafEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointCmafEncryptionArgs: def __init__(__self__, *, @@ -308,6 +449,34 @@ def key_rotation_interval_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "key_rotation_interval_seconds", value) +if not MYPY: + class OriginEndpointCmafPackageArgsDict(TypedDict): + """ + A Common Media Application Format (CMAF) packaging configuration. + """ + encryption: NotRequired[pulumi.Input['OriginEndpointCmafEncryptionArgsDict']] + """ + Parameters for encrypting content. + """ + hls_manifests: NotRequired[pulumi.Input[Sequence[pulumi.Input['OriginEndpointHlsManifestArgsDict']]]] + """ + A list of HLS manifest configurations + """ + segment_duration_seconds: NotRequired[pulumi.Input[int]] + """ + Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration. + """ + segment_prefix: NotRequired[pulumi.Input[str]] + """ + An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId. + """ + stream_selection: NotRequired[pulumi.Input['OriginEndpointStreamSelectionArgsDict']] + """ + Limitations for outputs from the endpoint, based on the video bitrate. + """ +elif False: + OriginEndpointCmafPackageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointCmafPackageArgs: def __init__(__self__, *, @@ -396,6 +565,22 @@ def stream_selection(self, value: Optional[pulumi.Input['OriginEndpointStreamSel pulumi.set(self, "stream_selection", value) +if not MYPY: + class OriginEndpointDashEncryptionArgsDict(TypedDict): + """ + A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration. + """ + speke_key_provider: pulumi.Input['OriginEndpointSpekeKeyProviderArgsDict'] + """ + Parameters for the SPEKE key provider. + """ + key_rotation_interval_seconds: NotRequired[pulumi.Input[int]] + """ + Time (in seconds) between each encryption key rotation. + """ +elif False: + OriginEndpointDashEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointDashEncryptionArgs: def __init__(__self__, *, @@ -435,6 +620,78 @@ def key_rotation_interval_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "key_rotation_interval_seconds", value) +if not MYPY: + class OriginEndpointDashPackageArgsDict(TypedDict): + """ + A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. + """ + ad_triggers: NotRequired[pulumi.Input[Sequence[pulumi.Input['OriginEndpointDashPackageAdTriggersItem']]]] + """ + A list of SCTE-35 message types that are treated as ad markers in the output. If empty, no ad markers are output. Specify multiple items to create ad markers for all of the included message types. + """ + ads_on_delivery_restrictions: NotRequired[pulumi.Input['OriginEndpointAdsOnDeliveryRestrictions']] + """ + The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest. For information about SCTE-35 in AWS Elemental MediaPackage , see [SCTE-35 Message Options in AWS Elemental MediaPackage](https://docs.aws.amazon.com/mediapackage/latest/ug/scte.html) . + """ + encryption: NotRequired[pulumi.Input['OriginEndpointDashEncryptionArgsDict']] + """ + Parameters for encrypting content. + """ + include_iframe_only_stream: NotRequired[pulumi.Input[bool]] + """ + When enabled, an I-Frame only stream will be included in the output. + """ + manifest_layout: NotRequired[pulumi.Input['OriginEndpointDashPackageManifestLayout']] + """ + Determines the position of some tags in the Media Presentation Description (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are included in each Representation. When set to COMPACT, duplicate elements are combined and presented at the AdaptationSet level. + """ + manifest_window_seconds: NotRequired[pulumi.Input[int]] + """ + Time window (in seconds) contained in each manifest. + """ + min_buffer_time_seconds: NotRequired[pulumi.Input[int]] + """ + Minimum duration (in seconds) that a player will buffer media before starting the presentation. + """ + min_update_period_seconds: NotRequired[pulumi.Input[int]] + """ + Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD). + """ + period_triggers: NotRequired[pulumi.Input[Sequence[pulumi.Input['OriginEndpointDashPackagePeriodTriggersItem']]]] + """ + A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Channel source contains SCTE-35 ad markers. + """ + profile: NotRequired[pulumi.Input['OriginEndpointDashPackageProfile']] + """ + The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled. + """ + segment_duration_seconds: NotRequired[pulumi.Input[int]] + """ + Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration. + """ + segment_template_format: NotRequired[pulumi.Input['OriginEndpointDashPackageSegmentTemplateFormat']] + """ + Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs. + """ + stream_selection: NotRequired[pulumi.Input['OriginEndpointStreamSelectionArgsDict']] + """ + Limitations for outputs from the endpoint, based on the video bitrate. + """ + suggested_presentation_delay_seconds: NotRequired[pulumi.Input[int]] + """ + Duration (in seconds) to delay live content before presentation. + """ + utc_timing: NotRequired[pulumi.Input['OriginEndpointDashPackageUtcTiming']] + """ + Determines the type of UTCTiming included in the Media Presentation Description (MPD) + """ + utc_timing_uri: NotRequired[pulumi.Input[str]] + """ + Specifies the value attribute of the UTCTiming field when utcTiming is set to HTTP-ISO, HTTP-HEAD or HTTP-XSDATE + """ +elif False: + OriginEndpointDashPackageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointDashPackageArgs: def __init__(__self__, *, @@ -699,6 +956,22 @@ def utc_timing_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "utc_timing_uri", value) +if not MYPY: + class OriginEndpointEncryptionContractConfigurationArgsDict(TypedDict): + """ + The configuration to use for encrypting one or more content tracks separately for endpoints that use SPEKE 2.0. + """ + preset_speke20_audio: pulumi.Input['OriginEndpointEncryptionContractConfigurationPresetSpeke20Audio'] + """ + A collection of audio encryption presets. + """ + preset_speke20_video: pulumi.Input['OriginEndpointEncryptionContractConfigurationPresetSpeke20Video'] + """ + A collection of video encryption presets. + """ +elif False: + OriginEndpointEncryptionContractConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointEncryptionContractConfigurationArgs: def __init__(__self__, *, @@ -737,6 +1010,34 @@ def preset_speke20_video(self, value: pulumi.Input['OriginEndpointEncryptionCont pulumi.set(self, "preset_speke20_video", value) +if not MYPY: + class OriginEndpointHlsEncryptionArgsDict(TypedDict): + """ + An HTTP Live Streaming (HLS) encryption configuration. + """ + speke_key_provider: pulumi.Input['OriginEndpointSpekeKeyProviderArgsDict'] + """ + Parameters for the SPEKE key provider. + """ + constant_initialization_vector: NotRequired[pulumi.Input[str]] + """ + A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated. + """ + encryption_method: NotRequired[pulumi.Input['OriginEndpointHlsEncryptionEncryptionMethod']] + """ + The encryption method to use. + """ + key_rotation_interval_seconds: NotRequired[pulumi.Input[int]] + """ + Interval (in seconds) between each encryption key rotation. + """ + repeat_ext_x_key: NotRequired[pulumi.Input[bool]] + """ + When enabled, the EXT-X-KEY tag will be repeated in output manifests. + """ +elif False: + OriginEndpointHlsEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointHlsEncryptionArgs: def __init__(__self__, *, @@ -824,6 +1125,54 @@ def repeat_ext_x_key(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "repeat_ext_x_key", value) +if not MYPY: + class OriginEndpointHlsManifestArgsDict(TypedDict): + """ + A HTTP Live Streaming (HLS) manifest configuration. + """ + id: pulumi.Input[str] + """ + The ID of the manifest. The ID must be unique within the OriginEndpoint and it cannot be changed after it is created. + """ + ad_markers: NotRequired[pulumi.Input['OriginEndpointHlsManifestAdMarkers']] + """ + This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value that is greater than 0. + """ + ad_triggers: NotRequired[pulumi.Input[Sequence[pulumi.Input['OriginEndpointHlsManifestAdTriggersItem']]]] + """ + A list of SCTE-35 message types that are treated as ad markers in the output. If empty, no ad markers are output. Specify multiple items to create ad markers for all of the included message types. + """ + ads_on_delivery_restrictions: NotRequired[pulumi.Input['OriginEndpointAdsOnDeliveryRestrictions']] + """ + The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest. For information about SCTE-35 in AWS Elemental MediaPackage , see [SCTE-35 Message Options in AWS Elemental MediaPackage](https://docs.aws.amazon.com/mediapackage/latest/ug/scte.html) . + """ + include_iframe_only_stream: NotRequired[pulumi.Input[bool]] + """ + When enabled, an I-Frame only stream will be included in the output. + """ + manifest_name: NotRequired[pulumi.Input[str]] + """ + An optional short string appended to the end of the OriginEndpoint URL. If not specified, defaults to the manifestName for the OriginEndpoint. + """ + playlist_type: NotRequired[pulumi.Input['OriginEndpointHlsManifestPlaylistType']] + """ + The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist. + """ + playlist_window_seconds: NotRequired[pulumi.Input[int]] + """ + Time window (in seconds) contained in each parent manifest. + """ + program_date_time_interval_seconds: NotRequired[pulumi.Input[int]] + """ + The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output. + """ + url: NotRequired[pulumi.Input[str]] + """ + The URL of the packaged OriginEndpoint for consumption. + """ +elif False: + OriginEndpointHlsManifestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointHlsManifestArgs: def __init__(__self__, *, @@ -991,6 +1340,62 @@ def url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url", value) +if not MYPY: + class OriginEndpointHlsPackageArgsDict(TypedDict): + """ + An HTTP Live Streaming (HLS) packaging configuration. + """ + ad_markers: NotRequired[pulumi.Input['OriginEndpointHlsPackageAdMarkers']] + """ + This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value that is greater than 0. + """ + ad_triggers: NotRequired[pulumi.Input[Sequence[pulumi.Input['OriginEndpointHlsPackageAdTriggersItem']]]] + """ + A list of SCTE-35 message types that are treated as ad markers in the output. If empty, no ad markers are output. Specify multiple items to create ad markers for all of the included message types. + """ + ads_on_delivery_restrictions: NotRequired[pulumi.Input['OriginEndpointAdsOnDeliveryRestrictions']] + """ + The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest. For information about SCTE-35 in AWS Elemental MediaPackage , see [SCTE-35 Message Options in AWS Elemental MediaPackage](https://docs.aws.amazon.com/mediapackage/latest/ug/scte.html) . + """ + encryption: NotRequired[pulumi.Input['OriginEndpointHlsEncryptionArgsDict']] + """ + Parameters for encrypting content. + """ + include_dvb_subtitles: NotRequired[pulumi.Input[bool]] + """ + When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output. + """ + include_iframe_only_stream: NotRequired[pulumi.Input[bool]] + """ + When enabled, an I-Frame only stream will be included in the output. + """ + playlist_type: NotRequired[pulumi.Input['OriginEndpointHlsPackagePlaylistType']] + """ + The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist. + """ + playlist_window_seconds: NotRequired[pulumi.Input[int]] + """ + Time window (in seconds) contained in each parent manifest. + """ + program_date_time_interval_seconds: NotRequired[pulumi.Input[int]] + """ + The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output. + """ + segment_duration_seconds: NotRequired[pulumi.Input[int]] + """ + Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration. + """ + stream_selection: NotRequired[pulumi.Input['OriginEndpointStreamSelectionArgsDict']] + """ + Limitations for outputs from the endpoint, based on the video bitrate. + """ + use_audio_rendition_group: NotRequired[pulumi.Input[bool]] + """ + When enabled, audio streams will be placed in rendition groups in the output. + """ +elif False: + OriginEndpointHlsPackageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointHlsPackageArgs: def __init__(__self__, *, @@ -1191,6 +1596,18 @@ def use_audio_rendition_group(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_audio_rendition_group", value) +if not MYPY: + class OriginEndpointMssEncryptionArgsDict(TypedDict): + """ + A Microsoft Smooth Streaming (MSS) encryption configuration. + """ + speke_key_provider: pulumi.Input['OriginEndpointSpekeKeyProviderArgsDict'] + """ + Parameters for the SPEKE key provider. + """ +elif False: + OriginEndpointMssEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointMssEncryptionArgs: def __init__(__self__, *, @@ -1214,7 +1631,31 @@ def speke_key_provider(self, value: pulumi.Input['OriginEndpointSpekeKeyProvider pulumi.set(self, "speke_key_provider", value) -@pulumi.input_type +if not MYPY: + class OriginEndpointMssPackageArgsDict(TypedDict): + """ + A Microsoft Smooth Streaming (MSS) packaging configuration. + """ + encryption: NotRequired[pulumi.Input['OriginEndpointMssEncryptionArgsDict']] + """ + Parameters for encrypting content. + """ + manifest_window_seconds: NotRequired[pulumi.Input[int]] + """ + The time window (in seconds) contained in each manifest. + """ + segment_duration_seconds: NotRequired[pulumi.Input[int]] + """ + The duration (in seconds) of each segment. + """ + stream_selection: NotRequired[pulumi.Input['OriginEndpointStreamSelectionArgsDict']] + """ + Limitations for outputs from the endpoint, based on the video bitrate. + """ +elif False: + OriginEndpointMssPackageArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type class OriginEndpointMssPackageArgs: def __init__(__self__, *, encryption: Optional[pulumi.Input['OriginEndpointMssEncryptionArgs']] = None, @@ -1286,6 +1727,38 @@ def stream_selection(self, value: Optional[pulumi.Input['OriginEndpointStreamSel pulumi.set(self, "stream_selection", value) +if not MYPY: + class OriginEndpointSpekeKeyProviderArgsDict(TypedDict): + """ + A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys. + """ + resource_id: pulumi.Input[str] + """ + The resource ID to include in key requests. + """ + role_arn: pulumi.Input[str] + """ + An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service. + """ + system_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The system IDs to include in key requests. + """ + url: pulumi.Input[str] + """ + The URL of the external key provider service. + """ + certificate_arn: NotRequired[pulumi.Input[str]] + """ + An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service. + """ + encryption_contract_configuration: NotRequired[pulumi.Input['OriginEndpointEncryptionContractConfigurationArgsDict']] + """ + Use `encryptionContractConfiguration` to configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. + """ +elif False: + OriginEndpointSpekeKeyProviderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointSpekeKeyProviderArgs: def __init__(__self__, *, @@ -1386,6 +1859,26 @@ def encryption_contract_configuration(self, value: Optional[pulumi.Input['Origin pulumi.set(self, "encryption_contract_configuration", value) +if not MYPY: + class OriginEndpointStreamSelectionArgsDict(TypedDict): + """ + A StreamSelection configuration. + """ + max_video_bits_per_second: NotRequired[pulumi.Input[int]] + """ + The maximum video bitrate (bps) to include in output. + """ + min_video_bits_per_second: NotRequired[pulumi.Input[int]] + """ + The minimum video bitrate (bps) to include in output. + """ + stream_order: NotRequired[pulumi.Input['OriginEndpointStreamSelectionStreamOrder']] + """ + A directive that determines the order of streams in the output. + """ +elif False: + OriginEndpointStreamSelectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointStreamSelectionArgs: def __init__(__self__, *, @@ -1442,6 +1935,18 @@ def stream_order(self, value: Optional[pulumi.Input['OriginEndpointStreamSelecti pulumi.set(self, "stream_order", value) +if not MYPY: + class PackagingConfigurationCmafEncryptionArgsDict(TypedDict): + """ + A CMAF encryption configuration. + """ + speke_key_provider: pulumi.Input['PackagingConfigurationSpekeKeyProviderArgsDict'] + """ + Parameters for the SPEKE key provider. + """ +elif False: + PackagingConfigurationCmafEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationCmafEncryptionArgs: def __init__(__self__, *, @@ -1465,6 +1970,30 @@ def speke_key_provider(self, value: pulumi.Input['PackagingConfigurationSpekeKey pulumi.set(self, "speke_key_provider", value) +if not MYPY: + class PackagingConfigurationCmafPackageArgsDict(TypedDict): + """ + A CMAF packaging configuration. + """ + hls_manifests: pulumi.Input[Sequence[pulumi.Input['PackagingConfigurationHlsManifestArgsDict']]] + """ + A list of HLS manifest configurations. + """ + encryption: NotRequired[pulumi.Input['PackagingConfigurationCmafEncryptionArgsDict']] + """ + Parameters for encrypting content. + """ + include_encoder_configuration_in_segments: NotRequired[pulumi.Input[bool]] + """ + When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback. + """ + segment_duration_seconds: NotRequired[pulumi.Input[int]] + """ + Duration (in seconds) of each segment. Actual segments are rounded to the nearest multiple of the source fragment duration. + """ +elif False: + PackagingConfigurationCmafPackageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationCmafPackageArgs: def __init__(__self__, *, @@ -1536,6 +2065,18 @@ def segment_duration_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "segment_duration_seconds", value) +if not MYPY: + class PackagingConfigurationDashEncryptionArgsDict(TypedDict): + """ + A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration. + """ + speke_key_provider: pulumi.Input['PackagingConfigurationSpekeKeyProviderArgsDict'] + """ + Parameters for the SPEKE key provider. + """ +elif False: + PackagingConfigurationDashEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationDashEncryptionArgs: def __init__(__self__, *, @@ -1559,6 +2100,38 @@ def speke_key_provider(self, value: pulumi.Input['PackagingConfigurationSpekeKey pulumi.set(self, "speke_key_provider", value) +if not MYPY: + class PackagingConfigurationDashManifestArgsDict(TypedDict): + """ + A DASH manifest configuration. + """ + manifest_layout: NotRequired[pulumi.Input['PackagingConfigurationDashManifestManifestLayout']] + """ + Determines the position of some tags in the Media Presentation Description (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are included in each Representation. When set to COMPACT, duplicate elements are combined and presented at the AdaptationSet level. + """ + manifest_name: NotRequired[pulumi.Input[str]] + """ + A short string that's appended to the end of the endpoint URL to create a unique path to this packaging configuration. + """ + min_buffer_time_seconds: NotRequired[pulumi.Input[int]] + """ + Minimum duration (in seconds) that a player will buffer media before starting the presentation. + """ + profile: NotRequired[pulumi.Input['PackagingConfigurationDashManifestProfile']] + """ + The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled. + """ + scte_markers_source: NotRequired[pulumi.Input['PackagingConfigurationDashManifestScteMarkersSource']] + """ + The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content. + """ + stream_selection: NotRequired[pulumi.Input['PackagingConfigurationStreamSelectionArgsDict']] + """ + Limitations for outputs from the endpoint, based on the video bitrate. + """ +elif False: + PackagingConfigurationDashManifestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationDashManifestArgs: def __init__(__self__, *, @@ -1663,6 +2236,42 @@ def stream_selection(self, value: Optional[pulumi.Input['PackagingConfigurationS pulumi.set(self, "stream_selection", value) +if not MYPY: + class PackagingConfigurationDashPackageArgsDict(TypedDict): + """ + A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. + """ + dash_manifests: pulumi.Input[Sequence[pulumi.Input['PackagingConfigurationDashManifestArgsDict']]] + """ + A list of DASH manifest configurations. + """ + encryption: NotRequired[pulumi.Input['PackagingConfigurationDashEncryptionArgsDict']] + """ + Parameters for encrypting content. + """ + include_encoder_configuration_in_segments: NotRequired[pulumi.Input[bool]] + """ + When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback. + """ + include_iframe_only_stream: NotRequired[pulumi.Input[bool]] + """ + When enabled, an I-Frame only stream will be included in the output. + """ + period_triggers: NotRequired[pulumi.Input[Sequence[pulumi.Input['PackagingConfigurationDashPackagePeriodTriggersItem']]]] + """ + A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers. + """ + segment_duration_seconds: NotRequired[pulumi.Input[int]] + """ + Duration (in seconds) of each fragment. Actual fragments are rounded to the nearest multiple of the source segment duration. + """ + segment_template_format: NotRequired[pulumi.Input['PackagingConfigurationDashPackageSegmentTemplateFormat']] + """ + Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs. + """ +elif False: + PackagingConfigurationDashPackageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationDashPackageArgs: def __init__(__self__, *, @@ -1782,6 +2391,22 @@ def segment_template_format(self, value: Optional[pulumi.Input['PackagingConfigu pulumi.set(self, "segment_template_format", value) +if not MYPY: + class PackagingConfigurationEncryptionContractConfigurationArgsDict(TypedDict): + """ + The configuration to use for encrypting one or more content tracks separately for endpoints that use SPEKE 2.0. + """ + preset_speke20_audio: pulumi.Input['PackagingConfigurationEncryptionContractConfigurationPresetSpeke20Audio'] + """ + A collection of audio encryption presets. + """ + preset_speke20_video: pulumi.Input['PackagingConfigurationEncryptionContractConfigurationPresetSpeke20Video'] + """ + A collection of video encryption presets. + """ +elif False: + PackagingConfigurationEncryptionContractConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationEncryptionContractConfigurationArgs: def __init__(__self__, *, @@ -1820,6 +2445,26 @@ def preset_speke20_video(self, value: pulumi.Input['PackagingConfigurationEncryp pulumi.set(self, "preset_speke20_video", value) +if not MYPY: + class PackagingConfigurationHlsEncryptionArgsDict(TypedDict): + """ + An HTTP Live Streaming (HLS) encryption configuration. + """ + speke_key_provider: pulumi.Input['PackagingConfigurationSpekeKeyProviderArgsDict'] + """ + Parameters for the SPEKE key provider. + """ + constant_initialization_vector: NotRequired[pulumi.Input[str]] + """ + An HTTP Live Streaming (HLS) encryption configuration. + """ + encryption_method: NotRequired[pulumi.Input['PackagingConfigurationHlsEncryptionEncryptionMethod']] + """ + The encryption method to use. + """ +elif False: + PackagingConfigurationHlsEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationHlsEncryptionArgs: def __init__(__self__, *, @@ -1875,6 +2520,38 @@ def encryption_method(self, value: Optional[pulumi.Input['PackagingConfiguration pulumi.set(self, "encryption_method", value) +if not MYPY: + class PackagingConfigurationHlsManifestArgsDict(TypedDict): + """ + An HTTP Live Streaming (HLS) manifest configuration. + """ + ad_markers: NotRequired[pulumi.Input['PackagingConfigurationHlsManifestAdMarkers']] + """ + This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source. + """ + include_iframe_only_stream: NotRequired[pulumi.Input[bool]] + """ + When enabled, an I-Frame only stream will be included in the output. + """ + manifest_name: NotRequired[pulumi.Input[str]] + """ + A short string that's appended to the end of the endpoint URL to create a unique path to this packaging configuration. + """ + program_date_time_interval_seconds: NotRequired[pulumi.Input[int]] + """ + The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output. + """ + repeat_ext_x_key: NotRequired[pulumi.Input[bool]] + """ + When enabled, the EXT-X-KEY tag will be repeated in output manifests. + """ + stream_selection: NotRequired[pulumi.Input['PackagingConfigurationStreamSelectionArgsDict']] + """ + Video bitrate limitations for outputs from this packaging configuration. + """ +elif False: + PackagingConfigurationHlsManifestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationHlsManifestArgs: def __init__(__self__, *, @@ -1979,6 +2656,34 @@ def stream_selection(self, value: Optional[pulumi.Input['PackagingConfigurationS pulumi.set(self, "stream_selection", value) +if not MYPY: + class PackagingConfigurationHlsPackageArgsDict(TypedDict): + """ + An HTTP Live Streaming (HLS) packaging configuration. + """ + hls_manifests: pulumi.Input[Sequence[pulumi.Input['PackagingConfigurationHlsManifestArgsDict']]] + """ + A list of HLS manifest configurations. + """ + encryption: NotRequired[pulumi.Input['PackagingConfigurationHlsEncryptionArgsDict']] + """ + Parameters for encrypting content. + """ + include_dvb_subtitles: NotRequired[pulumi.Input[bool]] + """ + When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output. + """ + segment_duration_seconds: NotRequired[pulumi.Input[int]] + """ + Duration (in seconds) of each fragment. Actual fragments are rounded to the nearest multiple of the source fragment duration. + """ + use_audio_rendition_group: NotRequired[pulumi.Input[bool]] + """ + When enabled, audio streams will be placed in rendition groups in the output. + """ +elif False: + PackagingConfigurationHlsPackageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationHlsPackageArgs: def __init__(__self__, *, @@ -2066,6 +2771,18 @@ def use_audio_rendition_group(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_audio_rendition_group", value) +if not MYPY: + class PackagingConfigurationMssEncryptionArgsDict(TypedDict): + """ + A CMAF encryption configuration. + """ + speke_key_provider: pulumi.Input['PackagingConfigurationSpekeKeyProviderArgsDict'] + """ + Parameters for the SPEKE key provider. + """ +elif False: + PackagingConfigurationMssEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationMssEncryptionArgs: def __init__(__self__, *, @@ -2089,6 +2806,22 @@ def speke_key_provider(self, value: pulumi.Input['PackagingConfigurationSpekeKey pulumi.set(self, "speke_key_provider", value) +if not MYPY: + class PackagingConfigurationMssManifestArgsDict(TypedDict): + """ + A Microsoft Smooth Streaming (MSS) manifest configuration. + """ + manifest_name: NotRequired[pulumi.Input[str]] + """ + A short string that's appended to the end of the endpoint URL to create a unique path to this packaging configuration. + """ + stream_selection: NotRequired[pulumi.Input['PackagingConfigurationStreamSelectionArgsDict']] + """ + Video bitrate limitations for outputs from this packaging configuration. + """ +elif False: + PackagingConfigurationMssManifestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationMssManifestArgs: def __init__(__self__, *, @@ -2129,6 +2862,26 @@ def stream_selection(self, value: Optional[pulumi.Input['PackagingConfigurationS pulumi.set(self, "stream_selection", value) +if not MYPY: + class PackagingConfigurationMssPackageArgsDict(TypedDict): + """ + A Microsoft Smooth Streaming (MSS) PackagingConfiguration. + """ + mss_manifests: pulumi.Input[Sequence[pulumi.Input['PackagingConfigurationMssManifestArgsDict']]] + """ + A list of MSS manifest configurations. + """ + encryption: NotRequired[pulumi.Input['PackagingConfigurationMssEncryptionArgsDict']] + """ + Parameters for encrypting content. + """ + segment_duration_seconds: NotRequired[pulumi.Input[int]] + """ + Duration (in seconds) of each fragment. Actual fragments are rounded to the nearest multiple of the source fragment duration. + """ +elif False: + PackagingConfigurationMssPackageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationMssPackageArgs: def __init__(__self__, *, @@ -2184,6 +2937,30 @@ def segment_duration_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "segment_duration_seconds", value) +if not MYPY: + class PackagingConfigurationSpekeKeyProviderArgsDict(TypedDict): + """ + A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys. + """ + role_arn: pulumi.Input[str] + """ + The ARN for the IAM role that's granted by the key provider to provide access to the key provider API. Valid format: arn:aws:iam::{accountID}:role/{name} + """ + system_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The system IDs to include in key requests. + """ + url: pulumi.Input[str] + """ + The URL of the external key provider service. + """ + encryption_contract_configuration: NotRequired[pulumi.Input['PackagingConfigurationEncryptionContractConfigurationArgsDict']] + """ + Use `encryptionContractConfiguration` to configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. + """ +elif False: + PackagingConfigurationSpekeKeyProviderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationSpekeKeyProviderArgs: def __init__(__self__, *, @@ -2253,6 +3030,26 @@ def encryption_contract_configuration(self, value: Optional[pulumi.Input['Packag pulumi.set(self, "encryption_contract_configuration", value) +if not MYPY: + class PackagingConfigurationStreamSelectionArgsDict(TypedDict): + """ + A StreamSelection configuration. + """ + max_video_bits_per_second: NotRequired[pulumi.Input[int]] + """ + The maximum video bitrate (bps) to include in output. + """ + min_video_bits_per_second: NotRequired[pulumi.Input[int]] + """ + The minimum video bitrate (bps) to include in output. + """ + stream_order: NotRequired[pulumi.Input['PackagingConfigurationStreamSelectionStreamOrder']] + """ + A directive that determines the order of streams in the output. + """ +elif False: + PackagingConfigurationStreamSelectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingConfigurationStreamSelectionArgs: def __init__(__self__, *, @@ -2309,6 +3106,19 @@ def stream_order(self, value: Optional[pulumi.Input['PackagingConfigurationStrea pulumi.set(self, "stream_order", value) +if not MYPY: + class PackagingGroupAuthorizationArgsDict(TypedDict): + cdn_identifier_secret: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization. + """ + secrets_role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager. + """ +elif False: + PackagingGroupAuthorizationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingGroupAuthorizationArgs: def __init__(__self__, *, @@ -2346,6 +3156,15 @@ def secrets_role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "secrets_role_arn", value) +if not MYPY: + class PackagingGroupLogConfigurationArgsDict(TypedDict): + log_group_name: NotRequired[pulumi.Input[str]] + """ + Sets a custom AWS CloudWatch log group name for egress logs. If a log group name isn't specified, the default name is used: /aws/MediaPackage/VodEgressAccessLogs. + """ +elif False: + PackagingGroupLogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackagingGroupLogConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/mediapackage/asset.py b/sdk/python/pulumi_aws_native/mediapackage/asset.py index 137afbca1c..076e3c917d 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/asset.py +++ b/sdk/python/pulumi_aws_native/mediapackage/asset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/mediapackage/channel.py b/sdk/python/pulumi_aws_native/mediapackage/channel.py index 3b854e4590..6b96b7c40b 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/channel.py +++ b/sdk/python/pulumi_aws_native/mediapackage/channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/mediapackage/get_asset.py b/sdk/python/pulumi_aws_native/mediapackage/get_asset.py index bccda64b12..685d61efea 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/get_asset.py +++ b/sdk/python/pulumi_aws_native/mediapackage/get_asset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -162,9 +167,6 @@ def get_asset(id: Optional[str] = None, source_arn=pulumi.get(__ret__, 'source_arn'), source_role_arn=pulumi.get(__ret__, 'source_role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_asset) def get_asset_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAssetResult]: """ @@ -173,4 +175,17 @@ def get_asset_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique identifier for the Asset. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediapackage:getAsset', __args__, opts=opts, typ=GetAssetResult) + return __ret__.apply(lambda __response__: GetAssetResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + egress_endpoints=pulumi.get(__response__, 'egress_endpoints'), + id=pulumi.get(__response__, 'id'), + packaging_group_id=pulumi.get(__response__, 'packaging_group_id'), + resource_id=pulumi.get(__response__, 'resource_id'), + source_arn=pulumi.get(__response__, 'source_arn'), + source_role_arn=pulumi.get(__response__, 'source_role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/mediapackage/get_channel.py b/sdk/python/pulumi_aws_native/mediapackage/get_channel.py index f35b92e6ac..6ff7f5ba99 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/get_channel.py +++ b/sdk/python/pulumi_aws_native/mediapackage/get_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -109,9 +114,6 @@ def get_channel(id: Optional[str] = None, egress_access_logs=pulumi.get(__ret__, 'egress_access_logs'), hls_ingest=pulumi.get(__ret__, 'hls_ingest'), ingress_access_logs=pulumi.get(__ret__, 'ingress_access_logs')) - - -@_utilities.lift_output_func(get_channel) def get_channel_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetChannelResult]: """ @@ -120,4 +122,13 @@ def get_channel_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the Channel. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediapackage:getChannel', __args__, opts=opts, typ=GetChannelResult) + return __ret__.apply(lambda __response__: GetChannelResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + egress_access_logs=pulumi.get(__response__, 'egress_access_logs'), + hls_ingest=pulumi.get(__response__, 'hls_ingest'), + ingress_access_logs=pulumi.get(__response__, 'ingress_access_logs'))) diff --git a/sdk/python/pulumi_aws_native/mediapackage/get_origin_endpoint.py b/sdk/python/pulumi_aws_native/mediapackage/get_origin_endpoint.py index 1650809f44..8d4906b9ec 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/get_origin_endpoint.py +++ b/sdk/python/pulumi_aws_native/mediapackage/get_origin_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -241,9 +246,6 @@ def get_origin_endpoint(id: Optional[str] = None, time_delay_seconds=pulumi.get(__ret__, 'time_delay_seconds'), url=pulumi.get(__ret__, 'url'), whitelist=pulumi.get(__ret__, 'whitelist')) - - -@_utilities.lift_output_func(get_origin_endpoint) def get_origin_endpoint_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOriginEndpointResult]: """ @@ -252,4 +254,23 @@ def get_origin_endpoint_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the OriginEndpoint. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediapackage:getOriginEndpoint', __args__, opts=opts, typ=GetOriginEndpointResult) + return __ret__.apply(lambda __response__: GetOriginEndpointResult( + arn=pulumi.get(__response__, 'arn'), + authorization=pulumi.get(__response__, 'authorization'), + channel_id=pulumi.get(__response__, 'channel_id'), + cmaf_package=pulumi.get(__response__, 'cmaf_package'), + dash_package=pulumi.get(__response__, 'dash_package'), + description=pulumi.get(__response__, 'description'), + hls_package=pulumi.get(__response__, 'hls_package'), + manifest_name=pulumi.get(__response__, 'manifest_name'), + mss_package=pulumi.get(__response__, 'mss_package'), + origination=pulumi.get(__response__, 'origination'), + startover_window_seconds=pulumi.get(__response__, 'startover_window_seconds'), + tags=pulumi.get(__response__, 'tags'), + time_delay_seconds=pulumi.get(__response__, 'time_delay_seconds'), + url=pulumi.get(__response__, 'url'), + whitelist=pulumi.get(__response__, 'whitelist'))) diff --git a/sdk/python/pulumi_aws_native/mediapackage/get_packaging_configuration.py b/sdk/python/pulumi_aws_native/mediapackage/get_packaging_configuration.py index 2f34a68653..d91b90e7a9 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/get_packaging_configuration.py +++ b/sdk/python/pulumi_aws_native/mediapackage/get_packaging_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_packaging_configuration(id: Optional[str] = None, mss_package=pulumi.get(__ret__, 'mss_package'), packaging_group_id=pulumi.get(__ret__, 'packaging_group_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_packaging_configuration) def get_packaging_configuration_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPackagingConfigurationResult]: """ @@ -148,4 +150,15 @@ def get_packaging_configuration_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the PackagingConfiguration. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediapackage:getPackagingConfiguration', __args__, opts=opts, typ=GetPackagingConfigurationResult) + return __ret__.apply(lambda __response__: GetPackagingConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + cmaf_package=pulumi.get(__response__, 'cmaf_package'), + dash_package=pulumi.get(__response__, 'dash_package'), + hls_package=pulumi.get(__response__, 'hls_package'), + mss_package=pulumi.get(__response__, 'mss_package'), + packaging_group_id=pulumi.get(__response__, 'packaging_group_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/mediapackage/get_packaging_group.py b/sdk/python/pulumi_aws_native/mediapackage/get_packaging_group.py index 325c23e46a..3687591763 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/get_packaging_group.py +++ b/sdk/python/pulumi_aws_native/mediapackage/get_packaging_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -96,9 +101,6 @@ def get_packaging_group(id: Optional[str] = None, authorization=pulumi.get(__ret__, 'authorization'), domain_name=pulumi.get(__ret__, 'domain_name'), egress_access_logs=pulumi.get(__ret__, 'egress_access_logs')) - - -@_utilities.lift_output_func(get_packaging_group) def get_packaging_group_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPackagingGroupResult]: """ @@ -107,4 +109,12 @@ def get_packaging_group_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the PackagingGroup. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediapackage:getPackagingGroup', __args__, opts=opts, typ=GetPackagingGroupResult) + return __ret__.apply(lambda __response__: GetPackagingGroupResult( + arn=pulumi.get(__response__, 'arn'), + authorization=pulumi.get(__response__, 'authorization'), + domain_name=pulumi.get(__response__, 'domain_name'), + egress_access_logs=pulumi.get(__response__, 'egress_access_logs'))) diff --git a/sdk/python/pulumi_aws_native/mediapackage/origin_endpoint.py b/sdk/python/pulumi_aws_native/mediapackage/origin_endpoint.py index 17513d27c9..2c3a679594 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/origin_endpoint.py +++ b/sdk/python/pulumi_aws_native/mediapackage/origin_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/mediapackage/outputs.py b/sdk/python/pulumi_aws_native/mediapackage/outputs.py index bc82e3845b..59ac08f6c6 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/outputs.py +++ b/sdk/python/pulumi_aws_native/mediapackage/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediapackage/packaging_configuration.py b/sdk/python/pulumi_aws_native/mediapackage/packaging_configuration.py index 8163aa8675..bae92a2d90 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/packaging_configuration.py +++ b/sdk/python/pulumi_aws_native/mediapackage/packaging_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/mediapackage/packaging_group.py b/sdk/python/pulumi_aws_native/mediapackage/packaging_group.py index c3ca38db40..e02961ccb6 100644 --- a/sdk/python/pulumi_aws_native/mediapackage/packaging_group.py +++ b/sdk/python/pulumi_aws_native/mediapackage/packaging_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/_inputs.py b/sdk/python/pulumi_aws_native/mediapackagev2/_inputs.py index d53470021a..01107449fb 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/_inputs.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/_inputs.py @@ -4,29 +4,88 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'OriginEndpointDashManifestConfigurationArgs', + 'OriginEndpointDashManifestConfigurationArgsDict', 'OriginEndpointDashUtcTimingArgs', + 'OriginEndpointDashUtcTimingArgsDict', 'OriginEndpointEncryptionContractConfigurationArgs', + 'OriginEndpointEncryptionContractConfigurationArgsDict', 'OriginEndpointEncryptionMethodArgs', + 'OriginEndpointEncryptionMethodArgsDict', 'OriginEndpointEncryptionArgs', + 'OriginEndpointEncryptionArgsDict', 'OriginEndpointFilterConfigurationArgs', + 'OriginEndpointFilterConfigurationArgsDict', 'OriginEndpointForceEndpointErrorConfigurationArgs', + 'OriginEndpointForceEndpointErrorConfigurationArgsDict', 'OriginEndpointHlsManifestConfigurationArgs', + 'OriginEndpointHlsManifestConfigurationArgsDict', 'OriginEndpointLowLatencyHlsManifestConfigurationArgs', + 'OriginEndpointLowLatencyHlsManifestConfigurationArgsDict', 'OriginEndpointScteDashArgs', + 'OriginEndpointScteDashArgsDict', 'OriginEndpointScteHlsArgs', + 'OriginEndpointScteHlsArgsDict', 'OriginEndpointScteArgs', + 'OriginEndpointScteArgsDict', 'OriginEndpointSegmentArgs', + 'OriginEndpointSegmentArgsDict', 'OriginEndpointSpekeKeyProviderArgs', + 'OriginEndpointSpekeKeyProviderArgsDict', ] +MYPY = False + +if not MYPY: + class OriginEndpointDashManifestConfigurationArgsDict(TypedDict): + """ +

Retrieve the DASH manifest configuration.

+ """ + manifest_name: pulumi.Input[str] + """ +

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.

+ """ + drm_signaling: NotRequired[pulumi.Input['OriginEndpointDashDrmSignaling']] + filter_configuration: NotRequired[pulumi.Input['OriginEndpointFilterConfigurationArgsDict']] + manifest_window_seconds: NotRequired[pulumi.Input[int]] + """ +

The total duration (in seconds) of the manifest's content.

+ """ + min_buffer_time_seconds: NotRequired[pulumi.Input[int]] + """ +

Minimum amount of content (in seconds) that a player must keep available in the buffer.

+ """ + min_update_period_seconds: NotRequired[pulumi.Input[int]] + """ +

Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.

+ """ + period_triggers: NotRequired[pulumi.Input[Sequence[pulumi.Input['OriginEndpointDashPeriodTrigger']]]] + """ +

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. + For more information about periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage.

+ """ + scte_dash: NotRequired[pulumi.Input['OriginEndpointScteDashArgsDict']] + segment_template_format: NotRequired[pulumi.Input['OriginEndpointDashSegmentTemplateFormat']] + suggested_presentation_delay_seconds: NotRequired[pulumi.Input[int]] + """ +

The amount of time (in seconds) that the player should be from the end of the manifest.

+ """ + utc_timing: NotRequired[pulumi.Input['OriginEndpointDashUtcTimingArgsDict']] +elif False: + OriginEndpointDashManifestConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointDashManifestConfigurationArgs: def __init__(__self__, *, @@ -192,6 +251,22 @@ def utc_timing(self, value: Optional[pulumi.Input['OriginEndpointDashUtcTimingAr pulumi.set(self, "utc_timing", value) +if not MYPY: + class OriginEndpointDashUtcTimingArgsDict(TypedDict): + """ +

Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).

+ """ + timing_mode: NotRequired[pulumi.Input['OriginEndpointDashUtcTimingMode']] + """ + The UTC timing mode. + """ + timing_source: NotRequired[pulumi.Input[str]] + """ +

The the method that the player uses to synchronize to coordinated universal time (UTC) wall clock time.

+ """ +elif False: + OriginEndpointDashUtcTimingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointDashUtcTimingArgs: def __init__(__self__, *, @@ -232,6 +307,30 @@ def timing_source(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "timing_source", value) +if not MYPY: + class OriginEndpointEncryptionContractConfigurationArgsDict(TypedDict): + """ +

Configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.

+ """ + preset_speke20_audio: pulumi.Input['OriginEndpointPresetSpeke20Audio'] + """ + A collection of audio encryption presets. + + Value description: + + - `PRESET-AUDIO-1` - Use one content key to encrypt all of the audio tracks in your stream. + - `PRESET-AUDIO-2` - Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks. + - `PRESET-AUDIO-3` - Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels. + - `SHARED` - Use the same content key for all of the audio and video tracks in your stream. + - `UNENCRYPTED` - Don't encrypt any of the audio tracks in your stream. + """ + preset_speke20_video: pulumi.Input['OriginEndpointPresetSpeke20Video'] + """ + The SPEKE Version 2.0 preset video associated with the encryption contract configuration of the origin endpoint. + """ +elif False: + OriginEndpointEncryptionContractConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointEncryptionContractConfigurationArgs: def __init__(__self__, *, @@ -286,6 +385,22 @@ def preset_speke20_video(self, value: pulumi.Input['OriginEndpointPresetSpeke20V pulumi.set(self, "preset_speke20_video", value) +if not MYPY: + class OriginEndpointEncryptionMethodArgsDict(TypedDict): + """ +

The encryption type.

+ """ + cmaf_encryption_method: NotRequired[pulumi.Input['OriginEndpointCmafEncryptionMethod']] + """ + The encryption method to use. + """ + ts_encryption_method: NotRequired[pulumi.Input['OriginEndpointTsEncryptionMethod']] + """ + The encryption method to use. + """ +elif False: + OriginEndpointEncryptionMethodArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointEncryptionMethodArgs: def __init__(__self__, *, @@ -326,6 +441,32 @@ def ts_encryption_method(self, value: Optional[pulumi.Input['OriginEndpointTsEnc pulumi.set(self, "ts_encryption_method", value) +if not MYPY: + class OriginEndpointEncryptionArgsDict(TypedDict): + """ +

The parameters for encrypting content.

+ """ + encryption_method: pulumi.Input['OriginEndpointEncryptionMethodArgsDict'] + """ + The encryption method to use. + """ + speke_key_provider: pulumi.Input['OriginEndpointSpekeKeyProviderArgsDict'] + """ + The SPEKE key provider to use for encryption. + """ + constant_initialization_vector: NotRequired[pulumi.Input[str]] + """ +

A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).

+ """ + key_rotation_interval_seconds: NotRequired[pulumi.Input[int]] + """ +

The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.

+

The following example setting causes the service to rotate keys every thirty minutes: 1800 +

+ """ +elif False: + OriginEndpointEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointEncryptionArgs: def __init__(__self__, *, @@ -400,6 +541,30 @@ def key_rotation_interval_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "key_rotation_interval_seconds", value) +if not MYPY: + class OriginEndpointFilterConfigurationArgsDict(TypedDict): + """ +

Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.

+ """ + end: NotRequired[pulumi.Input[str]] + """ +

Optionally specify the end time for all of your manifest egress requests. When you include end time, note that you cannot use end time query parameters for this manifest's endpoint URL.

+ """ + manifest_filter: NotRequired[pulumi.Input[str]] + """ +

Optionally specify one or more manifest filters for all of your manifest egress requests. When you include a manifest filter, note that you cannot use an identical manifest filter query parameter for this manifest's endpoint URL.

+ """ + start: NotRequired[pulumi.Input[str]] + """ +

Optionally specify the start time for all of your manifest egress requests. When you include start time, note that you cannot use start time query parameters for this manifest's endpoint URL.

+ """ + time_delay_seconds: NotRequired[pulumi.Input[int]] + """ +

Optionally specify the time delay for all of your manifest egress requests. Enter a value that is smaller than your endpoint's startover window. When you include time delay, note that you cannot use time delay query parameters for this manifest's endpoint URL.

+ """ +elif False: + OriginEndpointFilterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointFilterConfigurationArgs: def __init__(__self__, *, @@ -472,6 +637,32 @@ def time_delay_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "time_delay_seconds", value) +if not MYPY: + class OriginEndpointForceEndpointErrorConfigurationArgsDict(TypedDict): + """ +

The failover settings for the endpoint.

+ """ + endpoint_error_conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['OriginEndpointEndpointErrorCondition']]]] + """ +

The failover settings for the endpoint. The options are:

+
    +
  • +

    + STALE_MANIFEST - The manifest stalled and there a no new segments or parts.

    +
  • +
  • +

    + INCOMPLETE_MANIFEST - There is a gap in the manifest.

    +
  • +
  • +

    + MISSING_DRM_KEY - Key rotation is enabled but we're unable to fetch the key for the current key period.

    +
  • +
+ """ +elif False: + OriginEndpointForceEndpointErrorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointForceEndpointErrorConfigurationArgs: def __init__(__self__, *, @@ -524,6 +715,43 @@ def endpoint_error_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi pulumi.set(self, "endpoint_error_conditions", value) +if not MYPY: + class OriginEndpointHlsManifestConfigurationArgsDict(TypedDict): + """ +

Retrieve the HTTP live streaming (HLS) manifest configuration.

+ """ + manifest_name: pulumi.Input[str] + """ +

A short 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. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.

+ """ + child_manifest_name: NotRequired[pulumi.Input[str]] + """ +

A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.

+ """ + filter_configuration: NotRequired[pulumi.Input['OriginEndpointFilterConfigurationArgsDict']] + manifest_window_seconds: NotRequired[pulumi.Input[int]] + """ +

The total duration (in seconds) of the manifest's content.

+ """ + program_date_time_interval_seconds: NotRequired[pulumi.Input[int]] + """ +

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, + EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. + The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. + ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.

+

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

+ """ + scte_hls: NotRequired[pulumi.Input['OriginEndpointScteHlsArgsDict']] + """ + THE SCTE-35 HLS configuration associated with the HLS manifest configuration. + """ + url: NotRequired[pulumi.Input[str]] + """ +

The egress domain URL for stream delivery from MediaPackage.

+ """ +elif False: + OriginEndpointHlsManifestConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointHlsManifestConfigurationArgs: def __init__(__self__, *, @@ -647,6 +875,43 @@ def url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url", value) +if not MYPY: + class OriginEndpointLowLatencyHlsManifestConfigurationArgsDict(TypedDict): + """ +

Retrieve the low-latency HTTP live streaming (HLS) manifest configuration.

+ """ + manifest_name: pulumi.Input[str] + """ +

A short 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. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.

+ """ + child_manifest_name: NotRequired[pulumi.Input[str]] + """ +

A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.

+ """ + filter_configuration: NotRequired[pulumi.Input['OriginEndpointFilterConfigurationArgsDict']] + manifest_window_seconds: NotRequired[pulumi.Input[int]] + """ +

The total duration (in seconds) of the manifest's content.

+ """ + program_date_time_interval_seconds: NotRequired[pulumi.Input[int]] + """ +

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, + EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. + The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. + ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.

+

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

+ """ + scte_hls: NotRequired[pulumi.Input['OriginEndpointScteHlsArgsDict']] + """ + The SCTE-35 HLS configuration associated with the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint. + """ + url: NotRequired[pulumi.Input[str]] + """ +

The egress domain URL for stream delivery from MediaPackage.

+ """ +elif False: + OriginEndpointLowLatencyHlsManifestConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointLowLatencyHlsManifestConfigurationArgs: def __init__(__self__, *, @@ -770,6 +1035,23 @@ def url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url", value) +if not MYPY: + class OriginEndpointScteDashArgsDict(TypedDict): + """ +

The SCTE configuration.

+ """ + ad_marker_dash: NotRequired[pulumi.Input['OriginEndpointAdMarkerDash']] + """ + Choose how ad markers are included in the packaged content. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output. + + Value description: + + - `Binary` - The SCTE-35 marker is expressed as a hex-string (Base64 string) rather than full XML. + - `XML` - The SCTE marker is expressed fully in XML. + """ +elif False: + OriginEndpointScteDashArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointScteDashArgs: def __init__(__self__, *, @@ -804,6 +1086,18 @@ def ad_marker_dash(self, value: Optional[pulumi.Input['OriginEndpointAdMarkerDas pulumi.set(self, "ad_marker_dash", value) +if not MYPY: + class OriginEndpointScteHlsArgsDict(TypedDict): + """ +

The SCTE configuration.

+ """ + ad_marker_hls: NotRequired[pulumi.Input['OriginEndpointAdMarkerHls']] + """ + The SCTE-35 HLS ad-marker configuration. + """ +elif False: + OriginEndpointScteHlsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointScteHlsArgs: def __init__(__self__, *, @@ -828,6 +1122,18 @@ def ad_marker_hls(self, value: Optional[pulumi.Input['OriginEndpointAdMarkerHls' pulumi.set(self, "ad_marker_hls", value) +if not MYPY: + class OriginEndpointScteArgsDict(TypedDict): + """ +

The SCTE configuration.

+ """ + scte_filter: NotRequired[pulumi.Input[Sequence[pulumi.Input['OriginEndpointScteFilter']]]] + """ +

The SCTE-35 message types that you want to be treated as ad markers in the output.

+ """ +elif False: + OriginEndpointScteArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointScteArgs: def __init__(__self__, *, @@ -852,6 +1158,42 @@ def scte_filter(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Origin pulumi.set(self, "scte_filter", value) +if not MYPY: + class OriginEndpointSegmentArgsDict(TypedDict): + """ +

The segment configuration, including the segment name, duration, and other configuration values.

+ """ + encryption: NotRequired[pulumi.Input['OriginEndpointEncryptionArgsDict']] + """ + Whether to use encryption for the segment. + """ + include_iframe_only_streams: NotRequired[pulumi.Input[bool]] + """ +

When selected, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included. MediaPackage generates an I-frame only stream from the first rendition in the manifest. The service inserts EXT-I-FRAMES-ONLY tags in the output manifest, and then generates and includes an I-frames only playlist in the stream. This playlist permits player functionality like fast forward and rewind.

+ """ + scte: NotRequired[pulumi.Input['OriginEndpointScteArgsDict']] + """ + The SCTE-35 configuration associated with the segment. + """ + segment_duration_seconds: NotRequired[pulumi.Input[int]] + """ +

The duration (in seconds) of each segment. Enter a value equal to, or a multiple of, the input segment duration. If the value that you enter is different from the input segment duration, MediaPackage rounds segments to the nearest multiple of the input segment duration.

+ """ + segment_name: NotRequired[pulumi.Input[str]] + """ +

The name that describes the segment. The name is the base name of the segment used in all content manifests inside of the endpoint. You can't use spaces in the name.

+ """ + ts_include_dvb_subtitles: NotRequired[pulumi.Input[bool]] + """ +

By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When selected, MediaPackage passes through DVB subtitles into the output.

+ """ + ts_use_audio_rendition_group: NotRequired[pulumi.Input[bool]] + """ +

When selected, MediaPackage bundles all audio tracks in a rendition group. All other tracks in the stream can be used with any audio rendition from the group.

+ """ +elif False: + OriginEndpointSegmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointSegmentArgs: def __init__(__self__, *, @@ -972,6 +1314,40 @@ def ts_use_audio_rendition_group(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "ts_use_audio_rendition_group", value) +if not MYPY: + class OriginEndpointSpekeKeyProviderArgsDict(TypedDict): + """ +

The parameters for the SPEKE key provider.

+ """ + drm_systems: pulumi.Input[Sequence[pulumi.Input['OriginEndpointDrmSystem']]] + """ +

The DRM solution provider you're using to protect your content during distribution.

+ """ + encryption_contract_configuration: pulumi.Input['OriginEndpointEncryptionContractConfigurationArgsDict'] + """ + The encryption contract configuration associated with the SPEKE key provider. + """ + resource_id: pulumi.Input[str] + """ +

The unique identifier for the content. The service sends this to the key server to identify the current endpoint. How unique you make this depends on how fine-grained you want access controls to be. The service does not permit you to use the same ID for two simultaneous encryption processes. The resource ID is also known as the content ID.

+

The following example shows a resource ID: MovieNight20171126093045 +

+ """ + role_arn: pulumi.Input[str] + """ +

The ARN for the IAM role granted by the key provider that provides access to the key provider API. This role must have a trust policy that allows MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Get this from your DRM solution provider.

+

Valid format: arn:aws:iam::{accountID}:role/{name}. The following example shows a role ARN: arn:aws:iam::444455556666:role/SpekeAccess +

+ """ + url: pulumi.Input[str] + """ +

The URL of the API Gateway proxy that you set up to talk to your key server. The API Gateway proxy must reside in the same AWS Region as MediaPackage and must start with https://.

+

The following example shows a URL: https://1wm2dx1f33.execute-api.us-west-2.amazonaws.com/SpekeSample/copyProtection +

+ """ +elif False: + OriginEndpointSpekeKeyProviderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OriginEndpointSpekeKeyProviderArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/channel.py b/sdk/python/pulumi_aws_native/mediapackagev2/channel.py index de518cd3ca..944dc7d841 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/channel.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/channel_group.py b/sdk/python/pulumi_aws_native/mediapackagev2/channel_group.py index cc237037e6..51e20bf4fd 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/channel_group.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/channel_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/channel_policy.py b/sdk/python/pulumi_aws_native/mediapackagev2/channel_policy.py index 341510d60d..848e0bfb1b 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/channel_policy.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/channel_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ChannelPolicyArgs', 'ChannelPolicy'] diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/get_channel.py b/sdk/python/pulumi_aws_native/mediapackagev2/get_channel.py index 4355a08eeb..b4b0dfe7b6 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/get_channel.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/get_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -133,9 +138,6 @@ def get_channel(arn: Optional[str] = None, ingest_endpoints=pulumi.get(__ret__, 'ingest_endpoints'), modified_at=pulumi.get(__ret__, 'modified_at'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_channel) def get_channel_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetChannelResult]: """ @@ -144,4 +146,15 @@ def get_channel_output(arn: Optional[pulumi.Input[str]] = None, :param str arn:

The Amazon Resource Name (ARN) associated with the resource.

""" - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediapackagev2:getChannel', __args__, opts=opts, typ=GetChannelResult) + return __ret__.apply(lambda __response__: GetChannelResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + ingest_endpoint_urls=pulumi.get(__response__, 'ingest_endpoint_urls'), + ingest_endpoints=pulumi.get(__response__, 'ingest_endpoints'), + modified_at=pulumi.get(__response__, 'modified_at'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/get_channel_group.py b/sdk/python/pulumi_aws_native/mediapackagev2/get_channel_group.py index b2d4182c5b..f72f8d3a24 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/get_channel_group.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/get_channel_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_channel_group(arn: Optional[str] = None, egress_domain=pulumi.get(__ret__, 'egress_domain'), modified_at=pulumi.get(__ret__, 'modified_at'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_channel_group) def get_channel_group_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetChannelGroupResult]: """ @@ -133,4 +135,14 @@ def get_channel_group_output(arn: Optional[pulumi.Input[str]] = None, :param str arn:

The Amazon Resource Name (ARN) associated with the resource.

""" - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediapackagev2:getChannelGroup', __args__, opts=opts, typ=GetChannelGroupResult) + return __ret__.apply(lambda __response__: GetChannelGroupResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + egress_domain=pulumi.get(__response__, 'egress_domain'), + modified_at=pulumi.get(__response__, 'modified_at'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/get_channel_policy.py b/sdk/python/pulumi_aws_native/mediapackagev2/get_channel_policy.py index 9d693fbd7c..cf02d85db2 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/get_channel_policy.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/get_channel_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -61,9 +66,6 @@ def get_channel_policy(channel_group_name: Optional[str] = None, return AwaitableGetChannelPolicyResult( policy=pulumi.get(__ret__, 'policy')) - - -@_utilities.lift_output_func(get_channel_policy) def get_channel_policy_output(channel_group_name: Optional[pulumi.Input[str]] = None, channel_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetChannelPolicyResult]: @@ -74,4 +76,10 @@ def get_channel_policy_output(channel_group_name: Optional[pulumi.Input[str]] = :param str channel_group_name: The name of the channel group associated with the channel policy. :param str channel_name: The name of the channel associated with the channel policy. """ - ... + __args__ = dict() + __args__['channelGroupName'] = channel_group_name + __args__['channelName'] = channel_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediapackagev2:getChannelPolicy', __args__, opts=opts, typ=GetChannelPolicyResult) + return __ret__.apply(lambda __response__: GetChannelPolicyResult( + policy=pulumi.get(__response__, 'policy'))) diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/get_origin_endpoint.py b/sdk/python/pulumi_aws_native/mediapackagev2/get_origin_endpoint.py index 7d27dd7126..a31ee331f4 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/get_origin_endpoint.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/get_origin_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -232,9 +237,6 @@ def get_origin_endpoint(arn: Optional[str] = None, segment=pulumi.get(__ret__, 'segment'), startover_window_seconds=pulumi.get(__ret__, 'startover_window_seconds'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_origin_endpoint) def get_origin_endpoint_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOriginEndpointResult]: """ @@ -243,4 +245,23 @@ def get_origin_endpoint_output(arn: Optional[pulumi.Input[str]] = None, :param str arn:

The Amazon Resource Name (ARN) associated with the resource.

""" - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediapackagev2:getOriginEndpoint', __args__, opts=opts, typ=GetOriginEndpointResult) + return __ret__.apply(lambda __response__: GetOriginEndpointResult( + arn=pulumi.get(__response__, 'arn'), + container_type=pulumi.get(__response__, 'container_type'), + created_at=pulumi.get(__response__, 'created_at'), + dash_manifest_urls=pulumi.get(__response__, 'dash_manifest_urls'), + dash_manifests=pulumi.get(__response__, 'dash_manifests'), + description=pulumi.get(__response__, 'description'), + force_endpoint_error_configuration=pulumi.get(__response__, 'force_endpoint_error_configuration'), + hls_manifest_urls=pulumi.get(__response__, 'hls_manifest_urls'), + hls_manifests=pulumi.get(__response__, 'hls_manifests'), + low_latency_hls_manifest_urls=pulumi.get(__response__, 'low_latency_hls_manifest_urls'), + low_latency_hls_manifests=pulumi.get(__response__, 'low_latency_hls_manifests'), + modified_at=pulumi.get(__response__, 'modified_at'), + segment=pulumi.get(__response__, 'segment'), + startover_window_seconds=pulumi.get(__response__, 'startover_window_seconds'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/get_origin_endpoint_policy.py b/sdk/python/pulumi_aws_native/mediapackagev2/get_origin_endpoint_policy.py index faa325caa6..d2ee364c9e 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/get_origin_endpoint_policy.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/get_origin_endpoint_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -64,9 +69,6 @@ def get_origin_endpoint_policy(channel_group_name: Optional[str] = None, return AwaitableGetOriginEndpointPolicyResult( policy=pulumi.get(__ret__, 'policy')) - - -@_utilities.lift_output_func(get_origin_endpoint_policy) def get_origin_endpoint_policy_output(channel_group_name: Optional[pulumi.Input[str]] = None, channel_name: Optional[pulumi.Input[str]] = None, origin_endpoint_name: Optional[pulumi.Input[str]] = None, @@ -79,4 +81,11 @@ def get_origin_endpoint_policy_output(channel_group_name: Optional[pulumi.Input[ :param str channel_name: The channel name associated with the origin endpoint policy. :param str origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint policy. """ - ... + __args__ = dict() + __args__['channelGroupName'] = channel_group_name + __args__['channelName'] = channel_name + __args__['originEndpointName'] = origin_endpoint_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediapackagev2:getOriginEndpointPolicy', __args__, opts=opts, typ=GetOriginEndpointPolicyResult) + return __ret__.apply(lambda __response__: GetOriginEndpointPolicyResult( + policy=pulumi.get(__response__, 'policy'))) diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/origin_endpoint.py b/sdk/python/pulumi_aws_native/mediapackagev2/origin_endpoint.py index 55db38f864..c0be9e1774 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/origin_endpoint.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/origin_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/origin_endpoint_policy.py b/sdk/python/pulumi_aws_native/mediapackagev2/origin_endpoint_policy.py index c6ed7cd6eb..b673f0b3a5 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/origin_endpoint_policy.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/origin_endpoint_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['OriginEndpointPolicyArgs', 'OriginEndpointPolicy'] diff --git a/sdk/python/pulumi_aws_native/mediapackagev2/outputs.py b/sdk/python/pulumi_aws_native/mediapackagev2/outputs.py index 20c0cebbca..96aed3d782 100644 --- a/sdk/python/pulumi_aws_native/mediapackagev2/outputs.py +++ b/sdk/python/pulumi_aws_native/mediapackagev2/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediatailor/_inputs.py b/sdk/python/pulumi_aws_native/mediatailor/_inputs.py index 5485419a3d..eaee9146c1 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/_inputs.py +++ b/sdk/python/pulumi_aws_native/mediatailor/_inputs.py @@ -4,36 +4,88 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ChannelDashPlaylistSettingsArgs', + 'ChannelDashPlaylistSettingsArgsDict', 'ChannelHlsPlaylistSettingsArgs', + 'ChannelHlsPlaylistSettingsArgsDict', 'ChannelLogConfigurationForChannelArgs', + 'ChannelLogConfigurationForChannelArgsDict', 'ChannelRequestOutputItemArgs', + 'ChannelRequestOutputItemArgsDict', 'ChannelSlateSourceArgs', + 'ChannelSlateSourceArgsDict', 'ChannelTimeShiftConfigurationArgs', + 'ChannelTimeShiftConfigurationArgsDict', 'LiveSourceHttpPackageConfigurationArgs', + 'LiveSourceHttpPackageConfigurationArgsDict', 'PlaybackConfigurationAdMarkerPassthroughArgs', + 'PlaybackConfigurationAdMarkerPassthroughArgsDict', 'PlaybackConfigurationAvailSuppressionArgs', + 'PlaybackConfigurationAvailSuppressionArgsDict', 'PlaybackConfigurationBumperArgs', + 'PlaybackConfigurationBumperArgsDict', 'PlaybackConfigurationCdnConfigurationArgs', + 'PlaybackConfigurationCdnConfigurationArgsDict', 'PlaybackConfigurationDashConfigurationArgs', + 'PlaybackConfigurationDashConfigurationArgsDict', 'PlaybackConfigurationHlsConfigurationArgs', + 'PlaybackConfigurationHlsConfigurationArgsDict', 'PlaybackConfigurationLivePreRollConfigurationArgs', + 'PlaybackConfigurationLivePreRollConfigurationArgsDict', 'PlaybackConfigurationManifestProcessingRulesArgs', + 'PlaybackConfigurationManifestProcessingRulesArgsDict', 'SourceLocationAccessConfigurationArgs', + 'SourceLocationAccessConfigurationArgsDict', 'SourceLocationDefaultSegmentDeliveryConfigurationArgs', + 'SourceLocationDefaultSegmentDeliveryConfigurationArgsDict', 'SourceLocationHttpConfigurationArgs', + 'SourceLocationHttpConfigurationArgsDict', 'SourceLocationSecretsManagerAccessTokenConfigurationArgs', + 'SourceLocationSecretsManagerAccessTokenConfigurationArgsDict', 'SourceLocationSegmentDeliveryConfigurationArgs', + 'SourceLocationSegmentDeliveryConfigurationArgsDict', 'VodSourceHttpPackageConfigurationArgs', + 'VodSourceHttpPackageConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ChannelDashPlaylistSettingsArgsDict(TypedDict): + """ +

Dash manifest configuration parameters.

+ """ + manifest_window_seconds: NotRequired[pulumi.Input[float]] + """ +

The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds.

+ """ + min_buffer_time_seconds: NotRequired[pulumi.Input[float]] + """ +

Minimum amount of content (measured in seconds) that a player must keep available in the buffer. Minimum value: 2 seconds. Maximum value: 60 seconds.

+ """ + min_update_period_seconds: NotRequired[pulumi.Input[float]] + """ +

Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.

+ """ + suggested_presentation_delay_seconds: NotRequired[pulumi.Input[float]] + """ +

Amount of time (in seconds) that the player should be from the live point at the end of the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.

+ """ +elif False: + ChannelDashPlaylistSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelDashPlaylistSettingsArgs: def __init__(__self__, *, @@ -106,6 +158,22 @@ def suggested_presentation_delay_seconds(self, value: Optional[pulumi.Input[floa pulumi.set(self, "suggested_presentation_delay_seconds", value) +if not MYPY: + class ChannelHlsPlaylistSettingsArgsDict(TypedDict): + """ +

HLS playlist configuration parameters.

+ """ + ad_markup_type: NotRequired[pulumi.Input[Sequence[pulumi.Input['ChannelAdMarkupType']]]] + """ +

Determines the type of SCTE 35 tags to use in ad markup. Specify DATERANGE to use DATERANGE tags (for live or VOD content). Specify SCTE35_ENHANCED to use EXT-X-CUE-OUT and EXT-X-CUE-IN tags (for VOD content only).

+ """ + manifest_window_seconds: NotRequired[pulumi.Input[float]] + """ +

The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds.

+ """ +elif False: + ChannelHlsPlaylistSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelHlsPlaylistSettingsArgs: def __init__(__self__, *, @@ -146,6 +214,18 @@ def manifest_window_seconds(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "manifest_window_seconds", value) +if not MYPY: + class ChannelLogConfigurationForChannelArgsDict(TypedDict): + """ +

The log configuration for the channel.

+ """ + log_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['ChannelLogType']]]] + """ +

The log types.

+ """ +elif False: + ChannelLogConfigurationForChannelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelLogConfigurationForChannelArgs: def __init__(__self__, *, @@ -170,6 +250,30 @@ def log_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ChannelL pulumi.set(self, "log_types", value) +if not MYPY: + class ChannelRequestOutputItemArgsDict(TypedDict): + """ +

The output configuration for this channel.

+ """ + manifest_name: pulumi.Input[str] + """ +

The name of the manifest for the channel. The name appears in the PlaybackUrl.

+ """ + source_group: pulumi.Input[str] + """ +

A string used to match which HttpPackageConfiguration is used for each VodSource.

+ """ + dash_playlist_settings: NotRequired[pulumi.Input['ChannelDashPlaylistSettingsArgsDict']] + """ + DASH manifest configuration parameters. + """ + hls_playlist_settings: NotRequired[pulumi.Input['ChannelHlsPlaylistSettingsArgsDict']] + """ + HLS playlist configuration parameters. + """ +elif False: + ChannelRequestOutputItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelRequestOutputItemArgs: def __init__(__self__, *, @@ -240,6 +344,22 @@ def hls_playlist_settings(self, value: Optional[pulumi.Input['ChannelHlsPlaylist pulumi.set(self, "hls_playlist_settings", value) +if not MYPY: + class ChannelSlateSourceArgsDict(TypedDict): + """ +

Slate VOD source configuration.

+ """ + source_location_name: NotRequired[pulumi.Input[str]] + """ +

The name of the source location where the slate VOD source is stored.

+ """ + vod_source_name: NotRequired[pulumi.Input[str]] + """ +

The slate VOD source name. The VOD source must already exist in a source location before it can be used for slate.

+ """ +elif False: + ChannelSlateSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelSlateSourceArgs: def __init__(__self__, *, @@ -280,6 +400,18 @@ def vod_source_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vod_source_name", value) +if not MYPY: + class ChannelTimeShiftConfigurationArgsDict(TypedDict): + """ +

The configuration for time-shifted viewing.

+ """ + max_time_delay_seconds: pulumi.Input[float] + """ +

The maximum time delay for time-shifted viewing. The minimum allowed maximum time delay is 0 seconds, and the maximum allowed maximum time delay is 21600 seconds (6 hours).

+ """ +elif False: + ChannelTimeShiftConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ChannelTimeShiftConfigurationArgs: def __init__(__self__, *, @@ -303,6 +435,26 @@ def max_time_delay_seconds(self, value: pulumi.Input[float]): pulumi.set(self, "max_time_delay_seconds", value) +if not MYPY: + class LiveSourceHttpPackageConfigurationArgsDict(TypedDict): + """ +

The HTTP package configuration properties for the requested VOD source.

+ """ + path: pulumi.Input[str] + """ +

The relative path to the URL for this VOD source. This is combined with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.

+ """ + source_group: pulumi.Input[str] + """ +

The name of the source group. This has to match one of the Channel::Outputs::SourceGroup.

+ """ + type: pulumi.Input['LiveSourceType'] + """ + The streaming protocol for this package configuration. Supported values are `HLS` and `DASH` . + """ +elif False: + LiveSourceHttpPackageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LiveSourceHttpPackageConfigurationArgs: def __init__(__self__, *, @@ -356,6 +508,18 @@ def type(self, value: pulumi.Input['LiveSourceType']): pulumi.set(self, "type", value) +if not MYPY: + class PlaybackConfigurationAdMarkerPassthroughArgsDict(TypedDict): + """ + For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest. No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad break, MediaTailor will not set the value to 0. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Enables ad marker passthrough for your configuration. + """ +elif False: + PlaybackConfigurationAdMarkerPassthroughArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlaybackConfigurationAdMarkerPassthroughArgs: def __init__(__self__, *, @@ -380,6 +544,26 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class PlaybackConfigurationAvailSuppressionArgsDict(TypedDict): + """ + The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html). + """ + fill_policy: NotRequired[pulumi.Input['PlaybackConfigurationAvailSuppressionFillPolicy']] + """ + Defines the policy to apply to the avail suppression mode. BEHIND_LIVE_EDGE will always use the full avail suppression policy. AFTER_LIVE_EDGE mode can be used to invoke partial ad break fills when a session starts mid-break. Valid values are FULL_AVAIL_ONLY and PARTIAL_AVAIL + """ + mode: NotRequired[pulumi.Input['PlaybackConfigurationAvailSuppressionMode']] + """ + Sets the ad suppression mode. By default, ad suppression is off and all ad breaks are filled with ads or slate. When Mode is set to BEHIND_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks on or behind the ad suppression Value time in the manifest lookback window. When Mode is set to AFTER_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks that are within the live edge plus the avail suppression value. + """ + value: NotRequired[pulumi.Input[str]] + """ + A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on or behind this time in the manifest lookback window. If Value is set to 00:00:00, it is in sync with the live edge, and MediaTailor won't fill any ad breaks on or behind the live edge. If you set a Value time, MediaTailor won't fill any ad breaks on or behind this time in the manifest lookback window. For example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur within 45 minutes behind the live edge, but won't fill ad breaks on or behind 45 minutes behind the live edge. + """ +elif False: + PlaybackConfigurationAvailSuppressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlaybackConfigurationAvailSuppressionArgs: def __init__(__self__, *, @@ -436,6 +620,22 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class PlaybackConfigurationBumperArgsDict(TypedDict): + """ + The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers (https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html). + """ + end_url: NotRequired[pulumi.Input[str]] + """ + The URL for the end bumper asset. + """ + start_url: NotRequired[pulumi.Input[str]] + """ + The URL for the start bumper asset. + """ +elif False: + PlaybackConfigurationBumperArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlaybackConfigurationBumperArgs: def __init__(__self__, *, @@ -476,6 +676,22 @@ def start_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start_url", value) +if not MYPY: + class PlaybackConfigurationCdnConfigurationArgsDict(TypedDict): + """ + The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management. + """ + ad_segment_url_prefix: NotRequired[pulumi.Input[str]] + """ + A non-default content delivery network (CDN) to serve ad segments. By default, AWS Elemental MediaTailor uses Amazon CloudFront with default cache settings as its CDN for ad segments. To set up an alternate CDN, create a rule in your CDN for the origin ads.mediatailor.<region>.amazonaws.com. Then specify the rule's name in this AdSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for ad segments. + """ + content_segment_url_prefix: NotRequired[pulumi.Input[str]] + """ + A content delivery network (CDN) to cache content segments, so that content requests don't always have to go to the origin server. First, create a rule in your CDN for the content segment origin server. Then specify the rule's name in this ContentSegmentUrlPrefix. When AWS Elemental MediaTailor serves a manifest, it reports your CDN as the source for content segments. + """ +elif False: + PlaybackConfigurationCdnConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlaybackConfigurationCdnConfigurationArgs: def __init__(__self__, *, @@ -516,6 +732,26 @@ def content_segment_url_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "content_segment_url_prefix", value) +if not MYPY: + class PlaybackConfigurationDashConfigurationArgsDict(TypedDict): + """ + The configuration for DASH PUT operations. + """ + manifest_endpoint_prefix: NotRequired[pulumi.Input[str]] + """ + The URL generated by MediaTailor to initiate a DASH playback session. The session uses server-side reporting. + """ + mpd_location: NotRequired[pulumi.Input[str]] + """ + The setting that controls whether MediaTailor includes the Location tag in DASH manifests. MediaTailor populates the Location tag with the URL for manifest update requests, to be used by players that don't support sticky redirects. Disable this if you have CDN routing rules set up for accessing MediaTailor manifests, and you are either using client-side reporting or your players support sticky HTTP redirects. Valid values are DISABLED and EMT_DEFAULT. The EMT_DEFAULT setting enables the inclusion of the tag and is the default value. + """ + origin_manifest_type: NotRequired[pulumi.Input['PlaybackConfigurationDashConfigurationOriginManifestType']] + """ + The setting that controls whether MediaTailor handles manifests from the origin server as multi-period manifests or single-period manifests. If your origin server produces single-period manifests, set this to SINGLE_PERIOD. The default setting is MULTI_PERIOD. For multi-period manifests, omit this setting or set it to MULTI_PERIOD. + """ +elif False: + PlaybackConfigurationDashConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlaybackConfigurationDashConfigurationArgs: def __init__(__self__, *, @@ -572,6 +808,15 @@ def origin_manifest_type(self, value: Optional[pulumi.Input['PlaybackConfigurati pulumi.set(self, "origin_manifest_type", value) +if not MYPY: + class PlaybackConfigurationHlsConfigurationArgsDict(TypedDict): + manifest_endpoint_prefix: NotRequired[pulumi.Input[str]] + """ + The URL that is used to initiate a playback session for devices that support Apple HLS. The session uses server-side reporting. + """ +elif False: + PlaybackConfigurationHlsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlaybackConfigurationHlsConfigurationArgs: def __init__(__self__, *, @@ -595,6 +840,22 @@ def manifest_endpoint_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "manifest_endpoint_prefix", value) +if not MYPY: + class PlaybackConfigurationLivePreRollConfigurationArgsDict(TypedDict): + """ + The configuration for pre-roll ad insertion. + """ + ad_decision_server_url: NotRequired[pulumi.Input[str]] + """ + The URL for the ad decision server (ADS) for pre-roll ads. This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing, you can provide a static VAST URL. The maximum length is 25,000 characters. + """ + max_duration_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns. + """ +elif False: + PlaybackConfigurationLivePreRollConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlaybackConfigurationLivePreRollConfigurationArgs: def __init__(__self__, *, @@ -635,6 +896,18 @@ def max_duration_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_duration_seconds", value) +if not MYPY: + class PlaybackConfigurationManifestProcessingRulesArgsDict(TypedDict): + """ + The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor. + """ + ad_marker_passthrough: NotRequired[pulumi.Input['PlaybackConfigurationAdMarkerPassthroughArgsDict']] + """ + For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest. No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad break, MediaTailor will not set the value to 0. + """ +elif False: + PlaybackConfigurationManifestProcessingRulesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlaybackConfigurationManifestProcessingRulesArgs: def __init__(__self__, *, @@ -659,6 +932,32 @@ def ad_marker_passthrough(self, value: Optional[pulumi.Input['PlaybackConfigurat pulumi.set(self, "ad_marker_passthrough", value) +if not MYPY: + class SourceLocationAccessConfigurationArgsDict(TypedDict): + """ +

Access configuration parameters.

+ """ + access_type: NotRequired[pulumi.Input['SourceLocationAccessType']] + """ + The type of authentication used to access content from `HttpConfiguration::BaseUrl` on your source location. Accepted value: `S3_SIGV4` . + + `S3_SIGV4` - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name. + + Before you can use `S3_SIGV4` , you must meet these requirements: + + • You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide. + + • The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations. + + • The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations. + """ + secrets_manager_access_token_configuration: NotRequired[pulumi.Input['SourceLocationSecretsManagerAccessTokenConfigurationArgsDict']] + """ + AWS Secrets Manager access token configuration parameters. + """ +elif False: + SourceLocationAccessConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SourceLocationAccessConfigurationArgs: def __init__(__self__, *, @@ -719,6 +1018,18 @@ def secrets_manager_access_token_configuration(self, value: Optional[pulumi.Inpu pulumi.set(self, "secrets_manager_access_token_configuration", value) +if not MYPY: + class SourceLocationDefaultSegmentDeliveryConfigurationArgsDict(TypedDict): + """ +

The optional configuration for a server that serves segments. Use this if you want the segment delivery server to be different from the source location server. For example, you can configure your source location server to be an origination server, such as MediaPackage, and the segment delivery server to be a content delivery network (CDN), such as CloudFront. If you don't specify a segment delivery server, then the source location server is used.

+ """ + base_url: NotRequired[pulumi.Input[str]] + """ +

The hostname of the server that will be used to serve segments. This string must include the protocol, such as https://.

+ """ +elif False: + SourceLocationDefaultSegmentDeliveryConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SourceLocationDefaultSegmentDeliveryConfigurationArgs: def __init__(__self__, *, @@ -743,6 +1054,18 @@ def base_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "base_url", value) +if not MYPY: + class SourceLocationHttpConfigurationArgsDict(TypedDict): + """ +

The HTTP configuration for the source location.

+ """ + base_url: pulumi.Input[str] + """ +

The base URL for the source location host server. This string must include the protocol, such as https://.

+ """ +elif False: + SourceLocationHttpConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SourceLocationHttpConfigurationArgs: def __init__(__self__, *, @@ -766,6 +1089,26 @@ def base_url(self, value: pulumi.Input[str]): pulumi.set(self, "base_url", value) +if not MYPY: + class SourceLocationSecretsManagerAccessTokenConfigurationArgsDict(TypedDict): + """ +

AWS Secrets Manager access token configuration parameters. For information about Secrets Manager access token authentication, see Working with AWS Secrets Manager access token authentication.

+ """ + header_name: NotRequired[pulumi.Input[str]] + """ +

The name of the HTTP header used to supply the access token in requests to the source location.

+ """ + secret_arn: NotRequired[pulumi.Input[str]] + """ +

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the access token.

+ """ + secret_string_key: NotRequired[pulumi.Input[str]] + """ +

The AWS Secrets Manager SecretString key associated with the access token. MediaTailor uses the key to look up SecretString key and value pair containing the access token.

+ """ +elif False: + SourceLocationSecretsManagerAccessTokenConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SourceLocationSecretsManagerAccessTokenConfigurationArgs: def __init__(__self__, *, @@ -822,6 +1165,22 @@ def secret_string_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "secret_string_key", value) +if not MYPY: + class SourceLocationSegmentDeliveryConfigurationArgsDict(TypedDict): + """ +

The segment delivery configuration settings.

+ """ + base_url: NotRequired[pulumi.Input[str]] + """ +

The base URL of the host or path of the segment delivery server that you're using to serve segments. This is typically a content delivery network (CDN). The URL can be absolute or relative. To use an absolute URL include the protocol, such as https://example.com/some/path. To use a relative URL specify the relative path, such as /some/path*.

+ """ + name: NotRequired[pulumi.Input[str]] + """ +

A unique identifier used to distinguish between multiple segment delivery configurations in a source location.

+ """ +elif False: + SourceLocationSegmentDeliveryConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SourceLocationSegmentDeliveryConfigurationArgs: def __init__(__self__, *, @@ -862,6 +1221,26 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class VodSourceHttpPackageConfigurationArgsDict(TypedDict): + """ +

The HTTP package configuration properties for the requested VOD source.

+ """ + path: pulumi.Input[str] + """ +

The relative path to the URL for this VOD source. This is combined with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.

+ """ + source_group: pulumi.Input[str] + """ +

The name of the source group. This has to match one of the Channel::Outputs::SourceGroup.

+ """ + type: pulumi.Input['VodSourceType'] + """ + The streaming protocol for this package configuration. Supported values are `HLS` and `DASH` . + """ +elif False: + VodSourceHttpPackageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VodSourceHttpPackageConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/mediatailor/channel.py b/sdk/python/pulumi_aws_native/mediatailor/channel.py index ae3b493acb..aa5c95d332 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/channel.py +++ b/sdk/python/pulumi_aws_native/mediatailor/channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/mediatailor/channel_policy.py b/sdk/python/pulumi_aws_native/mediatailor/channel_policy.py index 63bd7d487d..38d05593ff 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/channel_policy.py +++ b/sdk/python/pulumi_aws_native/mediatailor/channel_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ChannelPolicyArgs', 'ChannelPolicy'] diff --git a/sdk/python/pulumi_aws_native/mediatailor/get_channel.py b/sdk/python/pulumi_aws_native/mediatailor/get_channel.py index 40749e8802..356041031a 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/get_channel.py +++ b/sdk/python/pulumi_aws_native/mediatailor/get_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -141,9 +146,6 @@ def get_channel(channel_name: Optional[str] = None, playback_mode=pulumi.get(__ret__, 'playback_mode'), tags=pulumi.get(__ret__, 'tags'), time_shift_configuration=pulumi.get(__ret__, 'time_shift_configuration')) - - -@_utilities.lift_output_func(get_channel) def get_channel_output(channel_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetChannelResult]: """ @@ -152,4 +154,15 @@ def get_channel_output(channel_name: Optional[pulumi.Input[str]] = None, :param str channel_name: The name of the channel. """ - ... + __args__ = dict() + __args__['channelName'] = channel_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediatailor:getChannel', __args__, opts=opts, typ=GetChannelResult) + return __ret__.apply(lambda __response__: GetChannelResult( + arn=pulumi.get(__response__, 'arn'), + audiences=pulumi.get(__response__, 'audiences'), + filler_slate=pulumi.get(__response__, 'filler_slate'), + log_configuration=pulumi.get(__response__, 'log_configuration'), + playback_mode=pulumi.get(__response__, 'playback_mode'), + tags=pulumi.get(__response__, 'tags'), + time_shift_configuration=pulumi.get(__response__, 'time_shift_configuration'))) diff --git a/sdk/python/pulumi_aws_native/mediatailor/get_channel_policy.py b/sdk/python/pulumi_aws_native/mediatailor/get_channel_policy.py index 67c1c9f731..aae0dfdcf0 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/get_channel_policy.py +++ b/sdk/python/pulumi_aws_native/mediatailor/get_channel_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -58,9 +63,6 @@ def get_channel_policy(channel_name: Optional[str] = None, return AwaitableGetChannelPolicyResult( policy=pulumi.get(__ret__, 'policy')) - - -@_utilities.lift_output_func(get_channel_policy) def get_channel_policy_output(channel_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetChannelPolicyResult]: """ @@ -69,4 +71,9 @@ def get_channel_policy_output(channel_name: Optional[pulumi.Input[str]] = None, :param str channel_name: The name of the channel associated with this Channel Policy. """ - ... + __args__ = dict() + __args__['channelName'] = channel_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediatailor:getChannelPolicy', __args__, opts=opts, typ=GetChannelPolicyResult) + return __ret__.apply(lambda __response__: GetChannelPolicyResult( + policy=pulumi.get(__response__, 'policy'))) diff --git a/sdk/python/pulumi_aws_native/mediatailor/get_live_source.py b/sdk/python/pulumi_aws_native/mediatailor/get_live_source.py index 3e522a1896..4846163e69 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/get_live_source.py +++ b/sdk/python/pulumi_aws_native/mediatailor/get_live_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -88,9 +93,6 @@ def get_live_source(live_source_name: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), http_package_configurations=pulumi.get(__ret__, 'http_package_configurations'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_live_source) def get_live_source_output(live_source_name: Optional[pulumi.Input[str]] = None, source_location_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLiveSourceResult]: @@ -101,4 +103,12 @@ def get_live_source_output(live_source_name: Optional[pulumi.Input[str]] = None, :param str live_source_name: The name that's used to refer to a live source. :param str source_location_name: The name of the source location. """ - ... + __args__ = dict() + __args__['liveSourceName'] = live_source_name + __args__['sourceLocationName'] = source_location_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediatailor:getLiveSource', __args__, opts=opts, typ=GetLiveSourceResult) + return __ret__.apply(lambda __response__: GetLiveSourceResult( + arn=pulumi.get(__response__, 'arn'), + http_package_configurations=pulumi.get(__response__, 'http_package_configurations'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/mediatailor/get_playback_configuration.py b/sdk/python/pulumi_aws_native/mediatailor/get_playback_configuration.py index e362095ebe..a3e2bd1745 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/get_playback_configuration.py +++ b/sdk/python/pulumi_aws_native/mediatailor/get_playback_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -267,9 +272,6 @@ def get_playback_configuration(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), transcode_profile_name=pulumi.get(__ret__, 'transcode_profile_name'), video_content_source_url=pulumi.get(__ret__, 'video_content_source_url')) - - -@_utilities.lift_output_func(get_playback_configuration) def get_playback_configuration_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPlaybackConfigurationResult]: """ @@ -278,4 +280,25 @@ def get_playback_configuration_output(name: Optional[pulumi.Input[str]] = None, :param str name: The identifier for the playback configuration. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediatailor:getPlaybackConfiguration', __args__, opts=opts, typ=GetPlaybackConfigurationResult) + return __ret__.apply(lambda __response__: GetPlaybackConfigurationResult( + ad_decision_server_url=pulumi.get(__response__, 'ad_decision_server_url'), + avail_suppression=pulumi.get(__response__, 'avail_suppression'), + bumper=pulumi.get(__response__, 'bumper'), + cdn_configuration=pulumi.get(__response__, 'cdn_configuration'), + configuration_aliases=pulumi.get(__response__, 'configuration_aliases'), + dash_configuration=pulumi.get(__response__, 'dash_configuration'), + hls_configuration=pulumi.get(__response__, 'hls_configuration'), + live_pre_roll_configuration=pulumi.get(__response__, 'live_pre_roll_configuration'), + manifest_processing_rules=pulumi.get(__response__, 'manifest_processing_rules'), + personalization_threshold_seconds=pulumi.get(__response__, 'personalization_threshold_seconds'), + playback_configuration_arn=pulumi.get(__response__, 'playback_configuration_arn'), + playback_endpoint_prefix=pulumi.get(__response__, 'playback_endpoint_prefix'), + session_initialization_endpoint_prefix=pulumi.get(__response__, 'session_initialization_endpoint_prefix'), + slate_ad_url=pulumi.get(__response__, 'slate_ad_url'), + tags=pulumi.get(__response__, 'tags'), + transcode_profile_name=pulumi.get(__response__, 'transcode_profile_name'), + video_content_source_url=pulumi.get(__response__, 'video_content_source_url'))) diff --git a/sdk/python/pulumi_aws_native/mediatailor/get_source_location.py b/sdk/python/pulumi_aws_native/mediatailor/get_source_location.py index 165dd877ff..1409795de2 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/get_source_location.py +++ b/sdk/python/pulumi_aws_native/mediatailor/get_source_location.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_source_location(source_location_name: Optional[str] = None, http_configuration=pulumi.get(__ret__, 'http_configuration'), segment_delivery_configurations=pulumi.get(__ret__, 'segment_delivery_configurations'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_source_location) def get_source_location_output(source_location_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSourceLocationResult]: """ @@ -135,4 +137,14 @@ def get_source_location_output(source_location_name: Optional[pulumi.Input[str]] :param str source_location_name: The name of the source location. """ - ... + __args__ = dict() + __args__['sourceLocationName'] = source_location_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediatailor:getSourceLocation', __args__, opts=opts, typ=GetSourceLocationResult) + return __ret__.apply(lambda __response__: GetSourceLocationResult( + access_configuration=pulumi.get(__response__, 'access_configuration'), + arn=pulumi.get(__response__, 'arn'), + default_segment_delivery_configuration=pulumi.get(__response__, 'default_segment_delivery_configuration'), + http_configuration=pulumi.get(__response__, 'http_configuration'), + segment_delivery_configurations=pulumi.get(__response__, 'segment_delivery_configurations'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/mediatailor/get_vod_source.py b/sdk/python/pulumi_aws_native/mediatailor/get_vod_source.py index 2f5e2d7fc0..432766b9f4 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/get_vod_source.py +++ b/sdk/python/pulumi_aws_native/mediatailor/get_vod_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -88,9 +93,6 @@ def get_vod_source(source_location_name: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), http_package_configurations=pulumi.get(__ret__, 'http_package_configurations'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_vod_source) def get_vod_source_output(source_location_name: Optional[pulumi.Input[str]] = None, vod_source_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVodSourceResult]: @@ -101,4 +103,12 @@ def get_vod_source_output(source_location_name: Optional[pulumi.Input[str]] = No :param str source_location_name: The name of the source location that the VOD source is associated with. :param str vod_source_name: The name of the VOD source. """ - ... + __args__ = dict() + __args__['sourceLocationName'] = source_location_name + __args__['vodSourceName'] = vod_source_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mediatailor:getVodSource', __args__, opts=opts, typ=GetVodSourceResult) + return __ret__.apply(lambda __response__: GetVodSourceResult( + arn=pulumi.get(__response__, 'arn'), + http_package_configurations=pulumi.get(__response__, 'http_package_configurations'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/mediatailor/live_source.py b/sdk/python/pulumi_aws_native/mediatailor/live_source.py index fca200b316..a26c59ec3b 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/live_source.py +++ b/sdk/python/pulumi_aws_native/mediatailor/live_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/mediatailor/outputs.py b/sdk/python/pulumi_aws_native/mediatailor/outputs.py index 745fee77ec..5f9308c6eb 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/outputs.py +++ b/sdk/python/pulumi_aws_native/mediatailor/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mediatailor/playback_configuration.py b/sdk/python/pulumi_aws_native/mediatailor/playback_configuration.py index 0ee5117d38..bb987f6851 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/playback_configuration.py +++ b/sdk/python/pulumi_aws_native/mediatailor/playback_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/mediatailor/source_location.py b/sdk/python/pulumi_aws_native/mediatailor/source_location.py index 196ac21e64..50ab4e896e 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/source_location.py +++ b/sdk/python/pulumi_aws_native/mediatailor/source_location.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/mediatailor/vod_source.py b/sdk/python/pulumi_aws_native/mediatailor/vod_source.py index fcd1f09b20..ccb4794b9c 100644 --- a/sdk/python/pulumi_aws_native/mediatailor/vod_source.py +++ b/sdk/python/pulumi_aws_native/mediatailor/vod_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/memorydb/_inputs.py b/sdk/python/pulumi_aws_native/memorydb/_inputs.py index 1583260c6e..9a9a46cef3 100644 --- a/sdk/python/pulumi_aws_native/memorydb/_inputs.py +++ b/sdk/python/pulumi_aws_native/memorydb/_inputs.py @@ -4,17 +4,46 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AuthenticationModePropertiesArgs', + 'AuthenticationModePropertiesArgsDict', 'ClusterEndpointArgs', + 'ClusterEndpointArgsDict', ] +MYPY = False + +if not MYPY: + class AuthenticationModePropertiesArgsDict(TypedDict): + """ + Denotes whether the user requires a password to authenticate. + + *Example:* + + `mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }` + """ + passwords: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Passwords used for this user account. You can create up to two passwords for each user. + """ + type: NotRequired[pulumi.Input['UserAuthenticationModePropertiesType']] + """ + Type of authentication strategy for this user. + """ +elif False: + AuthenticationModePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AuthenticationModePropertiesArgs: def __init__(__self__, *, @@ -59,6 +88,19 @@ def type(self, value: Optional[pulumi.Input['UserAuthenticationModePropertiesTyp pulumi.set(self, "type", value) +if not MYPY: + class ClusterEndpointArgsDict(TypedDict): + address: NotRequired[pulumi.Input[str]] + """ + The DNS address of the primary read-write node. + """ + port: NotRequired[pulumi.Input[int]] + """ + The port number that the engine is listening on. + """ +elif False: + ClusterEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterEndpointArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/memorydb/acl.py b/sdk/python/pulumi_aws_native/memorydb/acl.py index 88b7c1e669..318fa34678 100644 --- a/sdk/python/pulumi_aws_native/memorydb/acl.py +++ b/sdk/python/pulumi_aws_native/memorydb/acl.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/memorydb/cluster.py b/sdk/python/pulumi_aws_native/memorydb/cluster.py index 7e56a53ccf..5cd5b710d2 100644 --- a/sdk/python/pulumi_aws_native/memorydb/cluster.py +++ b/sdk/python/pulumi_aws_native/memorydb/cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/memorydb/get_acl.py b/sdk/python/pulumi_aws_native/memorydb/get_acl.py index 77a7ba3ef2..27943197f4 100644 --- a/sdk/python/pulumi_aws_native/memorydb/get_acl.py +++ b/sdk/python/pulumi_aws_native/memorydb/get_acl.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_acl(acl_name: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), user_names=pulumi.get(__ret__, 'user_names')) - - -@_utilities.lift_output_func(get_acl) def get_acl_output(acl_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAclResult]: """ @@ -107,4 +109,12 @@ def get_acl_output(acl_name: Optional[pulumi.Input[str]] = None, :param str acl_name: The name of the acl. """ - ... + __args__ = dict() + __args__['aclName'] = acl_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:memorydb:getAcl', __args__, opts=opts, typ=GetAclResult) + return __ret__.apply(lambda __response__: GetAclResult( + arn=pulumi.get(__response__, 'arn'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + user_names=pulumi.get(__response__, 'user_names'))) diff --git a/sdk/python/pulumi_aws_native/memorydb/get_cluster.py b/sdk/python/pulumi_aws_native/memorydb/get_cluster.py index 99504372b1..63f3ac5bc4 100644 --- a/sdk/python/pulumi_aws_native/memorydb/get_cluster.py +++ b/sdk/python/pulumi_aws_native/memorydb/get_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -294,9 +299,6 @@ def get_cluster(cluster_name: Optional[str] = None, sns_topic_status=pulumi.get(__ret__, 'sns_topic_status'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: """ @@ -305,4 +307,27 @@ def get_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None, :param str cluster_name: The name of the cluster. This value must be unique as it also serves as the cluster identifier. """ - ... + __args__ = dict() + __args__['clusterName'] = cluster_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:memorydb:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + acl_name=pulumi.get(__response__, 'acl_name'), + arn=pulumi.get(__response__, 'arn'), + auto_minor_version_upgrade=pulumi.get(__response__, 'auto_minor_version_upgrade'), + cluster_endpoint=pulumi.get(__response__, 'cluster_endpoint'), + description=pulumi.get(__response__, 'description'), + engine_version=pulumi.get(__response__, 'engine_version'), + maintenance_window=pulumi.get(__response__, 'maintenance_window'), + node_type=pulumi.get(__response__, 'node_type'), + num_replicas_per_shard=pulumi.get(__response__, 'num_replicas_per_shard'), + num_shards=pulumi.get(__response__, 'num_shards'), + parameter_group_name=pulumi.get(__response__, 'parameter_group_name'), + parameter_group_status=pulumi.get(__response__, 'parameter_group_status'), + security_group_ids=pulumi.get(__response__, 'security_group_ids'), + snapshot_retention_limit=pulumi.get(__response__, 'snapshot_retention_limit'), + snapshot_window=pulumi.get(__response__, 'snapshot_window'), + sns_topic_arn=pulumi.get(__response__, 'sns_topic_arn'), + sns_topic_status=pulumi.get(__response__, 'sns_topic_status'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/memorydb/get_parameter_group.py b/sdk/python/pulumi_aws_native/memorydb/get_parameter_group.py index c0b557127b..ff2fce5bf8 100644 --- a/sdk/python/pulumi_aws_native/memorydb/get_parameter_group.py +++ b/sdk/python/pulumi_aws_native/memorydb/get_parameter_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_parameter_group(parameter_group_name: Optional[str] = None, return AwaitableGetParameterGroupResult( arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_parameter_group) def get_parameter_group_output(parameter_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetParameterGroupResult]: """ @@ -81,4 +83,10 @@ def get_parameter_group_output(parameter_group_name: Optional[pulumi.Input[str]] :param str parameter_group_name: The name of the parameter group. """ - ... + __args__ = dict() + __args__['parameterGroupName'] = parameter_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:memorydb:getParameterGroup', __args__, opts=opts, typ=GetParameterGroupResult) + return __ret__.apply(lambda __response__: GetParameterGroupResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/memorydb/get_subnet_group.py b/sdk/python/pulumi_aws_native/memorydb/get_subnet_group.py index 9305a3c08c..f8243c1396 100644 --- a/sdk/python/pulumi_aws_native/memorydb/get_subnet_group.py +++ b/sdk/python/pulumi_aws_native/memorydb/get_subnet_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_subnet_group(subnet_group_name: Optional[str] = None, description=pulumi.get(__ret__, 'description'), subnet_ids=pulumi.get(__ret__, 'subnet_ids'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_subnet_group) def get_subnet_group_output(subnet_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubnetGroupResult]: """ @@ -107,4 +109,12 @@ def get_subnet_group_output(subnet_group_name: Optional[pulumi.Input[str]] = Non :param str subnet_group_name: The name of the subnet group. This value must be unique as it also serves as the subnet group identifier. """ - ... + __args__ = dict() + __args__['subnetGroupName'] = subnet_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:memorydb:getSubnetGroup', __args__, opts=opts, typ=GetSubnetGroupResult) + return __ret__.apply(lambda __response__: GetSubnetGroupResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + subnet_ids=pulumi.get(__response__, 'subnet_ids'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/memorydb/get_user.py b/sdk/python/pulumi_aws_native/memorydb/get_user.py index 3eb38820e9..9fa410790b 100644 --- a/sdk/python/pulumi_aws_native/memorydb/get_user.py +++ b/sdk/python/pulumi_aws_native/memorydb/get_user.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_user(user_name: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_user) def get_user_output(user_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserResult]: """ @@ -94,4 +96,11 @@ def get_user_output(user_name: Optional[pulumi.Input[str]] = None, :param str user_name: The name of the user. """ - ... + __args__ = dict() + __args__['userName'] = user_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:memorydb:getUser', __args__, opts=opts, typ=GetUserResult) + return __ret__.apply(lambda __response__: GetUserResult( + arn=pulumi.get(__response__, 'arn'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/memorydb/outputs.py b/sdk/python/pulumi_aws_native/memorydb/outputs.py index 3cdc302c37..ff488212ea 100644 --- a/sdk/python/pulumi_aws_native/memorydb/outputs.py +++ b/sdk/python/pulumi_aws_native/memorydb/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/memorydb/parameter_group.py b/sdk/python/pulumi_aws_native/memorydb/parameter_group.py index 58d96df125..46293d2b68 100644 --- a/sdk/python/pulumi_aws_native/memorydb/parameter_group.py +++ b/sdk/python/pulumi_aws_native/memorydb/parameter_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/memorydb/subnet_group.py b/sdk/python/pulumi_aws_native/memorydb/subnet_group.py index ec9906f4d2..291ca1c375 100644 --- a/sdk/python/pulumi_aws_native/memorydb/subnet_group.py +++ b/sdk/python/pulumi_aws_native/memorydb/subnet_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/memorydb/user.py b/sdk/python/pulumi_aws_native/memorydb/user.py index 02f14194c4..8897449bf8 100644 --- a/sdk/python/pulumi_aws_native/memorydb/user.py +++ b/sdk/python/pulumi_aws_native/memorydb/user.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/msk/_inputs.py b/sdk/python/pulumi_aws_native/msk/_inputs.py index 597ee2bf35..87c3de9f2b 100644 --- a/sdk/python/pulumi_aws_native/msk/_inputs.py +++ b/sdk/python/pulumi_aws_native/msk/_inputs.py @@ -4,59 +4,118 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ClusterBrokerLogsArgs', + 'ClusterBrokerLogsArgsDict', 'ClusterBrokerNodeGroupInfoArgs', + 'ClusterBrokerNodeGroupInfoArgsDict', 'ClusterClientAuthenticationArgs', + 'ClusterClientAuthenticationArgsDict', 'ClusterCloudWatchLogsArgs', + 'ClusterCloudWatchLogsArgsDict', 'ClusterConfigurationInfoArgs', + 'ClusterConfigurationInfoArgsDict', 'ClusterConnectivityInfoArgs', + 'ClusterConnectivityInfoArgsDict', 'ClusterEbsStorageInfoArgs', + 'ClusterEbsStorageInfoArgsDict', 'ClusterEncryptionAtRestArgs', + 'ClusterEncryptionAtRestArgsDict', 'ClusterEncryptionInTransitArgs', + 'ClusterEncryptionInTransitArgsDict', 'ClusterEncryptionInfoArgs', + 'ClusterEncryptionInfoArgsDict', 'ClusterFirehoseArgs', + 'ClusterFirehoseArgsDict', 'ClusterIamArgs', + 'ClusterIamArgsDict', 'ClusterJmxExporterArgs', + 'ClusterJmxExporterArgsDict', 'ClusterLoggingInfoArgs', + 'ClusterLoggingInfoArgsDict', 'ClusterNodeExporterArgs', + 'ClusterNodeExporterArgsDict', 'ClusterOpenMonitoringArgs', + 'ClusterOpenMonitoringArgsDict', 'ClusterPrometheusArgs', + 'ClusterPrometheusArgsDict', 'ClusterProvisionedThroughputArgs', + 'ClusterProvisionedThroughputArgsDict', 'ClusterPublicAccessArgs', + 'ClusterPublicAccessArgsDict', 'ClusterS3Args', + 'ClusterS3ArgsDict', 'ClusterSaslArgs', + 'ClusterSaslArgsDict', 'ClusterScramArgs', + 'ClusterScramArgsDict', 'ClusterStorageInfoArgs', + 'ClusterStorageInfoArgsDict', 'ClusterTlsArgs', + 'ClusterTlsArgsDict', 'ClusterUnauthenticatedArgs', + 'ClusterUnauthenticatedArgsDict', 'ClusterVpcConnectivityClientAuthenticationArgs', + 'ClusterVpcConnectivityClientAuthenticationArgsDict', 'ClusterVpcConnectivityIamArgs', + 'ClusterVpcConnectivityIamArgsDict', 'ClusterVpcConnectivitySaslArgs', + 'ClusterVpcConnectivitySaslArgsDict', 'ClusterVpcConnectivityScramArgs', + 'ClusterVpcConnectivityScramArgsDict', 'ClusterVpcConnectivityTlsArgs', + 'ClusterVpcConnectivityTlsArgsDict', 'ClusterVpcConnectivityArgs', + 'ClusterVpcConnectivityArgsDict', 'ConfigurationLatestRevisionArgs', + 'ConfigurationLatestRevisionArgsDict', 'ReplicatorAmazonMskClusterArgs', + 'ReplicatorAmazonMskClusterArgsDict', 'ReplicatorConsumerGroupReplicationArgs', + 'ReplicatorConsumerGroupReplicationArgsDict', 'ReplicatorKafkaClusterClientVpcConfigArgs', + 'ReplicatorKafkaClusterClientVpcConfigArgsDict', 'ReplicatorKafkaClusterArgs', + 'ReplicatorKafkaClusterArgsDict', 'ReplicatorReplicationInfoArgs', + 'ReplicatorReplicationInfoArgsDict', 'ReplicatorReplicationStartingPositionArgs', + 'ReplicatorReplicationStartingPositionArgsDict', 'ReplicatorReplicationTopicNameConfigurationArgs', + 'ReplicatorReplicationTopicNameConfigurationArgsDict', 'ReplicatorTopicReplicationArgs', + 'ReplicatorTopicReplicationArgsDict', 'ServerlessClusterClientAuthenticationArgs', + 'ServerlessClusterClientAuthenticationArgsDict', 'ServerlessClusterIamArgs', + 'ServerlessClusterIamArgsDict', 'ServerlessClusterSaslArgs', + 'ServerlessClusterSaslArgsDict', 'ServerlessClusterVpcConfigArgs', + 'ServerlessClusterVpcConfigArgsDict', ] +MYPY = False + +if not MYPY: + class ClusterBrokerLogsArgsDict(TypedDict): + cloud_watch_logs: NotRequired[pulumi.Input['ClusterCloudWatchLogsArgsDict']] + firehose: NotRequired[pulumi.Input['ClusterFirehoseArgsDict']] + s3: NotRequired[pulumi.Input['ClusterS3ArgsDict']] +elif False: + ClusterBrokerLogsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterBrokerLogsArgs: def __init__(__self__, *, @@ -98,6 +157,20 @@ def s3(self, value: Optional[pulumi.Input['ClusterS3Args']]): pulumi.set(self, "s3", value) +if not MYPY: + class ClusterBrokerNodeGroupInfoArgsDict(TypedDict): + client_subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + instance_type: pulumi.Input[str] + """ + The type of Amazon EC2 instances to use for brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.8xlarge, kafka.m5.12xlarge, kafka.m5.16xlarge, kafka.m5.24xlarge, and kafka.t3.small. + """ + broker_az_distribution: NotRequired[pulumi.Input[str]] + connectivity_info: NotRequired[pulumi.Input['ClusterConnectivityInfoArgsDict']] + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + storage_info: NotRequired[pulumi.Input['ClusterStorageInfoArgsDict']] +elif False: + ClusterBrokerNodeGroupInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterBrokerNodeGroupInfoArgs: def __init__(__self__, *, @@ -179,6 +252,14 @@ def storage_info(self, value: Optional[pulumi.Input['ClusterStorageInfoArgs']]): pulumi.set(self, "storage_info", value) +if not MYPY: + class ClusterClientAuthenticationArgsDict(TypedDict): + sasl: NotRequired[pulumi.Input['ClusterSaslArgsDict']] + tls: NotRequired[pulumi.Input['ClusterTlsArgsDict']] + unauthenticated: NotRequired[pulumi.Input['ClusterUnauthenticatedArgsDict']] +elif False: + ClusterClientAuthenticationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterClientAuthenticationArgs: def __init__(__self__, *, @@ -220,6 +301,13 @@ def unauthenticated(self, value: Optional[pulumi.Input['ClusterUnauthenticatedAr pulumi.set(self, "unauthenticated", value) +if not MYPY: + class ClusterCloudWatchLogsArgsDict(TypedDict): + enabled: pulumi.Input[bool] + log_group: NotRequired[pulumi.Input[str]] +elif False: + ClusterCloudWatchLogsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterCloudWatchLogsArgs: def __init__(__self__, *, @@ -248,6 +336,13 @@ def log_group(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_group", value) +if not MYPY: + class ClusterConfigurationInfoArgsDict(TypedDict): + arn: pulumi.Input[str] + revision: pulumi.Input[int] +elif False: + ClusterConfigurationInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterConfigurationInfoArgs: def __init__(__self__, *, @@ -275,6 +370,13 @@ def revision(self, value: pulumi.Input[int]): pulumi.set(self, "revision", value) +if not MYPY: + class ClusterConnectivityInfoArgsDict(TypedDict): + public_access: NotRequired[pulumi.Input['ClusterPublicAccessArgsDict']] + vpc_connectivity: NotRequired[pulumi.Input['ClusterVpcConnectivityArgsDict']] +elif False: + ClusterConnectivityInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterConnectivityInfoArgs: def __init__(__self__, *, @@ -304,6 +406,13 @@ def vpc_connectivity(self, value: Optional[pulumi.Input['ClusterVpcConnectivityA pulumi.set(self, "vpc_connectivity", value) +if not MYPY: + class ClusterEbsStorageInfoArgsDict(TypedDict): + provisioned_throughput: NotRequired[pulumi.Input['ClusterProvisionedThroughputArgsDict']] + volume_size: NotRequired[pulumi.Input[int]] +elif False: + ClusterEbsStorageInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterEbsStorageInfoArgs: def __init__(__self__, *, @@ -333,6 +442,12 @@ def volume_size(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "volume_size", value) +if not MYPY: + class ClusterEncryptionAtRestArgsDict(TypedDict): + data_volume_kms_key_id: pulumi.Input[str] +elif False: + ClusterEncryptionAtRestArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterEncryptionAtRestArgs: def __init__(__self__, *, @@ -349,6 +464,13 @@ def data_volume_kms_key_id(self, value: pulumi.Input[str]): pulumi.set(self, "data_volume_kms_key_id", value) +if not MYPY: + class ClusterEncryptionInTransitArgsDict(TypedDict): + client_broker: NotRequired[pulumi.Input['ClusterEncryptionInTransitClientBroker']] + in_cluster: NotRequired[pulumi.Input[bool]] +elif False: + ClusterEncryptionInTransitArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterEncryptionInTransitArgs: def __init__(__self__, *, @@ -378,6 +500,13 @@ def in_cluster(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "in_cluster", value) +if not MYPY: + class ClusterEncryptionInfoArgsDict(TypedDict): + encryption_at_rest: NotRequired[pulumi.Input['ClusterEncryptionAtRestArgsDict']] + encryption_in_transit: NotRequired[pulumi.Input['ClusterEncryptionInTransitArgsDict']] +elif False: + ClusterEncryptionInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterEncryptionInfoArgs: def __init__(__self__, *, @@ -407,6 +536,13 @@ def encryption_in_transit(self, value: Optional[pulumi.Input['ClusterEncryptionI pulumi.set(self, "encryption_in_transit", value) +if not MYPY: + class ClusterFirehoseArgsDict(TypedDict): + enabled: pulumi.Input[bool] + delivery_stream: NotRequired[pulumi.Input[str]] +elif False: + ClusterFirehoseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterFirehoseArgs: def __init__(__self__, *, @@ -435,6 +571,12 @@ def delivery_stream(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "delivery_stream", value) +if not MYPY: + class ClusterIamArgsDict(TypedDict): + enabled: pulumi.Input[bool] +elif False: + ClusterIamArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterIamArgs: def __init__(__self__, *, @@ -451,6 +593,12 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class ClusterJmxExporterArgsDict(TypedDict): + enabled_in_broker: pulumi.Input[bool] +elif False: + ClusterJmxExporterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterJmxExporterArgs: def __init__(__self__, *, @@ -467,6 +615,12 @@ def enabled_in_broker(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled_in_broker", value) +if not MYPY: + class ClusterLoggingInfoArgsDict(TypedDict): + broker_logs: pulumi.Input['ClusterBrokerLogsArgsDict'] +elif False: + ClusterLoggingInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterLoggingInfoArgs: def __init__(__self__, *, @@ -483,6 +637,12 @@ def broker_logs(self, value: pulumi.Input['ClusterBrokerLogsArgs']): pulumi.set(self, "broker_logs", value) +if not MYPY: + class ClusterNodeExporterArgsDict(TypedDict): + enabled_in_broker: pulumi.Input[bool] +elif False: + ClusterNodeExporterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterNodeExporterArgs: def __init__(__self__, *, @@ -499,6 +659,12 @@ def enabled_in_broker(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled_in_broker", value) +if not MYPY: + class ClusterOpenMonitoringArgsDict(TypedDict): + prometheus: pulumi.Input['ClusterPrometheusArgsDict'] +elif False: + ClusterOpenMonitoringArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterOpenMonitoringArgs: def __init__(__self__, *, @@ -515,6 +681,13 @@ def prometheus(self, value: pulumi.Input['ClusterPrometheusArgs']): pulumi.set(self, "prometheus", value) +if not MYPY: + class ClusterPrometheusArgsDict(TypedDict): + jmx_exporter: NotRequired[pulumi.Input['ClusterJmxExporterArgsDict']] + node_exporter: NotRequired[pulumi.Input['ClusterNodeExporterArgsDict']] +elif False: + ClusterPrometheusArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterPrometheusArgs: def __init__(__self__, *, @@ -544,6 +717,13 @@ def node_exporter(self, value: Optional[pulumi.Input['ClusterNodeExporterArgs']] pulumi.set(self, "node_exporter", value) +if not MYPY: + class ClusterProvisionedThroughputArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + volume_throughput: NotRequired[pulumi.Input[int]] +elif False: + ClusterProvisionedThroughputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterProvisionedThroughputArgs: def __init__(__self__, *, @@ -573,6 +753,12 @@ def volume_throughput(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "volume_throughput", value) +if not MYPY: + class ClusterPublicAccessArgsDict(TypedDict): + type: NotRequired[pulumi.Input[str]] +elif False: + ClusterPublicAccessArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterPublicAccessArgs: def __init__(__self__, *, @@ -590,6 +776,14 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class ClusterS3ArgsDict(TypedDict): + enabled: pulumi.Input[bool] + bucket: NotRequired[pulumi.Input[str]] + prefix: NotRequired[pulumi.Input[str]] +elif False: + ClusterS3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterS3Args: def __init__(__self__, *, @@ -630,6 +824,13 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class ClusterSaslArgsDict(TypedDict): + iam: NotRequired[pulumi.Input['ClusterIamArgsDict']] + scram: NotRequired[pulumi.Input['ClusterScramArgsDict']] +elif False: + ClusterSaslArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterSaslArgs: def __init__(__self__, *, @@ -659,6 +860,12 @@ def scram(self, value: Optional[pulumi.Input['ClusterScramArgs']]): pulumi.set(self, "scram", value) +if not MYPY: + class ClusterScramArgsDict(TypedDict): + enabled: pulumi.Input[bool] +elif False: + ClusterScramArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterScramArgs: def __init__(__self__, *, @@ -675,6 +882,12 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class ClusterStorageInfoArgsDict(TypedDict): + ebs_storage_info: NotRequired[pulumi.Input['ClusterEbsStorageInfoArgsDict']] +elif False: + ClusterStorageInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterStorageInfoArgs: def __init__(__self__, *, @@ -692,6 +905,13 @@ def ebs_storage_info(self, value: Optional[pulumi.Input['ClusterEbsStorageInfoAr pulumi.set(self, "ebs_storage_info", value) +if not MYPY: + class ClusterTlsArgsDict(TypedDict): + certificate_authority_arn_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + enabled: NotRequired[pulumi.Input[bool]] +elif False: + ClusterTlsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterTlsArgs: def __init__(__self__, *, @@ -721,6 +941,12 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class ClusterUnauthenticatedArgsDict(TypedDict): + enabled: pulumi.Input[bool] +elif False: + ClusterUnauthenticatedArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterUnauthenticatedArgs: def __init__(__self__, *, @@ -737,6 +963,13 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class ClusterVpcConnectivityClientAuthenticationArgsDict(TypedDict): + sasl: NotRequired[pulumi.Input['ClusterVpcConnectivitySaslArgsDict']] + tls: NotRequired[pulumi.Input['ClusterVpcConnectivityTlsArgsDict']] +elif False: + ClusterVpcConnectivityClientAuthenticationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterVpcConnectivityClientAuthenticationArgs: def __init__(__self__, *, @@ -766,6 +999,12 @@ def tls(self, value: Optional[pulumi.Input['ClusterVpcConnectivityTlsArgs']]): pulumi.set(self, "tls", value) +if not MYPY: + class ClusterVpcConnectivityIamArgsDict(TypedDict): + enabled: pulumi.Input[bool] +elif False: + ClusterVpcConnectivityIamArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterVpcConnectivityIamArgs: def __init__(__self__, *, @@ -782,6 +1021,13 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class ClusterVpcConnectivitySaslArgsDict(TypedDict): + iam: NotRequired[pulumi.Input['ClusterVpcConnectivityIamArgsDict']] + scram: NotRequired[pulumi.Input['ClusterVpcConnectivityScramArgsDict']] +elif False: + ClusterVpcConnectivitySaslArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterVpcConnectivitySaslArgs: def __init__(__self__, *, @@ -811,6 +1057,12 @@ def scram(self, value: Optional[pulumi.Input['ClusterVpcConnectivityScramArgs']] pulumi.set(self, "scram", value) +if not MYPY: + class ClusterVpcConnectivityScramArgsDict(TypedDict): + enabled: pulumi.Input[bool] +elif False: + ClusterVpcConnectivityScramArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterVpcConnectivityScramArgs: def __init__(__self__, *, @@ -827,6 +1079,12 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class ClusterVpcConnectivityTlsArgsDict(TypedDict): + enabled: pulumi.Input[bool] +elif False: + ClusterVpcConnectivityTlsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterVpcConnectivityTlsArgs: def __init__(__self__, *, @@ -843,6 +1101,12 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class ClusterVpcConnectivityArgsDict(TypedDict): + client_authentication: NotRequired[pulumi.Input['ClusterVpcConnectivityClientAuthenticationArgsDict']] +elif False: + ClusterVpcConnectivityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterVpcConnectivityArgs: def __init__(__self__, *, @@ -860,6 +1124,14 @@ def client_authentication(self, value: Optional[pulumi.Input['ClusterVpcConnecti pulumi.set(self, "client_authentication", value) +if not MYPY: + class ConfigurationLatestRevisionArgsDict(TypedDict): + creation_time: NotRequired[pulumi.Input[str]] + description: NotRequired[pulumi.Input[str]] + revision: NotRequired[pulumi.Input[int]] +elif False: + ConfigurationLatestRevisionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationLatestRevisionArgs: def __init__(__self__, *, @@ -901,6 +1173,18 @@ def revision(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "revision", value) +if not MYPY: + class ReplicatorAmazonMskClusterArgsDict(TypedDict): + """ + Details of an Amazon MSK cluster. + """ + msk_cluster_arn: pulumi.Input[str] + """ + The ARN of an Amazon MSK cluster. + """ +elif False: + ReplicatorAmazonMskClusterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicatorAmazonMskClusterArgs: def __init__(__self__, *, @@ -924,6 +1208,30 @@ def msk_cluster_arn(self, value: pulumi.Input[str]): pulumi.set(self, "msk_cluster_arn", value) +if not MYPY: + class ReplicatorConsumerGroupReplicationArgsDict(TypedDict): + """ + Configuration relating to consumer group replication. + """ + consumer_groups_to_replicate: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + List of regular expression patterns indicating the consumer groups to copy. + """ + consumer_groups_to_exclude: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of regular expression patterns indicating the consumer groups that should not be replicated. + """ + detect_and_copy_new_consumer_groups: NotRequired[pulumi.Input[bool]] + """ + Whether to periodically check for new consumer groups. + """ + synchronise_consumer_group_offsets: NotRequired[pulumi.Input[bool]] + """ + Whether to periodically write the translated offsets to __consumer_offsets topic in target cluster. + """ +elif False: + ReplicatorConsumerGroupReplicationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicatorConsumerGroupReplicationArgs: def __init__(__self__, *, @@ -995,6 +1303,22 @@ def synchronise_consumer_group_offsets(self, value: Optional[pulumi.Input[bool]] pulumi.set(self, "synchronise_consumer_group_offsets", value) +if not MYPY: + class ReplicatorKafkaClusterClientVpcConfigArgsDict(TypedDict): + """ + Details of an Amazon VPC which has network connectivity to the Kafka cluster. + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. + """ + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The AWS security groups to associate with the elastic network interfaces in order to specify what the replicator has access to. If a security group is not specified, the default security group associated with the VPC is used. + """ +elif False: + ReplicatorKafkaClusterClientVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicatorKafkaClusterClientVpcConfigArgs: def __init__(__self__, *, @@ -1034,6 +1358,22 @@ def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "security_group_ids", value) +if not MYPY: + class ReplicatorKafkaClusterArgsDict(TypedDict): + """ + Details of a Kafka cluster for replication. + """ + amazon_msk_cluster: pulumi.Input['ReplicatorAmazonMskClusterArgsDict'] + """ + Details of an Amazon MSK cluster. Exactly one of AmazonMskCluster is required. + """ + vpc_config: pulumi.Input['ReplicatorKafkaClusterClientVpcConfigArgsDict'] + """ + Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster. + """ +elif False: + ReplicatorKafkaClusterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicatorKafkaClusterArgs: def __init__(__self__, *, @@ -1072,6 +1412,34 @@ def vpc_config(self, value: pulumi.Input['ReplicatorKafkaClusterClientVpcConfigA pulumi.set(self, "vpc_config", value) +if not MYPY: + class ReplicatorReplicationInfoArgsDict(TypedDict): + """ + Specifies configuration for replication between a source and target Kafka cluster. + """ + consumer_group_replication: pulumi.Input['ReplicatorConsumerGroupReplicationArgsDict'] + """ + Configuration relating to consumer group replication. + """ + source_kafka_cluster_arn: pulumi.Input[str] + """ + Amazon Resource Name of the source Kafka cluster. + """ + target_compression_type: pulumi.Input['ReplicatorReplicationInfoTargetCompressionType'] + """ + The type of compression to use writing records to target Kafka cluster. + """ + target_kafka_cluster_arn: pulumi.Input[str] + """ + Amazon Resource Name of the target Kafka cluster. + """ + topic_replication: pulumi.Input['ReplicatorTopicReplicationArgsDict'] + """ + Configuration relating to topic replication. + """ +elif False: + ReplicatorReplicationInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicatorReplicationInfoArgs: def __init__(__self__, *, @@ -1155,6 +1523,18 @@ def topic_replication(self, value: pulumi.Input['ReplicatorTopicReplicationArgs' pulumi.set(self, "topic_replication", value) +if not MYPY: + class ReplicatorReplicationStartingPositionArgsDict(TypedDict): + """ + Configuration for specifying the position in the topics to start replicating from. + """ + type: NotRequired[pulumi.Input['ReplicatorReplicationStartingPositionType']] + """ + The type of replication starting position. + """ +elif False: + ReplicatorReplicationStartingPositionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicatorReplicationStartingPositionArgs: def __init__(__self__, *, @@ -1179,6 +1559,18 @@ def type(self, value: Optional[pulumi.Input['ReplicatorReplicationStartingPositi pulumi.set(self, "type", value) +if not MYPY: + class ReplicatorReplicationTopicNameConfigurationArgsDict(TypedDict): + """ + Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias. + """ + type: NotRequired[pulumi.Input['ReplicatorReplicationTopicNameConfigurationType']] + """ + The type of replication topic name configuration, identical to upstream topic name or prefixed with source cluster alias. + """ +elif False: + ReplicatorReplicationTopicNameConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicatorReplicationTopicNameConfigurationArgs: def __init__(__self__, *, @@ -1203,6 +1595,39 @@ def type(self, value: Optional[pulumi.Input['ReplicatorReplicationTopicNameConfi pulumi.set(self, "type", value) +if not MYPY: + class ReplicatorTopicReplicationArgsDict(TypedDict): + topics_to_replicate: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + List of regular expression patterns indicating the topics to copy. + """ + copy_access_control_lists_for_topics: NotRequired[pulumi.Input[bool]] + """ + Whether to periodically configure remote topic ACLs to match their corresponding upstream topics. + """ + copy_topic_configurations: NotRequired[pulumi.Input[bool]] + """ + Whether to periodically configure remote topics to match their corresponding upstream topics. + """ + detect_and_copy_new_topics: NotRequired[pulumi.Input[bool]] + """ + Whether to periodically check for new topics and partitions. + """ + starting_position: NotRequired[pulumi.Input['ReplicatorReplicationStartingPositionArgsDict']] + """ + Configuration for specifying the position in the topics to start replicating from. + """ + topic_name_configuration: NotRequired[pulumi.Input['ReplicatorReplicationTopicNameConfigurationArgsDict']] + """ + Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias. + """ + topics_to_exclude: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of regular expression patterns indicating the topics that should not be replicated. + """ +elif False: + ReplicatorTopicReplicationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicatorTopicReplicationArgs: def __init__(__self__, *, @@ -1321,6 +1746,12 @@ def topics_to_exclude(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[s pulumi.set(self, "topics_to_exclude", value) +if not MYPY: + class ServerlessClusterClientAuthenticationArgsDict(TypedDict): + sasl: pulumi.Input['ServerlessClusterSaslArgsDict'] +elif False: + ServerlessClusterClientAuthenticationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServerlessClusterClientAuthenticationArgs: def __init__(__self__, *, @@ -1337,6 +1768,12 @@ def sasl(self, value: pulumi.Input['ServerlessClusterSaslArgs']): pulumi.set(self, "sasl", value) +if not MYPY: + class ServerlessClusterIamArgsDict(TypedDict): + enabled: pulumi.Input[bool] +elif False: + ServerlessClusterIamArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServerlessClusterIamArgs: def __init__(__self__, *, @@ -1353,6 +1790,12 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class ServerlessClusterSaslArgsDict(TypedDict): + iam: pulumi.Input['ServerlessClusterIamArgsDict'] +elif False: + ServerlessClusterSaslArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServerlessClusterSaslArgs: def __init__(__self__, *, @@ -1369,6 +1812,13 @@ def iam(self, value: pulumi.Input['ServerlessClusterIamArgs']): pulumi.set(self, "iam", value) +if not MYPY: + class ServerlessClusterVpcConfigArgsDict(TypedDict): + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + ServerlessClusterVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServerlessClusterVpcConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/msk/batch_scram_secret.py b/sdk/python/pulumi_aws_native/msk/batch_scram_secret.py index 10467c94aa..12790df62d 100644 --- a/sdk/python/pulumi_aws_native/msk/batch_scram_secret.py +++ b/sdk/python/pulumi_aws_native/msk/batch_scram_secret.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['BatchScramSecretArgs', 'BatchScramSecret'] diff --git a/sdk/python/pulumi_aws_native/msk/cluster.py b/sdk/python/pulumi_aws_native/msk/cluster.py index f80e48f6b3..2c15d78efa 100644 --- a/sdk/python/pulumi_aws_native/msk/cluster.py +++ b/sdk/python/pulumi_aws_native/msk/cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/msk/cluster_policy.py b/sdk/python/pulumi_aws_native/msk/cluster_policy.py index 43103fda3e..9bd8daba97 100644 --- a/sdk/python/pulumi_aws_native/msk/cluster_policy.py +++ b/sdk/python/pulumi_aws_native/msk/cluster_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ClusterPolicyArgs', 'ClusterPolicy'] diff --git a/sdk/python/pulumi_aws_native/msk/configuration.py b/sdk/python/pulumi_aws_native/msk/configuration.py index 65f95afa6f..05bcb4241a 100644 --- a/sdk/python/pulumi_aws_native/msk/configuration.py +++ b/sdk/python/pulumi_aws_native/msk/configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/msk/get_batch_scram_secret.py b/sdk/python/pulumi_aws_native/msk/get_batch_scram_secret.py index c1d25265ee..c108d4c154 100644 --- a/sdk/python/pulumi_aws_native/msk/get_batch_scram_secret.py +++ b/sdk/python/pulumi_aws_native/msk/get_batch_scram_secret.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -50,12 +55,14 @@ def get_batch_scram_secret(cluster_arn: Optional[str] = None, return AwaitableGetBatchScramSecretResult( secret_arn_list=pulumi.get(__ret__, 'secret_arn_list')) - - -@_utilities.lift_output_func(get_batch_scram_secret) def get_batch_scram_secret_output(cluster_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBatchScramSecretResult]: """ Resource Type definition for AWS::MSK::BatchScramSecret """ - ... + __args__ = dict() + __args__['clusterArn'] = cluster_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:msk:getBatchScramSecret', __args__, opts=opts, typ=GetBatchScramSecretResult) + return __ret__.apply(lambda __response__: GetBatchScramSecretResult( + secret_arn_list=pulumi.get(__response__, 'secret_arn_list'))) diff --git a/sdk/python/pulumi_aws_native/msk/get_cluster.py b/sdk/python/pulumi_aws_native/msk/get_cluster.py index e15f266549..3330a23a50 100644 --- a/sdk/python/pulumi_aws_native/msk/get_cluster.py +++ b/sdk/python/pulumi_aws_native/msk/get_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -178,12 +183,26 @@ def get_cluster(arn: Optional[str] = None, open_monitoring=pulumi.get(__ret__, 'open_monitoring'), storage_mode=pulumi.get(__ret__, 'storage_mode'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: """ Resource Type definition for AWS::MSK::Cluster """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:msk:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + arn=pulumi.get(__response__, 'arn'), + broker_node_group_info=pulumi.get(__response__, 'broker_node_group_info'), + client_authentication=pulumi.get(__response__, 'client_authentication'), + configuration_info=pulumi.get(__response__, 'configuration_info'), + current_version=pulumi.get(__response__, 'current_version'), + encryption_info=pulumi.get(__response__, 'encryption_info'), + enhanced_monitoring=pulumi.get(__response__, 'enhanced_monitoring'), + kafka_version=pulumi.get(__response__, 'kafka_version'), + logging_info=pulumi.get(__response__, 'logging_info'), + number_of_broker_nodes=pulumi.get(__response__, 'number_of_broker_nodes'), + open_monitoring=pulumi.get(__response__, 'open_monitoring'), + storage_mode=pulumi.get(__response__, 'storage_mode'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/msk/get_cluster_policy.py b/sdk/python/pulumi_aws_native/msk/get_cluster_policy.py index 94a6cb886a..43bb47fd75 100644 --- a/sdk/python/pulumi_aws_native/msk/get_cluster_policy.py +++ b/sdk/python/pulumi_aws_native/msk/get_cluster_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -71,9 +76,6 @@ def get_cluster_policy(cluster_arn: Optional[str] = None, return AwaitableGetClusterPolicyResult( current_version=pulumi.get(__ret__, 'current_version'), policy=pulumi.get(__ret__, 'policy')) - - -@_utilities.lift_output_func(get_cluster_policy) def get_cluster_policy_output(cluster_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterPolicyResult]: """ @@ -82,4 +84,10 @@ def get_cluster_policy_output(cluster_arn: Optional[pulumi.Input[str]] = None, :param str cluster_arn: The arn of the cluster for the resource policy. """ - ... + __args__ = dict() + __args__['clusterArn'] = cluster_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:msk:getClusterPolicy', __args__, opts=opts, typ=GetClusterPolicyResult) + return __ret__.apply(lambda __response__: GetClusterPolicyResult( + current_version=pulumi.get(__response__, 'current_version'), + policy=pulumi.get(__response__, 'policy'))) diff --git a/sdk/python/pulumi_aws_native/msk/get_configuration.py b/sdk/python/pulumi_aws_native/msk/get_configuration.py index b747582fb4..d394e345a3 100644 --- a/sdk/python/pulumi_aws_native/msk/get_configuration.py +++ b/sdk/python/pulumi_aws_native/msk/get_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -71,12 +76,16 @@ def get_configuration(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), description=pulumi.get(__ret__, 'description'), latest_revision=pulumi.get(__ret__, 'latest_revision')) - - -@_utilities.lift_output_func(get_configuration) def get_configuration_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationResult]: """ Resource Type definition for AWS::MSK::Configuration """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:msk:getConfiguration', __args__, opts=opts, typ=GetConfigurationResult) + return __ret__.apply(lambda __response__: GetConfigurationResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + latest_revision=pulumi.get(__response__, 'latest_revision'))) diff --git a/sdk/python/pulumi_aws_native/msk/get_replicator.py b/sdk/python/pulumi_aws_native/msk/get_replicator.py index c7f299bd49..c269ab5955 100644 --- a/sdk/python/pulumi_aws_native/msk/get_replicator.py +++ b/sdk/python/pulumi_aws_native/msk/get_replicator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -98,9 +103,6 @@ def get_replicator(replicator_arn: Optional[str] = None, replication_info_list=pulumi.get(__ret__, 'replication_info_list'), replicator_arn=pulumi.get(__ret__, 'replicator_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_replicator) def get_replicator_output(replicator_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReplicatorResult]: """ @@ -109,4 +111,12 @@ def get_replicator_output(replicator_arn: Optional[pulumi.Input[str]] = None, :param str replicator_arn: Amazon Resource Name for the created replicator. """ - ... + __args__ = dict() + __args__['replicatorArn'] = replicator_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:msk:getReplicator', __args__, opts=opts, typ=GetReplicatorResult) + return __ret__.apply(lambda __response__: GetReplicatorResult( + current_version=pulumi.get(__response__, 'current_version'), + replication_info_list=pulumi.get(__response__, 'replication_info_list'), + replicator_arn=pulumi.get(__response__, 'replicator_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/msk/get_serverless_cluster.py b/sdk/python/pulumi_aws_native/msk/get_serverless_cluster.py index 70b913026f..7d8e52c2cd 100644 --- a/sdk/python/pulumi_aws_native/msk/get_serverless_cluster.py +++ b/sdk/python/pulumi_aws_native/msk/get_serverless_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -50,12 +55,14 @@ def get_serverless_cluster(arn: Optional[str] = None, return AwaitableGetServerlessClusterResult( arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_serverless_cluster) def get_serverless_cluster_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerlessClusterResult]: """ Resource Type definition for AWS::MSK::ServerlessCluster """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:msk:getServerlessCluster', __args__, opts=opts, typ=GetServerlessClusterResult) + return __ret__.apply(lambda __response__: GetServerlessClusterResult( + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/msk/get_vpc_connection.py b/sdk/python/pulumi_aws_native/msk/get_vpc_connection.py index cbadcf07ee..33a45b20aa 100644 --- a/sdk/python/pulumi_aws_native/msk/get_vpc_connection.py +++ b/sdk/python/pulumi_aws_native/msk/get_vpc_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -66,9 +71,6 @@ def get_vpc_connection(arn: Optional[str] = None, return AwaitableGetVpcConnectionResult( arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_vpc_connection) def get_vpc_connection_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcConnectionResult]: """ @@ -77,4 +79,10 @@ def get_vpc_connection_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the VPC connection. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:msk:getVpcConnection', __args__, opts=opts, typ=GetVpcConnectionResult) + return __ret__.apply(lambda __response__: GetVpcConnectionResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/msk/outputs.py b/sdk/python/pulumi_aws_native/msk/outputs.py index 9a118d631c..5b363c4632 100644 --- a/sdk/python/pulumi_aws_native/msk/outputs.py +++ b/sdk/python/pulumi_aws_native/msk/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/msk/replicator.py b/sdk/python/pulumi_aws_native/msk/replicator.py index 4eb08b24c9..d8222eafea 100644 --- a/sdk/python/pulumi_aws_native/msk/replicator.py +++ b/sdk/python/pulumi_aws_native/msk/replicator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/msk/serverless_cluster.py b/sdk/python/pulumi_aws_native/msk/serverless_cluster.py index e870267794..448309fffc 100644 --- a/sdk/python/pulumi_aws_native/msk/serverless_cluster.py +++ b/sdk/python/pulumi_aws_native/msk/serverless_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/msk/vpc_connection.py b/sdk/python/pulumi_aws_native/msk/vpc_connection.py index d71b7257e6..e2171cb7a2 100644 --- a/sdk/python/pulumi_aws_native/msk/vpc_connection.py +++ b/sdk/python/pulumi_aws_native/msk/vpc_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mwaa/_inputs.py b/sdk/python/pulumi_aws_native/mwaa/_inputs.py index bc09be9e7a..bc75286669 100644 --- a/sdk/python/pulumi_aws_native/mwaa/_inputs.py +++ b/sdk/python/pulumi_aws_native/mwaa/_inputs.py @@ -4,18 +4,56 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'EnvironmentLoggingConfigurationArgs', + 'EnvironmentLoggingConfigurationArgsDict', 'EnvironmentModuleLoggingConfigurationArgs', + 'EnvironmentModuleLoggingConfigurationArgsDict', 'EnvironmentNetworkConfigurationArgs', + 'EnvironmentNetworkConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class EnvironmentLoggingConfigurationArgsDict(TypedDict): + """ + Logging configuration for the environment. + """ + dag_processing_logs: NotRequired[pulumi.Input['EnvironmentModuleLoggingConfigurationArgsDict']] + """ + Defines the processing logs sent to CloudWatch Logs and the logging level to send. + """ + scheduler_logs: NotRequired[pulumi.Input['EnvironmentModuleLoggingConfigurationArgsDict']] + """ + Defines the scheduler logs sent to CloudWatch Logs and the logging level to send. + """ + task_logs: NotRequired[pulumi.Input['EnvironmentModuleLoggingConfigurationArgsDict']] + """ + Defines the task logs sent to CloudWatch Logs and the logging level to send. + """ + webserver_logs: NotRequired[pulumi.Input['EnvironmentModuleLoggingConfigurationArgsDict']] + """ + Defines the web server logs sent to CloudWatch Logs and the logging level to send. + """ + worker_logs: NotRequired[pulumi.Input['EnvironmentModuleLoggingConfigurationArgsDict']] + """ + Defines the worker logs sent to CloudWatch Logs and the logging level to send. + """ +elif False: + EnvironmentLoggingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentLoggingConfigurationArgs: def __init__(__self__, *, @@ -104,6 +142,28 @@ def worker_logs(self, value: Optional[pulumi.Input['EnvironmentModuleLoggingConf pulumi.set(self, "worker_logs", value) +if not MYPY: + class EnvironmentModuleLoggingConfigurationArgsDict(TypedDict): + """ + Logging configuration for a specific airflow component. + """ + cloud_watch_log_group_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled. + + > `CloudWatchLogGroupArn` is available only as a return value, accessible when specified as an attribute in the [`Fn:GetAtt`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html#aws-resource-mwaa-environment-return-values) intrinsic function. Any value you provide for `CloudWatchLogGroupArn` is discarded by Amazon MWAA. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to enable the Apache Airflow log type (e.g. `DagProcessingLogs` ) in CloudWatch Logs. + """ + log_level: NotRequired[pulumi.Input['EnvironmentLoggingLevel']] + """ + Defines the Apache Airflow logs to send for the log type (e.g. `DagProcessingLogs` ) to CloudWatch Logs. Valid values: `CRITICAL` , `ERROR` , `WARNING` , `INFO` . + """ +elif False: + EnvironmentModuleLoggingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentModuleLoggingConfigurationArgs: def __init__(__self__, *, @@ -164,6 +224,22 @@ def log_level(self, value: Optional[pulumi.Input['EnvironmentLoggingLevel']]): pulumi.set(self, "log_level", value) +if not MYPY: + class EnvironmentNetworkConfigurationArgsDict(TypedDict): + """ + Configures the network resources of the environment. + """ + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of security groups to use for the environment. + """ + subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones. + """ +elif False: + EnvironmentNetworkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentNetworkConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/mwaa/environment.py b/sdk/python/pulumi_aws_native/mwaa/environment.py index cc5005001e..dbc2f371c6 100644 --- a/sdk/python/pulumi_aws_native/mwaa/environment.py +++ b/sdk/python/pulumi_aws_native/mwaa/environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/mwaa/get_environment.py b/sdk/python/pulumi_aws_native/mwaa/get_environment.py index 7e502b65b9..12713c8884 100644 --- a/sdk/python/pulumi_aws_native/mwaa/get_environment.py +++ b/sdk/python/pulumi_aws_native/mwaa/get_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -429,9 +434,6 @@ def get_environment(name: Optional[str] = None, webserver_url=pulumi.get(__ret__, 'webserver_url'), webserver_vpc_endpoint_service=pulumi.get(__ret__, 'webserver_vpc_endpoint_service'), weekly_maintenance_window_start=pulumi.get(__ret__, 'weekly_maintenance_window_start')) - - -@_utilities.lift_output_func(get_environment) def get_environment_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentResult]: """ @@ -440,4 +442,35 @@ def get_environment_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of your Amazon MWAA environment. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:mwaa:getEnvironment', __args__, opts=opts, typ=GetEnvironmentResult) + return __ret__.apply(lambda __response__: GetEnvironmentResult( + airflow_configuration_options=pulumi.get(__response__, 'airflow_configuration_options'), + airflow_version=pulumi.get(__response__, 'airflow_version'), + arn=pulumi.get(__response__, 'arn'), + celery_executor_queue=pulumi.get(__response__, 'celery_executor_queue'), + dag_s3_path=pulumi.get(__response__, 'dag_s3_path'), + database_vpc_endpoint_service=pulumi.get(__response__, 'database_vpc_endpoint_service'), + environment_class=pulumi.get(__response__, 'environment_class'), + execution_role_arn=pulumi.get(__response__, 'execution_role_arn'), + logging_configuration=pulumi.get(__response__, 'logging_configuration'), + max_webservers=pulumi.get(__response__, 'max_webservers'), + max_workers=pulumi.get(__response__, 'max_workers'), + min_webservers=pulumi.get(__response__, 'min_webservers'), + min_workers=pulumi.get(__response__, 'min_workers'), + network_configuration=pulumi.get(__response__, 'network_configuration'), + plugins_s3_object_version=pulumi.get(__response__, 'plugins_s3_object_version'), + plugins_s3_path=pulumi.get(__response__, 'plugins_s3_path'), + requirements_s3_object_version=pulumi.get(__response__, 'requirements_s3_object_version'), + requirements_s3_path=pulumi.get(__response__, 'requirements_s3_path'), + schedulers=pulumi.get(__response__, 'schedulers'), + source_bucket_arn=pulumi.get(__response__, 'source_bucket_arn'), + startup_script_s3_object_version=pulumi.get(__response__, 'startup_script_s3_object_version'), + startup_script_s3_path=pulumi.get(__response__, 'startup_script_s3_path'), + tags=pulumi.get(__response__, 'tags'), + webserver_access_mode=pulumi.get(__response__, 'webserver_access_mode'), + webserver_url=pulumi.get(__response__, 'webserver_url'), + webserver_vpc_endpoint_service=pulumi.get(__response__, 'webserver_vpc_endpoint_service'), + weekly_maintenance_window_start=pulumi.get(__response__, 'weekly_maintenance_window_start'))) diff --git a/sdk/python/pulumi_aws_native/mwaa/outputs.py b/sdk/python/pulumi_aws_native/mwaa/outputs.py index 64022ae1b5..3e6c55a259 100644 --- a/sdk/python/pulumi_aws_native/mwaa/outputs.py +++ b/sdk/python/pulumi_aws_native/mwaa/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/neptune/_inputs.py b/sdk/python/pulumi_aws_native/neptune/_inputs.py index eff152a38a..a26bec36e2 100644 --- a/sdk/python/pulumi_aws_native/neptune/_inputs.py +++ b/sdk/python/pulumi_aws_native/neptune/_inputs.py @@ -4,16 +4,41 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'DbClusterDbClusterRoleArgs', + 'DbClusterDbClusterRoleArgsDict', 'DbClusterServerlessScalingConfigurationArgs', + 'DbClusterServerlessScalingConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class DbClusterDbClusterRoleArgsDict(TypedDict): + """ + Describes an AWS Identity and Access Management (IAM) role that is associated with a DB cluster. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster. + """ + feature_name: NotRequired[pulumi.Input[str]] + """ + The name of the feature associated with the AWS Identity and Access Management (IAM) role. For the list of supported feature names, see DBEngineVersion in the Amazon Neptune API Reference. + """ +elif False: + DbClusterDbClusterRoleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbClusterDbClusterRoleArgs: def __init__(__self__, *, @@ -53,6 +78,22 @@ def feature_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "feature_name", value) +if not MYPY: + class DbClusterServerlessScalingConfigurationArgsDict(TypedDict): + """ + Contains the scaling configuration of an Neptune Serverless DB cluster. + """ + max_capacity: pulumi.Input[float] + """ + The maximum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 40, 40.5, 41, and so on. The smallest value you can use is 2.5, whereas the largest is 128. + """ + min_capacity: pulumi.Input[float] + """ + The minimum number of Neptune capacity units (NCUs) for a DB instance in an Neptune Serverless cluster. You can specify NCU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value you can use is 1, whereas the largest is 128. + """ +elif False: + DbClusterServerlessScalingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbClusterServerlessScalingConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/neptune/db_cluster.py b/sdk/python/pulumi_aws_native/neptune/db_cluster.py index 1f7688b02c..043f776e10 100644 --- a/sdk/python/pulumi_aws_native/neptune/db_cluster.py +++ b/sdk/python/pulumi_aws_native/neptune/db_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/neptune/get_db_cluster.py b/sdk/python/pulumi_aws_native/neptune/get_db_cluster.py index 768c70be16..cdac85c8f5 100644 --- a/sdk/python/pulumi_aws_native/neptune/get_db_cluster.py +++ b/sdk/python/pulumi_aws_native/neptune/get_db_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -283,9 +288,6 @@ def get_db_cluster(db_cluster_identifier: Optional[str] = None, serverless_scaling_configuration=pulumi.get(__ret__, 'serverless_scaling_configuration'), tags=pulumi.get(__ret__, 'tags'), vpc_security_group_ids=pulumi.get(__ret__, 'vpc_security_group_ids')) - - -@_utilities.lift_output_func(get_db_cluster) def get_db_cluster_output(db_cluster_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbClusterResult]: """ @@ -294,4 +296,26 @@ def get_db_cluster_output(db_cluster_identifier: Optional[pulumi.Input[str]] = N :param str db_cluster_identifier: The DB cluster identifier. Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster stored as a lowercase string. """ - ... + __args__ = dict() + __args__['dbClusterIdentifier'] = db_cluster_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:neptune:getDbCluster', __args__, opts=opts, typ=GetDbClusterResult) + return __ret__.apply(lambda __response__: GetDbClusterResult( + associated_roles=pulumi.get(__response__, 'associated_roles'), + backup_retention_period=pulumi.get(__response__, 'backup_retention_period'), + cluster_resource_id=pulumi.get(__response__, 'cluster_resource_id'), + copy_tags_to_snapshot=pulumi.get(__response__, 'copy_tags_to_snapshot'), + db_cluster_parameter_group_name=pulumi.get(__response__, 'db_cluster_parameter_group_name'), + db_port=pulumi.get(__response__, 'db_port'), + deletion_protection=pulumi.get(__response__, 'deletion_protection'), + enable_cloudwatch_logs_exports=pulumi.get(__response__, 'enable_cloudwatch_logs_exports'), + endpoint=pulumi.get(__response__, 'endpoint'), + engine_version=pulumi.get(__response__, 'engine_version'), + iam_auth_enabled=pulumi.get(__response__, 'iam_auth_enabled'), + port=pulumi.get(__response__, 'port'), + preferred_backup_window=pulumi.get(__response__, 'preferred_backup_window'), + preferred_maintenance_window=pulumi.get(__response__, 'preferred_maintenance_window'), + read_endpoint=pulumi.get(__response__, 'read_endpoint'), + serverless_scaling_configuration=pulumi.get(__response__, 'serverless_scaling_configuration'), + tags=pulumi.get(__response__, 'tags'), + vpc_security_group_ids=pulumi.get(__response__, 'vpc_security_group_ids'))) diff --git a/sdk/python/pulumi_aws_native/neptune/outputs.py b/sdk/python/pulumi_aws_native/neptune/outputs.py index d80b07eb7c..b93f616993 100644 --- a/sdk/python/pulumi_aws_native/neptune/outputs.py +++ b/sdk/python/pulumi_aws_native/neptune/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/neptunegraph/_inputs.py b/sdk/python/pulumi_aws_native/neptunegraph/_inputs.py index 104de2223e..0930eede20 100644 --- a/sdk/python/pulumi_aws_native/neptunegraph/_inputs.py +++ b/sdk/python/pulumi_aws_native/neptunegraph/_inputs.py @@ -4,15 +4,35 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'GraphVectorSearchConfigurationArgs', + 'GraphVectorSearchConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class GraphVectorSearchConfigurationArgsDict(TypedDict): + """ + The vector search configuration. + """ + vector_search_dimension: pulumi.Input[int] + """ + The vector search dimension + """ +elif False: + GraphVectorSearchConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GraphVectorSearchConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/neptunegraph/get_graph.py b/sdk/python/pulumi_aws_native/neptunegraph/get_graph.py index 65773fab7d..730dba95bb 100644 --- a/sdk/python/pulumi_aws_native/neptunegraph/get_graph.py +++ b/sdk/python/pulumi_aws_native/neptunegraph/get_graph.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -143,9 +148,6 @@ def get_graph(graph_id: Optional[str] = None, provisioned_memory=pulumi.get(__ret__, 'provisioned_memory'), public_connectivity=pulumi.get(__ret__, 'public_connectivity'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_graph) def get_graph_output(graph_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGraphResult]: """ @@ -154,4 +156,15 @@ def get_graph_output(graph_id: Optional[pulumi.Input[str]] = None, :param str graph_id: The auto-generated id assigned by the service. """ - ... + __args__ = dict() + __args__['graphId'] = graph_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:neptunegraph:getGraph', __args__, opts=opts, typ=GetGraphResult) + return __ret__.apply(lambda __response__: GetGraphResult( + deletion_protection=pulumi.get(__response__, 'deletion_protection'), + endpoint=pulumi.get(__response__, 'endpoint'), + graph_arn=pulumi.get(__response__, 'graph_arn'), + graph_id=pulumi.get(__response__, 'graph_id'), + provisioned_memory=pulumi.get(__response__, 'provisioned_memory'), + public_connectivity=pulumi.get(__response__, 'public_connectivity'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/neptunegraph/get_private_graph_endpoint.py b/sdk/python/pulumi_aws_native/neptunegraph/get_private_graph_endpoint.py index 1d29629218..80e8d22481 100644 --- a/sdk/python/pulumi_aws_native/neptunegraph/get_private_graph_endpoint.py +++ b/sdk/python/pulumi_aws_native/neptunegraph/get_private_graph_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -73,9 +78,6 @@ def get_private_graph_endpoint(private_graph_endpoint_identifier: Optional[str] return AwaitableGetPrivateGraphEndpointResult( private_graph_endpoint_identifier=pulumi.get(__ret__, 'private_graph_endpoint_identifier'), vpc_endpoint_id=pulumi.get(__ret__, 'vpc_endpoint_id')) - - -@_utilities.lift_output_func(get_private_graph_endpoint) def get_private_graph_endpoint_output(private_graph_endpoint_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateGraphEndpointResult]: """ @@ -86,4 +88,10 @@ def get_private_graph_endpoint_output(private_graph_endpoint_identifier: Optiona For example, if GraphIdentifier is `g-12a3bcdef4` and VpcId is `vpc-0a12bc34567de8f90`, the generated PrivateGraphEndpointIdentifier will be `g-12a3bcdef4_vpc-0a12bc34567de8f90` """ - ... + __args__ = dict() + __args__['privateGraphEndpointIdentifier'] = private_graph_endpoint_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:neptunegraph:getPrivateGraphEndpoint', __args__, opts=opts, typ=GetPrivateGraphEndpointResult) + return __ret__.apply(lambda __response__: GetPrivateGraphEndpointResult( + private_graph_endpoint_identifier=pulumi.get(__response__, 'private_graph_endpoint_identifier'), + vpc_endpoint_id=pulumi.get(__response__, 'vpc_endpoint_id'))) diff --git a/sdk/python/pulumi_aws_native/neptunegraph/graph.py b/sdk/python/pulumi_aws_native/neptunegraph/graph.py index 7bb4522cf8..28936462f4 100644 --- a/sdk/python/pulumi_aws_native/neptunegraph/graph.py +++ b/sdk/python/pulumi_aws_native/neptunegraph/graph.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/neptunegraph/outputs.py b/sdk/python/pulumi_aws_native/neptunegraph/outputs.py index facf0c42bc..24718845dd 100644 --- a/sdk/python/pulumi_aws_native/neptunegraph/outputs.py +++ b/sdk/python/pulumi_aws_native/neptunegraph/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/neptunegraph/private_graph_endpoint.py b/sdk/python/pulumi_aws_native/neptunegraph/private_graph_endpoint.py index 4fcdf69156..ce2d6e31d9 100644 --- a/sdk/python/pulumi_aws_native/neptunegraph/private_graph_endpoint.py +++ b/sdk/python/pulumi_aws_native/neptunegraph/private_graph_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['PrivateGraphEndpointArgs', 'PrivateGraphEndpoint'] diff --git a/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py b/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py index 4be460cb6c..fbc927d73c 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/_inputs.py @@ -4,60 +4,123 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'FirewallPolicyActionDefinitionArgs', + 'FirewallPolicyActionDefinitionArgsDict', 'FirewallPolicyCustomActionArgs', + 'FirewallPolicyCustomActionArgsDict', 'FirewallPolicyDimensionArgs', + 'FirewallPolicyDimensionArgsDict', 'FirewallPolicyIpSetArgs', + 'FirewallPolicyIpSetArgsDict', 'FirewallPolicyPolicyVariablesPropertiesArgs', + 'FirewallPolicyPolicyVariablesPropertiesArgsDict', 'FirewallPolicyPublishMetricActionArgs', + 'FirewallPolicyPublishMetricActionArgsDict', 'FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs', + 'FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgsDict', 'FirewallPolicyStatefulEngineOptionsArgs', + 'FirewallPolicyStatefulEngineOptionsArgsDict', 'FirewallPolicyStatefulRuleGroupOverrideArgs', + 'FirewallPolicyStatefulRuleGroupOverrideArgsDict', 'FirewallPolicyStatefulRuleGroupReferenceArgs', + 'FirewallPolicyStatefulRuleGroupReferenceArgsDict', 'FirewallPolicyStatelessRuleGroupReferenceArgs', + 'FirewallPolicyStatelessRuleGroupReferenceArgsDict', 'FirewallPolicyArgs', + 'FirewallPolicyArgsDict', 'FirewallSubnetMappingArgs', + 'FirewallSubnetMappingArgsDict', 'LoggingConfigurationLogDestinationConfigArgs', + 'LoggingConfigurationLogDestinationConfigArgsDict', 'LoggingConfigurationArgs', + 'LoggingConfigurationArgsDict', 'RuleGroupActionDefinitionArgs', + 'RuleGroupActionDefinitionArgsDict', 'RuleGroupAddressArgs', + 'RuleGroupAddressArgsDict', 'RuleGroupCustomActionArgs', + 'RuleGroupCustomActionArgsDict', 'RuleGroupDimensionArgs', + 'RuleGroupDimensionArgsDict', 'RuleGroupHeaderArgs', + 'RuleGroupHeaderArgsDict', 'RuleGroupIpSetReferenceArgs', + 'RuleGroupIpSetReferenceArgsDict', 'RuleGroupIpSetArgs', + 'RuleGroupIpSetArgsDict', 'RuleGroupMatchAttributesArgs', + 'RuleGroupMatchAttributesArgsDict', 'RuleGroupPortRangeArgs', + 'RuleGroupPortRangeArgsDict', 'RuleGroupPortSetArgs', + 'RuleGroupPortSetArgsDict', 'RuleGroupPublishMetricActionArgs', + 'RuleGroupPublishMetricActionArgsDict', 'RuleGroupReferenceSetsArgs', + 'RuleGroupReferenceSetsArgsDict', 'RuleGroupRuleDefinitionArgs', + 'RuleGroupRuleDefinitionArgsDict', 'RuleGroupRuleOptionArgs', + 'RuleGroupRuleOptionArgsDict', 'RuleGroupRuleVariablesArgs', + 'RuleGroupRuleVariablesArgsDict', 'RuleGroupRulesSourceListArgs', + 'RuleGroupRulesSourceListArgsDict', 'RuleGroupRulesSourceArgs', + 'RuleGroupRulesSourceArgsDict', 'RuleGroupStatefulRuleOptionsArgs', + 'RuleGroupStatefulRuleOptionsArgsDict', 'RuleGroupStatefulRuleArgs', + 'RuleGroupStatefulRuleArgsDict', 'RuleGroupStatelessRulesAndCustomActionsArgs', + 'RuleGroupStatelessRulesAndCustomActionsArgsDict', 'RuleGroupStatelessRuleArgs', + 'RuleGroupStatelessRuleArgsDict', 'RuleGroupTcpFlagFieldArgs', + 'RuleGroupTcpFlagFieldArgsDict', 'RuleGroupArgs', + 'RuleGroupArgsDict', 'TlsInspectionConfigurationAddressArgs', + 'TlsInspectionConfigurationAddressArgsDict', 'TlsInspectionConfigurationPortRangeArgs', + 'TlsInspectionConfigurationPortRangeArgsDict', 'TlsInspectionConfigurationServerCertificateConfigurationCheckCertificateRevocationStatusPropertiesArgs', + 'TlsInspectionConfigurationServerCertificateConfigurationCheckCertificateRevocationStatusPropertiesArgsDict', 'TlsInspectionConfigurationServerCertificateConfigurationArgs', + 'TlsInspectionConfigurationServerCertificateConfigurationArgsDict', 'TlsInspectionConfigurationServerCertificateScopeArgs', + 'TlsInspectionConfigurationServerCertificateScopeArgsDict', 'TlsInspectionConfigurationServerCertificateArgs', + 'TlsInspectionConfigurationServerCertificateArgsDict', 'TlsInspectionConfigurationTlsInspectionConfigurationArgs', + 'TlsInspectionConfigurationTlsInspectionConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class FirewallPolicyActionDefinitionArgsDict(TypedDict): + publish_metric_action: NotRequired[pulumi.Input['FirewallPolicyPublishMetricActionArgsDict']] + """ + Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published. + + You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it. + """ +elif False: + FirewallPolicyActionDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyActionDefinitionArgs: def __init__(__self__, *, @@ -85,6 +148,19 @@ def publish_metric_action(self, value: Optional[pulumi.Input['FirewallPolicyPubl pulumi.set(self, "publish_metric_action", value) +if not MYPY: + class FirewallPolicyCustomActionArgsDict(TypedDict): + action_definition: pulumi.Input['FirewallPolicyActionDefinitionArgsDict'] + """ + The custom action associated with the action name. + """ + action_name: pulumi.Input[str] + """ + The descriptive name of the custom action. You can't change the name of a custom action after you create it. + """ +elif False: + FirewallPolicyCustomActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyCustomActionArgs: def __init__(__self__, *, @@ -122,6 +198,15 @@ def action_name(self, value: pulumi.Input[str]): pulumi.set(self, "action_name", value) +if not MYPY: + class FirewallPolicyDimensionArgsDict(TypedDict): + value: pulumi.Input[str] + """ + The value to use in the custom metric dimension. + """ +elif False: + FirewallPolicyDimensionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyDimensionArgs: def __init__(__self__, *, @@ -144,6 +229,15 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class FirewallPolicyIpSetArgsDict(TypedDict): + definition: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of IP addresses and address ranges, in CIDR notation. + """ +elif False: + FirewallPolicyIpSetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyIpSetArgs: def __init__(__self__, *, @@ -167,6 +261,15 @@ def definition(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "definition", value) +if not MYPY: + class FirewallPolicyPolicyVariablesPropertiesArgsDict(TypedDict): + """ + Contains variables that you can use to override default Suricata settings in your firewall policy. + """ + rule_variables: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['FirewallPolicyIpSetArgsDict']]]] +elif False: + FirewallPolicyPolicyVariablesPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyPolicyVariablesPropertiesArgs: def __init__(__self__, *, @@ -187,6 +290,12 @@ def rule_variables(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[ pulumi.set(self, "rule_variables", value) +if not MYPY: + class FirewallPolicyPublishMetricActionArgsDict(TypedDict): + dimensions: pulumi.Input[Sequence[pulumi.Input['FirewallPolicyDimensionArgsDict']]] +elif False: + FirewallPolicyPublishMetricActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyPublishMetricActionArgs: def __init__(__self__, *, @@ -203,6 +312,12 @@ def dimensions(self, value: pulumi.Input[Sequence[pulumi.Input['FirewallPolicyDi pulumi.set(self, "dimensions", value) +if not MYPY: + class FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgsDict(TypedDict): + tcp_idle_timeout_seconds: NotRequired[pulumi.Input[int]] +elif False: + FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgs: def __init__(__self__, *, @@ -220,6 +335,24 @@ def tcp_idle_timeout_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "tcp_idle_timeout_seconds", value) +if not MYPY: + class FirewallPolicyStatefulEngineOptionsArgsDict(TypedDict): + flow_timeouts: NotRequired[pulumi.Input['FirewallPolicyStatefulEngineOptionsFlowTimeoutsPropertiesArgsDict']] + rule_order: NotRequired[pulumi.Input['FirewallPolicyRuleOrder']] + """ + Indicates how to manage the order of stateful rule evaluation for the policy. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see [Evaluation order for stateful rules](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) in the *AWS Network Firewall Developer Guide* . + """ + stream_exception_policy: NotRequired[pulumi.Input['FirewallPolicyStreamExceptionPolicy']] + """ + Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself. + + - `DROP` - Network Firewall fails closed and drops all subsequent traffic going to the firewall. This is the default behavior. + - `CONTINUE` - Network Firewall continues to apply rules to the subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on this context. For example, if you have a stateful rule to `drop http` traffic, Network Firewall won't match the traffic for this rule because the service won't have the context from session initialization defining the application layer protocol as HTTP. However, this behavior is rule dependent—a TCP-layer rule using a `flow:stateless` rule would still match, as would the `aws:drop_strict` default action. + - `REJECT` - Network Firewall fails closed and drops all subsequent traffic going to the firewall. Network Firewall also sends a TCP reject packet back to your client so that the client can immediately establish a new session. Network Firewall will have context about the new session and will apply rules to the subsequent traffic. + """ +elif False: + FirewallPolicyStatefulEngineOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyStatefulEngineOptionsArgs: def __init__(__self__, *, @@ -279,6 +412,15 @@ def stream_exception_policy(self, value: Optional[pulumi.Input['FirewallPolicySt pulumi.set(self, "stream_exception_policy", value) +if not MYPY: + class FirewallPolicyStatefulRuleGroupOverrideArgsDict(TypedDict): + action: NotRequired[pulumi.Input['FirewallPolicyOverrideAction']] + """ + The action that changes the rule group from `DROP` to `ALERT` . This only applies to managed rule groups. + """ +elif False: + FirewallPolicyStatefulRuleGroupOverrideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyStatefulRuleGroupOverrideArgs: def __init__(__self__, *, @@ -302,6 +444,27 @@ def action(self, value: Optional[pulumi.Input['FirewallPolicyOverrideAction']]): pulumi.set(self, "action", value) +if not MYPY: + class FirewallPolicyStatefulRuleGroupReferenceArgsDict(TypedDict): + resource_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the stateful rule group. + """ + override: NotRequired[pulumi.Input['FirewallPolicyStatefulRuleGroupOverrideArgsDict']] + """ + The action that allows the policy owner to override the behavior of the rule group within a policy. + """ + priority: NotRequired[pulumi.Input[int]] + """ + An integer setting that indicates the order in which to run the stateful rule groups in a single `FirewallPolicy` . This setting only applies to firewall policies that specify the `STRICT_ORDER` rule order in the stateful engine options settings. + + Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. + + You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on. + """ +elif False: + FirewallPolicyStatefulRuleGroupReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyStatefulRuleGroupReferenceArgs: def __init__(__self__, *, @@ -364,6 +527,19 @@ def priority(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "priority", value) +if not MYPY: + class FirewallPolicyStatelessRuleGroupReferenceArgsDict(TypedDict): + priority: pulumi.Input[int] + """ + An integer setting that indicates the order in which to run the stateless rule groups in a single `FirewallPolicy` . Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. + """ + resource_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the stateless rule group. + """ +elif False: + FirewallPolicyStatelessRuleGroupReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyStatelessRuleGroupReferenceArgs: def __init__(__self__, *, @@ -401,6 +577,64 @@ def resource_arn(self, value: pulumi.Input[str]): pulumi.set(self, "resource_arn", value) +if not MYPY: + class FirewallPolicyArgsDict(TypedDict): + stateless_default_actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you want non-matching packets to be forwarded for stateful inspection, specify `aws:forward_to_sfe` . + + You must specify one of the standard actions: `aws:pass` , `aws:drop` , or `aws:forward_to_sfe` . In addition, you can specify custom actions that are compatible with your standard section choice. + + For example, you could specify `["aws:pass"]` or you could specify `["aws:pass", "customActionName"]` . For information about compatibility, see the custom action descriptions. + """ + stateless_fragment_default_actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The actions to take on a fragmented packet if it doesn't match any of the stateless rules in the policy. If you want non-matching fragmented packets to be forwarded for stateful inspection, specify `aws:forward_to_sfe` . + + You must specify one of the standard actions: `aws:pass` , `aws:drop` , or `aws:forward_to_sfe` . In addition, you can specify custom actions that are compatible with your standard section choice. + + For example, you could specify `["aws:pass"]` or you could specify `["aws:pass", "customActionName"]` . For information about compatibility, see the custom action descriptions. + """ + policy_variables: NotRequired[pulumi.Input['FirewallPolicyPolicyVariablesPropertiesArgsDict']] + """ + Contains variables that you can use to override default Suricata settings in your firewall policy. + """ + stateful_default_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order. + + Valid values of the stateful default action: + + - aws:drop_strict + - aws:drop_established + - aws:alert_strict + - aws:alert_established + + For more information, see [Strict evaluation order](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html#suricata-strict-rule-evaluation-order.html) in the *AWS Network Firewall Developer Guide* . + """ + stateful_engine_options: NotRequired[pulumi.Input['FirewallPolicyStatefulEngineOptionsArgsDict']] + """ + Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings. + """ + stateful_rule_group_references: NotRequired[pulumi.Input[Sequence[pulumi.Input['FirewallPolicyStatefulRuleGroupReferenceArgsDict']]]] + """ + References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules. + """ + stateless_custom_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['FirewallPolicyCustomActionArgsDict']]]] + """ + The custom action definitions that are available for use in the firewall policy's `StatelessDefaultActions` setting. You name each custom action that you define, and then you can use it by name in your default actions specifications. + """ + stateless_rule_group_references: NotRequired[pulumi.Input[Sequence[pulumi.Input['FirewallPolicyStatelessRuleGroupReferenceArgsDict']]]] + """ + References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules. + """ + tls_inspection_configuration_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the TLS inspection configuration. + """ +elif False: + FirewallPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallPolicyArgs: def __init__(__self__, *, @@ -584,6 +818,19 @@ def tls_inspection_configuration_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tls_inspection_configuration_arn", value) +if not MYPY: + class FirewallSubnetMappingArgsDict(TypedDict): + subnet_id: pulumi.Input[str] + """ + A SubnetId. + """ + ip_address_type: NotRequired[pulumi.Input[str]] + """ + A IPAddressType + """ +elif False: + FirewallSubnetMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallSubnetMappingArgs: def __init__(__self__, *, @@ -622,6 +869,27 @@ def ip_address_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ip_address_type", value) +if not MYPY: + class LoggingConfigurationLogDestinationConfigArgsDict(TypedDict): + log_destination: pulumi.Input[Mapping[str, pulumi.Input[str]]] + """ + A key-value pair to configure the logDestinations. + """ + log_destination_type: pulumi.Input['LoggingConfigurationLogDestinationConfigLogDestinationType'] + """ + The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream. + """ + log_type: pulumi.Input['LoggingConfigurationLogDestinationConfigLogType'] + """ + The type of log to record. You can record the following types of logs from your Network Firewall stateful engine. + + - `ALERT` - Logs for traffic that matches your stateful rules and that have an action that sends an alert. A stateful rule sends alerts for the rule actions DROP, ALERT, and REJECT. For more information, see the `StatefulRule` property. + - `FLOW` - Standard network traffic flow logs. The stateful rules engine records flow logs for all network traffic that it receives. Each flow log record captures the network flow for a specific standard stateless rule group. + - `TLS` - Logs for events that are related to TLS inspection. For more information, see [Inspecting SSL/TLS traffic with TLS inspection configurations](https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection-configurations.html) in the *Network Firewall Developer Guide* . + """ +elif False: + LoggingConfigurationLogDestinationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationLogDestinationConfigArgs: def __init__(__self__, *, @@ -682,6 +950,15 @@ def log_type(self, value: pulumi.Input['LoggingConfigurationLogDestinationConfig pulumi.set(self, "log_type", value) +if not MYPY: + class LoggingConfigurationArgsDict(TypedDict): + log_destination_configs: pulumi.Input[Sequence[pulumi.Input['LoggingConfigurationLogDestinationConfigArgsDict']]] + """ + Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups. + """ +elif False: + LoggingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationArgs: def __init__(__self__, *, @@ -704,6 +981,17 @@ def log_destination_configs(self, value: pulumi.Input[Sequence[pulumi.Input['Log pulumi.set(self, "log_destination_configs", value) +if not MYPY: + class RuleGroupActionDefinitionArgsDict(TypedDict): + publish_metric_action: NotRequired[pulumi.Input['RuleGroupPublishMetricActionArgsDict']] + """ + Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published. + + You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it. + """ +elif False: + RuleGroupActionDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupActionDefinitionArgs: def __init__(__self__, *, @@ -731,6 +1019,24 @@ def publish_metric_action(self, value: Optional[pulumi.Input['RuleGroupPublishMe pulumi.set(self, "publish_metric_action", value) +if not MYPY: + class RuleGroupAddressArgsDict(TypedDict): + address_definition: pulumi.Input[str] + """ + Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6. + + Examples: + + - To configure Network Firewall to inspect for the IP address 192.0.2.44, specify `192.0.2.44/32` . + - To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify `192.0.2.0/24` . + - To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify `1111:0000:0000:0000:0000:0000:0000:0111/128` . + - To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify `1111:0000:0000:0000:0000:0000:0000:0000/64` . + + For more information about CIDR notation, see the Wikipedia entry [Classless Inter-Domain Routing](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) . + """ +elif False: + RuleGroupAddressArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupAddressArgs: def __init__(__self__, *, @@ -771,6 +1077,19 @@ def address_definition(self, value: pulumi.Input[str]): pulumi.set(self, "address_definition", value) +if not MYPY: + class RuleGroupCustomActionArgsDict(TypedDict): + action_definition: pulumi.Input['RuleGroupActionDefinitionArgsDict'] + """ + The custom action associated with the action name. + """ + action_name: pulumi.Input[str] + """ + The descriptive name of the custom action. You can't change the name of a custom action after you create it. + """ +elif False: + RuleGroupCustomActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupCustomActionArgs: def __init__(__self__, *, @@ -808,6 +1127,15 @@ def action_name(self, value: pulumi.Input[str]): pulumi.set(self, "action_name", value) +if not MYPY: + class RuleGroupDimensionArgsDict(TypedDict): + value: pulumi.Input[str] + """ + The value to use in the custom metric dimension. + """ +elif False: + RuleGroupDimensionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupDimensionArgs: def __init__(__self__, *, @@ -830,6 +1158,57 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class RuleGroupHeaderArgsDict(TypedDict): + destination: pulumi.Input[str] + """ + The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY` . + + Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6. + + Examples: + + - To configure Network Firewall to inspect for the IP address 192.0.2.44, specify `192.0.2.44/32` . + - To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify `192.0.2.0/24` . + - To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify `1111:0000:0000:0000:0000:0000:0000:0111/128` . + - To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify `1111:0000:0000:0000:0000:0000:0000:0000/64` . + + For more information about CIDR notation, see the Wikipedia entry [Classless Inter-Domain Routing](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) . + """ + destination_port: pulumi.Input[str] + """ + The destination port to inspect for. You can specify an individual port, for example `1994` and you can specify a port range, for example `1990:1994` . To match with any port, specify `ANY` . + """ + direction: pulumi.Input['RuleGroupHeaderDirection'] + """ + The direction of traffic flow to inspect. If set to `ANY` , the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to `FORWARD` , the inspection only matches traffic going from the source to the destination. + """ + protocol: pulumi.Input['RuleGroupHeaderProtocol'] + """ + The protocol to inspect for. To specify all, you can use `IP` , because all traffic on AWS and on the internet is IP. + """ + source: pulumi.Input[str] + """ + The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify `ANY` . + + Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6. + + Examples: + + - To configure Network Firewall to inspect for the IP address 192.0.2.44, specify `192.0.2.44/32` . + - To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify `192.0.2.0/24` . + - To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify `1111:0000:0000:0000:0000:0000:0000:0111/128` . + - To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify `1111:0000:0000:0000:0000:0000:0000:0000/64` . + + For more information about CIDR notation, see the Wikipedia entry [Classless Inter-Domain Routing](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) . + """ + source_port: pulumi.Input[str] + """ + The source port to inspect for. You can specify an individual port, for example `1994` and you can specify a port range, for example `1990:1994` . To match with any port, specify `ANY` . + """ +elif False: + RuleGroupHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupHeaderArgs: def __init__(__self__, *, @@ -971,6 +1350,12 @@ def source_port(self, value: pulumi.Input[str]): pulumi.set(self, "source_port", value) +if not MYPY: + class RuleGroupIpSetReferenceArgsDict(TypedDict): + reference_arn: NotRequired[pulumi.Input[str]] +elif False: + RuleGroupIpSetReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupIpSetReferenceArgs: def __init__(__self__, *, @@ -988,6 +1373,12 @@ def reference_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "reference_arn", value) +if not MYPY: + class RuleGroupIpSetArgsDict(TypedDict): + definition: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + RuleGroupIpSetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupIpSetArgs: def __init__(__self__, *, @@ -1005,6 +1396,39 @@ def definition(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "definition", value) +if not MYPY: + class RuleGroupMatchAttributesArgsDict(TypedDict): + destination_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleGroupPortRangeArgsDict']]]] + """ + The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP). + + You can specify individual ports, for example `1994` and you can specify port ranges, for example `1990:1994` . + """ + destinations: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleGroupAddressArgsDict']]]] + """ + The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. + """ + protocols: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + """ + The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol. + """ + source_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleGroupPortRangeArgsDict']]]] + """ + The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP). + + You can specify individual ports, for example `1994` and you can specify port ranges, for example `1990:1994` . + """ + sources: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleGroupAddressArgsDict']]]] + """ + The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address. + """ + tcp_flags: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleGroupTcpFlagFieldArgsDict']]]] + """ + The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP). + """ +elif False: + RuleGroupMatchAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupMatchAttributesArgs: def __init__(__self__, *, @@ -1116,6 +1540,19 @@ def tcp_flags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleGrou pulumi.set(self, "tcp_flags", value) +if not MYPY: + class RuleGroupPortRangeArgsDict(TypedDict): + from_port: pulumi.Input[int] + """ + The lower limit of the port range. This must be less than or equal to the `ToPort` specification. + """ + to_port: pulumi.Input[int] + """ + The upper limit of the port range. This must be greater than or equal to the `FromPort` specification. + """ +elif False: + RuleGroupPortRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupPortRangeArgs: def __init__(__self__, *, @@ -1153,6 +1590,12 @@ def to_port(self, value: pulumi.Input[int]): pulumi.set(self, "to_port", value) +if not MYPY: + class RuleGroupPortSetArgsDict(TypedDict): + definition: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + RuleGroupPortSetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupPortSetArgs: def __init__(__self__, *, @@ -1170,6 +1613,12 @@ def definition(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "definition", value) +if not MYPY: + class RuleGroupPublishMetricActionArgsDict(TypedDict): + dimensions: pulumi.Input[Sequence[pulumi.Input['RuleGroupDimensionArgsDict']]] +elif False: + RuleGroupPublishMetricActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupPublishMetricActionArgs: def __init__(__self__, *, @@ -1186,6 +1635,15 @@ def dimensions(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGroupDimensi pulumi.set(self, "dimensions", value) +if not MYPY: + class RuleGroupReferenceSetsArgsDict(TypedDict): + ip_set_references: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupIpSetReferenceArgsDict']]]] + """ + The IP set references to use in the stateful rule group. + """ +elif False: + RuleGroupReferenceSetsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupReferenceSetsArgs: def __init__(__self__, *, @@ -1209,6 +1667,31 @@ def ip_set_references(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Inp pulumi.set(self, "ip_set_references", value) +if not MYPY: + class RuleGroupRuleDefinitionArgsDict(TypedDict): + actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action and you can add custom actions. + + > Network Firewall only forwards a packet for stateful rule inspection if you specify `aws:forward_to_sfe` for a rule that the packet matches, or if the packet doesn't match any stateless rule and you specify `aws:forward_to_sfe` for the `StatelessDefaultActions` setting for the `FirewallPolicy` . + + For every rule, you must specify exactly one of the following standard actions. + + - *aws:pass* - Discontinues all inspection of the packet and permits it to go to its intended destination. + - *aws:drop* - Discontinues all inspection of the packet and blocks it from going to its intended destination. + - *aws:forward_to_sfe* - Discontinues stateless inspection of the packet and forwards it to the stateful rule engine for inspection. + + Additionally, you can specify a custom action. To do this, you define a custom action by name and type, then provide the name you've assigned to the action in this `Actions` setting. + + To provide more than one action in this setting, separate the settings with a comma. For example, if you have a publish metrics custom action that you've named `MyMetricsAction` , then you could specify the standard action `aws:pass` combined with the custom action using `["aws:pass", "MyMetricsAction"]` . + """ + match_attributes: pulumi.Input['RuleGroupMatchAttributesArgsDict'] + """ + Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags. + """ +elif False: + RuleGroupRuleDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRuleDefinitionArgs: def __init__(__self__, *, @@ -1270,6 +1753,19 @@ def match_attributes(self, value: pulumi.Input['RuleGroupMatchAttributesArgs']): pulumi.set(self, "match_attributes", value) +if not MYPY: + class RuleGroupRuleOptionArgsDict(TypedDict): + keyword: pulumi.Input[str] + """ + The Suricata rule option keywords. For Network Firewall , the keyword signature ID (sid) is required in the format `sid:112233` . The sid must be unique within the rule group. For information about Suricata rule option keywords, see [Rule options](https://docs.aws.amazon.com/https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html#rule-options) . + """ + settings: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The Suricata rule option settings. Settings have zero or more values, and the number of possible settings and required settings depends on the keyword. The format for Settings is `number` . For information about Suricata rule option settings, see [Rule options](https://docs.aws.amazon.com/https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html#rule-options) . + """ +elif False: + RuleGroupRuleOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRuleOptionArgs: def __init__(__self__, *, @@ -1308,6 +1804,19 @@ def settings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "settings", value) +if not MYPY: + class RuleGroupRuleVariablesArgsDict(TypedDict): + ip_sets: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupIpSetArgsDict']]]] + """ + A list of IP addresses and address ranges, in CIDR notation. + """ + port_sets: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['RuleGroupPortSetArgsDict']]]] + """ + A list of port ranges. + """ +elif False: + RuleGroupRuleVariablesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRuleVariablesArgs: def __init__(__self__, *, @@ -1347,6 +1856,26 @@ def port_sets(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['Rule pulumi.set(self, "port_sets", value) +if not MYPY: + class RuleGroupRulesSourceListArgsDict(TypedDict): + generated_rules_type: pulumi.Input['RuleGroupGeneratedRulesType'] + """ + Whether you want to allow or deny access to the domains in your target list. + """ + target_types: pulumi.Input[Sequence[pulumi.Input['RuleGroupTargetType']]] + """ + The types of targets to inspect for. Valid values are `TLS_SNI` and `HTTP_HOST` . + """ + targets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following: + + - Explicit names. For example, `abc.example.com` matches only the domain `abc.example.com` . + - Names that use a domain wildcard, which you indicate with an initial ' `.` '. For example, `.example.com` matches `example.com` and matches all subdomains of `example.com` , such as `abc.example.com` and `www.example.com` . + """ +elif False: + RuleGroupRulesSourceListArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRulesSourceListArgs: def __init__(__self__, *, @@ -1405,6 +1934,31 @@ def targets(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "targets", value) +if not MYPY: + class RuleGroupRulesSourceArgsDict(TypedDict): + rules_source_list: NotRequired[pulumi.Input['RuleGroupRulesSourceListArgsDict']] + """ + Stateful inspection criteria for a domain list rule group. + """ + rules_string: NotRequired[pulumi.Input[str]] + """ + Stateful inspection criteria, provided in Suricata compatible rules. Suricata is an open-source threat detection framework that includes a standard rule-based language for network traffic inspection. + + These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting. + + > You can't use the `priority` keyword if the `RuleOrder` option in `StatefulRuleOptions` is set to `STRICT_ORDER` . + """ + stateful_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleGroupStatefulRuleArgsDict']]]] + """ + An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata `Rules` format, see [Rules Format](https://docs.aws.amazon.com/https://suricata.readthedocs.io/en/suricata-6.0.9/rules/intro.html) . + """ + stateless_rules_and_custom_actions: NotRequired[pulumi.Input['RuleGroupStatelessRulesAndCustomActionsArgsDict']] + """ + Stateless inspection criteria to be used in a stateless rule group. + """ +elif False: + RuleGroupRulesSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRulesSourceArgs: def __init__(__self__, *, @@ -1484,6 +2038,15 @@ def stateless_rules_and_custom_actions(self, value: Optional[pulumi.Input['RuleG pulumi.set(self, "stateless_rules_and_custom_actions", value) +if not MYPY: + class RuleGroupStatefulRuleOptionsArgsDict(TypedDict): + rule_order: NotRequired[pulumi.Input['RuleGroupRuleOrder']] + """ + Indicates how to manage the order of the rule evaluation for the rule group. `DEFAULT_ACTION_ORDER` is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see [Evaluation order for stateful rules](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) in the *AWS Network Firewall Developer Guide* . + """ +elif False: + RuleGroupStatefulRuleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupStatefulRuleOptionsArgs: def __init__(__self__, *, @@ -1507,6 +2070,35 @@ def rule_order(self, value: Optional[pulumi.Input['RuleGroupRuleOrder']]): pulumi.set(self, "rule_order", value) +if not MYPY: + class RuleGroupStatefulRuleArgsDict(TypedDict): + action: pulumi.Input['RuleGroupStatefulRuleAction'] + """ + Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow. + + The actions for a stateful rule are defined as follows: + + - *PASS* - Permits the packets to go to the intended destination. + - *DROP* - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the `Firewall` `LoggingConfiguration` . + - *REJECT* - Drops traffic that matches the conditions of the stateful rule and sends a TCP reset packet back to sender of the packet. A TCP reset packet is a packet with no payload and a `RST` bit contained in the TCP header flags. `REJECT` is available only for TCP traffic. + - *ALERT* - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the `Firewall` `LoggingConfiguration` . + + You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with `ALERT` action, verify in the logs that the rule is filtering as you want, then change the action to `DROP` . + - *REJECT* - Drops TCP traffic that matches the conditions of the stateful rule, and sends a TCP reset packet back to sender of the packet. A TCP reset packet is a packet with no payload and a `RST` bit contained in the TCP header flags. Also sends an alert log mesage if alert logging is configured in the `Firewall` `LoggingConfiguration` . + + `REJECT` isn't currently available for use with IMAP and FTP protocols. + """ + header: pulumi.Input['RuleGroupHeaderArgsDict'] + """ + The stateful inspection criteria for this rule, used to inspect traffic flows. + """ + rule_options: pulumi.Input[Sequence[pulumi.Input['RuleGroupRuleOptionArgsDict']]] + """ + Additional settings for a stateful rule, provided as keywords and settings. + """ +elif False: + RuleGroupStatefulRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupStatefulRuleArgs: def __init__(__self__, *, @@ -1583,6 +2175,19 @@ def rule_options(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGroupRuleO pulumi.set(self, "rule_options", value) +if not MYPY: + class RuleGroupStatelessRulesAndCustomActionsArgsDict(TypedDict): + stateless_rules: pulumi.Input[Sequence[pulumi.Input['RuleGroupStatelessRuleArgsDict']]] + """ + Defines the set of stateless rules for use in a stateless rule group. + """ + custom_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleGroupCustomActionArgsDict']]]] + """ + Defines an array of individual custom action definitions that are available for use by the stateless rules in this `StatelessRulesAndCustomActions` specification. You name each custom action that you define, and then you can use it by name in your stateless rule `RuleGroup.RuleDefinition` `Actions` specification. + """ +elif False: + RuleGroupStatelessRulesAndCustomActionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupStatelessRulesAndCustomActionsArgs: def __init__(__self__, *, @@ -1621,6 +2226,23 @@ def custom_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Rul pulumi.set(self, "custom_actions", value) +if not MYPY: + class RuleGroupStatelessRuleArgsDict(TypedDict): + priority: pulumi.Input[int] + """ + Indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a rule group starting with the lowest priority setting. You must ensure that the priority settings are unique for the rule group. + + Each stateless rule group uses exactly one `StatelessRulesAndCustomActions` object, and each `StatelessRulesAndCustomActions` contains exactly one `StatelessRules` object. To ensure unique priority settings for your rule groups, set unique priorities for the stateless rules that you define inside any single `StatelessRules` object. + + You can change the priority settings of your rules at any time. To make it easier to insert rules later, number them so there's a wide range in between, for example use 100, 200, and so on. + """ + rule_definition: pulumi.Input['RuleGroupRuleDefinitionArgsDict'] + """ + Defines the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria. + """ +elif False: + RuleGroupStatelessRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupStatelessRuleArgs: def __init__(__self__, *, @@ -1666,6 +2288,24 @@ def rule_definition(self, value: pulumi.Input['RuleGroupRuleDefinitionArgs']): pulumi.set(self, "rule_definition", value) +if not MYPY: + class RuleGroupTcpFlagFieldArgsDict(TypedDict): + flags: pulumi.Input[Sequence[pulumi.Input['RuleGroupTcpFlag']]] + """ + Used in conjunction with the `Masks` setting to define the flags that must be set and flags that must not be set in order for the packet to match. This setting can only specify values that are also specified in the `Masks` setting. + + For the flags that are specified in the masks setting, the following must be true for the packet to match: + + - The ones that are set in this flags setting must be set in the packet. + - The ones that are not set in this flags setting must also not be set in the packet. + """ + masks: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleGroupTcpFlag']]]] + """ + The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting. + """ +elif False: + RuleGroupTcpFlagFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupTcpFlagFieldArgs: def __init__(__self__, *, @@ -1714,6 +2354,27 @@ def masks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleGroupTcp pulumi.set(self, "masks", value) +if not MYPY: + class RuleGroupArgsDict(TypedDict): + rules_source: pulumi.Input['RuleGroupRulesSourceArgsDict'] + """ + The stateful rules or stateless rules for the rule group. + """ + reference_sets: NotRequired[pulumi.Input['RuleGroupReferenceSetsArgsDict']] + """ + The reference sets for the stateful rule group. + """ + rule_variables: NotRequired[pulumi.Input['RuleGroupRuleVariablesArgsDict']] + """ + Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups. + """ + stateful_rule_options: NotRequired[pulumi.Input['RuleGroupStatefulRuleOptionsArgsDict']] + """ + Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful rule group must have stateful rule options settings that are compatible with these settings. Some limitations apply; for more information, see [Strict evaluation order](https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-limitations-caveats.html) in the *AWS Network Firewall Developer Guide* . + """ +elif False: + RuleGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupArgs: def __init__(__self__, *, @@ -1784,6 +2445,24 @@ def stateful_rule_options(self, value: Optional[pulumi.Input['RuleGroupStatefulR pulumi.set(self, "stateful_rule_options", value) +if not MYPY: + class TlsInspectionConfigurationAddressArgsDict(TypedDict): + address_definition: pulumi.Input[str] + """ + Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6. + + Examples: + + - To configure Network Firewall to inspect for the IP address 192.0.2.44, specify `192.0.2.44/32` . + - To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify `192.0.2.0/24` . + - To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify `1111:0000:0000:0000:0000:0000:0000:0111/128` . + - To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify `1111:0000:0000:0000:0000:0000:0000:0000/64` . + + For more information about CIDR notation, see the Wikipedia entry [Classless Inter-Domain Routing](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) . + """ +elif False: + TlsInspectionConfigurationAddressArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TlsInspectionConfigurationAddressArgs: def __init__(__self__, *, @@ -1824,6 +2503,19 @@ def address_definition(self, value: pulumi.Input[str]): pulumi.set(self, "address_definition", value) +if not MYPY: + class TlsInspectionConfigurationPortRangeArgsDict(TypedDict): + from_port: pulumi.Input[int] + """ + The lower limit of the port range. This must be less than or equal to the `ToPort` specification. + """ + to_port: pulumi.Input[int] + """ + The upper limit of the port range. This must be greater than or equal to the `FromPort` specification. + """ +elif False: + TlsInspectionConfigurationPortRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TlsInspectionConfigurationPortRangeArgs: def __init__(__self__, *, @@ -1861,6 +2553,16 @@ def to_port(self, value: pulumi.Input[int]): pulumi.set(self, "to_port", value) +if not MYPY: + class TlsInspectionConfigurationServerCertificateConfigurationCheckCertificateRevocationStatusPropertiesArgsDict(TypedDict): + """ + When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a `CertificateAuthorityArn` in [ServerCertificateConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-servercertificateconfiguration.html) . + """ + revoked_status_action: NotRequired[pulumi.Input['TlsInspectionConfigurationRevokedStatusAction']] + unknown_status_action: NotRequired[pulumi.Input['TlsInspectionConfigurationUnknownStatusAction']] +elif False: + TlsInspectionConfigurationServerCertificateConfigurationCheckCertificateRevocationStatusPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TlsInspectionConfigurationServerCertificateConfigurationCheckCertificateRevocationStatusPropertiesArgs: def __init__(__self__, *, @@ -1893,6 +2595,36 @@ def unknown_status_action(self, value: Optional[pulumi.Input['TlsInspectionConfi pulumi.set(self, "unknown_status_action", value) +if not MYPY: + class TlsInspectionConfigurationServerCertificateConfigurationArgsDict(TypedDict): + certificate_authority_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within AWS Certificate Manager (ACM) to use for outbound SSL/TLS inspection. + + The following limitations apply: + + - You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM. + - You can't use certificates issued by AWS Private Certificate Authority . + + For more information about configuring certificates for outbound inspection, see [Using SSL/TLS certificates with certificates with TLS inspection configurations](https://docs.aws.amazon.com/network-firewall/latest/developerguide/tls-inspection-certificate-requirements.html) in the *AWS Network Firewall Developer Guide* . + + For information about working with certificates in ACM, see [Importing certificates](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the *AWS Certificate Manager User Guide* . + """ + check_certificate_revocation_status: NotRequired[pulumi.Input['TlsInspectionConfigurationServerCertificateConfigurationCheckCertificateRevocationStatusPropertiesArgsDict']] + """ + When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a `CertificateAuthorityArn` in [ServerCertificateConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-servercertificateconfiguration.html) . + """ + scopes: NotRequired[pulumi.Input[Sequence[pulumi.Input['TlsInspectionConfigurationServerCertificateScopeArgsDict']]]] + """ + A list of scopes. + """ + server_certificates: NotRequired[pulumi.Input[Sequence[pulumi.Input['TlsInspectionConfigurationServerCertificateArgsDict']]]] + """ + The list of server certificates to use for inbound SSL/TLS inspection. + """ +elif False: + TlsInspectionConfigurationServerCertificateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TlsInspectionConfigurationServerCertificateConfigurationArgs: def __init__(__self__, *, @@ -1982,6 +2714,38 @@ def server_certificates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "server_certificates", value) +if not MYPY: + class TlsInspectionConfigurationServerCertificateScopeArgsDict(TypedDict): + destination_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input['TlsInspectionConfigurationPortRangeArgsDict']]]] + """ + The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any destination port. + + You can specify individual ports, for example `1994` , and you can specify port ranges, such as `1990:1994` . + """ + destinations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TlsInspectionConfigurationAddressArgsDict']]]] + """ + The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this + matches with any destination address. + """ + protocols: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + """ + The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number + (IANA). Network Firewall currently supports only TCP. + """ + source_ports: NotRequired[pulumi.Input[Sequence[pulumi.Input['TlsInspectionConfigurationPortRangeArgsDict']]]] + """ + The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any source port. + + You can specify individual ports, for example `1994` , and you can specify port ranges, such as `1990:1994` . + """ + sources: NotRequired[pulumi.Input[Sequence[pulumi.Input['TlsInspectionConfigurationAddressArgsDict']]]] + """ + The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this + matches with any source address. + """ +elif False: + TlsInspectionConfigurationServerCertificateScopeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TlsInspectionConfigurationServerCertificateScopeArgs: def __init__(__self__, *, @@ -2083,6 +2847,15 @@ def sources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TlsInspect pulumi.set(self, "sources", value) +if not MYPY: + class TlsInspectionConfigurationServerCertificateArgsDict(TypedDict): + resource_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the AWS Certificate Manager SSL/TLS server certificate that's used for inbound SSL/TLS inspection. + """ +elif False: + TlsInspectionConfigurationServerCertificateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TlsInspectionConfigurationServerCertificateArgs: def __init__(__self__, *, @@ -2106,6 +2879,15 @@ def resource_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "resource_arn", value) +if not MYPY: + class TlsInspectionConfigurationTlsInspectionConfigurationArgsDict(TypedDict): + server_certificate_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TlsInspectionConfigurationServerCertificateConfigurationArgsDict']]]] + """ + Lists the server certificate configurations that are associated with the TLS configuration. + """ +elif False: + TlsInspectionConfigurationTlsInspectionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TlsInspectionConfigurationTlsInspectionConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/networkfirewall/firewall.py b/sdk/python/pulumi_aws_native/networkfirewall/firewall.py index fa732a22a6..f0e1dd8fab 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/firewall.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/firewall.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkfirewall/firewall_policy.py b/sdk/python/pulumi_aws_native/networkfirewall/firewall_policy.py index d0395c5a37..b87bb46487 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/firewall_policy.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/firewall_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkfirewall/get_firewall.py b/sdk/python/pulumi_aws_native/networkfirewall/get_firewall.py index 0c660d40cb..9f357ad4ca 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/get_firewall.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/get_firewall.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -179,9 +184,6 @@ def get_firewall(firewall_arn: Optional[str] = None, subnet_change_protection=pulumi.get(__ret__, 'subnet_change_protection'), subnet_mappings=pulumi.get(__ret__, 'subnet_mappings'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_firewall) def get_firewall_output(firewall_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallResult]: """ @@ -190,4 +192,18 @@ def get_firewall_output(firewall_arn: Optional[pulumi.Input[str]] = None, :param str firewall_arn: The Amazon Resource Name (ARN) of the `Firewall` . """ - ... + __args__ = dict() + __args__['firewallArn'] = firewall_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkfirewall:getFirewall', __args__, opts=opts, typ=GetFirewallResult) + return __ret__.apply(lambda __response__: GetFirewallResult( + delete_protection=pulumi.get(__response__, 'delete_protection'), + description=pulumi.get(__response__, 'description'), + endpoint_ids=pulumi.get(__response__, 'endpoint_ids'), + firewall_arn=pulumi.get(__response__, 'firewall_arn'), + firewall_id=pulumi.get(__response__, 'firewall_id'), + firewall_policy_arn=pulumi.get(__response__, 'firewall_policy_arn'), + firewall_policy_change_protection=pulumi.get(__response__, 'firewall_policy_change_protection'), + subnet_change_protection=pulumi.get(__response__, 'subnet_change_protection'), + subnet_mappings=pulumi.get(__response__, 'subnet_mappings'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/networkfirewall/get_firewall_policy.py b/sdk/python/pulumi_aws_native/networkfirewall/get_firewall_policy.py index e3190e5b0b..beaad111d7 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/get_firewall_policy.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/get_firewall_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -113,9 +118,6 @@ def get_firewall_policy(firewall_policy_arn: Optional[str] = None, firewall_policy_arn=pulumi.get(__ret__, 'firewall_policy_arn'), firewall_policy_id=pulumi.get(__ret__, 'firewall_policy_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_firewall_policy) def get_firewall_policy_output(firewall_policy_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallPolicyResult]: """ @@ -124,4 +126,13 @@ def get_firewall_policy_output(firewall_policy_arn: Optional[pulumi.Input[str]] :param str firewall_policy_arn: The Amazon Resource Name (ARN) of the `FirewallPolicy` . """ - ... + __args__ = dict() + __args__['firewallPolicyArn'] = firewall_policy_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkfirewall:getFirewallPolicy', __args__, opts=opts, typ=GetFirewallPolicyResult) + return __ret__.apply(lambda __response__: GetFirewallPolicyResult( + description=pulumi.get(__response__, 'description'), + firewall_policy=pulumi.get(__response__, 'firewall_policy'), + firewall_policy_arn=pulumi.get(__response__, 'firewall_policy_arn'), + firewall_policy_id=pulumi.get(__response__, 'firewall_policy_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/networkfirewall/get_logging_configuration.py b/sdk/python/pulumi_aws_native/networkfirewall/get_logging_configuration.py index 20a58c54c8..0b59a7002f 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/get_logging_configuration.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/get_logging_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -58,9 +63,6 @@ def get_logging_configuration(firewall_arn: Optional[str] = None, return AwaitableGetLoggingConfigurationResult( logging_configuration=pulumi.get(__ret__, 'logging_configuration')) - - -@_utilities.lift_output_func(get_logging_configuration) def get_logging_configuration_output(firewall_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoggingConfigurationResult]: """ @@ -69,4 +71,9 @@ def get_logging_configuration_output(firewall_arn: Optional[pulumi.Input[str]] = :param str firewall_arn: The Amazon Resource Name (ARN) of the `Firewall` that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration. """ - ... + __args__ = dict() + __args__['firewallArn'] = firewall_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkfirewall:getLoggingConfiguration', __args__, opts=opts, typ=GetLoggingConfigurationResult) + return __ret__.apply(lambda __response__: GetLoggingConfigurationResult( + logging_configuration=pulumi.get(__response__, 'logging_configuration'))) diff --git a/sdk/python/pulumi_aws_native/networkfirewall/get_rule_group.py b/sdk/python/pulumi_aws_native/networkfirewall/get_rule_group.py index a8c42848f6..fc6542acd6 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/get_rule_group.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/get_rule_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -113,9 +118,6 @@ def get_rule_group(rule_group_arn: Optional[str] = None, rule_group_arn=pulumi.get(__ret__, 'rule_group_arn'), rule_group_id=pulumi.get(__ret__, 'rule_group_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_rule_group) def get_rule_group_output(rule_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRuleGroupResult]: """ @@ -124,4 +126,13 @@ def get_rule_group_output(rule_group_arn: Optional[pulumi.Input[str]] = None, :param str rule_group_arn: The Amazon Resource Name (ARN) of the `RuleGroup` . """ - ... + __args__ = dict() + __args__['ruleGroupArn'] = rule_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkfirewall:getRuleGroup', __args__, opts=opts, typ=GetRuleGroupResult) + return __ret__.apply(lambda __response__: GetRuleGroupResult( + description=pulumi.get(__response__, 'description'), + rule_group=pulumi.get(__response__, 'rule_group'), + rule_group_arn=pulumi.get(__response__, 'rule_group_arn'), + rule_group_id=pulumi.get(__response__, 'rule_group_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/networkfirewall/get_tls_inspection_configuration.py b/sdk/python/pulumi_aws_native/networkfirewall/get_tls_inspection_configuration.py index 88ab4a5d50..da96098147 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/get_tls_inspection_configuration.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/get_tls_inspection_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -111,9 +116,6 @@ def get_tls_inspection_configuration(tls_inspection_configuration_arn: Optional[ tls_inspection_configuration=pulumi.get(__ret__, 'tls_inspection_configuration'), tls_inspection_configuration_arn=pulumi.get(__ret__, 'tls_inspection_configuration_arn'), tls_inspection_configuration_id=pulumi.get(__ret__, 'tls_inspection_configuration_id')) - - -@_utilities.lift_output_func(get_tls_inspection_configuration) def get_tls_inspection_configuration_output(tls_inspection_configuration_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTlsInspectionConfigurationResult]: """ @@ -122,4 +124,13 @@ def get_tls_inspection_configuration_output(tls_inspection_configuration_arn: Op :param str tls_inspection_configuration_arn: The Amazon Resource Name (ARN) of the TLS inspection configuration. """ - ... + __args__ = dict() + __args__['tlsInspectionConfigurationArn'] = tls_inspection_configuration_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkfirewall:getTlsInspectionConfiguration', __args__, opts=opts, typ=GetTlsInspectionConfigurationResult) + return __ret__.apply(lambda __response__: GetTlsInspectionConfigurationResult( + description=pulumi.get(__response__, 'description'), + tags=pulumi.get(__response__, 'tags'), + tls_inspection_configuration=pulumi.get(__response__, 'tls_inspection_configuration'), + tls_inspection_configuration_arn=pulumi.get(__response__, 'tls_inspection_configuration_arn'), + tls_inspection_configuration_id=pulumi.get(__response__, 'tls_inspection_configuration_id'))) diff --git a/sdk/python/pulumi_aws_native/networkfirewall/logging_configuration.py b/sdk/python/pulumi_aws_native/networkfirewall/logging_configuration.py index cd8e6cd628..cec3636e4f 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/logging_configuration.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/logging_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/networkfirewall/outputs.py b/sdk/python/pulumi_aws_native/networkfirewall/outputs.py index b25ddd5f0e..e2172563d5 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/outputs.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/networkfirewall/rule_group.py b/sdk/python/pulumi_aws_native/networkfirewall/rule_group.py index 09ae6e105b..3529559d22 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/rule_group.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/rule_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkfirewall/tls_inspection_configuration.py b/sdk/python/pulumi_aws_native/networkfirewall/tls_inspection_configuration.py index 9491780f92..4a692ada89 100644 --- a/sdk/python/pulumi_aws_native/networkfirewall/tls_inspection_configuration.py +++ b/sdk/python/pulumi_aws_native/networkfirewall/tls_inspection_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/_inputs.py b/sdk/python/pulumi_aws_native/networkmanager/_inputs.py index 9b04584509..329db3db0c 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/_inputs.py +++ b/sdk/python/pulumi_aws_native/networkmanager/_inputs.py @@ -4,33 +4,71 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'ConnectAttachmentOptionsArgs', + 'ConnectAttachmentOptionsArgsDict', 'ConnectAttachmentProposedNetworkFunctionGroupChangeArgs', + 'ConnectAttachmentProposedNetworkFunctionGroupChangeArgsDict', 'ConnectAttachmentProposedSegmentChangeArgs', + 'ConnectAttachmentProposedSegmentChangeArgsDict', 'ConnectAttachmentTagArgs', + 'ConnectAttachmentTagArgsDict', 'ConnectPeerBgpOptionsArgs', + 'ConnectPeerBgpOptionsArgsDict', 'DeviceAwsLocationArgs', + 'DeviceAwsLocationArgsDict', 'DeviceLocationArgs', + 'DeviceLocationArgsDict', 'LinkBandwidthArgs', + 'LinkBandwidthArgsDict', 'SiteLocationArgs', + 'SiteLocationArgsDict', 'SiteToSiteVpnAttachmentProposedNetworkFunctionGroupChangeArgs', + 'SiteToSiteVpnAttachmentProposedNetworkFunctionGroupChangeArgsDict', 'SiteToSiteVpnAttachmentProposedSegmentChangeArgs', + 'SiteToSiteVpnAttachmentProposedSegmentChangeArgsDict', 'SiteToSiteVpnAttachmentTagArgs', + 'SiteToSiteVpnAttachmentTagArgsDict', 'TransitGatewayRouteTableAttachmentProposedNetworkFunctionGroupChangeArgs', + 'TransitGatewayRouteTableAttachmentProposedNetworkFunctionGroupChangeArgsDict', 'TransitGatewayRouteTableAttachmentProposedSegmentChangeArgs', + 'TransitGatewayRouteTableAttachmentProposedSegmentChangeArgsDict', 'TransitGatewayRouteTableAttachmentTagArgs', + 'TransitGatewayRouteTableAttachmentTagArgsDict', 'VpcAttachmentProposedNetworkFunctionGroupChangeArgs', + 'VpcAttachmentProposedNetworkFunctionGroupChangeArgsDict', 'VpcAttachmentProposedSegmentChangeArgs', + 'VpcAttachmentProposedSegmentChangeArgsDict', 'VpcAttachmentTagArgs', + 'VpcAttachmentTagArgsDict', 'VpcAttachmentVpcOptionsArgs', + 'VpcAttachmentVpcOptionsArgsDict', ] +MYPY = False + +if not MYPY: + class ConnectAttachmentOptionsArgsDict(TypedDict): + """ + Connect attachment options for protocol + """ + protocol: NotRequired[pulumi.Input[str]] + """ + Tunnel protocol for connect attachment + """ +elif False: + ConnectAttachmentOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectAttachmentOptionsArgs: def __init__(__self__, *, @@ -55,6 +93,26 @@ def protocol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "protocol", value) +if not MYPY: + class ConnectAttachmentProposedNetworkFunctionGroupChangeArgsDict(TypedDict): + """ + The attachment to move from one network function group to another. + """ + attachment_policy_rule_number: NotRequired[pulumi.Input[int]] + """ + The rule number in the policy document that applies to this change. + """ + network_function_group_name: NotRequired[pulumi.Input[str]] + """ + The name of the network function group to change. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectAttachmentTagArgsDict']]]] + """ + The key-value tags that changed for the network function group. + """ +elif False: + ConnectAttachmentProposedNetworkFunctionGroupChangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectAttachmentProposedNetworkFunctionGroupChangeArgs: def __init__(__self__, *, @@ -111,6 +169,26 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectAttach pulumi.set(self, "tags", value) +if not MYPY: + class ConnectAttachmentProposedSegmentChangeArgsDict(TypedDict): + """ + The attachment to move from one segment to another. + """ + attachment_policy_rule_number: NotRequired[pulumi.Input[int]] + """ + The rule number in the policy document that applies to this change. + """ + segment_name: NotRequired[pulumi.Input[str]] + """ + The name of the segment to change. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConnectAttachmentTagArgsDict']]]] + """ + The list of key-value tags that changed for the segment. + """ +elif False: + ConnectAttachmentProposedSegmentChangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectAttachmentProposedSegmentChangeArgs: def __init__(__self__, *, @@ -167,6 +245,22 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectAttach pulumi.set(self, "tags", value) +if not MYPY: + class ConnectAttachmentTagArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + key: pulumi.Input[str] + """ + The key name of the tag. You can specify a value that is 1 to 128 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 -. + """ + value: pulumi.Input[str] + """ + The value for the tag. You can specify a value that is 0 to 256 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 -. + """ +elif False: + ConnectAttachmentTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectAttachmentTagArgs: def __init__(__self__, *, @@ -205,6 +299,18 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ConnectPeerBgpOptionsArgsDict(TypedDict): + """ + Bgp options + """ + peer_asn: NotRequired[pulumi.Input[float]] + """ + The Peer ASN of the BGP. + """ +elif False: + ConnectPeerBgpOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectPeerBgpOptionsArgs: def __init__(__self__, *, @@ -229,6 +335,22 @@ def peer_asn(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "peer_asn", value) +if not MYPY: + class DeviceAwsLocationArgsDict(TypedDict): + """ + The Amazon Web Services location of the device, if applicable. + """ + subnet_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the subnet that the device is located in. + """ + zone: NotRequired[pulumi.Input[str]] + """ + The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost. + """ +elif False: + DeviceAwsLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceAwsLocationArgs: def __init__(__self__, *, @@ -269,6 +391,26 @@ def zone(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "zone", value) +if not MYPY: + class DeviceLocationArgsDict(TypedDict): + """ + The site location. + """ + address: NotRequired[pulumi.Input[str]] + """ + The physical address. + """ + latitude: NotRequired[pulumi.Input[str]] + """ + The latitude. + """ + longitude: NotRequired[pulumi.Input[str]] + """ + The longitude. + """ +elif False: + DeviceLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceLocationArgs: def __init__(__self__, *, @@ -325,6 +467,22 @@ def longitude(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "longitude", value) +if not MYPY: + class LinkBandwidthArgsDict(TypedDict): + """ + The bandwidth for the link. + """ + download_speed: NotRequired[pulumi.Input[int]] + """ + Download speed in Mbps. + """ + upload_speed: NotRequired[pulumi.Input[int]] + """ + Upload speed in Mbps. + """ +elif False: + LinkBandwidthArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LinkBandwidthArgs: def __init__(__self__, *, @@ -365,6 +523,26 @@ def upload_speed(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "upload_speed", value) +if not MYPY: + class SiteLocationArgsDict(TypedDict): + """ + The location of the site + """ + address: NotRequired[pulumi.Input[str]] + """ + The physical address. + """ + latitude: NotRequired[pulumi.Input[str]] + """ + The latitude. + """ + longitude: NotRequired[pulumi.Input[str]] + """ + The longitude. + """ +elif False: + SiteLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SiteLocationArgs: def __init__(__self__, *, @@ -421,6 +599,26 @@ def longitude(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "longitude", value) +if not MYPY: + class SiteToSiteVpnAttachmentProposedNetworkFunctionGroupChangeArgsDict(TypedDict): + """ + The attachment to move from one network function group to another. + """ + attachment_policy_rule_number: NotRequired[pulumi.Input[int]] + """ + The rule number in the policy document that applies to this change. + """ + network_function_group_name: NotRequired[pulumi.Input[str]] + """ + The name of the network function group to change. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['SiteToSiteVpnAttachmentTagArgsDict']]]] + """ + The key-value tags that changed for the network function group. + """ +elif False: + SiteToSiteVpnAttachmentProposedNetworkFunctionGroupChangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SiteToSiteVpnAttachmentProposedNetworkFunctionGroupChangeArgs: def __init__(__self__, *, @@ -477,6 +675,26 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SiteToSiteVpn pulumi.set(self, "tags", value) +if not MYPY: + class SiteToSiteVpnAttachmentProposedSegmentChangeArgsDict(TypedDict): + """ + The attachment to move from one segment to another. + """ + attachment_policy_rule_number: NotRequired[pulumi.Input[int]] + """ + The rule number in the policy document that applies to this change. + """ + segment_name: NotRequired[pulumi.Input[str]] + """ + The name of the segment to change. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['SiteToSiteVpnAttachmentTagArgsDict']]]] + """ + The key-value tags that changed for the segment. + """ +elif False: + SiteToSiteVpnAttachmentProposedSegmentChangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SiteToSiteVpnAttachmentProposedSegmentChangeArgs: def __init__(__self__, *, @@ -533,6 +751,22 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SiteToSiteVpn pulumi.set(self, "tags", value) +if not MYPY: + class SiteToSiteVpnAttachmentTagArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + key: pulumi.Input[str] + """ + The key name of the tag. You can specify a value that is 1 to 128 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 -. + """ + value: pulumi.Input[str] + """ + The value for the tag. You can specify a value that is 0 to 256 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 -. + """ +elif False: + SiteToSiteVpnAttachmentTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SiteToSiteVpnAttachmentTagArgs: def __init__(__self__, *, @@ -571,6 +805,26 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class TransitGatewayRouteTableAttachmentProposedNetworkFunctionGroupChangeArgsDict(TypedDict): + """ + The attachment to move from one network function group to another. + """ + attachment_policy_rule_number: NotRequired[pulumi.Input[int]] + """ + The rule number in the policy document that applies to this change. + """ + network_function_group_name: NotRequired[pulumi.Input[str]] + """ + The name of the network function group to change. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['TransitGatewayRouteTableAttachmentTagArgsDict']]]] + """ + The key-value tags that changed for the network function group. + """ +elif False: + TransitGatewayRouteTableAttachmentProposedNetworkFunctionGroupChangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransitGatewayRouteTableAttachmentProposedNetworkFunctionGroupChangeArgs: def __init__(__self__, *, @@ -627,6 +881,26 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TransitGatewa pulumi.set(self, "tags", value) +if not MYPY: + class TransitGatewayRouteTableAttachmentProposedSegmentChangeArgsDict(TypedDict): + """ + The attachment to move from one segment to another. + """ + attachment_policy_rule_number: NotRequired[pulumi.Input[int]] + """ + The rule number in the policy document that applies to this change. + """ + segment_name: NotRequired[pulumi.Input[str]] + """ + The name of the segment to change. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['TransitGatewayRouteTableAttachmentTagArgsDict']]]] + """ + The key-value tags that changed for the segment. + """ +elif False: + TransitGatewayRouteTableAttachmentProposedSegmentChangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransitGatewayRouteTableAttachmentProposedSegmentChangeArgs: def __init__(__self__, *, @@ -683,6 +957,22 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TransitGatewa pulumi.set(self, "tags", value) +if not MYPY: + class TransitGatewayRouteTableAttachmentTagArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + key: pulumi.Input[str] + """ + The key name of the tag. You can specify a value that is 1 to 128 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 -. + """ + value: pulumi.Input[str] + """ + The value for the tag. You can specify a value that is 0 to 256 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 -. + """ +elif False: + TransitGatewayRouteTableAttachmentTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TransitGatewayRouteTableAttachmentTagArgs: def __init__(__self__, *, @@ -721,6 +1011,26 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class VpcAttachmentProposedNetworkFunctionGroupChangeArgsDict(TypedDict): + """ + The attachment to move from one network function group to another. + """ + attachment_policy_rule_number: NotRequired[pulumi.Input[int]] + """ + The rule number in the policy document that applies to this change. + """ + network_function_group_name: NotRequired[pulumi.Input[str]] + """ + The name of the network function group to change. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['VpcAttachmentTagArgsDict']]]] + """ + The key-value tags that changed for the network function group. + """ +elif False: + VpcAttachmentProposedNetworkFunctionGroupChangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpcAttachmentProposedNetworkFunctionGroupChangeArgs: def __init__(__self__, *, @@ -777,6 +1087,26 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VpcAttachment pulumi.set(self, "tags", value) +if not MYPY: + class VpcAttachmentProposedSegmentChangeArgsDict(TypedDict): + """ + The attachment to move from one segment to another. + """ + attachment_policy_rule_number: NotRequired[pulumi.Input[int]] + """ + The rule number in the policy document that applies to this change. + """ + segment_name: NotRequired[pulumi.Input[str]] + """ + The name of the segment to change. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['VpcAttachmentTagArgsDict']]]] + """ + The key-value tags that changed for the segment. + """ +elif False: + VpcAttachmentProposedSegmentChangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpcAttachmentProposedSegmentChangeArgs: def __init__(__self__, *, @@ -833,6 +1163,22 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VpcAttachment pulumi.set(self, "tags", value) +if not MYPY: + class VpcAttachmentTagArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + key: pulumi.Input[str] + """ + The key name of the tag. You can specify a value that is 1 to 128 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 -. + """ + value: pulumi.Input[str] + """ + The value for the tag. You can specify a value that is 0 to 256 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 -. + """ +elif False: + VpcAttachmentTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpcAttachmentTagArgs: def __init__(__self__, *, @@ -871,6 +1217,22 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class VpcAttachmentVpcOptionsArgsDict(TypedDict): + """ + Vpc options of the attachment. + """ + appliance_mode_support: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false + """ + ipv6_support: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable + """ +elif False: + VpcAttachmentVpcOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VpcAttachmentVpcOptionsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/networkmanager/connect_attachment.py b/sdk/python/pulumi_aws_native/networkmanager/connect_attachment.py index abbc399cb8..0d7473ef32 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/connect_attachment.py +++ b/sdk/python/pulumi_aws_native/networkmanager/connect_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/connect_peer.py b/sdk/python/pulumi_aws_native/networkmanager/connect_peer.py index f3050c0bef..8f7194ca10 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/connect_peer.py +++ b/sdk/python/pulumi_aws_native/networkmanager/connect_peer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/core_network.py b/sdk/python/pulumi_aws_native/networkmanager/core_network.py index d7f89fd92a..547abafb78 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/core_network.py +++ b/sdk/python/pulumi_aws_native/networkmanager/core_network.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/customer_gateway_association.py b/sdk/python/pulumi_aws_native/networkmanager/customer_gateway_association.py index bb3bf029a4..0b88bd8809 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/customer_gateway_association.py +++ b/sdk/python/pulumi_aws_native/networkmanager/customer_gateway_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['CustomerGatewayAssociationArgs', 'CustomerGatewayAssociation'] diff --git a/sdk/python/pulumi_aws_native/networkmanager/device.py b/sdk/python/pulumi_aws_native/networkmanager/device.py index cf7f15b37a..cffa5191a4 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/device.py +++ b/sdk/python/pulumi_aws_native/networkmanager/device.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/get_connect_attachment.py b/sdk/python/pulumi_aws_native/networkmanager/get_connect_attachment.py index 9b33e6377d..05c5160c43 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/get_connect_attachment.py +++ b/sdk/python/pulumi_aws_native/networkmanager/get_connect_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -227,9 +232,6 @@ def get_connect_attachment(attachment_id: Optional[str] = None, state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_connect_attachment) def get_connect_attachment_output(attachment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectAttachmentResult]: """ @@ -238,4 +240,22 @@ def get_connect_attachment_output(attachment_id: Optional[pulumi.Input[str]] = N :param str attachment_id: The ID of the attachment. """ - ... + __args__ = dict() + __args__['attachmentId'] = attachment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkmanager:getConnectAttachment', __args__, opts=opts, typ=GetConnectAttachmentResult) + return __ret__.apply(lambda __response__: GetConnectAttachmentResult( + attachment_id=pulumi.get(__response__, 'attachment_id'), + attachment_policy_rule_number=pulumi.get(__response__, 'attachment_policy_rule_number'), + attachment_type=pulumi.get(__response__, 'attachment_type'), + core_network_arn=pulumi.get(__response__, 'core_network_arn'), + created_at=pulumi.get(__response__, 'created_at'), + network_function_group_name=pulumi.get(__response__, 'network_function_group_name'), + owner_account_id=pulumi.get(__response__, 'owner_account_id'), + proposed_network_function_group_change=pulumi.get(__response__, 'proposed_network_function_group_change'), + proposed_segment_change=pulumi.get(__response__, 'proposed_segment_change'), + resource_arn=pulumi.get(__response__, 'resource_arn'), + segment_name=pulumi.get(__response__, 'segment_name'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/networkmanager/get_connect_peer.py b/sdk/python/pulumi_aws_native/networkmanager/get_connect_peer.py index dfb8746602..c77c65f1bc 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/get_connect_peer.py +++ b/sdk/python/pulumi_aws_native/networkmanager/get_connect_peer.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -136,9 +141,6 @@ def get_connect_peer(connect_peer_id: Optional[str] = None, edge_location=pulumi.get(__ret__, 'edge_location'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_connect_peer) def get_connect_peer_output(connect_peer_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectPeerResult]: """ @@ -147,4 +149,15 @@ def get_connect_peer_output(connect_peer_id: Optional[pulumi.Input[str]] = None, :param str connect_peer_id: The ID of the Connect peer. """ - ... + __args__ = dict() + __args__['connectPeerId'] = connect_peer_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkmanager:getConnectPeer', __args__, opts=opts, typ=GetConnectPeerResult) + return __ret__.apply(lambda __response__: GetConnectPeerResult( + configuration=pulumi.get(__response__, 'configuration'), + connect_peer_id=pulumi.get(__response__, 'connect_peer_id'), + core_network_id=pulumi.get(__response__, 'core_network_id'), + created_at=pulumi.get(__response__, 'created_at'), + edge_location=pulumi.get(__response__, 'edge_location'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/networkmanager/get_core_network.py b/sdk/python/pulumi_aws_native/networkmanager/get_core_network.py index 4252e45ebf..d5920b03d7 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/get_core_network.py +++ b/sdk/python/pulumi_aws_native/networkmanager/get_core_network.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -190,9 +195,6 @@ def get_core_network(core_network_id: Optional[str] = None, segments=pulumi.get(__ret__, 'segments'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_core_network) def get_core_network_output(core_network_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCoreNetworkResult]: """ @@ -201,4 +203,19 @@ def get_core_network_output(core_network_id: Optional[pulumi.Input[str]] = None, :param str core_network_id: The Id of core network """ - ... + __args__ = dict() + __args__['coreNetworkId'] = core_network_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkmanager:getCoreNetwork', __args__, opts=opts, typ=GetCoreNetworkResult) + return __ret__.apply(lambda __response__: GetCoreNetworkResult( + core_network_arn=pulumi.get(__response__, 'core_network_arn'), + core_network_id=pulumi.get(__response__, 'core_network_id'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + edges=pulumi.get(__response__, 'edges'), + network_function_groups=pulumi.get(__response__, 'network_function_groups'), + owner_account=pulumi.get(__response__, 'owner_account'), + policy_document=pulumi.get(__response__, 'policy_document'), + segments=pulumi.get(__response__, 'segments'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/networkmanager/get_device.py b/sdk/python/pulumi_aws_native/networkmanager/get_device.py index 30aff4ba84..cc8b02afcd 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/get_device.py +++ b/sdk/python/pulumi_aws_native/networkmanager/get_device.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -217,9 +222,6 @@ def get_device(device_id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type'), vendor=pulumi.get(__ret__, 'vendor')) - - -@_utilities.lift_output_func(get_device) def get_device_output(device_id: Optional[pulumi.Input[str]] = None, global_network_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeviceResult]: @@ -230,4 +232,22 @@ def get_device_output(device_id: Optional[pulumi.Input[str]] = None, :param str device_id: The ID of the device. :param str global_network_id: The ID of the global network. """ - ... + __args__ = dict() + __args__['deviceId'] = device_id + __args__['globalNetworkId'] = global_network_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkmanager:getDevice', __args__, opts=opts, typ=GetDeviceResult) + return __ret__.apply(lambda __response__: GetDeviceResult( + aws_location=pulumi.get(__response__, 'aws_location'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + device_arn=pulumi.get(__response__, 'device_arn'), + device_id=pulumi.get(__response__, 'device_id'), + location=pulumi.get(__response__, 'location'), + model=pulumi.get(__response__, 'model'), + serial_number=pulumi.get(__response__, 'serial_number'), + site_id=pulumi.get(__response__, 'site_id'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + vendor=pulumi.get(__response__, 'vendor'))) diff --git a/sdk/python/pulumi_aws_native/networkmanager/get_global_network.py b/sdk/python/pulumi_aws_native/networkmanager/get_global_network.py index a115c62b49..ec44f92359 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/get_global_network.py +++ b/sdk/python/pulumi_aws_native/networkmanager/get_global_network.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_global_network(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_global_network) def get_global_network_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGlobalNetworkResult]: """ @@ -133,4 +135,14 @@ def get_global_network_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the global network. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkmanager:getGlobalNetwork', __args__, opts=opts, typ=GetGlobalNetworkResult) + return __ret__.apply(lambda __response__: GetGlobalNetworkResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/networkmanager/get_link.py b/sdk/python/pulumi_aws_native/networkmanager/get_link.py index e01cf6c2d5..a1e94680a9 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/get_link.py +++ b/sdk/python/pulumi_aws_native/networkmanager/get_link.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -165,9 +170,6 @@ def get_link(global_network_id: Optional[str] = None, state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_link) def get_link_output(global_network_id: Optional[pulumi.Input[str]] = None, link_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLinkResult]: @@ -178,4 +180,18 @@ def get_link_output(global_network_id: Optional[pulumi.Input[str]] = None, :param str global_network_id: The ID of the global network. :param str link_id: The ID of the link. """ - ... + __args__ = dict() + __args__['globalNetworkId'] = global_network_id + __args__['linkId'] = link_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkmanager:getLink', __args__, opts=opts, typ=GetLinkResult) + return __ret__.apply(lambda __response__: GetLinkResult( + bandwidth=pulumi.get(__response__, 'bandwidth'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + link_arn=pulumi.get(__response__, 'link_arn'), + link_id=pulumi.get(__response__, 'link_id'), + provider=pulumi.get(__response__, 'provider'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/networkmanager/get_site.py b/sdk/python/pulumi_aws_native/networkmanager/get_site.py index 17394c4673..b7c90b8884 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/get_site.py +++ b/sdk/python/pulumi_aws_native/networkmanager/get_site.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -139,9 +144,6 @@ def get_site(global_network_id: Optional[str] = None, site_id=pulumi.get(__ret__, 'site_id'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_site) def get_site_output(global_network_id: Optional[pulumi.Input[str]] = None, site_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSiteResult]: @@ -152,4 +154,16 @@ def get_site_output(global_network_id: Optional[pulumi.Input[str]] = None, :param str global_network_id: The ID of the global network. :param str site_id: The ID of the site. """ - ... + __args__ = dict() + __args__['globalNetworkId'] = global_network_id + __args__['siteId'] = site_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkmanager:getSite', __args__, opts=opts, typ=GetSiteResult) + return __ret__.apply(lambda __response__: GetSiteResult( + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + location=pulumi.get(__response__, 'location'), + site_arn=pulumi.get(__response__, 'site_arn'), + site_id=pulumi.get(__response__, 'site_id'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/networkmanager/get_site_to_site_vpn_attachment.py b/sdk/python/pulumi_aws_native/networkmanager/get_site_to_site_vpn_attachment.py index 11a50fabac..094e358f57 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/get_site_to_site_vpn_attachment.py +++ b/sdk/python/pulumi_aws_native/networkmanager/get_site_to_site_vpn_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -240,9 +245,6 @@ def get_site_to_site_vpn_attachment(attachment_id: Optional[str] = None, state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_site_to_site_vpn_attachment) def get_site_to_site_vpn_attachment_output(attachment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSiteToSiteVpnAttachmentResult]: """ @@ -251,4 +253,23 @@ def get_site_to_site_vpn_attachment_output(attachment_id: Optional[pulumi.Input[ :param str attachment_id: The ID of the attachment. """ - ... + __args__ = dict() + __args__['attachmentId'] = attachment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkmanager:getSiteToSiteVpnAttachment', __args__, opts=opts, typ=GetSiteToSiteVpnAttachmentResult) + return __ret__.apply(lambda __response__: GetSiteToSiteVpnAttachmentResult( + attachment_id=pulumi.get(__response__, 'attachment_id'), + attachment_policy_rule_number=pulumi.get(__response__, 'attachment_policy_rule_number'), + attachment_type=pulumi.get(__response__, 'attachment_type'), + core_network_arn=pulumi.get(__response__, 'core_network_arn'), + created_at=pulumi.get(__response__, 'created_at'), + edge_location=pulumi.get(__response__, 'edge_location'), + network_function_group_name=pulumi.get(__response__, 'network_function_group_name'), + owner_account_id=pulumi.get(__response__, 'owner_account_id'), + proposed_network_function_group_change=pulumi.get(__response__, 'proposed_network_function_group_change'), + proposed_segment_change=pulumi.get(__response__, 'proposed_segment_change'), + resource_arn=pulumi.get(__response__, 'resource_arn'), + segment_name=pulumi.get(__response__, 'segment_name'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/networkmanager/get_transit_gateway_peering.py b/sdk/python/pulumi_aws_native/networkmanager/get_transit_gateway_peering.py index 52effd77d9..76227d10a3 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/get_transit_gateway_peering.py +++ b/sdk/python/pulumi_aws_native/networkmanager/get_transit_gateway_peering.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -174,9 +179,6 @@ def get_transit_gateway_peering(peering_id: Optional[str] = None, state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags'), transit_gateway_peering_attachment_id=pulumi.get(__ret__, 'transit_gateway_peering_attachment_id')) - - -@_utilities.lift_output_func(get_transit_gateway_peering) def get_transit_gateway_peering_output(peering_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitGatewayPeeringResult]: """ @@ -185,4 +187,18 @@ def get_transit_gateway_peering_output(peering_id: Optional[pulumi.Input[str]] = :param str peering_id: The Id of the transit gateway peering """ - ... + __args__ = dict() + __args__['peeringId'] = peering_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkmanager:getTransitGatewayPeering', __args__, opts=opts, typ=GetTransitGatewayPeeringResult) + return __ret__.apply(lambda __response__: GetTransitGatewayPeeringResult( + core_network_arn=pulumi.get(__response__, 'core_network_arn'), + created_at=pulumi.get(__response__, 'created_at'), + edge_location=pulumi.get(__response__, 'edge_location'), + owner_account_id=pulumi.get(__response__, 'owner_account_id'), + peering_id=pulumi.get(__response__, 'peering_id'), + peering_type=pulumi.get(__response__, 'peering_type'), + resource_arn=pulumi.get(__response__, 'resource_arn'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + transit_gateway_peering_attachment_id=pulumi.get(__response__, 'transit_gateway_peering_attachment_id'))) diff --git a/sdk/python/pulumi_aws_native/networkmanager/get_transit_gateway_route_table_attachment.py b/sdk/python/pulumi_aws_native/networkmanager/get_transit_gateway_route_table_attachment.py index fec1be38d5..89175c51f7 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/get_transit_gateway_route_table_attachment.py +++ b/sdk/python/pulumi_aws_native/networkmanager/get_transit_gateway_route_table_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -253,9 +258,6 @@ def get_transit_gateway_route_table_attachment(attachment_id: Optional[str] = No state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_transit_gateway_route_table_attachment) def get_transit_gateway_route_table_attachment_output(attachment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTransitGatewayRouteTableAttachmentResult]: """ @@ -264,4 +266,24 @@ def get_transit_gateway_route_table_attachment_output(attachment_id: Optional[pu :param str attachment_id: The ID of the attachment. """ - ... + __args__ = dict() + __args__['attachmentId'] = attachment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkmanager:getTransitGatewayRouteTableAttachment', __args__, opts=opts, typ=GetTransitGatewayRouteTableAttachmentResult) + return __ret__.apply(lambda __response__: GetTransitGatewayRouteTableAttachmentResult( + attachment_id=pulumi.get(__response__, 'attachment_id'), + attachment_policy_rule_number=pulumi.get(__response__, 'attachment_policy_rule_number'), + attachment_type=pulumi.get(__response__, 'attachment_type'), + core_network_arn=pulumi.get(__response__, 'core_network_arn'), + core_network_id=pulumi.get(__response__, 'core_network_id'), + created_at=pulumi.get(__response__, 'created_at'), + edge_location=pulumi.get(__response__, 'edge_location'), + network_function_group_name=pulumi.get(__response__, 'network_function_group_name'), + owner_account_id=pulumi.get(__response__, 'owner_account_id'), + proposed_network_function_group_change=pulumi.get(__response__, 'proposed_network_function_group_change'), + proposed_segment_change=pulumi.get(__response__, 'proposed_segment_change'), + resource_arn=pulumi.get(__response__, 'resource_arn'), + segment_name=pulumi.get(__response__, 'segment_name'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/networkmanager/get_vpc_attachment.py b/sdk/python/pulumi_aws_native/networkmanager/get_vpc_attachment.py index efb32997c6..c45bf855b2 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/get_vpc_attachment.py +++ b/sdk/python/pulumi_aws_native/networkmanager/get_vpc_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -266,9 +271,6 @@ def get_vpc_attachment(attachment_id: Optional[str] = None, subnet_arns=pulumi.get(__ret__, 'subnet_arns'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_vpc_attachment) def get_vpc_attachment_output(attachment_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcAttachmentResult]: """ @@ -277,4 +279,25 @@ def get_vpc_attachment_output(attachment_id: Optional[pulumi.Input[str]] = None, :param str attachment_id: Id of the attachment. """ - ... + __args__ = dict() + __args__['attachmentId'] = attachment_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:networkmanager:getVpcAttachment', __args__, opts=opts, typ=GetVpcAttachmentResult) + return __ret__.apply(lambda __response__: GetVpcAttachmentResult( + attachment_id=pulumi.get(__response__, 'attachment_id'), + attachment_policy_rule_number=pulumi.get(__response__, 'attachment_policy_rule_number'), + attachment_type=pulumi.get(__response__, 'attachment_type'), + core_network_arn=pulumi.get(__response__, 'core_network_arn'), + created_at=pulumi.get(__response__, 'created_at'), + edge_location=pulumi.get(__response__, 'edge_location'), + network_function_group_name=pulumi.get(__response__, 'network_function_group_name'), + options=pulumi.get(__response__, 'options'), + owner_account_id=pulumi.get(__response__, 'owner_account_id'), + proposed_network_function_group_change=pulumi.get(__response__, 'proposed_network_function_group_change'), + proposed_segment_change=pulumi.get(__response__, 'proposed_segment_change'), + resource_arn=pulumi.get(__response__, 'resource_arn'), + segment_name=pulumi.get(__response__, 'segment_name'), + state=pulumi.get(__response__, 'state'), + subnet_arns=pulumi.get(__response__, 'subnet_arns'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/networkmanager/global_network.py b/sdk/python/pulumi_aws_native/networkmanager/global_network.py index c45ccbc4fe..bb8d615d4c 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/global_network.py +++ b/sdk/python/pulumi_aws_native/networkmanager/global_network.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/link.py b/sdk/python/pulumi_aws_native/networkmanager/link.py index 576a36d45d..dc947bc7c1 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/link.py +++ b/sdk/python/pulumi_aws_native/networkmanager/link.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/link_association.py b/sdk/python/pulumi_aws_native/networkmanager/link_association.py index 5727e8c3c3..c5fefd36e0 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/link_association.py +++ b/sdk/python/pulumi_aws_native/networkmanager/link_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['LinkAssociationArgs', 'LinkAssociation'] diff --git a/sdk/python/pulumi_aws_native/networkmanager/outputs.py b/sdk/python/pulumi_aws_native/networkmanager/outputs.py index c00245ef3f..83a51415d3 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/outputs.py +++ b/sdk/python/pulumi_aws_native/networkmanager/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/site.py b/sdk/python/pulumi_aws_native/networkmanager/site.py index 2713cadde5..3a77432a27 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/site.py +++ b/sdk/python/pulumi_aws_native/networkmanager/site.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/site_to_site_vpn_attachment.py b/sdk/python/pulumi_aws_native/networkmanager/site_to_site_vpn_attachment.py index c11a62e7b0..85f48bb427 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/site_to_site_vpn_attachment.py +++ b/sdk/python/pulumi_aws_native/networkmanager/site_to_site_vpn_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_peering.py b/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_peering.py index 5c3f223caf..0728406064 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_peering.py +++ b/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_peering.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_registration.py b/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_registration.py index 8ce499ad35..2e2e2506ca 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_registration.py +++ b/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_registration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TransitGatewayRegistrationArgs', 'TransitGatewayRegistration'] diff --git a/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_route_table_attachment.py b/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_route_table_attachment.py index e587cb30da..b64eac50a7 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_route_table_attachment.py +++ b/sdk/python/pulumi_aws_native/networkmanager/transit_gateway_route_table_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/networkmanager/vpc_attachment.py b/sdk/python/pulumi_aws_native/networkmanager/vpc_attachment.py index 9e1223b309..32d3dccc66 100644 --- a/sdk/python/pulumi_aws_native/networkmanager/vpc_attachment.py +++ b/sdk/python/pulumi_aws_native/networkmanager/vpc_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/nimblestudio/_inputs.py b/sdk/python/pulumi_aws_native/nimblestudio/_inputs.py index 0f715f063f..3ca6ee3dad 100644 --- a/sdk/python/pulumi_aws_native/nimblestudio/_inputs.py +++ b/sdk/python/pulumi_aws_native/nimblestudio/_inputs.py @@ -4,32 +4,76 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'LaunchProfileStreamConfigurationSessionBackupArgs', + 'LaunchProfileStreamConfigurationSessionBackupArgsDict', 'LaunchProfileStreamConfigurationSessionStorageArgs', + 'LaunchProfileStreamConfigurationSessionStorageArgsDict', 'LaunchProfileStreamConfigurationArgs', + 'LaunchProfileStreamConfigurationArgsDict', 'LaunchProfileStreamingSessionStorageRootArgs', + 'LaunchProfileStreamingSessionStorageRootArgsDict', 'LaunchProfileVolumeConfigurationArgs', + 'LaunchProfileVolumeConfigurationArgsDict', 'StudioComponentActiveDirectoryComputerAttributeArgs', + 'StudioComponentActiveDirectoryComputerAttributeArgsDict', 'StudioComponentActiveDirectoryConfigurationArgs', + 'StudioComponentActiveDirectoryConfigurationArgsDict', 'StudioComponentComputeFarmConfigurationArgs', + 'StudioComponentComputeFarmConfigurationArgsDict', 'StudioComponentConfiguration0PropertiesArgs', + 'StudioComponentConfiguration0PropertiesArgsDict', 'StudioComponentConfiguration1PropertiesArgs', + 'StudioComponentConfiguration1PropertiesArgsDict', 'StudioComponentConfiguration2PropertiesArgs', + 'StudioComponentConfiguration2PropertiesArgsDict', 'StudioComponentConfiguration3PropertiesArgs', + 'StudioComponentConfiguration3PropertiesArgsDict', 'StudioComponentInitializationScriptArgs', + 'StudioComponentInitializationScriptArgsDict', 'StudioComponentLicenseServiceConfigurationArgs', + 'StudioComponentLicenseServiceConfigurationArgsDict', 'StudioComponentScriptParameterKeyValueArgs', + 'StudioComponentScriptParameterKeyValueArgsDict', 'StudioComponentSharedFileSystemConfigurationArgs', + 'StudioComponentSharedFileSystemConfigurationArgsDict', 'StudioEncryptionConfigurationArgs', + 'StudioEncryptionConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class LaunchProfileStreamConfigurationSessionBackupArgsDict(TypedDict): + """ +

Configures how streaming sessions are backed up when launched from this launch + profile.

+ """ + max_backups_to_retain: NotRequired[pulumi.Input[float]] + """ +

The maximum number of backups that each streaming session created from this launch + profile can have.

+ """ + mode: NotRequired[pulumi.Input['LaunchProfileSessionBackupMode']] + """ + Specifies how artists sessions are backed up. + + Configures backups for streaming sessions launched with this launch profile. The default value is `DEACTIVATED` , which means that backups are deactivated. To allow backups, set this value to `AUTOMATIC` . + """ +elif False: + LaunchProfileStreamConfigurationSessionBackupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchProfileStreamConfigurationSessionBackupArgs: def __init__(__self__, *, @@ -77,6 +121,23 @@ def mode(self, value: Optional[pulumi.Input['LaunchProfileSessionBackupMode']]): pulumi.set(self, "mode", value) +if not MYPY: + class LaunchProfileStreamConfigurationSessionStorageArgsDict(TypedDict): + """ +

The configuration for a streaming session’s upload storage.

+ """ + mode: pulumi.Input[Sequence[pulumi.Input['LaunchProfileStreamingSessionStorageMode']]] + """ +

Allows artists to upload files to their workstations. The only valid option is + UPLOAD.

+ """ + root: NotRequired[pulumi.Input['LaunchProfileStreamingSessionStorageRootArgsDict']] + """ + The configuration for the upload storage root of the streaming session. + """ +elif False: + LaunchProfileStreamConfigurationSessionStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchProfileStreamConfigurationSessionStorageArgs: def __init__(__self__, *, @@ -118,6 +179,81 @@ def root(self, value: Optional[pulumi.Input['LaunchProfileStreamingSessionStorag pulumi.set(self, "root", value) +if not MYPY: + class LaunchProfileStreamConfigurationArgsDict(TypedDict): + """ +

A configuration for a streaming session.

+ """ + clipboard_mode: pulumi.Input['LaunchProfileStreamingClipboardMode'] + """ + Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client. + """ + ec2_instance_types: pulumi.Input[Sequence[pulumi.Input['LaunchProfileStreamingInstanceType']]] + """ +

The EC2 instance types that users can select from when launching a streaming session + with this launch profile.

+ """ + streaming_image_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The streaming images that users can select from when launching a streaming session + with this launch profile.

+ """ + automatic_termination_mode: NotRequired[pulumi.Input['LaunchProfileAutomaticTerminationMode']] + """ + Indicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in a `STOPPED` state. + + - When `ACTIVATED` , the streaming session is scheduled for termination after being in the `STOPPED` state for the time specified in `maxStoppedSessionLengthInMinutes` . + - When `DEACTIVATED` , the streaming session can remain in the `STOPPED` state indefinitely. + + This parameter is only allowed when `sessionPersistenceMode` is `ACTIVATED` . When allowed, the default value for this parameter is `DEACTIVATED` . + """ + max_session_length_in_minutes: NotRequired[pulumi.Input[float]] + """ +

The length of time, in minutes, that a streaming session can be active before it is + stopped or terminated. After this point, Nimble Studio automatically terminates or + stops the session. The default length of time is 690 minutes, and the maximum length of + time is 30 days.

+ """ + max_stopped_session_length_in_minutes: NotRequired[pulumi.Input[float]] + """ +

Integer that determines if you can start and stop your sessions and how long a session + can stay in the STOPPED state. The default value is 0. The maximum value is + 5760.

+

This field is allowed only when sessionPersistenceMode is + ACTIVATED and automaticTerminationMode is + ACTIVATED.

+

If the value is set to 0, your sessions can’t be STOPPED. If you then + call StopStreamingSession, the session fails. If the time that a session + stays in the READY state exceeds the maxSessionLengthInMinutes + value, the session will automatically be terminated (instead of + STOPPED).

+

If the value is set to a positive number, the session can be stopped. You can call + StopStreamingSession to stop sessions in the READY state. + If the time that a session stays in the READY state exceeds the + maxSessionLengthInMinutes value, the session will automatically be + stopped (instead of terminated).

+ """ + session_backup: NotRequired[pulumi.Input['LaunchProfileStreamConfigurationSessionBackupArgsDict']] + """ + Information about the streaming session backup. + """ + session_persistence_mode: NotRequired[pulumi.Input['LaunchProfileSessionPersistenceMode']] + """ + Determine if a streaming session created from this launch profile can configure persistent storage. This means that `volumeConfiguration` and `automaticTerminationMode` are configured. + """ + session_storage: NotRequired[pulumi.Input['LaunchProfileStreamConfigurationSessionStorageArgsDict']] + """ + The upload storage for a streaming session. + """ + volume_configuration: NotRequired[pulumi.Input['LaunchProfileVolumeConfigurationArgsDict']] + """ + Custom volume configuration for the root volumes that are attached to streaming sessions. + + This parameter is only allowed when `sessionPersistenceMode` is `ACTIVATED` . + """ +elif False: + LaunchProfileStreamConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchProfileStreamConfigurationArgs: def __init__(__self__, *, @@ -337,6 +473,23 @@ def volume_configuration(self, value: Optional[pulumi.Input['LaunchProfileVolume pulumi.set(self, "volume_configuration", value) +if not MYPY: + class LaunchProfileStreamingSessionStorageRootArgsDict(TypedDict): + """ +

The upload storage root location (folder) on streaming workstations where files are + uploaded.

+ """ + linux: NotRequired[pulumi.Input[str]] + """ +

The folder path in Linux workstations where files are uploaded.

+ """ + windows: NotRequired[pulumi.Input[str]] + """ +

The folder path in Windows workstations where files are uploaded.

+ """ +elif False: + LaunchProfileStreamingSessionStorageRootArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchProfileStreamingSessionStorageRootArgs: def __init__(__self__, *, @@ -378,6 +531,32 @@ def windows(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "windows", value) +if not MYPY: + class LaunchProfileVolumeConfigurationArgsDict(TypedDict): + """ +

Custom volume configuration for the root volumes that are attached to streaming + sessions.

+

This parameter is only allowed when sessionPersistenceMode is + ACTIVATED.

+ """ + iops: NotRequired[pulumi.Input[float]] + """ +

The number of I/O operations per second for the root volume that is attached to + streaming session.

+ """ + size: NotRequired[pulumi.Input[float]] + """ +

The size of the root volume that is attached to the streaming session. The root volume + size is measured in GiBs.

+ """ + throughput: NotRequired[pulumi.Input[float]] + """ +

The throughput to provision for the root volume that is attached to the streaming + session. The throughput is measured in MiB/s.

+ """ +elif False: + LaunchProfileVolumeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LaunchProfileVolumeConfigurationArgs: def __init__(__self__, *, @@ -443,6 +622,23 @@ def throughput(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "throughput", value) +if not MYPY: + class StudioComponentActiveDirectoryComputerAttributeArgsDict(TypedDict): + """ +

An LDAP attribute of an Active Directory computer account, in the form of a name:value + pair.

+ """ + name: NotRequired[pulumi.Input[str]] + """ +

The name for the LDAP attribute.

+ """ + value: NotRequired[pulumi.Input[str]] + """ +

The value for the LDAP attribute.

+ """ +elif False: + StudioComponentActiveDirectoryComputerAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioComponentActiveDirectoryComputerAttributeArgs: def __init__(__self__, *, @@ -484,6 +680,29 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class StudioComponentActiveDirectoryConfigurationArgsDict(TypedDict): + """ +

The configuration for a Microsoft Active Directory (Microsoft AD) studio + resource.

+ """ + computer_attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input['StudioComponentActiveDirectoryComputerAttributeArgsDict']]]] + """ +

A collection of custom attributes for an Active Directory computer.

+ """ + directory_id: NotRequired[pulumi.Input[str]] + """ +

The directory ID of the Directory Service for Microsoft Active Directory to access + using this studio component.

+ """ + organizational_unit_distinguished_name: NotRequired[pulumi.Input[str]] + """ +

The distinguished name (DN) and organizational unit (OU) of an Active Directory + computer.

+ """ +elif False: + StudioComponentActiveDirectoryConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioComponentActiveDirectoryConfigurationArgs: def __init__(__self__, *, @@ -545,6 +764,24 @@ def organizational_unit_distinguished_name(self, value: Optional[pulumi.Input[st pulumi.set(self, "organizational_unit_distinguished_name", value) +if not MYPY: + class StudioComponentComputeFarmConfigurationArgsDict(TypedDict): + """ +

The configuration for a render farm that is associated with a studio resource.

+ """ + active_directory_user: NotRequired[pulumi.Input[str]] + """ +

The name of an Active Directory user that is used on ComputeFarm worker + instances.

+ """ + endpoint: NotRequired[pulumi.Input[str]] + """ +

The endpoint of the ComputeFarm that is accessed by the studio component + resource.

+ """ +elif False: + StudioComponentComputeFarmConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioComponentComputeFarmConfigurationArgs: def __init__(__self__, *, @@ -589,6 +826,15 @@ def endpoint(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "endpoint", value) +if not MYPY: + class StudioComponentConfiguration0PropertiesArgsDict(TypedDict): + """ +

The configuration of the studio component, based on component type.

+ """ + active_directory_configuration: pulumi.Input['StudioComponentActiveDirectoryConfigurationArgsDict'] +elif False: + StudioComponentConfiguration0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioComponentConfiguration0PropertiesArgs: def __init__(__self__, *, @@ -608,6 +854,15 @@ def active_directory_configuration(self, value: pulumi.Input['StudioComponentAct pulumi.set(self, "active_directory_configuration", value) +if not MYPY: + class StudioComponentConfiguration1PropertiesArgsDict(TypedDict): + """ +

The configuration of the studio component, based on component type.

+ """ + compute_farm_configuration: pulumi.Input['StudioComponentComputeFarmConfigurationArgsDict'] +elif False: + StudioComponentConfiguration1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioComponentConfiguration1PropertiesArgs: def __init__(__self__, *, @@ -627,6 +882,15 @@ def compute_farm_configuration(self, value: pulumi.Input['StudioComponentCompute pulumi.set(self, "compute_farm_configuration", value) +if not MYPY: + class StudioComponentConfiguration2PropertiesArgsDict(TypedDict): + """ +

The configuration of the studio component, based on component type.

+ """ + license_service_configuration: pulumi.Input['StudioComponentLicenseServiceConfigurationArgsDict'] +elif False: + StudioComponentConfiguration2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioComponentConfiguration2PropertiesArgs: def __init__(__self__, *, @@ -646,6 +910,15 @@ def license_service_configuration(self, value: pulumi.Input['StudioComponentLice pulumi.set(self, "license_service_configuration", value) +if not MYPY: + class StudioComponentConfiguration3PropertiesArgsDict(TypedDict): + """ +

The configuration of the studio component, based on component type.

+ """ + shared_file_system_configuration: pulumi.Input['StudioComponentSharedFileSystemConfigurationArgsDict'] +elif False: + StudioComponentConfiguration3PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioComponentConfiguration3PropertiesArgs: def __init__(__self__, *, @@ -665,6 +938,31 @@ def shared_file_system_configuration(self, value: pulumi.Input['StudioComponentS pulumi.set(self, "shared_file_system_configuration", value) +if not MYPY: + class StudioComponentInitializationScriptArgsDict(TypedDict): + """ +

Initialization scripts for studio components.

+ """ + launch_profile_protocol_version: NotRequired[pulumi.Input[str]] + """ +

The version number of the protocol that is used by the launch profile. The only valid + version is "2021-03-31".

+ """ + platform: NotRequired[pulumi.Input['StudioComponentLaunchProfilePlatform']] + """ + The platform of the initialization script, either Windows or Linux. + """ + run_context: NotRequired[pulumi.Input['StudioComponentInitializationScriptRunContext']] + """ + The method to use when running the initialization script. + """ + script: NotRequired[pulumi.Input[str]] + """ +

The initialization script.

+ """ +elif False: + StudioComponentInitializationScriptArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioComponentInitializationScriptArgs: def __init__(__self__, *, @@ -739,6 +1037,20 @@ def script(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "script", value) +if not MYPY: + class StudioComponentLicenseServiceConfigurationArgsDict(TypedDict): + """ +

The configuration for a license service that is associated with a studio + resource.

+ """ + endpoint: NotRequired[pulumi.Input[str]] + """ +

The endpoint of the license service that is accessed by the studio component + resource.

+ """ +elif False: + StudioComponentLicenseServiceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioComponentLicenseServiceConfigurationArgs: def __init__(__self__, *, @@ -766,6 +1078,22 @@ def endpoint(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "endpoint", value) +if not MYPY: + class StudioComponentScriptParameterKeyValueArgsDict(TypedDict): + """ +

A parameter for a studio component script, in the form of a key:value pair.

+ """ + key: NotRequired[pulumi.Input[str]] + """ +

A script parameter key.

+ """ + value: NotRequired[pulumi.Input[str]] + """ +

A script parameter value.

+ """ +elif False: + StudioComponentScriptParameterKeyValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioComponentScriptParameterKeyValueArgs: def __init__(__self__, *, @@ -806,6 +1134,36 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class StudioComponentSharedFileSystemConfigurationArgsDict(TypedDict): + """ +

The configuration for a shared file storage system that is associated with a studio + resource.

+ """ + endpoint: NotRequired[pulumi.Input[str]] + """ +

The endpoint of the shared file system that is accessed by the studio component + resource.

+ """ + file_system_id: NotRequired[pulumi.Input[str]] + """ +

The unique identifier for a file system.

+ """ + linux_mount_point: NotRequired[pulumi.Input[str]] + """ +

The mount location for a shared file system on a Linux virtual workstation.

+ """ + share_name: NotRequired[pulumi.Input[str]] + """ +

The name of the file share.

+ """ + windows_mount_drive: NotRequired[pulumi.Input[str]] + """ +

The mount location for a shared file system on a Windows virtual workstation.

+ """ +elif False: + StudioComponentSharedFileSystemConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioComponentSharedFileSystemConfigurationArgs: def __init__(__self__, *, @@ -897,6 +1255,22 @@ def windows_mount_drive(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "windows_mount_drive", value) +if not MYPY: + class StudioEncryptionConfigurationArgsDict(TypedDict): + """ +

Configuration of the encryption method that is used for the studio.

+ """ + key_type: pulumi.Input['StudioEncryptionConfigurationKeyType'] + """ + The type of KMS key that is used to encrypt studio data. + """ + key_arn: NotRequired[pulumi.Input[str]] + """ +

The ARN for a KMS key that is used to encrypt studio data.

+ """ +elif False: + StudioEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StudioEncryptionConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/nimblestudio/get_launch_profile.py b/sdk/python/pulumi_aws_native/nimblestudio/get_launch_profile.py index 277d9631c6..91cea8986b 100644 --- a/sdk/python/pulumi_aws_native/nimblestudio/get_launch_profile.py +++ b/sdk/python/pulumi_aws_native/nimblestudio/get_launch_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -128,9 +133,6 @@ def get_launch_profile(launch_profile_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), stream_configuration=pulumi.get(__ret__, 'stream_configuration'), studio_component_ids=pulumi.get(__ret__, 'studio_component_ids')) - - -@_utilities.lift_output_func(get_launch_profile) def get_launch_profile_output(launch_profile_id: Optional[pulumi.Input[str]] = None, studio_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLaunchProfileResult]: @@ -141,4 +143,15 @@ def get_launch_profile_output(launch_profile_id: Optional[pulumi.Input[str]] = N :param str launch_profile_id: The unique identifier for the launch profile resource. :param str studio_id:

The studio ID.

""" - ... + __args__ = dict() + __args__['launchProfileId'] = launch_profile_id + __args__['studioId'] = studio_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:nimblestudio:getLaunchProfile', __args__, opts=opts, typ=GetLaunchProfileResult) + return __ret__.apply(lambda __response__: GetLaunchProfileResult( + description=pulumi.get(__response__, 'description'), + launch_profile_id=pulumi.get(__response__, 'launch_profile_id'), + launch_profile_protocol_versions=pulumi.get(__response__, 'launch_profile_protocol_versions'), + name=pulumi.get(__response__, 'name'), + stream_configuration=pulumi.get(__response__, 'stream_configuration'), + studio_component_ids=pulumi.get(__response__, 'studio_component_ids'))) diff --git a/sdk/python/pulumi_aws_native/nimblestudio/get_streaming_image.py b/sdk/python/pulumi_aws_native/nimblestudio/get_streaming_image.py index 9d1709b6c2..8263556622 100644 --- a/sdk/python/pulumi_aws_native/nimblestudio/get_streaming_image.py +++ b/sdk/python/pulumi_aws_native/nimblestudio/get_streaming_image.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -136,9 +141,6 @@ def get_streaming_image(streaming_image_id: Optional[str] = None, owner=pulumi.get(__ret__, 'owner'), platform=pulumi.get(__ret__, 'platform'), streaming_image_id=pulumi.get(__ret__, 'streaming_image_id')) - - -@_utilities.lift_output_func(get_streaming_image) def get_streaming_image_output(streaming_image_id: Optional[pulumi.Input[str]] = None, studio_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStreamingImageResult]: @@ -149,4 +151,16 @@ def get_streaming_image_output(streaming_image_id: Optional[pulumi.Input[str]] = :param str streaming_image_id: The unique identifier for the streaming image resource. :param str studio_id:

The studioId.

""" - ... + __args__ = dict() + __args__['streamingImageId'] = streaming_image_id + __args__['studioId'] = studio_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:nimblestudio:getStreamingImage', __args__, opts=opts, typ=GetStreamingImageResult) + return __ret__.apply(lambda __response__: GetStreamingImageResult( + description=pulumi.get(__response__, 'description'), + encryption_configuration=pulumi.get(__response__, 'encryption_configuration'), + eula_ids=pulumi.get(__response__, 'eula_ids'), + name=pulumi.get(__response__, 'name'), + owner=pulumi.get(__response__, 'owner'), + platform=pulumi.get(__response__, 'platform'), + streaming_image_id=pulumi.get(__response__, 'streaming_image_id'))) diff --git a/sdk/python/pulumi_aws_native/nimblestudio/get_studio.py b/sdk/python/pulumi_aws_native/nimblestudio/get_studio.py index e660a64a79..0a755cad17 100644 --- a/sdk/python/pulumi_aws_native/nimblestudio/get_studio.py +++ b/sdk/python/pulumi_aws_native/nimblestudio/get_studio.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -149,9 +154,6 @@ def get_studio(studio_id: Optional[str] = None, studio_id=pulumi.get(__ret__, 'studio_id'), studio_url=pulumi.get(__ret__, 'studio_url'), user_role_arn=pulumi.get(__ret__, 'user_role_arn')) - - -@_utilities.lift_output_func(get_studio) def get_studio_output(studio_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStudioResult]: """ @@ -160,4 +162,16 @@ def get_studio_output(studio_id: Optional[pulumi.Input[str]] = None, :param str studio_id: The unique identifier for the studio resource. """ - ... + __args__ = dict() + __args__['studioId'] = studio_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:nimblestudio:getStudio', __args__, opts=opts, typ=GetStudioResult) + return __ret__.apply(lambda __response__: GetStudioResult( + admin_role_arn=pulumi.get(__response__, 'admin_role_arn'), + display_name=pulumi.get(__response__, 'display_name'), + home_region=pulumi.get(__response__, 'home_region'), + sso_client_id=pulumi.get(__response__, 'sso_client_id'), + studio_encryption_configuration=pulumi.get(__response__, 'studio_encryption_configuration'), + studio_id=pulumi.get(__response__, 'studio_id'), + studio_url=pulumi.get(__response__, 'studio_url'), + user_role_arn=pulumi.get(__response__, 'user_role_arn'))) diff --git a/sdk/python/pulumi_aws_native/nimblestudio/get_studio_component.py b/sdk/python/pulumi_aws_native/nimblestudio/get_studio_component.py index b0b2f6894f..8ab9a9fa01 100644 --- a/sdk/python/pulumi_aws_native/nimblestudio/get_studio_component.py +++ b/sdk/python/pulumi_aws_native/nimblestudio/get_studio_component.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -178,9 +183,6 @@ def get_studio_component(studio_component_id: Optional[str] = None, secure_initialization_role_arn=pulumi.get(__ret__, 'secure_initialization_role_arn'), studio_component_id=pulumi.get(__ret__, 'studio_component_id'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_studio_component) def get_studio_component_output(studio_component_id: Optional[pulumi.Input[str]] = None, studio_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStudioComponentResult]: @@ -191,4 +193,19 @@ def get_studio_component_output(studio_component_id: Optional[pulumi.Input[str]] :param str studio_component_id: The unique identifier for the studio component resource. :param str studio_id:

The studio ID.

""" - ... + __args__ = dict() + __args__['studioComponentId'] = studio_component_id + __args__['studioId'] = studio_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:nimblestudio:getStudioComponent', __args__, opts=opts, typ=GetStudioComponentResult) + return __ret__.apply(lambda __response__: GetStudioComponentResult( + configuration=pulumi.get(__response__, 'configuration'), + description=pulumi.get(__response__, 'description'), + ec2_security_group_ids=pulumi.get(__response__, 'ec2_security_group_ids'), + initialization_scripts=pulumi.get(__response__, 'initialization_scripts'), + name=pulumi.get(__response__, 'name'), + runtime_role_arn=pulumi.get(__response__, 'runtime_role_arn'), + script_parameters=pulumi.get(__response__, 'script_parameters'), + secure_initialization_role_arn=pulumi.get(__response__, 'secure_initialization_role_arn'), + studio_component_id=pulumi.get(__response__, 'studio_component_id'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/nimblestudio/launch_profile.py b/sdk/python/pulumi_aws_native/nimblestudio/launch_profile.py index 49585b462f..5d25aaf32a 100644 --- a/sdk/python/pulumi_aws_native/nimblestudio/launch_profile.py +++ b/sdk/python/pulumi_aws_native/nimblestudio/launch_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/nimblestudio/outputs.py b/sdk/python/pulumi_aws_native/nimblestudio/outputs.py index c5bfa70a45..db4779871d 100644 --- a/sdk/python/pulumi_aws_native/nimblestudio/outputs.py +++ b/sdk/python/pulumi_aws_native/nimblestudio/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/nimblestudio/streaming_image.py b/sdk/python/pulumi_aws_native/nimblestudio/streaming_image.py index 29d0d29736..14cd3013dc 100644 --- a/sdk/python/pulumi_aws_native/nimblestudio/streaming_image.py +++ b/sdk/python/pulumi_aws_native/nimblestudio/streaming_image.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/nimblestudio/studio.py b/sdk/python/pulumi_aws_native/nimblestudio/studio.py index dce9964dea..f67eda45b6 100644 --- a/sdk/python/pulumi_aws_native/nimblestudio/studio.py +++ b/sdk/python/pulumi_aws_native/nimblestudio/studio.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/nimblestudio/studio_component.py b/sdk/python/pulumi_aws_native/nimblestudio/studio_component.py index 2d06341619..ae73db7866 100644 --- a/sdk/python/pulumi_aws_native/nimblestudio/studio_component.py +++ b/sdk/python/pulumi_aws_native/nimblestudio/studio_component.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/oam/_inputs.py b/sdk/python/pulumi_aws_native/oam/_inputs.py index 60ab374135..9f3d512e98 100644 --- a/sdk/python/pulumi_aws_native/oam/_inputs.py +++ b/sdk/python/pulumi_aws_native/oam/_inputs.py @@ -4,17 +4,39 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'LinkConfigurationArgs', + 'LinkConfigurationArgsDict', 'LinkFilterArgs', + 'LinkFilterArgsDict', ] +MYPY = False + +if not MYPY: + class LinkConfigurationArgsDict(TypedDict): + log_group_configuration: NotRequired[pulumi.Input['LinkFilterArgsDict']] + """ + Use this structure to filter which log groups are to share log events from this source account to the monitoring account. + """ + metric_configuration: NotRequired[pulumi.Input['LinkFilterArgsDict']] + """ + Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account. + """ +elif False: + LinkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LinkConfigurationArgs: def __init__(__self__, *, @@ -54,6 +76,38 @@ def metric_configuration(self, value: Optional[pulumi.Input['LinkFilterArgs']]): pulumi.set(self, "metric_configuration", value) +if not MYPY: + class LinkFilterArgsDict(TypedDict): + filter: pulumi.Input[str] + """ + When used in `MetricConfiguration` this field specifies which metric namespaces are to be shared with the monitoring account + + When used in `LogGroupConfiguration` this field specifies which log groups are to share their log events with the monitoring account. Use the term `LogGroupName` and one or more of the following operands. + + Use single quotation marks (') around log group names and metric namespaces. + + The matching of log group names and metric namespaces is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are `AND` and `OR` . + + - `=` and `!=` + - `AND` + - `OR` + - `LIKE` and `NOT LIKE` . These can be used only as prefix searches. Include a `%` at the end of the string that you want to search for and include. + - `IN` and `NOT IN` , using parentheses `( )` + + Examples: + + - `Namespace NOT LIKE 'AWS/%'` includes only namespaces that don't start with `AWS/` , such as custom namespaces. + - `Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')` includes only the metrics in the EC2, Elastic Load Balancing , and Amazon S3 namespaces. + - `Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'` includes only the EC2 namespace and your custom namespaces. + - `LogGroupName IN ('This-Log-Group', 'Other-Log-Group')` includes only the log groups with names `This-Log-Group` and `Other-Log-Group` . + - `LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')` includes all log groups except the log groups with names `Private-Log-Group` and `Private-Log-Group-2` . + - `LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'` includes all log groups that have names that start with `aws/lambda/` or `AWSLogs` . + + > If you are updating a link that uses filters, you can specify `*` as the only value for the `filter` parameter to delete the filter and share all log groups with the monitoring account. + """ +elif False: + LinkFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LinkFilterArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/oam/get_link.py b/sdk/python/pulumi_aws_native/oam/get_link.py index fda14ee5b8..0dd4ade715 100644 --- a/sdk/python/pulumi_aws_native/oam/get_link.py +++ b/sdk/python/pulumi_aws_native/oam/get_link.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -110,9 +115,6 @@ def get_link(arn: Optional[str] = None, link_configuration=pulumi.get(__ret__, 'link_configuration'), resource_types=pulumi.get(__ret__, 'resource_types'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_link) def get_link_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLinkResult]: """ @@ -121,4 +123,13 @@ def get_link_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the link. For example, `arn:aws:oam:us-west-1:111111111111:link:abcd1234-a123-456a-a12b-a123b456c789` """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:oam:getLink', __args__, opts=opts, typ=GetLinkResult) + return __ret__.apply(lambda __response__: GetLinkResult( + arn=pulumi.get(__response__, 'arn'), + label=pulumi.get(__response__, 'label'), + link_configuration=pulumi.get(__response__, 'link_configuration'), + resource_types=pulumi.get(__response__, 'resource_types'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/oam/get_sink.py b/sdk/python/pulumi_aws_native/oam/get_sink.py index 7705c46fc4..1d1eac4ba4 100644 --- a/sdk/python/pulumi_aws_native/oam/get_sink.py +++ b/sdk/python/pulumi_aws_native/oam/get_sink.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -84,9 +89,6 @@ def get_sink(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), policy=pulumi.get(__ret__, 'policy'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_sink) def get_sink_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSinkResult]: """ @@ -95,4 +97,11 @@ def get_sink_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon resource name (ARN) of the ObservabilityAccessManager Sink """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:oam:getSink', __args__, opts=opts, typ=GetSinkResult) + return __ret__.apply(lambda __response__: GetSinkResult( + arn=pulumi.get(__response__, 'arn'), + policy=pulumi.get(__response__, 'policy'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/oam/link.py b/sdk/python/pulumi_aws_native/oam/link.py index 81212a474e..0f0e31a8de 100644 --- a/sdk/python/pulumi_aws_native/oam/link.py +++ b/sdk/python/pulumi_aws_native/oam/link.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/oam/outputs.py b/sdk/python/pulumi_aws_native/oam/outputs.py index df409d63e9..a9e249f89c 100644 --- a/sdk/python/pulumi_aws_native/oam/outputs.py +++ b/sdk/python/pulumi_aws_native/oam/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/oam/sink.py b/sdk/python/pulumi_aws_native/oam/sink.py index 48fb4a8ec9..726d28d2f8 100644 --- a/sdk/python/pulumi_aws_native/oam/sink.py +++ b/sdk/python/pulumi_aws_native/oam/sink.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SinkArgs', 'Sink'] diff --git a/sdk/python/pulumi_aws_native/omics/_inputs.py b/sdk/python/pulumi_aws_native/omics/_inputs.py index 66ce3cb522..10671e4451 100644 --- a/sdk/python/pulumi_aws_native/omics/_inputs.py +++ b/sdk/python/pulumi_aws_native/omics/_inputs.py @@ -4,24 +4,49 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AnnotationStoreReferenceItemArgs', + 'AnnotationStoreReferenceItemArgsDict', 'AnnotationStoreSseConfigArgs', + 'AnnotationStoreSseConfigArgsDict', 'AnnotationStoreStoreOptionsPropertiesArgs', + 'AnnotationStoreStoreOptionsPropertiesArgsDict', 'AnnotationStoreTsvStoreOptionsArgs', + 'AnnotationStoreTsvStoreOptionsArgsDict', 'ReferenceStoreSseConfigArgs', + 'ReferenceStoreSseConfigArgsDict', 'SequenceStoreSseConfigArgs', + 'SequenceStoreSseConfigArgsDict', 'VariantStoreReferenceItemArgs', + 'VariantStoreReferenceItemArgsDict', 'VariantStoreSseConfigArgs', + 'VariantStoreSseConfigArgsDict', 'WorkflowParameterArgs', + 'WorkflowParameterArgsDict', ] +MYPY = False + +if not MYPY: + class AnnotationStoreReferenceItemArgsDict(TypedDict): + reference_arn: pulumi.Input[str] + """ + The reference's ARN. + """ +elif False: + AnnotationStoreReferenceItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnnotationStoreReferenceItemArgs: def __init__(__self__, *, @@ -44,6 +69,19 @@ def reference_arn(self, value: pulumi.Input[str]): pulumi.set(self, "reference_arn", value) +if not MYPY: + class AnnotationStoreSseConfigArgsDict(TypedDict): + type: pulumi.Input['AnnotationStoreEncryptionType'] + """ + The encryption type. + """ + key_arn: NotRequired[pulumi.Input[str]] + """ + An encryption key ARN. + """ +elif False: + AnnotationStoreSseConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnnotationStoreSseConfigArgs: def __init__(__self__, *, @@ -82,6 +120,12 @@ def key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_arn", value) +if not MYPY: + class AnnotationStoreStoreOptionsPropertiesArgsDict(TypedDict): + tsv_store_options: pulumi.Input['AnnotationStoreTsvStoreOptionsArgsDict'] +elif False: + AnnotationStoreStoreOptionsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnnotationStoreStoreOptionsPropertiesArgs: def __init__(__self__, *, @@ -98,6 +142,14 @@ def tsv_store_options(self, value: pulumi.Input['AnnotationStoreTsvStoreOptionsA pulumi.set(self, "tsv_store_options", value) +if not MYPY: + class AnnotationStoreTsvStoreOptionsArgsDict(TypedDict): + annotation_type: NotRequired[pulumi.Input['AnnotationStoreAnnotationType']] + format_to_header: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + schema: NotRequired[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input['AnnotationStoreSchemaValueType']]]]]] +elif False: + AnnotationStoreTsvStoreOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnnotationStoreTsvStoreOptionsArgs: def __init__(__self__, *, @@ -139,6 +191,22 @@ def schema(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.set(self, "schema", value) +if not MYPY: + class ReferenceStoreSseConfigArgsDict(TypedDict): + """ + Server-side encryption (SSE) settings for a store. + """ + type: pulumi.Input['ReferenceStoreEncryptionType'] + """ + The encryption type. + """ + key_arn: NotRequired[pulumi.Input[str]] + """ + An encryption key ARN. + """ +elif False: + ReferenceStoreSseConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReferenceStoreSseConfigArgs: def __init__(__self__, *, @@ -178,6 +246,22 @@ def key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_arn", value) +if not MYPY: + class SequenceStoreSseConfigArgsDict(TypedDict): + """ + Server-side encryption (SSE) settings for a store. + """ + type: pulumi.Input['SequenceStoreEncryptionType'] + """ + The encryption type. + """ + key_arn: NotRequired[pulumi.Input[str]] + """ + An encryption key ARN. + """ +elif False: + SequenceStoreSseConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SequenceStoreSseConfigArgs: def __init__(__self__, *, @@ -217,6 +301,15 @@ def key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_arn", value) +if not MYPY: + class VariantStoreReferenceItemArgsDict(TypedDict): + reference_arn: pulumi.Input[str] + """ + The reference's ARN. + """ +elif False: + VariantStoreReferenceItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VariantStoreReferenceItemArgs: def __init__(__self__, *, @@ -239,6 +332,19 @@ def reference_arn(self, value: pulumi.Input[str]): pulumi.set(self, "reference_arn", value) +if not MYPY: + class VariantStoreSseConfigArgsDict(TypedDict): + type: pulumi.Input['VariantStoreEncryptionType'] + """ + The encryption type. + """ + key_arn: NotRequired[pulumi.Input[str]] + """ + An encryption key ARN. + """ +elif False: + VariantStoreSseConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VariantStoreSseConfigArgs: def __init__(__self__, *, @@ -277,6 +383,19 @@ def key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key_arn", value) +if not MYPY: + class WorkflowParameterArgsDict(TypedDict): + description: NotRequired[pulumi.Input[str]] + """ + The parameter's description. + """ + optional: NotRequired[pulumi.Input[bool]] + """ + Whether the parameter is optional. + """ +elif False: + WorkflowParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowParameterArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/omics/annotation_store.py b/sdk/python/pulumi_aws_native/omics/annotation_store.py index c1fde7064b..3b86586ca6 100644 --- a/sdk/python/pulumi_aws_native/omics/annotation_store.py +++ b/sdk/python/pulumi_aws_native/omics/annotation_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/omics/get_annotation_store.py b/sdk/python/pulumi_aws_native/omics/get_annotation_store.py index dadd4c91a0..ff05c633e4 100644 --- a/sdk/python/pulumi_aws_native/omics/get_annotation_store.py +++ b/sdk/python/pulumi_aws_native/omics/get_annotation_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -148,9 +153,6 @@ def get_annotation_store(name: Optional[str] = None, store_arn=pulumi.get(__ret__, 'store_arn'), store_size_bytes=pulumi.get(__ret__, 'store_size_bytes'), update_time=pulumi.get(__ret__, 'update_time')) - - -@_utilities.lift_output_func(get_annotation_store) def get_annotation_store_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAnnotationStoreResult]: """ @@ -159,4 +161,16 @@ def get_annotation_store_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the Annotation Store. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:omics:getAnnotationStore', __args__, opts=opts, typ=GetAnnotationStoreResult) + return __ret__.apply(lambda __response__: GetAnnotationStoreResult( + creation_time=pulumi.get(__response__, 'creation_time'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + status=pulumi.get(__response__, 'status'), + status_message=pulumi.get(__response__, 'status_message'), + store_arn=pulumi.get(__response__, 'store_arn'), + store_size_bytes=pulumi.get(__response__, 'store_size_bytes'), + update_time=pulumi.get(__response__, 'update_time'))) diff --git a/sdk/python/pulumi_aws_native/omics/get_reference_store.py b/sdk/python/pulumi_aws_native/omics/get_reference_store.py index 44fd793594..10f829a12f 100644 --- a/sdk/python/pulumi_aws_native/omics/get_reference_store.py +++ b/sdk/python/pulumi_aws_native/omics/get_reference_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_reference_store(reference_store_id: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), creation_time=pulumi.get(__ret__, 'creation_time'), reference_store_id=pulumi.get(__ret__, 'reference_store_id')) - - -@_utilities.lift_output_func(get_reference_store) def get_reference_store_output(reference_store_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReferenceStoreResult]: """ @@ -93,4 +95,11 @@ def get_reference_store_output(reference_store_id: Optional[pulumi.Input[str]] = :param str reference_store_id: The store's ID. """ - ... + __args__ = dict() + __args__['referenceStoreId'] = reference_store_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:omics:getReferenceStore', __args__, opts=opts, typ=GetReferenceStoreResult) + return __ret__.apply(lambda __response__: GetReferenceStoreResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + reference_store_id=pulumi.get(__response__, 'reference_store_id'))) diff --git a/sdk/python/pulumi_aws_native/omics/get_run_group.py b/sdk/python/pulumi_aws_native/omics/get_run_group.py index 4ce3e8582d..1f6d28dcb2 100644 --- a/sdk/python/pulumi_aws_native/omics/get_run_group.py +++ b/sdk/python/pulumi_aws_native/omics/get_run_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -160,9 +165,6 @@ def get_run_group(id: Optional[str] = None, max_runs=pulumi.get(__ret__, 'max_runs'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_run_group) def get_run_group_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRunGroupResult]: """ @@ -171,4 +173,17 @@ def get_run_group_output(id: Optional[pulumi.Input[str]] = None, :param str id: The run group's ID. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:omics:getRunGroup', __args__, opts=opts, typ=GetRunGroupResult) + return __ret__.apply(lambda __response__: GetRunGroupResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + id=pulumi.get(__response__, 'id'), + max_cpus=pulumi.get(__response__, 'max_cpus'), + max_duration=pulumi.get(__response__, 'max_duration'), + max_gpus=pulumi.get(__response__, 'max_gpus'), + max_runs=pulumi.get(__response__, 'max_runs'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/omics/get_sequence_store.py b/sdk/python/pulumi_aws_native/omics/get_sequence_store.py index 843099b12f..80a93548bd 100644 --- a/sdk/python/pulumi_aws_native/omics/get_sequence_store.py +++ b/sdk/python/pulumi_aws_native/omics/get_sequence_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_sequence_store(sequence_store_id: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), creation_time=pulumi.get(__ret__, 'creation_time'), sequence_store_id=pulumi.get(__ret__, 'sequence_store_id')) - - -@_utilities.lift_output_func(get_sequence_store) def get_sequence_store_output(sequence_store_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSequenceStoreResult]: """ @@ -93,4 +95,11 @@ def get_sequence_store_output(sequence_store_id: Optional[pulumi.Input[str]] = N :param str sequence_store_id: The store's ID. """ - ... + __args__ = dict() + __args__['sequenceStoreId'] = sequence_store_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:omics:getSequenceStore', __args__, opts=opts, typ=GetSequenceStoreResult) + return __ret__.apply(lambda __response__: GetSequenceStoreResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + sequence_store_id=pulumi.get(__response__, 'sequence_store_id'))) diff --git a/sdk/python/pulumi_aws_native/omics/get_variant_store.py b/sdk/python/pulumi_aws_native/omics/get_variant_store.py index 2cad071c2f..e34c33d3cc 100644 --- a/sdk/python/pulumi_aws_native/omics/get_variant_store.py +++ b/sdk/python/pulumi_aws_native/omics/get_variant_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -148,9 +153,6 @@ def get_variant_store(name: Optional[str] = None, store_arn=pulumi.get(__ret__, 'store_arn'), store_size_bytes=pulumi.get(__ret__, 'store_size_bytes'), update_time=pulumi.get(__ret__, 'update_time')) - - -@_utilities.lift_output_func(get_variant_store) def get_variant_store_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVariantStoreResult]: """ @@ -159,4 +161,16 @@ def get_variant_store_output(name: Optional[pulumi.Input[str]] = None, :param str name: A name for the store. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:omics:getVariantStore', __args__, opts=opts, typ=GetVariantStoreResult) + return __ret__.apply(lambda __response__: GetVariantStoreResult( + creation_time=pulumi.get(__response__, 'creation_time'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + status=pulumi.get(__response__, 'status'), + status_message=pulumi.get(__response__, 'status_message'), + store_arn=pulumi.get(__response__, 'store_arn'), + store_size_bytes=pulumi.get(__response__, 'store_size_bytes'), + update_time=pulumi.get(__response__, 'update_time'))) diff --git a/sdk/python/pulumi_aws_native/omics/get_workflow.py b/sdk/python/pulumi_aws_native/omics/get_workflow.py index 441c500049..b359c21003 100644 --- a/sdk/python/pulumi_aws_native/omics/get_workflow.py +++ b/sdk/python/pulumi_aws_native/omics/get_workflow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -148,9 +153,6 @@ def get_workflow(id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_workflow) def get_workflow_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkflowResult]: """ @@ -159,4 +161,16 @@ def get_workflow_output(id: Optional[pulumi.Input[str]] = None, :param str id: The workflow's ID. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:omics:getWorkflow', __args__, opts=opts, typ=GetWorkflowResult) + return __ret__.apply(lambda __response__: GetWorkflowResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/omics/outputs.py b/sdk/python/pulumi_aws_native/omics/outputs.py index 1424d7a566..7bf42f12c3 100644 --- a/sdk/python/pulumi_aws_native/omics/outputs.py +++ b/sdk/python/pulumi_aws_native/omics/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/omics/reference_store.py b/sdk/python/pulumi_aws_native/omics/reference_store.py index cd94622972..ded7186758 100644 --- a/sdk/python/pulumi_aws_native/omics/reference_store.py +++ b/sdk/python/pulumi_aws_native/omics/reference_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/omics/run_group.py b/sdk/python/pulumi_aws_native/omics/run_group.py index 8abe014444..b137da8e44 100644 --- a/sdk/python/pulumi_aws_native/omics/run_group.py +++ b/sdk/python/pulumi_aws_native/omics/run_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['RunGroupArgs', 'RunGroup'] diff --git a/sdk/python/pulumi_aws_native/omics/sequence_store.py b/sdk/python/pulumi_aws_native/omics/sequence_store.py index f8381e27a9..0c9300b3fb 100644 --- a/sdk/python/pulumi_aws_native/omics/sequence_store.py +++ b/sdk/python/pulumi_aws_native/omics/sequence_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/omics/variant_store.py b/sdk/python/pulumi_aws_native/omics/variant_store.py index be39e170ca..bd3ce85977 100644 --- a/sdk/python/pulumi_aws_native/omics/variant_store.py +++ b/sdk/python/pulumi_aws_native/omics/variant_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/omics/workflow.py b/sdk/python/pulumi_aws_native/omics/workflow.py index c3bae8618c..39bf93bdf4 100644 --- a/sdk/python/pulumi_aws_native/omics/workflow.py +++ b/sdk/python/pulumi_aws_native/omics/workflow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/_inputs.py b/sdk/python/pulumi_aws_native/opensearchserverless/_inputs.py index 10a73ee9eb..32e6441c68 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/_inputs.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/_inputs.py @@ -4,16 +4,48 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'SecurityConfigSamlConfigOptionsArgs', + 'SecurityConfigSamlConfigOptionsArgsDict', ] +MYPY = False + +if not MYPY: + class SecurityConfigSamlConfigOptionsArgsDict(TypedDict): + """ + Describes saml options in form of key value map + """ + metadata: pulumi.Input[str] + """ + The XML saml provider metadata document that you want to use + """ + group_attribute: NotRequired[pulumi.Input[str]] + """ + Group attribute for this saml integration + """ + session_timeout: NotRequired[pulumi.Input[int]] + """ + Defines the session timeout in minutes + """ + user_attribute: NotRequired[pulumi.Input[str]] + """ + Custom attribute for this saml integration + """ +elif False: + SecurityConfigSamlConfigOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityConfigSamlConfigOptionsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/access_policy.py b/sdk/python/pulumi_aws_native/opensearchserverless/access_policy.py index d867074842..34e8862699 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/access_policy.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/access_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/collection.py b/sdk/python/pulumi_aws_native/opensearchserverless/collection.py index 3bed2ce614..9a311ca0b7 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/collection.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/collection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/get_access_policy.py b/sdk/python/pulumi_aws_native/opensearchserverless/get_access_policy.py index 8e42a64b7e..265800cbba 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/get_access_policy.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/get_access_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -73,9 +78,6 @@ def get_access_policy(name: Optional[str] = None, return AwaitableGetAccessPolicyResult( description=pulumi.get(__ret__, 'description'), policy=pulumi.get(__ret__, 'policy')) - - -@_utilities.lift_output_func(get_access_policy) def get_access_policy_output(name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input['AccessPolicyType']] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPolicyResult]: @@ -86,4 +88,11 @@ def get_access_policy_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the policy :param 'AccessPolicyType' type: The type of access policy. Currently the only option is `data` . """ - ... + __args__ = dict() + __args__['name'] = name + __args__['type'] = type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:opensearchserverless:getAccessPolicy', __args__, opts=opts, typ=GetAccessPolicyResult) + return __ret__.apply(lambda __response__: GetAccessPolicyResult( + description=pulumi.get(__response__, 'description'), + policy=pulumi.get(__response__, 'policy'))) diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/get_collection.py b/sdk/python/pulumi_aws_native/opensearchserverless/get_collection.py index 2a35074a8b..dfbcf8c6b1 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/get_collection.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/get_collection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -122,9 +127,6 @@ def get_collection(id: Optional[str] = None, description=pulumi.get(__ret__, 'description'), id=pulumi.get(__ret__, 'id'), standby_replicas=pulumi.get(__ret__, 'standby_replicas')) - - -@_utilities.lift_output_func(get_collection) def get_collection_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCollectionResult]: """ @@ -133,4 +135,14 @@ def get_collection_output(id: Optional[pulumi.Input[str]] = None, :param str id: The identifier of the collection """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:opensearchserverless:getCollection', __args__, opts=opts, typ=GetCollectionResult) + return __ret__.apply(lambda __response__: GetCollectionResult( + arn=pulumi.get(__response__, 'arn'), + collection_endpoint=pulumi.get(__response__, 'collection_endpoint'), + dashboard_endpoint=pulumi.get(__response__, 'dashboard_endpoint'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + standby_replicas=pulumi.get(__response__, 'standby_replicas'))) diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/get_lifecycle_policy.py b/sdk/python/pulumi_aws_native/opensearchserverless/get_lifecycle_policy.py index 01fd5de517..bb7a30e917 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/get_lifecycle_policy.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/get_lifecycle_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -73,9 +78,6 @@ def get_lifecycle_policy(name: Optional[str] = None, return AwaitableGetLifecyclePolicyResult( description=pulumi.get(__ret__, 'description'), policy=pulumi.get(__ret__, 'policy')) - - -@_utilities.lift_output_func(get_lifecycle_policy) def get_lifecycle_policy_output(name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input['LifecyclePolicyType']] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLifecyclePolicyResult]: @@ -86,4 +88,11 @@ def get_lifecycle_policy_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the policy :param 'LifecyclePolicyType' type: The type of lifecycle policy. """ - ... + __args__ = dict() + __args__['name'] = name + __args__['type'] = type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:opensearchserverless:getLifecyclePolicy', __args__, opts=opts, typ=GetLifecyclePolicyResult) + return __ret__.apply(lambda __response__: GetLifecyclePolicyResult( + description=pulumi.get(__response__, 'description'), + policy=pulumi.get(__response__, 'policy'))) diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/get_security_config.py b/sdk/python/pulumi_aws_native/opensearchserverless/get_security_config.py index 4ee7fd0a07..6cc260cde8 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/get_security_config.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/get_security_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_security_config(id: Optional[str] = None, description=pulumi.get(__ret__, 'description'), id=pulumi.get(__ret__, 'id'), saml_options=pulumi.get(__ret__, 'saml_options')) - - -@_utilities.lift_output_func(get_security_config) def get_security_config_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityConfigResult]: """ @@ -94,4 +96,11 @@ def get_security_config_output(id: Optional[pulumi.Input[str]] = None, :param str id: The identifier of the security config """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:opensearchserverless:getSecurityConfig', __args__, opts=opts, typ=GetSecurityConfigResult) + return __ret__.apply(lambda __response__: GetSecurityConfigResult( + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + saml_options=pulumi.get(__response__, 'saml_options'))) diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/get_security_policy.py b/sdk/python/pulumi_aws_native/opensearchserverless/get_security_policy.py index fc63407227..18c356878b 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/get_security_policy.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/get_security_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -73,9 +78,6 @@ def get_security_policy(name: Optional[str] = None, return AwaitableGetSecurityPolicyResult( description=pulumi.get(__ret__, 'description'), policy=pulumi.get(__ret__, 'policy')) - - -@_utilities.lift_output_func(get_security_policy) def get_security_policy_output(name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input['SecurityPolicyType']] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityPolicyResult]: @@ -86,4 +88,11 @@ def get_security_policy_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the policy :param 'SecurityPolicyType' type: The type of security policy. Can be either `encryption` or `network` . """ - ... + __args__ = dict() + __args__['name'] = name + __args__['type'] = type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:opensearchserverless:getSecurityPolicy', __args__, opts=opts, typ=GetSecurityPolicyResult) + return __ret__.apply(lambda __response__: GetSecurityPolicyResult( + description=pulumi.get(__response__, 'description'), + policy=pulumi.get(__response__, 'policy'))) diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/get_vpc_endpoint.py b/sdk/python/pulumi_aws_native/opensearchserverless/get_vpc_endpoint.py index aa1ecb1e0f..698d701d69 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/get_vpc_endpoint.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/get_vpc_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_vpc_endpoint(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), security_group_ids=pulumi.get(__ret__, 'security_group_ids'), subnet_ids=pulumi.get(__ret__, 'subnet_ids')) - - -@_utilities.lift_output_func(get_vpc_endpoint) def get_vpc_endpoint_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcEndpointResult]: """ @@ -93,4 +95,11 @@ def get_vpc_endpoint_output(id: Optional[pulumi.Input[str]] = None, :param str id: The identifier of the VPC Endpoint """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:opensearchserverless:getVpcEndpoint', __args__, opts=opts, typ=GetVpcEndpointResult) + return __ret__.apply(lambda __response__: GetVpcEndpointResult( + id=pulumi.get(__response__, 'id'), + security_group_ids=pulumi.get(__response__, 'security_group_ids'), + subnet_ids=pulumi.get(__response__, 'subnet_ids'))) diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/lifecycle_policy.py b/sdk/python/pulumi_aws_native/opensearchserverless/lifecycle_policy.py index 937d92cfcc..64cd039660 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/lifecycle_policy.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/lifecycle_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/outputs.py b/sdk/python/pulumi_aws_native/opensearchserverless/outputs.py index 452da8809d..fca7d2cafe 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/outputs.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/security_config.py b/sdk/python/pulumi_aws_native/opensearchserverless/security_config.py index ccb858a5db..46b0d2afd8 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/security_config.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/security_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/security_policy.py b/sdk/python/pulumi_aws_native/opensearchserverless/security_policy.py index 966b6c1c09..d6564d47e0 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/security_policy.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/security_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/opensearchserverless/vpc_endpoint.py b/sdk/python/pulumi_aws_native/opensearchserverless/vpc_endpoint.py index db8a036a48..46831f7b9e 100644 --- a/sdk/python/pulumi_aws_native/opensearchserverless/vpc_endpoint.py +++ b/sdk/python/pulumi_aws_native/opensearchserverless/vpc_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['VpcEndpointArgs', 'VpcEndpoint'] diff --git a/sdk/python/pulumi_aws_native/opensearchservice/_inputs.py b/sdk/python/pulumi_aws_native/opensearchservice/_inputs.py index 4d1ff11ea9..bae7121f52 100644 --- a/sdk/python/pulumi_aws_native/opensearchservice/_inputs.py +++ b/sdk/python/pulumi_aws_native/opensearchservice/_inputs.py @@ -4,34 +4,94 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'DomainAdvancedSecurityOptionsInputArgs', + 'DomainAdvancedSecurityOptionsInputArgsDict', 'DomainClusterConfigArgs', + 'DomainClusterConfigArgsDict', 'DomainCognitoOptionsArgs', + 'DomainCognitoOptionsArgsDict', 'DomainColdStorageOptionsArgs', + 'DomainColdStorageOptionsArgsDict', 'DomainEbsOptionsArgs', + 'DomainEbsOptionsArgsDict', 'DomainEncryptionAtRestOptionsArgs', + 'DomainEncryptionAtRestOptionsArgsDict', 'DomainEndpointOptionsArgs', + 'DomainEndpointOptionsArgsDict', 'DomainIdpArgs', + 'DomainIdpArgsDict', 'DomainJwtOptionsArgs', + 'DomainJwtOptionsArgsDict', 'DomainLogPublishingOptionArgs', + 'DomainLogPublishingOptionArgsDict', 'DomainMasterUserOptionsArgs', + 'DomainMasterUserOptionsArgsDict', 'DomainNodeToNodeEncryptionOptionsArgs', + 'DomainNodeToNodeEncryptionOptionsArgsDict', 'DomainOffPeakWindowOptionsArgs', + 'DomainOffPeakWindowOptionsArgsDict', 'DomainOffPeakWindowArgs', + 'DomainOffPeakWindowArgsDict', 'DomainSamlOptionsArgs', + 'DomainSamlOptionsArgsDict', 'DomainSnapshotOptionsArgs', + 'DomainSnapshotOptionsArgsDict', 'DomainSoftwareUpdateOptionsArgs', + 'DomainSoftwareUpdateOptionsArgsDict', 'DomainVpcOptionsArgs', + 'DomainVpcOptionsArgsDict', 'DomainWindowStartTimeArgs', + 'DomainWindowStartTimeArgsDict', 'DomainZoneAwarenessConfigArgs', + 'DomainZoneAwarenessConfigArgsDict', ] +MYPY = False + +if not MYPY: + class DomainAdvancedSecurityOptionsInputArgsDict(TypedDict): + anonymous_auth_disable_date: NotRequired[pulumi.Input[str]] + """ + Date and time when the migration period will be disabled. Only necessary when [enabling fine-grained access control on an existing domain](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing) . + """ + anonymous_auth_enabled: NotRequired[pulumi.Input[bool]] + """ + True to enable a 30-day migration period during which administrators can create role mappings. Only necessary when [enabling fine-grained access control on an existing domain](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing) . + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + True to enable fine-grained access control. You must also enable encryption of data at rest and node-to-node encryption. See [Fine-grained access control in Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html) . + """ + internal_user_database_enabled: NotRequired[pulumi.Input[bool]] + """ + True to enable the internal user database. + """ + jwt_options: NotRequired[pulumi.Input['DomainJwtOptionsArgsDict']] + """ + Container for information about the JWT configuration of the Amazon OpenSearch Service. + """ + master_user_options: NotRequired[pulumi.Input['DomainMasterUserOptionsArgsDict']] + """ + Specifies information about the master user. + """ + saml_options: NotRequired[pulumi.Input['DomainSamlOptionsArgsDict']] + """ + Container for information about the SAML configuration for OpenSearch Dashboards. + """ +elif False: + DomainAdvancedSecurityOptionsInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainAdvancedSecurityOptionsInputArgs: def __init__(__self__, *, @@ -151,6 +211,59 @@ def saml_options(self, value: Optional[pulumi.Input['DomainSamlOptionsArgs']]): pulumi.set(self, "saml_options", value) +if not MYPY: + class DomainClusterConfigArgsDict(TypedDict): + cold_storage_options: NotRequired[pulumi.Input['DomainColdStorageOptionsArgsDict']] + """ + Container for cold storage configuration options. + """ + dedicated_master_count: NotRequired[pulumi.Input[int]] + """ + The number of instances to use for the master node. If you specify this property, you must specify `true` for the `DedicatedMasterEnabled` property. + """ + dedicated_master_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to use a dedicated master node for the OpenSearch Service domain. A dedicated master node is a cluster node that performs cluster management tasks, but doesn't hold data or respond to data upload requests. Dedicated master nodes offload cluster management tasks to increase the stability of your search clusters. See [Dedicated master nodes in Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-dedicatedmasternodes.html) . + """ + dedicated_master_type: NotRequired[pulumi.Input[str]] + """ + The hardware configuration of the computer that hosts the dedicated master node, such as `m3.medium.search` . If you specify this property, you must specify `true` for the `DedicatedMasterEnabled` property. For valid values, see [Supported instance types in Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html) . + """ + instance_count: NotRequired[pulumi.Input[int]] + """ + The number of data nodes (instances) to use in the OpenSearch Service domain. + """ + instance_type: NotRequired[pulumi.Input[str]] + """ + The instance type for your data nodes, such as `m3.medium.search` . For valid values, see [Supported instance types in Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html) . + """ + multi_az_with_standby_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether Multi-AZ with Standby deployment option is enabled. For more information, see [Multi-AZ with Standby](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html#managedomains-za-standby) . + """ + warm_count: NotRequired[pulumi.Input[int]] + """ + The number of warm nodes in the cluster. + """ + warm_enabled: NotRequired[pulumi.Input[bool]] + """ + Whether to enable UltraWarm storage for the cluster. See [UltraWarm storage for Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ultrawarm.html) . + """ + warm_type: NotRequired[pulumi.Input[str]] + """ + The instance type for the cluster's warm nodes. + """ + zone_awareness_config: NotRequired[pulumi.Input['DomainZoneAwarenessConfigArgsDict']] + """ + Specifies zone awareness configuration options. Only use if `ZoneAwarenessEnabled` is `true` . + """ + zone_awareness_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to enable zone awareness for the OpenSearch Service domain. When you enable zone awareness, OpenSearch Service allocates the nodes and replica index shards that belong to a cluster across two Availability Zones (AZs) in the same region to prevent data loss and minimize downtime in the event of node or data center failure. Don't enable zone awareness if your cluster has no replica index shards or is a single-node cluster. For more information, see [Configuring a multi-AZ domain in Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html) . + """ +elif False: + DomainClusterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainClusterConfigArgs: def __init__(__self__, *, @@ -350,6 +463,33 @@ def zone_awareness_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "zone_awareness_enabled", value) +if not MYPY: + class DomainCognitoOptionsArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards. See [Amazon Cognito authentication for OpenSearch Dashboards](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cognito-auth.html) . + """ + identity_pool_id: NotRequired[pulumi.Input[str]] + """ + The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication. + + Required if you enabled Cognito Authentication for OpenSearch Dashboards. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The `AmazonOpenSearchServiceCognitoAccess` role that allows OpenSearch Service to configure your user pool and identity pool. + + Required if you enabled Cognito Authentication for OpenSearch Dashboards. + """ + user_pool_id: NotRequired[pulumi.Input[str]] + """ + The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication. + + Required if you enabled Cognito Authentication for OpenSearch Dashboards. + """ +elif False: + DomainCognitoOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainCognitoOptionsArgs: def __init__(__self__, *, @@ -433,6 +573,15 @@ def user_pool_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_pool_id", value) +if not MYPY: + class DomainColdStorageOptionsArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Whether to enable or disable cold storage on the domain. You must enable UltraWarm storage to enable cold storage. + """ +elif False: + DomainColdStorageOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainColdStorageOptionsArgs: def __init__(__self__, *, @@ -456,6 +605,31 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class DomainEbsOptionsArgsDict(TypedDict): + ebs_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon EBS volumes are attached to data nodes in the OpenSearch Service domain. + """ + iops: NotRequired[pulumi.Input[int]] + """ + The number of I/O operations per second (IOPS) that the volume supports. This property applies only to the `gp3` and provisioned IOPS EBS volume types. + """ + throughput: NotRequired[pulumi.Input[int]] + """ + The throughput (in MiB/s) of the EBS volumes attached to data nodes. Applies only to the `gp3` volume type. + """ + volume_size: NotRequired[pulumi.Input[int]] + """ + The size (in GiB) of the EBS volume for each data node. The minimum and maximum size of an EBS volume depends on the EBS volume type and the instance type to which it is attached. For more information, see [EBS volume size limits](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#ebsresource) in the *Amazon OpenSearch Service Developer Guide* . + """ + volume_type: NotRequired[pulumi.Input[str]] + """ + The EBS volume type to use with the OpenSearch Service domain. If you choose `gp3` , you must also specify values for `Iops` and `Throughput` . For more information about each type, see [Amazon EBS volume types](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html) in the *Amazon EC2 User Guide for Linux Instances* . + """ +elif False: + DomainEbsOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainEbsOptionsArgs: def __init__(__self__, *, @@ -543,6 +717,25 @@ def volume_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_type", value) +if not MYPY: + class DomainEncryptionAtRestOptionsArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Specify `true` to enable encryption at rest. Required if you enable fine-grained access control in [AdvancedSecurityOptionsInput](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html) . + + If no encryption at rest options were initially specified in the template, updating this property by adding it causes no interruption. However, if you change this property after it's already been set within a template, the domain is deleted and recreated in order to modify the property. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The KMS key ID. Takes the form `1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a` . Required if you enable encryption at rest. + + You can also use `keyAlias` as a value. + + If no encryption at rest options were initially specified in the template, updating this property by adding it causes no interruption. However, if you change this property after it's already been set within a template, the domain is deleted and recreated in order to modify the property. + """ +elif False: + DomainEncryptionAtRestOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainEncryptionAtRestOptionsArgs: def __init__(__self__, *, @@ -594,6 +787,35 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class DomainEndpointOptionsArgsDict(TypedDict): + custom_endpoint: NotRequired[pulumi.Input[str]] + """ + The fully qualified URL for your custom endpoint. Required if you enabled a custom endpoint for the domain. + """ + custom_endpoint_certificate_arn: NotRequired[pulumi.Input[str]] + """ + The AWS Certificate Manager ARN for your domain's SSL/TLS certificate. Required if you enabled a custom endpoint for the domain. + """ + custom_endpoint_enabled: NotRequired[pulumi.Input[bool]] + """ + True to enable a custom endpoint for the domain. If enabled, you must also provide values for `CustomEndpoint` and `CustomEndpointCertificateArn` . + """ + enforce_https: NotRequired[pulumi.Input[bool]] + """ + True to require that all traffic to the domain arrive over HTTPS. Required if you enable fine-grained access control in [AdvancedSecurityOptions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html) . + """ + tls_security_policy: NotRequired[pulumi.Input[str]] + """ + The minimum TLS version required for traffic to the domain. The policy can be one of the following values: + + - *Policy-Min-TLS-1-0-2019-07:* TLS security policy that supports TLS version 1.0 to TLS version 1.2 + - *Policy-Min-TLS-1-2-2019-07:* TLS security policy that supports only TLS version 1.2 + - *Policy-Min-TLS-1-2-PFS-2023-10:* TLS security policy that supports TLS version 1.2 to TLS version 1.3 with perfect forward secrecy cipher suites + """ +elif False: + DomainEndpointOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainEndpointOptionsArgs: def __init__(__self__, *, @@ -689,6 +911,19 @@ def tls_security_policy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tls_security_policy", value) +if not MYPY: + class DomainIdpArgsDict(TypedDict): + entity_id: pulumi.Input[str] + """ + The unique entity ID of the application in the SAML identity provider. + """ + metadata_content: pulumi.Input[str] + """ + The metadata of the SAML application, in XML format. + """ +elif False: + DomainIdpArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainIdpArgs: def __init__(__self__, *, @@ -726,6 +961,15 @@ def metadata_content(self, value: pulumi.Input[str]): pulumi.set(self, "metadata_content", value) +if not MYPY: + class DomainJwtOptionsArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + public_key: NotRequired[pulumi.Input[str]] + roles_key: NotRequired[pulumi.Input[str]] + subject_key: NotRequired[pulumi.Input[str]] +elif False: + DomainJwtOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainJwtOptionsArgs: def __init__(__self__, *, @@ -779,6 +1023,13 @@ def subject_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "subject_key", value) +if not MYPY: + class DomainLogPublishingOptionArgsDict(TypedDict): + cloud_watch_logs_log_group_arn: NotRequired[pulumi.Input[str]] + enabled: NotRequired[pulumi.Input[bool]] +elif False: + DomainLogPublishingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainLogPublishingOptionArgs: def __init__(__self__, *, @@ -808,6 +1059,27 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class DomainMasterUserOptionsArgsDict(TypedDict): + master_user_arn: NotRequired[pulumi.Input[str]] + """ + Amazon Resource Name (ARN) for the master user. The ARN can point to an IAM user or role. This property is required for Amazon Cognito to work, and it must match the role configured for Cognito. Only specify if `InternalUserDatabaseEnabled` is false in [AdvancedSecurityOptionsInput](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html) . + """ + master_user_name: NotRequired[pulumi.Input[str]] + """ + Username for the master user. Only specify if `InternalUserDatabaseEnabled` is true in [AdvancedSecurityOptionsInput](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html) . + + If you don't want to specify this value directly within the template, you can use a [dynamic reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html) instead. + """ + master_user_password: NotRequired[pulumi.Input[str]] + """ + Password for the master user. Only specify if `InternalUserDatabaseEnabled` is true in [AdvancedSecurityOptionsInput](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html) . + + If you don't want to specify this value directly within the template, you can use a [dynamic reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html) instead. + """ +elif False: + DomainMasterUserOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainMasterUserOptionsArgs: def __init__(__self__, *, @@ -871,6 +1143,15 @@ def master_user_password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "master_user_password", value) +if not MYPY: + class DomainNodeToNodeEncryptionOptionsArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies to enable or disable node-to-node encryption on the domain. Required if you enable fine-grained access control in [AdvancedSecurityOptionsInput](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html) . + """ +elif False: + DomainNodeToNodeEncryptionOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainNodeToNodeEncryptionOptionsArgs: def __init__(__self__, *, @@ -894,6 +1175,19 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class DomainOffPeakWindowOptionsArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether off-peak window settings are enabled for the domain. + """ + off_peak_window: NotRequired[pulumi.Input['DomainOffPeakWindowArgsDict']] + """ + Off-peak window settings for the domain. + """ +elif False: + DomainOffPeakWindowOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainOffPeakWindowOptionsArgs: def __init__(__self__, *, @@ -933,6 +1227,15 @@ def off_peak_window(self, value: Optional[pulumi.Input['DomainOffPeakWindowArgs' pulumi.set(self, "off_peak_window", value) +if not MYPY: + class DomainOffPeakWindowArgsDict(TypedDict): + window_start_time: NotRequired[pulumi.Input['DomainWindowStartTimeArgsDict']] + """ + The desired start time for an off-peak maintenance window. + """ +elif False: + DomainOffPeakWindowArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainOffPeakWindowArgs: def __init__(__self__, *, @@ -956,6 +1259,39 @@ def window_start_time(self, value: Optional[pulumi.Input['DomainWindowStartTimeA pulumi.set(self, "window_start_time", value) +if not MYPY: + class DomainSamlOptionsArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + True to enable SAML authentication for a domain. + """ + idp: NotRequired[pulumi.Input['DomainIdpArgsDict']] + """ + The SAML Identity Provider's information. + """ + master_backend_role: NotRequired[pulumi.Input[str]] + """ + The backend role that the SAML master user is mapped to. + """ + master_user_name: NotRequired[pulumi.Input[str]] + """ + The SAML master user name, which is stored in the domain's internal user database. + """ + roles_key: NotRequired[pulumi.Input[str]] + """ + Element of the SAML assertion to use for backend roles. Default is `roles` . + """ + session_timeout_minutes: NotRequired[pulumi.Input[int]] + """ + The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60. + """ + subject_key: NotRequired[pulumi.Input[str]] + """ + Element of the SAML assertion to use for the user name. Default is `NameID` . + """ +elif False: + DomainSamlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainSamlOptionsArgs: def __init__(__self__, *, @@ -1075,6 +1411,15 @@ def subject_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "subject_key", value) +if not MYPY: + class DomainSnapshotOptionsArgsDict(TypedDict): + automated_snapshot_start_hour: NotRequired[pulumi.Input[int]] + """ + The hour in UTC during which the service takes an automated daily snapshot of the indexes in the OpenSearch Service domain. For example, if you specify 0, OpenSearch Service takes an automated snapshot everyday between midnight and 1 am. You can specify a value between 0 and 23. + """ +elif False: + DomainSnapshotOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainSnapshotOptionsArgs: def __init__(__self__, *, @@ -1098,6 +1443,15 @@ def automated_snapshot_start_hour(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "automated_snapshot_start_hour", value) +if not MYPY: + class DomainSoftwareUpdateOptionsArgsDict(TypedDict): + auto_software_update_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether automatic service software updates are enabled for the domain. + """ +elif False: + DomainSoftwareUpdateOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainSoftwareUpdateOptionsArgs: def __init__(__self__, *, @@ -1121,6 +1475,21 @@ def auto_software_update_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "auto_software_update_enabled", value) +if not MYPY: + class DomainVpcOptionsArgsDict(TypedDict): + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of security group IDs that are associated with the VPC endpoints for the domain. If you don't provide a security group ID, OpenSearch Service uses the default security group for the VPC. To learn more, see [Security groups for your VPC](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html) in the *Amazon VPC User Guide* . + """ + subnet_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Provide one subnet ID for each Availability Zone that your domain uses. For example, you must specify three subnet IDs for a three-AZ domain. To learn more, see [VPCs and subnets](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in the *Amazon VPC User Guide* . + + If you specify more than one subnet, you must also configure `ZoneAwarenessEnabled` and `ZoneAwarenessConfig` within [ClusterConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-clusterconfig.html) , otherwise you'll see the error "You must specify exactly one subnet" during template creation. + """ +elif False: + DomainVpcOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainVpcOptionsArgs: def __init__(__self__, *, @@ -1164,6 +1533,19 @@ def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "subnet_ids", value) +if not MYPY: + class DomainWindowStartTimeArgsDict(TypedDict): + hours: pulumi.Input[int] + """ + The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time. For example, 17 refers to 5:00 P.M. UTC. The minimum value is 0 and the maximum value is 23. + """ + minutes: pulumi.Input[int] + """ + The start minute of the window, in UTC. The minimum value is 0 and the maximum value is 59. + """ +elif False: + DomainWindowStartTimeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainWindowStartTimeArgs: def __init__(__self__, *, @@ -1201,6 +1583,17 @@ def minutes(self, value: pulumi.Input[int]): pulumi.set(self, "minutes", value) +if not MYPY: + class DomainZoneAwarenessConfigArgsDict(TypedDict): + availability_zone_count: NotRequired[pulumi.Input[int]] + """ + If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use. + + Valid values are `2` and `3` . Default is 2. + """ +elif False: + DomainZoneAwarenessConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainZoneAwarenessConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/opensearchservice/domain.py b/sdk/python/pulumi_aws_native/opensearchservice/domain.py index 2e5d57d5df..9e64bf2fc8 100644 --- a/sdk/python/pulumi_aws_native/opensearchservice/domain.py +++ b/sdk/python/pulumi_aws_native/opensearchservice/domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py b/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py index 5ee77e7daa..cb313a8559 100644 --- a/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py +++ b/sdk/python/pulumi_aws_native/opensearchservice/get_domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -375,9 +380,6 @@ def get_domain(domain_name: Optional[str] = None, software_update_options=pulumi.get(__ret__, 'software_update_options'), tags=pulumi.get(__ret__, 'tags'), vpc_options=pulumi.get(__ret__, 'vpc_options')) - - -@_utilities.lift_output_func(get_domain) def get_domain_output(domain_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainResult]: """ @@ -390,4 +392,33 @@ def get_domain_output(domain_name: Optional[pulumi.Input[str]] = None, > If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. """ - ... + __args__ = dict() + __args__['domainName'] = domain_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:opensearchservice:getDomain', __args__, opts=opts, typ=GetDomainResult) + return __ret__.apply(lambda __response__: GetDomainResult( + access_policies=pulumi.get(__response__, 'access_policies'), + advanced_options=pulumi.get(__response__, 'advanced_options'), + advanced_security_options=pulumi.get(__response__, 'advanced_security_options'), + arn=pulumi.get(__response__, 'arn'), + cluster_config=pulumi.get(__response__, 'cluster_config'), + cognito_options=pulumi.get(__response__, 'cognito_options'), + domain_arn=pulumi.get(__response__, 'domain_arn'), + domain_endpoint=pulumi.get(__response__, 'domain_endpoint'), + domain_endpoint_options=pulumi.get(__response__, 'domain_endpoint_options'), + domain_endpoint_v2=pulumi.get(__response__, 'domain_endpoint_v2'), + domain_endpoints=pulumi.get(__response__, 'domain_endpoints'), + ebs_options=pulumi.get(__response__, 'ebs_options'), + encryption_at_rest_options=pulumi.get(__response__, 'encryption_at_rest_options'), + engine_version=pulumi.get(__response__, 'engine_version'), + id=pulumi.get(__response__, 'id'), + ip_address_type=pulumi.get(__response__, 'ip_address_type'), + log_publishing_options=pulumi.get(__response__, 'log_publishing_options'), + node_to_node_encryption_options=pulumi.get(__response__, 'node_to_node_encryption_options'), + off_peak_window_options=pulumi.get(__response__, 'off_peak_window_options'), + service_software_options=pulumi.get(__response__, 'service_software_options'), + skip_shard_migration_wait=pulumi.get(__response__, 'skip_shard_migration_wait'), + snapshot_options=pulumi.get(__response__, 'snapshot_options'), + software_update_options=pulumi.get(__response__, 'software_update_options'), + tags=pulumi.get(__response__, 'tags'), + vpc_options=pulumi.get(__response__, 'vpc_options'))) diff --git a/sdk/python/pulumi_aws_native/opensearchservice/outputs.py b/sdk/python/pulumi_aws_native/opensearchservice/outputs.py index 1cac371aad..b0d3f01c98 100644 --- a/sdk/python/pulumi_aws_native/opensearchservice/outputs.py +++ b/sdk/python/pulumi_aws_native/opensearchservice/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/opsworkscm/_inputs.py b/sdk/python/pulumi_aws_native/opsworkscm/_inputs.py index 3712871794..5d93f978bd 100644 --- a/sdk/python/pulumi_aws_native/opsworkscm/_inputs.py +++ b/sdk/python/pulumi_aws_native/opsworkscm/_inputs.py @@ -4,15 +4,60 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'ServerEngineAttributeArgs', + 'ServerEngineAttributeArgsDict', ] +MYPY = False + +if not MYPY: + class ServerEngineAttributeArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The name of the engine attribute. + + *Attribute name for Chef Automate servers:* + + - `CHEF_AUTOMATE_ADMIN_PASSWORD` + + *Attribute names for Puppet Enterprise servers:* + + - `PUPPET_ADMIN_PASSWORD` + - `PUPPET_R10K_REMOTE` + - `PUPPET_R10K_PRIVATE_KEY` + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of the engine attribute. + + *Attribute value for Chef Automate servers:* + + - `CHEF_AUTOMATE_PIVOTAL_KEY` : A base64-encoded RSA public key. The corresponding private key is required to access the Chef API. You can generate this key by running the following [OpenSSL](https://docs.aws.amazon.com/https://www.openssl.org/) command on Linux-based computers. + + `openssl genrsa -out *pivotal_key_file_name* .pem 2048` + + On Windows-based computers, you can use the PuTTYgen utility to generate a base64-encoded RSA private key. For more information, see [PuTTYgen - Key Generator for PuTTY on Windows](https://docs.aws.amazon.com/https://www.ssh.com/ssh/putty/windows/puttygen) on SSH.com. + + *Attribute values for Puppet Enterprise servers:* + + - `PUPPET_ADMIN_PASSWORD` : An administrator password that you can use to sign in to the Puppet Enterprise console webpage after the server is online. The password must use between 8 and 32 ASCII characters. + - `PUPPET_R10K_REMOTE` : The r10k remote is the URL of your control repository (for example, ssh://git@your.git-repo.com:user/control-repo.git). Specifying an r10k remote opens TCP port 8170. + - `PUPPET_R10K_PRIVATE_KEY` : If you are using a private Git repository, add `PUPPET_R10K_PRIVATE_KEY` to specify a PEM-encoded private SSH key. + """ +elif False: + ServerEngineAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServerEngineAttributeArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/opsworkscm/get_server.py b/sdk/python/pulumi_aws_native/opsworkscm/get_server.py index e359da1493..8e87d34640 100644 --- a/sdk/python/pulumi_aws_native/opsworkscm/get_server.py +++ b/sdk/python/pulumi_aws_native/opsworkscm/get_server.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -132,9 +137,6 @@ def get_server(server_name: Optional[str] = None, endpoint=pulumi.get(__ret__, 'endpoint'), preferred_backup_window=pulumi.get(__ret__, 'preferred_backup_window'), preferred_maintenance_window=pulumi.get(__ret__, 'preferred_maintenance_window')) - - -@_utilities.lift_output_func(get_server) def get_server_output(server_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerResult]: """ @@ -143,4 +145,14 @@ def get_server_output(server_name: Optional[pulumi.Input[str]] = None, :param str server_name: The name of the server. The server name must be unique within your AWS account, within each region. Server names must start with a letter; then letters, numbers, or hyphens (-) are allowed, up to a maximum of 40 characters. """ - ... + __args__ = dict() + __args__['serverName'] = server_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:opsworkscm:getServer', __args__, opts=opts, typ=GetServerResult) + return __ret__.apply(lambda __response__: GetServerResult( + arn=pulumi.get(__response__, 'arn'), + backup_retention_count=pulumi.get(__response__, 'backup_retention_count'), + disable_automated_backup=pulumi.get(__response__, 'disable_automated_backup'), + endpoint=pulumi.get(__response__, 'endpoint'), + preferred_backup_window=pulumi.get(__response__, 'preferred_backup_window'), + preferred_maintenance_window=pulumi.get(__response__, 'preferred_maintenance_window'))) diff --git a/sdk/python/pulumi_aws_native/opsworkscm/outputs.py b/sdk/python/pulumi_aws_native/opsworkscm/outputs.py index b9eb015d6a..b4ed967700 100644 --- a/sdk/python/pulumi_aws_native/opsworkscm/outputs.py +++ b/sdk/python/pulumi_aws_native/opsworkscm/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/opsworkscm/server.py b/sdk/python/pulumi_aws_native/opsworkscm/server.py index ac2f2c4e67..df6ef2e51d 100644 --- a/sdk/python/pulumi_aws_native/opsworkscm/server.py +++ b/sdk/python/pulumi_aws_native/opsworkscm/server.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/organizations/account.py b/sdk/python/pulumi_aws_native/organizations/account.py index ad82ed52c7..0cce01098b 100644 --- a/sdk/python/pulumi_aws_native/organizations/account.py +++ b/sdk/python/pulumi_aws_native/organizations/account.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/organizations/get_account.py b/sdk/python/pulumi_aws_native/organizations/get_account.py index e7dd94b99b..0fa816a2c3 100644 --- a/sdk/python/pulumi_aws_native/organizations/get_account.py +++ b/sdk/python/pulumi_aws_native/organizations/get_account.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -162,9 +167,6 @@ def get_account(account_id: Optional[str] = None, parent_ids=pulumi.get(__ret__, 'parent_ids'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_account) def get_account_output(account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountResult]: """ @@ -173,4 +175,17 @@ def get_account_output(account_id: Optional[pulumi.Input[str]] = None, :param str account_id: If the account was created successfully, the unique identifier (ID) of the new account. """ - ... + __args__ = dict() + __args__['accountId'] = account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:organizations:getAccount', __args__, opts=opts, typ=GetAccountResult) + return __ret__.apply(lambda __response__: GetAccountResult( + account_id=pulumi.get(__response__, 'account_id'), + account_name=pulumi.get(__response__, 'account_name'), + arn=pulumi.get(__response__, 'arn'), + email=pulumi.get(__response__, 'email'), + joined_method=pulumi.get(__response__, 'joined_method'), + joined_timestamp=pulumi.get(__response__, 'joined_timestamp'), + parent_ids=pulumi.get(__response__, 'parent_ids'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/organizations/get_organization.py b/sdk/python/pulumi_aws_native/organizations/get_organization.py index fcb685d10f..d834cfe70e 100644 --- a/sdk/python/pulumi_aws_native/organizations/get_organization.py +++ b/sdk/python/pulumi_aws_native/organizations/get_organization.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -135,9 +140,6 @@ def get_organization(id: Optional[str] = None, management_account_email=pulumi.get(__ret__, 'management_account_email'), management_account_id=pulumi.get(__ret__, 'management_account_id'), root_id=pulumi.get(__ret__, 'root_id')) - - -@_utilities.lift_output_func(get_organization) def get_organization_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationResult]: """ @@ -146,4 +148,15 @@ def get_organization_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique identifier (ID) of an organization. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:organizations:getOrganization', __args__, opts=opts, typ=GetOrganizationResult) + return __ret__.apply(lambda __response__: GetOrganizationResult( + arn=pulumi.get(__response__, 'arn'), + feature_set=pulumi.get(__response__, 'feature_set'), + id=pulumi.get(__response__, 'id'), + management_account_arn=pulumi.get(__response__, 'management_account_arn'), + management_account_email=pulumi.get(__response__, 'management_account_email'), + management_account_id=pulumi.get(__response__, 'management_account_id'), + root_id=pulumi.get(__response__, 'root_id'))) diff --git a/sdk/python/pulumi_aws_native/organizations/get_organizational_unit.py b/sdk/python/pulumi_aws_native/organizations/get_organizational_unit.py index 87898a8ec7..48e4f2017a 100644 --- a/sdk/python/pulumi_aws_native/organizations/get_organizational_unit.py +++ b/sdk/python/pulumi_aws_native/organizations/get_organizational_unit.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_organizational_unit(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_organizational_unit) def get_organizational_unit_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationalUnitResult]: """ @@ -107,4 +109,12 @@ def get_organizational_unit_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique identifier (ID) associated with this OU. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:organizations:getOrganizationalUnit', __args__, opts=opts, typ=GetOrganizationalUnitResult) + return __ret__.apply(lambda __response__: GetOrganizationalUnitResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/organizations/get_policy.py b/sdk/python/pulumi_aws_native/organizations/get_policy.py index f183fb5e31..ba08ab4fcf 100644 --- a/sdk/python/pulumi_aws_native/organizations/get_policy.py +++ b/sdk/python/pulumi_aws_native/organizations/get_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_policy(id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags'), target_ids=pulumi.get(__ret__, 'target_ids')) - - -@_utilities.lift_output_func(get_policy) def get_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyResult]: """ @@ -161,4 +163,16 @@ def get_policy_output(id: Optional[pulumi.Input[str]] = None, :param str id: Id of the Policy """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:organizations:getPolicy', __args__, opts=opts, typ=GetPolicyResult) + return __ret__.apply(lambda __response__: GetPolicyResult( + arn=pulumi.get(__response__, 'arn'), + aws_managed=pulumi.get(__response__, 'aws_managed'), + content=pulumi.get(__response__, 'content'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + target_ids=pulumi.get(__response__, 'target_ids'))) diff --git a/sdk/python/pulumi_aws_native/organizations/get_resource_policy.py b/sdk/python/pulumi_aws_native/organizations/get_resource_policy.py index 275756f8f2..3778ac0f27 100644 --- a/sdk/python/pulumi_aws_native/organizations/get_resource_policy.py +++ b/sdk/python/pulumi_aws_native/organizations/get_resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -98,9 +103,6 @@ def get_resource_policy(id: Optional[str] = None, content=pulumi.get(__ret__, 'content'), id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_resource_policy) def get_resource_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourcePolicyResult]: """ @@ -109,4 +111,12 @@ def get_resource_policy_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique identifier (ID) associated with this resource policy. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:organizations:getResourcePolicy', __args__, opts=opts, typ=GetResourcePolicyResult) + return __ret__.apply(lambda __response__: GetResourcePolicyResult( + arn=pulumi.get(__response__, 'arn'), + content=pulumi.get(__response__, 'content'), + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/organizations/organization.py b/sdk/python/pulumi_aws_native/organizations/organization.py index 4a138d15eb..73ced97e8b 100644 --- a/sdk/python/pulumi_aws_native/organizations/organization.py +++ b/sdk/python/pulumi_aws_native/organizations/organization.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/organizations/organizational_unit.py b/sdk/python/pulumi_aws_native/organizations/organizational_unit.py index 30fb4b08f0..51755e0283 100644 --- a/sdk/python/pulumi_aws_native/organizations/organizational_unit.py +++ b/sdk/python/pulumi_aws_native/organizations/organizational_unit.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/organizations/policy.py b/sdk/python/pulumi_aws_native/organizations/policy.py index ea405d6739..54301fa927 100644 --- a/sdk/python/pulumi_aws_native/organizations/policy.py +++ b/sdk/python/pulumi_aws_native/organizations/policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/organizations/resource_policy.py b/sdk/python/pulumi_aws_native/organizations/resource_policy.py index 6355067d4e..6e7e8ee2da 100644 --- a/sdk/python/pulumi_aws_native/organizations/resource_policy.py +++ b/sdk/python/pulumi_aws_native/organizations/resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/osis/_inputs.py b/sdk/python/pulumi_aws_native/osis/_inputs.py index bdd244508c..d1fac0367d 100644 --- a/sdk/python/pulumi_aws_native/osis/_inputs.py +++ b/sdk/python/pulumi_aws_native/osis/_inputs.py @@ -4,21 +4,46 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'PipelineBufferOptionsArgs', + 'PipelineBufferOptionsArgsDict', 'PipelineEncryptionAtRestOptionsArgs', + 'PipelineEncryptionAtRestOptionsArgsDict', 'PipelineLogPublishingOptionsCloudWatchLogDestinationPropertiesArgs', + 'PipelineLogPublishingOptionsCloudWatchLogDestinationPropertiesArgsDict', 'PipelineLogPublishingOptionsArgs', + 'PipelineLogPublishingOptionsArgsDict', 'PipelineVpcOptionsVpcAttachmentOptionsPropertiesArgs', + 'PipelineVpcOptionsVpcAttachmentOptionsPropertiesArgsDict', 'PipelineVpcOptionsArgs', + 'PipelineVpcOptionsArgsDict', ] +MYPY = False + +if not MYPY: + class PipelineBufferOptionsArgsDict(TypedDict): + """ + Key-value pairs to configure buffering. + """ + persistent_buffer_enabled: pulumi.Input[bool] + """ + Whether persistent buffering should be enabled. + """ +elif False: + PipelineBufferOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineBufferOptionsArgs: def __init__(__self__, *, @@ -42,6 +67,18 @@ def persistent_buffer_enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "persistent_buffer_enabled", value) +if not MYPY: + class PipelineEncryptionAtRestOptionsArgsDict(TypedDict): + """ + Key-value pairs to configure encryption at rest. + """ + kms_key_arn: pulumi.Input[str] + """ + The KMS key to use for encrypting data. By default an AWS owned key is used + """ +elif False: + PipelineEncryptionAtRestOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineEncryptionAtRestOptionsArgs: def __init__(__self__, *, @@ -65,6 +102,15 @@ def kms_key_arn(self, value: pulumi.Input[str]): pulumi.set(self, "kms_key_arn", value) +if not MYPY: + class PipelineLogPublishingOptionsCloudWatchLogDestinationPropertiesArgsDict(TypedDict): + """ + The destination for OpenSearch Ingestion Service logs sent to Amazon CloudWatch. + """ + log_group: pulumi.Input[str] +elif False: + PipelineLogPublishingOptionsCloudWatchLogDestinationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineLogPublishingOptionsCloudWatchLogDestinationPropertiesArgs: def __init__(__self__, *, @@ -84,6 +130,22 @@ def log_group(self, value: pulumi.Input[str]): pulumi.set(self, "log_group", value) +if not MYPY: + class PipelineLogPublishingOptionsArgsDict(TypedDict): + """ + Key-value pairs to configure log publishing. + """ + cloud_watch_log_destination: NotRequired[pulumi.Input['PipelineLogPublishingOptionsCloudWatchLogDestinationPropertiesArgsDict']] + """ + The destination for OpenSearch Ingestion Service logs sent to Amazon CloudWatch. + """ + is_logging_enabled: NotRequired[pulumi.Input[bool]] + """ + Whether logs should be published. + """ +elif False: + PipelineLogPublishingOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineLogPublishingOptionsArgs: def __init__(__self__, *, @@ -124,6 +186,22 @@ def is_logging_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_logging_enabled", value) +if not MYPY: + class PipelineVpcOptionsVpcAttachmentOptionsPropertiesArgsDict(TypedDict): + """ + Options for attaching a VPC to the pipeline. + """ + attach_to_vpc: pulumi.Input[bool] + """ + Whether the pipeline should be attached to the provided VPC + """ + cidr_block: pulumi.Input[str] + """ + The CIDR block to be reserved for OpenSearch Ingestion to create elastic network interfaces (ENIs). + """ +elif False: + PipelineVpcOptionsVpcAttachmentOptionsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineVpcOptionsVpcAttachmentOptionsPropertiesArgs: def __init__(__self__, *, @@ -162,6 +240,30 @@ def cidr_block(self, value: pulumi.Input[str]): pulumi.set(self, "cidr_block", value) +if not MYPY: + class PipelineVpcOptionsArgsDict(TypedDict): + """ + Container for the values required to configure VPC access for the pipeline. If you don't specify these values, OpenSearch Ingestion Service creates the pipeline with a public endpoint. + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of subnet IDs associated with the VPC endpoint. + """ + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of security groups associated with the VPC endpoint. + """ + vpc_attachment_options: NotRequired[pulumi.Input['PipelineVpcOptionsVpcAttachmentOptionsPropertiesArgsDict']] + """ + Options for attaching a VPC to the pipeline. + """ + vpc_endpoint_management: NotRequired[pulumi.Input['PipelineVpcOptionsVpcEndpointManagement']] + """ + Defines whether you or Amazon OpenSearch Ingestion service create and manage the VPC endpoint configured for the pipeline. + """ +elif False: + PipelineVpcOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineVpcOptionsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/osis/get_pipeline.py b/sdk/python/pulumi_aws_native/osis/get_pipeline.py index 3e93fc05b2..70efbd1b24 100644 --- a/sdk/python/pulumi_aws_native/osis/get_pipeline.py +++ b/sdk/python/pulumi_aws_native/osis/get_pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -189,9 +194,6 @@ def get_pipeline(pipeline_arn: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), vpc_endpoint_service=pulumi.get(__ret__, 'vpc_endpoint_service'), vpc_endpoints=pulumi.get(__ret__, 'vpc_endpoints')) - - -@_utilities.lift_output_func(get_pipeline) def get_pipeline_output(pipeline_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPipelineResult]: """ @@ -200,4 +202,19 @@ def get_pipeline_output(pipeline_arn: Optional[pulumi.Input[str]] = None, :param str pipeline_arn: The Amazon Resource Name (ARN) of the pipeline. """ - ... + __args__ = dict() + __args__['pipelineArn'] = pipeline_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:osis:getPipeline', __args__, opts=opts, typ=GetPipelineResult) + return __ret__.apply(lambda __response__: GetPipelineResult( + buffer_options=pulumi.get(__response__, 'buffer_options'), + encryption_at_rest_options=pulumi.get(__response__, 'encryption_at_rest_options'), + ingest_endpoint_urls=pulumi.get(__response__, 'ingest_endpoint_urls'), + log_publishing_options=pulumi.get(__response__, 'log_publishing_options'), + max_units=pulumi.get(__response__, 'max_units'), + min_units=pulumi.get(__response__, 'min_units'), + pipeline_arn=pulumi.get(__response__, 'pipeline_arn'), + pipeline_configuration_body=pulumi.get(__response__, 'pipeline_configuration_body'), + tags=pulumi.get(__response__, 'tags'), + vpc_endpoint_service=pulumi.get(__response__, 'vpc_endpoint_service'), + vpc_endpoints=pulumi.get(__response__, 'vpc_endpoints'))) diff --git a/sdk/python/pulumi_aws_native/osis/outputs.py b/sdk/python/pulumi_aws_native/osis/outputs.py index f533ffdbec..f4d47d9295 100644 --- a/sdk/python/pulumi_aws_native/osis/outputs.py +++ b/sdk/python/pulumi_aws_native/osis/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/osis/pipeline.py b/sdk/python/pulumi_aws_native/osis/pipeline.py index f57d7d6821..dff8edd4c3 100644 --- a/sdk/python/pulumi_aws_native/osis/pipeline.py +++ b/sdk/python/pulumi_aws_native/osis/pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/outputs.py b/sdk/python/pulumi_aws_native/outputs.py index e2937796db..f747918030 100644 --- a/sdk/python/pulumi_aws_native/outputs.py +++ b/sdk/python/pulumi_aws_native/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/panorama/_inputs.py b/sdk/python/pulumi_aws_native/panorama/_inputs.py index 2360bbf976..023372eb34 100644 --- a/sdk/python/pulumi_aws_native/panorama/_inputs.py +++ b/sdk/python/pulumi_aws_native/panorama/_inputs.py @@ -4,18 +4,40 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ApplicationInstanceManifestOverridesPayloadArgs', + 'ApplicationInstanceManifestOverridesPayloadArgsDict', 'ApplicationInstanceManifestPayloadArgs', + 'ApplicationInstanceManifestPayloadArgsDict', 'PackageStorageLocationArgs', + 'PackageStorageLocationArgsDict', ] +MYPY = False + +if not MYPY: + class ApplicationInstanceManifestOverridesPayloadArgsDict(TypedDict): + """ + Parameter overrides for an application instance. This is a JSON document that has a single key (``PayloadData``) where the value is an escaped string representation of the overrides document. + """ + payload_data: NotRequired[pulumi.Input[str]] + """ + The overrides document. + """ +elif False: + ApplicationInstanceManifestOverridesPayloadArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationInstanceManifestOverridesPayloadArgs: def __init__(__self__, *, @@ -40,6 +62,18 @@ def payload_data(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "payload_data", value) +if not MYPY: + class ApplicationInstanceManifestPayloadArgsDict(TypedDict): + """ + A application verion's manifest file. This is a JSON document that has a single key (``PayloadData``) where the value is an escaped string representation of the application manifest (``graph.json``). This file is located in the ``graphs`` folder in your application source. + """ + payload_data: NotRequired[pulumi.Input[str]] + """ + The application manifest. + """ +elif False: + ApplicationInstanceManifestPayloadArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationInstanceManifestPayloadArgs: def __init__(__self__, *, @@ -64,6 +98,34 @@ def payload_data(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "payload_data", value) +if not MYPY: + class PackageStorageLocationArgsDict(TypedDict): + """ + A storage location. + """ + binary_prefix_location: NotRequired[pulumi.Input[str]] + """ + The location's binary prefix. + """ + bucket: NotRequired[pulumi.Input[str]] + """ + The location's bucket. + """ + generated_prefix_location: NotRequired[pulumi.Input[str]] + """ + The location's generated prefix. + """ + manifest_prefix_location: NotRequired[pulumi.Input[str]] + """ + The location's manifest prefix. + """ + repo_prefix_location: NotRequired[pulumi.Input[str]] + """ + The location's repo prefix. + """ +elif False: + PackageStorageLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PackageStorageLocationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/panorama/application_instance.py b/sdk/python/pulumi_aws_native/panorama/application_instance.py index 88878bec69..c289459e58 100644 --- a/sdk/python/pulumi_aws_native/panorama/application_instance.py +++ b/sdk/python/pulumi_aws_native/panorama/application_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/panorama/get_application_instance.py b/sdk/python/pulumi_aws_native/panorama/get_application_instance.py index 028f1ee45a..8d8e561dc6 100644 --- a/sdk/python/pulumi_aws_native/panorama/get_application_instance.py +++ b/sdk/python/pulumi_aws_native/panorama/get_application_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -162,9 +167,6 @@ def get_application_instance(application_instance_id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), status_description=pulumi.get(__ret__, 'status_description'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application_instance) def get_application_instance_output(application_instance_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationInstanceResult]: """ @@ -173,4 +175,17 @@ def get_application_instance_output(application_instance_id: Optional[pulumi.Inp :param str application_instance_id: The application instance's ID. """ - ... + __args__ = dict() + __args__['applicationInstanceId'] = application_instance_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:panorama:getApplicationInstance', __args__, opts=opts, typ=GetApplicationInstanceResult) + return __ret__.apply(lambda __response__: GetApplicationInstanceResult( + application_instance_id=pulumi.get(__response__, 'application_instance_id'), + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + default_runtime_context_device_name=pulumi.get(__response__, 'default_runtime_context_device_name'), + health_status=pulumi.get(__response__, 'health_status'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + status=pulumi.get(__response__, 'status'), + status_description=pulumi.get(__response__, 'status_description'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/panorama/get_package.py b/sdk/python/pulumi_aws_native/panorama/get_package.py index f6a1eff100..866d641d38 100644 --- a/sdk/python/pulumi_aws_native/panorama/get_package.py +++ b/sdk/python/pulumi_aws_native/panorama/get_package.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -110,9 +115,6 @@ def get_package(package_id: Optional[str] = None, package_id=pulumi.get(__ret__, 'package_id'), storage_location=pulumi.get(__ret__, 'storage_location'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_package) def get_package_output(package_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPackageResult]: """ @@ -121,4 +123,13 @@ def get_package_output(package_id: Optional[pulumi.Input[str]] = None, :param str package_id: The package's ID. """ - ... + __args__ = dict() + __args__['packageId'] = package_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:panorama:getPackage', __args__, opts=opts, typ=GetPackageResult) + return __ret__.apply(lambda __response__: GetPackageResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + package_id=pulumi.get(__response__, 'package_id'), + storage_location=pulumi.get(__response__, 'storage_location'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/panorama/get_package_version.py b/sdk/python/pulumi_aws_native/panorama/get_package_version.py index ceedfb8bdb..61519d2c98 100644 --- a/sdk/python/pulumi_aws_native/panorama/get_package_version.py +++ b/sdk/python/pulumi_aws_native/panorama/get_package_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -141,9 +146,6 @@ def get_package_version(package_id: Optional[str] = None, registered_time=pulumi.get(__ret__, 'registered_time'), status=pulumi.get(__ret__, 'status'), status_description=pulumi.get(__ret__, 'status_description')) - - -@_utilities.lift_output_func(get_package_version) def get_package_version_output(package_id: Optional[pulumi.Input[str]] = None, package_version: Optional[pulumi.Input[str]] = None, patch_version: Optional[pulumi.Input[str]] = None, @@ -156,4 +158,17 @@ def get_package_version_output(package_id: Optional[pulumi.Input[str]] = None, :param str package_version: A package version. :param str patch_version: A patch version. """ - ... + __args__ = dict() + __args__['packageId'] = package_id + __args__['packageVersion'] = package_version + __args__['patchVersion'] = patch_version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:panorama:getPackageVersion', __args__, opts=opts, typ=GetPackageVersionResult) + return __ret__.apply(lambda __response__: GetPackageVersionResult( + is_latest_patch=pulumi.get(__response__, 'is_latest_patch'), + mark_latest=pulumi.get(__response__, 'mark_latest'), + package_arn=pulumi.get(__response__, 'package_arn'), + package_name=pulumi.get(__response__, 'package_name'), + registered_time=pulumi.get(__response__, 'registered_time'), + status=pulumi.get(__response__, 'status'), + status_description=pulumi.get(__response__, 'status_description'))) diff --git a/sdk/python/pulumi_aws_native/panorama/outputs.py b/sdk/python/pulumi_aws_native/panorama/outputs.py index 213bfb24eb..49f34240d2 100644 --- a/sdk/python/pulumi_aws_native/panorama/outputs.py +++ b/sdk/python/pulumi_aws_native/panorama/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/panorama/package.py b/sdk/python/pulumi_aws_native/panorama/package.py index f80e7305d5..9d6c2e076b 100644 --- a/sdk/python/pulumi_aws_native/panorama/package.py +++ b/sdk/python/pulumi_aws_native/panorama/package.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/panorama/package_version.py b/sdk/python/pulumi_aws_native/panorama/package_version.py index e06e14b4db..dbfebb2754 100644 --- a/sdk/python/pulumi_aws_native/panorama/package_version.py +++ b/sdk/python/pulumi_aws_native/panorama/package_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/paymentcryptography/_inputs.py b/sdk/python/pulumi_aws_native/paymentcryptography/_inputs.py index f42a99cfcf..ca96c72ac9 100644 --- a/sdk/python/pulumi_aws_native/paymentcryptography/_inputs.py +++ b/sdk/python/pulumi_aws_native/paymentcryptography/_inputs.py @@ -4,17 +4,49 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'KeyAttributesArgs', + 'KeyAttributesArgsDict', 'KeyModesOfUseArgs', + 'KeyModesOfUseArgsDict', ] +MYPY = False + +if not MYPY: + class KeyAttributesArgsDict(TypedDict): + key_algorithm: pulumi.Input['KeyAlgorithm'] + """ + The key algorithm to be use during creation of an AWS Payment Cryptography key. + + For symmetric keys, AWS Payment Cryptography supports `AES` and `TDES` algorithms. For asymmetric keys, AWS Payment Cryptography supports `RSA` and `ECC_NIST` algorithms. + """ + key_class: pulumi.Input['KeyClass'] + """ + The type of AWS Payment Cryptography key to create, which determines the classification of the cryptographic method and whether AWS Payment Cryptography key contains a symmetric key or an asymmetric key pair. + """ + key_modes_of_use: pulumi.Input['KeyModesOfUseArgsDict'] + """ + The list of cryptographic operations that you can perform using the key. + """ + key_usage: pulumi.Input['KeyUsage'] + """ + The cryptographic usage of an AWS Payment Cryptography key as defined in section A.5.2 of the TR-31 spec. + """ +elif False: + KeyAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KeyAttributesArgs: def __init__(__self__, *, @@ -86,6 +118,44 @@ def key_usage(self, value: pulumi.Input['KeyUsage']): pulumi.set(self, "key_usage", value) +if not MYPY: + class KeyModesOfUseArgsDict(TypedDict): + decrypt: NotRequired[pulumi.Input[bool]] + """ + Specifies whether an AWS Payment Cryptography key can be used to decrypt data. + """ + derive_key: NotRequired[pulumi.Input[bool]] + """ + Specifies whether an AWS Payment Cryptography key can be used to derive new keys. + """ + encrypt: NotRequired[pulumi.Input[bool]] + """ + Specifies whether an AWS Payment Cryptography key can be used to encrypt data. + """ + generate: NotRequired[pulumi.Input[bool]] + """ + Specifies whether an AWS Payment Cryptography key can be used to generate and verify other card and PIN verification keys. + """ + no_restrictions: NotRequired[pulumi.Input[bool]] + """ + Specifies whether an AWS Payment Cryptography key has no special restrictions other than the restrictions implied by `KeyUsage` . + """ + sign: NotRequired[pulumi.Input[bool]] + """ + Specifies whether an AWS Payment Cryptography key can be used for signing. + """ + unwrap: NotRequired[pulumi.Input[bool]] + verify: NotRequired[pulumi.Input[bool]] + """ + Specifies whether an AWS Payment Cryptography key can be used to verify signatures. + """ + wrap: NotRequired[pulumi.Input[bool]] + """ + Specifies whether an AWS Payment Cryptography key can be used to wrap other keys. + """ +elif False: + KeyModesOfUseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KeyModesOfUseArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/paymentcryptography/alias.py b/sdk/python/pulumi_aws_native/paymentcryptography/alias.py index 4df7c8389b..39ca0d9cd6 100644 --- a/sdk/python/pulumi_aws_native/paymentcryptography/alias.py +++ b/sdk/python/pulumi_aws_native/paymentcryptography/alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['AliasArgs', 'Alias'] diff --git a/sdk/python/pulumi_aws_native/paymentcryptography/get_alias.py b/sdk/python/pulumi_aws_native/paymentcryptography/get_alias.py index 637f123e7a..23bc4fc5f9 100644 --- a/sdk/python/pulumi_aws_native/paymentcryptography/get_alias.py +++ b/sdk/python/pulumi_aws_native/paymentcryptography/get_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -58,9 +63,6 @@ def get_alias(alias_name: Optional[str] = None, return AwaitableGetAliasResult( key_arn=pulumi.get(__ret__, 'key_arn')) - - -@_utilities.lift_output_func(get_alias) def get_alias_output(alias_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAliasResult]: """ @@ -71,4 +73,9 @@ def get_alias_output(alias_name: Optional[pulumi.Input[str]] = None, > Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in AWS CloudTrail logs and other output. """ - ... + __args__ = dict() + __args__['aliasName'] = alias_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:paymentcryptography:getAlias', __args__, opts=opts, typ=GetAliasResult) + return __ret__.apply(lambda __response__: GetAliasResult( + key_arn=pulumi.get(__response__, 'key_arn'))) diff --git a/sdk/python/pulumi_aws_native/paymentcryptography/get_key.py b/sdk/python/pulumi_aws_native/paymentcryptography/get_key.py index 22c455dd3a..8184ae46cc 100644 --- a/sdk/python/pulumi_aws_native/paymentcryptography/get_key.py +++ b/sdk/python/pulumi_aws_native/paymentcryptography/get_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -143,12 +148,21 @@ def get_key(key_identifier: Optional[str] = None, key_origin=pulumi.get(__ret__, 'key_origin'), key_state=pulumi.get(__ret__, 'key_state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_key) def get_key_output(key_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyResult]: """ Definition of AWS::PaymentCryptography::Key Resource Type """ - ... + __args__ = dict() + __args__['keyIdentifier'] = key_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:paymentcryptography:getKey', __args__, opts=opts, typ=GetKeyResult) + return __ret__.apply(lambda __response__: GetKeyResult( + enabled=pulumi.get(__response__, 'enabled'), + exportable=pulumi.get(__response__, 'exportable'), + key_attributes=pulumi.get(__response__, 'key_attributes'), + key_check_value_algorithm=pulumi.get(__response__, 'key_check_value_algorithm'), + key_identifier=pulumi.get(__response__, 'key_identifier'), + key_origin=pulumi.get(__response__, 'key_origin'), + key_state=pulumi.get(__response__, 'key_state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/paymentcryptography/key.py b/sdk/python/pulumi_aws_native/paymentcryptography/key.py index 5ddc335b51..c704a6b958 100644 --- a/sdk/python/pulumi_aws_native/paymentcryptography/key.py +++ b/sdk/python/pulumi_aws_native/paymentcryptography/key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/paymentcryptography/outputs.py b/sdk/python/pulumi_aws_native/paymentcryptography/outputs.py index 2174163226..b231d98dcd 100644 --- a/sdk/python/pulumi_aws_native/paymentcryptography/outputs.py +++ b/sdk/python/pulumi_aws_native/paymentcryptography/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/pcaconnectorad/_inputs.py b/sdk/python/pulumi_aws_native/pcaconnectorad/_inputs.py index 9cd072bd89..68dcb3793f 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorad/_inputs.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorad/_inputs.py @@ -4,51 +4,103 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ConnectorVpcInformationArgs', + 'ConnectorVpcInformationArgsDict', 'TemplateApplicationPoliciesArgs', + 'TemplateApplicationPoliciesArgsDict', 'TemplateApplicationPolicy0PropertiesArgs', + 'TemplateApplicationPolicy0PropertiesArgsDict', 'TemplateApplicationPolicy1PropertiesArgs', + 'TemplateApplicationPolicy1PropertiesArgsDict', 'TemplateCertificateValidityArgs', + 'TemplateCertificateValidityArgsDict', 'TemplateDefinition0PropertiesArgs', + 'TemplateDefinition0PropertiesArgsDict', 'TemplateDefinition1PropertiesArgs', + 'TemplateDefinition1PropertiesArgsDict', 'TemplateDefinition2PropertiesArgs', + 'TemplateDefinition2PropertiesArgsDict', 'TemplateEnrollmentFlagsV2Args', + 'TemplateEnrollmentFlagsV2ArgsDict', 'TemplateEnrollmentFlagsV3Args', + 'TemplateEnrollmentFlagsV3ArgsDict', 'TemplateEnrollmentFlagsV4Args', + 'TemplateEnrollmentFlagsV4ArgsDict', 'TemplateExtensionsV2Args', + 'TemplateExtensionsV2ArgsDict', 'TemplateExtensionsV3Args', + 'TemplateExtensionsV3ArgsDict', 'TemplateExtensionsV4Args', + 'TemplateExtensionsV4ArgsDict', 'TemplateGeneralFlagsV2Args', + 'TemplateGeneralFlagsV2ArgsDict', 'TemplateGeneralFlagsV3Args', + 'TemplateGeneralFlagsV3ArgsDict', 'TemplateGeneralFlagsV4Args', + 'TemplateGeneralFlagsV4ArgsDict', 'TemplateGroupAccessControlEntryAccessRightsArgs', + 'TemplateGroupAccessControlEntryAccessRightsArgsDict', 'TemplateKeyUsageFlagsArgs', + 'TemplateKeyUsageFlagsArgsDict', 'TemplateKeyUsageProperty0PropertiesArgs', + 'TemplateKeyUsageProperty0PropertiesArgsDict', 'TemplateKeyUsageProperty1PropertiesArgs', + 'TemplateKeyUsageProperty1PropertiesArgsDict', 'TemplateKeyUsagePropertyFlagsArgs', + 'TemplateKeyUsagePropertyFlagsArgsDict', 'TemplateKeyUsageArgs', + 'TemplateKeyUsageArgsDict', 'TemplatePrivateKeyAttributesV2Args', + 'TemplatePrivateKeyAttributesV2ArgsDict', 'TemplatePrivateKeyAttributesV3Args', + 'TemplatePrivateKeyAttributesV3ArgsDict', 'TemplatePrivateKeyAttributesV4Args', + 'TemplatePrivateKeyAttributesV4ArgsDict', 'TemplatePrivateKeyFlagsV2Args', + 'TemplatePrivateKeyFlagsV2ArgsDict', 'TemplatePrivateKeyFlagsV3Args', + 'TemplatePrivateKeyFlagsV3ArgsDict', 'TemplatePrivateKeyFlagsV4Args', + 'TemplatePrivateKeyFlagsV4ArgsDict', 'TemplateSubjectNameFlagsV2Args', + 'TemplateSubjectNameFlagsV2ArgsDict', 'TemplateSubjectNameFlagsV3Args', + 'TemplateSubjectNameFlagsV3ArgsDict', 'TemplateSubjectNameFlagsV4Args', + 'TemplateSubjectNameFlagsV4ArgsDict', 'TemplateV2Args', + 'TemplateV2ArgsDict', 'TemplateV3Args', + 'TemplateV3ArgsDict', 'TemplateV4Args', + 'TemplateV4ArgsDict', 'TemplateValidityPeriodArgs', + 'TemplateValidityPeriodArgsDict', ] +MYPY = False + +if not MYPY: + class ConnectorVpcInformationArgsDict(TypedDict): + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The security groups used with the connector. You can use a maximum of 4 security groups with a connector. + """ +elif False: + ConnectorVpcInformationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorVpcInformationArgs: def __init__(__self__, *, @@ -71,6 +123,13 @@ def security_group_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "security_group_ids", value) +if not MYPY: + class TemplateApplicationPoliciesArgsDict(TypedDict): + policies: pulumi.Input[Sequence[pulumi.Input[Union['TemplateApplicationPolicy0PropertiesArgsDict', 'TemplateApplicationPolicy1PropertiesArgsDict']]]] + critical: NotRequired[pulumi.Input[bool]] +elif False: + TemplateApplicationPoliciesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateApplicationPoliciesArgs: def __init__(__self__, *, @@ -99,6 +158,12 @@ def critical(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "critical", value) +if not MYPY: + class TemplateApplicationPolicy0PropertiesArgsDict(TypedDict): + policy_type: pulumi.Input['TemplateApplicationPolicyType'] +elif False: + TemplateApplicationPolicy0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateApplicationPolicy0PropertiesArgs: def __init__(__self__, *, @@ -115,6 +180,12 @@ def policy_type(self, value: pulumi.Input['TemplateApplicationPolicyType']): pulumi.set(self, "policy_type", value) +if not MYPY: + class TemplateApplicationPolicy1PropertiesArgsDict(TypedDict): + policy_object_identifier: pulumi.Input[str] +elif False: + TemplateApplicationPolicy1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateApplicationPolicy1PropertiesArgs: def __init__(__self__, *, @@ -131,6 +202,13 @@ def policy_object_identifier(self, value: pulumi.Input[str]): pulumi.set(self, "policy_object_identifier", value) +if not MYPY: + class TemplateCertificateValidityArgsDict(TypedDict): + renewal_period: pulumi.Input['TemplateValidityPeriodArgsDict'] + validity_period: pulumi.Input['TemplateValidityPeriodArgsDict'] +elif False: + TemplateCertificateValidityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCertificateValidityArgs: def __init__(__self__, *, @@ -158,6 +236,12 @@ def validity_period(self, value: pulumi.Input['TemplateValidityPeriodArgs']): pulumi.set(self, "validity_period", value) +if not MYPY: + class TemplateDefinition0PropertiesArgsDict(TypedDict): + template_v2: pulumi.Input['TemplateV2ArgsDict'] +elif False: + TemplateDefinition0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefinition0PropertiesArgs: def __init__(__self__, *, @@ -174,6 +258,12 @@ def template_v2(self, value: pulumi.Input['TemplateV2Args']): pulumi.set(self, "template_v2", value) +if not MYPY: + class TemplateDefinition1PropertiesArgsDict(TypedDict): + template_v3: pulumi.Input['TemplateV3ArgsDict'] +elif False: + TemplateDefinition1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefinition1PropertiesArgs: def __init__(__self__, *, @@ -190,6 +280,12 @@ def template_v3(self, value: pulumi.Input['TemplateV3Args']): pulumi.set(self, "template_v3", value) +if not MYPY: + class TemplateDefinition2PropertiesArgsDict(TypedDict): + template_v4: pulumi.Input['TemplateV4ArgsDict'] +elif False: + TemplateDefinition2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefinition2PropertiesArgs: def __init__(__self__, *, @@ -206,6 +302,16 @@ def template_v4(self, value: pulumi.Input['TemplateV4Args']): pulumi.set(self, "template_v4", value) +if not MYPY: + class TemplateEnrollmentFlagsV2ArgsDict(TypedDict): + enable_key_reuse_on_nt_token_keyset_storage_full: NotRequired[pulumi.Input[bool]] + include_symmetric_algorithms: NotRequired[pulumi.Input[bool]] + no_security_extension: NotRequired[pulumi.Input[bool]] + remove_invalid_certificate_from_personal_store: NotRequired[pulumi.Input[bool]] + user_interaction_required: NotRequired[pulumi.Input[bool]] +elif False: + TemplateEnrollmentFlagsV2ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateEnrollmentFlagsV2Args: def __init__(__self__, *, @@ -271,6 +377,16 @@ def user_interaction_required(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "user_interaction_required", value) +if not MYPY: + class TemplateEnrollmentFlagsV3ArgsDict(TypedDict): + enable_key_reuse_on_nt_token_keyset_storage_full: NotRequired[pulumi.Input[bool]] + include_symmetric_algorithms: NotRequired[pulumi.Input[bool]] + no_security_extension: NotRequired[pulumi.Input[bool]] + remove_invalid_certificate_from_personal_store: NotRequired[pulumi.Input[bool]] + user_interaction_required: NotRequired[pulumi.Input[bool]] +elif False: + TemplateEnrollmentFlagsV3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateEnrollmentFlagsV3Args: def __init__(__self__, *, @@ -336,6 +452,16 @@ def user_interaction_required(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "user_interaction_required", value) +if not MYPY: + class TemplateEnrollmentFlagsV4ArgsDict(TypedDict): + enable_key_reuse_on_nt_token_keyset_storage_full: NotRequired[pulumi.Input[bool]] + include_symmetric_algorithms: NotRequired[pulumi.Input[bool]] + no_security_extension: NotRequired[pulumi.Input[bool]] + remove_invalid_certificate_from_personal_store: NotRequired[pulumi.Input[bool]] + user_interaction_required: NotRequired[pulumi.Input[bool]] +elif False: + TemplateEnrollmentFlagsV4ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateEnrollmentFlagsV4Args: def __init__(__self__, *, @@ -401,6 +527,13 @@ def user_interaction_required(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "user_interaction_required", value) +if not MYPY: + class TemplateExtensionsV2ArgsDict(TypedDict): + key_usage: pulumi.Input['TemplateKeyUsageArgsDict'] + application_policies: NotRequired[pulumi.Input['TemplateApplicationPoliciesArgsDict']] +elif False: + TemplateExtensionsV2ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateExtensionsV2Args: def __init__(__self__, *, @@ -429,6 +562,13 @@ def application_policies(self, value: Optional[pulumi.Input['TemplateApplication pulumi.set(self, "application_policies", value) +if not MYPY: + class TemplateExtensionsV3ArgsDict(TypedDict): + key_usage: pulumi.Input['TemplateKeyUsageArgsDict'] + application_policies: NotRequired[pulumi.Input['TemplateApplicationPoliciesArgsDict']] +elif False: + TemplateExtensionsV3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateExtensionsV3Args: def __init__(__self__, *, @@ -457,6 +597,13 @@ def application_policies(self, value: Optional[pulumi.Input['TemplateApplication pulumi.set(self, "application_policies", value) +if not MYPY: + class TemplateExtensionsV4ArgsDict(TypedDict): + key_usage: pulumi.Input['TemplateKeyUsageArgsDict'] + application_policies: NotRequired[pulumi.Input['TemplateApplicationPoliciesArgsDict']] +elif False: + TemplateExtensionsV4ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateExtensionsV4Args: def __init__(__self__, *, @@ -485,6 +632,13 @@ def application_policies(self, value: Optional[pulumi.Input['TemplateApplication pulumi.set(self, "application_policies", value) +if not MYPY: + class TemplateGeneralFlagsV2ArgsDict(TypedDict): + auto_enrollment: NotRequired[pulumi.Input[bool]] + machine_type: NotRequired[pulumi.Input[bool]] +elif False: + TemplateGeneralFlagsV2ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeneralFlagsV2Args: def __init__(__self__, *, @@ -514,6 +668,13 @@ def machine_type(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "machine_type", value) +if not MYPY: + class TemplateGeneralFlagsV3ArgsDict(TypedDict): + auto_enrollment: NotRequired[pulumi.Input[bool]] + machine_type: NotRequired[pulumi.Input[bool]] +elif False: + TemplateGeneralFlagsV3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeneralFlagsV3Args: def __init__(__self__, *, @@ -543,6 +704,13 @@ def machine_type(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "machine_type", value) +if not MYPY: + class TemplateGeneralFlagsV4ArgsDict(TypedDict): + auto_enrollment: NotRequired[pulumi.Input[bool]] + machine_type: NotRequired[pulumi.Input[bool]] +elif False: + TemplateGeneralFlagsV4ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeneralFlagsV4Args: def __init__(__self__, *, @@ -572,6 +740,19 @@ def machine_type(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "machine_type", value) +if not MYPY: + class TemplateGroupAccessControlEntryAccessRightsArgsDict(TypedDict): + auto_enroll: NotRequired[pulumi.Input['TemplateGroupAccessControlEntryAccessRight']] + """ + Allow or deny an Active Directory group from autoenrolling certificates issued against a template. The Active Directory group must be allowed to enroll to allow autoenrollment + """ + enroll: NotRequired[pulumi.Input['TemplateGroupAccessControlEntryAccessRight']] + """ + Allow or deny an Active Directory group from enrolling certificates issued against a template. + """ +elif False: + TemplateGroupAccessControlEntryAccessRightsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGroupAccessControlEntryAccessRightsArgs: def __init__(__self__, *, @@ -611,6 +792,16 @@ def enroll(self, value: Optional[pulumi.Input['TemplateGroupAccessControlEntryAc pulumi.set(self, "enroll", value) +if not MYPY: + class TemplateKeyUsageFlagsArgsDict(TypedDict): + data_encipherment: NotRequired[pulumi.Input[bool]] + digital_signature: NotRequired[pulumi.Input[bool]] + key_agreement: NotRequired[pulumi.Input[bool]] + key_encipherment: NotRequired[pulumi.Input[bool]] + non_repudiation: NotRequired[pulumi.Input[bool]] +elif False: + TemplateKeyUsageFlagsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKeyUsageFlagsArgs: def __init__(__self__, *, @@ -676,6 +867,12 @@ def non_repudiation(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "non_repudiation", value) +if not MYPY: + class TemplateKeyUsageProperty0PropertiesArgsDict(TypedDict): + property_type: pulumi.Input['TemplateKeyUsagePropertyType'] +elif False: + TemplateKeyUsageProperty0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKeyUsageProperty0PropertiesArgs: def __init__(__self__, *, @@ -692,6 +889,12 @@ def property_type(self, value: pulumi.Input['TemplateKeyUsagePropertyType']): pulumi.set(self, "property_type", value) +if not MYPY: + class TemplateKeyUsageProperty1PropertiesArgsDict(TypedDict): + property_flags: pulumi.Input['TemplateKeyUsagePropertyFlagsArgsDict'] +elif False: + TemplateKeyUsageProperty1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKeyUsageProperty1PropertiesArgs: def __init__(__self__, *, @@ -708,6 +911,14 @@ def property_flags(self, value: pulumi.Input['TemplateKeyUsagePropertyFlagsArgs' pulumi.set(self, "property_flags", value) +if not MYPY: + class TemplateKeyUsagePropertyFlagsArgsDict(TypedDict): + decrypt: NotRequired[pulumi.Input[bool]] + key_agreement: NotRequired[pulumi.Input[bool]] + sign: NotRequired[pulumi.Input[bool]] +elif False: + TemplateKeyUsagePropertyFlagsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKeyUsagePropertyFlagsArgs: def __init__(__self__, *, @@ -749,6 +960,13 @@ def sign(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "sign", value) +if not MYPY: + class TemplateKeyUsageArgsDict(TypedDict): + usage_flags: pulumi.Input['TemplateKeyUsageFlagsArgsDict'] + critical: NotRequired[pulumi.Input[bool]] +elif False: + TemplateKeyUsageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKeyUsageArgs: def __init__(__self__, *, @@ -777,6 +995,14 @@ def critical(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "critical", value) +if not MYPY: + class TemplatePrivateKeyAttributesV2ArgsDict(TypedDict): + key_spec: pulumi.Input['TemplateKeySpec'] + minimal_key_length: pulumi.Input[float] + crypto_providers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + TemplatePrivateKeyAttributesV2ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePrivateKeyAttributesV2Args: def __init__(__self__, *, @@ -816,6 +1042,16 @@ def crypto_providers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[st pulumi.set(self, "crypto_providers", value) +if not MYPY: + class TemplatePrivateKeyAttributesV3ArgsDict(TypedDict): + algorithm: pulumi.Input['TemplatePrivateKeyAlgorithm'] + key_spec: pulumi.Input['TemplateKeySpec'] + key_usage_property: pulumi.Input[Union['TemplateKeyUsageProperty0PropertiesArgsDict', 'TemplateKeyUsageProperty1PropertiesArgsDict']] + minimal_key_length: pulumi.Input[float] + crypto_providers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + TemplatePrivateKeyAttributesV3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePrivateKeyAttributesV3Args: def __init__(__self__, *, @@ -877,6 +1113,16 @@ def crypto_providers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[st pulumi.set(self, "crypto_providers", value) +if not MYPY: + class TemplatePrivateKeyAttributesV4ArgsDict(TypedDict): + key_spec: pulumi.Input['TemplateKeySpec'] + minimal_key_length: pulumi.Input[float] + algorithm: NotRequired[pulumi.Input['TemplatePrivateKeyAlgorithm']] + crypto_providers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + key_usage_property: NotRequired[pulumi.Input[Union['TemplateKeyUsageProperty0PropertiesArgsDict', 'TemplateKeyUsageProperty1PropertiesArgsDict']]] +elif False: + TemplatePrivateKeyAttributesV4ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePrivateKeyAttributesV4Args: def __init__(__self__, *, @@ -940,6 +1186,14 @@ def key_usage_property(self, value: Optional[pulumi.Input[Union['TemplateKeyUsag pulumi.set(self, "key_usage_property", value) +if not MYPY: + class TemplatePrivateKeyFlagsV2ArgsDict(TypedDict): + client_version: pulumi.Input['TemplateClientCompatibilityV2'] + exportable_key: NotRequired[pulumi.Input[bool]] + strong_key_protection_required: NotRequired[pulumi.Input[bool]] +elif False: + TemplatePrivateKeyFlagsV2ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePrivateKeyFlagsV2Args: def __init__(__self__, *, @@ -980,6 +1234,15 @@ def strong_key_protection_required(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "strong_key_protection_required", value) +if not MYPY: + class TemplatePrivateKeyFlagsV3ArgsDict(TypedDict): + client_version: pulumi.Input['TemplateClientCompatibilityV3'] + exportable_key: NotRequired[pulumi.Input[bool]] + require_alternate_signature_algorithm: NotRequired[pulumi.Input[bool]] + strong_key_protection_required: NotRequired[pulumi.Input[bool]] +elif False: + TemplatePrivateKeyFlagsV3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePrivateKeyFlagsV3Args: def __init__(__self__, *, @@ -1032,6 +1295,17 @@ def strong_key_protection_required(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "strong_key_protection_required", value) +if not MYPY: + class TemplatePrivateKeyFlagsV4ArgsDict(TypedDict): + client_version: pulumi.Input['TemplateClientCompatibilityV4'] + exportable_key: NotRequired[pulumi.Input[bool]] + require_alternate_signature_algorithm: NotRequired[pulumi.Input[bool]] + require_same_key_renewal: NotRequired[pulumi.Input[bool]] + strong_key_protection_required: NotRequired[pulumi.Input[bool]] + use_legacy_provider: NotRequired[pulumi.Input[bool]] +elif False: + TemplatePrivateKeyFlagsV4ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePrivateKeyFlagsV4Args: def __init__(__self__, *, @@ -1108,6 +1382,21 @@ def use_legacy_provider(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_legacy_provider", value) +if not MYPY: + class TemplateSubjectNameFlagsV2ArgsDict(TypedDict): + require_common_name: NotRequired[pulumi.Input[bool]] + require_directory_path: NotRequired[pulumi.Input[bool]] + require_dns_as_cn: NotRequired[pulumi.Input[bool]] + require_email: NotRequired[pulumi.Input[bool]] + san_require_directory_guid: NotRequired[pulumi.Input[bool]] + san_require_dns: NotRequired[pulumi.Input[bool]] + san_require_domain_dns: NotRequired[pulumi.Input[bool]] + san_require_email: NotRequired[pulumi.Input[bool]] + san_require_spn: NotRequired[pulumi.Input[bool]] + san_require_upn: NotRequired[pulumi.Input[bool]] +elif False: + TemplateSubjectNameFlagsV2ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSubjectNameFlagsV2Args: def __init__(__self__, *, @@ -1233,6 +1522,21 @@ def san_require_upn(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "san_require_upn", value) +if not MYPY: + class TemplateSubjectNameFlagsV3ArgsDict(TypedDict): + require_common_name: NotRequired[pulumi.Input[bool]] + require_directory_path: NotRequired[pulumi.Input[bool]] + require_dns_as_cn: NotRequired[pulumi.Input[bool]] + require_email: NotRequired[pulumi.Input[bool]] + san_require_directory_guid: NotRequired[pulumi.Input[bool]] + san_require_dns: NotRequired[pulumi.Input[bool]] + san_require_domain_dns: NotRequired[pulumi.Input[bool]] + san_require_email: NotRequired[pulumi.Input[bool]] + san_require_spn: NotRequired[pulumi.Input[bool]] + san_require_upn: NotRequired[pulumi.Input[bool]] +elif False: + TemplateSubjectNameFlagsV3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSubjectNameFlagsV3Args: def __init__(__self__, *, @@ -1358,6 +1662,21 @@ def san_require_upn(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "san_require_upn", value) +if not MYPY: + class TemplateSubjectNameFlagsV4ArgsDict(TypedDict): + require_common_name: NotRequired[pulumi.Input[bool]] + require_directory_path: NotRequired[pulumi.Input[bool]] + require_dns_as_cn: NotRequired[pulumi.Input[bool]] + require_email: NotRequired[pulumi.Input[bool]] + san_require_directory_guid: NotRequired[pulumi.Input[bool]] + san_require_dns: NotRequired[pulumi.Input[bool]] + san_require_domain_dns: NotRequired[pulumi.Input[bool]] + san_require_email: NotRequired[pulumi.Input[bool]] + san_require_spn: NotRequired[pulumi.Input[bool]] + san_require_upn: NotRequired[pulumi.Input[bool]] +elif False: + TemplateSubjectNameFlagsV4ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSubjectNameFlagsV4Args: def __init__(__self__, *, @@ -1483,6 +1802,19 @@ def san_require_upn(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "san_require_upn", value) +if not MYPY: + class TemplateV2ArgsDict(TypedDict): + certificate_validity: pulumi.Input['TemplateCertificateValidityArgsDict'] + enrollment_flags: pulumi.Input['TemplateEnrollmentFlagsV2ArgsDict'] + extensions: pulumi.Input['TemplateExtensionsV2ArgsDict'] + general_flags: pulumi.Input['TemplateGeneralFlagsV2ArgsDict'] + private_key_attributes: pulumi.Input['TemplatePrivateKeyAttributesV2ArgsDict'] + private_key_flags: pulumi.Input['TemplatePrivateKeyFlagsV2ArgsDict'] + subject_name_flags: pulumi.Input['TemplateSubjectNameFlagsV2ArgsDict'] + superseded_templates: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + TemplateV2ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateV2Args: def __init__(__self__, *, @@ -1577,6 +1909,20 @@ def superseded_templates(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "superseded_templates", value) +if not MYPY: + class TemplateV3ArgsDict(TypedDict): + certificate_validity: pulumi.Input['TemplateCertificateValidityArgsDict'] + enrollment_flags: pulumi.Input['TemplateEnrollmentFlagsV3ArgsDict'] + extensions: pulumi.Input['TemplateExtensionsV3ArgsDict'] + general_flags: pulumi.Input['TemplateGeneralFlagsV3ArgsDict'] + hash_algorithm: pulumi.Input['TemplateHashAlgorithm'] + private_key_attributes: pulumi.Input['TemplatePrivateKeyAttributesV3ArgsDict'] + private_key_flags: pulumi.Input['TemplatePrivateKeyFlagsV3ArgsDict'] + subject_name_flags: pulumi.Input['TemplateSubjectNameFlagsV3ArgsDict'] + superseded_templates: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + TemplateV3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateV3Args: def __init__(__self__, *, @@ -1682,6 +2028,20 @@ def superseded_templates(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "superseded_templates", value) +if not MYPY: + class TemplateV4ArgsDict(TypedDict): + certificate_validity: pulumi.Input['TemplateCertificateValidityArgsDict'] + enrollment_flags: pulumi.Input['TemplateEnrollmentFlagsV4ArgsDict'] + extensions: pulumi.Input['TemplateExtensionsV4ArgsDict'] + general_flags: pulumi.Input['TemplateGeneralFlagsV4ArgsDict'] + private_key_attributes: pulumi.Input['TemplatePrivateKeyAttributesV4ArgsDict'] + private_key_flags: pulumi.Input['TemplatePrivateKeyFlagsV4ArgsDict'] + subject_name_flags: pulumi.Input['TemplateSubjectNameFlagsV4ArgsDict'] + hash_algorithm: NotRequired[pulumi.Input['TemplateHashAlgorithm']] + superseded_templates: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + TemplateV4ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateV4Args: def __init__(__self__, *, @@ -1788,6 +2148,13 @@ def superseded_templates(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "superseded_templates", value) +if not MYPY: + class TemplateValidityPeriodArgsDict(TypedDict): + period: pulumi.Input[float] + period_type: pulumi.Input['TemplateValidityPeriodType'] +elif False: + TemplateValidityPeriodArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateValidityPeriodArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/pcaconnectorad/connector.py b/sdk/python/pulumi_aws_native/pcaconnectorad/connector.py index d05e43dac0..bfd68c0882 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorad/connector.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorad/connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/pcaconnectorad/directory_registration.py b/sdk/python/pulumi_aws_native/pcaconnectorad/directory_registration.py index d702b8321c..4c72ff5595 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorad/directory_registration.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorad/directory_registration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DirectoryRegistrationArgs', 'DirectoryRegistration'] diff --git a/sdk/python/pulumi_aws_native/pcaconnectorad/get_connector.py b/sdk/python/pulumi_aws_native/pcaconnectorad/get_connector.py index 36c64186c6..a89a5c0c38 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorad/get_connector.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorad/get_connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_connector(connector_arn: Optional[str] = None, return AwaitableGetConnectorResult( connector_arn=pulumi.get(__ret__, 'connector_arn')) - - -@_utilities.lift_output_func(get_connector) def get_connector_output(connector_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectorResult]: """ @@ -67,4 +69,9 @@ def get_connector_output(connector_arn: Optional[pulumi.Input[str]] = None, :param str connector_arn: The Amazon Resource Name (ARN) that was returned when you called [CreateConnector](https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateConnector.html) . """ - ... + __args__ = dict() + __args__['connectorArn'] = connector_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:pcaconnectorad:getConnector', __args__, opts=opts, typ=GetConnectorResult) + return __ret__.apply(lambda __response__: GetConnectorResult( + connector_arn=pulumi.get(__response__, 'connector_arn'))) diff --git a/sdk/python/pulumi_aws_native/pcaconnectorad/get_directory_registration.py b/sdk/python/pulumi_aws_native/pcaconnectorad/get_directory_registration.py index 9ac2ab45f6..ec918e2e1f 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorad/get_directory_registration.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorad/get_directory_registration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_directory_registration(directory_registration_arn: Optional[str] = None, return AwaitableGetDirectoryRegistrationResult( directory_registration_arn=pulumi.get(__ret__, 'directory_registration_arn')) - - -@_utilities.lift_output_func(get_directory_registration) def get_directory_registration_output(directory_registration_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDirectoryRegistrationResult]: """ @@ -67,4 +69,9 @@ def get_directory_registration_output(directory_registration_arn: Optional[pulum :param str directory_registration_arn: The Amazon Resource Name (ARN) that was returned when you called [CreateDirectoryRegistration](https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateDirectoryRegistration.html) . """ - ... + __args__ = dict() + __args__['directoryRegistrationArn'] = directory_registration_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:pcaconnectorad:getDirectoryRegistration', __args__, opts=opts, typ=GetDirectoryRegistrationResult) + return __ret__.apply(lambda __response__: GetDirectoryRegistrationResult( + directory_registration_arn=pulumi.get(__response__, 'directory_registration_arn'))) diff --git a/sdk/python/pulumi_aws_native/pcaconnectorad/get_template.py b/sdk/python/pulumi_aws_native/pcaconnectorad/get_template.py index de849b9051..21e7ef351b 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorad/get_template.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorad/get_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_template(template_arn: Optional[str] = None, return AwaitableGetTemplateResult( template_arn=pulumi.get(__ret__, 'template_arn')) - - -@_utilities.lift_output_func(get_template) def get_template_output(template_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTemplateResult]: """ @@ -67,4 +69,9 @@ def get_template_output(template_arn: Optional[pulumi.Input[str]] = None, :param str template_arn: The Amazon Resource Name (ARN) that was returned when you called [CreateTemplate](https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateTemplate.html) . """ - ... + __args__ = dict() + __args__['templateArn'] = template_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:pcaconnectorad:getTemplate', __args__, opts=opts, typ=GetTemplateResult) + return __ret__.apply(lambda __response__: GetTemplateResult( + template_arn=pulumi.get(__response__, 'template_arn'))) diff --git a/sdk/python/pulumi_aws_native/pcaconnectorad/outputs.py b/sdk/python/pulumi_aws_native/pcaconnectorad/outputs.py index 0ac6dcc480..95ae6a96bf 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorad/outputs.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorad/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/pcaconnectorad/service_principal_name.py b/sdk/python/pulumi_aws_native/pcaconnectorad/service_principal_name.py index aed624c42c..2f40effb1c 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorad/service_principal_name.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorad/service_principal_name.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ServicePrincipalNameArgs', 'ServicePrincipalName'] diff --git a/sdk/python/pulumi_aws_native/pcaconnectorad/template.py b/sdk/python/pulumi_aws_native/pcaconnectorad/template.py index e2fb95d62d..0783c8e052 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorad/template.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorad/template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/pcaconnectorad/template_group_access_control_entry.py b/sdk/python/pulumi_aws_native/pcaconnectorad/template_group_access_control_entry.py index 77df6eed56..e285af36ed 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorad/template_group_access_control_entry.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorad/template_group_access_control_entry.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/pcaconnectorscep/_inputs.py b/sdk/python/pulumi_aws_native/pcaconnectorscep/_inputs.py index 4c831b2045..a2dc3e1914 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorscep/_inputs.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorscep/_inputs.py @@ -4,16 +4,30 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ConnectorMobileDeviceManagementArgs', + 'ConnectorMobileDeviceManagementArgsDict', ] +MYPY = False + +if not MYPY: + class ConnectorMobileDeviceManagementArgsDict(TypedDict): + pass +elif False: + ConnectorMobileDeviceManagementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConnectorMobileDeviceManagementArgs: def __init__(__self__): diff --git a/sdk/python/pulumi_aws_native/pcaconnectorscep/challenge.py b/sdk/python/pulumi_aws_native/pcaconnectorscep/challenge.py index a532a98c20..1f6fc396cb 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorscep/challenge.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorscep/challenge.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ChallengeArgs', 'Challenge'] diff --git a/sdk/python/pulumi_aws_native/pcaconnectorscep/connector.py b/sdk/python/pulumi_aws_native/pcaconnectorscep/connector.py index eb36320d68..91f9178a43 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorscep/connector.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorscep/connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/pcaconnectorscep/get_challenge.py b/sdk/python/pulumi_aws_native/pcaconnectorscep/get_challenge.py index dfc230c53a..671c9f83e5 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorscep/get_challenge.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorscep/get_challenge.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -66,9 +71,6 @@ def get_challenge(challenge_arn: Optional[str] = None, return AwaitableGetChallengeResult( challenge_arn=pulumi.get(__ret__, 'challenge_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_challenge) def get_challenge_output(challenge_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetChallengeResult]: """ @@ -77,4 +79,10 @@ def get_challenge_output(challenge_arn: Optional[pulumi.Input[str]] = None, :param str challenge_arn: The Amazon Resource Name (ARN) of the challenge. """ - ... + __args__ = dict() + __args__['challengeArn'] = challenge_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:pcaconnectorscep:getChallenge', __args__, opts=opts, typ=GetChallengeResult) + return __ret__.apply(lambda __response__: GetChallengeResult( + challenge_arn=pulumi.get(__response__, 'challenge_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/pcaconnectorscep/get_connector.py b/sdk/python/pulumi_aws_native/pcaconnectorscep/get_connector.py index 214268f828..c21f7cacf7 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorscep/get_connector.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorscep/get_connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -104,9 +109,6 @@ def get_connector(connector_arn: Optional[str] = None, open_id_configuration=pulumi.get(__ret__, 'open_id_configuration'), tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_connector) def get_connector_output(connector_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectorResult]: """ @@ -115,4 +117,13 @@ def get_connector_output(connector_arn: Optional[pulumi.Input[str]] = None, :param str connector_arn: The Amazon Resource Name (ARN) of the connector. """ - ... + __args__ = dict() + __args__['connectorArn'] = connector_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:pcaconnectorscep:getConnector', __args__, opts=opts, typ=GetConnectorResult) + return __ret__.apply(lambda __response__: GetConnectorResult( + connector_arn=pulumi.get(__response__, 'connector_arn'), + endpoint=pulumi.get(__response__, 'endpoint'), + open_id_configuration=pulumi.get(__response__, 'open_id_configuration'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/pcaconnectorscep/outputs.py b/sdk/python/pulumi_aws_native/pcaconnectorscep/outputs.py index 5e547f4781..629da56c86 100644 --- a/sdk/python/pulumi_aws_native/pcaconnectorscep/outputs.py +++ b/sdk/python/pulumi_aws_native/pcaconnectorscep/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/personalize/_inputs.py b/sdk/python/pulumi_aws_native/personalize/_inputs.py index 5358e50a8c..2a9d4338ac 100644 --- a/sdk/python/pulumi_aws_native/personalize/_inputs.py +++ b/sdk/python/pulumi_aws_native/personalize/_inputs.py @@ -4,26 +4,56 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DatasetImportJobDataSourcePropertiesArgs', + 'DatasetImportJobDataSourcePropertiesArgsDict', 'DatasetImportJobArgs', + 'DatasetImportJobArgsDict', 'SolutionCategoricalHyperParameterRangeArgs', + 'SolutionCategoricalHyperParameterRangeArgsDict', 'SolutionConfigAutoMlConfigPropertiesArgs', + 'SolutionConfigAutoMlConfigPropertiesArgsDict', 'SolutionConfigHpoConfigPropertiesAlgorithmHyperParameterRangesPropertiesArgs', + 'SolutionConfigHpoConfigPropertiesAlgorithmHyperParameterRangesPropertiesArgsDict', 'SolutionConfigHpoConfigPropertiesHpoObjectivePropertiesArgs', + 'SolutionConfigHpoConfigPropertiesHpoObjectivePropertiesArgsDict', 'SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgs', + 'SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgsDict', 'SolutionConfigHpoConfigPropertiesArgs', + 'SolutionConfigHpoConfigPropertiesArgsDict', 'SolutionConfigArgs', + 'SolutionConfigArgsDict', 'SolutionContinuousHyperParameterRangeArgs', + 'SolutionContinuousHyperParameterRangeArgsDict', 'SolutionIntegerHyperParameterRangeArgs', + 'SolutionIntegerHyperParameterRangeArgsDict', ] +MYPY = False + +if not MYPY: + class DatasetImportJobDataSourcePropertiesArgsDict(TypedDict): + """ + The Amazon S3 bucket that contains the training data to import. + """ + data_location: NotRequired[pulumi.Input[str]] + """ + The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. + """ +elif False: + DatasetImportJobDataSourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetImportJobDataSourcePropertiesArgs: def __init__(__self__, *, @@ -48,6 +78,34 @@ def data_location(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "data_location", value) +if not MYPY: + class DatasetImportJobArgsDict(TypedDict): + """ + Initial DatasetImportJob for the created dataset + """ + data_source: NotRequired[pulumi.Input['DatasetImportJobDataSourcePropertiesArgsDict']] + """ + The Amazon S3 bucket that contains the training data to import. + """ + dataset_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the dataset that receives the imported data + """ + dataset_import_job_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the dataset import job + """ + job_name: NotRequired[pulumi.Input[str]] + """ + The name for the dataset import job. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the IAM role that has permissions to read from the Amazon S3 data source. + """ +elif False: + DatasetImportJobArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DatasetImportJobArgs: def __init__(__self__, *, @@ -136,6 +194,22 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class SolutionCategoricalHyperParameterRangeArgsDict(TypedDict): + """ + Provides the name and values of a Categorical hyperparameter. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the hyperparameter. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the categories for the hyperparameter. + """ +elif False: + SolutionCategoricalHyperParameterRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SolutionCategoricalHyperParameterRangeArgs: def __init__(__self__, *, @@ -176,6 +250,22 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class SolutionConfigAutoMlConfigPropertiesArgsDict(TypedDict): + """ + The AutoMLConfig object containing a list of recipes to search when AutoML is performed. + """ + metric_name: NotRequired[pulumi.Input[str]] + """ + The metric to optimize. + """ + recipe_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of candidate recipes. + """ +elif False: + SolutionConfigAutoMlConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SolutionConfigAutoMlConfigPropertiesArgs: def __init__(__self__, *, @@ -216,6 +306,26 @@ def recipe_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "recipe_list", value) +if not MYPY: + class SolutionConfigHpoConfigPropertiesAlgorithmHyperParameterRangesPropertiesArgsDict(TypedDict): + """ + The hyperparameters and their allowable ranges + """ + categorical_hyper_parameter_ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['SolutionCategoricalHyperParameterRangeArgsDict']]]] + """ + The categorical hyperparameters and their ranges. + """ + continuous_hyper_parameter_ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['SolutionContinuousHyperParameterRangeArgsDict']]]] + """ + The continuous hyperparameters and their ranges. + """ + integer_hyper_parameter_ranges: NotRequired[pulumi.Input[Sequence[pulumi.Input['SolutionIntegerHyperParameterRangeArgsDict']]]] + """ + The integer hyperparameters and their ranges. + """ +elif False: + SolutionConfigHpoConfigPropertiesAlgorithmHyperParameterRangesPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SolutionConfigHpoConfigPropertiesAlgorithmHyperParameterRangesPropertiesArgs: def __init__(__self__, *, @@ -272,6 +382,26 @@ def integer_hyper_parameter_ranges(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "integer_hyper_parameter_ranges", value) +if not MYPY: + class SolutionConfigHpoConfigPropertiesHpoObjectivePropertiesArgsDict(TypedDict): + """ + The metric to optimize during HPO. + """ + metric_name: NotRequired[pulumi.Input[str]] + """ + The name of the metric + """ + metric_regex: NotRequired[pulumi.Input[str]] + """ + A regular expression for finding the metric in the training job logs. + """ + type: NotRequired[pulumi.Input['SolutionConfigHpoConfigPropertiesHpoObjectivePropertiesType']] + """ + The type of the metric. Valid values are Maximize and Minimize. + """ +elif False: + SolutionConfigHpoConfigPropertiesHpoObjectivePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SolutionConfigHpoConfigPropertiesHpoObjectivePropertiesArgs: def __init__(__self__, *, @@ -328,6 +458,22 @@ def type(self, value: Optional[pulumi.Input['SolutionConfigHpoConfigPropertiesHp pulumi.set(self, "type", value) +if not MYPY: + class SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgsDict(TypedDict): + """ + Describes the resource configuration for hyperparameter optimization (HPO). + """ + max_number_of_training_jobs: NotRequired[pulumi.Input[str]] + """ + The maximum number of training jobs when you create a solution version. The maximum value for maxNumberOfTrainingJobs is 40. + """ + max_parallel_training_jobs: NotRequired[pulumi.Input[str]] + """ + The maximum number of parallel training jobs when you create a solution version. The maximum value for maxParallelTrainingJobs is 10. + """ +elif False: + SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgs: def __init__(__self__, *, @@ -368,6 +514,26 @@ def max_parallel_training_jobs(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "max_parallel_training_jobs", value) +if not MYPY: + class SolutionConfigHpoConfigPropertiesArgsDict(TypedDict): + """ + Describes the properties for hyperparameter optimization (HPO) + """ + algorithm_hyper_parameter_ranges: NotRequired[pulumi.Input['SolutionConfigHpoConfigPropertiesAlgorithmHyperParameterRangesPropertiesArgsDict']] + """ + The hyperparameters and their allowable ranges + """ + hpo_objective: NotRequired[pulumi.Input['SolutionConfigHpoConfigPropertiesHpoObjectivePropertiesArgsDict']] + """ + The metric to optimize during HPO. + """ + hpo_resource_config: NotRequired[pulumi.Input['SolutionConfigHpoConfigPropertiesHpoResourceConfigPropertiesArgsDict']] + """ + Describes the resource configuration for hyperparameter optimization (HPO). + """ +elif False: + SolutionConfigHpoConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SolutionConfigHpoConfigPropertiesArgs: def __init__(__self__, *, @@ -424,6 +590,34 @@ def hpo_resource_config(self, value: Optional[pulumi.Input['SolutionConfigHpoCon pulumi.set(self, "hpo_resource_config", value) +if not MYPY: + class SolutionConfigArgsDict(TypedDict): + """ + The configuration to use with the solution. When performAutoML is set to true, Amazon Personalize only evaluates the autoMLConfig section of the solution configuration. + """ + algorithm_hyper_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Lists the hyperparameter names and ranges. + """ + auto_ml_config: NotRequired[pulumi.Input['SolutionConfigAutoMlConfigPropertiesArgsDict']] + """ + The AutoMLConfig object containing a list of recipes to search when AutoML is performed. + """ + event_value_threshold: NotRequired[pulumi.Input[str]] + """ + Only events with a value greater than or equal to this threshold are used for training a model. + """ + feature_transformation_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Lists the feature transformation parameters. + """ + hpo_config: NotRequired[pulumi.Input['SolutionConfigHpoConfigPropertiesArgsDict']] + """ + Describes the properties for hyperparameter optimization (HPO) + """ +elif False: + SolutionConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SolutionConfigArgs: def __init__(__self__, *, @@ -512,6 +706,26 @@ def hpo_config(self, value: Optional[pulumi.Input['SolutionConfigHpoConfigProper pulumi.set(self, "hpo_config", value) +if not MYPY: + class SolutionContinuousHyperParameterRangeArgsDict(TypedDict): + """ + Provides the name and range of a continuous hyperparameter. + """ + max_value: NotRequired[pulumi.Input[float]] + """ + The maximum allowable value for the hyperparameter. + """ + min_value: NotRequired[pulumi.Input[float]] + """ + The minimum allowable value for the hyperparameter. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the hyperparameter. + """ +elif False: + SolutionContinuousHyperParameterRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SolutionContinuousHyperParameterRangeArgs: def __init__(__self__, *, @@ -568,6 +782,26 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class SolutionIntegerHyperParameterRangeArgsDict(TypedDict): + """ + Provides the name and range of an integer-valued hyperparameter. + """ + max_value: NotRequired[pulumi.Input[int]] + """ + The maximum allowable value for the hyperparameter. + """ + min_value: NotRequired[pulumi.Input[int]] + """ + The minimum allowable value for the hyperparameter. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the hyperparameter. + """ +elif False: + SolutionIntegerHyperParameterRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SolutionIntegerHyperParameterRangeArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/personalize/dataset.py b/sdk/python/pulumi_aws_native/personalize/dataset.py index ffa107d6ad..4de1c4dab9 100644 --- a/sdk/python/pulumi_aws_native/personalize/dataset.py +++ b/sdk/python/pulumi_aws_native/personalize/dataset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/personalize/dataset_group.py b/sdk/python/pulumi_aws_native/personalize/dataset_group.py index 9f7aca9144..bafe11eb36 100644 --- a/sdk/python/pulumi_aws_native/personalize/dataset_group.py +++ b/sdk/python/pulumi_aws_native/personalize/dataset_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/personalize/get_dataset.py b/sdk/python/pulumi_aws_native/personalize/get_dataset.py index edb068735d..377c8931dd 100644 --- a/sdk/python/pulumi_aws_native/personalize/get_dataset.py +++ b/sdk/python/pulumi_aws_native/personalize/get_dataset.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_dataset(dataset_arn: Optional[str] = None, return AwaitableGetDatasetResult( dataset_arn=pulumi.get(__ret__, 'dataset_arn'), dataset_import_job=pulumi.get(__ret__, 'dataset_import_job')) - - -@_utilities.lift_output_func(get_dataset) def get_dataset_output(dataset_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatasetResult]: """ @@ -81,4 +83,10 @@ def get_dataset_output(dataset_arn: Optional[pulumi.Input[str]] = None, :param str dataset_arn: The ARN of the dataset """ - ... + __args__ = dict() + __args__['datasetArn'] = dataset_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:personalize:getDataset', __args__, opts=opts, typ=GetDatasetResult) + return __ret__.apply(lambda __response__: GetDatasetResult( + dataset_arn=pulumi.get(__response__, 'dataset_arn'), + dataset_import_job=pulumi.get(__response__, 'dataset_import_job'))) diff --git a/sdk/python/pulumi_aws_native/personalize/get_dataset_group.py b/sdk/python/pulumi_aws_native/personalize/get_dataset_group.py index e7d6f05b54..746e49fd30 100644 --- a/sdk/python/pulumi_aws_native/personalize/get_dataset_group.py +++ b/sdk/python/pulumi_aws_native/personalize/get_dataset_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_dataset_group(dataset_group_arn: Optional[str] = None, return AwaitableGetDatasetGroupResult( dataset_group_arn=pulumi.get(__ret__, 'dataset_group_arn')) - - -@_utilities.lift_output_func(get_dataset_group) def get_dataset_group_output(dataset_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatasetGroupResult]: """ @@ -67,4 +69,9 @@ def get_dataset_group_output(dataset_group_arn: Optional[pulumi.Input[str]] = No :param str dataset_group_arn: The Amazon Resource Name (ARN) of the dataset group. """ - ... + __args__ = dict() + __args__['datasetGroupArn'] = dataset_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:personalize:getDatasetGroup', __args__, opts=opts, typ=GetDatasetGroupResult) + return __ret__.apply(lambda __response__: GetDatasetGroupResult( + dataset_group_arn=pulumi.get(__response__, 'dataset_group_arn'))) diff --git a/sdk/python/pulumi_aws_native/personalize/get_schema.py b/sdk/python/pulumi_aws_native/personalize/get_schema.py index 3b5cd03332..59c566cadf 100644 --- a/sdk/python/pulumi_aws_native/personalize/get_schema.py +++ b/sdk/python/pulumi_aws_native/personalize/get_schema.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_schema(schema_arn: Optional[str] = None, return AwaitableGetSchemaResult( schema_arn=pulumi.get(__ret__, 'schema_arn')) - - -@_utilities.lift_output_func(get_schema) def get_schema_output(schema_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchemaResult]: """ @@ -67,4 +69,9 @@ def get_schema_output(schema_arn: Optional[pulumi.Input[str]] = None, :param str schema_arn: Arn for the schema. """ - ... + __args__ = dict() + __args__['schemaArn'] = schema_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:personalize:getSchema', __args__, opts=opts, typ=GetSchemaResult) + return __ret__.apply(lambda __response__: GetSchemaResult( + schema_arn=pulumi.get(__response__, 'schema_arn'))) diff --git a/sdk/python/pulumi_aws_native/personalize/get_solution.py b/sdk/python/pulumi_aws_native/personalize/get_solution.py index 3e91cafa06..2a65a6d311 100644 --- a/sdk/python/pulumi_aws_native/personalize/get_solution.py +++ b/sdk/python/pulumi_aws_native/personalize/get_solution.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_solution(solution_arn: Optional[str] = None, return AwaitableGetSolutionResult( solution_arn=pulumi.get(__ret__, 'solution_arn')) - - -@_utilities.lift_output_func(get_solution) def get_solution_output(solution_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSolutionResult]: """ @@ -67,4 +69,9 @@ def get_solution_output(solution_arn: Optional[pulumi.Input[str]] = None, :param str solution_arn: The Amazon Resource Name (ARN) of the solution. """ - ... + __args__ = dict() + __args__['solutionArn'] = solution_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:personalize:getSolution', __args__, opts=opts, typ=GetSolutionResult) + return __ret__.apply(lambda __response__: GetSolutionResult( + solution_arn=pulumi.get(__response__, 'solution_arn'))) diff --git a/sdk/python/pulumi_aws_native/personalize/outputs.py b/sdk/python/pulumi_aws_native/personalize/outputs.py index 79fb6776a1..90ac0fc5e4 100644 --- a/sdk/python/pulumi_aws_native/personalize/outputs.py +++ b/sdk/python/pulumi_aws_native/personalize/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/personalize/schema.py b/sdk/python/pulumi_aws_native/personalize/schema.py index a50dc0b211..fb351efa67 100644 --- a/sdk/python/pulumi_aws_native/personalize/schema.py +++ b/sdk/python/pulumi_aws_native/personalize/schema.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/personalize/solution.py b/sdk/python/pulumi_aws_native/personalize/solution.py index 21a34b53c2..8f608b1555 100644 --- a/sdk/python/pulumi_aws_native/personalize/solution.py +++ b/sdk/python/pulumi_aws_native/personalize/solution.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/pinpoint/_inputs.py b/sdk/python/pulumi_aws_native/pinpoint/_inputs.py index c509c0ceb2..1b8db63e62 100644 --- a/sdk/python/pulumi_aws_native/pinpoint/_inputs.py +++ b/sdk/python/pulumi_aws_native/pinpoint/_inputs.py @@ -4,21 +4,51 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'InAppTemplateBodyConfigArgs', + 'InAppTemplateBodyConfigArgsDict', 'InAppTemplateButtonConfigArgs', + 'InAppTemplateButtonConfigArgsDict', 'InAppTemplateDefaultButtonConfigurationArgs', + 'InAppTemplateDefaultButtonConfigurationArgsDict', 'InAppTemplateHeaderConfigArgs', + 'InAppTemplateHeaderConfigArgsDict', 'InAppTemplateInAppMessageContentArgs', + 'InAppTemplateInAppMessageContentArgsDict', 'InAppTemplateOverrideButtonConfigurationArgs', + 'InAppTemplateOverrideButtonConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class InAppTemplateBodyConfigArgsDict(TypedDict): + alignment: NotRequired[pulumi.Input['InAppTemplateAlignment']] + """ + The text alignment of the main body text of the message. Acceptable values: `LEFT` , `CENTER` , `RIGHT` . + """ + body: NotRequired[pulumi.Input[str]] + """ + The main body text of the message. + """ + text_color: NotRequired[pulumi.Input[str]] + """ + The color of the body text, expressed as a hex color code (such as #000000 for black). + """ +elif False: + InAppTemplateBodyConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InAppTemplateBodyConfigArgs: def __init__(__self__, *, @@ -74,6 +104,27 @@ def text_color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "text_color", value) +if not MYPY: + class InAppTemplateButtonConfigArgsDict(TypedDict): + android: NotRequired[pulumi.Input['InAppTemplateOverrideButtonConfigurationArgsDict']] + """ + Optional button configuration to use for in-app messages sent to Android devices. This button configuration overrides the default button configuration. + """ + default_config: NotRequired[pulumi.Input['InAppTemplateDefaultButtonConfigurationArgsDict']] + """ + Specifies the default behavior of a button that appears in an in-app message. You can optionally add button configurations that specifically apply to iOS, Android, or web browser users. + """ + ios: NotRequired[pulumi.Input['InAppTemplateOverrideButtonConfigurationArgsDict']] + """ + Optional button configuration to use for in-app messages sent to iOS devices. This button configuration overrides the default button configuration. + """ + web: NotRequired[pulumi.Input['InAppTemplateOverrideButtonConfigurationArgsDict']] + """ + Optional button configuration to use for in-app messages sent to web applications. This button configuration overrides the default button configuration. + """ +elif False: + InAppTemplateButtonConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InAppTemplateButtonConfigArgs: def __init__(__self__, *, @@ -145,6 +196,39 @@ def web(self, value: Optional[pulumi.Input['InAppTemplateOverrideButtonConfigura pulumi.set(self, "web", value) +if not MYPY: + class InAppTemplateDefaultButtonConfigurationArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input[str]] + """ + The background color of a button, expressed as a hex color code (such as #000000 for black). + """ + border_radius: NotRequired[pulumi.Input[int]] + """ + The border radius of a button. + """ + button_action: NotRequired[pulumi.Input['InAppTemplateButtonAction']] + """ + The action that occurs when a recipient chooses a button in an in-app message. You can specify one of the following: + + - `LINK` – A link to a web destination. + - `DEEP_LINK` – A link to a specific page in an application. + - `CLOSE` – Dismisses the message. + """ + link: NotRequired[pulumi.Input[str]] + """ + The destination (such as a URL) for a button. + """ + text: NotRequired[pulumi.Input[str]] + """ + The text that appears on a button in an in-app message. + """ + text_color: NotRequired[pulumi.Input[str]] + """ + The color of the body text in a button, expressed as a hex color code (such as #000000 for black). + """ +elif False: + InAppTemplateDefaultButtonConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InAppTemplateDefaultButtonConfigurationArgs: def __init__(__self__, *, @@ -256,6 +340,23 @@ def text_color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "text_color", value) +if not MYPY: + class InAppTemplateHeaderConfigArgsDict(TypedDict): + alignment: NotRequired[pulumi.Input['InAppTemplateAlignment']] + """ + The text alignment of the title of the message. Acceptable values: `LEFT` , `CENTER` , `RIGHT` . + """ + header: NotRequired[pulumi.Input[str]] + """ + The title text of the in-app message. + """ + text_color: NotRequired[pulumi.Input[str]] + """ + The color of the title text, expressed as a hex color code (such as #000000 for black). + """ +elif False: + InAppTemplateHeaderConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InAppTemplateHeaderConfigArgs: def __init__(__self__, *, @@ -311,6 +412,35 @@ def text_color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "text_color", value) +if not MYPY: + class InAppTemplateInAppMessageContentArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input[str]] + """ + The background color for an in-app message banner, expressed as a hex color code (such as #000000 for black). + """ + body_config: NotRequired[pulumi.Input['InAppTemplateBodyConfigArgsDict']] + """ + An object that contains configuration information about the header or title text of the in-app message. + """ + header_config: NotRequired[pulumi.Input['InAppTemplateHeaderConfigArgsDict']] + """ + An object that contains configuration information about the header or title text of the in-app message. + """ + image_url: NotRequired[pulumi.Input[str]] + """ + The URL of the image that appears on an in-app message banner. + """ + primary_btn: NotRequired[pulumi.Input['InAppTemplateButtonConfigArgsDict']] + """ + An object that contains configuration information about the primary button in an in-app message. + """ + secondary_btn: NotRequired[pulumi.Input['InAppTemplateButtonConfigArgsDict']] + """ + An object that contains configuration information about the secondary button in an in-app message. + """ +elif False: + InAppTemplateInAppMessageContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InAppTemplateInAppMessageContentArgs: def __init__(__self__, *, @@ -414,6 +544,23 @@ def secondary_btn(self, value: Optional[pulumi.Input['InAppTemplateButtonConfigA pulumi.set(self, "secondary_btn", value) +if not MYPY: + class InAppTemplateOverrideButtonConfigurationArgsDict(TypedDict): + button_action: NotRequired[pulumi.Input['InAppTemplateButtonAction']] + """ + The action that occurs when a recipient chooses a button in an in-app message. You can specify one of the following: + + - `LINK` – A link to a web destination. + - `DEEP_LINK` – A link to a specific page in an application. + - `CLOSE` – Dismisses the message. + """ + link: NotRequired[pulumi.Input[str]] + """ + The destination (such as a URL) for a button. + """ +elif False: + InAppTemplateOverrideButtonConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InAppTemplateOverrideButtonConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/pinpoint/get_in_app_template.py b/sdk/python/pulumi_aws_native/pinpoint/get_in_app_template.py index 9f050e721b..8225139663 100644 --- a/sdk/python/pulumi_aws_native/pinpoint/get_in_app_template.py +++ b/sdk/python/pulumi_aws_native/pinpoint/get_in_app_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -136,9 +141,6 @@ def get_in_app_template(template_name: Optional[str] = None, layout=pulumi.get(__ret__, 'layout'), tags=pulumi.get(__ret__, 'tags'), template_description=pulumi.get(__ret__, 'template_description')) - - -@_utilities.lift_output_func(get_in_app_template) def get_in_app_template_output(template_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInAppTemplateResult]: """ @@ -147,4 +149,14 @@ def get_in_app_template_output(template_name: Optional[pulumi.Input[str]] = None :param str template_name: The name of the in-app message template. """ - ... + __args__ = dict() + __args__['templateName'] = template_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:pinpoint:getInAppTemplate', __args__, opts=opts, typ=GetInAppTemplateResult) + return __ret__.apply(lambda __response__: GetInAppTemplateResult( + arn=pulumi.get(__response__, 'arn'), + content=pulumi.get(__response__, 'content'), + custom_config=pulumi.get(__response__, 'custom_config'), + layout=pulumi.get(__response__, 'layout'), + tags=pulumi.get(__response__, 'tags'), + template_description=pulumi.get(__response__, 'template_description'))) diff --git a/sdk/python/pulumi_aws_native/pinpoint/in_app_template.py b/sdk/python/pulumi_aws_native/pinpoint/in_app_template.py index 253f946542..48c8fb3ac8 100644 --- a/sdk/python/pulumi_aws_native/pinpoint/in_app_template.py +++ b/sdk/python/pulumi_aws_native/pinpoint/in_app_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/pinpoint/outputs.py b/sdk/python/pulumi_aws_native/pinpoint/outputs.py index 43cf454d50..a65b135092 100644 --- a/sdk/python/pulumi_aws_native/pinpoint/outputs.py +++ b/sdk/python/pulumi_aws_native/pinpoint/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/pipes/_inputs.py b/sdk/python/pulumi_aws_native/pipes/_inputs.py index 43f307f854..522791792d 100644 --- a/sdk/python/pulumi_aws_native/pipes/_inputs.py +++ b/sdk/python/pulumi_aws_native/pipes/_inputs.py @@ -4,77 +4,163 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'PipeAwsVpcConfigurationArgs', + 'PipeAwsVpcConfigurationArgsDict', 'PipeBatchArrayPropertiesArgs', + 'PipeBatchArrayPropertiesArgsDict', 'PipeBatchContainerOverridesArgs', + 'PipeBatchContainerOverridesArgsDict', 'PipeBatchEnvironmentVariableArgs', + 'PipeBatchEnvironmentVariableArgsDict', 'PipeBatchJobDependencyArgs', + 'PipeBatchJobDependencyArgsDict', 'PipeBatchResourceRequirementArgs', + 'PipeBatchResourceRequirementArgsDict', 'PipeBatchRetryStrategyArgs', + 'PipeBatchRetryStrategyArgsDict', 'PipeCapacityProviderStrategyItemArgs', + 'PipeCapacityProviderStrategyItemArgsDict', 'PipeCloudwatchLogsLogDestinationArgs', + 'PipeCloudwatchLogsLogDestinationArgsDict', 'PipeDeadLetterConfigArgs', + 'PipeDeadLetterConfigArgsDict', 'PipeDimensionMappingArgs', + 'PipeDimensionMappingArgsDict', 'PipeEcsContainerOverrideArgs', + 'PipeEcsContainerOverrideArgsDict', 'PipeEcsEnvironmentFileArgs', + 'PipeEcsEnvironmentFileArgsDict', 'PipeEcsEnvironmentVariableArgs', + 'PipeEcsEnvironmentVariableArgsDict', 'PipeEcsEphemeralStorageArgs', + 'PipeEcsEphemeralStorageArgsDict', 'PipeEcsInferenceAcceleratorOverrideArgs', + 'PipeEcsInferenceAcceleratorOverrideArgsDict', 'PipeEcsResourceRequirementArgs', + 'PipeEcsResourceRequirementArgsDict', 'PipeEcsTaskOverrideArgs', + 'PipeEcsTaskOverrideArgsDict', 'PipeEnrichmentHttpParametersArgs', + 'PipeEnrichmentHttpParametersArgsDict', 'PipeEnrichmentParametersArgs', + 'PipeEnrichmentParametersArgsDict', 'PipeFilterCriteriaArgs', + 'PipeFilterCriteriaArgsDict', 'PipeFilterArgs', + 'PipeFilterArgsDict', 'PipeFirehoseLogDestinationArgs', + 'PipeFirehoseLogDestinationArgsDict', 'PipeLogConfigurationArgs', + 'PipeLogConfigurationArgsDict', 'PipeMqBrokerAccessCredentialsPropertiesArgs', + 'PipeMqBrokerAccessCredentialsPropertiesArgsDict', 'PipeMskAccessCredentials0PropertiesArgs', + 'PipeMskAccessCredentials0PropertiesArgsDict', 'PipeMskAccessCredentials1PropertiesArgs', + 'PipeMskAccessCredentials1PropertiesArgsDict', 'PipeMultiMeasureAttributeMappingArgs', + 'PipeMultiMeasureAttributeMappingArgsDict', 'PipeMultiMeasureMappingArgs', + 'PipeMultiMeasureMappingArgsDict', 'PipeNetworkConfigurationArgs', + 'PipeNetworkConfigurationArgsDict', 'PipePlacementConstraintArgs', + 'PipePlacementConstraintArgsDict', 'PipePlacementStrategyArgs', + 'PipePlacementStrategyArgsDict', 'PipeS3LogDestinationArgs', + 'PipeS3LogDestinationArgsDict', 'PipeSageMakerPipelineParameterArgs', + 'PipeSageMakerPipelineParameterArgsDict', 'PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgs', + 'PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgsDict', 'PipeSelfManagedKafkaAccessConfigurationCredentials1PropertiesArgs', + 'PipeSelfManagedKafkaAccessConfigurationCredentials1PropertiesArgsDict', 'PipeSelfManagedKafkaAccessConfigurationCredentials2PropertiesArgs', + 'PipeSelfManagedKafkaAccessConfigurationCredentials2PropertiesArgsDict', 'PipeSelfManagedKafkaAccessConfigurationCredentials3PropertiesArgs', + 'PipeSelfManagedKafkaAccessConfigurationCredentials3PropertiesArgsDict', 'PipeSelfManagedKafkaAccessConfigurationVpcArgs', + 'PipeSelfManagedKafkaAccessConfigurationVpcArgsDict', 'PipeSingleMeasureMappingArgs', + 'PipeSingleMeasureMappingArgsDict', 'PipeSourceActiveMqBrokerParametersArgs', + 'PipeSourceActiveMqBrokerParametersArgsDict', 'PipeSourceDynamoDbStreamParametersArgs', + 'PipeSourceDynamoDbStreamParametersArgsDict', 'PipeSourceKinesisStreamParametersArgs', + 'PipeSourceKinesisStreamParametersArgsDict', 'PipeSourceManagedStreamingKafkaParametersArgs', + 'PipeSourceManagedStreamingKafkaParametersArgsDict', 'PipeSourceParametersArgs', + 'PipeSourceParametersArgsDict', 'PipeSourceRabbitMqBrokerParametersArgs', + 'PipeSourceRabbitMqBrokerParametersArgsDict', 'PipeSourceSelfManagedKafkaParametersArgs', + 'PipeSourceSelfManagedKafkaParametersArgsDict', 'PipeSourceSqsQueueParametersArgs', + 'PipeSourceSqsQueueParametersArgsDict', 'PipeTagArgs', + 'PipeTagArgsDict', 'PipeTargetBatchJobParametersArgs', + 'PipeTargetBatchJobParametersArgsDict', 'PipeTargetCloudWatchLogsParametersArgs', + 'PipeTargetCloudWatchLogsParametersArgsDict', 'PipeTargetEcsTaskParametersArgs', + 'PipeTargetEcsTaskParametersArgsDict', 'PipeTargetEventBridgeEventBusParametersArgs', + 'PipeTargetEventBridgeEventBusParametersArgsDict', 'PipeTargetHttpParametersArgs', + 'PipeTargetHttpParametersArgsDict', 'PipeTargetKinesisStreamParametersArgs', + 'PipeTargetKinesisStreamParametersArgsDict', 'PipeTargetLambdaFunctionParametersArgs', + 'PipeTargetLambdaFunctionParametersArgsDict', 'PipeTargetParametersArgs', + 'PipeTargetParametersArgsDict', 'PipeTargetRedshiftDataParametersArgs', + 'PipeTargetRedshiftDataParametersArgsDict', 'PipeTargetSageMakerPipelineParametersArgs', + 'PipeTargetSageMakerPipelineParametersArgsDict', 'PipeTargetSqsQueueParametersArgs', + 'PipeTargetSqsQueueParametersArgsDict', 'PipeTargetStateMachineParametersArgs', + 'PipeTargetStateMachineParametersArgsDict', 'PipeTargetTimestreamParametersArgs', + 'PipeTargetTimestreamParametersArgsDict', ] +MYPY = False + +if not MYPY: + class PipeAwsVpcConfigurationArgsDict(TypedDict): + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets. + """ + assign_public_ip: NotRequired[pulumi.Input['PipeAssignPublicIp']] + """ + Specifies whether the task's elastic network interface receives a public IP address. You can specify `ENABLED` only when `LaunchType` in `EcsParameters` is set to `FARGATE` . + """ + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used. + """ +elif False: + PipeAwsVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeAwsVpcConfigurationArgs: def __init__(__self__, *, @@ -129,6 +215,15 @@ def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "security_groups", value) +if not MYPY: + class PipeBatchArrayPropertiesArgsDict(TypedDict): + size: NotRequired[pulumi.Input[int]] + """ + The size of the array, if this is an array batch job. + """ +elif False: + PipeBatchArrayPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeBatchArrayPropertiesArgs: def __init__(__self__, *, @@ -152,6 +247,31 @@ def size(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "size", value) +if not MYPY: + class PipeBatchContainerOverridesArgsDict(TypedDict): + command: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The command to send to the container that overrides the default command from the Docker image or the task definition. + """ + environment: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeBatchEnvironmentVariableArgsDict']]]] + """ + The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. + + > Environment variables cannot start with " `AWS Batch` ". This naming convention is reserved for variables that AWS Batch sets. + """ + instance_type: NotRequired[pulumi.Input[str]] + """ + The instance type to use for a multi-node parallel job. + + > This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided. + """ + resource_requirements: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeBatchResourceRequirementArgsDict']]]] + """ + The type and amount of resources to assign to a container. This overrides the settings in the job definition. The supported resources include `GPU` , `MEMORY` , and `VCPU` . + """ +elif False: + PipeBatchContainerOverridesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeBatchContainerOverridesArgs: def __init__(__self__, *, @@ -231,6 +351,19 @@ def resource_requirements(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "resource_requirements", value) +if not MYPY: + class PipeBatchEnvironmentVariableArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The name of the key-value pair. For environment variables, this is the name of the environment variable. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of the key-value pair. For environment variables, this is the value of the environment variable. + """ +elif False: + PipeBatchEnvironmentVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeBatchEnvironmentVariableArgs: def __init__(__self__, *, @@ -270,6 +403,19 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class PipeBatchJobDependencyArgsDict(TypedDict): + job_id: NotRequired[pulumi.Input[str]] + """ + The job ID of the AWS Batch job that's associated with this dependency. + """ + type: NotRequired[pulumi.Input['PipeBatchJobDependencyType']] + """ + The type of the job dependency. + """ +elif False: + PipeBatchJobDependencyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeBatchJobDependencyArgs: def __init__(__self__, *, @@ -309,6 +455,56 @@ def type(self, value: Optional[pulumi.Input['PipeBatchJobDependencyType']]): pulumi.set(self, "type", value) +if not MYPY: + class PipeBatchResourceRequirementArgsDict(TypedDict): + type: pulumi.Input['PipeBatchResourceRequirementType'] + """ + The type of resource to assign to a container. The supported resources include `GPU` , `MEMORY` , and `VCPU` . + """ + value: pulumi.Input[str] + """ + The quantity of the specified resource to reserve for the container. The values vary based on the `type` specified. + + - **type="GPU"** - The number of physical GPUs to reserve for the container. Make sure that the number of GPUs reserved for all containers in a job doesn't exceed the number of available GPUs on the compute resource that the job is launched on. + + > GPUs aren't available for jobs that are running on Fargate resources. + - **type="MEMORY"** - The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are running on EC2 resources. If your container attempts to exceed the memory specified, the container is terminated. This parameter maps to `Memory` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--memory` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to `Memory` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--memory` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . + + > If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a particular instance type, see [Memory management](https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html) in the *AWS Batch User Guide* . + + For jobs that are running on Fargate resources, then `value` is the hard limit (in MiB), and must match one of the supported values and the `VCPU` values must be one of the values supported for that memory value. + + - **value = 512** - `VCPU` = 0.25 + - **value = 1024** - `VCPU` = 0.25 or 0.5 + - **value = 2048** - `VCPU` = 0.25, 0.5, or 1 + - **value = 3072** - `VCPU` = 0.5, or 1 + - **value = 4096** - `VCPU` = 0.5, 1, or 2 + - **value = 5120, 6144, or 7168** - `VCPU` = 1 or 2 + - **value = 8192** - `VCPU` = 1, 2, 4, or 8 + - **value = 9216, 10240, 11264, 12288, 13312, 14336, or 15360** - `VCPU` = 2 or 4 + - **value = 16384** - `VCPU` = 2, 4, or 8 + - **value = 17408, 18432, 19456, 21504, 22528, 23552, 25600, 26624, 27648, 29696, or 30720** - `VCPU` = 4 + - **value = 20480, 24576, or 28672** - `VCPU` = 4 or 8 + - **value = 36864, 45056, 53248, or 61440** - `VCPU` = 8 + - **value = 32768, 40960, 49152, or 57344** - `VCPU` = 8 or 16 + - **value = 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880** - `VCPU` = 16 + - **type="VCPU"** - The number of vCPUs reserved for the container. This parameter maps to `CpuShares` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--cpu-shares` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . Each vCPU is equivalent to 1,024 CPU shares. For EC2 resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be specified for each node at least once. + + The default for the Fargate On-Demand vCPU resource count quota is 6 vCPUs. For more information about Fargate quotas, see [AWS Fargate quotas](https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate) in the *AWS General Reference* . + + For jobs that are running on Fargate resources, then `value` must match one of the supported values and the `MEMORY` values must be one of the values supported for that `VCPU` value. The supported values are 0.25, 0.5, 1, 2, 4, 8, and 16 + + - **value = 0.25** - `MEMORY` = 512, 1024, or 2048 + - **value = 0.5** - `MEMORY` = 1024, 2048, 3072, or 4096 + - **value = 1** - `MEMORY` = 2048, 3072, 4096, 5120, 6144, 7168, or 8192 + - **value = 2** - `MEMORY` = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384 + - **value = 4** - `MEMORY` = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720 + - **value = 8** - `MEMORY` = 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, or 61440 + - **value = 16** - `MEMORY` = 32768, 40960, 49152, 57344, 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880 + """ +elif False: + PipeBatchResourceRequirementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeBatchResourceRequirementArgs: def __init__(__self__, *, @@ -420,6 +616,15 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class PipeBatchRetryStrategyArgsDict(TypedDict): + attempts: NotRequired[pulumi.Input[int]] + """ + The number of times to move a job to the `RUNNABLE` status. If the value of `attempts` is greater than one, the job is retried on failure the same number of attempts as the value. + """ +elif False: + PipeBatchRetryStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeBatchRetryStrategyArgs: def __init__(__self__, *, @@ -443,6 +648,23 @@ def attempts(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "attempts", value) +if not MYPY: + class PipeCapacityProviderStrategyItemArgsDict(TypedDict): + capacity_provider: pulumi.Input[str] + """ + The short name of the capacity provider. + """ + base: NotRequired[pulumi.Input[int]] + """ + The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used. + """ + weight: NotRequired[pulumi.Input[int]] + """ + The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied. + """ +elif False: + PipeCapacityProviderStrategyItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeCapacityProviderStrategyItemArgs: def __init__(__self__, *, @@ -497,6 +719,15 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class PipeCloudwatchLogsLogDestinationArgsDict(TypedDict): + log_group_arn: NotRequired[pulumi.Input[str]] + """ + The AWS Resource Name (ARN) for the CloudWatch log group to which EventBridge sends the log records. + """ +elif False: + PipeCloudwatchLogsLogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeCloudwatchLogsLogDestinationArgs: def __init__(__self__, *, @@ -520,6 +751,17 @@ def log_group_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_group_arn", value) +if not MYPY: + class PipeDeadLetterConfigArgsDict(TypedDict): + arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the specified target for the dead-letter queue. + + For Amazon Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS topic or Amazon SQS queue ARN. + """ +elif False: + PipeDeadLetterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeDeadLetterConfigArgs: def __init__(__self__, *, @@ -547,6 +789,23 @@ def arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "arn", value) +if not MYPY: + class PipeDimensionMappingArgsDict(TypedDict): + dimension_name: pulumi.Input[str] + """ + The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions. + """ + dimension_value: pulumi.Input[str] + """ + Dynamic path to the dimension value in the source event. + """ + dimension_value_type: pulumi.Input['PipeDimensionValueType'] + """ + The data type of the dimension for the time-series data. + """ +elif False: + PipeDimensionMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeDimensionMappingArgs: def __init__(__self__, *, @@ -599,6 +858,43 @@ def dimension_value_type(self, value: pulumi.Input['PipeDimensionValueType']): pulumi.set(self, "dimension_value_type", value) +if not MYPY: + class PipeEcsContainerOverrideArgsDict(TypedDict): + command: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name. + """ + cpu: NotRequired[pulumi.Input[int]] + """ + The number of `cpu` units reserved for the container, instead of the default value from the task definition. You must also specify a container name. + """ + environment: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeEcsEnvironmentVariableArgsDict']]]] + """ + The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name. + """ + environment_files: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeEcsEnvironmentFileArgsDict']]]] + """ + A list of files containing the environment variables to pass to a container, instead of the value from the container definition. + """ + memory: NotRequired[pulumi.Input[int]] + """ + The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name. + """ + memory_reservation: NotRequired[pulumi.Input[int]] + """ + The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the container that receives the override. This parameter is required if any override is specified. + """ + resource_requirements: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeEcsResourceRequirementArgsDict']]]] + """ + The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU. + """ +elif False: + PipeEcsContainerOverrideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeEcsContainerOverrideArgs: def __init__(__self__, *, @@ -734,6 +1030,19 @@ def resource_requirements(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "resource_requirements", value) +if not MYPY: + class PipeEcsEnvironmentFileArgsDict(TypedDict): + type: pulumi.Input['PipeEcsEnvironmentFileType'] + """ + The file type to use. The only supported value is `s3` . + """ + value: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file. + """ +elif False: + PipeEcsEnvironmentFileArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeEcsEnvironmentFileArgs: def __init__(__self__, *, @@ -771,6 +1080,19 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class PipeEcsEnvironmentVariableArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The name of the key-value pair. For environment variables, this is the name of the environment variable. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of the key-value pair. For environment variables, this is the value of the environment variable. + """ +elif False: + PipeEcsEnvironmentVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeEcsEnvironmentVariableArgs: def __init__(__self__, *, @@ -810,6 +1132,15 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class PipeEcsEphemeralStorageArgsDict(TypedDict): + size_in_gi_b: pulumi.Input[int] + """ + The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is `21` GiB and the maximum supported value is `200` GiB. + """ +elif False: + PipeEcsEphemeralStorageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeEcsEphemeralStorageArgs: def __init__(__self__, *, @@ -832,6 +1163,19 @@ def size_in_gi_b(self, value: pulumi.Input[int]): pulumi.set(self, "size_in_gi_b", value) +if not MYPY: + class PipeEcsInferenceAcceleratorOverrideArgsDict(TypedDict): + device_name: NotRequired[pulumi.Input[str]] + """ + The Elastic Inference accelerator device name to override for the task. This parameter must match a `deviceName` specified in the task definition. + """ + device_type: NotRequired[pulumi.Input[str]] + """ + The Elastic Inference accelerator type to use. + """ +elif False: + PipeEcsInferenceAcceleratorOverrideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeEcsInferenceAcceleratorOverrideArgs: def __init__(__self__, *, @@ -871,6 +1215,23 @@ def device_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "device_type", value) +if not MYPY: + class PipeEcsResourceRequirementArgsDict(TypedDict): + type: pulumi.Input['PipeEcsResourceRequirementType'] + """ + The type of resource to assign to a container. The supported values are `GPU` or `InferenceAccelerator` . + """ + value: pulumi.Input[str] + """ + The value for the specified resource type. + + If the `GPU` type is used, the value is the number of physical `GPUs` the Amazon ECS container agent reserves for the container. The number of GPUs that's reserved for all containers in a task can't exceed the number of available GPUs on the container instance that the task is launched on. + + If the `InferenceAccelerator` type is used, the `value` matches the `deviceName` for an InferenceAccelerator specified in a task definition. + """ +elif False: + PipeEcsResourceRequirementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeEcsResourceRequirementArgs: def __init__(__self__, *, @@ -916,6 +1277,44 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class PipeEcsTaskOverrideArgsDict(TypedDict): + container_overrides: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeEcsContainerOverrideArgsDict']]]] + """ + One or more container overrides that are sent to a task. + """ + cpu: NotRequired[pulumi.Input[str]] + """ + The cpu override for the task. + """ + ephemeral_storage: NotRequired[pulumi.Input['PipeEcsEphemeralStorageArgsDict']] + """ + The ephemeral storage setting override for the task. + + > This parameter is only supported for tasks hosted on Fargate that use the following platform versions: + > + > - Linux platform version `1.4.0` or later. + > - Windows platform version `1.0.0` or later. + """ + execution_role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see [Amazon ECS task execution IAM role](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + inference_accelerator_overrides: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeEcsInferenceAcceleratorOverrideArgsDict']]]] + """ + The Elastic Inference accelerator override for the task. + """ + memory: NotRequired[pulumi.Input[str]] + """ + The memory override for the task. + """ + task_role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see [IAM Role for Tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) in the *Amazon Elastic Container Service Developer Guide* . + """ +elif False: + PipeEcsTaskOverrideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeEcsTaskOverrideArgs: def __init__(__self__, *, @@ -1045,6 +1444,23 @@ def task_role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "task_role_arn", value) +if not MYPY: + class PipeEnrichmentHttpParametersArgsDict(TypedDict): + header_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The headers that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination. + """ + path_parameter_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination path wildcards ("*"). + """ + query_string_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The query string keys/values that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination. + """ +elif False: + PipeEnrichmentHttpParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeEnrichmentHttpParametersArgs: def __init__(__self__, *, @@ -1100,6 +1516,23 @@ def query_string_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulu pulumi.set(self, "query_string_parameters", value) +if not MYPY: + class PipeEnrichmentParametersArgsDict(TypedDict): + http_parameters: NotRequired[pulumi.Input['PipeEnrichmentHttpParametersArgsDict']] + """ + Contains the HTTP parameters to use when the target is a API Gateway REST endpoint or EventBridge ApiDestination. + + If you specify an API Gateway REST API or EventBridge ApiDestination as a target, you can use this parameter to specify headers, path parameters, and query string keys/values as part of your target invoking request. If you're using ApiDestinations, the corresponding Connection can also have these values configured. In case of any conflicting keys, values from the Connection take precedence. + """ + input_template: NotRequired[pulumi.Input[str]] + """ + Valid JSON text passed to the enrichment. In this case, nothing from the event itself is passed to the enrichment. For more information, see [The JavaScript Object Notation (JSON) Data Interchange Format](https://docs.aws.amazon.com/http://www.rfc-editor.org/rfc/rfc7159.txt) . + + To remove an input template, specify an empty string. + """ +elif False: + PipeEnrichmentParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeEnrichmentParametersArgs: def __init__(__self__, *, @@ -1147,6 +1580,15 @@ def input_template(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "input_template", value) +if not MYPY: + class PipeFilterCriteriaArgsDict(TypedDict): + filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeFilterArgsDict']]]] + """ + The event patterns. + """ +elif False: + PipeFilterCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeFilterCriteriaArgs: def __init__(__self__, *, @@ -1170,6 +1612,15 @@ def filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PipeFilter pulumi.set(self, "filters", value) +if not MYPY: + class PipeFilterArgsDict(TypedDict): + pattern: NotRequired[pulumi.Input[str]] + """ + The event pattern. + """ +elif False: + PipeFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeFilterArgs: def __init__(__self__, *, @@ -1193,6 +1644,15 @@ def pattern(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "pattern", value) +if not MYPY: + class PipeFirehoseLogDestinationArgsDict(TypedDict): + delivery_stream_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the Firehose delivery stream to which EventBridge delivers the pipe log records. + """ +elif False: + PipeFirehoseLogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeFirehoseLogDestinationArgs: def __init__(__self__, *, @@ -1216,18 +1676,49 @@ def delivery_stream_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "delivery_stream_arn", value) -@pulumi.input_type -class PipeLogConfigurationArgs: - def __init__(__self__, *, - cloudwatch_logs_log_destination: Optional[pulumi.Input['PipeCloudwatchLogsLogDestinationArgs']] = None, - firehose_log_destination: Optional[pulumi.Input['PipeFirehoseLogDestinationArgs']] = None, - include_execution_data: Optional[pulumi.Input[Sequence[pulumi.Input['PipeIncludeExecutionDataOption']]]] = None, - level: Optional[pulumi.Input['PipeLogLevel']] = None, - s3_log_destination: Optional[pulumi.Input['PipeS3LogDestinationArgs']] = None): +if not MYPY: + class PipeLogConfigurationArgsDict(TypedDict): + cloudwatch_logs_log_destination: NotRequired[pulumi.Input['PipeCloudwatchLogsLogDestinationArgsDict']] """ - :param pulumi.Input['PipeCloudwatchLogsLogDestinationArgs'] cloudwatch_logs_log_destination: The logging configuration settings for the pipe. - :param pulumi.Input['PipeFirehoseLogDestinationArgs'] firehose_log_destination: The Amazon Data Firehose logging configuration settings for the pipe. - :param pulumi.Input[Sequence[pulumi.Input['PipeIncludeExecutionDataOption']]] include_execution_data: Whether the execution data (specifically, the `payload` , `awsRequest` , and `awsResponse` fields) is included in the log messages for this pipe. + The logging configuration settings for the pipe. + """ + firehose_log_destination: NotRequired[pulumi.Input['PipeFirehoseLogDestinationArgsDict']] + """ + The Amazon Data Firehose logging configuration settings for the pipe. + """ + include_execution_data: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeIncludeExecutionDataOption']]]] + """ + Whether the execution data (specifically, the `payload` , `awsRequest` , and `awsResponse` fields) is included in the log messages for this pipe. + + This applies to all log destinations for the pipe. + + For more information, see [Including execution data in logs](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-logs.html#eb-pipes-logs-execution-data) in the *Amazon EventBridge User Guide* . + + *Allowed values:* `ALL` + """ + level: NotRequired[pulumi.Input['PipeLogLevel']] + """ + The level of logging detail to include. This applies to all log destinations for the pipe. + """ + s3_log_destination: NotRequired[pulumi.Input['PipeS3LogDestinationArgsDict']] + """ + The Amazon S3 logging configuration settings for the pipe. + """ +elif False: + PipeLogConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PipeLogConfigurationArgs: + def __init__(__self__, *, + cloudwatch_logs_log_destination: Optional[pulumi.Input['PipeCloudwatchLogsLogDestinationArgs']] = None, + firehose_log_destination: Optional[pulumi.Input['PipeFirehoseLogDestinationArgs']] = None, + include_execution_data: Optional[pulumi.Input[Sequence[pulumi.Input['PipeIncludeExecutionDataOption']]]] = None, + level: Optional[pulumi.Input['PipeLogLevel']] = None, + s3_log_destination: Optional[pulumi.Input['PipeS3LogDestinationArgs']] = None): + """ + :param pulumi.Input['PipeCloudwatchLogsLogDestinationArgs'] cloudwatch_logs_log_destination: The logging configuration settings for the pipe. + :param pulumi.Input['PipeFirehoseLogDestinationArgs'] firehose_log_destination: The Amazon Data Firehose logging configuration settings for the pipe. + :param pulumi.Input[Sequence[pulumi.Input['PipeIncludeExecutionDataOption']]] include_execution_data: Whether the execution data (specifically, the `payload` , `awsRequest` , and `awsResponse` fields) is included in the log messages for this pipe. This applies to all log destinations for the pipe. @@ -1315,6 +1806,15 @@ def s3_log_destination(self, value: Optional[pulumi.Input['PipeS3LogDestinationA pulumi.set(self, "s3_log_destination", value) +if not MYPY: + class PipeMqBrokerAccessCredentialsPropertiesArgsDict(TypedDict): + basic_auth: pulumi.Input[str] + """ + Optional SecretManager ARN which stores the database credentials + """ +elif False: + PipeMqBrokerAccessCredentialsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeMqBrokerAccessCredentialsPropertiesArgs: def __init__(__self__, *, @@ -1337,6 +1837,15 @@ def basic_auth(self, value: pulumi.Input[str]): pulumi.set(self, "basic_auth", value) +if not MYPY: + class PipeMskAccessCredentials0PropertiesArgsDict(TypedDict): + sasl_scram512_auth: pulumi.Input[str] + """ + Optional SecretManager ARN which stores the database credentials + """ +elif False: + PipeMskAccessCredentials0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeMskAccessCredentials0PropertiesArgs: def __init__(__self__, *, @@ -1359,6 +1868,15 @@ def sasl_scram512_auth(self, value: pulumi.Input[str]): pulumi.set(self, "sasl_scram512_auth", value) +if not MYPY: + class PipeMskAccessCredentials1PropertiesArgsDict(TypedDict): + client_certificate_tls_auth: pulumi.Input[str] + """ + Optional SecretManager ARN which stores the database credentials + """ +elif False: + PipeMskAccessCredentials1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeMskAccessCredentials1PropertiesArgs: def __init__(__self__, *, @@ -1381,6 +1899,23 @@ def client_certificate_tls_auth(self, value: pulumi.Input[str]): pulumi.set(self, "client_certificate_tls_auth", value) +if not MYPY: + class PipeMultiMeasureAttributeMappingArgsDict(TypedDict): + measure_value: pulumi.Input[str] + """ + Dynamic path to the measurement attribute in the source event. + """ + measure_value_type: pulumi.Input['PipeMeasureValueType'] + """ + Data type of the measurement attribute in the source event. + """ + multi_measure_attribute_name: pulumi.Input[str] + """ + Target measure name to be used. + """ +elif False: + PipeMultiMeasureAttributeMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeMultiMeasureAttributeMappingArgs: def __init__(__self__, *, @@ -1433,6 +1968,19 @@ def multi_measure_attribute_name(self, value: pulumi.Input[str]): pulumi.set(self, "multi_measure_attribute_name", value) +if not MYPY: + class PipeMultiMeasureMappingArgsDict(TypedDict): + multi_measure_attribute_mappings: pulumi.Input[Sequence[pulumi.Input['PipeMultiMeasureAttributeMappingArgsDict']]] + """ + Mappings that represent multiple source event fields mapped to measures in the same Timestream for LiveAnalytics record. + """ + multi_measure_name: pulumi.Input[str] + """ + The name of the multiple measurements per record (multi-measure). + """ +elif False: + PipeMultiMeasureMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeMultiMeasureMappingArgs: def __init__(__self__, *, @@ -1470,6 +2018,15 @@ def multi_measure_name(self, value: pulumi.Input[str]): pulumi.set(self, "multi_measure_name", value) +if not MYPY: + class PipeNetworkConfigurationArgsDict(TypedDict): + awsvpc_configuration: NotRequired[pulumi.Input['PipeAwsVpcConfigurationArgsDict']] + """ + Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the `awsvpc` network mode. + """ +elif False: + PipeNetworkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeNetworkConfigurationArgs: def __init__(__self__, *, @@ -1493,6 +2050,19 @@ def awsvpc_configuration(self, value: Optional[pulumi.Input['PipeAwsVpcConfigura pulumi.set(self, "awsvpc_configuration", value) +if not MYPY: + class PipePlacementConstraintArgsDict(TypedDict): + expression: NotRequired[pulumi.Input[str]] + """ + A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is `distinctInstance` . To learn more, see [Cluster Query Language](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html) in the Amazon Elastic Container Service Developer Guide. + """ + type: NotRequired[pulumi.Input['PipePlacementConstraintType']] + """ + The type of constraint. Use distinctInstance to ensure that each task in a particular group is running on a different container instance. Use memberOf to restrict the selection to a group of valid candidates. + """ +elif False: + PipePlacementConstraintArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipePlacementConstraintArgs: def __init__(__self__, *, @@ -1532,6 +2102,19 @@ def type(self, value: Optional[pulumi.Input['PipePlacementConstraintType']]): pulumi.set(self, "type", value) +if not MYPY: + class PipePlacementStrategyArgsDict(TypedDict): + field: NotRequired[pulumi.Input[str]] + """ + The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are cpu and memory. For the random placement strategy, this field is not used. + """ + type: NotRequired[pulumi.Input['PipePlacementStrategyType']] + """ + The type of placement strategy. The random placement strategy randomly places tasks on available candidates. The spread placement strategy spreads placement across available candidates evenly based on the field parameter. The binpack strategy places tasks on available candidates that have the least available amount of the resource that is specified with the field parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task). + """ +elif False: + PipePlacementStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipePlacementStrategyArgs: def __init__(__self__, *, @@ -1571,6 +2154,31 @@ def type(self, value: Optional[pulumi.Input['PipePlacementStrategyType']]): pulumi.set(self, "type", value) +if not MYPY: + class PipeS3LogDestinationArgsDict(TypedDict): + bucket_name: NotRequired[pulumi.Input[str]] + """ + The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe. + """ + bucket_owner: NotRequired[pulumi.Input[str]] + """ + The AWS account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe. + """ + output_format: NotRequired[pulumi.Input['PipeS3OutputFormat']] + """ + The format EventBridge uses for the log records. + + EventBridge currently only supports `json` formatting. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + The prefix text with which to begin Amazon S3 log object names. + + For more information, see [Organizing objects using prefixes](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html) in the *Amazon Simple Storage Service User Guide* . + """ +elif False: + PipeS3LogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeS3LogDestinationArgs: def __init__(__self__, *, @@ -1650,6 +2258,19 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class PipeSageMakerPipelineParameterArgsDict(TypedDict): + name: pulumi.Input[str] + """ + Name of parameter to start execution of a SageMaker Model Building Pipeline. + """ + value: pulumi.Input[str] + """ + Value of parameter to start execution of a SageMaker Model Building Pipeline. + """ +elif False: + PipeSageMakerPipelineParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSageMakerPipelineParameterArgs: def __init__(__self__, *, @@ -1687,6 +2308,15 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgsDict(TypedDict): + basic_auth: pulumi.Input[str] + """ + Optional SecretManager ARN which stores the database credentials + """ +elif False: + PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgs: def __init__(__self__, *, @@ -1709,6 +2339,15 @@ def basic_auth(self, value: pulumi.Input[str]): pulumi.set(self, "basic_auth", value) +if not MYPY: + class PipeSelfManagedKafkaAccessConfigurationCredentials1PropertiesArgsDict(TypedDict): + sasl_scram512_auth: pulumi.Input[str] + """ + Optional SecretManager ARN which stores the database credentials + """ +elif False: + PipeSelfManagedKafkaAccessConfigurationCredentials1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSelfManagedKafkaAccessConfigurationCredentials1PropertiesArgs: def __init__(__self__, *, @@ -1731,6 +2370,15 @@ def sasl_scram512_auth(self, value: pulumi.Input[str]): pulumi.set(self, "sasl_scram512_auth", value) +if not MYPY: + class PipeSelfManagedKafkaAccessConfigurationCredentials2PropertiesArgsDict(TypedDict): + sasl_scram256_auth: pulumi.Input[str] + """ + Optional SecretManager ARN which stores the database credentials + """ +elif False: + PipeSelfManagedKafkaAccessConfigurationCredentials2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSelfManagedKafkaAccessConfigurationCredentials2PropertiesArgs: def __init__(__self__, *, @@ -1753,6 +2401,15 @@ def sasl_scram256_auth(self, value: pulumi.Input[str]): pulumi.set(self, "sasl_scram256_auth", value) +if not MYPY: + class PipeSelfManagedKafkaAccessConfigurationCredentials3PropertiesArgsDict(TypedDict): + client_certificate_tls_auth: pulumi.Input[str] + """ + Optional SecretManager ARN which stores the database credentials + """ +elif False: + PipeSelfManagedKafkaAccessConfigurationCredentials3PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSelfManagedKafkaAccessConfigurationCredentials3PropertiesArgs: def __init__(__self__, *, @@ -1775,6 +2432,19 @@ def client_certificate_tls_auth(self, value: pulumi.Input[str]): pulumi.set(self, "client_certificate_tls_auth", value) +if not MYPY: + class PipeSelfManagedKafkaAccessConfigurationVpcArgsDict(TypedDict): + security_group: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of SecurityGroupId. + """ + subnets: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of SubnetId. + """ +elif False: + PipeSelfManagedKafkaAccessConfigurationVpcArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSelfManagedKafkaAccessConfigurationVpcArgs: def __init__(__self__, *, @@ -1814,6 +2484,23 @@ def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "subnets", value) +if not MYPY: + class PipeSingleMeasureMappingArgsDict(TypedDict): + measure_name: pulumi.Input[str] + """ + Target measure name for the measurement attribute in the Timestream table. + """ + measure_value: pulumi.Input[str] + """ + Dynamic path of the source field to map to the measure in the record. + """ + measure_value_type: pulumi.Input['PipeMeasureValueType'] + """ + Data type of the source field. + """ +elif False: + PipeSingleMeasureMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSingleMeasureMappingArgs: def __init__(__self__, *, @@ -1866,6 +2553,27 @@ def measure_value_type(self, value: pulumi.Input['PipeMeasureValueType']): pulumi.set(self, "measure_value_type", value) +if not MYPY: + class PipeSourceActiveMqBrokerParametersArgsDict(TypedDict): + credentials: pulumi.Input['PipeMqBrokerAccessCredentialsPropertiesArgsDict'] + """ + The credentials needed to access the resource. + """ + queue_name: pulumi.Input[str] + """ + The name of the destination queue to consume. + """ + batch_size: NotRequired[pulumi.Input[int]] + """ + The maximum number of records to include in each batch. + """ + maximum_batching_window_in_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum length of a time to wait for events. + """ +elif False: + PipeSourceActiveMqBrokerParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSourceActiveMqBrokerParametersArgs: def __init__(__self__, *, @@ -1935,6 +2643,45 @@ def maximum_batching_window_in_seconds(self, value: Optional[pulumi.Input[int]]) pulumi.set(self, "maximum_batching_window_in_seconds", value) +if not MYPY: + class PipeSourceDynamoDbStreamParametersArgsDict(TypedDict): + starting_position: pulumi.Input['PipeDynamoDbStreamStartPosition'] + """ + (Streams only) The position in a stream from which to start reading. + + *Valid values* : `TRIM_HORIZON | LATEST` + """ + batch_size: NotRequired[pulumi.Input[int]] + """ + The maximum number of records to include in each batch. + """ + dead_letter_config: NotRequired[pulumi.Input['PipeDeadLetterConfigArgsDict']] + """ + Define the target queue to send dead-letter queue events to. + """ + maximum_batching_window_in_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum length of a time to wait for events. + """ + maximum_record_age_in_seconds: NotRequired[pulumi.Input[int]] + """ + Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records. + """ + maximum_retry_attempts: NotRequired[pulumi.Input[int]] + """ + Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source. + """ + on_partial_batch_item_failure: NotRequired[pulumi.Input['PipeOnPartialBatchItemFailureStreams']] + """ + Define how to handle item process failures. `AUTOMATIC_BISECT` halves each batch and retry each half until all the records are processed or there is one failed message left in the batch. + """ + parallelization_factor: NotRequired[pulumi.Input[int]] + """ + The number of batches to process concurrently from each shard. The default value is 1. + """ +elif False: + PipeSourceDynamoDbStreamParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSourceDynamoDbStreamParametersArgs: def __init__(__self__, *, @@ -2073,6 +2820,47 @@ def parallelization_factor(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "parallelization_factor", value) +if not MYPY: + class PipeSourceKinesisStreamParametersArgsDict(TypedDict): + starting_position: pulumi.Input['PipeKinesisStreamStartPosition'] + """ + The position in a stream from which to start reading. + """ + batch_size: NotRequired[pulumi.Input[int]] + """ + The maximum number of records to include in each batch. + """ + dead_letter_config: NotRequired[pulumi.Input['PipeDeadLetterConfigArgsDict']] + """ + Define the target queue to send dead-letter queue events to. + """ + maximum_batching_window_in_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum length of a time to wait for events. + """ + maximum_record_age_in_seconds: NotRequired[pulumi.Input[int]] + """ + Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records. + """ + maximum_retry_attempts: NotRequired[pulumi.Input[int]] + """ + Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source. + """ + on_partial_batch_item_failure: NotRequired[pulumi.Input['PipeOnPartialBatchItemFailureStreams']] + """ + Define how to handle item process failures. `AUTOMATIC_BISECT` halves each batch and retry each half until all the records are processed or there is one failed message left in the batch. + """ + parallelization_factor: NotRequired[pulumi.Input[int]] + """ + The number of batches to process concurrently from each shard. The default value is 1. + """ + starting_position_timestamp: NotRequired[pulumi.Input[str]] + """ + With `StartingPosition` set to `AT_TIMESTAMP` , the time from which to start reading, in Unix time seconds. + """ +elif False: + PipeSourceKinesisStreamParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSourceKinesisStreamParametersArgs: def __init__(__self__, *, @@ -2223,6 +3011,35 @@ def starting_position_timestamp(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "starting_position_timestamp", value) +if not MYPY: + class PipeSourceManagedStreamingKafkaParametersArgsDict(TypedDict): + topic_name: pulumi.Input[str] + """ + The name of the topic that the pipe will read from. + """ + batch_size: NotRequired[pulumi.Input[int]] + """ + The maximum number of records to include in each batch. + """ + consumer_group_id: NotRequired[pulumi.Input[str]] + """ + The name of the destination queue to consume. + """ + credentials: NotRequired[pulumi.Input[Union['PipeMskAccessCredentials0PropertiesArgsDict', 'PipeMskAccessCredentials1PropertiesArgsDict']]] + """ + The credentials needed to access the resource. + """ + maximum_batching_window_in_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum length of a time to wait for events. + """ + starting_position: NotRequired[pulumi.Input['PipeMskStartPosition']] + """ + The position in a stream from which to start reading. + """ +elif False: + PipeSourceManagedStreamingKafkaParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSourceManagedStreamingKafkaParametersArgs: def __init__(__self__, *, @@ -2325,6 +3142,49 @@ def starting_position(self, value: Optional[pulumi.Input['PipeMskStartPosition'] pulumi.set(self, "starting_position", value) +if not MYPY: + class PipeSourceParametersArgsDict(TypedDict): + active_mq_broker_parameters: NotRequired[pulumi.Input['PipeSourceActiveMqBrokerParametersArgsDict']] + """ + The parameters for using an Active MQ broker as a source. + """ + dynamo_db_stream_parameters: NotRequired[pulumi.Input['PipeSourceDynamoDbStreamParametersArgsDict']] + """ + The parameters for using a DynamoDB stream as a source. + """ + filter_criteria: NotRequired[pulumi.Input['PipeFilterCriteriaArgsDict']] + """ + The collection of event patterns used to filter events. + + To remove a filter, specify a `FilterCriteria` object with an empty array of `Filter` objects. + + For more information, see [Events and Event Patterns](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) in the *Amazon EventBridge User Guide* . + """ + kinesis_stream_parameters: NotRequired[pulumi.Input['PipeSourceKinesisStreamParametersArgsDict']] + """ + The parameters for using a Kinesis stream as a source. + """ + managed_streaming_kafka_parameters: NotRequired[pulumi.Input['PipeSourceManagedStreamingKafkaParametersArgsDict']] + """ + The parameters for using an MSK stream as a source. + """ + rabbit_mq_broker_parameters: NotRequired[pulumi.Input['PipeSourceRabbitMqBrokerParametersArgsDict']] + """ + The parameters for using a Rabbit MQ broker as a source. + """ + self_managed_kafka_parameters: NotRequired[pulumi.Input['PipeSourceSelfManagedKafkaParametersArgsDict']] + """ + The parameters for using a self-managed Apache Kafka stream as a source. + + A *self managed* cluster refers to any Apache Kafka cluster not hosted by AWS . This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as [Confluent Cloud](https://docs.aws.amazon.com/https://www.confluent.io/) , [CloudKarafka](https://docs.aws.amazon.com/https://www.cloudkarafka.com/) , or [Redpanda](https://docs.aws.amazon.com/https://redpanda.com/) . For more information, see [Apache Kafka streams as a source](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-kafka.html) in the *Amazon EventBridge User Guide* . + """ + sqs_queue_parameters: NotRequired[pulumi.Input['PipeSourceSqsQueueParametersArgsDict']] + """ + The parameters for using a Amazon SQS stream as a source. + """ +elif False: + PipeSourceParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSourceParametersArgs: def __init__(__self__, *, @@ -2472,7 +3332,32 @@ def sqs_queue_parameters(self, value: Optional[pulumi.Input['PipeSourceSqsQueueP pulumi.set(self, "sqs_queue_parameters", value) -@pulumi.input_type +if not MYPY: + class PipeSourceRabbitMqBrokerParametersArgsDict(TypedDict): + credentials: pulumi.Input['PipeMqBrokerAccessCredentialsPropertiesArgsDict'] + """ + The credentials needed to access the resource. + """ + queue_name: pulumi.Input[str] + """ + The name of the destination queue to consume. + """ + batch_size: NotRequired[pulumi.Input[int]] + """ + The maximum number of records to include in each batch. + """ + maximum_batching_window_in_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum length of a time to wait for events. + """ + virtual_host: NotRequired[pulumi.Input[str]] + """ + The name of the virtual host associated with the source broker. + """ +elif False: + PipeSourceRabbitMqBrokerParametersArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type class PipeSourceRabbitMqBrokerParametersArgs: def __init__(__self__, *, credentials: pulumi.Input['PipeMqBrokerAccessCredentialsPropertiesArgs'], @@ -2557,6 +3442,47 @@ def virtual_host(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "virtual_host", value) +if not MYPY: + class PipeSourceSelfManagedKafkaParametersArgsDict(TypedDict): + topic_name: pulumi.Input[str] + """ + The name of the topic that the pipe will read from. + """ + additional_bootstrap_servers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of server URLs. + """ + batch_size: NotRequired[pulumi.Input[int]] + """ + The maximum number of records to include in each batch. + """ + consumer_group_id: NotRequired[pulumi.Input[str]] + """ + The name of the destination queue to consume. + """ + credentials: NotRequired[pulumi.Input[Union['PipeSelfManagedKafkaAccessConfigurationCredentials0PropertiesArgsDict', 'PipeSelfManagedKafkaAccessConfigurationCredentials1PropertiesArgsDict', 'PipeSelfManagedKafkaAccessConfigurationCredentials2PropertiesArgsDict', 'PipeSelfManagedKafkaAccessConfigurationCredentials3PropertiesArgsDict']]] + """ + The credentials needed to access the resource. + """ + maximum_batching_window_in_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum length of a time to wait for events. + """ + server_root_ca_certificate: NotRequired[pulumi.Input[str]] + """ + Optional SecretManager ARN which stores the database credentials + """ + starting_position: NotRequired[pulumi.Input['PipeSelfManagedKafkaStartPosition']] + """ + The position in a stream from which to start reading. + """ + vpc: NotRequired[pulumi.Input['PipeSelfManagedKafkaAccessConfigurationVpcArgsDict']] + """ + This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used. + """ +elif False: + PipeSourceSelfManagedKafkaParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSourceSelfManagedKafkaParametersArgs: def __init__(__self__, *, @@ -2707,6 +3633,19 @@ def vpc(self, value: Optional[pulumi.Input['PipeSelfManagedKafkaAccessConfigurat pulumi.set(self, "vpc", value) +if not MYPY: + class PipeSourceSqsQueueParametersArgsDict(TypedDict): + batch_size: NotRequired[pulumi.Input[int]] + """ + The maximum number of records to include in each batch. + """ + maximum_batching_window_in_seconds: NotRequired[pulumi.Input[int]] + """ + The maximum length of a time to wait for events. + """ +elif False: + PipeSourceSqsQueueParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeSourceSqsQueueParametersArgs: def __init__(__self__, *, @@ -2746,6 +3685,19 @@ def maximum_batching_window_in_seconds(self, value: Optional[pulumi.Input[int]]) pulumi.set(self, "maximum_batching_window_in_seconds", value) +if not MYPY: + class PipeTagArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The key of the key-value pair. + """ + value: pulumi.Input[str] + """ + The value of the key-value pair. + """ +elif False: + PipeTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTagArgs: def __init__(__self__, *, @@ -2783,6 +3735,39 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class PipeTargetBatchJobParametersArgsDict(TypedDict): + job_definition: pulumi.Input[str] + """ + The job definition used by this job. This value can be one of `name` , `name:revision` , or the Amazon Resource Name (ARN) for the job definition. If name is specified without a revision then the latest active revision is used. + """ + job_name: pulumi.Input[str] + """ + The name of the job. It can be up to 128 letters long. The first character must be alphanumeric, can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_). + """ + array_properties: NotRequired[pulumi.Input['PipeBatchArrayPropertiesArgsDict']] + """ + The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an AWS Batch job. + """ + container_overrides: NotRequired[pulumi.Input['PipeBatchContainerOverridesArgsDict']] + """ + The overrides that are sent to a container. + """ + depends_on: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeBatchJobDependencyArgsDict']]]] + """ + A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a `SEQUENTIAL` type dependency without specifying a job ID for array jobs so that each child array job completes sequentially, starting at index 0. You can also specify an `N_TO_N` type dependency with a job ID for array jobs. In that case, each index child of this job must wait for the corresponding index child of each dependency to complete before it can begin. + """ + parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job definition. Parameters are specified as a key and value pair mapping. Parameters included here override any corresponding parameter defaults from the job definition. + """ + retry_strategy: NotRequired[pulumi.Input['PipeBatchRetryStrategyArgsDict']] + """ + The retry strategy to use for failed jobs. When a retry strategy is specified here, it overrides the retry strategy defined in the job definition. + """ +elif False: + PipeTargetBatchJobParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetBatchJobParametersArgs: def __init__(__self__, *, @@ -2900,6 +3885,19 @@ def retry_strategy(self, value: Optional[pulumi.Input['PipeBatchRetryStrategyArg pulumi.set(self, "retry_strategy", value) +if not MYPY: + class PipeTargetCloudWatchLogsParametersArgsDict(TypedDict): + log_stream_name: NotRequired[pulumi.Input[str]] + """ + The name of the log stream. + """ + timestamp: NotRequired[pulumi.Input[str]] + """ + The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. + """ +elif False: + PipeTargetCloudWatchLogsParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetCloudWatchLogsParametersArgs: def __init__(__self__, *, @@ -2939,6 +3937,77 @@ def timestamp(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "timestamp", value) +if not MYPY: + class PipeTargetEcsTaskParametersArgsDict(TypedDict): + task_definition_arn: pulumi.Input[str] + """ + The ARN of the task definition to use if the event target is an Amazon ECS task. + """ + capacity_provider_strategy: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeCapacityProviderStrategyItemArgsDict']]]] + """ + The capacity provider strategy to use for the task. + + If a `capacityProviderStrategy` is specified, the `launchType` parameter must be omitted. If no `capacityProviderStrategy` or launchType is specified, the `defaultCapacityProviderStrategy` for the cluster is used. + """ + enable_ecs_managed_tags: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to enable Amazon ECS managed tags for the task. For more information, see [Tagging Your Amazon ECS Resources](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html) in the Amazon Elastic Container Service Developer Guide. + """ + enable_execute_command: NotRequired[pulumi.Input[bool]] + """ + Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task. + """ + group: NotRequired[pulumi.Input[str]] + """ + Specifies an Amazon ECS task group for the task. The maximum length is 255 characters. + """ + launch_type: NotRequired[pulumi.Input['PipeLaunchType']] + """ + Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. The `FARGATE` value is supported only in the Regions where AWS Fargate with Amazon ECS is supported. For more information, see [AWS Fargate on Amazon ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + network_configuration: NotRequired[pulumi.Input['PipeNetworkConfigurationArgsDict']] + """ + Use this structure if the Amazon ECS task uses the `awsvpc` network mode. This structure specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This structure is required if `LaunchType` is `FARGATE` because the `awsvpc` mode is required for Fargate tasks. + + If you specify `NetworkConfiguration` when the target ECS task does not use the `awsvpc` network mode, the task fails. + """ + overrides: NotRequired[pulumi.Input['PipeEcsTaskOverrideArgsDict']] + """ + The overrides that are associated with a task. + """ + placement_constraints: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipePlacementConstraintArgsDict']]]] + """ + An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). + """ + placement_strategy: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipePlacementStrategyArgsDict']]]] + """ + The placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task. + """ + platform_version: NotRequired[pulumi.Input[str]] + """ + Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as `1.1.0` . + + This structure is used only if `LaunchType` is `FARGATE` . For more information about valid platform versions, see [AWS Fargate Platform Versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* . + """ + propagate_tags: NotRequired[pulumi.Input['PipePropagateTags']] + """ + Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the `TagResource` API action. + """ + reference_id: NotRequired[pulumi.Input[str]] + """ + The reference ID to use for the task. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeTagArgsDict']]]] + """ + The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. To learn more, see [RunTask](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html#ECS-RunTask-request-tags) in the Amazon ECS API Reference. + """ + task_count: NotRequired[pulumi.Input[int]] + """ + The number of tasks to create based on `TaskDefinition` . The default is 1. + """ +elif False: + PipeTargetEcsTaskParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetEcsTaskParametersArgs: def __init__(__self__, *, @@ -3197,6 +4266,31 @@ def task_count(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "task_count", value) +if not MYPY: + class PipeTargetEventBridgeEventBusParametersArgsDict(TypedDict): + detail_type: NotRequired[pulumi.Input[str]] + """ + A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail. + """ + endpoint_id: NotRequired[pulumi.Input[str]] + """ + The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is `abcde.veo` . + """ + resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present. + """ + source: NotRequired[pulumi.Input[str]] + """ + The source of the event. + """ + time: NotRequired[pulumi.Input[str]] + """ + The time stamp of the event, per [RFC3339](https://docs.aws.amazon.com/https://www.rfc-editor.org/rfc/rfc3339.txt) . If no time stamp is provided, the time stamp of the [PutEvents](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html) call is used. + """ +elif False: + PipeTargetEventBridgeEventBusParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetEventBridgeEventBusParametersArgs: def __init__(__self__, *, @@ -3284,6 +4378,23 @@ def time(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "time", value) +if not MYPY: + class PipeTargetHttpParametersArgsDict(TypedDict): + header_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The headers that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination. + """ + path_parameter_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination path wildcards ("*"). + """ + query_string_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The query string keys/values that need to be sent as part of request invoking the API Gateway REST API or EventBridge ApiDestination. + """ +elif False: + PipeTargetHttpParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetHttpParametersArgs: def __init__(__self__, *, @@ -3339,6 +4450,15 @@ def query_string_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulu pulumi.set(self, "query_string_parameters", value) +if not MYPY: + class PipeTargetKinesisStreamParametersArgsDict(TypedDict): + partition_key: pulumi.Input[str] + """ + Determines which shard in the stream the data record is assigned to. Partition keys are Unicode strings with a maximum length limit of 256 characters for each key. Amazon Kinesis Data Streams uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream. + """ +elif False: + PipeTargetKinesisStreamParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetKinesisStreamParametersArgs: def __init__(__self__, *, @@ -3361,6 +4481,20 @@ def partition_key(self, value: pulumi.Input[str]): pulumi.set(self, "partition_key", value) +if not MYPY: + class PipeTargetLambdaFunctionParametersArgsDict(TypedDict): + invocation_type: NotRequired[pulumi.Input['PipeTargetInvocationType']] + """ + Specify whether to invoke the function synchronously or asynchronously. + + - `REQUEST_RESPONSE` (default) - Invoke synchronously. This corresponds to the `RequestResponse` option in the `InvocationType` parameter for the Lambda [Invoke](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_RequestSyntax) API. + - `FIRE_AND_FORGET` - Invoke asynchronously. This corresponds to the `Event` option in the `InvocationType` parameter for the Lambda [Invoke](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_RequestSyntax) API. + + For more information, see [Invocation types](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html#pipes-invocation) in the *Amazon EventBridge User Guide* . + """ +elif False: + PipeTargetLambdaFunctionParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetLambdaFunctionParametersArgs: def __init__(__self__, *, @@ -3394,6 +4528,65 @@ def invocation_type(self, value: Optional[pulumi.Input['PipeTargetInvocationType pulumi.set(self, "invocation_type", value) +if not MYPY: + class PipeTargetParametersArgsDict(TypedDict): + batch_job_parameters: NotRequired[pulumi.Input['PipeTargetBatchJobParametersArgsDict']] + """ + The parameters for using an AWS Batch job as a target. + """ + cloud_watch_logs_parameters: NotRequired[pulumi.Input['PipeTargetCloudWatchLogsParametersArgsDict']] + """ + The parameters for using an CloudWatch Logs log stream as a target. + """ + ecs_task_parameters: NotRequired[pulumi.Input['PipeTargetEcsTaskParametersArgsDict']] + """ + The parameters for using an Amazon ECS task as a target. + """ + event_bridge_event_bus_parameters: NotRequired[pulumi.Input['PipeTargetEventBridgeEventBusParametersArgsDict']] + """ + The parameters for using an EventBridge event bus as a target. + """ + http_parameters: NotRequired[pulumi.Input['PipeTargetHttpParametersArgsDict']] + """ + These are custom parameter to be used when the target is an API Gateway REST APIs or EventBridge ApiDestinations. + """ + input_template: NotRequired[pulumi.Input[str]] + """ + Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see [The JavaScript Object Notation (JSON) Data Interchange Format](https://docs.aws.amazon.com/http://www.rfc-editor.org/rfc/rfc7159.txt) . + + To remove an input template, specify an empty string. + """ + kinesis_stream_parameters: NotRequired[pulumi.Input['PipeTargetKinesisStreamParametersArgsDict']] + """ + The parameters for using a Kinesis stream as a target. + """ + lambda_function_parameters: NotRequired[pulumi.Input['PipeTargetLambdaFunctionParametersArgsDict']] + """ + The parameters for using a Lambda function as a target. + """ + redshift_data_parameters: NotRequired[pulumi.Input['PipeTargetRedshiftDataParametersArgsDict']] + """ + These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement. + """ + sage_maker_pipeline_parameters: NotRequired[pulumi.Input['PipeTargetSageMakerPipelineParametersArgsDict']] + """ + The parameters for using a SageMaker pipeline as a target. + """ + sqs_queue_parameters: NotRequired[pulumi.Input['PipeTargetSqsQueueParametersArgsDict']] + """ + The parameters for using a Amazon SQS stream as a target. + """ + step_function_state_machine_parameters: NotRequired[pulumi.Input['PipeTargetStateMachineParametersArgsDict']] + """ + The parameters for using a Step Functions state machine as a target. + """ + timestream_parameters: NotRequired[pulumi.Input['PipeTargetTimestreamParametersArgsDict']] + """ + The parameters for using a Timestream for LiveAnalytics table as a target. + """ +elif False: + PipeTargetParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetParametersArgs: def __init__(__self__, *, @@ -3613,6 +4806,35 @@ def timestream_parameters(self, value: Optional[pulumi.Input['PipeTargetTimestre pulumi.set(self, "timestream_parameters", value) +if not MYPY: + class PipeTargetRedshiftDataParametersArgsDict(TypedDict): + database: pulumi.Input[str] + """ + Redshift Database + """ + sqls: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of SQLs. + """ + db_user: NotRequired[pulumi.Input[str]] + """ + Database user name + """ + secret_manager_arn: NotRequired[pulumi.Input[str]] + """ + Optional SecretManager ARN which stores the database credentials + """ + statement_name: NotRequired[pulumi.Input[str]] + """ + A name for Redshift DataAPI statement which can be used as filter of ListStatement. + """ + with_event: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to send an event back to EventBridge after the SQL statement runs. + """ +elif False: + PipeTargetRedshiftDataParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetRedshiftDataParametersArgs: def __init__(__self__, *, @@ -3714,6 +4936,15 @@ def with_event(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "with_event", value) +if not MYPY: + class PipeTargetSageMakerPipelineParametersArgsDict(TypedDict): + pipeline_parameter_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeSageMakerPipelineParameterArgsDict']]]] + """ + List of Parameter names and values for SageMaker Model Building Pipeline execution. + """ +elif False: + PipeTargetSageMakerPipelineParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetSageMakerPipelineParametersArgs: def __init__(__self__, *, @@ -3737,6 +4968,21 @@ def pipeline_parameter_list(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "pipeline_parameter_list", value) +if not MYPY: + class PipeTargetSqsQueueParametersArgsDict(TypedDict): + message_deduplication_id: NotRequired[pulumi.Input[str]] + """ + This parameter applies only to FIFO (first-in-first-out) queues. + + The token used for deduplication of sent messages. + """ + message_group_id: NotRequired[pulumi.Input[str]] + """ + The FIFO message group ID to use as the target. + """ +elif False: + PipeTargetSqsQueueParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetSqsQueueParametersArgs: def __init__(__self__, *, @@ -3780,6 +5026,22 @@ def message_group_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "message_group_id", value) +if not MYPY: + class PipeTargetStateMachineParametersArgsDict(TypedDict): + invocation_type: NotRequired[pulumi.Input['PipeTargetInvocationType']] + """ + Specify whether to invoke the Step Functions state machine synchronously or asynchronously. + + - `REQUEST_RESPONSE` (default) - Invoke synchronously. For more information, see [StartSyncExecution](https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartSyncExecution.html) in the *AWS Step Functions API Reference* . + + > `REQUEST_RESPONSE` is not supported for `STANDARD` state machine workflows. + - `FIRE_AND_FORGET` - Invoke asynchronously. For more information, see [StartExecution](https://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html) in the *AWS Step Functions API Reference* . + + For more information, see [Invocation types](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html#pipes-invocation) in the *Amazon EventBridge User Guide* . + """ +elif False: + PipeTargetStateMachineParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetStateMachineParametersArgs: def __init__(__self__, *, @@ -3817,6 +5079,61 @@ def invocation_type(self, value: Optional[pulumi.Input['PipeTargetInvocationType pulumi.set(self, "invocation_type", value) +if not MYPY: + class PipeTargetTimestreamParametersArgsDict(TypedDict): + dimension_mappings: pulumi.Input[Sequence[pulumi.Input['PipeDimensionMappingArgsDict']]] + """ + Map source data to dimensions in the target Timestream for LiveAnalytics table. + + For more information, see [Amazon Timestream for LiveAnalytics concepts](https://docs.aws.amazon.com/timestream/latest/developerguide/concepts.html) + """ + time_value: pulumi.Input[str] + """ + Dynamic path to the source data field that represents the time value for your data. + """ + version_value: pulumi.Input[str] + """ + 64 bit version value or source data field that represents the version value for your data. + + Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated. + + Default value is 1. + + Timestream for LiveAnalytics does not support updating partial measure values in a record. + + Write requests for duplicate data with a higher version number will update the existing measure value and version. In cases where the measure value is the same, `Version` will still be updated. Default value is `1` . + + > `Version` must be `1` or greater, or you will receive a `ValidationException` error. + """ + epoch_time_unit: NotRequired[pulumi.Input['PipeEpochTimeUnit']] + """ + The granularity of the time units used. Default is `MILLISECONDS` . + + Required if `TimeFieldType` is specified as `EPOCH` . + """ + multi_measure_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeMultiMeasureMappingArgsDict']]]] + """ + Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table. + """ + single_measure_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['PipeSingleMeasureMappingArgsDict']]]] + """ + Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table. + """ + time_field_type: NotRequired[pulumi.Input['PipeTimeFieldType']] + """ + The type of time value used. + + The default is `EPOCH` . + """ + timestamp_format: NotRequired[pulumi.Input[str]] + """ + How to format the timestamps. For example, `yyyy-MM-dd'T'HH:mm:ss'Z'` . + + Required if `TimeFieldType` is specified as `TIMESTAMP_FORMAT` . + """ +elif False: + PipeTargetTimestreamParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipeTargetTimestreamParametersArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/pipes/get_pipe.py b/sdk/python/pulumi_aws_native/pipes/get_pipe.py index 7059fa8182..36a5da6819 100644 --- a/sdk/python/pulumi_aws_native/pipes/get_pipe.py +++ b/sdk/python/pulumi_aws_native/pipes/get_pipe.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -233,9 +238,6 @@ def get_pipe(name: Optional[str] = None, state_reason=pulumi.get(__ret__, 'state_reason'), tags=pulumi.get(__ret__, 'tags'), target=pulumi.get(__ret__, 'target')) - - -@_utilities.lift_output_func(get_pipe) def get_pipe_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPipeResult]: """ @@ -244,4 +246,22 @@ def get_pipe_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the pipe. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:pipes:getPipe', __args__, opts=opts, typ=GetPipeResult) + return __ret__.apply(lambda __response__: GetPipeResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + current_state=pulumi.get(__response__, 'current_state'), + description=pulumi.get(__response__, 'description'), + desired_state=pulumi.get(__response__, 'desired_state'), + enrichment=pulumi.get(__response__, 'enrichment'), + enrichment_parameters=pulumi.get(__response__, 'enrichment_parameters'), + kms_key_identifier=pulumi.get(__response__, 'kms_key_identifier'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'), + log_configuration=pulumi.get(__response__, 'log_configuration'), + role_arn=pulumi.get(__response__, 'role_arn'), + state_reason=pulumi.get(__response__, 'state_reason'), + tags=pulumi.get(__response__, 'tags'), + target=pulumi.get(__response__, 'target'))) diff --git a/sdk/python/pulumi_aws_native/pipes/outputs.py b/sdk/python/pulumi_aws_native/pipes/outputs.py index 82b61dbf83..0424b04652 100644 --- a/sdk/python/pulumi_aws_native/pipes/outputs.py +++ b/sdk/python/pulumi_aws_native/pipes/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/pipes/pipe.py b/sdk/python/pulumi_aws_native/pipes/pipe.py index 9da71d8cd6..dadb90b3d0 100644 --- a/sdk/python/pulumi_aws_native/pipes/pipe.py +++ b/sdk/python/pulumi_aws_native/pipes/pipe.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/proton/environment_account_connection.py b/sdk/python/pulumi_aws_native/proton/environment_account_connection.py index 7ab7fa4e3c..b695d3912c 100644 --- a/sdk/python/pulumi_aws_native/proton/environment_account_connection.py +++ b/sdk/python/pulumi_aws_native/proton/environment_account_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/proton/environment_template.py b/sdk/python/pulumi_aws_native/proton/environment_template.py index f44e1c6115..b526908cd9 100644 --- a/sdk/python/pulumi_aws_native/proton/environment_template.py +++ b/sdk/python/pulumi_aws_native/proton/environment_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/proton/get_environment_account_connection.py b/sdk/python/pulumi_aws_native/proton/get_environment_account_connection.py index 653aecb37b..6814297939 100644 --- a/sdk/python/pulumi_aws_native/proton/get_environment_account_connection.py +++ b/sdk/python/pulumi_aws_native/proton/get_environment_account_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -177,9 +182,6 @@ def get_environment_account_connection(arn: Optional[str] = None, role_arn=pulumi.get(__ret__, 'role_arn'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_environment_account_connection) def get_environment_account_connection_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentAccountConnectionResult]: """ @@ -188,4 +190,18 @@ def get_environment_account_connection_output(arn: Optional[pulumi.Input[str]] = :param str arn: The Amazon Resource Name (ARN) of the environment account connection. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:proton:getEnvironmentAccountConnection', __args__, opts=opts, typ=GetEnvironmentAccountConnectionResult) + return __ret__.apply(lambda __response__: GetEnvironmentAccountConnectionResult( + arn=pulumi.get(__response__, 'arn'), + codebuild_role_arn=pulumi.get(__response__, 'codebuild_role_arn'), + component_role_arn=pulumi.get(__response__, 'component_role_arn'), + environment_account_id=pulumi.get(__response__, 'environment_account_id'), + environment_name=pulumi.get(__response__, 'environment_name'), + id=pulumi.get(__response__, 'id'), + management_account_id=pulumi.get(__response__, 'management_account_id'), + role_arn=pulumi.get(__response__, 'role_arn'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/proton/get_environment_template.py b/sdk/python/pulumi_aws_native/proton/get_environment_template.py index 662d7d9e89..975a742768 100644 --- a/sdk/python/pulumi_aws_native/proton/get_environment_template.py +++ b/sdk/python/pulumi_aws_native/proton/get_environment_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -98,9 +103,6 @@ def get_environment_template(arn: Optional[str] = None, description=pulumi.get(__ret__, 'description'), display_name=pulumi.get(__ret__, 'display_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_environment_template) def get_environment_template_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentTemplateResult]: """ @@ -109,4 +111,12 @@ def get_environment_template_output(arn: Optional[pulumi.Input[str]] = None, :param str arn:

The Amazon Resource Name (ARN) of the environment template.

""" - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:proton:getEnvironmentTemplate', __args__, opts=opts, typ=GetEnvironmentTemplateResult) + return __ret__.apply(lambda __response__: GetEnvironmentTemplateResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/proton/get_service_template.py b/sdk/python/pulumi_aws_native/proton/get_service_template.py index 752f14d61b..6ef9067147 100644 --- a/sdk/python/pulumi_aws_native/proton/get_service_template.py +++ b/sdk/python/pulumi_aws_native/proton/get_service_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -98,9 +103,6 @@ def get_service_template(arn: Optional[str] = None, description=pulumi.get(__ret__, 'description'), display_name=pulumi.get(__ret__, 'display_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service_template) def get_service_template_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceTemplateResult]: """ @@ -109,4 +111,12 @@ def get_service_template_output(arn: Optional[pulumi.Input[str]] = None, :param str arn:

The Amazon Resource Name (ARN) of the service template.

""" - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:proton:getServiceTemplate', __args__, opts=opts, typ=GetServiceTemplateResult) + return __ret__.apply(lambda __response__: GetServiceTemplateResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/proton/service_template.py b/sdk/python/pulumi_aws_native/proton/service_template.py index 73c3f5428b..66e1537dce 100644 --- a/sdk/python/pulumi_aws_native/proton/service_template.py +++ b/sdk/python/pulumi_aws_native/proton/service_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/provider.py b/sdk/python/pulumi_aws_native/provider.py index 912061eb95..0a1e318a4a 100644 --- a/sdk/python/pulumi_aws_native/provider.py +++ b/sdk/python/pulumi_aws_native/provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from . import _utilities from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/qbusiness/_inputs.py b/sdk/python/pulumi_aws_native/qbusiness/_inputs.py index 73df3d310d..ef39b6c3c0 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/_inputs.py +++ b/sdk/python/pulumi_aws_native/qbusiness/_inputs.py @@ -4,50 +4,101 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ApplicationAttachmentsConfigurationArgs', + 'ApplicationAttachmentsConfigurationArgsDict', 'ApplicationAutoSubscriptionConfigurationArgs', + 'ApplicationAutoSubscriptionConfigurationArgsDict', 'ApplicationEncryptionConfigurationArgs', + 'ApplicationEncryptionConfigurationArgsDict', 'ApplicationPersonalizationConfigurationArgs', + 'ApplicationPersonalizationConfigurationArgsDict', 'ApplicationQAppsConfigurationArgs', + 'ApplicationQAppsConfigurationArgsDict', 'DataSourceDocumentAttributeConditionArgs', + 'DataSourceDocumentAttributeConditionArgsDict', 'DataSourceDocumentAttributeTargetArgs', + 'DataSourceDocumentAttributeTargetArgsDict', 'DataSourceDocumentAttributeValue0PropertiesArgs', + 'DataSourceDocumentAttributeValue0PropertiesArgsDict', 'DataSourceDocumentAttributeValue1PropertiesArgs', + 'DataSourceDocumentAttributeValue1PropertiesArgsDict', 'DataSourceDocumentAttributeValue2PropertiesArgs', + 'DataSourceDocumentAttributeValue2PropertiesArgsDict', 'DataSourceDocumentAttributeValue3PropertiesArgs', + 'DataSourceDocumentAttributeValue3PropertiesArgsDict', 'DataSourceDocumentEnrichmentConfigurationArgs', + 'DataSourceDocumentEnrichmentConfigurationArgsDict', 'DataSourceHookConfigurationArgs', + 'DataSourceHookConfigurationArgsDict', 'DataSourceInlineDocumentEnrichmentConfigurationArgs', + 'DataSourceInlineDocumentEnrichmentConfigurationArgsDict', 'DataSourceVpcConfigurationArgs', + 'DataSourceVpcConfigurationArgsDict', 'IndexCapacityConfigurationArgs', + 'IndexCapacityConfigurationArgsDict', 'IndexDocumentAttributeConfigurationArgs', + 'IndexDocumentAttributeConfigurationArgsDict', 'PluginApiSchema0PropertiesArgs', + 'PluginApiSchema0PropertiesArgsDict', 'PluginApiSchema1PropertiesArgs', + 'PluginApiSchema1PropertiesArgsDict', 'PluginAuthConfiguration0PropertiesArgs', + 'PluginAuthConfiguration0PropertiesArgsDict', 'PluginAuthConfiguration1PropertiesArgs', + 'PluginAuthConfiguration1PropertiesArgsDict', 'PluginAuthConfiguration2PropertiesArgs', + 'PluginAuthConfiguration2PropertiesArgsDict', 'PluginBasicAuthConfigurationArgs', + 'PluginBasicAuthConfigurationArgsDict', 'PluginCustomPluginConfigurationArgs', + 'PluginCustomPluginConfigurationArgsDict', 'PluginNoAuthConfigurationArgs', + 'PluginNoAuthConfigurationArgsDict', 'PluginOAuth2ClientCredentialConfigurationArgs', + 'PluginOAuth2ClientCredentialConfigurationArgsDict', 'PluginS3Args', + 'PluginS3ArgsDict', 'RetrieverConfiguration0PropertiesArgs', + 'RetrieverConfiguration0PropertiesArgsDict', 'RetrieverConfiguration1PropertiesArgs', + 'RetrieverConfiguration1PropertiesArgsDict', 'RetrieverKendraIndexConfigurationArgs', + 'RetrieverKendraIndexConfigurationArgsDict', 'RetrieverNativeIndexConfigurationArgs', + 'RetrieverNativeIndexConfigurationArgsDict', 'WebExperienceIdentityProviderConfiguration0PropertiesArgs', + 'WebExperienceIdentityProviderConfiguration0PropertiesArgsDict', 'WebExperienceIdentityProviderConfiguration1PropertiesArgs', + 'WebExperienceIdentityProviderConfiguration1PropertiesArgsDict', 'WebExperienceOpenIdConnectProviderConfigurationArgs', + 'WebExperienceOpenIdConnectProviderConfigurationArgsDict', 'WebExperienceSamlProviderConfigurationArgs', + 'WebExperienceSamlProviderConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ApplicationAttachmentsConfigurationArgsDict(TypedDict): + attachments_control_mode: pulumi.Input['ApplicationAttachmentsControlMode'] + """ + Status information about whether file upload functionality is activated or deactivated for your end user. + """ +elif False: + ApplicationAttachmentsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationAttachmentsConfigurationArgs: def __init__(__self__, *, @@ -70,6 +121,19 @@ def attachments_control_mode(self, value: pulumi.Input['ApplicationAttachmentsCo pulumi.set(self, "attachments_control_mode", value) +if not MYPY: + class ApplicationAutoSubscriptionConfigurationArgsDict(TypedDict): + auto_subscribe: pulumi.Input['ApplicationAutoSubscriptionStatus'] + """ + Describes whether automatic subscriptions are enabled for an Amazon Q Business application using IAM identity federation for user management. + """ + default_subscription_type: NotRequired[pulumi.Input['ApplicationSubscriptionType']] + """ + Describes the default subscription type assigned to an Amazon Q Business application using IAM identity federation for user management. If the value for `autoSubscribe` is set to `ENABLED` you must select a value for this field. + """ +elif False: + ApplicationAutoSubscriptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationAutoSubscriptionConfigurationArgs: def __init__(__self__, *, @@ -108,6 +172,15 @@ def default_subscription_type(self, value: Optional[pulumi.Input['ApplicationSub pulumi.set(self, "default_subscription_type", value) +if not MYPY: + class ApplicationEncryptionConfigurationArgsDict(TypedDict): + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The identifier of the AWS KMS key. Amazon Q Business doesn't support asymmetric keys. + """ +elif False: + ApplicationEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationEncryptionConfigurationArgs: def __init__(__self__, *, @@ -131,6 +204,15 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class ApplicationPersonalizationConfigurationArgsDict(TypedDict): + personalization_control_mode: pulumi.Input['ApplicationPersonalizationControlMode'] + """ + An option to allow Amazon Q Business to customize chat responses using user specific metadata—specifically, location and job information—in your IAM Identity Center instance. + """ +elif False: + ApplicationPersonalizationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationPersonalizationConfigurationArgs: def __init__(__self__, *, @@ -153,6 +235,15 @@ def personalization_control_mode(self, value: pulumi.Input['ApplicationPersonali pulumi.set(self, "personalization_control_mode", value) +if not MYPY: + class ApplicationQAppsConfigurationArgsDict(TypedDict): + q_apps_control_mode: pulumi.Input['ApplicationQAppsControlMode'] + """ + Status information about whether end users can create and use Amazon Q Apps in the web experience. + """ +elif False: + ApplicationQAppsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationQAppsConfigurationArgs: def __init__(__self__, *, @@ -175,6 +266,31 @@ def q_apps_control_mode(self, value: pulumi.Input['ApplicationQAppsControlMode'] pulumi.set(self, "q_apps_control_mode", value) +if not MYPY: + class DataSourceDocumentAttributeConditionArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The identifier of the document attribute used for the condition. + + For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents. + + Amazon Q Business currently doesn't support `_document_body` as an attribute key used for the condition. + """ + operator: pulumi.Input['DataSourceDocumentEnrichmentConditionOperator'] + """ + The identifier of the document attribute used for the condition. + + For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents. + + Amazon Q Business currently does not support `_document_body` as an attribute key used for the condition. + """ + value: NotRequired[pulumi.Input[Union['DataSourceDocumentAttributeValue0PropertiesArgsDict', 'DataSourceDocumentAttributeValue1PropertiesArgsDict', 'DataSourceDocumentAttributeValue2PropertiesArgsDict', 'DataSourceDocumentAttributeValue3PropertiesArgsDict']]] + """ + The value of a document attribute. You can only provide one value for a document attribute. + """ +elif False: + DataSourceDocumentAttributeConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDocumentAttributeConditionArgs: def __init__(__self__, *, @@ -244,6 +360,23 @@ def value(self, value: Optional[pulumi.Input[Union['DataSourceDocumentAttributeV pulumi.set(self, "value", value) +if not MYPY: + class DataSourceDocumentAttributeTargetArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The identifier of the target document attribute or metadata field. For example, 'Department' could be an identifier for the target attribute or metadata field that includes the department names associated with the documents. + """ + attribute_value_operator: NotRequired[pulumi.Input['DataSourceAttributeValueOperator']] + """ + `TRUE` to delete the existing target value for your specified target attribute key. You cannot create a target value and set this to `TRUE` . + """ + value: NotRequired[pulumi.Input[Union['DataSourceDocumentAttributeValue0PropertiesArgsDict', 'DataSourceDocumentAttributeValue1PropertiesArgsDict', 'DataSourceDocumentAttributeValue2PropertiesArgsDict', 'DataSourceDocumentAttributeValue3PropertiesArgsDict']]] + """ + The value of a document attribute. You can only provide one value for a document attribute. + """ +elif False: + DataSourceDocumentAttributeTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDocumentAttributeTargetArgs: def __init__(__self__, *, @@ -298,6 +431,12 @@ def value(self, value: Optional[pulumi.Input[Union['DataSourceDocumentAttributeV pulumi.set(self, "value", value) +if not MYPY: + class DataSourceDocumentAttributeValue0PropertiesArgsDict(TypedDict): + string_value: pulumi.Input[str] +elif False: + DataSourceDocumentAttributeValue0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDocumentAttributeValue0PropertiesArgs: def __init__(__self__, *, @@ -314,6 +453,12 @@ def string_value(self, value: pulumi.Input[str]): pulumi.set(self, "string_value", value) +if not MYPY: + class DataSourceDocumentAttributeValue1PropertiesArgsDict(TypedDict): + string_list_value: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + DataSourceDocumentAttributeValue1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDocumentAttributeValue1PropertiesArgs: def __init__(__self__, *, @@ -330,6 +475,12 @@ def string_list_value(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "string_list_value", value) +if not MYPY: + class DataSourceDocumentAttributeValue2PropertiesArgsDict(TypedDict): + long_value: pulumi.Input[float] +elif False: + DataSourceDocumentAttributeValue2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDocumentAttributeValue2PropertiesArgs: def __init__(__self__, *, @@ -346,6 +497,12 @@ def long_value(self, value: pulumi.Input[float]): pulumi.set(self, "long_value", value) +if not MYPY: + class DataSourceDocumentAttributeValue3PropertiesArgsDict(TypedDict): + date_value: pulumi.Input[str] +elif False: + DataSourceDocumentAttributeValue3PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDocumentAttributeValue3PropertiesArgs: def __init__(__self__, *, @@ -362,6 +519,23 @@ def date_value(self, value: pulumi.Input[str]): pulumi.set(self, "date_value", value) +if not MYPY: + class DataSourceDocumentEnrichmentConfigurationArgsDict(TypedDict): + inline_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceInlineDocumentEnrichmentConfigurationArgsDict']]]] + """ + Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q Business. + """ + post_extraction_hook_configuration: NotRequired[pulumi.Input['DataSourceHookConfigurationArgsDict']] + """ + Configuration information for invoking a Lambda function in AWS Lambda on the structured documents with their metadata and text extracted. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see [Using Lambda functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) . + """ + pre_extraction_hook_configuration: NotRequired[pulumi.Input['DataSourceHookConfigurationArgsDict']] + """ + Configuration information for invoking a Lambda function in AWS Lambda on the original or raw documents before extracting their metadata and text. You can use a Lambda function to apply advanced logic for creating, modifying, or deleting document metadata and content. For more information, see [Using Lambda functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html) . + """ +elif False: + DataSourceDocumentEnrichmentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDocumentEnrichmentConfigurationArgs: def __init__(__self__, *, @@ -417,6 +591,29 @@ def pre_extraction_hook_configuration(self, value: Optional[pulumi.Input['DataSo pulumi.set(self, "pre_extraction_hook_configuration", value) +if not MYPY: + class DataSourceHookConfigurationArgsDict(TypedDict): + invocation_condition: NotRequired[pulumi.Input['DataSourceDocumentAttributeConditionArgsDict']] + """ + The condition used for when a Lambda function should be invoked. + + For example, you can specify a condition that if there are empty date-time values, then Amazon Q Business should invoke a function that inserts the current date-time. + """ + lambda_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion. For more information, see [IAM roles for Custom Document Enrichment (CDE)](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/iam-roles.html#cde-iam-role) . + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of a role with permission to run `PreExtractionHookConfiguration` and `PostExtractionHookConfiguration` for altering document metadata and content during the document ingestion process. + """ + s3_bucket_name: NotRequired[pulumi.Input[str]] + """ + Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see [Data contracts for Lambda functions](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html#cde-lambda-operations-data-contracts) . + """ +elif False: + DataSourceHookConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceHookConfigurationArgs: def __init__(__self__, *, @@ -492,6 +689,23 @@ def s3_bucket_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_bucket_name", value) +if not MYPY: + class DataSourceInlineDocumentEnrichmentConfigurationArgsDict(TypedDict): + condition: NotRequired[pulumi.Input['DataSourceDocumentAttributeConditionArgsDict']] + """ + Configuration of the condition used for the target document attribute or metadata field when ingesting documents into Amazon Q Business . + """ + document_content_operator: NotRequired[pulumi.Input['DataSourceDocumentContentOperator']] + """ + `TRUE` to delete content if the condition used for the target attribute is met. + """ + target: NotRequired[pulumi.Input['DataSourceDocumentAttributeTargetArgsDict']] + """ + Configuration of the target document attribute or metadata field when ingesting documents into Amazon Q Business . You can also include a value. + """ +elif False: + DataSourceInlineDocumentEnrichmentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceInlineDocumentEnrichmentConfigurationArgs: def __init__(__self__, *, @@ -547,6 +761,19 @@ def target(self, value: Optional[pulumi.Input['DataSourceDocumentAttributeTarget pulumi.set(self, "target", value) +if not MYPY: + class DataSourceVpcConfigurationArgsDict(TypedDict): + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Q Business to connect to the data source. + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device. + """ +elif False: + DataSourceVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceVpcConfigurationArgs: def __init__(__self__, *, @@ -584,6 +811,15 @@ def subnet_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "subnet_ids", value) +if not MYPY: + class IndexCapacityConfigurationArgsDict(TypedDict): + units: NotRequired[pulumi.Input[float]] + """ + The number of storage units configured for an Amazon Q Business index. + """ +elif False: + IndexCapacityConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexCapacityConfigurationArgs: def __init__(__self__, *, @@ -607,6 +843,23 @@ def units(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "units", value) +if not MYPY: + class IndexDocumentAttributeConfigurationArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The name of the document attribute. + """ + search: NotRequired[pulumi.Input['QBusinessIndexStatus']] + """ + Information about whether the document attribute can be used by an end user to search for information on their web experience. + """ + type: NotRequired[pulumi.Input['IndexAttributeType']] + """ + The type of document attribute. + """ +elif False: + IndexDocumentAttributeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IndexDocumentAttributeConfigurationArgs: def __init__(__self__, *, @@ -662,6 +915,12 @@ def type(self, value: Optional[pulumi.Input['IndexAttributeType']]): pulumi.set(self, "type", value) +if not MYPY: + class PluginApiSchema0PropertiesArgsDict(TypedDict): + payload: pulumi.Input[str] +elif False: + PluginApiSchema0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PluginApiSchema0PropertiesArgs: def __init__(__self__, *, @@ -678,6 +937,12 @@ def payload(self, value: pulumi.Input[str]): pulumi.set(self, "payload", value) +if not MYPY: + class PluginApiSchema1PropertiesArgsDict(TypedDict): + s3: pulumi.Input['PluginS3ArgsDict'] +elif False: + PluginApiSchema1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PluginApiSchema1PropertiesArgs: def __init__(__self__, *, @@ -694,6 +959,12 @@ def s3(self, value: pulumi.Input['PluginS3Args']): pulumi.set(self, "s3", value) +if not MYPY: + class PluginAuthConfiguration0PropertiesArgsDict(TypedDict): + basic_auth_configuration: pulumi.Input['PluginBasicAuthConfigurationArgsDict'] +elif False: + PluginAuthConfiguration0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PluginAuthConfiguration0PropertiesArgs: def __init__(__self__, *, @@ -710,6 +981,12 @@ def basic_auth_configuration(self, value: pulumi.Input['PluginBasicAuthConfigura pulumi.set(self, "basic_auth_configuration", value) +if not MYPY: + class PluginAuthConfiguration1PropertiesArgsDict(TypedDict): + o_auth2_client_credential_configuration: pulumi.Input['PluginOAuth2ClientCredentialConfigurationArgsDict'] +elif False: + PluginAuthConfiguration1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PluginAuthConfiguration1PropertiesArgs: def __init__(__self__, *, @@ -726,6 +1003,12 @@ def o_auth2_client_credential_configuration(self, value: pulumi.Input['PluginOAu pulumi.set(self, "o_auth2_client_credential_configuration", value) +if not MYPY: + class PluginAuthConfiguration2PropertiesArgsDict(TypedDict): + no_auth_configuration: pulumi.Input['PluginNoAuthConfigurationArgsDict'] +elif False: + PluginAuthConfiguration2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PluginAuthConfiguration2PropertiesArgs: def __init__(__self__, *, @@ -742,6 +1025,13 @@ def no_auth_configuration(self, value: pulumi.Input['PluginNoAuthConfigurationAr pulumi.set(self, "no_auth_configuration", value) +if not MYPY: + class PluginBasicAuthConfigurationArgsDict(TypedDict): + role_arn: pulumi.Input[str] + secret_arn: pulumi.Input[str] +elif False: + PluginBasicAuthConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PluginBasicAuthConfigurationArgs: def __init__(__self__, *, @@ -769,6 +1059,23 @@ def secret_arn(self, value: pulumi.Input[str]): pulumi.set(self, "secret_arn", value) +if not MYPY: + class PluginCustomPluginConfigurationArgsDict(TypedDict): + api_schema: pulumi.Input[Union['PluginApiSchema0PropertiesArgsDict', 'PluginApiSchema1PropertiesArgsDict']] + """ + Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. + """ + api_schema_type: pulumi.Input['PluginApiSchemaType'] + """ + The type of OpenAPI schema to use. + """ + description: pulumi.Input[str] + """ + A description for your custom plugin configuration. + """ +elif False: + PluginCustomPluginConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PluginCustomPluginConfigurationArgs: def __init__(__self__, *, @@ -821,12 +1128,25 @@ def description(self, value: pulumi.Input[str]): pulumi.set(self, "description", value) +if not MYPY: + class PluginNoAuthConfigurationArgsDict(TypedDict): + pass +elif False: + PluginNoAuthConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PluginNoAuthConfigurationArgs: def __init__(__self__): pass +if not MYPY: + class PluginOAuth2ClientCredentialConfigurationArgsDict(TypedDict): + role_arn: pulumi.Input[str] + secret_arn: pulumi.Input[str] +elif False: + PluginOAuth2ClientCredentialConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PluginOAuth2ClientCredentialConfigurationArgs: def __init__(__self__, *, @@ -854,6 +1174,13 @@ def secret_arn(self, value: pulumi.Input[str]): pulumi.set(self, "secret_arn", value) +if not MYPY: + class PluginS3ArgsDict(TypedDict): + bucket: pulumi.Input[str] + key: pulumi.Input[str] +elif False: + PluginS3ArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PluginS3Args: def __init__(__self__, *, @@ -881,6 +1208,12 @@ def key(self, value: pulumi.Input[str]): pulumi.set(self, "key", value) +if not MYPY: + class RetrieverConfiguration0PropertiesArgsDict(TypedDict): + native_index_configuration: pulumi.Input['RetrieverNativeIndexConfigurationArgsDict'] +elif False: + RetrieverConfiguration0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RetrieverConfiguration0PropertiesArgs: def __init__(__self__, *, @@ -897,6 +1230,12 @@ def native_index_configuration(self, value: pulumi.Input['RetrieverNativeIndexCo pulumi.set(self, "native_index_configuration", value) +if not MYPY: + class RetrieverConfiguration1PropertiesArgsDict(TypedDict): + kendra_index_configuration: pulumi.Input['RetrieverKendraIndexConfigurationArgsDict'] +elif False: + RetrieverConfiguration1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RetrieverConfiguration1PropertiesArgs: def __init__(__self__, *, @@ -913,6 +1252,12 @@ def kendra_index_configuration(self, value: pulumi.Input['RetrieverKendraIndexCo pulumi.set(self, "kendra_index_configuration", value) +if not MYPY: + class RetrieverKendraIndexConfigurationArgsDict(TypedDict): + index_id: pulumi.Input[str] +elif False: + RetrieverKendraIndexConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RetrieverKendraIndexConfigurationArgs: def __init__(__self__, *, @@ -929,6 +1274,12 @@ def index_id(self, value: pulumi.Input[str]): pulumi.set(self, "index_id", value) +if not MYPY: + class RetrieverNativeIndexConfigurationArgsDict(TypedDict): + index_id: pulumi.Input[str] +elif False: + RetrieverNativeIndexConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RetrieverNativeIndexConfigurationArgs: def __init__(__self__, *, @@ -945,6 +1296,12 @@ def index_id(self, value: pulumi.Input[str]): pulumi.set(self, "index_id", value) +if not MYPY: + class WebExperienceIdentityProviderConfiguration0PropertiesArgsDict(TypedDict): + saml_configuration: pulumi.Input['WebExperienceSamlProviderConfigurationArgsDict'] +elif False: + WebExperienceIdentityProviderConfiguration0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebExperienceIdentityProviderConfiguration0PropertiesArgs: def __init__(__self__, *, @@ -961,6 +1318,12 @@ def saml_configuration(self, value: pulumi.Input['WebExperienceSamlProviderConfi pulumi.set(self, "saml_configuration", value) +if not MYPY: + class WebExperienceIdentityProviderConfiguration1PropertiesArgsDict(TypedDict): + open_id_connect_configuration: pulumi.Input['WebExperienceOpenIdConnectProviderConfigurationArgsDict'] +elif False: + WebExperienceIdentityProviderConfiguration1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebExperienceIdentityProviderConfiguration1PropertiesArgs: def __init__(__self__, *, @@ -977,6 +1340,13 @@ def open_id_connect_configuration(self, value: pulumi.Input['WebExperienceOpenId pulumi.set(self, "open_id_connect_configuration", value) +if not MYPY: + class WebExperienceOpenIdConnectProviderConfigurationArgsDict(TypedDict): + secrets_arn: pulumi.Input[str] + secrets_role: pulumi.Input[str] +elif False: + WebExperienceOpenIdConnectProviderConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebExperienceOpenIdConnectProviderConfigurationArgs: def __init__(__self__, *, @@ -1004,6 +1374,12 @@ def secrets_role(self, value: pulumi.Input[str]): pulumi.set(self, "secrets_role", value) +if not MYPY: + class WebExperienceSamlProviderConfigurationArgsDict(TypedDict): + authentication_url: pulumi.Input[str] +elif False: + WebExperienceSamlProviderConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebExperienceSamlProviderConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/qbusiness/application.py b/sdk/python/pulumi_aws_native/qbusiness/application.py index 3d7c26e44b..4618465d28 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/application.py +++ b/sdk/python/pulumi_aws_native/qbusiness/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/qbusiness/data_source.py b/sdk/python/pulumi_aws_native/qbusiness/data_source.py index 1bcc251a29..44fa66371c 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/data_source.py +++ b/sdk/python/pulumi_aws_native/qbusiness/data_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/qbusiness/get_application.py b/sdk/python/pulumi_aws_native/qbusiness/get_application.py index 467e37c2f1..664858aa8b 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/get_application.py +++ b/sdk/python/pulumi_aws_native/qbusiness/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -228,9 +233,6 @@ def get_application(application_id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -239,4 +241,22 @@ def get_application_output(application_id: Optional[pulumi.Input[str]] = None, :param str application_id: The identifier for the Amazon Q Business application. """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:qbusiness:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + application_arn=pulumi.get(__response__, 'application_arn'), + application_id=pulumi.get(__response__, 'application_id'), + attachments_configuration=pulumi.get(__response__, 'attachments_configuration'), + auto_subscription_configuration=pulumi.get(__response__, 'auto_subscription_configuration'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + identity_center_application_arn=pulumi.get(__response__, 'identity_center_application_arn'), + personalization_configuration=pulumi.get(__response__, 'personalization_configuration'), + q_apps_configuration=pulumi.get(__response__, 'q_apps_configuration'), + role_arn=pulumi.get(__response__, 'role_arn'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/qbusiness/get_data_source.py b/sdk/python/pulumi_aws_native/qbusiness/get_data_source.py index 45fe27ce14..13c73473b4 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/get_data_source.py +++ b/sdk/python/pulumi_aws_native/qbusiness/get_data_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -245,9 +250,6 @@ def get_data_source(application_id: Optional[str] = None, type=pulumi.get(__ret__, 'type'), updated_at=pulumi.get(__ret__, 'updated_at'), vpc_configuration=pulumi.get(__ret__, 'vpc_configuration')) - - -@_utilities.lift_output_func(get_data_source) def get_data_source_output(application_id: Optional[pulumi.Input[str]] = None, data_source_id: Optional[pulumi.Input[str]] = None, index_id: Optional[pulumi.Input[str]] = None, @@ -260,4 +262,24 @@ def get_data_source_output(application_id: Optional[pulumi.Input[str]] = None, :param str data_source_id: The identifier of the Amazon Q Business data source. :param str index_id: The identifier of the index the data source is attached to. """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + __args__['dataSourceId'] = data_source_id + __args__['indexId'] = index_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:qbusiness:getDataSource', __args__, opts=opts, typ=GetDataSourceResult) + return __ret__.apply(lambda __response__: GetDataSourceResult( + configuration=pulumi.get(__response__, 'configuration'), + created_at=pulumi.get(__response__, 'created_at'), + data_source_arn=pulumi.get(__response__, 'data_source_arn'), + data_source_id=pulumi.get(__response__, 'data_source_id'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + document_enrichment_configuration=pulumi.get(__response__, 'document_enrichment_configuration'), + role_arn=pulumi.get(__response__, 'role_arn'), + status=pulumi.get(__response__, 'status'), + sync_schedule=pulumi.get(__response__, 'sync_schedule'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + updated_at=pulumi.get(__response__, 'updated_at'), + vpc_configuration=pulumi.get(__response__, 'vpc_configuration'))) diff --git a/sdk/python/pulumi_aws_native/qbusiness/get_index.py b/sdk/python/pulumi_aws_native/qbusiness/get_index.py index 81dfc3dbc9..908275b59c 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/get_index.py +++ b/sdk/python/pulumi_aws_native/qbusiness/get_index.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -191,9 +196,6 @@ def get_index(application_id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_index) def get_index_output(application_id: Optional[pulumi.Input[str]] = None, index_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIndexResult]: @@ -204,4 +206,20 @@ def get_index_output(application_id: Optional[pulumi.Input[str]] = None, :param str application_id: The identifier of the Amazon Q Business application using the index. :param str index_id: The identifier for the index. """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + __args__['indexId'] = index_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:qbusiness:getIndex', __args__, opts=opts, typ=GetIndexResult) + return __ret__.apply(lambda __response__: GetIndexResult( + capacity_configuration=pulumi.get(__response__, 'capacity_configuration'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + document_attribute_configurations=pulumi.get(__response__, 'document_attribute_configurations'), + index_arn=pulumi.get(__response__, 'index_arn'), + index_id=pulumi.get(__response__, 'index_id'), + index_statistics=pulumi.get(__response__, 'index_statistics'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/qbusiness/get_plugin.py b/sdk/python/pulumi_aws_native/qbusiness/get_plugin.py index 83efcf5398..594e6a573b 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/get_plugin.py +++ b/sdk/python/pulumi_aws_native/qbusiness/get_plugin.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -192,9 +197,6 @@ def get_plugin(application_id: Optional[str] = None, state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_plugin) def get_plugin_output(application_id: Optional[pulumi.Input[str]] = None, plugin_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPluginResult]: @@ -205,4 +207,20 @@ def get_plugin_output(application_id: Optional[pulumi.Input[str]] = None, :param str application_id: The identifier of the application that will contain the plugin. :param str plugin_id: The identifier of the plugin. """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + __args__['pluginId'] = plugin_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:qbusiness:getPlugin', __args__, opts=opts, typ=GetPluginResult) + return __ret__.apply(lambda __response__: GetPluginResult( + auth_configuration=pulumi.get(__response__, 'auth_configuration'), + build_status=pulumi.get(__response__, 'build_status'), + created_at=pulumi.get(__response__, 'created_at'), + custom_plugin_configuration=pulumi.get(__response__, 'custom_plugin_configuration'), + display_name=pulumi.get(__response__, 'display_name'), + plugin_arn=pulumi.get(__response__, 'plugin_arn'), + plugin_id=pulumi.get(__response__, 'plugin_id'), + server_url=pulumi.get(__response__, 'server_url'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/qbusiness/get_retriever.py b/sdk/python/pulumi_aws_native/qbusiness/get_retriever.py index af66ada9b6..836a52f50e 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/get_retriever.py +++ b/sdk/python/pulumi_aws_native/qbusiness/get_retriever.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -166,9 +171,6 @@ def get_retriever(application_id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_retriever) def get_retriever_output(application_id: Optional[pulumi.Input[str]] = None, retriever_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRetrieverResult]: @@ -179,4 +181,18 @@ def get_retriever_output(application_id: Optional[pulumi.Input[str]] = None, :param str application_id: The identifier of the Amazon Q Business application using the retriever. :param str retriever_id: The identifier of the retriever used by your Amazon Q Business application. """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + __args__['retrieverId'] = retriever_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:qbusiness:getRetriever', __args__, opts=opts, typ=GetRetrieverResult) + return __ret__.apply(lambda __response__: GetRetrieverResult( + configuration=pulumi.get(__response__, 'configuration'), + created_at=pulumi.get(__response__, 'created_at'), + display_name=pulumi.get(__response__, 'display_name'), + retriever_arn=pulumi.get(__response__, 'retriever_arn'), + retriever_id=pulumi.get(__response__, 'retriever_id'), + role_arn=pulumi.get(__response__, 'role_arn'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/qbusiness/get_web_experience.py b/sdk/python/pulumi_aws_native/qbusiness/get_web_experience.py index 18fa13cab0..4fc30732ec 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/get_web_experience.py +++ b/sdk/python/pulumi_aws_native/qbusiness/get_web_experience.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -220,9 +225,6 @@ def get_web_experience(application_id: Optional[str] = None, web_experience_arn=pulumi.get(__ret__, 'web_experience_arn'), web_experience_id=pulumi.get(__ret__, 'web_experience_id'), welcome_message=pulumi.get(__ret__, 'welcome_message')) - - -@_utilities.lift_output_func(get_web_experience) def get_web_experience_output(application_id: Optional[pulumi.Input[str]] = None, web_experience_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWebExperienceResult]: @@ -233,4 +235,22 @@ def get_web_experience_output(application_id: Optional[pulumi.Input[str]] = None :param str application_id: The identifier of the Amazon Q Business web experience. :param str web_experience_id: The identifier of your Amazon Q Business web experience. """ - ... + __args__ = dict() + __args__['applicationId'] = application_id + __args__['webExperienceId'] = web_experience_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:qbusiness:getWebExperience', __args__, opts=opts, typ=GetWebExperienceResult) + return __ret__.apply(lambda __response__: GetWebExperienceResult( + created_at=pulumi.get(__response__, 'created_at'), + default_endpoint=pulumi.get(__response__, 'default_endpoint'), + identity_provider_configuration=pulumi.get(__response__, 'identity_provider_configuration'), + role_arn=pulumi.get(__response__, 'role_arn'), + sample_prompts_control_mode=pulumi.get(__response__, 'sample_prompts_control_mode'), + status=pulumi.get(__response__, 'status'), + subtitle=pulumi.get(__response__, 'subtitle'), + tags=pulumi.get(__response__, 'tags'), + title=pulumi.get(__response__, 'title'), + updated_at=pulumi.get(__response__, 'updated_at'), + web_experience_arn=pulumi.get(__response__, 'web_experience_arn'), + web_experience_id=pulumi.get(__response__, 'web_experience_id'), + welcome_message=pulumi.get(__response__, 'welcome_message'))) diff --git a/sdk/python/pulumi_aws_native/qbusiness/index.py b/sdk/python/pulumi_aws_native/qbusiness/index.py index e2f5f51358..8780e1131b 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/index.py +++ b/sdk/python/pulumi_aws_native/qbusiness/index.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/qbusiness/outputs.py b/sdk/python/pulumi_aws_native/qbusiness/outputs.py index 6f8e3b1f08..d2a04ba20e 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/outputs.py +++ b/sdk/python/pulumi_aws_native/qbusiness/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/qbusiness/plugin.py b/sdk/python/pulumi_aws_native/qbusiness/plugin.py index b0e955c8a9..7e07939cae 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/plugin.py +++ b/sdk/python/pulumi_aws_native/qbusiness/plugin.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/qbusiness/retriever.py b/sdk/python/pulumi_aws_native/qbusiness/retriever.py index 0721bc5c31..ef64735e85 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/retriever.py +++ b/sdk/python/pulumi_aws_native/qbusiness/retriever.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/qbusiness/web_experience.py b/sdk/python/pulumi_aws_native/qbusiness/web_experience.py index 5654925327..6567a82fe5 100644 --- a/sdk/python/pulumi_aws_native/qbusiness/web_experience.py +++ b/sdk/python/pulumi_aws_native/qbusiness/web_experience.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/qldb/_inputs.py b/sdk/python/pulumi_aws_native/qldb/_inputs.py index 5e1f07facd..2de7ef16a5 100644 --- a/sdk/python/pulumi_aws_native/qldb/_inputs.py +++ b/sdk/python/pulumi_aws_native/qldb/_inputs.py @@ -4,15 +4,40 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'StreamKinesisConfigurationArgs', + 'StreamKinesisConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class StreamKinesisConfigurationArgsDict(TypedDict): + aggregation_enabled: NotRequired[pulumi.Input[bool]] + """ + Enables QLDB to publish multiple data records in a single Kinesis Data Streams record, increasing the number of records sent per API call. + + Default: `True` + + > Record aggregation has important implications for processing records and requires de-aggregation in your stream consumer. To learn more, see [KPL Key Concepts](https://docs.aws.amazon.com/streams/latest/dev/kinesis-kpl-concepts.html) and [Consumer De-aggregation](https://docs.aws.amazon.com/streams/latest/dev/kinesis-kpl-consumer-deaggregation.html) in the *Amazon Kinesis Data Streams Developer Guide* . + """ + stream_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the Kinesis Data Streams resource. + """ +elif False: + StreamKinesisConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamKinesisConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/qldb/get_stream.py b/sdk/python/pulumi_aws_native/qldb/get_stream.py index 4388dc69b4..4e8e9f5002 100644 --- a/sdk/python/pulumi_aws_native/qldb/get_stream.py +++ b/sdk/python/pulumi_aws_native/qldb/get_stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -86,9 +91,6 @@ def get_stream(id: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_stream) def get_stream_output(id: Optional[pulumi.Input[str]] = None, ledger_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStreamResult]: @@ -99,4 +101,12 @@ def get_stream_output(id: Optional[pulumi.Input[str]] = None, :param str id: The unique ID that QLDB assigns to each QLDB journal stream. For example: `IiPT4brpZCqCq3f4MTHbYy` . :param str ledger_name: The name of the ledger. """ - ... + __args__ = dict() + __args__['id'] = id + __args__['ledgerName'] = ledger_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:qldb:getStream', __args__, opts=opts, typ=GetStreamResult) + return __ret__.apply(lambda __response__: GetStreamResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/qldb/outputs.py b/sdk/python/pulumi_aws_native/qldb/outputs.py index b52a6fe098..f128d618da 100644 --- a/sdk/python/pulumi_aws_native/qldb/outputs.py +++ b/sdk/python/pulumi_aws_native/qldb/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/qldb/stream.py b/sdk/python/pulumi_aws_native/qldb/stream.py index 0c1b804e02..45dd512dc4 100644 --- a/sdk/python/pulumi_aws_native/qldb/stream.py +++ b/sdk/python/pulumi_aws_native/qldb/stream.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/quicksight/_inputs.py b/sdk/python/pulumi_aws_native/quicksight/_inputs.py index b0e4d24d02..d3f36eb06b 100644 --- a/sdk/python/pulumi_aws_native/quicksight/_inputs.py +++ b/sdk/python/pulumi_aws_native/quicksight/_inputs.py @@ -4,1612 +4,3245 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AnalysisAggregationFunctionArgs', + 'AnalysisAggregationFunctionArgsDict', 'AnalysisAggregationSortConfigurationArgs', + 'AnalysisAggregationSortConfigurationArgsDict', 'AnalysisAllSheetsFilterScopeConfigurationArgs', + 'AnalysisAllSheetsFilterScopeConfigurationArgsDict', 'AnalysisAnchorDateConfigurationArgs', + 'AnalysisAnchorDateConfigurationArgsDict', 'AnalysisArcAxisConfigurationArgs', + 'AnalysisArcAxisConfigurationArgsDict', 'AnalysisArcAxisDisplayRangeArgs', + 'AnalysisArcAxisDisplayRangeArgsDict', 'AnalysisArcConfigurationArgs', + 'AnalysisArcConfigurationArgsDict', 'AnalysisArcOptionsArgs', + 'AnalysisArcOptionsArgsDict', 'AnalysisAssetOptionsArgs', + 'AnalysisAssetOptionsArgsDict', 'AnalysisAttributeAggregationFunctionArgs', + 'AnalysisAttributeAggregationFunctionArgsDict', 'AnalysisAxisDataOptionsArgs', + 'AnalysisAxisDataOptionsArgsDict', 'AnalysisAxisDisplayDataDrivenRangeArgs', + 'AnalysisAxisDisplayDataDrivenRangeArgsDict', 'AnalysisAxisDisplayMinMaxRangeArgs', + 'AnalysisAxisDisplayMinMaxRangeArgsDict', 'AnalysisAxisDisplayOptionsArgs', + 'AnalysisAxisDisplayOptionsArgsDict', 'AnalysisAxisDisplayRangeArgs', + 'AnalysisAxisDisplayRangeArgsDict', 'AnalysisAxisLabelOptionsArgs', + 'AnalysisAxisLabelOptionsArgsDict', 'AnalysisAxisLabelReferenceOptionsArgs', + 'AnalysisAxisLabelReferenceOptionsArgsDict', 'AnalysisAxisLinearScaleArgs', + 'AnalysisAxisLinearScaleArgsDict', 'AnalysisAxisLogarithmicScaleArgs', + 'AnalysisAxisLogarithmicScaleArgsDict', 'AnalysisAxisScaleArgs', + 'AnalysisAxisScaleArgsDict', 'AnalysisAxisTickLabelOptionsArgs', + 'AnalysisAxisTickLabelOptionsArgsDict', 'AnalysisBarChartAggregatedFieldWellsArgs', + 'AnalysisBarChartAggregatedFieldWellsArgsDict', 'AnalysisBarChartConfigurationArgs', + 'AnalysisBarChartConfigurationArgsDict', 'AnalysisBarChartFieldWellsArgs', + 'AnalysisBarChartFieldWellsArgsDict', 'AnalysisBarChartSortConfigurationArgs', + 'AnalysisBarChartSortConfigurationArgsDict', 'AnalysisBarChartVisualArgs', + 'AnalysisBarChartVisualArgsDict', 'AnalysisBinCountOptionsArgs', + 'AnalysisBinCountOptionsArgsDict', 'AnalysisBinWidthOptionsArgs', + 'AnalysisBinWidthOptionsArgsDict', 'AnalysisBodySectionConfigurationArgs', + 'AnalysisBodySectionConfigurationArgsDict', 'AnalysisBodySectionContentArgs', + 'AnalysisBodySectionContentArgsDict', 'AnalysisBoxPlotAggregatedFieldWellsArgs', + 'AnalysisBoxPlotAggregatedFieldWellsArgsDict', 'AnalysisBoxPlotChartConfigurationArgs', + 'AnalysisBoxPlotChartConfigurationArgsDict', 'AnalysisBoxPlotFieldWellsArgs', + 'AnalysisBoxPlotFieldWellsArgsDict', 'AnalysisBoxPlotOptionsArgs', + 'AnalysisBoxPlotOptionsArgsDict', 'AnalysisBoxPlotSortConfigurationArgs', + 'AnalysisBoxPlotSortConfigurationArgsDict', 'AnalysisBoxPlotStyleOptionsArgs', + 'AnalysisBoxPlotStyleOptionsArgsDict', 'AnalysisBoxPlotVisualArgs', + 'AnalysisBoxPlotVisualArgsDict', 'AnalysisCalculatedFieldArgs', + 'AnalysisCalculatedFieldArgsDict', 'AnalysisCalculatedMeasureFieldArgs', + 'AnalysisCalculatedMeasureFieldArgsDict', 'AnalysisCascadingControlConfigurationArgs', + 'AnalysisCascadingControlConfigurationArgsDict', 'AnalysisCascadingControlSourceArgs', + 'AnalysisCascadingControlSourceArgsDict', 'AnalysisCategoricalDimensionFieldArgs', + 'AnalysisCategoricalDimensionFieldArgsDict', 'AnalysisCategoricalMeasureFieldArgs', + 'AnalysisCategoricalMeasureFieldArgsDict', 'AnalysisCategoryDrillDownFilterArgs', + 'AnalysisCategoryDrillDownFilterArgsDict', 'AnalysisCategoryFilterConfigurationArgs', + 'AnalysisCategoryFilterConfigurationArgsDict', 'AnalysisCategoryFilterArgs', + 'AnalysisCategoryFilterArgsDict', 'AnalysisCategoryInnerFilterArgs', + 'AnalysisCategoryInnerFilterArgsDict', 'AnalysisChartAxisLabelOptionsArgs', + 'AnalysisChartAxisLabelOptionsArgsDict', 'AnalysisClusterMarkerConfigurationArgs', + 'AnalysisClusterMarkerConfigurationArgsDict', 'AnalysisClusterMarkerArgs', + 'AnalysisClusterMarkerArgsDict', 'AnalysisColorScaleArgs', + 'AnalysisColorScaleArgsDict', 'AnalysisColorsConfigurationArgs', + 'AnalysisColorsConfigurationArgsDict', 'AnalysisColumnConfigurationArgs', + 'AnalysisColumnConfigurationArgsDict', 'AnalysisColumnHierarchyArgs', + 'AnalysisColumnHierarchyArgsDict', 'AnalysisColumnIdentifierArgs', + 'AnalysisColumnIdentifierArgsDict', 'AnalysisColumnSortArgs', + 'AnalysisColumnSortArgsDict', 'AnalysisColumnTooltipItemArgs', + 'AnalysisColumnTooltipItemArgsDict', 'AnalysisComboChartAggregatedFieldWellsArgs', + 'AnalysisComboChartAggregatedFieldWellsArgsDict', 'AnalysisComboChartConfigurationArgs', + 'AnalysisComboChartConfigurationArgsDict', 'AnalysisComboChartFieldWellsArgs', + 'AnalysisComboChartFieldWellsArgsDict', 'AnalysisComboChartSortConfigurationArgs', + 'AnalysisComboChartSortConfigurationArgsDict', 'AnalysisComboChartVisualArgs', + 'AnalysisComboChartVisualArgsDict', 'AnalysisComparisonConfigurationArgs', + 'AnalysisComparisonConfigurationArgsDict', 'AnalysisComparisonFormatConfigurationArgs', + 'AnalysisComparisonFormatConfigurationArgsDict', 'AnalysisComputationArgs', + 'AnalysisComputationArgsDict', 'AnalysisConditionalFormattingColorArgs', + 'AnalysisConditionalFormattingColorArgsDict', 'AnalysisConditionalFormattingCustomIconConditionArgs', + 'AnalysisConditionalFormattingCustomIconConditionArgsDict', 'AnalysisConditionalFormattingCustomIconOptionsArgs', + 'AnalysisConditionalFormattingCustomIconOptionsArgsDict', 'AnalysisConditionalFormattingGradientColorArgs', + 'AnalysisConditionalFormattingGradientColorArgsDict', 'AnalysisConditionalFormattingIconDisplayConfigurationArgs', + 'AnalysisConditionalFormattingIconDisplayConfigurationArgsDict', 'AnalysisConditionalFormattingIconSetArgs', + 'AnalysisConditionalFormattingIconSetArgsDict', 'AnalysisConditionalFormattingIconArgs', + 'AnalysisConditionalFormattingIconArgsDict', 'AnalysisConditionalFormattingSolidColorArgs', + 'AnalysisConditionalFormattingSolidColorArgsDict', 'AnalysisContributionAnalysisDefaultArgs', + 'AnalysisContributionAnalysisDefaultArgsDict', 'AnalysisCurrencyDisplayFormatConfigurationArgs', + 'AnalysisCurrencyDisplayFormatConfigurationArgsDict', 'AnalysisCustomActionFilterOperationArgs', + 'AnalysisCustomActionFilterOperationArgsDict', 'AnalysisCustomActionNavigationOperationArgs', + 'AnalysisCustomActionNavigationOperationArgsDict', 'AnalysisCustomActionSetParametersOperationArgs', + 'AnalysisCustomActionSetParametersOperationArgsDict', 'AnalysisCustomActionUrlOperationArgs', + 'AnalysisCustomActionUrlOperationArgsDict', 'AnalysisCustomColorArgs', + 'AnalysisCustomColorArgsDict', 'AnalysisCustomContentConfigurationArgs', + 'AnalysisCustomContentConfigurationArgsDict', 'AnalysisCustomContentVisualArgs', + 'AnalysisCustomContentVisualArgsDict', 'AnalysisCustomFilterConfigurationArgs', + 'AnalysisCustomFilterConfigurationArgsDict', 'AnalysisCustomFilterListConfigurationArgs', + 'AnalysisCustomFilterListConfigurationArgsDict', 'AnalysisCustomNarrativeOptionsArgs', + 'AnalysisCustomNarrativeOptionsArgsDict', 'AnalysisCustomParameterValuesArgs', + 'AnalysisCustomParameterValuesArgsDict', 'AnalysisCustomValuesConfigurationArgs', + 'AnalysisCustomValuesConfigurationArgsDict', 'AnalysisDataBarsOptionsArgs', + 'AnalysisDataBarsOptionsArgsDict', 'AnalysisDataColorArgs', + 'AnalysisDataColorArgsDict', 'AnalysisDataFieldSeriesItemArgs', + 'AnalysisDataFieldSeriesItemArgsDict', 'AnalysisDataLabelOptionsArgs', + 'AnalysisDataLabelOptionsArgsDict', 'AnalysisDataLabelTypeArgs', + 'AnalysisDataLabelTypeArgsDict', 'AnalysisDataPathColorArgs', + 'AnalysisDataPathColorArgsDict', 'AnalysisDataPathLabelTypeArgs', + 'AnalysisDataPathLabelTypeArgsDict', 'AnalysisDataPathSortArgs', + 'AnalysisDataPathSortArgsDict', 'AnalysisDataPathTypeArgs', + 'AnalysisDataPathTypeArgsDict', 'AnalysisDataPathValueArgs', + 'AnalysisDataPathValueArgsDict', 'AnalysisDataSetIdentifierDeclarationArgs', + 'AnalysisDataSetIdentifierDeclarationArgsDict', 'AnalysisDataSetReferenceArgs', + 'AnalysisDataSetReferenceArgsDict', 'AnalysisDateAxisOptionsArgs', + 'AnalysisDateAxisOptionsArgsDict', 'AnalysisDateDimensionFieldArgs', + 'AnalysisDateDimensionFieldArgsDict', 'AnalysisDateMeasureFieldArgs', + 'AnalysisDateMeasureFieldArgsDict', 'AnalysisDateTimeDefaultValuesArgs', + 'AnalysisDateTimeDefaultValuesArgsDict', 'AnalysisDateTimeFormatConfigurationArgs', + 'AnalysisDateTimeFormatConfigurationArgsDict', 'AnalysisDateTimeHierarchyArgs', + 'AnalysisDateTimeHierarchyArgsDict', 'AnalysisDateTimeParameterDeclarationArgs', + 'AnalysisDateTimeParameterDeclarationArgsDict', 'AnalysisDateTimeParameterArgs', + 'AnalysisDateTimeParameterArgsDict', 'AnalysisDateTimePickerControlDisplayOptionsArgs', + 'AnalysisDateTimePickerControlDisplayOptionsArgsDict', 'AnalysisDateTimeValueWhenUnsetConfigurationArgs', + 'AnalysisDateTimeValueWhenUnsetConfigurationArgsDict', 'AnalysisDecimalDefaultValuesArgs', + 'AnalysisDecimalDefaultValuesArgsDict', 'AnalysisDecimalParameterDeclarationArgs', + 'AnalysisDecimalParameterDeclarationArgsDict', 'AnalysisDecimalParameterArgs', + 'AnalysisDecimalParameterArgsDict', 'AnalysisDecimalPlacesConfigurationArgs', + 'AnalysisDecimalPlacesConfigurationArgsDict', 'AnalysisDecimalValueWhenUnsetConfigurationArgs', + 'AnalysisDecimalValueWhenUnsetConfigurationArgsDict', 'AnalysisDefaultDateTimePickerControlOptionsArgs', + 'AnalysisDefaultDateTimePickerControlOptionsArgsDict', 'AnalysisDefaultFilterControlConfigurationArgs', + 'AnalysisDefaultFilterControlConfigurationArgsDict', 'AnalysisDefaultFilterControlOptionsArgs', + 'AnalysisDefaultFilterControlOptionsArgsDict', 'AnalysisDefaultFilterDropDownControlOptionsArgs', + 'AnalysisDefaultFilterDropDownControlOptionsArgsDict', 'AnalysisDefaultFilterListControlOptionsArgs', + 'AnalysisDefaultFilterListControlOptionsArgsDict', 'AnalysisDefaultFreeFormLayoutConfigurationArgs', + 'AnalysisDefaultFreeFormLayoutConfigurationArgsDict', 'AnalysisDefaultGridLayoutConfigurationArgs', + 'AnalysisDefaultGridLayoutConfigurationArgsDict', 'AnalysisDefaultInteractiveLayoutConfigurationArgs', + 'AnalysisDefaultInteractiveLayoutConfigurationArgsDict', 'AnalysisDefaultNewSheetConfigurationArgs', + 'AnalysisDefaultNewSheetConfigurationArgsDict', 'AnalysisDefaultPaginatedLayoutConfigurationArgs', + 'AnalysisDefaultPaginatedLayoutConfigurationArgsDict', 'AnalysisDefaultRelativeDateTimeControlOptionsArgs', + 'AnalysisDefaultRelativeDateTimeControlOptionsArgsDict', 'AnalysisDefaultSectionBasedLayoutConfigurationArgs', + 'AnalysisDefaultSectionBasedLayoutConfigurationArgsDict', 'AnalysisDefaultSliderControlOptionsArgs', + 'AnalysisDefaultSliderControlOptionsArgsDict', 'AnalysisDefaultTextAreaControlOptionsArgs', + 'AnalysisDefaultTextAreaControlOptionsArgsDict', 'AnalysisDefaultTextFieldControlOptionsArgs', + 'AnalysisDefaultTextFieldControlOptionsArgsDict', 'AnalysisDefaultsArgs', + 'AnalysisDefaultsArgsDict', 'AnalysisDefinitionArgs', + 'AnalysisDefinitionArgsDict', 'AnalysisDestinationParameterValueConfigurationArgs', + 'AnalysisDestinationParameterValueConfigurationArgsDict', 'AnalysisDimensionFieldArgs', + 'AnalysisDimensionFieldArgsDict', 'AnalysisDonutCenterOptionsArgs', + 'AnalysisDonutCenterOptionsArgsDict', 'AnalysisDonutOptionsArgs', + 'AnalysisDonutOptionsArgsDict', 'AnalysisDrillDownFilterArgs', + 'AnalysisDrillDownFilterArgsDict', 'AnalysisDropDownControlDisplayOptionsArgs', + 'AnalysisDropDownControlDisplayOptionsArgsDict', 'AnalysisDynamicDefaultValueArgs', + 'AnalysisDynamicDefaultValueArgsDict', 'AnalysisEmptyVisualArgs', + 'AnalysisEmptyVisualArgsDict', 'AnalysisEntityArgs', + 'AnalysisEntityArgsDict', 'AnalysisErrorArgs', + 'AnalysisErrorArgsDict', 'AnalysisExcludePeriodConfigurationArgs', + 'AnalysisExcludePeriodConfigurationArgsDict', 'AnalysisExplicitHierarchyArgs', + 'AnalysisExplicitHierarchyArgsDict', 'AnalysisFieldBasedTooltipArgs', + 'AnalysisFieldBasedTooltipArgsDict', 'AnalysisFieldLabelTypeArgs', + 'AnalysisFieldLabelTypeArgsDict', 'AnalysisFieldSeriesItemArgs', + 'AnalysisFieldSeriesItemArgsDict', 'AnalysisFieldSortOptionsArgs', + 'AnalysisFieldSortOptionsArgsDict', 'AnalysisFieldSortArgs', + 'AnalysisFieldSortArgsDict', 'AnalysisFieldTooltipItemArgs', + 'AnalysisFieldTooltipItemArgsDict', 'AnalysisFilledMapAggregatedFieldWellsArgs', + 'AnalysisFilledMapAggregatedFieldWellsArgsDict', 'AnalysisFilledMapConditionalFormattingOptionArgs', + 'AnalysisFilledMapConditionalFormattingOptionArgsDict', 'AnalysisFilledMapConditionalFormattingArgs', + 'AnalysisFilledMapConditionalFormattingArgsDict', 'AnalysisFilledMapConfigurationArgs', + 'AnalysisFilledMapConfigurationArgsDict', 'AnalysisFilledMapFieldWellsArgs', + 'AnalysisFilledMapFieldWellsArgsDict', 'AnalysisFilledMapShapeConditionalFormattingArgs', + 'AnalysisFilledMapShapeConditionalFormattingArgsDict', 'AnalysisFilledMapSortConfigurationArgs', + 'AnalysisFilledMapSortConfigurationArgsDict', 'AnalysisFilledMapVisualArgs', + 'AnalysisFilledMapVisualArgsDict', 'AnalysisFilterControlArgs', + 'AnalysisFilterControlArgsDict', 'AnalysisFilterCrossSheetControlArgs', + 'AnalysisFilterCrossSheetControlArgsDict', 'AnalysisFilterDateTimePickerControlArgs', + 'AnalysisFilterDateTimePickerControlArgsDict', 'AnalysisFilterDropDownControlArgs', + 'AnalysisFilterDropDownControlArgsDict', 'AnalysisFilterGroupArgs', + 'AnalysisFilterGroupArgsDict', 'AnalysisFilterListConfigurationArgs', + 'AnalysisFilterListConfigurationArgsDict', 'AnalysisFilterListControlArgs', + 'AnalysisFilterListControlArgsDict', 'AnalysisFilterOperationSelectedFieldsConfigurationArgs', + 'AnalysisFilterOperationSelectedFieldsConfigurationArgsDict', 'AnalysisFilterOperationTargetVisualsConfigurationArgs', + 'AnalysisFilterOperationTargetVisualsConfigurationArgsDict', 'AnalysisFilterRelativeDateTimeControlArgs', + 'AnalysisFilterRelativeDateTimeControlArgsDict', 'AnalysisFilterScopeConfigurationArgs', + 'AnalysisFilterScopeConfigurationArgsDict', 'AnalysisFilterSelectableValuesArgs', + 'AnalysisFilterSelectableValuesArgsDict', 'AnalysisFilterSliderControlArgs', + 'AnalysisFilterSliderControlArgsDict', 'AnalysisFilterTextAreaControlArgs', + 'AnalysisFilterTextAreaControlArgsDict', 'AnalysisFilterTextFieldControlArgs', + 'AnalysisFilterTextFieldControlArgsDict', 'AnalysisFilterArgs', + 'AnalysisFilterArgsDict', 'AnalysisFontConfigurationArgs', + 'AnalysisFontConfigurationArgsDict', 'AnalysisFontSizeArgs', + 'AnalysisFontSizeArgsDict', 'AnalysisFontWeightArgs', + 'AnalysisFontWeightArgsDict', 'AnalysisForecastComputationArgs', + 'AnalysisForecastComputationArgsDict', 'AnalysisForecastConfigurationArgs', + 'AnalysisForecastConfigurationArgsDict', 'AnalysisForecastScenarioArgs', + 'AnalysisForecastScenarioArgsDict', 'AnalysisFormatConfigurationArgs', + 'AnalysisFormatConfigurationArgsDict', 'AnalysisFreeFormLayoutCanvasSizeOptionsArgs', + 'AnalysisFreeFormLayoutCanvasSizeOptionsArgsDict', 'AnalysisFreeFormLayoutConfigurationArgs', + 'AnalysisFreeFormLayoutConfigurationArgsDict', 'AnalysisFreeFormLayoutElementBackgroundStyleArgs', + 'AnalysisFreeFormLayoutElementBackgroundStyleArgsDict', 'AnalysisFreeFormLayoutElementBorderStyleArgs', + 'AnalysisFreeFormLayoutElementBorderStyleArgsDict', 'AnalysisFreeFormLayoutElementArgs', + 'AnalysisFreeFormLayoutElementArgsDict', 'AnalysisFreeFormLayoutScreenCanvasSizeOptionsArgs', + 'AnalysisFreeFormLayoutScreenCanvasSizeOptionsArgsDict', 'AnalysisFreeFormSectionLayoutConfigurationArgs', + 'AnalysisFreeFormSectionLayoutConfigurationArgsDict', 'AnalysisFunnelChartAggregatedFieldWellsArgs', + 'AnalysisFunnelChartAggregatedFieldWellsArgsDict', 'AnalysisFunnelChartConfigurationArgs', + 'AnalysisFunnelChartConfigurationArgsDict', 'AnalysisFunnelChartDataLabelOptionsArgs', + 'AnalysisFunnelChartDataLabelOptionsArgsDict', 'AnalysisFunnelChartFieldWellsArgs', + 'AnalysisFunnelChartFieldWellsArgsDict', 'AnalysisFunnelChartSortConfigurationArgs', + 'AnalysisFunnelChartSortConfigurationArgsDict', 'AnalysisFunnelChartVisualArgs', + 'AnalysisFunnelChartVisualArgsDict', 'AnalysisGaugeChartArcConditionalFormattingArgs', + 'AnalysisGaugeChartArcConditionalFormattingArgsDict', 'AnalysisGaugeChartConditionalFormattingOptionArgs', + 'AnalysisGaugeChartConditionalFormattingOptionArgsDict', 'AnalysisGaugeChartConditionalFormattingArgs', + 'AnalysisGaugeChartConditionalFormattingArgsDict', 'AnalysisGaugeChartConfigurationArgs', + 'AnalysisGaugeChartConfigurationArgsDict', 'AnalysisGaugeChartFieldWellsArgs', + 'AnalysisGaugeChartFieldWellsArgsDict', 'AnalysisGaugeChartOptionsArgs', + 'AnalysisGaugeChartOptionsArgsDict', 'AnalysisGaugeChartPrimaryValueConditionalFormattingArgs', + 'AnalysisGaugeChartPrimaryValueConditionalFormattingArgsDict', 'AnalysisGaugeChartVisualArgs', + 'AnalysisGaugeChartVisualArgsDict', 'AnalysisGeospatialCoordinateBoundsArgs', + 'AnalysisGeospatialCoordinateBoundsArgsDict', 'AnalysisGeospatialHeatmapColorScaleArgs', + 'AnalysisGeospatialHeatmapColorScaleArgsDict', 'AnalysisGeospatialHeatmapConfigurationArgs', + 'AnalysisGeospatialHeatmapConfigurationArgsDict', 'AnalysisGeospatialHeatmapDataColorArgs', + 'AnalysisGeospatialHeatmapDataColorArgsDict', 'AnalysisGeospatialMapAggregatedFieldWellsArgs', + 'AnalysisGeospatialMapAggregatedFieldWellsArgsDict', 'AnalysisGeospatialMapConfigurationArgs', + 'AnalysisGeospatialMapConfigurationArgsDict', 'AnalysisGeospatialMapFieldWellsArgs', + 'AnalysisGeospatialMapFieldWellsArgsDict', 'AnalysisGeospatialMapStyleOptionsArgs', + 'AnalysisGeospatialMapStyleOptionsArgsDict', 'AnalysisGeospatialMapVisualArgs', + 'AnalysisGeospatialMapVisualArgsDict', 'AnalysisGeospatialPointStyleOptionsArgs', + 'AnalysisGeospatialPointStyleOptionsArgsDict', 'AnalysisGeospatialWindowOptionsArgs', + 'AnalysisGeospatialWindowOptionsArgsDict', 'AnalysisGlobalTableBorderOptionsArgs', + 'AnalysisGlobalTableBorderOptionsArgsDict', 'AnalysisGradientColorArgs', + 'AnalysisGradientColorArgsDict', 'AnalysisGradientStopArgs', + 'AnalysisGradientStopArgsDict', 'AnalysisGridLayoutCanvasSizeOptionsArgs', + 'AnalysisGridLayoutCanvasSizeOptionsArgsDict', 'AnalysisGridLayoutConfigurationArgs', + 'AnalysisGridLayoutConfigurationArgsDict', 'AnalysisGridLayoutElementArgs', + 'AnalysisGridLayoutElementArgsDict', 'AnalysisGridLayoutScreenCanvasSizeOptionsArgs', + 'AnalysisGridLayoutScreenCanvasSizeOptionsArgsDict', 'AnalysisGrowthRateComputationArgs', + 'AnalysisGrowthRateComputationArgsDict', 'AnalysisHeaderFooterSectionConfigurationArgs', + 'AnalysisHeaderFooterSectionConfigurationArgsDict', 'AnalysisHeatMapAggregatedFieldWellsArgs', + 'AnalysisHeatMapAggregatedFieldWellsArgsDict', 'AnalysisHeatMapConfigurationArgs', + 'AnalysisHeatMapConfigurationArgsDict', 'AnalysisHeatMapFieldWellsArgs', + 'AnalysisHeatMapFieldWellsArgsDict', 'AnalysisHeatMapSortConfigurationArgs', + 'AnalysisHeatMapSortConfigurationArgsDict', 'AnalysisHeatMapVisualArgs', + 'AnalysisHeatMapVisualArgsDict', 'AnalysisHistogramAggregatedFieldWellsArgs', + 'AnalysisHistogramAggregatedFieldWellsArgsDict', 'AnalysisHistogramBinOptionsArgs', + 'AnalysisHistogramBinOptionsArgsDict', 'AnalysisHistogramConfigurationArgs', + 'AnalysisHistogramConfigurationArgsDict', 'AnalysisHistogramFieldWellsArgs', + 'AnalysisHistogramFieldWellsArgsDict', 'AnalysisHistogramVisualArgs', + 'AnalysisHistogramVisualArgsDict', 'AnalysisInnerFilterArgs', + 'AnalysisInnerFilterArgsDict', 'AnalysisInsightConfigurationArgs', + 'AnalysisInsightConfigurationArgsDict', 'AnalysisInsightVisualArgs', + 'AnalysisInsightVisualArgsDict', 'AnalysisIntegerDefaultValuesArgs', + 'AnalysisIntegerDefaultValuesArgsDict', 'AnalysisIntegerParameterDeclarationArgs', + 'AnalysisIntegerParameterDeclarationArgsDict', 'AnalysisIntegerParameterArgs', + 'AnalysisIntegerParameterArgsDict', 'AnalysisIntegerValueWhenUnsetConfigurationArgs', + 'AnalysisIntegerValueWhenUnsetConfigurationArgsDict', 'AnalysisItemsLimitConfigurationArgs', + 'AnalysisItemsLimitConfigurationArgsDict', 'AnalysisKpiActualValueConditionalFormattingArgs', + 'AnalysisKpiActualValueConditionalFormattingArgsDict', 'AnalysisKpiComparisonValueConditionalFormattingArgs', + 'AnalysisKpiComparisonValueConditionalFormattingArgsDict', 'AnalysisKpiConditionalFormattingOptionArgs', + 'AnalysisKpiConditionalFormattingOptionArgsDict', 'AnalysisKpiConditionalFormattingArgs', + 'AnalysisKpiConditionalFormattingArgsDict', 'AnalysisKpiConfigurationArgs', + 'AnalysisKpiConfigurationArgsDict', 'AnalysisKpiFieldWellsArgs', + 'AnalysisKpiFieldWellsArgsDict', 'AnalysisKpiOptionsArgs', + 'AnalysisKpiOptionsArgsDict', 'AnalysisKpiPrimaryValueConditionalFormattingArgs', + 'AnalysisKpiPrimaryValueConditionalFormattingArgsDict', 'AnalysisKpiProgressBarConditionalFormattingArgs', + 'AnalysisKpiProgressBarConditionalFormattingArgsDict', 'AnalysisKpiSortConfigurationArgs', + 'AnalysisKpiSortConfigurationArgsDict', 'AnalysisKpiSparklineOptionsArgs', + 'AnalysisKpiSparklineOptionsArgsDict', 'AnalysisKpiVisualLayoutOptionsArgs', + 'AnalysisKpiVisualLayoutOptionsArgsDict', 'AnalysisKpiVisualStandardLayoutArgs', + 'AnalysisKpiVisualStandardLayoutArgsDict', 'AnalysisKpiVisualArgs', + 'AnalysisKpiVisualArgsDict', 'AnalysisLabelOptionsArgs', + 'AnalysisLabelOptionsArgsDict', 'AnalysisLayoutConfigurationArgs', + 'AnalysisLayoutConfigurationArgsDict', 'AnalysisLayoutArgs', + 'AnalysisLayoutArgsDict', 'AnalysisLegendOptionsArgs', + 'AnalysisLegendOptionsArgsDict', 'AnalysisLineChartAggregatedFieldWellsArgs', + 'AnalysisLineChartAggregatedFieldWellsArgsDict', 'AnalysisLineChartConfigurationArgs', + 'AnalysisLineChartConfigurationArgsDict', 'AnalysisLineChartDefaultSeriesSettingsArgs', + 'AnalysisLineChartDefaultSeriesSettingsArgsDict', 'AnalysisLineChartFieldWellsArgs', + 'AnalysisLineChartFieldWellsArgsDict', 'AnalysisLineChartLineStyleSettingsArgs', + 'AnalysisLineChartLineStyleSettingsArgsDict', 'AnalysisLineChartMarkerStyleSettingsArgs', + 'AnalysisLineChartMarkerStyleSettingsArgsDict', 'AnalysisLineChartSeriesSettingsArgs', + 'AnalysisLineChartSeriesSettingsArgsDict', 'AnalysisLineChartSortConfigurationArgs', + 'AnalysisLineChartSortConfigurationArgsDict', 'AnalysisLineChartVisualArgs', + 'AnalysisLineChartVisualArgsDict', 'AnalysisLineSeriesAxisDisplayOptionsArgs', + 'AnalysisLineSeriesAxisDisplayOptionsArgsDict', 'AnalysisListControlDisplayOptionsArgs', + 'AnalysisListControlDisplayOptionsArgsDict', 'AnalysisListControlSearchOptionsArgs', + 'AnalysisListControlSearchOptionsArgsDict', 'AnalysisListControlSelectAllOptionsArgs', + 'AnalysisListControlSelectAllOptionsArgsDict', 'AnalysisLoadingAnimationArgs', + 'AnalysisLoadingAnimationArgsDict', 'AnalysisLocalNavigationConfigurationArgs', + 'AnalysisLocalNavigationConfigurationArgsDict', 'AnalysisLongFormatTextArgs', + 'AnalysisLongFormatTextArgsDict', 'AnalysisMappedDataSetParameterArgs', + 'AnalysisMappedDataSetParameterArgsDict', 'AnalysisMaximumLabelTypeArgs', + 'AnalysisMaximumLabelTypeArgsDict', 'AnalysisMaximumMinimumComputationArgs', + 'AnalysisMaximumMinimumComputationArgsDict', 'AnalysisMeasureFieldArgs', + 'AnalysisMeasureFieldArgsDict', 'AnalysisMetricComparisonComputationArgs', + 'AnalysisMetricComparisonComputationArgsDict', 'AnalysisMinimumLabelTypeArgs', + 'AnalysisMinimumLabelTypeArgsDict', 'AnalysisMissingDataConfigurationArgs', + 'AnalysisMissingDataConfigurationArgsDict', 'AnalysisNegativeValueConfigurationArgs', + 'AnalysisNegativeValueConfigurationArgsDict', 'AnalysisNestedFilterArgs', + 'AnalysisNestedFilterArgsDict', 'AnalysisNullValueFormatConfigurationArgs', + 'AnalysisNullValueFormatConfigurationArgsDict', 'AnalysisNumberDisplayFormatConfigurationArgs', + 'AnalysisNumberDisplayFormatConfigurationArgsDict', 'AnalysisNumberFormatConfigurationArgs', + 'AnalysisNumberFormatConfigurationArgsDict', 'AnalysisNumericAxisOptionsArgs', + 'AnalysisNumericAxisOptionsArgsDict', 'AnalysisNumericEqualityDrillDownFilterArgs', + 'AnalysisNumericEqualityDrillDownFilterArgsDict', 'AnalysisNumericEqualityFilterArgs', + 'AnalysisNumericEqualityFilterArgsDict', 'AnalysisNumericFormatConfigurationArgs', + 'AnalysisNumericFormatConfigurationArgsDict', 'AnalysisNumericRangeFilterValueArgs', + 'AnalysisNumericRangeFilterValueArgsDict', 'AnalysisNumericRangeFilterArgs', + 'AnalysisNumericRangeFilterArgsDict', 'AnalysisNumericSeparatorConfigurationArgs', + 'AnalysisNumericSeparatorConfigurationArgsDict', 'AnalysisNumericalAggregationFunctionArgs', + 'AnalysisNumericalAggregationFunctionArgsDict', 'AnalysisNumericalDimensionFieldArgs', + 'AnalysisNumericalDimensionFieldArgsDict', 'AnalysisNumericalMeasureFieldArgs', + 'AnalysisNumericalMeasureFieldArgsDict', 'AnalysisPaginationConfigurationArgs', + 'AnalysisPaginationConfigurationArgsDict', 'AnalysisPanelConfigurationArgs', + 'AnalysisPanelConfigurationArgsDict', 'AnalysisPanelTitleOptionsArgs', + 'AnalysisPanelTitleOptionsArgsDict', 'AnalysisParameterControlArgs', + 'AnalysisParameterControlArgsDict', 'AnalysisParameterDateTimePickerControlArgs', + 'AnalysisParameterDateTimePickerControlArgsDict', 'AnalysisParameterDeclarationArgs', + 'AnalysisParameterDeclarationArgsDict', 'AnalysisParameterDropDownControlArgs', + 'AnalysisParameterDropDownControlArgsDict', 'AnalysisParameterListControlArgs', + 'AnalysisParameterListControlArgsDict', 'AnalysisParameterSelectableValuesArgs', + 'AnalysisParameterSelectableValuesArgsDict', 'AnalysisParameterSliderControlArgs', + 'AnalysisParameterSliderControlArgsDict', 'AnalysisParameterTextAreaControlArgs', + 'AnalysisParameterTextAreaControlArgsDict', 'AnalysisParameterTextFieldControlArgs', + 'AnalysisParameterTextFieldControlArgsDict', 'AnalysisParametersArgs', + 'AnalysisParametersArgsDict', 'AnalysisPercentVisibleRangeArgs', + 'AnalysisPercentVisibleRangeArgsDict', 'AnalysisPercentageDisplayFormatConfigurationArgs', + 'AnalysisPercentageDisplayFormatConfigurationArgsDict', 'AnalysisPercentileAggregationArgs', + 'AnalysisPercentileAggregationArgsDict', 'AnalysisPeriodOverPeriodComputationArgs', + 'AnalysisPeriodOverPeriodComputationArgsDict', 'AnalysisPeriodToDateComputationArgs', + 'AnalysisPeriodToDateComputationArgsDict', 'AnalysisPieChartAggregatedFieldWellsArgs', + 'AnalysisPieChartAggregatedFieldWellsArgsDict', 'AnalysisPieChartConfigurationArgs', + 'AnalysisPieChartConfigurationArgsDict', 'AnalysisPieChartFieldWellsArgs', + 'AnalysisPieChartFieldWellsArgsDict', 'AnalysisPieChartSortConfigurationArgs', + 'AnalysisPieChartSortConfigurationArgsDict', 'AnalysisPieChartVisualArgs', + 'AnalysisPieChartVisualArgsDict', 'AnalysisPivotFieldSortOptionsArgs', + 'AnalysisPivotFieldSortOptionsArgsDict', 'AnalysisPivotTableAggregatedFieldWellsArgs', + 'AnalysisPivotTableAggregatedFieldWellsArgsDict', 'AnalysisPivotTableCellConditionalFormattingArgs', + 'AnalysisPivotTableCellConditionalFormattingArgsDict', 'AnalysisPivotTableConditionalFormattingOptionArgs', + 'AnalysisPivotTableConditionalFormattingOptionArgsDict', 'AnalysisPivotTableConditionalFormattingScopeArgs', + 'AnalysisPivotTableConditionalFormattingScopeArgsDict', 'AnalysisPivotTableConditionalFormattingArgs', + 'AnalysisPivotTableConditionalFormattingArgsDict', 'AnalysisPivotTableConfigurationArgs', + 'AnalysisPivotTableConfigurationArgsDict', 'AnalysisPivotTableDataPathOptionArgs', + 'AnalysisPivotTableDataPathOptionArgsDict', 'AnalysisPivotTableFieldCollapseStateOptionArgs', + 'AnalysisPivotTableFieldCollapseStateOptionArgsDict', 'AnalysisPivotTableFieldCollapseStateTargetArgs', + 'AnalysisPivotTableFieldCollapseStateTargetArgsDict', 'AnalysisPivotTableFieldOptionsArgs', + 'AnalysisPivotTableFieldOptionsArgsDict', 'AnalysisPivotTableFieldOptionArgs', + 'AnalysisPivotTableFieldOptionArgsDict', 'AnalysisPivotTableFieldSubtotalOptionsArgs', + 'AnalysisPivotTableFieldSubtotalOptionsArgsDict', 'AnalysisPivotTableFieldWellsArgs', + 'AnalysisPivotTableFieldWellsArgsDict', 'AnalysisPivotTableOptionsArgs', + 'AnalysisPivotTableOptionsArgsDict', 'AnalysisPivotTablePaginatedReportOptionsArgs', + 'AnalysisPivotTablePaginatedReportOptionsArgsDict', 'AnalysisPivotTableRowsLabelOptionsArgs', + 'AnalysisPivotTableRowsLabelOptionsArgsDict', 'AnalysisPivotTableSortByArgs', + 'AnalysisPivotTableSortByArgsDict', 'AnalysisPivotTableSortConfigurationArgs', + 'AnalysisPivotTableSortConfigurationArgsDict', 'AnalysisPivotTableTotalOptionsArgs', + 'AnalysisPivotTableTotalOptionsArgsDict', 'AnalysisPivotTableVisualArgs', + 'AnalysisPivotTableVisualArgsDict', 'AnalysisPivotTotalOptionsArgs', + 'AnalysisPivotTotalOptionsArgsDict', 'AnalysisPredefinedHierarchyArgs', + 'AnalysisPredefinedHierarchyArgsDict', 'AnalysisProgressBarOptionsArgs', + 'AnalysisProgressBarOptionsArgsDict', 'AnalysisQueryExecutionOptionsArgs', + 'AnalysisQueryExecutionOptionsArgsDict', 'AnalysisRadarChartAggregatedFieldWellsArgs', + 'AnalysisRadarChartAggregatedFieldWellsArgsDict', 'AnalysisRadarChartAreaStyleSettingsArgs', + 'AnalysisRadarChartAreaStyleSettingsArgsDict', 'AnalysisRadarChartConfigurationArgs', + 'AnalysisRadarChartConfigurationArgsDict', 'AnalysisRadarChartFieldWellsArgs', + 'AnalysisRadarChartFieldWellsArgsDict', 'AnalysisRadarChartSeriesSettingsArgs', + 'AnalysisRadarChartSeriesSettingsArgsDict', 'AnalysisRadarChartSortConfigurationArgs', + 'AnalysisRadarChartSortConfigurationArgsDict', 'AnalysisRadarChartVisualArgs', + 'AnalysisRadarChartVisualArgsDict', 'AnalysisRangeEndsLabelTypeArgs', + 'AnalysisRangeEndsLabelTypeArgsDict', 'AnalysisReferenceLineCustomLabelConfigurationArgs', + 'AnalysisReferenceLineCustomLabelConfigurationArgsDict', 'AnalysisReferenceLineDataConfigurationArgs', + 'AnalysisReferenceLineDataConfigurationArgsDict', 'AnalysisReferenceLineDynamicDataConfigurationArgs', + 'AnalysisReferenceLineDynamicDataConfigurationArgsDict', 'AnalysisReferenceLineLabelConfigurationArgs', + 'AnalysisReferenceLineLabelConfigurationArgsDict', 'AnalysisReferenceLineStaticDataConfigurationArgs', + 'AnalysisReferenceLineStaticDataConfigurationArgsDict', 'AnalysisReferenceLineStyleConfigurationArgs', + 'AnalysisReferenceLineStyleConfigurationArgsDict', 'AnalysisReferenceLineValueLabelConfigurationArgs', + 'AnalysisReferenceLineValueLabelConfigurationArgsDict', 'AnalysisReferenceLineArgs', + 'AnalysisReferenceLineArgsDict', 'AnalysisRelativeDateTimeControlDisplayOptionsArgs', + 'AnalysisRelativeDateTimeControlDisplayOptionsArgsDict', 'AnalysisRelativeDatesFilterArgs', + 'AnalysisRelativeDatesFilterArgsDict', 'AnalysisResourcePermissionArgs', + 'AnalysisResourcePermissionArgsDict', 'AnalysisRollingDateConfigurationArgs', + 'AnalysisRollingDateConfigurationArgsDict', 'AnalysisRowAlternateColorOptionsArgs', + 'AnalysisRowAlternateColorOptionsArgsDict', 'AnalysisSameSheetTargetVisualConfigurationArgs', + 'AnalysisSameSheetTargetVisualConfigurationArgsDict', 'AnalysisSankeyDiagramAggregatedFieldWellsArgs', + 'AnalysisSankeyDiagramAggregatedFieldWellsArgsDict', 'AnalysisSankeyDiagramChartConfigurationArgs', + 'AnalysisSankeyDiagramChartConfigurationArgsDict', 'AnalysisSankeyDiagramFieldWellsArgs', + 'AnalysisSankeyDiagramFieldWellsArgsDict', 'AnalysisSankeyDiagramSortConfigurationArgs', + 'AnalysisSankeyDiagramSortConfigurationArgsDict', 'AnalysisSankeyDiagramVisualArgs', + 'AnalysisSankeyDiagramVisualArgsDict', 'AnalysisScatterPlotCategoricallyAggregatedFieldWellsArgs', + 'AnalysisScatterPlotCategoricallyAggregatedFieldWellsArgsDict', 'AnalysisScatterPlotConfigurationArgs', + 'AnalysisScatterPlotConfigurationArgsDict', 'AnalysisScatterPlotFieldWellsArgs', + 'AnalysisScatterPlotFieldWellsArgsDict', 'AnalysisScatterPlotUnaggregatedFieldWellsArgs', + 'AnalysisScatterPlotUnaggregatedFieldWellsArgsDict', 'AnalysisScatterPlotVisualArgs', + 'AnalysisScatterPlotVisualArgsDict', 'AnalysisScrollBarOptionsArgs', + 'AnalysisScrollBarOptionsArgsDict', 'AnalysisSecondaryValueOptionsArgs', + 'AnalysisSecondaryValueOptionsArgsDict', 'AnalysisSectionAfterPageBreakArgs', + 'AnalysisSectionAfterPageBreakArgsDict', 'AnalysisSectionBasedLayoutCanvasSizeOptionsArgs', + 'AnalysisSectionBasedLayoutCanvasSizeOptionsArgsDict', 'AnalysisSectionBasedLayoutConfigurationArgs', + 'AnalysisSectionBasedLayoutConfigurationArgsDict', 'AnalysisSectionBasedLayoutPaperCanvasSizeOptionsArgs', + 'AnalysisSectionBasedLayoutPaperCanvasSizeOptionsArgsDict', 'AnalysisSectionLayoutConfigurationArgs', + 'AnalysisSectionLayoutConfigurationArgsDict', 'AnalysisSectionPageBreakConfigurationArgs', + 'AnalysisSectionPageBreakConfigurationArgsDict', 'AnalysisSectionStyleArgs', + 'AnalysisSectionStyleArgsDict', 'AnalysisSelectedSheetsFilterScopeConfigurationArgs', + 'AnalysisSelectedSheetsFilterScopeConfigurationArgsDict', 'AnalysisSeriesItemArgs', + 'AnalysisSeriesItemArgsDict', 'AnalysisSetParameterValueConfigurationArgs', + 'AnalysisSetParameterValueConfigurationArgsDict', 'AnalysisShapeConditionalFormatArgs', + 'AnalysisShapeConditionalFormatArgsDict', 'AnalysisSheetControlInfoIconLabelOptionsArgs', + 'AnalysisSheetControlInfoIconLabelOptionsArgsDict', 'AnalysisSheetControlLayoutConfigurationArgs', + 'AnalysisSheetControlLayoutConfigurationArgsDict', 'AnalysisSheetControlLayoutArgs', + 'AnalysisSheetControlLayoutArgsDict', 'AnalysisSheetDefinitionArgs', + 'AnalysisSheetDefinitionArgsDict', 'AnalysisSheetElementConfigurationOverridesArgs', + 'AnalysisSheetElementConfigurationOverridesArgsDict', 'AnalysisSheetElementRenderingRuleArgs', + 'AnalysisSheetElementRenderingRuleArgsDict', 'AnalysisSheetTextBoxArgs', + 'AnalysisSheetTextBoxArgsDict', 'AnalysisSheetVisualScopingConfigurationArgs', + 'AnalysisSheetVisualScopingConfigurationArgsDict', 'AnalysisSheetArgs', + 'AnalysisSheetArgsDict', 'AnalysisShortFormatTextArgs', + 'AnalysisShortFormatTextArgsDict', 'AnalysisSimpleClusterMarkerArgs', + 'AnalysisSimpleClusterMarkerArgsDict', 'AnalysisSingleAxisOptionsArgs', + 'AnalysisSingleAxisOptionsArgsDict', 'AnalysisSliderControlDisplayOptionsArgs', + 'AnalysisSliderControlDisplayOptionsArgsDict', 'AnalysisSmallMultiplesAxisPropertiesArgs', + 'AnalysisSmallMultiplesAxisPropertiesArgsDict', 'AnalysisSmallMultiplesOptionsArgs', + 'AnalysisSmallMultiplesOptionsArgsDict', 'AnalysisSourceEntityArgs', + 'AnalysisSourceEntityArgsDict', 'AnalysisSourceTemplateArgs', + 'AnalysisSourceTemplateArgsDict', 'AnalysisSpacingArgs', + 'AnalysisSpacingArgsDict', 'AnalysisStringDefaultValuesArgs', + 'AnalysisStringDefaultValuesArgsDict', 'AnalysisStringFormatConfigurationArgs', + 'AnalysisStringFormatConfigurationArgsDict', 'AnalysisStringParameterDeclarationArgs', + 'AnalysisStringParameterDeclarationArgsDict', 'AnalysisStringParameterArgs', + 'AnalysisStringParameterArgsDict', 'AnalysisStringValueWhenUnsetConfigurationArgs', + 'AnalysisStringValueWhenUnsetConfigurationArgsDict', 'AnalysisSubtotalOptionsArgs', + 'AnalysisSubtotalOptionsArgsDict', 'AnalysisTableAggregatedFieldWellsArgs', + 'AnalysisTableAggregatedFieldWellsArgsDict', 'AnalysisTableBorderOptionsArgs', + 'AnalysisTableBorderOptionsArgsDict', 'AnalysisTableCellConditionalFormattingArgs', + 'AnalysisTableCellConditionalFormattingArgsDict', 'AnalysisTableCellImageSizingConfigurationArgs', + 'AnalysisTableCellImageSizingConfigurationArgsDict', 'AnalysisTableCellStyleArgs', + 'AnalysisTableCellStyleArgsDict', 'AnalysisTableConditionalFormattingOptionArgs', + 'AnalysisTableConditionalFormattingOptionArgsDict', 'AnalysisTableConditionalFormattingArgs', + 'AnalysisTableConditionalFormattingArgsDict', 'AnalysisTableConfigurationArgs', + 'AnalysisTableConfigurationArgsDict', 'AnalysisTableFieldCustomIconContentArgs', + 'AnalysisTableFieldCustomIconContentArgsDict', 'AnalysisTableFieldCustomTextContentArgs', + 'AnalysisTableFieldCustomTextContentArgsDict', 'AnalysisTableFieldImageConfigurationArgs', + 'AnalysisTableFieldImageConfigurationArgsDict', 'AnalysisTableFieldLinkConfigurationArgs', + 'AnalysisTableFieldLinkConfigurationArgsDict', 'AnalysisTableFieldLinkContentConfigurationArgs', + 'AnalysisTableFieldLinkContentConfigurationArgsDict', 'AnalysisTableFieldOptionsArgs', + 'AnalysisTableFieldOptionsArgsDict', 'AnalysisTableFieldOptionArgs', + 'AnalysisTableFieldOptionArgsDict', 'AnalysisTableFieldUrlConfigurationArgs', + 'AnalysisTableFieldUrlConfigurationArgsDict', 'AnalysisTableFieldWellsArgs', + 'AnalysisTableFieldWellsArgsDict', 'AnalysisTableInlineVisualizationArgs', + 'AnalysisTableInlineVisualizationArgsDict', 'AnalysisTableOptionsArgs', + 'AnalysisTableOptionsArgsDict', 'AnalysisTablePaginatedReportOptionsArgs', + 'AnalysisTablePaginatedReportOptionsArgsDict', 'AnalysisTablePinnedFieldOptionsArgs', + 'AnalysisTablePinnedFieldOptionsArgsDict', 'AnalysisTableRowConditionalFormattingArgs', + 'AnalysisTableRowConditionalFormattingArgsDict', 'AnalysisTableSideBorderOptionsArgs', + 'AnalysisTableSideBorderOptionsArgsDict', 'AnalysisTableSortConfigurationArgs', + 'AnalysisTableSortConfigurationArgsDict', 'AnalysisTableStyleTargetArgs', + 'AnalysisTableStyleTargetArgsDict', 'AnalysisTableUnaggregatedFieldWellsArgs', + 'AnalysisTableUnaggregatedFieldWellsArgsDict', 'AnalysisTableVisualArgs', + 'AnalysisTableVisualArgsDict', 'AnalysisTextAreaControlDisplayOptionsArgs', + 'AnalysisTextAreaControlDisplayOptionsArgsDict', 'AnalysisTextConditionalFormatArgs', + 'AnalysisTextConditionalFormatArgsDict', 'AnalysisTextControlPlaceholderOptionsArgs', + 'AnalysisTextControlPlaceholderOptionsArgsDict', 'AnalysisTextFieldControlDisplayOptionsArgs', + 'AnalysisTextFieldControlDisplayOptionsArgsDict', 'AnalysisThousandSeparatorOptionsArgs', + 'AnalysisThousandSeparatorOptionsArgsDict', 'AnalysisTimeBasedForecastPropertiesArgs', + 'AnalysisTimeBasedForecastPropertiesArgsDict', 'AnalysisTimeEqualityFilterArgs', + 'AnalysisTimeEqualityFilterArgsDict', 'AnalysisTimeRangeDrillDownFilterArgs', + 'AnalysisTimeRangeDrillDownFilterArgsDict', 'AnalysisTimeRangeFilterValueArgs', + 'AnalysisTimeRangeFilterValueArgsDict', 'AnalysisTimeRangeFilterArgs', + 'AnalysisTimeRangeFilterArgsDict', 'AnalysisTooltipItemArgs', + 'AnalysisTooltipItemArgsDict', 'AnalysisTooltipOptionsArgs', + 'AnalysisTooltipOptionsArgsDict', 'AnalysisTopBottomFilterArgs', + 'AnalysisTopBottomFilterArgsDict', 'AnalysisTopBottomMoversComputationArgs', + 'AnalysisTopBottomMoversComputationArgsDict', 'AnalysisTopBottomRankedComputationArgs', + 'AnalysisTopBottomRankedComputationArgsDict', 'AnalysisTotalAggregationComputationArgs', + 'AnalysisTotalAggregationComputationArgsDict', 'AnalysisTotalAggregationFunctionArgs', + 'AnalysisTotalAggregationFunctionArgsDict', 'AnalysisTotalAggregationOptionArgs', + 'AnalysisTotalAggregationOptionArgsDict', 'AnalysisTotalOptionsArgs', + 'AnalysisTotalOptionsArgsDict', 'AnalysisTreeMapAggregatedFieldWellsArgs', + 'AnalysisTreeMapAggregatedFieldWellsArgsDict', 'AnalysisTreeMapConfigurationArgs', + 'AnalysisTreeMapConfigurationArgsDict', 'AnalysisTreeMapFieldWellsArgs', + 'AnalysisTreeMapFieldWellsArgsDict', 'AnalysisTreeMapSortConfigurationArgs', + 'AnalysisTreeMapSortConfigurationArgsDict', 'AnalysisTreeMapVisualArgs', + 'AnalysisTreeMapVisualArgsDict', 'AnalysisTrendArrowOptionsArgs', + 'AnalysisTrendArrowOptionsArgsDict', 'AnalysisUnaggregatedFieldArgs', + 'AnalysisUnaggregatedFieldArgsDict', 'AnalysisUniqueValuesComputationArgs', + 'AnalysisUniqueValuesComputationArgsDict', 'AnalysisValidationStrategyArgs', + 'AnalysisValidationStrategyArgsDict', 'AnalysisVisibleRangeOptionsArgs', + 'AnalysisVisibleRangeOptionsArgsDict', 'AnalysisVisualCustomActionOperationArgs', + 'AnalysisVisualCustomActionOperationArgsDict', 'AnalysisVisualCustomActionArgs', + 'AnalysisVisualCustomActionArgsDict', 'AnalysisVisualPaletteArgs', + 'AnalysisVisualPaletteArgsDict', 'AnalysisVisualSubtitleLabelOptionsArgs', + 'AnalysisVisualSubtitleLabelOptionsArgsDict', 'AnalysisVisualTitleLabelOptionsArgs', + 'AnalysisVisualTitleLabelOptionsArgsDict', 'AnalysisVisualArgs', + 'AnalysisVisualArgsDict', 'AnalysisWaterfallChartAggregatedFieldWellsArgs', + 'AnalysisWaterfallChartAggregatedFieldWellsArgsDict', 'AnalysisWaterfallChartColorConfigurationArgs', + 'AnalysisWaterfallChartColorConfigurationArgsDict', 'AnalysisWaterfallChartConfigurationArgs', + 'AnalysisWaterfallChartConfigurationArgsDict', 'AnalysisWaterfallChartFieldWellsArgs', + 'AnalysisWaterfallChartFieldWellsArgsDict', 'AnalysisWaterfallChartGroupColorConfigurationArgs', + 'AnalysisWaterfallChartGroupColorConfigurationArgsDict', 'AnalysisWaterfallChartOptionsArgs', + 'AnalysisWaterfallChartOptionsArgsDict', 'AnalysisWaterfallChartSortConfigurationArgs', + 'AnalysisWaterfallChartSortConfigurationArgsDict', 'AnalysisWaterfallVisualArgs', + 'AnalysisWaterfallVisualArgsDict', 'AnalysisWhatIfPointScenarioArgs', + 'AnalysisWhatIfPointScenarioArgsDict', 'AnalysisWhatIfRangeScenarioArgs', + 'AnalysisWhatIfRangeScenarioArgsDict', 'AnalysisWordCloudAggregatedFieldWellsArgs', + 'AnalysisWordCloudAggregatedFieldWellsArgsDict', 'AnalysisWordCloudChartConfigurationArgs', + 'AnalysisWordCloudChartConfigurationArgsDict', 'AnalysisWordCloudFieldWellsArgs', + 'AnalysisWordCloudFieldWellsArgsDict', 'AnalysisWordCloudOptionsArgs', + 'AnalysisWordCloudOptionsArgsDict', 'AnalysisWordCloudSortConfigurationArgs', + 'AnalysisWordCloudSortConfigurationArgsDict', 'AnalysisWordCloudVisualArgs', + 'AnalysisWordCloudVisualArgsDict', 'AnalysisYAxisOptionsArgs', + 'AnalysisYAxisOptionsArgsDict', 'DashboardAdHocFilteringOptionArgs', + 'DashboardAdHocFilteringOptionArgsDict', 'DashboardAggregationFunctionArgs', + 'DashboardAggregationFunctionArgsDict', 'DashboardAggregationSortConfigurationArgs', + 'DashboardAggregationSortConfigurationArgsDict', 'DashboardAllSheetsFilterScopeConfigurationArgs', + 'DashboardAllSheetsFilterScopeConfigurationArgsDict', 'DashboardAnalysisDefaultsArgs', + 'DashboardAnalysisDefaultsArgsDict', 'DashboardAnchorDateConfigurationArgs', + 'DashboardAnchorDateConfigurationArgsDict', 'DashboardArcAxisConfigurationArgs', + 'DashboardArcAxisConfigurationArgsDict', 'DashboardArcAxisDisplayRangeArgs', + 'DashboardArcAxisDisplayRangeArgsDict', 'DashboardArcConfigurationArgs', + 'DashboardArcConfigurationArgsDict', 'DashboardArcOptionsArgs', + 'DashboardArcOptionsArgsDict', 'DashboardAssetOptionsArgs', + 'DashboardAssetOptionsArgsDict', 'DashboardAttributeAggregationFunctionArgs', + 'DashboardAttributeAggregationFunctionArgsDict', 'DashboardAxisDataOptionsArgs', + 'DashboardAxisDataOptionsArgsDict', 'DashboardAxisDisplayDataDrivenRangeArgs', + 'DashboardAxisDisplayDataDrivenRangeArgsDict', 'DashboardAxisDisplayMinMaxRangeArgs', + 'DashboardAxisDisplayMinMaxRangeArgsDict', 'DashboardAxisDisplayOptionsArgs', + 'DashboardAxisDisplayOptionsArgsDict', 'DashboardAxisDisplayRangeArgs', + 'DashboardAxisDisplayRangeArgsDict', 'DashboardAxisLabelOptionsArgs', + 'DashboardAxisLabelOptionsArgsDict', 'DashboardAxisLabelReferenceOptionsArgs', + 'DashboardAxisLabelReferenceOptionsArgsDict', 'DashboardAxisLinearScaleArgs', + 'DashboardAxisLinearScaleArgsDict', 'DashboardAxisLogarithmicScaleArgs', + 'DashboardAxisLogarithmicScaleArgsDict', 'DashboardAxisScaleArgs', + 'DashboardAxisScaleArgsDict', 'DashboardAxisTickLabelOptionsArgs', + 'DashboardAxisTickLabelOptionsArgsDict', 'DashboardBarChartAggregatedFieldWellsArgs', + 'DashboardBarChartAggregatedFieldWellsArgsDict', 'DashboardBarChartConfigurationArgs', + 'DashboardBarChartConfigurationArgsDict', 'DashboardBarChartFieldWellsArgs', + 'DashboardBarChartFieldWellsArgsDict', 'DashboardBarChartSortConfigurationArgs', + 'DashboardBarChartSortConfigurationArgsDict', 'DashboardBarChartVisualArgs', + 'DashboardBarChartVisualArgsDict', 'DashboardBinCountOptionsArgs', + 'DashboardBinCountOptionsArgsDict', 'DashboardBinWidthOptionsArgs', + 'DashboardBinWidthOptionsArgsDict', 'DashboardBodySectionConfigurationArgs', + 'DashboardBodySectionConfigurationArgsDict', 'DashboardBodySectionContentArgs', + 'DashboardBodySectionContentArgsDict', 'DashboardBoxPlotAggregatedFieldWellsArgs', + 'DashboardBoxPlotAggregatedFieldWellsArgsDict', 'DashboardBoxPlotChartConfigurationArgs', + 'DashboardBoxPlotChartConfigurationArgsDict', 'DashboardBoxPlotFieldWellsArgs', + 'DashboardBoxPlotFieldWellsArgsDict', 'DashboardBoxPlotOptionsArgs', + 'DashboardBoxPlotOptionsArgsDict', 'DashboardBoxPlotSortConfigurationArgs', + 'DashboardBoxPlotSortConfigurationArgsDict', 'DashboardBoxPlotStyleOptionsArgs', + 'DashboardBoxPlotStyleOptionsArgsDict', 'DashboardBoxPlotVisualArgs', + 'DashboardBoxPlotVisualArgsDict', 'DashboardCalculatedFieldArgs', + 'DashboardCalculatedFieldArgsDict', 'DashboardCalculatedMeasureFieldArgs', + 'DashboardCalculatedMeasureFieldArgsDict', 'DashboardCascadingControlConfigurationArgs', + 'DashboardCascadingControlConfigurationArgsDict', 'DashboardCascadingControlSourceArgs', + 'DashboardCascadingControlSourceArgsDict', 'DashboardCategoricalDimensionFieldArgs', + 'DashboardCategoricalDimensionFieldArgsDict', 'DashboardCategoricalMeasureFieldArgs', + 'DashboardCategoricalMeasureFieldArgsDict', 'DashboardCategoryDrillDownFilterArgs', + 'DashboardCategoryDrillDownFilterArgsDict', 'DashboardCategoryFilterConfigurationArgs', + 'DashboardCategoryFilterConfigurationArgsDict', 'DashboardCategoryFilterArgs', + 'DashboardCategoryFilterArgsDict', 'DashboardCategoryInnerFilterArgs', + 'DashboardCategoryInnerFilterArgsDict', 'DashboardChartAxisLabelOptionsArgs', + 'DashboardChartAxisLabelOptionsArgsDict', 'DashboardClusterMarkerConfigurationArgs', + 'DashboardClusterMarkerConfigurationArgsDict', 'DashboardClusterMarkerArgs', + 'DashboardClusterMarkerArgsDict', 'DashboardColorScaleArgs', + 'DashboardColorScaleArgsDict', 'DashboardColorsConfigurationArgs', + 'DashboardColorsConfigurationArgsDict', 'DashboardColumnConfigurationArgs', + 'DashboardColumnConfigurationArgsDict', 'DashboardColumnHierarchyArgs', + 'DashboardColumnHierarchyArgsDict', 'DashboardColumnIdentifierArgs', + 'DashboardColumnIdentifierArgsDict', 'DashboardColumnSortArgs', + 'DashboardColumnSortArgsDict', 'DashboardColumnTooltipItemArgs', + 'DashboardColumnTooltipItemArgsDict', 'DashboardComboChartAggregatedFieldWellsArgs', + 'DashboardComboChartAggregatedFieldWellsArgsDict', 'DashboardComboChartConfigurationArgs', + 'DashboardComboChartConfigurationArgsDict', 'DashboardComboChartFieldWellsArgs', + 'DashboardComboChartFieldWellsArgsDict', 'DashboardComboChartSortConfigurationArgs', + 'DashboardComboChartSortConfigurationArgsDict', 'DashboardComboChartVisualArgs', + 'DashboardComboChartVisualArgsDict', 'DashboardComparisonConfigurationArgs', + 'DashboardComparisonConfigurationArgsDict', 'DashboardComparisonFormatConfigurationArgs', + 'DashboardComparisonFormatConfigurationArgsDict', 'DashboardComputationArgs', + 'DashboardComputationArgsDict', 'DashboardConditionalFormattingColorArgs', + 'DashboardConditionalFormattingColorArgsDict', 'DashboardConditionalFormattingCustomIconConditionArgs', + 'DashboardConditionalFormattingCustomIconConditionArgsDict', 'DashboardConditionalFormattingCustomIconOptionsArgs', + 'DashboardConditionalFormattingCustomIconOptionsArgsDict', 'DashboardConditionalFormattingGradientColorArgs', + 'DashboardConditionalFormattingGradientColorArgsDict', 'DashboardConditionalFormattingIconDisplayConfigurationArgs', + 'DashboardConditionalFormattingIconDisplayConfigurationArgsDict', 'DashboardConditionalFormattingIconSetArgs', + 'DashboardConditionalFormattingIconSetArgsDict', 'DashboardConditionalFormattingIconArgs', + 'DashboardConditionalFormattingIconArgsDict', 'DashboardConditionalFormattingSolidColorArgs', + 'DashboardConditionalFormattingSolidColorArgsDict', 'DashboardContributionAnalysisDefaultArgs', + 'DashboardContributionAnalysisDefaultArgsDict', 'DashboardCurrencyDisplayFormatConfigurationArgs', + 'DashboardCurrencyDisplayFormatConfigurationArgsDict', 'DashboardCustomActionFilterOperationArgs', + 'DashboardCustomActionFilterOperationArgsDict', 'DashboardCustomActionNavigationOperationArgs', + 'DashboardCustomActionNavigationOperationArgsDict', 'DashboardCustomActionSetParametersOperationArgs', + 'DashboardCustomActionSetParametersOperationArgsDict', 'DashboardCustomActionUrlOperationArgs', + 'DashboardCustomActionUrlOperationArgsDict', 'DashboardCustomColorArgs', + 'DashboardCustomColorArgsDict', 'DashboardCustomContentConfigurationArgs', + 'DashboardCustomContentConfigurationArgsDict', 'DashboardCustomContentVisualArgs', + 'DashboardCustomContentVisualArgsDict', 'DashboardCustomFilterConfigurationArgs', + 'DashboardCustomFilterConfigurationArgsDict', 'DashboardCustomFilterListConfigurationArgs', + 'DashboardCustomFilterListConfigurationArgsDict', 'DashboardCustomNarrativeOptionsArgs', + 'DashboardCustomNarrativeOptionsArgsDict', 'DashboardCustomParameterValuesArgs', + 'DashboardCustomParameterValuesArgsDict', 'DashboardCustomValuesConfigurationArgs', + 'DashboardCustomValuesConfigurationArgsDict', 'DashboardDataBarsOptionsArgs', + 'DashboardDataBarsOptionsArgsDict', 'DashboardDataColorArgs', + 'DashboardDataColorArgsDict', 'DashboardDataFieldSeriesItemArgs', + 'DashboardDataFieldSeriesItemArgsDict', 'DashboardDataLabelOptionsArgs', + 'DashboardDataLabelOptionsArgsDict', 'DashboardDataLabelTypeArgs', + 'DashboardDataLabelTypeArgsDict', 'DashboardDataPathColorArgs', + 'DashboardDataPathColorArgsDict', 'DashboardDataPathLabelTypeArgs', + 'DashboardDataPathLabelTypeArgsDict', 'DashboardDataPathSortArgs', + 'DashboardDataPathSortArgsDict', 'DashboardDataPathTypeArgs', + 'DashboardDataPathTypeArgsDict', 'DashboardDataPathValueArgs', + 'DashboardDataPathValueArgsDict', 'DashboardDataPointDrillUpDownOptionArgs', + 'DashboardDataPointDrillUpDownOptionArgsDict', 'DashboardDataPointMenuLabelOptionArgs', + 'DashboardDataPointMenuLabelOptionArgsDict', 'DashboardDataPointTooltipOptionArgs', + 'DashboardDataPointTooltipOptionArgsDict', 'DashboardDataSetIdentifierDeclarationArgs', + 'DashboardDataSetIdentifierDeclarationArgsDict', 'DashboardDataSetReferenceArgs', + 'DashboardDataSetReferenceArgsDict', 'DashboardDateAxisOptionsArgs', + 'DashboardDateAxisOptionsArgsDict', 'DashboardDateDimensionFieldArgs', + 'DashboardDateDimensionFieldArgsDict', 'DashboardDateMeasureFieldArgs', + 'DashboardDateMeasureFieldArgsDict', 'DashboardDateTimeDefaultValuesArgs', + 'DashboardDateTimeDefaultValuesArgsDict', 'DashboardDateTimeFormatConfigurationArgs', + 'DashboardDateTimeFormatConfigurationArgsDict', 'DashboardDateTimeHierarchyArgs', + 'DashboardDateTimeHierarchyArgsDict', 'DashboardDateTimeParameterDeclarationArgs', + 'DashboardDateTimeParameterDeclarationArgsDict', 'DashboardDateTimeParameterArgs', + 'DashboardDateTimeParameterArgsDict', 'DashboardDateTimePickerControlDisplayOptionsArgs', + 'DashboardDateTimePickerControlDisplayOptionsArgsDict', 'DashboardDateTimeValueWhenUnsetConfigurationArgs', + 'DashboardDateTimeValueWhenUnsetConfigurationArgsDict', 'DashboardDecimalDefaultValuesArgs', + 'DashboardDecimalDefaultValuesArgsDict', 'DashboardDecimalParameterDeclarationArgs', + 'DashboardDecimalParameterDeclarationArgsDict', 'DashboardDecimalParameterArgs', + 'DashboardDecimalParameterArgsDict', 'DashboardDecimalPlacesConfigurationArgs', + 'DashboardDecimalPlacesConfigurationArgsDict', 'DashboardDecimalValueWhenUnsetConfigurationArgs', + 'DashboardDecimalValueWhenUnsetConfigurationArgsDict', 'DashboardDefaultDateTimePickerControlOptionsArgs', + 'DashboardDefaultDateTimePickerControlOptionsArgsDict', 'DashboardDefaultFilterControlConfigurationArgs', + 'DashboardDefaultFilterControlConfigurationArgsDict', 'DashboardDefaultFilterControlOptionsArgs', + 'DashboardDefaultFilterControlOptionsArgsDict', 'DashboardDefaultFilterDropDownControlOptionsArgs', + 'DashboardDefaultFilterDropDownControlOptionsArgsDict', 'DashboardDefaultFilterListControlOptionsArgs', + 'DashboardDefaultFilterListControlOptionsArgsDict', 'DashboardDefaultFreeFormLayoutConfigurationArgs', + 'DashboardDefaultFreeFormLayoutConfigurationArgsDict', 'DashboardDefaultGridLayoutConfigurationArgs', + 'DashboardDefaultGridLayoutConfigurationArgsDict', 'DashboardDefaultInteractiveLayoutConfigurationArgs', + 'DashboardDefaultInteractiveLayoutConfigurationArgsDict', 'DashboardDefaultNewSheetConfigurationArgs', + 'DashboardDefaultNewSheetConfigurationArgsDict', 'DashboardDefaultPaginatedLayoutConfigurationArgs', + 'DashboardDefaultPaginatedLayoutConfigurationArgsDict', 'DashboardDefaultRelativeDateTimeControlOptionsArgs', + 'DashboardDefaultRelativeDateTimeControlOptionsArgsDict', 'DashboardDefaultSectionBasedLayoutConfigurationArgs', + 'DashboardDefaultSectionBasedLayoutConfigurationArgsDict', 'DashboardDefaultSliderControlOptionsArgs', + 'DashboardDefaultSliderControlOptionsArgsDict', 'DashboardDefaultTextAreaControlOptionsArgs', + 'DashboardDefaultTextAreaControlOptionsArgsDict', 'DashboardDefaultTextFieldControlOptionsArgs', + 'DashboardDefaultTextFieldControlOptionsArgsDict', 'DashboardDestinationParameterValueConfigurationArgs', + 'DashboardDestinationParameterValueConfigurationArgsDict', 'DashboardDimensionFieldArgs', + 'DashboardDimensionFieldArgsDict', 'DashboardDonutCenterOptionsArgs', + 'DashboardDonutCenterOptionsArgsDict', 'DashboardDonutOptionsArgs', + 'DashboardDonutOptionsArgsDict', 'DashboardDrillDownFilterArgs', + 'DashboardDrillDownFilterArgsDict', 'DashboardDropDownControlDisplayOptionsArgs', + 'DashboardDropDownControlDisplayOptionsArgsDict', 'DashboardDynamicDefaultValueArgs', + 'DashboardDynamicDefaultValueArgsDict', 'DashboardEmptyVisualArgs', + 'DashboardEmptyVisualArgsDict', 'DashboardExcludePeriodConfigurationArgs', + 'DashboardExcludePeriodConfigurationArgsDict', 'DashboardExplicitHierarchyArgs', + 'DashboardExplicitHierarchyArgsDict', 'DashboardExportHiddenFieldsOptionArgs', + 'DashboardExportHiddenFieldsOptionArgsDict', 'DashboardExportToCsvOptionArgs', + 'DashboardExportToCsvOptionArgsDict', 'DashboardExportWithHiddenFieldsOptionArgs', + 'DashboardExportWithHiddenFieldsOptionArgsDict', 'DashboardFieldBasedTooltipArgs', + 'DashboardFieldBasedTooltipArgsDict', 'DashboardFieldLabelTypeArgs', + 'DashboardFieldLabelTypeArgsDict', 'DashboardFieldSeriesItemArgs', + 'DashboardFieldSeriesItemArgsDict', 'DashboardFieldSortOptionsArgs', + 'DashboardFieldSortOptionsArgsDict', 'DashboardFieldSortArgs', + 'DashboardFieldSortArgsDict', 'DashboardFieldTooltipItemArgs', + 'DashboardFieldTooltipItemArgsDict', 'DashboardFilledMapAggregatedFieldWellsArgs', + 'DashboardFilledMapAggregatedFieldWellsArgsDict', 'DashboardFilledMapConditionalFormattingOptionArgs', + 'DashboardFilledMapConditionalFormattingOptionArgsDict', 'DashboardFilledMapConditionalFormattingArgs', + 'DashboardFilledMapConditionalFormattingArgsDict', 'DashboardFilledMapConfigurationArgs', + 'DashboardFilledMapConfigurationArgsDict', 'DashboardFilledMapFieldWellsArgs', + 'DashboardFilledMapFieldWellsArgsDict', 'DashboardFilledMapShapeConditionalFormattingArgs', + 'DashboardFilledMapShapeConditionalFormattingArgsDict', 'DashboardFilledMapSortConfigurationArgs', + 'DashboardFilledMapSortConfigurationArgsDict', 'DashboardFilledMapVisualArgs', + 'DashboardFilledMapVisualArgsDict', 'DashboardFilterControlArgs', + 'DashboardFilterControlArgsDict', 'DashboardFilterCrossSheetControlArgs', + 'DashboardFilterCrossSheetControlArgsDict', 'DashboardFilterDateTimePickerControlArgs', + 'DashboardFilterDateTimePickerControlArgsDict', 'DashboardFilterDropDownControlArgs', + 'DashboardFilterDropDownControlArgsDict', 'DashboardFilterGroupArgs', + 'DashboardFilterGroupArgsDict', 'DashboardFilterListConfigurationArgs', + 'DashboardFilterListConfigurationArgsDict', 'DashboardFilterListControlArgs', + 'DashboardFilterListControlArgsDict', 'DashboardFilterOperationSelectedFieldsConfigurationArgs', + 'DashboardFilterOperationSelectedFieldsConfigurationArgsDict', 'DashboardFilterOperationTargetVisualsConfigurationArgs', + 'DashboardFilterOperationTargetVisualsConfigurationArgsDict', 'DashboardFilterRelativeDateTimeControlArgs', + 'DashboardFilterRelativeDateTimeControlArgsDict', 'DashboardFilterScopeConfigurationArgs', + 'DashboardFilterScopeConfigurationArgsDict', 'DashboardFilterSelectableValuesArgs', + 'DashboardFilterSelectableValuesArgsDict', 'DashboardFilterSliderControlArgs', + 'DashboardFilterSliderControlArgsDict', 'DashboardFilterTextAreaControlArgs', + 'DashboardFilterTextAreaControlArgsDict', 'DashboardFilterTextFieldControlArgs', + 'DashboardFilterTextFieldControlArgsDict', 'DashboardFilterArgs', + 'DashboardFilterArgsDict', 'DashboardFontConfigurationArgs', + 'DashboardFontConfigurationArgsDict', 'DashboardFontSizeArgs', + 'DashboardFontSizeArgsDict', 'DashboardFontWeightArgs', + 'DashboardFontWeightArgsDict', 'DashboardForecastComputationArgs', + 'DashboardForecastComputationArgsDict', 'DashboardForecastConfigurationArgs', + 'DashboardForecastConfigurationArgsDict', 'DashboardForecastScenarioArgs', + 'DashboardForecastScenarioArgsDict', 'DashboardFormatConfigurationArgs', + 'DashboardFormatConfigurationArgsDict', 'DashboardFreeFormLayoutCanvasSizeOptionsArgs', + 'DashboardFreeFormLayoutCanvasSizeOptionsArgsDict', 'DashboardFreeFormLayoutConfigurationArgs', + 'DashboardFreeFormLayoutConfigurationArgsDict', 'DashboardFreeFormLayoutElementBackgroundStyleArgs', + 'DashboardFreeFormLayoutElementBackgroundStyleArgsDict', 'DashboardFreeFormLayoutElementBorderStyleArgs', + 'DashboardFreeFormLayoutElementBorderStyleArgsDict', 'DashboardFreeFormLayoutElementArgs', + 'DashboardFreeFormLayoutElementArgsDict', 'DashboardFreeFormLayoutScreenCanvasSizeOptionsArgs', + 'DashboardFreeFormLayoutScreenCanvasSizeOptionsArgsDict', 'DashboardFreeFormSectionLayoutConfigurationArgs', + 'DashboardFreeFormSectionLayoutConfigurationArgsDict', 'DashboardFunnelChartAggregatedFieldWellsArgs', + 'DashboardFunnelChartAggregatedFieldWellsArgsDict', 'DashboardFunnelChartConfigurationArgs', + 'DashboardFunnelChartConfigurationArgsDict', 'DashboardFunnelChartDataLabelOptionsArgs', + 'DashboardFunnelChartDataLabelOptionsArgsDict', 'DashboardFunnelChartFieldWellsArgs', + 'DashboardFunnelChartFieldWellsArgsDict', 'DashboardFunnelChartSortConfigurationArgs', + 'DashboardFunnelChartSortConfigurationArgsDict', 'DashboardFunnelChartVisualArgs', + 'DashboardFunnelChartVisualArgsDict', 'DashboardGaugeChartArcConditionalFormattingArgs', + 'DashboardGaugeChartArcConditionalFormattingArgsDict', 'DashboardGaugeChartConditionalFormattingOptionArgs', + 'DashboardGaugeChartConditionalFormattingOptionArgsDict', 'DashboardGaugeChartConditionalFormattingArgs', + 'DashboardGaugeChartConditionalFormattingArgsDict', 'DashboardGaugeChartConfigurationArgs', + 'DashboardGaugeChartConfigurationArgsDict', 'DashboardGaugeChartFieldWellsArgs', + 'DashboardGaugeChartFieldWellsArgsDict', 'DashboardGaugeChartOptionsArgs', + 'DashboardGaugeChartOptionsArgsDict', 'DashboardGaugeChartPrimaryValueConditionalFormattingArgs', + 'DashboardGaugeChartPrimaryValueConditionalFormattingArgsDict', 'DashboardGaugeChartVisualArgs', + 'DashboardGaugeChartVisualArgsDict', 'DashboardGeospatialCoordinateBoundsArgs', + 'DashboardGeospatialCoordinateBoundsArgsDict', 'DashboardGeospatialHeatmapColorScaleArgs', + 'DashboardGeospatialHeatmapColorScaleArgsDict', 'DashboardGeospatialHeatmapConfigurationArgs', + 'DashboardGeospatialHeatmapConfigurationArgsDict', 'DashboardGeospatialHeatmapDataColorArgs', + 'DashboardGeospatialHeatmapDataColorArgsDict', 'DashboardGeospatialMapAggregatedFieldWellsArgs', + 'DashboardGeospatialMapAggregatedFieldWellsArgsDict', 'DashboardGeospatialMapConfigurationArgs', + 'DashboardGeospatialMapConfigurationArgsDict', 'DashboardGeospatialMapFieldWellsArgs', + 'DashboardGeospatialMapFieldWellsArgsDict', 'DashboardGeospatialMapStyleOptionsArgs', + 'DashboardGeospatialMapStyleOptionsArgsDict', 'DashboardGeospatialMapVisualArgs', + 'DashboardGeospatialMapVisualArgsDict', 'DashboardGeospatialPointStyleOptionsArgs', + 'DashboardGeospatialPointStyleOptionsArgsDict', 'DashboardGeospatialWindowOptionsArgs', + 'DashboardGeospatialWindowOptionsArgsDict', 'DashboardGlobalTableBorderOptionsArgs', + 'DashboardGlobalTableBorderOptionsArgsDict', 'DashboardGradientColorArgs', + 'DashboardGradientColorArgsDict', 'DashboardGradientStopArgs', + 'DashboardGradientStopArgsDict', 'DashboardGridLayoutCanvasSizeOptionsArgs', + 'DashboardGridLayoutCanvasSizeOptionsArgsDict', 'DashboardGridLayoutConfigurationArgs', + 'DashboardGridLayoutConfigurationArgsDict', 'DashboardGridLayoutElementArgs', + 'DashboardGridLayoutElementArgsDict', 'DashboardGridLayoutScreenCanvasSizeOptionsArgs', + 'DashboardGridLayoutScreenCanvasSizeOptionsArgsDict', 'DashboardGrowthRateComputationArgs', + 'DashboardGrowthRateComputationArgsDict', 'DashboardHeaderFooterSectionConfigurationArgs', + 'DashboardHeaderFooterSectionConfigurationArgsDict', 'DashboardHeatMapAggregatedFieldWellsArgs', + 'DashboardHeatMapAggregatedFieldWellsArgsDict', 'DashboardHeatMapConfigurationArgs', + 'DashboardHeatMapConfigurationArgsDict', 'DashboardHeatMapFieldWellsArgs', + 'DashboardHeatMapFieldWellsArgsDict', 'DashboardHeatMapSortConfigurationArgs', + 'DashboardHeatMapSortConfigurationArgsDict', 'DashboardHeatMapVisualArgs', + 'DashboardHeatMapVisualArgsDict', 'DashboardHistogramAggregatedFieldWellsArgs', + 'DashboardHistogramAggregatedFieldWellsArgsDict', 'DashboardHistogramBinOptionsArgs', + 'DashboardHistogramBinOptionsArgsDict', 'DashboardHistogramConfigurationArgs', + 'DashboardHistogramConfigurationArgsDict', 'DashboardHistogramFieldWellsArgs', + 'DashboardHistogramFieldWellsArgsDict', 'DashboardHistogramVisualArgs', + 'DashboardHistogramVisualArgsDict', 'DashboardInnerFilterArgs', + 'DashboardInnerFilterArgsDict', 'DashboardInsightConfigurationArgs', + 'DashboardInsightConfigurationArgsDict', 'DashboardInsightVisualArgs', + 'DashboardInsightVisualArgsDict', 'DashboardIntegerDefaultValuesArgs', + 'DashboardIntegerDefaultValuesArgsDict', 'DashboardIntegerParameterDeclarationArgs', + 'DashboardIntegerParameterDeclarationArgsDict', 'DashboardIntegerParameterArgs', + 'DashboardIntegerParameterArgsDict', 'DashboardIntegerValueWhenUnsetConfigurationArgs', + 'DashboardIntegerValueWhenUnsetConfigurationArgsDict', 'DashboardItemsLimitConfigurationArgs', + 'DashboardItemsLimitConfigurationArgsDict', 'DashboardKpiActualValueConditionalFormattingArgs', + 'DashboardKpiActualValueConditionalFormattingArgsDict', 'DashboardKpiComparisonValueConditionalFormattingArgs', + 'DashboardKpiComparisonValueConditionalFormattingArgsDict', 'DashboardKpiConditionalFormattingOptionArgs', + 'DashboardKpiConditionalFormattingOptionArgsDict', 'DashboardKpiConditionalFormattingArgs', + 'DashboardKpiConditionalFormattingArgsDict', 'DashboardKpiConfigurationArgs', + 'DashboardKpiConfigurationArgsDict', 'DashboardKpiFieldWellsArgs', + 'DashboardKpiFieldWellsArgsDict', 'DashboardKpiOptionsArgs', + 'DashboardKpiOptionsArgsDict', 'DashboardKpiPrimaryValueConditionalFormattingArgs', + 'DashboardKpiPrimaryValueConditionalFormattingArgsDict', 'DashboardKpiProgressBarConditionalFormattingArgs', + 'DashboardKpiProgressBarConditionalFormattingArgsDict', 'DashboardKpiSortConfigurationArgs', + 'DashboardKpiSortConfigurationArgsDict', 'DashboardKpiSparklineOptionsArgs', + 'DashboardKpiSparklineOptionsArgsDict', 'DashboardKpiVisualLayoutOptionsArgs', + 'DashboardKpiVisualLayoutOptionsArgsDict', 'DashboardKpiVisualStandardLayoutArgs', + 'DashboardKpiVisualStandardLayoutArgsDict', 'DashboardKpiVisualArgs', + 'DashboardKpiVisualArgsDict', 'DashboardLabelOptionsArgs', + 'DashboardLabelOptionsArgsDict', 'DashboardLayoutConfigurationArgs', + 'DashboardLayoutConfigurationArgsDict', 'DashboardLayoutArgs', + 'DashboardLayoutArgsDict', 'DashboardLegendOptionsArgs', + 'DashboardLegendOptionsArgsDict', 'DashboardLineChartAggregatedFieldWellsArgs', + 'DashboardLineChartAggregatedFieldWellsArgsDict', 'DashboardLineChartConfigurationArgs', + 'DashboardLineChartConfigurationArgsDict', 'DashboardLineChartDefaultSeriesSettingsArgs', + 'DashboardLineChartDefaultSeriesSettingsArgsDict', 'DashboardLineChartFieldWellsArgs', + 'DashboardLineChartFieldWellsArgsDict', 'DashboardLineChartLineStyleSettingsArgs', + 'DashboardLineChartLineStyleSettingsArgsDict', 'DashboardLineChartMarkerStyleSettingsArgs', + 'DashboardLineChartMarkerStyleSettingsArgsDict', 'DashboardLineChartSeriesSettingsArgs', + 'DashboardLineChartSeriesSettingsArgsDict', 'DashboardLineChartSortConfigurationArgs', + 'DashboardLineChartSortConfigurationArgsDict', 'DashboardLineChartVisualArgs', + 'DashboardLineChartVisualArgsDict', 'DashboardLineSeriesAxisDisplayOptionsArgs', + 'DashboardLineSeriesAxisDisplayOptionsArgsDict', 'DashboardLinkSharingConfigurationArgs', + 'DashboardLinkSharingConfigurationArgsDict', 'DashboardListControlDisplayOptionsArgs', + 'DashboardListControlDisplayOptionsArgsDict', 'DashboardListControlSearchOptionsArgs', + 'DashboardListControlSearchOptionsArgsDict', 'DashboardListControlSelectAllOptionsArgs', + 'DashboardListControlSelectAllOptionsArgsDict', 'DashboardLoadingAnimationArgs', + 'DashboardLoadingAnimationArgsDict', 'DashboardLocalNavigationConfigurationArgs', + 'DashboardLocalNavigationConfigurationArgsDict', 'DashboardLongFormatTextArgs', + 'DashboardLongFormatTextArgsDict', 'DashboardMappedDataSetParameterArgs', + 'DashboardMappedDataSetParameterArgsDict', 'DashboardMaximumLabelTypeArgs', + 'DashboardMaximumLabelTypeArgsDict', 'DashboardMaximumMinimumComputationArgs', + 'DashboardMaximumMinimumComputationArgsDict', 'DashboardMeasureFieldArgs', + 'DashboardMeasureFieldArgsDict', 'DashboardMetricComparisonComputationArgs', + 'DashboardMetricComparisonComputationArgsDict', 'DashboardMinimumLabelTypeArgs', + 'DashboardMinimumLabelTypeArgsDict', 'DashboardMissingDataConfigurationArgs', + 'DashboardMissingDataConfigurationArgsDict', 'DashboardNegativeValueConfigurationArgs', + 'DashboardNegativeValueConfigurationArgsDict', 'DashboardNestedFilterArgs', + 'DashboardNestedFilterArgsDict', 'DashboardNullValueFormatConfigurationArgs', + 'DashboardNullValueFormatConfigurationArgsDict', 'DashboardNumberDisplayFormatConfigurationArgs', + 'DashboardNumberDisplayFormatConfigurationArgsDict', 'DashboardNumberFormatConfigurationArgs', + 'DashboardNumberFormatConfigurationArgsDict', 'DashboardNumericAxisOptionsArgs', + 'DashboardNumericAxisOptionsArgsDict', 'DashboardNumericEqualityDrillDownFilterArgs', + 'DashboardNumericEqualityDrillDownFilterArgsDict', 'DashboardNumericEqualityFilterArgs', + 'DashboardNumericEqualityFilterArgsDict', 'DashboardNumericFormatConfigurationArgs', + 'DashboardNumericFormatConfigurationArgsDict', 'DashboardNumericRangeFilterValueArgs', + 'DashboardNumericRangeFilterValueArgsDict', 'DashboardNumericRangeFilterArgs', + 'DashboardNumericRangeFilterArgsDict', 'DashboardNumericSeparatorConfigurationArgs', + 'DashboardNumericSeparatorConfigurationArgsDict', 'DashboardNumericalAggregationFunctionArgs', + 'DashboardNumericalAggregationFunctionArgsDict', 'DashboardNumericalDimensionFieldArgs', + 'DashboardNumericalDimensionFieldArgsDict', 'DashboardNumericalMeasureFieldArgs', + 'DashboardNumericalMeasureFieldArgsDict', 'DashboardPaginationConfigurationArgs', + 'DashboardPaginationConfigurationArgsDict', 'DashboardPanelConfigurationArgs', + 'DashboardPanelConfigurationArgsDict', 'DashboardPanelTitleOptionsArgs', + 'DashboardPanelTitleOptionsArgsDict', 'DashboardParameterControlArgs', + 'DashboardParameterControlArgsDict', 'DashboardParameterDateTimePickerControlArgs', + 'DashboardParameterDateTimePickerControlArgsDict', 'DashboardParameterDeclarationArgs', + 'DashboardParameterDeclarationArgsDict', 'DashboardParameterDropDownControlArgs', + 'DashboardParameterDropDownControlArgsDict', 'DashboardParameterListControlArgs', + 'DashboardParameterListControlArgsDict', 'DashboardParameterSelectableValuesArgs', + 'DashboardParameterSelectableValuesArgsDict', 'DashboardParameterSliderControlArgs', + 'DashboardParameterSliderControlArgsDict', 'DashboardParameterTextAreaControlArgs', + 'DashboardParameterTextAreaControlArgsDict', 'DashboardParameterTextFieldControlArgs', + 'DashboardParameterTextFieldControlArgsDict', 'DashboardParametersArgs', + 'DashboardParametersArgsDict', 'DashboardPercentVisibleRangeArgs', + 'DashboardPercentVisibleRangeArgsDict', 'DashboardPercentageDisplayFormatConfigurationArgs', + 'DashboardPercentageDisplayFormatConfigurationArgsDict', 'DashboardPercentileAggregationArgs', + 'DashboardPercentileAggregationArgsDict', 'DashboardPeriodOverPeriodComputationArgs', + 'DashboardPeriodOverPeriodComputationArgsDict', 'DashboardPeriodToDateComputationArgs', + 'DashboardPeriodToDateComputationArgsDict', 'DashboardPieChartAggregatedFieldWellsArgs', + 'DashboardPieChartAggregatedFieldWellsArgsDict', 'DashboardPieChartConfigurationArgs', + 'DashboardPieChartConfigurationArgsDict', 'DashboardPieChartFieldWellsArgs', + 'DashboardPieChartFieldWellsArgsDict', 'DashboardPieChartSortConfigurationArgs', + 'DashboardPieChartSortConfigurationArgsDict', 'DashboardPieChartVisualArgs', + 'DashboardPieChartVisualArgsDict', 'DashboardPivotFieldSortOptionsArgs', + 'DashboardPivotFieldSortOptionsArgsDict', 'DashboardPivotTableAggregatedFieldWellsArgs', + 'DashboardPivotTableAggregatedFieldWellsArgsDict', 'DashboardPivotTableCellConditionalFormattingArgs', + 'DashboardPivotTableCellConditionalFormattingArgsDict', 'DashboardPivotTableConditionalFormattingOptionArgs', + 'DashboardPivotTableConditionalFormattingOptionArgsDict', 'DashboardPivotTableConditionalFormattingScopeArgs', + 'DashboardPivotTableConditionalFormattingScopeArgsDict', 'DashboardPivotTableConditionalFormattingArgs', + 'DashboardPivotTableConditionalFormattingArgsDict', 'DashboardPivotTableConfigurationArgs', + 'DashboardPivotTableConfigurationArgsDict', 'DashboardPivotTableDataPathOptionArgs', + 'DashboardPivotTableDataPathOptionArgsDict', 'DashboardPivotTableFieldCollapseStateOptionArgs', + 'DashboardPivotTableFieldCollapseStateOptionArgsDict', 'DashboardPivotTableFieldCollapseStateTargetArgs', + 'DashboardPivotTableFieldCollapseStateTargetArgsDict', 'DashboardPivotTableFieldOptionsArgs', + 'DashboardPivotTableFieldOptionsArgsDict', 'DashboardPivotTableFieldOptionArgs', + 'DashboardPivotTableFieldOptionArgsDict', 'DashboardPivotTableFieldSubtotalOptionsArgs', + 'DashboardPivotTableFieldSubtotalOptionsArgsDict', 'DashboardPivotTableFieldWellsArgs', + 'DashboardPivotTableFieldWellsArgsDict', 'DashboardPivotTableOptionsArgs', + 'DashboardPivotTableOptionsArgsDict', 'DashboardPivotTablePaginatedReportOptionsArgs', + 'DashboardPivotTablePaginatedReportOptionsArgsDict', 'DashboardPivotTableRowsLabelOptionsArgs', + 'DashboardPivotTableRowsLabelOptionsArgsDict', 'DashboardPivotTableSortByArgs', + 'DashboardPivotTableSortByArgsDict', 'DashboardPivotTableSortConfigurationArgs', + 'DashboardPivotTableSortConfigurationArgsDict', 'DashboardPivotTableTotalOptionsArgs', + 'DashboardPivotTableTotalOptionsArgsDict', 'DashboardPivotTableVisualArgs', + 'DashboardPivotTableVisualArgsDict', 'DashboardPivotTotalOptionsArgs', + 'DashboardPivotTotalOptionsArgsDict', 'DashboardPredefinedHierarchyArgs', + 'DashboardPredefinedHierarchyArgsDict', 'DashboardProgressBarOptionsArgs', + 'DashboardProgressBarOptionsArgsDict', 'DashboardPublishOptionsArgs', + 'DashboardPublishOptionsArgsDict', 'DashboardRadarChartAggregatedFieldWellsArgs', + 'DashboardRadarChartAggregatedFieldWellsArgsDict', 'DashboardRadarChartAreaStyleSettingsArgs', + 'DashboardRadarChartAreaStyleSettingsArgsDict', 'DashboardRadarChartConfigurationArgs', + 'DashboardRadarChartConfigurationArgsDict', 'DashboardRadarChartFieldWellsArgs', + 'DashboardRadarChartFieldWellsArgsDict', 'DashboardRadarChartSeriesSettingsArgs', + 'DashboardRadarChartSeriesSettingsArgsDict', 'DashboardRadarChartSortConfigurationArgs', + 'DashboardRadarChartSortConfigurationArgsDict', 'DashboardRadarChartVisualArgs', + 'DashboardRadarChartVisualArgsDict', 'DashboardRangeEndsLabelTypeArgs', + 'DashboardRangeEndsLabelTypeArgsDict', 'DashboardReferenceLineCustomLabelConfigurationArgs', + 'DashboardReferenceLineCustomLabelConfigurationArgsDict', 'DashboardReferenceLineDataConfigurationArgs', + 'DashboardReferenceLineDataConfigurationArgsDict', 'DashboardReferenceLineDynamicDataConfigurationArgs', + 'DashboardReferenceLineDynamicDataConfigurationArgsDict', 'DashboardReferenceLineLabelConfigurationArgs', + 'DashboardReferenceLineLabelConfigurationArgsDict', 'DashboardReferenceLineStaticDataConfigurationArgs', + 'DashboardReferenceLineStaticDataConfigurationArgsDict', 'DashboardReferenceLineStyleConfigurationArgs', + 'DashboardReferenceLineStyleConfigurationArgsDict', 'DashboardReferenceLineValueLabelConfigurationArgs', + 'DashboardReferenceLineValueLabelConfigurationArgsDict', 'DashboardReferenceLineArgs', + 'DashboardReferenceLineArgsDict', 'DashboardRelativeDateTimeControlDisplayOptionsArgs', + 'DashboardRelativeDateTimeControlDisplayOptionsArgsDict', 'DashboardRelativeDatesFilterArgs', + 'DashboardRelativeDatesFilterArgsDict', 'DashboardResourcePermissionArgs', + 'DashboardResourcePermissionArgsDict', 'DashboardRollingDateConfigurationArgs', + 'DashboardRollingDateConfigurationArgsDict', 'DashboardRowAlternateColorOptionsArgs', + 'DashboardRowAlternateColorOptionsArgsDict', 'DashboardSameSheetTargetVisualConfigurationArgs', + 'DashboardSameSheetTargetVisualConfigurationArgsDict', 'DashboardSankeyDiagramAggregatedFieldWellsArgs', + 'DashboardSankeyDiagramAggregatedFieldWellsArgsDict', 'DashboardSankeyDiagramChartConfigurationArgs', + 'DashboardSankeyDiagramChartConfigurationArgsDict', 'DashboardSankeyDiagramFieldWellsArgs', + 'DashboardSankeyDiagramFieldWellsArgsDict', 'DashboardSankeyDiagramSortConfigurationArgs', + 'DashboardSankeyDiagramSortConfigurationArgsDict', 'DashboardSankeyDiagramVisualArgs', + 'DashboardSankeyDiagramVisualArgsDict', 'DashboardScatterPlotCategoricallyAggregatedFieldWellsArgs', + 'DashboardScatterPlotCategoricallyAggregatedFieldWellsArgsDict', 'DashboardScatterPlotConfigurationArgs', + 'DashboardScatterPlotConfigurationArgsDict', 'DashboardScatterPlotFieldWellsArgs', + 'DashboardScatterPlotFieldWellsArgsDict', 'DashboardScatterPlotUnaggregatedFieldWellsArgs', + 'DashboardScatterPlotUnaggregatedFieldWellsArgsDict', 'DashboardScatterPlotVisualArgs', + 'DashboardScatterPlotVisualArgsDict', 'DashboardScrollBarOptionsArgs', + 'DashboardScrollBarOptionsArgsDict', 'DashboardSecondaryValueOptionsArgs', + 'DashboardSecondaryValueOptionsArgsDict', 'DashboardSectionAfterPageBreakArgs', + 'DashboardSectionAfterPageBreakArgsDict', 'DashboardSectionBasedLayoutCanvasSizeOptionsArgs', + 'DashboardSectionBasedLayoutCanvasSizeOptionsArgsDict', 'DashboardSectionBasedLayoutConfigurationArgs', + 'DashboardSectionBasedLayoutConfigurationArgsDict', 'DashboardSectionBasedLayoutPaperCanvasSizeOptionsArgs', + 'DashboardSectionBasedLayoutPaperCanvasSizeOptionsArgsDict', 'DashboardSectionLayoutConfigurationArgs', + 'DashboardSectionLayoutConfigurationArgsDict', 'DashboardSectionPageBreakConfigurationArgs', + 'DashboardSectionPageBreakConfigurationArgsDict', 'DashboardSectionStyleArgs', + 'DashboardSectionStyleArgsDict', 'DashboardSelectedSheetsFilterScopeConfigurationArgs', + 'DashboardSelectedSheetsFilterScopeConfigurationArgsDict', 'DashboardSeriesItemArgs', + 'DashboardSeriesItemArgsDict', 'DashboardSetParameterValueConfigurationArgs', + 'DashboardSetParameterValueConfigurationArgsDict', 'DashboardShapeConditionalFormatArgs', + 'DashboardShapeConditionalFormatArgsDict', 'DashboardSheetControlInfoIconLabelOptionsArgs', + 'DashboardSheetControlInfoIconLabelOptionsArgsDict', 'DashboardSheetControlLayoutConfigurationArgs', + 'DashboardSheetControlLayoutConfigurationArgsDict', 'DashboardSheetControlLayoutArgs', + 'DashboardSheetControlLayoutArgsDict', 'DashboardSheetControlsOptionArgs', + 'DashboardSheetControlsOptionArgsDict', 'DashboardSheetDefinitionArgs', + 'DashboardSheetDefinitionArgsDict', 'DashboardSheetElementConfigurationOverridesArgs', + 'DashboardSheetElementConfigurationOverridesArgsDict', 'DashboardSheetElementRenderingRuleArgs', + 'DashboardSheetElementRenderingRuleArgsDict', 'DashboardSheetLayoutElementMaximizationOptionArgs', + 'DashboardSheetLayoutElementMaximizationOptionArgsDict', 'DashboardSheetTextBoxArgs', + 'DashboardSheetTextBoxArgsDict', 'DashboardSheetVisualScopingConfigurationArgs', + 'DashboardSheetVisualScopingConfigurationArgsDict', 'DashboardShortFormatTextArgs', + 'DashboardShortFormatTextArgsDict', 'DashboardSimpleClusterMarkerArgs', + 'DashboardSimpleClusterMarkerArgsDict', 'DashboardSingleAxisOptionsArgs', + 'DashboardSingleAxisOptionsArgsDict', 'DashboardSliderControlDisplayOptionsArgs', + 'DashboardSliderControlDisplayOptionsArgsDict', 'DashboardSmallMultiplesAxisPropertiesArgs', + 'DashboardSmallMultiplesAxisPropertiesArgsDict', 'DashboardSmallMultiplesOptionsArgs', + 'DashboardSmallMultiplesOptionsArgsDict', 'DashboardSourceEntityArgs', + 'DashboardSourceEntityArgsDict', 'DashboardSourceTemplateArgs', + 'DashboardSourceTemplateArgsDict', 'DashboardSpacingArgs', + 'DashboardSpacingArgsDict', 'DashboardStringDefaultValuesArgs', + 'DashboardStringDefaultValuesArgsDict', 'DashboardStringFormatConfigurationArgs', + 'DashboardStringFormatConfigurationArgsDict', 'DashboardStringParameterDeclarationArgs', + 'DashboardStringParameterDeclarationArgsDict', 'DashboardStringParameterArgs', + 'DashboardStringParameterArgsDict', 'DashboardStringValueWhenUnsetConfigurationArgs', + 'DashboardStringValueWhenUnsetConfigurationArgsDict', 'DashboardSubtotalOptionsArgs', + 'DashboardSubtotalOptionsArgsDict', 'DashboardTableAggregatedFieldWellsArgs', + 'DashboardTableAggregatedFieldWellsArgsDict', 'DashboardTableBorderOptionsArgs', + 'DashboardTableBorderOptionsArgsDict', 'DashboardTableCellConditionalFormattingArgs', + 'DashboardTableCellConditionalFormattingArgsDict', 'DashboardTableCellImageSizingConfigurationArgs', + 'DashboardTableCellImageSizingConfigurationArgsDict', 'DashboardTableCellStyleArgs', + 'DashboardTableCellStyleArgsDict', 'DashboardTableConditionalFormattingOptionArgs', + 'DashboardTableConditionalFormattingOptionArgsDict', 'DashboardTableConditionalFormattingArgs', + 'DashboardTableConditionalFormattingArgsDict', 'DashboardTableConfigurationArgs', + 'DashboardTableConfigurationArgsDict', 'DashboardTableFieldCustomIconContentArgs', + 'DashboardTableFieldCustomIconContentArgsDict', 'DashboardTableFieldCustomTextContentArgs', + 'DashboardTableFieldCustomTextContentArgsDict', 'DashboardTableFieldImageConfigurationArgs', + 'DashboardTableFieldImageConfigurationArgsDict', 'DashboardTableFieldLinkConfigurationArgs', + 'DashboardTableFieldLinkConfigurationArgsDict', 'DashboardTableFieldLinkContentConfigurationArgs', + 'DashboardTableFieldLinkContentConfigurationArgsDict', 'DashboardTableFieldOptionsArgs', + 'DashboardTableFieldOptionsArgsDict', 'DashboardTableFieldOptionArgs', + 'DashboardTableFieldOptionArgsDict', 'DashboardTableFieldUrlConfigurationArgs', + 'DashboardTableFieldUrlConfigurationArgsDict', 'DashboardTableFieldWellsArgs', + 'DashboardTableFieldWellsArgsDict', 'DashboardTableInlineVisualizationArgs', + 'DashboardTableInlineVisualizationArgsDict', 'DashboardTableOptionsArgs', + 'DashboardTableOptionsArgsDict', 'DashboardTablePaginatedReportOptionsArgs', + 'DashboardTablePaginatedReportOptionsArgsDict', 'DashboardTablePinnedFieldOptionsArgs', + 'DashboardTablePinnedFieldOptionsArgsDict', 'DashboardTableRowConditionalFormattingArgs', + 'DashboardTableRowConditionalFormattingArgsDict', 'DashboardTableSideBorderOptionsArgs', + 'DashboardTableSideBorderOptionsArgsDict', 'DashboardTableSortConfigurationArgs', + 'DashboardTableSortConfigurationArgsDict', 'DashboardTableStyleTargetArgs', + 'DashboardTableStyleTargetArgsDict', 'DashboardTableUnaggregatedFieldWellsArgs', + 'DashboardTableUnaggregatedFieldWellsArgsDict', 'DashboardTableVisualArgs', + 'DashboardTableVisualArgsDict', 'DashboardTextAreaControlDisplayOptionsArgs', + 'DashboardTextAreaControlDisplayOptionsArgsDict', 'DashboardTextConditionalFormatArgs', + 'DashboardTextConditionalFormatArgsDict', 'DashboardTextControlPlaceholderOptionsArgs', + 'DashboardTextControlPlaceholderOptionsArgsDict', 'DashboardTextFieldControlDisplayOptionsArgs', + 'DashboardTextFieldControlDisplayOptionsArgsDict', 'DashboardThousandSeparatorOptionsArgs', + 'DashboardThousandSeparatorOptionsArgsDict', 'DashboardTimeBasedForecastPropertiesArgs', + 'DashboardTimeBasedForecastPropertiesArgsDict', 'DashboardTimeEqualityFilterArgs', + 'DashboardTimeEqualityFilterArgsDict', 'DashboardTimeRangeDrillDownFilterArgs', + 'DashboardTimeRangeDrillDownFilterArgsDict', 'DashboardTimeRangeFilterValueArgs', + 'DashboardTimeRangeFilterValueArgsDict', 'DashboardTimeRangeFilterArgs', + 'DashboardTimeRangeFilterArgsDict', 'DashboardTooltipItemArgs', + 'DashboardTooltipItemArgsDict', 'DashboardTooltipOptionsArgs', + 'DashboardTooltipOptionsArgsDict', 'DashboardTopBottomFilterArgs', + 'DashboardTopBottomFilterArgsDict', 'DashboardTopBottomMoversComputationArgs', + 'DashboardTopBottomMoversComputationArgsDict', 'DashboardTopBottomRankedComputationArgs', + 'DashboardTopBottomRankedComputationArgsDict', 'DashboardTotalAggregationComputationArgs', + 'DashboardTotalAggregationComputationArgsDict', 'DashboardTotalAggregationFunctionArgs', + 'DashboardTotalAggregationFunctionArgsDict', 'DashboardTotalAggregationOptionArgs', + 'DashboardTotalAggregationOptionArgsDict', 'DashboardTotalOptionsArgs', + 'DashboardTotalOptionsArgsDict', 'DashboardTreeMapAggregatedFieldWellsArgs', + 'DashboardTreeMapAggregatedFieldWellsArgsDict', 'DashboardTreeMapConfigurationArgs', + 'DashboardTreeMapConfigurationArgsDict', 'DashboardTreeMapFieldWellsArgs', + 'DashboardTreeMapFieldWellsArgsDict', 'DashboardTreeMapSortConfigurationArgs', + 'DashboardTreeMapSortConfigurationArgsDict', 'DashboardTreeMapVisualArgs', + 'DashboardTreeMapVisualArgsDict', 'DashboardTrendArrowOptionsArgs', + 'DashboardTrendArrowOptionsArgsDict', 'DashboardUnaggregatedFieldArgs', + 'DashboardUnaggregatedFieldArgsDict', 'DashboardUniqueValuesComputationArgs', + 'DashboardUniqueValuesComputationArgsDict', 'DashboardValidationStrategyArgs', + 'DashboardValidationStrategyArgsDict', 'DashboardVersionDefinitionArgs', + 'DashboardVersionDefinitionArgsDict', 'DashboardVisibleRangeOptionsArgs', + 'DashboardVisibleRangeOptionsArgsDict', 'DashboardVisualAxisSortOptionArgs', + 'DashboardVisualAxisSortOptionArgsDict', 'DashboardVisualCustomActionOperationArgs', + 'DashboardVisualCustomActionOperationArgsDict', 'DashboardVisualCustomActionArgs', + 'DashboardVisualCustomActionArgsDict', 'DashboardVisualMenuOptionArgs', + 'DashboardVisualMenuOptionArgsDict', 'DashboardVisualPaletteArgs', + 'DashboardVisualPaletteArgsDict', 'DashboardVisualPublishOptionsArgs', + 'DashboardVisualPublishOptionsArgsDict', 'DashboardVisualSubtitleLabelOptionsArgs', + 'DashboardVisualSubtitleLabelOptionsArgsDict', 'DashboardVisualTitleLabelOptionsArgs', + 'DashboardVisualTitleLabelOptionsArgsDict', 'DashboardVisualArgs', + 'DashboardVisualArgsDict', 'DashboardWaterfallChartAggregatedFieldWellsArgs', + 'DashboardWaterfallChartAggregatedFieldWellsArgsDict', 'DashboardWaterfallChartColorConfigurationArgs', + 'DashboardWaterfallChartColorConfigurationArgsDict', 'DashboardWaterfallChartConfigurationArgs', + 'DashboardWaterfallChartConfigurationArgsDict', 'DashboardWaterfallChartFieldWellsArgs', + 'DashboardWaterfallChartFieldWellsArgsDict', 'DashboardWaterfallChartGroupColorConfigurationArgs', + 'DashboardWaterfallChartGroupColorConfigurationArgsDict', 'DashboardWaterfallChartOptionsArgs', + 'DashboardWaterfallChartOptionsArgsDict', 'DashboardWaterfallChartSortConfigurationArgs', + 'DashboardWaterfallChartSortConfigurationArgsDict', 'DashboardWaterfallVisualArgs', + 'DashboardWaterfallVisualArgsDict', 'DashboardWhatIfPointScenarioArgs', + 'DashboardWhatIfPointScenarioArgsDict', 'DashboardWhatIfRangeScenarioArgs', + 'DashboardWhatIfRangeScenarioArgsDict', 'DashboardWordCloudAggregatedFieldWellsArgs', + 'DashboardWordCloudAggregatedFieldWellsArgsDict', 'DashboardWordCloudChartConfigurationArgs', + 'DashboardWordCloudChartConfigurationArgsDict', 'DashboardWordCloudFieldWellsArgs', + 'DashboardWordCloudFieldWellsArgsDict', 'DashboardWordCloudOptionsArgs', + 'DashboardWordCloudOptionsArgsDict', 'DashboardWordCloudSortConfigurationArgs', + 'DashboardWordCloudSortConfigurationArgsDict', 'DashboardWordCloudVisualArgs', + 'DashboardWordCloudVisualArgsDict', 'DashboardYAxisOptionsArgs', + 'DashboardYAxisOptionsArgsDict', 'DataSetCalculatedColumnArgs', + 'DataSetCalculatedColumnArgsDict', 'DataSetCastColumnTypeOperationArgs', + 'DataSetCastColumnTypeOperationArgsDict', 'DataSetColumnDescriptionArgs', + 'DataSetColumnDescriptionArgsDict', 'DataSetColumnGroupArgs', + 'DataSetColumnGroupArgsDict', 'DataSetColumnLevelPermissionRuleArgs', + 'DataSetColumnLevelPermissionRuleArgsDict', 'DataSetColumnTagArgs', + 'DataSetColumnTagArgsDict', 'DataSetCreateColumnsOperationArgs', + 'DataSetCreateColumnsOperationArgsDict', 'DataSetCustomSqlArgs', + 'DataSetCustomSqlArgsDict', 'DataSetDatasetParameterArgs', + 'DataSetDatasetParameterArgsDict', 'DataSetDateTimeDatasetParameterDefaultValuesArgs', + 'DataSetDateTimeDatasetParameterDefaultValuesArgsDict', 'DataSetDateTimeDatasetParameterArgs', + 'DataSetDateTimeDatasetParameterArgsDict', 'DataSetDecimalDatasetParameterDefaultValuesArgs', + 'DataSetDecimalDatasetParameterDefaultValuesArgsDict', 'DataSetDecimalDatasetParameterArgs', + 'DataSetDecimalDatasetParameterArgsDict', 'DataSetFieldFolderArgs', + 'DataSetFieldFolderArgsDict', 'DataSetFilterOperationArgs', + 'DataSetFilterOperationArgsDict', 'DataSetGeoSpatialColumnGroupArgs', + 'DataSetGeoSpatialColumnGroupArgsDict', 'DataSetIncrementalRefreshArgs', + 'DataSetIncrementalRefreshArgsDict', 'DataSetIngestionWaitPolicyArgs', + 'DataSetIngestionWaitPolicyArgsDict', 'DataSetInputColumnArgs', + 'DataSetInputColumnArgsDict', 'DataSetIntegerDatasetParameterDefaultValuesArgs', + 'DataSetIntegerDatasetParameterDefaultValuesArgsDict', 'DataSetIntegerDatasetParameterArgs', + 'DataSetIntegerDatasetParameterArgsDict', 'DataSetJoinInstructionArgs', + 'DataSetJoinInstructionArgsDict', 'DataSetJoinKeyPropertiesArgs', + 'DataSetJoinKeyPropertiesArgsDict', 'DataSetLogicalTableSourceArgs', + 'DataSetLogicalTableSourceArgsDict', 'DataSetLogicalTableArgs', + 'DataSetLogicalTableArgsDict', 'DataSetLookbackWindowArgs', + 'DataSetLookbackWindowArgsDict', 'DataSetNewDefaultValuesArgs', + 'DataSetNewDefaultValuesArgsDict', 'DataSetOverrideDatasetParameterOperationArgs', + 'DataSetOverrideDatasetParameterOperationArgsDict', 'DataSetPhysicalTableArgs', + 'DataSetPhysicalTableArgsDict', 'DataSetProjectOperationArgs', + 'DataSetProjectOperationArgsDict', 'DataSetRefreshConfigurationArgs', + 'DataSetRefreshConfigurationArgsDict', 'DataSetRefreshPropertiesArgs', + 'DataSetRefreshPropertiesArgsDict', 'DataSetRelationalTableArgs', + 'DataSetRelationalTableArgsDict', 'DataSetRenameColumnOperationArgs', + 'DataSetRenameColumnOperationArgsDict', 'DataSetResourcePermissionArgs', + 'DataSetResourcePermissionArgsDict', 'DataSetRowLevelPermissionDataSetArgs', + 'DataSetRowLevelPermissionDataSetArgsDict', 'DataSetRowLevelPermissionTagConfigurationArgs', + 'DataSetRowLevelPermissionTagConfigurationArgsDict', 'DataSetRowLevelPermissionTagRuleArgs', + 'DataSetRowLevelPermissionTagRuleArgsDict', 'DataSetS3SourceArgs', + 'DataSetS3SourceArgsDict', 'DataSetStringDatasetParameterDefaultValuesArgs', + 'DataSetStringDatasetParameterDefaultValuesArgsDict', 'DataSetStringDatasetParameterArgs', + 'DataSetStringDatasetParameterArgsDict', 'DataSetTagColumnOperationArgs', + 'DataSetTagColumnOperationArgsDict', 'DataSetTransformOperationArgs', + 'DataSetTransformOperationArgsDict', 'DataSetUntagColumnOperationArgs', + 'DataSetUntagColumnOperationArgsDict', 'DataSetUploadSettingsArgs', + 'DataSetUploadSettingsArgsDict', 'DataSetUsageConfigurationArgs', + 'DataSetUsageConfigurationArgsDict', 'DataSourceAmazonElasticsearchParametersArgs', + 'DataSourceAmazonElasticsearchParametersArgsDict', 'DataSourceAmazonOpenSearchParametersArgs', + 'DataSourceAmazonOpenSearchParametersArgsDict', 'DataSourceAthenaParametersArgs', + 'DataSourceAthenaParametersArgsDict', 'DataSourceAuroraParametersArgs', + 'DataSourceAuroraParametersArgsDict', 'DataSourceAuroraPostgreSqlParametersArgs', + 'DataSourceAuroraPostgreSqlParametersArgsDict', 'DataSourceCredentialPairArgs', + 'DataSourceCredentialPairArgsDict', 'DataSourceCredentialsArgs', + 'DataSourceCredentialsArgsDict', 'DataSourceDatabricksParametersArgs', + 'DataSourceDatabricksParametersArgsDict', 'DataSourceErrorInfoArgs', + 'DataSourceErrorInfoArgsDict', 'DataSourceIdentityCenterConfigurationArgs', + 'DataSourceIdentityCenterConfigurationArgsDict', 'DataSourceManifestFileLocationArgs', + 'DataSourceManifestFileLocationArgsDict', 'DataSourceMariaDbParametersArgs', + 'DataSourceMariaDbParametersArgsDict', 'DataSourceMySqlParametersArgs', + 'DataSourceMySqlParametersArgsDict', 'DataSourceOracleParametersArgs', + 'DataSourceOracleParametersArgsDict', 'DataSourceParametersArgs', + 'DataSourceParametersArgsDict', 'DataSourcePostgreSqlParametersArgs', + 'DataSourcePostgreSqlParametersArgsDict', 'DataSourcePrestoParametersArgs', + 'DataSourcePrestoParametersArgsDict', 'DataSourceRdsParametersArgs', + 'DataSourceRdsParametersArgsDict', 'DataSourceRedshiftIamParametersArgs', + 'DataSourceRedshiftIamParametersArgsDict', 'DataSourceRedshiftParametersArgs', + 'DataSourceRedshiftParametersArgsDict', 'DataSourceResourcePermissionArgs', + 'DataSourceResourcePermissionArgsDict', 'DataSourceS3ParametersArgs', + 'DataSourceS3ParametersArgsDict', 'DataSourceSnowflakeParametersArgs', + 'DataSourceSnowflakeParametersArgsDict', 'DataSourceSparkParametersArgs', + 'DataSourceSparkParametersArgsDict', 'DataSourceSqlServerParametersArgs', + 'DataSourceSqlServerParametersArgsDict', 'DataSourceSslPropertiesArgs', + 'DataSourceSslPropertiesArgsDict', 'DataSourceStarburstParametersArgs', + 'DataSourceStarburstParametersArgsDict', 'DataSourceTeradataParametersArgs', + 'DataSourceTeradataParametersArgsDict', 'DataSourceTrinoParametersArgs', + 'DataSourceTrinoParametersArgsDict', 'DataSourceVpcConnectionPropertiesArgs', + 'DataSourceVpcConnectionPropertiesArgsDict', 'FolderResourcePermissionArgs', + 'FolderResourcePermissionArgsDict', 'RefreshScheduleMapScheduleFrequencyPropertiesRefreshOnDayPropertiesArgs', + 'RefreshScheduleMapScheduleFrequencyPropertiesRefreshOnDayPropertiesArgsDict', 'RefreshScheduleMapScheduleFrequencyPropertiesArgs', + 'RefreshScheduleMapScheduleFrequencyPropertiesArgsDict', 'RefreshScheduleMapArgs', + 'RefreshScheduleMapArgsDict', 'TemplateAggregationFunctionArgs', + 'TemplateAggregationFunctionArgsDict', 'TemplateAggregationSortConfigurationArgs', + 'TemplateAggregationSortConfigurationArgsDict', 'TemplateAllSheetsFilterScopeConfigurationArgs', + 'TemplateAllSheetsFilterScopeConfigurationArgsDict', 'TemplateAnalysisDefaultsArgs', + 'TemplateAnalysisDefaultsArgsDict', 'TemplateAnchorDateConfigurationArgs', + 'TemplateAnchorDateConfigurationArgsDict', 'TemplateArcAxisConfigurationArgs', + 'TemplateArcAxisConfigurationArgsDict', 'TemplateArcAxisDisplayRangeArgs', + 'TemplateArcAxisDisplayRangeArgsDict', 'TemplateArcConfigurationArgs', + 'TemplateArcConfigurationArgsDict', 'TemplateArcOptionsArgs', + 'TemplateArcOptionsArgsDict', 'TemplateAssetOptionsArgs', + 'TemplateAssetOptionsArgsDict', 'TemplateAttributeAggregationFunctionArgs', + 'TemplateAttributeAggregationFunctionArgsDict', 'TemplateAxisDataOptionsArgs', + 'TemplateAxisDataOptionsArgsDict', 'TemplateAxisDisplayDataDrivenRangeArgs', + 'TemplateAxisDisplayDataDrivenRangeArgsDict', 'TemplateAxisDisplayMinMaxRangeArgs', + 'TemplateAxisDisplayMinMaxRangeArgsDict', 'TemplateAxisDisplayOptionsArgs', + 'TemplateAxisDisplayOptionsArgsDict', 'TemplateAxisDisplayRangeArgs', + 'TemplateAxisDisplayRangeArgsDict', 'TemplateAxisLabelOptionsArgs', + 'TemplateAxisLabelOptionsArgsDict', 'TemplateAxisLabelReferenceOptionsArgs', + 'TemplateAxisLabelReferenceOptionsArgsDict', 'TemplateAxisLinearScaleArgs', + 'TemplateAxisLinearScaleArgsDict', 'TemplateAxisLogarithmicScaleArgs', + 'TemplateAxisLogarithmicScaleArgsDict', 'TemplateAxisScaleArgs', + 'TemplateAxisScaleArgsDict', 'TemplateAxisTickLabelOptionsArgs', + 'TemplateAxisTickLabelOptionsArgsDict', 'TemplateBarChartAggregatedFieldWellsArgs', + 'TemplateBarChartAggregatedFieldWellsArgsDict', 'TemplateBarChartConfigurationArgs', + 'TemplateBarChartConfigurationArgsDict', 'TemplateBarChartFieldWellsArgs', + 'TemplateBarChartFieldWellsArgsDict', 'TemplateBarChartSortConfigurationArgs', + 'TemplateBarChartSortConfigurationArgsDict', 'TemplateBarChartVisualArgs', + 'TemplateBarChartVisualArgsDict', 'TemplateBinCountOptionsArgs', + 'TemplateBinCountOptionsArgsDict', 'TemplateBinWidthOptionsArgs', + 'TemplateBinWidthOptionsArgsDict', 'TemplateBodySectionConfigurationArgs', + 'TemplateBodySectionConfigurationArgsDict', 'TemplateBodySectionContentArgs', + 'TemplateBodySectionContentArgsDict', 'TemplateBoxPlotAggregatedFieldWellsArgs', + 'TemplateBoxPlotAggregatedFieldWellsArgsDict', 'TemplateBoxPlotChartConfigurationArgs', + 'TemplateBoxPlotChartConfigurationArgsDict', 'TemplateBoxPlotFieldWellsArgs', + 'TemplateBoxPlotFieldWellsArgsDict', 'TemplateBoxPlotOptionsArgs', + 'TemplateBoxPlotOptionsArgsDict', 'TemplateBoxPlotSortConfigurationArgs', + 'TemplateBoxPlotSortConfigurationArgsDict', 'TemplateBoxPlotStyleOptionsArgs', + 'TemplateBoxPlotStyleOptionsArgsDict', 'TemplateBoxPlotVisualArgs', + 'TemplateBoxPlotVisualArgsDict', 'TemplateCalculatedFieldArgs', + 'TemplateCalculatedFieldArgsDict', 'TemplateCalculatedMeasureFieldArgs', + 'TemplateCalculatedMeasureFieldArgsDict', 'TemplateCascadingControlConfigurationArgs', + 'TemplateCascadingControlConfigurationArgsDict', 'TemplateCascadingControlSourceArgs', + 'TemplateCascadingControlSourceArgsDict', 'TemplateCategoricalDimensionFieldArgs', + 'TemplateCategoricalDimensionFieldArgsDict', 'TemplateCategoricalMeasureFieldArgs', + 'TemplateCategoricalMeasureFieldArgsDict', 'TemplateCategoryDrillDownFilterArgs', + 'TemplateCategoryDrillDownFilterArgsDict', 'TemplateCategoryFilterConfigurationArgs', + 'TemplateCategoryFilterConfigurationArgsDict', 'TemplateCategoryFilterArgs', + 'TemplateCategoryFilterArgsDict', 'TemplateCategoryInnerFilterArgs', + 'TemplateCategoryInnerFilterArgsDict', 'TemplateChartAxisLabelOptionsArgs', + 'TemplateChartAxisLabelOptionsArgsDict', 'TemplateClusterMarkerConfigurationArgs', + 'TemplateClusterMarkerConfigurationArgsDict', 'TemplateClusterMarkerArgs', + 'TemplateClusterMarkerArgsDict', 'TemplateColorScaleArgs', + 'TemplateColorScaleArgsDict', 'TemplateColorsConfigurationArgs', + 'TemplateColorsConfigurationArgsDict', 'TemplateColumnConfigurationArgs', + 'TemplateColumnConfigurationArgsDict', 'TemplateColumnGroupColumnSchemaArgs', + 'TemplateColumnGroupColumnSchemaArgsDict', 'TemplateColumnGroupSchemaArgs', + 'TemplateColumnGroupSchemaArgsDict', 'TemplateColumnHierarchyArgs', + 'TemplateColumnHierarchyArgsDict', 'TemplateColumnIdentifierArgs', + 'TemplateColumnIdentifierArgsDict', 'TemplateColumnSchemaArgs', + 'TemplateColumnSchemaArgsDict', 'TemplateColumnSortArgs', + 'TemplateColumnSortArgsDict', 'TemplateColumnTooltipItemArgs', + 'TemplateColumnTooltipItemArgsDict', 'TemplateComboChartAggregatedFieldWellsArgs', + 'TemplateComboChartAggregatedFieldWellsArgsDict', 'TemplateComboChartConfigurationArgs', + 'TemplateComboChartConfigurationArgsDict', 'TemplateComboChartFieldWellsArgs', + 'TemplateComboChartFieldWellsArgsDict', 'TemplateComboChartSortConfigurationArgs', + 'TemplateComboChartSortConfigurationArgsDict', 'TemplateComboChartVisualArgs', + 'TemplateComboChartVisualArgsDict', 'TemplateComparisonConfigurationArgs', + 'TemplateComparisonConfigurationArgsDict', 'TemplateComparisonFormatConfigurationArgs', + 'TemplateComparisonFormatConfigurationArgsDict', 'TemplateComputationArgs', + 'TemplateComputationArgsDict', 'TemplateConditionalFormattingColorArgs', + 'TemplateConditionalFormattingColorArgsDict', 'TemplateConditionalFormattingCustomIconConditionArgs', + 'TemplateConditionalFormattingCustomIconConditionArgsDict', 'TemplateConditionalFormattingCustomIconOptionsArgs', + 'TemplateConditionalFormattingCustomIconOptionsArgsDict', 'TemplateConditionalFormattingGradientColorArgs', + 'TemplateConditionalFormattingGradientColorArgsDict', 'TemplateConditionalFormattingIconDisplayConfigurationArgs', + 'TemplateConditionalFormattingIconDisplayConfigurationArgsDict', 'TemplateConditionalFormattingIconSetArgs', + 'TemplateConditionalFormattingIconSetArgsDict', 'TemplateConditionalFormattingIconArgs', + 'TemplateConditionalFormattingIconArgsDict', 'TemplateConditionalFormattingSolidColorArgs', + 'TemplateConditionalFormattingSolidColorArgsDict', 'TemplateContributionAnalysisDefaultArgs', + 'TemplateContributionAnalysisDefaultArgsDict', 'TemplateCurrencyDisplayFormatConfigurationArgs', + 'TemplateCurrencyDisplayFormatConfigurationArgsDict', 'TemplateCustomActionFilterOperationArgs', + 'TemplateCustomActionFilterOperationArgsDict', 'TemplateCustomActionNavigationOperationArgs', + 'TemplateCustomActionNavigationOperationArgsDict', 'TemplateCustomActionSetParametersOperationArgs', + 'TemplateCustomActionSetParametersOperationArgsDict', 'TemplateCustomActionUrlOperationArgs', + 'TemplateCustomActionUrlOperationArgsDict', 'TemplateCustomColorArgs', + 'TemplateCustomColorArgsDict', 'TemplateCustomContentConfigurationArgs', + 'TemplateCustomContentConfigurationArgsDict', 'TemplateCustomContentVisualArgs', + 'TemplateCustomContentVisualArgsDict', 'TemplateCustomFilterConfigurationArgs', + 'TemplateCustomFilterConfigurationArgsDict', 'TemplateCustomFilterListConfigurationArgs', + 'TemplateCustomFilterListConfigurationArgsDict', 'TemplateCustomNarrativeOptionsArgs', + 'TemplateCustomNarrativeOptionsArgsDict', 'TemplateCustomParameterValuesArgs', + 'TemplateCustomParameterValuesArgsDict', 'TemplateCustomValuesConfigurationArgs', + 'TemplateCustomValuesConfigurationArgsDict', 'TemplateDataBarsOptionsArgs', + 'TemplateDataBarsOptionsArgsDict', 'TemplateDataColorArgs', + 'TemplateDataColorArgsDict', 'TemplateDataFieldSeriesItemArgs', + 'TemplateDataFieldSeriesItemArgsDict', 'TemplateDataLabelOptionsArgs', + 'TemplateDataLabelOptionsArgsDict', 'TemplateDataLabelTypeArgs', + 'TemplateDataLabelTypeArgsDict', 'TemplateDataPathColorArgs', + 'TemplateDataPathColorArgsDict', 'TemplateDataPathLabelTypeArgs', + 'TemplateDataPathLabelTypeArgsDict', 'TemplateDataPathSortArgs', + 'TemplateDataPathSortArgsDict', 'TemplateDataPathTypeArgs', + 'TemplateDataPathTypeArgsDict', 'TemplateDataPathValueArgs', + 'TemplateDataPathValueArgsDict', 'TemplateDataSetConfigurationArgs', + 'TemplateDataSetConfigurationArgsDict', 'TemplateDataSetReferenceArgs', + 'TemplateDataSetReferenceArgsDict', 'TemplateDataSetSchemaArgs', + 'TemplateDataSetSchemaArgsDict', 'TemplateDateAxisOptionsArgs', + 'TemplateDateAxisOptionsArgsDict', 'TemplateDateDimensionFieldArgs', + 'TemplateDateDimensionFieldArgsDict', 'TemplateDateMeasureFieldArgs', + 'TemplateDateMeasureFieldArgsDict', 'TemplateDateTimeDefaultValuesArgs', + 'TemplateDateTimeDefaultValuesArgsDict', 'TemplateDateTimeFormatConfigurationArgs', + 'TemplateDateTimeFormatConfigurationArgsDict', 'TemplateDateTimeHierarchyArgs', + 'TemplateDateTimeHierarchyArgsDict', 'TemplateDateTimeParameterDeclarationArgs', + 'TemplateDateTimeParameterDeclarationArgsDict', 'TemplateDateTimePickerControlDisplayOptionsArgs', + 'TemplateDateTimePickerControlDisplayOptionsArgsDict', 'TemplateDateTimeValueWhenUnsetConfigurationArgs', + 'TemplateDateTimeValueWhenUnsetConfigurationArgsDict', 'TemplateDecimalDefaultValuesArgs', + 'TemplateDecimalDefaultValuesArgsDict', 'TemplateDecimalParameterDeclarationArgs', + 'TemplateDecimalParameterDeclarationArgsDict', 'TemplateDecimalPlacesConfigurationArgs', + 'TemplateDecimalPlacesConfigurationArgsDict', 'TemplateDecimalValueWhenUnsetConfigurationArgs', + 'TemplateDecimalValueWhenUnsetConfigurationArgsDict', 'TemplateDefaultDateTimePickerControlOptionsArgs', + 'TemplateDefaultDateTimePickerControlOptionsArgsDict', 'TemplateDefaultFilterControlConfigurationArgs', + 'TemplateDefaultFilterControlConfigurationArgsDict', 'TemplateDefaultFilterControlOptionsArgs', + 'TemplateDefaultFilterControlOptionsArgsDict', 'TemplateDefaultFilterDropDownControlOptionsArgs', + 'TemplateDefaultFilterDropDownControlOptionsArgsDict', 'TemplateDefaultFilterListControlOptionsArgs', + 'TemplateDefaultFilterListControlOptionsArgsDict', 'TemplateDefaultFreeFormLayoutConfigurationArgs', + 'TemplateDefaultFreeFormLayoutConfigurationArgsDict', 'TemplateDefaultGridLayoutConfigurationArgs', + 'TemplateDefaultGridLayoutConfigurationArgsDict', 'TemplateDefaultInteractiveLayoutConfigurationArgs', + 'TemplateDefaultInteractiveLayoutConfigurationArgsDict', 'TemplateDefaultNewSheetConfigurationArgs', + 'TemplateDefaultNewSheetConfigurationArgsDict', 'TemplateDefaultPaginatedLayoutConfigurationArgs', + 'TemplateDefaultPaginatedLayoutConfigurationArgsDict', 'TemplateDefaultRelativeDateTimeControlOptionsArgs', + 'TemplateDefaultRelativeDateTimeControlOptionsArgsDict', 'TemplateDefaultSectionBasedLayoutConfigurationArgs', + 'TemplateDefaultSectionBasedLayoutConfigurationArgsDict', 'TemplateDefaultSliderControlOptionsArgs', + 'TemplateDefaultSliderControlOptionsArgsDict', 'TemplateDefaultTextAreaControlOptionsArgs', + 'TemplateDefaultTextAreaControlOptionsArgsDict', 'TemplateDefaultTextFieldControlOptionsArgs', + 'TemplateDefaultTextFieldControlOptionsArgsDict', 'TemplateDestinationParameterValueConfigurationArgs', + 'TemplateDestinationParameterValueConfigurationArgsDict', 'TemplateDimensionFieldArgs', + 'TemplateDimensionFieldArgsDict', 'TemplateDonutCenterOptionsArgs', + 'TemplateDonutCenterOptionsArgsDict', 'TemplateDonutOptionsArgs', + 'TemplateDonutOptionsArgsDict', 'TemplateDrillDownFilterArgs', + 'TemplateDrillDownFilterArgsDict', 'TemplateDropDownControlDisplayOptionsArgs', + 'TemplateDropDownControlDisplayOptionsArgsDict', 'TemplateDynamicDefaultValueArgs', + 'TemplateDynamicDefaultValueArgsDict', 'TemplateEmptyVisualArgs', + 'TemplateEmptyVisualArgsDict', 'TemplateExcludePeriodConfigurationArgs', + 'TemplateExcludePeriodConfigurationArgsDict', 'TemplateExplicitHierarchyArgs', + 'TemplateExplicitHierarchyArgsDict', 'TemplateFieldBasedTooltipArgs', + 'TemplateFieldBasedTooltipArgsDict', 'TemplateFieldLabelTypeArgs', + 'TemplateFieldLabelTypeArgsDict', 'TemplateFieldSeriesItemArgs', + 'TemplateFieldSeriesItemArgsDict', 'TemplateFieldSortOptionsArgs', + 'TemplateFieldSortOptionsArgsDict', 'TemplateFieldSortArgs', + 'TemplateFieldSortArgsDict', 'TemplateFieldTooltipItemArgs', + 'TemplateFieldTooltipItemArgsDict', 'TemplateFilledMapAggregatedFieldWellsArgs', + 'TemplateFilledMapAggregatedFieldWellsArgsDict', 'TemplateFilledMapConditionalFormattingOptionArgs', + 'TemplateFilledMapConditionalFormattingOptionArgsDict', 'TemplateFilledMapConditionalFormattingArgs', + 'TemplateFilledMapConditionalFormattingArgsDict', 'TemplateFilledMapConfigurationArgs', + 'TemplateFilledMapConfigurationArgsDict', 'TemplateFilledMapFieldWellsArgs', + 'TemplateFilledMapFieldWellsArgsDict', 'TemplateFilledMapShapeConditionalFormattingArgs', + 'TemplateFilledMapShapeConditionalFormattingArgsDict', 'TemplateFilledMapSortConfigurationArgs', + 'TemplateFilledMapSortConfigurationArgsDict', 'TemplateFilledMapVisualArgs', + 'TemplateFilledMapVisualArgsDict', 'TemplateFilterControlArgs', + 'TemplateFilterControlArgsDict', 'TemplateFilterCrossSheetControlArgs', + 'TemplateFilterCrossSheetControlArgsDict', 'TemplateFilterDateTimePickerControlArgs', + 'TemplateFilterDateTimePickerControlArgsDict', 'TemplateFilterDropDownControlArgs', + 'TemplateFilterDropDownControlArgsDict', 'TemplateFilterGroupArgs', + 'TemplateFilterGroupArgsDict', 'TemplateFilterListConfigurationArgs', + 'TemplateFilterListConfigurationArgsDict', 'TemplateFilterListControlArgs', + 'TemplateFilterListControlArgsDict', 'TemplateFilterOperationSelectedFieldsConfigurationArgs', + 'TemplateFilterOperationSelectedFieldsConfigurationArgsDict', 'TemplateFilterOperationTargetVisualsConfigurationArgs', + 'TemplateFilterOperationTargetVisualsConfigurationArgsDict', 'TemplateFilterRelativeDateTimeControlArgs', + 'TemplateFilterRelativeDateTimeControlArgsDict', 'TemplateFilterScopeConfigurationArgs', + 'TemplateFilterScopeConfigurationArgsDict', 'TemplateFilterSelectableValuesArgs', + 'TemplateFilterSelectableValuesArgsDict', 'TemplateFilterSliderControlArgs', + 'TemplateFilterSliderControlArgsDict', 'TemplateFilterTextAreaControlArgs', + 'TemplateFilterTextAreaControlArgsDict', 'TemplateFilterTextFieldControlArgs', + 'TemplateFilterTextFieldControlArgsDict', 'TemplateFilterArgs', + 'TemplateFilterArgsDict', 'TemplateFontConfigurationArgs', + 'TemplateFontConfigurationArgsDict', 'TemplateFontSizeArgs', + 'TemplateFontSizeArgsDict', 'TemplateFontWeightArgs', + 'TemplateFontWeightArgsDict', 'TemplateForecastComputationArgs', + 'TemplateForecastComputationArgsDict', 'TemplateForecastConfigurationArgs', + 'TemplateForecastConfigurationArgsDict', 'TemplateForecastScenarioArgs', + 'TemplateForecastScenarioArgsDict', 'TemplateFormatConfigurationArgs', + 'TemplateFormatConfigurationArgsDict', 'TemplateFreeFormLayoutCanvasSizeOptionsArgs', + 'TemplateFreeFormLayoutCanvasSizeOptionsArgsDict', 'TemplateFreeFormLayoutConfigurationArgs', + 'TemplateFreeFormLayoutConfigurationArgsDict', 'TemplateFreeFormLayoutElementBackgroundStyleArgs', + 'TemplateFreeFormLayoutElementBackgroundStyleArgsDict', 'TemplateFreeFormLayoutElementBorderStyleArgs', + 'TemplateFreeFormLayoutElementBorderStyleArgsDict', 'TemplateFreeFormLayoutElementArgs', + 'TemplateFreeFormLayoutElementArgsDict', 'TemplateFreeFormLayoutScreenCanvasSizeOptionsArgs', + 'TemplateFreeFormLayoutScreenCanvasSizeOptionsArgsDict', 'TemplateFreeFormSectionLayoutConfigurationArgs', + 'TemplateFreeFormSectionLayoutConfigurationArgsDict', 'TemplateFunnelChartAggregatedFieldWellsArgs', + 'TemplateFunnelChartAggregatedFieldWellsArgsDict', 'TemplateFunnelChartConfigurationArgs', + 'TemplateFunnelChartConfigurationArgsDict', 'TemplateFunnelChartDataLabelOptionsArgs', + 'TemplateFunnelChartDataLabelOptionsArgsDict', 'TemplateFunnelChartFieldWellsArgs', + 'TemplateFunnelChartFieldWellsArgsDict', 'TemplateFunnelChartSortConfigurationArgs', + 'TemplateFunnelChartSortConfigurationArgsDict', 'TemplateFunnelChartVisualArgs', + 'TemplateFunnelChartVisualArgsDict', 'TemplateGaugeChartArcConditionalFormattingArgs', + 'TemplateGaugeChartArcConditionalFormattingArgsDict', 'TemplateGaugeChartConditionalFormattingOptionArgs', + 'TemplateGaugeChartConditionalFormattingOptionArgsDict', 'TemplateGaugeChartConditionalFormattingArgs', + 'TemplateGaugeChartConditionalFormattingArgsDict', 'TemplateGaugeChartConfigurationArgs', + 'TemplateGaugeChartConfigurationArgsDict', 'TemplateGaugeChartFieldWellsArgs', + 'TemplateGaugeChartFieldWellsArgsDict', 'TemplateGaugeChartOptionsArgs', + 'TemplateGaugeChartOptionsArgsDict', 'TemplateGaugeChartPrimaryValueConditionalFormattingArgs', + 'TemplateGaugeChartPrimaryValueConditionalFormattingArgsDict', 'TemplateGaugeChartVisualArgs', + 'TemplateGaugeChartVisualArgsDict', 'TemplateGeospatialCoordinateBoundsArgs', + 'TemplateGeospatialCoordinateBoundsArgsDict', 'TemplateGeospatialHeatmapColorScaleArgs', + 'TemplateGeospatialHeatmapColorScaleArgsDict', 'TemplateGeospatialHeatmapConfigurationArgs', + 'TemplateGeospatialHeatmapConfigurationArgsDict', 'TemplateGeospatialHeatmapDataColorArgs', + 'TemplateGeospatialHeatmapDataColorArgsDict', 'TemplateGeospatialMapAggregatedFieldWellsArgs', + 'TemplateGeospatialMapAggregatedFieldWellsArgsDict', 'TemplateGeospatialMapConfigurationArgs', + 'TemplateGeospatialMapConfigurationArgsDict', 'TemplateGeospatialMapFieldWellsArgs', + 'TemplateGeospatialMapFieldWellsArgsDict', 'TemplateGeospatialMapStyleOptionsArgs', + 'TemplateGeospatialMapStyleOptionsArgsDict', 'TemplateGeospatialMapVisualArgs', + 'TemplateGeospatialMapVisualArgsDict', 'TemplateGeospatialPointStyleOptionsArgs', + 'TemplateGeospatialPointStyleOptionsArgsDict', 'TemplateGeospatialWindowOptionsArgs', + 'TemplateGeospatialWindowOptionsArgsDict', 'TemplateGlobalTableBorderOptionsArgs', + 'TemplateGlobalTableBorderOptionsArgsDict', 'TemplateGradientColorArgs', + 'TemplateGradientColorArgsDict', 'TemplateGradientStopArgs', + 'TemplateGradientStopArgsDict', 'TemplateGridLayoutCanvasSizeOptionsArgs', + 'TemplateGridLayoutCanvasSizeOptionsArgsDict', 'TemplateGridLayoutConfigurationArgs', + 'TemplateGridLayoutConfigurationArgsDict', 'TemplateGridLayoutElementArgs', + 'TemplateGridLayoutElementArgsDict', 'TemplateGridLayoutScreenCanvasSizeOptionsArgs', + 'TemplateGridLayoutScreenCanvasSizeOptionsArgsDict', 'TemplateGrowthRateComputationArgs', + 'TemplateGrowthRateComputationArgsDict', 'TemplateHeaderFooterSectionConfigurationArgs', + 'TemplateHeaderFooterSectionConfigurationArgsDict', 'TemplateHeatMapAggregatedFieldWellsArgs', + 'TemplateHeatMapAggregatedFieldWellsArgsDict', 'TemplateHeatMapConfigurationArgs', + 'TemplateHeatMapConfigurationArgsDict', 'TemplateHeatMapFieldWellsArgs', + 'TemplateHeatMapFieldWellsArgsDict', 'TemplateHeatMapSortConfigurationArgs', + 'TemplateHeatMapSortConfigurationArgsDict', 'TemplateHeatMapVisualArgs', + 'TemplateHeatMapVisualArgsDict', 'TemplateHistogramAggregatedFieldWellsArgs', + 'TemplateHistogramAggregatedFieldWellsArgsDict', 'TemplateHistogramBinOptionsArgs', + 'TemplateHistogramBinOptionsArgsDict', 'TemplateHistogramConfigurationArgs', + 'TemplateHistogramConfigurationArgsDict', 'TemplateHistogramFieldWellsArgs', + 'TemplateHistogramFieldWellsArgsDict', 'TemplateHistogramVisualArgs', + 'TemplateHistogramVisualArgsDict', 'TemplateInnerFilterArgs', + 'TemplateInnerFilterArgsDict', 'TemplateInsightConfigurationArgs', + 'TemplateInsightConfigurationArgsDict', 'TemplateInsightVisualArgs', + 'TemplateInsightVisualArgsDict', 'TemplateIntegerDefaultValuesArgs', + 'TemplateIntegerDefaultValuesArgsDict', 'TemplateIntegerParameterDeclarationArgs', + 'TemplateIntegerParameterDeclarationArgsDict', 'TemplateIntegerValueWhenUnsetConfigurationArgs', + 'TemplateIntegerValueWhenUnsetConfigurationArgsDict', 'TemplateItemsLimitConfigurationArgs', + 'TemplateItemsLimitConfigurationArgsDict', 'TemplateKpiActualValueConditionalFormattingArgs', + 'TemplateKpiActualValueConditionalFormattingArgsDict', 'TemplateKpiComparisonValueConditionalFormattingArgs', + 'TemplateKpiComparisonValueConditionalFormattingArgsDict', 'TemplateKpiConditionalFormattingOptionArgs', + 'TemplateKpiConditionalFormattingOptionArgsDict', 'TemplateKpiConditionalFormattingArgs', + 'TemplateKpiConditionalFormattingArgsDict', 'TemplateKpiConfigurationArgs', + 'TemplateKpiConfigurationArgsDict', 'TemplateKpiFieldWellsArgs', + 'TemplateKpiFieldWellsArgsDict', 'TemplateKpiOptionsArgs', + 'TemplateKpiOptionsArgsDict', 'TemplateKpiPrimaryValueConditionalFormattingArgs', + 'TemplateKpiPrimaryValueConditionalFormattingArgsDict', 'TemplateKpiProgressBarConditionalFormattingArgs', + 'TemplateKpiProgressBarConditionalFormattingArgsDict', 'TemplateKpiSortConfigurationArgs', + 'TemplateKpiSortConfigurationArgsDict', 'TemplateKpiSparklineOptionsArgs', + 'TemplateKpiSparklineOptionsArgsDict', 'TemplateKpiVisualLayoutOptionsArgs', + 'TemplateKpiVisualLayoutOptionsArgsDict', 'TemplateKpiVisualStandardLayoutArgs', + 'TemplateKpiVisualStandardLayoutArgsDict', 'TemplateKpiVisualArgs', + 'TemplateKpiVisualArgsDict', 'TemplateLabelOptionsArgs', + 'TemplateLabelOptionsArgsDict', 'TemplateLayoutConfigurationArgs', + 'TemplateLayoutConfigurationArgsDict', 'TemplateLayoutArgs', + 'TemplateLayoutArgsDict', 'TemplateLegendOptionsArgs', + 'TemplateLegendOptionsArgsDict', 'TemplateLineChartAggregatedFieldWellsArgs', + 'TemplateLineChartAggregatedFieldWellsArgsDict', 'TemplateLineChartConfigurationArgs', + 'TemplateLineChartConfigurationArgsDict', 'TemplateLineChartDefaultSeriesSettingsArgs', + 'TemplateLineChartDefaultSeriesSettingsArgsDict', 'TemplateLineChartFieldWellsArgs', + 'TemplateLineChartFieldWellsArgsDict', 'TemplateLineChartLineStyleSettingsArgs', + 'TemplateLineChartLineStyleSettingsArgsDict', 'TemplateLineChartMarkerStyleSettingsArgs', + 'TemplateLineChartMarkerStyleSettingsArgsDict', 'TemplateLineChartSeriesSettingsArgs', + 'TemplateLineChartSeriesSettingsArgsDict', 'TemplateLineChartSortConfigurationArgs', + 'TemplateLineChartSortConfigurationArgsDict', 'TemplateLineChartVisualArgs', + 'TemplateLineChartVisualArgsDict', 'TemplateLineSeriesAxisDisplayOptionsArgs', + 'TemplateLineSeriesAxisDisplayOptionsArgsDict', 'TemplateListControlDisplayOptionsArgs', + 'TemplateListControlDisplayOptionsArgsDict', 'TemplateListControlSearchOptionsArgs', + 'TemplateListControlSearchOptionsArgsDict', 'TemplateListControlSelectAllOptionsArgs', + 'TemplateListControlSelectAllOptionsArgsDict', 'TemplateLoadingAnimationArgs', + 'TemplateLoadingAnimationArgsDict', 'TemplateLocalNavigationConfigurationArgs', + 'TemplateLocalNavigationConfigurationArgsDict', 'TemplateLongFormatTextArgs', + 'TemplateLongFormatTextArgsDict', 'TemplateMappedDataSetParameterArgs', + 'TemplateMappedDataSetParameterArgsDict', 'TemplateMaximumLabelTypeArgs', + 'TemplateMaximumLabelTypeArgsDict', 'TemplateMaximumMinimumComputationArgs', + 'TemplateMaximumMinimumComputationArgsDict', 'TemplateMeasureFieldArgs', + 'TemplateMeasureFieldArgsDict', 'TemplateMetricComparisonComputationArgs', + 'TemplateMetricComparisonComputationArgsDict', 'TemplateMinimumLabelTypeArgs', + 'TemplateMinimumLabelTypeArgsDict', 'TemplateMissingDataConfigurationArgs', + 'TemplateMissingDataConfigurationArgsDict', 'TemplateNegativeValueConfigurationArgs', + 'TemplateNegativeValueConfigurationArgsDict', 'TemplateNestedFilterArgs', + 'TemplateNestedFilterArgsDict', 'TemplateNullValueFormatConfigurationArgs', + 'TemplateNullValueFormatConfigurationArgsDict', 'TemplateNumberDisplayFormatConfigurationArgs', + 'TemplateNumberDisplayFormatConfigurationArgsDict', 'TemplateNumberFormatConfigurationArgs', + 'TemplateNumberFormatConfigurationArgsDict', 'TemplateNumericAxisOptionsArgs', + 'TemplateNumericAxisOptionsArgsDict', 'TemplateNumericEqualityDrillDownFilterArgs', + 'TemplateNumericEqualityDrillDownFilterArgsDict', 'TemplateNumericEqualityFilterArgs', + 'TemplateNumericEqualityFilterArgsDict', 'TemplateNumericFormatConfigurationArgs', + 'TemplateNumericFormatConfigurationArgsDict', 'TemplateNumericRangeFilterValueArgs', + 'TemplateNumericRangeFilterValueArgsDict', 'TemplateNumericRangeFilterArgs', + 'TemplateNumericRangeFilterArgsDict', 'TemplateNumericSeparatorConfigurationArgs', + 'TemplateNumericSeparatorConfigurationArgsDict', 'TemplateNumericalAggregationFunctionArgs', + 'TemplateNumericalAggregationFunctionArgsDict', 'TemplateNumericalDimensionFieldArgs', + 'TemplateNumericalDimensionFieldArgsDict', 'TemplateNumericalMeasureFieldArgs', + 'TemplateNumericalMeasureFieldArgsDict', 'TemplatePaginationConfigurationArgs', + 'TemplatePaginationConfigurationArgsDict', 'TemplatePanelConfigurationArgs', + 'TemplatePanelConfigurationArgsDict', 'TemplatePanelTitleOptionsArgs', + 'TemplatePanelTitleOptionsArgsDict', 'TemplateParameterControlArgs', + 'TemplateParameterControlArgsDict', 'TemplateParameterDateTimePickerControlArgs', + 'TemplateParameterDateTimePickerControlArgsDict', 'TemplateParameterDeclarationArgs', + 'TemplateParameterDeclarationArgsDict', 'TemplateParameterDropDownControlArgs', + 'TemplateParameterDropDownControlArgsDict', 'TemplateParameterListControlArgs', + 'TemplateParameterListControlArgsDict', 'TemplateParameterSelectableValuesArgs', + 'TemplateParameterSelectableValuesArgsDict', 'TemplateParameterSliderControlArgs', + 'TemplateParameterSliderControlArgsDict', 'TemplateParameterTextAreaControlArgs', + 'TemplateParameterTextAreaControlArgsDict', 'TemplateParameterTextFieldControlArgs', + 'TemplateParameterTextFieldControlArgsDict', 'TemplatePercentVisibleRangeArgs', + 'TemplatePercentVisibleRangeArgsDict', 'TemplatePercentageDisplayFormatConfigurationArgs', + 'TemplatePercentageDisplayFormatConfigurationArgsDict', 'TemplatePercentileAggregationArgs', + 'TemplatePercentileAggregationArgsDict', 'TemplatePeriodOverPeriodComputationArgs', + 'TemplatePeriodOverPeriodComputationArgsDict', 'TemplatePeriodToDateComputationArgs', + 'TemplatePeriodToDateComputationArgsDict', 'TemplatePieChartAggregatedFieldWellsArgs', + 'TemplatePieChartAggregatedFieldWellsArgsDict', 'TemplatePieChartConfigurationArgs', + 'TemplatePieChartConfigurationArgsDict', 'TemplatePieChartFieldWellsArgs', + 'TemplatePieChartFieldWellsArgsDict', 'TemplatePieChartSortConfigurationArgs', + 'TemplatePieChartSortConfigurationArgsDict', 'TemplatePieChartVisualArgs', + 'TemplatePieChartVisualArgsDict', 'TemplatePivotFieldSortOptionsArgs', + 'TemplatePivotFieldSortOptionsArgsDict', 'TemplatePivotTableAggregatedFieldWellsArgs', + 'TemplatePivotTableAggregatedFieldWellsArgsDict', 'TemplatePivotTableCellConditionalFormattingArgs', + 'TemplatePivotTableCellConditionalFormattingArgsDict', 'TemplatePivotTableConditionalFormattingOptionArgs', + 'TemplatePivotTableConditionalFormattingOptionArgsDict', 'TemplatePivotTableConditionalFormattingScopeArgs', + 'TemplatePivotTableConditionalFormattingScopeArgsDict', 'TemplatePivotTableConditionalFormattingArgs', + 'TemplatePivotTableConditionalFormattingArgsDict', 'TemplatePivotTableConfigurationArgs', + 'TemplatePivotTableConfigurationArgsDict', 'TemplatePivotTableDataPathOptionArgs', + 'TemplatePivotTableDataPathOptionArgsDict', 'TemplatePivotTableFieldCollapseStateOptionArgs', + 'TemplatePivotTableFieldCollapseStateOptionArgsDict', 'TemplatePivotTableFieldCollapseStateTargetArgs', + 'TemplatePivotTableFieldCollapseStateTargetArgsDict', 'TemplatePivotTableFieldOptionsArgs', + 'TemplatePivotTableFieldOptionsArgsDict', 'TemplatePivotTableFieldOptionArgs', + 'TemplatePivotTableFieldOptionArgsDict', 'TemplatePivotTableFieldSubtotalOptionsArgs', + 'TemplatePivotTableFieldSubtotalOptionsArgsDict', 'TemplatePivotTableFieldWellsArgs', + 'TemplatePivotTableFieldWellsArgsDict', 'TemplatePivotTableOptionsArgs', + 'TemplatePivotTableOptionsArgsDict', 'TemplatePivotTablePaginatedReportOptionsArgs', + 'TemplatePivotTablePaginatedReportOptionsArgsDict', 'TemplatePivotTableRowsLabelOptionsArgs', + 'TemplatePivotTableRowsLabelOptionsArgsDict', 'TemplatePivotTableSortByArgs', + 'TemplatePivotTableSortByArgsDict', 'TemplatePivotTableSortConfigurationArgs', + 'TemplatePivotTableSortConfigurationArgsDict', 'TemplatePivotTableTotalOptionsArgs', + 'TemplatePivotTableTotalOptionsArgsDict', 'TemplatePivotTableVisualArgs', + 'TemplatePivotTableVisualArgsDict', 'TemplatePivotTotalOptionsArgs', + 'TemplatePivotTotalOptionsArgsDict', 'TemplatePredefinedHierarchyArgs', + 'TemplatePredefinedHierarchyArgsDict', 'TemplateProgressBarOptionsArgs', + 'TemplateProgressBarOptionsArgsDict', 'TemplateQueryExecutionOptionsArgs', + 'TemplateQueryExecutionOptionsArgsDict', 'TemplateRadarChartAggregatedFieldWellsArgs', + 'TemplateRadarChartAggregatedFieldWellsArgsDict', 'TemplateRadarChartAreaStyleSettingsArgs', + 'TemplateRadarChartAreaStyleSettingsArgsDict', 'TemplateRadarChartConfigurationArgs', + 'TemplateRadarChartConfigurationArgsDict', 'TemplateRadarChartFieldWellsArgs', + 'TemplateRadarChartFieldWellsArgsDict', 'TemplateRadarChartSeriesSettingsArgs', + 'TemplateRadarChartSeriesSettingsArgsDict', 'TemplateRadarChartSortConfigurationArgs', + 'TemplateRadarChartSortConfigurationArgsDict', 'TemplateRadarChartVisualArgs', + 'TemplateRadarChartVisualArgsDict', 'TemplateRangeEndsLabelTypeArgs', + 'TemplateRangeEndsLabelTypeArgsDict', 'TemplateReferenceLineCustomLabelConfigurationArgs', + 'TemplateReferenceLineCustomLabelConfigurationArgsDict', 'TemplateReferenceLineDataConfigurationArgs', + 'TemplateReferenceLineDataConfigurationArgsDict', 'TemplateReferenceLineDynamicDataConfigurationArgs', + 'TemplateReferenceLineDynamicDataConfigurationArgsDict', 'TemplateReferenceLineLabelConfigurationArgs', + 'TemplateReferenceLineLabelConfigurationArgsDict', 'TemplateReferenceLineStaticDataConfigurationArgs', + 'TemplateReferenceLineStaticDataConfigurationArgsDict', 'TemplateReferenceLineStyleConfigurationArgs', + 'TemplateReferenceLineStyleConfigurationArgsDict', 'TemplateReferenceLineValueLabelConfigurationArgs', + 'TemplateReferenceLineValueLabelConfigurationArgsDict', 'TemplateReferenceLineArgs', + 'TemplateReferenceLineArgsDict', 'TemplateRelativeDateTimeControlDisplayOptionsArgs', + 'TemplateRelativeDateTimeControlDisplayOptionsArgsDict', 'TemplateRelativeDatesFilterArgs', + 'TemplateRelativeDatesFilterArgsDict', 'TemplateResourcePermissionArgs', + 'TemplateResourcePermissionArgsDict', 'TemplateRollingDateConfigurationArgs', + 'TemplateRollingDateConfigurationArgsDict', 'TemplateRowAlternateColorOptionsArgs', + 'TemplateRowAlternateColorOptionsArgsDict', 'TemplateSameSheetTargetVisualConfigurationArgs', + 'TemplateSameSheetTargetVisualConfigurationArgsDict', 'TemplateSankeyDiagramAggregatedFieldWellsArgs', + 'TemplateSankeyDiagramAggregatedFieldWellsArgsDict', 'TemplateSankeyDiagramChartConfigurationArgs', + 'TemplateSankeyDiagramChartConfigurationArgsDict', 'TemplateSankeyDiagramFieldWellsArgs', + 'TemplateSankeyDiagramFieldWellsArgsDict', 'TemplateSankeyDiagramSortConfigurationArgs', + 'TemplateSankeyDiagramSortConfigurationArgsDict', 'TemplateSankeyDiagramVisualArgs', + 'TemplateSankeyDiagramVisualArgsDict', 'TemplateScatterPlotCategoricallyAggregatedFieldWellsArgs', + 'TemplateScatterPlotCategoricallyAggregatedFieldWellsArgsDict', 'TemplateScatterPlotConfigurationArgs', + 'TemplateScatterPlotConfigurationArgsDict', 'TemplateScatterPlotFieldWellsArgs', + 'TemplateScatterPlotFieldWellsArgsDict', 'TemplateScatterPlotUnaggregatedFieldWellsArgs', + 'TemplateScatterPlotUnaggregatedFieldWellsArgsDict', 'TemplateScatterPlotVisualArgs', + 'TemplateScatterPlotVisualArgsDict', 'TemplateScrollBarOptionsArgs', + 'TemplateScrollBarOptionsArgsDict', 'TemplateSecondaryValueOptionsArgs', + 'TemplateSecondaryValueOptionsArgsDict', 'TemplateSectionAfterPageBreakArgs', + 'TemplateSectionAfterPageBreakArgsDict', 'TemplateSectionBasedLayoutCanvasSizeOptionsArgs', + 'TemplateSectionBasedLayoutCanvasSizeOptionsArgsDict', 'TemplateSectionBasedLayoutConfigurationArgs', + 'TemplateSectionBasedLayoutConfigurationArgsDict', 'TemplateSectionBasedLayoutPaperCanvasSizeOptionsArgs', + 'TemplateSectionBasedLayoutPaperCanvasSizeOptionsArgsDict', 'TemplateSectionLayoutConfigurationArgs', + 'TemplateSectionLayoutConfigurationArgsDict', 'TemplateSectionPageBreakConfigurationArgs', + 'TemplateSectionPageBreakConfigurationArgsDict', 'TemplateSectionStyleArgs', + 'TemplateSectionStyleArgsDict', 'TemplateSelectedSheetsFilterScopeConfigurationArgs', + 'TemplateSelectedSheetsFilterScopeConfigurationArgsDict', 'TemplateSeriesItemArgs', + 'TemplateSeriesItemArgsDict', 'TemplateSetParameterValueConfigurationArgs', + 'TemplateSetParameterValueConfigurationArgsDict', 'TemplateShapeConditionalFormatArgs', + 'TemplateShapeConditionalFormatArgsDict', 'TemplateSheetControlInfoIconLabelOptionsArgs', + 'TemplateSheetControlInfoIconLabelOptionsArgsDict', 'TemplateSheetControlLayoutConfigurationArgs', + 'TemplateSheetControlLayoutConfigurationArgsDict', 'TemplateSheetControlLayoutArgs', + 'TemplateSheetControlLayoutArgsDict', 'TemplateSheetDefinitionArgs', + 'TemplateSheetDefinitionArgsDict', 'TemplateSheetElementConfigurationOverridesArgs', + 'TemplateSheetElementConfigurationOverridesArgsDict', 'TemplateSheetElementRenderingRuleArgs', + 'TemplateSheetElementRenderingRuleArgsDict', 'TemplateSheetTextBoxArgs', + 'TemplateSheetTextBoxArgsDict', 'TemplateSheetVisualScopingConfigurationArgs', + 'TemplateSheetVisualScopingConfigurationArgsDict', 'TemplateShortFormatTextArgs', + 'TemplateShortFormatTextArgsDict', 'TemplateSimpleClusterMarkerArgs', + 'TemplateSimpleClusterMarkerArgsDict', 'TemplateSingleAxisOptionsArgs', + 'TemplateSingleAxisOptionsArgsDict', 'TemplateSliderControlDisplayOptionsArgs', + 'TemplateSliderControlDisplayOptionsArgsDict', 'TemplateSmallMultiplesAxisPropertiesArgs', + 'TemplateSmallMultiplesAxisPropertiesArgsDict', 'TemplateSmallMultiplesOptionsArgs', + 'TemplateSmallMultiplesOptionsArgsDict', 'TemplateSourceAnalysisArgs', + 'TemplateSourceAnalysisArgsDict', 'TemplateSourceEntityArgs', + 'TemplateSourceEntityArgsDict', 'TemplateSourceTemplateArgs', + 'TemplateSourceTemplateArgsDict', 'TemplateSpacingArgs', + 'TemplateSpacingArgsDict', 'TemplateStringDefaultValuesArgs', + 'TemplateStringDefaultValuesArgsDict', 'TemplateStringFormatConfigurationArgs', + 'TemplateStringFormatConfigurationArgsDict', 'TemplateStringParameterDeclarationArgs', + 'TemplateStringParameterDeclarationArgsDict', 'TemplateStringValueWhenUnsetConfigurationArgs', + 'TemplateStringValueWhenUnsetConfigurationArgsDict', 'TemplateSubtotalOptionsArgs', + 'TemplateSubtotalOptionsArgsDict', 'TemplateTableAggregatedFieldWellsArgs', + 'TemplateTableAggregatedFieldWellsArgsDict', 'TemplateTableBorderOptionsArgs', + 'TemplateTableBorderOptionsArgsDict', 'TemplateTableCellConditionalFormattingArgs', + 'TemplateTableCellConditionalFormattingArgsDict', 'TemplateTableCellImageSizingConfigurationArgs', + 'TemplateTableCellImageSizingConfigurationArgsDict', 'TemplateTableCellStyleArgs', + 'TemplateTableCellStyleArgsDict', 'TemplateTableConditionalFormattingOptionArgs', + 'TemplateTableConditionalFormattingOptionArgsDict', 'TemplateTableConditionalFormattingArgs', + 'TemplateTableConditionalFormattingArgsDict', 'TemplateTableConfigurationArgs', + 'TemplateTableConfigurationArgsDict', 'TemplateTableFieldCustomIconContentArgs', + 'TemplateTableFieldCustomIconContentArgsDict', 'TemplateTableFieldCustomTextContentArgs', + 'TemplateTableFieldCustomTextContentArgsDict', 'TemplateTableFieldImageConfigurationArgs', + 'TemplateTableFieldImageConfigurationArgsDict', 'TemplateTableFieldLinkConfigurationArgs', + 'TemplateTableFieldLinkConfigurationArgsDict', 'TemplateTableFieldLinkContentConfigurationArgs', + 'TemplateTableFieldLinkContentConfigurationArgsDict', 'TemplateTableFieldOptionsArgs', + 'TemplateTableFieldOptionsArgsDict', 'TemplateTableFieldOptionArgs', + 'TemplateTableFieldOptionArgsDict', 'TemplateTableFieldUrlConfigurationArgs', + 'TemplateTableFieldUrlConfigurationArgsDict', 'TemplateTableFieldWellsArgs', + 'TemplateTableFieldWellsArgsDict', 'TemplateTableInlineVisualizationArgs', + 'TemplateTableInlineVisualizationArgsDict', 'TemplateTableOptionsArgs', + 'TemplateTableOptionsArgsDict', 'TemplateTablePaginatedReportOptionsArgs', + 'TemplateTablePaginatedReportOptionsArgsDict', 'TemplateTablePinnedFieldOptionsArgs', + 'TemplateTablePinnedFieldOptionsArgsDict', 'TemplateTableRowConditionalFormattingArgs', + 'TemplateTableRowConditionalFormattingArgsDict', 'TemplateTableSideBorderOptionsArgs', + 'TemplateTableSideBorderOptionsArgsDict', 'TemplateTableSortConfigurationArgs', + 'TemplateTableSortConfigurationArgsDict', 'TemplateTableStyleTargetArgs', + 'TemplateTableStyleTargetArgsDict', 'TemplateTableUnaggregatedFieldWellsArgs', + 'TemplateTableUnaggregatedFieldWellsArgsDict', 'TemplateTableVisualArgs', + 'TemplateTableVisualArgsDict', 'TemplateTextAreaControlDisplayOptionsArgs', + 'TemplateTextAreaControlDisplayOptionsArgsDict', 'TemplateTextConditionalFormatArgs', + 'TemplateTextConditionalFormatArgsDict', 'TemplateTextControlPlaceholderOptionsArgs', + 'TemplateTextControlPlaceholderOptionsArgsDict', 'TemplateTextFieldControlDisplayOptionsArgs', + 'TemplateTextFieldControlDisplayOptionsArgsDict', 'TemplateThousandSeparatorOptionsArgs', + 'TemplateThousandSeparatorOptionsArgsDict', 'TemplateTimeBasedForecastPropertiesArgs', + 'TemplateTimeBasedForecastPropertiesArgsDict', 'TemplateTimeEqualityFilterArgs', + 'TemplateTimeEqualityFilterArgsDict', 'TemplateTimeRangeDrillDownFilterArgs', + 'TemplateTimeRangeDrillDownFilterArgsDict', 'TemplateTimeRangeFilterValueArgs', + 'TemplateTimeRangeFilterValueArgsDict', 'TemplateTimeRangeFilterArgs', + 'TemplateTimeRangeFilterArgsDict', 'TemplateTooltipItemArgs', + 'TemplateTooltipItemArgsDict', 'TemplateTooltipOptionsArgs', + 'TemplateTooltipOptionsArgsDict', 'TemplateTopBottomFilterArgs', + 'TemplateTopBottomFilterArgsDict', 'TemplateTopBottomMoversComputationArgs', + 'TemplateTopBottomMoversComputationArgsDict', 'TemplateTopBottomRankedComputationArgs', + 'TemplateTopBottomRankedComputationArgsDict', 'TemplateTotalAggregationComputationArgs', + 'TemplateTotalAggregationComputationArgsDict', 'TemplateTotalAggregationFunctionArgs', + 'TemplateTotalAggregationFunctionArgsDict', 'TemplateTotalAggregationOptionArgs', + 'TemplateTotalAggregationOptionArgsDict', 'TemplateTotalOptionsArgs', + 'TemplateTotalOptionsArgsDict', 'TemplateTreeMapAggregatedFieldWellsArgs', + 'TemplateTreeMapAggregatedFieldWellsArgsDict', 'TemplateTreeMapConfigurationArgs', + 'TemplateTreeMapConfigurationArgsDict', 'TemplateTreeMapFieldWellsArgs', + 'TemplateTreeMapFieldWellsArgsDict', 'TemplateTreeMapSortConfigurationArgs', + 'TemplateTreeMapSortConfigurationArgsDict', 'TemplateTreeMapVisualArgs', + 'TemplateTreeMapVisualArgsDict', 'TemplateTrendArrowOptionsArgs', + 'TemplateTrendArrowOptionsArgsDict', 'TemplateUnaggregatedFieldArgs', + 'TemplateUnaggregatedFieldArgsDict', 'TemplateUniqueValuesComputationArgs', + 'TemplateUniqueValuesComputationArgsDict', 'TemplateValidationStrategyArgs', + 'TemplateValidationStrategyArgsDict', 'TemplateVersionDefinitionArgs', + 'TemplateVersionDefinitionArgsDict', 'TemplateVisibleRangeOptionsArgs', + 'TemplateVisibleRangeOptionsArgsDict', 'TemplateVisualCustomActionOperationArgs', + 'TemplateVisualCustomActionOperationArgsDict', 'TemplateVisualCustomActionArgs', + 'TemplateVisualCustomActionArgsDict', 'TemplateVisualPaletteArgs', + 'TemplateVisualPaletteArgsDict', 'TemplateVisualSubtitleLabelOptionsArgs', + 'TemplateVisualSubtitleLabelOptionsArgsDict', 'TemplateVisualTitleLabelOptionsArgs', + 'TemplateVisualTitleLabelOptionsArgsDict', 'TemplateVisualArgs', + 'TemplateVisualArgsDict', 'TemplateWaterfallChartAggregatedFieldWellsArgs', + 'TemplateWaterfallChartAggregatedFieldWellsArgsDict', 'TemplateWaterfallChartColorConfigurationArgs', + 'TemplateWaterfallChartColorConfigurationArgsDict', 'TemplateWaterfallChartConfigurationArgs', + 'TemplateWaterfallChartConfigurationArgsDict', 'TemplateWaterfallChartFieldWellsArgs', + 'TemplateWaterfallChartFieldWellsArgsDict', 'TemplateWaterfallChartGroupColorConfigurationArgs', + 'TemplateWaterfallChartGroupColorConfigurationArgsDict', 'TemplateWaterfallChartOptionsArgs', + 'TemplateWaterfallChartOptionsArgsDict', 'TemplateWaterfallChartSortConfigurationArgs', + 'TemplateWaterfallChartSortConfigurationArgsDict', 'TemplateWaterfallVisualArgs', + 'TemplateWaterfallVisualArgsDict', 'TemplateWhatIfPointScenarioArgs', + 'TemplateWhatIfPointScenarioArgsDict', 'TemplateWhatIfRangeScenarioArgs', + 'TemplateWhatIfRangeScenarioArgsDict', 'TemplateWordCloudAggregatedFieldWellsArgs', + 'TemplateWordCloudAggregatedFieldWellsArgsDict', 'TemplateWordCloudChartConfigurationArgs', + 'TemplateWordCloudChartConfigurationArgsDict', 'TemplateWordCloudFieldWellsArgs', + 'TemplateWordCloudFieldWellsArgsDict', 'TemplateWordCloudOptionsArgs', + 'TemplateWordCloudOptionsArgsDict', 'TemplateWordCloudSortConfigurationArgs', + 'TemplateWordCloudSortConfigurationArgsDict', 'TemplateWordCloudVisualArgs', + 'TemplateWordCloudVisualArgsDict', 'TemplateYAxisOptionsArgs', + 'TemplateYAxisOptionsArgsDict', 'ThemeBorderStyleArgs', + 'ThemeBorderStyleArgsDict', 'ThemeConfigurationArgs', + 'ThemeConfigurationArgsDict', 'ThemeDataColorPaletteArgs', + 'ThemeDataColorPaletteArgsDict', 'ThemeFontArgs', + 'ThemeFontArgsDict', 'ThemeGutterStyleArgs', + 'ThemeGutterStyleArgsDict', 'ThemeMarginStyleArgs', + 'ThemeMarginStyleArgsDict', 'ThemeResourcePermissionArgs', + 'ThemeResourcePermissionArgsDict', 'ThemeSheetStyleArgs', + 'ThemeSheetStyleArgsDict', 'ThemeTileLayoutStyleArgs', + 'ThemeTileLayoutStyleArgsDict', 'ThemeTileStyleArgs', + 'ThemeTileStyleArgsDict', 'ThemeTypographyArgs', + 'ThemeTypographyArgsDict', 'ThemeUiColorPaletteArgs', + 'ThemeUiColorPaletteArgsDict', 'TopicCalculatedFieldArgs', + 'TopicCalculatedFieldArgsDict', 'TopicCategoryFilterConstantArgs', + 'TopicCategoryFilterConstantArgsDict', 'TopicCategoryFilterArgs', + 'TopicCategoryFilterArgsDict', 'TopicCellValueSynonymArgs', + 'TopicCellValueSynonymArgsDict', 'TopicCollectiveConstantArgs', + 'TopicCollectiveConstantArgsDict', 'TopicColumnArgs', + 'TopicColumnArgsDict', 'TopicComparativeOrderArgs', + 'TopicComparativeOrderArgsDict', 'TopicDataAggregationArgs', + 'TopicDataAggregationArgsDict', 'TopicDatasetMetadataArgs', + 'TopicDatasetMetadataArgsDict', 'TopicDateRangeFilterArgs', + 'TopicDateRangeFilterArgsDict', 'TopicDefaultFormattingArgs', + 'TopicDefaultFormattingArgsDict', 'TopicDisplayFormatOptionsArgs', + 'TopicDisplayFormatOptionsArgsDict', 'TopicFilterArgs', + 'TopicFilterArgsDict', 'TopicNamedEntityDefinitionMetricArgs', + 'TopicNamedEntityDefinitionMetricArgsDict', 'TopicNamedEntityDefinitionArgs', + 'TopicNamedEntityDefinitionArgsDict', 'TopicNamedEntityArgs', + 'TopicNamedEntityArgsDict', 'TopicNegativeFormatArgs', + 'TopicNegativeFormatArgsDict', 'TopicNumericEqualityFilterArgs', + 'TopicNumericEqualityFilterArgsDict', 'TopicNumericRangeFilterArgs', + 'TopicNumericRangeFilterArgsDict', 'TopicRangeConstantArgs', + 'TopicRangeConstantArgsDict', 'TopicRangeFilterConstantArgs', + 'TopicRangeFilterConstantArgsDict', 'TopicRelativeDateFilterArgs', + 'TopicRelativeDateFilterArgsDict', 'TopicSemanticEntityTypeArgs', + 'TopicSemanticEntityTypeArgsDict', 'TopicSemanticTypeArgs', + 'TopicSemanticTypeArgsDict', 'TopicSingularFilterConstantArgs', + 'TopicSingularFilterConstantArgsDict', ] +MYPY = False + +if not MYPY: + class AnalysisAggregationFunctionArgsDict(TypedDict): + attribute_aggregation_function: NotRequired[pulumi.Input['AnalysisAttributeAggregationFunctionArgsDict']] + """ + Aggregation for attributes. + """ + categorical_aggregation_function: NotRequired[pulumi.Input['AnalysisCategoricalAggregationFunction']] + """ + Aggregation for categorical values. + + - `COUNT` : Aggregate by the total number of values, including duplicates. + - `DISTINCT_COUNT` : Aggregate by the total number of distinct values. + """ + date_aggregation_function: NotRequired[pulumi.Input['AnalysisDateAggregationFunction']] + """ + Aggregation for date values. + + - `COUNT` : Aggregate by the total number of values, including duplicates. + - `DISTINCT_COUNT` : Aggregate by the total number of distinct values. + - `MIN` : Select the smallest date value. + - `MAX` : Select the largest date value. + """ + numerical_aggregation_function: NotRequired[pulumi.Input['AnalysisNumericalAggregationFunctionArgsDict']] + """ + Aggregation for numerical values. + """ +elif False: + AnalysisAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAggregationFunctionArgs: def __init__(__self__, *, @@ -1697,6 +3330,26 @@ def numerical_aggregation_function(self, value: Optional[pulumi.Input['AnalysisN pulumi.set(self, "numerical_aggregation_function", value) +if not MYPY: + class AnalysisAggregationSortConfigurationArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that determines the sort order of aggregated values. + """ + sort_direction: pulumi.Input['AnalysisSortDirection'] + """ + The sort direction of values. + + - `ASC` : Sort in ascending order. + - `DESC` : Sort in descending order. + """ + aggregation_function: NotRequired[pulumi.Input['AnalysisAggregationFunctionArgsDict']] + """ + The function that aggregates the values in `Column` . + """ +elif False: + AnalysisAggregationSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAggregationSortConfigurationArgs: def __init__(__self__, *, @@ -1756,12 +3409,33 @@ def aggregation_function(self, value: Optional[pulumi.Input['AnalysisAggregation pulumi.set(self, "aggregation_function", value) +if not MYPY: + class AnalysisAllSheetsFilterScopeConfigurationArgsDict(TypedDict): + pass +elif False: + AnalysisAllSheetsFilterScopeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAllSheetsFilterScopeConfigurationArgs: def __init__(__self__): pass +if not MYPY: + class AnalysisAnchorDateConfigurationArgsDict(TypedDict): + anchor_option: NotRequired[pulumi.Input['AnalysisAnchorOption']] + """ + The options for the date configuration. Choose one of the options below: + + - `NOW` + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The name of the parameter that is used for the anchor date configuration. + """ +elif False: + AnalysisAnchorDateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAnchorDateConfigurationArgs: def __init__(__self__, *, @@ -1805,6 +3479,19 @@ def parameter_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "parameter_name", value) +if not MYPY: + class AnalysisArcAxisConfigurationArgsDict(TypedDict): + range: NotRequired[pulumi.Input['AnalysisArcAxisDisplayRangeArgsDict']] + """ + The arc axis range of a `GaugeChartVisual` . + """ + reserve_range: NotRequired[pulumi.Input[float]] + """ + The reserved range of the arc axis. + """ +elif False: + AnalysisArcAxisConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisArcAxisConfigurationArgs: def __init__(__self__, *, @@ -1844,6 +3531,19 @@ def reserve_range(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "reserve_range", value) +if not MYPY: + class AnalysisArcAxisDisplayRangeArgsDict(TypedDict): + max: NotRequired[pulumi.Input[float]] + """ + The maximum value of the arc axis range. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum value of the arc axis range. + """ +elif False: + AnalysisArcAxisDisplayRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisArcAxisDisplayRangeArgs: def __init__(__self__, *, @@ -1883,6 +3583,19 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class AnalysisArcConfigurationArgsDict(TypedDict): + arc_angle: NotRequired[pulumi.Input[float]] + """ + The option that determines the arc angle of a `GaugeChartVisual` . + """ + arc_thickness: NotRequired[pulumi.Input['AnalysisArcThicknessOptions']] + """ + The options that determine the arc thickness of a `GaugeChartVisual` . + """ +elif False: + AnalysisArcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisArcConfigurationArgs: def __init__(__self__, *, @@ -1922,6 +3635,15 @@ def arc_thickness(self, value: Optional[pulumi.Input['AnalysisArcThicknessOption pulumi.set(self, "arc_thickness", value) +if not MYPY: + class AnalysisArcOptionsArgsDict(TypedDict): + arc_thickness: NotRequired[pulumi.Input['AnalysisArcThickness']] + """ + The arc thickness of a `GaugeChartVisual` . + """ +elif False: + AnalysisArcOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisArcOptionsArgs: def __init__(__self__, *, @@ -1945,6 +3667,19 @@ def arc_thickness(self, value: Optional[pulumi.Input['AnalysisArcThickness']]): pulumi.set(self, "arc_thickness", value) +if not MYPY: + class AnalysisAssetOptionsArgsDict(TypedDict): + timezone: NotRequired[pulumi.Input[str]] + """ + Determines the timezone for the analysis. + """ + week_start: NotRequired[pulumi.Input['AnalysisDayOfTheWeek']] + """ + Determines the week start day for an analysis. + """ +elif False: + AnalysisAssetOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAssetOptionsArgs: def __init__(__self__, *, @@ -1984,6 +3719,21 @@ def week_start(self, value: Optional[pulumi.Input['AnalysisDayOfTheWeek']]): pulumi.set(self, "week_start", value) +if not MYPY: + class AnalysisAttributeAggregationFunctionArgsDict(TypedDict): + simple_attribute_aggregation: NotRequired[pulumi.Input['AnalysisSimpleAttributeAggregationFunction']] + """ + The built-in aggregation functions for attributes. + + - `UNIQUE_VALUE` : Returns the unique value for a field, aggregated by the dimension fields. + """ + value_for_multiple_values: NotRequired[pulumi.Input[str]] + """ + Used by the `UNIQUE_VALUE` aggregation function. If there are multiple values for the field used by the aggregation, the value for this property will be returned instead. Defaults to '*'. + """ +elif False: + AnalysisAttributeAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAttributeAggregationFunctionArgs: def __init__(__self__, *, @@ -2027,6 +3777,19 @@ def value_for_multiple_values(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value_for_multiple_values", value) +if not MYPY: + class AnalysisAxisDataOptionsArgsDict(TypedDict): + date_axis_options: NotRequired[pulumi.Input['AnalysisDateAxisOptionsArgsDict']] + """ + The options for an axis with a date field. + """ + numeric_axis_options: NotRequired[pulumi.Input['AnalysisNumericAxisOptionsArgsDict']] + """ + The options for an axis with a numeric field. + """ +elif False: + AnalysisAxisDataOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAxisDataOptionsArgs: def __init__(__self__, *, @@ -2066,12 +3829,31 @@ def numeric_axis_options(self, value: Optional[pulumi.Input['AnalysisNumericAxis pulumi.set(self, "numeric_axis_options", value) +if not MYPY: + class AnalysisAxisDisplayDataDrivenRangeArgsDict(TypedDict): + pass +elif False: + AnalysisAxisDisplayDataDrivenRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAxisDisplayDataDrivenRangeArgs: def __init__(__self__): pass +if not MYPY: + class AnalysisAxisDisplayMinMaxRangeArgsDict(TypedDict): + maximum: NotRequired[pulumi.Input[float]] + """ + The maximum setup for an axis display range. + """ + minimum: NotRequired[pulumi.Input[float]] + """ + The minimum setup for an axis display range. + """ +elif False: + AnalysisAxisDisplayMinMaxRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAxisDisplayMinMaxRangeArgs: def __init__(__self__, *, @@ -2111,6 +3893,35 @@ def minimum(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "minimum", value) +if not MYPY: + class AnalysisAxisDisplayOptionsArgsDict(TypedDict): + axis_line_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines whether or not the axis line is visible. + """ + axis_offset: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + data_options: NotRequired[pulumi.Input['AnalysisAxisDataOptionsArgsDict']] + """ + The data options for an axis. + """ + grid_line_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines whether or not the grid line is visible. + """ + scrollbar_options: NotRequired[pulumi.Input['AnalysisScrollBarOptionsArgsDict']] + """ + The scroll bar options for an axis. + """ + tick_label_options: NotRequired[pulumi.Input['AnalysisAxisTickLabelOptionsArgsDict']] + """ + The tick label options of an axis. + """ +elif False: + AnalysisAxisDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAxisDisplayOptionsArgs: def __init__(__self__, *, @@ -2214,6 +4025,19 @@ def tick_label_options(self, value: Optional[pulumi.Input['AnalysisAxisTickLabel pulumi.set(self, "tick_label_options", value) +if not MYPY: + class AnalysisAxisDisplayRangeArgsDict(TypedDict): + data_driven: NotRequired[pulumi.Input['AnalysisAxisDisplayDataDrivenRangeArgsDict']] + """ + The data-driven setup of an axis display range. + """ + min_max: NotRequired[pulumi.Input['AnalysisAxisDisplayMinMaxRangeArgsDict']] + """ + The minimum and maximum setup of an axis display range. + """ +elif False: + AnalysisAxisDisplayRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAxisDisplayRangeArgs: def __init__(__self__, *, @@ -2253,6 +4077,23 @@ def min_max(self, value: Optional[pulumi.Input['AnalysisAxisDisplayMinMaxRangeAr pulumi.set(self, "min_max", value) +if not MYPY: + class AnalysisAxisLabelOptionsArgsDict(TypedDict): + apply_to: NotRequired[pulumi.Input['AnalysisAxisLabelReferenceOptionsArgsDict']] + """ + The options that indicate which field the label belongs to. + """ + custom_label: NotRequired[pulumi.Input[str]] + """ + The text for the axis label. + """ + font_configuration: NotRequired[pulumi.Input['AnalysisFontConfigurationArgsDict']] + """ + The font configuration of the axis label. + """ +elif False: + AnalysisAxisLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAxisLabelOptionsArgs: def __init__(__self__, *, @@ -2308,6 +4149,19 @@ def font_configuration(self, value: Optional[pulumi.Input['AnalysisFontConfigura pulumi.set(self, "font_configuration", value) +if not MYPY: + class AnalysisAxisLabelReferenceOptionsArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the axis label is targeted to. + """ + field_id: pulumi.Input[str] + """ + The field that the axis label is targeted to. + """ +elif False: + AnalysisAxisLabelReferenceOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAxisLabelReferenceOptionsArgs: def __init__(__self__, *, @@ -2345,6 +4199,19 @@ def field_id(self, value: pulumi.Input[str]): pulumi.set(self, "field_id", value) +if not MYPY: + class AnalysisAxisLinearScaleArgsDict(TypedDict): + step_count: NotRequired[pulumi.Input[float]] + """ + The step count setup of a linear axis. + """ + step_size: NotRequired[pulumi.Input[float]] + """ + The step size setup of a linear axis. + """ +elif False: + AnalysisAxisLinearScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAxisLinearScaleArgs: def __init__(__self__, *, @@ -2384,6 +4251,15 @@ def step_size(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "step_size", value) +if not MYPY: + class AnalysisAxisLogarithmicScaleArgsDict(TypedDict): + base: NotRequired[pulumi.Input[float]] + """ + The base setup of a logarithmic axis scale. + """ +elif False: + AnalysisAxisLogarithmicScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAxisLogarithmicScaleArgs: def __init__(__self__, *, @@ -2407,6 +4283,19 @@ def base(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "base", value) +if not MYPY: + class AnalysisAxisScaleArgsDict(TypedDict): + linear: NotRequired[pulumi.Input['AnalysisAxisLinearScaleArgsDict']] + """ + The linear axis scale setup. + """ + logarithmic: NotRequired[pulumi.Input['AnalysisAxisLogarithmicScaleArgsDict']] + """ + The logarithmic axis scale setup. + """ +elif False: + AnalysisAxisScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAxisScaleArgs: def __init__(__self__, *, @@ -2446,6 +4335,19 @@ def logarithmic(self, value: Optional[pulumi.Input['AnalysisAxisLogarithmicScale pulumi.set(self, "logarithmic", value) +if not MYPY: + class AnalysisAxisTickLabelOptionsArgsDict(TypedDict): + label_options: NotRequired[pulumi.Input['AnalysisLabelOptionsArgsDict']] + """ + Determines whether or not the axis ticks are visible. + """ + rotation_angle: NotRequired[pulumi.Input[float]] + """ + The rotation angle of the axis tick labels. + """ +elif False: + AnalysisAxisTickLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisAxisTickLabelOptionsArgs: def __init__(__self__, *, @@ -2485,6 +4387,27 @@ def rotation_angle(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "rotation_angle", value) +if not MYPY: + class AnalysisBarChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The category (y-axis) field well of a bar chart. + """ + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The color (group/color) field well of a bar chart. + """ + small_multiples: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The small multiples field well of a bar chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The value field wells of a bar chart. Values are aggregated by category. + """ +elif False: + AnalysisBarChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBarChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -2556,6 +4479,78 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisBarChartConfigurationArgsDict(TypedDict): + bars_arrangement: NotRequired[pulumi.Input['AnalysisBarsArrangement']] + """ + Determines the arrangement of the bars. The orientation and arrangement of bars determine the type of bar that is used in the visual. + """ + category_axis: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) for bar chart category. + """ + category_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) for a bar chart. + """ + color_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar chart. + """ + contribution_analysis_defaults: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisContributionAnalysisDefaultArgsDict']]]] + """ + The contribution analysis (anomaly configuration) setup of the visual. + """ + data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['AnalysisBarChartFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + orientation: NotRequired[pulumi.Input['AnalysisBarChartOrientation']] + """ + The orientation of the bars in a bar chart visual. There are two valid values in this structure: + + - `HORIZONTAL` : Used for charts that have horizontal bars. Visuals that use this value are horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts. + - `VERTICAL` : Used for charts that have vertical bars. Visuals that use this value are vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisReferenceLineArgsDict']]]] + """ + The reference line setup of the visual. + """ + small_multiples_options: NotRequired[pulumi.Input['AnalysisSmallMultiplesOptionsArgsDict']] + """ + The small multiples setup for the visual. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisBarChartSortConfigurationArgsDict']] + """ + The sort configuration of a `BarChartVisual` . + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + value_axis: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) for a bar chart value. + """ + value_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) for a bar chart value. + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + AnalysisBarChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBarChartConfigurationArgs: def __init__(__self__, *, @@ -2825,6 +4820,15 @@ def visual_palette(self, value: Optional[pulumi.Input['AnalysisVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class AnalysisBarChartFieldWellsArgsDict(TypedDict): + bar_chart_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisBarChartAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a bar chart. + """ +elif False: + AnalysisBarChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBarChartFieldWellsArgs: def __init__(__self__, *, @@ -2848,6 +4852,35 @@ def bar_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Analysi pulumi.set(self, "bar_chart_aggregated_field_wells", value) +if not MYPY: + class AnalysisBarChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories displayed in a bar chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of category fields. + """ + color_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of values displayed in a bar chart. + """ + color_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of color fields in a bar chart. + """ + small_multiples_limit_configuration: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of small multiples panels that are displayed. + """ + small_multiples_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the small multiples field. + """ +elif False: + AnalysisBarChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBarChartSortConfigurationArgs: def __init__(__self__, *, @@ -2951,6 +4984,35 @@ def small_multiples_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "small_multiples_sort", value) +if not MYPY: + class AnalysisBarChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisBarChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisBarChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBarChartVisualArgs: def __init__(__self__, *, @@ -3053,6 +5115,15 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisBinCountOptionsArgsDict(TypedDict): + value: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin count value. + """ +elif False: + AnalysisBinCountOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBinCountOptionsArgs: def __init__(__self__, *, @@ -3076,6 +5147,19 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisBinWidthOptionsArgsDict(TypedDict): + bin_count_limit: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin count limit. + """ + value: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin width value. + """ +elif False: + AnalysisBinWidthOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBinWidthOptionsArgs: def __init__(__self__, *, @@ -3115,6 +5199,27 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisBodySectionConfigurationArgsDict(TypedDict): + content: pulumi.Input['AnalysisBodySectionContentArgsDict'] + """ + The configuration of content in a body section. + """ + section_id: pulumi.Input[str] + """ + The unique identifier of a body section. + """ + page_break_configuration: NotRequired[pulumi.Input['AnalysisSectionPageBreakConfigurationArgsDict']] + """ + The configuration of a page break for a section. + """ + style: NotRequired[pulumi.Input['AnalysisSectionStyleArgsDict']] + """ + The style options of a body section. + """ +elif False: + AnalysisBodySectionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBodySectionConfigurationArgs: def __init__(__self__, *, @@ -3184,6 +5289,15 @@ def style(self, value: Optional[pulumi.Input['AnalysisSectionStyleArgs']]): pulumi.set(self, "style", value) +if not MYPY: + class AnalysisBodySectionContentArgsDict(TypedDict): + layout: NotRequired[pulumi.Input['AnalysisSectionLayoutConfigurationArgsDict']] + """ + The layout configuration of a body section. + """ +elif False: + AnalysisBodySectionContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBodySectionContentArgs: def __init__(__self__, *, @@ -3207,6 +5321,19 @@ def layout(self, value: Optional[pulumi.Input['AnalysisSectionLayoutConfiguratio pulumi.set(self, "layout", value) +if not MYPY: + class AnalysisBoxPlotAggregatedFieldWellsArgsDict(TypedDict): + group_by: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The group by field well of a box plot chart. Values are grouped based on group by fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The value field well of a box plot chart. Values are aggregated based on group by fields. + """ +elif False: + AnalysisBoxPlotAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBoxPlotAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -3246,6 +5373,52 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisBoxPlotChartConfigurationArgsDict(TypedDict): + box_plot_options: NotRequired[pulumi.Input['AnalysisBoxPlotOptionsArgsDict']] + """ + The box plot chart options for a box plot visual + """ + category_axis: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) of a box plot category. + """ + category_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort Icon visibility) of a box plot category. + """ + field_wells: NotRequired[pulumi.Input['AnalysisBoxPlotFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + primary_y_axis_display_options: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) of a box plot category. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) of a box plot value. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisReferenceLineArgsDict']]]] + """ + The reference line setup of the visual. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisBoxPlotSortConfigurationArgsDict']] + """ + The sort configuration of a `BoxPlotVisual` . + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + AnalysisBoxPlotChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBoxPlotChartConfigurationArgs: def __init__(__self__, *, @@ -3425,6 +5598,15 @@ def visual_palette(self, value: Optional[pulumi.Input['AnalysisVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class AnalysisBoxPlotFieldWellsArgsDict(TypedDict): + box_plot_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisBoxPlotAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a box plot. + """ +elif False: + AnalysisBoxPlotFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBoxPlotFieldWellsArgs: def __init__(__self__, *, @@ -3448,6 +5630,23 @@ def box_plot_aggregated_field_wells(self, value: Optional[pulumi.Input['Analysis pulumi.set(self, "box_plot_aggregated_field_wells", value) +if not MYPY: + class AnalysisBoxPlotOptionsArgsDict(TypedDict): + all_data_points_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines the visibility of all data points of the box plot. + """ + outlier_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines the visibility of the outlier in a box plot. + """ + style_options: NotRequired[pulumi.Input['AnalysisBoxPlotStyleOptionsArgsDict']] + """ + The style options of the box plot. + """ +elif False: + AnalysisBoxPlotOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBoxPlotOptionsArgs: def __init__(__self__, *, @@ -3503,6 +5702,19 @@ def style_options(self, value: Optional[pulumi.Input['AnalysisBoxPlotStyleOption pulumi.set(self, "style_options", value) +if not MYPY: + class AnalysisBoxPlotSortConfigurationArgsDict(TypedDict): + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of a group by fields. + """ + pagination_configuration: NotRequired[pulumi.Input['AnalysisPaginationConfigurationArgsDict']] + """ + The pagination configuration of a table visual or box plot. + """ +elif False: + AnalysisBoxPlotSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBoxPlotSortConfigurationArgs: def __init__(__self__, *, @@ -3542,6 +5754,15 @@ def pagination_configuration(self, value: Optional[pulumi.Input['AnalysisPaginat pulumi.set(self, "pagination_configuration", value) +if not MYPY: + class AnalysisBoxPlotStyleOptionsArgsDict(TypedDict): + fill_style: NotRequired[pulumi.Input['AnalysisBoxPlotFillStyle']] + """ + The fill styles (solid, transparent) of the box plot. + """ +elif False: + AnalysisBoxPlotStyleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBoxPlotStyleOptionsArgs: def __init__(__self__, *, @@ -3565,6 +5786,35 @@ def fill_style(self, value: Optional[pulumi.Input['AnalysisBoxPlotFillStyle']]): pulumi.set(self, "fill_style", value) +if not MYPY: + class AnalysisBoxPlotVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisBoxPlotChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisBoxPlotVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisBoxPlotVisualArgs: def __init__(__self__, *, @@ -3667,6 +5917,23 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisCalculatedFieldArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The data set that is used in this calculated field. + """ + expression: pulumi.Input[str] + """ + The expression of the calculated field. + """ + name: pulumi.Input[str] + """ + The name of the calculated field. + """ +elif False: + AnalysisCalculatedFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCalculatedFieldArgs: def __init__(__self__, *, @@ -3719,6 +5986,19 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class AnalysisCalculatedMeasureFieldArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression in the table calculation. + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ +elif False: + AnalysisCalculatedMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCalculatedMeasureFieldArgs: def __init__(__self__, *, @@ -3756,6 +6036,15 @@ def field_id(self, value: pulumi.Input[str]): pulumi.set(self, "field_id", value) +if not MYPY: + class AnalysisCascadingControlConfigurationArgsDict(TypedDict): + source_controls: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisCascadingControlSourceArgsDict']]]] + """ + A list of source controls that determine the values that are used in the current control. + """ +elif False: + AnalysisCascadingControlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCascadingControlConfigurationArgs: def __init__(__self__, *, @@ -3779,6 +6068,19 @@ def source_controls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['An pulumi.set(self, "source_controls", value) +if not MYPY: + class AnalysisCascadingControlSourceArgsDict(TypedDict): + column_to_match: NotRequired[pulumi.Input['AnalysisColumnIdentifierArgsDict']] + """ + The column identifier that determines which column to look up for the source sheet control. + """ + source_sheet_control_id: NotRequired[pulumi.Input[str]] + """ + The source sheet control ID of a `CascadingControlSource` . + """ +elif False: + AnalysisCascadingControlSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCascadingControlSourceArgs: def __init__(__self__, *, @@ -3818,6 +6120,27 @@ def source_sheet_control_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_sheet_control_id", value) +if not MYPY: + class AnalysisCategoricalDimensionFieldArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that is used in the `CategoricalDimensionField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + format_configuration: NotRequired[pulumi.Input['AnalysisStringFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ + hierarchy_id: NotRequired[pulumi.Input[str]] + """ + The custom hierarchy ID. + """ +elif False: + AnalysisCategoricalDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCategoricalDimensionFieldArgs: def __init__(__self__, *, @@ -3887,6 +6210,27 @@ def hierarchy_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_id", value) +if not MYPY: + class AnalysisCategoricalMeasureFieldArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that is used in the `CategoricalMeasureField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + aggregation_function: NotRequired[pulumi.Input['AnalysisCategoricalAggregationFunction']] + """ + The aggregation function of the measure field. + """ + format_configuration: NotRequired[pulumi.Input['AnalysisStringFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + AnalysisCategoricalMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCategoricalMeasureFieldArgs: def __init__(__self__, *, @@ -3956,6 +6300,19 @@ def format_configuration(self, value: Optional[pulumi.Input['AnalysisStringForma pulumi.set(self, "format_configuration", value) +if not MYPY: + class AnalysisCategoryDrillDownFilterArgsDict(TypedDict): + category_values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of the string inputs that are the values of the category drill down filter. + """ + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ +elif False: + AnalysisCategoryDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCategoryDrillDownFilterArgs: def __init__(__self__, *, @@ -3993,6 +6350,23 @@ def column(self, value: pulumi.Input['AnalysisColumnIdentifierArgs']): pulumi.set(self, "column", value) +if not MYPY: + class AnalysisCategoryFilterConfigurationArgsDict(TypedDict): + custom_filter_configuration: NotRequired[pulumi.Input['AnalysisCustomFilterConfigurationArgsDict']] + """ + A custom filter that filters based on a single value. This filter can be partially matched. + """ + custom_filter_list_configuration: NotRequired[pulumi.Input['AnalysisCustomFilterListConfigurationArgsDict']] + """ + A list of custom filter values. In the Amazon QuickSight console, this filter type is called a custom filter list. + """ + filter_list_configuration: NotRequired[pulumi.Input['AnalysisFilterListConfigurationArgsDict']] + """ + A list of filter configurations. In the Amazon QuickSight console, this filter type is called a filter list. + """ +elif False: + AnalysisCategoryFilterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCategoryFilterConfigurationArgs: def __init__(__self__, *, @@ -4048,6 +6422,27 @@ def filter_list_configuration(self, value: Optional[pulumi.Input['AnalysisFilter pulumi.set(self, "filter_list_configuration", value) +if not MYPY: + class AnalysisCategoryFilterArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + configuration: pulumi.Input['AnalysisCategoryFilterConfigurationArgsDict'] + """ + The configuration for a `CategoryFilter` . + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['AnalysisDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ +elif False: + AnalysisCategoryFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCategoryFilterArgs: def __init__(__self__, *, @@ -4116,6 +6511,14 @@ def default_filter_control_configuration(self, value: Optional[pulumi.Input['Ana pulumi.set(self, "default_filter_control_configuration", value) +if not MYPY: + class AnalysisCategoryInnerFilterArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + configuration: pulumi.Input['AnalysisCategoryFilterConfigurationArgsDict'] + default_filter_control_configuration: NotRequired[pulumi.Input['AnalysisDefaultFilterControlConfigurationArgsDict']] +elif False: + AnalysisCategoryInnerFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCategoryInnerFilterArgs: def __init__(__self__, *, @@ -4155,6 +6558,26 @@ def default_filter_control_configuration(self, value: Optional[pulumi.Input['Ana pulumi.set(self, "default_filter_control_configuration", value) +if not MYPY: + class AnalysisChartAxisLabelOptionsArgsDict(TypedDict): + axis_label_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisAxisLabelOptionsArgsDict']]]] + """ + The label options for a chart axis. + """ + sort_icon_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility configuration of the sort icon on a chart's axis label. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of an axis label on a chart. Choose one of the following options: + + - `VISIBLE` : Shows the axis. + - `HIDDEN` : Hides the axis. + """ +elif False: + AnalysisChartAxisLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisChartAxisLabelOptionsArgs: def __init__(__self__, *, @@ -4216,6 +6639,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisClusterMarkerConfigurationArgsDict(TypedDict): + cluster_marker: NotRequired[pulumi.Input['AnalysisClusterMarkerArgsDict']] + """ + The cluster marker that is a part of the cluster marker configuration. + """ +elif False: + AnalysisClusterMarkerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisClusterMarkerConfigurationArgs: def __init__(__self__, *, @@ -4239,6 +6671,15 @@ def cluster_marker(self, value: Optional[pulumi.Input['AnalysisClusterMarkerArgs pulumi.set(self, "cluster_marker", value) +if not MYPY: + class AnalysisClusterMarkerArgsDict(TypedDict): + simple_cluster_marker: NotRequired[pulumi.Input['AnalysisSimpleClusterMarkerArgsDict']] + """ + The simple cluster marker of the cluster marker. + """ +elif False: + AnalysisClusterMarkerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisClusterMarkerArgs: def __init__(__self__, *, @@ -4262,6 +6703,23 @@ def simple_cluster_marker(self, value: Optional[pulumi.Input['AnalysisSimpleClus pulumi.set(self, "simple_cluster_marker", value) +if not MYPY: + class AnalysisColorScaleArgsDict(TypedDict): + color_fill_type: pulumi.Input['AnalysisColorFillType'] + """ + Determines the color fill type. + """ + colors: pulumi.Input[Sequence[pulumi.Input['AnalysisDataColorArgsDict']]] + """ + Determines the list of colors that are applied to the visual. + """ + null_value_color: NotRequired[pulumi.Input['AnalysisDataColorArgsDict']] + """ + Determines the color that is applied to null values. + """ +elif False: + AnalysisColorScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisColorScaleArgs: def __init__(__self__, *, @@ -4315,6 +6773,15 @@ def null_value_color(self, value: Optional[pulumi.Input['AnalysisDataColorArgs'] pulumi.set(self, "null_value_color", value) +if not MYPY: + class AnalysisColorsConfigurationArgsDict(TypedDict): + custom_colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisCustomColorArgsDict']]]] + """ + A list of up to 50 custom colors. + """ +elif False: + AnalysisColorsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisColorsConfigurationArgs: def __init__(__self__, *, @@ -4338,6 +6805,27 @@ def custom_colors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Anal pulumi.set(self, "custom_colors", value) +if not MYPY: + class AnalysisColumnConfigurationArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column. + """ + colors_configuration: NotRequired[pulumi.Input['AnalysisColorsConfigurationArgsDict']] + """ + The color configurations of the column. + """ + format_configuration: NotRequired[pulumi.Input['AnalysisFormatConfigurationArgsDict']] + """ + The format configuration of a column. + """ + role: NotRequired[pulumi.Input['AnalysisColumnRole']] + """ + The role of the column. + """ +elif False: + AnalysisColumnConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisColumnConfigurationArgs: def __init__(__self__, *, @@ -4408,6 +6896,23 @@ def role(self, value: Optional[pulumi.Input['AnalysisColumnRole']]): pulumi.set(self, "role", value) +if not MYPY: + class AnalysisColumnHierarchyArgsDict(TypedDict): + date_time_hierarchy: NotRequired[pulumi.Input['AnalysisDateTimeHierarchyArgsDict']] + """ + The option that determines the hierarchy of any `DateTime` fields. + """ + explicit_hierarchy: NotRequired[pulumi.Input['AnalysisExplicitHierarchyArgsDict']] + """ + The option that determines the hierarchy of the fields that are built within a visual's field wells. These fields can't be duplicated to other visuals. + """ + predefined_hierarchy: NotRequired[pulumi.Input['AnalysisPredefinedHierarchyArgsDict']] + """ + The option that determines the hierarchy of the fields that are defined during data preparation. These fields are available to use in any analysis that uses the data source. + """ +elif False: + AnalysisColumnHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisColumnHierarchyArgs: def __init__(__self__, *, @@ -4463,6 +6968,19 @@ def predefined_hierarchy(self, value: Optional[pulumi.Input['AnalysisPredefinedH pulumi.set(self, "predefined_hierarchy", value) +if not MYPY: + class AnalysisColumnIdentifierArgsDict(TypedDict): + column_name: pulumi.Input[str] + """ + The name of the column. + """ + data_set_identifier: pulumi.Input[str] + """ + The data set that the column belongs to. + """ +elif False: + AnalysisColumnIdentifierArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisColumnIdentifierArgs: def __init__(__self__, *, @@ -4500,6 +7018,20 @@ def data_set_identifier(self, value: pulumi.Input[str]): pulumi.set(self, "data_set_identifier", value) +if not MYPY: + class AnalysisColumnSortArgsDict(TypedDict): + direction: pulumi.Input['AnalysisSortDirection'] + """ + The sort direction. + """ + sort_by: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + aggregation_function: NotRequired[pulumi.Input['AnalysisAggregationFunctionArgsDict']] + """ + The aggregation function that is defined in the column sort. + """ +elif False: + AnalysisColumnSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisColumnSortArgs: def __init__(__self__, *, @@ -4549,6 +7081,31 @@ def aggregation_function(self, value: Optional[pulumi.Input['AnalysisAggregation pulumi.set(self, "aggregation_function", value) +if not MYPY: + class AnalysisColumnTooltipItemArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The target column of the tooltip item. + """ + aggregation: NotRequired[pulumi.Input['AnalysisAggregationFunctionArgsDict']] + """ + The aggregation function of the column tooltip item. + """ + label: NotRequired[pulumi.Input[str]] + """ + The label of the tooltip item. + """ + tooltip_target: NotRequired[pulumi.Input['AnalysisTooltipTarget']] + """ + Determines the target of the column tooltip item in a combo chart visual. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the tooltip item. + """ +elif False: + AnalysisColumnTooltipItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisColumnTooltipItemArgs: def __init__(__self__, *, @@ -4635,6 +7192,27 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisComboChartAggregatedFieldWellsArgsDict(TypedDict): + bar_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The aggregated `BarValues` field well of a combo chart. + """ + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The aggregated category field wells of a combo chart. + """ + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The aggregated colors field well of a combo chart. + """ + line_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The aggregated `LineValues` field well of a combo chart. + """ +elif False: + AnalysisComboChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisComboChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -4706,6 +7284,84 @@ def line_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Analys pulumi.set(self, "line_values", value) +if not MYPY: + class AnalysisComboChartConfigurationArgsDict(TypedDict): + bar_data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + + The data label options for a bar in a combo chart. + """ + bars_arrangement: NotRequired[pulumi.Input['AnalysisBarsArrangement']] + """ + Determines the bar arrangement in a combo chart. The following are valid values in this structure: + + - `CLUSTERED` : For clustered bar combo charts. + - `STACKED` : For stacked bar combo charts. + - `STACKED_PERCENT` : Do not use. If you use this value, the operation returns a validation error. + """ + category_axis: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The category axis of a combo chart. + """ + category_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart category (group/color) field well. + """ + color_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field well. + """ + field_wells: NotRequired[pulumi.Input['AnalysisComboChartFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + line_data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + + The data label options for a line in a combo chart. + """ + primary_y_axis_display_options: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field well. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis (bar) field well. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisReferenceLineArgsDict']]]] + """ + The reference line setup of the visual. + """ + secondary_y_axis_display_options: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field well. + """ + secondary_y_axis_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary y-axis(line) field well. + """ + single_axis_options: NotRequired[pulumi.Input['AnalysisSingleAxisOptionsArgsDict']] + sort_configuration: NotRequired[pulumi.Input['AnalysisComboChartSortConfigurationArgsDict']] + """ + The sort configuration of a `ComboChartVisual` . + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + AnalysisComboChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisComboChartConfigurationArgs: def __init__(__self__, *, @@ -4997,6 +7653,15 @@ def visual_palette(self, value: Optional[pulumi.Input['AnalysisVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class AnalysisComboChartFieldWellsArgsDict(TypedDict): + combo_chart_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisComboChartAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a combo chart. Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by category. + """ +elif False: + AnalysisComboChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisComboChartFieldWellsArgs: def __init__(__self__, *, @@ -5020,6 +7685,27 @@ def combo_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Analy pulumi.set(self, "combo_chart_aggregated_field_wells", value) +if not MYPY: + class AnalysisComboChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The item limit configuration for the category field well of a combo chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category field well in a combo chart. + """ + color_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The item limit configuration of the color field well in a combo chart. + """ + color_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the color field well in a combo chart. + """ +elif False: + AnalysisComboChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisComboChartSortConfigurationArgs: def __init__(__self__, *, @@ -5091,6 +7777,35 @@ def color_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Analysi pulumi.set(self, "color_sort", value) +if not MYPY: + class AnalysisComboChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisComboChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisComboChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisComboChartVisualArgs: def __init__(__self__, *, @@ -5193,6 +7908,23 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisComparisonConfigurationArgsDict(TypedDict): + comparison_format: NotRequired[pulumi.Input['AnalysisComparisonFormatConfigurationArgsDict']] + """ + The format of the comparison. + """ + comparison_method: NotRequired[pulumi.Input['AnalysisComparisonMethod']] + """ + The method of the comparison. Choose from the following options: + + - `DIFFERENCE` + - `PERCENT_DIFFERENCE` + - `PERCENT` + """ +elif False: + AnalysisComparisonConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisComparisonConfigurationArgs: def __init__(__self__, *, @@ -5240,6 +7972,19 @@ def comparison_method(self, value: Optional[pulumi.Input['AnalysisComparisonMeth pulumi.set(self, "comparison_method", value) +if not MYPY: + class AnalysisComparisonFormatConfigurationArgsDict(TypedDict): + number_display_format_configuration: NotRequired[pulumi.Input['AnalysisNumberDisplayFormatConfigurationArgsDict']] + """ + The number display format. + """ + percentage_display_format_configuration: NotRequired[pulumi.Input['AnalysisPercentageDisplayFormatConfigurationArgsDict']] + """ + The percentage display format. + """ +elif False: + AnalysisComparisonFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisComparisonFormatConfigurationArgs: def __init__(__self__, *, @@ -5279,6 +8024,51 @@ def percentage_display_format_configuration(self, value: Optional[pulumi.Input[' pulumi.set(self, "percentage_display_format_configuration", value) +if not MYPY: + class AnalysisComputationArgsDict(TypedDict): + forecast: NotRequired[pulumi.Input['AnalysisForecastComputationArgsDict']] + """ + The forecast computation configuration. + """ + growth_rate: NotRequired[pulumi.Input['AnalysisGrowthRateComputationArgsDict']] + """ + The growth rate computation configuration. + """ + maximum_minimum: NotRequired[pulumi.Input['AnalysisMaximumMinimumComputationArgsDict']] + """ + The maximum and minimum computation configuration. + """ + metric_comparison: NotRequired[pulumi.Input['AnalysisMetricComparisonComputationArgsDict']] + """ + The metric comparison computation configuration. + """ + period_over_period: NotRequired[pulumi.Input['AnalysisPeriodOverPeriodComputationArgsDict']] + """ + The period over period computation configuration. + """ + period_to_date: NotRequired[pulumi.Input['AnalysisPeriodToDateComputationArgsDict']] + """ + The period to `DataSetIdentifier` computation configuration. + """ + top_bottom_movers: NotRequired[pulumi.Input['AnalysisTopBottomMoversComputationArgsDict']] + """ + The top movers and bottom movers computation configuration. + """ + top_bottom_ranked: NotRequired[pulumi.Input['AnalysisTopBottomRankedComputationArgsDict']] + """ + The top ranked and bottom ranked computation configuration. + """ + total_aggregation: NotRequired[pulumi.Input['AnalysisTotalAggregationComputationArgsDict']] + """ + The total aggregation computation configuration. + """ + unique_values: NotRequired[pulumi.Input['AnalysisUniqueValuesComputationArgsDict']] + """ + The unique values computation configuration. + """ +elif False: + AnalysisComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisComputationArgs: def __init__(__self__, *, @@ -5446,6 +8236,19 @@ def unique_values(self, value: Optional[pulumi.Input['AnalysisUniqueValuesComput pulumi.set(self, "unique_values", value) +if not MYPY: + class AnalysisConditionalFormattingColorArgsDict(TypedDict): + gradient: NotRequired[pulumi.Input['AnalysisConditionalFormattingGradientColorArgsDict']] + """ + Formatting configuration for gradient color. + """ + solid: NotRequired[pulumi.Input['AnalysisConditionalFormattingSolidColorArgsDict']] + """ + Formatting configuration for solid color. + """ +elif False: + AnalysisConditionalFormattingColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisConditionalFormattingColorArgs: def __init__(__self__, *, @@ -5485,6 +8288,27 @@ def solid(self, value: Optional[pulumi.Input['AnalysisConditionalFormattingSolid pulumi.set(self, "solid", value) +if not MYPY: + class AnalysisConditionalFormattingCustomIconConditionArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression that determines the condition of the icon set. + """ + icon_options: pulumi.Input['AnalysisConditionalFormattingCustomIconOptionsArgsDict'] + """ + Custom icon options for an icon set. + """ + color: NotRequired[pulumi.Input[str]] + """ + Determines the color of the icon. + """ + display_configuration: NotRequired[pulumi.Input['AnalysisConditionalFormattingIconDisplayConfigurationArgsDict']] + """ + Determines the icon display configuration. + """ +elif False: + AnalysisConditionalFormattingCustomIconConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisConditionalFormattingCustomIconConditionArgs: def __init__(__self__, *, @@ -5554,6 +8378,19 @@ def display_configuration(self, value: Optional[pulumi.Input['AnalysisConditiona pulumi.set(self, "display_configuration", value) +if not MYPY: + class AnalysisConditionalFormattingCustomIconOptionsArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['AnalysisIcon']] + """ + Determines the type of icon. + """ + unicode_icon: NotRequired[pulumi.Input[str]] + """ + Determines the Unicode icon type. + """ +elif False: + AnalysisConditionalFormattingCustomIconOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisConditionalFormattingCustomIconOptionsArgs: def __init__(__self__, *, @@ -5593,6 +8430,19 @@ def unicode_icon(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unicode_icon", value) +if not MYPY: + class AnalysisConditionalFormattingGradientColorArgsDict(TypedDict): + color: pulumi.Input['AnalysisGradientColorArgsDict'] + """ + Determines the color. + """ + expression: pulumi.Input[str] + """ + The expression that determines the formatting configuration for gradient color. + """ +elif False: + AnalysisConditionalFormattingGradientColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisConditionalFormattingGradientColorArgs: def __init__(__self__, *, @@ -5630,6 +8480,15 @@ def expression(self, value: pulumi.Input[str]): pulumi.set(self, "expression", value) +if not MYPY: + class AnalysisConditionalFormattingIconDisplayConfigurationArgsDict(TypedDict): + icon_display_option: NotRequired[pulumi.Input['AnalysisConditionalFormattingIconDisplayOption']] + """ + Determines the icon display configuration. + """ +elif False: + AnalysisConditionalFormattingIconDisplayConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisConditionalFormattingIconDisplayConfigurationArgs: def __init__(__self__, *, @@ -5653,6 +8512,19 @@ def icon_display_option(self, value: Optional[pulumi.Input['AnalysisConditionalF pulumi.set(self, "icon_display_option", value) +if not MYPY: + class AnalysisConditionalFormattingIconSetArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression that determines the formatting configuration for the icon set. + """ + icon_set_type: NotRequired[pulumi.Input['AnalysisConditionalFormattingIconSetType']] + """ + Determines the icon set type. + """ +elif False: + AnalysisConditionalFormattingIconSetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisConditionalFormattingIconSetArgs: def __init__(__self__, *, @@ -5691,6 +8563,19 @@ def icon_set_type(self, value: Optional[pulumi.Input['AnalysisConditionalFormatt pulumi.set(self, "icon_set_type", value) +if not MYPY: + class AnalysisConditionalFormattingIconArgsDict(TypedDict): + custom_condition: NotRequired[pulumi.Input['AnalysisConditionalFormattingCustomIconConditionArgsDict']] + """ + Determines the custom condition for an icon set. + """ + icon_set: NotRequired[pulumi.Input['AnalysisConditionalFormattingIconSetArgsDict']] + """ + Formatting configuration for icon set. + """ +elif False: + AnalysisConditionalFormattingIconArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisConditionalFormattingIconArgs: def __init__(__self__, *, @@ -5730,6 +8615,19 @@ def icon_set(self, value: Optional[pulumi.Input['AnalysisConditionalFormattingIc pulumi.set(self, "icon_set", value) +if not MYPY: + class AnalysisConditionalFormattingSolidColorArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression that determines the formatting configuration for solid color. + """ + color: NotRequired[pulumi.Input[str]] + """ + Determines the color. + """ +elif False: + AnalysisConditionalFormattingSolidColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisConditionalFormattingSolidColorArgs: def __init__(__self__, *, @@ -5768,6 +8666,19 @@ def color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "color", value) +if not MYPY: + class AnalysisContributionAnalysisDefaultArgsDict(TypedDict): + contributor_dimensions: pulumi.Input[Sequence[pulumi.Input['AnalysisColumnIdentifierArgsDict']]] + """ + The dimensions columns that are used in the contribution analysis, usually a list of `ColumnIdentifiers` . + """ + measure_field_id: pulumi.Input[str] + """ + The measure field that is used in the contribution analysis. + """ +elif False: + AnalysisContributionAnalysisDefaultArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisContributionAnalysisDefaultArgs: def __init__(__self__, *, @@ -5805,6 +8716,43 @@ def measure_field_id(self, value: pulumi.Input[str]): pulumi.set(self, "measure_field_id", value) +if not MYPY: + class AnalysisCurrencyDisplayFormatConfigurationArgsDict(TypedDict): + decimal_places_configuration: NotRequired[pulumi.Input['AnalysisDecimalPlacesConfigurationArgsDict']] + """ + The option that determines the decimal places configuration. + """ + negative_value_configuration: NotRequired[pulumi.Input['AnalysisNegativeValueConfigurationArgsDict']] + """ + The options that determine the negative value configuration. + """ + null_value_format_configuration: NotRequired[pulumi.Input['AnalysisNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + number_scale: NotRequired[pulumi.Input['AnalysisNumberScale']] + """ + Determines the number scale value for the currency format. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Determines the prefix value of the currency format. + """ + separator_configuration: NotRequired[pulumi.Input['AnalysisNumericSeparatorConfigurationArgsDict']] + """ + The options that determine the numeric separator configuration. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + Determines the suffix value of the currency format. + """ + symbol: NotRequired[pulumi.Input[str]] + """ + Determines the symbol for the currency format. + """ +elif False: + AnalysisCurrencyDisplayFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCurrencyDisplayFormatConfigurationArgs: def __init__(__self__, *, @@ -5940,6 +8888,19 @@ def symbol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "symbol", value) +if not MYPY: + class AnalysisCustomActionFilterOperationArgsDict(TypedDict): + selected_fields_configuration: pulumi.Input['AnalysisFilterOperationSelectedFieldsConfigurationArgsDict'] + """ + The configuration that chooses the fields to be filtered. + """ + target_visuals_configuration: pulumi.Input['AnalysisFilterOperationTargetVisualsConfigurationArgsDict'] + """ + The configuration that chooses the target visuals to be filtered. + """ +elif False: + AnalysisCustomActionFilterOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomActionFilterOperationArgs: def __init__(__self__, *, @@ -5977,6 +8938,15 @@ def target_visuals_configuration(self, value: pulumi.Input['AnalysisFilterOperat pulumi.set(self, "target_visuals_configuration", value) +if not MYPY: + class AnalysisCustomActionNavigationOperationArgsDict(TypedDict): + local_navigation_configuration: NotRequired[pulumi.Input['AnalysisLocalNavigationConfigurationArgsDict']] + """ + The configuration that chooses the navigation target. + """ +elif False: + AnalysisCustomActionNavigationOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomActionNavigationOperationArgs: def __init__(__self__, *, @@ -6000,6 +8970,15 @@ def local_navigation_configuration(self, value: Optional[pulumi.Input['AnalysisL pulumi.set(self, "local_navigation_configuration", value) +if not MYPY: + class AnalysisCustomActionSetParametersOperationArgsDict(TypedDict): + parameter_value_configurations: pulumi.Input[Sequence[pulumi.Input['AnalysisSetParameterValueConfigurationArgsDict']]] + """ + The parameter that determines the value configuration. + """ +elif False: + AnalysisCustomActionSetParametersOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomActionSetParametersOperationArgs: def __init__(__self__, *, @@ -6022,6 +9001,25 @@ def parameter_value_configurations(self, value: pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "parameter_value_configurations", value) +if not MYPY: + class AnalysisCustomActionUrlOperationArgsDict(TypedDict): + url_target: pulumi.Input['AnalysisUrlTargetConfiguration'] + """ + The target of the `CustomActionURLOperation` . + + Valid values are defined as follows: + + - `NEW_TAB` : Opens the target URL in a new browser tab. + - `NEW_WINDOW` : Opens the target URL in a new browser window. + - `SAME_TAB` : Opens the target URL in the same browser tab. + """ + url_template: pulumi.Input[str] + """ + THe URL link of the `CustomActionURLOperation` . + """ +elif False: + AnalysisCustomActionUrlOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomActionUrlOperationArgs: def __init__(__self__, *, @@ -6071,6 +9069,23 @@ def url_template(self, value: pulumi.Input[str]): pulumi.set(self, "url_template", value) +if not MYPY: + class AnalysisCustomColorArgsDict(TypedDict): + color: pulumi.Input[str] + """ + The color that is applied to the data value. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The data value that the color is applied to. + """ + special_value: NotRequired[pulumi.Input['AnalysisSpecialValue']] + """ + The value of a special data value. + """ +elif False: + AnalysisCustomColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomColorArgs: def __init__(__self__, *, @@ -6125,6 +9140,23 @@ def special_value(self, value: Optional[pulumi.Input['AnalysisSpecialValue']]): pulumi.set(self, "special_value", value) +if not MYPY: + class AnalysisCustomContentConfigurationArgsDict(TypedDict): + content_type: NotRequired[pulumi.Input['AnalysisCustomContentType']] + """ + The content type of the custom content visual. You can use this to have the visual render as an image. + """ + content_url: NotRequired[pulumi.Input[str]] + """ + The input URL that links to the custom content that you want in the custom visual. + """ + image_scaling: NotRequired[pulumi.Input['AnalysisCustomContentImageScalingConfiguration']] + """ + The sizing options for the size of the custom content visual. This structure is required when the `ContentType` of the visual is `'IMAGE'` . + """ +elif False: + AnalysisCustomContentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomContentConfigurationArgs: def __init__(__self__, *, @@ -6180,6 +9212,35 @@ def image_scaling(self, value: Optional[pulumi.Input['AnalysisCustomContentImage pulumi.set(self, "image_scaling", value) +if not MYPY: + class AnalysisCustomContentVisualArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The dataset that is used to create the custom content visual. You can't create a visual without a dataset. + """ + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisCustomContentConfigurationArgsDict']] + """ + The configuration of a `CustomContentVisual` . + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisCustomContentVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomContentVisualArgs: def __init__(__self__, *, @@ -6281,6 +9342,41 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisCustomFilterConfigurationArgsDict(TypedDict): + match_operator: pulumi.Input['AnalysisCategoryFilterMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + null_option: pulumi.Input['AnalysisFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + category_value: NotRequired[pulumi.Input[str]] + """ + The category value for the filter. + + This field is mutually exclusive to `ParameterName` . + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + + This field is mutually exclusive to `CategoryValue` . + """ + select_all_options: NotRequired[pulumi.Input['AnalysisCategoryFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + AnalysisCustomFilterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomFilterConfigurationArgs: def __init__(__self__, *, @@ -6386,6 +9482,33 @@ def select_all_options(self, value: Optional[pulumi.Input['AnalysisCategoryFilte pulumi.set(self, "select_all_options", value) +if not MYPY: + class AnalysisCustomFilterListConfigurationArgsDict(TypedDict): + match_operator: pulumi.Input['AnalysisCategoryFilterMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + null_option: pulumi.Input['AnalysisFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + category_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of category values for the filter. + """ + select_all_options: NotRequired[pulumi.Input['AnalysisCategoryFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + AnalysisCustomFilterListConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomFilterListConfigurationArgs: def __init__(__self__, *, @@ -6467,6 +9590,15 @@ def select_all_options(self, value: Optional[pulumi.Input['AnalysisCategoryFilte pulumi.set(self, "select_all_options", value) +if not MYPY: + class AnalysisCustomNarrativeOptionsArgsDict(TypedDict): + narrative: pulumi.Input[str] + """ + The string input of custom narrative. + """ +elif False: + AnalysisCustomNarrativeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomNarrativeOptionsArgs: def __init__(__self__, *, @@ -6489,6 +9621,27 @@ def narrative(self, value: pulumi.Input[str]): pulumi.set(self, "narrative", value) +if not MYPY: + class AnalysisCustomParameterValuesArgsDict(TypedDict): + date_time_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of datetime-type parameter values. + """ + decimal_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + A list of decimal-type parameter values. + """ + integer_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + A list of integer-type parameter values. + """ + string_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of string-type parameter values. + """ +elif False: + AnalysisCustomParameterValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomParameterValuesArgs: def __init__(__self__, *, @@ -6560,6 +9713,16 @@ def string_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "string_values", value) +if not MYPY: + class AnalysisCustomValuesConfigurationArgsDict(TypedDict): + custom_values: pulumi.Input['AnalysisCustomParameterValuesArgsDict'] + include_null_value: NotRequired[pulumi.Input[bool]] + """ + Includes the null value in custom action parameter values. + """ +elif False: + AnalysisCustomValuesConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisCustomValuesConfigurationArgs: def __init__(__self__, *, @@ -6594,6 +9757,23 @@ def include_null_value(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "include_null_value", value) +if not MYPY: + class AnalysisDataBarsOptionsArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID for the data bars options. + """ + negative_color: NotRequired[pulumi.Input[str]] + """ + The color of the negative data bar. + """ + positive_color: NotRequired[pulumi.Input[str]] + """ + The color of the positive data bar. + """ +elif False: + AnalysisDataBarsOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataBarsOptionsArgs: def __init__(__self__, *, @@ -6648,6 +9828,19 @@ def positive_color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "positive_color", value) +if not MYPY: + class AnalysisDataColorArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The color that is applied to the data value. + """ + data_value: NotRequired[pulumi.Input[float]] + """ + The data value that the color is applied to. + """ +elif False: + AnalysisDataColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataColorArgs: def __init__(__self__, *, @@ -6687,6 +9880,27 @@ def data_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "data_value", value) +if not MYPY: + class AnalysisDataFieldSeriesItemArgsDict(TypedDict): + axis_binding: pulumi.Input['AnalysisAxisBinding'] + """ + The axis that you are binding the field to. + """ + field_id: pulumi.Input[str] + """ + The field ID of the field that you are setting the axis binding to. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The field value of the field that you are setting the axis binding to. + """ + settings: NotRequired[pulumi.Input['AnalysisLineChartSeriesSettingsArgsDict']] + """ + The options that determine the presentation of line series associated to the field. + """ +elif False: + AnalysisDataFieldSeriesItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataFieldSeriesItemArgs: def __init__(__self__, *, @@ -6756,6 +9970,51 @@ def settings(self, value: Optional[pulumi.Input['AnalysisLineChartSeriesSettings pulumi.set(self, "settings", value) +if not MYPY: + class AnalysisDataLabelOptionsArgsDict(TypedDict): + category_label_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines the visibility of the category field labels. + """ + data_label_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDataLabelTypeArgsDict']]]] + """ + The option that determines the data label type. + """ + label_color: NotRequired[pulumi.Input[str]] + """ + Determines the color of the data labels. + """ + label_content: NotRequired[pulumi.Input['AnalysisDataLabelContent']] + """ + Determines the content of the data labels. + """ + label_font_configuration: NotRequired[pulumi.Input['AnalysisFontConfigurationArgsDict']] + """ + Determines the font configuration of the data labels. + """ + measure_label_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines the visibility of the measure field labels. + """ + overlap: NotRequired[pulumi.Input['AnalysisDataLabelOverlap']] + """ + Determines whether overlap is enabled or disabled for the data labels. + """ + position: NotRequired[pulumi.Input['AnalysisDataLabelPosition']] + """ + Determines the position of the data labels. + """ + totals_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines the visibility of the total. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines the visibility of the data labels. + """ +elif False: + AnalysisDataLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataLabelOptionsArgs: def __init__(__self__, *, @@ -6923,6 +10182,31 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisDataLabelTypeArgsDict(TypedDict): + data_path_label_type: NotRequired[pulumi.Input['AnalysisDataPathLabelTypeArgsDict']] + """ + The option that specifies individual data values for labels. + """ + field_label_type: NotRequired[pulumi.Input['AnalysisFieldLabelTypeArgsDict']] + """ + Determines the label configuration for the entire field. + """ + maximum_label_type: NotRequired[pulumi.Input['AnalysisMaximumLabelTypeArgsDict']] + """ + Determines the label configuration for the maximum value in a visual. + """ + minimum_label_type: NotRequired[pulumi.Input['AnalysisMinimumLabelTypeArgsDict']] + """ + Determines the label configuration for the minimum value in a visual. + """ + range_ends_label_type: NotRequired[pulumi.Input['AnalysisRangeEndsLabelTypeArgsDict']] + """ + Determines the label configuration for range end value in a visual. + """ +elif False: + AnalysisDataLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataLabelTypeArgs: def __init__(__self__, *, @@ -7010,6 +10294,23 @@ def range_ends_label_type(self, value: Optional[pulumi.Input['AnalysisRangeEndsL pulumi.set(self, "range_ends_label_type", value) +if not MYPY: + class AnalysisDataPathColorArgsDict(TypedDict): + color: pulumi.Input[str] + """ + The color that needs to be applied to the element. + """ + element: pulumi.Input['AnalysisDataPathValueArgsDict'] + """ + The element that the color needs to be applied to. + """ + time_granularity: NotRequired[pulumi.Input['AnalysisTimeGranularity']] + """ + The time granularity of the field that the color needs to be applied to. + """ +elif False: + AnalysisDataPathColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataPathColorArgs: def __init__(__self__, *, @@ -7063,6 +10364,23 @@ def time_granularity(self, value: Optional[pulumi.Input['AnalysisTimeGranularity pulumi.set(self, "time_granularity", value) +if not MYPY: + class AnalysisDataPathLabelTypeArgsDict(TypedDict): + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the field that the data label needs to be applied to. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The actual value of the field that is labeled. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the data label. + """ +elif False: + AnalysisDataPathLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataPathLabelTypeArgs: def __init__(__self__, *, @@ -7118,6 +10436,19 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisDataPathSortArgsDict(TypedDict): + direction: pulumi.Input['AnalysisSortDirection'] + """ + Determines the sort direction. + """ + sort_paths: pulumi.Input[Sequence[pulumi.Input['AnalysisDataPathValueArgsDict']]] + """ + The list of data paths that need to be sorted. + """ +elif False: + AnalysisDataPathSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataPathSortArgs: def __init__(__self__, *, @@ -7155,6 +10486,20 @@ def sort_paths(self, value: pulumi.Input[Sequence[pulumi.Input['AnalysisDataPath pulumi.set(self, "sort_paths", value) +if not MYPY: + class AnalysisDataPathTypeArgsDict(TypedDict): + pivot_table_data_path_type: NotRequired[pulumi.Input['AnalysisPivotTableDataPathType']] + """ + The type of data path value utilized in a pivot table. Choose one of the following options: + + - `HIERARCHY_ROWS_LAYOUT_COLUMN` - The type of data path for the rows layout column, when `RowsLayout` is set to `HIERARCHY` . + - `MULTIPLE_ROW_METRICS_COLUMN` - The type of data path for the metric column when the row is set to Metric Placement. + - `EMPTY_COLUMN_HEADER` - The type of data path for the column with empty column header, when there is no field in `ColumnsFieldWell` and the row is set to Metric Placement. + - `COUNT_METRIC_COLUMN` - The type of data path for the column with `COUNT` as the metric, when there is no field in the `ValuesFieldWell` . + """ +elif False: + AnalysisDataPathTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataPathTypeArgs: def __init__(__self__, *, @@ -7188,6 +10533,23 @@ def pivot_table_data_path_type(self, value: Optional[pulumi.Input['AnalysisPivot pulumi.set(self, "pivot_table_data_path_type", value) +if not MYPY: + class AnalysisDataPathValueArgsDict(TypedDict): + data_path_type: NotRequired[pulumi.Input['AnalysisDataPathTypeArgsDict']] + """ + The type configuration of the field. + """ + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the field that needs to be sorted. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The actual value of the field that needs to be sorted. + """ +elif False: + AnalysisDataPathValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataPathValueArgs: def __init__(__self__, *, @@ -7243,6 +10605,19 @@ def field_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "field_value", value) +if not MYPY: + class AnalysisDataSetIdentifierDeclarationArgsDict(TypedDict): + data_set_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the data set. + """ + identifier: pulumi.Input[str] + """ + The identifier of the data set, typically the data set's name. + """ +elif False: + AnalysisDataSetIdentifierDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataSetIdentifierDeclarationArgs: def __init__(__self__, *, @@ -7280,6 +10655,22 @@ def identifier(self, value: pulumi.Input[str]): pulumi.set(self, "identifier", value) +if not MYPY: + class AnalysisDataSetReferenceArgsDict(TypedDict): + """ +

Dataset reference.

+ """ + data_set_arn: pulumi.Input[str] + """ +

Dataset Amazon Resource Name (ARN).

+ """ + data_set_placeholder: pulumi.Input[str] + """ +

Dataset placeholder.

+ """ +elif False: + AnalysisDataSetReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDataSetReferenceArgs: def __init__(__self__, *, @@ -7318,6 +10709,15 @@ def data_set_placeholder(self, value: pulumi.Input[str]): pulumi.set(self, "data_set_placeholder", value) +if not MYPY: + class AnalysisDateAxisOptionsArgsDict(TypedDict): + missing_date_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines whether or not missing dates are displayed. + """ +elif False: + AnalysisDateAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDateAxisOptionsArgs: def __init__(__self__, *, @@ -7341,6 +10741,41 @@ def missing_date_visibility(self, value: Optional[pulumi.Input['AnalysisVisibili pulumi.set(self, "missing_date_visibility", value) +if not MYPY: + class AnalysisDateDimensionFieldArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that is used in the `DateDimensionField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + date_granularity: NotRequired[pulumi.Input['AnalysisTimeGranularity']] + """ + The date granularity of the `DateDimensionField` . Choose one of the following options: + + - `YEAR` + - `QUARTER` + - `MONTH` + - `WEEK` + - `DAY` + - `HOUR` + - `MINUTE` + - `SECOND` + - `MILLISECOND` + """ + format_configuration: NotRequired[pulumi.Input['AnalysisDateTimeFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ + hierarchy_id: NotRequired[pulumi.Input[str]] + """ + The custom hierarchy ID. + """ +elif False: + AnalysisDateDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDateDimensionFieldArgs: def __init__(__self__, *, @@ -7446,6 +10881,27 @@ def hierarchy_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_id", value) +if not MYPY: + class AnalysisDateMeasureFieldArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that is used in the `DateMeasureField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + aggregation_function: NotRequired[pulumi.Input['AnalysisDateAggregationFunction']] + """ + The aggregation function of the measure field. + """ + format_configuration: NotRequired[pulumi.Input['AnalysisDateTimeFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + AnalysisDateMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDateMeasureFieldArgs: def __init__(__self__, *, @@ -7515,6 +10971,23 @@ def format_configuration(self, value: Optional[pulumi.Input['AnalysisDateTimeFor pulumi.set(self, "format_configuration", value) +if not MYPY: + class AnalysisDateTimeDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['AnalysisDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `DataTimeDefaultValues` . Different defaults are displayed according to users, groups, and values mapping. + """ + rolling_date: NotRequired[pulumi.Input['AnalysisRollingDateConfigurationArgsDict']] + """ + The rolling date of the `DataTimeDefaultValues` . The date is determined from the dataset based on input expression. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The static values of the `DataTimeDefaultValues` . + """ +elif False: + AnalysisDateTimeDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDateTimeDefaultValuesArgs: def __init__(__self__, *, @@ -7570,6 +11043,23 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "static_values", value) +if not MYPY: + class AnalysisDateTimeFormatConfigurationArgsDict(TypedDict): + date_time_format: NotRequired[pulumi.Input[str]] + """ + Determines the `DateTime` format. + """ + null_value_format_configuration: NotRequired[pulumi.Input['AnalysisNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + numeric_format_configuration: NotRequired[pulumi.Input['AnalysisNumericFormatConfigurationArgsDict']] + """ + The formatting configuration for numeric `DateTime` fields. + """ +elif False: + AnalysisDateTimeFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDateTimeFormatConfigurationArgs: def __init__(__self__, *, @@ -7625,6 +11115,19 @@ def numeric_format_configuration(self, value: Optional[pulumi.Input['AnalysisNum pulumi.set(self, "numeric_format_configuration", value) +if not MYPY: + class AnalysisDateTimeHierarchyArgsDict(TypedDict): + hierarchy_id: pulumi.Input[str] + """ + The hierarchy ID of the `DateTime` hierarchy. + """ + drill_down_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDrillDownFilterArgsDict']]]] + """ + The option that determines the drill down filters for the `DateTime` hierarchy. + """ +elif False: + AnalysisDateTimeHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDateTimeHierarchyArgs: def __init__(__self__, *, @@ -7663,6 +11166,28 @@ def drill_down_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "drill_down_filters", value) +if not MYPY: + class AnalysisDateTimeParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + default_values: NotRequired[pulumi.Input['AnalysisDateTimeDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMappedDataSetParameterArgsDict']]]] + time_granularity: NotRequired[pulumi.Input['AnalysisTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ + value_when_unset: NotRequired[pulumi.Input['AnalysisDateTimeValueWhenUnsetConfigurationArgsDict']] + """ + The configuration that defines the default value of a `DateTime` parameter when a value has not been set. + """ +elif False: + AnalysisDateTimeParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDateTimeParameterDeclarationArgs: def __init__(__self__, *, @@ -7745,6 +11270,22 @@ def value_when_unset(self, value: Optional[pulumi.Input['AnalysisDateTimeValueWh pulumi.set(self, "value_when_unset", value) +if not MYPY: + class AnalysisDateTimeParameterArgsDict(TypedDict): + """ +

A date-time parameter.

+ """ + name: pulumi.Input[str] + """ +

A display name for the date-time parameter.

+ """ + values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The values for the date-time parameter.

+ """ +elif False: + AnalysisDateTimeParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDateTimeParameterArgs: def __init__(__self__, *, @@ -7783,6 +11324,23 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class AnalysisDateTimePickerControlDisplayOptionsArgsDict(TypedDict): + date_time_format: NotRequired[pulumi.Input[str]] + """ + Customize how dates are formatted in controls. + """ + info_icon_label_options: NotRequired[pulumi.Input['AnalysisSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + title_options: NotRequired[pulumi.Input['AnalysisLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + AnalysisDateTimePickerControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDateTimePickerControlDisplayOptionsArgs: def __init__(__self__, *, @@ -7838,6 +11396,22 @@ def title_options(self, value: Optional[pulumi.Input['AnalysisLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class AnalysisDateTimeValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[str]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['AnalysisValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + AnalysisDateTimeValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDateTimeValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -7883,6 +11457,19 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['AnalysisValueWhe pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class AnalysisDecimalDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['AnalysisDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `DecimalDefaultValues` . Different defaults are displayed according to users, groups, and values mapping. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + The static values of the `DecimalDefaultValues` . + """ +elif False: + AnalysisDecimalDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDecimalDefaultValuesArgs: def __init__(__self__, *, @@ -7922,6 +11509,28 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[float pulumi.set(self, "static_values", value) +if not MYPY: + class AnalysisDecimalParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + parameter_value_type: pulumi.Input['AnalysisParameterValueType'] + """ + The value type determines whether the parameter is a single-value or multi-value parameter. + """ + default_values: NotRequired[pulumi.Input['AnalysisDecimalDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMappedDataSetParameterArgsDict']]]] + value_when_unset: NotRequired[pulumi.Input['AnalysisDecimalValueWhenUnsetConfigurationArgsDict']] + """ + The configuration that defines the default value of a `Decimal` parameter when a value has not been set. + """ +elif False: + AnalysisDecimalParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDecimalParameterDeclarationArgs: def __init__(__self__, *, @@ -8003,6 +11612,22 @@ def value_when_unset(self, value: Optional[pulumi.Input['AnalysisDecimalValueWhe pulumi.set(self, "value_when_unset", value) +if not MYPY: + class AnalysisDecimalParameterArgsDict(TypedDict): + """ +

A decimal parameter.

+ """ + name: pulumi.Input[str] + """ +

A display name for the decimal parameter.

+ """ + values: pulumi.Input[Sequence[pulumi.Input[float]]] + """ +

The values for the decimal parameter.

+ """ +elif False: + AnalysisDecimalParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDecimalParameterArgs: def __init__(__self__, *, @@ -8041,6 +11666,15 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[float]]]): pulumi.set(self, "values", value) +if not MYPY: + class AnalysisDecimalPlacesConfigurationArgsDict(TypedDict): + decimal_places: pulumi.Input[float] + """ + The values of the decimal places. + """ +elif False: + AnalysisDecimalPlacesConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDecimalPlacesConfigurationArgs: def __init__(__self__, *, @@ -8063,6 +11697,22 @@ def decimal_places(self, value: pulumi.Input[float]): pulumi.set(self, "decimal_places", value) +if not MYPY: + class AnalysisDecimalValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[float]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['AnalysisValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + AnalysisDecimalValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDecimalValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -8108,6 +11758,26 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['AnalysisValueWhe pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class AnalysisDefaultDateTimePickerControlOptionsArgsDict(TypedDict): + commit_mode: NotRequired[pulumi.Input['AnalysisCommitMode']] + """ + The visibility configuration of the Apply button on a `DateTimePickerControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisDateTimePickerControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['AnalysisSheetControlDateTimePickerType']] + """ + The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the following options: + + - `SINGLE_VALUED` : The filter condition is a fixed date. + - `DATE_RANGE` : The filter condition is a date time range. + """ +elif False: + AnalysisDefaultDateTimePickerControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultDateTimePickerControlOptionsArgs: def __init__(__self__, *, @@ -8169,6 +11839,19 @@ def type(self, value: Optional[pulumi.Input['AnalysisSheetControlDateTimePickerT pulumi.set(self, "type", value) +if not MYPY: + class AnalysisDefaultFilterControlConfigurationArgsDict(TypedDict): + control_options: pulumi.Input['AnalysisDefaultFilterControlOptionsArgsDict'] + """ + The control option for the `DefaultFilterControlConfiguration` . + """ + title: pulumi.Input[str] + """ + The title of the `DefaultFilterControlConfiguration` . This title is shared by all controls that are tied to this filter. + """ +elif False: + AnalysisDefaultFilterControlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultFilterControlConfigurationArgs: def __init__(__self__, *, @@ -8206,6 +11889,39 @@ def title(self, value: pulumi.Input[str]): pulumi.set(self, "title", value) +if not MYPY: + class AnalysisDefaultFilterControlOptionsArgsDict(TypedDict): + default_date_time_picker_options: NotRequired[pulumi.Input['AnalysisDefaultDateTimePickerControlOptionsArgsDict']] + """ + The default options that correspond to the filter control type of a `DateTimePicker` . + """ + default_dropdown_options: NotRequired[pulumi.Input['AnalysisDefaultFilterDropDownControlOptionsArgsDict']] + """ + The default options that correspond to the `Dropdown` filter control type. + """ + default_list_options: NotRequired[pulumi.Input['AnalysisDefaultFilterListControlOptionsArgsDict']] + """ + The default options that correspond to the `List` filter control type. + """ + default_relative_date_time_options: NotRequired[pulumi.Input['AnalysisDefaultRelativeDateTimeControlOptionsArgsDict']] + """ + The default options that correspond to the `RelativeDateTime` filter control type. + """ + default_slider_options: NotRequired[pulumi.Input['AnalysisDefaultSliderControlOptionsArgsDict']] + """ + The default options that correspond to the `Slider` filter control type. + """ + default_text_area_options: NotRequired[pulumi.Input['AnalysisDefaultTextAreaControlOptionsArgsDict']] + """ + The default options that correspond to the `TextArea` filter control type. + """ + default_text_field_options: NotRequired[pulumi.Input['AnalysisDefaultTextFieldControlOptionsArgsDict']] + """ + The default options that correspond to the `TextField` filter control type. + """ +elif False: + AnalysisDefaultFilterControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultFilterControlOptionsArgs: def __init__(__self__, *, @@ -8325,6 +12041,30 @@ def default_text_field_options(self, value: Optional[pulumi.Input['AnalysisDefau pulumi.set(self, "default_text_field_options", value) +if not MYPY: + class AnalysisDefaultFilterDropDownControlOptionsArgsDict(TypedDict): + commit_mode: NotRequired[pulumi.Input['AnalysisCommitMode']] + """ + The visibility configuration of the Apply button on a `FilterDropDownControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisDropDownControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['AnalysisFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['AnalysisSheetControlListType']] + """ + The type of the `FilterDropDownControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + - `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + """ +elif False: + AnalysisDefaultFilterDropDownControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultFilterDropDownControlOptionsArgs: def __init__(__self__, *, @@ -8402,6 +12142,26 @@ def type(self, value: Optional[pulumi.Input['AnalysisSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class AnalysisDefaultFilterListControlOptionsArgsDict(TypedDict): + display_options: NotRequired[pulumi.Input['AnalysisListControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['AnalysisFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['AnalysisSheetControlListType']] + """ + The type of the `DefaultFilterListControlOptions` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from the list. + - `SINGLE_SELECT` : The user can select a single entry from the list. + """ +elif False: + AnalysisDefaultFilterListControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultFilterListControlOptionsArgs: def __init__(__self__, *, @@ -8463,6 +12223,15 @@ def type(self, value: Optional[pulumi.Input['AnalysisSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class AnalysisDefaultFreeFormLayoutConfigurationArgsDict(TypedDict): + canvas_size_options: pulumi.Input['AnalysisFreeFormLayoutCanvasSizeOptionsArgsDict'] + """ + Determines the screen canvas size options for a free-form layout. + """ +elif False: + AnalysisDefaultFreeFormLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultFreeFormLayoutConfigurationArgs: def __init__(__self__, *, @@ -8485,6 +12254,15 @@ def canvas_size_options(self, value: pulumi.Input['AnalysisFreeFormLayoutCanvasS pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class AnalysisDefaultGridLayoutConfigurationArgsDict(TypedDict): + canvas_size_options: pulumi.Input['AnalysisGridLayoutCanvasSizeOptionsArgsDict'] + """ + Determines the screen canvas size options for a grid layout. + """ +elif False: + AnalysisDefaultGridLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultGridLayoutConfigurationArgs: def __init__(__self__, *, @@ -8507,6 +12285,19 @@ def canvas_size_options(self, value: pulumi.Input['AnalysisGridLayoutCanvasSizeO pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class AnalysisDefaultInteractiveLayoutConfigurationArgsDict(TypedDict): + free_form: NotRequired[pulumi.Input['AnalysisDefaultFreeFormLayoutConfigurationArgsDict']] + """ + The options that determine the default settings of a free-form layout configuration. + """ + grid: NotRequired[pulumi.Input['AnalysisDefaultGridLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for a grid layout configuration. + """ +elif False: + AnalysisDefaultInteractiveLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultInteractiveLayoutConfigurationArgs: def __init__(__self__, *, @@ -8546,6 +12337,23 @@ def grid(self, value: Optional[pulumi.Input['AnalysisDefaultGridLayoutConfigurat pulumi.set(self, "grid", value) +if not MYPY: + class AnalysisDefaultNewSheetConfigurationArgsDict(TypedDict): + interactive_layout_configuration: NotRequired[pulumi.Input['AnalysisDefaultInteractiveLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for interactive layout configuration. + """ + paginated_layout_configuration: NotRequired[pulumi.Input['AnalysisDefaultPaginatedLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for a paginated layout configuration. + """ + sheet_content_type: NotRequired[pulumi.Input['AnalysisSheetContentType']] + """ + The option that determines the sheet content type. + """ +elif False: + AnalysisDefaultNewSheetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultNewSheetConfigurationArgs: def __init__(__self__, *, @@ -8601,6 +12409,15 @@ def sheet_content_type(self, value: Optional[pulumi.Input['AnalysisSheetContentT pulumi.set(self, "sheet_content_type", value) +if not MYPY: + class AnalysisDefaultPaginatedLayoutConfigurationArgsDict(TypedDict): + section_based: NotRequired[pulumi.Input['AnalysisDefaultSectionBasedLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for a section-based layout configuration. + """ +elif False: + AnalysisDefaultPaginatedLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultPaginatedLayoutConfigurationArgs: def __init__(__self__, *, @@ -8624,6 +12441,19 @@ def section_based(self, value: Optional[pulumi.Input['AnalysisDefaultSectionBase pulumi.set(self, "section_based", value) +if not MYPY: + class AnalysisDefaultRelativeDateTimeControlOptionsArgsDict(TypedDict): + commit_mode: NotRequired[pulumi.Input['AnalysisCommitMode']] + """ + The visibility configuration of the Apply button on a `RelativeDateTimeControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisRelativeDateTimeControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + AnalysisDefaultRelativeDateTimeControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultRelativeDateTimeControlOptionsArgs: def __init__(__self__, *, @@ -8663,6 +12493,15 @@ def display_options(self, value: Optional[pulumi.Input['AnalysisRelativeDateTime pulumi.set(self, "display_options", value) +if not MYPY: + class AnalysisDefaultSectionBasedLayoutConfigurationArgsDict(TypedDict): + canvas_size_options: pulumi.Input['AnalysisSectionBasedLayoutCanvasSizeOptionsArgsDict'] + """ + Determines the screen canvas size options for a section-based layout. + """ +elif False: + AnalysisDefaultSectionBasedLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultSectionBasedLayoutConfigurationArgs: def __init__(__self__, *, @@ -8685,6 +12524,34 @@ def canvas_size_options(self, value: pulumi.Input['AnalysisSectionBasedLayoutCan pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class AnalysisDefaultSliderControlOptionsArgsDict(TypedDict): + maximum_value: pulumi.Input[float] + """ + The larger value that is displayed at the right of the slider. + """ + minimum_value: pulumi.Input[float] + """ + The smaller value that is displayed at the left of the slider. + """ + step_size: pulumi.Input[float] + """ + The number of increments that the slider bar is divided into. + """ + display_options: NotRequired[pulumi.Input['AnalysisSliderControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['AnalysisSheetControlSliderType']] + """ + The type of the `DefaultSliderControlOptions` . Choose one of the following options: + + - `SINGLE_POINT` : Filter against(equals) a single data point. + - `RANGE` : Filter data that is in a specified range. + """ +elif False: + AnalysisDefaultSliderControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultSliderControlOptionsArgs: def __init__(__self__, *, @@ -8775,6 +12642,19 @@ def type(self, value: Optional[pulumi.Input['AnalysisSheetControlSliderType']]): pulumi.set(self, "type", value) +if not MYPY: + class AnalysisDefaultTextAreaControlOptionsArgsDict(TypedDict): + delimiter: NotRequired[pulumi.Input[str]] + """ + The delimiter that is used to separate the lines in text. + """ + display_options: NotRequired[pulumi.Input['AnalysisTextAreaControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + AnalysisDefaultTextAreaControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultTextAreaControlOptionsArgs: def __init__(__self__, *, @@ -8814,6 +12694,15 @@ def display_options(self, value: Optional[pulumi.Input['AnalysisTextAreaControlD pulumi.set(self, "display_options", value) +if not MYPY: + class AnalysisDefaultTextFieldControlOptionsArgsDict(TypedDict): + display_options: NotRequired[pulumi.Input['AnalysisTextFieldControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + AnalysisDefaultTextFieldControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultTextFieldControlOptionsArgs: def __init__(__self__, *, @@ -8837,6 +12726,15 @@ def display_options(self, value: Optional[pulumi.Input['AnalysisTextFieldControl pulumi.set(self, "display_options", value) +if not MYPY: + class AnalysisDefaultsArgsDict(TypedDict): + default_new_sheet_configuration: pulumi.Input['AnalysisDefaultNewSheetConfigurationArgsDict'] + """ + The configuration for default new sheet settings. + """ +elif False: + AnalysisDefaultsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefaultsArgs: def __init__(__self__, *, @@ -8859,6 +12757,47 @@ def default_new_sheet_configuration(self, value: pulumi.Input['AnalysisDefaultNe pulumi.set(self, "default_new_sheet_configuration", value) +if not MYPY: + class AnalysisDefinitionArgsDict(TypedDict): + data_set_identifier_declarations: pulumi.Input[Sequence[pulumi.Input['AnalysisDataSetIdentifierDeclarationArgsDict']]] + """ + An array of dataset identifier declarations. This mapping allows the usage of dataset identifiers instead of dataset ARNs throughout analysis sub-structures. + """ + analysis_defaults: NotRequired[pulumi.Input['AnalysisDefaultsArgsDict']] + calculated_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisCalculatedFieldArgsDict']]]] + """ + An array of calculated field definitions for the analysis. + """ + column_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnConfigurationArgsDict']]]] + """ + An array of analysis-level column configurations. Column configurations can be used to set default formatting for a column to be used throughout an analysis. + """ + filter_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFilterGroupArgsDict']]]] + """ + Filter definitions for an analysis. + + For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* . + """ + options: NotRequired[pulumi.Input['AnalysisAssetOptionsArgsDict']] + """ + An array of option definitions for an analysis. + """ + parameter_declarations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisParameterDeclarationArgsDict']]]] + """ + An array of parameter declarations for an analysis. + + Parameters are named variables that can transfer a value for use by an action or an object. + + For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* . + """ + query_execution_options: NotRequired[pulumi.Input['AnalysisQueryExecutionOptionsArgsDict']] + sheets: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisSheetDefinitionArgsDict']]]] + """ + An array of sheet definitions for an analysis. Each `SheetDefinition` provides detailed information about a sheet within this analysis. + """ +elif False: + AnalysisDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDefinitionArgs: def __init__(__self__, *, @@ -9013,6 +12952,28 @@ def sheets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisShe pulumi.set(self, "sheets", value) +if not MYPY: + class AnalysisDestinationParameterValueConfigurationArgsDict(TypedDict): + custom_values_configuration: NotRequired[pulumi.Input['AnalysisCustomValuesConfigurationArgsDict']] + """ + The configuration of custom values for destination parameter in `DestinationParameterValueConfiguration` . + """ + select_all_value_options: NotRequired[pulumi.Input['AnalysisSelectAllValueOptions']] + """ + The configuration that selects all options. + """ + source_column: NotRequired[pulumi.Input['AnalysisColumnIdentifierArgsDict']] + source_field: NotRequired[pulumi.Input[str]] + """ + The source field ID of the destination parameter. + """ + source_parameter_name: NotRequired[pulumi.Input[str]] + """ + The source parameter name of the destination parameter. + """ +elif False: + AnalysisDestinationParameterValueConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDestinationParameterValueConfigurationArgs: def __init__(__self__, *, @@ -9096,6 +13057,23 @@ def source_parameter_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_parameter_name", value) +if not MYPY: + class AnalysisDimensionFieldArgsDict(TypedDict): + categorical_dimension_field: NotRequired[pulumi.Input['AnalysisCategoricalDimensionFieldArgsDict']] + """ + The dimension type field with categorical type columns. + """ + date_dimension_field: NotRequired[pulumi.Input['AnalysisDateDimensionFieldArgsDict']] + """ + The dimension type field with date type columns. + """ + numerical_dimension_field: NotRequired[pulumi.Input['AnalysisNumericalDimensionFieldArgsDict']] + """ + The dimension type field with numerical type columns. + """ +elif False: + AnalysisDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDimensionFieldArgs: def __init__(__self__, *, @@ -9151,6 +13129,15 @@ def numerical_dimension_field(self, value: Optional[pulumi.Input['AnalysisNumeri pulumi.set(self, "numerical_dimension_field", value) +if not MYPY: + class AnalysisDonutCenterOptionsArgsDict(TypedDict): + label_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines the visibility of the label in a donut chart. In the Amazon QuickSight console, this option is called `'Show total'` . + """ +elif False: + AnalysisDonutCenterOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDonutCenterOptionsArgs: def __init__(__self__, *, @@ -9174,6 +13161,24 @@ def label_visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "label_visibility", value) +if not MYPY: + class AnalysisDonutOptionsArgsDict(TypedDict): + arc_options: NotRequired[pulumi.Input['AnalysisArcOptionsArgsDict']] + """ + The option for define the arc of the chart shape. Valid values are as follows: + + - `WHOLE` - A pie chart + - `SMALL` - A small-sized donut chart + - `MEDIUM` - A medium-sized donut chart + - `LARGE` - A large-sized donut chart + """ + donut_center_options: NotRequired[pulumi.Input['AnalysisDonutCenterOptionsArgsDict']] + """ + The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts. + """ +elif False: + AnalysisDonutOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDonutOptionsArgs: def __init__(__self__, *, @@ -9223,6 +13228,23 @@ def donut_center_options(self, value: Optional[pulumi.Input['AnalysisDonutCenter pulumi.set(self, "donut_center_options", value) +if not MYPY: + class AnalysisDrillDownFilterArgsDict(TypedDict): + category_filter: NotRequired[pulumi.Input['AnalysisCategoryDrillDownFilterArgsDict']] + """ + The category type drill down filter. This filter is used for string type columns. + """ + numeric_equality_filter: NotRequired[pulumi.Input['AnalysisNumericEqualityDrillDownFilterArgsDict']] + """ + The numeric equality type drill down filter. This filter is used for number type columns. + """ + time_range_filter: NotRequired[pulumi.Input['AnalysisTimeRangeDrillDownFilterArgsDict']] + """ + The time range drill down filter. This filter is used for date time columns. + """ +elif False: + AnalysisDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDrillDownFilterArgs: def __init__(__self__, *, @@ -9278,6 +13300,23 @@ def time_range_filter(self, value: Optional[pulumi.Input['AnalysisTimeRangeDrill pulumi.set(self, "time_range_filter", value) +if not MYPY: + class AnalysisDropDownControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['AnalysisSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + select_all_options: NotRequired[pulumi.Input['AnalysisListControlSelectAllOptionsArgsDict']] + """ + The configuration of the `Select all` options in a dropdown control. + """ + title_options: NotRequired[pulumi.Input['AnalysisLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + AnalysisDropDownControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDropDownControlDisplayOptionsArgs: def __init__(__self__, *, @@ -9333,6 +13372,23 @@ def title_options(self, value: Optional[pulumi.Input['AnalysisLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class AnalysisDynamicDefaultValueArgsDict(TypedDict): + default_value_column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that contains the default value of each user or group. + """ + group_name_column: NotRequired[pulumi.Input['AnalysisColumnIdentifierArgsDict']] + """ + The column that contains the group name. + """ + user_name_column: NotRequired[pulumi.Input['AnalysisColumnIdentifierArgsDict']] + """ + The column that contains the username. + """ +elif False: + AnalysisDynamicDefaultValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisDynamicDefaultValueArgs: def __init__(__self__, *, @@ -9387,6 +13443,23 @@ def user_name_column(self, value: Optional[pulumi.Input['AnalysisColumnIdentifie pulumi.set(self, "user_name_column", value) +if not MYPY: + class AnalysisEmptyVisualArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The data set that is used in the empty visual. Every visual requires a dataset to render. + """ + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ +elif False: + AnalysisEmptyVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisEmptyVisualArgs: def __init__(__self__, *, @@ -9440,6 +13513,15 @@ def actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisVi pulumi.set(self, "actions", value) +if not MYPY: + class AnalysisEntityArgsDict(TypedDict): + path: NotRequired[pulumi.Input[str]] + """ + The hierarchical path of the entity within the analysis, template, or dashboard definition tree. + """ +elif False: + AnalysisEntityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisEntityArgs: def __init__(__self__, *, @@ -9463,6 +13545,26 @@ def path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "path", value) +if not MYPY: + class AnalysisErrorArgsDict(TypedDict): + """ +

Analysis error.

+ """ + message: NotRequired[pulumi.Input[str]] + """ +

The message associated with the analysis error.

+ """ + type: NotRequired[pulumi.Input['AnalysisErrorType']] + """ + The type of the analysis error. + """ + violated_entities: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisEntityArgsDict']]]] + """ +

Lists the violated entities that caused the analysis error

+ """ +elif False: + AnalysisErrorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisErrorArgs: def __init__(__self__, *, @@ -9519,6 +13621,26 @@ def violated_entities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "violated_entities", value) +if not MYPY: + class AnalysisExcludePeriodConfigurationArgsDict(TypedDict): + amount: pulumi.Input[float] + """ + The amount or number of the exclude period. + """ + granularity: pulumi.Input['AnalysisTimeGranularity'] + """ + The granularity or unit (day, month, year) of the exclude period. + """ + status: NotRequired[pulumi.Input['AnalysisWidgetStatus']] + """ + The status of the exclude period. Choose from the following options: + + - `ENABLED` + - `DISABLED` + """ +elif False: + AnalysisExcludePeriodConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisExcludePeriodConfigurationArgs: def __init__(__self__, *, @@ -9578,6 +13700,23 @@ def status(self, value: Optional[pulumi.Input['AnalysisWidgetStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class AnalysisExplicitHierarchyArgsDict(TypedDict): + columns: pulumi.Input[Sequence[pulumi.Input['AnalysisColumnIdentifierArgsDict']]] + """ + The list of columns that define the explicit hierarchy. + """ + hierarchy_id: pulumi.Input[str] + """ + The hierarchy ID of the explicit hierarchy. + """ + drill_down_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDrillDownFilterArgsDict']]]] + """ + The option that determines the drill down filters for the explicit hierarchy. + """ +elif False: + AnalysisExplicitHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisExplicitHierarchyArgs: def __init__(__self__, *, @@ -9631,6 +13770,26 @@ def drill_down_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "drill_down_filters", value) +if not MYPY: + class AnalysisFieldBasedTooltipArgsDict(TypedDict): + aggregation_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of `Show aggregations` . + """ + tooltip_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisTooltipItemArgsDict']]]] + """ + The fields configuration in the tooltip. + """ + tooltip_title_type: NotRequired[pulumi.Input['AnalysisTooltipTitleType']] + """ + The type for the >tooltip title. Choose one of the following options: + + - `NONE` : Doesn't use the primary value as the title. + - `PRIMARY_VALUE` : Uses primary value as the title. + """ +elif False: + AnalysisFieldBasedTooltipArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFieldBasedTooltipArgs: def __init__(__self__, *, @@ -9692,6 +13851,19 @@ def tooltip_title_type(self, value: Optional[pulumi.Input['AnalysisTooltipTitleT pulumi.set(self, "tooltip_title_type", value) +if not MYPY: + class AnalysisFieldLabelTypeArgsDict(TypedDict): + field_id: NotRequired[pulumi.Input[str]] + """ + Indicates the field that is targeted by the field label. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the field label. + """ +elif False: + AnalysisFieldLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFieldLabelTypeArgs: def __init__(__self__, *, @@ -9731,6 +13903,23 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisFieldSeriesItemArgsDict(TypedDict): + axis_binding: pulumi.Input['AnalysisAxisBinding'] + """ + The axis that you are binding the field to. + """ + field_id: pulumi.Input[str] + """ + The field ID of the field for which you are setting the axis binding. + """ + settings: NotRequired[pulumi.Input['AnalysisLineChartSeriesSettingsArgsDict']] + """ + The options that determine the presentation of line series associated to the field. + """ +elif False: + AnalysisFieldSeriesItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFieldSeriesItemArgs: def __init__(__self__, *, @@ -9784,6 +13973,19 @@ def settings(self, value: Optional[pulumi.Input['AnalysisLineChartSeriesSettings pulumi.set(self, "settings", value) +if not MYPY: + class AnalysisFieldSortOptionsArgsDict(TypedDict): + column_sort: NotRequired[pulumi.Input['AnalysisColumnSortArgsDict']] + """ + The sort configuration for a column that is not used in a field well. + """ + field_sort: NotRequired[pulumi.Input['AnalysisFieldSortArgsDict']] + """ + The sort configuration for a field in a field well. + """ +elif False: + AnalysisFieldSortOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFieldSortOptionsArgs: def __init__(__self__, *, @@ -9823,6 +14025,22 @@ def field_sort(self, value: Optional[pulumi.Input['AnalysisFieldSortArgs']]): pulumi.set(self, "field_sort", value) +if not MYPY: + class AnalysisFieldSortArgsDict(TypedDict): + direction: pulumi.Input['AnalysisSortDirection'] + """ + The sort direction. Choose one of the following options: + + - `ASC` : Ascending + - `DESC` : Descending + """ + field_id: pulumi.Input[str] + """ + The sort configuration target field. + """ +elif False: + AnalysisFieldSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFieldSortArgs: def __init__(__self__, *, @@ -9866,6 +14084,27 @@ def field_id(self, value: pulumi.Input[str]): pulumi.set(self, "field_id", value) +if not MYPY: + class AnalysisFieldTooltipItemArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The unique ID of the field that is targeted by the tooltip. + """ + label: NotRequired[pulumi.Input[str]] + """ + The label of the tooltip item. + """ + tooltip_target: NotRequired[pulumi.Input['AnalysisTooltipTarget']] + """ + Determines the target of the field tooltip item in a combo chart visual. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the tooltip item. + """ +elif False: + AnalysisFieldTooltipItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFieldTooltipItemArgs: def __init__(__self__, *, @@ -9936,6 +14175,19 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisFilledMapAggregatedFieldWellsArgsDict(TypedDict): + geospatial: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The aggregated location field well of the filled map. Values are grouped by location fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The aggregated color field well of a filled map. Values are aggregated based on location fields. + """ +elif False: + AnalysisFilledMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilledMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -9975,6 +14227,15 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisFilledMapConditionalFormattingOptionArgsDict(TypedDict): + shape: pulumi.Input['AnalysisFilledMapShapeConditionalFormattingArgsDict'] + """ + The conditional formatting that determines the shape of the filled map. + """ +elif False: + AnalysisFilledMapConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilledMapConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -9997,6 +14258,15 @@ def shape(self, value: pulumi.Input['AnalysisFilledMapShapeConditionalFormatting pulumi.set(self, "shape", value) +if not MYPY: + class AnalysisFilledMapConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: pulumi.Input[Sequence[pulumi.Input['AnalysisFilledMapConditionalFormattingOptionArgsDict']]] + """ + Conditional formatting options of a `FilledMapVisual` . + """ +elif False: + AnalysisFilledMapConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilledMapConditionalFormattingArgs: def __init__(__self__, *, @@ -10019,6 +14289,35 @@ def conditional_formatting_options(self, value: pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class AnalysisFilledMapConfigurationArgsDict(TypedDict): + field_wells: NotRequired[pulumi.Input['AnalysisFilledMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + map_style_options: NotRequired[pulumi.Input['AnalysisGeospatialMapStyleOptionsArgsDict']] + """ + The map style options of the filled map visual. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisFilledMapSortConfigurationArgsDict']] + """ + The sort configuration of a `FilledMapVisual` . + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + window_options: NotRequired[pulumi.Input['AnalysisGeospatialWindowOptionsArgsDict']] + """ + The window options of the filled map visual. + """ +elif False: + AnalysisFilledMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilledMapConfigurationArgs: def __init__(__self__, *, @@ -10122,6 +14421,15 @@ def window_options(self, value: Optional[pulumi.Input['AnalysisGeospatialWindowO pulumi.set(self, "window_options", value) +if not MYPY: + class AnalysisFilledMapFieldWellsArgsDict(TypedDict): + filled_map_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisFilledMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field well of the filled map. + """ +elif False: + AnalysisFilledMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilledMapFieldWellsArgs: def __init__(__self__, *, @@ -10145,6 +14453,19 @@ def filled_map_aggregated_field_wells(self, value: Optional[pulumi.Input['Analys pulumi.set(self, "filled_map_aggregated_field_wells", value) +if not MYPY: + class AnalysisFilledMapShapeConditionalFormattingArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the filled map shape. + """ + format: NotRequired[pulumi.Input['AnalysisShapeConditionalFormatArgsDict']] + """ + The conditional formatting that determines the background color of a filled map's shape. + """ +elif False: + AnalysisFilledMapShapeConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilledMapShapeConditionalFormattingArgs: def __init__(__self__, *, @@ -10183,6 +14504,15 @@ def format(self, value: Optional[pulumi.Input['AnalysisShapeConditionalFormatArg pulumi.set(self, "format", value) +if not MYPY: + class AnalysisFilledMapSortConfigurationArgsDict(TypedDict): + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the location fields. + """ +elif False: + AnalysisFilledMapSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilledMapSortConfigurationArgs: def __init__(__self__, *, @@ -10206,6 +14536,39 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Anal pulumi.set(self, "category_sort", value) +if not MYPY: + class AnalysisFilledMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisFilledMapConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + conditional_formatting: NotRequired[pulumi.Input['AnalysisFilledMapConditionalFormattingArgsDict']] + """ + The conditional formatting of a `FilledMapVisual` . + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisFilledMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilledMapVisualArgs: def __init__(__self__, *, @@ -10324,6 +14687,43 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisFilterControlArgsDict(TypedDict): + cross_sheet: NotRequired[pulumi.Input['AnalysisFilterCrossSheetControlArgsDict']] + """ + A control from a filter that is scoped across more than one sheet. This represents your filter control on a sheet + """ + date_time_picker: NotRequired[pulumi.Input['AnalysisFilterDateTimePickerControlArgsDict']] + """ + A control from a date filter that is used to specify date and time. + """ + dropdown: NotRequired[pulumi.Input['AnalysisFilterDropDownControlArgsDict']] + """ + A control to display a dropdown list with buttons that are used to select a single value. + """ + list: NotRequired[pulumi.Input['AnalysisFilterListControlArgsDict']] + """ + A control to display a list of buttons or boxes. This is used to select either a single value or multiple values. + """ + relative_date_time: NotRequired[pulumi.Input['AnalysisFilterRelativeDateTimeControlArgsDict']] + """ + A control from a date filter that is used to specify the relative date. + """ + slider: NotRequired[pulumi.Input['AnalysisFilterSliderControlArgsDict']] + """ + A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle. + """ + text_area: NotRequired[pulumi.Input['AnalysisFilterTextAreaControlArgsDict']] + """ + A control to display a text box that is used to enter multiple entries. + """ + text_field: NotRequired[pulumi.Input['AnalysisFilterTextFieldControlArgsDict']] + """ + A control to display a text box that is used to enter a single entry. + """ +elif False: + AnalysisFilterControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterControlArgs: def __init__(__self__, *, @@ -10459,6 +14859,23 @@ def text_field(self, value: Optional[pulumi.Input['AnalysisFilterTextFieldContro pulumi.set(self, "text_field", value) +if not MYPY: + class AnalysisFilterCrossSheetControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterCrossSheetControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterCrossSheetControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['AnalysisCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ +elif False: + AnalysisFilterCrossSheetControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterCrossSheetControlArgs: def __init__(__self__, *, @@ -10512,6 +14929,38 @@ def cascading_control_configuration(self, value: Optional[pulumi.Input['Analysis pulumi.set(self, "cascading_control_configuration", value) +if not MYPY: + class AnalysisFilterDateTimePickerControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterDateTimePickerControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterDateTimePickerControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterDateTimePickerControl` . + """ + commit_mode: NotRequired[pulumi.Input['AnalysisCommitMode']] + """ + The visibility configurationof the Apply button on a `DateTimePickerControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisDateTimePickerControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['AnalysisSheetControlDateTimePickerType']] + """ + The type of the `FilterDropDownControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + - `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + """ +elif False: + AnalysisFilterDateTimePickerControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterDateTimePickerControlArgs: def __init__(__self__, *, @@ -10618,6 +15067,46 @@ def type(self, value: Optional[pulumi.Input['AnalysisSheetControlDateTimePickerT pulumi.set(self, "type", value) +if not MYPY: + class AnalysisFilterDropDownControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterDropDownControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterDropDownControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterDropDownControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['AnalysisCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + commit_mode: NotRequired[pulumi.Input['AnalysisCommitMode']] + """ + The visibility configuration of the Apply button on a `FilterDropDownControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisDropDownControlDisplayOptionsArgsDict']] + """ + The display options of the `FilterDropDownControl` . + """ + selectable_values: NotRequired[pulumi.Input['AnalysisFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['AnalysisSheetControlListType']] + """ + The type of the `FilterDropDownControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + - `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + """ +elif False: + AnalysisFilterDropDownControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterDropDownControlArgs: def __init__(__self__, *, @@ -10756,6 +15245,36 @@ def type(self, value: Optional[pulumi.Input['AnalysisSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class AnalysisFilterGroupArgsDict(TypedDict): + cross_dataset: pulumi.Input['AnalysisCrossDatasetTypes'] + """ + The filter new feature which can apply filter group to all data sets. Choose one of the following options: + + - `ALL_DATASETS` + - `SINGLE_DATASET` + """ + filter_group_id: pulumi.Input[str] + """ + The value that uniquely identifies a `FilterGroup` within a dashboard, template, or analysis. + """ + filters: pulumi.Input[Sequence[pulumi.Input['AnalysisFilterArgsDict']]] + """ + The list of filters that are present in a `FilterGroup` . + """ + scope_configuration: pulumi.Input['AnalysisFilterScopeConfigurationArgsDict'] + """ + The configuration that specifies what scope to apply to a `FilterGroup` . + + This is a union type structure. For this structure to be valid, only one of the attributes can be defined. + """ + status: NotRequired[pulumi.Input['AnalysisWidgetStatus']] + """ + The status of the `FilterGroup` . + """ +elif False: + AnalysisFilterGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterGroupArgs: def __init__(__self__, *, @@ -10849,6 +15368,33 @@ def status(self, value: Optional[pulumi.Input['AnalysisWidgetStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class AnalysisFilterListConfigurationArgsDict(TypedDict): + match_operator: pulumi.Input['AnalysisCategoryFilterMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + category_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of category values for the filter. + """ + null_option: NotRequired[pulumi.Input['AnalysisFilterNullOption']] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + select_all_options: NotRequired[pulumi.Input['AnalysisCategoryFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + AnalysisFilterListConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterListConfigurationArgs: def __init__(__self__, *, @@ -10931,6 +15477,42 @@ def select_all_options(self, value: Optional[pulumi.Input['AnalysisCategoryFilte pulumi.set(self, "select_all_options", value) +if not MYPY: + class AnalysisFilterListControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterListControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterListControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterListControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['AnalysisCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + display_options: NotRequired[pulumi.Input['AnalysisListControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['AnalysisFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['AnalysisSheetControlListType']] + """ + The type of the `FilterListControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from the list. + - `SINGLE_SELECT` : The user can select a single entry from the list. + """ +elif False: + AnalysisFilterListControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterListControlArgs: def __init__(__self__, *, @@ -11053,6 +15635,27 @@ def type(self, value: Optional[pulumi.Input['AnalysisSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class AnalysisFilterOperationSelectedFieldsConfigurationArgsDict(TypedDict): + selected_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnIdentifierArgsDict']]]] + """ +

The selected columns of a dataset.

+ """ + selected_field_options: NotRequired[pulumi.Input['AnalysisSelectedFieldOptions']] + """ + A structure that contains the options that choose which fields are filtered in the `CustomActionFilterOperation` . + + Valid values are defined as follows: + + - `ALL_FIELDS` : Applies the filter operation to all fields. + """ + selected_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Chooses the fields that are filtered in `CustomActionFilterOperation` . + """ +elif False: + AnalysisFilterOperationSelectedFieldsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterOperationSelectedFieldsConfigurationArgs: def __init__(__self__, *, @@ -11116,6 +15719,15 @@ def selected_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "selected_fields", value) +if not MYPY: + class AnalysisFilterOperationTargetVisualsConfigurationArgsDict(TypedDict): + same_sheet_target_visual_configuration: NotRequired[pulumi.Input['AnalysisSameSheetTargetVisualConfigurationArgsDict']] + """ + The configuration of the same-sheet target visuals that you want to be filtered. + """ +elif False: + AnalysisFilterOperationTargetVisualsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterOperationTargetVisualsConfigurationArgs: def __init__(__self__, *, @@ -11139,6 +15751,31 @@ def same_sheet_target_visual_configuration(self, value: Optional[pulumi.Input['A pulumi.set(self, "same_sheet_target_visual_configuration", value) +if not MYPY: + class AnalysisFilterRelativeDateTimeControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterTextAreaControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterTextAreaControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterTextAreaControl` . + """ + commit_mode: NotRequired[pulumi.Input['AnalysisCommitMode']] + """ + The visibility configuration of the Apply button on a `FilterRelativeDateTimeControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisRelativeDateTimeControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + AnalysisFilterRelativeDateTimeControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterRelativeDateTimeControlArgs: def __init__(__self__, *, @@ -11223,6 +15860,19 @@ def display_options(self, value: Optional[pulumi.Input['AnalysisRelativeDateTime pulumi.set(self, "display_options", value) +if not MYPY: + class AnalysisFilterScopeConfigurationArgsDict(TypedDict): + all_sheets: NotRequired[pulumi.Input['AnalysisAllSheetsFilterScopeConfigurationArgsDict']] + """ + The configuration that applies a filter to all sheets. When you choose `AllSheets` as the value for a `FilterScopeConfiguration` , this filter is applied to all visuals of all sheets in an Analysis, Dashboard, or Template. The `AllSheetsFilterScopeConfiguration` is chosen. + """ + selected_sheets: NotRequired[pulumi.Input['AnalysisSelectedSheetsFilterScopeConfigurationArgsDict']] + """ + The configuration for applying a filter to specific sheets. + """ +elif False: + AnalysisFilterScopeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterScopeConfigurationArgs: def __init__(__self__, *, @@ -11262,6 +15912,15 @@ def selected_sheets(self, value: Optional[pulumi.Input['AnalysisSelectedSheetsFi pulumi.set(self, "selected_sheets", value) +if not MYPY: + class AnalysisFilterSelectableValuesArgsDict(TypedDict): + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The values that are used in the `FilterSelectableValues` . + """ +elif False: + AnalysisFilterSelectableValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterSelectableValuesArgs: def __init__(__self__, *, @@ -11285,6 +15944,46 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class AnalysisFilterSliderControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterSliderControl` . + """ + maximum_value: pulumi.Input[float] + """ + The larger value that is displayed at the right of the slider. + """ + minimum_value: pulumi.Input[float] + """ + The smaller value that is displayed at the left of the slider. + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterSliderControl` . + """ + step_size: pulumi.Input[float] + """ + The number of increments that the slider bar is divided into. + """ + title: pulumi.Input[str] + """ + The title of the `FilterSliderControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisSliderControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['AnalysisSheetControlSliderType']] + """ + The type of the `FilterSliderControl` . Choose one of the following options: + + - `SINGLE_POINT` : Filter against(equals) a single data point. + - `RANGE` : Filter data that is in a specified range. + """ +elif False: + AnalysisFilterSliderControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterSliderControlArgs: def __init__(__self__, *, @@ -11420,6 +16119,31 @@ def type(self, value: Optional[pulumi.Input['AnalysisSheetControlSliderType']]): pulumi.set(self, "type", value) +if not MYPY: + class AnalysisFilterTextAreaControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterTextAreaControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterTextAreaControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterTextAreaControl` . + """ + delimiter: NotRequired[pulumi.Input[str]] + """ + The delimiter that is used to separate the lines in text. + """ + display_options: NotRequired[pulumi.Input['AnalysisTextAreaControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + AnalysisFilterTextAreaControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterTextAreaControlArgs: def __init__(__self__, *, @@ -11504,6 +16228,27 @@ def display_options(self, value: Optional[pulumi.Input['AnalysisTextAreaControlD pulumi.set(self, "display_options", value) +if not MYPY: + class AnalysisFilterTextFieldControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterTextFieldControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterTextFieldControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterTextFieldControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisTextFieldControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + AnalysisFilterTextFieldControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterTextFieldControlArgs: def __init__(__self__, *, @@ -11572,6 +16317,45 @@ def display_options(self, value: Optional[pulumi.Input['AnalysisTextFieldControl pulumi.set(self, "display_options", value) +if not MYPY: + class AnalysisFilterArgsDict(TypedDict): + category_filter: NotRequired[pulumi.Input['AnalysisCategoryFilterArgsDict']] + """ + A `CategoryFilter` filters text values. + + For more information, see [Adding text filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in the *Amazon QuickSight User Guide* . + """ + nested_filter: NotRequired[pulumi.Input['AnalysisNestedFilterArgsDict']] + """ + A `NestedFilter` filters data with a subset of data that is defined by the nested inner filter. + """ + numeric_equality_filter: NotRequired[pulumi.Input['AnalysisNumericEqualityFilterArgsDict']] + """ + A `NumericEqualityFilter` filters numeric values that equal or do not equal a given numeric value. + """ + numeric_range_filter: NotRequired[pulumi.Input['AnalysisNumericRangeFilterArgsDict']] + """ + A `NumericRangeFilter` filters numeric values that are either inside or outside a given numeric range. + """ + relative_dates_filter: NotRequired[pulumi.Input['AnalysisRelativeDatesFilterArgsDict']] + """ + A `RelativeDatesFilter` filters date values that are relative to a given date. + """ + time_equality_filter: NotRequired[pulumi.Input['AnalysisTimeEqualityFilterArgsDict']] + """ + A `TimeEqualityFilter` filters date-time values that equal or do not equal a given date/time value. + """ + time_range_filter: NotRequired[pulumi.Input['AnalysisTimeRangeFilterArgsDict']] + """ + A `TimeRangeFilter` filters date-time values that are either inside or outside a given date/time range. + """ + top_bottom_filter: NotRequired[pulumi.Input['AnalysisTopBottomFilterArgsDict']] + """ + A `TopBottomFilter` filters data to the top or bottom values for a given column. + """ +elif False: + AnalysisFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFilterArgs: def __init__(__self__, *, @@ -11711,6 +16495,31 @@ def top_bottom_filter(self, value: Optional[pulumi.Input['AnalysisTopBottomFilte pulumi.set(self, "top_bottom_filter", value) +if not MYPY: + class AnalysisFontConfigurationArgsDict(TypedDict): + font_color: NotRequired[pulumi.Input[str]] + """ + Determines the color of the text. + """ + font_decoration: NotRequired[pulumi.Input['AnalysisFontDecoration']] + """ + Determines the appearance of decorative lines on the text. + """ + font_size: NotRequired[pulumi.Input['AnalysisFontSizeArgsDict']] + """ + The option that determines the text display size. + """ + font_style: NotRequired[pulumi.Input['AnalysisFontStyle']] + """ + Determines the text display face that is inherited by the given font family. + """ + font_weight: NotRequired[pulumi.Input['AnalysisFontWeightArgsDict']] + """ + The option that determines the text display weight, or boldness. + """ +elif False: + AnalysisFontConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFontConfigurationArgs: def __init__(__self__, *, @@ -11798,6 +16607,15 @@ def font_weight(self, value: Optional[pulumi.Input['AnalysisFontWeightArgs']]): pulumi.set(self, "font_weight", value) +if not MYPY: + class AnalysisFontSizeArgsDict(TypedDict): + relative: NotRequired[pulumi.Input['AnalysisRelativeFontSize']] + """ + The lexical name for the text size, proportional to its surrounding context. + """ +elif False: + AnalysisFontSizeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFontSizeArgs: def __init__(__self__, *, @@ -11821,6 +16639,15 @@ def relative(self, value: Optional[pulumi.Input['AnalysisRelativeFontSize']]): pulumi.set(self, "relative", value) +if not MYPY: + class AnalysisFontWeightArgsDict(TypedDict): + name: NotRequired[pulumi.Input['AnalysisFontWeightName']] + """ + The lexical name for the level of boldness of the text display. + """ +elif False: + AnalysisFontWeightArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFontWeightArgs: def __init__(__self__, *, @@ -11844,6 +16671,58 @@ def name(self, value: Optional[pulumi.Input['AnalysisFontWeightName']]): pulumi.set(self, "name", value) +if not MYPY: + class AnalysisForecastComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + custom_seasonality_value: NotRequired[pulumi.Input[float]] + """ + The custom seasonality value setup of a forecast computation. + """ + lower_boundary: NotRequired[pulumi.Input[float]] + """ + The lower boundary setup of a forecast computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + periods_backward: NotRequired[pulumi.Input[float]] + """ + The periods backward setup of a forecast computation. + """ + periods_forward: NotRequired[pulumi.Input[float]] + """ + The periods forward setup of a forecast computation. + """ + prediction_interval: NotRequired[pulumi.Input[float]] + """ + The prediction interval setup of a forecast computation. + """ + seasonality: NotRequired[pulumi.Input['AnalysisForecastComputationSeasonality']] + """ + The seasonality setup of a forecast computation. Choose one of the following options: + + - `AUTOMATIC` + - `CUSTOM` : Checks the custom seasonality value. + """ + time: NotRequired[pulumi.Input['AnalysisDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + upper_boundary: NotRequired[pulumi.Input[float]] + """ + The upper boundary setup of a forecast computation. + """ + value: NotRequired[pulumi.Input['AnalysisMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + AnalysisForecastComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisForecastComputationArgs: def __init__(__self__, *, @@ -12032,6 +16911,19 @@ def value(self, value: Optional[pulumi.Input['AnalysisMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisForecastConfigurationArgsDict(TypedDict): + forecast_properties: NotRequired[pulumi.Input['AnalysisTimeBasedForecastPropertiesArgsDict']] + """ + The forecast properties setup of a forecast in the line chart. + """ + scenario: NotRequired[pulumi.Input['AnalysisForecastScenarioArgsDict']] + """ + The forecast scenario of a forecast in the line chart. + """ +elif False: + AnalysisForecastConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisForecastConfigurationArgs: def __init__(__self__, *, @@ -12071,6 +16963,19 @@ def scenario(self, value: Optional[pulumi.Input['AnalysisForecastScenarioArgs']] pulumi.set(self, "scenario", value) +if not MYPY: + class AnalysisForecastScenarioArgsDict(TypedDict): + what_if_point_scenario: NotRequired[pulumi.Input['AnalysisWhatIfPointScenarioArgsDict']] + """ + The what-if analysis forecast setup with the target date. + """ + what_if_range_scenario: NotRequired[pulumi.Input['AnalysisWhatIfRangeScenarioArgsDict']] + """ + The what-if analysis forecast setup with the date range. + """ +elif False: + AnalysisForecastScenarioArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisForecastScenarioArgs: def __init__(__self__, *, @@ -12110,6 +17015,23 @@ def what_if_range_scenario(self, value: Optional[pulumi.Input['AnalysisWhatIfRan pulumi.set(self, "what_if_range_scenario", value) +if not MYPY: + class AnalysisFormatConfigurationArgsDict(TypedDict): + date_time_format_configuration: NotRequired[pulumi.Input['AnalysisDateTimeFormatConfigurationArgsDict']] + """ + Formatting configuration for `DateTime` fields. + """ + number_format_configuration: NotRequired[pulumi.Input['AnalysisNumberFormatConfigurationArgsDict']] + """ + Formatting configuration for number fields. + """ + string_format_configuration: NotRequired[pulumi.Input['AnalysisStringFormatConfigurationArgsDict']] + """ + Formatting configuration for string fields. + """ +elif False: + AnalysisFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFormatConfigurationArgs: def __init__(__self__, *, @@ -12165,6 +17087,15 @@ def string_format_configuration(self, value: Optional[pulumi.Input['AnalysisStri pulumi.set(self, "string_format_configuration", value) +if not MYPY: + class AnalysisFreeFormLayoutCanvasSizeOptionsArgsDict(TypedDict): + screen_canvas_size_options: NotRequired[pulumi.Input['AnalysisFreeFormLayoutScreenCanvasSizeOptionsArgsDict']] + """ + The options that determine the sizing of the canvas used in a free-form layout. + """ +elif False: + AnalysisFreeFormLayoutCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFreeFormLayoutCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -12188,6 +17119,16 @@ def screen_canvas_size_options(self, value: Optional[pulumi.Input['AnalysisFreeF pulumi.set(self, "screen_canvas_size_options", value) +if not MYPY: + class AnalysisFreeFormLayoutConfigurationArgsDict(TypedDict): + elements: pulumi.Input[Sequence[pulumi.Input['AnalysisFreeFormLayoutElementArgsDict']]] + """ + The elements that are included in a free-form layout. + """ + canvas_size_options: NotRequired[pulumi.Input['AnalysisFreeFormLayoutCanvasSizeOptionsArgsDict']] +elif False: + AnalysisFreeFormLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFreeFormLayoutConfigurationArgs: def __init__(__self__, *, @@ -12222,6 +17163,19 @@ def canvas_size_options(self, value: Optional[pulumi.Input['AnalysisFreeFormLayo pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class AnalysisFreeFormLayoutElementBackgroundStyleArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The background color of a free-form layout element. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The background visibility of a free-form layout element. + """ +elif False: + AnalysisFreeFormLayoutElementBackgroundStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFreeFormLayoutElementBackgroundStyleArgs: def __init__(__self__, *, @@ -12261,6 +17215,19 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisFreeFormLayoutElementBorderStyleArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The border color of a free-form layout element. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The border visibility of a free-form layout element. + """ +elif False: + AnalysisFreeFormLayoutElementBorderStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFreeFormLayoutElementBorderStyleArgs: def __init__(__self__, *, @@ -12300,6 +17267,59 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisFreeFormLayoutElementArgsDict(TypedDict): + element_id: pulumi.Input[str] + """ + A unique identifier for an element within a free-form layout. + """ + element_type: pulumi.Input['AnalysisLayoutElementType'] + """ + The type of element. + """ + height: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ + width: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ + x_axis_location: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ + y_axis_location: pulumi.Input[str] + """ + String based length that is composed of value and unit in px with Integer.MAX_VALUE as maximum value + """ + background_style: NotRequired[pulumi.Input['AnalysisFreeFormLayoutElementBackgroundStyleArgsDict']] + """ + The background style configuration of a free-form layout element. + """ + border_style: NotRequired[pulumi.Input['AnalysisFreeFormLayoutElementBorderStyleArgsDict']] + """ + The border style configuration of a free-form layout element. + """ + loading_animation: NotRequired[pulumi.Input['AnalysisLoadingAnimationArgsDict']] + """ + The loading animation configuration of a free-form layout element. + """ + rendering_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisSheetElementRenderingRuleArgsDict']]]] + """ + The rendering rules that determine when an element should be displayed within a free-form layout. + """ + selected_border_style: NotRequired[pulumi.Input['AnalysisFreeFormLayoutElementBorderStyleArgsDict']] + """ + The border style configuration of a free-form layout element. This border style is used when the element is selected. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of an element within a free-form layout. + """ +elif False: + AnalysisFreeFormLayoutElementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFreeFormLayoutElementArgs: def __init__(__self__, *, @@ -12493,6 +17513,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisFreeFormLayoutScreenCanvasSizeOptionsArgsDict(TypedDict): + optimized_view_port_width: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ +elif False: + AnalysisFreeFormLayoutScreenCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFreeFormLayoutScreenCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -12515,6 +17544,15 @@ def optimized_view_port_width(self, value: pulumi.Input[str]): pulumi.set(self, "optimized_view_port_width", value) +if not MYPY: + class AnalysisFreeFormSectionLayoutConfigurationArgsDict(TypedDict): + elements: pulumi.Input[Sequence[pulumi.Input['AnalysisFreeFormLayoutElementArgsDict']]] + """ + The elements that are included in the free-form layout. + """ +elif False: + AnalysisFreeFormSectionLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFreeFormSectionLayoutConfigurationArgs: def __init__(__self__, *, @@ -12537,6 +17575,19 @@ def elements(self, value: pulumi.Input[Sequence[pulumi.Input['AnalysisFreeFormLa pulumi.set(self, "elements", value) +if not MYPY: + class AnalysisFunnelChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The category field wells of a funnel chart. Values are grouped by category fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The value field wells of a funnel chart. Values are aggregated based on categories. + """ +elif False: + AnalysisFunnelChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFunnelChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -12576,6 +17627,39 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisFunnelChartConfigurationArgsDict(TypedDict): + category_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options of the categories that are displayed in a `FunnelChartVisual` . + """ + data_label_options: NotRequired[pulumi.Input['AnalysisFunnelChartDataLabelOptionsArgsDict']] + """ + The options that determine the presentation of the data labels. + """ + field_wells: NotRequired[pulumi.Input['AnalysisFunnelChartFieldWellsArgsDict']] + """ + The field well configuration of a `FunnelChartVisual` . + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisFunnelChartSortConfigurationArgsDict']] + """ + The sort configuration of a `FunnelChartVisual` . + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The tooltip configuration of a `FunnelChartVisual` . + """ + value_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options for the values that are displayed in a `FunnelChartVisual` . + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + """ + The visual palette configuration of a `FunnelChartVisual` . + """ +elif False: + AnalysisFunnelChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFunnelChartConfigurationArgs: def __init__(__self__, *, @@ -12695,6 +17779,41 @@ def visual_palette(self, value: Optional[pulumi.Input['AnalysisVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class AnalysisFunnelChartDataLabelOptionsArgsDict(TypedDict): + category_label_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the category labels within the data labels. + """ + label_color: NotRequired[pulumi.Input[str]] + """ + The color of the data label text. + """ + label_font_configuration: NotRequired[pulumi.Input['AnalysisFontConfigurationArgsDict']] + """ + The font configuration for the data labels. + + Only the `FontSize` attribute of the font configuration is used for data labels. + """ + measure_data_label_style: NotRequired[pulumi.Input['AnalysisFunnelChartMeasureDataLabelStyle']] + """ + Determines the style of the metric labels. + """ + measure_label_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the measure labels within the data labels. + """ + position: NotRequired[pulumi.Input['AnalysisDataLabelPosition']] + """ + Determines the positioning of the data label relative to a section of the funnel. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility option that determines if data labels are displayed. + """ +elif False: + AnalysisFunnelChartDataLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFunnelChartDataLabelOptionsArgs: def __init__(__self__, *, @@ -12818,6 +17937,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisFunnelChartFieldWellsArgsDict(TypedDict): + funnel_chart_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisFunnelChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a `FunnelChartVisual` . + """ +elif False: + AnalysisFunnelChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFunnelChartFieldWellsArgs: def __init__(__self__, *, @@ -12841,6 +17969,19 @@ def funnel_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Anal pulumi.set(self, "funnel_chart_aggregated_field_wells", value) +if not MYPY: + class AnalysisFunnelChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories displayed. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ +elif False: + AnalysisFunnelChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFunnelChartSortConfigurationArgs: def __init__(__self__, *, @@ -12880,6 +18021,35 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Anal pulumi.set(self, "category_sort", value) +if not MYPY: + class AnalysisFunnelChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisFunnelChartConfigurationArgsDict']] + """ + The configuration of a `FunnelChartVisual` . + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisFunnelChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisFunnelChartVisualArgs: def __init__(__self__, *, @@ -12982,6 +18152,15 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisGaugeChartArcConditionalFormattingArgsDict(TypedDict): + foreground_color: NotRequired[pulumi.Input['AnalysisConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the arc foreground color. + """ +elif False: + AnalysisGaugeChartArcConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGaugeChartArcConditionalFormattingArgs: def __init__(__self__, *, @@ -13005,6 +18184,19 @@ def foreground_color(self, value: Optional[pulumi.Input['AnalysisConditionalForm pulumi.set(self, "foreground_color", value) +if not MYPY: + class AnalysisGaugeChartConditionalFormattingOptionArgsDict(TypedDict): + arc: NotRequired[pulumi.Input['AnalysisGaugeChartArcConditionalFormattingArgsDict']] + """ + The options that determine the presentation of the arc of a `GaugeChartVisual` . + """ + primary_value: NotRequired[pulumi.Input['AnalysisGaugeChartPrimaryValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the primary value of a `GaugeChartVisual` . + """ +elif False: + AnalysisGaugeChartConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGaugeChartConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -13044,6 +18236,15 @@ def primary_value(self, value: Optional[pulumi.Input['AnalysisGaugeChartPrimaryV pulumi.set(self, "primary_value", value) +if not MYPY: + class AnalysisGaugeChartConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisGaugeChartConditionalFormattingOptionArgsDict']]]] + """ + Conditional formatting options of a `GaugeChartVisual` . + """ +elif False: + AnalysisGaugeChartConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGaugeChartConditionalFormattingArgs: def __init__(__self__, *, @@ -13067,6 +18268,31 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class AnalysisGaugeChartConfigurationArgsDict(TypedDict): + data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The data label configuration of a `GaugeChartVisual` . + """ + field_wells: NotRequired[pulumi.Input['AnalysisGaugeChartFieldWellsArgsDict']] + """ + The field well configuration of a `GaugeChartVisual` . + """ + gauge_chart_options: NotRequired[pulumi.Input['AnalysisGaugeChartOptionsArgsDict']] + """ + The options that determine the presentation of the `GaugeChartVisual` . + """ + tooltip_options: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The tooltip configuration of a `GaugeChartVisual` . + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + """ + The visual palette configuration of a `GaugeChartVisual` . + """ +elif False: + AnalysisGaugeChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGaugeChartConfigurationArgs: def __init__(__self__, *, @@ -13154,6 +18380,19 @@ def visual_palette(self, value: Optional[pulumi.Input['AnalysisVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class AnalysisGaugeChartFieldWellsArgsDict(TypedDict): + target_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The target value field wells of a `GaugeChartVisual` . + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The value field wells of a `GaugeChartVisual` . + """ +elif False: + AnalysisGaugeChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGaugeChartFieldWellsArgs: def __init__(__self__, *, @@ -13193,6 +18432,31 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisGaugeChartOptionsArgsDict(TypedDict): + arc: NotRequired[pulumi.Input['AnalysisArcConfigurationArgsDict']] + """ + The arc configuration of a `GaugeChartVisual` . + """ + arc_axis: NotRequired[pulumi.Input['AnalysisArcAxisConfigurationArgsDict']] + """ + The arc axis configuration of a `GaugeChartVisual` . + """ + comparison: NotRequired[pulumi.Input['AnalysisComparisonConfigurationArgsDict']] + """ + The comparison configuration of a `GaugeChartVisual` . + """ + primary_value_display_type: NotRequired[pulumi.Input['AnalysisPrimaryValueDisplayType']] + """ + The options that determine the primary value display type. + """ + primary_value_font_configuration: NotRequired[pulumi.Input['AnalysisFontConfigurationArgsDict']] + """ + The options that determine the primary value font configuration. + """ +elif False: + AnalysisGaugeChartOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGaugeChartOptionsArgs: def __init__(__self__, *, @@ -13280,6 +18544,19 @@ def primary_value_font_configuration(self, value: Optional[pulumi.Input['Analysi pulumi.set(self, "primary_value_font_configuration", value) +if not MYPY: + class AnalysisGaugeChartPrimaryValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['AnalysisConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the primary value icon. + """ + text_color: NotRequired[pulumi.Input['AnalysisConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the primary value text color. + """ +elif False: + AnalysisGaugeChartPrimaryValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGaugeChartPrimaryValueConditionalFormattingArgs: def __init__(__self__, *, @@ -13319,6 +18596,35 @@ def text_color(self, value: Optional[pulumi.Input['AnalysisConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class AnalysisGaugeChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisGaugeChartConfigurationArgsDict']] + """ + The configuration of a `GaugeChartVisual` . + """ + conditional_formatting: NotRequired[pulumi.Input['AnalysisGaugeChartConditionalFormattingArgsDict']] + """ + The conditional formatting of a `GaugeChartVisual` . + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisGaugeChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGaugeChartVisualArgs: def __init__(__self__, *, @@ -13421,6 +18727,27 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisGeospatialCoordinateBoundsArgsDict(TypedDict): + east: pulumi.Input[float] + """ + The longitude of the east bound of the geospatial coordinate bounds. + """ + north: pulumi.Input[float] + """ + The latitude of the north bound of the geospatial coordinate bounds. + """ + south: pulumi.Input[float] + """ + The latitude of the south bound of the geospatial coordinate bounds. + """ + west: pulumi.Input[float] + """ + The longitude of the west bound of the geospatial coordinate bounds. + """ +elif False: + AnalysisGeospatialCoordinateBoundsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGeospatialCoordinateBoundsArgs: def __init__(__self__, *, @@ -13488,6 +18815,15 @@ def west(self, value: pulumi.Input[float]): pulumi.set(self, "west", value) +if not MYPY: + class AnalysisGeospatialHeatmapColorScaleArgsDict(TypedDict): + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisGeospatialHeatmapDataColorArgsDict']]]] + """ + The list of colors to be used in heatmap point style. + """ +elif False: + AnalysisGeospatialHeatmapColorScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGeospatialHeatmapColorScaleArgs: def __init__(__self__, *, @@ -13511,6 +18847,15 @@ def colors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisGeo pulumi.set(self, "colors", value) +if not MYPY: + class AnalysisGeospatialHeatmapConfigurationArgsDict(TypedDict): + heatmap_color: NotRequired[pulumi.Input['AnalysisGeospatialHeatmapColorScaleArgsDict']] + """ + The color scale specification for the heatmap point style. + """ +elif False: + AnalysisGeospatialHeatmapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGeospatialHeatmapConfigurationArgs: def __init__(__self__, *, @@ -13534,6 +18879,15 @@ def heatmap_color(self, value: Optional[pulumi.Input['AnalysisGeospatialHeatmapC pulumi.set(self, "heatmap_color", value) +if not MYPY: + class AnalysisGeospatialHeatmapDataColorArgsDict(TypedDict): + color: pulumi.Input[str] + """ + The hex color to be used in the heatmap point style. + """ +elif False: + AnalysisGeospatialHeatmapDataColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGeospatialHeatmapDataColorArgs: def __init__(__self__, *, @@ -13556,6 +18910,23 @@ def color(self, value: pulumi.Input[str]): pulumi.set(self, "color", value) +if not MYPY: + class AnalysisGeospatialMapAggregatedFieldWellsArgsDict(TypedDict): + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The color field wells of a geospatial map. + """ + geospatial: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The geospatial field wells of a geospatial map. Values are grouped by geospatial fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The size field wells of a geospatial map. Values are aggregated based on geospatial fields. + """ +elif False: + AnalysisGeospatialMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGeospatialMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -13611,6 +18982,36 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisGeospatialMapConfigurationArgsDict(TypedDict): + field_wells: NotRequired[pulumi.Input['AnalysisGeospatialMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + map_style_options: NotRequired[pulumi.Input['AnalysisGeospatialMapStyleOptionsArgsDict']] + """ + The map style options of the geospatial map. + """ + point_style_options: NotRequired[pulumi.Input['AnalysisGeospatialPointStyleOptionsArgsDict']] + """ + The point style options of the geospatial map. + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + window_options: NotRequired[pulumi.Input['AnalysisGeospatialWindowOptionsArgsDict']] + """ + The window options of the geospatial map. + """ +elif False: + AnalysisGeospatialMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGeospatialMapConfigurationArgs: def __init__(__self__, *, @@ -13726,6 +19127,15 @@ def window_options(self, value: Optional[pulumi.Input['AnalysisGeospatialWindowO pulumi.set(self, "window_options", value) +if not MYPY: + class AnalysisGeospatialMapFieldWellsArgsDict(TypedDict): + geospatial_map_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisGeospatialMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field well for a geospatial map. + """ +elif False: + AnalysisGeospatialMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGeospatialMapFieldWellsArgs: def __init__(__self__, *, @@ -13749,6 +19159,15 @@ def geospatial_map_aggregated_field_wells(self, value: Optional[pulumi.Input['An pulumi.set(self, "geospatial_map_aggregated_field_wells", value) +if not MYPY: + class AnalysisGeospatialMapStyleOptionsArgsDict(TypedDict): + base_map_style: NotRequired[pulumi.Input['AnalysisBaseMapStyleType']] + """ + The base map style of the geospatial map. + """ +elif False: + AnalysisGeospatialMapStyleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGeospatialMapStyleOptionsArgs: def __init__(__self__, *, @@ -13772,6 +19191,35 @@ def base_map_style(self, value: Optional[pulumi.Input['AnalysisBaseMapStyleType' pulumi.set(self, "base_map_style", value) +if not MYPY: + class AnalysisGeospatialMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisGeospatialMapConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisGeospatialMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGeospatialMapVisualArgs: def __init__(__self__, *, @@ -13874,6 +19322,23 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisGeospatialPointStyleOptionsArgsDict(TypedDict): + cluster_marker_configuration: NotRequired[pulumi.Input['AnalysisClusterMarkerConfigurationArgsDict']] + """ + The cluster marker configuration of the geospatial point style. + """ + heatmap_configuration: NotRequired[pulumi.Input['AnalysisGeospatialHeatmapConfigurationArgsDict']] + """ + The heatmap configuration of the geospatial point style. + """ + selected_point_style: NotRequired[pulumi.Input['AnalysisGeospatialSelectedPointStyle']] + """ + The selected point styles (point, cluster) of the geospatial map. + """ +elif False: + AnalysisGeospatialPointStyleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGeospatialPointStyleOptionsArgs: def __init__(__self__, *, @@ -13929,6 +19394,19 @@ def selected_point_style(self, value: Optional[pulumi.Input['AnalysisGeospatialS pulumi.set(self, "selected_point_style", value) +if not MYPY: + class AnalysisGeospatialWindowOptionsArgsDict(TypedDict): + bounds: NotRequired[pulumi.Input['AnalysisGeospatialCoordinateBoundsArgsDict']] + """ + The bounds options (north, south, west, east) of the geospatial window options. + """ + map_zoom_mode: NotRequired[pulumi.Input['AnalysisMapZoomMode']] + """ + The map zoom modes (manual, auto) of the geospatial window options. + """ +elif False: + AnalysisGeospatialWindowOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGeospatialWindowOptionsArgs: def __init__(__self__, *, @@ -13968,6 +19446,19 @@ def map_zoom_mode(self, value: Optional[pulumi.Input['AnalysisMapZoomMode']]): pulumi.set(self, "map_zoom_mode", value) +if not MYPY: + class AnalysisGlobalTableBorderOptionsArgsDict(TypedDict): + side_specific_border: NotRequired[pulumi.Input['AnalysisTableSideBorderOptionsArgsDict']] + """ + Determines the options for side specific border. + """ + uniform_border: NotRequired[pulumi.Input['AnalysisTableBorderOptionsArgsDict']] + """ + Determines the options for uniform border. + """ +elif False: + AnalysisGlobalTableBorderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGlobalTableBorderOptionsArgs: def __init__(__self__, *, @@ -14007,6 +19498,15 @@ def uniform_border(self, value: Optional[pulumi.Input['AnalysisTableBorderOption pulumi.set(self, "uniform_border", value) +if not MYPY: + class AnalysisGradientColorArgsDict(TypedDict): + stops: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisGradientStopArgsDict']]]] + """ + The list of gradient color stops. + """ +elif False: + AnalysisGradientColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGradientColorArgs: def __init__(__self__, *, @@ -14030,6 +19530,23 @@ def stops(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisGrad pulumi.set(self, "stops", value) +if not MYPY: + class AnalysisGradientStopArgsDict(TypedDict): + gradient_offset: pulumi.Input[float] + """ + Determines gradient offset value. + """ + color: NotRequired[pulumi.Input[str]] + """ + Determines the color. + """ + data_value: NotRequired[pulumi.Input[float]] + """ + Determines the data value. + """ +elif False: + AnalysisGradientStopArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGradientStopArgs: def __init__(__self__, *, @@ -14084,6 +19601,15 @@ def data_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "data_value", value) +if not MYPY: + class AnalysisGridLayoutCanvasSizeOptionsArgsDict(TypedDict): + screen_canvas_size_options: NotRequired[pulumi.Input['AnalysisGridLayoutScreenCanvasSizeOptionsArgsDict']] + """ + The options that determine the sizing of the canvas used in a grid layout. + """ +elif False: + AnalysisGridLayoutCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGridLayoutCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -14107,6 +19633,16 @@ def screen_canvas_size_options(self, value: Optional[pulumi.Input['AnalysisGridL pulumi.set(self, "screen_canvas_size_options", value) +if not MYPY: + class AnalysisGridLayoutConfigurationArgsDict(TypedDict): + elements: pulumi.Input[Sequence[pulumi.Input['AnalysisGridLayoutElementArgsDict']]] + """ + The elements that are included in a grid layout. + """ + canvas_size_options: NotRequired[pulumi.Input['AnalysisGridLayoutCanvasSizeOptionsArgsDict']] +elif False: + AnalysisGridLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGridLayoutConfigurationArgs: def __init__(__self__, *, @@ -14141,6 +19677,35 @@ def canvas_size_options(self, value: Optional[pulumi.Input['AnalysisGridLayoutCa pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class AnalysisGridLayoutElementArgsDict(TypedDict): + column_span: pulumi.Input[float] + """ + The width of a grid element expressed as a number of grid columns. + """ + element_id: pulumi.Input[str] + """ + A unique identifier for an element within a grid layout. + """ + element_type: pulumi.Input['AnalysisLayoutElementType'] + """ + The type of element. + """ + row_span: pulumi.Input[float] + """ + The height of a grid element expressed as a number of grid rows. + """ + column_index: NotRequired[pulumi.Input[float]] + """ + The column index for the upper left corner of an element. + """ + row_index: NotRequired[pulumi.Input[float]] + """ + The row index for the upper left corner of an element. + """ +elif False: + AnalysisGridLayoutElementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGridLayoutElementArgs: def __init__(__self__, *, @@ -14240,6 +19805,22 @@ def row_index(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "row_index", value) +if not MYPY: + class AnalysisGridLayoutScreenCanvasSizeOptionsArgsDict(TypedDict): + resize_option: pulumi.Input['AnalysisResizeOption'] + """ + This value determines the layout behavior when the viewport is resized. + + - `FIXED` : A fixed width will be used when optimizing the layout. In the Amazon QuickSight console, this option is called `Classic` . + - `RESPONSIVE` : The width of the canvas will be responsive and optimized to the view port. In the Amazon QuickSight console, this option is called `Tiled` . + """ + optimized_view_port_width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + AnalysisGridLayoutScreenCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGridLayoutScreenCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -14284,6 +19865,31 @@ def optimized_view_port_width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "optimized_view_port_width", value) +if not MYPY: + class AnalysisGrowthRateComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + period_size: NotRequired[pulumi.Input[float]] + """ + The period size setup of a growth rate computation. + """ + time: NotRequired[pulumi.Input['AnalysisDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['AnalysisMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + AnalysisGrowthRateComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisGrowthRateComputationArgs: def __init__(__self__, *, @@ -14370,6 +19976,23 @@ def value(self, value: Optional[pulumi.Input['AnalysisMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisHeaderFooterSectionConfigurationArgsDict(TypedDict): + layout: pulumi.Input['AnalysisSectionLayoutConfigurationArgsDict'] + """ + The layout configuration of the header or footer section. + """ + section_id: pulumi.Input[str] + """ + The unique identifier of the header or footer section. + """ + style: NotRequired[pulumi.Input['AnalysisSectionStyleArgsDict']] + """ + The style options of a header or footer section. + """ +elif False: + AnalysisHeaderFooterSectionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisHeaderFooterSectionConfigurationArgs: def __init__(__self__, *, @@ -14423,6 +20046,23 @@ def style(self, value: Optional[pulumi.Input['AnalysisSectionStyleArgs']]): pulumi.set(self, "style", value) +if not MYPY: + class AnalysisHeatMapAggregatedFieldWellsArgsDict(TypedDict): + columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The columns field well of a heat map. + """ + rows: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The rows field well of a heat map. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The values field well of a heat map. + """ +elif False: + AnalysisHeatMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisHeatMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -14478,6 +20118,43 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisHeatMapConfigurationArgsDict(TypedDict): + color_scale: NotRequired[pulumi.Input['AnalysisColorScaleArgsDict']] + """ + The color options (gradient color, point of divergence) in a heat map. + """ + column_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options of the column that is displayed in a heat map. + """ + data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['AnalysisHeatMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + row_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options of the row that is displayed in a `heat map` . + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisHeatMapSortConfigurationArgsDict']] + """ + The sort configuration of a heat map. + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ +elif False: + AnalysisHeatMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisHeatMapConfigurationArgs: def __init__(__self__, *, @@ -14613,6 +20290,15 @@ def tooltip(self, value: Optional[pulumi.Input['AnalysisTooltipOptionsArgs']]): pulumi.set(self, "tooltip", value) +if not MYPY: + class AnalysisHeatMapFieldWellsArgsDict(TypedDict): + heat_map_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisHeatMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a heat map. + """ +elif False: + AnalysisHeatMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisHeatMapFieldWellsArgs: def __init__(__self__, *, @@ -14636,6 +20322,27 @@ def heat_map_aggregated_field_wells(self, value: Optional[pulumi.Input['Analysis pulumi.set(self, "heat_map_aggregated_field_wells", value) +if not MYPY: + class AnalysisHeatMapSortConfigurationArgsDict(TypedDict): + heat_map_column_items_limit_configuration: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of columns that are displayed in a heat map. + """ + heat_map_column_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The column sort configuration for heat map for columns that aren't a part of a field well. + """ + heat_map_row_items_limit_configuration: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of rows that are displayed in a heat map. + """ + heat_map_row_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The field sort configuration of the rows fields. + """ +elif False: + AnalysisHeatMapSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisHeatMapSortConfigurationArgs: def __init__(__self__, *, @@ -14707,6 +20414,35 @@ def heat_map_row_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "heat_map_row_sort", value) +if not MYPY: + class AnalysisHeatMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisHeatMapConfigurationArgsDict']] + """ + The configuration of a heat map. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisHeatMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisHeatMapVisualArgs: def __init__(__self__, *, @@ -14809,6 +20545,15 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisHistogramAggregatedFieldWellsArgsDict(TypedDict): + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The value field wells of a histogram. Values are aggregated by `COUNT` or `DISTINCT_COUNT` . + """ +elif False: + AnalysisHistogramAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisHistogramAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -14832,6 +20577,27 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisHistogramBinOptionsArgsDict(TypedDict): + bin_count: NotRequired[pulumi.Input['AnalysisBinCountOptionsArgsDict']] + """ + The options that determine the bin count of a histogram. + """ + bin_width: NotRequired[pulumi.Input['AnalysisBinWidthOptionsArgsDict']] + """ + The options that determine the bin width of a histogram. + """ + selected_bin_type: NotRequired[pulumi.Input['AnalysisHistogramBinType']] + """ + The options that determine the selected bin type. + """ + start_value: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin start value. + """ +elif False: + AnalysisHistogramBinOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisHistogramBinOptionsArgs: def __init__(__self__, *, @@ -14903,6 +20669,43 @@ def start_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "start_value", value) +if not MYPY: + class AnalysisHistogramConfigurationArgsDict(TypedDict): + bin_options: NotRequired[pulumi.Input['AnalysisHistogramBinOptionsArgsDict']] + """ + The options that determine the presentation of histogram bins. + """ + data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The data label configuration of a histogram. + """ + field_wells: NotRequired[pulumi.Input['AnalysisHistogramFieldWellsArgsDict']] + """ + The field well configuration of a histogram. + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The tooltip configuration of a histogram. + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + """ + The visual palette configuration of a histogram. + """ + x_axis_display_options: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis. + """ + x_axis_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis label. + """ + y_axis_display_options: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis. + """ +elif False: + AnalysisHistogramConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisHistogramConfigurationArgs: def __init__(__self__, *, @@ -15038,6 +20841,15 @@ def y_axis_display_options(self, value: Optional[pulumi.Input['AnalysisAxisDispl pulumi.set(self, "y_axis_display_options", value) +if not MYPY: + class AnalysisHistogramFieldWellsArgsDict(TypedDict): + histogram_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisHistogramAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a histogram. + """ +elif False: + AnalysisHistogramFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisHistogramFieldWellsArgs: def __init__(__self__, *, @@ -15061,6 +20873,31 @@ def histogram_aggregated_field_wells(self, value: Optional[pulumi.Input['Analysi pulumi.set(self, "histogram_aggregated_field_wells", value) +if not MYPY: + class AnalysisHistogramVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisHistogramConfigurationArgsDict']] + """ + The configuration for a `HistogramVisual` . + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisHistogramVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisHistogramVisualArgs: def __init__(__self__, *, @@ -15147,6 +20984,15 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisInnerFilterArgsDict(TypedDict): + category_inner_filter: NotRequired[pulumi.Input['AnalysisCategoryInnerFilterArgsDict']] + """ + A `CategoryInnerFilter` filters text values for the `NestedFilter` . + """ +elif False: + AnalysisInnerFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisInnerFilterArgs: def __init__(__self__, *, @@ -15170,6 +21016,19 @@ def category_inner_filter(self, value: Optional[pulumi.Input['AnalysisCategoryIn pulumi.set(self, "category_inner_filter", value) +if not MYPY: + class AnalysisInsightConfigurationArgsDict(TypedDict): + computations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisComputationArgsDict']]]] + """ + The computations configurations of the insight visual + """ + custom_narrative: NotRequired[pulumi.Input['AnalysisCustomNarrativeOptionsArgsDict']] + """ + The custom narrative of the insight visual. + """ +elif False: + AnalysisInsightConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisInsightConfigurationArgs: def __init__(__self__, *, @@ -15209,6 +21068,35 @@ def custom_narrative(self, value: Optional[pulumi.Input['AnalysisCustomNarrative pulumi.set(self, "custom_narrative", value) +if not MYPY: + class AnalysisInsightVisualArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The dataset that is used in the insight visual. + """ + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + insight_configuration: NotRequired[pulumi.Input['AnalysisInsightConfigurationArgsDict']] + """ + The configuration of an insight visual. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisInsightVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisInsightVisualArgs: def __init__(__self__, *, @@ -15310,6 +21198,19 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisIntegerDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['AnalysisDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `IntegerDefaultValues` . Different defaults are displayed according to users, groups, and values mapping. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + The static values of the `IntegerDefaultValues` . + """ +elif False: + AnalysisIntegerDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisIntegerDefaultValuesArgs: def __init__(__self__, *, @@ -15349,6 +21250,28 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[float pulumi.set(self, "static_values", value) +if not MYPY: + class AnalysisIntegerParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + parameter_value_type: pulumi.Input['AnalysisParameterValueType'] + """ + The value type determines whether the parameter is a single-value or multi-value parameter. + """ + default_values: NotRequired[pulumi.Input['AnalysisIntegerDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMappedDataSetParameterArgsDict']]]] + value_when_unset: NotRequired[pulumi.Input['AnalysisIntegerValueWhenUnsetConfigurationArgsDict']] + """ + A parameter declaration for the `Integer` data type. + """ +elif False: + AnalysisIntegerParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisIntegerParameterDeclarationArgs: def __init__(__self__, *, @@ -15430,6 +21353,22 @@ def value_when_unset(self, value: Optional[pulumi.Input['AnalysisIntegerValueWhe pulumi.set(self, "value_when_unset", value) +if not MYPY: + class AnalysisIntegerParameterArgsDict(TypedDict): + """ +

An integer parameter.

+ """ + name: pulumi.Input[str] + """ +

The name of the integer parameter.

+ """ + values: pulumi.Input[Sequence[pulumi.Input[float]]] + """ +

The values for the integer parameter.

+ """ +elif False: + AnalysisIntegerParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisIntegerParameterArgs: def __init__(__self__, *, @@ -15468,6 +21407,22 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[float]]]): pulumi.set(self, "values", value) +if not MYPY: + class AnalysisIntegerValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[float]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['AnalysisValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + AnalysisIntegerValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisIntegerValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -15513,6 +21468,22 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['AnalysisValueWhe pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class AnalysisItemsLimitConfigurationArgsDict(TypedDict): + items_limit: NotRequired[pulumi.Input[float]] + """ + The limit on how many items of a field are showed in the chart. For example, the number of slices that are displayed in a pie chart. + """ + other_categories: NotRequired[pulumi.Input['AnalysisOtherCategories']] + """ + The `Show other` of an axis in the chart. Choose one of the following options: + + - `INCLUDE` + - `EXCLUDE` + """ +elif False: + AnalysisItemsLimitConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisItemsLimitConfigurationArgs: def __init__(__self__, *, @@ -15558,6 +21529,19 @@ def other_categories(self, value: Optional[pulumi.Input['AnalysisOtherCategories pulumi.set(self, "other_categories", value) +if not MYPY: + class AnalysisKpiActualValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['AnalysisConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the actual value's icon. + """ + text_color: NotRequired[pulumi.Input['AnalysisConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the actual value's text color. + """ +elif False: + AnalysisKpiActualValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiActualValueConditionalFormattingArgs: def __init__(__self__, *, @@ -15597,6 +21581,19 @@ def text_color(self, value: Optional[pulumi.Input['AnalysisConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class AnalysisKpiComparisonValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['AnalysisConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the comparison value's icon. + """ + text_color: NotRequired[pulumi.Input['AnalysisConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the comparison value's text color. + """ +elif False: + AnalysisKpiComparisonValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiComparisonValueConditionalFormattingArgs: def __init__(__self__, *, @@ -15636,6 +21633,27 @@ def text_color(self, value: Optional[pulumi.Input['AnalysisConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class AnalysisKpiConditionalFormattingOptionArgsDict(TypedDict): + actual_value: NotRequired[pulumi.Input['AnalysisKpiActualValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the actual value of a KPI visual. + """ + comparison_value: NotRequired[pulumi.Input['AnalysisKpiComparisonValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the comparison value of a KPI visual. + """ + primary_value: NotRequired[pulumi.Input['AnalysisKpiPrimaryValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the primary value of a KPI visual. + """ + progress_bar: NotRequired[pulumi.Input['AnalysisKpiProgressBarConditionalFormattingArgsDict']] + """ + The conditional formatting for the progress bar of a KPI visual. + """ +elif False: + AnalysisKpiConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -15707,6 +21725,15 @@ def progress_bar(self, value: Optional[pulumi.Input['AnalysisKpiProgressBarCondi pulumi.set(self, "progress_bar", value) +if not MYPY: + class AnalysisKpiConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisKpiConditionalFormattingOptionArgsDict']]]] + """ + The conditional formatting options of a KPI visual. + """ +elif False: + AnalysisKpiConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiConditionalFormattingArgs: def __init__(__self__, *, @@ -15730,6 +21757,23 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class AnalysisKpiConfigurationArgsDict(TypedDict): + field_wells: NotRequired[pulumi.Input['AnalysisKpiFieldWellsArgsDict']] + """ + The field well configuration of a KPI visual. + """ + kpi_options: NotRequired[pulumi.Input['AnalysisKpiOptionsArgsDict']] + """ + The options that determine the presentation of a KPI visual. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisKpiSortConfigurationArgsDict']] + """ + The sort configuration of a KPI visual. + """ +elif False: + AnalysisKpiConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiConfigurationArgs: def __init__(__self__, *, @@ -15785,6 +21829,23 @@ def sort_configuration(self, value: Optional[pulumi.Input['AnalysisKpiSortConfig pulumi.set(self, "sort_configuration", value) +if not MYPY: + class AnalysisKpiFieldWellsArgsDict(TypedDict): + target_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The target value field wells of a KPI visual. + """ + trend_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The trend group field wells of a KPI visual. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The value field wells of a KPI visual. + """ +elif False: + AnalysisKpiFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiFieldWellsArgs: def __init__(__self__, *, @@ -15840,6 +21901,47 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisKpiOptionsArgsDict(TypedDict): + comparison: NotRequired[pulumi.Input['AnalysisComparisonConfigurationArgsDict']] + """ + The comparison configuration of a KPI visual. + """ + primary_value_display_type: NotRequired[pulumi.Input['AnalysisPrimaryValueDisplayType']] + """ + The options that determine the primary value display type. + """ + primary_value_font_configuration: NotRequired[pulumi.Input['AnalysisFontConfigurationArgsDict']] + """ + The options that determine the primary value font configuration. + """ + progress_bar: NotRequired[pulumi.Input['AnalysisProgressBarOptionsArgsDict']] + """ + The options that determine the presentation of the progress bar of a KPI visual. + """ + secondary_value: NotRequired[pulumi.Input['AnalysisSecondaryValueOptionsArgsDict']] + """ + The options that determine the presentation of the secondary value of a KPI visual. + """ + secondary_value_font_configuration: NotRequired[pulumi.Input['AnalysisFontConfigurationArgsDict']] + """ + The options that determine the secondary value font configuration. + """ + sparkline: NotRequired[pulumi.Input['AnalysisKpiSparklineOptionsArgsDict']] + """ + The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual. + """ + trend_arrows: NotRequired[pulumi.Input['AnalysisTrendArrowOptionsArgsDict']] + """ + The options that determine the presentation of trend arrows in a KPI visual. + """ + visual_layout_options: NotRequired[pulumi.Input['AnalysisKpiVisualLayoutOptionsArgsDict']] + """ + The options that determine the layout a KPI visual. + """ +elif False: + AnalysisKpiOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiOptionsArgs: def __init__(__self__, *, @@ -15991,6 +22093,19 @@ def visual_layout_options(self, value: Optional[pulumi.Input['AnalysisKpiVisualL pulumi.set(self, "visual_layout_options", value) +if not MYPY: + class AnalysisKpiPrimaryValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['AnalysisConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the primary value's icon. + """ + text_color: NotRequired[pulumi.Input['AnalysisConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the primary value's text color. + """ +elif False: + AnalysisKpiPrimaryValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiPrimaryValueConditionalFormattingArgs: def __init__(__self__, *, @@ -16030,6 +22145,15 @@ def text_color(self, value: Optional[pulumi.Input['AnalysisConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class AnalysisKpiProgressBarConditionalFormattingArgsDict(TypedDict): + foreground_color: NotRequired[pulumi.Input['AnalysisConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the progress bar's foreground color. + """ +elif False: + AnalysisKpiProgressBarConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiProgressBarConditionalFormattingArgs: def __init__(__self__, *, @@ -16053,6 +22177,15 @@ def foreground_color(self, value: Optional[pulumi.Input['AnalysisConditionalForm pulumi.set(self, "foreground_color", value) +if not MYPY: + class AnalysisKpiSortConfigurationArgsDict(TypedDict): + trend_group_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the trend group fields. + """ +elif False: + AnalysisKpiSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiSortConfigurationArgs: def __init__(__self__, *, @@ -16076,6 +22209,27 @@ def trend_group_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['A pulumi.set(self, "trend_group_sort", value) +if not MYPY: + class AnalysisKpiSparklineOptionsArgsDict(TypedDict): + type: pulumi.Input['AnalysisKpiSparklineType'] + """ + The type of the sparkline. + """ + color: NotRequired[pulumi.Input[str]] + """ + The color of the sparkline. + """ + tooltip_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The tooltip visibility of the sparkline. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the sparkline. + """ +elif False: + AnalysisKpiSparklineOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiSparklineOptionsArgs: def __init__(__self__, *, @@ -16146,6 +22300,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisKpiVisualLayoutOptionsArgsDict(TypedDict): + standard_layout: NotRequired[pulumi.Input['AnalysisKpiVisualStandardLayoutArgsDict']] + """ + The standard layout of the KPI visual. + """ +elif False: + AnalysisKpiVisualLayoutOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiVisualLayoutOptionsArgs: def __init__(__self__, *, @@ -16169,6 +22332,15 @@ def standard_layout(self, value: Optional[pulumi.Input['AnalysisKpiVisualStandar pulumi.set(self, "standard_layout", value) +if not MYPY: + class AnalysisKpiVisualStandardLayoutArgsDict(TypedDict): + type: pulumi.Input['AnalysisKpiVisualStandardLayoutType'] + """ + The standard layout type. + """ +elif False: + AnalysisKpiVisualStandardLayoutArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiVisualStandardLayoutArgs: def __init__(__self__, *, @@ -16191,6 +22363,39 @@ def type(self, value: pulumi.Input['AnalysisKpiVisualStandardLayoutType']): pulumi.set(self, "type", value) +if not MYPY: + class AnalysisKpiVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisKpiConfigurationArgsDict']] + """ + The configuration of a KPI visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + conditional_formatting: NotRequired[pulumi.Input['AnalysisKpiConditionalFormattingArgsDict']] + """ + The conditional formatting of a KPI visual. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisKpiVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisKpiVisualArgs: def __init__(__self__, *, @@ -16309,6 +22514,23 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisLabelOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The text for the label. + """ + font_configuration: NotRequired[pulumi.Input['AnalysisFontConfigurationArgsDict']] + """ + The font configuration of the label. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines whether or not the label is visible. + """ +elif False: + AnalysisLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLabelOptionsArgs: def __init__(__self__, *, @@ -16364,6 +22586,23 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisLayoutConfigurationArgsDict(TypedDict): + free_form_layout: NotRequired[pulumi.Input['AnalysisFreeFormLayoutConfigurationArgsDict']] + """ + A free-form is optimized for a fixed width and has more control over the exact placement of layout elements. + """ + grid_layout: NotRequired[pulumi.Input['AnalysisGridLayoutConfigurationArgsDict']] + """ + A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: `FIXED` or `RESPONSIVE` . + """ + section_based_layout: NotRequired[pulumi.Input['AnalysisSectionBasedLayoutConfigurationArgsDict']] + """ + A section based layout organizes visuals into multiple sections and has customized header, footer and page break. + """ +elif False: + AnalysisLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLayoutConfigurationArgs: def __init__(__self__, *, @@ -16419,6 +22658,15 @@ def section_based_layout(self, value: Optional[pulumi.Input['AnalysisSectionBase pulumi.set(self, "section_based_layout", value) +if not MYPY: + class AnalysisLayoutArgsDict(TypedDict): + configuration: pulumi.Input['AnalysisLayoutConfigurationArgsDict'] + """ + The configuration that determines what the type of layout for a sheet. + """ +elif False: + AnalysisLayoutArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLayoutArgs: def __init__(__self__, *, @@ -16441,6 +22689,36 @@ def configuration(self, value: pulumi.Input['AnalysisLayoutConfigurationArgs']): pulumi.set(self, "configuration", value) +if not MYPY: + class AnalysisLegendOptionsArgsDict(TypedDict): + height: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + position: NotRequired[pulumi.Input['AnalysisLegendPosition']] + """ + The positions for the legend. Choose one of the following options: + + - `AUTO` + - `RIGHT` + - `BOTTOM` + - `LEFT` + """ + title: NotRequired[pulumi.Input['AnalysisLabelOptionsArgsDict']] + """ + The custom title for the legend. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines whether or not the legend is visible. + """ + width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + AnalysisLegendOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLegendOptionsArgs: def __init__(__self__, *, @@ -16538,6 +22816,27 @@ def width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "width", value) +if not MYPY: + class AnalysisLineChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The category field wells of a line chart. Values are grouped by category fields. + """ + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The color field wells of a line chart. Values are grouped by category fields. + """ + small_multiples: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The small multiples field well of a line chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The value field wells of a line chart. Values are aggregated based on categories. + """ +elif False: + AnalysisLineChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLineChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -16609,6 +22908,88 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisLineChartConfigurationArgsDict(TypedDict): + contribution_analysis_defaults: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisContributionAnalysisDefaultArgsDict']]]] + """ + The default configuration of a line chart's contribution analysis. + """ + data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The data label configuration of a line chart. + """ + default_series_settings: NotRequired[pulumi.Input['AnalysisLineChartDefaultSeriesSettingsArgsDict']] + """ + The options that determine the default presentation of all line series in `LineChartVisual` . + """ + field_wells: NotRequired[pulumi.Input['AnalysisLineChartFieldWellsArgsDict']] + """ + The field well configuration of a line chart. + """ + forecast_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisForecastConfigurationArgsDict']]]] + """ + The forecast configuration of a line chart. + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + """ + The legend configuration of a line chart. + """ + primary_y_axis_display_options: NotRequired[pulumi.Input['AnalysisLineSeriesAxisDisplayOptionsArgsDict']] + """ + The series axis configuration of a line chart. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis label. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisReferenceLineArgsDict']]]] + """ + The reference lines configuration of a line chart. + """ + secondary_y_axis_display_options: NotRequired[pulumi.Input['AnalysisLineSeriesAxisDisplayOptionsArgsDict']] + """ + The series axis configuration of a line chart. + """ + secondary_y_axis_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the secondary y-axis label. + """ + series: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisSeriesItemArgsDict']]]] + """ + The series item configuration of a line chart. + """ + single_axis_options: NotRequired[pulumi.Input['AnalysisSingleAxisOptionsArgsDict']] + small_multiples_options: NotRequired[pulumi.Input['AnalysisSmallMultiplesOptionsArgsDict']] + """ + The small multiples setup for the visual. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisLineChartSortConfigurationArgsDict']] + """ + The sort configuration of a line chart. + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The tooltip configuration of a line chart. + """ + type: NotRequired[pulumi.Input['AnalysisLineChartType']] + """ + Determines the type of the line chart. + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + """ + The visual palette configuration of a line chart. + """ + x_axis_display_options: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis. + """ + x_axis_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis label. + """ +elif False: + AnalysisLineChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLineChartConfigurationArgs: def __init__(__self__, *, @@ -16932,6 +23313,23 @@ def x_axis_label_options(self, value: Optional[pulumi.Input['AnalysisChartAxisLa pulumi.set(self, "x_axis_label_options", value) +if not MYPY: + class AnalysisLineChartDefaultSeriesSettingsArgsDict(TypedDict): + axis_binding: NotRequired[pulumi.Input['AnalysisAxisBinding']] + """ + The axis to which you are binding all line series to. + """ + line_style_settings: NotRequired[pulumi.Input['AnalysisLineChartLineStyleSettingsArgsDict']] + """ + Line styles options for all line series in the visual. + """ + marker_style_settings: NotRequired[pulumi.Input['AnalysisLineChartMarkerStyleSettingsArgsDict']] + """ + Marker styles options for all line series in the visual. + """ +elif False: + AnalysisLineChartDefaultSeriesSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLineChartDefaultSeriesSettingsArgs: def __init__(__self__, *, @@ -16987,6 +23385,15 @@ def marker_style_settings(self, value: Optional[pulumi.Input['AnalysisLineChartM pulumi.set(self, "marker_style_settings", value) +if not MYPY: + class AnalysisLineChartFieldWellsArgsDict(TypedDict): + line_chart_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisLineChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a line chart. + """ +elif False: + AnalysisLineChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLineChartFieldWellsArgs: def __init__(__self__, *, @@ -17010,6 +23417,35 @@ def line_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Analys pulumi.set(self, "line_chart_aggregated_field_wells", value) +if not MYPY: + class AnalysisLineChartLineStyleSettingsArgsDict(TypedDict): + line_interpolation: NotRequired[pulumi.Input['AnalysisLineInterpolation']] + """ + Interpolation style for line series. + + - `LINEAR` : Show as default, linear style. + - `SMOOTH` : Show as a smooth curve. + - `STEPPED` : Show steps in line. + """ + line_style: NotRequired[pulumi.Input['AnalysisLineChartLineStyle']] + """ + Line style for line series. + + - `SOLID` : Show as a solid line. + - `DOTTED` : Show as a dotted line. + - `DASHED` : Show as a dashed line. + """ + line_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Configuration option that determines whether to show the line for the series. + """ + line_width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + AnalysisLineChartLineStyleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLineChartLineStyleSettingsArgs: def __init__(__self__, *, @@ -17097,6 +23533,33 @@ def line_width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "line_width", value) +if not MYPY: + class AnalysisLineChartMarkerStyleSettingsArgsDict(TypedDict): + marker_color: NotRequired[pulumi.Input[str]] + """ + Color of marker in the series. + """ + marker_shape: NotRequired[pulumi.Input['AnalysisLineChartMarkerShape']] + """ + Shape option for markers in the series. + + - `CIRCLE` : Show marker as a circle. + - `TRIANGLE` : Show marker as a triangle. + - `SQUARE` : Show marker as a square. + - `DIAMOND` : Show marker as a diamond. + - `ROUNDED_SQUARE` : Show marker as a rounded square. + """ + marker_size: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + marker_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Configuration option that determines whether to show the markers in the series. + """ +elif False: + AnalysisLineChartMarkerStyleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLineChartMarkerStyleSettingsArgs: def __init__(__self__, *, @@ -17180,6 +23643,19 @@ def marker_visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]) pulumi.set(self, "marker_visibility", value) +if not MYPY: + class AnalysisLineChartSeriesSettingsArgsDict(TypedDict): + line_style_settings: NotRequired[pulumi.Input['AnalysisLineChartLineStyleSettingsArgsDict']] + """ + Line styles options for a line series in `LineChartVisual` . + """ + marker_style_settings: NotRequired[pulumi.Input['AnalysisLineChartMarkerStyleSettingsArgsDict']] + """ + Marker styles options for a line series in `LineChartVisual` . + """ +elif False: + AnalysisLineChartSeriesSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLineChartSeriesSettingsArgs: def __init__(__self__, *, @@ -17219,6 +23695,31 @@ def marker_style_settings(self, value: Optional[pulumi.Input['AnalysisLineChartM pulumi.set(self, "marker_style_settings", value) +if not MYPY: + class AnalysisLineChartSortConfigurationArgsDict(TypedDict): + category_items_limit_configuration: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories that are displayed in a line chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ + color_items_limit_configuration: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of lines that are displayed in a line chart. + """ + small_multiples_limit_configuration: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of small multiples panels that are displayed. + """ + small_multiples_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the small multiples field. + """ +elif False: + AnalysisLineChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLineChartSortConfigurationArgs: def __init__(__self__, *, @@ -17306,6 +23807,35 @@ def small_multiples_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "small_multiples_sort", value) +if not MYPY: + class AnalysisLineChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisLineChartConfigurationArgsDict']] + """ + The configuration of a line chart. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisLineChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLineChartVisualArgs: def __init__(__self__, *, @@ -17408,6 +23938,19 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisLineSeriesAxisDisplayOptionsArgsDict(TypedDict): + axis_options: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the line series axis. + """ + missing_data_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMissingDataConfigurationArgsDict']]]] + """ + The configuration options that determine how missing data is treated during the rendering of a line chart. + """ +elif False: + AnalysisLineSeriesAxisDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLineSeriesAxisDisplayOptionsArgs: def __init__(__self__, *, @@ -17447,6 +23990,27 @@ def missing_data_configurations(self, value: Optional[pulumi.Input[Sequence[pulu pulumi.set(self, "missing_data_configurations", value) +if not MYPY: + class AnalysisListControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['AnalysisSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + search_options: NotRequired[pulumi.Input['AnalysisListControlSearchOptionsArgsDict']] + """ + The configuration of the search options in a list control. + """ + select_all_options: NotRequired[pulumi.Input['AnalysisListControlSelectAllOptionsArgsDict']] + """ + The configuration of the `Select all` options in a list control. + """ + title_options: NotRequired[pulumi.Input['AnalysisLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + AnalysisListControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisListControlDisplayOptionsArgs: def __init__(__self__, *, @@ -17518,6 +24082,15 @@ def title_options(self, value: Optional[pulumi.Input['AnalysisLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class AnalysisListControlSearchOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility configuration of the search options in a list control. + """ +elif False: + AnalysisListControlSearchOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisListControlSearchOptionsArgs: def __init__(__self__, *, @@ -17541,6 +24114,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisListControlSelectAllOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility configuration of the `Select all` options in a list control. + """ +elif False: + AnalysisListControlSelectAllOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisListControlSelectAllOptionsArgs: def __init__(__self__, *, @@ -17564,6 +24146,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisLoadingAnimationArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility configuration of `LoadingAnimation` . + """ +elif False: + AnalysisLoadingAnimationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLoadingAnimationArgs: def __init__(__self__, *, @@ -17587,6 +24178,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisLocalNavigationConfigurationArgsDict(TypedDict): + target_sheet_id: pulumi.Input[str] + """ + The sheet that is targeted for navigation in the same analysis. + """ +elif False: + AnalysisLocalNavigationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLocalNavigationConfigurationArgs: def __init__(__self__, *, @@ -17609,6 +24209,19 @@ def target_sheet_id(self, value: pulumi.Input[str]): pulumi.set(self, "target_sheet_id", value) +if not MYPY: + class AnalysisLongFormatTextArgsDict(TypedDict): + plain_text: NotRequired[pulumi.Input[str]] + """ + Plain text format. + """ + rich_text: NotRequired[pulumi.Input[str]] + """ + Rich text. Examples of rich text include bold, underline, and italics. + """ +elif False: + AnalysisLongFormatTextArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisLongFormatTextArgs: def __init__(__self__, *, @@ -17648,6 +24261,19 @@ def rich_text(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "rich_text", value) +if not MYPY: + class AnalysisMappedDataSetParameterArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + A unique name that identifies a dataset within the analysis or dashboard. + """ + data_set_parameter_name: pulumi.Input[str] + """ + The name of the dataset parameter. + """ +elif False: + AnalysisMappedDataSetParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisMappedDataSetParameterArgs: def __init__(__self__, *, @@ -17685,6 +24311,15 @@ def data_set_parameter_name(self, value: pulumi.Input[str]): pulumi.set(self, "data_set_parameter_name", value) +if not MYPY: + class AnalysisMaximumLabelTypeArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the maximum label. + """ +elif False: + AnalysisMaximumLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisMaximumLabelTypeArgs: def __init__(__self__, *, @@ -17708,6 +24343,34 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisMaximumMinimumComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + type: pulumi.Input['AnalysisMaximumMinimumComputationType'] + """ + The type of computation. Choose one of the following options: + + - MAXIMUM: A maximum computation. + - MINIMUM: A minimum computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + time: NotRequired[pulumi.Input['AnalysisDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['AnalysisMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + AnalysisMaximumMinimumComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisMaximumMinimumComputationArgs: def __init__(__self__, *, @@ -17799,6 +24462,27 @@ def value(self, value: Optional[pulumi.Input['AnalysisMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisMeasureFieldArgsDict(TypedDict): + calculated_measure_field: NotRequired[pulumi.Input['AnalysisCalculatedMeasureFieldArgsDict']] + """ + The calculated measure field only used in pivot tables. + """ + categorical_measure_field: NotRequired[pulumi.Input['AnalysisCategoricalMeasureFieldArgsDict']] + """ + The measure type field with categorical type columns. + """ + date_measure_field: NotRequired[pulumi.Input['AnalysisDateMeasureFieldArgsDict']] + """ + The measure type field with date type columns. + """ + numerical_measure_field: NotRequired[pulumi.Input['AnalysisNumericalMeasureFieldArgsDict']] + """ + The measure type field with numerical type columns. + """ +elif False: + AnalysisMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisMeasureFieldArgs: def __init__(__self__, *, @@ -17870,6 +24554,31 @@ def numerical_measure_field(self, value: Optional[pulumi.Input['AnalysisNumerica pulumi.set(self, "numerical_measure_field", value) +if not MYPY: + class AnalysisMetricComparisonComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + from_value: NotRequired[pulumi.Input['AnalysisMeasureFieldArgsDict']] + """ + The field that is used in a metric comparison from value setup. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + target_value: NotRequired[pulumi.Input['AnalysisMeasureFieldArgsDict']] + """ + The field that is used in a metric comparison to value setup. + """ + time: NotRequired[pulumi.Input['AnalysisDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ +elif False: + AnalysisMetricComparisonComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisMetricComparisonComputationArgs: def __init__(__self__, *, @@ -17956,6 +24665,15 @@ def time(self, value: Optional[pulumi.Input['AnalysisDimensionFieldArgs']]): pulumi.set(self, "time", value) +if not MYPY: + class AnalysisMinimumLabelTypeArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the minimum label. + """ +elif False: + AnalysisMinimumLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisMinimumLabelTypeArgs: def __init__(__self__, *, @@ -17979,6 +24697,19 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisMissingDataConfigurationArgsDict(TypedDict): + treatment_option: NotRequired[pulumi.Input['AnalysisMissingDataTreatmentOption']] + """ + The treatment option that determines how missing data should be rendered. Choose from the following options: + + - `INTERPOLATE` : Interpolate missing values between the prior and the next known value. + - `SHOW_AS_ZERO` : Show missing values as the value `0` . + - `SHOW_AS_BLANK` : Display a blank space when rendering missing data. + """ +elif False: + AnalysisMissingDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisMissingDataConfigurationArgs: def __init__(__self__, *, @@ -18010,6 +24741,15 @@ def treatment_option(self, value: Optional[pulumi.Input['AnalysisMissingDataTrea pulumi.set(self, "treatment_option", value) +if not MYPY: + class AnalysisNegativeValueConfigurationArgsDict(TypedDict): + display_mode: pulumi.Input['AnalysisNegativeValueDisplayMode'] + """ + Determines the display mode of the negative value configuration. + """ +elif False: + AnalysisNegativeValueConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNegativeValueConfigurationArgs: def __init__(__self__, *, @@ -18032,6 +24772,27 @@ def display_mode(self, value: pulumi.Input['AnalysisNegativeValueDisplayMode']): pulumi.set(self, "display_mode", value) +if not MYPY: + class AnalysisNestedFilterArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + include_inner_set: pulumi.Input[bool] + """ + A boolean condition to include or exclude the subset that is defined by the values of the nested inner filter. + """ + inner_filter: pulumi.Input['AnalysisInnerFilterArgsDict'] + """ + The `InnerFilter` defines the subset of data to be used with the `NestedFilter` . + """ +elif False: + AnalysisNestedFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNestedFilterArgs: def __init__(__self__, *, @@ -18099,6 +24860,15 @@ def inner_filter(self, value: pulumi.Input['AnalysisInnerFilterArgs']): pulumi.set(self, "inner_filter", value) +if not MYPY: + class AnalysisNullValueFormatConfigurationArgsDict(TypedDict): + null_string: pulumi.Input[str] + """ + Determines the null string of null values. + """ +elif False: + AnalysisNullValueFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNullValueFormatConfigurationArgs: def __init__(__self__, *, @@ -18121,6 +24891,39 @@ def null_string(self, value: pulumi.Input[str]): pulumi.set(self, "null_string", value) +if not MYPY: + class AnalysisNumberDisplayFormatConfigurationArgsDict(TypedDict): + decimal_places_configuration: NotRequired[pulumi.Input['AnalysisDecimalPlacesConfigurationArgsDict']] + """ + The option that determines the decimal places configuration. + """ + negative_value_configuration: NotRequired[pulumi.Input['AnalysisNegativeValueConfigurationArgsDict']] + """ + The options that determine the negative value configuration. + """ + null_value_format_configuration: NotRequired[pulumi.Input['AnalysisNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + number_scale: NotRequired[pulumi.Input['AnalysisNumberScale']] + """ + Determines the number scale value of the number format. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Determines the prefix value of the number format. + """ + separator_configuration: NotRequired[pulumi.Input['AnalysisNumericSeparatorConfigurationArgsDict']] + """ + The options that determine the numeric separator configuration. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + Determines the suffix value of the number format. + """ +elif False: + AnalysisNumberDisplayFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumberDisplayFormatConfigurationArgs: def __init__(__self__, *, @@ -18240,6 +25043,15 @@ def suffix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "suffix", value) +if not MYPY: + class AnalysisNumberFormatConfigurationArgsDict(TypedDict): + format_configuration: NotRequired[pulumi.Input['AnalysisNumericFormatConfigurationArgsDict']] + """ + The options that determine the numeric format configuration. + """ +elif False: + AnalysisNumberFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumberFormatConfigurationArgs: def __init__(__self__, *, @@ -18263,6 +25075,19 @@ def format_configuration(self, value: Optional[pulumi.Input['AnalysisNumericForm pulumi.set(self, "format_configuration", value) +if not MYPY: + class AnalysisNumericAxisOptionsArgsDict(TypedDict): + range: NotRequired[pulumi.Input['AnalysisAxisDisplayRangeArgsDict']] + """ + The range setup of a numeric axis. + """ + scale: NotRequired[pulumi.Input['AnalysisAxisScaleArgsDict']] + """ + The scale setup of a numeric axis. + """ +elif False: + AnalysisNumericAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumericAxisOptionsArgs: def __init__(__self__, *, @@ -18302,6 +25127,19 @@ def scale(self, value: Optional[pulumi.Input['AnalysisAxisScaleArgs']]): pulumi.set(self, "scale", value) +if not MYPY: + class AnalysisNumericEqualityDrillDownFilterArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + value: pulumi.Input[float] + """ + The value of the double input numeric drill down filter. + """ +elif False: + AnalysisNumericEqualityDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumericEqualityDrillDownFilterArgs: def __init__(__self__, *, @@ -18339,6 +25177,53 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisNumericEqualityFilterArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + match_operator: pulumi.Input['AnalysisNumericEqualityMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + null_option: pulumi.Input['AnalysisFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + aggregation_function: NotRequired[pulumi.Input['AnalysisAggregationFunctionArgsDict']] + """ + The aggregation function of the filter. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['AnalysisDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + """ + select_all_options: NotRequired[pulumi.Input['AnalysisNumericFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ + value: NotRequired[pulumi.Input[float]] + """ + The input value. + """ +elif False: + AnalysisNumericEqualityFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumericEqualityFilterArgs: def __init__(__self__, *, @@ -18498,6 +25383,23 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisNumericFormatConfigurationArgsDict(TypedDict): + currency_display_format_configuration: NotRequired[pulumi.Input['AnalysisCurrencyDisplayFormatConfigurationArgsDict']] + """ + The options that determine the currency display format configuration. + """ + number_display_format_configuration: NotRequired[pulumi.Input['AnalysisNumberDisplayFormatConfigurationArgsDict']] + """ + The options that determine the number display format configuration. + """ + percentage_display_format_configuration: NotRequired[pulumi.Input['AnalysisPercentageDisplayFormatConfigurationArgsDict']] + """ + The options that determine the percentage display format configuration. + """ +elif False: + AnalysisNumericFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumericFormatConfigurationArgs: def __init__(__self__, *, @@ -18553,6 +25455,19 @@ def percentage_display_format_configuration(self, value: Optional[pulumi.Input[' pulumi.set(self, "percentage_display_format_configuration", value) +if not MYPY: + class AnalysisNumericRangeFilterValueArgsDict(TypedDict): + parameter: NotRequired[pulumi.Input[str]] + """ + The parameter that is used in the numeric range. + """ + static_value: NotRequired[pulumi.Input[float]] + """ + The static value of the numeric range filter. + """ +elif False: + AnalysisNumericRangeFilterValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumericRangeFilterValueArgs: def __init__(__self__, *, @@ -18592,6 +25507,57 @@ def static_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "static_value", value) +if not MYPY: + class AnalysisNumericRangeFilterArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + null_option: pulumi.Input['AnalysisFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + aggregation_function: NotRequired[pulumi.Input['AnalysisAggregationFunctionArgsDict']] + """ + The aggregation function of the filter. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['AnalysisDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + include_maximum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the maximum value in the filter value range should be included in the filtered results. + """ + include_minimum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the minimum value in the filter value range should be included in the filtered results. + """ + range_maximum: NotRequired[pulumi.Input['AnalysisNumericRangeFilterValueArgsDict']] + """ + The maximum value for the filter value range. + """ + range_minimum: NotRequired[pulumi.Input['AnalysisNumericRangeFilterValueArgsDict']] + """ + The minimum value for the filter value range. + """ + select_all_options: NotRequired[pulumi.Input['AnalysisNumericFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + AnalysisNumericRangeFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumericRangeFilterArgs: def __init__(__self__, *, @@ -18768,6 +25734,19 @@ def select_all_options(self, value: Optional[pulumi.Input['AnalysisNumericFilter pulumi.set(self, "select_all_options", value) +if not MYPY: + class AnalysisNumericSeparatorConfigurationArgsDict(TypedDict): + decimal_separator: NotRequired[pulumi.Input['AnalysisNumericSeparatorSymbol']] + """ + Determines the decimal separator. + """ + thousands_separator: NotRequired[pulumi.Input['AnalysisThousandSeparatorOptionsArgsDict']] + """ + The options that determine the thousands separator configuration. + """ +elif False: + AnalysisNumericSeparatorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumericSeparatorConfigurationArgs: def __init__(__self__, *, @@ -18807,6 +25786,31 @@ def thousands_separator(self, value: Optional[pulumi.Input['AnalysisThousandSepa pulumi.set(self, "thousands_separator", value) +if not MYPY: + class AnalysisNumericalAggregationFunctionArgsDict(TypedDict): + percentile_aggregation: NotRequired[pulumi.Input['AnalysisPercentileAggregationArgsDict']] + """ + An aggregation based on the percentile of values in a dimension or measure. + """ + simple_numerical_aggregation: NotRequired[pulumi.Input['AnalysisSimpleNumericalAggregationFunction']] + """ + Built-in aggregation functions for numerical values. + + - `SUM` : The sum of a dimension or measure. + - `AVERAGE` : The average of a dimension or measure. + - `MIN` : The minimum value of a dimension or measure. + - `MAX` : The maximum value of a dimension or measure. + - `COUNT` : The count of a dimension or measure. + - `DISTINCT_COUNT` : The count of distinct values in a dimension or measure. + - `VAR` : The variance of a dimension or measure. + - `VARP` : The partitioned variance of a dimension or measure. + - `STDEV` : The standard deviation of a dimension or measure. + - `STDEVP` : The partitioned standard deviation of a dimension or measure. + - `MEDIAN` : The median value of a dimension or measure. + """ +elif False: + AnalysisNumericalAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumericalAggregationFunctionArgs: def __init__(__self__, *, @@ -18870,6 +25874,27 @@ def simple_numerical_aggregation(self, value: Optional[pulumi.Input['AnalysisSim pulumi.set(self, "simple_numerical_aggregation", value) +if not MYPY: + class AnalysisNumericalDimensionFieldArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that is used in the `NumericalDimensionField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + format_configuration: NotRequired[pulumi.Input['AnalysisNumberFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ + hierarchy_id: NotRequired[pulumi.Input[str]] + """ + The custom hierarchy ID. + """ +elif False: + AnalysisNumericalDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumericalDimensionFieldArgs: def __init__(__self__, *, @@ -18939,6 +25964,27 @@ def hierarchy_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_id", value) +if not MYPY: + class AnalysisNumericalMeasureFieldArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that is used in the `NumericalMeasureField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + aggregation_function: NotRequired[pulumi.Input['AnalysisNumericalAggregationFunctionArgsDict']] + """ + The aggregation function of the measure field. + """ + format_configuration: NotRequired[pulumi.Input['AnalysisNumberFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + AnalysisNumericalMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisNumericalMeasureFieldArgs: def __init__(__self__, *, @@ -19008,6 +26054,19 @@ def format_configuration(self, value: Optional[pulumi.Input['AnalysisNumberForma pulumi.set(self, "format_configuration", value) +if not MYPY: + class AnalysisPaginationConfigurationArgsDict(TypedDict): + page_number: pulumi.Input[float] + """ + Indicates the page number. + """ + page_size: pulumi.Input[float] + """ + Indicates how many items render in one page. + """ +elif False: + AnalysisPaginationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPaginationConfigurationArgs: def __init__(__self__, *, @@ -19045,6 +26104,47 @@ def page_size(self, value: pulumi.Input[float]): pulumi.set(self, "page_size", value) +if not MYPY: + class AnalysisPanelConfigurationArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input[str]] + """ + Sets the background color for each panel. + """ + background_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines whether or not a background for each small multiples panel is rendered. + """ + border_color: NotRequired[pulumi.Input[str]] + """ + Sets the line color of panel borders. + """ + border_style: NotRequired[pulumi.Input['AnalysisPanelBorderStyle']] + """ + Sets the line style of panel borders. + """ + border_thickness: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + border_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines whether or not each panel displays a border. + """ + gutter_spacing: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + gutter_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines whether or not negative space between sibling panels is rendered. + """ + title: NotRequired[pulumi.Input['AnalysisPanelTitleOptionsArgsDict']] + """ + Configures the title display within each small multiples panel. + """ +elif False: + AnalysisPanelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPanelConfigurationArgs: def __init__(__self__, *, @@ -19196,6 +26296,20 @@ def title(self, value: Optional[pulumi.Input['AnalysisPanelTitleOptionsArgs']]): pulumi.set(self, "title", value) +if not MYPY: + class AnalysisPanelTitleOptionsArgsDict(TypedDict): + font_configuration: NotRequired[pulumi.Input['AnalysisFontConfigurationArgsDict']] + horizontal_text_alignment: NotRequired[pulumi.Input['AnalysisHorizontalTextAlignment']] + """ + Sets the horizontal text alignment of the title within each panel. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines whether or not panel titles are displayed. + """ +elif False: + AnalysisPanelTitleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPanelTitleOptionsArgs: def __init__(__self__, *, @@ -19247,6 +26361,35 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisParameterControlArgsDict(TypedDict): + date_time_picker: NotRequired[pulumi.Input['AnalysisParameterDateTimePickerControlArgsDict']] + """ + A control from a date parameter that specifies date and time. + """ + dropdown: NotRequired[pulumi.Input['AnalysisParameterDropDownControlArgsDict']] + """ + A control to display a dropdown list with buttons that are used to select a single value. + """ + list: NotRequired[pulumi.Input['AnalysisParameterListControlArgsDict']] + """ + A control to display a list with buttons or boxes that are used to select either a single value or multiple values. + """ + slider: NotRequired[pulumi.Input['AnalysisParameterSliderControlArgsDict']] + """ + A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle. + """ + text_area: NotRequired[pulumi.Input['AnalysisParameterTextAreaControlArgsDict']] + """ + A control to display a text box that is used to enter multiple entries. + """ + text_field: NotRequired[pulumi.Input['AnalysisParameterTextFieldControlArgsDict']] + """ + A control to display a text box that is used to enter a single entry. + """ +elif False: + AnalysisParameterControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisParameterControlArgs: def __init__(__self__, *, @@ -19350,6 +26493,27 @@ def text_field(self, value: Optional[pulumi.Input['AnalysisParameterTextFieldCon pulumi.set(self, "text_field", value) +if not MYPY: + class AnalysisParameterDateTimePickerControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterDateTimePickerControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The name of the `ParameterDateTimePickerControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterDateTimePickerControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisDateTimePickerControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + AnalysisParameterDateTimePickerControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisParameterDateTimePickerControlArgs: def __init__(__self__, *, @@ -19418,6 +26582,27 @@ def display_options(self, value: Optional[pulumi.Input['AnalysisDateTimePickerCo pulumi.set(self, "display_options", value) +if not MYPY: + class AnalysisParameterDeclarationArgsDict(TypedDict): + date_time_parameter_declaration: NotRequired[pulumi.Input['AnalysisDateTimeParameterDeclarationArgsDict']] + """ + A parameter declaration for the `DateTime` data type. + """ + decimal_parameter_declaration: NotRequired[pulumi.Input['AnalysisDecimalParameterDeclarationArgsDict']] + """ + A parameter declaration for the `Decimal` data type. + """ + integer_parameter_declaration: NotRequired[pulumi.Input['AnalysisIntegerParameterDeclarationArgsDict']] + """ + A parameter declaration for the `Integer` data type. + """ + string_parameter_declaration: NotRequired[pulumi.Input['AnalysisStringParameterDeclarationArgsDict']] + """ + A parameter declaration for the `String` data type. + """ +elif False: + AnalysisParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisParameterDeclarationArgs: def __init__(__self__, *, @@ -19489,6 +26674,43 @@ def string_parameter_declaration(self, value: Optional[pulumi.Input['AnalysisStr pulumi.set(self, "string_parameter_declaration", value) +if not MYPY: + class AnalysisParameterDropDownControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterDropDownControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterDropDownControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterDropDownControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['AnalysisCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + commit_mode: NotRequired[pulumi.Input['AnalysisCommitMode']] + """ + The visibility configuration of the Apply button on a `ParameterDropDownControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisDropDownControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['AnalysisParameterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['AnalysisSheetControlListType']] + """ + The type parameter name of the `ParameterDropDownControl` . + """ +elif False: + AnalysisParameterDropDownControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisParameterDropDownControlArgs: def __init__(__self__, *, @@ -19621,6 +26843,39 @@ def type(self, value: Optional[pulumi.Input['AnalysisSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class AnalysisParameterListControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterListControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterListControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterListControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['AnalysisCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + display_options: NotRequired[pulumi.Input['AnalysisListControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['AnalysisParameterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['AnalysisSheetControlListType']] + """ + The type of `ParameterListControl` . + """ +elif False: + AnalysisParameterListControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisParameterListControlArgs: def __init__(__self__, *, @@ -19737,6 +26992,19 @@ def type(self, value: Optional[pulumi.Input['AnalysisSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class AnalysisParameterSelectableValuesArgsDict(TypedDict): + link_to_data_set_column: NotRequired[pulumi.Input['AnalysisColumnIdentifierArgsDict']] + """ + The column identifier that fetches values from the data set. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The values that are used in `ParameterSelectableValues` . + """ +elif False: + AnalysisParameterSelectableValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisParameterSelectableValuesArgs: def __init__(__self__, *, @@ -19776,6 +27044,39 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class AnalysisParameterSliderControlArgsDict(TypedDict): + maximum_value: pulumi.Input[float] + """ + The larger value that is displayed at the right of the slider. + """ + minimum_value: pulumi.Input[float] + """ + The smaller value that is displayed at the left of the slider. + """ + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterSliderControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterSliderControl` . + """ + step_size: pulumi.Input[float] + """ + The number of increments that the slider bar is divided into. + """ + title: pulumi.Input[str] + """ + The title of the `ParameterSliderControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisSliderControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + AnalysisParameterSliderControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisParameterSliderControlArgs: def __init__(__self__, *, @@ -19889,6 +27190,31 @@ def display_options(self, value: Optional[pulumi.Input['AnalysisSliderControlDis pulumi.set(self, "display_options", value) +if not MYPY: + class AnalysisParameterTextAreaControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterTextAreaControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterTextAreaControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterTextAreaControl` . + """ + delimiter: NotRequired[pulumi.Input[str]] + """ + The delimiter that is used to separate the lines in text. + """ + display_options: NotRequired[pulumi.Input['AnalysisTextAreaControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + AnalysisParameterTextAreaControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisParameterTextAreaControlArgs: def __init__(__self__, *, @@ -19973,6 +27299,27 @@ def display_options(self, value: Optional[pulumi.Input['AnalysisTextAreaControlD pulumi.set(self, "display_options", value) +if not MYPY: + class AnalysisParameterTextFieldControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterTextFieldControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterTextFieldControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterTextFieldControl` . + """ + display_options: NotRequired[pulumi.Input['AnalysisTextFieldControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + AnalysisParameterTextFieldControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisParameterTextFieldControlArgs: def __init__(__self__, *, @@ -20041,6 +27388,30 @@ def display_options(self, value: Optional[pulumi.Input['AnalysisTextFieldControl pulumi.set(self, "display_options", value) +if not MYPY: + class AnalysisParametersArgsDict(TypedDict): + """ +

A list of Amazon QuickSight parameters and the list's override values.

+ """ + date_time_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDateTimeParameterArgsDict']]]] + """ +

The parameters that have a data type of date-time.

+ """ + decimal_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDecimalParameterArgsDict']]]] + """ +

The parameters that have a data type of decimal.

+ """ + integer_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisIntegerParameterArgsDict']]]] + """ +

The parameters that have a data type of integer.

+ """ + string_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisStringParameterArgsDict']]]] + """ +

The parameters that have a data type of string.

+ """ +elif False: + AnalysisParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisParametersArgs: def __init__(__self__, *, @@ -20113,6 +27484,19 @@ def string_parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "string_parameters", value) +if not MYPY: + class AnalysisPercentVisibleRangeArgsDict(TypedDict): + from_: NotRequired[pulumi.Input[float]] + """ + The lower bound of the range. + """ + to: NotRequired[pulumi.Input[float]] + """ + The top bound of the range. + """ +elif False: + AnalysisPercentVisibleRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPercentVisibleRangeArgs: def __init__(__self__, *, @@ -20152,6 +27536,35 @@ def to(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "to", value) +if not MYPY: + class AnalysisPercentageDisplayFormatConfigurationArgsDict(TypedDict): + decimal_places_configuration: NotRequired[pulumi.Input['AnalysisDecimalPlacesConfigurationArgsDict']] + """ + The option that determines the decimal places configuration. + """ + negative_value_configuration: NotRequired[pulumi.Input['AnalysisNegativeValueConfigurationArgsDict']] + """ + The options that determine the negative value configuration. + """ + null_value_format_configuration: NotRequired[pulumi.Input['AnalysisNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Determines the prefix value of the percentage format. + """ + separator_configuration: NotRequired[pulumi.Input['AnalysisNumericSeparatorConfigurationArgsDict']] + """ + The options that determine the numeric separator configuration. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + Determines the suffix value of the percentage format. + """ +elif False: + AnalysisPercentageDisplayFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPercentageDisplayFormatConfigurationArgs: def __init__(__self__, *, @@ -20255,6 +27668,15 @@ def suffix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "suffix", value) +if not MYPY: + class AnalysisPercentileAggregationArgsDict(TypedDict): + percentile_value: NotRequired[pulumi.Input[float]] + """ + The percentile value. This value can be any numeric constant 0–100. A percentile value of 50 computes the median value of the measure. + """ +elif False: + AnalysisPercentileAggregationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPercentileAggregationArgs: def __init__(__self__, *, @@ -20278,6 +27700,27 @@ def percentile_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "percentile_value", value) +if not MYPY: + class AnalysisPeriodOverPeriodComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + time: NotRequired[pulumi.Input['AnalysisDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['AnalysisMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + AnalysisPeriodOverPeriodComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPeriodOverPeriodComputationArgs: def __init__(__self__, *, @@ -20348,6 +27791,34 @@ def value(self, value: Optional[pulumi.Input['AnalysisMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisPeriodToDateComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + period_time_granularity: NotRequired[pulumi.Input['AnalysisTimeGranularity']] + """ + The time granularity setup of period to date computation. Choose from the following options: + + - YEAR: Year to date. + - MONTH: Month to date. + """ + time: NotRequired[pulumi.Input['AnalysisDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['AnalysisMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + AnalysisPeriodToDateComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPeriodToDateComputationArgs: def __init__(__self__, *, @@ -20440,6 +27911,23 @@ def value(self, value: Optional[pulumi.Input['AnalysisMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisPieChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The category (group/color) field wells of a pie chart. + """ + small_multiples: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The small multiples field well of a pie chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The value field wells of a pie chart. Values are aggregated based on categories. + """ +elif False: + AnalysisPieChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPieChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -20495,6 +27983,55 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisPieChartConfigurationArgsDict(TypedDict): + category_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options of the group/color that is displayed in a pie chart. + """ + contribution_analysis_defaults: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisContributionAnalysisDefaultArgsDict']]]] + """ + The contribution analysis (anomaly configuration) setup of the visual. + """ + data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + donut_options: NotRequired[pulumi.Input['AnalysisDonutOptionsArgsDict']] + """ + The options that determine the shape of the chart. This option determines whether the chart is a pie chart or a donut chart. + """ + field_wells: NotRequired[pulumi.Input['AnalysisPieChartFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + small_multiples_options: NotRequired[pulumi.Input['AnalysisSmallMultiplesOptionsArgsDict']] + """ + The small multiples setup for the visual. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisPieChartSortConfigurationArgsDict']] + """ + The sort configuration of a pie chart. + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + value_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options for the value that is displayed in a pie chart. + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + AnalysisPieChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPieChartConfigurationArgs: def __init__(__self__, *, @@ -20678,6 +28215,15 @@ def visual_palette(self, value: Optional[pulumi.Input['AnalysisVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class AnalysisPieChartFieldWellsArgsDict(TypedDict): + pie_chart_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisPieChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a pie chart. + """ +elif False: + AnalysisPieChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPieChartFieldWellsArgs: def __init__(__self__, *, @@ -20701,6 +28247,27 @@ def pie_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Analysi pulumi.set(self, "pie_chart_aggregated_field_wells", value) +if not MYPY: + class AnalysisPieChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories that are displayed in a pie chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ + small_multiples_limit_configuration: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of small multiples panels that are displayed. + """ + small_multiples_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the small multiples field. + """ +elif False: + AnalysisPieChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPieChartSortConfigurationArgs: def __init__(__self__, *, @@ -20772,6 +28339,35 @@ def small_multiples_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "small_multiples_sort", value) +if not MYPY: + class AnalysisPieChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisPieChartConfigurationArgsDict']] + """ + The configuration of a pie chart. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisPieChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPieChartVisualArgs: def __init__(__self__, *, @@ -20874,6 +28470,19 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisPivotFieldSortOptionsArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID for the field sort options. + """ + sort_by: pulumi.Input['AnalysisPivotTableSortByArgsDict'] + """ + The sort by field for the field sort options. + """ +elif False: + AnalysisPivotFieldSortOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotFieldSortOptionsArgs: def __init__(__self__, *, @@ -20911,6 +28520,23 @@ def sort_by(self, value: pulumi.Input['AnalysisPivotTableSortByArgs']): pulumi.set(self, "sort_by", value) +if not MYPY: + class AnalysisPivotTableAggregatedFieldWellsArgsDict(TypedDict): + columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The columns field well for a pivot table. Values are grouped by columns fields. + """ + rows: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The rows field well for a pivot table. Values are grouped by rows fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The values field well for a pivot table. Values are aggregated based on rows and columns fields. + """ +elif False: + AnalysisPivotTableAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -20966,6 +28592,27 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisPivotTableCellConditionalFormattingArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the cell for conditional formatting. + """ + scope: NotRequired[pulumi.Input['AnalysisPivotTableConditionalFormattingScopeArgsDict']] + """ + The scope of the cell for conditional formatting. + """ + scopes: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisPivotTableConditionalFormattingScopeArgsDict']]]] + """ + A list of cell scopes for conditional formatting. + """ + text_format: NotRequired[pulumi.Input['AnalysisTextConditionalFormatArgsDict']] + """ + The text format of the cell for conditional formatting. + """ +elif False: + AnalysisPivotTableCellConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableCellConditionalFormattingArgs: def __init__(__self__, *, @@ -21036,6 +28683,15 @@ def text_format(self, value: Optional[pulumi.Input['AnalysisTextConditionalForma pulumi.set(self, "text_format", value) +if not MYPY: + class AnalysisPivotTableConditionalFormattingOptionArgsDict(TypedDict): + cell: NotRequired[pulumi.Input['AnalysisPivotTableCellConditionalFormattingArgsDict']] + """ + The cell conditional formatting option for a pivot table. + """ +elif False: + AnalysisPivotTableConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -21059,6 +28715,15 @@ def cell(self, value: Optional[pulumi.Input['AnalysisPivotTableCellConditionalFo pulumi.set(self, "cell", value) +if not MYPY: + class AnalysisPivotTableConditionalFormattingScopeArgsDict(TypedDict): + role: NotRequired[pulumi.Input['AnalysisPivotTableConditionalFormattingScopeRole']] + """ + The role (field, field total, grand total) of the cell for conditional formatting. + """ +elif False: + AnalysisPivotTableConditionalFormattingScopeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableConditionalFormattingScopeArgs: def __init__(__self__, *, @@ -21082,6 +28747,15 @@ def role(self, value: Optional[pulumi.Input['AnalysisPivotTableConditionalFormat pulumi.set(self, "role", value) +if not MYPY: + class AnalysisPivotTableConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisPivotTableConditionalFormattingOptionArgsDict']]]] + """ + Conditional formatting options for a `PivotTableVisual` . + """ +elif False: + AnalysisPivotTableConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableConditionalFormattingArgs: def __init__(__self__, *, @@ -21105,6 +28779,35 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class AnalysisPivotTableConfigurationArgsDict(TypedDict): + field_options: NotRequired[pulumi.Input['AnalysisPivotTableFieldOptionsArgsDict']] + """ + The field options for a pivot table visual. + """ + field_wells: NotRequired[pulumi.Input['AnalysisPivotTableFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + paginated_report_options: NotRequired[pulumi.Input['AnalysisPivotTablePaginatedReportOptionsArgsDict']] + """ + The paginated report options for a pivot table visual. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisPivotTableSortConfigurationArgsDict']] + """ + The sort configuration for a `PivotTableVisual` . + """ + table_options: NotRequired[pulumi.Input['AnalysisPivotTableOptionsArgsDict']] + """ + The table options for a pivot table visual. + """ + total_options: NotRequired[pulumi.Input['AnalysisPivotTableTotalOptionsArgsDict']] + """ + The total options for a pivot table visual. + """ +elif False: + AnalysisPivotTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableConfigurationArgs: def __init__(__self__, *, @@ -21208,6 +28911,19 @@ def total_options(self, value: Optional[pulumi.Input['AnalysisPivotTableTotalOpt pulumi.set(self, "total_options", value) +if not MYPY: + class AnalysisPivotTableDataPathOptionArgsDict(TypedDict): + data_path_list: pulumi.Input[Sequence[pulumi.Input['AnalysisDataPathValueArgsDict']]] + """ + The list of data path values for the data path options. + """ + width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + AnalysisPivotTableDataPathOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableDataPathOptionArgs: def __init__(__self__, *, @@ -21246,6 +28962,22 @@ def width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "width", value) +if not MYPY: + class AnalysisPivotTableFieldCollapseStateOptionArgsDict(TypedDict): + target: pulumi.Input['AnalysisPivotTableFieldCollapseStateTargetArgsDict'] + """ + A tagged-union object that sets the collapse state. + """ + state: NotRequired[pulumi.Input['AnalysisPivotTableFieldCollapseState']] + """ + The state of the field target of a pivot table. Choose one of the following options: + + - `COLLAPSED` + - `EXPANDED` + """ +elif False: + AnalysisPivotTableFieldCollapseStateOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableFieldCollapseStateOptionArgs: def __init__(__self__, *, @@ -21290,6 +29022,19 @@ def state(self, value: Optional[pulumi.Input['AnalysisPivotTableFieldCollapseSta pulumi.set(self, "state", value) +if not MYPY: + class AnalysisPivotTableFieldCollapseStateTargetArgsDict(TypedDict): + field_data_path_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDataPathValueArgsDict']]]] + """ + The data path of the pivot table's header. Used to set the collapse state. + """ + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the pivot table that the collapse state needs to be set to. + """ +elif False: + AnalysisPivotTableFieldCollapseStateTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableFieldCollapseStateTargetArgs: def __init__(__self__, *, @@ -21329,6 +29074,23 @@ def field_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "field_id", value) +if not MYPY: + class AnalysisPivotTableFieldOptionsArgsDict(TypedDict): + collapse_state_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisPivotTableFieldCollapseStateOptionArgsDict']]]] + """ + The collapse state options for the pivot table field options. + """ + data_path_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisPivotTableDataPathOptionArgsDict']]]] + """ + The data path options for the pivot table field options. + """ + selected_field_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisPivotTableFieldOptionArgsDict']]]] + """ + The selected field options for the pivot table field options. + """ +elif False: + AnalysisPivotTableFieldOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableFieldOptionsArgs: def __init__(__self__, *, @@ -21384,6 +29146,23 @@ def selected_field_options(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "selected_field_options", value) +if not MYPY: + class AnalysisPivotTableFieldOptionArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the pivot table field. + """ + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label of the pivot table field. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the pivot table field. + """ +elif False: + AnalysisPivotTableFieldOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableFieldOptionArgs: def __init__(__self__, *, @@ -21438,6 +29217,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisPivotTableFieldSubtotalOptionsArgsDict(TypedDict): + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the subtotal options. + """ +elif False: + AnalysisPivotTableFieldSubtotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableFieldSubtotalOptionsArgs: def __init__(__self__, *, @@ -21461,6 +29249,15 @@ def field_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "field_id", value) +if not MYPY: + class AnalysisPivotTableFieldWellsArgsDict(TypedDict): + pivot_table_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisPivotTableAggregatedFieldWellsArgsDict']] + """ + The aggregated field well for the pivot table. + """ +elif False: + AnalysisPivotTableFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableFieldWellsArgs: def __init__(__self__, *, @@ -21484,6 +29281,66 @@ def pivot_table_aggregated_field_wells(self, value: Optional[pulumi.Input['Analy pulumi.set(self, "pivot_table_aggregated_field_wells", value) +if not MYPY: + class AnalysisPivotTableOptionsArgsDict(TypedDict): + cell_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The table cell style of cells. + """ + collapsed_row_dimensions_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is `HIDDEN` , all collapsed columns in a pivot table are automatically hidden. The default value is `VISIBLE` . + """ + column_header_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The table cell style of the column header. + """ + column_names_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the column names. + """ + default_cell_width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + metric_placement: NotRequired[pulumi.Input['AnalysisPivotTableMetricPlacement']] + """ + The metric placement (row, column) options. + """ + row_alternate_color_options: NotRequired[pulumi.Input['AnalysisRowAlternateColorOptionsArgsDict']] + """ + The row alternate color options (widget status, row alternate colors). + """ + row_field_names_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The table cell style of row field names. + """ + row_header_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The table cell style of the row headers. + """ + rows_label_options: NotRequired[pulumi.Input['AnalysisPivotTableRowsLabelOptionsArgsDict']] + """ + The options for the label that is located above the row headers. This option is only applicable when `RowsLayout` is set to `HIERARCHY` . + """ + rows_layout: NotRequired[pulumi.Input['AnalysisPivotTableRowsLayout']] + """ + The layout for the row dimension headers of a pivot table. Choose one of the following options. + + - `TABULAR` : (Default) Each row field is displayed in a separate column. + - `HIERARCHY` : All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields. + """ + single_metric_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the single metric options. + """ + toggle_buttons_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines the visibility of the pivot table. + """ +elif False: + AnalysisPivotTableOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableOptionsArgs: def __init__(__self__, *, @@ -21705,6 +29562,19 @@ def toggle_buttons_visibility(self, value: Optional[pulumi.Input['AnalysisVisibi pulumi.set(self, "toggle_buttons_visibility", value) +if not MYPY: + class AnalysisPivotTablePaginatedReportOptionsArgsDict(TypedDict): + overflow_column_header_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the repeating header rows on each page. + """ + vertical_overflow_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the printing table overflow across pages. + """ +elif False: + AnalysisPivotTablePaginatedReportOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTablePaginatedReportOptionsArgs: def __init__(__self__, *, @@ -21744,6 +29614,19 @@ def vertical_overflow_visibility(self, value: Optional[pulumi.Input['AnalysisVis pulumi.set(self, "vertical_overflow_visibility", value) +if not MYPY: + class AnalysisPivotTableRowsLabelOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the rows label. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the rows label. + """ +elif False: + AnalysisPivotTableRowsLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableRowsLabelOptionsArgs: def __init__(__self__, *, @@ -21783,6 +29666,23 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisPivotTableSortByArgsDict(TypedDict): + column: NotRequired[pulumi.Input['AnalysisColumnSortArgsDict']] + """ + The column sort (field id, direction) for the pivot table sort by options. + """ + data_path: NotRequired[pulumi.Input['AnalysisDataPathSortArgsDict']] + """ + The data path sort (data path value, direction) for the pivot table sort by options. + """ + field: NotRequired[pulumi.Input['AnalysisFieldSortArgsDict']] + """ + The field sort (field id, direction) for the pivot table sort by options. + """ +elif False: + AnalysisPivotTableSortByArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableSortByArgs: def __init__(__self__, *, @@ -21838,6 +29738,15 @@ def field(self, value: Optional[pulumi.Input['AnalysisFieldSortArgs']]): pulumi.set(self, "field", value) +if not MYPY: + class AnalysisPivotTableSortConfigurationArgsDict(TypedDict): + field_sort_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisPivotFieldSortOptionsArgsDict']]]] + """ + The field sort options for a pivot table sort configuration. + """ +elif False: + AnalysisPivotTableSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableSortConfigurationArgs: def __init__(__self__, *, @@ -21861,6 +29770,27 @@ def field_sort_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "field_sort_options", value) +if not MYPY: + class AnalysisPivotTableTotalOptionsArgsDict(TypedDict): + column_subtotal_options: NotRequired[pulumi.Input['AnalysisSubtotalOptionsArgsDict']] + """ + The column subtotal options. + """ + column_total_options: NotRequired[pulumi.Input['AnalysisPivotTotalOptionsArgsDict']] + """ + The column total options. + """ + row_subtotal_options: NotRequired[pulumi.Input['AnalysisSubtotalOptionsArgsDict']] + """ + The row subtotal options. + """ + row_total_options: NotRequired[pulumi.Input['AnalysisPivotTotalOptionsArgsDict']] + """ + The row total options. + """ +elif False: + AnalysisPivotTableTotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableTotalOptionsArgs: def __init__(__self__, *, @@ -21932,6 +29862,35 @@ def row_total_options(self, value: Optional[pulumi.Input['AnalysisPivotTotalOpti pulumi.set(self, "row_total_options", value) +if not MYPY: + class AnalysisPivotTableVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisPivotTableConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + conditional_formatting: NotRequired[pulumi.Input['AnalysisPivotTableConditionalFormattingArgsDict']] + """ + The conditional formatting for a `PivotTableVisual` . + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisPivotTableVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTableVisualArgs: def __init__(__self__, *, @@ -22034,6 +29993,43 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisPivotTotalOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the total cells. + """ + metric_header_cell_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The cell styling options for the total of header cells. + """ + placement: NotRequired[pulumi.Input['AnalysisTableTotalsPlacement']] + """ + The placement (start, end) for the total cells. + """ + scroll_status: NotRequired[pulumi.Input['AnalysisTableTotalsScrollStatus']] + """ + The scroll status (pinned, scrolled) for the total cells. + """ + total_aggregation_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisTotalAggregationOptionArgsDict']]]] + """ + The total aggregation options for each value field. + """ + total_cell_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The cell styling options for the total cells. + """ + totals_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility configuration for the total cells. + """ + value_cell_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The cell styling options for the totals of value cells. + """ +elif False: + AnalysisPivotTotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPivotTotalOptionsArgs: def __init__(__self__, *, @@ -22169,6 +30165,23 @@ def value_cell_style(self, value: Optional[pulumi.Input['AnalysisTableCellStyleA pulumi.set(self, "value_cell_style", value) +if not MYPY: + class AnalysisPredefinedHierarchyArgsDict(TypedDict): + columns: pulumi.Input[Sequence[pulumi.Input['AnalysisColumnIdentifierArgsDict']]] + """ + The list of columns that define the predefined hierarchy. + """ + hierarchy_id: pulumi.Input[str] + """ + The hierarchy ID of the predefined hierarchy. + """ + drill_down_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDrillDownFilterArgsDict']]]] + """ + The option that determines the drill down filters for the predefined hierarchy. + """ +elif False: + AnalysisPredefinedHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisPredefinedHierarchyArgs: def __init__(__self__, *, @@ -22222,6 +30235,15 @@ def drill_down_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "drill_down_filters", value) +if not MYPY: + class AnalysisProgressBarOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the progress bar. + """ +elif False: + AnalysisProgressBarOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisProgressBarOptionsArgs: def __init__(__self__, *, @@ -22245,6 +30267,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisQueryExecutionOptionsArgsDict(TypedDict): + query_execution_mode: NotRequired[pulumi.Input['AnalysisQueryExecutionMode']] + """ + A structure that describes the query execution mode. + """ +elif False: + AnalysisQueryExecutionOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisQueryExecutionOptionsArgs: def __init__(__self__, *, @@ -22268,6 +30299,23 @@ def query_execution_mode(self, value: Optional[pulumi.Input['AnalysisQueryExecut pulumi.set(self, "query_execution_mode", value) +if not MYPY: + class AnalysisRadarChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The aggregated field well categories of a radar chart. + """ + color: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The color that are assigned to the aggregated field wells of a radar chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The values that are assigned to the aggregated field wells of a radar chart. + """ +elif False: + AnalysisRadarChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRadarChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -22323,6 +30371,15 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisRadarChartAreaStyleSettingsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility settings of a radar chart. + """ +elif False: + AnalysisRadarChartAreaStyleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRadarChartAreaStyleSettingsArgs: def __init__(__self__, *, @@ -22346,6 +30403,71 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisRadarChartConfigurationArgsDict(TypedDict): + alternate_band_colors_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines the visibility of the colors of alternatign bands in a radar chart. + """ + alternate_band_even_color: NotRequired[pulumi.Input[str]] + """ + The color of the even-numbered alternate bands of a radar chart. + """ + alternate_band_odd_color: NotRequired[pulumi.Input[str]] + """ + The color of the odd-numbered alternate bands of a radar chart. + """ + axes_range_scale: NotRequired[pulumi.Input['AnalysisRadarChartAxesRangeScale']] + """ + The axis behavior options of a radar chart. + """ + base_series_settings: NotRequired[pulumi.Input['AnalysisRadarChartSeriesSettingsArgsDict']] + """ + The base sreies settings of a radar chart. + """ + category_axis: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The category axis of a radar chart. + """ + category_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The category label options of a radar chart. + """ + color_axis: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The color axis of a radar chart. + """ + color_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The color label options of a radar chart. + """ + field_wells: NotRequired[pulumi.Input['AnalysisRadarChartFieldWellsArgsDict']] + """ + The field well configuration of a `RadarChartVisual` . + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + shape: NotRequired[pulumi.Input['AnalysisRadarChartShape']] + """ + The shape of the radar chart. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisRadarChartSortConfigurationArgsDict']] + """ + The sort configuration of a `RadarChartVisual` . + """ + start_angle: NotRequired[pulumi.Input[float]] + """ + The start angle of a radar chart's axis. + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + AnalysisRadarChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRadarChartConfigurationArgs: def __init__(__self__, *, @@ -22593,6 +30715,15 @@ def visual_palette(self, value: Optional[pulumi.Input['AnalysisVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class AnalysisRadarChartFieldWellsArgsDict(TypedDict): + radar_chart_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisRadarChartAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a radar chart visual. + """ +elif False: + AnalysisRadarChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRadarChartFieldWellsArgs: def __init__(__self__, *, @@ -22616,6 +30747,15 @@ def radar_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Analy pulumi.set(self, "radar_chart_aggregated_field_wells", value) +if not MYPY: + class AnalysisRadarChartSeriesSettingsArgsDict(TypedDict): + area_style_settings: NotRequired[pulumi.Input['AnalysisRadarChartAreaStyleSettingsArgsDict']] + """ + The area style settings of a radar chart. + """ +elif False: + AnalysisRadarChartSeriesSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRadarChartSeriesSettingsArgs: def __init__(__self__, *, @@ -22639,6 +30779,27 @@ def area_style_settings(self, value: Optional[pulumi.Input['AnalysisRadarChartAr pulumi.set(self, "area_style_settings", value) +if not MYPY: + class AnalysisRadarChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The category items limit for a radar chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The category sort options of a radar chart. + """ + color_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The color items limit of a radar chart. + """ + color_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The color sort configuration of a radar chart. + """ +elif False: + AnalysisRadarChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRadarChartSortConfigurationArgs: def __init__(__self__, *, @@ -22710,6 +30871,35 @@ def color_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Analysi pulumi.set(self, "color_sort", value) +if not MYPY: + class AnalysisRadarChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisRadarChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisRadarChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRadarChartVisualArgs: def __init__(__self__, *, @@ -22812,6 +31002,15 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisRangeEndsLabelTypeArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the range ends label. + """ +elif False: + AnalysisRangeEndsLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRangeEndsLabelTypeArgs: def __init__(__self__, *, @@ -22835,6 +31034,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisReferenceLineCustomLabelConfigurationArgsDict(TypedDict): + custom_label: pulumi.Input[str] + """ + The string text of the custom label. + """ +elif False: + AnalysisReferenceLineCustomLabelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisReferenceLineCustomLabelConfigurationArgs: def __init__(__self__, *, @@ -22857,6 +31065,33 @@ def custom_label(self, value: pulumi.Input[str]): pulumi.set(self, "custom_label", value) +if not MYPY: + class AnalysisReferenceLineDataConfigurationArgsDict(TypedDict): + axis_binding: NotRequired[pulumi.Input['AnalysisAxisBinding']] + """ + The axis binding type of the reference line. Choose one of the following options: + + - `PrimaryY` + - `SecondaryY` + """ + dynamic_configuration: NotRequired[pulumi.Input['AnalysisReferenceLineDynamicDataConfigurationArgsDict']] + """ + The dynamic configuration of the reference line data configuration. + """ + series_type: NotRequired[pulumi.Input['AnalysisReferenceLineSeriesType']] + """ + The series type of the reference line data configuration. Choose one of the following options: + + - `BAR` + - `LINE` + """ + static_configuration: NotRequired[pulumi.Input['AnalysisReferenceLineStaticDataConfigurationArgsDict']] + """ + The static data configuration of the reference line data configuration. + """ +elif False: + AnalysisReferenceLineDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisReferenceLineDataConfigurationArgs: def __init__(__self__, *, @@ -22940,6 +31175,23 @@ def static_configuration(self, value: Optional[pulumi.Input['AnalysisReferenceLi pulumi.set(self, "static_configuration", value) +if not MYPY: + class AnalysisReferenceLineDynamicDataConfigurationArgsDict(TypedDict): + calculation: pulumi.Input['AnalysisNumericalAggregationFunctionArgsDict'] + """ + The calculation that is used in the dynamic data. + """ + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the dynamic data targets. + """ + measure_aggregation_function: NotRequired[pulumi.Input['AnalysisAggregationFunctionArgsDict']] + """ + The aggregation function that is used in the dynamic data. + """ +elif False: + AnalysisReferenceLineDynamicDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisReferenceLineDynamicDataConfigurationArgs: def __init__(__self__, *, @@ -22993,6 +31245,42 @@ def measure_aggregation_function(self, value: Optional[pulumi.Input['AnalysisAgg pulumi.set(self, "measure_aggregation_function", value) +if not MYPY: + class AnalysisReferenceLineLabelConfigurationArgsDict(TypedDict): + custom_label_configuration: NotRequired[pulumi.Input['AnalysisReferenceLineCustomLabelConfigurationArgsDict']] + """ + The custom label configuration of the label in a reference line. + """ + font_color: NotRequired[pulumi.Input[str]] + """ + The font color configuration of the label in a reference line. + """ + font_configuration: NotRequired[pulumi.Input['AnalysisFontConfigurationArgsDict']] + """ + The font configuration of the label in a reference line. + """ + horizontal_position: NotRequired[pulumi.Input['AnalysisReferenceLineLabelHorizontalPosition']] + """ + The horizontal position configuration of the label in a reference line. Choose one of the following options: + + - `LEFT` + - `CENTER` + - `RIGHT` + """ + value_label_configuration: NotRequired[pulumi.Input['AnalysisReferenceLineValueLabelConfigurationArgsDict']] + """ + The value label configuration of the label in a reference line. + """ + vertical_position: NotRequired[pulumi.Input['AnalysisReferenceLineLabelVerticalPosition']] + """ + The vertical position configuration of the label in a reference line. Choose one of the following options: + + - `ABOVE` + - `BELOW` + """ +elif False: + AnalysisReferenceLineLabelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisReferenceLineLabelConfigurationArgs: def __init__(__self__, *, @@ -23110,6 +31398,15 @@ def vertical_position(self, value: Optional[pulumi.Input['AnalysisReferenceLineL pulumi.set(self, "vertical_position", value) +if not MYPY: + class AnalysisReferenceLineStaticDataConfigurationArgsDict(TypedDict): + value: pulumi.Input[float] + """ + The double input of the static data. + """ +elif False: + AnalysisReferenceLineStaticDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisReferenceLineStaticDataConfigurationArgs: def __init__(__self__, *, @@ -23132,6 +31429,23 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisReferenceLineStyleConfigurationArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The hex color of the reference line. + """ + pattern: NotRequired[pulumi.Input['AnalysisReferenceLinePatternType']] + """ + The pattern type of the line style. Choose one of the following options: + + - `SOLID` + - `DASHED` + - `DOTTED` + """ +elif False: + AnalysisReferenceLineStyleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisReferenceLineStyleConfigurationArgs: def __init__(__self__, *, @@ -23179,6 +31493,22 @@ def pattern(self, value: Optional[pulumi.Input['AnalysisReferenceLinePatternType pulumi.set(self, "pattern", value) +if not MYPY: + class AnalysisReferenceLineValueLabelConfigurationArgsDict(TypedDict): + format_configuration: NotRequired[pulumi.Input['AnalysisNumericFormatConfigurationArgsDict']] + """ + The format configuration of the value label. + """ + relative_position: NotRequired[pulumi.Input['AnalysisReferenceLineValueLabelRelativePosition']] + """ + The relative position of the value label. Choose one of the following options: + + - `BEFORE_CUSTOM_LABEL` + - `AFTER_CUSTOM_LABEL` + """ +elif False: + AnalysisReferenceLineValueLabelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisReferenceLineValueLabelConfigurationArgs: def __init__(__self__, *, @@ -23224,6 +31554,30 @@ def relative_position(self, value: Optional[pulumi.Input['AnalysisReferenceLineV pulumi.set(self, "relative_position", value) +if not MYPY: + class AnalysisReferenceLineArgsDict(TypedDict): + data_configuration: pulumi.Input['AnalysisReferenceLineDataConfigurationArgsDict'] + """ + The data configuration of the reference line. + """ + label_configuration: NotRequired[pulumi.Input['AnalysisReferenceLineLabelConfigurationArgsDict']] + """ + The label configuration of the reference line. + """ + status: NotRequired[pulumi.Input['AnalysisWidgetStatus']] + """ + The status of the reference line. Choose one of the following options: + + - `ENABLE` + - `DISABLE` + """ + style_configuration: NotRequired[pulumi.Input['AnalysisReferenceLineStyleConfigurationArgsDict']] + """ + The style configuration of the reference line. + """ +elif False: + AnalysisReferenceLineArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisReferenceLineArgs: def __init__(__self__, *, @@ -23300,6 +31654,23 @@ def style_configuration(self, value: Optional[pulumi.Input['AnalysisReferenceLin pulumi.set(self, "style_configuration", value) +if not MYPY: + class AnalysisRelativeDateTimeControlDisplayOptionsArgsDict(TypedDict): + date_time_format: NotRequired[pulumi.Input[str]] + """ + Customize how dates are formatted in controls. + """ + info_icon_label_options: NotRequired[pulumi.Input['AnalysisSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + title_options: NotRequired[pulumi.Input['AnalysisLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + AnalysisRelativeDateTimeControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRelativeDateTimeControlDisplayOptionsArgs: def __init__(__self__, *, @@ -23355,6 +31726,65 @@ def title_options(self, value: Optional[pulumi.Input['AnalysisLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class AnalysisRelativeDatesFilterArgsDict(TypedDict): + anchor_date_configuration: pulumi.Input['AnalysisAnchorDateConfigurationArgsDict'] + """ + The date configuration of the filter. + """ + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + null_option: pulumi.Input['AnalysisFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + relative_date_type: pulumi.Input['AnalysisRelativeDateType'] + """ + The range date type of the filter. Choose one of the options below: + + - `PREVIOUS` + - `THIS` + - `LAST` + - `NOW` + - `NEXT` + """ + time_granularity: pulumi.Input['AnalysisTimeGranularity'] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['AnalysisDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + exclude_period_configuration: NotRequired[pulumi.Input['AnalysisExcludePeriodConfigurationArgsDict']] + """ + The configuration for the exclude period of the filter. + """ + minimum_granularity: NotRequired[pulumi.Input['AnalysisTimeGranularity']] + """ + The minimum granularity (period granularity) of the relative dates filter. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + """ + relative_date_value: NotRequired[pulumi.Input[float]] + """ + The date value of the filter. + """ +elif False: + AnalysisRelativeDatesFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRelativeDatesFilterArgs: def __init__(__self__, *, @@ -23552,6 +31982,36 @@ def relative_date_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "relative_date_value", value) +if not MYPY: + class AnalysisResourcePermissionArgsDict(TypedDict): + """ +

Permission for the resource.

+ """ + actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The IAM action to grant or revoke permissions on.

+ """ + principal: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the principal. This can be one of the + following:

+
    +
  • +

    The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight + ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. + (This is less common.)

    +
  • +
+ """ +elif False: + AnalysisResourcePermissionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisResourcePermissionArgs: def __init__(__self__, *, @@ -23618,6 +32078,19 @@ def principal(self, value: pulumi.Input[str]): pulumi.set(self, "principal", value) +if not MYPY: + class AnalysisRollingDateConfigurationArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression of the rolling date configuration. + """ + data_set_identifier: NotRequired[pulumi.Input[str]] + """ + The data set that is used in the rolling date configuration. + """ +elif False: + AnalysisRollingDateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRollingDateConfigurationArgs: def __init__(__self__, *, @@ -23656,6 +32129,23 @@ def data_set_identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "data_set_identifier", value) +if not MYPY: + class AnalysisRowAlternateColorOptionsArgsDict(TypedDict): + row_alternate_colors: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Determines the list of row alternate colors. + """ + status: NotRequired[pulumi.Input['AnalysisWidgetStatus']] + """ + Determines the widget status. + """ + use_primary_background_color: NotRequired[pulumi.Input['AnalysisWidgetStatus']] + """ + The primary background color options for alternate rows. + """ +elif False: + AnalysisRowAlternateColorOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisRowAlternateColorOptionsArgs: def __init__(__self__, *, @@ -23711,6 +32201,23 @@ def use_primary_background_color(self, value: Optional[pulumi.Input['AnalysisWid pulumi.set(self, "use_primary_background_color", value) +if not MYPY: + class AnalysisSameSheetTargetVisualConfigurationArgsDict(TypedDict): + target_visual_options: NotRequired[pulumi.Input['AnalysisTargetVisualOptions']] + """ + The options that choose the target visual in the same sheet. + + Valid values are defined as follows: + + - `ALL_VISUALS` : Applies the filter operation to all visuals in the same sheet. + """ + target_visuals: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the target visual IDs that are located in the same sheet of the analysis. + """ +elif False: + AnalysisSameSheetTargetVisualConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSameSheetTargetVisualConfigurationArgs: def __init__(__self__, *, @@ -23758,6 +32265,23 @@ def target_visuals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] pulumi.set(self, "target_visuals", value) +if not MYPY: + class AnalysisSankeyDiagramAggregatedFieldWellsArgsDict(TypedDict): + destination: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The destination field wells of a sankey diagram. + """ + source: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The source field wells of a sankey diagram. + """ + weight: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The weight field wells of a sankey diagram. + """ +elif False: + AnalysisSankeyDiagramAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSankeyDiagramAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -23813,6 +32337,23 @@ def weight(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "weight", value) +if not MYPY: + class AnalysisSankeyDiagramChartConfigurationArgsDict(TypedDict): + data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The data label configuration of a sankey diagram. + """ + field_wells: NotRequired[pulumi.Input['AnalysisSankeyDiagramFieldWellsArgsDict']] + """ + The field well configuration of a sankey diagram. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisSankeyDiagramSortConfigurationArgsDict']] + """ + The sort configuration of a sankey diagram. + """ +elif False: + AnalysisSankeyDiagramChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSankeyDiagramChartConfigurationArgs: def __init__(__self__, *, @@ -23868,6 +32409,15 @@ def sort_configuration(self, value: Optional[pulumi.Input['AnalysisSankeyDiagram pulumi.set(self, "sort_configuration", value) +if not MYPY: + class AnalysisSankeyDiagramFieldWellsArgsDict(TypedDict): + sankey_diagram_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisSankeyDiagramAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a sankey diagram. + """ +elif False: + AnalysisSankeyDiagramFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSankeyDiagramFieldWellsArgs: def __init__(__self__, *, @@ -23891,6 +32441,23 @@ def sankey_diagram_aggregated_field_wells(self, value: Optional[pulumi.Input['An pulumi.set(self, "sankey_diagram_aggregated_field_wells", value) +if not MYPY: + class AnalysisSankeyDiagramSortConfigurationArgsDict(TypedDict): + destination_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of destination nodes that are displayed in a sankey diagram. + """ + source_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of source nodes that are displayed in a sankey diagram. + """ + weight_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the weight fields. + """ +elif False: + AnalysisSankeyDiagramSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSankeyDiagramSortConfigurationArgs: def __init__(__self__, *, @@ -23946,6 +32513,31 @@ def weight_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Analys pulumi.set(self, "weight_sort", value) +if not MYPY: + class AnalysisSankeyDiagramVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisSankeyDiagramChartConfigurationArgsDict']] + """ + The configuration of a sankey diagram. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisSankeyDiagramVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSankeyDiagramVisualArgs: def __init__(__self__, *, @@ -24032,6 +32624,35 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisScatterPlotCategoricallyAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The category field well of a scatter plot. + """ + label: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The label field well of a scatter plot. + """ + size: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The size field well of a scatter plot. + """ + x_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The x-axis field well of a scatter plot. + + The x-axis is aggregated by category. + """ + y_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The y-axis field well of a scatter plot. + + The y-axis is aggregated by category. + """ +elif False: + AnalysisScatterPlotCategoricallyAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisScatterPlotCategoricallyAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -24127,6 +32748,47 @@ def y_axis(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "y_axis", value) +if not MYPY: + class AnalysisScatterPlotConfigurationArgsDict(TypedDict): + data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['AnalysisScatterPlotFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ + x_axis_display_options: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, and axis step) of the scatter plot's x-axis. + """ + x_axis_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of the scatter plot's x-axis. + """ + y_axis_display_options: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, and axis step) of the scatter plot's y-axis. + """ + y_axis_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of the scatter plot's y-axis. + """ +elif False: + AnalysisScatterPlotConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisScatterPlotConfigurationArgs: def __init__(__self__, *, @@ -24278,6 +32940,19 @@ def y_axis_label_options(self, value: Optional[pulumi.Input['AnalysisChartAxisLa pulumi.set(self, "y_axis_label_options", value) +if not MYPY: + class AnalysisScatterPlotFieldWellsArgsDict(TypedDict): + scatter_plot_categorically_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisScatterPlotCategoricallyAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a scatter plot. The x and y-axes of scatter plots with aggregated field wells are aggregated by category, label, or both. + """ + scatter_plot_unaggregated_field_wells: NotRequired[pulumi.Input['AnalysisScatterPlotUnaggregatedFieldWellsArgsDict']] + """ + The unaggregated field wells of a scatter plot. The x and y-axes of these scatter plots are unaggregated. + """ +elif False: + AnalysisScatterPlotFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisScatterPlotFieldWellsArgs: def __init__(__self__, *, @@ -24317,6 +32992,35 @@ def scatter_plot_unaggregated_field_wells(self, value: Optional[pulumi.Input['An pulumi.set(self, "scatter_plot_unaggregated_field_wells", value) +if not MYPY: + class AnalysisScatterPlotUnaggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The category field well of a scatter plot. + """ + label: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The label field well of a scatter plot. + """ + size: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The size field well of a scatter plot. + """ + x_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The x-axis field well of a scatter plot. + + The x-axis is a dimension field and cannot be aggregated. + """ + y_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The y-axis field well of a scatter plot. + + The y-axis is a dimension field and cannot be aggregated. + """ +elif False: + AnalysisScatterPlotUnaggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisScatterPlotUnaggregatedFieldWellsArgs: def __init__(__self__, *, @@ -24412,6 +33116,35 @@ def y_axis(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisDim pulumi.set(self, "y_axis", value) +if not MYPY: + class AnalysisScatterPlotVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisScatterPlotConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisScatterPlotVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisScatterPlotVisualArgs: def __init__(__self__, *, @@ -24514,6 +33247,19 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisScrollBarOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the data zoom scroll bar. + """ + visible_range: NotRequired[pulumi.Input['AnalysisVisibleRangeOptionsArgsDict']] + """ + The visibility range for the data zoom scroll bar. + """ +elif False: + AnalysisScrollBarOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisScrollBarOptionsArgs: def __init__(__self__, *, @@ -24553,6 +33299,15 @@ def visible_range(self, value: Optional[pulumi.Input['AnalysisVisibleRangeOption pulumi.set(self, "visible_range", value) +if not MYPY: + class AnalysisSecondaryValueOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines the visibility of the secondary value. + """ +elif False: + AnalysisSecondaryValueOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSecondaryValueOptionsArgs: def __init__(__self__, *, @@ -24576,6 +33331,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisSectionAfterPageBreakArgsDict(TypedDict): + status: NotRequired[pulumi.Input['AnalysisSectionPageBreakStatus']] + """ + The option that enables or disables a page break at the end of a section. + """ +elif False: + AnalysisSectionAfterPageBreakArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSectionAfterPageBreakArgs: def __init__(__self__, *, @@ -24599,6 +33363,15 @@ def status(self, value: Optional[pulumi.Input['AnalysisSectionPageBreakStatus']] pulumi.set(self, "status", value) +if not MYPY: + class AnalysisSectionBasedLayoutCanvasSizeOptionsArgsDict(TypedDict): + paper_canvas_size_options: NotRequired[pulumi.Input['AnalysisSectionBasedLayoutPaperCanvasSizeOptionsArgsDict']] + """ + The options for a paper canvas of a section-based layout. + """ +elif False: + AnalysisSectionBasedLayoutCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSectionBasedLayoutCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -24622,6 +33395,27 @@ def paper_canvas_size_options(self, value: Optional[pulumi.Input['AnalysisSectio pulumi.set(self, "paper_canvas_size_options", value) +if not MYPY: + class AnalysisSectionBasedLayoutConfigurationArgsDict(TypedDict): + body_sections: pulumi.Input[Sequence[pulumi.Input['AnalysisBodySectionConfigurationArgsDict']]] + """ + A list of body section configurations. + """ + canvas_size_options: pulumi.Input['AnalysisSectionBasedLayoutCanvasSizeOptionsArgsDict'] + """ + The options for the canvas of a section-based layout. + """ + footer_sections: pulumi.Input[Sequence[pulumi.Input['AnalysisHeaderFooterSectionConfigurationArgsDict']]] + """ + A list of footer section configurations. + """ + header_sections: pulumi.Input[Sequence[pulumi.Input['AnalysisHeaderFooterSectionConfigurationArgsDict']]] + """ + A list of header section configurations. + """ +elif False: + AnalysisSectionBasedLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSectionBasedLayoutConfigurationArgs: def __init__(__self__, *, @@ -24689,6 +33483,26 @@ def header_sections(self, value: pulumi.Input[Sequence[pulumi.Input['AnalysisHea pulumi.set(self, "header_sections", value) +if not MYPY: + class AnalysisSectionBasedLayoutPaperCanvasSizeOptionsArgsDict(TypedDict): + paper_margin: NotRequired[pulumi.Input['AnalysisSpacingArgsDict']] + """ + Defines the spacing between the canvas content and the top, bottom, left, and right edges. + """ + paper_orientation: NotRequired[pulumi.Input['AnalysisPaperOrientation']] + """ + The paper orientation that is used to define canvas dimensions. Choose one of the following options: + + - PORTRAIT + - LANDSCAPE + """ + paper_size: NotRequired[pulumi.Input['AnalysisPaperSize']] + """ + The paper size that is used to define canvas dimensions. + """ +elif False: + AnalysisSectionBasedLayoutPaperCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSectionBasedLayoutPaperCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -24750,6 +33564,15 @@ def paper_size(self, value: Optional[pulumi.Input['AnalysisPaperSize']]): pulumi.set(self, "paper_size", value) +if not MYPY: + class AnalysisSectionLayoutConfigurationArgsDict(TypedDict): + free_form_layout: pulumi.Input['AnalysisFreeFormSectionLayoutConfigurationArgsDict'] + """ + The free-form layout configuration of a section. + """ +elif False: + AnalysisSectionLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSectionLayoutConfigurationArgs: def __init__(__self__, *, @@ -24772,6 +33595,15 @@ def free_form_layout(self, value: pulumi.Input['AnalysisFreeFormSectionLayoutCon pulumi.set(self, "free_form_layout", value) +if not MYPY: + class AnalysisSectionPageBreakConfigurationArgsDict(TypedDict): + after: NotRequired[pulumi.Input['AnalysisSectionAfterPageBreakArgsDict']] + """ + The configuration of a page break after a section. + """ +elif False: + AnalysisSectionPageBreakConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSectionPageBreakConfigurationArgs: def __init__(__self__, *, @@ -24795,6 +33627,21 @@ def after(self, value: Optional[pulumi.Input['AnalysisSectionAfterPageBreakArgs' pulumi.set(self, "after", value) +if not MYPY: + class AnalysisSectionStyleArgsDict(TypedDict): + height: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + padding: NotRequired[pulumi.Input['AnalysisSpacingArgsDict']] + """ + The spacing between section content and its top, bottom, left, and right edges. + + There is no padding by default. + """ +elif False: + AnalysisSectionStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSectionStyleArgs: def __init__(__self__, *, @@ -24838,6 +33685,15 @@ def padding(self, value: Optional[pulumi.Input['AnalysisSpacingArgs']]): pulumi.set(self, "padding", value) +if not MYPY: + class AnalysisSelectedSheetsFilterScopeConfigurationArgsDict(TypedDict): + sheet_visual_scoping_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisSheetVisualScopingConfigurationArgsDict']]]] + """ + The sheet ID and visual IDs of the sheet and visuals that the filter is applied to. + """ +elif False: + AnalysisSelectedSheetsFilterScopeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSelectedSheetsFilterScopeConfigurationArgs: def __init__(__self__, *, @@ -24861,6 +33717,19 @@ def sheet_visual_scoping_configurations(self, value: Optional[pulumi.Input[Seque pulumi.set(self, "sheet_visual_scoping_configurations", value) +if not MYPY: + class AnalysisSeriesItemArgsDict(TypedDict): + data_field_series_item: NotRequired[pulumi.Input['AnalysisDataFieldSeriesItemArgsDict']] + """ + The data field series item configuration of a line chart. + """ + field_series_item: NotRequired[pulumi.Input['AnalysisFieldSeriesItemArgsDict']] + """ + The field series item configuration of a line chart. + """ +elif False: + AnalysisSeriesItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSeriesItemArgs: def __init__(__self__, *, @@ -24900,6 +33769,16 @@ def field_series_item(self, value: Optional[pulumi.Input['AnalysisFieldSeriesIte pulumi.set(self, "field_series_item", value) +if not MYPY: + class AnalysisSetParameterValueConfigurationArgsDict(TypedDict): + destination_parameter_name: pulumi.Input[str] + """ + The destination parameter name of the `SetParameterValueConfiguration` . + """ + value: pulumi.Input['AnalysisDestinationParameterValueConfigurationArgsDict'] +elif False: + AnalysisSetParameterValueConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSetParameterValueConfigurationArgs: def __init__(__self__, *, @@ -24933,6 +33812,15 @@ def value(self, value: pulumi.Input['AnalysisDestinationParameterValueConfigurat pulumi.set(self, "value", value) +if not MYPY: + class AnalysisShapeConditionalFormatArgsDict(TypedDict): + background_color: pulumi.Input['AnalysisConditionalFormattingColorArgsDict'] + """ + The conditional formatting for the shape background color of a filled map visual. + """ +elif False: + AnalysisShapeConditionalFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisShapeConditionalFormatArgs: def __init__(__self__, *, @@ -24955,6 +33843,19 @@ def background_color(self, value: pulumi.Input['AnalysisConditionalFormattingCol pulumi.set(self, "background_color", value) +if not MYPY: + class AnalysisSheetControlInfoIconLabelOptionsArgsDict(TypedDict): + info_icon_text: NotRequired[pulumi.Input[str]] + """ + The text content of info icon. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility configuration of info icon label options. + """ +elif False: + AnalysisSheetControlInfoIconLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSheetControlInfoIconLabelOptionsArgs: def __init__(__self__, *, @@ -24994,6 +33895,15 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisSheetControlLayoutConfigurationArgsDict(TypedDict): + grid_layout: NotRequired[pulumi.Input['AnalysisGridLayoutConfigurationArgsDict']] + """ + The configuration that determines the elements and canvas size options of sheet control. + """ +elif False: + AnalysisSheetControlLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSheetControlLayoutConfigurationArgs: def __init__(__self__, *, @@ -25017,6 +33927,15 @@ def grid_layout(self, value: Optional[pulumi.Input['AnalysisGridLayoutConfigurat pulumi.set(self, "grid_layout", value) +if not MYPY: + class AnalysisSheetControlLayoutArgsDict(TypedDict): + configuration: pulumi.Input['AnalysisSheetControlLayoutConfigurationArgsDict'] + """ + The configuration that determines the elements and canvas size options of sheet control. + """ +elif False: + AnalysisSheetControlLayoutArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSheetControlLayoutArgs: def __init__(__self__, *, @@ -25039,6 +33958,64 @@ def configuration(self, value: pulumi.Input['AnalysisSheetControlLayoutConfigura pulumi.set(self, "configuration", value) +if not MYPY: + class AnalysisSheetDefinitionArgsDict(TypedDict): + sheet_id: pulumi.Input[str] + """ + The unique identifier of a sheet. + """ + content_type: NotRequired[pulumi.Input['AnalysisSheetContentType']] + """ + The layout content type of the sheet. Choose one of the following options: + + - `PAGINATED` : Creates a sheet for a paginated report. + - `INTERACTIVE` : Creates a sheet for an interactive dashboard. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description of the sheet. + """ + filter_controls: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFilterControlArgsDict']]]] + """ + The list of filter controls that are on a sheet. + + For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* . + """ + layouts: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisLayoutArgsDict']]]] + """ + Layouts define how the components of a sheet are arranged. + + For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* . + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the sheet. This name is displayed on the sheet's tab in the Amazon QuickSight console. + """ + parameter_controls: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisParameterControlArgsDict']]]] + """ + The list of parameter controls that are on a sheet. + + For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* . + """ + sheet_control_layouts: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisSheetControlLayoutArgsDict']]]] + """ + The control layouts of the sheet. + """ + text_boxes: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisSheetTextBoxArgsDict']]]] + """ + The text boxes that are on a sheet. + """ + title: NotRequired[pulumi.Input[str]] + """ + The title of the sheet. + """ + visuals: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualArgsDict']]]] + """ + A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet. + """ +elif False: + AnalysisSheetDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSheetDefinitionArgs: def __init__(__self__, *, @@ -25239,6 +34216,18 @@ def visuals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisVi pulumi.set(self, "visuals", value) +if not MYPY: + class AnalysisSheetElementConfigurationOverridesArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines whether or not the overrides are visible. Choose one of the following options: + + - `VISIBLE` + - `HIDDEN` + """ +elif False: + AnalysisSheetElementConfigurationOverridesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSheetElementConfigurationOverridesArgs: def __init__(__self__, *, @@ -25268,6 +34257,19 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisSheetElementRenderingRuleArgsDict(TypedDict): + configuration_overrides: pulumi.Input['AnalysisSheetElementConfigurationOverridesArgsDict'] + """ + The override configuration of the rendering rules of a sheet. + """ + expression: pulumi.Input[str] + """ + The expression of the rendering rules of a sheet. + """ +elif False: + AnalysisSheetElementRenderingRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSheetElementRenderingRuleArgs: def __init__(__self__, *, @@ -25305,6 +34307,19 @@ def expression(self, value: pulumi.Input[str]): pulumi.set(self, "expression", value) +if not MYPY: + class AnalysisSheetTextBoxArgsDict(TypedDict): + sheet_text_box_id: pulumi.Input[str] + """ + The unique identifier for a text box. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers. + """ + content: NotRequired[pulumi.Input[str]] + """ + The content that is displayed in the text box. + """ +elif False: + AnalysisSheetTextBoxArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSheetTextBoxArgs: def __init__(__self__, *, @@ -25343,6 +34358,26 @@ def content(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "content", value) +if not MYPY: + class AnalysisSheetVisualScopingConfigurationArgsDict(TypedDict): + scope: pulumi.Input['AnalysisFilterVisualScope'] + """ + The scope of the applied entities. Choose one of the following options: + + - `ALL_VISUALS` + - `SELECTED_VISUALS` + """ + sheet_id: pulumi.Input[str] + """ + The selected sheet that the filter is applied to. + """ + visual_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The selected visuals that the filter is applied to. + """ +elif False: + AnalysisSheetVisualScopingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSheetVisualScopingConfigurationArgs: def __init__(__self__, *, @@ -25402,6 +34437,27 @@ def visual_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "visual_ids", value) +if not MYPY: + class AnalysisSheetArgsDict(TypedDict): + """ +

A sheet, which is an object that contains a set of visuals that + are viewed together on one page in Amazon QuickSight. Every analysis and dashboard + contains at least one sheet. Each sheet contains at least one visualization widget, for + example a chart, pivot table, or narrative insight. Sheets can be associated with other + components, such as controls, filters, and so on.

+ """ + name: NotRequired[pulumi.Input[str]] + """ +

The name of a sheet. This name is displayed on the sheet's tab in the Amazon QuickSight + console.

+ """ + sheet_id: NotRequired[pulumi.Input[str]] + """ +

The unique identifier associated with a sheet.

+ """ +elif False: + AnalysisSheetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSheetArgs: def __init__(__self__, *, @@ -25448,6 +34504,19 @@ def sheet_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sheet_id", value) +if not MYPY: + class AnalysisShortFormatTextArgsDict(TypedDict): + plain_text: NotRequired[pulumi.Input[str]] + """ + Plain text format. + """ + rich_text: NotRequired[pulumi.Input[str]] + """ + Rich text. Examples of rich text include bold, underline, and italics. + """ +elif False: + AnalysisShortFormatTextArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisShortFormatTextArgs: def __init__(__self__, *, @@ -25487,6 +34556,15 @@ def rich_text(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "rich_text", value) +if not MYPY: + class AnalysisSimpleClusterMarkerArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The color of the simple cluster marker. + """ +elif False: + AnalysisSimpleClusterMarkerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSimpleClusterMarkerArgs: def __init__(__self__, *, @@ -25510,6 +34588,15 @@ def color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "color", value) +if not MYPY: + class AnalysisSingleAxisOptionsArgsDict(TypedDict): + y_axis_options: NotRequired[pulumi.Input['AnalysisYAxisOptionsArgsDict']] + """ + The Y axis options of a single axis configuration. + """ +elif False: + AnalysisSingleAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSingleAxisOptionsArgs: def __init__(__self__, *, @@ -25533,6 +34620,19 @@ def y_axis_options(self, value: Optional[pulumi.Input['AnalysisYAxisOptionsArgs' pulumi.set(self, "y_axis_options", value) +if not MYPY: + class AnalysisSliderControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['AnalysisSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + title_options: NotRequired[pulumi.Input['AnalysisLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + AnalysisSliderControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSliderControlDisplayOptionsArgs: def __init__(__self__, *, @@ -25572,6 +34672,19 @@ def title_options(self, value: Optional[pulumi.Input['AnalysisLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class AnalysisSmallMultiplesAxisPropertiesArgsDict(TypedDict): + placement: NotRequired[pulumi.Input['AnalysisSmallMultiplesAxisPlacement']] + """ + Defines the placement of the axis. By default, axes are rendered `OUTSIDE` of the panels. Axes with `INDEPENDENT` scale are rendered `INSIDE` the panels. + """ + scale: NotRequired[pulumi.Input['AnalysisSmallMultiplesAxisScale']] + """ + Determines whether scale of the axes are shared or independent. The default value is `SHARED` . + """ +elif False: + AnalysisSmallMultiplesAxisPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSmallMultiplesAxisPropertiesArgs: def __init__(__self__, *, @@ -25611,6 +34724,35 @@ def scale(self, value: Optional[pulumi.Input['AnalysisSmallMultiplesAxisScale']] pulumi.set(self, "scale", value) +if not MYPY: + class AnalysisSmallMultiplesOptionsArgsDict(TypedDict): + max_visible_columns: NotRequired[pulumi.Input[float]] + """ + Sets the maximum number of visible columns to display in the grid of small multiples panels. + + The default is `Auto` , which automatically adjusts the columns in the grid to fit the overall layout and size of the given chart. + """ + max_visible_rows: NotRequired[pulumi.Input[float]] + """ + Sets the maximum number of visible rows to display in the grid of small multiples panels. + + The default value is `Auto` , which automatically adjusts the rows in the grid to fit the overall layout and size of the given chart. + """ + panel_configuration: NotRequired[pulumi.Input['AnalysisPanelConfigurationArgsDict']] + """ + Configures the display options for each small multiples panel. + """ + x_axis: NotRequired[pulumi.Input['AnalysisSmallMultiplesAxisPropertiesArgsDict']] + """ + The properties of a small multiples X axis. + """ + y_axis: NotRequired[pulumi.Input['AnalysisSmallMultiplesAxisPropertiesArgsDict']] + """ + The properties of a small multiples Y axis. + """ +elif False: + AnalysisSmallMultiplesOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSmallMultiplesOptionsArgs: def __init__(__self__, *, @@ -25706,6 +34848,18 @@ def y_axis(self, value: Optional[pulumi.Input['AnalysisSmallMultiplesAxisPropert pulumi.set(self, "y_axis", value) +if not MYPY: + class AnalysisSourceEntityArgsDict(TypedDict): + """ +

The source entity of an analysis.

+ """ + source_template: NotRequired[pulumi.Input['AnalysisSourceTemplateArgsDict']] + """ + The source template for the source entity of the analysis. + """ +elif False: + AnalysisSourceEntityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSourceEntityArgs: def __init__(__self__, *, @@ -25730,6 +34884,22 @@ def source_template(self, value: Optional[pulumi.Input['AnalysisSourceTemplateAr pulumi.set(self, "source_template", value) +if not MYPY: + class AnalysisSourceTemplateArgsDict(TypedDict): + """ +

The source template of an analysis.

+ """ + arn: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the source template of an analysis.

+ """ + data_set_references: pulumi.Input[Sequence[pulumi.Input['AnalysisDataSetReferenceArgsDict']]] + """ +

The dataset references of the source template of an analysis.

+ """ +elif False: + AnalysisSourceTemplateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSourceTemplateArgs: def __init__(__self__, *, @@ -25768,6 +34938,27 @@ def data_set_references(self, value: pulumi.Input[Sequence[pulumi.Input['Analysi pulumi.set(self, "data_set_references", value) +if not MYPY: + class AnalysisSpacingArgsDict(TypedDict): + bottom: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ + left: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ + right: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ + top: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ +elif False: + AnalysisSpacingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSpacingArgs: def __init__(__self__, *, @@ -25839,6 +35030,19 @@ def top(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "top", value) +if not MYPY: + class AnalysisStringDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['AnalysisDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `StringDefaultValues` . Different defaults displayed according to users, groups, and values mapping. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The static values of the `DecimalDefaultValues` . + """ +elif False: + AnalysisStringDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisStringDefaultValuesArgs: def __init__(__self__, *, @@ -25878,6 +35082,19 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "static_values", value) +if not MYPY: + class AnalysisStringFormatConfigurationArgsDict(TypedDict): + null_value_format_configuration: NotRequired[pulumi.Input['AnalysisNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + numeric_format_configuration: NotRequired[pulumi.Input['AnalysisNumericFormatConfigurationArgsDict']] + """ + The formatting configuration for numeric strings. + """ +elif False: + AnalysisStringFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisStringFormatConfigurationArgs: def __init__(__self__, *, @@ -25917,6 +35134,28 @@ def numeric_format_configuration(self, value: Optional[pulumi.Input['AnalysisNum pulumi.set(self, "numeric_format_configuration", value) +if not MYPY: + class AnalysisStringParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + parameter_value_type: pulumi.Input['AnalysisParameterValueType'] + """ + The value type determines whether the parameter is a single-value or multi-value parameter. + """ + default_values: NotRequired[pulumi.Input['AnalysisStringDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMappedDataSetParameterArgsDict']]]] + value_when_unset: NotRequired[pulumi.Input['AnalysisStringValueWhenUnsetConfigurationArgsDict']] + """ + The configuration that defines the default value of a `String` parameter when a value has not been set. + """ +elif False: + AnalysisStringParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisStringParameterDeclarationArgs: def __init__(__self__, *, @@ -25998,6 +35237,22 @@ def value_when_unset(self, value: Optional[pulumi.Input['AnalysisStringValueWhen pulumi.set(self, "value_when_unset", value) +if not MYPY: + class AnalysisStringParameterArgsDict(TypedDict): + """ +

A string parameter.

+ """ + name: pulumi.Input[str] + """ +

A display name for a string parameter.

+ """ + values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The values of a string parameter.

+ """ +elif False: + AnalysisStringParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisStringParameterArgs: def __init__(__self__, *, @@ -26036,6 +35291,22 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class AnalysisStringValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[str]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['AnalysisValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + AnalysisStringValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisStringValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -26081,6 +35352,43 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['AnalysisValueWhe pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class AnalysisSubtotalOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the subtotal cells. + """ + field_level: NotRequired[pulumi.Input['AnalysisPivotTableSubtotalLevel']] + """ + The field level (all, custom, last) for the subtotal cells. + """ + field_level_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisPivotTableFieldSubtotalOptionsArgsDict']]]] + """ + The optional configuration of subtotal cells. + """ + metric_header_cell_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The cell styling options for the subtotals of header cells. + """ + style_targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisTableStyleTargetArgsDict']]]] + """ + The style targets options for subtotals. + """ + total_cell_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The cell styling options for the subtotal cells. + """ + totals_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility configuration for the subtotal cells. + """ + value_cell_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The cell styling options for the subtotals of value cells. + """ +elif False: + AnalysisSubtotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisSubtotalOptionsArgs: def __init__(__self__, *, @@ -26216,6 +35524,19 @@ def value_cell_style(self, value: Optional[pulumi.Input['AnalysisTableCellStyleA pulumi.set(self, "value_cell_style", value) +if not MYPY: + class AnalysisTableAggregatedFieldWellsArgsDict(TypedDict): + group_by: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The group by field well for a pivot table. Values are grouped by group by fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The values field well for a pivot table. Values are aggregated based on group by fields. + """ +elif False: + AnalysisTableAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -26255,6 +35576,23 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisTableBorderOptionsArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The color of a table border. + """ + style: NotRequired[pulumi.Input['AnalysisTableBorderStyle']] + """ + The style (none, solid) of a table border. + """ + thickness: NotRequired[pulumi.Input[float]] + """ + The thickness of a table border. + """ +elif False: + AnalysisTableBorderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableBorderOptionsArgs: def __init__(__self__, *, @@ -26310,6 +35648,19 @@ def thickness(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "thickness", value) +if not MYPY: + class AnalysisTableCellConditionalFormattingArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the cell for conditional formatting. + """ + text_format: NotRequired[pulumi.Input['AnalysisTextConditionalFormatArgsDict']] + """ + The text format of the cell for conditional formatting. + """ +elif False: + AnalysisTableCellConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableCellConditionalFormattingArgs: def __init__(__self__, *, @@ -26348,6 +35699,15 @@ def text_format(self, value: Optional[pulumi.Input['AnalysisTextConditionalForma pulumi.set(self, "text_format", value) +if not MYPY: + class AnalysisTableCellImageSizingConfigurationArgsDict(TypedDict): + table_cell_image_scaling_configuration: NotRequired[pulumi.Input['AnalysisTableCellImageScalingConfiguration']] + """ + The cell scaling configuration of the sizing options for the table image configuration. + """ +elif False: + AnalysisTableCellImageSizingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableCellImageSizingConfigurationArgs: def __init__(__self__, *, @@ -26371,6 +35731,43 @@ def table_cell_image_scaling_configuration(self, value: Optional[pulumi.Input['A pulumi.set(self, "table_cell_image_scaling_configuration", value) +if not MYPY: + class AnalysisTableCellStyleArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input[str]] + """ + The background color for the table cells. + """ + border: NotRequired[pulumi.Input['AnalysisGlobalTableBorderOptionsArgsDict']] + """ + The borders for the table cells. + """ + font_configuration: NotRequired[pulumi.Input['AnalysisFontConfigurationArgsDict']] + """ + The font configuration of the table cells. + """ + height: NotRequired[pulumi.Input[float]] + """ + The height color for the table cells. + """ + horizontal_text_alignment: NotRequired[pulumi.Input['AnalysisHorizontalTextAlignment']] + """ + The horizontal text alignment (left, center, right, auto) for the table cells. + """ + text_wrap: NotRequired[pulumi.Input['AnalysisTextWrap']] + """ + The text wrap (none, wrap) for the table cells. + """ + vertical_text_alignment: NotRequired[pulumi.Input['AnalysisVerticalTextAlignment']] + """ + The vertical text alignment (top, middle, bottom) for the table cells. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the table cells. + """ +elif False: + AnalysisTableCellStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableCellStyleArgs: def __init__(__self__, *, @@ -26506,6 +35903,19 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisTableConditionalFormattingOptionArgsDict(TypedDict): + cell: NotRequired[pulumi.Input['AnalysisTableCellConditionalFormattingArgsDict']] + """ + The cell conditional formatting option for a table. + """ + row: NotRequired[pulumi.Input['AnalysisTableRowConditionalFormattingArgsDict']] + """ + The row conditional formatting option for a table. + """ +elif False: + AnalysisTableConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -26545,6 +35955,15 @@ def row(self, value: Optional[pulumi.Input['AnalysisTableRowConditionalFormattin pulumi.set(self, "row", value) +if not MYPY: + class AnalysisTableConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisTableConditionalFormattingOptionArgsDict']]]] + """ + Conditional formatting options for a `PivotTableVisual` . + """ +elif False: + AnalysisTableConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableConditionalFormattingArgs: def __init__(__self__, *, @@ -26568,6 +35987,39 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class AnalysisTableConfigurationArgsDict(TypedDict): + field_options: NotRequired[pulumi.Input['AnalysisTableFieldOptionsArgsDict']] + """ + The field options for a table visual. + """ + field_wells: NotRequired[pulumi.Input['AnalysisTableFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + paginated_report_options: NotRequired[pulumi.Input['AnalysisTablePaginatedReportOptionsArgsDict']] + """ + The paginated report options for a table visual. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisTableSortConfigurationArgsDict']] + """ + The sort configuration for a `TableVisual` . + """ + table_inline_visualizations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisTableInlineVisualizationArgsDict']]]] + """ + A collection of inline visualizations to display within a chart. + """ + table_options: NotRequired[pulumi.Input['AnalysisTableOptionsArgsDict']] + """ + The table options for a table visual. + """ + total_options: NotRequired[pulumi.Input['AnalysisTotalOptionsArgsDict']] + """ + The total options for a table visual. + """ +elif False: + AnalysisTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableConfigurationArgs: def __init__(__self__, *, @@ -26687,6 +36139,15 @@ def total_options(self, value: Optional[pulumi.Input['AnalysisTotalOptionsArgs'] pulumi.set(self, "total_options", value) +if not MYPY: + class AnalysisTableFieldCustomIconContentArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['AnalysisTableFieldIconSetType']] + """ + The icon set type (link) of the custom icon content for table URL link content. + """ +elif False: + AnalysisTableFieldCustomIconContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableFieldCustomIconContentArgs: def __init__(__self__, *, @@ -26710,6 +36171,19 @@ def icon(self, value: Optional[pulumi.Input['AnalysisTableFieldIconSetType']]): pulumi.set(self, "icon", value) +if not MYPY: + class AnalysisTableFieldCustomTextContentArgsDict(TypedDict): + font_configuration: pulumi.Input['AnalysisFontConfigurationArgsDict'] + """ + The font configuration of the custom text content for the table URL link content. + """ + value: NotRequired[pulumi.Input[str]] + """ + The string value of the custom text content for the table URL link content. + """ +elif False: + AnalysisTableFieldCustomTextContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableFieldCustomTextContentArgs: def __init__(__self__, *, @@ -26748,6 +36222,15 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisTableFieldImageConfigurationArgsDict(TypedDict): + sizing_options: NotRequired[pulumi.Input['AnalysisTableCellImageSizingConfigurationArgsDict']] + """ + The sizing options for the table image configuration. + """ +elif False: + AnalysisTableFieldImageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableFieldImageConfigurationArgs: def __init__(__self__, *, @@ -26771,6 +36254,19 @@ def sizing_options(self, value: Optional[pulumi.Input['AnalysisTableCellImageSiz pulumi.set(self, "sizing_options", value) +if not MYPY: + class AnalysisTableFieldLinkConfigurationArgsDict(TypedDict): + content: pulumi.Input['AnalysisTableFieldLinkContentConfigurationArgsDict'] + """ + The URL content (text, icon) for the table link configuration. + """ + target: pulumi.Input['AnalysisUrlTargetConfiguration'] + """ + The URL target (new tab, new window, same tab) for the table link configuration. + """ +elif False: + AnalysisTableFieldLinkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableFieldLinkConfigurationArgs: def __init__(__self__, *, @@ -26808,6 +36304,19 @@ def target(self, value: pulumi.Input['AnalysisUrlTargetConfiguration']): pulumi.set(self, "target", value) +if not MYPY: + class AnalysisTableFieldLinkContentConfigurationArgsDict(TypedDict): + custom_icon_content: NotRequired[pulumi.Input['AnalysisTableFieldCustomIconContentArgsDict']] + """ + The custom icon content for the table link content configuration. + """ + custom_text_content: NotRequired[pulumi.Input['AnalysisTableFieldCustomTextContentArgsDict']] + """ + The custom text content (value, font configuration) for the table link content configuration. + """ +elif False: + AnalysisTableFieldLinkContentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableFieldLinkContentConfigurationArgs: def __init__(__self__, *, @@ -26847,6 +36356,23 @@ def custom_text_content(self, value: Optional[pulumi.Input['AnalysisTableFieldCu pulumi.set(self, "custom_text_content", value) +if not MYPY: + class AnalysisTableFieldOptionsArgsDict(TypedDict): + order: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The order of the field IDs that are configured as field options for a table visual. + """ + pinned_field_options: NotRequired[pulumi.Input['AnalysisTablePinnedFieldOptionsArgsDict']] + """ + The settings for the pinned columns of a table visual. + """ + selected_field_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisTableFieldOptionArgsDict']]]] + """ + The field options to be configured to a table. + """ +elif False: + AnalysisTableFieldOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableFieldOptionsArgs: def __init__(__self__, *, @@ -26902,6 +36428,31 @@ def selected_field_options(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "selected_field_options", value) +if not MYPY: + class AnalysisTableFieldOptionArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID for a table field. + """ + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label for a table field. + """ + url_styling: NotRequired[pulumi.Input['AnalysisTableFieldUrlConfigurationArgsDict']] + """ + The URL configuration for a table field. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of a table field. + """ + width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + AnalysisTableFieldOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableFieldOptionArgs: def __init__(__self__, *, @@ -26988,6 +36539,19 @@ def width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "width", value) +if not MYPY: + class AnalysisTableFieldUrlConfigurationArgsDict(TypedDict): + image_configuration: NotRequired[pulumi.Input['AnalysisTableFieldImageConfigurationArgsDict']] + """ + The image configuration of a table field URL. + """ + link_configuration: NotRequired[pulumi.Input['AnalysisTableFieldLinkConfigurationArgsDict']] + """ + The link configuration of a table field URL. + """ +elif False: + AnalysisTableFieldUrlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableFieldUrlConfigurationArgs: def __init__(__self__, *, @@ -27027,6 +36591,19 @@ def link_configuration(self, value: Optional[pulumi.Input['AnalysisTableFieldLin pulumi.set(self, "link_configuration", value) +if not MYPY: + class AnalysisTableFieldWellsArgsDict(TypedDict): + table_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisTableAggregatedFieldWellsArgsDict']] + """ + The aggregated field well for the table. + """ + table_unaggregated_field_wells: NotRequired[pulumi.Input['AnalysisTableUnaggregatedFieldWellsArgsDict']] + """ + The unaggregated field well for the table. + """ +elif False: + AnalysisTableFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableFieldWellsArgs: def __init__(__self__, *, @@ -27066,6 +36643,15 @@ def table_unaggregated_field_wells(self, value: Optional[pulumi.Input['AnalysisT pulumi.set(self, "table_unaggregated_field_wells", value) +if not MYPY: + class AnalysisTableInlineVisualizationArgsDict(TypedDict): + data_bars: NotRequired[pulumi.Input['AnalysisDataBarsOptionsArgsDict']] + """ + The configuration of the inline visualization of the data bars within a chart. + """ +elif False: + AnalysisTableInlineVisualizationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableInlineVisualizationArgs: def __init__(__self__, *, @@ -27089,6 +36675,27 @@ def data_bars(self, value: Optional[pulumi.Input['AnalysisDataBarsOptionsArgs']] pulumi.set(self, "data_bars", value) +if not MYPY: + class AnalysisTableOptionsArgsDict(TypedDict): + cell_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The table cell style of table cells. + """ + header_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + The table cell style of a table header. + """ + orientation: NotRequired[pulumi.Input['AnalysisTableOrientation']] + """ + The orientation (vertical, horizontal) for a table. + """ + row_alternate_color_options: NotRequired[pulumi.Input['AnalysisRowAlternateColorOptionsArgsDict']] + """ + The row alternate color options (widget status, row alternate colors) for a table. + """ +elif False: + AnalysisTableOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableOptionsArgs: def __init__(__self__, *, @@ -27160,6 +36767,19 @@ def row_alternate_color_options(self, value: Optional[pulumi.Input['AnalysisRowA pulumi.set(self, "row_alternate_color_options", value) +if not MYPY: + class AnalysisTablePaginatedReportOptionsArgsDict(TypedDict): + overflow_column_header_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of repeating header rows on each page. + """ + vertical_overflow_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of printing table overflow across pages. + """ +elif False: + AnalysisTablePaginatedReportOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTablePaginatedReportOptionsArgs: def __init__(__self__, *, @@ -27199,6 +36819,15 @@ def vertical_overflow_visibility(self, value: Optional[pulumi.Input['AnalysisVis pulumi.set(self, "vertical_overflow_visibility", value) +if not MYPY: + class AnalysisTablePinnedFieldOptionsArgsDict(TypedDict): + pinned_left_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of columns to be pinned to the left of a table visual. + """ +elif False: + AnalysisTablePinnedFieldOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTablePinnedFieldOptionsArgs: def __init__(__self__, *, @@ -27222,6 +36851,19 @@ def pinned_left_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "pinned_left_fields", value) +if not MYPY: + class AnalysisTableRowConditionalFormattingArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input['AnalysisConditionalFormattingColorArgsDict']] + """ + The conditional formatting color (solid, gradient) of the background for a table row. + """ + text_color: NotRequired[pulumi.Input['AnalysisConditionalFormattingColorArgsDict']] + """ + The conditional formatting color (solid, gradient) of the text for a table row. + """ +elif False: + AnalysisTableRowConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableRowConditionalFormattingArgs: def __init__(__self__, *, @@ -27261,6 +36903,35 @@ def text_color(self, value: Optional[pulumi.Input['AnalysisConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class AnalysisTableSideBorderOptionsArgsDict(TypedDict): + bottom: NotRequired[pulumi.Input['AnalysisTableBorderOptionsArgsDict']] + """ + The table border options of the bottom border. + """ + inner_horizontal: NotRequired[pulumi.Input['AnalysisTableBorderOptionsArgsDict']] + """ + The table border options of the inner horizontal border. + """ + inner_vertical: NotRequired[pulumi.Input['AnalysisTableBorderOptionsArgsDict']] + """ + The table border options of the inner vertical border. + """ + left: NotRequired[pulumi.Input['AnalysisTableBorderOptionsArgsDict']] + """ + The table border options of the left border. + """ + right: NotRequired[pulumi.Input['AnalysisTableBorderOptionsArgsDict']] + """ + The table border options of the right border. + """ + top: NotRequired[pulumi.Input['AnalysisTableBorderOptionsArgsDict']] + """ + The table border options of the top border. + """ +elif False: + AnalysisTableSideBorderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableSideBorderOptionsArgs: def __init__(__self__, *, @@ -27364,6 +37035,19 @@ def top(self, value: Optional[pulumi.Input['AnalysisTableBorderOptionsArgs']]): pulumi.set(self, "top", value) +if not MYPY: + class AnalysisTableSortConfigurationArgsDict(TypedDict): + pagination_configuration: NotRequired[pulumi.Input['AnalysisPaginationConfigurationArgsDict']] + """ + The pagination configuration (page size, page number) for the table. + """ + row_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The field sort options for rows in the table. + """ +elif False: + AnalysisTableSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableSortConfigurationArgs: def __init__(__self__, *, @@ -27403,6 +37087,15 @@ def row_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisF pulumi.set(self, "row_sort", value) +if not MYPY: + class AnalysisTableStyleTargetArgsDict(TypedDict): + cell_type: pulumi.Input['AnalysisStyledCellType'] + """ + The cell type of the table style target. + """ +elif False: + AnalysisTableStyleTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableStyleTargetArgs: def __init__(__self__, *, @@ -27425,6 +37118,15 @@ def cell_type(self, value: pulumi.Input['AnalysisStyledCellType']): pulumi.set(self, "cell_type", value) +if not MYPY: + class AnalysisTableUnaggregatedFieldWellsArgsDict(TypedDict): + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisUnaggregatedFieldArgsDict']]]] + """ + The values field well for a pivot table. Values are unaggregated for an unaggregated table. + """ +elif False: + AnalysisTableUnaggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableUnaggregatedFieldWellsArgs: def __init__(__self__, *, @@ -27448,6 +37150,35 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisUna pulumi.set(self, "values", value) +if not MYPY: + class AnalysisTableVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisTableConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + conditional_formatting: NotRequired[pulumi.Input['AnalysisTableConditionalFormattingArgsDict']] + """ + The conditional formatting for a `PivotTableVisual` . + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisTableVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTableVisualArgs: def __init__(__self__, *, @@ -27550,6 +37281,23 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisTextAreaControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['AnalysisSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + placeholder_options: NotRequired[pulumi.Input['AnalysisTextControlPlaceholderOptionsArgsDict']] + """ + The configuration of the placeholder options in a text area control. + """ + title_options: NotRequired[pulumi.Input['AnalysisLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + AnalysisTextAreaControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTextAreaControlDisplayOptionsArgs: def __init__(__self__, *, @@ -27605,6 +37353,23 @@ def title_options(self, value: Optional[pulumi.Input['AnalysisLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class AnalysisTextConditionalFormatArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input['AnalysisConditionalFormattingColorArgsDict']] + """ + The conditional formatting for the text background color. + """ + icon: NotRequired[pulumi.Input['AnalysisConditionalFormattingIconArgsDict']] + """ + The conditional formatting for the icon. + """ + text_color: NotRequired[pulumi.Input['AnalysisConditionalFormattingColorArgsDict']] + """ + The conditional formatting for the text color. + """ +elif False: + AnalysisTextConditionalFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTextConditionalFormatArgs: def __init__(__self__, *, @@ -27660,6 +37425,15 @@ def text_color(self, value: Optional[pulumi.Input['AnalysisConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class AnalysisTextControlPlaceholderOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility configuration of the placeholder options in a text control. + """ +elif False: + AnalysisTextControlPlaceholderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTextControlPlaceholderOptionsArgs: def __init__(__self__, *, @@ -27683,6 +37457,23 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisTextFieldControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['AnalysisSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + placeholder_options: NotRequired[pulumi.Input['AnalysisTextControlPlaceholderOptionsArgsDict']] + """ + The configuration of the placeholder options in a text field control. + """ + title_options: NotRequired[pulumi.Input['AnalysisLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + AnalysisTextFieldControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTextFieldControlDisplayOptionsArgs: def __init__(__self__, *, @@ -27738,6 +37529,19 @@ def title_options(self, value: Optional[pulumi.Input['AnalysisLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class AnalysisThousandSeparatorOptionsArgsDict(TypedDict): + symbol: NotRequired[pulumi.Input['AnalysisNumericSeparatorSymbol']] + """ + Determines the thousands separator symbol. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines the visibility of the thousands separator. + """ +elif False: + AnalysisThousandSeparatorOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisThousandSeparatorOptionsArgs: def __init__(__self__, *, @@ -27777,6 +37581,38 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisTimeBasedForecastPropertiesArgsDict(TypedDict): + lower_boundary: NotRequired[pulumi.Input[float]] + """ + The lower boundary setup of a forecast computation. + """ + periods_backward: NotRequired[pulumi.Input[float]] + """ + The periods backward setup of a forecast computation. + """ + periods_forward: NotRequired[pulumi.Input[float]] + """ + The periods forward setup of a forecast computation. + """ + prediction_interval: NotRequired[pulumi.Input[float]] + """ + The prediction interval setup of a forecast computation. + """ + seasonality: NotRequired[pulumi.Input[float]] + """ + The seasonality setup of a forecast computation. Choose one of the following options: + + - `NULL` : The input is set to `NULL` . + - `NON_NULL` : The input is set to a custom value. + """ + upper_boundary: NotRequired[pulumi.Input[float]] + """ + The upper boundary setup of a forecast computation. + """ +elif False: + AnalysisTimeBasedForecastPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTimeBasedForecastPropertiesArgs: def __init__(__self__, *, @@ -27886,6 +37722,45 @@ def upper_boundary(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "upper_boundary", value) +if not MYPY: + class AnalysisTimeEqualityFilterArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['AnalysisDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + + This field is mutually exclusive to `Value` and `RollingDate` . + """ + rolling_date: NotRequired[pulumi.Input['AnalysisRollingDateConfigurationArgsDict']] + """ + The rolling date input for the `TimeEquality` filter. + + This field is mutually exclusive to `Value` and `ParameterName` . + """ + time_granularity: NotRequired[pulumi.Input['AnalysisTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of a `TimeEquality` filter. + + This field is mutually exclusive to `RollingDate` and `ParameterName` . + """ +elif False: + AnalysisTimeEqualityFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTimeEqualityFilterArgs: def __init__(__self__, *, @@ -28015,6 +37890,27 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisTimeRangeDrillDownFilterArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + range_maximum: pulumi.Input[str] + """ + The maximum value for the filter value range. + """ + range_minimum: pulumi.Input[str] + """ + The minimum value for the filter value range. + """ + time_granularity: pulumi.Input['AnalysisTimeGranularity'] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + AnalysisTimeRangeDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTimeRangeDrillDownFilterArgs: def __init__(__self__, *, @@ -28082,6 +37978,23 @@ def time_granularity(self, value: pulumi.Input['AnalysisTimeGranularity']): pulumi.set(self, "time_granularity", value) +if not MYPY: + class AnalysisTimeRangeFilterValueArgsDict(TypedDict): + parameter: NotRequired[pulumi.Input[str]] + """ + The parameter type input value. + """ + rolling_date: NotRequired[pulumi.Input['AnalysisRollingDateConfigurationArgsDict']] + """ + The rolling date input value. + """ + static_value: NotRequired[pulumi.Input[str]] + """ + The static input value. + """ +elif False: + AnalysisTimeRangeFilterValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTimeRangeFilterValueArgs: def __init__(__self__, *, @@ -28137,6 +38050,55 @@ def static_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "static_value", value) +if not MYPY: + class AnalysisTimeRangeFilterArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + null_option: pulumi.Input['AnalysisFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['AnalysisDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + exclude_period_configuration: NotRequired[pulumi.Input['AnalysisExcludePeriodConfigurationArgsDict']] + """ + The exclude period of the time range filter. + """ + include_maximum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the maximum value in the filter value range should be included in the filtered results. + """ + include_minimum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the minimum value in the filter value range should be included in the filtered results. + """ + range_maximum_value: NotRequired[pulumi.Input['AnalysisTimeRangeFilterValueArgsDict']] + """ + The maximum value for the filter value range. + """ + range_minimum_value: NotRequired[pulumi.Input['AnalysisTimeRangeFilterValueArgsDict']] + """ + The minimum value for the filter value range. + """ + time_granularity: NotRequired[pulumi.Input['AnalysisTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + AnalysisTimeRangeFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTimeRangeFilterArgs: def __init__(__self__, *, @@ -28309,6 +38271,19 @@ def time_granularity(self, value: Optional[pulumi.Input['AnalysisTimeGranularity pulumi.set(self, "time_granularity", value) +if not MYPY: + class AnalysisTooltipItemArgsDict(TypedDict): + column_tooltip_item: NotRequired[pulumi.Input['AnalysisColumnTooltipItemArgsDict']] + """ + The tooltip item for the columns that are not part of a field well. + """ + field_tooltip_item: NotRequired[pulumi.Input['AnalysisFieldTooltipItemArgsDict']] + """ + The tooltip item for the fields. + """ +elif False: + AnalysisTooltipItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTooltipItemArgs: def __init__(__self__, *, @@ -28348,6 +38323,26 @@ def field_tooltip_item(self, value: Optional[pulumi.Input['AnalysisFieldTooltipI pulumi.set(self, "field_tooltip_item", value) +if not MYPY: + class AnalysisTooltipOptionsArgsDict(TypedDict): + field_based_tooltip: NotRequired[pulumi.Input['AnalysisFieldBasedTooltipArgsDict']] + """ + The setup for the detailed tooltip. The tooltip setup is always saved. The display type is decided based on the tooltip type. + """ + selected_tooltip_type: NotRequired[pulumi.Input['AnalysisSelectedTooltipType']] + """ + The selected type for the tooltip. Choose one of the following options: + + - `BASIC` : A basic tooltip. + - `DETAILED` : A detailed tooltip. + """ + tooltip_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + Determines whether or not the tooltip is visible. + """ +elif False: + AnalysisTooltipOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTooltipOptionsArgs: def __init__(__self__, *, @@ -28409,6 +38404,39 @@ def tooltip_visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']] pulumi.set(self, "tooltip_visibility", value) +if not MYPY: + class AnalysisTopBottomFilterArgsDict(TypedDict): + aggregation_sort_configurations: pulumi.Input[Sequence[pulumi.Input['AnalysisAggregationSortConfigurationArgsDict']]] + """ + The aggregation and sort configuration of the top bottom filter. + """ + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['AnalysisDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + limit: NotRequired[pulumi.Input[float]] + """ + The number of items to include in the top bottom filter results. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + """ + time_granularity: NotRequired[pulumi.Input['AnalysisTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + AnalysisTopBottomFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTopBottomFilterArgs: def __init__(__self__, *, @@ -28525,6 +38553,46 @@ def time_granularity(self, value: Optional[pulumi.Input['AnalysisTimeGranularity pulumi.set(self, "time_granularity", value) +if not MYPY: + class AnalysisTopBottomMoversComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + type: pulumi.Input['AnalysisTopBottomComputationType'] + """ + The computation type. Choose from the following options: + + - TOP: Top movers computation. + - BOTTOM: Bottom movers computation. + """ + category: NotRequired[pulumi.Input['AnalysisDimensionFieldArgsDict']] + """ + The category field that is used in a computation. + """ + mover_size: NotRequired[pulumi.Input[float]] + """ + The mover size setup of the top and bottom movers computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + sort_order: NotRequired[pulumi.Input['AnalysisTopBottomSortOrder']] + """ + The sort order setup of the top and bottom movers computation. + """ + time: NotRequired[pulumi.Input['AnalysisDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['AnalysisMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + AnalysisTopBottomMoversComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTopBottomMoversComputationArgs: def __init__(__self__, *, @@ -28664,6 +38732,38 @@ def value(self, value: Optional[pulumi.Input['AnalysisMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisTopBottomRankedComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + type: pulumi.Input['AnalysisTopBottomComputationType'] + """ + The computation type. Choose one of the following options: + + - TOP: A top ranked computation. + - BOTTOM: A bottom ranked computation. + """ + category: NotRequired[pulumi.Input['AnalysisDimensionFieldArgsDict']] + """ + The category field that is used in a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + result_size: NotRequired[pulumi.Input[float]] + """ + The result size of a top and bottom ranked computation. + """ + value: NotRequired[pulumi.Input['AnalysisMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + AnalysisTopBottomRankedComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTopBottomRankedComputationArgs: def __init__(__self__, *, @@ -28771,6 +38871,23 @@ def value(self, value: Optional[pulumi.Input['AnalysisMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisTotalAggregationComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + value: NotRequired[pulumi.Input['AnalysisMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + AnalysisTotalAggregationComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTotalAggregationComputationArgs: def __init__(__self__, *, @@ -28825,6 +38942,15 @@ def value(self, value: Optional[pulumi.Input['AnalysisMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisTotalAggregationFunctionArgsDict(TypedDict): + simple_total_aggregation_function: NotRequired[pulumi.Input['AnalysisSimpleTotalAggregationFunction']] + """ + A built in aggregation function for total values. + """ +elif False: + AnalysisTotalAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTotalAggregationFunctionArgs: def __init__(__self__, *, @@ -28848,6 +38974,19 @@ def simple_total_aggregation_function(self, value: Optional[pulumi.Input['Analys pulumi.set(self, "simple_total_aggregation_function", value) +if not MYPY: + class AnalysisTotalAggregationOptionArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field id that's associated with the total aggregation option. + """ + total_aggregation_function: pulumi.Input['AnalysisTotalAggregationFunctionArgsDict'] + """ + The total aggregation function that you want to set for a specified field id. + """ +elif False: + AnalysisTotalAggregationOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTotalAggregationOptionArgs: def __init__(__self__, *, @@ -28885,6 +39024,35 @@ def total_aggregation_function(self, value: pulumi.Input['AnalysisTotalAggregati pulumi.set(self, "total_aggregation_function", value) +if not MYPY: + class AnalysisTotalOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the total cells. + """ + placement: NotRequired[pulumi.Input['AnalysisTableTotalsPlacement']] + """ + The placement (start, end) for the total cells. + """ + scroll_status: NotRequired[pulumi.Input['AnalysisTableTotalsScrollStatus']] + """ + The scroll status (pinned, scrolled) for the total cells. + """ + total_aggregation_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisTotalAggregationOptionArgsDict']]]] + """ + The total aggregation settings for each value field. + """ + total_cell_style: NotRequired[pulumi.Input['AnalysisTableCellStyleArgsDict']] + """ + Cell styling options for the total cells. + """ + totals_visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility configuration for the total cells. + """ +elif False: + AnalysisTotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTotalOptionsArgs: def __init__(__self__, *, @@ -28988,6 +39156,23 @@ def totals_visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]) pulumi.set(self, "totals_visibility", value) +if not MYPY: + class AnalysisTreeMapAggregatedFieldWellsArgsDict(TypedDict): + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The color field well of a tree map. Values are grouped by aggregations based on group by fields. + """ + groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The group by field well of a tree map. Values are grouped based on group by fields. + """ + sizes: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The size field well of a tree map. Values are aggregated based on group by fields. + """ +elif False: + AnalysisTreeMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTreeMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -29043,6 +39228,47 @@ def sizes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMeas pulumi.set(self, "sizes", value) +if not MYPY: + class AnalysisTreeMapConfigurationArgsDict(TypedDict): + color_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility) for the colors displayed in a tree map. + """ + color_scale: NotRequired[pulumi.Input['AnalysisColorScaleArgsDict']] + """ + The color options (gradient color, point of divergence) of a tree map. + """ + data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['AnalysisTreeMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + group_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility) of the groups that are displayed in a tree map. + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + size_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility) of the sizes that are displayed in a tree map. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisTreeMapSortConfigurationArgsDict']] + """ + The sort configuration of a tree map. + """ + tooltip: NotRequired[pulumi.Input['AnalysisTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ +elif False: + AnalysisTreeMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTreeMapConfigurationArgs: def __init__(__self__, *, @@ -29194,6 +39420,15 @@ def tooltip(self, value: Optional[pulumi.Input['AnalysisTooltipOptionsArgs']]): pulumi.set(self, "tooltip", value) +if not MYPY: + class AnalysisTreeMapFieldWellsArgsDict(TypedDict): + tree_map_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisTreeMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a tree map. + """ +elif False: + AnalysisTreeMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTreeMapFieldWellsArgs: def __init__(__self__, *, @@ -29217,6 +39452,19 @@ def tree_map_aggregated_field_wells(self, value: Optional[pulumi.Input['Analysis pulumi.set(self, "tree_map_aggregated_field_wells", value) +if not MYPY: + class AnalysisTreeMapSortConfigurationArgsDict(TypedDict): + tree_map_group_items_limit_configuration: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of groups that are displayed. + """ + tree_map_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of group by fields. + """ +elif False: + AnalysisTreeMapSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTreeMapSortConfigurationArgs: def __init__(__self__, *, @@ -29256,6 +39504,35 @@ def tree_map_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Anal pulumi.set(self, "tree_map_sort", value) +if not MYPY: + class AnalysisTreeMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisTreeMapConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisTreeMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTreeMapVisualArgs: def __init__(__self__, *, @@ -29358,6 +39635,15 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisTrendArrowOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the trend arrows. + """ +elif False: + AnalysisTrendArrowOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisTrendArrowOptionsArgs: def __init__(__self__, *, @@ -29381,6 +39667,23 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisUnaggregatedFieldArgsDict(TypedDict): + column: pulumi.Input['AnalysisColumnIdentifierArgsDict'] + """ + The column that is used in the `UnaggregatedField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + format_configuration: NotRequired[pulumi.Input['AnalysisFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + AnalysisUnaggregatedFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisUnaggregatedFieldArgs: def __init__(__self__, *, @@ -29434,6 +39737,23 @@ def format_configuration(self, value: Optional[pulumi.Input['AnalysisFormatConfi pulumi.set(self, "format_configuration", value) +if not MYPY: + class AnalysisUniqueValuesComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + category: NotRequired[pulumi.Input['AnalysisDimensionFieldArgsDict']] + """ + The category field that is used in a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ +elif False: + AnalysisUniqueValuesComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisUniqueValuesComputationArgs: def __init__(__self__, *, @@ -29488,6 +39808,18 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class AnalysisValidationStrategyArgsDict(TypedDict): + """ +

The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. When you set this value to LENIENT, validation is skipped for specific errors.

+ """ + mode: pulumi.Input['AnalysisValidationStrategyMode'] + """ + The mode of validation for the asset to be created or updated. When you set this value to `STRICT` , strict validation for every error is enforced. When you set this value to `LENIENT` , validation is skipped for specific UI errors. + """ +elif False: + AnalysisValidationStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisValidationStrategyArgs: def __init__(__self__, *, @@ -29511,6 +39843,15 @@ def mode(self, value: pulumi.Input['AnalysisValidationStrategyMode']): pulumi.set(self, "mode", value) +if not MYPY: + class AnalysisVisibleRangeOptionsArgsDict(TypedDict): + percent_range: NotRequired[pulumi.Input['AnalysisPercentVisibleRangeArgsDict']] + """ + The percent range in the visible range. + """ +elif False: + AnalysisVisibleRangeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisVisibleRangeOptionsArgs: def __init__(__self__, *, @@ -29534,6 +39875,27 @@ def percent_range(self, value: Optional[pulumi.Input['AnalysisPercentVisibleRang pulumi.set(self, "percent_range", value) +if not MYPY: + class AnalysisVisualCustomActionOperationArgsDict(TypedDict): + filter_operation: NotRequired[pulumi.Input['AnalysisCustomActionFilterOperationArgsDict']] + """ + The filter operation that filters data included in a visual or in an entire sheet. + """ + navigation_operation: NotRequired[pulumi.Input['AnalysisCustomActionNavigationOperationArgsDict']] + """ + The navigation operation that navigates between different sheets in the same analysis. + """ + set_parameters_operation: NotRequired[pulumi.Input['AnalysisCustomActionSetParametersOperationArgsDict']] + """ + The set parameter operation that sets parameters in custom action. + """ + url_operation: NotRequired[pulumi.Input['AnalysisCustomActionUrlOperationArgsDict']] + """ + The URL operation that opens a link to another webpage. + """ +elif False: + AnalysisVisualCustomActionOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisVisualCustomActionOperationArgs: def __init__(__self__, *, @@ -29605,6 +39967,38 @@ def url_operation(self, value: Optional[pulumi.Input['AnalysisCustomActionUrlOpe pulumi.set(self, "url_operation", value) +if not MYPY: + class AnalysisVisualCustomActionArgsDict(TypedDict): + action_operations: pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionOperationArgsDict']]] + """ + A list of `VisualCustomActionOperations` . + + This is a union type structure. For this structure to be valid, only one of the attributes can be defined. + """ + custom_action_id: pulumi.Input[str] + """ + The ID of the `VisualCustomAction` . + """ + name: pulumi.Input[str] + """ + The name of the `VisualCustomAction` . + """ + trigger: pulumi.Input['AnalysisVisualCustomActionTrigger'] + """ + The trigger of the `VisualCustomAction` . + + Valid values are defined as follows: + + - `DATA_POINT_CLICK` : Initiates a custom action by a left pointer click on a data point. + - `DATA_POINT_MENU` : Initiates a custom action by right pointer click from the menu. + """ + status: NotRequired[pulumi.Input['AnalysisWidgetStatus']] + """ + The status of the `VisualCustomAction` . + """ +elif False: + AnalysisVisualCustomActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisVisualCustomActionArgs: def __init__(__self__, *, @@ -29702,6 +40096,19 @@ def status(self, value: Optional[pulumi.Input['AnalysisWidgetStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class AnalysisVisualPaletteArgsDict(TypedDict): + chart_color: NotRequired[pulumi.Input[str]] + """ + The chart color options for the visual palette. + """ + color_map: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDataPathColorArgsDict']]]] + """ + The color map options for the visual palette. + """ +elif False: + AnalysisVisualPaletteArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisVisualPaletteArgs: def __init__(__self__, *, @@ -29741,6 +40148,19 @@ def color_map(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Analysis pulumi.set(self, "color_map", value) +if not MYPY: + class AnalysisVisualSubtitleLabelOptionsArgsDict(TypedDict): + format_text: NotRequired[pulumi.Input['AnalysisLongFormatTextArgsDict']] + """ + The long text format of the subtitle label, such as plain text or rich text. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the subtitle label. + """ +elif False: + AnalysisVisualSubtitleLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisVisualSubtitleLabelOptionsArgs: def __init__(__self__, *, @@ -29780,6 +40200,19 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisVisualTitleLabelOptionsArgsDict(TypedDict): + format_text: NotRequired[pulumi.Input['AnalysisShortFormatTextArgsDict']] + """ + The short text format of the title label, such as plain text or rich text. + """ + visibility: NotRequired[pulumi.Input['AnalysisVisibility']] + """ + The visibility of the title label. + """ +elif False: + AnalysisVisualTitleLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisVisualTitleLabelOptionsArgs: def __init__(__self__, *, @@ -29819,6 +40252,147 @@ def visibility(self, value: Optional[pulumi.Input['AnalysisVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class AnalysisVisualArgsDict(TypedDict): + bar_chart_visual: NotRequired[pulumi.Input['AnalysisBarChartVisualArgsDict']] + """ + A bar chart. + + For more information, see [Using bar charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon QuickSight User Guide* . + """ + box_plot_visual: NotRequired[pulumi.Input['AnalysisBoxPlotVisualArgsDict']] + """ + A box plot. + + For more information, see [Using box plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon QuickSight User Guide* . + """ + combo_chart_visual: NotRequired[pulumi.Input['AnalysisComboChartVisualArgsDict']] + """ + A combo chart. + + For more information, see [Using combo charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon QuickSight User Guide* . + """ + custom_content_visual: NotRequired[pulumi.Input['AnalysisCustomContentVisualArgsDict']] + """ + A visual that contains custom content. + + For more information, see [Using custom visual content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the *Amazon QuickSight User Guide* . + """ + empty_visual: NotRequired[pulumi.Input['AnalysisEmptyVisualArgsDict']] + """ + An empty visual. + """ + filled_map_visual: NotRequired[pulumi.Input['AnalysisFilledMapVisualArgsDict']] + """ + A filled map. + + For more information, see [Creating filled maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon QuickSight User Guide* . + """ + funnel_chart_visual: NotRequired[pulumi.Input['AnalysisFunnelChartVisualArgsDict']] + """ + A funnel chart. + + For more information, see [Using funnel charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the *Amazon QuickSight User Guide* . + """ + gauge_chart_visual: NotRequired[pulumi.Input['AnalysisGaugeChartVisualArgsDict']] + """ + A gauge chart. + + For more information, see [Using gauge charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon QuickSight User Guide* . + """ + geospatial_map_visual: NotRequired[pulumi.Input['AnalysisGeospatialMapVisualArgsDict']] + """ + A geospatial map or a points on map visual. + + For more information, see [Creating point maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon QuickSight User Guide* . + """ + heat_map_visual: NotRequired[pulumi.Input['AnalysisHeatMapVisualArgsDict']] + """ + A heat map. + + For more information, see [Using heat maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon QuickSight User Guide* . + """ + histogram_visual: NotRequired[pulumi.Input['AnalysisHistogramVisualArgsDict']] + """ + A histogram. + + For more information, see [Using histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the *Amazon QuickSight User Guide* . + """ + insight_visual: NotRequired[pulumi.Input['AnalysisInsightVisualArgsDict']] + """ + An insight visual. + + For more information, see [Working with insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in the *Amazon QuickSight User Guide* . + """ + kpi_visual: NotRequired[pulumi.Input['AnalysisKpiVisualArgsDict']] + """ + A key performance indicator (KPI). + + For more information, see [Using KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight User Guide* . + """ + line_chart_visual: NotRequired[pulumi.Input['AnalysisLineChartVisualArgsDict']] + """ + A line chart. + + For more information, see [Using line charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon QuickSight User Guide* . + """ + pie_chart_visual: NotRequired[pulumi.Input['AnalysisPieChartVisualArgsDict']] + """ + A pie or donut chart. + + For more information, see [Using pie charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon QuickSight User Guide* . + """ + pivot_table_visual: NotRequired[pulumi.Input['AnalysisPivotTableVisualArgsDict']] + """ + A pivot table. + + For more information, see [Using pivot tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon QuickSight User Guide* . + """ + radar_chart_visual: NotRequired[pulumi.Input['AnalysisRadarChartVisualArgsDict']] + """ + A radar chart visual. + + For more information, see [Using radar charts](https://docs.aws.amazon.com/quicksight/latest/user/radar-chart.html) in the *Amazon QuickSight User Guide* . + """ + sankey_diagram_visual: NotRequired[pulumi.Input['AnalysisSankeyDiagramVisualArgsDict']] + """ + A sankey diagram. + + For more information, see [Using Sankey diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the *Amazon QuickSight User Guide* . + """ + scatter_plot_visual: NotRequired[pulumi.Input['AnalysisScatterPlotVisualArgsDict']] + """ + A scatter plot. + + For more information, see [Using scatter plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon QuickSight User Guide* . + """ + table_visual: NotRequired[pulumi.Input['AnalysisTableVisualArgsDict']] + """ + A table visual. + + For more information, see [Using tables as visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon QuickSight User Guide* . + """ + tree_map_visual: NotRequired[pulumi.Input['AnalysisTreeMapVisualArgsDict']] + """ + A tree map. + + For more information, see [Using tree maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon QuickSight User Guide* . + """ + waterfall_visual: NotRequired[pulumi.Input['AnalysisWaterfallVisualArgsDict']] + """ + A waterfall chart. + + For more information, see [Using waterfall charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the *Amazon QuickSight User Guide* . + """ + word_cloud_visual: NotRequired[pulumi.Input['AnalysisWordCloudVisualArgsDict']] + """ + A word cloud. + + For more information, see [Using word clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon QuickSight User Guide* . + """ +elif False: + AnalysisVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisVisualArgs: def __init__(__self__, *, @@ -30282,6 +40856,23 @@ def word_cloud_visual(self, value: Optional[pulumi.Input['AnalysisWordCloudVisua pulumi.set(self, "word_cloud_visual", value) +if not MYPY: + class AnalysisWaterfallChartAggregatedFieldWellsArgsDict(TypedDict): + breakdowns: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The breakdown field wells of a waterfall visual. + """ + categories: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The category field wells of a waterfall visual. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The value field wells of a waterfall visual. + """ +elif False: + AnalysisWaterfallChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWaterfallChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -30337,6 +40928,15 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMea pulumi.set(self, "values", value) +if not MYPY: + class AnalysisWaterfallChartColorConfigurationArgsDict(TypedDict): + group_color_configuration: NotRequired[pulumi.Input['AnalysisWaterfallChartGroupColorConfigurationArgsDict']] + """ + The color configuration for individual groups within a waterfall visual. + """ +elif False: + AnalysisWaterfallChartColorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWaterfallChartColorConfigurationArgs: def __init__(__self__, *, @@ -30360,6 +40960,55 @@ def group_color_configuration(self, value: Optional[pulumi.Input['AnalysisWaterf pulumi.set(self, "group_color_configuration", value) +if not MYPY: + class AnalysisWaterfallChartConfigurationArgsDict(TypedDict): + category_axis_display_options: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the category axis. + """ + category_axis_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the category axis label. + """ + color_configuration: NotRequired[pulumi.Input['AnalysisWaterfallChartColorConfigurationArgsDict']] + """ + The color configuration of a waterfall visual. + """ + data_labels: NotRequired[pulumi.Input['AnalysisDataLabelOptionsArgsDict']] + """ + The data label configuration of a waterfall visual. + """ + field_wells: NotRequired[pulumi.Input['AnalysisWaterfallChartFieldWellsArgsDict']] + """ + The field well configuration of a waterfall visual. + """ + legend: NotRequired[pulumi.Input['AnalysisLegendOptionsArgsDict']] + """ + The legend configuration of a waterfall visual. + """ + primary_y_axis_display_options: NotRequired[pulumi.Input['AnalysisAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis label. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisWaterfallChartSortConfigurationArgsDict']] + """ + The sort configuration of a waterfall visual. + """ + visual_palette: NotRequired[pulumi.Input['AnalysisVisualPaletteArgsDict']] + """ + The visual palette configuration of a waterfall visual. + """ + waterfall_chart_options: NotRequired[pulumi.Input['AnalysisWaterfallChartOptionsArgsDict']] + """ + The options that determine the presentation of a waterfall visual. + """ +elif False: + AnalysisWaterfallChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWaterfallChartConfigurationArgs: def __init__(__self__, *, @@ -30543,6 +41192,15 @@ def waterfall_chart_options(self, value: Optional[pulumi.Input['AnalysisWaterfal pulumi.set(self, "waterfall_chart_options", value) +if not MYPY: + class AnalysisWaterfallChartFieldWellsArgsDict(TypedDict): + waterfall_chart_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisWaterfallChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a waterfall visual. + """ +elif False: + AnalysisWaterfallChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWaterfallChartFieldWellsArgs: def __init__(__self__, *, @@ -30566,6 +41224,23 @@ def waterfall_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['A pulumi.set(self, "waterfall_chart_aggregated_field_wells", value) +if not MYPY: + class AnalysisWaterfallChartGroupColorConfigurationArgsDict(TypedDict): + negative_bar_color: NotRequired[pulumi.Input[str]] + """ + Defines the color for the negative bars of a waterfall chart. + """ + positive_bar_color: NotRequired[pulumi.Input[str]] + """ + Defines the color for the positive bars of a waterfall chart. + """ + total_bar_color: NotRequired[pulumi.Input[str]] + """ + Defines the color for the total bars of a waterfall chart. + """ +elif False: + AnalysisWaterfallChartGroupColorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWaterfallChartGroupColorConfigurationArgs: def __init__(__self__, *, @@ -30621,6 +41296,15 @@ def total_bar_color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "total_bar_color", value) +if not MYPY: + class AnalysisWaterfallChartOptionsArgsDict(TypedDict): + total_bar_label: NotRequired[pulumi.Input[str]] + """ + This option determines the total bar label of a waterfall visual. + """ +elif False: + AnalysisWaterfallChartOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWaterfallChartOptionsArgs: def __init__(__self__, *, @@ -30644,6 +41328,19 @@ def total_bar_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "total_bar_label", value) +if not MYPY: + class AnalysisWaterfallChartSortConfigurationArgsDict(TypedDict): + breakdown_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of bar groups that are displayed. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ +elif False: + AnalysisWaterfallChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWaterfallChartSortConfigurationArgs: def __init__(__self__, *, @@ -30683,6 +41380,35 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Anal pulumi.set(self, "category_sort", value) +if not MYPY: + class AnalysisWaterfallVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisWaterfallChartConfigurationArgsDict']] + """ + The configuration for a waterfall visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisWaterfallVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWaterfallVisualArgs: def __init__(__self__, *, @@ -30785,6 +41511,19 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisWhatIfPointScenarioArgsDict(TypedDict): + date: pulumi.Input[str] + """ + The date that you need the forecast results for. + """ + value: pulumi.Input[float] + """ + The target value that you want to meet for the provided date. + """ +elif False: + AnalysisWhatIfPointScenarioArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWhatIfPointScenarioArgs: def __init__(__self__, *, @@ -30822,6 +41561,23 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisWhatIfRangeScenarioArgsDict(TypedDict): + end_date: pulumi.Input[str] + """ + The end date in the date range that you need the forecast results for. + """ + start_date: pulumi.Input[str] + """ + The start date in the date range that you need the forecast results for. + """ + value: pulumi.Input[float] + """ + The target value that you want to meet for the provided date range. + """ +elif False: + AnalysisWhatIfRangeScenarioArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWhatIfRangeScenarioArgs: def __init__(__self__, *, @@ -30874,6 +41630,19 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class AnalysisWordCloudAggregatedFieldWellsArgsDict(TypedDict): + group_by: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisDimensionFieldArgsDict']]]] + """ + The group by field well of a word cloud. Values are grouped by group by fields. + """ + size: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasureFieldArgsDict']]]] + """ + The size field well of a word cloud. Values are aggregated based on group by fields. + """ +elif False: + AnalysisWordCloudAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWordCloudAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -30913,6 +41682,27 @@ def size(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AnalysisMeasu pulumi.set(self, "size", value) +if not MYPY: + class AnalysisWordCloudChartConfigurationArgsDict(TypedDict): + category_label_options: NotRequired[pulumi.Input['AnalysisChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) for the word cloud category. + """ + field_wells: NotRequired[pulumi.Input['AnalysisWordCloudFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + sort_configuration: NotRequired[pulumi.Input['AnalysisWordCloudSortConfigurationArgsDict']] + """ + The sort configuration of a word cloud visual. + """ + word_cloud_options: NotRequired[pulumi.Input['AnalysisWordCloudOptionsArgsDict']] + """ + The options for a word cloud visual. + """ +elif False: + AnalysisWordCloudChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWordCloudChartConfigurationArgs: def __init__(__self__, *, @@ -30984,6 +41774,15 @@ def word_cloud_options(self, value: Optional[pulumi.Input['AnalysisWordCloudOpti pulumi.set(self, "word_cloud_options", value) +if not MYPY: + class AnalysisWordCloudFieldWellsArgsDict(TypedDict): + word_cloud_aggregated_field_wells: NotRequired[pulumi.Input['AnalysisWordCloudAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a word cloud. + """ +elif False: + AnalysisWordCloudFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWordCloudFieldWellsArgs: def __init__(__self__, *, @@ -31007,6 +41806,35 @@ def word_cloud_aggregated_field_wells(self, value: Optional[pulumi.Input['Analys pulumi.set(self, "word_cloud_aggregated_field_wells", value) +if not MYPY: + class AnalysisWordCloudOptionsArgsDict(TypedDict): + cloud_layout: NotRequired[pulumi.Input['AnalysisWordCloudCloudLayout']] + """ + The cloud layout options (fluid, normal) of a word cloud. + """ + maximum_string_length: NotRequired[pulumi.Input[float]] + """ + The length limit of each word from 1-100. + """ + word_casing: NotRequired[pulumi.Input['AnalysisWordCloudWordCasing']] + """ + The word casing options (lower_case, existing_case) for the words in a word cloud. + """ + word_orientation: NotRequired[pulumi.Input['AnalysisWordCloudWordOrientation']] + """ + The word orientation options (horizontal, horizontal_and_vertical) for the words in a word cloud. + """ + word_padding: NotRequired[pulumi.Input['AnalysisWordCloudWordPadding']] + """ + The word padding options (none, small, medium, large) for the words in a word cloud. + """ + word_scaling: NotRequired[pulumi.Input['AnalysisWordCloudWordScaling']] + """ + The word scaling options (emphasize, normal) for the words in a word cloud. + """ +elif False: + AnalysisWordCloudOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWordCloudOptionsArgs: def __init__(__self__, *, @@ -31110,6 +41938,19 @@ def word_scaling(self, value: Optional[pulumi.Input['AnalysisWordCloudWordScalin pulumi.set(self, "word_scaling", value) +if not MYPY: + class AnalysisWordCloudSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['AnalysisItemsLimitConfigurationArgsDict']] + """ + The limit on the number of groups that are displayed in a word cloud. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisFieldSortOptionsArgsDict']]]] + """ + The sort configuration of group by fields. + """ +elif False: + AnalysisWordCloudSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWordCloudSortConfigurationArgs: def __init__(__self__, *, @@ -31149,6 +41990,35 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Anal pulumi.set(self, "category_sort", value) +if not MYPY: + class AnalysisWordCloudVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['AnalysisWordCloudChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['AnalysisColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['AnalysisVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['AnalysisVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + AnalysisWordCloudVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisWordCloudVisualArgs: def __init__(__self__, *, @@ -31251,6 +42121,17 @@ def title(self, value: Optional[pulumi.Input['AnalysisVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class AnalysisYAxisOptionsArgsDict(TypedDict): + y_axis: pulumi.Input['AnalysisSingleYAxisOption'] + """ + The Y axis type to be used in the chart. + + If you choose `PRIMARY_Y_AXIS` , the primary Y Axis is located on the leftmost vertical axis of the chart. + """ +elif False: + AnalysisYAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AnalysisYAxisOptionsArgs: def __init__(__self__, *, @@ -31277,6 +42158,18 @@ def y_axis(self, value: pulumi.Input['AnalysisSingleYAxisOption']): pulumi.set(self, "y_axis", value) +if not MYPY: + class DashboardAdHocFilteringOptionArgsDict(TypedDict): + """ +

An ad hoc (one-time) filtering option.

+ """ + availability_status: NotRequired[pulumi.Input['DashboardBehavior']] + """ + Availability status. + """ +elif False: + DashboardAdHocFilteringOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAdHocFilteringOptionArgs: def __init__(__self__, *, @@ -31301,6 +42194,35 @@ def availability_status(self, value: Optional[pulumi.Input['DashboardBehavior']] pulumi.set(self, "availability_status", value) +if not MYPY: + class DashboardAggregationFunctionArgsDict(TypedDict): + attribute_aggregation_function: NotRequired[pulumi.Input['DashboardAttributeAggregationFunctionArgsDict']] + """ + Aggregation for attributes. + """ + categorical_aggregation_function: NotRequired[pulumi.Input['DashboardCategoricalAggregationFunction']] + """ + Aggregation for categorical values. + + - `COUNT` : Aggregate by the total number of values, including duplicates. + - `DISTINCT_COUNT` : Aggregate by the total number of distinct values. + """ + date_aggregation_function: NotRequired[pulumi.Input['DashboardDateAggregationFunction']] + """ + Aggregation for date values. + + - `COUNT` : Aggregate by the total number of values, including duplicates. + - `DISTINCT_COUNT` : Aggregate by the total number of distinct values. + - `MIN` : Select the smallest date value. + - `MAX` : Select the largest date value. + """ + numerical_aggregation_function: NotRequired[pulumi.Input['DashboardNumericalAggregationFunctionArgsDict']] + """ + Aggregation for numerical values. + """ +elif False: + DashboardAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAggregationFunctionArgs: def __init__(__self__, *, @@ -31388,6 +42310,26 @@ def numerical_aggregation_function(self, value: Optional[pulumi.Input['Dashboard pulumi.set(self, "numerical_aggregation_function", value) +if not MYPY: + class DashboardAggregationSortConfigurationArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that determines the sort order of aggregated values. + """ + sort_direction: pulumi.Input['DashboardSortDirection'] + """ + The sort direction of values. + + - `ASC` : Sort in ascending order. + - `DESC` : Sort in descending order. + """ + aggregation_function: NotRequired[pulumi.Input['DashboardAggregationFunctionArgsDict']] + """ + The function that aggregates the values in `Column` . + """ +elif False: + DashboardAggregationSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAggregationSortConfigurationArgs: def __init__(__self__, *, @@ -31447,12 +42389,27 @@ def aggregation_function(self, value: Optional[pulumi.Input['DashboardAggregatio pulumi.set(self, "aggregation_function", value) +if not MYPY: + class DashboardAllSheetsFilterScopeConfigurationArgsDict(TypedDict): + pass +elif False: + DashboardAllSheetsFilterScopeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAllSheetsFilterScopeConfigurationArgs: def __init__(__self__): pass +if not MYPY: + class DashboardAnalysisDefaultsArgsDict(TypedDict): + default_new_sheet_configuration: pulumi.Input['DashboardDefaultNewSheetConfigurationArgsDict'] + """ + The configuration for default new sheet settings. + """ +elif False: + DashboardAnalysisDefaultsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAnalysisDefaultsArgs: def __init__(__self__, *, @@ -31475,6 +42432,21 @@ def default_new_sheet_configuration(self, value: pulumi.Input['DashboardDefaultN pulumi.set(self, "default_new_sheet_configuration", value) +if not MYPY: + class DashboardAnchorDateConfigurationArgsDict(TypedDict): + anchor_option: NotRequired[pulumi.Input['DashboardAnchorOption']] + """ + The options for the date configuration. Choose one of the options below: + + - `NOW` + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The name of the parameter that is used for the anchor date configuration. + """ +elif False: + DashboardAnchorDateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAnchorDateConfigurationArgs: def __init__(__self__, *, @@ -31518,6 +42490,19 @@ def parameter_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "parameter_name", value) +if not MYPY: + class DashboardArcAxisConfigurationArgsDict(TypedDict): + range: NotRequired[pulumi.Input['DashboardArcAxisDisplayRangeArgsDict']] + """ + The arc axis range of a `GaugeChartVisual` . + """ + reserve_range: NotRequired[pulumi.Input[float]] + """ + The reserved range of the arc axis. + """ +elif False: + DashboardArcAxisConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardArcAxisConfigurationArgs: def __init__(__self__, *, @@ -31557,6 +42542,19 @@ def reserve_range(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "reserve_range", value) +if not MYPY: + class DashboardArcAxisDisplayRangeArgsDict(TypedDict): + max: NotRequired[pulumi.Input[float]] + """ + The maximum value of the arc axis range. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum value of the arc axis range. + """ +elif False: + DashboardArcAxisDisplayRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardArcAxisDisplayRangeArgs: def __init__(__self__, *, @@ -31596,6 +42594,19 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class DashboardArcConfigurationArgsDict(TypedDict): + arc_angle: NotRequired[pulumi.Input[float]] + """ + The option that determines the arc angle of a `GaugeChartVisual` . + """ + arc_thickness: NotRequired[pulumi.Input['DashboardArcThicknessOptions']] + """ + The options that determine the arc thickness of a `GaugeChartVisual` . + """ +elif False: + DashboardArcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardArcConfigurationArgs: def __init__(__self__, *, @@ -31635,6 +42646,15 @@ def arc_thickness(self, value: Optional[pulumi.Input['DashboardArcThicknessOptio pulumi.set(self, "arc_thickness", value) +if not MYPY: + class DashboardArcOptionsArgsDict(TypedDict): + arc_thickness: NotRequired[pulumi.Input['DashboardArcThickness']] + """ + The arc thickness of a `GaugeChartVisual` . + """ +elif False: + DashboardArcOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardArcOptionsArgs: def __init__(__self__, *, @@ -31658,6 +42678,19 @@ def arc_thickness(self, value: Optional[pulumi.Input['DashboardArcThickness']]): pulumi.set(self, "arc_thickness", value) +if not MYPY: + class DashboardAssetOptionsArgsDict(TypedDict): + timezone: NotRequired[pulumi.Input[str]] + """ + Determines the timezone for the analysis. + """ + week_start: NotRequired[pulumi.Input['DashboardDayOfTheWeek']] + """ + Determines the week start day for an analysis. + """ +elif False: + DashboardAssetOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAssetOptionsArgs: def __init__(__self__, *, @@ -31697,6 +42730,21 @@ def week_start(self, value: Optional[pulumi.Input['DashboardDayOfTheWeek']]): pulumi.set(self, "week_start", value) +if not MYPY: + class DashboardAttributeAggregationFunctionArgsDict(TypedDict): + simple_attribute_aggregation: NotRequired[pulumi.Input['DashboardSimpleAttributeAggregationFunction']] + """ + The built-in aggregation functions for attributes. + + - `UNIQUE_VALUE` : Returns the unique value for a field, aggregated by the dimension fields. + """ + value_for_multiple_values: NotRequired[pulumi.Input[str]] + """ + Used by the `UNIQUE_VALUE` aggregation function. If there are multiple values for the field used by the aggregation, the value for this property will be returned instead. Defaults to '*'. + """ +elif False: + DashboardAttributeAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAttributeAggregationFunctionArgs: def __init__(__self__, *, @@ -31740,6 +42788,19 @@ def value_for_multiple_values(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value_for_multiple_values", value) +if not MYPY: + class DashboardAxisDataOptionsArgsDict(TypedDict): + date_axis_options: NotRequired[pulumi.Input['DashboardDateAxisOptionsArgsDict']] + """ + The options for an axis with a date field. + """ + numeric_axis_options: NotRequired[pulumi.Input['DashboardNumericAxisOptionsArgsDict']] + """ + The options for an axis with a numeric field. + """ +elif False: + DashboardAxisDataOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAxisDataOptionsArgs: def __init__(__self__, *, @@ -31779,12 +42840,31 @@ def numeric_axis_options(self, value: Optional[pulumi.Input['DashboardNumericAxi pulumi.set(self, "numeric_axis_options", value) +if not MYPY: + class DashboardAxisDisplayDataDrivenRangeArgsDict(TypedDict): + pass +elif False: + DashboardAxisDisplayDataDrivenRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAxisDisplayDataDrivenRangeArgs: def __init__(__self__): pass +if not MYPY: + class DashboardAxisDisplayMinMaxRangeArgsDict(TypedDict): + maximum: NotRequired[pulumi.Input[float]] + """ + The maximum setup for an axis display range. + """ + minimum: NotRequired[pulumi.Input[float]] + """ + The minimum setup for an axis display range. + """ +elif False: + DashboardAxisDisplayMinMaxRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAxisDisplayMinMaxRangeArgs: def __init__(__self__, *, @@ -31824,6 +42904,35 @@ def minimum(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "minimum", value) +if not MYPY: + class DashboardAxisDisplayOptionsArgsDict(TypedDict): + axis_line_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines whether or not the axis line is visible. + """ + axis_offset: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + data_options: NotRequired[pulumi.Input['DashboardAxisDataOptionsArgsDict']] + """ + The data options for an axis. + """ + grid_line_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines whether or not the grid line is visible. + """ + scrollbar_options: NotRequired[pulumi.Input['DashboardScrollBarOptionsArgsDict']] + """ + The scroll bar options for an axis. + """ + tick_label_options: NotRequired[pulumi.Input['DashboardAxisTickLabelOptionsArgsDict']] + """ + The tick label options of an axis. + """ +elif False: + DashboardAxisDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAxisDisplayOptionsArgs: def __init__(__self__, *, @@ -31927,6 +43036,19 @@ def tick_label_options(self, value: Optional[pulumi.Input['DashboardAxisTickLabe pulumi.set(self, "tick_label_options", value) +if not MYPY: + class DashboardAxisDisplayRangeArgsDict(TypedDict): + data_driven: NotRequired[pulumi.Input['DashboardAxisDisplayDataDrivenRangeArgsDict']] + """ + The data-driven setup of an axis display range. + """ + min_max: NotRequired[pulumi.Input['DashboardAxisDisplayMinMaxRangeArgsDict']] + """ + The minimum and maximum setup of an axis display range. + """ +elif False: + DashboardAxisDisplayRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAxisDisplayRangeArgs: def __init__(__self__, *, @@ -31966,6 +43088,23 @@ def min_max(self, value: Optional[pulumi.Input['DashboardAxisDisplayMinMaxRangeA pulumi.set(self, "min_max", value) +if not MYPY: + class DashboardAxisLabelOptionsArgsDict(TypedDict): + apply_to: NotRequired[pulumi.Input['DashboardAxisLabelReferenceOptionsArgsDict']] + """ + The options that indicate which field the label belongs to. + """ + custom_label: NotRequired[pulumi.Input[str]] + """ + The text for the axis label. + """ + font_configuration: NotRequired[pulumi.Input['DashboardFontConfigurationArgsDict']] + """ + The font configuration of the axis label. + """ +elif False: + DashboardAxisLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAxisLabelOptionsArgs: def __init__(__self__, *, @@ -32021,6 +43160,19 @@ def font_configuration(self, value: Optional[pulumi.Input['DashboardFontConfigur pulumi.set(self, "font_configuration", value) +if not MYPY: + class DashboardAxisLabelReferenceOptionsArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the axis label is targeted to. + """ + field_id: pulumi.Input[str] + """ + The field that the axis label is targeted to. + """ +elif False: + DashboardAxisLabelReferenceOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAxisLabelReferenceOptionsArgs: def __init__(__self__, *, @@ -32058,6 +43210,19 @@ def field_id(self, value: pulumi.Input[str]): pulumi.set(self, "field_id", value) +if not MYPY: + class DashboardAxisLinearScaleArgsDict(TypedDict): + step_count: NotRequired[pulumi.Input[float]] + """ + The step count setup of a linear axis. + """ + step_size: NotRequired[pulumi.Input[float]] + """ + The step size setup of a linear axis. + """ +elif False: + DashboardAxisLinearScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAxisLinearScaleArgs: def __init__(__self__, *, @@ -32097,6 +43262,15 @@ def step_size(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "step_size", value) +if not MYPY: + class DashboardAxisLogarithmicScaleArgsDict(TypedDict): + base: NotRequired[pulumi.Input[float]] + """ + The base setup of a logarithmic axis scale. + """ +elif False: + DashboardAxisLogarithmicScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAxisLogarithmicScaleArgs: def __init__(__self__, *, @@ -32120,6 +43294,19 @@ def base(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "base", value) +if not MYPY: + class DashboardAxisScaleArgsDict(TypedDict): + linear: NotRequired[pulumi.Input['DashboardAxisLinearScaleArgsDict']] + """ + The linear axis scale setup. + """ + logarithmic: NotRequired[pulumi.Input['DashboardAxisLogarithmicScaleArgsDict']] + """ + The logarithmic axis scale setup. + """ +elif False: + DashboardAxisScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAxisScaleArgs: def __init__(__self__, *, @@ -32159,6 +43346,19 @@ def logarithmic(self, value: Optional[pulumi.Input['DashboardAxisLogarithmicScal pulumi.set(self, "logarithmic", value) +if not MYPY: + class DashboardAxisTickLabelOptionsArgsDict(TypedDict): + label_options: NotRequired[pulumi.Input['DashboardLabelOptionsArgsDict']] + """ + Determines whether or not the axis ticks are visible. + """ + rotation_angle: NotRequired[pulumi.Input[float]] + """ + The rotation angle of the axis tick labels. + """ +elif False: + DashboardAxisTickLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardAxisTickLabelOptionsArgs: def __init__(__self__, *, @@ -32198,6 +43398,27 @@ def rotation_angle(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "rotation_angle", value) +if not MYPY: + class DashboardBarChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The category (y-axis) field well of a bar chart. + """ + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The color (group/color) field well of a bar chart. + """ + small_multiples: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The small multiples field well of a bar chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The value field wells of a bar chart. Values are aggregated by category. + """ +elif False: + DashboardBarChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBarChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -32269,6 +43490,78 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardBarChartConfigurationArgsDict(TypedDict): + bars_arrangement: NotRequired[pulumi.Input['DashboardBarsArrangement']] + """ + Determines the arrangement of the bars. The orientation and arrangement of bars determine the type of bar that is used in the visual. + """ + category_axis: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) for bar chart category. + """ + category_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) for a bar chart. + """ + color_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar chart. + """ + contribution_analysis_defaults: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardContributionAnalysisDefaultArgsDict']]]] + """ + The contribution analysis (anomaly configuration) setup of the visual. + """ + data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['DashboardBarChartFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + orientation: NotRequired[pulumi.Input['DashboardBarChartOrientation']] + """ + The orientation of the bars in a bar chart visual. There are two valid values in this structure: + + - `HORIZONTAL` : Used for charts that have horizontal bars. Visuals that use this value are horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts. + - `VERTICAL` : Used for charts that have vertical bars. Visuals that use this value are vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardReferenceLineArgsDict']]]] + """ + The reference line setup of the visual. + """ + small_multiples_options: NotRequired[pulumi.Input['DashboardSmallMultiplesOptionsArgsDict']] + """ + The small multiples setup for the visual. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardBarChartSortConfigurationArgsDict']] + """ + The sort configuration of a `BarChartVisual` . + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + value_axis: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) for a bar chart value. + """ + value_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) for a bar chart value. + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + DashboardBarChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBarChartConfigurationArgs: def __init__(__self__, *, @@ -32538,6 +43831,15 @@ def visual_palette(self, value: Optional[pulumi.Input['DashboardVisualPaletteArg pulumi.set(self, "visual_palette", value) +if not MYPY: + class DashboardBarChartFieldWellsArgsDict(TypedDict): + bar_chart_aggregated_field_wells: NotRequired[pulumi.Input['DashboardBarChartAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a bar chart. + """ +elif False: + DashboardBarChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBarChartFieldWellsArgs: def __init__(__self__, *, @@ -32561,6 +43863,35 @@ def bar_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashboa pulumi.set(self, "bar_chart_aggregated_field_wells", value) +if not MYPY: + class DashboardBarChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories displayed in a bar chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of category fields. + """ + color_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of values displayed in a bar chart. + """ + color_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of color fields in a bar chart. + """ + small_multiples_limit_configuration: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of small multiples panels that are displayed. + """ + small_multiples_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the small multiples field. + """ +elif False: + DashboardBarChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBarChartSortConfigurationArgs: def __init__(__self__, *, @@ -32664,6 +43995,35 @@ def small_multiples_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "small_multiples_sort", value) +if not MYPY: + class DashboardBarChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardBarChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardBarChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBarChartVisualArgs: def __init__(__self__, *, @@ -32766,6 +44126,15 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardBinCountOptionsArgsDict(TypedDict): + value: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin count value. + """ +elif False: + DashboardBinCountOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBinCountOptionsArgs: def __init__(__self__, *, @@ -32789,6 +44158,19 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardBinWidthOptionsArgsDict(TypedDict): + bin_count_limit: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin count limit. + """ + value: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin width value. + """ +elif False: + DashboardBinWidthOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBinWidthOptionsArgs: def __init__(__self__, *, @@ -32828,6 +44210,27 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardBodySectionConfigurationArgsDict(TypedDict): + content: pulumi.Input['DashboardBodySectionContentArgsDict'] + """ + The configuration of content in a body section. + """ + section_id: pulumi.Input[str] + """ + The unique identifier of a body section. + """ + page_break_configuration: NotRequired[pulumi.Input['DashboardSectionPageBreakConfigurationArgsDict']] + """ + The configuration of a page break for a section. + """ + style: NotRequired[pulumi.Input['DashboardSectionStyleArgsDict']] + """ + The style options of a body section. + """ +elif False: + DashboardBodySectionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBodySectionConfigurationArgs: def __init__(__self__, *, @@ -32897,6 +44300,15 @@ def style(self, value: Optional[pulumi.Input['DashboardSectionStyleArgs']]): pulumi.set(self, "style", value) +if not MYPY: + class DashboardBodySectionContentArgsDict(TypedDict): + layout: NotRequired[pulumi.Input['DashboardSectionLayoutConfigurationArgsDict']] + """ + The layout configuration of a body section. + """ +elif False: + DashboardBodySectionContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBodySectionContentArgs: def __init__(__self__, *, @@ -32920,6 +44332,19 @@ def layout(self, value: Optional[pulumi.Input['DashboardSectionLayoutConfigurati pulumi.set(self, "layout", value) +if not MYPY: + class DashboardBoxPlotAggregatedFieldWellsArgsDict(TypedDict): + group_by: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The group by field well of a box plot chart. Values are grouped based on group by fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The value field well of a box plot chart. Values are aggregated based on group by fields. + """ +elif False: + DashboardBoxPlotAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBoxPlotAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -32959,6 +44384,52 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardBoxPlotChartConfigurationArgsDict(TypedDict): + box_plot_options: NotRequired[pulumi.Input['DashboardBoxPlotOptionsArgsDict']] + """ + The box plot chart options for a box plot visual + """ + category_axis: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) of a box plot category. + """ + category_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort Icon visibility) of a box plot category. + """ + field_wells: NotRequired[pulumi.Input['DashboardBoxPlotFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + primary_y_axis_display_options: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) of a box plot category. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) of a box plot value. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardReferenceLineArgsDict']]]] + """ + The reference line setup of the visual. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardBoxPlotSortConfigurationArgsDict']] + """ + The sort configuration of a `BoxPlotVisual` . + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + DashboardBoxPlotChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBoxPlotChartConfigurationArgs: def __init__(__self__, *, @@ -33138,6 +44609,15 @@ def visual_palette(self, value: Optional[pulumi.Input['DashboardVisualPaletteArg pulumi.set(self, "visual_palette", value) +if not MYPY: + class DashboardBoxPlotFieldWellsArgsDict(TypedDict): + box_plot_aggregated_field_wells: NotRequired[pulumi.Input['DashboardBoxPlotAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a box plot. + """ +elif False: + DashboardBoxPlotFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBoxPlotFieldWellsArgs: def __init__(__self__, *, @@ -33161,6 +44641,23 @@ def box_plot_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashboar pulumi.set(self, "box_plot_aggregated_field_wells", value) +if not MYPY: + class DashboardBoxPlotOptionsArgsDict(TypedDict): + all_data_points_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines the visibility of all data points of the box plot. + """ + outlier_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines the visibility of the outlier in a box plot. + """ + style_options: NotRequired[pulumi.Input['DashboardBoxPlotStyleOptionsArgsDict']] + """ + The style options of the box plot. + """ +elif False: + DashboardBoxPlotOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBoxPlotOptionsArgs: def __init__(__self__, *, @@ -33216,6 +44713,19 @@ def style_options(self, value: Optional[pulumi.Input['DashboardBoxPlotStyleOptio pulumi.set(self, "style_options", value) +if not MYPY: + class DashboardBoxPlotSortConfigurationArgsDict(TypedDict): + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of a group by fields. + """ + pagination_configuration: NotRequired[pulumi.Input['DashboardPaginationConfigurationArgsDict']] + """ + The pagination configuration of a table visual or box plot. + """ +elif False: + DashboardBoxPlotSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBoxPlotSortConfigurationArgs: def __init__(__self__, *, @@ -33255,6 +44765,15 @@ def pagination_configuration(self, value: Optional[pulumi.Input['DashboardPagina pulumi.set(self, "pagination_configuration", value) +if not MYPY: + class DashboardBoxPlotStyleOptionsArgsDict(TypedDict): + fill_style: NotRequired[pulumi.Input['DashboardBoxPlotFillStyle']] + """ + The fill styles (solid, transparent) of the box plot. + """ +elif False: + DashboardBoxPlotStyleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBoxPlotStyleOptionsArgs: def __init__(__self__, *, @@ -33278,6 +44797,35 @@ def fill_style(self, value: Optional[pulumi.Input['DashboardBoxPlotFillStyle']]) pulumi.set(self, "fill_style", value) +if not MYPY: + class DashboardBoxPlotVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardBoxPlotChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardBoxPlotVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardBoxPlotVisualArgs: def __init__(__self__, *, @@ -33380,6 +44928,23 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardCalculatedFieldArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The data set that is used in this calculated field. + """ + expression: pulumi.Input[str] + """ + The expression of the calculated field. + """ + name: pulumi.Input[str] + """ + The name of the calculated field. + """ +elif False: + DashboardCalculatedFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCalculatedFieldArgs: def __init__(__self__, *, @@ -33432,6 +44997,19 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class DashboardCalculatedMeasureFieldArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression in the table calculation. + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ +elif False: + DashboardCalculatedMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCalculatedMeasureFieldArgs: def __init__(__self__, *, @@ -33469,6 +45047,15 @@ def field_id(self, value: pulumi.Input[str]): pulumi.set(self, "field_id", value) +if not MYPY: + class DashboardCascadingControlConfigurationArgsDict(TypedDict): + source_controls: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardCascadingControlSourceArgsDict']]]] + """ + A list of source controls that determine the values that are used in the current control. + """ +elif False: + DashboardCascadingControlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCascadingControlConfigurationArgs: def __init__(__self__, *, @@ -33492,6 +45079,19 @@ def source_controls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Da pulumi.set(self, "source_controls", value) +if not MYPY: + class DashboardCascadingControlSourceArgsDict(TypedDict): + column_to_match: NotRequired[pulumi.Input['DashboardColumnIdentifierArgsDict']] + """ + The column identifier that determines which column to look up for the source sheet control. + """ + source_sheet_control_id: NotRequired[pulumi.Input[str]] + """ + The source sheet control ID of a `CascadingControlSource` . + """ +elif False: + DashboardCascadingControlSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCascadingControlSourceArgs: def __init__(__self__, *, @@ -33531,6 +45131,27 @@ def source_sheet_control_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_sheet_control_id", value) +if not MYPY: + class DashboardCategoricalDimensionFieldArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that is used in the `CategoricalDimensionField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + format_configuration: NotRequired[pulumi.Input['DashboardStringFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ + hierarchy_id: NotRequired[pulumi.Input[str]] + """ + The custom hierarchy ID. + """ +elif False: + DashboardCategoricalDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCategoricalDimensionFieldArgs: def __init__(__self__, *, @@ -33600,6 +45221,27 @@ def hierarchy_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_id", value) +if not MYPY: + class DashboardCategoricalMeasureFieldArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that is used in the `CategoricalMeasureField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + aggregation_function: NotRequired[pulumi.Input['DashboardCategoricalAggregationFunction']] + """ + The aggregation function of the measure field. + """ + format_configuration: NotRequired[pulumi.Input['DashboardStringFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + DashboardCategoricalMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCategoricalMeasureFieldArgs: def __init__(__self__, *, @@ -33669,6 +45311,19 @@ def format_configuration(self, value: Optional[pulumi.Input['DashboardStringForm pulumi.set(self, "format_configuration", value) +if not MYPY: + class DashboardCategoryDrillDownFilterArgsDict(TypedDict): + category_values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of the string inputs that are the values of the category drill down filter. + """ + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ +elif False: + DashboardCategoryDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCategoryDrillDownFilterArgs: def __init__(__self__, *, @@ -33706,6 +45361,23 @@ def column(self, value: pulumi.Input['DashboardColumnIdentifierArgs']): pulumi.set(self, "column", value) +if not MYPY: + class DashboardCategoryFilterConfigurationArgsDict(TypedDict): + custom_filter_configuration: NotRequired[pulumi.Input['DashboardCustomFilterConfigurationArgsDict']] + """ + A custom filter that filters based on a single value. This filter can be partially matched. + """ + custom_filter_list_configuration: NotRequired[pulumi.Input['DashboardCustomFilterListConfigurationArgsDict']] + """ + A list of custom filter values. In the Amazon QuickSight console, this filter type is called a custom filter list. + """ + filter_list_configuration: NotRequired[pulumi.Input['DashboardFilterListConfigurationArgsDict']] + """ + A list of filter configurations. In the Amazon QuickSight console, this filter type is called a filter list. + """ +elif False: + DashboardCategoryFilterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCategoryFilterConfigurationArgs: def __init__(__self__, *, @@ -33761,6 +45433,27 @@ def filter_list_configuration(self, value: Optional[pulumi.Input['DashboardFilte pulumi.set(self, "filter_list_configuration", value) +if not MYPY: + class DashboardCategoryFilterArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + configuration: pulumi.Input['DashboardCategoryFilterConfigurationArgsDict'] + """ + The configuration for a `CategoryFilter` . + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['DashboardDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ +elif False: + DashboardCategoryFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCategoryFilterArgs: def __init__(__self__, *, @@ -33829,6 +45522,14 @@ def default_filter_control_configuration(self, value: Optional[pulumi.Input['Das pulumi.set(self, "default_filter_control_configuration", value) +if not MYPY: + class DashboardCategoryInnerFilterArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + configuration: pulumi.Input['DashboardCategoryFilterConfigurationArgsDict'] + default_filter_control_configuration: NotRequired[pulumi.Input['DashboardDefaultFilterControlConfigurationArgsDict']] +elif False: + DashboardCategoryInnerFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCategoryInnerFilterArgs: def __init__(__self__, *, @@ -33868,6 +45569,26 @@ def default_filter_control_configuration(self, value: Optional[pulumi.Input['Das pulumi.set(self, "default_filter_control_configuration", value) +if not MYPY: + class DashboardChartAxisLabelOptionsArgsDict(TypedDict): + axis_label_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardAxisLabelOptionsArgsDict']]]] + """ + The label options for a chart axis. + """ + sort_icon_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility configuration of the sort icon on a chart's axis label. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of an axis label on a chart. Choose one of the following options: + + - `VISIBLE` : Shows the axis. + - `HIDDEN` : Hides the axis. + """ +elif False: + DashboardChartAxisLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardChartAxisLabelOptionsArgs: def __init__(__self__, *, @@ -33929,6 +45650,15 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardClusterMarkerConfigurationArgsDict(TypedDict): + cluster_marker: NotRequired[pulumi.Input['DashboardClusterMarkerArgsDict']] + """ + The cluster marker that is a part of the cluster marker configuration. + """ +elif False: + DashboardClusterMarkerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardClusterMarkerConfigurationArgs: def __init__(__self__, *, @@ -33952,6 +45682,15 @@ def cluster_marker(self, value: Optional[pulumi.Input['DashboardClusterMarkerArg pulumi.set(self, "cluster_marker", value) +if not MYPY: + class DashboardClusterMarkerArgsDict(TypedDict): + simple_cluster_marker: NotRequired[pulumi.Input['DashboardSimpleClusterMarkerArgsDict']] + """ + The simple cluster marker of the cluster marker. + """ +elif False: + DashboardClusterMarkerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardClusterMarkerArgs: def __init__(__self__, *, @@ -33975,6 +45714,23 @@ def simple_cluster_marker(self, value: Optional[pulumi.Input['DashboardSimpleClu pulumi.set(self, "simple_cluster_marker", value) +if not MYPY: + class DashboardColorScaleArgsDict(TypedDict): + color_fill_type: pulumi.Input['DashboardColorFillType'] + """ + Determines the color fill type. + """ + colors: pulumi.Input[Sequence[pulumi.Input['DashboardDataColorArgsDict']]] + """ + Determines the list of colors that are applied to the visual. + """ + null_value_color: NotRequired[pulumi.Input['DashboardDataColorArgsDict']] + """ + Determines the color that is applied to null values. + """ +elif False: + DashboardColorScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardColorScaleArgs: def __init__(__self__, *, @@ -34028,6 +45784,15 @@ def null_value_color(self, value: Optional[pulumi.Input['DashboardDataColorArgs' pulumi.set(self, "null_value_color", value) +if not MYPY: + class DashboardColorsConfigurationArgsDict(TypedDict): + custom_colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardCustomColorArgsDict']]]] + """ + A list of up to 50 custom colors. + """ +elif False: + DashboardColorsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardColorsConfigurationArgs: def __init__(__self__, *, @@ -34051,6 +45816,27 @@ def custom_colors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dash pulumi.set(self, "custom_colors", value) +if not MYPY: + class DashboardColumnConfigurationArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column. + """ + colors_configuration: NotRequired[pulumi.Input['DashboardColorsConfigurationArgsDict']] + """ + The color configurations of the column. + """ + format_configuration: NotRequired[pulumi.Input['DashboardFormatConfigurationArgsDict']] + """ + The format configuration of a column. + """ + role: NotRequired[pulumi.Input['DashboardColumnRole']] + """ + The role of the column. + """ +elif False: + DashboardColumnConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardColumnConfigurationArgs: def __init__(__self__, *, @@ -34121,6 +45907,23 @@ def role(self, value: Optional[pulumi.Input['DashboardColumnRole']]): pulumi.set(self, "role", value) +if not MYPY: + class DashboardColumnHierarchyArgsDict(TypedDict): + date_time_hierarchy: NotRequired[pulumi.Input['DashboardDateTimeHierarchyArgsDict']] + """ + The option that determines the hierarchy of any `DateTime` fields. + """ + explicit_hierarchy: NotRequired[pulumi.Input['DashboardExplicitHierarchyArgsDict']] + """ + The option that determines the hierarchy of the fields that are built within a visual's field wells. These fields can't be duplicated to other visuals. + """ + predefined_hierarchy: NotRequired[pulumi.Input['DashboardPredefinedHierarchyArgsDict']] + """ + The option that determines the hierarchy of the fields that are defined during data preparation. These fields are available to use in any analysis that uses the data source. + """ +elif False: + DashboardColumnHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardColumnHierarchyArgs: def __init__(__self__, *, @@ -34176,6 +45979,19 @@ def predefined_hierarchy(self, value: Optional[pulumi.Input['DashboardPredefined pulumi.set(self, "predefined_hierarchy", value) +if not MYPY: + class DashboardColumnIdentifierArgsDict(TypedDict): + column_name: pulumi.Input[str] + """ + The name of the column. + """ + data_set_identifier: pulumi.Input[str] + """ + The data set that the column belongs to. + """ +elif False: + DashboardColumnIdentifierArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardColumnIdentifierArgs: def __init__(__self__, *, @@ -34213,6 +46029,20 @@ def data_set_identifier(self, value: pulumi.Input[str]): pulumi.set(self, "data_set_identifier", value) +if not MYPY: + class DashboardColumnSortArgsDict(TypedDict): + direction: pulumi.Input['DashboardSortDirection'] + """ + The sort direction. + """ + sort_by: pulumi.Input['DashboardColumnIdentifierArgsDict'] + aggregation_function: NotRequired[pulumi.Input['DashboardAggregationFunctionArgsDict']] + """ + The aggregation function that is defined in the column sort. + """ +elif False: + DashboardColumnSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardColumnSortArgs: def __init__(__self__, *, @@ -34262,6 +46092,31 @@ def aggregation_function(self, value: Optional[pulumi.Input['DashboardAggregatio pulumi.set(self, "aggregation_function", value) +if not MYPY: + class DashboardColumnTooltipItemArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The target column of the tooltip item. + """ + aggregation: NotRequired[pulumi.Input['DashboardAggregationFunctionArgsDict']] + """ + The aggregation function of the column tooltip item. + """ + label: NotRequired[pulumi.Input[str]] + """ + The label of the tooltip item. + """ + tooltip_target: NotRequired[pulumi.Input['DashboardTooltipTarget']] + """ + Determines the target of the column tooltip item in a combo chart visual. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the tooltip item. + """ +elif False: + DashboardColumnTooltipItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardColumnTooltipItemArgs: def __init__(__self__, *, @@ -34348,6 +46203,27 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardComboChartAggregatedFieldWellsArgsDict(TypedDict): + bar_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The aggregated `BarValues` field well of a combo chart. + """ + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The aggregated category field wells of a combo chart. + """ + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The aggregated colors field well of a combo chart. + """ + line_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The aggregated `LineValues` field well of a combo chart. + """ +elif False: + DashboardComboChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardComboChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -34419,6 +46295,84 @@ def line_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dashbo pulumi.set(self, "line_values", value) +if not MYPY: + class DashboardComboChartConfigurationArgsDict(TypedDict): + bar_data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + + The data label options for a bar in a combo chart. + """ + bars_arrangement: NotRequired[pulumi.Input['DashboardBarsArrangement']] + """ + Determines the bar arrangement in a combo chart. The following are valid values in this structure: + + - `CLUSTERED` : For clustered bar combo charts. + - `STACKED` : For stacked bar combo charts. + - `STACKED_PERCENT` : Do not use. If you use this value, the operation returns a validation error. + """ + category_axis: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The category axis of a combo chart. + """ + category_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart category (group/color) field well. + """ + color_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field well. + """ + field_wells: NotRequired[pulumi.Input['DashboardComboChartFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + line_data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + + The data label options for a line in a combo chart. + """ + primary_y_axis_display_options: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field well. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis (bar) field well. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardReferenceLineArgsDict']]]] + """ + The reference line setup of the visual. + """ + secondary_y_axis_display_options: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field well. + """ + secondary_y_axis_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary y-axis(line) field well. + """ + single_axis_options: NotRequired[pulumi.Input['DashboardSingleAxisOptionsArgsDict']] + sort_configuration: NotRequired[pulumi.Input['DashboardComboChartSortConfigurationArgsDict']] + """ + The sort configuration of a `ComboChartVisual` . + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + DashboardComboChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardComboChartConfigurationArgs: def __init__(__self__, *, @@ -34710,6 +46664,15 @@ def visual_palette(self, value: Optional[pulumi.Input['DashboardVisualPaletteArg pulumi.set(self, "visual_palette", value) +if not MYPY: + class DashboardComboChartFieldWellsArgsDict(TypedDict): + combo_chart_aggregated_field_wells: NotRequired[pulumi.Input['DashboardComboChartAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a combo chart. Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by category. + """ +elif False: + DashboardComboChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardComboChartFieldWellsArgs: def __init__(__self__, *, @@ -34733,6 +46696,27 @@ def combo_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashb pulumi.set(self, "combo_chart_aggregated_field_wells", value) +if not MYPY: + class DashboardComboChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The item limit configuration for the category field well of a combo chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category field well in a combo chart. + """ + color_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The item limit configuration of the color field well in a combo chart. + """ + color_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the color field well in a combo chart. + """ +elif False: + DashboardComboChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardComboChartSortConfigurationArgs: def __init__(__self__, *, @@ -34804,6 +46788,35 @@ def color_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dashboa pulumi.set(self, "color_sort", value) +if not MYPY: + class DashboardComboChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardComboChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardComboChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardComboChartVisualArgs: def __init__(__self__, *, @@ -34906,6 +46919,23 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardComparisonConfigurationArgsDict(TypedDict): + comparison_format: NotRequired[pulumi.Input['DashboardComparisonFormatConfigurationArgsDict']] + """ + The format of the comparison. + """ + comparison_method: NotRequired[pulumi.Input['DashboardComparisonMethod']] + """ + The method of the comparison. Choose from the following options: + + - `DIFFERENCE` + - `PERCENT_DIFFERENCE` + - `PERCENT` + """ +elif False: + DashboardComparisonConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardComparisonConfigurationArgs: def __init__(__self__, *, @@ -34953,6 +46983,19 @@ def comparison_method(self, value: Optional[pulumi.Input['DashboardComparisonMet pulumi.set(self, "comparison_method", value) +if not MYPY: + class DashboardComparisonFormatConfigurationArgsDict(TypedDict): + number_display_format_configuration: NotRequired[pulumi.Input['DashboardNumberDisplayFormatConfigurationArgsDict']] + """ + The number display format. + """ + percentage_display_format_configuration: NotRequired[pulumi.Input['DashboardPercentageDisplayFormatConfigurationArgsDict']] + """ + The percentage display format. + """ +elif False: + DashboardComparisonFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardComparisonFormatConfigurationArgs: def __init__(__self__, *, @@ -34992,6 +47035,51 @@ def percentage_display_format_configuration(self, value: Optional[pulumi.Input[' pulumi.set(self, "percentage_display_format_configuration", value) +if not MYPY: + class DashboardComputationArgsDict(TypedDict): + forecast: NotRequired[pulumi.Input['DashboardForecastComputationArgsDict']] + """ + The forecast computation configuration. + """ + growth_rate: NotRequired[pulumi.Input['DashboardGrowthRateComputationArgsDict']] + """ + The growth rate computation configuration. + """ + maximum_minimum: NotRequired[pulumi.Input['DashboardMaximumMinimumComputationArgsDict']] + """ + The maximum and minimum computation configuration. + """ + metric_comparison: NotRequired[pulumi.Input['DashboardMetricComparisonComputationArgsDict']] + """ + The metric comparison computation configuration. + """ + period_over_period: NotRequired[pulumi.Input['DashboardPeriodOverPeriodComputationArgsDict']] + """ + The period over period computation configuration. + """ + period_to_date: NotRequired[pulumi.Input['DashboardPeriodToDateComputationArgsDict']] + """ + The period to `DataSetIdentifier` computation configuration. + """ + top_bottom_movers: NotRequired[pulumi.Input['DashboardTopBottomMoversComputationArgsDict']] + """ + The top movers and bottom movers computation configuration. + """ + top_bottom_ranked: NotRequired[pulumi.Input['DashboardTopBottomRankedComputationArgsDict']] + """ + The top ranked and bottom ranked computation configuration. + """ + total_aggregation: NotRequired[pulumi.Input['DashboardTotalAggregationComputationArgsDict']] + """ + The total aggregation computation configuration. + """ + unique_values: NotRequired[pulumi.Input['DashboardUniqueValuesComputationArgsDict']] + """ + The unique values computation configuration. + """ +elif False: + DashboardComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardComputationArgs: def __init__(__self__, *, @@ -35159,6 +47247,19 @@ def unique_values(self, value: Optional[pulumi.Input['DashboardUniqueValuesCompu pulumi.set(self, "unique_values", value) +if not MYPY: + class DashboardConditionalFormattingColorArgsDict(TypedDict): + gradient: NotRequired[pulumi.Input['DashboardConditionalFormattingGradientColorArgsDict']] + """ + Formatting configuration for gradient color. + """ + solid: NotRequired[pulumi.Input['DashboardConditionalFormattingSolidColorArgsDict']] + """ + Formatting configuration for solid color. + """ +elif False: + DashboardConditionalFormattingColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardConditionalFormattingColorArgs: def __init__(__self__, *, @@ -35198,6 +47299,27 @@ def solid(self, value: Optional[pulumi.Input['DashboardConditionalFormattingSoli pulumi.set(self, "solid", value) +if not MYPY: + class DashboardConditionalFormattingCustomIconConditionArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression that determines the condition of the icon set. + """ + icon_options: pulumi.Input['DashboardConditionalFormattingCustomIconOptionsArgsDict'] + """ + Custom icon options for an icon set. + """ + color: NotRequired[pulumi.Input[str]] + """ + Determines the color of the icon. + """ + display_configuration: NotRequired[pulumi.Input['DashboardConditionalFormattingIconDisplayConfigurationArgsDict']] + """ + Determines the icon display configuration. + """ +elif False: + DashboardConditionalFormattingCustomIconConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardConditionalFormattingCustomIconConditionArgs: def __init__(__self__, *, @@ -35267,6 +47389,19 @@ def display_configuration(self, value: Optional[pulumi.Input['DashboardCondition pulumi.set(self, "display_configuration", value) +if not MYPY: + class DashboardConditionalFormattingCustomIconOptionsArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['DashboardIcon']] + """ + Determines the type of icon. + """ + unicode_icon: NotRequired[pulumi.Input[str]] + """ + Determines the Unicode icon type. + """ +elif False: + DashboardConditionalFormattingCustomIconOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardConditionalFormattingCustomIconOptionsArgs: def __init__(__self__, *, @@ -35306,6 +47441,19 @@ def unicode_icon(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unicode_icon", value) +if not MYPY: + class DashboardConditionalFormattingGradientColorArgsDict(TypedDict): + color: pulumi.Input['DashboardGradientColorArgsDict'] + """ + Determines the color. + """ + expression: pulumi.Input[str] + """ + The expression that determines the formatting configuration for gradient color. + """ +elif False: + DashboardConditionalFormattingGradientColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardConditionalFormattingGradientColorArgs: def __init__(__self__, *, @@ -35343,6 +47491,15 @@ def expression(self, value: pulumi.Input[str]): pulumi.set(self, "expression", value) +if not MYPY: + class DashboardConditionalFormattingIconDisplayConfigurationArgsDict(TypedDict): + icon_display_option: NotRequired[pulumi.Input['DashboardConditionalFormattingIconDisplayOption']] + """ + Determines the icon display configuration. + """ +elif False: + DashboardConditionalFormattingIconDisplayConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardConditionalFormattingIconDisplayConfigurationArgs: def __init__(__self__, *, @@ -35366,6 +47523,19 @@ def icon_display_option(self, value: Optional[pulumi.Input['DashboardConditional pulumi.set(self, "icon_display_option", value) +if not MYPY: + class DashboardConditionalFormattingIconSetArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression that determines the formatting configuration for the icon set. + """ + icon_set_type: NotRequired[pulumi.Input['DashboardConditionalFormattingIconSetType']] + """ + Determines the icon set type. + """ +elif False: + DashboardConditionalFormattingIconSetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardConditionalFormattingIconSetArgs: def __init__(__self__, *, @@ -35404,6 +47574,19 @@ def icon_set_type(self, value: Optional[pulumi.Input['DashboardConditionalFormat pulumi.set(self, "icon_set_type", value) +if not MYPY: + class DashboardConditionalFormattingIconArgsDict(TypedDict): + custom_condition: NotRequired[pulumi.Input['DashboardConditionalFormattingCustomIconConditionArgsDict']] + """ + Determines the custom condition for an icon set. + """ + icon_set: NotRequired[pulumi.Input['DashboardConditionalFormattingIconSetArgsDict']] + """ + Formatting configuration for icon set. + """ +elif False: + DashboardConditionalFormattingIconArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardConditionalFormattingIconArgs: def __init__(__self__, *, @@ -35443,6 +47626,19 @@ def icon_set(self, value: Optional[pulumi.Input['DashboardConditionalFormattingI pulumi.set(self, "icon_set", value) +if not MYPY: + class DashboardConditionalFormattingSolidColorArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression that determines the formatting configuration for solid color. + """ + color: NotRequired[pulumi.Input[str]] + """ + Determines the color. + """ +elif False: + DashboardConditionalFormattingSolidColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardConditionalFormattingSolidColorArgs: def __init__(__self__, *, @@ -35481,6 +47677,19 @@ def color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "color", value) +if not MYPY: + class DashboardContributionAnalysisDefaultArgsDict(TypedDict): + contributor_dimensions: pulumi.Input[Sequence[pulumi.Input['DashboardColumnIdentifierArgsDict']]] + """ + The dimensions columns that are used in the contribution analysis, usually a list of `ColumnIdentifiers` . + """ + measure_field_id: pulumi.Input[str] + """ + The measure field that is used in the contribution analysis. + """ +elif False: + DashboardContributionAnalysisDefaultArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardContributionAnalysisDefaultArgs: def __init__(__self__, *, @@ -35518,6 +47727,43 @@ def measure_field_id(self, value: pulumi.Input[str]): pulumi.set(self, "measure_field_id", value) +if not MYPY: + class DashboardCurrencyDisplayFormatConfigurationArgsDict(TypedDict): + decimal_places_configuration: NotRequired[pulumi.Input['DashboardDecimalPlacesConfigurationArgsDict']] + """ + The option that determines the decimal places configuration. + """ + negative_value_configuration: NotRequired[pulumi.Input['DashboardNegativeValueConfigurationArgsDict']] + """ + The options that determine the negative value configuration. + """ + null_value_format_configuration: NotRequired[pulumi.Input['DashboardNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + number_scale: NotRequired[pulumi.Input['DashboardNumberScale']] + """ + Determines the number scale value for the currency format. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Determines the prefix value of the currency format. + """ + separator_configuration: NotRequired[pulumi.Input['DashboardNumericSeparatorConfigurationArgsDict']] + """ + The options that determine the numeric separator configuration. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + Determines the suffix value of the currency format. + """ + symbol: NotRequired[pulumi.Input[str]] + """ + Determines the symbol for the currency format. + """ +elif False: + DashboardCurrencyDisplayFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCurrencyDisplayFormatConfigurationArgs: def __init__(__self__, *, @@ -35653,6 +47899,19 @@ def symbol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "symbol", value) +if not MYPY: + class DashboardCustomActionFilterOperationArgsDict(TypedDict): + selected_fields_configuration: pulumi.Input['DashboardFilterOperationSelectedFieldsConfigurationArgsDict'] + """ + The configuration that chooses the fields to be filtered. + """ + target_visuals_configuration: pulumi.Input['DashboardFilterOperationTargetVisualsConfigurationArgsDict'] + """ + The configuration that chooses the target visuals to be filtered. + """ +elif False: + DashboardCustomActionFilterOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomActionFilterOperationArgs: def __init__(__self__, *, @@ -35690,6 +47949,15 @@ def target_visuals_configuration(self, value: pulumi.Input['DashboardFilterOpera pulumi.set(self, "target_visuals_configuration", value) +if not MYPY: + class DashboardCustomActionNavigationOperationArgsDict(TypedDict): + local_navigation_configuration: NotRequired[pulumi.Input['DashboardLocalNavigationConfigurationArgsDict']] + """ + The configuration that chooses the navigation target. + """ +elif False: + DashboardCustomActionNavigationOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomActionNavigationOperationArgs: def __init__(__self__, *, @@ -35713,6 +47981,15 @@ def local_navigation_configuration(self, value: Optional[pulumi.Input['Dashboard pulumi.set(self, "local_navigation_configuration", value) +if not MYPY: + class DashboardCustomActionSetParametersOperationArgsDict(TypedDict): + parameter_value_configurations: pulumi.Input[Sequence[pulumi.Input['DashboardSetParameterValueConfigurationArgsDict']]] + """ + The parameter that determines the value configuration. + """ +elif False: + DashboardCustomActionSetParametersOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomActionSetParametersOperationArgs: def __init__(__self__, *, @@ -35735,6 +48012,25 @@ def parameter_value_configurations(self, value: pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "parameter_value_configurations", value) +if not MYPY: + class DashboardCustomActionUrlOperationArgsDict(TypedDict): + url_target: pulumi.Input['DashboardUrlTargetConfiguration'] + """ + The target of the `CustomActionURLOperation` . + + Valid values are defined as follows: + + - `NEW_TAB` : Opens the target URL in a new browser tab. + - `NEW_WINDOW` : Opens the target URL in a new browser window. + - `SAME_TAB` : Opens the target URL in the same browser tab. + """ + url_template: pulumi.Input[str] + """ + THe URL link of the `CustomActionURLOperation` . + """ +elif False: + DashboardCustomActionUrlOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomActionUrlOperationArgs: def __init__(__self__, *, @@ -35784,6 +48080,23 @@ def url_template(self, value: pulumi.Input[str]): pulumi.set(self, "url_template", value) +if not MYPY: + class DashboardCustomColorArgsDict(TypedDict): + color: pulumi.Input[str] + """ + The color that is applied to the data value. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The data value that the color is applied to. + """ + special_value: NotRequired[pulumi.Input['DashboardSpecialValue']] + """ + The value of a special data value. + """ +elif False: + DashboardCustomColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomColorArgs: def __init__(__self__, *, @@ -35838,6 +48151,23 @@ def special_value(self, value: Optional[pulumi.Input['DashboardSpecialValue']]): pulumi.set(self, "special_value", value) +if not MYPY: + class DashboardCustomContentConfigurationArgsDict(TypedDict): + content_type: NotRequired[pulumi.Input['DashboardCustomContentType']] + """ + The content type of the custom content visual. You can use this to have the visual render as an image. + """ + content_url: NotRequired[pulumi.Input[str]] + """ + The input URL that links to the custom content that you want in the custom visual. + """ + image_scaling: NotRequired[pulumi.Input['DashboardCustomContentImageScalingConfiguration']] + """ + The sizing options for the size of the custom content visual. This structure is required when the `ContentType` of the visual is `'IMAGE'` . + """ +elif False: + DashboardCustomContentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomContentConfigurationArgs: def __init__(__self__, *, @@ -35893,6 +48223,35 @@ def image_scaling(self, value: Optional[pulumi.Input['DashboardCustomContentImag pulumi.set(self, "image_scaling", value) +if not MYPY: + class DashboardCustomContentVisualArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The dataset that is used to create the custom content visual. You can't create a visual without a dataset. + """ + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardCustomContentConfigurationArgsDict']] + """ + The configuration of a `CustomContentVisual` . + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardCustomContentVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomContentVisualArgs: def __init__(__self__, *, @@ -35994,6 +48353,41 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardCustomFilterConfigurationArgsDict(TypedDict): + match_operator: pulumi.Input['DashboardCategoryFilterMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + null_option: pulumi.Input['DashboardFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + category_value: NotRequired[pulumi.Input[str]] + """ + The category value for the filter. + + This field is mutually exclusive to `ParameterName` . + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + + This field is mutually exclusive to `CategoryValue` . + """ + select_all_options: NotRequired[pulumi.Input['DashboardCategoryFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + DashboardCustomFilterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomFilterConfigurationArgs: def __init__(__self__, *, @@ -36099,6 +48493,33 @@ def select_all_options(self, value: Optional[pulumi.Input['DashboardCategoryFilt pulumi.set(self, "select_all_options", value) +if not MYPY: + class DashboardCustomFilterListConfigurationArgsDict(TypedDict): + match_operator: pulumi.Input['DashboardCategoryFilterMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + null_option: pulumi.Input['DashboardFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + category_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of category values for the filter. + """ + select_all_options: NotRequired[pulumi.Input['DashboardCategoryFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + DashboardCustomFilterListConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomFilterListConfigurationArgs: def __init__(__self__, *, @@ -36180,6 +48601,15 @@ def select_all_options(self, value: Optional[pulumi.Input['DashboardCategoryFilt pulumi.set(self, "select_all_options", value) +if not MYPY: + class DashboardCustomNarrativeOptionsArgsDict(TypedDict): + narrative: pulumi.Input[str] + """ + The string input of custom narrative. + """ +elif False: + DashboardCustomNarrativeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomNarrativeOptionsArgs: def __init__(__self__, *, @@ -36202,6 +48632,27 @@ def narrative(self, value: pulumi.Input[str]): pulumi.set(self, "narrative", value) +if not MYPY: + class DashboardCustomParameterValuesArgsDict(TypedDict): + date_time_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of datetime-type parameter values. + """ + decimal_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + A list of decimal-type parameter values. + """ + integer_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + A list of integer-type parameter values. + """ + string_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of string-type parameter values. + """ +elif False: + DashboardCustomParameterValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomParameterValuesArgs: def __init__(__self__, *, @@ -36273,6 +48724,16 @@ def string_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "string_values", value) +if not MYPY: + class DashboardCustomValuesConfigurationArgsDict(TypedDict): + custom_values: pulumi.Input['DashboardCustomParameterValuesArgsDict'] + include_null_value: NotRequired[pulumi.Input[bool]] + """ + Includes the null value in custom action parameter values. + """ +elif False: + DashboardCustomValuesConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardCustomValuesConfigurationArgs: def __init__(__self__, *, @@ -36307,6 +48768,23 @@ def include_null_value(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "include_null_value", value) +if not MYPY: + class DashboardDataBarsOptionsArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID for the data bars options. + """ + negative_color: NotRequired[pulumi.Input[str]] + """ + The color of the negative data bar. + """ + positive_color: NotRequired[pulumi.Input[str]] + """ + The color of the positive data bar. + """ +elif False: + DashboardDataBarsOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataBarsOptionsArgs: def __init__(__self__, *, @@ -36361,6 +48839,19 @@ def positive_color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "positive_color", value) +if not MYPY: + class DashboardDataColorArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The color that is applied to the data value. + """ + data_value: NotRequired[pulumi.Input[float]] + """ + The data value that the color is applied to. + """ +elif False: + DashboardDataColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataColorArgs: def __init__(__self__, *, @@ -36400,6 +48891,27 @@ def data_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "data_value", value) +if not MYPY: + class DashboardDataFieldSeriesItemArgsDict(TypedDict): + axis_binding: pulumi.Input['DashboardAxisBinding'] + """ + The axis that you are binding the field to. + """ + field_id: pulumi.Input[str] + """ + The field ID of the field that you are setting the axis binding to. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The field value of the field that you are setting the axis binding to. + """ + settings: NotRequired[pulumi.Input['DashboardLineChartSeriesSettingsArgsDict']] + """ + The options that determine the presentation of line series associated to the field. + """ +elif False: + DashboardDataFieldSeriesItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataFieldSeriesItemArgs: def __init__(__self__, *, @@ -36469,6 +48981,51 @@ def settings(self, value: Optional[pulumi.Input['DashboardLineChartSeriesSetting pulumi.set(self, "settings", value) +if not MYPY: + class DashboardDataLabelOptionsArgsDict(TypedDict): + category_label_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines the visibility of the category field labels. + """ + data_label_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDataLabelTypeArgsDict']]]] + """ + The option that determines the data label type. + """ + label_color: NotRequired[pulumi.Input[str]] + """ + Determines the color of the data labels. + """ + label_content: NotRequired[pulumi.Input['DashboardDataLabelContent']] + """ + Determines the content of the data labels. + """ + label_font_configuration: NotRequired[pulumi.Input['DashboardFontConfigurationArgsDict']] + """ + Determines the font configuration of the data labels. + """ + measure_label_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines the visibility of the measure field labels. + """ + overlap: NotRequired[pulumi.Input['DashboardDataLabelOverlap']] + """ + Determines whether overlap is enabled or disabled for the data labels. + """ + position: NotRequired[pulumi.Input['DashboardDataLabelPosition']] + """ + Determines the position of the data labels. + """ + totals_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines the visibility of the total. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines the visibility of the data labels. + """ +elif False: + DashboardDataLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataLabelOptionsArgs: def __init__(__self__, *, @@ -36636,6 +49193,31 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardDataLabelTypeArgsDict(TypedDict): + data_path_label_type: NotRequired[pulumi.Input['DashboardDataPathLabelTypeArgsDict']] + """ + The option that specifies individual data values for labels. + """ + field_label_type: NotRequired[pulumi.Input['DashboardFieldLabelTypeArgsDict']] + """ + Determines the label configuration for the entire field. + """ + maximum_label_type: NotRequired[pulumi.Input['DashboardMaximumLabelTypeArgsDict']] + """ + Determines the label configuration for the maximum value in a visual. + """ + minimum_label_type: NotRequired[pulumi.Input['DashboardMinimumLabelTypeArgsDict']] + """ + Determines the label configuration for the minimum value in a visual. + """ + range_ends_label_type: NotRequired[pulumi.Input['DashboardRangeEndsLabelTypeArgsDict']] + """ + Determines the label configuration for range end value in a visual. + """ +elif False: + DashboardDataLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataLabelTypeArgs: def __init__(__self__, *, @@ -36723,6 +49305,23 @@ def range_ends_label_type(self, value: Optional[pulumi.Input['DashboardRangeEnds pulumi.set(self, "range_ends_label_type", value) +if not MYPY: + class DashboardDataPathColorArgsDict(TypedDict): + color: pulumi.Input[str] + """ + The color that needs to be applied to the element. + """ + element: pulumi.Input['DashboardDataPathValueArgsDict'] + """ + The element that the color needs to be applied to. + """ + time_granularity: NotRequired[pulumi.Input['DashboardTimeGranularity']] + """ + The time granularity of the field that the color needs to be applied to. + """ +elif False: + DashboardDataPathColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataPathColorArgs: def __init__(__self__, *, @@ -36776,6 +49375,23 @@ def time_granularity(self, value: Optional[pulumi.Input['DashboardTimeGranularit pulumi.set(self, "time_granularity", value) +if not MYPY: + class DashboardDataPathLabelTypeArgsDict(TypedDict): + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the field that the data label needs to be applied to. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The actual value of the field that is labeled. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the data label. + """ +elif False: + DashboardDataPathLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataPathLabelTypeArgs: def __init__(__self__, *, @@ -36831,6 +49447,19 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardDataPathSortArgsDict(TypedDict): + direction: pulumi.Input['DashboardSortDirection'] + """ + Determines the sort direction. + """ + sort_paths: pulumi.Input[Sequence[pulumi.Input['DashboardDataPathValueArgsDict']]] + """ + The list of data paths that need to be sorted. + """ +elif False: + DashboardDataPathSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataPathSortArgs: def __init__(__self__, *, @@ -36868,6 +49497,20 @@ def sort_paths(self, value: pulumi.Input[Sequence[pulumi.Input['DashboardDataPat pulumi.set(self, "sort_paths", value) +if not MYPY: + class DashboardDataPathTypeArgsDict(TypedDict): + pivot_table_data_path_type: NotRequired[pulumi.Input['DashboardPivotTableDataPathType']] + """ + The type of data path value utilized in a pivot table. Choose one of the following options: + + - `HIERARCHY_ROWS_LAYOUT_COLUMN` - The type of data path for the rows layout column, when `RowsLayout` is set to `HIERARCHY` . + - `MULTIPLE_ROW_METRICS_COLUMN` - The type of data path for the metric column when the row is set to Metric Placement. + - `EMPTY_COLUMN_HEADER` - The type of data path for the column with empty column header, when there is no field in `ColumnsFieldWell` and the row is set to Metric Placement. + - `COUNT_METRIC_COLUMN` - The type of data path for the column with `COUNT` as the metric, when there is no field in the `ValuesFieldWell` . + """ +elif False: + DashboardDataPathTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataPathTypeArgs: def __init__(__self__, *, @@ -36901,6 +49544,23 @@ def pivot_table_data_path_type(self, value: Optional[pulumi.Input['DashboardPivo pulumi.set(self, "pivot_table_data_path_type", value) +if not MYPY: + class DashboardDataPathValueArgsDict(TypedDict): + data_path_type: NotRequired[pulumi.Input['DashboardDataPathTypeArgsDict']] + """ + The type configuration of the field. + """ + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the field that needs to be sorted. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The actual value of the field that needs to be sorted. + """ +elif False: + DashboardDataPathValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataPathValueArgs: def __init__(__self__, *, @@ -36956,6 +49616,18 @@ def field_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "field_value", value) +if not MYPY: + class DashboardDataPointDrillUpDownOptionArgsDict(TypedDict): + """ +

The drill down options for data points in a dashbaord.

+ """ + availability_status: NotRequired[pulumi.Input['DashboardBehavior']] + """ + The status of the drill down options of data points. + """ +elif False: + DashboardDataPointDrillUpDownOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataPointDrillUpDownOptionArgs: def __init__(__self__, *, @@ -36980,6 +49652,18 @@ def availability_status(self, value: Optional[pulumi.Input['DashboardBehavior']] pulumi.set(self, "availability_status", value) +if not MYPY: + class DashboardDataPointMenuLabelOptionArgsDict(TypedDict): + """ +

The data point menu options of a dashboard.

+ """ + availability_status: NotRequired[pulumi.Input['DashboardBehavior']] + """ + The status of the data point menu options. + """ +elif False: + DashboardDataPointMenuLabelOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataPointMenuLabelOptionArgs: def __init__(__self__, *, @@ -37004,6 +49688,18 @@ def availability_status(self, value: Optional[pulumi.Input['DashboardBehavior']] pulumi.set(self, "availability_status", value) +if not MYPY: + class DashboardDataPointTooltipOptionArgsDict(TypedDict): + """ +

The data point tooltip options.

+ """ + availability_status: NotRequired[pulumi.Input['DashboardBehavior']] + """ + The status of the data point tool tip options. + """ +elif False: + DashboardDataPointTooltipOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataPointTooltipOptionArgs: def __init__(__self__, *, @@ -37028,6 +49724,19 @@ def availability_status(self, value: Optional[pulumi.Input['DashboardBehavior']] pulumi.set(self, "availability_status", value) +if not MYPY: + class DashboardDataSetIdentifierDeclarationArgsDict(TypedDict): + data_set_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the data set. + """ + identifier: pulumi.Input[str] + """ + The identifier of the data set, typically the data set's name. + """ +elif False: + DashboardDataSetIdentifierDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataSetIdentifierDeclarationArgs: def __init__(__self__, *, @@ -37065,6 +49774,22 @@ def identifier(self, value: pulumi.Input[str]): pulumi.set(self, "identifier", value) +if not MYPY: + class DashboardDataSetReferenceArgsDict(TypedDict): + """ +

Dataset reference.

+ """ + data_set_arn: pulumi.Input[str] + """ +

Dataset Amazon Resource Name (ARN).

+ """ + data_set_placeholder: pulumi.Input[str] + """ +

Dataset placeholder.

+ """ +elif False: + DashboardDataSetReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDataSetReferenceArgs: def __init__(__self__, *, @@ -37103,6 +49828,15 @@ def data_set_placeholder(self, value: pulumi.Input[str]): pulumi.set(self, "data_set_placeholder", value) +if not MYPY: + class DashboardDateAxisOptionsArgsDict(TypedDict): + missing_date_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines whether or not missing dates are displayed. + """ +elif False: + DashboardDateAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDateAxisOptionsArgs: def __init__(__self__, *, @@ -37126,6 +49860,41 @@ def missing_date_visibility(self, value: Optional[pulumi.Input['DashboardVisibil pulumi.set(self, "missing_date_visibility", value) +if not MYPY: + class DashboardDateDimensionFieldArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that is used in the `DateDimensionField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + date_granularity: NotRequired[pulumi.Input['DashboardTimeGranularity']] + """ + The date granularity of the `DateDimensionField` . Choose one of the following options: + + - `YEAR` + - `QUARTER` + - `MONTH` + - `WEEK` + - `DAY` + - `HOUR` + - `MINUTE` + - `SECOND` + - `MILLISECOND` + """ + format_configuration: NotRequired[pulumi.Input['DashboardDateTimeFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ + hierarchy_id: NotRequired[pulumi.Input[str]] + """ + The custom hierarchy ID. + """ +elif False: + DashboardDateDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDateDimensionFieldArgs: def __init__(__self__, *, @@ -37231,6 +50000,27 @@ def hierarchy_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_id", value) +if not MYPY: + class DashboardDateMeasureFieldArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that is used in the `DateMeasureField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + aggregation_function: NotRequired[pulumi.Input['DashboardDateAggregationFunction']] + """ + The aggregation function of the measure field. + """ + format_configuration: NotRequired[pulumi.Input['DashboardDateTimeFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + DashboardDateMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDateMeasureFieldArgs: def __init__(__self__, *, @@ -37300,6 +50090,23 @@ def format_configuration(self, value: Optional[pulumi.Input['DashboardDateTimeFo pulumi.set(self, "format_configuration", value) +if not MYPY: + class DashboardDateTimeDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['DashboardDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `DataTimeDefaultValues` . Different defaults are displayed according to users, groups, and values mapping. + """ + rolling_date: NotRequired[pulumi.Input['DashboardRollingDateConfigurationArgsDict']] + """ + The rolling date of the `DataTimeDefaultValues` . The date is determined from the dataset based on input expression. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The static values of the `DataTimeDefaultValues` . + """ +elif False: + DashboardDateTimeDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDateTimeDefaultValuesArgs: def __init__(__self__, *, @@ -37355,6 +50162,23 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "static_values", value) +if not MYPY: + class DashboardDateTimeFormatConfigurationArgsDict(TypedDict): + date_time_format: NotRequired[pulumi.Input[str]] + """ + Determines the `DateTime` format. + """ + null_value_format_configuration: NotRequired[pulumi.Input['DashboardNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + numeric_format_configuration: NotRequired[pulumi.Input['DashboardNumericFormatConfigurationArgsDict']] + """ + The formatting configuration for numeric `DateTime` fields. + """ +elif False: + DashboardDateTimeFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDateTimeFormatConfigurationArgs: def __init__(__self__, *, @@ -37410,6 +50234,19 @@ def numeric_format_configuration(self, value: Optional[pulumi.Input['DashboardNu pulumi.set(self, "numeric_format_configuration", value) +if not MYPY: + class DashboardDateTimeHierarchyArgsDict(TypedDict): + hierarchy_id: pulumi.Input[str] + """ + The hierarchy ID of the `DateTime` hierarchy. + """ + drill_down_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDrillDownFilterArgsDict']]]] + """ + The option that determines the drill down filters for the `DateTime` hierarchy. + """ +elif False: + DashboardDateTimeHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDateTimeHierarchyArgs: def __init__(__self__, *, @@ -37448,6 +50285,28 @@ def drill_down_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "drill_down_filters", value) +if not MYPY: + class DashboardDateTimeParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + default_values: NotRequired[pulumi.Input['DashboardDateTimeDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMappedDataSetParameterArgsDict']]]] + time_granularity: NotRequired[pulumi.Input['DashboardTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ + value_when_unset: NotRequired[pulumi.Input['DashboardDateTimeValueWhenUnsetConfigurationArgsDict']] + """ + The configuration that defines the default value of a `DateTime` parameter when a value has not been set. + """ +elif False: + DashboardDateTimeParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDateTimeParameterDeclarationArgs: def __init__(__self__, *, @@ -37530,6 +50389,22 @@ def value_when_unset(self, value: Optional[pulumi.Input['DashboardDateTimeValueW pulumi.set(self, "value_when_unset", value) +if not MYPY: + class DashboardDateTimeParameterArgsDict(TypedDict): + """ +

A date-time parameter.

+ """ + name: pulumi.Input[str] + """ +

A display name for the date-time parameter.

+ """ + values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The values for the date-time parameter.

+ """ +elif False: + DashboardDateTimeParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDateTimeParameterArgs: def __init__(__self__, *, @@ -37568,6 +50443,23 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class DashboardDateTimePickerControlDisplayOptionsArgsDict(TypedDict): + date_time_format: NotRequired[pulumi.Input[str]] + """ + Customize how dates are formatted in controls. + """ + info_icon_label_options: NotRequired[pulumi.Input['DashboardSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + title_options: NotRequired[pulumi.Input['DashboardLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + DashboardDateTimePickerControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDateTimePickerControlDisplayOptionsArgs: def __init__(__self__, *, @@ -37623,6 +50515,22 @@ def title_options(self, value: Optional[pulumi.Input['DashboardLabelOptionsArgs' pulumi.set(self, "title_options", value) +if not MYPY: + class DashboardDateTimeValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[str]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['DashboardValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + DashboardDateTimeValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDateTimeValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -37668,6 +50576,19 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['DashboardValueWh pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class DashboardDecimalDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['DashboardDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `DecimalDefaultValues` . Different defaults are displayed according to users, groups, and values mapping. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + The static values of the `DecimalDefaultValues` . + """ +elif False: + DashboardDecimalDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDecimalDefaultValuesArgs: def __init__(__self__, *, @@ -37707,6 +50628,28 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[float pulumi.set(self, "static_values", value) +if not MYPY: + class DashboardDecimalParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + parameter_value_type: pulumi.Input['DashboardParameterValueType'] + """ + The value type determines whether the parameter is a single-value or multi-value parameter. + """ + default_values: NotRequired[pulumi.Input['DashboardDecimalDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMappedDataSetParameterArgsDict']]]] + value_when_unset: NotRequired[pulumi.Input['DashboardDecimalValueWhenUnsetConfigurationArgsDict']] + """ + The configuration that defines the default value of a `Decimal` parameter when a value has not been set. + """ +elif False: + DashboardDecimalParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDecimalParameterDeclarationArgs: def __init__(__self__, *, @@ -37788,6 +50731,22 @@ def value_when_unset(self, value: Optional[pulumi.Input['DashboardDecimalValueWh pulumi.set(self, "value_when_unset", value) +if not MYPY: + class DashboardDecimalParameterArgsDict(TypedDict): + """ +

A decimal parameter.

+ """ + name: pulumi.Input[str] + """ +

A display name for the decimal parameter.

+ """ + values: pulumi.Input[Sequence[pulumi.Input[float]]] + """ +

The values for the decimal parameter.

+ """ +elif False: + DashboardDecimalParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDecimalParameterArgs: def __init__(__self__, *, @@ -37826,6 +50785,15 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[float]]]): pulumi.set(self, "values", value) +if not MYPY: + class DashboardDecimalPlacesConfigurationArgsDict(TypedDict): + decimal_places: pulumi.Input[float] + """ + The values of the decimal places. + """ +elif False: + DashboardDecimalPlacesConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDecimalPlacesConfigurationArgs: def __init__(__self__, *, @@ -37848,6 +50816,22 @@ def decimal_places(self, value: pulumi.Input[float]): pulumi.set(self, "decimal_places", value) +if not MYPY: + class DashboardDecimalValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[float]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['DashboardValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + DashboardDecimalValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDecimalValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -37893,6 +50877,26 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['DashboardValueWh pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class DashboardDefaultDateTimePickerControlOptionsArgsDict(TypedDict): + commit_mode: NotRequired[pulumi.Input['DashboardCommitMode']] + """ + The visibility configuration of the Apply button on a `DateTimePickerControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardDateTimePickerControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['DashboardSheetControlDateTimePickerType']] + """ + The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the following options: + + - `SINGLE_VALUED` : The filter condition is a fixed date. + - `DATE_RANGE` : The filter condition is a date time range. + """ +elif False: + DashboardDefaultDateTimePickerControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultDateTimePickerControlOptionsArgs: def __init__(__self__, *, @@ -37954,6 +50958,19 @@ def type(self, value: Optional[pulumi.Input['DashboardSheetControlDateTimePicker pulumi.set(self, "type", value) +if not MYPY: + class DashboardDefaultFilterControlConfigurationArgsDict(TypedDict): + control_options: pulumi.Input['DashboardDefaultFilterControlOptionsArgsDict'] + """ + The control option for the `DefaultFilterControlConfiguration` . + """ + title: pulumi.Input[str] + """ + The title of the `DefaultFilterControlConfiguration` . This title is shared by all controls that are tied to this filter. + """ +elif False: + DashboardDefaultFilterControlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultFilterControlConfigurationArgs: def __init__(__self__, *, @@ -37991,6 +51008,39 @@ def title(self, value: pulumi.Input[str]): pulumi.set(self, "title", value) +if not MYPY: + class DashboardDefaultFilterControlOptionsArgsDict(TypedDict): + default_date_time_picker_options: NotRequired[pulumi.Input['DashboardDefaultDateTimePickerControlOptionsArgsDict']] + """ + The default options that correspond to the filter control type of a `DateTimePicker` . + """ + default_dropdown_options: NotRequired[pulumi.Input['DashboardDefaultFilterDropDownControlOptionsArgsDict']] + """ + The default options that correspond to the `Dropdown` filter control type. + """ + default_list_options: NotRequired[pulumi.Input['DashboardDefaultFilterListControlOptionsArgsDict']] + """ + The default options that correspond to the `List` filter control type. + """ + default_relative_date_time_options: NotRequired[pulumi.Input['DashboardDefaultRelativeDateTimeControlOptionsArgsDict']] + """ + The default options that correspond to the `RelativeDateTime` filter control type. + """ + default_slider_options: NotRequired[pulumi.Input['DashboardDefaultSliderControlOptionsArgsDict']] + """ + The default options that correspond to the `Slider` filter control type. + """ + default_text_area_options: NotRequired[pulumi.Input['DashboardDefaultTextAreaControlOptionsArgsDict']] + """ + The default options that correspond to the `TextArea` filter control type. + """ + default_text_field_options: NotRequired[pulumi.Input['DashboardDefaultTextFieldControlOptionsArgsDict']] + """ + The default options that correspond to the `TextField` filter control type. + """ +elif False: + DashboardDefaultFilterControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultFilterControlOptionsArgs: def __init__(__self__, *, @@ -38110,6 +51160,30 @@ def default_text_field_options(self, value: Optional[pulumi.Input['DashboardDefa pulumi.set(self, "default_text_field_options", value) +if not MYPY: + class DashboardDefaultFilterDropDownControlOptionsArgsDict(TypedDict): + commit_mode: NotRequired[pulumi.Input['DashboardCommitMode']] + """ + The visibility configuration of the Apply button on a `FilterDropDownControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardDropDownControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['DashboardFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['DashboardSheetControlListType']] + """ + The type of the `FilterDropDownControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + - `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + """ +elif False: + DashboardDefaultFilterDropDownControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultFilterDropDownControlOptionsArgs: def __init__(__self__, *, @@ -38187,6 +51261,26 @@ def type(self, value: Optional[pulumi.Input['DashboardSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class DashboardDefaultFilterListControlOptionsArgsDict(TypedDict): + display_options: NotRequired[pulumi.Input['DashboardListControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['DashboardFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['DashboardSheetControlListType']] + """ + The type of the `DefaultFilterListControlOptions` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from the list. + - `SINGLE_SELECT` : The user can select a single entry from the list. + """ +elif False: + DashboardDefaultFilterListControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultFilterListControlOptionsArgs: def __init__(__self__, *, @@ -38248,6 +51342,15 @@ def type(self, value: Optional[pulumi.Input['DashboardSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class DashboardDefaultFreeFormLayoutConfigurationArgsDict(TypedDict): + canvas_size_options: pulumi.Input['DashboardFreeFormLayoutCanvasSizeOptionsArgsDict'] + """ + Determines the screen canvas size options for a free-form layout. + """ +elif False: + DashboardDefaultFreeFormLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultFreeFormLayoutConfigurationArgs: def __init__(__self__, *, @@ -38270,6 +51373,15 @@ def canvas_size_options(self, value: pulumi.Input['DashboardFreeFormLayoutCanvas pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class DashboardDefaultGridLayoutConfigurationArgsDict(TypedDict): + canvas_size_options: pulumi.Input['DashboardGridLayoutCanvasSizeOptionsArgsDict'] + """ + Determines the screen canvas size options for a grid layout. + """ +elif False: + DashboardDefaultGridLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultGridLayoutConfigurationArgs: def __init__(__self__, *, @@ -38292,6 +51404,19 @@ def canvas_size_options(self, value: pulumi.Input['DashboardGridLayoutCanvasSize pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class DashboardDefaultInteractiveLayoutConfigurationArgsDict(TypedDict): + free_form: NotRequired[pulumi.Input['DashboardDefaultFreeFormLayoutConfigurationArgsDict']] + """ + The options that determine the default settings of a free-form layout configuration. + """ + grid: NotRequired[pulumi.Input['DashboardDefaultGridLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for a grid layout configuration. + """ +elif False: + DashboardDefaultInteractiveLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultInteractiveLayoutConfigurationArgs: def __init__(__self__, *, @@ -38331,6 +51456,23 @@ def grid(self, value: Optional[pulumi.Input['DashboardDefaultGridLayoutConfigura pulumi.set(self, "grid", value) +if not MYPY: + class DashboardDefaultNewSheetConfigurationArgsDict(TypedDict): + interactive_layout_configuration: NotRequired[pulumi.Input['DashboardDefaultInteractiveLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for interactive layout configuration. + """ + paginated_layout_configuration: NotRequired[pulumi.Input['DashboardDefaultPaginatedLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for a paginated layout configuration. + """ + sheet_content_type: NotRequired[pulumi.Input['DashboardSheetContentType']] + """ + The option that determines the sheet content type. + """ +elif False: + DashboardDefaultNewSheetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultNewSheetConfigurationArgs: def __init__(__self__, *, @@ -38386,6 +51528,15 @@ def sheet_content_type(self, value: Optional[pulumi.Input['DashboardSheetContent pulumi.set(self, "sheet_content_type", value) +if not MYPY: + class DashboardDefaultPaginatedLayoutConfigurationArgsDict(TypedDict): + section_based: NotRequired[pulumi.Input['DashboardDefaultSectionBasedLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for a section-based layout configuration. + """ +elif False: + DashboardDefaultPaginatedLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultPaginatedLayoutConfigurationArgs: def __init__(__self__, *, @@ -38409,6 +51560,19 @@ def section_based(self, value: Optional[pulumi.Input['DashboardDefaultSectionBas pulumi.set(self, "section_based", value) +if not MYPY: + class DashboardDefaultRelativeDateTimeControlOptionsArgsDict(TypedDict): + commit_mode: NotRequired[pulumi.Input['DashboardCommitMode']] + """ + The visibility configuration of the Apply button on a `RelativeDateTimeControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardRelativeDateTimeControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + DashboardDefaultRelativeDateTimeControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultRelativeDateTimeControlOptionsArgs: def __init__(__self__, *, @@ -38448,6 +51612,15 @@ def display_options(self, value: Optional[pulumi.Input['DashboardRelativeDateTim pulumi.set(self, "display_options", value) +if not MYPY: + class DashboardDefaultSectionBasedLayoutConfigurationArgsDict(TypedDict): + canvas_size_options: pulumi.Input['DashboardSectionBasedLayoutCanvasSizeOptionsArgsDict'] + """ + Determines the screen canvas size options for a section-based layout. + """ +elif False: + DashboardDefaultSectionBasedLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultSectionBasedLayoutConfigurationArgs: def __init__(__self__, *, @@ -38470,6 +51643,34 @@ def canvas_size_options(self, value: pulumi.Input['DashboardSectionBasedLayoutCa pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class DashboardDefaultSliderControlOptionsArgsDict(TypedDict): + maximum_value: pulumi.Input[float] + """ + The larger value that is displayed at the right of the slider. + """ + minimum_value: pulumi.Input[float] + """ + The smaller value that is displayed at the left of the slider. + """ + step_size: pulumi.Input[float] + """ + The number of increments that the slider bar is divided into. + """ + display_options: NotRequired[pulumi.Input['DashboardSliderControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['DashboardSheetControlSliderType']] + """ + The type of the `DefaultSliderControlOptions` . Choose one of the following options: + + - `SINGLE_POINT` : Filter against(equals) a single data point. + - `RANGE` : Filter data that is in a specified range. + """ +elif False: + DashboardDefaultSliderControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultSliderControlOptionsArgs: def __init__(__self__, *, @@ -38560,6 +51761,19 @@ def type(self, value: Optional[pulumi.Input['DashboardSheetControlSliderType']]) pulumi.set(self, "type", value) +if not MYPY: + class DashboardDefaultTextAreaControlOptionsArgsDict(TypedDict): + delimiter: NotRequired[pulumi.Input[str]] + """ + The delimiter that is used to separate the lines in text. + """ + display_options: NotRequired[pulumi.Input['DashboardTextAreaControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + DashboardDefaultTextAreaControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultTextAreaControlOptionsArgs: def __init__(__self__, *, @@ -38599,6 +51813,15 @@ def display_options(self, value: Optional[pulumi.Input['DashboardTextAreaControl pulumi.set(self, "display_options", value) +if not MYPY: + class DashboardDefaultTextFieldControlOptionsArgsDict(TypedDict): + display_options: NotRequired[pulumi.Input['DashboardTextFieldControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + DashboardDefaultTextFieldControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDefaultTextFieldControlOptionsArgs: def __init__(__self__, *, @@ -38622,6 +51845,28 @@ def display_options(self, value: Optional[pulumi.Input['DashboardTextFieldContro pulumi.set(self, "display_options", value) +if not MYPY: + class DashboardDestinationParameterValueConfigurationArgsDict(TypedDict): + custom_values_configuration: NotRequired[pulumi.Input['DashboardCustomValuesConfigurationArgsDict']] + """ + The configuration of custom values for destination parameter in `DestinationParameterValueConfiguration` . + """ + select_all_value_options: NotRequired[pulumi.Input['DashboardSelectAllValueOptions']] + """ + The configuration that selects all options. + """ + source_column: NotRequired[pulumi.Input['DashboardColumnIdentifierArgsDict']] + source_field: NotRequired[pulumi.Input[str]] + """ + The source field ID of the destination parameter. + """ + source_parameter_name: NotRequired[pulumi.Input[str]] + """ + The source parameter name of the destination parameter. + """ +elif False: + DashboardDestinationParameterValueConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDestinationParameterValueConfigurationArgs: def __init__(__self__, *, @@ -38705,6 +51950,23 @@ def source_parameter_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_parameter_name", value) +if not MYPY: + class DashboardDimensionFieldArgsDict(TypedDict): + categorical_dimension_field: NotRequired[pulumi.Input['DashboardCategoricalDimensionFieldArgsDict']] + """ + The dimension type field with categorical type columns. + """ + date_dimension_field: NotRequired[pulumi.Input['DashboardDateDimensionFieldArgsDict']] + """ + The dimension type field with date type columns. + """ + numerical_dimension_field: NotRequired[pulumi.Input['DashboardNumericalDimensionFieldArgsDict']] + """ + The dimension type field with numerical type columns. + """ +elif False: + DashboardDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDimensionFieldArgs: def __init__(__self__, *, @@ -38760,6 +52022,15 @@ def numerical_dimension_field(self, value: Optional[pulumi.Input['DashboardNumer pulumi.set(self, "numerical_dimension_field", value) +if not MYPY: + class DashboardDonutCenterOptionsArgsDict(TypedDict): + label_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines the visibility of the label in a donut chart. In the Amazon QuickSight console, this option is called `'Show total'` . + """ +elif False: + DashboardDonutCenterOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDonutCenterOptionsArgs: def __init__(__self__, *, @@ -38783,6 +52054,24 @@ def label_visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]) pulumi.set(self, "label_visibility", value) +if not MYPY: + class DashboardDonutOptionsArgsDict(TypedDict): + arc_options: NotRequired[pulumi.Input['DashboardArcOptionsArgsDict']] + """ + The option for define the arc of the chart shape. Valid values are as follows: + + - `WHOLE` - A pie chart + - `SMALL` - A small-sized donut chart + - `MEDIUM` - A medium-sized donut chart + - `LARGE` - A large-sized donut chart + """ + donut_center_options: NotRequired[pulumi.Input['DashboardDonutCenterOptionsArgsDict']] + """ + The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts. + """ +elif False: + DashboardDonutOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDonutOptionsArgs: def __init__(__self__, *, @@ -38832,6 +52121,23 @@ def donut_center_options(self, value: Optional[pulumi.Input['DashboardDonutCente pulumi.set(self, "donut_center_options", value) +if not MYPY: + class DashboardDrillDownFilterArgsDict(TypedDict): + category_filter: NotRequired[pulumi.Input['DashboardCategoryDrillDownFilterArgsDict']] + """ + The category type drill down filter. This filter is used for string type columns. + """ + numeric_equality_filter: NotRequired[pulumi.Input['DashboardNumericEqualityDrillDownFilterArgsDict']] + """ + The numeric equality type drill down filter. This filter is used for number type columns. + """ + time_range_filter: NotRequired[pulumi.Input['DashboardTimeRangeDrillDownFilterArgsDict']] + """ + The time range drill down filter. This filter is used for date time columns. + """ +elif False: + DashboardDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDrillDownFilterArgs: def __init__(__self__, *, @@ -38887,6 +52193,23 @@ def time_range_filter(self, value: Optional[pulumi.Input['DashboardTimeRangeDril pulumi.set(self, "time_range_filter", value) +if not MYPY: + class DashboardDropDownControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['DashboardSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + select_all_options: NotRequired[pulumi.Input['DashboardListControlSelectAllOptionsArgsDict']] + """ + The configuration of the `Select all` options in a dropdown control. + """ + title_options: NotRequired[pulumi.Input['DashboardLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + DashboardDropDownControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDropDownControlDisplayOptionsArgs: def __init__(__self__, *, @@ -38942,6 +52265,23 @@ def title_options(self, value: Optional[pulumi.Input['DashboardLabelOptionsArgs' pulumi.set(self, "title_options", value) +if not MYPY: + class DashboardDynamicDefaultValueArgsDict(TypedDict): + default_value_column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that contains the default value of each user or group. + """ + group_name_column: NotRequired[pulumi.Input['DashboardColumnIdentifierArgsDict']] + """ + The column that contains the group name. + """ + user_name_column: NotRequired[pulumi.Input['DashboardColumnIdentifierArgsDict']] + """ + The column that contains the username. + """ +elif False: + DashboardDynamicDefaultValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardDynamicDefaultValueArgs: def __init__(__self__, *, @@ -38996,6 +52336,23 @@ def user_name_column(self, value: Optional[pulumi.Input['DashboardColumnIdentifi pulumi.set(self, "user_name_column", value) +if not MYPY: + class DashboardEmptyVisualArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The data set that is used in the empty visual. Every visual requires a dataset to render. + """ + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ +elif False: + DashboardEmptyVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardEmptyVisualArgs: def __init__(__self__, *, @@ -39049,6 +52406,26 @@ def actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardV pulumi.set(self, "actions", value) +if not MYPY: + class DashboardExcludePeriodConfigurationArgsDict(TypedDict): + amount: pulumi.Input[float] + """ + The amount or number of the exclude period. + """ + granularity: pulumi.Input['DashboardTimeGranularity'] + """ + The granularity or unit (day, month, year) of the exclude period. + """ + status: NotRequired[pulumi.Input['DashboardWidgetStatus']] + """ + The status of the exclude period. Choose from the following options: + + - `ENABLED` + - `DISABLED` + """ +elif False: + DashboardExcludePeriodConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardExcludePeriodConfigurationArgs: def __init__(__self__, *, @@ -39108,6 +52485,23 @@ def status(self, value: Optional[pulumi.Input['DashboardWidgetStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class DashboardExplicitHierarchyArgsDict(TypedDict): + columns: pulumi.Input[Sequence[pulumi.Input['DashboardColumnIdentifierArgsDict']]] + """ + The list of columns that define the explicit hierarchy. + """ + hierarchy_id: pulumi.Input[str] + """ + The hierarchy ID of the explicit hierarchy. + """ + drill_down_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDrillDownFilterArgsDict']]]] + """ + The option that determines the drill down filters for the explicit hierarchy. + """ +elif False: + DashboardExplicitHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardExplicitHierarchyArgs: def __init__(__self__, *, @@ -39161,6 +52555,18 @@ def drill_down_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "drill_down_filters", value) +if not MYPY: + class DashboardExportHiddenFieldsOptionArgsDict(TypedDict): + """ +

Determines if hidden fields are included in an exported dashboard.

+ """ + availability_status: NotRequired[pulumi.Input['DashboardBehavior']] + """ + The status of the export hidden fields options of a dashbaord. + """ +elif False: + DashboardExportHiddenFieldsOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardExportHiddenFieldsOptionArgs: def __init__(__self__, *, @@ -39185,6 +52591,18 @@ def availability_status(self, value: Optional[pulumi.Input['DashboardBehavior']] pulumi.set(self, "availability_status", value) +if not MYPY: + class DashboardExportToCsvOptionArgsDict(TypedDict): + """ +

Export to .csv option.

+ """ + availability_status: NotRequired[pulumi.Input['DashboardBehavior']] + """ + Availability status. + """ +elif False: + DashboardExportToCsvOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardExportToCsvOptionArgs: def __init__(__self__, *, @@ -39209,6 +52627,18 @@ def availability_status(self, value: Optional[pulumi.Input['DashboardBehavior']] pulumi.set(self, "availability_status", value) +if not MYPY: + class DashboardExportWithHiddenFieldsOptionArgsDict(TypedDict): + """ +

Determines whether or not hidden fields are visible on exported dashbaords.

+ """ + availability_status: NotRequired[pulumi.Input['DashboardBehavior']] + """ + The status of the export with hidden fields options. + """ +elif False: + DashboardExportWithHiddenFieldsOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardExportWithHiddenFieldsOptionArgs: def __init__(__self__, *, @@ -39233,6 +52663,26 @@ def availability_status(self, value: Optional[pulumi.Input['DashboardBehavior']] pulumi.set(self, "availability_status", value) +if not MYPY: + class DashboardFieldBasedTooltipArgsDict(TypedDict): + aggregation_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of `Show aggregations` . + """ + tooltip_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardTooltipItemArgsDict']]]] + """ + The fields configuration in the tooltip. + """ + tooltip_title_type: NotRequired[pulumi.Input['DashboardTooltipTitleType']] + """ + The type for the >tooltip title. Choose one of the following options: + + - `NONE` : Doesn't use the primary value as the title. + - `PRIMARY_VALUE` : Uses primary value as the title. + """ +elif False: + DashboardFieldBasedTooltipArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFieldBasedTooltipArgs: def __init__(__self__, *, @@ -39294,6 +52744,19 @@ def tooltip_title_type(self, value: Optional[pulumi.Input['DashboardTooltipTitle pulumi.set(self, "tooltip_title_type", value) +if not MYPY: + class DashboardFieldLabelTypeArgsDict(TypedDict): + field_id: NotRequired[pulumi.Input[str]] + """ + Indicates the field that is targeted by the field label. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the field label. + """ +elif False: + DashboardFieldLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFieldLabelTypeArgs: def __init__(__self__, *, @@ -39333,6 +52796,23 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardFieldSeriesItemArgsDict(TypedDict): + axis_binding: pulumi.Input['DashboardAxisBinding'] + """ + The axis that you are binding the field to. + """ + field_id: pulumi.Input[str] + """ + The field ID of the field for which you are setting the axis binding. + """ + settings: NotRequired[pulumi.Input['DashboardLineChartSeriesSettingsArgsDict']] + """ + The options that determine the presentation of line series associated to the field. + """ +elif False: + DashboardFieldSeriesItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFieldSeriesItemArgs: def __init__(__self__, *, @@ -39386,6 +52866,19 @@ def settings(self, value: Optional[pulumi.Input['DashboardLineChartSeriesSetting pulumi.set(self, "settings", value) +if not MYPY: + class DashboardFieldSortOptionsArgsDict(TypedDict): + column_sort: NotRequired[pulumi.Input['DashboardColumnSortArgsDict']] + """ + The sort configuration for a column that is not used in a field well. + """ + field_sort: NotRequired[pulumi.Input['DashboardFieldSortArgsDict']] + """ + The sort configuration for a field in a field well. + """ +elif False: + DashboardFieldSortOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFieldSortOptionsArgs: def __init__(__self__, *, @@ -39425,6 +52918,22 @@ def field_sort(self, value: Optional[pulumi.Input['DashboardFieldSortArgs']]): pulumi.set(self, "field_sort", value) +if not MYPY: + class DashboardFieldSortArgsDict(TypedDict): + direction: pulumi.Input['DashboardSortDirection'] + """ + The sort direction. Choose one of the following options: + + - `ASC` : Ascending + - `DESC` : Descending + """ + field_id: pulumi.Input[str] + """ + The sort configuration target field. + """ +elif False: + DashboardFieldSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFieldSortArgs: def __init__(__self__, *, @@ -39468,6 +52977,27 @@ def field_id(self, value: pulumi.Input[str]): pulumi.set(self, "field_id", value) +if not MYPY: + class DashboardFieldTooltipItemArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The unique ID of the field that is targeted by the tooltip. + """ + label: NotRequired[pulumi.Input[str]] + """ + The label of the tooltip item. + """ + tooltip_target: NotRequired[pulumi.Input['DashboardTooltipTarget']] + """ + Determines the target of the field tooltip item in a combo chart visual. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the tooltip item. + """ +elif False: + DashboardFieldTooltipItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFieldTooltipItemArgs: def __init__(__self__, *, @@ -39538,6 +53068,19 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardFilledMapAggregatedFieldWellsArgsDict(TypedDict): + geospatial: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The aggregated location field well of the filled map. Values are grouped by location fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The aggregated color field well of a filled map. Values are aggregated based on location fields. + """ +elif False: + DashboardFilledMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilledMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -39577,6 +53120,15 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardFilledMapConditionalFormattingOptionArgsDict(TypedDict): + shape: pulumi.Input['DashboardFilledMapShapeConditionalFormattingArgsDict'] + """ + The conditional formatting that determines the shape of the filled map. + """ +elif False: + DashboardFilledMapConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilledMapConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -39599,6 +53151,15 @@ def shape(self, value: pulumi.Input['DashboardFilledMapShapeConditionalFormattin pulumi.set(self, "shape", value) +if not MYPY: + class DashboardFilledMapConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: pulumi.Input[Sequence[pulumi.Input['DashboardFilledMapConditionalFormattingOptionArgsDict']]] + """ + Conditional formatting options of a `FilledMapVisual` . + """ +elif False: + DashboardFilledMapConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilledMapConditionalFormattingArgs: def __init__(__self__, *, @@ -39621,6 +53182,35 @@ def conditional_formatting_options(self, value: pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class DashboardFilledMapConfigurationArgsDict(TypedDict): + field_wells: NotRequired[pulumi.Input['DashboardFilledMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + map_style_options: NotRequired[pulumi.Input['DashboardGeospatialMapStyleOptionsArgsDict']] + """ + The map style options of the filled map visual. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardFilledMapSortConfigurationArgsDict']] + """ + The sort configuration of a `FilledMapVisual` . + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + window_options: NotRequired[pulumi.Input['DashboardGeospatialWindowOptionsArgsDict']] + """ + The window options of the filled map visual. + """ +elif False: + DashboardFilledMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilledMapConfigurationArgs: def __init__(__self__, *, @@ -39724,6 +53314,15 @@ def window_options(self, value: Optional[pulumi.Input['DashboardGeospatialWindow pulumi.set(self, "window_options", value) +if not MYPY: + class DashboardFilledMapFieldWellsArgsDict(TypedDict): + filled_map_aggregated_field_wells: NotRequired[pulumi.Input['DashboardFilledMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field well of the filled map. + """ +elif False: + DashboardFilledMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilledMapFieldWellsArgs: def __init__(__self__, *, @@ -39747,6 +53346,19 @@ def filled_map_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashbo pulumi.set(self, "filled_map_aggregated_field_wells", value) +if not MYPY: + class DashboardFilledMapShapeConditionalFormattingArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the filled map shape. + """ + format: NotRequired[pulumi.Input['DashboardShapeConditionalFormatArgsDict']] + """ + The conditional formatting that determines the background color of a filled map's shape. + """ +elif False: + DashboardFilledMapShapeConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilledMapShapeConditionalFormattingArgs: def __init__(__self__, *, @@ -39785,6 +53397,15 @@ def format(self, value: Optional[pulumi.Input['DashboardShapeConditionalFormatAr pulumi.set(self, "format", value) +if not MYPY: + class DashboardFilledMapSortConfigurationArgsDict(TypedDict): + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the location fields. + """ +elif False: + DashboardFilledMapSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilledMapSortConfigurationArgs: def __init__(__self__, *, @@ -39808,6 +53429,39 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dash pulumi.set(self, "category_sort", value) +if not MYPY: + class DashboardFilledMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardFilledMapConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + conditional_formatting: NotRequired[pulumi.Input['DashboardFilledMapConditionalFormattingArgsDict']] + """ + The conditional formatting of a `FilledMapVisual` . + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardFilledMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilledMapVisualArgs: def __init__(__self__, *, @@ -39926,6 +53580,43 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardFilterControlArgsDict(TypedDict): + cross_sheet: NotRequired[pulumi.Input['DashboardFilterCrossSheetControlArgsDict']] + """ + A control from a filter that is scoped across more than one sheet. This represents your filter control on a sheet + """ + date_time_picker: NotRequired[pulumi.Input['DashboardFilterDateTimePickerControlArgsDict']] + """ + A control from a date filter that is used to specify date and time. + """ + dropdown: NotRequired[pulumi.Input['DashboardFilterDropDownControlArgsDict']] + """ + A control to display a dropdown list with buttons that are used to select a single value. + """ + list: NotRequired[pulumi.Input['DashboardFilterListControlArgsDict']] + """ + A control to display a list of buttons or boxes. This is used to select either a single value or multiple values. + """ + relative_date_time: NotRequired[pulumi.Input['DashboardFilterRelativeDateTimeControlArgsDict']] + """ + A control from a date filter that is used to specify the relative date. + """ + slider: NotRequired[pulumi.Input['DashboardFilterSliderControlArgsDict']] + """ + A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle. + """ + text_area: NotRequired[pulumi.Input['DashboardFilterTextAreaControlArgsDict']] + """ + A control to display a text box that is used to enter multiple entries. + """ + text_field: NotRequired[pulumi.Input['DashboardFilterTextFieldControlArgsDict']] + """ + A control to display a text box that is used to enter a single entry. + """ +elif False: + DashboardFilterControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterControlArgs: def __init__(__self__, *, @@ -40061,6 +53752,23 @@ def text_field(self, value: Optional[pulumi.Input['DashboardFilterTextFieldContr pulumi.set(self, "text_field", value) +if not MYPY: + class DashboardFilterCrossSheetControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterCrossSheetControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterCrossSheetControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['DashboardCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ +elif False: + DashboardFilterCrossSheetControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterCrossSheetControlArgs: def __init__(__self__, *, @@ -40114,6 +53822,38 @@ def cascading_control_configuration(self, value: Optional[pulumi.Input['Dashboar pulumi.set(self, "cascading_control_configuration", value) +if not MYPY: + class DashboardFilterDateTimePickerControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterDateTimePickerControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterDateTimePickerControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterDateTimePickerControl` . + """ + commit_mode: NotRequired[pulumi.Input['DashboardCommitMode']] + """ + The visibility configurationof the Apply button on a `DateTimePickerControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardDateTimePickerControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['DashboardSheetControlDateTimePickerType']] + """ + The type of the `FilterDropDownControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + - `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + """ +elif False: + DashboardFilterDateTimePickerControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterDateTimePickerControlArgs: def __init__(__self__, *, @@ -40220,6 +53960,46 @@ def type(self, value: Optional[pulumi.Input['DashboardSheetControlDateTimePicker pulumi.set(self, "type", value) +if not MYPY: + class DashboardFilterDropDownControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterDropDownControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterDropDownControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterDropDownControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['DashboardCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + commit_mode: NotRequired[pulumi.Input['DashboardCommitMode']] + """ + The visibility configuration of the Apply button on a `FilterDropDownControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardDropDownControlDisplayOptionsArgsDict']] + """ + The display options of the `FilterDropDownControl` . + """ + selectable_values: NotRequired[pulumi.Input['DashboardFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['DashboardSheetControlListType']] + """ + The type of the `FilterDropDownControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + - `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + """ +elif False: + DashboardFilterDropDownControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterDropDownControlArgs: def __init__(__self__, *, @@ -40358,6 +54138,36 @@ def type(self, value: Optional[pulumi.Input['DashboardSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class DashboardFilterGroupArgsDict(TypedDict): + cross_dataset: pulumi.Input['DashboardCrossDatasetTypes'] + """ + The filter new feature which can apply filter group to all data sets. Choose one of the following options: + + - `ALL_DATASETS` + - `SINGLE_DATASET` + """ + filter_group_id: pulumi.Input[str] + """ + The value that uniquely identifies a `FilterGroup` within a dashboard, template, or analysis. + """ + filters: pulumi.Input[Sequence[pulumi.Input['DashboardFilterArgsDict']]] + """ + The list of filters that are present in a `FilterGroup` . + """ + scope_configuration: pulumi.Input['DashboardFilterScopeConfigurationArgsDict'] + """ + The configuration that specifies what scope to apply to a `FilterGroup` . + + This is a union type structure. For this structure to be valid, only one of the attributes can be defined. + """ + status: NotRequired[pulumi.Input['DashboardWidgetStatus']] + """ + The status of the `FilterGroup` . + """ +elif False: + DashboardFilterGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterGroupArgs: def __init__(__self__, *, @@ -40451,6 +54261,33 @@ def status(self, value: Optional[pulumi.Input['DashboardWidgetStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class DashboardFilterListConfigurationArgsDict(TypedDict): + match_operator: pulumi.Input['DashboardCategoryFilterMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + category_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of category values for the filter. + """ + null_option: NotRequired[pulumi.Input['DashboardFilterNullOption']] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + select_all_options: NotRequired[pulumi.Input['DashboardCategoryFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + DashboardFilterListConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterListConfigurationArgs: def __init__(__self__, *, @@ -40533,6 +54370,42 @@ def select_all_options(self, value: Optional[pulumi.Input['DashboardCategoryFilt pulumi.set(self, "select_all_options", value) +if not MYPY: + class DashboardFilterListControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterListControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterListControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterListControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['DashboardCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + display_options: NotRequired[pulumi.Input['DashboardListControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['DashboardFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['DashboardSheetControlListType']] + """ + The type of the `FilterListControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from the list. + - `SINGLE_SELECT` : The user can select a single entry from the list. + """ +elif False: + DashboardFilterListControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterListControlArgs: def __init__(__self__, *, @@ -40655,6 +54528,27 @@ def type(self, value: Optional[pulumi.Input['DashboardSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class DashboardFilterOperationSelectedFieldsConfigurationArgsDict(TypedDict): + selected_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnIdentifierArgsDict']]]] + """ +

The selected columns of a dataset.

+ """ + selected_field_options: NotRequired[pulumi.Input['DashboardSelectedFieldOptions']] + """ + A structure that contains the options that choose which fields are filtered in the `CustomActionFilterOperation` . + + Valid values are defined as follows: + + - `ALL_FIELDS` : Applies the filter operation to all fields. + """ + selected_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Chooses the fields that are filtered in `CustomActionFilterOperation` . + """ +elif False: + DashboardFilterOperationSelectedFieldsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterOperationSelectedFieldsConfigurationArgs: def __init__(__self__, *, @@ -40718,6 +54612,15 @@ def selected_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "selected_fields", value) +if not MYPY: + class DashboardFilterOperationTargetVisualsConfigurationArgsDict(TypedDict): + same_sheet_target_visual_configuration: NotRequired[pulumi.Input['DashboardSameSheetTargetVisualConfigurationArgsDict']] + """ + The configuration of the same-sheet target visuals that you want to be filtered. + """ +elif False: + DashboardFilterOperationTargetVisualsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterOperationTargetVisualsConfigurationArgs: def __init__(__self__, *, @@ -40741,6 +54644,31 @@ def same_sheet_target_visual_configuration(self, value: Optional[pulumi.Input['D pulumi.set(self, "same_sheet_target_visual_configuration", value) +if not MYPY: + class DashboardFilterRelativeDateTimeControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterTextAreaControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterTextAreaControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterTextAreaControl` . + """ + commit_mode: NotRequired[pulumi.Input['DashboardCommitMode']] + """ + The visibility configuration of the Apply button on a `FilterRelativeDateTimeControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardRelativeDateTimeControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + DashboardFilterRelativeDateTimeControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterRelativeDateTimeControlArgs: def __init__(__self__, *, @@ -40825,6 +54753,19 @@ def display_options(self, value: Optional[pulumi.Input['DashboardRelativeDateTim pulumi.set(self, "display_options", value) +if not MYPY: + class DashboardFilterScopeConfigurationArgsDict(TypedDict): + all_sheets: NotRequired[pulumi.Input['DashboardAllSheetsFilterScopeConfigurationArgsDict']] + """ + The configuration that applies a filter to all sheets. When you choose `AllSheets` as the value for a `FilterScopeConfiguration` , this filter is applied to all visuals of all sheets in an Analysis, Dashboard, or Template. The `AllSheetsFilterScopeConfiguration` is chosen. + """ + selected_sheets: NotRequired[pulumi.Input['DashboardSelectedSheetsFilterScopeConfigurationArgsDict']] + """ + The configuration for applying a filter to specific sheets. + """ +elif False: + DashboardFilterScopeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterScopeConfigurationArgs: def __init__(__self__, *, @@ -40864,6 +54805,15 @@ def selected_sheets(self, value: Optional[pulumi.Input['DashboardSelectedSheetsF pulumi.set(self, "selected_sheets", value) +if not MYPY: + class DashboardFilterSelectableValuesArgsDict(TypedDict): + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The values that are used in the `FilterSelectableValues` . + """ +elif False: + DashboardFilterSelectableValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterSelectableValuesArgs: def __init__(__self__, *, @@ -40887,6 +54837,46 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class DashboardFilterSliderControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterSliderControl` . + """ + maximum_value: pulumi.Input[float] + """ + The larger value that is displayed at the right of the slider. + """ + minimum_value: pulumi.Input[float] + """ + The smaller value that is displayed at the left of the slider. + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterSliderControl` . + """ + step_size: pulumi.Input[float] + """ + The number of increments that the slider bar is divided into. + """ + title: pulumi.Input[str] + """ + The title of the `FilterSliderControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardSliderControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['DashboardSheetControlSliderType']] + """ + The type of the `FilterSliderControl` . Choose one of the following options: + + - `SINGLE_POINT` : Filter against(equals) a single data point. + - `RANGE` : Filter data that is in a specified range. + """ +elif False: + DashboardFilterSliderControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterSliderControlArgs: def __init__(__self__, *, @@ -41022,6 +55012,31 @@ def type(self, value: Optional[pulumi.Input['DashboardSheetControlSliderType']]) pulumi.set(self, "type", value) +if not MYPY: + class DashboardFilterTextAreaControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterTextAreaControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterTextAreaControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterTextAreaControl` . + """ + delimiter: NotRequired[pulumi.Input[str]] + """ + The delimiter that is used to separate the lines in text. + """ + display_options: NotRequired[pulumi.Input['DashboardTextAreaControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + DashboardFilterTextAreaControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterTextAreaControlArgs: def __init__(__self__, *, @@ -41106,6 +55121,27 @@ def display_options(self, value: Optional[pulumi.Input['DashboardTextAreaControl pulumi.set(self, "display_options", value) +if not MYPY: + class DashboardFilterTextFieldControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterTextFieldControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterTextFieldControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterTextFieldControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardTextFieldControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + DashboardFilterTextFieldControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterTextFieldControlArgs: def __init__(__self__, *, @@ -41174,6 +55210,45 @@ def display_options(self, value: Optional[pulumi.Input['DashboardTextFieldContro pulumi.set(self, "display_options", value) +if not MYPY: + class DashboardFilterArgsDict(TypedDict): + category_filter: NotRequired[pulumi.Input['DashboardCategoryFilterArgsDict']] + """ + A `CategoryFilter` filters text values. + + For more information, see [Adding text filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in the *Amazon QuickSight User Guide* . + """ + nested_filter: NotRequired[pulumi.Input['DashboardNestedFilterArgsDict']] + """ + A `NestedFilter` filters data with a subset of data that is defined by the nested inner filter. + """ + numeric_equality_filter: NotRequired[pulumi.Input['DashboardNumericEqualityFilterArgsDict']] + """ + A `NumericEqualityFilter` filters numeric values that equal or do not equal a given numeric value. + """ + numeric_range_filter: NotRequired[pulumi.Input['DashboardNumericRangeFilterArgsDict']] + """ + A `NumericRangeFilter` filters numeric values that are either inside or outside a given numeric range. + """ + relative_dates_filter: NotRequired[pulumi.Input['DashboardRelativeDatesFilterArgsDict']] + """ + A `RelativeDatesFilter` filters date values that are relative to a given date. + """ + time_equality_filter: NotRequired[pulumi.Input['DashboardTimeEqualityFilterArgsDict']] + """ + A `TimeEqualityFilter` filters date-time values that equal or do not equal a given date/time value. + """ + time_range_filter: NotRequired[pulumi.Input['DashboardTimeRangeFilterArgsDict']] + """ + A `TimeRangeFilter` filters date-time values that are either inside or outside a given date/time range. + """ + top_bottom_filter: NotRequired[pulumi.Input['DashboardTopBottomFilterArgsDict']] + """ + A `TopBottomFilter` filters data to the top or bottom values for a given column. + """ +elif False: + DashboardFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFilterArgs: def __init__(__self__, *, @@ -41313,6 +55388,31 @@ def top_bottom_filter(self, value: Optional[pulumi.Input['DashboardTopBottomFilt pulumi.set(self, "top_bottom_filter", value) +if not MYPY: + class DashboardFontConfigurationArgsDict(TypedDict): + font_color: NotRequired[pulumi.Input[str]] + """ + Determines the color of the text. + """ + font_decoration: NotRequired[pulumi.Input['DashboardFontDecoration']] + """ + Determines the appearance of decorative lines on the text. + """ + font_size: NotRequired[pulumi.Input['DashboardFontSizeArgsDict']] + """ + The option that determines the text display size. + """ + font_style: NotRequired[pulumi.Input['DashboardFontStyle']] + """ + Determines the text display face that is inherited by the given font family. + """ + font_weight: NotRequired[pulumi.Input['DashboardFontWeightArgsDict']] + """ + The option that determines the text display weight, or boldness. + """ +elif False: + DashboardFontConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFontConfigurationArgs: def __init__(__self__, *, @@ -41400,6 +55500,15 @@ def font_weight(self, value: Optional[pulumi.Input['DashboardFontWeightArgs']]): pulumi.set(self, "font_weight", value) +if not MYPY: + class DashboardFontSizeArgsDict(TypedDict): + relative: NotRequired[pulumi.Input['DashboardRelativeFontSize']] + """ + The lexical name for the text size, proportional to its surrounding context. + """ +elif False: + DashboardFontSizeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFontSizeArgs: def __init__(__self__, *, @@ -41423,6 +55532,15 @@ def relative(self, value: Optional[pulumi.Input['DashboardRelativeFontSize']]): pulumi.set(self, "relative", value) +if not MYPY: + class DashboardFontWeightArgsDict(TypedDict): + name: NotRequired[pulumi.Input['DashboardFontWeightName']] + """ + The lexical name for the level of boldness of the text display. + """ +elif False: + DashboardFontWeightArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFontWeightArgs: def __init__(__self__, *, @@ -41446,6 +55564,58 @@ def name(self, value: Optional[pulumi.Input['DashboardFontWeightName']]): pulumi.set(self, "name", value) +if not MYPY: + class DashboardForecastComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + custom_seasonality_value: NotRequired[pulumi.Input[float]] + """ + The custom seasonality value setup of a forecast computation. + """ + lower_boundary: NotRequired[pulumi.Input[float]] + """ + The lower boundary setup of a forecast computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + periods_backward: NotRequired[pulumi.Input[float]] + """ + The periods backward setup of a forecast computation. + """ + periods_forward: NotRequired[pulumi.Input[float]] + """ + The periods forward setup of a forecast computation. + """ + prediction_interval: NotRequired[pulumi.Input[float]] + """ + The prediction interval setup of a forecast computation. + """ + seasonality: NotRequired[pulumi.Input['DashboardForecastComputationSeasonality']] + """ + The seasonality setup of a forecast computation. Choose one of the following options: + + - `AUTOMATIC` + - `CUSTOM` : Checks the custom seasonality value. + """ + time: NotRequired[pulumi.Input['DashboardDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + upper_boundary: NotRequired[pulumi.Input[float]] + """ + The upper boundary setup of a forecast computation. + """ + value: NotRequired[pulumi.Input['DashboardMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + DashboardForecastComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardForecastComputationArgs: def __init__(__self__, *, @@ -41634,6 +55804,19 @@ def value(self, value: Optional[pulumi.Input['DashboardMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardForecastConfigurationArgsDict(TypedDict): + forecast_properties: NotRequired[pulumi.Input['DashboardTimeBasedForecastPropertiesArgsDict']] + """ + The forecast properties setup of a forecast in the line chart. + """ + scenario: NotRequired[pulumi.Input['DashboardForecastScenarioArgsDict']] + """ + The forecast scenario of a forecast in the line chart. + """ +elif False: + DashboardForecastConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardForecastConfigurationArgs: def __init__(__self__, *, @@ -41673,6 +55856,19 @@ def scenario(self, value: Optional[pulumi.Input['DashboardForecastScenarioArgs'] pulumi.set(self, "scenario", value) +if not MYPY: + class DashboardForecastScenarioArgsDict(TypedDict): + what_if_point_scenario: NotRequired[pulumi.Input['DashboardWhatIfPointScenarioArgsDict']] + """ + The what-if analysis forecast setup with the target date. + """ + what_if_range_scenario: NotRequired[pulumi.Input['DashboardWhatIfRangeScenarioArgsDict']] + """ + The what-if analysis forecast setup with the date range. + """ +elif False: + DashboardForecastScenarioArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardForecastScenarioArgs: def __init__(__self__, *, @@ -41712,6 +55908,23 @@ def what_if_range_scenario(self, value: Optional[pulumi.Input['DashboardWhatIfRa pulumi.set(self, "what_if_range_scenario", value) +if not MYPY: + class DashboardFormatConfigurationArgsDict(TypedDict): + date_time_format_configuration: NotRequired[pulumi.Input['DashboardDateTimeFormatConfigurationArgsDict']] + """ + Formatting configuration for `DateTime` fields. + """ + number_format_configuration: NotRequired[pulumi.Input['DashboardNumberFormatConfigurationArgsDict']] + """ + Formatting configuration for number fields. + """ + string_format_configuration: NotRequired[pulumi.Input['DashboardStringFormatConfigurationArgsDict']] + """ + Formatting configuration for string fields. + """ +elif False: + DashboardFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFormatConfigurationArgs: def __init__(__self__, *, @@ -41767,6 +55980,15 @@ def string_format_configuration(self, value: Optional[pulumi.Input['DashboardStr pulumi.set(self, "string_format_configuration", value) +if not MYPY: + class DashboardFreeFormLayoutCanvasSizeOptionsArgsDict(TypedDict): + screen_canvas_size_options: NotRequired[pulumi.Input['DashboardFreeFormLayoutScreenCanvasSizeOptionsArgsDict']] + """ + The options that determine the sizing of the canvas used in a free-form layout. + """ +elif False: + DashboardFreeFormLayoutCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFreeFormLayoutCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -41790,6 +56012,16 @@ def screen_canvas_size_options(self, value: Optional[pulumi.Input['DashboardFree pulumi.set(self, "screen_canvas_size_options", value) +if not MYPY: + class DashboardFreeFormLayoutConfigurationArgsDict(TypedDict): + elements: pulumi.Input[Sequence[pulumi.Input['DashboardFreeFormLayoutElementArgsDict']]] + """ + The elements that are included in a free-form layout. + """ + canvas_size_options: NotRequired[pulumi.Input['DashboardFreeFormLayoutCanvasSizeOptionsArgsDict']] +elif False: + DashboardFreeFormLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFreeFormLayoutConfigurationArgs: def __init__(__self__, *, @@ -41824,6 +56056,19 @@ def canvas_size_options(self, value: Optional[pulumi.Input['DashboardFreeFormLay pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class DashboardFreeFormLayoutElementBackgroundStyleArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The background color of a free-form layout element. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The background visibility of a free-form layout element. + """ +elif False: + DashboardFreeFormLayoutElementBackgroundStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFreeFormLayoutElementBackgroundStyleArgs: def __init__(__self__, *, @@ -41863,6 +56108,19 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardFreeFormLayoutElementBorderStyleArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The border color of a free-form layout element. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The border visibility of a free-form layout element. + """ +elif False: + DashboardFreeFormLayoutElementBorderStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFreeFormLayoutElementBorderStyleArgs: def __init__(__self__, *, @@ -41902,6 +56160,59 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardFreeFormLayoutElementArgsDict(TypedDict): + element_id: pulumi.Input[str] + """ + A unique identifier for an element within a free-form layout. + """ + element_type: pulumi.Input['DashboardLayoutElementType'] + """ + The type of element. + """ + height: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ + width: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ + x_axis_location: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ + y_axis_location: pulumi.Input[str] + """ + String based length that is composed of value and unit in px with Integer.MAX_VALUE as maximum value + """ + background_style: NotRequired[pulumi.Input['DashboardFreeFormLayoutElementBackgroundStyleArgsDict']] + """ + The background style configuration of a free-form layout element. + """ + border_style: NotRequired[pulumi.Input['DashboardFreeFormLayoutElementBorderStyleArgsDict']] + """ + The border style configuration of a free-form layout element. + """ + loading_animation: NotRequired[pulumi.Input['DashboardLoadingAnimationArgsDict']] + """ + The loading animation configuration of a free-form layout element. + """ + rendering_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardSheetElementRenderingRuleArgsDict']]]] + """ + The rendering rules that determine when an element should be displayed within a free-form layout. + """ + selected_border_style: NotRequired[pulumi.Input['DashboardFreeFormLayoutElementBorderStyleArgsDict']] + """ + The border style configuration of a free-form layout element. This border style is used when the element is selected. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of an element within a free-form layout. + """ +elif False: + DashboardFreeFormLayoutElementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFreeFormLayoutElementArgs: def __init__(__self__, *, @@ -42095,6 +56406,15 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardFreeFormLayoutScreenCanvasSizeOptionsArgsDict(TypedDict): + optimized_view_port_width: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ +elif False: + DashboardFreeFormLayoutScreenCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFreeFormLayoutScreenCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -42117,6 +56437,15 @@ def optimized_view_port_width(self, value: pulumi.Input[str]): pulumi.set(self, "optimized_view_port_width", value) +if not MYPY: + class DashboardFreeFormSectionLayoutConfigurationArgsDict(TypedDict): + elements: pulumi.Input[Sequence[pulumi.Input['DashboardFreeFormLayoutElementArgsDict']]] + """ + The elements that are included in the free-form layout. + """ +elif False: + DashboardFreeFormSectionLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFreeFormSectionLayoutConfigurationArgs: def __init__(__self__, *, @@ -42139,6 +56468,19 @@ def elements(self, value: pulumi.Input[Sequence[pulumi.Input['DashboardFreeFormL pulumi.set(self, "elements", value) +if not MYPY: + class DashboardFunnelChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The category field wells of a funnel chart. Values are grouped by category fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The value field wells of a funnel chart. Values are aggregated based on categories. + """ +elif False: + DashboardFunnelChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFunnelChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -42178,6 +56520,39 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardFunnelChartConfigurationArgsDict(TypedDict): + category_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options of the categories that are displayed in a `FunnelChartVisual` . + """ + data_label_options: NotRequired[pulumi.Input['DashboardFunnelChartDataLabelOptionsArgsDict']] + """ + The options that determine the presentation of the data labels. + """ + field_wells: NotRequired[pulumi.Input['DashboardFunnelChartFieldWellsArgsDict']] + """ + The field well configuration of a `FunnelChartVisual` . + """ + sort_configuration: NotRequired[pulumi.Input['DashboardFunnelChartSortConfigurationArgsDict']] + """ + The sort configuration of a `FunnelChartVisual` . + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The tooltip configuration of a `FunnelChartVisual` . + """ + value_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options for the values that are displayed in a `FunnelChartVisual` . + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + """ + The visual palette configuration of a `FunnelChartVisual` . + """ +elif False: + DashboardFunnelChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFunnelChartConfigurationArgs: def __init__(__self__, *, @@ -42297,6 +56672,41 @@ def visual_palette(self, value: Optional[pulumi.Input['DashboardVisualPaletteArg pulumi.set(self, "visual_palette", value) +if not MYPY: + class DashboardFunnelChartDataLabelOptionsArgsDict(TypedDict): + category_label_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the category labels within the data labels. + """ + label_color: NotRequired[pulumi.Input[str]] + """ + The color of the data label text. + """ + label_font_configuration: NotRequired[pulumi.Input['DashboardFontConfigurationArgsDict']] + """ + The font configuration for the data labels. + + Only the `FontSize` attribute of the font configuration is used for data labels. + """ + measure_data_label_style: NotRequired[pulumi.Input['DashboardFunnelChartMeasureDataLabelStyle']] + """ + Determines the style of the metric labels. + """ + measure_label_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the measure labels within the data labels. + """ + position: NotRequired[pulumi.Input['DashboardDataLabelPosition']] + """ + Determines the positioning of the data label relative to a section of the funnel. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility option that determines if data labels are displayed. + """ +elif False: + DashboardFunnelChartDataLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFunnelChartDataLabelOptionsArgs: def __init__(__self__, *, @@ -42420,6 +56830,15 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardFunnelChartFieldWellsArgsDict(TypedDict): + funnel_chart_aggregated_field_wells: NotRequired[pulumi.Input['DashboardFunnelChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a `FunnelChartVisual` . + """ +elif False: + DashboardFunnelChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFunnelChartFieldWellsArgs: def __init__(__self__, *, @@ -42443,6 +56862,19 @@ def funnel_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Dash pulumi.set(self, "funnel_chart_aggregated_field_wells", value) +if not MYPY: + class DashboardFunnelChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories displayed. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ +elif False: + DashboardFunnelChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFunnelChartSortConfigurationArgs: def __init__(__self__, *, @@ -42482,6 +56914,35 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dash pulumi.set(self, "category_sort", value) +if not MYPY: + class DashboardFunnelChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardFunnelChartConfigurationArgsDict']] + """ + The configuration of a `FunnelChartVisual` . + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardFunnelChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardFunnelChartVisualArgs: def __init__(__self__, *, @@ -42584,6 +57045,15 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardGaugeChartArcConditionalFormattingArgsDict(TypedDict): + foreground_color: NotRequired[pulumi.Input['DashboardConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the arc foreground color. + """ +elif False: + DashboardGaugeChartArcConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGaugeChartArcConditionalFormattingArgs: def __init__(__self__, *, @@ -42607,6 +57077,19 @@ def foreground_color(self, value: Optional[pulumi.Input['DashboardConditionalFor pulumi.set(self, "foreground_color", value) +if not MYPY: + class DashboardGaugeChartConditionalFormattingOptionArgsDict(TypedDict): + arc: NotRequired[pulumi.Input['DashboardGaugeChartArcConditionalFormattingArgsDict']] + """ + The options that determine the presentation of the arc of a `GaugeChartVisual` . + """ + primary_value: NotRequired[pulumi.Input['DashboardGaugeChartPrimaryValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the primary value of a `GaugeChartVisual` . + """ +elif False: + DashboardGaugeChartConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGaugeChartConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -42646,6 +57129,15 @@ def primary_value(self, value: Optional[pulumi.Input['DashboardGaugeChartPrimary pulumi.set(self, "primary_value", value) +if not MYPY: + class DashboardGaugeChartConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardGaugeChartConditionalFormattingOptionArgsDict']]]] + """ + Conditional formatting options of a `GaugeChartVisual` . + """ +elif False: + DashboardGaugeChartConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGaugeChartConditionalFormattingArgs: def __init__(__self__, *, @@ -42669,6 +57161,31 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class DashboardGaugeChartConfigurationArgsDict(TypedDict): + data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The data label configuration of a `GaugeChartVisual` . + """ + field_wells: NotRequired[pulumi.Input['DashboardGaugeChartFieldWellsArgsDict']] + """ + The field well configuration of a `GaugeChartVisual` . + """ + gauge_chart_options: NotRequired[pulumi.Input['DashboardGaugeChartOptionsArgsDict']] + """ + The options that determine the presentation of the `GaugeChartVisual` . + """ + tooltip_options: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The tooltip configuration of a `GaugeChartVisual` . + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + """ + The visual palette configuration of a `GaugeChartVisual` . + """ +elif False: + DashboardGaugeChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGaugeChartConfigurationArgs: def __init__(__self__, *, @@ -42756,6 +57273,19 @@ def visual_palette(self, value: Optional[pulumi.Input['DashboardVisualPaletteArg pulumi.set(self, "visual_palette", value) +if not MYPY: + class DashboardGaugeChartFieldWellsArgsDict(TypedDict): + target_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The target value field wells of a `GaugeChartVisual` . + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The value field wells of a `GaugeChartVisual` . + """ +elif False: + DashboardGaugeChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGaugeChartFieldWellsArgs: def __init__(__self__, *, @@ -42795,6 +57325,31 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardGaugeChartOptionsArgsDict(TypedDict): + arc: NotRequired[pulumi.Input['DashboardArcConfigurationArgsDict']] + """ + The arc configuration of a `GaugeChartVisual` . + """ + arc_axis: NotRequired[pulumi.Input['DashboardArcAxisConfigurationArgsDict']] + """ + The arc axis configuration of a `GaugeChartVisual` . + """ + comparison: NotRequired[pulumi.Input['DashboardComparisonConfigurationArgsDict']] + """ + The comparison configuration of a `GaugeChartVisual` . + """ + primary_value_display_type: NotRequired[pulumi.Input['DashboardPrimaryValueDisplayType']] + """ + The options that determine the primary value display type. + """ + primary_value_font_configuration: NotRequired[pulumi.Input['DashboardFontConfigurationArgsDict']] + """ + The options that determine the primary value font configuration. + """ +elif False: + DashboardGaugeChartOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGaugeChartOptionsArgs: def __init__(__self__, *, @@ -42882,6 +57437,19 @@ def primary_value_font_configuration(self, value: Optional[pulumi.Input['Dashboa pulumi.set(self, "primary_value_font_configuration", value) +if not MYPY: + class DashboardGaugeChartPrimaryValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['DashboardConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the primary value icon. + """ + text_color: NotRequired[pulumi.Input['DashboardConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the primary value text color. + """ +elif False: + DashboardGaugeChartPrimaryValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGaugeChartPrimaryValueConditionalFormattingArgs: def __init__(__self__, *, @@ -42921,6 +57489,35 @@ def text_color(self, value: Optional[pulumi.Input['DashboardConditionalFormattin pulumi.set(self, "text_color", value) +if not MYPY: + class DashboardGaugeChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardGaugeChartConfigurationArgsDict']] + """ + The configuration of a `GaugeChartVisual` . + """ + conditional_formatting: NotRequired[pulumi.Input['DashboardGaugeChartConditionalFormattingArgsDict']] + """ + The conditional formatting of a `GaugeChartVisual` . + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardGaugeChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGaugeChartVisualArgs: def __init__(__self__, *, @@ -43023,6 +57620,27 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardGeospatialCoordinateBoundsArgsDict(TypedDict): + east: pulumi.Input[float] + """ + The longitude of the east bound of the geospatial coordinate bounds. + """ + north: pulumi.Input[float] + """ + The latitude of the north bound of the geospatial coordinate bounds. + """ + south: pulumi.Input[float] + """ + The latitude of the south bound of the geospatial coordinate bounds. + """ + west: pulumi.Input[float] + """ + The longitude of the west bound of the geospatial coordinate bounds. + """ +elif False: + DashboardGeospatialCoordinateBoundsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGeospatialCoordinateBoundsArgs: def __init__(__self__, *, @@ -43090,6 +57708,15 @@ def west(self, value: pulumi.Input[float]): pulumi.set(self, "west", value) +if not MYPY: + class DashboardGeospatialHeatmapColorScaleArgsDict(TypedDict): + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardGeospatialHeatmapDataColorArgsDict']]]] + """ + The list of colors to be used in heatmap point style. + """ +elif False: + DashboardGeospatialHeatmapColorScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGeospatialHeatmapColorScaleArgs: def __init__(__self__, *, @@ -43113,6 +57740,15 @@ def colors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardGe pulumi.set(self, "colors", value) +if not MYPY: + class DashboardGeospatialHeatmapConfigurationArgsDict(TypedDict): + heatmap_color: NotRequired[pulumi.Input['DashboardGeospatialHeatmapColorScaleArgsDict']] + """ + The color scale specification for the heatmap point style. + """ +elif False: + DashboardGeospatialHeatmapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGeospatialHeatmapConfigurationArgs: def __init__(__self__, *, @@ -43136,6 +57772,15 @@ def heatmap_color(self, value: Optional[pulumi.Input['DashboardGeospatialHeatmap pulumi.set(self, "heatmap_color", value) +if not MYPY: + class DashboardGeospatialHeatmapDataColorArgsDict(TypedDict): + color: pulumi.Input[str] + """ + The hex color to be used in the heatmap point style. + """ +elif False: + DashboardGeospatialHeatmapDataColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGeospatialHeatmapDataColorArgs: def __init__(__self__, *, @@ -43158,6 +57803,23 @@ def color(self, value: pulumi.Input[str]): pulumi.set(self, "color", value) +if not MYPY: + class DashboardGeospatialMapAggregatedFieldWellsArgsDict(TypedDict): + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The color field wells of a geospatial map. + """ + geospatial: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The geospatial field wells of a geospatial map. Values are grouped by geospatial fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The size field wells of a geospatial map. Values are aggregated based on geospatial fields. + """ +elif False: + DashboardGeospatialMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGeospatialMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -43213,6 +57875,36 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardGeospatialMapConfigurationArgsDict(TypedDict): + field_wells: NotRequired[pulumi.Input['DashboardGeospatialMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + map_style_options: NotRequired[pulumi.Input['DashboardGeospatialMapStyleOptionsArgsDict']] + """ + The map style options of the geospatial map. + """ + point_style_options: NotRequired[pulumi.Input['DashboardGeospatialPointStyleOptionsArgsDict']] + """ + The point style options of the geospatial map. + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + window_options: NotRequired[pulumi.Input['DashboardGeospatialWindowOptionsArgsDict']] + """ + The window options of the geospatial map. + """ +elif False: + DashboardGeospatialMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGeospatialMapConfigurationArgs: def __init__(__self__, *, @@ -43328,6 +58020,15 @@ def window_options(self, value: Optional[pulumi.Input['DashboardGeospatialWindow pulumi.set(self, "window_options", value) +if not MYPY: + class DashboardGeospatialMapFieldWellsArgsDict(TypedDict): + geospatial_map_aggregated_field_wells: NotRequired[pulumi.Input['DashboardGeospatialMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field well for a geospatial map. + """ +elif False: + DashboardGeospatialMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGeospatialMapFieldWellsArgs: def __init__(__self__, *, @@ -43351,6 +58052,15 @@ def geospatial_map_aggregated_field_wells(self, value: Optional[pulumi.Input['Da pulumi.set(self, "geospatial_map_aggregated_field_wells", value) +if not MYPY: + class DashboardGeospatialMapStyleOptionsArgsDict(TypedDict): + base_map_style: NotRequired[pulumi.Input['DashboardBaseMapStyleType']] + """ + The base map style of the geospatial map. + """ +elif False: + DashboardGeospatialMapStyleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGeospatialMapStyleOptionsArgs: def __init__(__self__, *, @@ -43374,6 +58084,35 @@ def base_map_style(self, value: Optional[pulumi.Input['DashboardBaseMapStyleType pulumi.set(self, "base_map_style", value) +if not MYPY: + class DashboardGeospatialMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardGeospatialMapConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardGeospatialMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGeospatialMapVisualArgs: def __init__(__self__, *, @@ -43476,6 +58215,23 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardGeospatialPointStyleOptionsArgsDict(TypedDict): + cluster_marker_configuration: NotRequired[pulumi.Input['DashboardClusterMarkerConfigurationArgsDict']] + """ + The cluster marker configuration of the geospatial point style. + """ + heatmap_configuration: NotRequired[pulumi.Input['DashboardGeospatialHeatmapConfigurationArgsDict']] + """ + The heatmap configuration of the geospatial point style. + """ + selected_point_style: NotRequired[pulumi.Input['DashboardGeospatialSelectedPointStyle']] + """ + The selected point styles (point, cluster) of the geospatial map. + """ +elif False: + DashboardGeospatialPointStyleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGeospatialPointStyleOptionsArgs: def __init__(__self__, *, @@ -43531,6 +58287,19 @@ def selected_point_style(self, value: Optional[pulumi.Input['DashboardGeospatial pulumi.set(self, "selected_point_style", value) +if not MYPY: + class DashboardGeospatialWindowOptionsArgsDict(TypedDict): + bounds: NotRequired[pulumi.Input['DashboardGeospatialCoordinateBoundsArgsDict']] + """ + The bounds options (north, south, west, east) of the geospatial window options. + """ + map_zoom_mode: NotRequired[pulumi.Input['DashboardMapZoomMode']] + """ + The map zoom modes (manual, auto) of the geospatial window options. + """ +elif False: + DashboardGeospatialWindowOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGeospatialWindowOptionsArgs: def __init__(__self__, *, @@ -43570,6 +58339,19 @@ def map_zoom_mode(self, value: Optional[pulumi.Input['DashboardMapZoomMode']]): pulumi.set(self, "map_zoom_mode", value) +if not MYPY: + class DashboardGlobalTableBorderOptionsArgsDict(TypedDict): + side_specific_border: NotRequired[pulumi.Input['DashboardTableSideBorderOptionsArgsDict']] + """ + Determines the options for side specific border. + """ + uniform_border: NotRequired[pulumi.Input['DashboardTableBorderOptionsArgsDict']] + """ + Determines the options for uniform border. + """ +elif False: + DashboardGlobalTableBorderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGlobalTableBorderOptionsArgs: def __init__(__self__, *, @@ -43609,6 +58391,15 @@ def uniform_border(self, value: Optional[pulumi.Input['DashboardTableBorderOptio pulumi.set(self, "uniform_border", value) +if not MYPY: + class DashboardGradientColorArgsDict(TypedDict): + stops: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardGradientStopArgsDict']]]] + """ + The list of gradient color stops. + """ +elif False: + DashboardGradientColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGradientColorArgs: def __init__(__self__, *, @@ -43632,6 +58423,23 @@ def stops(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardGra pulumi.set(self, "stops", value) +if not MYPY: + class DashboardGradientStopArgsDict(TypedDict): + gradient_offset: pulumi.Input[float] + """ + Determines gradient offset value. + """ + color: NotRequired[pulumi.Input[str]] + """ + Determines the color. + """ + data_value: NotRequired[pulumi.Input[float]] + """ + Determines the data value. + """ +elif False: + DashboardGradientStopArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGradientStopArgs: def __init__(__self__, *, @@ -43686,6 +58494,15 @@ def data_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "data_value", value) +if not MYPY: + class DashboardGridLayoutCanvasSizeOptionsArgsDict(TypedDict): + screen_canvas_size_options: NotRequired[pulumi.Input['DashboardGridLayoutScreenCanvasSizeOptionsArgsDict']] + """ + The options that determine the sizing of the canvas used in a grid layout. + """ +elif False: + DashboardGridLayoutCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGridLayoutCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -43709,6 +58526,16 @@ def screen_canvas_size_options(self, value: Optional[pulumi.Input['DashboardGrid pulumi.set(self, "screen_canvas_size_options", value) +if not MYPY: + class DashboardGridLayoutConfigurationArgsDict(TypedDict): + elements: pulumi.Input[Sequence[pulumi.Input['DashboardGridLayoutElementArgsDict']]] + """ + The elements that are included in a grid layout. + """ + canvas_size_options: NotRequired[pulumi.Input['DashboardGridLayoutCanvasSizeOptionsArgsDict']] +elif False: + DashboardGridLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGridLayoutConfigurationArgs: def __init__(__self__, *, @@ -43743,6 +58570,35 @@ def canvas_size_options(self, value: Optional[pulumi.Input['DashboardGridLayoutC pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class DashboardGridLayoutElementArgsDict(TypedDict): + column_span: pulumi.Input[float] + """ + The width of a grid element expressed as a number of grid columns. + """ + element_id: pulumi.Input[str] + """ + A unique identifier for an element within a grid layout. + """ + element_type: pulumi.Input['DashboardLayoutElementType'] + """ + The type of element. + """ + row_span: pulumi.Input[float] + """ + The height of a grid element expressed as a number of grid rows. + """ + column_index: NotRequired[pulumi.Input[float]] + """ + The column index for the upper left corner of an element. + """ + row_index: NotRequired[pulumi.Input[float]] + """ + The row index for the upper left corner of an element. + """ +elif False: + DashboardGridLayoutElementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGridLayoutElementArgs: def __init__(__self__, *, @@ -43842,6 +58698,22 @@ def row_index(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "row_index", value) +if not MYPY: + class DashboardGridLayoutScreenCanvasSizeOptionsArgsDict(TypedDict): + resize_option: pulumi.Input['DashboardResizeOption'] + """ + This value determines the layout behavior when the viewport is resized. + + - `FIXED` : A fixed width will be used when optimizing the layout. In the Amazon QuickSight console, this option is called `Classic` . + - `RESPONSIVE` : The width of the canvas will be responsive and optimized to the view port. In the Amazon QuickSight console, this option is called `Tiled` . + """ + optimized_view_port_width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + DashboardGridLayoutScreenCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGridLayoutScreenCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -43886,6 +58758,31 @@ def optimized_view_port_width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "optimized_view_port_width", value) +if not MYPY: + class DashboardGrowthRateComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + period_size: NotRequired[pulumi.Input[float]] + """ + The period size setup of a growth rate computation. + """ + time: NotRequired[pulumi.Input['DashboardDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['DashboardMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + DashboardGrowthRateComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardGrowthRateComputationArgs: def __init__(__self__, *, @@ -43972,6 +58869,23 @@ def value(self, value: Optional[pulumi.Input['DashboardMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardHeaderFooterSectionConfigurationArgsDict(TypedDict): + layout: pulumi.Input['DashboardSectionLayoutConfigurationArgsDict'] + """ + The layout configuration of the header or footer section. + """ + section_id: pulumi.Input[str] + """ + The unique identifier of the header or footer section. + """ + style: NotRequired[pulumi.Input['DashboardSectionStyleArgsDict']] + """ + The style options of a header or footer section. + """ +elif False: + DashboardHeaderFooterSectionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardHeaderFooterSectionConfigurationArgs: def __init__(__self__, *, @@ -44025,6 +58939,23 @@ def style(self, value: Optional[pulumi.Input['DashboardSectionStyleArgs']]): pulumi.set(self, "style", value) +if not MYPY: + class DashboardHeatMapAggregatedFieldWellsArgsDict(TypedDict): + columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The columns field well of a heat map. + """ + rows: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The rows field well of a heat map. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The values field well of a heat map. + """ +elif False: + DashboardHeatMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardHeatMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -44080,6 +59011,43 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardHeatMapConfigurationArgsDict(TypedDict): + color_scale: NotRequired[pulumi.Input['DashboardColorScaleArgsDict']] + """ + The color options (gradient color, point of divergence) in a heat map. + """ + column_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options of the column that is displayed in a heat map. + """ + data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['DashboardHeatMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + row_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options of the row that is displayed in a `heat map` . + """ + sort_configuration: NotRequired[pulumi.Input['DashboardHeatMapSortConfigurationArgsDict']] + """ + The sort configuration of a heat map. + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ +elif False: + DashboardHeatMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardHeatMapConfigurationArgs: def __init__(__self__, *, @@ -44215,6 +59183,15 @@ def tooltip(self, value: Optional[pulumi.Input['DashboardTooltipOptionsArgs']]): pulumi.set(self, "tooltip", value) +if not MYPY: + class DashboardHeatMapFieldWellsArgsDict(TypedDict): + heat_map_aggregated_field_wells: NotRequired[pulumi.Input['DashboardHeatMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a heat map. + """ +elif False: + DashboardHeatMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardHeatMapFieldWellsArgs: def __init__(__self__, *, @@ -44238,6 +59215,27 @@ def heat_map_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashboar pulumi.set(self, "heat_map_aggregated_field_wells", value) +if not MYPY: + class DashboardHeatMapSortConfigurationArgsDict(TypedDict): + heat_map_column_items_limit_configuration: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of columns that are displayed in a heat map. + """ + heat_map_column_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The column sort configuration for heat map for columns that aren't a part of a field well. + """ + heat_map_row_items_limit_configuration: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of rows that are displayed in a heat map. + """ + heat_map_row_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The field sort configuration of the rows fields. + """ +elif False: + DashboardHeatMapSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardHeatMapSortConfigurationArgs: def __init__(__self__, *, @@ -44309,6 +59307,35 @@ def heat_map_row_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "heat_map_row_sort", value) +if not MYPY: + class DashboardHeatMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardHeatMapConfigurationArgsDict']] + """ + The configuration of a heat map. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardHeatMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardHeatMapVisualArgs: def __init__(__self__, *, @@ -44411,6 +59438,15 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardHistogramAggregatedFieldWellsArgsDict(TypedDict): + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The value field wells of a histogram. Values are aggregated by `COUNT` or `DISTINCT_COUNT` . + """ +elif False: + DashboardHistogramAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardHistogramAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -44434,6 +59470,27 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardHistogramBinOptionsArgsDict(TypedDict): + bin_count: NotRequired[pulumi.Input['DashboardBinCountOptionsArgsDict']] + """ + The options that determine the bin count of a histogram. + """ + bin_width: NotRequired[pulumi.Input['DashboardBinWidthOptionsArgsDict']] + """ + The options that determine the bin width of a histogram. + """ + selected_bin_type: NotRequired[pulumi.Input['DashboardHistogramBinType']] + """ + The options that determine the selected bin type. + """ + start_value: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin start value. + """ +elif False: + DashboardHistogramBinOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardHistogramBinOptionsArgs: def __init__(__self__, *, @@ -44505,6 +59562,43 @@ def start_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "start_value", value) +if not MYPY: + class DashboardHistogramConfigurationArgsDict(TypedDict): + bin_options: NotRequired[pulumi.Input['DashboardHistogramBinOptionsArgsDict']] + """ + The options that determine the presentation of histogram bins. + """ + data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The data label configuration of a histogram. + """ + field_wells: NotRequired[pulumi.Input['DashboardHistogramFieldWellsArgsDict']] + """ + The field well configuration of a histogram. + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The tooltip configuration of a histogram. + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + """ + The visual palette configuration of a histogram. + """ + x_axis_display_options: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis. + """ + x_axis_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis label. + """ + y_axis_display_options: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis. + """ +elif False: + DashboardHistogramConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardHistogramConfigurationArgs: def __init__(__self__, *, @@ -44640,6 +59734,15 @@ def y_axis_display_options(self, value: Optional[pulumi.Input['DashboardAxisDisp pulumi.set(self, "y_axis_display_options", value) +if not MYPY: + class DashboardHistogramFieldWellsArgsDict(TypedDict): + histogram_aggregated_field_wells: NotRequired[pulumi.Input['DashboardHistogramAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a histogram. + """ +elif False: + DashboardHistogramFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardHistogramFieldWellsArgs: def __init__(__self__, *, @@ -44663,6 +59766,31 @@ def histogram_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashboa pulumi.set(self, "histogram_aggregated_field_wells", value) +if not MYPY: + class DashboardHistogramVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardHistogramConfigurationArgsDict']] + """ + The configuration for a `HistogramVisual` . + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardHistogramVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardHistogramVisualArgs: def __init__(__self__, *, @@ -44749,6 +59877,15 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardInnerFilterArgsDict(TypedDict): + category_inner_filter: NotRequired[pulumi.Input['DashboardCategoryInnerFilterArgsDict']] + """ + A `CategoryInnerFilter` filters text values for the `NestedFilter` . + """ +elif False: + DashboardInnerFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardInnerFilterArgs: def __init__(__self__, *, @@ -44772,6 +59909,19 @@ def category_inner_filter(self, value: Optional[pulumi.Input['DashboardCategoryI pulumi.set(self, "category_inner_filter", value) +if not MYPY: + class DashboardInsightConfigurationArgsDict(TypedDict): + computations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardComputationArgsDict']]]] + """ + The computations configurations of the insight visual + """ + custom_narrative: NotRequired[pulumi.Input['DashboardCustomNarrativeOptionsArgsDict']] + """ + The custom narrative of the insight visual. + """ +elif False: + DashboardInsightConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardInsightConfigurationArgs: def __init__(__self__, *, @@ -44811,6 +59961,35 @@ def custom_narrative(self, value: Optional[pulumi.Input['DashboardCustomNarrativ pulumi.set(self, "custom_narrative", value) +if not MYPY: + class DashboardInsightVisualArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The dataset that is used in the insight visual. + """ + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + insight_configuration: NotRequired[pulumi.Input['DashboardInsightConfigurationArgsDict']] + """ + The configuration of an insight visual. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardInsightVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardInsightVisualArgs: def __init__(__self__, *, @@ -44912,6 +60091,19 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardIntegerDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['DashboardDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `IntegerDefaultValues` . Different defaults are displayed according to users, groups, and values mapping. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + The static values of the `IntegerDefaultValues` . + """ +elif False: + DashboardIntegerDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardIntegerDefaultValuesArgs: def __init__(__self__, *, @@ -44951,6 +60143,28 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[float pulumi.set(self, "static_values", value) +if not MYPY: + class DashboardIntegerParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + parameter_value_type: pulumi.Input['DashboardParameterValueType'] + """ + The value type determines whether the parameter is a single-value or multi-value parameter. + """ + default_values: NotRequired[pulumi.Input['DashboardIntegerDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMappedDataSetParameterArgsDict']]]] + value_when_unset: NotRequired[pulumi.Input['DashboardIntegerValueWhenUnsetConfigurationArgsDict']] + """ + A parameter declaration for the `Integer` data type. + """ +elif False: + DashboardIntegerParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardIntegerParameterDeclarationArgs: def __init__(__self__, *, @@ -45032,6 +60246,22 @@ def value_when_unset(self, value: Optional[pulumi.Input['DashboardIntegerValueWh pulumi.set(self, "value_when_unset", value) +if not MYPY: + class DashboardIntegerParameterArgsDict(TypedDict): + """ +

An integer parameter.

+ """ + name: pulumi.Input[str] + """ +

The name of the integer parameter.

+ """ + values: pulumi.Input[Sequence[pulumi.Input[float]]] + """ +

The values for the integer parameter.

+ """ +elif False: + DashboardIntegerParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardIntegerParameterArgs: def __init__(__self__, *, @@ -45070,6 +60300,22 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[float]]]): pulumi.set(self, "values", value) +if not MYPY: + class DashboardIntegerValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[float]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['DashboardValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + DashboardIntegerValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardIntegerValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -45115,6 +60361,22 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['DashboardValueWh pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class DashboardItemsLimitConfigurationArgsDict(TypedDict): + items_limit: NotRequired[pulumi.Input[float]] + """ + The limit on how many items of a field are showed in the chart. For example, the number of slices that are displayed in a pie chart. + """ + other_categories: NotRequired[pulumi.Input['DashboardOtherCategories']] + """ + The `Show other` of an axis in the chart. Choose one of the following options: + + - `INCLUDE` + - `EXCLUDE` + """ +elif False: + DashboardItemsLimitConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardItemsLimitConfigurationArgs: def __init__(__self__, *, @@ -45160,6 +60422,19 @@ def other_categories(self, value: Optional[pulumi.Input['DashboardOtherCategorie pulumi.set(self, "other_categories", value) +if not MYPY: + class DashboardKpiActualValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['DashboardConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the actual value's icon. + """ + text_color: NotRequired[pulumi.Input['DashboardConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the actual value's text color. + """ +elif False: + DashboardKpiActualValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiActualValueConditionalFormattingArgs: def __init__(__self__, *, @@ -45199,6 +60474,19 @@ def text_color(self, value: Optional[pulumi.Input['DashboardConditionalFormattin pulumi.set(self, "text_color", value) +if not MYPY: + class DashboardKpiComparisonValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['DashboardConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the comparison value's icon. + """ + text_color: NotRequired[pulumi.Input['DashboardConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the comparison value's text color. + """ +elif False: + DashboardKpiComparisonValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiComparisonValueConditionalFormattingArgs: def __init__(__self__, *, @@ -45238,6 +60526,27 @@ def text_color(self, value: Optional[pulumi.Input['DashboardConditionalFormattin pulumi.set(self, "text_color", value) +if not MYPY: + class DashboardKpiConditionalFormattingOptionArgsDict(TypedDict): + actual_value: NotRequired[pulumi.Input['DashboardKpiActualValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the actual value of a KPI visual. + """ + comparison_value: NotRequired[pulumi.Input['DashboardKpiComparisonValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the comparison value of a KPI visual. + """ + primary_value: NotRequired[pulumi.Input['DashboardKpiPrimaryValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the primary value of a KPI visual. + """ + progress_bar: NotRequired[pulumi.Input['DashboardKpiProgressBarConditionalFormattingArgsDict']] + """ + The conditional formatting for the progress bar of a KPI visual. + """ +elif False: + DashboardKpiConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -45309,6 +60618,15 @@ def progress_bar(self, value: Optional[pulumi.Input['DashboardKpiProgressBarCond pulumi.set(self, "progress_bar", value) +if not MYPY: + class DashboardKpiConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardKpiConditionalFormattingOptionArgsDict']]]] + """ + The conditional formatting options of a KPI visual. + """ +elif False: + DashboardKpiConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiConditionalFormattingArgs: def __init__(__self__, *, @@ -45332,6 +60650,23 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class DashboardKpiConfigurationArgsDict(TypedDict): + field_wells: NotRequired[pulumi.Input['DashboardKpiFieldWellsArgsDict']] + """ + The field well configuration of a KPI visual. + """ + kpi_options: NotRequired[pulumi.Input['DashboardKpiOptionsArgsDict']] + """ + The options that determine the presentation of a KPI visual. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardKpiSortConfigurationArgsDict']] + """ + The sort configuration of a KPI visual. + """ +elif False: + DashboardKpiConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiConfigurationArgs: def __init__(__self__, *, @@ -45387,6 +60722,23 @@ def sort_configuration(self, value: Optional[pulumi.Input['DashboardKpiSortConfi pulumi.set(self, "sort_configuration", value) +if not MYPY: + class DashboardKpiFieldWellsArgsDict(TypedDict): + target_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The target value field wells of a KPI visual. + """ + trend_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The trend group field wells of a KPI visual. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The value field wells of a KPI visual. + """ +elif False: + DashboardKpiFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiFieldWellsArgs: def __init__(__self__, *, @@ -45442,6 +60794,47 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardKpiOptionsArgsDict(TypedDict): + comparison: NotRequired[pulumi.Input['DashboardComparisonConfigurationArgsDict']] + """ + The comparison configuration of a KPI visual. + """ + primary_value_display_type: NotRequired[pulumi.Input['DashboardPrimaryValueDisplayType']] + """ + The options that determine the primary value display type. + """ + primary_value_font_configuration: NotRequired[pulumi.Input['DashboardFontConfigurationArgsDict']] + """ + The options that determine the primary value font configuration. + """ + progress_bar: NotRequired[pulumi.Input['DashboardProgressBarOptionsArgsDict']] + """ + The options that determine the presentation of the progress bar of a KPI visual. + """ + secondary_value: NotRequired[pulumi.Input['DashboardSecondaryValueOptionsArgsDict']] + """ + The options that determine the presentation of the secondary value of a KPI visual. + """ + secondary_value_font_configuration: NotRequired[pulumi.Input['DashboardFontConfigurationArgsDict']] + """ + The options that determine the secondary value font configuration. + """ + sparkline: NotRequired[pulumi.Input['DashboardKpiSparklineOptionsArgsDict']] + """ + The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual. + """ + trend_arrows: NotRequired[pulumi.Input['DashboardTrendArrowOptionsArgsDict']] + """ + The options that determine the presentation of trend arrows in a KPI visual. + """ + visual_layout_options: NotRequired[pulumi.Input['DashboardKpiVisualLayoutOptionsArgsDict']] + """ + The options that determine the layout a KPI visual. + """ +elif False: + DashboardKpiOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiOptionsArgs: def __init__(__self__, *, @@ -45593,6 +60986,19 @@ def visual_layout_options(self, value: Optional[pulumi.Input['DashboardKpiVisual pulumi.set(self, "visual_layout_options", value) +if not MYPY: + class DashboardKpiPrimaryValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['DashboardConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the primary value's icon. + """ + text_color: NotRequired[pulumi.Input['DashboardConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the primary value's text color. + """ +elif False: + DashboardKpiPrimaryValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiPrimaryValueConditionalFormattingArgs: def __init__(__self__, *, @@ -45632,6 +61038,15 @@ def text_color(self, value: Optional[pulumi.Input['DashboardConditionalFormattin pulumi.set(self, "text_color", value) +if not MYPY: + class DashboardKpiProgressBarConditionalFormattingArgsDict(TypedDict): + foreground_color: NotRequired[pulumi.Input['DashboardConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the progress bar's foreground color. + """ +elif False: + DashboardKpiProgressBarConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiProgressBarConditionalFormattingArgs: def __init__(__self__, *, @@ -45655,6 +61070,15 @@ def foreground_color(self, value: Optional[pulumi.Input['DashboardConditionalFor pulumi.set(self, "foreground_color", value) +if not MYPY: + class DashboardKpiSortConfigurationArgsDict(TypedDict): + trend_group_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the trend group fields. + """ +elif False: + DashboardKpiSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiSortConfigurationArgs: def __init__(__self__, *, @@ -45678,6 +61102,27 @@ def trend_group_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['D pulumi.set(self, "trend_group_sort", value) +if not MYPY: + class DashboardKpiSparklineOptionsArgsDict(TypedDict): + type: pulumi.Input['DashboardKpiSparklineType'] + """ + The type of the sparkline. + """ + color: NotRequired[pulumi.Input[str]] + """ + The color of the sparkline. + """ + tooltip_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The tooltip visibility of the sparkline. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the sparkline. + """ +elif False: + DashboardKpiSparklineOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiSparklineOptionsArgs: def __init__(__self__, *, @@ -45748,6 +61193,15 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardKpiVisualLayoutOptionsArgsDict(TypedDict): + standard_layout: NotRequired[pulumi.Input['DashboardKpiVisualStandardLayoutArgsDict']] + """ + The standard layout of the KPI visual. + """ +elif False: + DashboardKpiVisualLayoutOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiVisualLayoutOptionsArgs: def __init__(__self__, *, @@ -45771,6 +61225,15 @@ def standard_layout(self, value: Optional[pulumi.Input['DashboardKpiVisualStanda pulumi.set(self, "standard_layout", value) +if not MYPY: + class DashboardKpiVisualStandardLayoutArgsDict(TypedDict): + type: pulumi.Input['DashboardKpiVisualStandardLayoutType'] + """ + The standard layout type. + """ +elif False: + DashboardKpiVisualStandardLayoutArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiVisualStandardLayoutArgs: def __init__(__self__, *, @@ -45793,6 +61256,39 @@ def type(self, value: pulumi.Input['DashboardKpiVisualStandardLayoutType']): pulumi.set(self, "type", value) +if not MYPY: + class DashboardKpiVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardKpiConfigurationArgsDict']] + """ + The configuration of a KPI visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + conditional_formatting: NotRequired[pulumi.Input['DashboardKpiConditionalFormattingArgsDict']] + """ + The conditional formatting of a KPI visual. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardKpiVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardKpiVisualArgs: def __init__(__self__, *, @@ -45911,6 +61407,23 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardLabelOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The text for the label. + """ + font_configuration: NotRequired[pulumi.Input['DashboardFontConfigurationArgsDict']] + """ + The font configuration of the label. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines whether or not the label is visible. + """ +elif False: + DashboardLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLabelOptionsArgs: def __init__(__self__, *, @@ -45966,6 +61479,23 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardLayoutConfigurationArgsDict(TypedDict): + free_form_layout: NotRequired[pulumi.Input['DashboardFreeFormLayoutConfigurationArgsDict']] + """ + A free-form is optimized for a fixed width and has more control over the exact placement of layout elements. + """ + grid_layout: NotRequired[pulumi.Input['DashboardGridLayoutConfigurationArgsDict']] + """ + A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: `FIXED` or `RESPONSIVE` . + """ + section_based_layout: NotRequired[pulumi.Input['DashboardSectionBasedLayoutConfigurationArgsDict']] + """ + A section based layout organizes visuals into multiple sections and has customized header, footer and page break. + """ +elif False: + DashboardLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLayoutConfigurationArgs: def __init__(__self__, *, @@ -46021,6 +61551,15 @@ def section_based_layout(self, value: Optional[pulumi.Input['DashboardSectionBas pulumi.set(self, "section_based_layout", value) +if not MYPY: + class DashboardLayoutArgsDict(TypedDict): + configuration: pulumi.Input['DashboardLayoutConfigurationArgsDict'] + """ + The configuration that determines what the type of layout for a sheet. + """ +elif False: + DashboardLayoutArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLayoutArgs: def __init__(__self__, *, @@ -46043,6 +61582,36 @@ def configuration(self, value: pulumi.Input['DashboardLayoutConfigurationArgs']) pulumi.set(self, "configuration", value) +if not MYPY: + class DashboardLegendOptionsArgsDict(TypedDict): + height: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + position: NotRequired[pulumi.Input['DashboardLegendPosition']] + """ + The positions for the legend. Choose one of the following options: + + - `AUTO` + - `RIGHT` + - `BOTTOM` + - `LEFT` + """ + title: NotRequired[pulumi.Input['DashboardLabelOptionsArgsDict']] + """ + The custom title for the legend. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines whether or not the legend is visible. + """ + width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + DashboardLegendOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLegendOptionsArgs: def __init__(__self__, *, @@ -46140,6 +61709,27 @@ def width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "width", value) +if not MYPY: + class DashboardLineChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The category field wells of a line chart. Values are grouped by category fields. + """ + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The color field wells of a line chart. Values are grouped by category fields. + """ + small_multiples: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The small multiples field well of a line chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The value field wells of a line chart. Values are aggregated based on categories. + """ +elif False: + DashboardLineChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLineChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -46211,6 +61801,88 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardLineChartConfigurationArgsDict(TypedDict): + contribution_analysis_defaults: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardContributionAnalysisDefaultArgsDict']]]] + """ + The default configuration of a line chart's contribution analysis. + """ + data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The data label configuration of a line chart. + """ + default_series_settings: NotRequired[pulumi.Input['DashboardLineChartDefaultSeriesSettingsArgsDict']] + """ + The options that determine the default presentation of all line series in `LineChartVisual` . + """ + field_wells: NotRequired[pulumi.Input['DashboardLineChartFieldWellsArgsDict']] + """ + The field well configuration of a line chart. + """ + forecast_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardForecastConfigurationArgsDict']]]] + """ + The forecast configuration of a line chart. + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + """ + The legend configuration of a line chart. + """ + primary_y_axis_display_options: NotRequired[pulumi.Input['DashboardLineSeriesAxisDisplayOptionsArgsDict']] + """ + The series axis configuration of a line chart. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis label. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardReferenceLineArgsDict']]]] + """ + The reference lines configuration of a line chart. + """ + secondary_y_axis_display_options: NotRequired[pulumi.Input['DashboardLineSeriesAxisDisplayOptionsArgsDict']] + """ + The series axis configuration of a line chart. + """ + secondary_y_axis_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the secondary y-axis label. + """ + series: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardSeriesItemArgsDict']]]] + """ + The series item configuration of a line chart. + """ + single_axis_options: NotRequired[pulumi.Input['DashboardSingleAxisOptionsArgsDict']] + small_multiples_options: NotRequired[pulumi.Input['DashboardSmallMultiplesOptionsArgsDict']] + """ + The small multiples setup for the visual. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardLineChartSortConfigurationArgsDict']] + """ + The sort configuration of a line chart. + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The tooltip configuration of a line chart. + """ + type: NotRequired[pulumi.Input['DashboardLineChartType']] + """ + Determines the type of the line chart. + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + """ + The visual palette configuration of a line chart. + """ + x_axis_display_options: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis. + """ + x_axis_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis label. + """ +elif False: + DashboardLineChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLineChartConfigurationArgs: def __init__(__self__, *, @@ -46534,6 +62206,23 @@ def x_axis_label_options(self, value: Optional[pulumi.Input['DashboardChartAxisL pulumi.set(self, "x_axis_label_options", value) +if not MYPY: + class DashboardLineChartDefaultSeriesSettingsArgsDict(TypedDict): + axis_binding: NotRequired[pulumi.Input['DashboardAxisBinding']] + """ + The axis to which you are binding all line series to. + """ + line_style_settings: NotRequired[pulumi.Input['DashboardLineChartLineStyleSettingsArgsDict']] + """ + Line styles options for all line series in the visual. + """ + marker_style_settings: NotRequired[pulumi.Input['DashboardLineChartMarkerStyleSettingsArgsDict']] + """ + Marker styles options for all line series in the visual. + """ +elif False: + DashboardLineChartDefaultSeriesSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLineChartDefaultSeriesSettingsArgs: def __init__(__self__, *, @@ -46589,6 +62278,15 @@ def marker_style_settings(self, value: Optional[pulumi.Input['DashboardLineChart pulumi.set(self, "marker_style_settings", value) +if not MYPY: + class DashboardLineChartFieldWellsArgsDict(TypedDict): + line_chart_aggregated_field_wells: NotRequired[pulumi.Input['DashboardLineChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a line chart. + """ +elif False: + DashboardLineChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLineChartFieldWellsArgs: def __init__(__self__, *, @@ -46612,6 +62310,35 @@ def line_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashbo pulumi.set(self, "line_chart_aggregated_field_wells", value) +if not MYPY: + class DashboardLineChartLineStyleSettingsArgsDict(TypedDict): + line_interpolation: NotRequired[pulumi.Input['DashboardLineInterpolation']] + """ + Interpolation style for line series. + + - `LINEAR` : Show as default, linear style. + - `SMOOTH` : Show as a smooth curve. + - `STEPPED` : Show steps in line. + """ + line_style: NotRequired[pulumi.Input['DashboardLineChartLineStyle']] + """ + Line style for line series. + + - `SOLID` : Show as a solid line. + - `DOTTED` : Show as a dotted line. + - `DASHED` : Show as a dashed line. + """ + line_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Configuration option that determines whether to show the line for the series. + """ + line_width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + DashboardLineChartLineStyleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLineChartLineStyleSettingsArgs: def __init__(__self__, *, @@ -46699,6 +62426,33 @@ def line_width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "line_width", value) +if not MYPY: + class DashboardLineChartMarkerStyleSettingsArgsDict(TypedDict): + marker_color: NotRequired[pulumi.Input[str]] + """ + Color of marker in the series. + """ + marker_shape: NotRequired[pulumi.Input['DashboardLineChartMarkerShape']] + """ + Shape option for markers in the series. + + - `CIRCLE` : Show marker as a circle. + - `TRIANGLE` : Show marker as a triangle. + - `SQUARE` : Show marker as a square. + - `DIAMOND` : Show marker as a diamond. + - `ROUNDED_SQUARE` : Show marker as a rounded square. + """ + marker_size: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + marker_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Configuration option that determines whether to show the markers in the series. + """ +elif False: + DashboardLineChartMarkerStyleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLineChartMarkerStyleSettingsArgs: def __init__(__self__, *, @@ -46782,6 +62536,19 @@ def marker_visibility(self, value: Optional[pulumi.Input['DashboardVisibility']] pulumi.set(self, "marker_visibility", value) +if not MYPY: + class DashboardLineChartSeriesSettingsArgsDict(TypedDict): + line_style_settings: NotRequired[pulumi.Input['DashboardLineChartLineStyleSettingsArgsDict']] + """ + Line styles options for a line series in `LineChartVisual` . + """ + marker_style_settings: NotRequired[pulumi.Input['DashboardLineChartMarkerStyleSettingsArgsDict']] + """ + Marker styles options for a line series in `LineChartVisual` . + """ +elif False: + DashboardLineChartSeriesSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLineChartSeriesSettingsArgs: def __init__(__self__, *, @@ -46821,6 +62588,31 @@ def marker_style_settings(self, value: Optional[pulumi.Input['DashboardLineChart pulumi.set(self, "marker_style_settings", value) +if not MYPY: + class DashboardLineChartSortConfigurationArgsDict(TypedDict): + category_items_limit_configuration: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories that are displayed in a line chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ + color_items_limit_configuration: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of lines that are displayed in a line chart. + """ + small_multiples_limit_configuration: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of small multiples panels that are displayed. + """ + small_multiples_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the small multiples field. + """ +elif False: + DashboardLineChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLineChartSortConfigurationArgs: def __init__(__self__, *, @@ -46908,6 +62700,35 @@ def small_multiples_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "small_multiples_sort", value) +if not MYPY: + class DashboardLineChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardLineChartConfigurationArgsDict']] + """ + The configuration of a line chart. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardLineChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLineChartVisualArgs: def __init__(__self__, *, @@ -47010,6 +62831,19 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardLineSeriesAxisDisplayOptionsArgsDict(TypedDict): + axis_options: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the line series axis. + """ + missing_data_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMissingDataConfigurationArgsDict']]]] + """ + The configuration options that determine how missing data is treated during the rendering of a line chart. + """ +elif False: + DashboardLineSeriesAxisDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLineSeriesAxisDisplayOptionsArgs: def __init__(__self__, *, @@ -47049,6 +62883,15 @@ def missing_data_configurations(self, value: Optional[pulumi.Input[Sequence[pulu pulumi.set(self, "missing_data_configurations", value) +if not MYPY: + class DashboardLinkSharingConfigurationArgsDict(TypedDict): + permissions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardResourcePermissionArgsDict']]]] + """ + A structure that contains the permissions of a shareable link. + """ +elif False: + DashboardLinkSharingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLinkSharingConfigurationArgs: def __init__(__self__, *, @@ -47072,6 +62915,27 @@ def permissions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dashbo pulumi.set(self, "permissions", value) +if not MYPY: + class DashboardListControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['DashboardSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + search_options: NotRequired[pulumi.Input['DashboardListControlSearchOptionsArgsDict']] + """ + The configuration of the search options in a list control. + """ + select_all_options: NotRequired[pulumi.Input['DashboardListControlSelectAllOptionsArgsDict']] + """ + The configuration of the `Select all` options in a list control. + """ + title_options: NotRequired[pulumi.Input['DashboardLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + DashboardListControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardListControlDisplayOptionsArgs: def __init__(__self__, *, @@ -47143,6 +63007,15 @@ def title_options(self, value: Optional[pulumi.Input['DashboardLabelOptionsArgs' pulumi.set(self, "title_options", value) +if not MYPY: + class DashboardListControlSearchOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility configuration of the search options in a list control. + """ +elif False: + DashboardListControlSearchOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardListControlSearchOptionsArgs: def __init__(__self__, *, @@ -47166,6 +63039,15 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardListControlSelectAllOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility configuration of the `Select all` options in a list control. + """ +elif False: + DashboardListControlSelectAllOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardListControlSelectAllOptionsArgs: def __init__(__self__, *, @@ -47189,6 +63071,15 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardLoadingAnimationArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility configuration of `LoadingAnimation` . + """ +elif False: + DashboardLoadingAnimationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLoadingAnimationArgs: def __init__(__self__, *, @@ -47212,6 +63103,15 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardLocalNavigationConfigurationArgsDict(TypedDict): + target_sheet_id: pulumi.Input[str] + """ + The sheet that is targeted for navigation in the same analysis. + """ +elif False: + DashboardLocalNavigationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLocalNavigationConfigurationArgs: def __init__(__self__, *, @@ -47234,6 +63134,19 @@ def target_sheet_id(self, value: pulumi.Input[str]): pulumi.set(self, "target_sheet_id", value) +if not MYPY: + class DashboardLongFormatTextArgsDict(TypedDict): + plain_text: NotRequired[pulumi.Input[str]] + """ + Plain text format. + """ + rich_text: NotRequired[pulumi.Input[str]] + """ + Rich text. Examples of rich text include bold, underline, and italics. + """ +elif False: + DashboardLongFormatTextArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardLongFormatTextArgs: def __init__(__self__, *, @@ -47273,6 +63186,19 @@ def rich_text(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "rich_text", value) +if not MYPY: + class DashboardMappedDataSetParameterArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + A unique name that identifies a dataset within the analysis or dashboard. + """ + data_set_parameter_name: pulumi.Input[str] + """ + The name of the dataset parameter. + """ +elif False: + DashboardMappedDataSetParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardMappedDataSetParameterArgs: def __init__(__self__, *, @@ -47310,6 +63236,15 @@ def data_set_parameter_name(self, value: pulumi.Input[str]): pulumi.set(self, "data_set_parameter_name", value) +if not MYPY: + class DashboardMaximumLabelTypeArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the maximum label. + """ +elif False: + DashboardMaximumLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardMaximumLabelTypeArgs: def __init__(__self__, *, @@ -47333,6 +63268,34 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardMaximumMinimumComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + type: pulumi.Input['DashboardMaximumMinimumComputationType'] + """ + The type of computation. Choose one of the following options: + + - MAXIMUM: A maximum computation. + - MINIMUM: A minimum computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + time: NotRequired[pulumi.Input['DashboardDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['DashboardMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + DashboardMaximumMinimumComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardMaximumMinimumComputationArgs: def __init__(__self__, *, @@ -47424,6 +63387,27 @@ def value(self, value: Optional[pulumi.Input['DashboardMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardMeasureFieldArgsDict(TypedDict): + calculated_measure_field: NotRequired[pulumi.Input['DashboardCalculatedMeasureFieldArgsDict']] + """ + The calculated measure field only used in pivot tables. + """ + categorical_measure_field: NotRequired[pulumi.Input['DashboardCategoricalMeasureFieldArgsDict']] + """ + The measure type field with categorical type columns. + """ + date_measure_field: NotRequired[pulumi.Input['DashboardDateMeasureFieldArgsDict']] + """ + The measure type field with date type columns. + """ + numerical_measure_field: NotRequired[pulumi.Input['DashboardNumericalMeasureFieldArgsDict']] + """ + The measure type field with numerical type columns. + """ +elif False: + DashboardMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardMeasureFieldArgs: def __init__(__self__, *, @@ -47495,6 +63479,31 @@ def numerical_measure_field(self, value: Optional[pulumi.Input['DashboardNumeric pulumi.set(self, "numerical_measure_field", value) +if not MYPY: + class DashboardMetricComparisonComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + from_value: NotRequired[pulumi.Input['DashboardMeasureFieldArgsDict']] + """ + The field that is used in a metric comparison from value setup. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + target_value: NotRequired[pulumi.Input['DashboardMeasureFieldArgsDict']] + """ + The field that is used in a metric comparison to value setup. + """ + time: NotRequired[pulumi.Input['DashboardDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ +elif False: + DashboardMetricComparisonComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardMetricComparisonComputationArgs: def __init__(__self__, *, @@ -47581,6 +63590,15 @@ def time(self, value: Optional[pulumi.Input['DashboardDimensionFieldArgs']]): pulumi.set(self, "time", value) +if not MYPY: + class DashboardMinimumLabelTypeArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the minimum label. + """ +elif False: + DashboardMinimumLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardMinimumLabelTypeArgs: def __init__(__self__, *, @@ -47604,6 +63622,19 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardMissingDataConfigurationArgsDict(TypedDict): + treatment_option: NotRequired[pulumi.Input['DashboardMissingDataTreatmentOption']] + """ + The treatment option that determines how missing data should be rendered. Choose from the following options: + + - `INTERPOLATE` : Interpolate missing values between the prior and the next known value. + - `SHOW_AS_ZERO` : Show missing values as the value `0` . + - `SHOW_AS_BLANK` : Display a blank space when rendering missing data. + """ +elif False: + DashboardMissingDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardMissingDataConfigurationArgs: def __init__(__self__, *, @@ -47635,6 +63666,15 @@ def treatment_option(self, value: Optional[pulumi.Input['DashboardMissingDataTre pulumi.set(self, "treatment_option", value) +if not MYPY: + class DashboardNegativeValueConfigurationArgsDict(TypedDict): + display_mode: pulumi.Input['DashboardNegativeValueDisplayMode'] + """ + Determines the display mode of the negative value configuration. + """ +elif False: + DashboardNegativeValueConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNegativeValueConfigurationArgs: def __init__(__self__, *, @@ -47657,6 +63697,27 @@ def display_mode(self, value: pulumi.Input['DashboardNegativeValueDisplayMode']) pulumi.set(self, "display_mode", value) +if not MYPY: + class DashboardNestedFilterArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + include_inner_set: pulumi.Input[bool] + """ + A boolean condition to include or exclude the subset that is defined by the values of the nested inner filter. + """ + inner_filter: pulumi.Input['DashboardInnerFilterArgsDict'] + """ + The `InnerFilter` defines the subset of data to be used with the `NestedFilter` . + """ +elif False: + DashboardNestedFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNestedFilterArgs: def __init__(__self__, *, @@ -47724,6 +63785,15 @@ def inner_filter(self, value: pulumi.Input['DashboardInnerFilterArgs']): pulumi.set(self, "inner_filter", value) +if not MYPY: + class DashboardNullValueFormatConfigurationArgsDict(TypedDict): + null_string: pulumi.Input[str] + """ + Determines the null string of null values. + """ +elif False: + DashboardNullValueFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNullValueFormatConfigurationArgs: def __init__(__self__, *, @@ -47746,6 +63816,39 @@ def null_string(self, value: pulumi.Input[str]): pulumi.set(self, "null_string", value) +if not MYPY: + class DashboardNumberDisplayFormatConfigurationArgsDict(TypedDict): + decimal_places_configuration: NotRequired[pulumi.Input['DashboardDecimalPlacesConfigurationArgsDict']] + """ + The option that determines the decimal places configuration. + """ + negative_value_configuration: NotRequired[pulumi.Input['DashboardNegativeValueConfigurationArgsDict']] + """ + The options that determine the negative value configuration. + """ + null_value_format_configuration: NotRequired[pulumi.Input['DashboardNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + number_scale: NotRequired[pulumi.Input['DashboardNumberScale']] + """ + Determines the number scale value of the number format. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Determines the prefix value of the number format. + """ + separator_configuration: NotRequired[pulumi.Input['DashboardNumericSeparatorConfigurationArgsDict']] + """ + The options that determine the numeric separator configuration. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + Determines the suffix value of the number format. + """ +elif False: + DashboardNumberDisplayFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumberDisplayFormatConfigurationArgs: def __init__(__self__, *, @@ -47865,6 +63968,15 @@ def suffix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "suffix", value) +if not MYPY: + class DashboardNumberFormatConfigurationArgsDict(TypedDict): + format_configuration: NotRequired[pulumi.Input['DashboardNumericFormatConfigurationArgsDict']] + """ + The options that determine the numeric format configuration. + """ +elif False: + DashboardNumberFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumberFormatConfigurationArgs: def __init__(__self__, *, @@ -47888,6 +64000,19 @@ def format_configuration(self, value: Optional[pulumi.Input['DashboardNumericFor pulumi.set(self, "format_configuration", value) +if not MYPY: + class DashboardNumericAxisOptionsArgsDict(TypedDict): + range: NotRequired[pulumi.Input['DashboardAxisDisplayRangeArgsDict']] + """ + The range setup of a numeric axis. + """ + scale: NotRequired[pulumi.Input['DashboardAxisScaleArgsDict']] + """ + The scale setup of a numeric axis. + """ +elif False: + DashboardNumericAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumericAxisOptionsArgs: def __init__(__self__, *, @@ -47927,6 +64052,19 @@ def scale(self, value: Optional[pulumi.Input['DashboardAxisScaleArgs']]): pulumi.set(self, "scale", value) +if not MYPY: + class DashboardNumericEqualityDrillDownFilterArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + value: pulumi.Input[float] + """ + The value of the double input numeric drill down filter. + """ +elif False: + DashboardNumericEqualityDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumericEqualityDrillDownFilterArgs: def __init__(__self__, *, @@ -47964,6 +64102,53 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardNumericEqualityFilterArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + match_operator: pulumi.Input['DashboardNumericEqualityMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + null_option: pulumi.Input['DashboardFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + aggregation_function: NotRequired[pulumi.Input['DashboardAggregationFunctionArgsDict']] + """ + The aggregation function of the filter. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['DashboardDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + """ + select_all_options: NotRequired[pulumi.Input['DashboardNumericFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ + value: NotRequired[pulumi.Input[float]] + """ + The input value. + """ +elif False: + DashboardNumericEqualityFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumericEqualityFilterArgs: def __init__(__self__, *, @@ -48123,6 +64308,23 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardNumericFormatConfigurationArgsDict(TypedDict): + currency_display_format_configuration: NotRequired[pulumi.Input['DashboardCurrencyDisplayFormatConfigurationArgsDict']] + """ + The options that determine the currency display format configuration. + """ + number_display_format_configuration: NotRequired[pulumi.Input['DashboardNumberDisplayFormatConfigurationArgsDict']] + """ + The options that determine the number display format configuration. + """ + percentage_display_format_configuration: NotRequired[pulumi.Input['DashboardPercentageDisplayFormatConfigurationArgsDict']] + """ + The options that determine the percentage display format configuration. + """ +elif False: + DashboardNumericFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumericFormatConfigurationArgs: def __init__(__self__, *, @@ -48178,6 +64380,19 @@ def percentage_display_format_configuration(self, value: Optional[pulumi.Input[' pulumi.set(self, "percentage_display_format_configuration", value) +if not MYPY: + class DashboardNumericRangeFilterValueArgsDict(TypedDict): + parameter: NotRequired[pulumi.Input[str]] + """ + The parameter that is used in the numeric range. + """ + static_value: NotRequired[pulumi.Input[float]] + """ + The static value of the numeric range filter. + """ +elif False: + DashboardNumericRangeFilterValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumericRangeFilterValueArgs: def __init__(__self__, *, @@ -48217,6 +64432,57 @@ def static_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "static_value", value) +if not MYPY: + class DashboardNumericRangeFilterArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + null_option: pulumi.Input['DashboardFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + aggregation_function: NotRequired[pulumi.Input['DashboardAggregationFunctionArgsDict']] + """ + The aggregation function of the filter. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['DashboardDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + include_maximum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the maximum value in the filter value range should be included in the filtered results. + """ + include_minimum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the minimum value in the filter value range should be included in the filtered results. + """ + range_maximum: NotRequired[pulumi.Input['DashboardNumericRangeFilterValueArgsDict']] + """ + The maximum value for the filter value range. + """ + range_minimum: NotRequired[pulumi.Input['DashboardNumericRangeFilterValueArgsDict']] + """ + The minimum value for the filter value range. + """ + select_all_options: NotRequired[pulumi.Input['DashboardNumericFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + DashboardNumericRangeFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumericRangeFilterArgs: def __init__(__self__, *, @@ -48393,6 +64659,19 @@ def select_all_options(self, value: Optional[pulumi.Input['DashboardNumericFilte pulumi.set(self, "select_all_options", value) +if not MYPY: + class DashboardNumericSeparatorConfigurationArgsDict(TypedDict): + decimal_separator: NotRequired[pulumi.Input['DashboardNumericSeparatorSymbol']] + """ + Determines the decimal separator. + """ + thousands_separator: NotRequired[pulumi.Input['DashboardThousandSeparatorOptionsArgsDict']] + """ + The options that determine the thousands separator configuration. + """ +elif False: + DashboardNumericSeparatorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumericSeparatorConfigurationArgs: def __init__(__self__, *, @@ -48432,6 +64711,31 @@ def thousands_separator(self, value: Optional[pulumi.Input['DashboardThousandSep pulumi.set(self, "thousands_separator", value) +if not MYPY: + class DashboardNumericalAggregationFunctionArgsDict(TypedDict): + percentile_aggregation: NotRequired[pulumi.Input['DashboardPercentileAggregationArgsDict']] + """ + An aggregation based on the percentile of values in a dimension or measure. + """ + simple_numerical_aggregation: NotRequired[pulumi.Input['DashboardSimpleNumericalAggregationFunction']] + """ + Built-in aggregation functions for numerical values. + + - `SUM` : The sum of a dimension or measure. + - `AVERAGE` : The average of a dimension or measure. + - `MIN` : The minimum value of a dimension or measure. + - `MAX` : The maximum value of a dimension or measure. + - `COUNT` : The count of a dimension or measure. + - `DISTINCT_COUNT` : The count of distinct values in a dimension or measure. + - `VAR` : The variance of a dimension or measure. + - `VARP` : The partitioned variance of a dimension or measure. + - `STDEV` : The standard deviation of a dimension or measure. + - `STDEVP` : The partitioned standard deviation of a dimension or measure. + - `MEDIAN` : The median value of a dimension or measure. + """ +elif False: + DashboardNumericalAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumericalAggregationFunctionArgs: def __init__(__self__, *, @@ -48495,6 +64799,27 @@ def simple_numerical_aggregation(self, value: Optional[pulumi.Input['DashboardSi pulumi.set(self, "simple_numerical_aggregation", value) +if not MYPY: + class DashboardNumericalDimensionFieldArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that is used in the `NumericalDimensionField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + format_configuration: NotRequired[pulumi.Input['DashboardNumberFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ + hierarchy_id: NotRequired[pulumi.Input[str]] + """ + The custom hierarchy ID. + """ +elif False: + DashboardNumericalDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumericalDimensionFieldArgs: def __init__(__self__, *, @@ -48564,6 +64889,27 @@ def hierarchy_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_id", value) +if not MYPY: + class DashboardNumericalMeasureFieldArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that is used in the `NumericalMeasureField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + aggregation_function: NotRequired[pulumi.Input['DashboardNumericalAggregationFunctionArgsDict']] + """ + The aggregation function of the measure field. + """ + format_configuration: NotRequired[pulumi.Input['DashboardNumberFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + DashboardNumericalMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardNumericalMeasureFieldArgs: def __init__(__self__, *, @@ -48633,6 +64979,19 @@ def format_configuration(self, value: Optional[pulumi.Input['DashboardNumberForm pulumi.set(self, "format_configuration", value) +if not MYPY: + class DashboardPaginationConfigurationArgsDict(TypedDict): + page_number: pulumi.Input[float] + """ + Indicates the page number. + """ + page_size: pulumi.Input[float] + """ + Indicates how many items render in one page. + """ +elif False: + DashboardPaginationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPaginationConfigurationArgs: def __init__(__self__, *, @@ -48670,6 +65029,47 @@ def page_size(self, value: pulumi.Input[float]): pulumi.set(self, "page_size", value) +if not MYPY: + class DashboardPanelConfigurationArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input[str]] + """ + Sets the background color for each panel. + """ + background_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines whether or not a background for each small multiples panel is rendered. + """ + border_color: NotRequired[pulumi.Input[str]] + """ + Sets the line color of panel borders. + """ + border_style: NotRequired[pulumi.Input['DashboardPanelBorderStyle']] + """ + Sets the line style of panel borders. + """ + border_thickness: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + border_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines whether or not each panel displays a border. + """ + gutter_spacing: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + gutter_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines whether or not negative space between sibling panels is rendered. + """ + title: NotRequired[pulumi.Input['DashboardPanelTitleOptionsArgsDict']] + """ + Configures the title display within each small multiples panel. + """ +elif False: + DashboardPanelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPanelConfigurationArgs: def __init__(__self__, *, @@ -48821,6 +65221,20 @@ def title(self, value: Optional[pulumi.Input['DashboardPanelTitleOptionsArgs']]) pulumi.set(self, "title", value) +if not MYPY: + class DashboardPanelTitleOptionsArgsDict(TypedDict): + font_configuration: NotRequired[pulumi.Input['DashboardFontConfigurationArgsDict']] + horizontal_text_alignment: NotRequired[pulumi.Input['DashboardHorizontalTextAlignment']] + """ + Sets the horizontal text alignment of the title within each panel. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines whether or not panel titles are displayed. + """ +elif False: + DashboardPanelTitleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPanelTitleOptionsArgs: def __init__(__self__, *, @@ -48872,6 +65286,35 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardParameterControlArgsDict(TypedDict): + date_time_picker: NotRequired[pulumi.Input['DashboardParameterDateTimePickerControlArgsDict']] + """ + A control from a date parameter that specifies date and time. + """ + dropdown: NotRequired[pulumi.Input['DashboardParameterDropDownControlArgsDict']] + """ + A control to display a dropdown list with buttons that are used to select a single value. + """ + list: NotRequired[pulumi.Input['DashboardParameterListControlArgsDict']] + """ + A control to display a list with buttons or boxes that are used to select either a single value or multiple values. + """ + slider: NotRequired[pulumi.Input['DashboardParameterSliderControlArgsDict']] + """ + A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle. + """ + text_area: NotRequired[pulumi.Input['DashboardParameterTextAreaControlArgsDict']] + """ + A control to display a text box that is used to enter multiple entries. + """ + text_field: NotRequired[pulumi.Input['DashboardParameterTextFieldControlArgsDict']] + """ + A control to display a text box that is used to enter a single entry. + """ +elif False: + DashboardParameterControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardParameterControlArgs: def __init__(__self__, *, @@ -48975,6 +65418,27 @@ def text_field(self, value: Optional[pulumi.Input['DashboardParameterTextFieldCo pulumi.set(self, "text_field", value) +if not MYPY: + class DashboardParameterDateTimePickerControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterDateTimePickerControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The name of the `ParameterDateTimePickerControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterDateTimePickerControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardDateTimePickerControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + DashboardParameterDateTimePickerControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardParameterDateTimePickerControlArgs: def __init__(__self__, *, @@ -49043,6 +65507,27 @@ def display_options(self, value: Optional[pulumi.Input['DashboardDateTimePickerC pulumi.set(self, "display_options", value) +if not MYPY: + class DashboardParameterDeclarationArgsDict(TypedDict): + date_time_parameter_declaration: NotRequired[pulumi.Input['DashboardDateTimeParameterDeclarationArgsDict']] + """ + A parameter declaration for the `DateTime` data type. + """ + decimal_parameter_declaration: NotRequired[pulumi.Input['DashboardDecimalParameterDeclarationArgsDict']] + """ + A parameter declaration for the `Decimal` data type. + """ + integer_parameter_declaration: NotRequired[pulumi.Input['DashboardIntegerParameterDeclarationArgsDict']] + """ + A parameter declaration for the `Integer` data type. + """ + string_parameter_declaration: NotRequired[pulumi.Input['DashboardStringParameterDeclarationArgsDict']] + """ + A parameter declaration for the `String` data type. + """ +elif False: + DashboardParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardParameterDeclarationArgs: def __init__(__self__, *, @@ -49114,6 +65599,43 @@ def string_parameter_declaration(self, value: Optional[pulumi.Input['DashboardSt pulumi.set(self, "string_parameter_declaration", value) +if not MYPY: + class DashboardParameterDropDownControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterDropDownControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterDropDownControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterDropDownControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['DashboardCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + commit_mode: NotRequired[pulumi.Input['DashboardCommitMode']] + """ + The visibility configuration of the Apply button on a `ParameterDropDownControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardDropDownControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['DashboardParameterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['DashboardSheetControlListType']] + """ + The type parameter name of the `ParameterDropDownControl` . + """ +elif False: + DashboardParameterDropDownControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardParameterDropDownControlArgs: def __init__(__self__, *, @@ -49246,6 +65768,39 @@ def type(self, value: Optional[pulumi.Input['DashboardSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class DashboardParameterListControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterListControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterListControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterListControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['DashboardCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + display_options: NotRequired[pulumi.Input['DashboardListControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['DashboardParameterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['DashboardSheetControlListType']] + """ + The type of `ParameterListControl` . + """ +elif False: + DashboardParameterListControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardParameterListControlArgs: def __init__(__self__, *, @@ -49362,6 +65917,19 @@ def type(self, value: Optional[pulumi.Input['DashboardSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class DashboardParameterSelectableValuesArgsDict(TypedDict): + link_to_data_set_column: NotRequired[pulumi.Input['DashboardColumnIdentifierArgsDict']] + """ + The column identifier that fetches values from the data set. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The values that are used in `ParameterSelectableValues` . + """ +elif False: + DashboardParameterSelectableValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardParameterSelectableValuesArgs: def __init__(__self__, *, @@ -49401,6 +65969,39 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class DashboardParameterSliderControlArgsDict(TypedDict): + maximum_value: pulumi.Input[float] + """ + The larger value that is displayed at the right of the slider. + """ + minimum_value: pulumi.Input[float] + """ + The smaller value that is displayed at the left of the slider. + """ + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterSliderControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterSliderControl` . + """ + step_size: pulumi.Input[float] + """ + The number of increments that the slider bar is divided into. + """ + title: pulumi.Input[str] + """ + The title of the `ParameterSliderControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardSliderControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + DashboardParameterSliderControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardParameterSliderControlArgs: def __init__(__self__, *, @@ -49514,6 +66115,31 @@ def display_options(self, value: Optional[pulumi.Input['DashboardSliderControlDi pulumi.set(self, "display_options", value) +if not MYPY: + class DashboardParameterTextAreaControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterTextAreaControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterTextAreaControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterTextAreaControl` . + """ + delimiter: NotRequired[pulumi.Input[str]] + """ + The delimiter that is used to separate the lines in text. + """ + display_options: NotRequired[pulumi.Input['DashboardTextAreaControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + DashboardParameterTextAreaControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardParameterTextAreaControlArgs: def __init__(__self__, *, @@ -49598,6 +66224,27 @@ def display_options(self, value: Optional[pulumi.Input['DashboardTextAreaControl pulumi.set(self, "display_options", value) +if not MYPY: + class DashboardParameterTextFieldControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterTextFieldControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterTextFieldControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterTextFieldControl` . + """ + display_options: NotRequired[pulumi.Input['DashboardTextFieldControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + DashboardParameterTextFieldControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardParameterTextFieldControlArgs: def __init__(__self__, *, @@ -49666,6 +66313,30 @@ def display_options(self, value: Optional[pulumi.Input['DashboardTextFieldContro pulumi.set(self, "display_options", value) +if not MYPY: + class DashboardParametersArgsDict(TypedDict): + """ +

A list of Amazon QuickSight parameters and the list's override values.

+ """ + date_time_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDateTimeParameterArgsDict']]]] + """ +

The parameters that have a data type of date-time.

+ """ + decimal_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDecimalParameterArgsDict']]]] + """ +

The parameters that have a data type of decimal.

+ """ + integer_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardIntegerParameterArgsDict']]]] + """ +

The parameters that have a data type of integer.

+ """ + string_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardStringParameterArgsDict']]]] + """ +

The parameters that have a data type of string.

+ """ +elif False: + DashboardParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardParametersArgs: def __init__(__self__, *, @@ -49738,6 +66409,19 @@ def string_parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "string_parameters", value) +if not MYPY: + class DashboardPercentVisibleRangeArgsDict(TypedDict): + from_: NotRequired[pulumi.Input[float]] + """ + The lower bound of the range. + """ + to: NotRequired[pulumi.Input[float]] + """ + The top bound of the range. + """ +elif False: + DashboardPercentVisibleRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPercentVisibleRangeArgs: def __init__(__self__, *, @@ -49777,6 +66461,35 @@ def to(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "to", value) +if not MYPY: + class DashboardPercentageDisplayFormatConfigurationArgsDict(TypedDict): + decimal_places_configuration: NotRequired[pulumi.Input['DashboardDecimalPlacesConfigurationArgsDict']] + """ + The option that determines the decimal places configuration. + """ + negative_value_configuration: NotRequired[pulumi.Input['DashboardNegativeValueConfigurationArgsDict']] + """ + The options that determine the negative value configuration. + """ + null_value_format_configuration: NotRequired[pulumi.Input['DashboardNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Determines the prefix value of the percentage format. + """ + separator_configuration: NotRequired[pulumi.Input['DashboardNumericSeparatorConfigurationArgsDict']] + """ + The options that determine the numeric separator configuration. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + Determines the suffix value of the percentage format. + """ +elif False: + DashboardPercentageDisplayFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPercentageDisplayFormatConfigurationArgs: def __init__(__self__, *, @@ -49880,6 +66593,15 @@ def suffix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "suffix", value) +if not MYPY: + class DashboardPercentileAggregationArgsDict(TypedDict): + percentile_value: NotRequired[pulumi.Input[float]] + """ + The percentile value. This value can be any numeric constant 0–100. A percentile value of 50 computes the median value of the measure. + """ +elif False: + DashboardPercentileAggregationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPercentileAggregationArgs: def __init__(__self__, *, @@ -49903,6 +66625,27 @@ def percentile_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "percentile_value", value) +if not MYPY: + class DashboardPeriodOverPeriodComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + time: NotRequired[pulumi.Input['DashboardDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['DashboardMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + DashboardPeriodOverPeriodComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPeriodOverPeriodComputationArgs: def __init__(__self__, *, @@ -49973,6 +66716,34 @@ def value(self, value: Optional[pulumi.Input['DashboardMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardPeriodToDateComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + period_time_granularity: NotRequired[pulumi.Input['DashboardTimeGranularity']] + """ + The time granularity setup of period to date computation. Choose from the following options: + + - YEAR: Year to date. + - MONTH: Month to date. + """ + time: NotRequired[pulumi.Input['DashboardDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['DashboardMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + DashboardPeriodToDateComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPeriodToDateComputationArgs: def __init__(__self__, *, @@ -50065,6 +66836,23 @@ def value(self, value: Optional[pulumi.Input['DashboardMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardPieChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The category (group/color) field wells of a pie chart. + """ + small_multiples: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The small multiples field well of a pie chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The value field wells of a pie chart. Values are aggregated based on categories. + """ +elif False: + DashboardPieChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPieChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -50120,6 +66908,55 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardPieChartConfigurationArgsDict(TypedDict): + category_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options of the group/color that is displayed in a pie chart. + """ + contribution_analysis_defaults: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardContributionAnalysisDefaultArgsDict']]]] + """ + The contribution analysis (anomaly configuration) setup of the visual. + """ + data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + donut_options: NotRequired[pulumi.Input['DashboardDonutOptionsArgsDict']] + """ + The options that determine the shape of the chart. This option determines whether the chart is a pie chart or a donut chart. + """ + field_wells: NotRequired[pulumi.Input['DashboardPieChartFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + small_multiples_options: NotRequired[pulumi.Input['DashboardSmallMultiplesOptionsArgsDict']] + """ + The small multiples setup for the visual. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardPieChartSortConfigurationArgsDict']] + """ + The sort configuration of a pie chart. + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + value_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options for the value that is displayed in a pie chart. + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + DashboardPieChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPieChartConfigurationArgs: def __init__(__self__, *, @@ -50303,6 +67140,15 @@ def visual_palette(self, value: Optional[pulumi.Input['DashboardVisualPaletteArg pulumi.set(self, "visual_palette", value) +if not MYPY: + class DashboardPieChartFieldWellsArgsDict(TypedDict): + pie_chart_aggregated_field_wells: NotRequired[pulumi.Input['DashboardPieChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a pie chart. + """ +elif False: + DashboardPieChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPieChartFieldWellsArgs: def __init__(__self__, *, @@ -50326,6 +67172,27 @@ def pie_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashboa pulumi.set(self, "pie_chart_aggregated_field_wells", value) +if not MYPY: + class DashboardPieChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories that are displayed in a pie chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ + small_multiples_limit_configuration: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of small multiples panels that are displayed. + """ + small_multiples_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the small multiples field. + """ +elif False: + DashboardPieChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPieChartSortConfigurationArgs: def __init__(__self__, *, @@ -50397,6 +67264,35 @@ def small_multiples_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "small_multiples_sort", value) +if not MYPY: + class DashboardPieChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardPieChartConfigurationArgsDict']] + """ + The configuration of a pie chart. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardPieChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPieChartVisualArgs: def __init__(__self__, *, @@ -50499,6 +67395,19 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardPivotFieldSortOptionsArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID for the field sort options. + """ + sort_by: pulumi.Input['DashboardPivotTableSortByArgsDict'] + """ + The sort by field for the field sort options. + """ +elif False: + DashboardPivotFieldSortOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotFieldSortOptionsArgs: def __init__(__self__, *, @@ -50536,6 +67445,23 @@ def sort_by(self, value: pulumi.Input['DashboardPivotTableSortByArgs']): pulumi.set(self, "sort_by", value) +if not MYPY: + class DashboardPivotTableAggregatedFieldWellsArgsDict(TypedDict): + columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The columns field well for a pivot table. Values are grouped by columns fields. + """ + rows: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The rows field well for a pivot table. Values are grouped by rows fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The values field well for a pivot table. Values are aggregated based on rows and columns fields. + """ +elif False: + DashboardPivotTableAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -50591,6 +67517,27 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardPivotTableCellConditionalFormattingArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the cell for conditional formatting. + """ + scope: NotRequired[pulumi.Input['DashboardPivotTableConditionalFormattingScopeArgsDict']] + """ + The scope of the cell for conditional formatting. + """ + scopes: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardPivotTableConditionalFormattingScopeArgsDict']]]] + """ + A list of cell scopes for conditional formatting. + """ + text_format: NotRequired[pulumi.Input['DashboardTextConditionalFormatArgsDict']] + """ + The text format of the cell for conditional formatting. + """ +elif False: + DashboardPivotTableCellConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableCellConditionalFormattingArgs: def __init__(__self__, *, @@ -50661,6 +67608,15 @@ def text_format(self, value: Optional[pulumi.Input['DashboardTextConditionalForm pulumi.set(self, "text_format", value) +if not MYPY: + class DashboardPivotTableConditionalFormattingOptionArgsDict(TypedDict): + cell: NotRequired[pulumi.Input['DashboardPivotTableCellConditionalFormattingArgsDict']] + """ + The cell conditional formatting option for a pivot table. + """ +elif False: + DashboardPivotTableConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -50684,6 +67640,15 @@ def cell(self, value: Optional[pulumi.Input['DashboardPivotTableCellConditionalF pulumi.set(self, "cell", value) +if not MYPY: + class DashboardPivotTableConditionalFormattingScopeArgsDict(TypedDict): + role: NotRequired[pulumi.Input['DashboardPivotTableConditionalFormattingScopeRole']] + """ + The role (field, field total, grand total) of the cell for conditional formatting. + """ +elif False: + DashboardPivotTableConditionalFormattingScopeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableConditionalFormattingScopeArgs: def __init__(__self__, *, @@ -50707,6 +67672,15 @@ def role(self, value: Optional[pulumi.Input['DashboardPivotTableConditionalForma pulumi.set(self, "role", value) +if not MYPY: + class DashboardPivotTableConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardPivotTableConditionalFormattingOptionArgsDict']]]] + """ + Conditional formatting options for a `PivotTableVisual` . + """ +elif False: + DashboardPivotTableConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableConditionalFormattingArgs: def __init__(__self__, *, @@ -50730,6 +67704,35 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class DashboardPivotTableConfigurationArgsDict(TypedDict): + field_options: NotRequired[pulumi.Input['DashboardPivotTableFieldOptionsArgsDict']] + """ + The field options for a pivot table visual. + """ + field_wells: NotRequired[pulumi.Input['DashboardPivotTableFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + paginated_report_options: NotRequired[pulumi.Input['DashboardPivotTablePaginatedReportOptionsArgsDict']] + """ + The paginated report options for a pivot table visual. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardPivotTableSortConfigurationArgsDict']] + """ + The sort configuration for a `PivotTableVisual` . + """ + table_options: NotRequired[pulumi.Input['DashboardPivotTableOptionsArgsDict']] + """ + The table options for a pivot table visual. + """ + total_options: NotRequired[pulumi.Input['DashboardPivotTableTotalOptionsArgsDict']] + """ + The total options for a pivot table visual. + """ +elif False: + DashboardPivotTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableConfigurationArgs: def __init__(__self__, *, @@ -50833,6 +67836,19 @@ def total_options(self, value: Optional[pulumi.Input['DashboardPivotTableTotalOp pulumi.set(self, "total_options", value) +if not MYPY: + class DashboardPivotTableDataPathOptionArgsDict(TypedDict): + data_path_list: pulumi.Input[Sequence[pulumi.Input['DashboardDataPathValueArgsDict']]] + """ + The list of data path values for the data path options. + """ + width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + DashboardPivotTableDataPathOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableDataPathOptionArgs: def __init__(__self__, *, @@ -50871,6 +67887,22 @@ def width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "width", value) +if not MYPY: + class DashboardPivotTableFieldCollapseStateOptionArgsDict(TypedDict): + target: pulumi.Input['DashboardPivotTableFieldCollapseStateTargetArgsDict'] + """ + A tagged-union object that sets the collapse state. + """ + state: NotRequired[pulumi.Input['DashboardPivotTableFieldCollapseState']] + """ + The state of the field target of a pivot table. Choose one of the following options: + + - `COLLAPSED` + - `EXPANDED` + """ +elif False: + DashboardPivotTableFieldCollapseStateOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableFieldCollapseStateOptionArgs: def __init__(__self__, *, @@ -50915,6 +67947,19 @@ def state(self, value: Optional[pulumi.Input['DashboardPivotTableFieldCollapseSt pulumi.set(self, "state", value) +if not MYPY: + class DashboardPivotTableFieldCollapseStateTargetArgsDict(TypedDict): + field_data_path_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDataPathValueArgsDict']]]] + """ + The data path of the pivot table's header. Used to set the collapse state. + """ + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the pivot table that the collapse state needs to be set to. + """ +elif False: + DashboardPivotTableFieldCollapseStateTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableFieldCollapseStateTargetArgs: def __init__(__self__, *, @@ -50954,6 +67999,23 @@ def field_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "field_id", value) +if not MYPY: + class DashboardPivotTableFieldOptionsArgsDict(TypedDict): + collapse_state_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardPivotTableFieldCollapseStateOptionArgsDict']]]] + """ + The collapse state options for the pivot table field options. + """ + data_path_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardPivotTableDataPathOptionArgsDict']]]] + """ + The data path options for the pivot table field options. + """ + selected_field_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardPivotTableFieldOptionArgsDict']]]] + """ + The selected field options for the pivot table field options. + """ +elif False: + DashboardPivotTableFieldOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableFieldOptionsArgs: def __init__(__self__, *, @@ -51009,6 +68071,23 @@ def selected_field_options(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "selected_field_options", value) +if not MYPY: + class DashboardPivotTableFieldOptionArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the pivot table field. + """ + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label of the pivot table field. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the pivot table field. + """ +elif False: + DashboardPivotTableFieldOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableFieldOptionArgs: def __init__(__self__, *, @@ -51063,6 +68142,15 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardPivotTableFieldSubtotalOptionsArgsDict(TypedDict): + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the subtotal options. + """ +elif False: + DashboardPivotTableFieldSubtotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableFieldSubtotalOptionsArgs: def __init__(__self__, *, @@ -51086,6 +68174,15 @@ def field_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "field_id", value) +if not MYPY: + class DashboardPivotTableFieldWellsArgsDict(TypedDict): + pivot_table_aggregated_field_wells: NotRequired[pulumi.Input['DashboardPivotTableAggregatedFieldWellsArgsDict']] + """ + The aggregated field well for the pivot table. + """ +elif False: + DashboardPivotTableFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableFieldWellsArgs: def __init__(__self__, *, @@ -51109,6 +68206,66 @@ def pivot_table_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashb pulumi.set(self, "pivot_table_aggregated_field_wells", value) +if not MYPY: + class DashboardPivotTableOptionsArgsDict(TypedDict): + cell_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The table cell style of cells. + """ + collapsed_row_dimensions_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is `HIDDEN` , all collapsed columns in a pivot table are automatically hidden. The default value is `VISIBLE` . + """ + column_header_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The table cell style of the column header. + """ + column_names_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the column names. + """ + default_cell_width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + metric_placement: NotRequired[pulumi.Input['DashboardPivotTableMetricPlacement']] + """ + The metric placement (row, column) options. + """ + row_alternate_color_options: NotRequired[pulumi.Input['DashboardRowAlternateColorOptionsArgsDict']] + """ + The row alternate color options (widget status, row alternate colors). + """ + row_field_names_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The table cell style of row field names. + """ + row_header_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The table cell style of the row headers. + """ + rows_label_options: NotRequired[pulumi.Input['DashboardPivotTableRowsLabelOptionsArgsDict']] + """ + The options for the label that is located above the row headers. This option is only applicable when `RowsLayout` is set to `HIERARCHY` . + """ + rows_layout: NotRequired[pulumi.Input['DashboardPivotTableRowsLayout']] + """ + The layout for the row dimension headers of a pivot table. Choose one of the following options. + + - `TABULAR` : (Default) Each row field is displayed in a separate column. + - `HIERARCHY` : All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields. + """ + single_metric_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the single metric options. + """ + toggle_buttons_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines the visibility of the pivot table. + """ +elif False: + DashboardPivotTableOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableOptionsArgs: def __init__(__self__, *, @@ -51330,6 +68487,19 @@ def toggle_buttons_visibility(self, value: Optional[pulumi.Input['DashboardVisib pulumi.set(self, "toggle_buttons_visibility", value) +if not MYPY: + class DashboardPivotTablePaginatedReportOptionsArgsDict(TypedDict): + overflow_column_header_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the repeating header rows on each page. + """ + vertical_overflow_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the printing table overflow across pages. + """ +elif False: + DashboardPivotTablePaginatedReportOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTablePaginatedReportOptionsArgs: def __init__(__self__, *, @@ -51369,6 +68539,19 @@ def vertical_overflow_visibility(self, value: Optional[pulumi.Input['DashboardVi pulumi.set(self, "vertical_overflow_visibility", value) +if not MYPY: + class DashboardPivotTableRowsLabelOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the rows label. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the rows label. + """ +elif False: + DashboardPivotTableRowsLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableRowsLabelOptionsArgs: def __init__(__self__, *, @@ -51408,6 +68591,23 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardPivotTableSortByArgsDict(TypedDict): + column: NotRequired[pulumi.Input['DashboardColumnSortArgsDict']] + """ + The column sort (field id, direction) for the pivot table sort by options. + """ + data_path: NotRequired[pulumi.Input['DashboardDataPathSortArgsDict']] + """ + The data path sort (data path value, direction) for the pivot table sort by options. + """ + field: NotRequired[pulumi.Input['DashboardFieldSortArgsDict']] + """ + The field sort (field id, direction) for the pivot table sort by options. + """ +elif False: + DashboardPivotTableSortByArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableSortByArgs: def __init__(__self__, *, @@ -51463,6 +68663,15 @@ def field(self, value: Optional[pulumi.Input['DashboardFieldSortArgs']]): pulumi.set(self, "field", value) +if not MYPY: + class DashboardPivotTableSortConfigurationArgsDict(TypedDict): + field_sort_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardPivotFieldSortOptionsArgsDict']]]] + """ + The field sort options for a pivot table sort configuration. + """ +elif False: + DashboardPivotTableSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableSortConfigurationArgs: def __init__(__self__, *, @@ -51486,6 +68695,27 @@ def field_sort_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "field_sort_options", value) +if not MYPY: + class DashboardPivotTableTotalOptionsArgsDict(TypedDict): + column_subtotal_options: NotRequired[pulumi.Input['DashboardSubtotalOptionsArgsDict']] + """ + The column subtotal options. + """ + column_total_options: NotRequired[pulumi.Input['DashboardPivotTotalOptionsArgsDict']] + """ + The column total options. + """ + row_subtotal_options: NotRequired[pulumi.Input['DashboardSubtotalOptionsArgsDict']] + """ + The row subtotal options. + """ + row_total_options: NotRequired[pulumi.Input['DashboardPivotTotalOptionsArgsDict']] + """ + The row total options. + """ +elif False: + DashboardPivotTableTotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableTotalOptionsArgs: def __init__(__self__, *, @@ -51557,6 +68787,35 @@ def row_total_options(self, value: Optional[pulumi.Input['DashboardPivotTotalOpt pulumi.set(self, "row_total_options", value) +if not MYPY: + class DashboardPivotTableVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardPivotTableConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + conditional_formatting: NotRequired[pulumi.Input['DashboardPivotTableConditionalFormattingArgsDict']] + """ + The conditional formatting for a `PivotTableVisual` . + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardPivotTableVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTableVisualArgs: def __init__(__self__, *, @@ -51659,6 +68918,43 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardPivotTotalOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the total cells. + """ + metric_header_cell_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The cell styling options for the total of header cells. + """ + placement: NotRequired[pulumi.Input['DashboardTableTotalsPlacement']] + """ + The placement (start, end) for the total cells. + """ + scroll_status: NotRequired[pulumi.Input['DashboardTableTotalsScrollStatus']] + """ + The scroll status (pinned, scrolled) for the total cells. + """ + total_aggregation_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardTotalAggregationOptionArgsDict']]]] + """ + The total aggregation options for each value field. + """ + total_cell_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The cell styling options for the total cells. + """ + totals_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility configuration for the total cells. + """ + value_cell_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The cell styling options for the totals of value cells. + """ +elif False: + DashboardPivotTotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPivotTotalOptionsArgs: def __init__(__self__, *, @@ -51794,6 +69090,23 @@ def value_cell_style(self, value: Optional[pulumi.Input['DashboardTableCellStyle pulumi.set(self, "value_cell_style", value) +if not MYPY: + class DashboardPredefinedHierarchyArgsDict(TypedDict): + columns: pulumi.Input[Sequence[pulumi.Input['DashboardColumnIdentifierArgsDict']]] + """ + The list of columns that define the predefined hierarchy. + """ + hierarchy_id: pulumi.Input[str] + """ + The hierarchy ID of the predefined hierarchy. + """ + drill_down_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDrillDownFilterArgsDict']]]] + """ + The option that determines the drill down filters for the predefined hierarchy. + """ +elif False: + DashboardPredefinedHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPredefinedHierarchyArgs: def __init__(__self__, *, @@ -51847,6 +69160,15 @@ def drill_down_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "drill_down_filters", value) +if not MYPY: + class DashboardProgressBarOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the progress bar. + """ +elif False: + DashboardProgressBarOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardProgressBarOptionsArgs: def __init__(__self__, *, @@ -51870,6 +69192,58 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardPublishOptionsArgsDict(TypedDict): + """ +

Dashboard publish options.

+ """ + ad_hoc_filtering_option: NotRequired[pulumi.Input['DashboardAdHocFilteringOptionArgsDict']] + """ + Ad hoc (one-time) filtering option. + """ + data_point_drill_up_down_option: NotRequired[pulumi.Input['DashboardDataPointDrillUpDownOptionArgsDict']] + """ + The drill-down options of data points in a dashboard. + """ + data_point_menu_label_option: NotRequired[pulumi.Input['DashboardDataPointMenuLabelOptionArgsDict']] + """ + The data point menu label options of a dashboard. + """ + data_point_tooltip_option: NotRequired[pulumi.Input['DashboardDataPointTooltipOptionArgsDict']] + """ + The data point tool tip options of a dashboard. + """ + export_to_csv_option: NotRequired[pulumi.Input['DashboardExportToCsvOptionArgsDict']] + """ + Export to .csv option. + """ + export_with_hidden_fields_option: NotRequired[pulumi.Input['DashboardExportWithHiddenFieldsOptionArgsDict']] + """ + Determines if hidden fields are exported with a dashboard. + """ + sheet_controls_option: NotRequired[pulumi.Input['DashboardSheetControlsOptionArgsDict']] + """ + Sheet controls option. + """ + sheet_layout_element_maximization_option: NotRequired[pulumi.Input['DashboardSheetLayoutElementMaximizationOptionArgsDict']] + """ + The sheet layout maximization options of a dashbaord. + """ + visual_axis_sort_option: NotRequired[pulumi.Input['DashboardVisualAxisSortOptionArgsDict']] + """ + The axis sort options of a dashboard. + """ + visual_menu_option: NotRequired[pulumi.Input['DashboardVisualMenuOptionArgsDict']] + """ + The menu options of a visual in a dashboard. + """ + visual_publish_options: NotRequired[pulumi.Input['DashboardVisualPublishOptionsArgsDict']] + """ + The visual publish options of a visual in a dashboard. + """ +elif False: + DashboardPublishOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardPublishOptionsArgs: def __init__(__self__, *, @@ -52054,6 +69428,23 @@ def visual_publish_options(self, value: Optional[pulumi.Input['DashboardVisualPu pulumi.set(self, "visual_publish_options", value) +if not MYPY: + class DashboardRadarChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The aggregated field well categories of a radar chart. + """ + color: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The color that are assigned to the aggregated field wells of a radar chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The values that are assigned to the aggregated field wells of a radar chart. + """ +elif False: + DashboardRadarChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRadarChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -52109,6 +69500,15 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardRadarChartAreaStyleSettingsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility settings of a radar chart. + """ +elif False: + DashboardRadarChartAreaStyleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRadarChartAreaStyleSettingsArgs: def __init__(__self__, *, @@ -52132,6 +69532,71 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardRadarChartConfigurationArgsDict(TypedDict): + alternate_band_colors_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines the visibility of the colors of alternatign bands in a radar chart. + """ + alternate_band_even_color: NotRequired[pulumi.Input[str]] + """ + The color of the even-numbered alternate bands of a radar chart. + """ + alternate_band_odd_color: NotRequired[pulumi.Input[str]] + """ + The color of the odd-numbered alternate bands of a radar chart. + """ + axes_range_scale: NotRequired[pulumi.Input['DashboardRadarChartAxesRangeScale']] + """ + The axis behavior options of a radar chart. + """ + base_series_settings: NotRequired[pulumi.Input['DashboardRadarChartSeriesSettingsArgsDict']] + """ + The base sreies settings of a radar chart. + """ + category_axis: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The category axis of a radar chart. + """ + category_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The category label options of a radar chart. + """ + color_axis: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The color axis of a radar chart. + """ + color_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The color label options of a radar chart. + """ + field_wells: NotRequired[pulumi.Input['DashboardRadarChartFieldWellsArgsDict']] + """ + The field well configuration of a `RadarChartVisual` . + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + shape: NotRequired[pulumi.Input['DashboardRadarChartShape']] + """ + The shape of the radar chart. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardRadarChartSortConfigurationArgsDict']] + """ + The sort configuration of a `RadarChartVisual` . + """ + start_angle: NotRequired[pulumi.Input[float]] + """ + The start angle of a radar chart's axis. + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + DashboardRadarChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRadarChartConfigurationArgs: def __init__(__self__, *, @@ -52379,6 +69844,15 @@ def visual_palette(self, value: Optional[pulumi.Input['DashboardVisualPaletteArg pulumi.set(self, "visual_palette", value) +if not MYPY: + class DashboardRadarChartFieldWellsArgsDict(TypedDict): + radar_chart_aggregated_field_wells: NotRequired[pulumi.Input['DashboardRadarChartAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a radar chart visual. + """ +elif False: + DashboardRadarChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRadarChartFieldWellsArgs: def __init__(__self__, *, @@ -52402,6 +69876,15 @@ def radar_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashb pulumi.set(self, "radar_chart_aggregated_field_wells", value) +if not MYPY: + class DashboardRadarChartSeriesSettingsArgsDict(TypedDict): + area_style_settings: NotRequired[pulumi.Input['DashboardRadarChartAreaStyleSettingsArgsDict']] + """ + The area style settings of a radar chart. + """ +elif False: + DashboardRadarChartSeriesSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRadarChartSeriesSettingsArgs: def __init__(__self__, *, @@ -52425,6 +69908,27 @@ def area_style_settings(self, value: Optional[pulumi.Input['DashboardRadarChartA pulumi.set(self, "area_style_settings", value) +if not MYPY: + class DashboardRadarChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The category items limit for a radar chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The category sort options of a radar chart. + """ + color_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The color items limit of a radar chart. + """ + color_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The color sort configuration of a radar chart. + """ +elif False: + DashboardRadarChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRadarChartSortConfigurationArgs: def __init__(__self__, *, @@ -52496,6 +70000,35 @@ def color_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dashboa pulumi.set(self, "color_sort", value) +if not MYPY: + class DashboardRadarChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardRadarChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardRadarChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRadarChartVisualArgs: def __init__(__self__, *, @@ -52598,6 +70131,15 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardRangeEndsLabelTypeArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the range ends label. + """ +elif False: + DashboardRangeEndsLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRangeEndsLabelTypeArgs: def __init__(__self__, *, @@ -52621,6 +70163,15 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardReferenceLineCustomLabelConfigurationArgsDict(TypedDict): + custom_label: pulumi.Input[str] + """ + The string text of the custom label. + """ +elif False: + DashboardReferenceLineCustomLabelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardReferenceLineCustomLabelConfigurationArgs: def __init__(__self__, *, @@ -52643,6 +70194,33 @@ def custom_label(self, value: pulumi.Input[str]): pulumi.set(self, "custom_label", value) +if not MYPY: + class DashboardReferenceLineDataConfigurationArgsDict(TypedDict): + axis_binding: NotRequired[pulumi.Input['DashboardAxisBinding']] + """ + The axis binding type of the reference line. Choose one of the following options: + + - `PrimaryY` + - `SecondaryY` + """ + dynamic_configuration: NotRequired[pulumi.Input['DashboardReferenceLineDynamicDataConfigurationArgsDict']] + """ + The dynamic configuration of the reference line data configuration. + """ + series_type: NotRequired[pulumi.Input['DashboardReferenceLineSeriesType']] + """ + The series type of the reference line data configuration. Choose one of the following options: + + - `BAR` + - `LINE` + """ + static_configuration: NotRequired[pulumi.Input['DashboardReferenceLineStaticDataConfigurationArgsDict']] + """ + The static data configuration of the reference line data configuration. + """ +elif False: + DashboardReferenceLineDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardReferenceLineDataConfigurationArgs: def __init__(__self__, *, @@ -52726,6 +70304,23 @@ def static_configuration(self, value: Optional[pulumi.Input['DashboardReferenceL pulumi.set(self, "static_configuration", value) +if not MYPY: + class DashboardReferenceLineDynamicDataConfigurationArgsDict(TypedDict): + calculation: pulumi.Input['DashboardNumericalAggregationFunctionArgsDict'] + """ + The calculation that is used in the dynamic data. + """ + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the dynamic data targets. + """ + measure_aggregation_function: NotRequired[pulumi.Input['DashboardAggregationFunctionArgsDict']] + """ + The aggregation function that is used in the dynamic data. + """ +elif False: + DashboardReferenceLineDynamicDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardReferenceLineDynamicDataConfigurationArgs: def __init__(__self__, *, @@ -52779,6 +70374,42 @@ def measure_aggregation_function(self, value: Optional[pulumi.Input['DashboardAg pulumi.set(self, "measure_aggregation_function", value) +if not MYPY: + class DashboardReferenceLineLabelConfigurationArgsDict(TypedDict): + custom_label_configuration: NotRequired[pulumi.Input['DashboardReferenceLineCustomLabelConfigurationArgsDict']] + """ + The custom label configuration of the label in a reference line. + """ + font_color: NotRequired[pulumi.Input[str]] + """ + The font color configuration of the label in a reference line. + """ + font_configuration: NotRequired[pulumi.Input['DashboardFontConfigurationArgsDict']] + """ + The font configuration of the label in a reference line. + """ + horizontal_position: NotRequired[pulumi.Input['DashboardReferenceLineLabelHorizontalPosition']] + """ + The horizontal position configuration of the label in a reference line. Choose one of the following options: + + - `LEFT` + - `CENTER` + - `RIGHT` + """ + value_label_configuration: NotRequired[pulumi.Input['DashboardReferenceLineValueLabelConfigurationArgsDict']] + """ + The value label configuration of the label in a reference line. + """ + vertical_position: NotRequired[pulumi.Input['DashboardReferenceLineLabelVerticalPosition']] + """ + The vertical position configuration of the label in a reference line. Choose one of the following options: + + - `ABOVE` + - `BELOW` + """ +elif False: + DashboardReferenceLineLabelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardReferenceLineLabelConfigurationArgs: def __init__(__self__, *, @@ -52896,6 +70527,15 @@ def vertical_position(self, value: Optional[pulumi.Input['DashboardReferenceLine pulumi.set(self, "vertical_position", value) +if not MYPY: + class DashboardReferenceLineStaticDataConfigurationArgsDict(TypedDict): + value: pulumi.Input[float] + """ + The double input of the static data. + """ +elif False: + DashboardReferenceLineStaticDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardReferenceLineStaticDataConfigurationArgs: def __init__(__self__, *, @@ -52918,6 +70558,23 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardReferenceLineStyleConfigurationArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The hex color of the reference line. + """ + pattern: NotRequired[pulumi.Input['DashboardReferenceLinePatternType']] + """ + The pattern type of the line style. Choose one of the following options: + + - `SOLID` + - `DASHED` + - `DOTTED` + """ +elif False: + DashboardReferenceLineStyleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardReferenceLineStyleConfigurationArgs: def __init__(__self__, *, @@ -52965,6 +70622,22 @@ def pattern(self, value: Optional[pulumi.Input['DashboardReferenceLinePatternTyp pulumi.set(self, "pattern", value) +if not MYPY: + class DashboardReferenceLineValueLabelConfigurationArgsDict(TypedDict): + format_configuration: NotRequired[pulumi.Input['DashboardNumericFormatConfigurationArgsDict']] + """ + The format configuration of the value label. + """ + relative_position: NotRequired[pulumi.Input['DashboardReferenceLineValueLabelRelativePosition']] + """ + The relative position of the value label. Choose one of the following options: + + - `BEFORE_CUSTOM_LABEL` + - `AFTER_CUSTOM_LABEL` + """ +elif False: + DashboardReferenceLineValueLabelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardReferenceLineValueLabelConfigurationArgs: def __init__(__self__, *, @@ -53010,6 +70683,30 @@ def relative_position(self, value: Optional[pulumi.Input['DashboardReferenceLine pulumi.set(self, "relative_position", value) +if not MYPY: + class DashboardReferenceLineArgsDict(TypedDict): + data_configuration: pulumi.Input['DashboardReferenceLineDataConfigurationArgsDict'] + """ + The data configuration of the reference line. + """ + label_configuration: NotRequired[pulumi.Input['DashboardReferenceLineLabelConfigurationArgsDict']] + """ + The label configuration of the reference line. + """ + status: NotRequired[pulumi.Input['DashboardWidgetStatus']] + """ + The status of the reference line. Choose one of the following options: + + - `ENABLE` + - `DISABLE` + """ + style_configuration: NotRequired[pulumi.Input['DashboardReferenceLineStyleConfigurationArgsDict']] + """ + The style configuration of the reference line. + """ +elif False: + DashboardReferenceLineArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardReferenceLineArgs: def __init__(__self__, *, @@ -53086,6 +70783,23 @@ def style_configuration(self, value: Optional[pulumi.Input['DashboardReferenceLi pulumi.set(self, "style_configuration", value) +if not MYPY: + class DashboardRelativeDateTimeControlDisplayOptionsArgsDict(TypedDict): + date_time_format: NotRequired[pulumi.Input[str]] + """ + Customize how dates are formatted in controls. + """ + info_icon_label_options: NotRequired[pulumi.Input['DashboardSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + title_options: NotRequired[pulumi.Input['DashboardLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + DashboardRelativeDateTimeControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRelativeDateTimeControlDisplayOptionsArgs: def __init__(__self__, *, @@ -53141,6 +70855,65 @@ def title_options(self, value: Optional[pulumi.Input['DashboardLabelOptionsArgs' pulumi.set(self, "title_options", value) +if not MYPY: + class DashboardRelativeDatesFilterArgsDict(TypedDict): + anchor_date_configuration: pulumi.Input['DashboardAnchorDateConfigurationArgsDict'] + """ + The date configuration of the filter. + """ + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + null_option: pulumi.Input['DashboardFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + relative_date_type: pulumi.Input['DashboardRelativeDateType'] + """ + The range date type of the filter. Choose one of the options below: + + - `PREVIOUS` + - `THIS` + - `LAST` + - `NOW` + - `NEXT` + """ + time_granularity: pulumi.Input['DashboardTimeGranularity'] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['DashboardDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + exclude_period_configuration: NotRequired[pulumi.Input['DashboardExcludePeriodConfigurationArgsDict']] + """ + The configuration for the exclude period of the filter. + """ + minimum_granularity: NotRequired[pulumi.Input['DashboardTimeGranularity']] + """ + The minimum granularity (period granularity) of the relative dates filter. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + """ + relative_date_value: NotRequired[pulumi.Input[float]] + """ + The date value of the filter. + """ +elif False: + DashboardRelativeDatesFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRelativeDatesFilterArgs: def __init__(__self__, *, @@ -53338,6 +71111,36 @@ def relative_date_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "relative_date_value", value) +if not MYPY: + class DashboardResourcePermissionArgsDict(TypedDict): + """ +

Permission for the resource.

+ """ + actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The IAM action to grant or revoke permissions on.

+ """ + principal: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the principal. This can be one of the + following:

+
    +
  • +

    The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight + ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. + (This is less common.)

    +
  • +
+ """ +elif False: + DashboardResourcePermissionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardResourcePermissionArgs: def __init__(__self__, *, @@ -53404,6 +71207,19 @@ def principal(self, value: pulumi.Input[str]): pulumi.set(self, "principal", value) +if not MYPY: + class DashboardRollingDateConfigurationArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression of the rolling date configuration. + """ + data_set_identifier: NotRequired[pulumi.Input[str]] + """ + The data set that is used in the rolling date configuration. + """ +elif False: + DashboardRollingDateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRollingDateConfigurationArgs: def __init__(__self__, *, @@ -53442,6 +71258,23 @@ def data_set_identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "data_set_identifier", value) +if not MYPY: + class DashboardRowAlternateColorOptionsArgsDict(TypedDict): + row_alternate_colors: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Determines the list of row alternate colors. + """ + status: NotRequired[pulumi.Input['DashboardWidgetStatus']] + """ + Determines the widget status. + """ + use_primary_background_color: NotRequired[pulumi.Input['DashboardWidgetStatus']] + """ + The primary background color options for alternate rows. + """ +elif False: + DashboardRowAlternateColorOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardRowAlternateColorOptionsArgs: def __init__(__self__, *, @@ -53497,6 +71330,23 @@ def use_primary_background_color(self, value: Optional[pulumi.Input['DashboardWi pulumi.set(self, "use_primary_background_color", value) +if not MYPY: + class DashboardSameSheetTargetVisualConfigurationArgsDict(TypedDict): + target_visual_options: NotRequired[pulumi.Input['DashboardTargetVisualOptions']] + """ + The options that choose the target visual in the same sheet. + + Valid values are defined as follows: + + - `ALL_VISUALS` : Applies the filter operation to all visuals in the same sheet. + """ + target_visuals: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the target visual IDs that are located in the same sheet of the analysis. + """ +elif False: + DashboardSameSheetTargetVisualConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSameSheetTargetVisualConfigurationArgs: def __init__(__self__, *, @@ -53544,6 +71394,23 @@ def target_visuals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] pulumi.set(self, "target_visuals", value) +if not MYPY: + class DashboardSankeyDiagramAggregatedFieldWellsArgsDict(TypedDict): + destination: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The destination field wells of a sankey diagram. + """ + source: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The source field wells of a sankey diagram. + """ + weight: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The weight field wells of a sankey diagram. + """ +elif False: + DashboardSankeyDiagramAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSankeyDiagramAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -53599,6 +71466,23 @@ def weight(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "weight", value) +if not MYPY: + class DashboardSankeyDiagramChartConfigurationArgsDict(TypedDict): + data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The data label configuration of a sankey diagram. + """ + field_wells: NotRequired[pulumi.Input['DashboardSankeyDiagramFieldWellsArgsDict']] + """ + The field well configuration of a sankey diagram. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardSankeyDiagramSortConfigurationArgsDict']] + """ + The sort configuration of a sankey diagram. + """ +elif False: + DashboardSankeyDiagramChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSankeyDiagramChartConfigurationArgs: def __init__(__self__, *, @@ -53654,6 +71538,15 @@ def sort_configuration(self, value: Optional[pulumi.Input['DashboardSankeyDiagra pulumi.set(self, "sort_configuration", value) +if not MYPY: + class DashboardSankeyDiagramFieldWellsArgsDict(TypedDict): + sankey_diagram_aggregated_field_wells: NotRequired[pulumi.Input['DashboardSankeyDiagramAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a sankey diagram. + """ +elif False: + DashboardSankeyDiagramFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSankeyDiagramFieldWellsArgs: def __init__(__self__, *, @@ -53677,6 +71570,23 @@ def sankey_diagram_aggregated_field_wells(self, value: Optional[pulumi.Input['Da pulumi.set(self, "sankey_diagram_aggregated_field_wells", value) +if not MYPY: + class DashboardSankeyDiagramSortConfigurationArgsDict(TypedDict): + destination_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of destination nodes that are displayed in a sankey diagram. + """ + source_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of source nodes that are displayed in a sankey diagram. + """ + weight_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the weight fields. + """ +elif False: + DashboardSankeyDiagramSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSankeyDiagramSortConfigurationArgs: def __init__(__self__, *, @@ -53732,6 +71642,31 @@ def weight_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dashbo pulumi.set(self, "weight_sort", value) +if not MYPY: + class DashboardSankeyDiagramVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardSankeyDiagramChartConfigurationArgsDict']] + """ + The configuration of a sankey diagram. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardSankeyDiagramVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSankeyDiagramVisualArgs: def __init__(__self__, *, @@ -53818,6 +71753,35 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardScatterPlotCategoricallyAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The category field well of a scatter plot. + """ + label: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The label field well of a scatter plot. + """ + size: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The size field well of a scatter plot. + """ + x_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The x-axis field well of a scatter plot. + + The x-axis is aggregated by category. + """ + y_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The y-axis field well of a scatter plot. + + The y-axis is aggregated by category. + """ +elif False: + DashboardScatterPlotCategoricallyAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardScatterPlotCategoricallyAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -53913,6 +71877,47 @@ def y_axis(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "y_axis", value) +if not MYPY: + class DashboardScatterPlotConfigurationArgsDict(TypedDict): + data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['DashboardScatterPlotFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ + x_axis_display_options: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, and axis step) of the scatter plot's x-axis. + """ + x_axis_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of the scatter plot's x-axis. + """ + y_axis_display_options: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, and axis step) of the scatter plot's y-axis. + """ + y_axis_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of the scatter plot's y-axis. + """ +elif False: + DashboardScatterPlotConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardScatterPlotConfigurationArgs: def __init__(__self__, *, @@ -54064,6 +72069,19 @@ def y_axis_label_options(self, value: Optional[pulumi.Input['DashboardChartAxisL pulumi.set(self, "y_axis_label_options", value) +if not MYPY: + class DashboardScatterPlotFieldWellsArgsDict(TypedDict): + scatter_plot_categorically_aggregated_field_wells: NotRequired[pulumi.Input['DashboardScatterPlotCategoricallyAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a scatter plot. The x and y-axes of scatter plots with aggregated field wells are aggregated by category, label, or both. + """ + scatter_plot_unaggregated_field_wells: NotRequired[pulumi.Input['DashboardScatterPlotUnaggregatedFieldWellsArgsDict']] + """ + The unaggregated field wells of a scatter plot. The x and y-axes of these scatter plots are unaggregated. + """ +elif False: + DashboardScatterPlotFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardScatterPlotFieldWellsArgs: def __init__(__self__, *, @@ -54103,6 +72121,35 @@ def scatter_plot_unaggregated_field_wells(self, value: Optional[pulumi.Input['Da pulumi.set(self, "scatter_plot_unaggregated_field_wells", value) +if not MYPY: + class DashboardScatterPlotUnaggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The category field well of a scatter plot. + """ + label: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The label field well of a scatter plot. + """ + size: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The size field well of a scatter plot. + """ + x_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The x-axis field well of a scatter plot. + + The x-axis is a dimension field and cannot be aggregated. + """ + y_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The y-axis field well of a scatter plot. + + The y-axis is a dimension field and cannot be aggregated. + """ +elif False: + DashboardScatterPlotUnaggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardScatterPlotUnaggregatedFieldWellsArgs: def __init__(__self__, *, @@ -54198,6 +72245,35 @@ def y_axis(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardDi pulumi.set(self, "y_axis", value) +if not MYPY: + class DashboardScatterPlotVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardScatterPlotConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardScatterPlotVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardScatterPlotVisualArgs: def __init__(__self__, *, @@ -54300,6 +72376,19 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardScrollBarOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the data zoom scroll bar. + """ + visible_range: NotRequired[pulumi.Input['DashboardVisibleRangeOptionsArgsDict']] + """ + The visibility range for the data zoom scroll bar. + """ +elif False: + DashboardScrollBarOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardScrollBarOptionsArgs: def __init__(__self__, *, @@ -54339,6 +72428,15 @@ def visible_range(self, value: Optional[pulumi.Input['DashboardVisibleRangeOptio pulumi.set(self, "visible_range", value) +if not MYPY: + class DashboardSecondaryValueOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines the visibility of the secondary value. + """ +elif False: + DashboardSecondaryValueOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSecondaryValueOptionsArgs: def __init__(__self__, *, @@ -54362,6 +72460,15 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardSectionAfterPageBreakArgsDict(TypedDict): + status: NotRequired[pulumi.Input['DashboardSectionPageBreakStatus']] + """ + The option that enables or disables a page break at the end of a section. + """ +elif False: + DashboardSectionAfterPageBreakArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSectionAfterPageBreakArgs: def __init__(__self__, *, @@ -54385,6 +72492,15 @@ def status(self, value: Optional[pulumi.Input['DashboardSectionPageBreakStatus'] pulumi.set(self, "status", value) +if not MYPY: + class DashboardSectionBasedLayoutCanvasSizeOptionsArgsDict(TypedDict): + paper_canvas_size_options: NotRequired[pulumi.Input['DashboardSectionBasedLayoutPaperCanvasSizeOptionsArgsDict']] + """ + The options for a paper canvas of a section-based layout. + """ +elif False: + DashboardSectionBasedLayoutCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSectionBasedLayoutCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -54408,6 +72524,27 @@ def paper_canvas_size_options(self, value: Optional[pulumi.Input['DashboardSecti pulumi.set(self, "paper_canvas_size_options", value) +if not MYPY: + class DashboardSectionBasedLayoutConfigurationArgsDict(TypedDict): + body_sections: pulumi.Input[Sequence[pulumi.Input['DashboardBodySectionConfigurationArgsDict']]] + """ + A list of body section configurations. + """ + canvas_size_options: pulumi.Input['DashboardSectionBasedLayoutCanvasSizeOptionsArgsDict'] + """ + The options for the canvas of a section-based layout. + """ + footer_sections: pulumi.Input[Sequence[pulumi.Input['DashboardHeaderFooterSectionConfigurationArgsDict']]] + """ + A list of footer section configurations. + """ + header_sections: pulumi.Input[Sequence[pulumi.Input['DashboardHeaderFooterSectionConfigurationArgsDict']]] + """ + A list of header section configurations. + """ +elif False: + DashboardSectionBasedLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSectionBasedLayoutConfigurationArgs: def __init__(__self__, *, @@ -54475,6 +72612,26 @@ def header_sections(self, value: pulumi.Input[Sequence[pulumi.Input['DashboardHe pulumi.set(self, "header_sections", value) +if not MYPY: + class DashboardSectionBasedLayoutPaperCanvasSizeOptionsArgsDict(TypedDict): + paper_margin: NotRequired[pulumi.Input['DashboardSpacingArgsDict']] + """ + Defines the spacing between the canvas content and the top, bottom, left, and right edges. + """ + paper_orientation: NotRequired[pulumi.Input['DashboardPaperOrientation']] + """ + The paper orientation that is used to define canvas dimensions. Choose one of the following options: + + - PORTRAIT + - LANDSCAPE + """ + paper_size: NotRequired[pulumi.Input['DashboardPaperSize']] + """ + The paper size that is used to define canvas dimensions. + """ +elif False: + DashboardSectionBasedLayoutPaperCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSectionBasedLayoutPaperCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -54536,6 +72693,15 @@ def paper_size(self, value: Optional[pulumi.Input['DashboardPaperSize']]): pulumi.set(self, "paper_size", value) +if not MYPY: + class DashboardSectionLayoutConfigurationArgsDict(TypedDict): + free_form_layout: pulumi.Input['DashboardFreeFormSectionLayoutConfigurationArgsDict'] + """ + The free-form layout configuration of a section. + """ +elif False: + DashboardSectionLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSectionLayoutConfigurationArgs: def __init__(__self__, *, @@ -54558,6 +72724,15 @@ def free_form_layout(self, value: pulumi.Input['DashboardFreeFormSectionLayoutCo pulumi.set(self, "free_form_layout", value) +if not MYPY: + class DashboardSectionPageBreakConfigurationArgsDict(TypedDict): + after: NotRequired[pulumi.Input['DashboardSectionAfterPageBreakArgsDict']] + """ + The configuration of a page break after a section. + """ +elif False: + DashboardSectionPageBreakConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSectionPageBreakConfigurationArgs: def __init__(__self__, *, @@ -54581,6 +72756,21 @@ def after(self, value: Optional[pulumi.Input['DashboardSectionAfterPageBreakArgs pulumi.set(self, "after", value) +if not MYPY: + class DashboardSectionStyleArgsDict(TypedDict): + height: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + padding: NotRequired[pulumi.Input['DashboardSpacingArgsDict']] + """ + The spacing between section content and its top, bottom, left, and right edges. + + There is no padding by default. + """ +elif False: + DashboardSectionStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSectionStyleArgs: def __init__(__self__, *, @@ -54624,6 +72814,15 @@ def padding(self, value: Optional[pulumi.Input['DashboardSpacingArgs']]): pulumi.set(self, "padding", value) +if not MYPY: + class DashboardSelectedSheetsFilterScopeConfigurationArgsDict(TypedDict): + sheet_visual_scoping_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardSheetVisualScopingConfigurationArgsDict']]]] + """ + The sheet ID and visual IDs of the sheet and visuals that the filter is applied to. + """ +elif False: + DashboardSelectedSheetsFilterScopeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSelectedSheetsFilterScopeConfigurationArgs: def __init__(__self__, *, @@ -54647,6 +72846,19 @@ def sheet_visual_scoping_configurations(self, value: Optional[pulumi.Input[Seque pulumi.set(self, "sheet_visual_scoping_configurations", value) +if not MYPY: + class DashboardSeriesItemArgsDict(TypedDict): + data_field_series_item: NotRequired[pulumi.Input['DashboardDataFieldSeriesItemArgsDict']] + """ + The data field series item configuration of a line chart. + """ + field_series_item: NotRequired[pulumi.Input['DashboardFieldSeriesItemArgsDict']] + """ + The field series item configuration of a line chart. + """ +elif False: + DashboardSeriesItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSeriesItemArgs: def __init__(__self__, *, @@ -54686,6 +72898,16 @@ def field_series_item(self, value: Optional[pulumi.Input['DashboardFieldSeriesIt pulumi.set(self, "field_series_item", value) +if not MYPY: + class DashboardSetParameterValueConfigurationArgsDict(TypedDict): + destination_parameter_name: pulumi.Input[str] + """ + The destination parameter name of the `SetParameterValueConfiguration` . + """ + value: pulumi.Input['DashboardDestinationParameterValueConfigurationArgsDict'] +elif False: + DashboardSetParameterValueConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSetParameterValueConfigurationArgs: def __init__(__self__, *, @@ -54719,6 +72941,15 @@ def value(self, value: pulumi.Input['DashboardDestinationParameterValueConfigura pulumi.set(self, "value", value) +if not MYPY: + class DashboardShapeConditionalFormatArgsDict(TypedDict): + background_color: pulumi.Input['DashboardConditionalFormattingColorArgsDict'] + """ + The conditional formatting for the shape background color of a filled map visual. + """ +elif False: + DashboardShapeConditionalFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardShapeConditionalFormatArgs: def __init__(__self__, *, @@ -54741,6 +72972,19 @@ def background_color(self, value: pulumi.Input['DashboardConditionalFormattingCo pulumi.set(self, "background_color", value) +if not MYPY: + class DashboardSheetControlInfoIconLabelOptionsArgsDict(TypedDict): + info_icon_text: NotRequired[pulumi.Input[str]] + """ + The text content of info icon. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility configuration of info icon label options. + """ +elif False: + DashboardSheetControlInfoIconLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSheetControlInfoIconLabelOptionsArgs: def __init__(__self__, *, @@ -54780,6 +73024,15 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardSheetControlLayoutConfigurationArgsDict(TypedDict): + grid_layout: NotRequired[pulumi.Input['DashboardGridLayoutConfigurationArgsDict']] + """ + The configuration that determines the elements and canvas size options of sheet control. + """ +elif False: + DashboardSheetControlLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSheetControlLayoutConfigurationArgs: def __init__(__self__, *, @@ -54803,6 +73056,15 @@ def grid_layout(self, value: Optional[pulumi.Input['DashboardGridLayoutConfigura pulumi.set(self, "grid_layout", value) +if not MYPY: + class DashboardSheetControlLayoutArgsDict(TypedDict): + configuration: pulumi.Input['DashboardSheetControlLayoutConfigurationArgsDict'] + """ + The configuration that determines the elements and canvas size options of sheet control. + """ +elif False: + DashboardSheetControlLayoutArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSheetControlLayoutArgs: def __init__(__self__, *, @@ -54825,6 +73087,18 @@ def configuration(self, value: pulumi.Input['DashboardSheetControlLayoutConfigur pulumi.set(self, "configuration", value) +if not MYPY: + class DashboardSheetControlsOptionArgsDict(TypedDict): + """ +

Sheet controls option.

+ """ + visibility_state: NotRequired[pulumi.Input['DashboardUiState']] + """ + Visibility state. + """ +elif False: + DashboardSheetControlsOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSheetControlsOptionArgs: def __init__(__self__, *, @@ -54849,6 +73123,64 @@ def visibility_state(self, value: Optional[pulumi.Input['DashboardUiState']]): pulumi.set(self, "visibility_state", value) +if not MYPY: + class DashboardSheetDefinitionArgsDict(TypedDict): + sheet_id: pulumi.Input[str] + """ + The unique identifier of a sheet. + """ + content_type: NotRequired[pulumi.Input['DashboardSheetContentType']] + """ + The layout content type of the sheet. Choose one of the following options: + + - `PAGINATED` : Creates a sheet for a paginated report. + - `INTERACTIVE` : Creates a sheet for an interactive dashboard. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description of the sheet. + """ + filter_controls: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFilterControlArgsDict']]]] + """ + The list of filter controls that are on a sheet. + + For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* . + """ + layouts: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardLayoutArgsDict']]]] + """ + Layouts define how the components of a sheet are arranged. + + For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* . + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the sheet. This name is displayed on the sheet's tab in the Amazon QuickSight console. + """ + parameter_controls: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardParameterControlArgsDict']]]] + """ + The list of parameter controls that are on a sheet. + + For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* . + """ + sheet_control_layouts: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardSheetControlLayoutArgsDict']]]] + """ + The control layouts of the sheet. + """ + text_boxes: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardSheetTextBoxArgsDict']]]] + """ + The text boxes that are on a sheet. + """ + title: NotRequired[pulumi.Input[str]] + """ + The title of the sheet. + """ + visuals: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualArgsDict']]]] + """ + A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet. + """ +elif False: + DashboardSheetDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSheetDefinitionArgs: def __init__(__self__, *, @@ -55049,6 +73381,18 @@ def visuals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardV pulumi.set(self, "visuals", value) +if not MYPY: + class DashboardSheetElementConfigurationOverridesArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines whether or not the overrides are visible. Choose one of the following options: + + - `VISIBLE` + - `HIDDEN` + """ +elif False: + DashboardSheetElementConfigurationOverridesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSheetElementConfigurationOverridesArgs: def __init__(__self__, *, @@ -55078,6 +73422,19 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardSheetElementRenderingRuleArgsDict(TypedDict): + configuration_overrides: pulumi.Input['DashboardSheetElementConfigurationOverridesArgsDict'] + """ + The override configuration of the rendering rules of a sheet. + """ + expression: pulumi.Input[str] + """ + The expression of the rendering rules of a sheet. + """ +elif False: + DashboardSheetElementRenderingRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSheetElementRenderingRuleArgs: def __init__(__self__, *, @@ -55115,6 +73472,18 @@ def expression(self, value: pulumi.Input[str]): pulumi.set(self, "expression", value) +if not MYPY: + class DashboardSheetLayoutElementMaximizationOptionArgsDict(TypedDict): + """ +

The sheet layout maximization options of a dashbaord.

+ """ + availability_status: NotRequired[pulumi.Input['DashboardBehavior']] + """ + The status of the sheet layout maximization options of a dashbaord. + """ +elif False: + DashboardSheetLayoutElementMaximizationOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSheetLayoutElementMaximizationOptionArgs: def __init__(__self__, *, @@ -55139,6 +73508,19 @@ def availability_status(self, value: Optional[pulumi.Input['DashboardBehavior']] pulumi.set(self, "availability_status", value) +if not MYPY: + class DashboardSheetTextBoxArgsDict(TypedDict): + sheet_text_box_id: pulumi.Input[str] + """ + The unique identifier for a text box. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers. + """ + content: NotRequired[pulumi.Input[str]] + """ + The content that is displayed in the text box. + """ +elif False: + DashboardSheetTextBoxArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSheetTextBoxArgs: def __init__(__self__, *, @@ -55177,6 +73559,26 @@ def content(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "content", value) +if not MYPY: + class DashboardSheetVisualScopingConfigurationArgsDict(TypedDict): + scope: pulumi.Input['DashboardFilterVisualScope'] + """ + The scope of the applied entities. Choose one of the following options: + + - `ALL_VISUALS` + - `SELECTED_VISUALS` + """ + sheet_id: pulumi.Input[str] + """ + The selected sheet that the filter is applied to. + """ + visual_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The selected visuals that the filter is applied to. + """ +elif False: + DashboardSheetVisualScopingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSheetVisualScopingConfigurationArgs: def __init__(__self__, *, @@ -55236,6 +73638,19 @@ def visual_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "visual_ids", value) +if not MYPY: + class DashboardShortFormatTextArgsDict(TypedDict): + plain_text: NotRequired[pulumi.Input[str]] + """ + Plain text format. + """ + rich_text: NotRequired[pulumi.Input[str]] + """ + Rich text. Examples of rich text include bold, underline, and italics. + """ +elif False: + DashboardShortFormatTextArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardShortFormatTextArgs: def __init__(__self__, *, @@ -55275,6 +73690,15 @@ def rich_text(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "rich_text", value) +if not MYPY: + class DashboardSimpleClusterMarkerArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The color of the simple cluster marker. + """ +elif False: + DashboardSimpleClusterMarkerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSimpleClusterMarkerArgs: def __init__(__self__, *, @@ -55298,6 +73722,15 @@ def color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "color", value) +if not MYPY: + class DashboardSingleAxisOptionsArgsDict(TypedDict): + y_axis_options: NotRequired[pulumi.Input['DashboardYAxisOptionsArgsDict']] + """ + The Y axis options of a single axis configuration. + """ +elif False: + DashboardSingleAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSingleAxisOptionsArgs: def __init__(__self__, *, @@ -55321,6 +73754,19 @@ def y_axis_options(self, value: Optional[pulumi.Input['DashboardYAxisOptionsArgs pulumi.set(self, "y_axis_options", value) +if not MYPY: + class DashboardSliderControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['DashboardSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + title_options: NotRequired[pulumi.Input['DashboardLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + DashboardSliderControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSliderControlDisplayOptionsArgs: def __init__(__self__, *, @@ -55360,6 +73806,19 @@ def title_options(self, value: Optional[pulumi.Input['DashboardLabelOptionsArgs' pulumi.set(self, "title_options", value) +if not MYPY: + class DashboardSmallMultiplesAxisPropertiesArgsDict(TypedDict): + placement: NotRequired[pulumi.Input['DashboardSmallMultiplesAxisPlacement']] + """ + Defines the placement of the axis. By default, axes are rendered `OUTSIDE` of the panels. Axes with `INDEPENDENT` scale are rendered `INSIDE` the panels. + """ + scale: NotRequired[pulumi.Input['DashboardSmallMultiplesAxisScale']] + """ + Determines whether scale of the axes are shared or independent. The default value is `SHARED` . + """ +elif False: + DashboardSmallMultiplesAxisPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSmallMultiplesAxisPropertiesArgs: def __init__(__self__, *, @@ -55399,6 +73858,35 @@ def scale(self, value: Optional[pulumi.Input['DashboardSmallMultiplesAxisScale'] pulumi.set(self, "scale", value) +if not MYPY: + class DashboardSmallMultiplesOptionsArgsDict(TypedDict): + max_visible_columns: NotRequired[pulumi.Input[float]] + """ + Sets the maximum number of visible columns to display in the grid of small multiples panels. + + The default is `Auto` , which automatically adjusts the columns in the grid to fit the overall layout and size of the given chart. + """ + max_visible_rows: NotRequired[pulumi.Input[float]] + """ + Sets the maximum number of visible rows to display in the grid of small multiples panels. + + The default value is `Auto` , which automatically adjusts the rows in the grid to fit the overall layout and size of the given chart. + """ + panel_configuration: NotRequired[pulumi.Input['DashboardPanelConfigurationArgsDict']] + """ + Configures the display options for each small multiples panel. + """ + x_axis: NotRequired[pulumi.Input['DashboardSmallMultiplesAxisPropertiesArgsDict']] + """ + The properties of a small multiples X axis. + """ + y_axis: NotRequired[pulumi.Input['DashboardSmallMultiplesAxisPropertiesArgsDict']] + """ + The properties of a small multiples Y axis. + """ +elif False: + DashboardSmallMultiplesOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSmallMultiplesOptionsArgs: def __init__(__self__, *, @@ -55494,6 +73982,18 @@ def y_axis(self, value: Optional[pulumi.Input['DashboardSmallMultiplesAxisProper pulumi.set(self, "y_axis", value) +if not MYPY: + class DashboardSourceEntityArgsDict(TypedDict): + """ +

Dashboard source entity.

+ """ + source_template: NotRequired[pulumi.Input['DashboardSourceTemplateArgsDict']] + """ + Source template. + """ +elif False: + DashboardSourceEntityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSourceEntityArgs: def __init__(__self__, *, @@ -55518,6 +74018,22 @@ def source_template(self, value: Optional[pulumi.Input['DashboardSourceTemplateA pulumi.set(self, "source_template", value) +if not MYPY: + class DashboardSourceTemplateArgsDict(TypedDict): + """ +

Dashboard source template.

+ """ + arn: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the resource.

+ """ + data_set_references: pulumi.Input[Sequence[pulumi.Input['DashboardDataSetReferenceArgsDict']]] + """ +

Dataset references.

+ """ +elif False: + DashboardSourceTemplateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSourceTemplateArgs: def __init__(__self__, *, @@ -55556,6 +74072,27 @@ def data_set_references(self, value: pulumi.Input[Sequence[pulumi.Input['Dashboa pulumi.set(self, "data_set_references", value) +if not MYPY: + class DashboardSpacingArgsDict(TypedDict): + bottom: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ + left: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ + right: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ + top: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ +elif False: + DashboardSpacingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSpacingArgs: def __init__(__self__, *, @@ -55627,6 +74164,19 @@ def top(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "top", value) +if not MYPY: + class DashboardStringDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['DashboardDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `StringDefaultValues` . Different defaults displayed according to users, groups, and values mapping. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The static values of the `DecimalDefaultValues` . + """ +elif False: + DashboardStringDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardStringDefaultValuesArgs: def __init__(__self__, *, @@ -55666,6 +74216,19 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "static_values", value) +if not MYPY: + class DashboardStringFormatConfigurationArgsDict(TypedDict): + null_value_format_configuration: NotRequired[pulumi.Input['DashboardNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + numeric_format_configuration: NotRequired[pulumi.Input['DashboardNumericFormatConfigurationArgsDict']] + """ + The formatting configuration for numeric strings. + """ +elif False: + DashboardStringFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardStringFormatConfigurationArgs: def __init__(__self__, *, @@ -55705,6 +74268,28 @@ def numeric_format_configuration(self, value: Optional[pulumi.Input['DashboardNu pulumi.set(self, "numeric_format_configuration", value) +if not MYPY: + class DashboardStringParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + parameter_value_type: pulumi.Input['DashboardParameterValueType'] + """ + The value type determines whether the parameter is a single-value or multi-value parameter. + """ + default_values: NotRequired[pulumi.Input['DashboardStringDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMappedDataSetParameterArgsDict']]]] + value_when_unset: NotRequired[pulumi.Input['DashboardStringValueWhenUnsetConfigurationArgsDict']] + """ + The configuration that defines the default value of a `String` parameter when a value has not been set. + """ +elif False: + DashboardStringParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardStringParameterDeclarationArgs: def __init__(__self__, *, @@ -55786,6 +74371,22 @@ def value_when_unset(self, value: Optional[pulumi.Input['DashboardStringValueWhe pulumi.set(self, "value_when_unset", value) +if not MYPY: + class DashboardStringParameterArgsDict(TypedDict): + """ +

A string parameter.

+ """ + name: pulumi.Input[str] + """ +

A display name for a string parameter.

+ """ + values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The values of a string parameter.

+ """ +elif False: + DashboardStringParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardStringParameterArgs: def __init__(__self__, *, @@ -55824,6 +74425,22 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class DashboardStringValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[str]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['DashboardValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + DashboardStringValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardStringValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -55869,6 +74486,43 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['DashboardValueWh pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class DashboardSubtotalOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the subtotal cells. + """ + field_level: NotRequired[pulumi.Input['DashboardPivotTableSubtotalLevel']] + """ + The field level (all, custom, last) for the subtotal cells. + """ + field_level_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardPivotTableFieldSubtotalOptionsArgsDict']]]] + """ + The optional configuration of subtotal cells. + """ + metric_header_cell_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The cell styling options for the subtotals of header cells. + """ + style_targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardTableStyleTargetArgsDict']]]] + """ + The style targets options for subtotals. + """ + total_cell_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The cell styling options for the subtotal cells. + """ + totals_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility configuration for the subtotal cells. + """ + value_cell_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The cell styling options for the subtotals of value cells. + """ +elif False: + DashboardSubtotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardSubtotalOptionsArgs: def __init__(__self__, *, @@ -56004,6 +74658,19 @@ def value_cell_style(self, value: Optional[pulumi.Input['DashboardTableCellStyle pulumi.set(self, "value_cell_style", value) +if not MYPY: + class DashboardTableAggregatedFieldWellsArgsDict(TypedDict): + group_by: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The group by field well for a pivot table. Values are grouped by group by fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The values field well for a pivot table. Values are aggregated based on group by fields. + """ +elif False: + DashboardTableAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -56043,6 +74710,23 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardTableBorderOptionsArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The color of a table border. + """ + style: NotRequired[pulumi.Input['DashboardTableBorderStyle']] + """ + The style (none, solid) of a table border. + """ + thickness: NotRequired[pulumi.Input[float]] + """ + The thickness of a table border. + """ +elif False: + DashboardTableBorderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableBorderOptionsArgs: def __init__(__self__, *, @@ -56098,6 +74782,19 @@ def thickness(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "thickness", value) +if not MYPY: + class DashboardTableCellConditionalFormattingArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the cell for conditional formatting. + """ + text_format: NotRequired[pulumi.Input['DashboardTextConditionalFormatArgsDict']] + """ + The text format of the cell for conditional formatting. + """ +elif False: + DashboardTableCellConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableCellConditionalFormattingArgs: def __init__(__self__, *, @@ -56136,6 +74833,15 @@ def text_format(self, value: Optional[pulumi.Input['DashboardTextConditionalForm pulumi.set(self, "text_format", value) +if not MYPY: + class DashboardTableCellImageSizingConfigurationArgsDict(TypedDict): + table_cell_image_scaling_configuration: NotRequired[pulumi.Input['DashboardTableCellImageScalingConfiguration']] + """ + The cell scaling configuration of the sizing options for the table image configuration. + """ +elif False: + DashboardTableCellImageSizingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableCellImageSizingConfigurationArgs: def __init__(__self__, *, @@ -56159,6 +74865,43 @@ def table_cell_image_scaling_configuration(self, value: Optional[pulumi.Input['D pulumi.set(self, "table_cell_image_scaling_configuration", value) +if not MYPY: + class DashboardTableCellStyleArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input[str]] + """ + The background color for the table cells. + """ + border: NotRequired[pulumi.Input['DashboardGlobalTableBorderOptionsArgsDict']] + """ + The borders for the table cells. + """ + font_configuration: NotRequired[pulumi.Input['DashboardFontConfigurationArgsDict']] + """ + The font configuration of the table cells. + """ + height: NotRequired[pulumi.Input[float]] + """ + The height color for the table cells. + """ + horizontal_text_alignment: NotRequired[pulumi.Input['DashboardHorizontalTextAlignment']] + """ + The horizontal text alignment (left, center, right, auto) for the table cells. + """ + text_wrap: NotRequired[pulumi.Input['DashboardTextWrap']] + """ + The text wrap (none, wrap) for the table cells. + """ + vertical_text_alignment: NotRequired[pulumi.Input['DashboardVerticalTextAlignment']] + """ + The vertical text alignment (top, middle, bottom) for the table cells. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the table cells. + """ +elif False: + DashboardTableCellStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableCellStyleArgs: def __init__(__self__, *, @@ -56294,6 +75037,19 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardTableConditionalFormattingOptionArgsDict(TypedDict): + cell: NotRequired[pulumi.Input['DashboardTableCellConditionalFormattingArgsDict']] + """ + The cell conditional formatting option for a table. + """ + row: NotRequired[pulumi.Input['DashboardTableRowConditionalFormattingArgsDict']] + """ + The row conditional formatting option for a table. + """ +elif False: + DashboardTableConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -56333,6 +75089,15 @@ def row(self, value: Optional[pulumi.Input['DashboardTableRowConditionalFormatti pulumi.set(self, "row", value) +if not MYPY: + class DashboardTableConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardTableConditionalFormattingOptionArgsDict']]]] + """ + Conditional formatting options for a `PivotTableVisual` . + """ +elif False: + DashboardTableConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableConditionalFormattingArgs: def __init__(__self__, *, @@ -56356,6 +75121,39 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class DashboardTableConfigurationArgsDict(TypedDict): + field_options: NotRequired[pulumi.Input['DashboardTableFieldOptionsArgsDict']] + """ + The field options for a table visual. + """ + field_wells: NotRequired[pulumi.Input['DashboardTableFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + paginated_report_options: NotRequired[pulumi.Input['DashboardTablePaginatedReportOptionsArgsDict']] + """ + The paginated report options for a table visual. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardTableSortConfigurationArgsDict']] + """ + The sort configuration for a `TableVisual` . + """ + table_inline_visualizations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardTableInlineVisualizationArgsDict']]]] + """ + A collection of inline visualizations to display within a chart. + """ + table_options: NotRequired[pulumi.Input['DashboardTableOptionsArgsDict']] + """ + The table options for a table visual. + """ + total_options: NotRequired[pulumi.Input['DashboardTotalOptionsArgsDict']] + """ + The total options for a table visual. + """ +elif False: + DashboardTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableConfigurationArgs: def __init__(__self__, *, @@ -56475,6 +75273,15 @@ def total_options(self, value: Optional[pulumi.Input['DashboardTotalOptionsArgs' pulumi.set(self, "total_options", value) +if not MYPY: + class DashboardTableFieldCustomIconContentArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['DashboardTableFieldIconSetType']] + """ + The icon set type (link) of the custom icon content for table URL link content. + """ +elif False: + DashboardTableFieldCustomIconContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableFieldCustomIconContentArgs: def __init__(__self__, *, @@ -56498,6 +75305,19 @@ def icon(self, value: Optional[pulumi.Input['DashboardTableFieldIconSetType']]): pulumi.set(self, "icon", value) +if not MYPY: + class DashboardTableFieldCustomTextContentArgsDict(TypedDict): + font_configuration: pulumi.Input['DashboardFontConfigurationArgsDict'] + """ + The font configuration of the custom text content for the table URL link content. + """ + value: NotRequired[pulumi.Input[str]] + """ + The string value of the custom text content for the table URL link content. + """ +elif False: + DashboardTableFieldCustomTextContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableFieldCustomTextContentArgs: def __init__(__self__, *, @@ -56536,6 +75356,15 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardTableFieldImageConfigurationArgsDict(TypedDict): + sizing_options: NotRequired[pulumi.Input['DashboardTableCellImageSizingConfigurationArgsDict']] + """ + The sizing options for the table image configuration. + """ +elif False: + DashboardTableFieldImageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableFieldImageConfigurationArgs: def __init__(__self__, *, @@ -56559,6 +75388,19 @@ def sizing_options(self, value: Optional[pulumi.Input['DashboardTableCellImageSi pulumi.set(self, "sizing_options", value) +if not MYPY: + class DashboardTableFieldLinkConfigurationArgsDict(TypedDict): + content: pulumi.Input['DashboardTableFieldLinkContentConfigurationArgsDict'] + """ + The URL content (text, icon) for the table link configuration. + """ + target: pulumi.Input['DashboardUrlTargetConfiguration'] + """ + The URL target (new tab, new window, same tab) for the table link configuration. + """ +elif False: + DashboardTableFieldLinkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableFieldLinkConfigurationArgs: def __init__(__self__, *, @@ -56596,6 +75438,19 @@ def target(self, value: pulumi.Input['DashboardUrlTargetConfiguration']): pulumi.set(self, "target", value) +if not MYPY: + class DashboardTableFieldLinkContentConfigurationArgsDict(TypedDict): + custom_icon_content: NotRequired[pulumi.Input['DashboardTableFieldCustomIconContentArgsDict']] + """ + The custom icon content for the table link content configuration. + """ + custom_text_content: NotRequired[pulumi.Input['DashboardTableFieldCustomTextContentArgsDict']] + """ + The custom text content (value, font configuration) for the table link content configuration. + """ +elif False: + DashboardTableFieldLinkContentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableFieldLinkContentConfigurationArgs: def __init__(__self__, *, @@ -56635,6 +75490,23 @@ def custom_text_content(self, value: Optional[pulumi.Input['DashboardTableFieldC pulumi.set(self, "custom_text_content", value) +if not MYPY: + class DashboardTableFieldOptionsArgsDict(TypedDict): + order: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The order of the field IDs that are configured as field options for a table visual. + """ + pinned_field_options: NotRequired[pulumi.Input['DashboardTablePinnedFieldOptionsArgsDict']] + """ + The settings for the pinned columns of a table visual. + """ + selected_field_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardTableFieldOptionArgsDict']]]] + """ + The field options to be configured to a table. + """ +elif False: + DashboardTableFieldOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableFieldOptionsArgs: def __init__(__self__, *, @@ -56690,6 +75562,31 @@ def selected_field_options(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "selected_field_options", value) +if not MYPY: + class DashboardTableFieldOptionArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID for a table field. + """ + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label for a table field. + """ + url_styling: NotRequired[pulumi.Input['DashboardTableFieldUrlConfigurationArgsDict']] + """ + The URL configuration for a table field. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of a table field. + """ + width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + DashboardTableFieldOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableFieldOptionArgs: def __init__(__self__, *, @@ -56776,6 +75673,19 @@ def width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "width", value) +if not MYPY: + class DashboardTableFieldUrlConfigurationArgsDict(TypedDict): + image_configuration: NotRequired[pulumi.Input['DashboardTableFieldImageConfigurationArgsDict']] + """ + The image configuration of a table field URL. + """ + link_configuration: NotRequired[pulumi.Input['DashboardTableFieldLinkConfigurationArgsDict']] + """ + The link configuration of a table field URL. + """ +elif False: + DashboardTableFieldUrlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableFieldUrlConfigurationArgs: def __init__(__self__, *, @@ -56815,6 +75725,19 @@ def link_configuration(self, value: Optional[pulumi.Input['DashboardTableFieldLi pulumi.set(self, "link_configuration", value) +if not MYPY: + class DashboardTableFieldWellsArgsDict(TypedDict): + table_aggregated_field_wells: NotRequired[pulumi.Input['DashboardTableAggregatedFieldWellsArgsDict']] + """ + The aggregated field well for the table. + """ + table_unaggregated_field_wells: NotRequired[pulumi.Input['DashboardTableUnaggregatedFieldWellsArgsDict']] + """ + The unaggregated field well for the table. + """ +elif False: + DashboardTableFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableFieldWellsArgs: def __init__(__self__, *, @@ -56854,6 +75777,15 @@ def table_unaggregated_field_wells(self, value: Optional[pulumi.Input['Dashboard pulumi.set(self, "table_unaggregated_field_wells", value) +if not MYPY: + class DashboardTableInlineVisualizationArgsDict(TypedDict): + data_bars: NotRequired[pulumi.Input['DashboardDataBarsOptionsArgsDict']] + """ + The configuration of the inline visualization of the data bars within a chart. + """ +elif False: + DashboardTableInlineVisualizationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableInlineVisualizationArgs: def __init__(__self__, *, @@ -56877,6 +75809,27 @@ def data_bars(self, value: Optional[pulumi.Input['DashboardDataBarsOptionsArgs'] pulumi.set(self, "data_bars", value) +if not MYPY: + class DashboardTableOptionsArgsDict(TypedDict): + cell_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The table cell style of table cells. + """ + header_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + The table cell style of a table header. + """ + orientation: NotRequired[pulumi.Input['DashboardTableOrientation']] + """ + The orientation (vertical, horizontal) for a table. + """ + row_alternate_color_options: NotRequired[pulumi.Input['DashboardRowAlternateColorOptionsArgsDict']] + """ + The row alternate color options (widget status, row alternate colors) for a table. + """ +elif False: + DashboardTableOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableOptionsArgs: def __init__(__self__, *, @@ -56948,6 +75901,19 @@ def row_alternate_color_options(self, value: Optional[pulumi.Input['DashboardRow pulumi.set(self, "row_alternate_color_options", value) +if not MYPY: + class DashboardTablePaginatedReportOptionsArgsDict(TypedDict): + overflow_column_header_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of repeating header rows on each page. + """ + vertical_overflow_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of printing table overflow across pages. + """ +elif False: + DashboardTablePaginatedReportOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTablePaginatedReportOptionsArgs: def __init__(__self__, *, @@ -56987,6 +75953,15 @@ def vertical_overflow_visibility(self, value: Optional[pulumi.Input['DashboardVi pulumi.set(self, "vertical_overflow_visibility", value) +if not MYPY: + class DashboardTablePinnedFieldOptionsArgsDict(TypedDict): + pinned_left_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of columns to be pinned to the left of a table visual. + """ +elif False: + DashboardTablePinnedFieldOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTablePinnedFieldOptionsArgs: def __init__(__self__, *, @@ -57010,6 +75985,19 @@ def pinned_left_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "pinned_left_fields", value) +if not MYPY: + class DashboardTableRowConditionalFormattingArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input['DashboardConditionalFormattingColorArgsDict']] + """ + The conditional formatting color (solid, gradient) of the background for a table row. + """ + text_color: NotRequired[pulumi.Input['DashboardConditionalFormattingColorArgsDict']] + """ + The conditional formatting color (solid, gradient) of the text for a table row. + """ +elif False: + DashboardTableRowConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableRowConditionalFormattingArgs: def __init__(__self__, *, @@ -57049,6 +76037,35 @@ def text_color(self, value: Optional[pulumi.Input['DashboardConditionalFormattin pulumi.set(self, "text_color", value) +if not MYPY: + class DashboardTableSideBorderOptionsArgsDict(TypedDict): + bottom: NotRequired[pulumi.Input['DashboardTableBorderOptionsArgsDict']] + """ + The table border options of the bottom border. + """ + inner_horizontal: NotRequired[pulumi.Input['DashboardTableBorderOptionsArgsDict']] + """ + The table border options of the inner horizontal border. + """ + inner_vertical: NotRequired[pulumi.Input['DashboardTableBorderOptionsArgsDict']] + """ + The table border options of the inner vertical border. + """ + left: NotRequired[pulumi.Input['DashboardTableBorderOptionsArgsDict']] + """ + The table border options of the left border. + """ + right: NotRequired[pulumi.Input['DashboardTableBorderOptionsArgsDict']] + """ + The table border options of the right border. + """ + top: NotRequired[pulumi.Input['DashboardTableBorderOptionsArgsDict']] + """ + The table border options of the top border. + """ +elif False: + DashboardTableSideBorderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableSideBorderOptionsArgs: def __init__(__self__, *, @@ -57152,6 +76169,19 @@ def top(self, value: Optional[pulumi.Input['DashboardTableBorderOptionsArgs']]): pulumi.set(self, "top", value) +if not MYPY: + class DashboardTableSortConfigurationArgsDict(TypedDict): + pagination_configuration: NotRequired[pulumi.Input['DashboardPaginationConfigurationArgsDict']] + """ + The pagination configuration (page size, page number) for the table. + """ + row_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The field sort options for rows in the table. + """ +elif False: + DashboardTableSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableSortConfigurationArgs: def __init__(__self__, *, @@ -57191,6 +76221,15 @@ def row_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dashboard pulumi.set(self, "row_sort", value) +if not MYPY: + class DashboardTableStyleTargetArgsDict(TypedDict): + cell_type: pulumi.Input['DashboardStyledCellType'] + """ + The cell type of the table style target. + """ +elif False: + DashboardTableStyleTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableStyleTargetArgs: def __init__(__self__, *, @@ -57213,6 +76252,15 @@ def cell_type(self, value: pulumi.Input['DashboardStyledCellType']): pulumi.set(self, "cell_type", value) +if not MYPY: + class DashboardTableUnaggregatedFieldWellsArgsDict(TypedDict): + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardUnaggregatedFieldArgsDict']]]] + """ + The values field well for a pivot table. Values are unaggregated for an unaggregated table. + """ +elif False: + DashboardTableUnaggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableUnaggregatedFieldWellsArgs: def __init__(__self__, *, @@ -57236,6 +76284,35 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardUn pulumi.set(self, "values", value) +if not MYPY: + class DashboardTableVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardTableConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + conditional_formatting: NotRequired[pulumi.Input['DashboardTableConditionalFormattingArgsDict']] + """ + The conditional formatting for a `PivotTableVisual` . + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardTableVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTableVisualArgs: def __init__(__self__, *, @@ -57338,6 +76415,23 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardTextAreaControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['DashboardSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + placeholder_options: NotRequired[pulumi.Input['DashboardTextControlPlaceholderOptionsArgsDict']] + """ + The configuration of the placeholder options in a text area control. + """ + title_options: NotRequired[pulumi.Input['DashboardLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + DashboardTextAreaControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTextAreaControlDisplayOptionsArgs: def __init__(__self__, *, @@ -57393,6 +76487,23 @@ def title_options(self, value: Optional[pulumi.Input['DashboardLabelOptionsArgs' pulumi.set(self, "title_options", value) +if not MYPY: + class DashboardTextConditionalFormatArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input['DashboardConditionalFormattingColorArgsDict']] + """ + The conditional formatting for the text background color. + """ + icon: NotRequired[pulumi.Input['DashboardConditionalFormattingIconArgsDict']] + """ + The conditional formatting for the icon. + """ + text_color: NotRequired[pulumi.Input['DashboardConditionalFormattingColorArgsDict']] + """ + The conditional formatting for the text color. + """ +elif False: + DashboardTextConditionalFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTextConditionalFormatArgs: def __init__(__self__, *, @@ -57448,6 +76559,15 @@ def text_color(self, value: Optional[pulumi.Input['DashboardConditionalFormattin pulumi.set(self, "text_color", value) +if not MYPY: + class DashboardTextControlPlaceholderOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility configuration of the placeholder options in a text control. + """ +elif False: + DashboardTextControlPlaceholderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTextControlPlaceholderOptionsArgs: def __init__(__self__, *, @@ -57471,6 +76591,23 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardTextFieldControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['DashboardSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + placeholder_options: NotRequired[pulumi.Input['DashboardTextControlPlaceholderOptionsArgsDict']] + """ + The configuration of the placeholder options in a text field control. + """ + title_options: NotRequired[pulumi.Input['DashboardLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + DashboardTextFieldControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTextFieldControlDisplayOptionsArgs: def __init__(__self__, *, @@ -57526,6 +76663,19 @@ def title_options(self, value: Optional[pulumi.Input['DashboardLabelOptionsArgs' pulumi.set(self, "title_options", value) +if not MYPY: + class DashboardThousandSeparatorOptionsArgsDict(TypedDict): + symbol: NotRequired[pulumi.Input['DashboardNumericSeparatorSymbol']] + """ + Determines the thousands separator symbol. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines the visibility of the thousands separator. + """ +elif False: + DashboardThousandSeparatorOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardThousandSeparatorOptionsArgs: def __init__(__self__, *, @@ -57565,6 +76715,38 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardTimeBasedForecastPropertiesArgsDict(TypedDict): + lower_boundary: NotRequired[pulumi.Input[float]] + """ + The lower boundary setup of a forecast computation. + """ + periods_backward: NotRequired[pulumi.Input[float]] + """ + The periods backward setup of a forecast computation. + """ + periods_forward: NotRequired[pulumi.Input[float]] + """ + The periods forward setup of a forecast computation. + """ + prediction_interval: NotRequired[pulumi.Input[float]] + """ + The prediction interval setup of a forecast computation. + """ + seasonality: NotRequired[pulumi.Input[float]] + """ + The seasonality setup of a forecast computation. Choose one of the following options: + + - `NULL` : The input is set to `NULL` . + - `NON_NULL` : The input is set to a custom value. + """ + upper_boundary: NotRequired[pulumi.Input[float]] + """ + The upper boundary setup of a forecast computation. + """ +elif False: + DashboardTimeBasedForecastPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTimeBasedForecastPropertiesArgs: def __init__(__self__, *, @@ -57674,6 +76856,45 @@ def upper_boundary(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "upper_boundary", value) +if not MYPY: + class DashboardTimeEqualityFilterArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['DashboardDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + + This field is mutually exclusive to `Value` and `RollingDate` . + """ + rolling_date: NotRequired[pulumi.Input['DashboardRollingDateConfigurationArgsDict']] + """ + The rolling date input for the `TimeEquality` filter. + + This field is mutually exclusive to `Value` and `ParameterName` . + """ + time_granularity: NotRequired[pulumi.Input['DashboardTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of a `TimeEquality` filter. + + This field is mutually exclusive to `RollingDate` and `ParameterName` . + """ +elif False: + DashboardTimeEqualityFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTimeEqualityFilterArgs: def __init__(__self__, *, @@ -57803,6 +77024,27 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardTimeRangeDrillDownFilterArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + range_maximum: pulumi.Input[str] + """ + The maximum value for the filter value range. + """ + range_minimum: pulumi.Input[str] + """ + The minimum value for the filter value range. + """ + time_granularity: pulumi.Input['DashboardTimeGranularity'] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + DashboardTimeRangeDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTimeRangeDrillDownFilterArgs: def __init__(__self__, *, @@ -57870,6 +77112,23 @@ def time_granularity(self, value: pulumi.Input['DashboardTimeGranularity']): pulumi.set(self, "time_granularity", value) +if not MYPY: + class DashboardTimeRangeFilterValueArgsDict(TypedDict): + parameter: NotRequired[pulumi.Input[str]] + """ + The parameter type input value. + """ + rolling_date: NotRequired[pulumi.Input['DashboardRollingDateConfigurationArgsDict']] + """ + The rolling date input value. + """ + static_value: NotRequired[pulumi.Input[str]] + """ + The static input value. + """ +elif False: + DashboardTimeRangeFilterValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTimeRangeFilterValueArgs: def __init__(__self__, *, @@ -57925,6 +77184,55 @@ def static_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "static_value", value) +if not MYPY: + class DashboardTimeRangeFilterArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + null_option: pulumi.Input['DashboardFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['DashboardDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + exclude_period_configuration: NotRequired[pulumi.Input['DashboardExcludePeriodConfigurationArgsDict']] + """ + The exclude period of the time range filter. + """ + include_maximum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the maximum value in the filter value range should be included in the filtered results. + """ + include_minimum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the minimum value in the filter value range should be included in the filtered results. + """ + range_maximum_value: NotRequired[pulumi.Input['DashboardTimeRangeFilterValueArgsDict']] + """ + The maximum value for the filter value range. + """ + range_minimum_value: NotRequired[pulumi.Input['DashboardTimeRangeFilterValueArgsDict']] + """ + The minimum value for the filter value range. + """ + time_granularity: NotRequired[pulumi.Input['DashboardTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + DashboardTimeRangeFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTimeRangeFilterArgs: def __init__(__self__, *, @@ -58097,6 +77405,19 @@ def time_granularity(self, value: Optional[pulumi.Input['DashboardTimeGranularit pulumi.set(self, "time_granularity", value) +if not MYPY: + class DashboardTooltipItemArgsDict(TypedDict): + column_tooltip_item: NotRequired[pulumi.Input['DashboardColumnTooltipItemArgsDict']] + """ + The tooltip item for the columns that are not part of a field well. + """ + field_tooltip_item: NotRequired[pulumi.Input['DashboardFieldTooltipItemArgsDict']] + """ + The tooltip item for the fields. + """ +elif False: + DashboardTooltipItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTooltipItemArgs: def __init__(__self__, *, @@ -58136,6 +77457,26 @@ def field_tooltip_item(self, value: Optional[pulumi.Input['DashboardFieldTooltip pulumi.set(self, "field_tooltip_item", value) +if not MYPY: + class DashboardTooltipOptionsArgsDict(TypedDict): + field_based_tooltip: NotRequired[pulumi.Input['DashboardFieldBasedTooltipArgsDict']] + """ + The setup for the detailed tooltip. The tooltip setup is always saved. The display type is decided based on the tooltip type. + """ + selected_tooltip_type: NotRequired[pulumi.Input['DashboardSelectedTooltipType']] + """ + The selected type for the tooltip. Choose one of the following options: + + - `BASIC` : A basic tooltip. + - `DETAILED` : A detailed tooltip. + """ + tooltip_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + Determines whether or not the tooltip is visible. + """ +elif False: + DashboardTooltipOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTooltipOptionsArgs: def __init__(__self__, *, @@ -58197,6 +77538,39 @@ def tooltip_visibility(self, value: Optional[pulumi.Input['DashboardVisibility'] pulumi.set(self, "tooltip_visibility", value) +if not MYPY: + class DashboardTopBottomFilterArgsDict(TypedDict): + aggregation_sort_configurations: pulumi.Input[Sequence[pulumi.Input['DashboardAggregationSortConfigurationArgsDict']]] + """ + The aggregation and sort configuration of the top bottom filter. + """ + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['DashboardDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + limit: NotRequired[pulumi.Input[float]] + """ + The number of items to include in the top bottom filter results. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + """ + time_granularity: NotRequired[pulumi.Input['DashboardTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + DashboardTopBottomFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTopBottomFilterArgs: def __init__(__self__, *, @@ -58313,6 +77687,46 @@ def time_granularity(self, value: Optional[pulumi.Input['DashboardTimeGranularit pulumi.set(self, "time_granularity", value) +if not MYPY: + class DashboardTopBottomMoversComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + type: pulumi.Input['DashboardTopBottomComputationType'] + """ + The computation type. Choose from the following options: + + - TOP: Top movers computation. + - BOTTOM: Bottom movers computation. + """ + category: NotRequired[pulumi.Input['DashboardDimensionFieldArgsDict']] + """ + The category field that is used in a computation. + """ + mover_size: NotRequired[pulumi.Input[float]] + """ + The mover size setup of the top and bottom movers computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + sort_order: NotRequired[pulumi.Input['DashboardTopBottomSortOrder']] + """ + The sort order setup of the top and bottom movers computation. + """ + time: NotRequired[pulumi.Input['DashboardDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['DashboardMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + DashboardTopBottomMoversComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTopBottomMoversComputationArgs: def __init__(__self__, *, @@ -58452,6 +77866,38 @@ def value(self, value: Optional[pulumi.Input['DashboardMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardTopBottomRankedComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + type: pulumi.Input['DashboardTopBottomComputationType'] + """ + The computation type. Choose one of the following options: + + - TOP: A top ranked computation. + - BOTTOM: A bottom ranked computation. + """ + category: NotRequired[pulumi.Input['DashboardDimensionFieldArgsDict']] + """ + The category field that is used in a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + result_size: NotRequired[pulumi.Input[float]] + """ + The result size of a top and bottom ranked computation. + """ + value: NotRequired[pulumi.Input['DashboardMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + DashboardTopBottomRankedComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTopBottomRankedComputationArgs: def __init__(__self__, *, @@ -58559,6 +78005,23 @@ def value(self, value: Optional[pulumi.Input['DashboardMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardTotalAggregationComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + value: NotRequired[pulumi.Input['DashboardMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + DashboardTotalAggregationComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTotalAggregationComputationArgs: def __init__(__self__, *, @@ -58613,6 +78076,15 @@ def value(self, value: Optional[pulumi.Input['DashboardMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardTotalAggregationFunctionArgsDict(TypedDict): + simple_total_aggregation_function: NotRequired[pulumi.Input['DashboardSimpleTotalAggregationFunction']] + """ + A built in aggregation function for total values. + """ +elif False: + DashboardTotalAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTotalAggregationFunctionArgs: def __init__(__self__, *, @@ -58636,6 +78108,19 @@ def simple_total_aggregation_function(self, value: Optional[pulumi.Input['Dashbo pulumi.set(self, "simple_total_aggregation_function", value) +if not MYPY: + class DashboardTotalAggregationOptionArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field id that's associated with the total aggregation option. + """ + total_aggregation_function: pulumi.Input['DashboardTotalAggregationFunctionArgsDict'] + """ + The total aggregation function that you want to set for a specified field id. + """ +elif False: + DashboardTotalAggregationOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTotalAggregationOptionArgs: def __init__(__self__, *, @@ -58673,6 +78158,35 @@ def total_aggregation_function(self, value: pulumi.Input['DashboardTotalAggregat pulumi.set(self, "total_aggregation_function", value) +if not MYPY: + class DashboardTotalOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the total cells. + """ + placement: NotRequired[pulumi.Input['DashboardTableTotalsPlacement']] + """ + The placement (start, end) for the total cells. + """ + scroll_status: NotRequired[pulumi.Input['DashboardTableTotalsScrollStatus']] + """ + The scroll status (pinned, scrolled) for the total cells. + """ + total_aggregation_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardTotalAggregationOptionArgsDict']]]] + """ + The total aggregation settings for each value field. + """ + total_cell_style: NotRequired[pulumi.Input['DashboardTableCellStyleArgsDict']] + """ + Cell styling options for the total cells. + """ + totals_visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility configuration for the total cells. + """ +elif False: + DashboardTotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTotalOptionsArgs: def __init__(__self__, *, @@ -58776,6 +78290,23 @@ def totals_visibility(self, value: Optional[pulumi.Input['DashboardVisibility']] pulumi.set(self, "totals_visibility", value) +if not MYPY: + class DashboardTreeMapAggregatedFieldWellsArgsDict(TypedDict): + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The color field well of a tree map. Values are grouped by aggregations based on group by fields. + """ + groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The group by field well of a tree map. Values are grouped based on group by fields. + """ + sizes: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The size field well of a tree map. Values are aggregated based on group by fields. + """ +elif False: + DashboardTreeMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTreeMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -58831,6 +78362,47 @@ def sizes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMea pulumi.set(self, "sizes", value) +if not MYPY: + class DashboardTreeMapConfigurationArgsDict(TypedDict): + color_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility) for the colors displayed in a tree map. + """ + color_scale: NotRequired[pulumi.Input['DashboardColorScaleArgsDict']] + """ + The color options (gradient color, point of divergence) of a tree map. + """ + data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['DashboardTreeMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + group_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility) of the groups that are displayed in a tree map. + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + size_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility) of the sizes that are displayed in a tree map. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardTreeMapSortConfigurationArgsDict']] + """ + The sort configuration of a tree map. + """ + tooltip: NotRequired[pulumi.Input['DashboardTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ +elif False: + DashboardTreeMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTreeMapConfigurationArgs: def __init__(__self__, *, @@ -58982,6 +78554,15 @@ def tooltip(self, value: Optional[pulumi.Input['DashboardTooltipOptionsArgs']]): pulumi.set(self, "tooltip", value) +if not MYPY: + class DashboardTreeMapFieldWellsArgsDict(TypedDict): + tree_map_aggregated_field_wells: NotRequired[pulumi.Input['DashboardTreeMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a tree map. + """ +elif False: + DashboardTreeMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTreeMapFieldWellsArgs: def __init__(__self__, *, @@ -59005,6 +78586,19 @@ def tree_map_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashboar pulumi.set(self, "tree_map_aggregated_field_wells", value) +if not MYPY: + class DashboardTreeMapSortConfigurationArgsDict(TypedDict): + tree_map_group_items_limit_configuration: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of groups that are displayed. + """ + tree_map_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of group by fields. + """ +elif False: + DashboardTreeMapSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTreeMapSortConfigurationArgs: def __init__(__self__, *, @@ -59044,6 +78638,35 @@ def tree_map_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dash pulumi.set(self, "tree_map_sort", value) +if not MYPY: + class DashboardTreeMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardTreeMapConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardTreeMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTreeMapVisualArgs: def __init__(__self__, *, @@ -59146,6 +78769,15 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardTrendArrowOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the trend arrows. + """ +elif False: + DashboardTrendArrowOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardTrendArrowOptionsArgs: def __init__(__self__, *, @@ -59169,6 +78801,23 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardUnaggregatedFieldArgsDict(TypedDict): + column: pulumi.Input['DashboardColumnIdentifierArgsDict'] + """ + The column that is used in the `UnaggregatedField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + format_configuration: NotRequired[pulumi.Input['DashboardFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + DashboardUnaggregatedFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardUnaggregatedFieldArgs: def __init__(__self__, *, @@ -59222,6 +78871,23 @@ def format_configuration(self, value: Optional[pulumi.Input['DashboardFormatConf pulumi.set(self, "format_configuration", value) +if not MYPY: + class DashboardUniqueValuesComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + category: NotRequired[pulumi.Input['DashboardDimensionFieldArgsDict']] + """ + The category field that is used in a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ +elif False: + DashboardUniqueValuesComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardUniqueValuesComputationArgs: def __init__(__self__, *, @@ -59276,6 +78942,18 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class DashboardValidationStrategyArgsDict(TypedDict): + """ +

The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. When you set this value to LENIENT, validation is skipped for specific errors.

+ """ + mode: pulumi.Input['DashboardValidationStrategyMode'] + """ + The mode of validation for the asset to be created or updated. When you set this value to `STRICT` , strict validation for every error is enforced. When you set this value to `LENIENT` , validation is skipped for specific UI errors. + """ +elif False: + DashboardValidationStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardValidationStrategyArgs: def __init__(__self__, *, @@ -59299,6 +78977,44 @@ def mode(self, value: pulumi.Input['DashboardValidationStrategyMode']): pulumi.set(self, "mode", value) +if not MYPY: + class DashboardVersionDefinitionArgsDict(TypedDict): + data_set_identifier_declarations: pulumi.Input[Sequence[pulumi.Input['DashboardDataSetIdentifierDeclarationArgsDict']]] + """ + An array of dataset identifier declarations. With this mapping,you can use dataset identifiers instead of dataset Amazon Resource Names (ARNs) throughout the dashboard's sub-structures. + """ + analysis_defaults: NotRequired[pulumi.Input['DashboardAnalysisDefaultsArgsDict']] + calculated_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardCalculatedFieldArgsDict']]]] + """ + An array of calculated field definitions for the dashboard. + """ + column_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnConfigurationArgsDict']]]] + """ + An array of dashboard-level column configurations. Column configurations are used to set the default formatting for a column that is used throughout a dashboard. + """ + filter_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFilterGroupArgsDict']]]] + """ + The filter definitions for a dashboard. + + For more information, see [Filtering Data in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/adding-a-filter.html) in the *Amazon QuickSight User Guide* . + """ + options: NotRequired[pulumi.Input['DashboardAssetOptionsArgsDict']] + """ + An array of option definitions for a dashboard. + """ + parameter_declarations: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardParameterDeclarationArgsDict']]]] + """ + The parameter declarations for a dashboard. Parameters are named variables that can transfer a value for use by an action or an object. + + For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* . + """ + sheets: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardSheetDefinitionArgsDict']]]] + """ + An array of sheet definitions for a dashboard. + """ +elif False: + DashboardVersionDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardVersionDefinitionArgs: def __init__(__self__, *, @@ -59437,6 +79153,15 @@ def sheets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardSh pulumi.set(self, "sheets", value) +if not MYPY: + class DashboardVisibleRangeOptionsArgsDict(TypedDict): + percent_range: NotRequired[pulumi.Input['DashboardPercentVisibleRangeArgsDict']] + """ + The percent range in the visible range. + """ +elif False: + DashboardVisibleRangeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardVisibleRangeOptionsArgs: def __init__(__self__, *, @@ -59460,6 +79185,15 @@ def percent_range(self, value: Optional[pulumi.Input['DashboardPercentVisibleRan pulumi.set(self, "percent_range", value) +if not MYPY: + class DashboardVisualAxisSortOptionArgsDict(TypedDict): + availability_status: NotRequired[pulumi.Input['DashboardBehavior']] + """ + The availaiblity status of a visual's axis sort options. + """ +elif False: + DashboardVisualAxisSortOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardVisualAxisSortOptionArgs: def __init__(__self__, *, @@ -59483,6 +79217,27 @@ def availability_status(self, value: Optional[pulumi.Input['DashboardBehavior']] pulumi.set(self, "availability_status", value) +if not MYPY: + class DashboardVisualCustomActionOperationArgsDict(TypedDict): + filter_operation: NotRequired[pulumi.Input['DashboardCustomActionFilterOperationArgsDict']] + """ + The filter operation that filters data included in a visual or in an entire sheet. + """ + navigation_operation: NotRequired[pulumi.Input['DashboardCustomActionNavigationOperationArgsDict']] + """ + The navigation operation that navigates between different sheets in the same analysis. + """ + set_parameters_operation: NotRequired[pulumi.Input['DashboardCustomActionSetParametersOperationArgsDict']] + """ + The set parameter operation that sets parameters in custom action. + """ + url_operation: NotRequired[pulumi.Input['DashboardCustomActionUrlOperationArgsDict']] + """ + The URL operation that opens a link to another webpage. + """ +elif False: + DashboardVisualCustomActionOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardVisualCustomActionOperationArgs: def __init__(__self__, *, @@ -59554,6 +79309,38 @@ def url_operation(self, value: Optional[pulumi.Input['DashboardCustomActionUrlOp pulumi.set(self, "url_operation", value) +if not MYPY: + class DashboardVisualCustomActionArgsDict(TypedDict): + action_operations: pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionOperationArgsDict']]] + """ + A list of `VisualCustomActionOperations` . + + This is a union type structure. For this structure to be valid, only one of the attributes can be defined. + """ + custom_action_id: pulumi.Input[str] + """ + The ID of the `VisualCustomAction` . + """ + name: pulumi.Input[str] + """ + The name of the `VisualCustomAction` . + """ + trigger: pulumi.Input['DashboardVisualCustomActionTrigger'] + """ + The trigger of the `VisualCustomAction` . + + Valid values are defined as follows: + + - `DATA_POINT_CLICK` : Initiates a custom action by a left pointer click on a data point. + - `DATA_POINT_MENU` : Initiates a custom action by right pointer click from the menu. + """ + status: NotRequired[pulumi.Input['DashboardWidgetStatus']] + """ + The status of the `VisualCustomAction` . + """ +elif False: + DashboardVisualCustomActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardVisualCustomActionArgs: def __init__(__self__, *, @@ -59651,6 +79438,15 @@ def status(self, value: Optional[pulumi.Input['DashboardWidgetStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class DashboardVisualMenuOptionArgsDict(TypedDict): + availability_status: NotRequired[pulumi.Input['DashboardBehavior']] + """ + The availaiblity status of a visual's menu options. + """ +elif False: + DashboardVisualMenuOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardVisualMenuOptionArgs: def __init__(__self__, *, @@ -59674,6 +79470,19 @@ def availability_status(self, value: Optional[pulumi.Input['DashboardBehavior']] pulumi.set(self, "availability_status", value) +if not MYPY: + class DashboardVisualPaletteArgsDict(TypedDict): + chart_color: NotRequired[pulumi.Input[str]] + """ + The chart color options for the visual palette. + """ + color_map: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDataPathColorArgsDict']]]] + """ + The color map options for the visual palette. + """ +elif False: + DashboardVisualPaletteArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardVisualPaletteArgs: def __init__(__self__, *, @@ -59713,6 +79522,18 @@ def color_map(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dashboar pulumi.set(self, "color_map", value) +if not MYPY: + class DashboardVisualPublishOptionsArgsDict(TypedDict): + """ +

The visual publish options of a visual in a dashboard

+ """ + export_hidden_fields_option: NotRequired[pulumi.Input['DashboardExportHiddenFieldsOptionArgsDict']] + """ + Determines if hidden fields are included in an exported dashboard. + """ +elif False: + DashboardVisualPublishOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardVisualPublishOptionsArgs: def __init__(__self__, *, @@ -59737,6 +79558,19 @@ def export_hidden_fields_option(self, value: Optional[pulumi.Input['DashboardExp pulumi.set(self, "export_hidden_fields_option", value) +if not MYPY: + class DashboardVisualSubtitleLabelOptionsArgsDict(TypedDict): + format_text: NotRequired[pulumi.Input['DashboardLongFormatTextArgsDict']] + """ + The long text format of the subtitle label, such as plain text or rich text. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the subtitle label. + """ +elif False: + DashboardVisualSubtitleLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardVisualSubtitleLabelOptionsArgs: def __init__(__self__, *, @@ -59776,6 +79610,19 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardVisualTitleLabelOptionsArgsDict(TypedDict): + format_text: NotRequired[pulumi.Input['DashboardShortFormatTextArgsDict']] + """ + The short text format of the title label, such as plain text or rich text. + """ + visibility: NotRequired[pulumi.Input['DashboardVisibility']] + """ + The visibility of the title label. + """ +elif False: + DashboardVisualTitleLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardVisualTitleLabelOptionsArgs: def __init__(__self__, *, @@ -59815,6 +79662,147 @@ def visibility(self, value: Optional[pulumi.Input['DashboardVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class DashboardVisualArgsDict(TypedDict): + bar_chart_visual: NotRequired[pulumi.Input['DashboardBarChartVisualArgsDict']] + """ + A bar chart. + + For more information, see [Using bar charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon QuickSight User Guide* . + """ + box_plot_visual: NotRequired[pulumi.Input['DashboardBoxPlotVisualArgsDict']] + """ + A box plot. + + For more information, see [Using box plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon QuickSight User Guide* . + """ + combo_chart_visual: NotRequired[pulumi.Input['DashboardComboChartVisualArgsDict']] + """ + A combo chart. + + For more information, see [Using combo charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon QuickSight User Guide* . + """ + custom_content_visual: NotRequired[pulumi.Input['DashboardCustomContentVisualArgsDict']] + """ + A visual that contains custom content. + + For more information, see [Using custom visual content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the *Amazon QuickSight User Guide* . + """ + empty_visual: NotRequired[pulumi.Input['DashboardEmptyVisualArgsDict']] + """ + An empty visual. + """ + filled_map_visual: NotRequired[pulumi.Input['DashboardFilledMapVisualArgsDict']] + """ + A filled map. + + For more information, see [Creating filled maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon QuickSight User Guide* . + """ + funnel_chart_visual: NotRequired[pulumi.Input['DashboardFunnelChartVisualArgsDict']] + """ + A funnel chart. + + For more information, see [Using funnel charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the *Amazon QuickSight User Guide* . + """ + gauge_chart_visual: NotRequired[pulumi.Input['DashboardGaugeChartVisualArgsDict']] + """ + A gauge chart. + + For more information, see [Using gauge charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon QuickSight User Guide* . + """ + geospatial_map_visual: NotRequired[pulumi.Input['DashboardGeospatialMapVisualArgsDict']] + """ + A geospatial map or a points on map visual. + + For more information, see [Creating point maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon QuickSight User Guide* . + """ + heat_map_visual: NotRequired[pulumi.Input['DashboardHeatMapVisualArgsDict']] + """ + A heat map. + + For more information, see [Using heat maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon QuickSight User Guide* . + """ + histogram_visual: NotRequired[pulumi.Input['DashboardHistogramVisualArgsDict']] + """ + A histogram. + + For more information, see [Using histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the *Amazon QuickSight User Guide* . + """ + insight_visual: NotRequired[pulumi.Input['DashboardInsightVisualArgsDict']] + """ + An insight visual. + + For more information, see [Working with insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in the *Amazon QuickSight User Guide* . + """ + kpi_visual: NotRequired[pulumi.Input['DashboardKpiVisualArgsDict']] + """ + A key performance indicator (KPI). + + For more information, see [Using KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight User Guide* . + """ + line_chart_visual: NotRequired[pulumi.Input['DashboardLineChartVisualArgsDict']] + """ + A line chart. + + For more information, see [Using line charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon QuickSight User Guide* . + """ + pie_chart_visual: NotRequired[pulumi.Input['DashboardPieChartVisualArgsDict']] + """ + A pie or donut chart. + + For more information, see [Using pie charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon QuickSight User Guide* . + """ + pivot_table_visual: NotRequired[pulumi.Input['DashboardPivotTableVisualArgsDict']] + """ + A pivot table. + + For more information, see [Using pivot tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon QuickSight User Guide* . + """ + radar_chart_visual: NotRequired[pulumi.Input['DashboardRadarChartVisualArgsDict']] + """ + A radar chart visual. + + For more information, see [Using radar charts](https://docs.aws.amazon.com/quicksight/latest/user/radar-chart.html) in the *Amazon QuickSight User Guide* . + """ + sankey_diagram_visual: NotRequired[pulumi.Input['DashboardSankeyDiagramVisualArgsDict']] + """ + A sankey diagram. + + For more information, see [Using Sankey diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the *Amazon QuickSight User Guide* . + """ + scatter_plot_visual: NotRequired[pulumi.Input['DashboardScatterPlotVisualArgsDict']] + """ + A scatter plot. + + For more information, see [Using scatter plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon QuickSight User Guide* . + """ + table_visual: NotRequired[pulumi.Input['DashboardTableVisualArgsDict']] + """ + A table visual. + + For more information, see [Using tables as visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon QuickSight User Guide* . + """ + tree_map_visual: NotRequired[pulumi.Input['DashboardTreeMapVisualArgsDict']] + """ + A tree map. + + For more information, see [Using tree maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon QuickSight User Guide* . + """ + waterfall_visual: NotRequired[pulumi.Input['DashboardWaterfallVisualArgsDict']] + """ + A waterfall chart. + + For more information, see [Using waterfall charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the *Amazon QuickSight User Guide* . + """ + word_cloud_visual: NotRequired[pulumi.Input['DashboardWordCloudVisualArgsDict']] + """ + A word cloud. + + For more information, see [Using word clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon QuickSight User Guide* . + """ +elif False: + DashboardVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardVisualArgs: def __init__(__self__, *, @@ -60278,6 +80266,23 @@ def word_cloud_visual(self, value: Optional[pulumi.Input['DashboardWordCloudVisu pulumi.set(self, "word_cloud_visual", value) +if not MYPY: + class DashboardWaterfallChartAggregatedFieldWellsArgsDict(TypedDict): + breakdowns: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The breakdown field wells of a waterfall visual. + """ + categories: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The category field wells of a waterfall visual. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The value field wells of a waterfall visual. + """ +elif False: + DashboardWaterfallChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWaterfallChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -60333,6 +80338,15 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMe pulumi.set(self, "values", value) +if not MYPY: + class DashboardWaterfallChartColorConfigurationArgsDict(TypedDict): + group_color_configuration: NotRequired[pulumi.Input['DashboardWaterfallChartGroupColorConfigurationArgsDict']] + """ + The color configuration for individual groups within a waterfall visual. + """ +elif False: + DashboardWaterfallChartColorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWaterfallChartColorConfigurationArgs: def __init__(__self__, *, @@ -60356,6 +80370,55 @@ def group_color_configuration(self, value: Optional[pulumi.Input['DashboardWater pulumi.set(self, "group_color_configuration", value) +if not MYPY: + class DashboardWaterfallChartConfigurationArgsDict(TypedDict): + category_axis_display_options: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the category axis. + """ + category_axis_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the category axis label. + """ + color_configuration: NotRequired[pulumi.Input['DashboardWaterfallChartColorConfigurationArgsDict']] + """ + The color configuration of a waterfall visual. + """ + data_labels: NotRequired[pulumi.Input['DashboardDataLabelOptionsArgsDict']] + """ + The data label configuration of a waterfall visual. + """ + field_wells: NotRequired[pulumi.Input['DashboardWaterfallChartFieldWellsArgsDict']] + """ + The field well configuration of a waterfall visual. + """ + legend: NotRequired[pulumi.Input['DashboardLegendOptionsArgsDict']] + """ + The legend configuration of a waterfall visual. + """ + primary_y_axis_display_options: NotRequired[pulumi.Input['DashboardAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis label. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardWaterfallChartSortConfigurationArgsDict']] + """ + The sort configuration of a waterfall visual. + """ + visual_palette: NotRequired[pulumi.Input['DashboardVisualPaletteArgsDict']] + """ + The visual palette configuration of a waterfall visual. + """ + waterfall_chart_options: NotRequired[pulumi.Input['DashboardWaterfallChartOptionsArgsDict']] + """ + The options that determine the presentation of a waterfall visual. + """ +elif False: + DashboardWaterfallChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWaterfallChartConfigurationArgs: def __init__(__self__, *, @@ -60539,6 +80602,15 @@ def waterfall_chart_options(self, value: Optional[pulumi.Input['DashboardWaterfa pulumi.set(self, "waterfall_chart_options", value) +if not MYPY: + class DashboardWaterfallChartFieldWellsArgsDict(TypedDict): + waterfall_chart_aggregated_field_wells: NotRequired[pulumi.Input['DashboardWaterfallChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a waterfall visual. + """ +elif False: + DashboardWaterfallChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWaterfallChartFieldWellsArgs: def __init__(__self__, *, @@ -60562,6 +80634,23 @@ def waterfall_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['D pulumi.set(self, "waterfall_chart_aggregated_field_wells", value) +if not MYPY: + class DashboardWaterfallChartGroupColorConfigurationArgsDict(TypedDict): + negative_bar_color: NotRequired[pulumi.Input[str]] + """ + Defines the color for the negative bars of a waterfall chart. + """ + positive_bar_color: NotRequired[pulumi.Input[str]] + """ + Defines the color for the positive bars of a waterfall chart. + """ + total_bar_color: NotRequired[pulumi.Input[str]] + """ + Defines the color for the total bars of a waterfall chart. + """ +elif False: + DashboardWaterfallChartGroupColorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWaterfallChartGroupColorConfigurationArgs: def __init__(__self__, *, @@ -60617,6 +80706,15 @@ def total_bar_color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "total_bar_color", value) +if not MYPY: + class DashboardWaterfallChartOptionsArgsDict(TypedDict): + total_bar_label: NotRequired[pulumi.Input[str]] + """ + This option determines the total bar label of a waterfall visual. + """ +elif False: + DashboardWaterfallChartOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWaterfallChartOptionsArgs: def __init__(__self__, *, @@ -60640,6 +80738,19 @@ def total_bar_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "total_bar_label", value) +if not MYPY: + class DashboardWaterfallChartSortConfigurationArgsDict(TypedDict): + breakdown_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of bar groups that are displayed. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ +elif False: + DashboardWaterfallChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWaterfallChartSortConfigurationArgs: def __init__(__self__, *, @@ -60679,6 +80790,35 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dash pulumi.set(self, "category_sort", value) +if not MYPY: + class DashboardWaterfallVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardWaterfallChartConfigurationArgsDict']] + """ + The configuration for a waterfall visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardWaterfallVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWaterfallVisualArgs: def __init__(__self__, *, @@ -60781,6 +80921,19 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardWhatIfPointScenarioArgsDict(TypedDict): + date: pulumi.Input[str] + """ + The date that you need the forecast results for. + """ + value: pulumi.Input[float] + """ + The target value that you want to meet for the provided date. + """ +elif False: + DashboardWhatIfPointScenarioArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWhatIfPointScenarioArgs: def __init__(__self__, *, @@ -60818,6 +80971,23 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardWhatIfRangeScenarioArgsDict(TypedDict): + end_date: pulumi.Input[str] + """ + The end date in the date range that you need the forecast results for. + """ + start_date: pulumi.Input[str] + """ + The start date in the date range that you need the forecast results for. + """ + value: pulumi.Input[float] + """ + The target value that you want to meet for the provided date range. + """ +elif False: + DashboardWhatIfRangeScenarioArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWhatIfRangeScenarioArgs: def __init__(__self__, *, @@ -60870,6 +81040,19 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class DashboardWordCloudAggregatedFieldWellsArgsDict(TypedDict): + group_by: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardDimensionFieldArgsDict']]]] + """ + The group by field well of a word cloud. Values are grouped by group by fields. + """ + size: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardMeasureFieldArgsDict']]]] + """ + The size field well of a word cloud. Values are aggregated based on group by fields. + """ +elif False: + DashboardWordCloudAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWordCloudAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -60909,6 +81092,27 @@ def size(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardMeas pulumi.set(self, "size", value) +if not MYPY: + class DashboardWordCloudChartConfigurationArgsDict(TypedDict): + category_label_options: NotRequired[pulumi.Input['DashboardChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) for the word cloud category. + """ + field_wells: NotRequired[pulumi.Input['DashboardWordCloudFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + sort_configuration: NotRequired[pulumi.Input['DashboardWordCloudSortConfigurationArgsDict']] + """ + The sort configuration of a word cloud visual. + """ + word_cloud_options: NotRequired[pulumi.Input['DashboardWordCloudOptionsArgsDict']] + """ + The options for a word cloud visual. + """ +elif False: + DashboardWordCloudChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWordCloudChartConfigurationArgs: def __init__(__self__, *, @@ -60980,6 +81184,15 @@ def word_cloud_options(self, value: Optional[pulumi.Input['DashboardWordCloudOpt pulumi.set(self, "word_cloud_options", value) +if not MYPY: + class DashboardWordCloudFieldWellsArgsDict(TypedDict): + word_cloud_aggregated_field_wells: NotRequired[pulumi.Input['DashboardWordCloudAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a word cloud. + """ +elif False: + DashboardWordCloudFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWordCloudFieldWellsArgs: def __init__(__self__, *, @@ -61003,6 +81216,35 @@ def word_cloud_aggregated_field_wells(self, value: Optional[pulumi.Input['Dashbo pulumi.set(self, "word_cloud_aggregated_field_wells", value) +if not MYPY: + class DashboardWordCloudOptionsArgsDict(TypedDict): + cloud_layout: NotRequired[pulumi.Input['DashboardWordCloudCloudLayout']] + """ + The cloud layout options (fluid, normal) of a word cloud. + """ + maximum_string_length: NotRequired[pulumi.Input[float]] + """ + The length limit of each word from 1-100. + """ + word_casing: NotRequired[pulumi.Input['DashboardWordCloudWordCasing']] + """ + The word casing options (lower_case, existing_case) for the words in a word cloud. + """ + word_orientation: NotRequired[pulumi.Input['DashboardWordCloudWordOrientation']] + """ + The word orientation options (horizontal, horizontal_and_vertical) for the words in a word cloud. + """ + word_padding: NotRequired[pulumi.Input['DashboardWordCloudWordPadding']] + """ + The word padding options (none, small, medium, large) for the words in a word cloud. + """ + word_scaling: NotRequired[pulumi.Input['DashboardWordCloudWordScaling']] + """ + The word scaling options (emphasize, normal) for the words in a word cloud. + """ +elif False: + DashboardWordCloudOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWordCloudOptionsArgs: def __init__(__self__, *, @@ -61106,6 +81348,19 @@ def word_scaling(self, value: Optional[pulumi.Input['DashboardWordCloudWordScali pulumi.set(self, "word_scaling", value) +if not MYPY: + class DashboardWordCloudSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['DashboardItemsLimitConfigurationArgsDict']] + """ + The limit on the number of groups that are displayed in a word cloud. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardFieldSortOptionsArgsDict']]]] + """ + The sort configuration of group by fields. + """ +elif False: + DashboardWordCloudSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWordCloudSortConfigurationArgs: def __init__(__self__, *, @@ -61145,6 +81400,35 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Dash pulumi.set(self, "category_sort", value) +if not MYPY: + class DashboardWordCloudVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['DashboardWordCloudChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['DashboardColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['DashboardVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['DashboardVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + DashboardWordCloudVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardWordCloudVisualArgs: def __init__(__self__, *, @@ -61247,6 +81531,17 @@ def title(self, value: Optional[pulumi.Input['DashboardVisualTitleLabelOptionsAr pulumi.set(self, "title", value) +if not MYPY: + class DashboardYAxisOptionsArgsDict(TypedDict): + y_axis: pulumi.Input['DashboardSingleYAxisOption'] + """ + The Y axis type to be used in the chart. + + If you choose `PRIMARY_Y_AXIS` , the primary Y Axis is located on the leftmost vertical axis of the chart. + """ +elif False: + DashboardYAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DashboardYAxisOptionsArgs: def __init__(__self__, *, @@ -61273,6 +81568,28 @@ def y_axis(self, value: pulumi.Input['DashboardSingleYAxisOption']): pulumi.set(self, "y_axis", value) +if not MYPY: + class DataSetCalculatedColumnArgsDict(TypedDict): + """ +

A calculated column for a dataset.

+ """ + column_id: pulumi.Input[str] + """ +

A unique ID to identify a calculated column. During a dataset update, if the column ID + of a calculated column matches that of an existing calculated column, Amazon QuickSight + preserves the existing calculated column.

+ """ + column_name: pulumi.Input[str] + """ +

Column name.

+ """ + expression: pulumi.Input[str] + """ +

An expression that defines the calculated column.

+ """ +elif False: + DataSetCalculatedColumnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetCalculatedColumnArgs: def __init__(__self__, *, @@ -61330,6 +81647,31 @@ def expression(self, value: pulumi.Input[str]): pulumi.set(self, "expression", value) +if not MYPY: + class DataSetCastColumnTypeOperationArgsDict(TypedDict): + """ +

A transform operation that casts a column to a different type.

+ """ + column_name: pulumi.Input[str] + """ +

Column name.

+ """ + new_column_type: pulumi.Input['DataSetColumnDataType'] + """ + New column data type. + """ + format: NotRequired[pulumi.Input[str]] + """ +

When casting a column from string to datetime type, you can supply a string in a + format supported by Amazon QuickSight to denote the source data format.

+ """ + sub_type: NotRequired[pulumi.Input['DataSetColumnDataSubType']] + """ + The sub data type of the new column. Sub types are only available for decimal columns that are part of a SPICE dataset. + """ +elif False: + DataSetCastColumnTypeOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetCastColumnTypeOperationArgs: def __init__(__self__, *, @@ -61402,6 +81744,18 @@ def sub_type(self, value: Optional[pulumi.Input['DataSetColumnDataSubType']]): pulumi.set(self, "sub_type", value) +if not MYPY: + class DataSetColumnDescriptionArgsDict(TypedDict): + """ +

Metadata that contains a description for a column.

+ """ + text: NotRequired[pulumi.Input[str]] + """ +

The text of a description for a column.

+ """ +elif False: + DataSetColumnDescriptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetColumnDescriptionArgs: def __init__(__self__, *, @@ -61426,6 +81780,20 @@ def text(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "text", value) +if not MYPY: + class DataSetColumnGroupArgsDict(TypedDict): + """ +

Groupings of columns that work together in certain Amazon QuickSight features. This is + a variant type structure. For this structure to be valid, only one of the attributes can + be non-null.

+ """ + geo_spatial_column_group: NotRequired[pulumi.Input['DataSetGeoSpatialColumnGroupArgsDict']] + """ + Geospatial column group that denotes a hierarchy. + """ +elif False: + DataSetColumnGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetColumnGroupArgs: def __init__(__self__, *, @@ -61452,6 +81820,27 @@ def geo_spatial_column_group(self, value: Optional[pulumi.Input['DataSetGeoSpati pulumi.set(self, "geo_spatial_column_group", value) +if not MYPY: + class DataSetColumnLevelPermissionRuleArgsDict(TypedDict): + """ +

A rule defined to grant access on one or more restricted columns. + Each dataset can have multiple rules. + To create a restricted column, you add it to one or more rules. + Each rule must contain at least one column and at least one user or group. + To be able to see a restricted column, a user or group needs to be added + to a rule for that column.

+ """ + column_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ +

An array of column names.

+ """ + principals: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ +

An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.

+ """ +elif False: + DataSetColumnLevelPermissionRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetColumnLevelPermissionRuleArgs: def __init__(__self__, *, @@ -61497,6 +81886,28 @@ def principals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "principals", value) +if not MYPY: + class DataSetColumnTagArgsDict(TypedDict): + """ +

A tag for a column in a + + TagColumnOperation + + structure. This is a + variant type structure. For this structure to be valid, only one of the attributes can + be non-null.

+ """ + column_description: NotRequired[pulumi.Input['DataSetColumnDescriptionArgsDict']] + """ + A description for a column. + """ + column_geographic_role: NotRequired[pulumi.Input['DataSetGeoSpatialDataRole']] + """ + A geospatial role for a column. + """ +elif False: + DataSetColumnTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetColumnTagArgs: def __init__(__self__, *, @@ -61543,6 +81954,19 @@ def column_geographic_role(self, value: Optional[pulumi.Input['DataSetGeoSpatial pulumi.set(self, "column_geographic_role", value) +if not MYPY: + class DataSetCreateColumnsOperationArgsDict(TypedDict): + """ +

A transform operation that creates calculated columns. Columns created in one such + operation form a lexical closure.

+ """ + columns: pulumi.Input[Sequence[pulumi.Input['DataSetCalculatedColumnArgsDict']]] + """ +

Calculated columns to create.

+ """ +elif False: + DataSetCreateColumnsOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetCreateColumnsOperationArgs: def __init__(__self__, *, @@ -61567,6 +81991,30 @@ def columns(self, value: pulumi.Input[Sequence[pulumi.Input['DataSetCalculatedCo pulumi.set(self, "columns", value) +if not MYPY: + class DataSetCustomSqlArgsDict(TypedDict): + """ +

A physical table type built from the results of the custom SQL query.

+ """ + columns: pulumi.Input[Sequence[pulumi.Input['DataSetInputColumnArgsDict']]] + """ +

The column schema from the SQL query result set.

+ """ + data_source_arn: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the data source.

+ """ + name: pulumi.Input[str] + """ +

A display name for the SQL query result.

+ """ + sql_query: pulumi.Input[str] + """ +

The SQL query.

+ """ +elif False: + DataSetCustomSqlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetCustomSqlArgs: def __init__(__self__, *, @@ -61635,6 +82083,30 @@ def sql_query(self, value: pulumi.Input[str]): pulumi.set(self, "sql_query", value) +if not MYPY: + class DataSetDatasetParameterArgsDict(TypedDict): + """ +

A dataset parameter.

+ """ + date_time_dataset_parameter: NotRequired[pulumi.Input['DataSetDateTimeDatasetParameterArgsDict']] + """ + A date time parameter that is created in the dataset. + """ + decimal_dataset_parameter: NotRequired[pulumi.Input['DataSetDecimalDatasetParameterArgsDict']] + """ + A decimal parameter that is created in the dataset. + """ + integer_dataset_parameter: NotRequired[pulumi.Input['DataSetIntegerDatasetParameterArgsDict']] + """ + An integer parameter that is created in the dataset. + """ + string_dataset_parameter: NotRequired[pulumi.Input['DataSetStringDatasetParameterArgsDict']] + """ + A string parameter that is created in the dataset. + """ +elif False: + DataSetDatasetParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetDatasetParameterArgs: def __init__(__self__, *, @@ -61707,6 +82179,18 @@ def string_dataset_parameter(self, value: Optional[pulumi.Input['DataSetStringDa pulumi.set(self, "string_dataset_parameter", value) +if not MYPY: + class DataSetDateTimeDatasetParameterDefaultValuesArgsDict(TypedDict): + """ +

The default values of a date time parameter.

+ """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ +

A list of static default values for a given date time parameter.

+ """ +elif False: + DataSetDateTimeDatasetParameterDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetDateTimeDatasetParameterDefaultValuesArgs: def __init__(__self__, *, @@ -61731,6 +82215,34 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "static_values", value) +if not MYPY: + class DataSetDateTimeDatasetParameterArgsDict(TypedDict): + """ +

A date time parameter for a dataset.

+ """ + id: pulumi.Input[str] + """ +

An identifier for the parameter that is created in the dataset.

+ """ + name: pulumi.Input[str] + """ +

The name of the date time parameter that is created in the dataset.

+ """ + value_type: pulumi.Input['DataSetDatasetParameterValueType'] + """ + The value type of the dataset parameter. Valid values are `single value` or `multi value` . + """ + default_values: NotRequired[pulumi.Input['DataSetDateTimeDatasetParameterDefaultValuesArgsDict']] + """ + A list of default values for a given date time parameter. This structure only accepts static values. + """ + time_granularity: NotRequired[pulumi.Input['DataSetTimeGranularity']] + """ + The time granularity of the date time parameter. + """ +elif False: + DataSetDateTimeDatasetParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetDateTimeDatasetParameterArgs: def __init__(__self__, *, @@ -61816,6 +82328,18 @@ def time_granularity(self, value: Optional[pulumi.Input['DataSetTimeGranularity' pulumi.set(self, "time_granularity", value) +if not MYPY: + class DataSetDecimalDatasetParameterDefaultValuesArgsDict(TypedDict): + """ +

The default values of a decimal parameter.

+ """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ +

A list of static default values for a given decimal parameter.

+ """ +elif False: + DataSetDecimalDatasetParameterDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetDecimalDatasetParameterDefaultValuesArgs: def __init__(__self__, *, @@ -61840,6 +82364,30 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[float pulumi.set(self, "static_values", value) +if not MYPY: + class DataSetDecimalDatasetParameterArgsDict(TypedDict): + """ +

A decimal parameter for a dataset.

+ """ + id: pulumi.Input[str] + """ +

An identifier for the decimal parameter created in the dataset.

+ """ + name: pulumi.Input[str] + """ +

The name of the decimal parameter that is created in the dataset.

+ """ + value_type: pulumi.Input['DataSetDatasetParameterValueType'] + """ + The value type of the dataset parameter. Valid values are `single value` or `multi value` . + """ + default_values: NotRequired[pulumi.Input['DataSetDecimalDatasetParameterDefaultValuesArgsDict']] + """ + A list of default values for a given decimal parameter. This structure only accepts static values. + """ +elif False: + DataSetDecimalDatasetParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetDecimalDatasetParameterArgs: def __init__(__self__, *, @@ -61909,6 +82457,22 @@ def default_values(self, value: Optional[pulumi.Input['DataSetDecimalDatasetPara pulumi.set(self, "default_values", value) +if not MYPY: + class DataSetFieldFolderArgsDict(TypedDict): + """ +

A FieldFolder element is a folder that contains fields and nested subfolders.

+ """ + columns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ +

A folder has a list of columns. A column can only be in one folder.

+ """ + description: NotRequired[pulumi.Input[str]] + """ +

The description for a field folder.

+ """ +elif False: + DataSetFieldFolderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetFieldFolderArgs: def __init__(__self__, *, @@ -61949,6 +82513,19 @@ def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) +if not MYPY: + class DataSetFilterOperationArgsDict(TypedDict): + """ +

A transform operation that filters rows based on a condition.

+ """ + condition_expression: pulumi.Input[str] + """ +

An expression that must evaluate to a Boolean value. Rows for which the expression + evaluates to true are kept in the dataset.

+ """ +elif False: + DataSetFilterOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetFilterOperationArgs: def __init__(__self__, *, @@ -61974,6 +82551,26 @@ def condition_expression(self, value: pulumi.Input[str]): pulumi.set(self, "condition_expression", value) +if not MYPY: + class DataSetGeoSpatialColumnGroupArgsDict(TypedDict): + """ +

Geospatial column group that denotes a hierarchy.

+ """ + columns: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

Columns in this hierarchy.

+ """ + name: pulumi.Input[str] + """ +

A display name for the hierarchy.

+ """ + country_code: NotRequired[pulumi.Input['DataSetGeoSpatialCountryCode']] + """ + Country code. + """ +elif False: + DataSetGeoSpatialColumnGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetGeoSpatialColumnGroupArgs: def __init__(__self__, *, @@ -62028,6 +82625,18 @@ def country_code(self, value: Optional[pulumi.Input['DataSetGeoSpatialCountryCod pulumi.set(self, "country_code", value) +if not MYPY: + class DataSetIncrementalRefreshArgsDict(TypedDict): + """ +

The incremental refresh configuration for a dataset.

+ """ + lookback_window: pulumi.Input['DataSetLookbackWindowArgsDict'] + """ + The lookback window setup for an incremental refresh configuration. + """ +elif False: + DataSetIncrementalRefreshArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetIncrementalRefreshArgs: def __init__(__self__, *, @@ -62051,6 +82660,24 @@ def lookback_window(self, value: pulumi.Input['DataSetLookbackWindowArgs']): pulumi.set(self, "lookback_window", value) +if not MYPY: + class DataSetIngestionWaitPolicyArgsDict(TypedDict): + """ +

Wait policy to use when creating/updating dataset. Default is to wait for SPICE ingestion to finish with timeout of 36 hours.

+ """ + ingestion_wait_time_in_hours: NotRequired[pulumi.Input[float]] + """ +

The maximum time (in hours) to wait for Ingestion to complete. Default timeout is 36 hours. + Applicable only when DataSetImportMode mode is set to SPICE and WaitForSpiceIngestion is set to true.

+ """ + wait_for_spice_ingestion: NotRequired[pulumi.Input[bool]] + """ +

Wait for SPICE ingestion to finish to mark dataset creation/update successful. Default (true). + Applicable only when DataSetImportMode mode is set to SPICE.

+ """ +elif False: + DataSetIngestionWaitPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetIngestionWaitPolicyArgs: def __init__(__self__, *, @@ -62095,6 +82722,26 @@ def wait_for_spice_ingestion(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "wait_for_spice_ingestion", value) +if not MYPY: + class DataSetInputColumnArgsDict(TypedDict): + """ +

Metadata for a column that is used as the input of a transform operation.

+ """ + name: pulumi.Input[str] + """ +

The name of this column in the underlying data source.

+ """ + type: pulumi.Input['DataSetInputColumnDataType'] + """ + The data type of the column. + """ + sub_type: NotRequired[pulumi.Input['DataSetColumnDataSubType']] + """ + The sub data type of the column. Sub types are only available for decimal columns that are part of a SPICE dataset. + """ +elif False: + DataSetInputColumnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetInputColumnArgs: def __init__(__self__, *, @@ -62149,6 +82796,18 @@ def sub_type(self, value: Optional[pulumi.Input['DataSetColumnDataSubType']]): pulumi.set(self, "sub_type", value) +if not MYPY: + class DataSetIntegerDatasetParameterDefaultValuesArgsDict(TypedDict): + """ +

The default values of an integer parameter.

+ """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ +

A list of static default values for a given integer parameter.

+ """ +elif False: + DataSetIntegerDatasetParameterDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetIntegerDatasetParameterDefaultValuesArgs: def __init__(__self__, *, @@ -62173,6 +82832,30 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[float pulumi.set(self, "static_values", value) +if not MYPY: + class DataSetIntegerDatasetParameterArgsDict(TypedDict): + """ +

An integer parameter for a dataset.

+ """ + id: pulumi.Input[str] + """ +

An identifier for the integer parameter created in the dataset.

+ """ + name: pulumi.Input[str] + """ +

The name of the integer parameter that is created in the dataset.

+ """ + value_type: pulumi.Input['DataSetDatasetParameterValueType'] + """ + The value type of the dataset parameter. Valid values are `single value` or `multi value` . + """ + default_values: NotRequired[pulumi.Input['DataSetIntegerDatasetParameterDefaultValuesArgsDict']] + """ + A list of default values for a given integer parameter. This structure only accepts static values. + """ +elif False: + DataSetIntegerDatasetParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetIntegerDatasetParameterArgs: def __init__(__self__, *, @@ -62242,6 +82925,38 @@ def default_values(self, value: Optional[pulumi.Input['DataSetIntegerDatasetPara pulumi.set(self, "default_values", value) +if not MYPY: + class DataSetJoinInstructionArgsDict(TypedDict): + """ +

The instructions associated with a join.

+ """ + left_operand: pulumi.Input[str] + """ +

The operand on the left side of a join.

+ """ + on_clause: pulumi.Input[str] + """ +

The join instructions provided in the ON clause of a join.

+ """ + right_operand: pulumi.Input[str] + """ +

The operand on the right side of a join.

+ """ + type: pulumi.Input['DataSetJoinType'] + """ + The type of join that it is. + """ + left_join_key_properties: NotRequired[pulumi.Input['DataSetJoinKeyPropertiesArgsDict']] + """ + Join key properties of the left operand. + """ + right_join_key_properties: NotRequired[pulumi.Input['DataSetJoinKeyPropertiesArgsDict']] + """ + Join key properties of the right operand. + """ +elif False: + DataSetJoinInstructionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetJoinInstructionArgs: def __init__(__self__, *, @@ -62342,6 +83057,19 @@ def right_join_key_properties(self, value: Optional[pulumi.Input['DataSetJoinKey pulumi.set(self, "right_join_key_properties", value) +if not MYPY: + class DataSetJoinKeyPropertiesArgsDict(TypedDict): + """ +

Properties associated with the columns participating in a join.

+ """ + unique_key: NotRequired[pulumi.Input[bool]] + """ +

A value that indicates that a row in a table is uniquely identified by the columns in + a join key. This is used by Amazon QuickSight to optimize query performance.

+ """ +elif False: + DataSetJoinKeyPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetJoinKeyPropertiesArgs: def __init__(__self__, *, @@ -62368,6 +83096,27 @@ def unique_key(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "unique_key", value) +if not MYPY: + class DataSetLogicalTableSourceArgsDict(TypedDict): + """ +

Information about the source of a logical table. This is a variant type structure. For + this structure to be valid, only one of the attributes can be non-null.

+ """ + data_set_arn: NotRequired[pulumi.Input[str]] + """ +

The Amazon Resource Number (ARN) of the parent dataset.

+ """ + join_instruction: NotRequired[pulumi.Input['DataSetJoinInstructionArgsDict']] + """ + Specifies the result of a join of two logical tables. + """ + physical_table_id: NotRequired[pulumi.Input[str]] + """ +

Physical table ID.

+ """ +elif False: + DataSetLogicalTableSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetLogicalTableSourceArgs: def __init__(__self__, *, @@ -62425,6 +83174,29 @@ def physical_table_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "physical_table_id", value) +if not MYPY: + class DataSetLogicalTableArgsDict(TypedDict): + """ +

A logical table is a unit that joins and that data + transformations operate on. A logical table has a source, which can be either a physical + table or result of a join. When a logical table points to a physical table, the logical + table acts as a mutable copy of that physical table through transform operations.

+ """ + alias: pulumi.Input[str] + """ +

A display name for the logical table.

+ """ + data_transforms: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSetTransformOperationArgsDict']]]] + """ +

Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.

+ """ + source: NotRequired[pulumi.Input['DataSetLogicalTableSourceArgsDict']] + """ + Source of this logical table. + """ +elif False: + DataSetLogicalTableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetLogicalTableArgs: def __init__(__self__, *, @@ -62483,6 +83255,26 @@ def source(self, value: Optional[pulumi.Input['DataSetLogicalTableSourceArgs']]) pulumi.set(self, "source", value) +if not MYPY: + class DataSetLookbackWindowArgsDict(TypedDict): + """ +

The lookback window setup of an incremental refresh configuration.

+ """ + column_name: pulumi.Input[str] + """ +

The name of the lookback window column.

+ """ + size: pulumi.Input[float] + """ +

The lookback window column size.

+ """ + size_unit: pulumi.Input['DataSetLookbackWindowSizeUnit'] + """ + The size unit that is used for the lookback window column. Valid values for this structure are `HOUR` , `DAY` , and `WEEK` . + """ +elif False: + DataSetLookbackWindowArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetLookbackWindowArgs: def __init__(__self__, *, @@ -62536,6 +83328,30 @@ def size_unit(self, value: pulumi.Input['DataSetLookbackWindowSizeUnit']): pulumi.set(self, "size_unit", value) +if not MYPY: + class DataSetNewDefaultValuesArgsDict(TypedDict): + """ +

The configuration that overrides the existing default values for a dataset parameter that is inherited from another dataset.

+ """ + date_time_static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ +

A list of static default values for a given date time parameter.

+ """ + decimal_static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ +

A list of static default values for a given decimal parameter.

+ """ + integer_static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ +

A list of static default values for a given integer parameter.

+ """ + string_static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ +

A list of static default values for a given string parameter.

+ """ +elif False: + DataSetNewDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetNewDefaultValuesArgs: def __init__(__self__, *, @@ -62608,6 +83424,26 @@ def string_static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "string_static_values", value) +if not MYPY: + class DataSetOverrideDatasetParameterOperationArgsDict(TypedDict): + """ +

A transform operation that overrides the dataset parameter values that are defined in another dataset.

+ """ + parameter_name: pulumi.Input[str] + """ +

The name of the parameter to be overridden with different values.

+ """ + new_default_values: NotRequired[pulumi.Input['DataSetNewDefaultValuesArgsDict']] + """ + The new default values for the parameter. + """ + new_parameter_name: NotRequired[pulumi.Input[str]] + """ +

The new name for the parameter.

+ """ +elif False: + DataSetOverrideDatasetParameterOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetOverrideDatasetParameterOperationArgs: def __init__(__self__, *, @@ -62663,6 +83499,28 @@ def new_parameter_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "new_parameter_name", value) +if not MYPY: + class DataSetPhysicalTableArgsDict(TypedDict): + """ +

A view of a data source that contains information about the shape of the data in the + underlying source. This is a variant type structure. For this structure to be valid, + only one of the attributes can be non-null.

+ """ + custom_sql: NotRequired[pulumi.Input['DataSetCustomSqlArgsDict']] + """ + A physical table type built from the results of the custom SQL query. + """ + relational_table: NotRequired[pulumi.Input['DataSetRelationalTableArgsDict']] + """ + A physical table type for relational data sources. + """ + s3_source: NotRequired[pulumi.Input['DataSetS3SourceArgsDict']] + """ + A physical table type for as S3 data source. + """ +elif False: + DataSetPhysicalTableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetPhysicalTableArgs: def __init__(__self__, *, @@ -62721,6 +83579,19 @@ def s3_source(self, value: Optional[pulumi.Input['DataSetS3SourceArgs']]): pulumi.set(self, "s3_source", value) +if not MYPY: + class DataSetProjectOperationArgsDict(TypedDict): + """ +

A transform operation that projects columns. Operations that come after a projection + can only refer to projected columns.

+ """ + projected_columns: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

Projected columns.

+ """ +elif False: + DataSetProjectOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetProjectOperationArgs: def __init__(__self__, *, @@ -62745,6 +83616,18 @@ def projected_columns(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "projected_columns", value) +if not MYPY: + class DataSetRefreshConfigurationArgsDict(TypedDict): + """ +

The refresh configuration of a dataset.

+ """ + incremental_refresh: pulumi.Input['DataSetIncrementalRefreshArgsDict'] + """ + The incremental refresh for the dataset. + """ +elif False: + DataSetRefreshConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetRefreshConfigurationArgs: def __init__(__self__, *, @@ -62768,6 +83651,18 @@ def incremental_refresh(self, value: pulumi.Input['DataSetIncrementalRefreshArgs pulumi.set(self, "incremental_refresh", value) +if not MYPY: + class DataSetRefreshPropertiesArgsDict(TypedDict): + """ +

The refresh properties of a dataset.

+ """ + refresh_configuration: NotRequired[pulumi.Input['DataSetRefreshConfigurationArgsDict']] + """ + The refresh configuration for a dataset. + """ +elif False: + DataSetRefreshPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetRefreshPropertiesArgs: def __init__(__self__, *, @@ -62792,6 +83687,34 @@ def refresh_configuration(self, value: Optional[pulumi.Input['DataSetRefreshConf pulumi.set(self, "refresh_configuration", value) +if not MYPY: + class DataSetRelationalTableArgsDict(TypedDict): + """ +

A physical table type for relational data sources.

+ """ + data_source_arn: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) for the data source.

+ """ + input_columns: pulumi.Input[Sequence[pulumi.Input['DataSetInputColumnArgsDict']]] + """ +

The column schema of the table.

+ """ + name: pulumi.Input[str] + """ +

The name of the relational table.

+ """ + catalog: NotRequired[pulumi.Input[str]] + """ +

The catalog associated with a table.

+ """ + schema: NotRequired[pulumi.Input[str]] + """ +

The schema name. This name applies to certain relational database engines.

+ """ +elif False: + DataSetRelationalTableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetRelationalTableArgs: def __init__(__self__, *, @@ -62877,6 +83800,22 @@ def schema(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "schema", value) +if not MYPY: + class DataSetRenameColumnOperationArgsDict(TypedDict): + """ +

A transform operation that renames a column.

+ """ + column_name: pulumi.Input[str] + """ +

The name of the column to be renamed.

+ """ + new_column_name: pulumi.Input[str] + """ +

The new name for the column.

+ """ +elif False: + DataSetRenameColumnOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetRenameColumnOperationArgs: def __init__(__self__, *, @@ -62915,6 +83854,36 @@ def new_column_name(self, value: pulumi.Input[str]): pulumi.set(self, "new_column_name", value) +if not MYPY: + class DataSetResourcePermissionArgsDict(TypedDict): + """ +

Permission for the resource.

+ """ + actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The IAM action to grant or revoke permissions on.

+ """ + principal: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the principal. This can be one of the + following:

+
    +
  • +

    The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight + ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. + (This is less common.)

    +
  • +
+ """ +elif False: + DataSetResourcePermissionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetResourcePermissionArgs: def __init__(__self__, *, @@ -62981,6 +83950,41 @@ def principal(self, value: pulumi.Input[str]): pulumi.set(self, "principal", value) +if not MYPY: + class DataSetRowLevelPermissionDataSetArgsDict(TypedDict): + """ +

Information about a dataset that contains permissions for row-level security (RLS). + The permissions dataset maps fields to users or groups. For more information, see + Using Row-Level Security (RLS) to Restrict Access to a Dataset in the Amazon QuickSight User + Guide.

+

The option to deny permissions by setting PermissionPolicy to DENY_ACCESS is + not supported for new RLS datasets.

+ """ + arn: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.

+ """ + permission_policy: pulumi.Input['DataSetRowLevelPermissionPolicy'] + """ + The type of permissions to use when interpreting the permissions for RLS. `DENY_ACCESS` is included for backward compatibility only. + """ + format_version: NotRequired[pulumi.Input['DataSetRowLevelPermissionFormatVersion']] + """ + The user or group rules associated with the dataset that contains permissions for RLS. + + By default, `FormatVersion` is `VERSION_1` . When `FormatVersion` is `VERSION_1` , `UserName` and `GroupName` are required. When `FormatVersion` is `VERSION_2` , `UserARN` and `GroupARN` are required, and `Namespace` must not exist. + """ + namespace: NotRequired[pulumi.Input[str]] + """ +

The namespace associated with the dataset that contains permissions for RLS.

+ """ + status: NotRequired[pulumi.Input['DataSetStatus']] + """ + The status of the row-level security permission dataset. If enabled, the status is `ENABLED` . If disabled, the status is `DISABLED` . + """ +elif False: + DataSetRowLevelPermissionDataSetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetRowLevelPermissionDataSetArgs: def __init__(__self__, *, @@ -63076,6 +84080,26 @@ def status(self, value: Optional[pulumi.Input['DataSetStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class DataSetRowLevelPermissionTagConfigurationArgsDict(TypedDict): + """ +

The configuration of tags on a dataset to set row-level security.

+ """ + tag_rules: pulumi.Input[Sequence[pulumi.Input['DataSetRowLevelPermissionTagRuleArgsDict']]] + """ +

A set of rules associated with row-level security, such as the tag names and columns that they are assigned to.

+ """ + status: NotRequired[pulumi.Input['DataSetStatus']] + """ + The status of row-level security tags. If enabled, the status is `ENABLED` . If disabled, the status is `DISABLED` . + """ + tag_rule_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input[str]]]]]] + """ +

A list of tag configuration rules to apply to a dataset. All tag configurations have the OR condition. Tags within each tile will be joined (AND). At least one rule in this structure must have all tag values assigned to it to apply Row-level security (RLS) to the dataset.

+ """ +elif False: + DataSetRowLevelPermissionTagConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetRowLevelPermissionTagConfigurationArgs: def __init__(__self__, *, @@ -63131,6 +84155,30 @@ def tag_rule_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "tag_rule_configurations", value) +if not MYPY: + class DataSetRowLevelPermissionTagRuleArgsDict(TypedDict): + """ +

A set of rules associated with a tag.

+ """ + column_name: pulumi.Input[str] + """ +

The column name that a tag key is assigned to.

+ """ + tag_key: pulumi.Input[str] + """ +

The unique key for a tag.

+ """ + match_all_value: NotRequired[pulumi.Input[str]] + """ +

A string that you want to use to filter by all the values in a column in the dataset and don’t want to list the values one by one. For example, you can use an asterisk as your match all value.

+ """ + tag_multi_value_delimiter: NotRequired[pulumi.Input[str]] + """ +

A string that you want to use to delimit the values when you pass the values at run time. For example, you can delimit the values with a comma.

+ """ +elif False: + DataSetRowLevelPermissionTagRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetRowLevelPermissionTagRuleArgs: def __init__(__self__, *, @@ -63201,6 +84249,29 @@ def tag_multi_value_delimiter(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tag_multi_value_delimiter", value) +if not MYPY: + class DataSetS3SourceArgsDict(TypedDict): + """ +

A physical table type for an S3 data source.

+ """ + data_source_arn: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) for the data source.

+ """ + input_columns: pulumi.Input[Sequence[pulumi.Input['DataSetInputColumnArgsDict']]] + """ +

A physical table type for an S3 data source.

+ +

For files that aren't JSON, only STRING data types are supported in input columns.

+
+ """ + upload_settings: NotRequired[pulumi.Input['DataSetUploadSettingsArgsDict']] + """ + Information about the format for the S3 source file or files. + """ +elif False: + DataSetS3SourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetS3SourceArgs: def __init__(__self__, *, @@ -63261,6 +84332,18 @@ def upload_settings(self, value: Optional[pulumi.Input['DataSetUploadSettingsArg pulumi.set(self, "upload_settings", value) +if not MYPY: + class DataSetStringDatasetParameterDefaultValuesArgsDict(TypedDict): + """ +

The default values of a string parameter.

+ """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ +

A list of static default values for a given string parameter.

+ """ +elif False: + DataSetStringDatasetParameterDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetStringDatasetParameterDefaultValuesArgs: def __init__(__self__, *, @@ -63285,6 +84368,30 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "static_values", value) +if not MYPY: + class DataSetStringDatasetParameterArgsDict(TypedDict): + """ +

A string parameter for a dataset.

+ """ + id: pulumi.Input[str] + """ +

An identifier for the string parameter that is created in the dataset.

+ """ + name: pulumi.Input[str] + """ +

The name of the string parameter that is created in the dataset.

+ """ + value_type: pulumi.Input['DataSetDatasetParameterValueType'] + """ + The value type of the dataset parameter. Valid values are `single value` or `multi value` . + """ + default_values: NotRequired[pulumi.Input['DataSetStringDatasetParameterDefaultValuesArgsDict']] + """ + A list of default values for a given string dataset parameter type. This structure only accepts static values. + """ +elif False: + DataSetStringDatasetParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetStringDatasetParameterArgs: def __init__(__self__, *, @@ -63354,6 +84461,25 @@ def default_values(self, value: Optional[pulumi.Input['DataSetStringDatasetParam pulumi.set(self, "default_values", value) +if not MYPY: + class DataSetTagColumnOperationArgsDict(TypedDict): + """ +

A transform operation that tags a column with additional information.

+ """ + column_name: pulumi.Input[str] + """ +

The column that this operation acts on.

+ """ + tags: pulumi.Input[Sequence[pulumi.Input['DataSetColumnTagArgsDict']]] + """ +

The dataset column tag, currently only used for geospatial type tagging.

+ +

This is not tags for the Amazon Web Services tagging feature.

+
+ """ +elif False: + DataSetTagColumnOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetTagColumnOperationArgs: def __init__(__self__, *, @@ -63398,6 +84524,41 @@ def tags(self, value: pulumi.Input[Sequence[pulumi.Input['DataSetColumnTagArgs'] pulumi.set(self, "tags", value) +if not MYPY: + class DataSetTransformOperationArgsDict(TypedDict): + """ +

A data transformation on a logical table. This is a variant type structure. For this + structure to be valid, only one of the attributes can be non-null.

+ """ + cast_column_type_operation: NotRequired[pulumi.Input['DataSetCastColumnTypeOperationArgsDict']] + """ + A transform operation that casts a column to a different type. + """ + create_columns_operation: NotRequired[pulumi.Input['DataSetCreateColumnsOperationArgsDict']] + """ + An operation that creates calculated columns. Columns created in one such operation form a lexical closure. + """ + filter_operation: NotRequired[pulumi.Input['DataSetFilterOperationArgsDict']] + """ + An operation that filters rows based on some condition. + """ + override_dataset_parameter_operation: NotRequired[pulumi.Input['DataSetOverrideDatasetParameterOperationArgsDict']] + project_operation: NotRequired[pulumi.Input['DataSetProjectOperationArgsDict']] + """ + An operation that projects columns. Operations that come after a projection can only refer to projected columns. + """ + rename_column_operation: NotRequired[pulumi.Input['DataSetRenameColumnOperationArgsDict']] + """ + An operation that renames a column. + """ + tag_column_operation: NotRequired[pulumi.Input['DataSetTagColumnOperationArgsDict']] + """ + An operation that tags a column with additional information. + """ + untag_column_operation: NotRequired[pulumi.Input['DataSetUntagColumnOperationArgsDict']] +elif False: + DataSetTransformOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetTransformOperationArgs: def __init__(__self__, *, @@ -63527,6 +84688,22 @@ def untag_column_operation(self, value: Optional[pulumi.Input['DataSetUntagColum pulumi.set(self, "untag_column_operation", value) +if not MYPY: + class DataSetUntagColumnOperationArgsDict(TypedDict): + """ +

A transform operation that removes tags associated with a column.

+ """ + column_name: pulumi.Input[str] + """ +

The column that this operation acts on.

+ """ + tag_names: pulumi.Input[Sequence[pulumi.Input['DataSetColumnTagName']]] + """ +

The column tags to remove from this column.

+ """ +elif False: + DataSetUntagColumnOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetUntagColumnOperationArgs: def __init__(__self__, *, @@ -63565,6 +84742,34 @@ def tag_names(self, value: pulumi.Input[Sequence[pulumi.Input['DataSetColumnTagN pulumi.set(self, "tag_names", value) +if not MYPY: + class DataSetUploadSettingsArgsDict(TypedDict): + """ +

Information about the format for a source file or files.

+ """ + contains_header: NotRequired[pulumi.Input[bool]] + """ +

Whether the file has a header row, or the files each have a header row.

+ """ + delimiter: NotRequired[pulumi.Input[str]] + """ +

The delimiter between values in the file.

+ """ + format: NotRequired[pulumi.Input['DataSetFileFormat']] + """ + File format. + """ + start_from_row: NotRequired[pulumi.Input[float]] + """ +

A row number to start reading data from.

+ """ + text_qualifier: NotRequired[pulumi.Input['DataSetTextQualifier']] + """ + Text qualifier. + """ +elif False: + DataSetUploadSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetUploadSettingsArgs: def __init__(__self__, *, @@ -63653,6 +84858,22 @@ def text_qualifier(self, value: Optional[pulumi.Input['DataSetTextQualifier']]): pulumi.set(self, "text_qualifier", value) +if not MYPY: + class DataSetUsageConfigurationArgsDict(TypedDict): + """ +

The usage configuration to apply to child datasets that reference this dataset as a source.

+ """ + disable_use_as_direct_query_source: NotRequired[pulumi.Input[bool]] + """ +

An option that controls whether a child dataset of a direct query can use this dataset as a source.

+ """ + disable_use_as_imported_source: NotRequired[pulumi.Input[bool]] + """ +

An option that controls whether a child dataset that's stored in QuickSight can use this dataset as a source.

+ """ +elif False: + DataSetUsageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSetUsageConfigurationArgs: def __init__(__self__, *, @@ -63693,6 +84914,18 @@ def disable_use_as_imported_source(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "disable_use_as_imported_source", value) +if not MYPY: + class DataSourceAmazonElasticsearchParametersArgsDict(TypedDict): + """ +

The parameters for OpenSearch.

+ """ + domain: pulumi.Input[str] + """ +

The OpenSearch domain.

+ """ +elif False: + DataSourceAmazonElasticsearchParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceAmazonElasticsearchParametersArgs: def __init__(__self__, *, @@ -63716,6 +84949,18 @@ def domain(self, value: pulumi.Input[str]): pulumi.set(self, "domain", value) +if not MYPY: + class DataSourceAmazonOpenSearchParametersArgsDict(TypedDict): + """ +

The parameters for OpenSearch.

+ """ + domain: pulumi.Input[str] + """ +

The OpenSearch domain.

+ """ +elif False: + DataSourceAmazonOpenSearchParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceAmazonOpenSearchParametersArgs: def __init__(__self__, *, @@ -63739,6 +84984,22 @@ def domain(self, value: pulumi.Input[str]): pulumi.set(self, "domain", value) +if not MYPY: + class DataSourceAthenaParametersArgsDict(TypedDict): + """ +

Parameters for Amazon Athena.

+ """ + role_arn: NotRequired[pulumi.Input[str]] + """ +

Use the RoleArn structure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then use RoleArn to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.

+ """ + work_group: NotRequired[pulumi.Input[str]] + """ +

The workgroup that Amazon Athena uses.

+ """ +elif False: + DataSourceAthenaParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceAthenaParametersArgs: def __init__(__self__, *, @@ -63779,6 +85040,26 @@ def work_group(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "work_group", value) +if not MYPY: + class DataSourceAuroraParametersArgsDict(TypedDict): + """ +

Parameters for Amazon Aurora.

+ """ + database: pulumi.Input[str] + """ +

Database.

+ """ + host: pulumi.Input[str] + """ +

Host.

+ """ + port: pulumi.Input[float] + """ +

Port.

+ """ +elif False: + DataSourceAuroraParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceAuroraParametersArgs: def __init__(__self__, *, @@ -63832,6 +85113,26 @@ def port(self, value: pulumi.Input[float]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceAuroraPostgreSqlParametersArgsDict(TypedDict): + """ +

Parameters for Amazon Aurora PostgreSQL-Compatible Edition.

+ """ + database: pulumi.Input[str] + """ +

The Amazon Aurora PostgreSQL database to connect to.

+ """ + host: pulumi.Input[str] + """ +

The Amazon Aurora PostgreSQL-Compatible host to connect to.

+ """ + port: pulumi.Input[float] + """ +

The port that Amazon Aurora PostgreSQL is listening on.

+ """ +elif False: + DataSourceAuroraPostgreSqlParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceAuroraPostgreSqlParametersArgs: def __init__(__self__, *, @@ -63885,6 +85186,34 @@ def port(self, value: pulumi.Input[float]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceCredentialPairArgsDict(TypedDict): + """ +

The combination of user name and password that are used as credentials.

+ """ + password: pulumi.Input[str] + """ +

Password.

+ """ + username: pulumi.Input[str] + """ +

User name.

+ """ + alternate_data_source_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataSourceParametersArgsDict']]]] + """ +

A set of alternate data source parameters that you want to share for these + credentials. The credentials are applied in tandem with the data source parameters when + you copy a data source by using a create or update request. The API operation compares + the DataSourceParameters structure that's in the request with the + structures in the AlternateDataSourceParameters allow list. If the + structures are an exact match, the request is allowed to use the new data source with + the existing credentials. If the AlternateDataSourceParameters list is + null, the DataSourceParameters originally used with these + Credentials is automatically allowed.

+ """ +elif False: + DataSourceCredentialPairArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceCredentialPairArgs: def __init__(__self__, *, @@ -63955,6 +85284,30 @@ def alternate_data_source_parameters(self, value: Optional[pulumi.Input[Sequence pulumi.set(self, "alternate_data_source_parameters", value) +if not MYPY: + class DataSourceCredentialsArgsDict(TypedDict): + """ +

Data source credentials. This is a variant type structure. For this structure to be + valid, only one of the attributes can be non-null.

+ """ + copy_source_arn: NotRequired[pulumi.Input[str]] + """ +

The Amazon Resource Name (ARN) of a data source that has the credential pair that you + want to use. When CopySourceArn is not null, the credential pair from the + data source in the ARN is used as the credentials for the + DataSourceCredentials structure.

+ """ + credential_pair: NotRequired[pulumi.Input['DataSourceCredentialPairArgsDict']] + """ + Credential pair. For more information, see `[CredentialPair](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CredentialPair.html)` . + """ + secret_arn: NotRequired[pulumi.Input[str]] + """ +

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

+ """ +elif False: + DataSourceCredentialsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceCredentialsArgs: def __init__(__self__, *, @@ -64018,6 +85371,26 @@ def secret_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "secret_arn", value) +if not MYPY: + class DataSourceDatabricksParametersArgsDict(TypedDict): + """ +

The parameters that are required to connect to a Databricks data source.

+ """ + host: pulumi.Input[str] + """ +

The host name of the Databricks data source.

+ """ + port: pulumi.Input[float] + """ +

The port for the Databricks data source.

+ """ + sql_endpoint_path: pulumi.Input[str] + """ +

The HTTP path of the Databricks data source.

+ """ +elif False: + DataSourceDatabricksParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceDatabricksParametersArgs: def __init__(__self__, *, @@ -64071,6 +85444,22 @@ def sql_endpoint_path(self, value: pulumi.Input[str]): pulumi.set(self, "sql_endpoint_path", value) +if not MYPY: + class DataSourceErrorInfoArgsDict(TypedDict): + """ +

Error information for the data source creation or update.

+ """ + message: NotRequired[pulumi.Input[str]] + """ +

Error message.

+ """ + type: NotRequired[pulumi.Input['DataSourceErrorInfoType']] + """ + Error type. + """ +elif False: + DataSourceErrorInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceErrorInfoArgs: def __init__(__self__, *, @@ -64111,6 +85500,18 @@ def type(self, value: Optional[pulumi.Input['DataSourceErrorInfoType']]): pulumi.set(self, "type", value) +if not MYPY: + class DataSourceIdentityCenterConfigurationArgsDict(TypedDict): + """ +

The parameters for an IAM Identity Center configuration.

+ """ + enable_identity_propagation: NotRequired[pulumi.Input[bool]] + """ +

A Boolean option that controls whether Trusted Identity Propagation should be used.

+ """ +elif False: + DataSourceIdentityCenterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceIdentityCenterConfigurationArgs: def __init__(__self__, *, @@ -64135,6 +85536,22 @@ def enable_identity_propagation(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enable_identity_propagation", value) +if not MYPY: + class DataSourceManifestFileLocationArgsDict(TypedDict): + """ +

Amazon S3 manifest file location.

+ """ + bucket: pulumi.Input[str] + """ +

Amazon S3 bucket.

+ """ + key: pulumi.Input[str] + """ +

Amazon S3 key that identifies an object.

+ """ +elif False: + DataSourceManifestFileLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceManifestFileLocationArgs: def __init__(__self__, *, @@ -64173,6 +85590,26 @@ def key(self, value: pulumi.Input[str]): pulumi.set(self, "key", value) +if not MYPY: + class DataSourceMariaDbParametersArgsDict(TypedDict): + """ +

The parameters for MariaDB.

+ """ + database: pulumi.Input[str] + """ +

Database.

+ """ + host: pulumi.Input[str] + """ +

Host.

+ """ + port: pulumi.Input[float] + """ +

Port.

+ """ +elif False: + DataSourceMariaDbParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceMariaDbParametersArgs: def __init__(__self__, *, @@ -64226,6 +85663,26 @@ def port(self, value: pulumi.Input[float]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceMySqlParametersArgsDict(TypedDict): + """ +

The parameters for MySQL.

+ """ + database: pulumi.Input[str] + """ +

Database.

+ """ + host: pulumi.Input[str] + """ +

Host.

+ """ + port: pulumi.Input[float] + """ +

Port.

+ """ +elif False: + DataSourceMySqlParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceMySqlParametersArgs: def __init__(__self__, *, @@ -64279,6 +85736,26 @@ def port(self, value: pulumi.Input[float]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceOracleParametersArgsDict(TypedDict): + """ +

The parameters for Oracle.

+ """ + database: pulumi.Input[str] + """ +

The database.

+ """ + host: pulumi.Input[str] + """ +

An Oracle host.

+ """ + port: pulumi.Input[float] + """ +

The port.

+ """ +elif False: + DataSourceOracleParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceOracleParametersArgs: def __init__(__self__, *, @@ -64332,6 +85809,96 @@ def port(self, value: pulumi.Input[float]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceParametersArgsDict(TypedDict): + """ +

The parameters that Amazon QuickSight uses to connect to your underlying data source. + This is a variant type structure. For this structure to be valid, only one of the + attributes can be non-null.

+ """ + amazon_elasticsearch_parameters: NotRequired[pulumi.Input['DataSourceAmazonElasticsearchParametersArgsDict']] + """ + The parameters for OpenSearch. + """ + amazon_open_search_parameters: NotRequired[pulumi.Input['DataSourceAmazonOpenSearchParametersArgsDict']] + """ + The parameters for OpenSearch. + """ + athena_parameters: NotRequired[pulumi.Input['DataSourceAthenaParametersArgsDict']] + """ + The parameters for Amazon Athena. + """ + aurora_parameters: NotRequired[pulumi.Input['DataSourceAuroraParametersArgsDict']] + """ + The parameters for Amazon Aurora MySQL. + """ + aurora_postgre_sql_parameters: NotRequired[pulumi.Input['DataSourceAuroraPostgreSqlParametersArgsDict']] + """ + The parameters for Amazon Aurora. + """ + databricks_parameters: NotRequired[pulumi.Input['DataSourceDatabricksParametersArgsDict']] + """ + The required parameters that are needed to connect to a Databricks data source. + """ + maria_db_parameters: NotRequired[pulumi.Input['DataSourceMariaDbParametersArgsDict']] + """ + The parameters for MariaDB. + """ + my_sql_parameters: NotRequired[pulumi.Input['DataSourceMySqlParametersArgsDict']] + """ + The parameters for MySQL. + """ + oracle_parameters: NotRequired[pulumi.Input['DataSourceOracleParametersArgsDict']] + """ + Oracle parameters. + """ + postgre_sql_parameters: NotRequired[pulumi.Input['DataSourcePostgreSqlParametersArgsDict']] + """ + The parameters for PostgreSQL. + """ + presto_parameters: NotRequired[pulumi.Input['DataSourcePrestoParametersArgsDict']] + """ + The parameters for Presto. + """ + rds_parameters: NotRequired[pulumi.Input['DataSourceRdsParametersArgsDict']] + """ + The parameters for Amazon RDS. + """ + redshift_parameters: NotRequired[pulumi.Input['DataSourceRedshiftParametersArgsDict']] + """ + The parameters for Amazon Redshift. + """ + s3_parameters: NotRequired[pulumi.Input['DataSourceS3ParametersArgsDict']] + """ + The parameters for S3. + """ + snowflake_parameters: NotRequired[pulumi.Input['DataSourceSnowflakeParametersArgsDict']] + """ + The parameters for Snowflake. + """ + spark_parameters: NotRequired[pulumi.Input['DataSourceSparkParametersArgsDict']] + """ + The parameters for Spark. + """ + sql_server_parameters: NotRequired[pulumi.Input['DataSourceSqlServerParametersArgsDict']] + """ + The parameters for SQL Server. + """ + starburst_parameters: NotRequired[pulumi.Input['DataSourceStarburstParametersArgsDict']] + """ + The parameters that are required to connect to a Starburst data source. + """ + teradata_parameters: NotRequired[pulumi.Input['DataSourceTeradataParametersArgsDict']] + """ + The parameters for Teradata. + """ + trino_parameters: NotRequired[pulumi.Input['DataSourceTrinoParametersArgsDict']] + """ + The parameters that are required to connect to a Trino data source. + """ +elif False: + DataSourceParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceParametersArgs: def __init__(__self__, *, @@ -64662,6 +86229,26 @@ def trino_parameters(self, value: Optional[pulumi.Input['DataSourceTrinoParamete pulumi.set(self, "trino_parameters", value) +if not MYPY: + class DataSourcePostgreSqlParametersArgsDict(TypedDict): + """ +

The parameters for PostgreSQL.

+ """ + database: pulumi.Input[str] + """ +

Database.

+ """ + host: pulumi.Input[str] + """ +

Host.

+ """ + port: pulumi.Input[float] + """ +

Port.

+ """ +elif False: + DataSourcePostgreSqlParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourcePostgreSqlParametersArgs: def __init__(__self__, *, @@ -64715,6 +86302,26 @@ def port(self, value: pulumi.Input[float]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourcePrestoParametersArgsDict(TypedDict): + """ +

The parameters for Presto.

+ """ + catalog: pulumi.Input[str] + """ +

Catalog.

+ """ + host: pulumi.Input[str] + """ +

Host.

+ """ + port: pulumi.Input[float] + """ +

Port.

+ """ +elif False: + DataSourcePrestoParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourcePrestoParametersArgs: def __init__(__self__, *, @@ -64768,6 +86375,22 @@ def port(self, value: pulumi.Input[float]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceRdsParametersArgsDict(TypedDict): + """ +

The parameters for Amazon RDS.

+ """ + database: pulumi.Input[str] + """ +

Database.

+ """ + instance_id: pulumi.Input[str] + """ +

Instance ID.

+ """ +elif False: + DataSourceRdsParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceRdsParametersArgs: def __init__(__self__, *, @@ -64806,6 +86429,32 @@ def instance_id(self, value: pulumi.Input[str]): pulumi.set(self, "instance_id", value) +if not MYPY: + class DataSourceRedshiftIamParametersArgsDict(TypedDict): + """ +

A structure that grants Amazon QuickSight access to your cluster and make a call to the redshift:GetClusterCredentials API. For more information on the redshift:GetClusterCredentials API, see + GetClusterCredentials + .

+ """ + role_arn: pulumi.Input[str] + """ +

Use the RoleArn structure to allow Amazon QuickSight to call redshift:GetClusterCredentials on your cluster. The calling principal must have iam:PassRole access to pass the role to Amazon QuickSight. The role's trust policy must allow the Amazon QuickSight service principal to assume the role.

+ """ + auto_create_database_user: NotRequired[pulumi.Input[bool]] + """ +

Automatically creates a database user. If your database doesn't have a DatabaseUser, set this parameter to True. If there is no DatabaseUser, Amazon QuickSight can't connect to your cluster. The RoleArn that you use for this operation must grant access to redshift:CreateClusterUser to successfully create the user.

+ """ + database_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ +

A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster. These permissions are combined with the permissions granted to Amazon QuickSight by the DatabaseUser. If you choose to include this parameter, the RoleArn must grant access to redshift:JoinGroup.

+ """ + database_user: NotRequired[pulumi.Input[str]] + """ +

The user whose permissions and group memberships will be used by Amazon QuickSight to access the cluster. If this user already exists in your database, Amazon QuickSight is granted the same permissions that the user has. If the user doesn't exist, set the value of AutoCreateDatabaseUser to True to create a new user with PUBLIC permissions.

+ """ +elif False: + DataSourceRedshiftIamParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceRedshiftIamParametersArgs: def __init__(__self__, *, @@ -64879,6 +86528,42 @@ def database_user(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "database_user", value) +if not MYPY: + class DataSourceRedshiftParametersArgsDict(TypedDict): + """ +

The parameters for Amazon Redshift. The ClusterId field can be blank if + Host and Port are both set. The Host and Port fields can be blank if the ClusterId field is set.

+ """ + database: pulumi.Input[str] + """ +

Database.

+ """ + cluster_id: NotRequired[pulumi.Input[str]] + """ +

Cluster ID. This field can be blank if the Host and Port are + provided.

+ """ + host: NotRequired[pulumi.Input[str]] + """ +

Host. This field can be blank if ClusterId is provided.

+ """ + iam_parameters: NotRequired[pulumi.Input['DataSourceRedshiftIamParametersArgsDict']] + """ + An optional parameter that uses IAM authentication to grant Amazon QuickSight access to your cluster. This parameter can be used instead of [DataSourceCredentials](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DataSourceCredentials.html) . + """ + identity_center_configuration: NotRequired[pulumi.Input['DataSourceIdentityCenterConfigurationArgsDict']] + """ + An optional parameter that configures IAM Identity Center authentication to grant Amazon QuickSight access to your cluster. + + This parameter can only be specified if your Amazon QuickSight account is configured with IAM Identity Center. + """ + port: NotRequired[pulumi.Input[float]] + """ +

Port. This field can be blank if the ClusterId is provided.

+ """ +elif False: + DataSourceRedshiftParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceRedshiftParametersArgs: def __init__(__self__, *, @@ -64989,6 +86674,37 @@ def port(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceResourcePermissionArgsDict(TypedDict): + """ +

Permission for the resource.

+ """ + actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The IAM action to grant or revoke permissions on.

+ """ + principal: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the principal. This can be one of the + following:

+
    +
  • +

    The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight + ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. + (This is less common.)

    +
  • +
+ """ + resource: NotRequired[pulumi.Input[str]] +elif False: + DataSourceResourcePermissionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceResourcePermissionArgs: def __init__(__self__, *, @@ -65067,6 +86783,22 @@ def resource(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "resource", value) +if not MYPY: + class DataSourceS3ParametersArgsDict(TypedDict): + """ +

The parameters for S3.

+ """ + manifest_file_location: pulumi.Input['DataSourceManifestFileLocationArgsDict'] + """ + Location of the Amazon S3 manifest file. This is NULL if the manifest file was uploaded into Amazon QuickSight. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ +

Use the RoleArn structure to override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then use RoleArn to bypass the account-wide role and allow S3 access for the single S3 data source that is specified in the structure, even if the account-wide role forbidding S3 access is still active.

+ """ +elif False: + DataSourceS3ParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceS3ParametersArgs: def __init__(__self__, *, @@ -65106,6 +86838,26 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class DataSourceSnowflakeParametersArgsDict(TypedDict): + """ +

The parameters for Snowflake.

+ """ + database: pulumi.Input[str] + """ +

Database.

+ """ + host: pulumi.Input[str] + """ +

Host.

+ """ + warehouse: pulumi.Input[str] + """ +

Warehouse.

+ """ +elif False: + DataSourceSnowflakeParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSnowflakeParametersArgs: def __init__(__self__, *, @@ -65159,6 +86911,22 @@ def warehouse(self, value: pulumi.Input[str]): pulumi.set(self, "warehouse", value) +if not MYPY: + class DataSourceSparkParametersArgsDict(TypedDict): + """ +

The parameters for Spark.

+ """ + host: pulumi.Input[str] + """ +

Host.

+ """ + port: pulumi.Input[float] + """ +

Port.

+ """ +elif False: + DataSourceSparkParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSparkParametersArgs: def __init__(__self__, *, @@ -65197,6 +86965,26 @@ def port(self, value: pulumi.Input[float]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceSqlServerParametersArgsDict(TypedDict): + """ +

The parameters for SQL Server.

+ """ + database: pulumi.Input[str] + """ +

Database.

+ """ + host: pulumi.Input[str] + """ +

Host.

+ """ + port: pulumi.Input[float] + """ +

Port.

+ """ +elif False: + DataSourceSqlServerParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSqlServerParametersArgs: def __init__(__self__, *, @@ -65250,6 +87038,19 @@ def port(self, value: pulumi.Input[float]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceSslPropertiesArgsDict(TypedDict): + """ +

Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your + underlying data source.

+ """ + disable_ssl: NotRequired[pulumi.Input[bool]] + """ +

A Boolean option to control whether SSL should be disabled.

+ """ +elif False: + DataSourceSslPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceSslPropertiesArgs: def __init__(__self__, *, @@ -65275,6 +87076,30 @@ def disable_ssl(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "disable_ssl", value) +if not MYPY: + class DataSourceStarburstParametersArgsDict(TypedDict): + """ +

The parameters that are required to connect to a Starburst data source.

+ """ + catalog: pulumi.Input[str] + """ +

The catalog name for the Starburst data source.

+ """ + host: pulumi.Input[str] + """ +

The host name of the Starburst data source.

+ """ + port: pulumi.Input[float] + """ +

The port for the Starburst data source.

+ """ + product_type: NotRequired[pulumi.Input['DataSourceStarburstProductType']] + """ + The product type for the Starburst data source. + """ +elif False: + DataSourceStarburstParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceStarburstParametersArgs: def __init__(__self__, *, @@ -65344,6 +87169,26 @@ def product_type(self, value: Optional[pulumi.Input['DataSourceStarburstProductT pulumi.set(self, "product_type", value) +if not MYPY: + class DataSourceTeradataParametersArgsDict(TypedDict): + """ +

The parameters for Teradata.

+ """ + database: pulumi.Input[str] + """ +

Database.

+ """ + host: pulumi.Input[str] + """ +

Host.

+ """ + port: pulumi.Input[float] + """ +

Port.

+ """ +elif False: + DataSourceTeradataParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceTeradataParametersArgs: def __init__(__self__, *, @@ -65397,6 +87242,26 @@ def port(self, value: pulumi.Input[float]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceTrinoParametersArgsDict(TypedDict): + """ +

The parameters that are required to connect to a Trino data source.

+ """ + catalog: pulumi.Input[str] + """ +

The catalog name for the Trino data source.

+ """ + host: pulumi.Input[str] + """ +

The host name of the Trino data source.

+ """ + port: pulumi.Input[float] + """ +

The port for the Trino data source.

+ """ +elif False: + DataSourceTrinoParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceTrinoParametersArgs: def __init__(__self__, *, @@ -65450,6 +87315,18 @@ def port(self, value: pulumi.Input[float]): pulumi.set(self, "port", value) +if not MYPY: + class DataSourceVpcConnectionPropertiesArgsDict(TypedDict): + """ +

VPC connection properties.

+ """ + vpc_connection_arn: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) for the VPC connection.

+ """ +elif False: + DataSourceVpcConnectionPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataSourceVpcConnectionPropertiesArgs: def __init__(__self__, *, @@ -65473,6 +87350,36 @@ def vpc_connection_arn(self, value: pulumi.Input[str]): pulumi.set(self, "vpc_connection_arn", value) +if not MYPY: + class FolderResourcePermissionArgsDict(TypedDict): + """ +

Permission for the resource.

+ """ + actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The IAM action to grant or revoke permissions on.

+ """ + principal: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the principal. This can be one of the + following:

+
    +
  • +

    The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight + ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. + (This is less common.)

    +
  • +
+ """ +elif False: + FolderResourcePermissionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FolderResourcePermissionArgs: def __init__(__self__, *, @@ -65539,6 +87446,19 @@ def principal(self, value: pulumi.Input[str]): pulumi.set(self, "principal", value) +if not MYPY: + class RefreshScheduleMapScheduleFrequencyPropertiesRefreshOnDayPropertiesArgsDict(TypedDict): + """ +

The day scheduled for refresh.

+ """ + day_of_month: NotRequired[pulumi.Input[str]] + """ +

The Day Of Month for scheduled refresh.

+ """ + day_of_week: NotRequired[pulumi.Input['RefreshScheduleMapScheduleFrequencyPropertiesRefreshOnDayPropertiesDayOfWeek']] +elif False: + RefreshScheduleMapScheduleFrequencyPropertiesRefreshOnDayPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RefreshScheduleMapScheduleFrequencyPropertiesRefreshOnDayPropertiesArgs: def __init__(__self__, *, @@ -65575,6 +87495,27 @@ def day_of_week(self, value: Optional[pulumi.Input['RefreshScheduleMapScheduleFr pulumi.set(self, "day_of_week", value) +if not MYPY: + class RefreshScheduleMapScheduleFrequencyPropertiesArgsDict(TypedDict): + """ +

Information about the schedule frequency.

+ """ + interval: NotRequired[pulumi.Input['RefreshScheduleMapScheduleFrequencyPropertiesInterval']] + refresh_on_day: NotRequired[pulumi.Input['RefreshScheduleMapScheduleFrequencyPropertiesRefreshOnDayPropertiesArgsDict']] + """ +

The day scheduled for refresh.

+ """ + time_of_the_day: NotRequired[pulumi.Input[str]] + """ +

The time of the day for scheduled refresh.

+ """ + time_zone: NotRequired[pulumi.Input[str]] + """ +

The timezone for scheduled refresh.

+ """ +elif False: + RefreshScheduleMapScheduleFrequencyPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RefreshScheduleMapScheduleFrequencyPropertiesArgs: def __init__(__self__, *, @@ -65643,6 +87584,32 @@ def time_zone(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "time_zone", value) +if not MYPY: + class RefreshScheduleMapArgsDict(TypedDict): + refresh_type: NotRequired[pulumi.Input['RefreshScheduleMapRefreshType']] + """ + The type of refresh that a dataset undergoes. Valid values are as follows: + + - `FULL_REFRESH` : A complete refresh of a dataset. + - `INCREMENTAL_REFRESH` : A partial refresh of some rows of a dataset, based on the time window specified. + + For more information on full and incremental refreshes, see [Refreshing SPICE data](https://docs.aws.amazon.com/quicksight/latest/user/refreshing-imported-data.html) in the *Amazon QuickSight User Guide* . + """ + schedule_frequency: NotRequired[pulumi.Input['RefreshScheduleMapScheduleFrequencyPropertiesArgsDict']] + """ +

Information about the schedule frequency.

+ """ + schedule_id: NotRequired[pulumi.Input[str]] + """ +

An unique identifier for the refresh schedule.

+ """ + start_after_date_time: NotRequired[pulumi.Input[str]] + """ +

The date time after which refresh is to be scheduled

+ """ +elif False: + RefreshScheduleMapArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RefreshScheduleMapArgs: def __init__(__self__, *, @@ -65724,6 +87691,35 @@ def start_after_date_time(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start_after_date_time", value) +if not MYPY: + class TemplateAggregationFunctionArgsDict(TypedDict): + attribute_aggregation_function: NotRequired[pulumi.Input['TemplateAttributeAggregationFunctionArgsDict']] + """ + Aggregation for attributes. + """ + categorical_aggregation_function: NotRequired[pulumi.Input['TemplateCategoricalAggregationFunction']] + """ + Aggregation for categorical values. + + - `COUNT` : Aggregate by the total number of values, including duplicates. + - `DISTINCT_COUNT` : Aggregate by the total number of distinct values. + """ + date_aggregation_function: NotRequired[pulumi.Input['TemplateDateAggregationFunction']] + """ + Aggregation for date values. + + - `COUNT` : Aggregate by the total number of values, including duplicates. + - `DISTINCT_COUNT` : Aggregate by the total number of distinct values. + - `MIN` : Select the smallest date value. + - `MAX` : Select the largest date value. + """ + numerical_aggregation_function: NotRequired[pulumi.Input['TemplateNumericalAggregationFunctionArgsDict']] + """ + Aggregation for numerical values. + """ +elif False: + TemplateAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAggregationFunctionArgs: def __init__(__self__, *, @@ -65811,6 +87807,26 @@ def numerical_aggregation_function(self, value: Optional[pulumi.Input['TemplateN pulumi.set(self, "numerical_aggregation_function", value) +if not MYPY: + class TemplateAggregationSortConfigurationArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that determines the sort order of aggregated values. + """ + sort_direction: pulumi.Input['TemplateSortDirection'] + """ + The sort direction of values. + + - `ASC` : Sort in ascending order. + - `DESC` : Sort in descending order. + """ + aggregation_function: NotRequired[pulumi.Input['TemplateAggregationFunctionArgsDict']] + """ + The function that aggregates the values in `Column` . + """ +elif False: + TemplateAggregationSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAggregationSortConfigurationArgs: def __init__(__self__, *, @@ -65870,12 +87886,27 @@ def aggregation_function(self, value: Optional[pulumi.Input['TemplateAggregation pulumi.set(self, "aggregation_function", value) +if not MYPY: + class TemplateAllSheetsFilterScopeConfigurationArgsDict(TypedDict): + pass +elif False: + TemplateAllSheetsFilterScopeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAllSheetsFilterScopeConfigurationArgs: def __init__(__self__): pass +if not MYPY: + class TemplateAnalysisDefaultsArgsDict(TypedDict): + default_new_sheet_configuration: pulumi.Input['TemplateDefaultNewSheetConfigurationArgsDict'] + """ + The configuration for default new sheet settings. + """ +elif False: + TemplateAnalysisDefaultsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAnalysisDefaultsArgs: def __init__(__self__, *, @@ -65898,6 +87929,21 @@ def default_new_sheet_configuration(self, value: pulumi.Input['TemplateDefaultNe pulumi.set(self, "default_new_sheet_configuration", value) +if not MYPY: + class TemplateAnchorDateConfigurationArgsDict(TypedDict): + anchor_option: NotRequired[pulumi.Input['TemplateAnchorOption']] + """ + The options for the date configuration. Choose one of the options below: + + - `NOW` + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The name of the parameter that is used for the anchor date configuration. + """ +elif False: + TemplateAnchorDateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAnchorDateConfigurationArgs: def __init__(__self__, *, @@ -65941,6 +87987,19 @@ def parameter_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "parameter_name", value) +if not MYPY: + class TemplateArcAxisConfigurationArgsDict(TypedDict): + range: NotRequired[pulumi.Input['TemplateArcAxisDisplayRangeArgsDict']] + """ + The arc axis range of a `GaugeChartVisual` . + """ + reserve_range: NotRequired[pulumi.Input[float]] + """ + The reserved range of the arc axis. + """ +elif False: + TemplateArcAxisConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateArcAxisConfigurationArgs: def __init__(__self__, *, @@ -65980,6 +88039,19 @@ def reserve_range(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "reserve_range", value) +if not MYPY: + class TemplateArcAxisDisplayRangeArgsDict(TypedDict): + max: NotRequired[pulumi.Input[float]] + """ + The maximum value of the arc axis range. + """ + min: NotRequired[pulumi.Input[float]] + """ + The minimum value of the arc axis range. + """ +elif False: + TemplateArcAxisDisplayRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateArcAxisDisplayRangeArgs: def __init__(__self__, *, @@ -66019,6 +88091,19 @@ def min(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min", value) +if not MYPY: + class TemplateArcConfigurationArgsDict(TypedDict): + arc_angle: NotRequired[pulumi.Input[float]] + """ + The option that determines the arc angle of a `GaugeChartVisual` . + """ + arc_thickness: NotRequired[pulumi.Input['TemplateArcThicknessOptions']] + """ + The options that determine the arc thickness of a `GaugeChartVisual` . + """ +elif False: + TemplateArcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateArcConfigurationArgs: def __init__(__self__, *, @@ -66058,6 +88143,15 @@ def arc_thickness(self, value: Optional[pulumi.Input['TemplateArcThicknessOption pulumi.set(self, "arc_thickness", value) +if not MYPY: + class TemplateArcOptionsArgsDict(TypedDict): + arc_thickness: NotRequired[pulumi.Input['TemplateArcThickness']] + """ + The arc thickness of a `GaugeChartVisual` . + """ +elif False: + TemplateArcOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateArcOptionsArgs: def __init__(__self__, *, @@ -66081,6 +88175,19 @@ def arc_thickness(self, value: Optional[pulumi.Input['TemplateArcThickness']]): pulumi.set(self, "arc_thickness", value) +if not MYPY: + class TemplateAssetOptionsArgsDict(TypedDict): + timezone: NotRequired[pulumi.Input[str]] + """ + Determines the timezone for the analysis. + """ + week_start: NotRequired[pulumi.Input['TemplateDayOfTheWeek']] + """ + Determines the week start day for an analysis. + """ +elif False: + TemplateAssetOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAssetOptionsArgs: def __init__(__self__, *, @@ -66120,6 +88227,21 @@ def week_start(self, value: Optional[pulumi.Input['TemplateDayOfTheWeek']]): pulumi.set(self, "week_start", value) +if not MYPY: + class TemplateAttributeAggregationFunctionArgsDict(TypedDict): + simple_attribute_aggregation: NotRequired[pulumi.Input['TemplateSimpleAttributeAggregationFunction']] + """ + The built-in aggregation functions for attributes. + + - `UNIQUE_VALUE` : Returns the unique value for a field, aggregated by the dimension fields. + """ + value_for_multiple_values: NotRequired[pulumi.Input[str]] + """ + Used by the `UNIQUE_VALUE` aggregation function. If there are multiple values for the field used by the aggregation, the value for this property will be returned instead. Defaults to '*'. + """ +elif False: + TemplateAttributeAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAttributeAggregationFunctionArgs: def __init__(__self__, *, @@ -66163,6 +88285,19 @@ def value_for_multiple_values(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value_for_multiple_values", value) +if not MYPY: + class TemplateAxisDataOptionsArgsDict(TypedDict): + date_axis_options: NotRequired[pulumi.Input['TemplateDateAxisOptionsArgsDict']] + """ + The options for an axis with a date field. + """ + numeric_axis_options: NotRequired[pulumi.Input['TemplateNumericAxisOptionsArgsDict']] + """ + The options for an axis with a numeric field. + """ +elif False: + TemplateAxisDataOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAxisDataOptionsArgs: def __init__(__self__, *, @@ -66202,12 +88337,31 @@ def numeric_axis_options(self, value: Optional[pulumi.Input['TemplateNumericAxis pulumi.set(self, "numeric_axis_options", value) +if not MYPY: + class TemplateAxisDisplayDataDrivenRangeArgsDict(TypedDict): + pass +elif False: + TemplateAxisDisplayDataDrivenRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAxisDisplayDataDrivenRangeArgs: def __init__(__self__): pass +if not MYPY: + class TemplateAxisDisplayMinMaxRangeArgsDict(TypedDict): + maximum: NotRequired[pulumi.Input[float]] + """ + The maximum setup for an axis display range. + """ + minimum: NotRequired[pulumi.Input[float]] + """ + The minimum setup for an axis display range. + """ +elif False: + TemplateAxisDisplayMinMaxRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAxisDisplayMinMaxRangeArgs: def __init__(__self__, *, @@ -66247,6 +88401,35 @@ def minimum(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "minimum", value) +if not MYPY: + class TemplateAxisDisplayOptionsArgsDict(TypedDict): + axis_line_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines whether or not the axis line is visible. + """ + axis_offset: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + data_options: NotRequired[pulumi.Input['TemplateAxisDataOptionsArgsDict']] + """ + The data options for an axis. + """ + grid_line_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines whether or not the grid line is visible. + """ + scrollbar_options: NotRequired[pulumi.Input['TemplateScrollBarOptionsArgsDict']] + """ + The scroll bar options for an axis. + """ + tick_label_options: NotRequired[pulumi.Input['TemplateAxisTickLabelOptionsArgsDict']] + """ + The tick label options of an axis. + """ +elif False: + TemplateAxisDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAxisDisplayOptionsArgs: def __init__(__self__, *, @@ -66350,6 +88533,19 @@ def tick_label_options(self, value: Optional[pulumi.Input['TemplateAxisTickLabel pulumi.set(self, "tick_label_options", value) +if not MYPY: + class TemplateAxisDisplayRangeArgsDict(TypedDict): + data_driven: NotRequired[pulumi.Input['TemplateAxisDisplayDataDrivenRangeArgsDict']] + """ + The data-driven setup of an axis display range. + """ + min_max: NotRequired[pulumi.Input['TemplateAxisDisplayMinMaxRangeArgsDict']] + """ + The minimum and maximum setup of an axis display range. + """ +elif False: + TemplateAxisDisplayRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAxisDisplayRangeArgs: def __init__(__self__, *, @@ -66389,6 +88585,23 @@ def min_max(self, value: Optional[pulumi.Input['TemplateAxisDisplayMinMaxRangeAr pulumi.set(self, "min_max", value) +if not MYPY: + class TemplateAxisLabelOptionsArgsDict(TypedDict): + apply_to: NotRequired[pulumi.Input['TemplateAxisLabelReferenceOptionsArgsDict']] + """ + The options that indicate which field the label belongs to. + """ + custom_label: NotRequired[pulumi.Input[str]] + """ + The text for the axis label. + """ + font_configuration: NotRequired[pulumi.Input['TemplateFontConfigurationArgsDict']] + """ + The font configuration of the axis label. + """ +elif False: + TemplateAxisLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAxisLabelOptionsArgs: def __init__(__self__, *, @@ -66444,6 +88657,19 @@ def font_configuration(self, value: Optional[pulumi.Input['TemplateFontConfigura pulumi.set(self, "font_configuration", value) +if not MYPY: + class TemplateAxisLabelReferenceOptionsArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the axis label is targeted to. + """ + field_id: pulumi.Input[str] + """ + The field that the axis label is targeted to. + """ +elif False: + TemplateAxisLabelReferenceOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAxisLabelReferenceOptionsArgs: def __init__(__self__, *, @@ -66481,6 +88707,19 @@ def field_id(self, value: pulumi.Input[str]): pulumi.set(self, "field_id", value) +if not MYPY: + class TemplateAxisLinearScaleArgsDict(TypedDict): + step_count: NotRequired[pulumi.Input[float]] + """ + The step count setup of a linear axis. + """ + step_size: NotRequired[pulumi.Input[float]] + """ + The step size setup of a linear axis. + """ +elif False: + TemplateAxisLinearScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAxisLinearScaleArgs: def __init__(__self__, *, @@ -66520,6 +88759,15 @@ def step_size(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "step_size", value) +if not MYPY: + class TemplateAxisLogarithmicScaleArgsDict(TypedDict): + base: NotRequired[pulumi.Input[float]] + """ + The base setup of a logarithmic axis scale. + """ +elif False: + TemplateAxisLogarithmicScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAxisLogarithmicScaleArgs: def __init__(__self__, *, @@ -66543,6 +88791,19 @@ def base(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "base", value) +if not MYPY: + class TemplateAxisScaleArgsDict(TypedDict): + linear: NotRequired[pulumi.Input['TemplateAxisLinearScaleArgsDict']] + """ + The linear axis scale setup. + """ + logarithmic: NotRequired[pulumi.Input['TemplateAxisLogarithmicScaleArgsDict']] + """ + The logarithmic axis scale setup. + """ +elif False: + TemplateAxisScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAxisScaleArgs: def __init__(__self__, *, @@ -66582,6 +88843,19 @@ def logarithmic(self, value: Optional[pulumi.Input['TemplateAxisLogarithmicScale pulumi.set(self, "logarithmic", value) +if not MYPY: + class TemplateAxisTickLabelOptionsArgsDict(TypedDict): + label_options: NotRequired[pulumi.Input['TemplateLabelOptionsArgsDict']] + """ + Determines whether or not the axis ticks are visible. + """ + rotation_angle: NotRequired[pulumi.Input[float]] + """ + The rotation angle of the axis tick labels. + """ +elif False: + TemplateAxisTickLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateAxisTickLabelOptionsArgs: def __init__(__self__, *, @@ -66621,6 +88895,27 @@ def rotation_angle(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "rotation_angle", value) +if not MYPY: + class TemplateBarChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The category (y-axis) field well of a bar chart. + """ + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The color (group/color) field well of a bar chart. + """ + small_multiples: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The small multiples field well of a bar chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The value field wells of a bar chart. Values are aggregated by category. + """ +elif False: + TemplateBarChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBarChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -66692,6 +88987,78 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateBarChartConfigurationArgsDict(TypedDict): + bars_arrangement: NotRequired[pulumi.Input['TemplateBarsArrangement']] + """ + Determines the arrangement of the bars. The orientation and arrangement of bars determine the type of bar that is used in the visual. + """ + category_axis: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) for bar chart category. + """ + category_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) for a bar chart. + """ + color_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar chart. + """ + contribution_analysis_defaults: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateContributionAnalysisDefaultArgsDict']]]] + """ + The contribution analysis (anomaly configuration) setup of the visual. + """ + data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['TemplateBarChartFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + orientation: NotRequired[pulumi.Input['TemplateBarChartOrientation']] + """ + The orientation of the bars in a bar chart visual. There are two valid values in this structure: + + - `HORIZONTAL` : Used for charts that have horizontal bars. Visuals that use this value are horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts. + - `VERTICAL` : Used for charts that have vertical bars. Visuals that use this value are vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateReferenceLineArgsDict']]]] + """ + The reference line setup of the visual. + """ + small_multiples_options: NotRequired[pulumi.Input['TemplateSmallMultiplesOptionsArgsDict']] + """ + The small multiples setup for the visual. + """ + sort_configuration: NotRequired[pulumi.Input['TemplateBarChartSortConfigurationArgsDict']] + """ + The sort configuration of a `BarChartVisual` . + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + value_axis: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) for a bar chart value. + """ + value_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) for a bar chart value. + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + TemplateBarChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBarChartConfigurationArgs: def __init__(__self__, *, @@ -66961,6 +89328,15 @@ def visual_palette(self, value: Optional[pulumi.Input['TemplateVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class TemplateBarChartFieldWellsArgsDict(TypedDict): + bar_chart_aggregated_field_wells: NotRequired[pulumi.Input['TemplateBarChartAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a bar chart. + """ +elif False: + TemplateBarChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBarChartFieldWellsArgs: def __init__(__self__, *, @@ -66984,6 +89360,35 @@ def bar_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Templat pulumi.set(self, "bar_chart_aggregated_field_wells", value) +if not MYPY: + class TemplateBarChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories displayed in a bar chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of category fields. + """ + color_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of values displayed in a bar chart. + """ + color_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of color fields in a bar chart. + """ + small_multiples_limit_configuration: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of small multiples panels that are displayed. + """ + small_multiples_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the small multiples field. + """ +elif False: + TemplateBarChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBarChartSortConfigurationArgs: def __init__(__self__, *, @@ -67087,6 +89492,35 @@ def small_multiples_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "small_multiples_sort", value) +if not MYPY: + class TemplateBarChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateBarChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateBarChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBarChartVisualArgs: def __init__(__self__, *, @@ -67189,6 +89623,15 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateBinCountOptionsArgsDict(TypedDict): + value: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin count value. + """ +elif False: + TemplateBinCountOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBinCountOptionsArgs: def __init__(__self__, *, @@ -67212,6 +89655,19 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateBinWidthOptionsArgsDict(TypedDict): + bin_count_limit: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin count limit. + """ + value: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin width value. + """ +elif False: + TemplateBinWidthOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBinWidthOptionsArgs: def __init__(__self__, *, @@ -67251,6 +89707,27 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateBodySectionConfigurationArgsDict(TypedDict): + content: pulumi.Input['TemplateBodySectionContentArgsDict'] + """ + The configuration of content in a body section. + """ + section_id: pulumi.Input[str] + """ + The unique identifier of a body section. + """ + page_break_configuration: NotRequired[pulumi.Input['TemplateSectionPageBreakConfigurationArgsDict']] + """ + The configuration of a page break for a section. + """ + style: NotRequired[pulumi.Input['TemplateSectionStyleArgsDict']] + """ + The style options of a body section. + """ +elif False: + TemplateBodySectionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBodySectionConfigurationArgs: def __init__(__self__, *, @@ -67320,6 +89797,15 @@ def style(self, value: Optional[pulumi.Input['TemplateSectionStyleArgs']]): pulumi.set(self, "style", value) +if not MYPY: + class TemplateBodySectionContentArgsDict(TypedDict): + layout: NotRequired[pulumi.Input['TemplateSectionLayoutConfigurationArgsDict']] + """ + The layout configuration of a body section. + """ +elif False: + TemplateBodySectionContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBodySectionContentArgs: def __init__(__self__, *, @@ -67343,6 +89829,19 @@ def layout(self, value: Optional[pulumi.Input['TemplateSectionLayoutConfiguratio pulumi.set(self, "layout", value) +if not MYPY: + class TemplateBoxPlotAggregatedFieldWellsArgsDict(TypedDict): + group_by: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The group by field well of a box plot chart. Values are grouped based on group by fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The value field well of a box plot chart. Values are aggregated based on group by fields. + """ +elif False: + TemplateBoxPlotAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBoxPlotAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -67382,6 +89881,52 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateBoxPlotChartConfigurationArgsDict(TypedDict): + box_plot_options: NotRequired[pulumi.Input['TemplateBoxPlotOptionsArgsDict']] + """ + The box plot chart options for a box plot visual + """ + category_axis: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) of a box plot category. + """ + category_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort Icon visibility) of a box plot category. + """ + field_wells: NotRequired[pulumi.Input['TemplateBoxPlotFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + primary_y_axis_display_options: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) of a box plot category. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility and sort icon visibility) of a box plot value. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateReferenceLineArgsDict']]]] + """ + The reference line setup of the visual. + """ + sort_configuration: NotRequired[pulumi.Input['TemplateBoxPlotSortConfigurationArgsDict']] + """ + The sort configuration of a `BoxPlotVisual` . + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + TemplateBoxPlotChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBoxPlotChartConfigurationArgs: def __init__(__self__, *, @@ -67561,6 +90106,15 @@ def visual_palette(self, value: Optional[pulumi.Input['TemplateVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class TemplateBoxPlotFieldWellsArgsDict(TypedDict): + box_plot_aggregated_field_wells: NotRequired[pulumi.Input['TemplateBoxPlotAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a box plot. + """ +elif False: + TemplateBoxPlotFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBoxPlotFieldWellsArgs: def __init__(__self__, *, @@ -67584,6 +90138,23 @@ def box_plot_aggregated_field_wells(self, value: Optional[pulumi.Input['Template pulumi.set(self, "box_plot_aggregated_field_wells", value) +if not MYPY: + class TemplateBoxPlotOptionsArgsDict(TypedDict): + all_data_points_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines the visibility of all data points of the box plot. + """ + outlier_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines the visibility of the outlier in a box plot. + """ + style_options: NotRequired[pulumi.Input['TemplateBoxPlotStyleOptionsArgsDict']] + """ + The style options of the box plot. + """ +elif False: + TemplateBoxPlotOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBoxPlotOptionsArgs: def __init__(__self__, *, @@ -67639,6 +90210,19 @@ def style_options(self, value: Optional[pulumi.Input['TemplateBoxPlotStyleOption pulumi.set(self, "style_options", value) +if not MYPY: + class TemplateBoxPlotSortConfigurationArgsDict(TypedDict): + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of a group by fields. + """ + pagination_configuration: NotRequired[pulumi.Input['TemplatePaginationConfigurationArgsDict']] + """ + The pagination configuration of a table visual or box plot. + """ +elif False: + TemplateBoxPlotSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBoxPlotSortConfigurationArgs: def __init__(__self__, *, @@ -67678,6 +90262,15 @@ def pagination_configuration(self, value: Optional[pulumi.Input['TemplatePaginat pulumi.set(self, "pagination_configuration", value) +if not MYPY: + class TemplateBoxPlotStyleOptionsArgsDict(TypedDict): + fill_style: NotRequired[pulumi.Input['TemplateBoxPlotFillStyle']] + """ + The fill styles (solid, transparent) of the box plot. + """ +elif False: + TemplateBoxPlotStyleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBoxPlotStyleOptionsArgs: def __init__(__self__, *, @@ -67701,6 +90294,35 @@ def fill_style(self, value: Optional[pulumi.Input['TemplateBoxPlotFillStyle']]): pulumi.set(self, "fill_style", value) +if not MYPY: + class TemplateBoxPlotVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateBoxPlotChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateBoxPlotVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateBoxPlotVisualArgs: def __init__(__self__, *, @@ -67803,6 +90425,23 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateCalculatedFieldArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The data set that is used in this calculated field. + """ + expression: pulumi.Input[str] + """ + The expression of the calculated field. + """ + name: pulumi.Input[str] + """ + The name of the calculated field. + """ +elif False: + TemplateCalculatedFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCalculatedFieldArgs: def __init__(__self__, *, @@ -67855,6 +90494,19 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class TemplateCalculatedMeasureFieldArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression in the table calculation. + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ +elif False: + TemplateCalculatedMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCalculatedMeasureFieldArgs: def __init__(__self__, *, @@ -67892,6 +90544,15 @@ def field_id(self, value: pulumi.Input[str]): pulumi.set(self, "field_id", value) +if not MYPY: + class TemplateCascadingControlConfigurationArgsDict(TypedDict): + source_controls: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateCascadingControlSourceArgsDict']]]] + """ + A list of source controls that determine the values that are used in the current control. + """ +elif False: + TemplateCascadingControlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCascadingControlConfigurationArgs: def __init__(__self__, *, @@ -67915,6 +90576,19 @@ def source_controls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Te pulumi.set(self, "source_controls", value) +if not MYPY: + class TemplateCascadingControlSourceArgsDict(TypedDict): + column_to_match: NotRequired[pulumi.Input['TemplateColumnIdentifierArgsDict']] + """ + The column identifier that determines which column to look up for the source sheet control. + """ + source_sheet_control_id: NotRequired[pulumi.Input[str]] + """ + The source sheet control ID of a `CascadingControlSource` . + """ +elif False: + TemplateCascadingControlSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCascadingControlSourceArgs: def __init__(__self__, *, @@ -67954,6 +90628,27 @@ def source_sheet_control_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_sheet_control_id", value) +if not MYPY: + class TemplateCategoricalDimensionFieldArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that is used in the `CategoricalDimensionField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + format_configuration: NotRequired[pulumi.Input['TemplateStringFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ + hierarchy_id: NotRequired[pulumi.Input[str]] + """ + The custom hierarchy ID. + """ +elif False: + TemplateCategoricalDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCategoricalDimensionFieldArgs: def __init__(__self__, *, @@ -68023,6 +90718,27 @@ def hierarchy_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_id", value) +if not MYPY: + class TemplateCategoricalMeasureFieldArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that is used in the `CategoricalMeasureField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + aggregation_function: NotRequired[pulumi.Input['TemplateCategoricalAggregationFunction']] + """ + The aggregation function of the measure field. + """ + format_configuration: NotRequired[pulumi.Input['TemplateStringFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + TemplateCategoricalMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCategoricalMeasureFieldArgs: def __init__(__self__, *, @@ -68092,6 +90808,19 @@ def format_configuration(self, value: Optional[pulumi.Input['TemplateStringForma pulumi.set(self, "format_configuration", value) +if not MYPY: + class TemplateCategoryDrillDownFilterArgsDict(TypedDict): + category_values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of the string inputs that are the values of the category drill down filter. + """ + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ +elif False: + TemplateCategoryDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCategoryDrillDownFilterArgs: def __init__(__self__, *, @@ -68129,6 +90858,23 @@ def column(self, value: pulumi.Input['TemplateColumnIdentifierArgs']): pulumi.set(self, "column", value) +if not MYPY: + class TemplateCategoryFilterConfigurationArgsDict(TypedDict): + custom_filter_configuration: NotRequired[pulumi.Input['TemplateCustomFilterConfigurationArgsDict']] + """ + A custom filter that filters based on a single value. This filter can be partially matched. + """ + custom_filter_list_configuration: NotRequired[pulumi.Input['TemplateCustomFilterListConfigurationArgsDict']] + """ + A list of custom filter values. In the Amazon QuickSight console, this filter type is called a custom filter list. + """ + filter_list_configuration: NotRequired[pulumi.Input['TemplateFilterListConfigurationArgsDict']] + """ + A list of filter configurations. In the Amazon QuickSight console, this filter type is called a filter list. + """ +elif False: + TemplateCategoryFilterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCategoryFilterConfigurationArgs: def __init__(__self__, *, @@ -68184,6 +90930,27 @@ def filter_list_configuration(self, value: Optional[pulumi.Input['TemplateFilter pulumi.set(self, "filter_list_configuration", value) +if not MYPY: + class TemplateCategoryFilterArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + configuration: pulumi.Input['TemplateCategoryFilterConfigurationArgsDict'] + """ + The configuration for a `CategoryFilter` . + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['TemplateDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ +elif False: + TemplateCategoryFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCategoryFilterArgs: def __init__(__self__, *, @@ -68252,6 +91019,14 @@ def default_filter_control_configuration(self, value: Optional[pulumi.Input['Tem pulumi.set(self, "default_filter_control_configuration", value) +if not MYPY: + class TemplateCategoryInnerFilterArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + configuration: pulumi.Input['TemplateCategoryFilterConfigurationArgsDict'] + default_filter_control_configuration: NotRequired[pulumi.Input['TemplateDefaultFilterControlConfigurationArgsDict']] +elif False: + TemplateCategoryInnerFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCategoryInnerFilterArgs: def __init__(__self__, *, @@ -68291,6 +91066,26 @@ def default_filter_control_configuration(self, value: Optional[pulumi.Input['Tem pulumi.set(self, "default_filter_control_configuration", value) +if not MYPY: + class TemplateChartAxisLabelOptionsArgsDict(TypedDict): + axis_label_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateAxisLabelOptionsArgsDict']]]] + """ + The label options for a chart axis. + """ + sort_icon_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility configuration of the sort icon on a chart's axis label. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of an axis label on a chart. Choose one of the following options: + + - `VISIBLE` : Shows the axis. + - `HIDDEN` : Hides the axis. + """ +elif False: + TemplateChartAxisLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateChartAxisLabelOptionsArgs: def __init__(__self__, *, @@ -68352,6 +91147,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateClusterMarkerConfigurationArgsDict(TypedDict): + cluster_marker: NotRequired[pulumi.Input['TemplateClusterMarkerArgsDict']] + """ + The cluster marker that is a part of the cluster marker configuration. + """ +elif False: + TemplateClusterMarkerConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateClusterMarkerConfigurationArgs: def __init__(__self__, *, @@ -68375,6 +91179,15 @@ def cluster_marker(self, value: Optional[pulumi.Input['TemplateClusterMarkerArgs pulumi.set(self, "cluster_marker", value) +if not MYPY: + class TemplateClusterMarkerArgsDict(TypedDict): + simple_cluster_marker: NotRequired[pulumi.Input['TemplateSimpleClusterMarkerArgsDict']] + """ + The simple cluster marker of the cluster marker. + """ +elif False: + TemplateClusterMarkerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateClusterMarkerArgs: def __init__(__self__, *, @@ -68398,6 +91211,23 @@ def simple_cluster_marker(self, value: Optional[pulumi.Input['TemplateSimpleClus pulumi.set(self, "simple_cluster_marker", value) +if not MYPY: + class TemplateColorScaleArgsDict(TypedDict): + color_fill_type: pulumi.Input['TemplateColorFillType'] + """ + Determines the color fill type. + """ + colors: pulumi.Input[Sequence[pulumi.Input['TemplateDataColorArgsDict']]] + """ + Determines the list of colors that are applied to the visual. + """ + null_value_color: NotRequired[pulumi.Input['TemplateDataColorArgsDict']] + """ + Determines the color that is applied to null values. + """ +elif False: + TemplateColorScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateColorScaleArgs: def __init__(__self__, *, @@ -68451,6 +91281,15 @@ def null_value_color(self, value: Optional[pulumi.Input['TemplateDataColorArgs'] pulumi.set(self, "null_value_color", value) +if not MYPY: + class TemplateColorsConfigurationArgsDict(TypedDict): + custom_colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateCustomColorArgsDict']]]] + """ + A list of up to 50 custom colors. + """ +elif False: + TemplateColorsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateColorsConfigurationArgs: def __init__(__self__, *, @@ -68474,6 +91313,27 @@ def custom_colors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Temp pulumi.set(self, "custom_colors", value) +if not MYPY: + class TemplateColumnConfigurationArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column. + """ + colors_configuration: NotRequired[pulumi.Input['TemplateColorsConfigurationArgsDict']] + """ + The color configurations of the column. + """ + format_configuration: NotRequired[pulumi.Input['TemplateFormatConfigurationArgsDict']] + """ + The format configuration of a column. + """ + role: NotRequired[pulumi.Input['TemplateColumnRole']] + """ + The role of the column. + """ +elif False: + TemplateColumnConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateColumnConfigurationArgs: def __init__(__self__, *, @@ -68544,6 +91404,18 @@ def role(self, value: Optional[pulumi.Input['TemplateColumnRole']]): pulumi.set(self, "role", value) +if not MYPY: + class TemplateColumnGroupColumnSchemaArgsDict(TypedDict): + """ +

A structure describing the name, data type, and geographic role of the columns.

+ """ + name: NotRequired[pulumi.Input[str]] + """ +

The name of the column group's column schema.

+ """ +elif False: + TemplateColumnGroupColumnSchemaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateColumnGroupColumnSchemaArgs: def __init__(__self__, *, @@ -68568,6 +91440,22 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class TemplateColumnGroupSchemaArgsDict(TypedDict): + """ +

The column group schema.

+ """ + column_group_column_schema_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnGroupColumnSchemaArgsDict']]]] + """ +

A structure containing the list of schemas for column group columns.

+ """ + name: NotRequired[pulumi.Input[str]] + """ +

The name of the column group schema.

+ """ +elif False: + TemplateColumnGroupSchemaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateColumnGroupSchemaArgs: def __init__(__self__, *, @@ -68608,6 +91496,23 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class TemplateColumnHierarchyArgsDict(TypedDict): + date_time_hierarchy: NotRequired[pulumi.Input['TemplateDateTimeHierarchyArgsDict']] + """ + The option that determines the hierarchy of any `DateTime` fields. + """ + explicit_hierarchy: NotRequired[pulumi.Input['TemplateExplicitHierarchyArgsDict']] + """ + The option that determines the hierarchy of the fields that are built within a visual's field wells. These fields can't be duplicated to other visuals. + """ + predefined_hierarchy: NotRequired[pulumi.Input['TemplatePredefinedHierarchyArgsDict']] + """ + The option that determines the hierarchy of the fields that are defined during data preparation. These fields are available to use in any analysis that uses the data source. + """ +elif False: + TemplateColumnHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateColumnHierarchyArgs: def __init__(__self__, *, @@ -68663,6 +91568,19 @@ def predefined_hierarchy(self, value: Optional[pulumi.Input['TemplatePredefinedH pulumi.set(self, "predefined_hierarchy", value) +if not MYPY: + class TemplateColumnIdentifierArgsDict(TypedDict): + column_name: pulumi.Input[str] + """ + The name of the column. + """ + data_set_identifier: pulumi.Input[str] + """ + The data set that the column belongs to. + """ +elif False: + TemplateColumnIdentifierArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateColumnIdentifierArgs: def __init__(__self__, *, @@ -68700,6 +91618,26 @@ def data_set_identifier(self, value: pulumi.Input[str]): pulumi.set(self, "data_set_identifier", value) +if not MYPY: + class TemplateColumnSchemaArgsDict(TypedDict): + """ +

The column schema.

+ """ + data_type: NotRequired[pulumi.Input[str]] + """ +

The data type of the column schema.

+ """ + geographic_role: NotRequired[pulumi.Input[str]] + """ +

The geographic role of the column schema.

+ """ + name: NotRequired[pulumi.Input[str]] + """ +

The name of the column schema.

+ """ +elif False: + TemplateColumnSchemaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateColumnSchemaArgs: def __init__(__self__, *, @@ -68756,6 +91694,20 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class TemplateColumnSortArgsDict(TypedDict): + direction: pulumi.Input['TemplateSortDirection'] + """ + The sort direction. + """ + sort_by: pulumi.Input['TemplateColumnIdentifierArgsDict'] + aggregation_function: NotRequired[pulumi.Input['TemplateAggregationFunctionArgsDict']] + """ + The aggregation function that is defined in the column sort. + """ +elif False: + TemplateColumnSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateColumnSortArgs: def __init__(__self__, *, @@ -68805,6 +91757,31 @@ def aggregation_function(self, value: Optional[pulumi.Input['TemplateAggregation pulumi.set(self, "aggregation_function", value) +if not MYPY: + class TemplateColumnTooltipItemArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The target column of the tooltip item. + """ + aggregation: NotRequired[pulumi.Input['TemplateAggregationFunctionArgsDict']] + """ + The aggregation function of the column tooltip item. + """ + label: NotRequired[pulumi.Input[str]] + """ + The label of the tooltip item. + """ + tooltip_target: NotRequired[pulumi.Input['TemplateTooltipTarget']] + """ + Determines the target of the column tooltip item in a combo chart visual. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the tooltip item. + """ +elif False: + TemplateColumnTooltipItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateColumnTooltipItemArgs: def __init__(__self__, *, @@ -68891,6 +91868,27 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateComboChartAggregatedFieldWellsArgsDict(TypedDict): + bar_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The aggregated `BarValues` field well of a combo chart. + """ + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The aggregated category field wells of a combo chart. + """ + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The aggregated colors field well of a combo chart. + """ + line_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The aggregated `LineValues` field well of a combo chart. + """ +elif False: + TemplateComboChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateComboChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -68962,6 +91960,84 @@ def line_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Templa pulumi.set(self, "line_values", value) +if not MYPY: + class TemplateComboChartConfigurationArgsDict(TypedDict): + bar_data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + + The data label options for a bar in a combo chart. + """ + bars_arrangement: NotRequired[pulumi.Input['TemplateBarsArrangement']] + """ + Determines the bar arrangement in a combo chart. The following are valid values in this structure: + + - `CLUSTERED` : For clustered bar combo charts. + - `STACKED` : For stacked bar combo charts. + - `STACKED_PERCENT` : Do not use. If you use this value, the operation returns a validation error. + """ + category_axis: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The category axis of a combo chart. + """ + category_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart category (group/color) field well. + """ + color_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field well. + """ + field_wells: NotRequired[pulumi.Input['TemplateComboChartFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + line_data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + + The data label options for a line in a combo chart. + """ + primary_y_axis_display_options: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field well. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis (bar) field well. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateReferenceLineArgsDict']]]] + """ + The reference line setup of the visual. + """ + secondary_y_axis_display_options: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field well. + """ + secondary_y_axis_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary y-axis(line) field well. + """ + single_axis_options: NotRequired[pulumi.Input['TemplateSingleAxisOptionsArgsDict']] + sort_configuration: NotRequired[pulumi.Input['TemplateComboChartSortConfigurationArgsDict']] + """ + The sort configuration of a `ComboChartVisual` . + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + TemplateComboChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateComboChartConfigurationArgs: def __init__(__self__, *, @@ -69253,6 +92329,15 @@ def visual_palette(self, value: Optional[pulumi.Input['TemplateVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class TemplateComboChartFieldWellsArgsDict(TypedDict): + combo_chart_aggregated_field_wells: NotRequired[pulumi.Input['TemplateComboChartAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a combo chart. Combo charts only have aggregated field wells. Columns in a combo chart are aggregated by category. + """ +elif False: + TemplateComboChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateComboChartFieldWellsArgs: def __init__(__self__, *, @@ -69276,6 +92361,27 @@ def combo_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Templ pulumi.set(self, "combo_chart_aggregated_field_wells", value) +if not MYPY: + class TemplateComboChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The item limit configuration for the category field well of a combo chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category field well in a combo chart. + """ + color_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The item limit configuration of the color field well in a combo chart. + """ + color_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the color field well in a combo chart. + """ +elif False: + TemplateComboChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateComboChartSortConfigurationArgs: def __init__(__self__, *, @@ -69347,6 +92453,35 @@ def color_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Templat pulumi.set(self, "color_sort", value) +if not MYPY: + class TemplateComboChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateComboChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateComboChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateComboChartVisualArgs: def __init__(__self__, *, @@ -69449,6 +92584,23 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateComparisonConfigurationArgsDict(TypedDict): + comparison_format: NotRequired[pulumi.Input['TemplateComparisonFormatConfigurationArgsDict']] + """ + The format of the comparison. + """ + comparison_method: NotRequired[pulumi.Input['TemplateComparisonMethod']] + """ + The method of the comparison. Choose from the following options: + + - `DIFFERENCE` + - `PERCENT_DIFFERENCE` + - `PERCENT` + """ +elif False: + TemplateComparisonConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateComparisonConfigurationArgs: def __init__(__self__, *, @@ -69496,6 +92648,19 @@ def comparison_method(self, value: Optional[pulumi.Input['TemplateComparisonMeth pulumi.set(self, "comparison_method", value) +if not MYPY: + class TemplateComparisonFormatConfigurationArgsDict(TypedDict): + number_display_format_configuration: NotRequired[pulumi.Input['TemplateNumberDisplayFormatConfigurationArgsDict']] + """ + The number display format. + """ + percentage_display_format_configuration: NotRequired[pulumi.Input['TemplatePercentageDisplayFormatConfigurationArgsDict']] + """ + The percentage display format. + """ +elif False: + TemplateComparisonFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateComparisonFormatConfigurationArgs: def __init__(__self__, *, @@ -69535,6 +92700,51 @@ def percentage_display_format_configuration(self, value: Optional[pulumi.Input[' pulumi.set(self, "percentage_display_format_configuration", value) +if not MYPY: + class TemplateComputationArgsDict(TypedDict): + forecast: NotRequired[pulumi.Input['TemplateForecastComputationArgsDict']] + """ + The forecast computation configuration. + """ + growth_rate: NotRequired[pulumi.Input['TemplateGrowthRateComputationArgsDict']] + """ + The growth rate computation configuration. + """ + maximum_minimum: NotRequired[pulumi.Input['TemplateMaximumMinimumComputationArgsDict']] + """ + The maximum and minimum computation configuration. + """ + metric_comparison: NotRequired[pulumi.Input['TemplateMetricComparisonComputationArgsDict']] + """ + The metric comparison computation configuration. + """ + period_over_period: NotRequired[pulumi.Input['TemplatePeriodOverPeriodComputationArgsDict']] + """ + The period over period computation configuration. + """ + period_to_date: NotRequired[pulumi.Input['TemplatePeriodToDateComputationArgsDict']] + """ + The period to `DataSetIdentifier` computation configuration. + """ + top_bottom_movers: NotRequired[pulumi.Input['TemplateTopBottomMoversComputationArgsDict']] + """ + The top movers and bottom movers computation configuration. + """ + top_bottom_ranked: NotRequired[pulumi.Input['TemplateTopBottomRankedComputationArgsDict']] + """ + The top ranked and bottom ranked computation configuration. + """ + total_aggregation: NotRequired[pulumi.Input['TemplateTotalAggregationComputationArgsDict']] + """ + The total aggregation computation configuration. + """ + unique_values: NotRequired[pulumi.Input['TemplateUniqueValuesComputationArgsDict']] + """ + The unique values computation configuration. + """ +elif False: + TemplateComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateComputationArgs: def __init__(__self__, *, @@ -69702,6 +92912,19 @@ def unique_values(self, value: Optional[pulumi.Input['TemplateUniqueValuesComput pulumi.set(self, "unique_values", value) +if not MYPY: + class TemplateConditionalFormattingColorArgsDict(TypedDict): + gradient: NotRequired[pulumi.Input['TemplateConditionalFormattingGradientColorArgsDict']] + """ + Formatting configuration for gradient color. + """ + solid: NotRequired[pulumi.Input['TemplateConditionalFormattingSolidColorArgsDict']] + """ + Formatting configuration for solid color. + """ +elif False: + TemplateConditionalFormattingColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateConditionalFormattingColorArgs: def __init__(__self__, *, @@ -69741,6 +92964,27 @@ def solid(self, value: Optional[pulumi.Input['TemplateConditionalFormattingSolid pulumi.set(self, "solid", value) +if not MYPY: + class TemplateConditionalFormattingCustomIconConditionArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression that determines the condition of the icon set. + """ + icon_options: pulumi.Input['TemplateConditionalFormattingCustomIconOptionsArgsDict'] + """ + Custom icon options for an icon set. + """ + color: NotRequired[pulumi.Input[str]] + """ + Determines the color of the icon. + """ + display_configuration: NotRequired[pulumi.Input['TemplateConditionalFormattingIconDisplayConfigurationArgsDict']] + """ + Determines the icon display configuration. + """ +elif False: + TemplateConditionalFormattingCustomIconConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateConditionalFormattingCustomIconConditionArgs: def __init__(__self__, *, @@ -69810,6 +93054,19 @@ def display_configuration(self, value: Optional[pulumi.Input['TemplateConditiona pulumi.set(self, "display_configuration", value) +if not MYPY: + class TemplateConditionalFormattingCustomIconOptionsArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['TemplateIcon']] + """ + Determines the type of icon. + """ + unicode_icon: NotRequired[pulumi.Input[str]] + """ + Determines the Unicode icon type. + """ +elif False: + TemplateConditionalFormattingCustomIconOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateConditionalFormattingCustomIconOptionsArgs: def __init__(__self__, *, @@ -69849,6 +93106,19 @@ def unicode_icon(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "unicode_icon", value) +if not MYPY: + class TemplateConditionalFormattingGradientColorArgsDict(TypedDict): + color: pulumi.Input['TemplateGradientColorArgsDict'] + """ + Determines the color. + """ + expression: pulumi.Input[str] + """ + The expression that determines the formatting configuration for gradient color. + """ +elif False: + TemplateConditionalFormattingGradientColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateConditionalFormattingGradientColorArgs: def __init__(__self__, *, @@ -69886,6 +93156,15 @@ def expression(self, value: pulumi.Input[str]): pulumi.set(self, "expression", value) +if not MYPY: + class TemplateConditionalFormattingIconDisplayConfigurationArgsDict(TypedDict): + icon_display_option: NotRequired[pulumi.Input['TemplateConditionalFormattingIconDisplayOption']] + """ + Determines the icon display configuration. + """ +elif False: + TemplateConditionalFormattingIconDisplayConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateConditionalFormattingIconDisplayConfigurationArgs: def __init__(__self__, *, @@ -69909,6 +93188,19 @@ def icon_display_option(self, value: Optional[pulumi.Input['TemplateConditionalF pulumi.set(self, "icon_display_option", value) +if not MYPY: + class TemplateConditionalFormattingIconSetArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression that determines the formatting configuration for the icon set. + """ + icon_set_type: NotRequired[pulumi.Input['TemplateConditionalFormattingIconSetType']] + """ + Determines the icon set type. + """ +elif False: + TemplateConditionalFormattingIconSetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateConditionalFormattingIconSetArgs: def __init__(__self__, *, @@ -69947,6 +93239,19 @@ def icon_set_type(self, value: Optional[pulumi.Input['TemplateConditionalFormatt pulumi.set(self, "icon_set_type", value) +if not MYPY: + class TemplateConditionalFormattingIconArgsDict(TypedDict): + custom_condition: NotRequired[pulumi.Input['TemplateConditionalFormattingCustomIconConditionArgsDict']] + """ + Determines the custom condition for an icon set. + """ + icon_set: NotRequired[pulumi.Input['TemplateConditionalFormattingIconSetArgsDict']] + """ + Formatting configuration for icon set. + """ +elif False: + TemplateConditionalFormattingIconArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateConditionalFormattingIconArgs: def __init__(__self__, *, @@ -69986,6 +93291,19 @@ def icon_set(self, value: Optional[pulumi.Input['TemplateConditionalFormattingIc pulumi.set(self, "icon_set", value) +if not MYPY: + class TemplateConditionalFormattingSolidColorArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression that determines the formatting configuration for solid color. + """ + color: NotRequired[pulumi.Input[str]] + """ + Determines the color. + """ +elif False: + TemplateConditionalFormattingSolidColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateConditionalFormattingSolidColorArgs: def __init__(__self__, *, @@ -70024,6 +93342,19 @@ def color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "color", value) +if not MYPY: + class TemplateContributionAnalysisDefaultArgsDict(TypedDict): + contributor_dimensions: pulumi.Input[Sequence[pulumi.Input['TemplateColumnIdentifierArgsDict']]] + """ + The dimensions columns that are used in the contribution analysis, usually a list of `ColumnIdentifiers` . + """ + measure_field_id: pulumi.Input[str] + """ + The measure field that is used in the contribution analysis. + """ +elif False: + TemplateContributionAnalysisDefaultArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateContributionAnalysisDefaultArgs: def __init__(__self__, *, @@ -70061,6 +93392,43 @@ def measure_field_id(self, value: pulumi.Input[str]): pulumi.set(self, "measure_field_id", value) +if not MYPY: + class TemplateCurrencyDisplayFormatConfigurationArgsDict(TypedDict): + decimal_places_configuration: NotRequired[pulumi.Input['TemplateDecimalPlacesConfigurationArgsDict']] + """ + The option that determines the decimal places configuration. + """ + negative_value_configuration: NotRequired[pulumi.Input['TemplateNegativeValueConfigurationArgsDict']] + """ + The options that determine the negative value configuration. + """ + null_value_format_configuration: NotRequired[pulumi.Input['TemplateNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + number_scale: NotRequired[pulumi.Input['TemplateNumberScale']] + """ + Determines the number scale value for the currency format. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Determines the prefix value of the currency format. + """ + separator_configuration: NotRequired[pulumi.Input['TemplateNumericSeparatorConfigurationArgsDict']] + """ + The options that determine the numeric separator configuration. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + Determines the suffix value of the currency format. + """ + symbol: NotRequired[pulumi.Input[str]] + """ + Determines the symbol for the currency format. + """ +elif False: + TemplateCurrencyDisplayFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCurrencyDisplayFormatConfigurationArgs: def __init__(__self__, *, @@ -70196,6 +93564,19 @@ def symbol(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "symbol", value) +if not MYPY: + class TemplateCustomActionFilterOperationArgsDict(TypedDict): + selected_fields_configuration: pulumi.Input['TemplateFilterOperationSelectedFieldsConfigurationArgsDict'] + """ + The configuration that chooses the fields to be filtered. + """ + target_visuals_configuration: pulumi.Input['TemplateFilterOperationTargetVisualsConfigurationArgsDict'] + """ + The configuration that chooses the target visuals to be filtered. + """ +elif False: + TemplateCustomActionFilterOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomActionFilterOperationArgs: def __init__(__self__, *, @@ -70233,6 +93614,15 @@ def target_visuals_configuration(self, value: pulumi.Input['TemplateFilterOperat pulumi.set(self, "target_visuals_configuration", value) +if not MYPY: + class TemplateCustomActionNavigationOperationArgsDict(TypedDict): + local_navigation_configuration: NotRequired[pulumi.Input['TemplateLocalNavigationConfigurationArgsDict']] + """ + The configuration that chooses the navigation target. + """ +elif False: + TemplateCustomActionNavigationOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomActionNavigationOperationArgs: def __init__(__self__, *, @@ -70256,6 +93646,15 @@ def local_navigation_configuration(self, value: Optional[pulumi.Input['TemplateL pulumi.set(self, "local_navigation_configuration", value) +if not MYPY: + class TemplateCustomActionSetParametersOperationArgsDict(TypedDict): + parameter_value_configurations: pulumi.Input[Sequence[pulumi.Input['TemplateSetParameterValueConfigurationArgsDict']]] + """ + The parameter that determines the value configuration. + """ +elif False: + TemplateCustomActionSetParametersOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomActionSetParametersOperationArgs: def __init__(__self__, *, @@ -70278,6 +93677,25 @@ def parameter_value_configurations(self, value: pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "parameter_value_configurations", value) +if not MYPY: + class TemplateCustomActionUrlOperationArgsDict(TypedDict): + url_target: pulumi.Input['TemplateUrlTargetConfiguration'] + """ + The target of the `CustomActionURLOperation` . + + Valid values are defined as follows: + + - `NEW_TAB` : Opens the target URL in a new browser tab. + - `NEW_WINDOW` : Opens the target URL in a new browser window. + - `SAME_TAB` : Opens the target URL in the same browser tab. + """ + url_template: pulumi.Input[str] + """ + THe URL link of the `CustomActionURLOperation` . + """ +elif False: + TemplateCustomActionUrlOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomActionUrlOperationArgs: def __init__(__self__, *, @@ -70327,6 +93745,23 @@ def url_template(self, value: pulumi.Input[str]): pulumi.set(self, "url_template", value) +if not MYPY: + class TemplateCustomColorArgsDict(TypedDict): + color: pulumi.Input[str] + """ + The color that is applied to the data value. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The data value that the color is applied to. + """ + special_value: NotRequired[pulumi.Input['TemplateSpecialValue']] + """ + The value of a special data value. + """ +elif False: + TemplateCustomColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomColorArgs: def __init__(__self__, *, @@ -70381,6 +93816,23 @@ def special_value(self, value: Optional[pulumi.Input['TemplateSpecialValue']]): pulumi.set(self, "special_value", value) +if not MYPY: + class TemplateCustomContentConfigurationArgsDict(TypedDict): + content_type: NotRequired[pulumi.Input['TemplateCustomContentType']] + """ + The content type of the custom content visual. You can use this to have the visual render as an image. + """ + content_url: NotRequired[pulumi.Input[str]] + """ + The input URL that links to the custom content that you want in the custom visual. + """ + image_scaling: NotRequired[pulumi.Input['TemplateCustomContentImageScalingConfiguration']] + """ + The sizing options for the size of the custom content visual. This structure is required when the `ContentType` of the visual is `'IMAGE'` . + """ +elif False: + TemplateCustomContentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomContentConfigurationArgs: def __init__(__self__, *, @@ -70436,6 +93888,35 @@ def image_scaling(self, value: Optional[pulumi.Input['TemplateCustomContentImage pulumi.set(self, "image_scaling", value) +if not MYPY: + class TemplateCustomContentVisualArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The dataset that is used to create the custom content visual. You can't create a visual without a dataset. + """ + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateCustomContentConfigurationArgsDict']] + """ + The configuration of a `CustomContentVisual` . + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateCustomContentVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomContentVisualArgs: def __init__(__self__, *, @@ -70537,6 +94018,41 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateCustomFilterConfigurationArgsDict(TypedDict): + match_operator: pulumi.Input['TemplateCategoryFilterMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + null_option: pulumi.Input['TemplateFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + category_value: NotRequired[pulumi.Input[str]] + """ + The category value for the filter. + + This field is mutually exclusive to `ParameterName` . + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + + This field is mutually exclusive to `CategoryValue` . + """ + select_all_options: NotRequired[pulumi.Input['TemplateCategoryFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + TemplateCustomFilterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomFilterConfigurationArgs: def __init__(__self__, *, @@ -70642,6 +94158,33 @@ def select_all_options(self, value: Optional[pulumi.Input['TemplateCategoryFilte pulumi.set(self, "select_all_options", value) +if not MYPY: + class TemplateCustomFilterListConfigurationArgsDict(TypedDict): + match_operator: pulumi.Input['TemplateCategoryFilterMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + null_option: pulumi.Input['TemplateFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + category_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of category values for the filter. + """ + select_all_options: NotRequired[pulumi.Input['TemplateCategoryFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + TemplateCustomFilterListConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomFilterListConfigurationArgs: def __init__(__self__, *, @@ -70723,6 +94266,15 @@ def select_all_options(self, value: Optional[pulumi.Input['TemplateCategoryFilte pulumi.set(self, "select_all_options", value) +if not MYPY: + class TemplateCustomNarrativeOptionsArgsDict(TypedDict): + narrative: pulumi.Input[str] + """ + The string input of custom narrative. + """ +elif False: + TemplateCustomNarrativeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomNarrativeOptionsArgs: def __init__(__self__, *, @@ -70745,6 +94297,27 @@ def narrative(self, value: pulumi.Input[str]): pulumi.set(self, "narrative", value) +if not MYPY: + class TemplateCustomParameterValuesArgsDict(TypedDict): + date_time_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of datetime-type parameter values. + """ + decimal_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + A list of decimal-type parameter values. + """ + integer_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + A list of integer-type parameter values. + """ + string_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of string-type parameter values. + """ +elif False: + TemplateCustomParameterValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomParameterValuesArgs: def __init__(__self__, *, @@ -70816,6 +94389,16 @@ def string_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "string_values", value) +if not MYPY: + class TemplateCustomValuesConfigurationArgsDict(TypedDict): + custom_values: pulumi.Input['TemplateCustomParameterValuesArgsDict'] + include_null_value: NotRequired[pulumi.Input[bool]] + """ + Includes the null value in custom action parameter values. + """ +elif False: + TemplateCustomValuesConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateCustomValuesConfigurationArgs: def __init__(__self__, *, @@ -70850,6 +94433,23 @@ def include_null_value(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "include_null_value", value) +if not MYPY: + class TemplateDataBarsOptionsArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID for the data bars options. + """ + negative_color: NotRequired[pulumi.Input[str]] + """ + The color of the negative data bar. + """ + positive_color: NotRequired[pulumi.Input[str]] + """ + The color of the positive data bar. + """ +elif False: + TemplateDataBarsOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataBarsOptionsArgs: def __init__(__self__, *, @@ -70904,6 +94504,19 @@ def positive_color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "positive_color", value) +if not MYPY: + class TemplateDataColorArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The color that is applied to the data value. + """ + data_value: NotRequired[pulumi.Input[float]] + """ + The data value that the color is applied to. + """ +elif False: + TemplateDataColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataColorArgs: def __init__(__self__, *, @@ -70943,6 +94556,27 @@ def data_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "data_value", value) +if not MYPY: + class TemplateDataFieldSeriesItemArgsDict(TypedDict): + axis_binding: pulumi.Input['TemplateAxisBinding'] + """ + The axis that you are binding the field to. + """ + field_id: pulumi.Input[str] + """ + The field ID of the field that you are setting the axis binding to. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The field value of the field that you are setting the axis binding to. + """ + settings: NotRequired[pulumi.Input['TemplateLineChartSeriesSettingsArgsDict']] + """ + The options that determine the presentation of line series associated to the field. + """ +elif False: + TemplateDataFieldSeriesItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataFieldSeriesItemArgs: def __init__(__self__, *, @@ -71012,6 +94646,51 @@ def settings(self, value: Optional[pulumi.Input['TemplateLineChartSeriesSettings pulumi.set(self, "settings", value) +if not MYPY: + class TemplateDataLabelOptionsArgsDict(TypedDict): + category_label_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines the visibility of the category field labels. + """ + data_label_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDataLabelTypeArgsDict']]]] + """ + The option that determines the data label type. + """ + label_color: NotRequired[pulumi.Input[str]] + """ + Determines the color of the data labels. + """ + label_content: NotRequired[pulumi.Input['TemplateDataLabelContent']] + """ + Determines the content of the data labels. + """ + label_font_configuration: NotRequired[pulumi.Input['TemplateFontConfigurationArgsDict']] + """ + Determines the font configuration of the data labels. + """ + measure_label_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines the visibility of the measure field labels. + """ + overlap: NotRequired[pulumi.Input['TemplateDataLabelOverlap']] + """ + Determines whether overlap is enabled or disabled for the data labels. + """ + position: NotRequired[pulumi.Input['TemplateDataLabelPosition']] + """ + Determines the position of the data labels. + """ + totals_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines the visibility of the total. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines the visibility of the data labels. + """ +elif False: + TemplateDataLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataLabelOptionsArgs: def __init__(__self__, *, @@ -71179,6 +94858,31 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateDataLabelTypeArgsDict(TypedDict): + data_path_label_type: NotRequired[pulumi.Input['TemplateDataPathLabelTypeArgsDict']] + """ + The option that specifies individual data values for labels. + """ + field_label_type: NotRequired[pulumi.Input['TemplateFieldLabelTypeArgsDict']] + """ + Determines the label configuration for the entire field. + """ + maximum_label_type: NotRequired[pulumi.Input['TemplateMaximumLabelTypeArgsDict']] + """ + Determines the label configuration for the maximum value in a visual. + """ + minimum_label_type: NotRequired[pulumi.Input['TemplateMinimumLabelTypeArgsDict']] + """ + Determines the label configuration for the minimum value in a visual. + """ + range_ends_label_type: NotRequired[pulumi.Input['TemplateRangeEndsLabelTypeArgsDict']] + """ + Determines the label configuration for range end value in a visual. + """ +elif False: + TemplateDataLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataLabelTypeArgs: def __init__(__self__, *, @@ -71266,6 +94970,23 @@ def range_ends_label_type(self, value: Optional[pulumi.Input['TemplateRangeEndsL pulumi.set(self, "range_ends_label_type", value) +if not MYPY: + class TemplateDataPathColorArgsDict(TypedDict): + color: pulumi.Input[str] + """ + The color that needs to be applied to the element. + """ + element: pulumi.Input['TemplateDataPathValueArgsDict'] + """ + The element that the color needs to be applied to. + """ + time_granularity: NotRequired[pulumi.Input['TemplateTimeGranularity']] + """ + The time granularity of the field that the color needs to be applied to. + """ +elif False: + TemplateDataPathColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataPathColorArgs: def __init__(__self__, *, @@ -71319,6 +95040,23 @@ def time_granularity(self, value: Optional[pulumi.Input['TemplateTimeGranularity pulumi.set(self, "time_granularity", value) +if not MYPY: + class TemplateDataPathLabelTypeArgsDict(TypedDict): + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the field that the data label needs to be applied to. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The actual value of the field that is labeled. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the data label. + """ +elif False: + TemplateDataPathLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataPathLabelTypeArgs: def __init__(__self__, *, @@ -71374,6 +95112,19 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateDataPathSortArgsDict(TypedDict): + direction: pulumi.Input['TemplateSortDirection'] + """ + Determines the sort direction. + """ + sort_paths: pulumi.Input[Sequence[pulumi.Input['TemplateDataPathValueArgsDict']]] + """ + The list of data paths that need to be sorted. + """ +elif False: + TemplateDataPathSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataPathSortArgs: def __init__(__self__, *, @@ -71411,6 +95162,20 @@ def sort_paths(self, value: pulumi.Input[Sequence[pulumi.Input['TemplateDataPath pulumi.set(self, "sort_paths", value) +if not MYPY: + class TemplateDataPathTypeArgsDict(TypedDict): + pivot_table_data_path_type: NotRequired[pulumi.Input['TemplatePivotTableDataPathType']] + """ + The type of data path value utilized in a pivot table. Choose one of the following options: + + - `HIERARCHY_ROWS_LAYOUT_COLUMN` - The type of data path for the rows layout column, when `RowsLayout` is set to `HIERARCHY` . + - `MULTIPLE_ROW_METRICS_COLUMN` - The type of data path for the metric column when the row is set to Metric Placement. + - `EMPTY_COLUMN_HEADER` - The type of data path for the column with empty column header, when there is no field in `ColumnsFieldWell` and the row is set to Metric Placement. + - `COUNT_METRIC_COLUMN` - The type of data path for the column with `COUNT` as the metric, when there is no field in the `ValuesFieldWell` . + """ +elif False: + TemplateDataPathTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataPathTypeArgs: def __init__(__self__, *, @@ -71444,6 +95209,23 @@ def pivot_table_data_path_type(self, value: Optional[pulumi.Input['TemplatePivot pulumi.set(self, "pivot_table_data_path_type", value) +if not MYPY: + class TemplateDataPathValueArgsDict(TypedDict): + data_path_type: NotRequired[pulumi.Input['TemplateDataPathTypeArgsDict']] + """ + The type configuration of the field. + """ + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the field that needs to be sorted. + """ + field_value: NotRequired[pulumi.Input[str]] + """ + The actual value of the field that needs to be sorted. + """ +elif False: + TemplateDataPathValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataPathValueArgs: def __init__(__self__, *, @@ -71499,6 +95281,26 @@ def field_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "field_value", value) +if not MYPY: + class TemplateDataSetConfigurationArgsDict(TypedDict): + """ +

Dataset configuration.

+ """ + column_group_schema_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnGroupSchemaArgsDict']]]] + """ +

A structure containing the list of column group schemas.

+ """ + data_set_schema: NotRequired[pulumi.Input['TemplateDataSetSchemaArgsDict']] + """ + Dataset schema. + """ + placeholder: NotRequired[pulumi.Input[str]] + """ +

Placeholder.

+ """ +elif False: + TemplateDataSetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataSetConfigurationArgs: def __init__(__self__, *, @@ -71555,6 +95357,22 @@ def placeholder(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "placeholder", value) +if not MYPY: + class TemplateDataSetReferenceArgsDict(TypedDict): + """ +

Dataset reference.

+ """ + data_set_arn: pulumi.Input[str] + """ +

Dataset Amazon Resource Name (ARN).

+ """ + data_set_placeholder: pulumi.Input[str] + """ +

Dataset placeholder.

+ """ +elif False: + TemplateDataSetReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataSetReferenceArgs: def __init__(__self__, *, @@ -71593,6 +95411,18 @@ def data_set_placeholder(self, value: pulumi.Input[str]): pulumi.set(self, "data_set_placeholder", value) +if not MYPY: + class TemplateDataSetSchemaArgsDict(TypedDict): + """ +

Dataset schema.

+ """ + column_schema_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnSchemaArgsDict']]]] + """ +

A structure containing the list of column schemas.

+ """ +elif False: + TemplateDataSetSchemaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDataSetSchemaArgs: def __init__(__self__, *, @@ -71617,6 +95447,15 @@ def column_schema_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "column_schema_list", value) +if not MYPY: + class TemplateDateAxisOptionsArgsDict(TypedDict): + missing_date_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines whether or not missing dates are displayed. + """ +elif False: + TemplateDateAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDateAxisOptionsArgs: def __init__(__self__, *, @@ -71640,6 +95479,41 @@ def missing_date_visibility(self, value: Optional[pulumi.Input['TemplateVisibili pulumi.set(self, "missing_date_visibility", value) +if not MYPY: + class TemplateDateDimensionFieldArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that is used in the `DateDimensionField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + date_granularity: NotRequired[pulumi.Input['TemplateTimeGranularity']] + """ + The date granularity of the `DateDimensionField` . Choose one of the following options: + + - `YEAR` + - `QUARTER` + - `MONTH` + - `WEEK` + - `DAY` + - `HOUR` + - `MINUTE` + - `SECOND` + - `MILLISECOND` + """ + format_configuration: NotRequired[pulumi.Input['TemplateDateTimeFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ + hierarchy_id: NotRequired[pulumi.Input[str]] + """ + The custom hierarchy ID. + """ +elif False: + TemplateDateDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDateDimensionFieldArgs: def __init__(__self__, *, @@ -71745,6 +95619,27 @@ def hierarchy_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_id", value) +if not MYPY: + class TemplateDateMeasureFieldArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that is used in the `DateMeasureField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + aggregation_function: NotRequired[pulumi.Input['TemplateDateAggregationFunction']] + """ + The aggregation function of the measure field. + """ + format_configuration: NotRequired[pulumi.Input['TemplateDateTimeFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + TemplateDateMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDateMeasureFieldArgs: def __init__(__self__, *, @@ -71814,6 +95709,23 @@ def format_configuration(self, value: Optional[pulumi.Input['TemplateDateTimeFor pulumi.set(self, "format_configuration", value) +if not MYPY: + class TemplateDateTimeDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['TemplateDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `DataTimeDefaultValues` . Different defaults are displayed according to users, groups, and values mapping. + """ + rolling_date: NotRequired[pulumi.Input['TemplateRollingDateConfigurationArgsDict']] + """ + The rolling date of the `DataTimeDefaultValues` . The date is determined from the dataset based on input expression. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The static values of the `DataTimeDefaultValues` . + """ +elif False: + TemplateDateTimeDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDateTimeDefaultValuesArgs: def __init__(__self__, *, @@ -71869,6 +95781,23 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "static_values", value) +if not MYPY: + class TemplateDateTimeFormatConfigurationArgsDict(TypedDict): + date_time_format: NotRequired[pulumi.Input[str]] + """ + Determines the `DateTime` format. + """ + null_value_format_configuration: NotRequired[pulumi.Input['TemplateNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + numeric_format_configuration: NotRequired[pulumi.Input['TemplateNumericFormatConfigurationArgsDict']] + """ + The formatting configuration for numeric `DateTime` fields. + """ +elif False: + TemplateDateTimeFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDateTimeFormatConfigurationArgs: def __init__(__self__, *, @@ -71924,6 +95853,19 @@ def numeric_format_configuration(self, value: Optional[pulumi.Input['TemplateNum pulumi.set(self, "numeric_format_configuration", value) +if not MYPY: + class TemplateDateTimeHierarchyArgsDict(TypedDict): + hierarchy_id: pulumi.Input[str] + """ + The hierarchy ID of the `DateTime` hierarchy. + """ + drill_down_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDrillDownFilterArgsDict']]]] + """ + The option that determines the drill down filters for the `DateTime` hierarchy. + """ +elif False: + TemplateDateTimeHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDateTimeHierarchyArgs: def __init__(__self__, *, @@ -71962,6 +95904,28 @@ def drill_down_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "drill_down_filters", value) +if not MYPY: + class TemplateDateTimeParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + default_values: NotRequired[pulumi.Input['TemplateDateTimeDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMappedDataSetParameterArgsDict']]]] + time_granularity: NotRequired[pulumi.Input['TemplateTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ + value_when_unset: NotRequired[pulumi.Input['TemplateDateTimeValueWhenUnsetConfigurationArgsDict']] + """ + The configuration that defines the default value of a `DateTime` parameter when a value has not been set. + """ +elif False: + TemplateDateTimeParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDateTimeParameterDeclarationArgs: def __init__(__self__, *, @@ -72044,6 +96008,23 @@ def value_when_unset(self, value: Optional[pulumi.Input['TemplateDateTimeValueWh pulumi.set(self, "value_when_unset", value) +if not MYPY: + class TemplateDateTimePickerControlDisplayOptionsArgsDict(TypedDict): + date_time_format: NotRequired[pulumi.Input[str]] + """ + Customize how dates are formatted in controls. + """ + info_icon_label_options: NotRequired[pulumi.Input['TemplateSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + title_options: NotRequired[pulumi.Input['TemplateLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + TemplateDateTimePickerControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDateTimePickerControlDisplayOptionsArgs: def __init__(__self__, *, @@ -72099,6 +96080,22 @@ def title_options(self, value: Optional[pulumi.Input['TemplateLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class TemplateDateTimeValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[str]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['TemplateValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + TemplateDateTimeValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDateTimeValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -72144,6 +96141,19 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['TemplateValueWhe pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class TemplateDecimalDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['TemplateDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `DecimalDefaultValues` . Different defaults are displayed according to users, groups, and values mapping. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + The static values of the `DecimalDefaultValues` . + """ +elif False: + TemplateDecimalDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDecimalDefaultValuesArgs: def __init__(__self__, *, @@ -72183,6 +96193,28 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[float pulumi.set(self, "static_values", value) +if not MYPY: + class TemplateDecimalParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + parameter_value_type: pulumi.Input['TemplateParameterValueType'] + """ + The value type determines whether the parameter is a single-value or multi-value parameter. + """ + default_values: NotRequired[pulumi.Input['TemplateDecimalDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMappedDataSetParameterArgsDict']]]] + value_when_unset: NotRequired[pulumi.Input['TemplateDecimalValueWhenUnsetConfigurationArgsDict']] + """ + The configuration that defines the default value of a `Decimal` parameter when a value has not been set. + """ +elif False: + TemplateDecimalParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDecimalParameterDeclarationArgs: def __init__(__self__, *, @@ -72264,6 +96296,15 @@ def value_when_unset(self, value: Optional[pulumi.Input['TemplateDecimalValueWhe pulumi.set(self, "value_when_unset", value) +if not MYPY: + class TemplateDecimalPlacesConfigurationArgsDict(TypedDict): + decimal_places: pulumi.Input[float] + """ + The values of the decimal places. + """ +elif False: + TemplateDecimalPlacesConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDecimalPlacesConfigurationArgs: def __init__(__self__, *, @@ -72286,6 +96327,22 @@ def decimal_places(self, value: pulumi.Input[float]): pulumi.set(self, "decimal_places", value) +if not MYPY: + class TemplateDecimalValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[float]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['TemplateValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + TemplateDecimalValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDecimalValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -72331,6 +96388,26 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['TemplateValueWhe pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class TemplateDefaultDateTimePickerControlOptionsArgsDict(TypedDict): + commit_mode: NotRequired[pulumi.Input['TemplateCommitMode']] + """ + The visibility configuration of the Apply button on a `DateTimePickerControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateDateTimePickerControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['TemplateSheetControlDateTimePickerType']] + """ + The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the following options: + + - `SINGLE_VALUED` : The filter condition is a fixed date. + - `DATE_RANGE` : The filter condition is a date time range. + """ +elif False: + TemplateDefaultDateTimePickerControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultDateTimePickerControlOptionsArgs: def __init__(__self__, *, @@ -72392,6 +96469,19 @@ def type(self, value: Optional[pulumi.Input['TemplateSheetControlDateTimePickerT pulumi.set(self, "type", value) +if not MYPY: + class TemplateDefaultFilterControlConfigurationArgsDict(TypedDict): + control_options: pulumi.Input['TemplateDefaultFilterControlOptionsArgsDict'] + """ + The control option for the `DefaultFilterControlConfiguration` . + """ + title: pulumi.Input[str] + """ + The title of the `DefaultFilterControlConfiguration` . This title is shared by all controls that are tied to this filter. + """ +elif False: + TemplateDefaultFilterControlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultFilterControlConfigurationArgs: def __init__(__self__, *, @@ -72429,6 +96519,39 @@ def title(self, value: pulumi.Input[str]): pulumi.set(self, "title", value) +if not MYPY: + class TemplateDefaultFilterControlOptionsArgsDict(TypedDict): + default_date_time_picker_options: NotRequired[pulumi.Input['TemplateDefaultDateTimePickerControlOptionsArgsDict']] + """ + The default options that correspond to the filter control type of a `DateTimePicker` . + """ + default_dropdown_options: NotRequired[pulumi.Input['TemplateDefaultFilterDropDownControlOptionsArgsDict']] + """ + The default options that correspond to the `Dropdown` filter control type. + """ + default_list_options: NotRequired[pulumi.Input['TemplateDefaultFilterListControlOptionsArgsDict']] + """ + The default options that correspond to the `List` filter control type. + """ + default_relative_date_time_options: NotRequired[pulumi.Input['TemplateDefaultRelativeDateTimeControlOptionsArgsDict']] + """ + The default options that correspond to the `RelativeDateTime` filter control type. + """ + default_slider_options: NotRequired[pulumi.Input['TemplateDefaultSliderControlOptionsArgsDict']] + """ + The default options that correspond to the `Slider` filter control type. + """ + default_text_area_options: NotRequired[pulumi.Input['TemplateDefaultTextAreaControlOptionsArgsDict']] + """ + The default options that correspond to the `TextArea` filter control type. + """ + default_text_field_options: NotRequired[pulumi.Input['TemplateDefaultTextFieldControlOptionsArgsDict']] + """ + The default options that correspond to the `TextField` filter control type. + """ +elif False: + TemplateDefaultFilterControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultFilterControlOptionsArgs: def __init__(__self__, *, @@ -72548,6 +96671,30 @@ def default_text_field_options(self, value: Optional[pulumi.Input['TemplateDefau pulumi.set(self, "default_text_field_options", value) +if not MYPY: + class TemplateDefaultFilterDropDownControlOptionsArgsDict(TypedDict): + commit_mode: NotRequired[pulumi.Input['TemplateCommitMode']] + """ + The visibility configuration of the Apply button on a `FilterDropDownControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateDropDownControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['TemplateFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['TemplateSheetControlListType']] + """ + The type of the `FilterDropDownControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + - `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + """ +elif False: + TemplateDefaultFilterDropDownControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultFilterDropDownControlOptionsArgs: def __init__(__self__, *, @@ -72625,6 +96772,26 @@ def type(self, value: Optional[pulumi.Input['TemplateSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class TemplateDefaultFilterListControlOptionsArgsDict(TypedDict): + display_options: NotRequired[pulumi.Input['TemplateListControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['TemplateFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['TemplateSheetControlListType']] + """ + The type of the `DefaultFilterListControlOptions` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from the list. + - `SINGLE_SELECT` : The user can select a single entry from the list. + """ +elif False: + TemplateDefaultFilterListControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultFilterListControlOptionsArgs: def __init__(__self__, *, @@ -72686,6 +96853,15 @@ def type(self, value: Optional[pulumi.Input['TemplateSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class TemplateDefaultFreeFormLayoutConfigurationArgsDict(TypedDict): + canvas_size_options: pulumi.Input['TemplateFreeFormLayoutCanvasSizeOptionsArgsDict'] + """ + Determines the screen canvas size options for a free-form layout. + """ +elif False: + TemplateDefaultFreeFormLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultFreeFormLayoutConfigurationArgs: def __init__(__self__, *, @@ -72708,6 +96884,15 @@ def canvas_size_options(self, value: pulumi.Input['TemplateFreeFormLayoutCanvasS pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class TemplateDefaultGridLayoutConfigurationArgsDict(TypedDict): + canvas_size_options: pulumi.Input['TemplateGridLayoutCanvasSizeOptionsArgsDict'] + """ + Determines the screen canvas size options for a grid layout. + """ +elif False: + TemplateDefaultGridLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultGridLayoutConfigurationArgs: def __init__(__self__, *, @@ -72730,6 +96915,19 @@ def canvas_size_options(self, value: pulumi.Input['TemplateGridLayoutCanvasSizeO pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class TemplateDefaultInteractiveLayoutConfigurationArgsDict(TypedDict): + free_form: NotRequired[pulumi.Input['TemplateDefaultFreeFormLayoutConfigurationArgsDict']] + """ + The options that determine the default settings of a free-form layout configuration. + """ + grid: NotRequired[pulumi.Input['TemplateDefaultGridLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for a grid layout configuration. + """ +elif False: + TemplateDefaultInteractiveLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultInteractiveLayoutConfigurationArgs: def __init__(__self__, *, @@ -72769,6 +96967,23 @@ def grid(self, value: Optional[pulumi.Input['TemplateDefaultGridLayoutConfigurat pulumi.set(self, "grid", value) +if not MYPY: + class TemplateDefaultNewSheetConfigurationArgsDict(TypedDict): + interactive_layout_configuration: NotRequired[pulumi.Input['TemplateDefaultInteractiveLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for interactive layout configuration. + """ + paginated_layout_configuration: NotRequired[pulumi.Input['TemplateDefaultPaginatedLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for a paginated layout configuration. + """ + sheet_content_type: NotRequired[pulumi.Input['TemplateSheetContentType']] + """ + The option that determines the sheet content type. + """ +elif False: + TemplateDefaultNewSheetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultNewSheetConfigurationArgs: def __init__(__self__, *, @@ -72824,6 +97039,15 @@ def sheet_content_type(self, value: Optional[pulumi.Input['TemplateSheetContentT pulumi.set(self, "sheet_content_type", value) +if not MYPY: + class TemplateDefaultPaginatedLayoutConfigurationArgsDict(TypedDict): + section_based: NotRequired[pulumi.Input['TemplateDefaultSectionBasedLayoutConfigurationArgsDict']] + """ + The options that determine the default settings for a section-based layout configuration. + """ +elif False: + TemplateDefaultPaginatedLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultPaginatedLayoutConfigurationArgs: def __init__(__self__, *, @@ -72847,6 +97071,19 @@ def section_based(self, value: Optional[pulumi.Input['TemplateDefaultSectionBase pulumi.set(self, "section_based", value) +if not MYPY: + class TemplateDefaultRelativeDateTimeControlOptionsArgsDict(TypedDict): + commit_mode: NotRequired[pulumi.Input['TemplateCommitMode']] + """ + The visibility configuration of the Apply button on a `RelativeDateTimeControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateRelativeDateTimeControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + TemplateDefaultRelativeDateTimeControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultRelativeDateTimeControlOptionsArgs: def __init__(__self__, *, @@ -72886,6 +97123,15 @@ def display_options(self, value: Optional[pulumi.Input['TemplateRelativeDateTime pulumi.set(self, "display_options", value) +if not MYPY: + class TemplateDefaultSectionBasedLayoutConfigurationArgsDict(TypedDict): + canvas_size_options: pulumi.Input['TemplateSectionBasedLayoutCanvasSizeOptionsArgsDict'] + """ + Determines the screen canvas size options for a section-based layout. + """ +elif False: + TemplateDefaultSectionBasedLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultSectionBasedLayoutConfigurationArgs: def __init__(__self__, *, @@ -72908,6 +97154,34 @@ def canvas_size_options(self, value: pulumi.Input['TemplateSectionBasedLayoutCan pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class TemplateDefaultSliderControlOptionsArgsDict(TypedDict): + maximum_value: pulumi.Input[float] + """ + The larger value that is displayed at the right of the slider. + """ + minimum_value: pulumi.Input[float] + """ + The smaller value that is displayed at the left of the slider. + """ + step_size: pulumi.Input[float] + """ + The number of increments that the slider bar is divided into. + """ + display_options: NotRequired[pulumi.Input['TemplateSliderControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['TemplateSheetControlSliderType']] + """ + The type of the `DefaultSliderControlOptions` . Choose one of the following options: + + - `SINGLE_POINT` : Filter against(equals) a single data point. + - `RANGE` : Filter data that is in a specified range. + """ +elif False: + TemplateDefaultSliderControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultSliderControlOptionsArgs: def __init__(__self__, *, @@ -72998,6 +97272,19 @@ def type(self, value: Optional[pulumi.Input['TemplateSheetControlSliderType']]): pulumi.set(self, "type", value) +if not MYPY: + class TemplateDefaultTextAreaControlOptionsArgsDict(TypedDict): + delimiter: NotRequired[pulumi.Input[str]] + """ + The delimiter that is used to separate the lines in text. + """ + display_options: NotRequired[pulumi.Input['TemplateTextAreaControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + TemplateDefaultTextAreaControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultTextAreaControlOptionsArgs: def __init__(__self__, *, @@ -73037,6 +97324,15 @@ def display_options(self, value: Optional[pulumi.Input['TemplateTextAreaControlD pulumi.set(self, "display_options", value) +if not MYPY: + class TemplateDefaultTextFieldControlOptionsArgsDict(TypedDict): + display_options: NotRequired[pulumi.Input['TemplateTextFieldControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + TemplateDefaultTextFieldControlOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDefaultTextFieldControlOptionsArgs: def __init__(__self__, *, @@ -73060,6 +97356,28 @@ def display_options(self, value: Optional[pulumi.Input['TemplateTextFieldControl pulumi.set(self, "display_options", value) +if not MYPY: + class TemplateDestinationParameterValueConfigurationArgsDict(TypedDict): + custom_values_configuration: NotRequired[pulumi.Input['TemplateCustomValuesConfigurationArgsDict']] + """ + The configuration of custom values for destination parameter in `DestinationParameterValueConfiguration` . + """ + select_all_value_options: NotRequired[pulumi.Input['TemplateSelectAllValueOptions']] + """ + The configuration that selects all options. + """ + source_column: NotRequired[pulumi.Input['TemplateColumnIdentifierArgsDict']] + source_field: NotRequired[pulumi.Input[str]] + """ + The source field ID of the destination parameter. + """ + source_parameter_name: NotRequired[pulumi.Input[str]] + """ + The source parameter name of the destination parameter. + """ +elif False: + TemplateDestinationParameterValueConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDestinationParameterValueConfigurationArgs: def __init__(__self__, *, @@ -73143,6 +97461,23 @@ def source_parameter_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_parameter_name", value) +if not MYPY: + class TemplateDimensionFieldArgsDict(TypedDict): + categorical_dimension_field: NotRequired[pulumi.Input['TemplateCategoricalDimensionFieldArgsDict']] + """ + The dimension type field with categorical type columns. + """ + date_dimension_field: NotRequired[pulumi.Input['TemplateDateDimensionFieldArgsDict']] + """ + The dimension type field with date type columns. + """ + numerical_dimension_field: NotRequired[pulumi.Input['TemplateNumericalDimensionFieldArgsDict']] + """ + The dimension type field with numerical type columns. + """ +elif False: + TemplateDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDimensionFieldArgs: def __init__(__self__, *, @@ -73198,6 +97533,15 @@ def numerical_dimension_field(self, value: Optional[pulumi.Input['TemplateNumeri pulumi.set(self, "numerical_dimension_field", value) +if not MYPY: + class TemplateDonutCenterOptionsArgsDict(TypedDict): + label_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines the visibility of the label in a donut chart. In the Amazon QuickSight console, this option is called `'Show total'` . + """ +elif False: + TemplateDonutCenterOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDonutCenterOptionsArgs: def __init__(__self__, *, @@ -73221,6 +97565,24 @@ def label_visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "label_visibility", value) +if not MYPY: + class TemplateDonutOptionsArgsDict(TypedDict): + arc_options: NotRequired[pulumi.Input['TemplateArcOptionsArgsDict']] + """ + The option for define the arc of the chart shape. Valid values are as follows: + + - `WHOLE` - A pie chart + - `SMALL` - A small-sized donut chart + - `MEDIUM` - A medium-sized donut chart + - `LARGE` - A large-sized donut chart + """ + donut_center_options: NotRequired[pulumi.Input['TemplateDonutCenterOptionsArgsDict']] + """ + The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts. + """ +elif False: + TemplateDonutOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDonutOptionsArgs: def __init__(__self__, *, @@ -73270,6 +97632,23 @@ def donut_center_options(self, value: Optional[pulumi.Input['TemplateDonutCenter pulumi.set(self, "donut_center_options", value) +if not MYPY: + class TemplateDrillDownFilterArgsDict(TypedDict): + category_filter: NotRequired[pulumi.Input['TemplateCategoryDrillDownFilterArgsDict']] + """ + The category type drill down filter. This filter is used for string type columns. + """ + numeric_equality_filter: NotRequired[pulumi.Input['TemplateNumericEqualityDrillDownFilterArgsDict']] + """ + The numeric equality type drill down filter. This filter is used for number type columns. + """ + time_range_filter: NotRequired[pulumi.Input['TemplateTimeRangeDrillDownFilterArgsDict']] + """ + The time range drill down filter. This filter is used for date time columns. + """ +elif False: + TemplateDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDrillDownFilterArgs: def __init__(__self__, *, @@ -73325,6 +97704,23 @@ def time_range_filter(self, value: Optional[pulumi.Input['TemplateTimeRangeDrill pulumi.set(self, "time_range_filter", value) +if not MYPY: + class TemplateDropDownControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['TemplateSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + select_all_options: NotRequired[pulumi.Input['TemplateListControlSelectAllOptionsArgsDict']] + """ + The configuration of the `Select all` options in a dropdown control. + """ + title_options: NotRequired[pulumi.Input['TemplateLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + TemplateDropDownControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDropDownControlDisplayOptionsArgs: def __init__(__self__, *, @@ -73380,6 +97776,23 @@ def title_options(self, value: Optional[pulumi.Input['TemplateLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class TemplateDynamicDefaultValueArgsDict(TypedDict): + default_value_column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that contains the default value of each user or group. + """ + group_name_column: NotRequired[pulumi.Input['TemplateColumnIdentifierArgsDict']] + """ + The column that contains the group name. + """ + user_name_column: NotRequired[pulumi.Input['TemplateColumnIdentifierArgsDict']] + """ + The column that contains the username. + """ +elif False: + TemplateDynamicDefaultValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateDynamicDefaultValueArgs: def __init__(__self__, *, @@ -73434,6 +97847,23 @@ def user_name_column(self, value: Optional[pulumi.Input['TemplateColumnIdentifie pulumi.set(self, "user_name_column", value) +if not MYPY: + class TemplateEmptyVisualArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The data set that is used in the empty visual. Every visual requires a dataset to render. + """ + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ +elif False: + TemplateEmptyVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateEmptyVisualArgs: def __init__(__self__, *, @@ -73487,6 +97917,26 @@ def actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateVi pulumi.set(self, "actions", value) +if not MYPY: + class TemplateExcludePeriodConfigurationArgsDict(TypedDict): + amount: pulumi.Input[float] + """ + The amount or number of the exclude period. + """ + granularity: pulumi.Input['TemplateTimeGranularity'] + """ + The granularity or unit (day, month, year) of the exclude period. + """ + status: NotRequired[pulumi.Input['TemplateWidgetStatus']] + """ + The status of the exclude period. Choose from the following options: + + - `ENABLED` + - `DISABLED` + """ +elif False: + TemplateExcludePeriodConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateExcludePeriodConfigurationArgs: def __init__(__self__, *, @@ -73546,6 +97996,23 @@ def status(self, value: Optional[pulumi.Input['TemplateWidgetStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class TemplateExplicitHierarchyArgsDict(TypedDict): + columns: pulumi.Input[Sequence[pulumi.Input['TemplateColumnIdentifierArgsDict']]] + """ + The list of columns that define the explicit hierarchy. + """ + hierarchy_id: pulumi.Input[str] + """ + The hierarchy ID of the explicit hierarchy. + """ + drill_down_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDrillDownFilterArgsDict']]]] + """ + The option that determines the drill down filters for the explicit hierarchy. + """ +elif False: + TemplateExplicitHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateExplicitHierarchyArgs: def __init__(__self__, *, @@ -73599,6 +98066,26 @@ def drill_down_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "drill_down_filters", value) +if not MYPY: + class TemplateFieldBasedTooltipArgsDict(TypedDict): + aggregation_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of `Show aggregations` . + """ + tooltip_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateTooltipItemArgsDict']]]] + """ + The fields configuration in the tooltip. + """ + tooltip_title_type: NotRequired[pulumi.Input['TemplateTooltipTitleType']] + """ + The type for the >tooltip title. Choose one of the following options: + + - `NONE` : Doesn't use the primary value as the title. + - `PRIMARY_VALUE` : Uses primary value as the title. + """ +elif False: + TemplateFieldBasedTooltipArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFieldBasedTooltipArgs: def __init__(__self__, *, @@ -73660,6 +98147,19 @@ def tooltip_title_type(self, value: Optional[pulumi.Input['TemplateTooltipTitleT pulumi.set(self, "tooltip_title_type", value) +if not MYPY: + class TemplateFieldLabelTypeArgsDict(TypedDict): + field_id: NotRequired[pulumi.Input[str]] + """ + Indicates the field that is targeted by the field label. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the field label. + """ +elif False: + TemplateFieldLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFieldLabelTypeArgs: def __init__(__self__, *, @@ -73699,6 +98199,23 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateFieldSeriesItemArgsDict(TypedDict): + axis_binding: pulumi.Input['TemplateAxisBinding'] + """ + The axis that you are binding the field to. + """ + field_id: pulumi.Input[str] + """ + The field ID of the field for which you are setting the axis binding. + """ + settings: NotRequired[pulumi.Input['TemplateLineChartSeriesSettingsArgsDict']] + """ + The options that determine the presentation of line series associated to the field. + """ +elif False: + TemplateFieldSeriesItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFieldSeriesItemArgs: def __init__(__self__, *, @@ -73752,6 +98269,19 @@ def settings(self, value: Optional[pulumi.Input['TemplateLineChartSeriesSettings pulumi.set(self, "settings", value) +if not MYPY: + class TemplateFieldSortOptionsArgsDict(TypedDict): + column_sort: NotRequired[pulumi.Input['TemplateColumnSortArgsDict']] + """ + The sort configuration for a column that is not used in a field well. + """ + field_sort: NotRequired[pulumi.Input['TemplateFieldSortArgsDict']] + """ + The sort configuration for a field in a field well. + """ +elif False: + TemplateFieldSortOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFieldSortOptionsArgs: def __init__(__self__, *, @@ -73791,6 +98321,22 @@ def field_sort(self, value: Optional[pulumi.Input['TemplateFieldSortArgs']]): pulumi.set(self, "field_sort", value) +if not MYPY: + class TemplateFieldSortArgsDict(TypedDict): + direction: pulumi.Input['TemplateSortDirection'] + """ + The sort direction. Choose one of the following options: + + - `ASC` : Ascending + - `DESC` : Descending + """ + field_id: pulumi.Input[str] + """ + The sort configuration target field. + """ +elif False: + TemplateFieldSortArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFieldSortArgs: def __init__(__self__, *, @@ -73834,6 +98380,27 @@ def field_id(self, value: pulumi.Input[str]): pulumi.set(self, "field_id", value) +if not MYPY: + class TemplateFieldTooltipItemArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The unique ID of the field that is targeted by the tooltip. + """ + label: NotRequired[pulumi.Input[str]] + """ + The label of the tooltip item. + """ + tooltip_target: NotRequired[pulumi.Input['TemplateTooltipTarget']] + """ + Determines the target of the field tooltip item in a combo chart visual. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the tooltip item. + """ +elif False: + TemplateFieldTooltipItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFieldTooltipItemArgs: def __init__(__self__, *, @@ -73904,6 +98471,19 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateFilledMapAggregatedFieldWellsArgsDict(TypedDict): + geospatial: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The aggregated location field well of the filled map. Values are grouped by location fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The aggregated color field well of a filled map. Values are aggregated based on location fields. + """ +elif False: + TemplateFilledMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilledMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -73943,6 +98523,15 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateFilledMapConditionalFormattingOptionArgsDict(TypedDict): + shape: pulumi.Input['TemplateFilledMapShapeConditionalFormattingArgsDict'] + """ + The conditional formatting that determines the shape of the filled map. + """ +elif False: + TemplateFilledMapConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilledMapConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -73965,6 +98554,15 @@ def shape(self, value: pulumi.Input['TemplateFilledMapShapeConditionalFormatting pulumi.set(self, "shape", value) +if not MYPY: + class TemplateFilledMapConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: pulumi.Input[Sequence[pulumi.Input['TemplateFilledMapConditionalFormattingOptionArgsDict']]] + """ + Conditional formatting options of a `FilledMapVisual` . + """ +elif False: + TemplateFilledMapConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilledMapConditionalFormattingArgs: def __init__(__self__, *, @@ -73987,6 +98585,35 @@ def conditional_formatting_options(self, value: pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class TemplateFilledMapConfigurationArgsDict(TypedDict): + field_wells: NotRequired[pulumi.Input['TemplateFilledMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + map_style_options: NotRequired[pulumi.Input['TemplateGeospatialMapStyleOptionsArgsDict']] + """ + The map style options of the filled map visual. + """ + sort_configuration: NotRequired[pulumi.Input['TemplateFilledMapSortConfigurationArgsDict']] + """ + The sort configuration of a `FilledMapVisual` . + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + window_options: NotRequired[pulumi.Input['TemplateGeospatialWindowOptionsArgsDict']] + """ + The window options of the filled map visual. + """ +elif False: + TemplateFilledMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilledMapConfigurationArgs: def __init__(__self__, *, @@ -74090,6 +98717,15 @@ def window_options(self, value: Optional[pulumi.Input['TemplateGeospatialWindowO pulumi.set(self, "window_options", value) +if not MYPY: + class TemplateFilledMapFieldWellsArgsDict(TypedDict): + filled_map_aggregated_field_wells: NotRequired[pulumi.Input['TemplateFilledMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field well of the filled map. + """ +elif False: + TemplateFilledMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilledMapFieldWellsArgs: def __init__(__self__, *, @@ -74113,6 +98749,19 @@ def filled_map_aggregated_field_wells(self, value: Optional[pulumi.Input['Templa pulumi.set(self, "filled_map_aggregated_field_wells", value) +if not MYPY: + class TemplateFilledMapShapeConditionalFormattingArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the filled map shape. + """ + format: NotRequired[pulumi.Input['TemplateShapeConditionalFormatArgsDict']] + """ + The conditional formatting that determines the background color of a filled map's shape. + """ +elif False: + TemplateFilledMapShapeConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilledMapShapeConditionalFormattingArgs: def __init__(__self__, *, @@ -74151,6 +98800,15 @@ def format(self, value: Optional[pulumi.Input['TemplateShapeConditionalFormatArg pulumi.set(self, "format", value) +if not MYPY: + class TemplateFilledMapSortConfigurationArgsDict(TypedDict): + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the location fields. + """ +elif False: + TemplateFilledMapSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilledMapSortConfigurationArgs: def __init__(__self__, *, @@ -74174,6 +98832,39 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Temp pulumi.set(self, "category_sort", value) +if not MYPY: + class TemplateFilledMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateFilledMapConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + conditional_formatting: NotRequired[pulumi.Input['TemplateFilledMapConditionalFormattingArgsDict']] + """ + The conditional formatting of a `FilledMapVisual` . + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateFilledMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilledMapVisualArgs: def __init__(__self__, *, @@ -74292,6 +98983,43 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateFilterControlArgsDict(TypedDict): + cross_sheet: NotRequired[pulumi.Input['TemplateFilterCrossSheetControlArgsDict']] + """ + A control from a filter that is scoped across more than one sheet. This represents your filter control on a sheet + """ + date_time_picker: NotRequired[pulumi.Input['TemplateFilterDateTimePickerControlArgsDict']] + """ + A control from a date filter that is used to specify date and time. + """ + dropdown: NotRequired[pulumi.Input['TemplateFilterDropDownControlArgsDict']] + """ + A control to display a dropdown list with buttons that are used to select a single value. + """ + list: NotRequired[pulumi.Input['TemplateFilterListControlArgsDict']] + """ + A control to display a list of buttons or boxes. This is used to select either a single value or multiple values. + """ + relative_date_time: NotRequired[pulumi.Input['TemplateFilterRelativeDateTimeControlArgsDict']] + """ + A control from a date filter that is used to specify the relative date. + """ + slider: NotRequired[pulumi.Input['TemplateFilterSliderControlArgsDict']] + """ + A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle. + """ + text_area: NotRequired[pulumi.Input['TemplateFilterTextAreaControlArgsDict']] + """ + A control to display a text box that is used to enter multiple entries. + """ + text_field: NotRequired[pulumi.Input['TemplateFilterTextFieldControlArgsDict']] + """ + A control to display a text box that is used to enter a single entry. + """ +elif False: + TemplateFilterControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterControlArgs: def __init__(__self__, *, @@ -74427,6 +99155,23 @@ def text_field(self, value: Optional[pulumi.Input['TemplateFilterTextFieldContro pulumi.set(self, "text_field", value) +if not MYPY: + class TemplateFilterCrossSheetControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterCrossSheetControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterCrossSheetControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['TemplateCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ +elif False: + TemplateFilterCrossSheetControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterCrossSheetControlArgs: def __init__(__self__, *, @@ -74480,6 +99225,38 @@ def cascading_control_configuration(self, value: Optional[pulumi.Input['Template pulumi.set(self, "cascading_control_configuration", value) +if not MYPY: + class TemplateFilterDateTimePickerControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterDateTimePickerControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterDateTimePickerControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterDateTimePickerControl` . + """ + commit_mode: NotRequired[pulumi.Input['TemplateCommitMode']] + """ + The visibility configurationof the Apply button on a `DateTimePickerControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateDateTimePickerControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['TemplateSheetControlDateTimePickerType']] + """ + The type of the `FilterDropDownControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + - `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + """ +elif False: + TemplateFilterDateTimePickerControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterDateTimePickerControlArgs: def __init__(__self__, *, @@ -74586,6 +99363,46 @@ def type(self, value: Optional[pulumi.Input['TemplateSheetControlDateTimePickerT pulumi.set(self, "type", value) +if not MYPY: + class TemplateFilterDropDownControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterDropDownControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterDropDownControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterDropDownControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['TemplateCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + commit_mode: NotRequired[pulumi.Input['TemplateCommitMode']] + """ + The visibility configuration of the Apply button on a `FilterDropDownControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateDropDownControlDisplayOptionsArgsDict']] + """ + The display options of the `FilterDropDownControl` . + """ + selectable_values: NotRequired[pulumi.Input['TemplateFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['TemplateSheetControlListType']] + """ + The type of the `FilterDropDownControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from a dropdown menu. + - `SINGLE_SELECT` : The user can select a single entry from a dropdown menu. + """ +elif False: + TemplateFilterDropDownControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterDropDownControlArgs: def __init__(__self__, *, @@ -74724,6 +99541,36 @@ def type(self, value: Optional[pulumi.Input['TemplateSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class TemplateFilterGroupArgsDict(TypedDict): + cross_dataset: pulumi.Input['TemplateCrossDatasetTypes'] + """ + The filter new feature which can apply filter group to all data sets. Choose one of the following options: + + - `ALL_DATASETS` + - `SINGLE_DATASET` + """ + filter_group_id: pulumi.Input[str] + """ + The value that uniquely identifies a `FilterGroup` within a dashboard, template, or analysis. + """ + filters: pulumi.Input[Sequence[pulumi.Input['TemplateFilterArgsDict']]] + """ + The list of filters that are present in a `FilterGroup` . + """ + scope_configuration: pulumi.Input['TemplateFilterScopeConfigurationArgsDict'] + """ + The configuration that specifies what scope to apply to a `FilterGroup` . + + This is a union type structure. For this structure to be valid, only one of the attributes can be defined. + """ + status: NotRequired[pulumi.Input['TemplateWidgetStatus']] + """ + The status of the `FilterGroup` . + """ +elif False: + TemplateFilterGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterGroupArgs: def __init__(__self__, *, @@ -74817,6 +99664,33 @@ def status(self, value: Optional[pulumi.Input['TemplateWidgetStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class TemplateFilterListConfigurationArgsDict(TypedDict): + match_operator: pulumi.Input['TemplateCategoryFilterMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + category_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of category values for the filter. + """ + null_option: NotRequired[pulumi.Input['TemplateFilterNullOption']] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + select_all_options: NotRequired[pulumi.Input['TemplateCategoryFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + TemplateFilterListConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterListConfigurationArgs: def __init__(__self__, *, @@ -74899,6 +99773,42 @@ def select_all_options(self, value: Optional[pulumi.Input['TemplateCategoryFilte pulumi.set(self, "select_all_options", value) +if not MYPY: + class TemplateFilterListControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterListControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterListControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterListControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['TemplateCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + display_options: NotRequired[pulumi.Input['TemplateListControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['TemplateFilterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['TemplateSheetControlListType']] + """ + The type of the `FilterListControl` . Choose one of the following options: + + - `MULTI_SELECT` : The user can select multiple entries from the list. + - `SINGLE_SELECT` : The user can select a single entry from the list. + """ +elif False: + TemplateFilterListControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterListControlArgs: def __init__(__self__, *, @@ -75021,6 +99931,27 @@ def type(self, value: Optional[pulumi.Input['TemplateSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class TemplateFilterOperationSelectedFieldsConfigurationArgsDict(TypedDict): + selected_columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnIdentifierArgsDict']]]] + """ +

The selected columns of a dataset.

+ """ + selected_field_options: NotRequired[pulumi.Input['TemplateSelectedFieldOptions']] + """ + A structure that contains the options that choose which fields are filtered in the `CustomActionFilterOperation` . + + Valid values are defined as follows: + + - `ALL_FIELDS` : Applies the filter operation to all fields. + """ + selected_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Chooses the fields that are filtered in `CustomActionFilterOperation` . + """ +elif False: + TemplateFilterOperationSelectedFieldsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterOperationSelectedFieldsConfigurationArgs: def __init__(__self__, *, @@ -75084,6 +100015,15 @@ def selected_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "selected_fields", value) +if not MYPY: + class TemplateFilterOperationTargetVisualsConfigurationArgsDict(TypedDict): + same_sheet_target_visual_configuration: NotRequired[pulumi.Input['TemplateSameSheetTargetVisualConfigurationArgsDict']] + """ + The configuration of the same-sheet target visuals that you want to be filtered. + """ +elif False: + TemplateFilterOperationTargetVisualsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterOperationTargetVisualsConfigurationArgs: def __init__(__self__, *, @@ -75107,6 +100047,31 @@ def same_sheet_target_visual_configuration(self, value: Optional[pulumi.Input['T pulumi.set(self, "same_sheet_target_visual_configuration", value) +if not MYPY: + class TemplateFilterRelativeDateTimeControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterTextAreaControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterTextAreaControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterTextAreaControl` . + """ + commit_mode: NotRequired[pulumi.Input['TemplateCommitMode']] + """ + The visibility configuration of the Apply button on a `FilterRelativeDateTimeControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateRelativeDateTimeControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + TemplateFilterRelativeDateTimeControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterRelativeDateTimeControlArgs: def __init__(__self__, *, @@ -75191,6 +100156,19 @@ def display_options(self, value: Optional[pulumi.Input['TemplateRelativeDateTime pulumi.set(self, "display_options", value) +if not MYPY: + class TemplateFilterScopeConfigurationArgsDict(TypedDict): + all_sheets: NotRequired[pulumi.Input['TemplateAllSheetsFilterScopeConfigurationArgsDict']] + """ + The configuration that applies a filter to all sheets. When you choose `AllSheets` as the value for a `FilterScopeConfiguration` , this filter is applied to all visuals of all sheets in an Analysis, Dashboard, or Template. The `AllSheetsFilterScopeConfiguration` is chosen. + """ + selected_sheets: NotRequired[pulumi.Input['TemplateSelectedSheetsFilterScopeConfigurationArgsDict']] + """ + The configuration for applying a filter to specific sheets. + """ +elif False: + TemplateFilterScopeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterScopeConfigurationArgs: def __init__(__self__, *, @@ -75230,6 +100208,15 @@ def selected_sheets(self, value: Optional[pulumi.Input['TemplateSelectedSheetsFi pulumi.set(self, "selected_sheets", value) +if not MYPY: + class TemplateFilterSelectableValuesArgsDict(TypedDict): + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The values that are used in the `FilterSelectableValues` . + """ +elif False: + TemplateFilterSelectableValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterSelectableValuesArgs: def __init__(__self__, *, @@ -75253,6 +100240,46 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class TemplateFilterSliderControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterSliderControl` . + """ + maximum_value: pulumi.Input[float] + """ + The larger value that is displayed at the right of the slider. + """ + minimum_value: pulumi.Input[float] + """ + The smaller value that is displayed at the left of the slider. + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterSliderControl` . + """ + step_size: pulumi.Input[float] + """ + The number of increments that the slider bar is divided into. + """ + title: pulumi.Input[str] + """ + The title of the `FilterSliderControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateSliderControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + type: NotRequired[pulumi.Input['TemplateSheetControlSliderType']] + """ + The type of the `FilterSliderControl` . Choose one of the following options: + + - `SINGLE_POINT` : Filter against(equals) a single data point. + - `RANGE` : Filter data that is in a specified range. + """ +elif False: + TemplateFilterSliderControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterSliderControlArgs: def __init__(__self__, *, @@ -75388,6 +100415,31 @@ def type(self, value: Optional[pulumi.Input['TemplateSheetControlSliderType']]): pulumi.set(self, "type", value) +if not MYPY: + class TemplateFilterTextAreaControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterTextAreaControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterTextAreaControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterTextAreaControl` . + """ + delimiter: NotRequired[pulumi.Input[str]] + """ + The delimiter that is used to separate the lines in text. + """ + display_options: NotRequired[pulumi.Input['TemplateTextAreaControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + TemplateFilterTextAreaControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterTextAreaControlArgs: def __init__(__self__, *, @@ -75472,6 +100524,27 @@ def display_options(self, value: Optional[pulumi.Input['TemplateTextAreaControlD pulumi.set(self, "display_options", value) +if not MYPY: + class TemplateFilterTextFieldControlArgsDict(TypedDict): + filter_control_id: pulumi.Input[str] + """ + The ID of the `FilterTextFieldControl` . + """ + source_filter_id: pulumi.Input[str] + """ + The source filter ID of the `FilterTextFieldControl` . + """ + title: pulumi.Input[str] + """ + The title of the `FilterTextFieldControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateTextFieldControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + TemplateFilterTextFieldControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterTextFieldControlArgs: def __init__(__self__, *, @@ -75540,6 +100613,45 @@ def display_options(self, value: Optional[pulumi.Input['TemplateTextFieldControl pulumi.set(self, "display_options", value) +if not MYPY: + class TemplateFilterArgsDict(TypedDict): + category_filter: NotRequired[pulumi.Input['TemplateCategoryFilterArgsDict']] + """ + A `CategoryFilter` filters text values. + + For more information, see [Adding text filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in the *Amazon QuickSight User Guide* . + """ + nested_filter: NotRequired[pulumi.Input['TemplateNestedFilterArgsDict']] + """ + A `NestedFilter` filters data with a subset of data that is defined by the nested inner filter. + """ + numeric_equality_filter: NotRequired[pulumi.Input['TemplateNumericEqualityFilterArgsDict']] + """ + A `NumericEqualityFilter` filters numeric values that equal or do not equal a given numeric value. + """ + numeric_range_filter: NotRequired[pulumi.Input['TemplateNumericRangeFilterArgsDict']] + """ + A `NumericRangeFilter` filters numeric values that are either inside or outside a given numeric range. + """ + relative_dates_filter: NotRequired[pulumi.Input['TemplateRelativeDatesFilterArgsDict']] + """ + A `RelativeDatesFilter` filters date values that are relative to a given date. + """ + time_equality_filter: NotRequired[pulumi.Input['TemplateTimeEqualityFilterArgsDict']] + """ + A `TimeEqualityFilter` filters date-time values that equal or do not equal a given date/time value. + """ + time_range_filter: NotRequired[pulumi.Input['TemplateTimeRangeFilterArgsDict']] + """ + A `TimeRangeFilter` filters date-time values that are either inside or outside a given date/time range. + """ + top_bottom_filter: NotRequired[pulumi.Input['TemplateTopBottomFilterArgsDict']] + """ + A `TopBottomFilter` filters data to the top or bottom values for a given column. + """ +elif False: + TemplateFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFilterArgs: def __init__(__self__, *, @@ -75679,6 +100791,31 @@ def top_bottom_filter(self, value: Optional[pulumi.Input['TemplateTopBottomFilte pulumi.set(self, "top_bottom_filter", value) +if not MYPY: + class TemplateFontConfigurationArgsDict(TypedDict): + font_color: NotRequired[pulumi.Input[str]] + """ + Determines the color of the text. + """ + font_decoration: NotRequired[pulumi.Input['TemplateFontDecoration']] + """ + Determines the appearance of decorative lines on the text. + """ + font_size: NotRequired[pulumi.Input['TemplateFontSizeArgsDict']] + """ + The option that determines the text display size. + """ + font_style: NotRequired[pulumi.Input['TemplateFontStyle']] + """ + Determines the text display face that is inherited by the given font family. + """ + font_weight: NotRequired[pulumi.Input['TemplateFontWeightArgsDict']] + """ + The option that determines the text display weight, or boldness. + """ +elif False: + TemplateFontConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFontConfigurationArgs: def __init__(__self__, *, @@ -75766,6 +100903,15 @@ def font_weight(self, value: Optional[pulumi.Input['TemplateFontWeightArgs']]): pulumi.set(self, "font_weight", value) +if not MYPY: + class TemplateFontSizeArgsDict(TypedDict): + relative: NotRequired[pulumi.Input['TemplateRelativeFontSize']] + """ + The lexical name for the text size, proportional to its surrounding context. + """ +elif False: + TemplateFontSizeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFontSizeArgs: def __init__(__self__, *, @@ -75789,6 +100935,15 @@ def relative(self, value: Optional[pulumi.Input['TemplateRelativeFontSize']]): pulumi.set(self, "relative", value) +if not MYPY: + class TemplateFontWeightArgsDict(TypedDict): + name: NotRequired[pulumi.Input['TemplateFontWeightName']] + """ + The lexical name for the level of boldness of the text display. + """ +elif False: + TemplateFontWeightArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFontWeightArgs: def __init__(__self__, *, @@ -75812,6 +100967,58 @@ def name(self, value: Optional[pulumi.Input['TemplateFontWeightName']]): pulumi.set(self, "name", value) +if not MYPY: + class TemplateForecastComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + custom_seasonality_value: NotRequired[pulumi.Input[float]] + """ + The custom seasonality value setup of a forecast computation. + """ + lower_boundary: NotRequired[pulumi.Input[float]] + """ + The lower boundary setup of a forecast computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + periods_backward: NotRequired[pulumi.Input[float]] + """ + The periods backward setup of a forecast computation. + """ + periods_forward: NotRequired[pulumi.Input[float]] + """ + The periods forward setup of a forecast computation. + """ + prediction_interval: NotRequired[pulumi.Input[float]] + """ + The prediction interval setup of a forecast computation. + """ + seasonality: NotRequired[pulumi.Input['TemplateForecastComputationSeasonality']] + """ + The seasonality setup of a forecast computation. Choose one of the following options: + + - `AUTOMATIC` + - `CUSTOM` : Checks the custom seasonality value. + """ + time: NotRequired[pulumi.Input['TemplateDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + upper_boundary: NotRequired[pulumi.Input[float]] + """ + The upper boundary setup of a forecast computation. + """ + value: NotRequired[pulumi.Input['TemplateMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + TemplateForecastComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateForecastComputationArgs: def __init__(__self__, *, @@ -76000,6 +101207,19 @@ def value(self, value: Optional[pulumi.Input['TemplateMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateForecastConfigurationArgsDict(TypedDict): + forecast_properties: NotRequired[pulumi.Input['TemplateTimeBasedForecastPropertiesArgsDict']] + """ + The forecast properties setup of a forecast in the line chart. + """ + scenario: NotRequired[pulumi.Input['TemplateForecastScenarioArgsDict']] + """ + The forecast scenario of a forecast in the line chart. + """ +elif False: + TemplateForecastConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateForecastConfigurationArgs: def __init__(__self__, *, @@ -76039,6 +101259,19 @@ def scenario(self, value: Optional[pulumi.Input['TemplateForecastScenarioArgs']] pulumi.set(self, "scenario", value) +if not MYPY: + class TemplateForecastScenarioArgsDict(TypedDict): + what_if_point_scenario: NotRequired[pulumi.Input['TemplateWhatIfPointScenarioArgsDict']] + """ + The what-if analysis forecast setup with the target date. + """ + what_if_range_scenario: NotRequired[pulumi.Input['TemplateWhatIfRangeScenarioArgsDict']] + """ + The what-if analysis forecast setup with the date range. + """ +elif False: + TemplateForecastScenarioArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateForecastScenarioArgs: def __init__(__self__, *, @@ -76078,6 +101311,23 @@ def what_if_range_scenario(self, value: Optional[pulumi.Input['TemplateWhatIfRan pulumi.set(self, "what_if_range_scenario", value) +if not MYPY: + class TemplateFormatConfigurationArgsDict(TypedDict): + date_time_format_configuration: NotRequired[pulumi.Input['TemplateDateTimeFormatConfigurationArgsDict']] + """ + Formatting configuration for `DateTime` fields. + """ + number_format_configuration: NotRequired[pulumi.Input['TemplateNumberFormatConfigurationArgsDict']] + """ + Formatting configuration for number fields. + """ + string_format_configuration: NotRequired[pulumi.Input['TemplateStringFormatConfigurationArgsDict']] + """ + Formatting configuration for string fields. + """ +elif False: + TemplateFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFormatConfigurationArgs: def __init__(__self__, *, @@ -76133,6 +101383,15 @@ def string_format_configuration(self, value: Optional[pulumi.Input['TemplateStri pulumi.set(self, "string_format_configuration", value) +if not MYPY: + class TemplateFreeFormLayoutCanvasSizeOptionsArgsDict(TypedDict): + screen_canvas_size_options: NotRequired[pulumi.Input['TemplateFreeFormLayoutScreenCanvasSizeOptionsArgsDict']] + """ + The options that determine the sizing of the canvas used in a free-form layout. + """ +elif False: + TemplateFreeFormLayoutCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFreeFormLayoutCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -76156,6 +101415,16 @@ def screen_canvas_size_options(self, value: Optional[pulumi.Input['TemplateFreeF pulumi.set(self, "screen_canvas_size_options", value) +if not MYPY: + class TemplateFreeFormLayoutConfigurationArgsDict(TypedDict): + elements: pulumi.Input[Sequence[pulumi.Input['TemplateFreeFormLayoutElementArgsDict']]] + """ + The elements that are included in a free-form layout. + """ + canvas_size_options: NotRequired[pulumi.Input['TemplateFreeFormLayoutCanvasSizeOptionsArgsDict']] +elif False: + TemplateFreeFormLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFreeFormLayoutConfigurationArgs: def __init__(__self__, *, @@ -76190,6 +101459,19 @@ def canvas_size_options(self, value: Optional[pulumi.Input['TemplateFreeFormLayo pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class TemplateFreeFormLayoutElementBackgroundStyleArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The background color of a free-form layout element. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The background visibility of a free-form layout element. + """ +elif False: + TemplateFreeFormLayoutElementBackgroundStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFreeFormLayoutElementBackgroundStyleArgs: def __init__(__self__, *, @@ -76229,6 +101511,19 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateFreeFormLayoutElementBorderStyleArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The border color of a free-form layout element. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The border visibility of a free-form layout element. + """ +elif False: + TemplateFreeFormLayoutElementBorderStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFreeFormLayoutElementBorderStyleArgs: def __init__(__self__, *, @@ -76268,6 +101563,59 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateFreeFormLayoutElementArgsDict(TypedDict): + element_id: pulumi.Input[str] + """ + A unique identifier for an element within a free-form layout. + """ + element_type: pulumi.Input['TemplateLayoutElementType'] + """ + The type of element. + """ + height: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ + width: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ + x_axis_location: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ + y_axis_location: pulumi.Input[str] + """ + String based length that is composed of value and unit in px with Integer.MAX_VALUE as maximum value + """ + background_style: NotRequired[pulumi.Input['TemplateFreeFormLayoutElementBackgroundStyleArgsDict']] + """ + The background style configuration of a free-form layout element. + """ + border_style: NotRequired[pulumi.Input['TemplateFreeFormLayoutElementBorderStyleArgsDict']] + """ + The border style configuration of a free-form layout element. + """ + loading_animation: NotRequired[pulumi.Input['TemplateLoadingAnimationArgsDict']] + """ + The loading animation configuration of a free-form layout element. + """ + rendering_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateSheetElementRenderingRuleArgsDict']]]] + """ + The rendering rules that determine when an element should be displayed within a free-form layout. + """ + selected_border_style: NotRequired[pulumi.Input['TemplateFreeFormLayoutElementBorderStyleArgsDict']] + """ + The border style configuration of a free-form layout element. This border style is used when the element is selected. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of an element within a free-form layout. + """ +elif False: + TemplateFreeFormLayoutElementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFreeFormLayoutElementArgs: def __init__(__self__, *, @@ -76461,6 +101809,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateFreeFormLayoutScreenCanvasSizeOptionsArgsDict(TypedDict): + optimized_view_port_width: pulumi.Input[str] + """ + String based length that is composed of value and unit in px + """ +elif False: + TemplateFreeFormLayoutScreenCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFreeFormLayoutScreenCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -76483,6 +101840,15 @@ def optimized_view_port_width(self, value: pulumi.Input[str]): pulumi.set(self, "optimized_view_port_width", value) +if not MYPY: + class TemplateFreeFormSectionLayoutConfigurationArgsDict(TypedDict): + elements: pulumi.Input[Sequence[pulumi.Input['TemplateFreeFormLayoutElementArgsDict']]] + """ + The elements that are included in the free-form layout. + """ +elif False: + TemplateFreeFormSectionLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFreeFormSectionLayoutConfigurationArgs: def __init__(__self__, *, @@ -76505,6 +101871,19 @@ def elements(self, value: pulumi.Input[Sequence[pulumi.Input['TemplateFreeFormLa pulumi.set(self, "elements", value) +if not MYPY: + class TemplateFunnelChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The category field wells of a funnel chart. Values are grouped by category fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The value field wells of a funnel chart. Values are aggregated based on categories. + """ +elif False: + TemplateFunnelChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFunnelChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -76544,6 +101923,39 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateFunnelChartConfigurationArgsDict(TypedDict): + category_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options of the categories that are displayed in a `FunnelChartVisual` . + """ + data_label_options: NotRequired[pulumi.Input['TemplateFunnelChartDataLabelOptionsArgsDict']] + """ + The options that determine the presentation of the data labels. + """ + field_wells: NotRequired[pulumi.Input['TemplateFunnelChartFieldWellsArgsDict']] + """ + The field well configuration of a `FunnelChartVisual` . + """ + sort_configuration: NotRequired[pulumi.Input['TemplateFunnelChartSortConfigurationArgsDict']] + """ + The sort configuration of a `FunnelChartVisual` . + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The tooltip configuration of a `FunnelChartVisual` . + """ + value_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options for the values that are displayed in a `FunnelChartVisual` . + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + """ + The visual palette configuration of a `FunnelChartVisual` . + """ +elif False: + TemplateFunnelChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFunnelChartConfigurationArgs: def __init__(__self__, *, @@ -76663,6 +102075,41 @@ def visual_palette(self, value: Optional[pulumi.Input['TemplateVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class TemplateFunnelChartDataLabelOptionsArgsDict(TypedDict): + category_label_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the category labels within the data labels. + """ + label_color: NotRequired[pulumi.Input[str]] + """ + The color of the data label text. + """ + label_font_configuration: NotRequired[pulumi.Input['TemplateFontConfigurationArgsDict']] + """ + The font configuration for the data labels. + + Only the `FontSize` attribute of the font configuration is used for data labels. + """ + measure_data_label_style: NotRequired[pulumi.Input['TemplateFunnelChartMeasureDataLabelStyle']] + """ + Determines the style of the metric labels. + """ + measure_label_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the measure labels within the data labels. + """ + position: NotRequired[pulumi.Input['TemplateDataLabelPosition']] + """ + Determines the positioning of the data label relative to a section of the funnel. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility option that determines if data labels are displayed. + """ +elif False: + TemplateFunnelChartDataLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFunnelChartDataLabelOptionsArgs: def __init__(__self__, *, @@ -76786,6 +102233,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateFunnelChartFieldWellsArgsDict(TypedDict): + funnel_chart_aggregated_field_wells: NotRequired[pulumi.Input['TemplateFunnelChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a `FunnelChartVisual` . + """ +elif False: + TemplateFunnelChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFunnelChartFieldWellsArgs: def __init__(__self__, *, @@ -76809,6 +102265,19 @@ def funnel_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Temp pulumi.set(self, "funnel_chart_aggregated_field_wells", value) +if not MYPY: + class TemplateFunnelChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories displayed. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ +elif False: + TemplateFunnelChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFunnelChartSortConfigurationArgs: def __init__(__self__, *, @@ -76848,6 +102317,35 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Temp pulumi.set(self, "category_sort", value) +if not MYPY: + class TemplateFunnelChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateFunnelChartConfigurationArgsDict']] + """ + The configuration of a `FunnelChartVisual` . + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateFunnelChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateFunnelChartVisualArgs: def __init__(__self__, *, @@ -76950,6 +102448,15 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateGaugeChartArcConditionalFormattingArgsDict(TypedDict): + foreground_color: NotRequired[pulumi.Input['TemplateConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the arc foreground color. + """ +elif False: + TemplateGaugeChartArcConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGaugeChartArcConditionalFormattingArgs: def __init__(__self__, *, @@ -76973,6 +102480,19 @@ def foreground_color(self, value: Optional[pulumi.Input['TemplateConditionalForm pulumi.set(self, "foreground_color", value) +if not MYPY: + class TemplateGaugeChartConditionalFormattingOptionArgsDict(TypedDict): + arc: NotRequired[pulumi.Input['TemplateGaugeChartArcConditionalFormattingArgsDict']] + """ + The options that determine the presentation of the arc of a `GaugeChartVisual` . + """ + primary_value: NotRequired[pulumi.Input['TemplateGaugeChartPrimaryValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the primary value of a `GaugeChartVisual` . + """ +elif False: + TemplateGaugeChartConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGaugeChartConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -77012,6 +102532,15 @@ def primary_value(self, value: Optional[pulumi.Input['TemplateGaugeChartPrimaryV pulumi.set(self, "primary_value", value) +if not MYPY: + class TemplateGaugeChartConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateGaugeChartConditionalFormattingOptionArgsDict']]]] + """ + Conditional formatting options of a `GaugeChartVisual` . + """ +elif False: + TemplateGaugeChartConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGaugeChartConditionalFormattingArgs: def __init__(__self__, *, @@ -77035,6 +102564,31 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class TemplateGaugeChartConfigurationArgsDict(TypedDict): + data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The data label configuration of a `GaugeChartVisual` . + """ + field_wells: NotRequired[pulumi.Input['TemplateGaugeChartFieldWellsArgsDict']] + """ + The field well configuration of a `GaugeChartVisual` . + """ + gauge_chart_options: NotRequired[pulumi.Input['TemplateGaugeChartOptionsArgsDict']] + """ + The options that determine the presentation of the `GaugeChartVisual` . + """ + tooltip_options: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The tooltip configuration of a `GaugeChartVisual` . + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + """ + The visual palette configuration of a `GaugeChartVisual` . + """ +elif False: + TemplateGaugeChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGaugeChartConfigurationArgs: def __init__(__self__, *, @@ -77122,6 +102676,19 @@ def visual_palette(self, value: Optional[pulumi.Input['TemplateVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class TemplateGaugeChartFieldWellsArgsDict(TypedDict): + target_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The target value field wells of a `GaugeChartVisual` . + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The value field wells of a `GaugeChartVisual` . + """ +elif False: + TemplateGaugeChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGaugeChartFieldWellsArgs: def __init__(__self__, *, @@ -77161,6 +102728,31 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateGaugeChartOptionsArgsDict(TypedDict): + arc: NotRequired[pulumi.Input['TemplateArcConfigurationArgsDict']] + """ + The arc configuration of a `GaugeChartVisual` . + """ + arc_axis: NotRequired[pulumi.Input['TemplateArcAxisConfigurationArgsDict']] + """ + The arc axis configuration of a `GaugeChartVisual` . + """ + comparison: NotRequired[pulumi.Input['TemplateComparisonConfigurationArgsDict']] + """ + The comparison configuration of a `GaugeChartVisual` . + """ + primary_value_display_type: NotRequired[pulumi.Input['TemplatePrimaryValueDisplayType']] + """ + The options that determine the primary value display type. + """ + primary_value_font_configuration: NotRequired[pulumi.Input['TemplateFontConfigurationArgsDict']] + """ + The options that determine the primary value font configuration. + """ +elif False: + TemplateGaugeChartOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGaugeChartOptionsArgs: def __init__(__self__, *, @@ -77248,6 +102840,19 @@ def primary_value_font_configuration(self, value: Optional[pulumi.Input['Templat pulumi.set(self, "primary_value_font_configuration", value) +if not MYPY: + class TemplateGaugeChartPrimaryValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['TemplateConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the primary value icon. + """ + text_color: NotRequired[pulumi.Input['TemplateConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the primary value text color. + """ +elif False: + TemplateGaugeChartPrimaryValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGaugeChartPrimaryValueConditionalFormattingArgs: def __init__(__self__, *, @@ -77287,6 +102892,35 @@ def text_color(self, value: Optional[pulumi.Input['TemplateConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class TemplateGaugeChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateGaugeChartConfigurationArgsDict']] + """ + The configuration of a `GaugeChartVisual` . + """ + conditional_formatting: NotRequired[pulumi.Input['TemplateGaugeChartConditionalFormattingArgsDict']] + """ + The conditional formatting of a `GaugeChartVisual` . + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateGaugeChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGaugeChartVisualArgs: def __init__(__self__, *, @@ -77389,6 +103023,27 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateGeospatialCoordinateBoundsArgsDict(TypedDict): + east: pulumi.Input[float] + """ + The longitude of the east bound of the geospatial coordinate bounds. + """ + north: pulumi.Input[float] + """ + The latitude of the north bound of the geospatial coordinate bounds. + """ + south: pulumi.Input[float] + """ + The latitude of the south bound of the geospatial coordinate bounds. + """ + west: pulumi.Input[float] + """ + The longitude of the west bound of the geospatial coordinate bounds. + """ +elif False: + TemplateGeospatialCoordinateBoundsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeospatialCoordinateBoundsArgs: def __init__(__self__, *, @@ -77456,6 +103111,15 @@ def west(self, value: pulumi.Input[float]): pulumi.set(self, "west", value) +if not MYPY: + class TemplateGeospatialHeatmapColorScaleArgsDict(TypedDict): + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateGeospatialHeatmapDataColorArgsDict']]]] + """ + The list of colors to be used in heatmap point style. + """ +elif False: + TemplateGeospatialHeatmapColorScaleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeospatialHeatmapColorScaleArgs: def __init__(__self__, *, @@ -77479,6 +103143,15 @@ def colors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateGeo pulumi.set(self, "colors", value) +if not MYPY: + class TemplateGeospatialHeatmapConfigurationArgsDict(TypedDict): + heatmap_color: NotRequired[pulumi.Input['TemplateGeospatialHeatmapColorScaleArgsDict']] + """ + The color scale specification for the heatmap point style. + """ +elif False: + TemplateGeospatialHeatmapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeospatialHeatmapConfigurationArgs: def __init__(__self__, *, @@ -77502,6 +103175,15 @@ def heatmap_color(self, value: Optional[pulumi.Input['TemplateGeospatialHeatmapC pulumi.set(self, "heatmap_color", value) +if not MYPY: + class TemplateGeospatialHeatmapDataColorArgsDict(TypedDict): + color: pulumi.Input[str] + """ + The hex color to be used in the heatmap point style. + """ +elif False: + TemplateGeospatialHeatmapDataColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeospatialHeatmapDataColorArgs: def __init__(__self__, *, @@ -77524,6 +103206,23 @@ def color(self, value: pulumi.Input[str]): pulumi.set(self, "color", value) +if not MYPY: + class TemplateGeospatialMapAggregatedFieldWellsArgsDict(TypedDict): + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The color field wells of a geospatial map. + """ + geospatial: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The geospatial field wells of a geospatial map. Values are grouped by geospatial fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The size field wells of a geospatial map. Values are aggregated based on geospatial fields. + """ +elif False: + TemplateGeospatialMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeospatialMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -77579,6 +103278,36 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateGeospatialMapConfigurationArgsDict(TypedDict): + field_wells: NotRequired[pulumi.Input['TemplateGeospatialMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + map_style_options: NotRequired[pulumi.Input['TemplateGeospatialMapStyleOptionsArgsDict']] + """ + The map style options of the geospatial map. + """ + point_style_options: NotRequired[pulumi.Input['TemplateGeospatialPointStyleOptionsArgsDict']] + """ + The point style options of the geospatial map. + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + window_options: NotRequired[pulumi.Input['TemplateGeospatialWindowOptionsArgsDict']] + """ + The window options of the geospatial map. + """ +elif False: + TemplateGeospatialMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeospatialMapConfigurationArgs: def __init__(__self__, *, @@ -77694,6 +103423,15 @@ def window_options(self, value: Optional[pulumi.Input['TemplateGeospatialWindowO pulumi.set(self, "window_options", value) +if not MYPY: + class TemplateGeospatialMapFieldWellsArgsDict(TypedDict): + geospatial_map_aggregated_field_wells: NotRequired[pulumi.Input['TemplateGeospatialMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field well for a geospatial map. + """ +elif False: + TemplateGeospatialMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeospatialMapFieldWellsArgs: def __init__(__self__, *, @@ -77717,6 +103455,15 @@ def geospatial_map_aggregated_field_wells(self, value: Optional[pulumi.Input['Te pulumi.set(self, "geospatial_map_aggregated_field_wells", value) +if not MYPY: + class TemplateGeospatialMapStyleOptionsArgsDict(TypedDict): + base_map_style: NotRequired[pulumi.Input['TemplateBaseMapStyleType']] + """ + The base map style of the geospatial map. + """ +elif False: + TemplateGeospatialMapStyleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeospatialMapStyleOptionsArgs: def __init__(__self__, *, @@ -77740,6 +103487,35 @@ def base_map_style(self, value: Optional[pulumi.Input['TemplateBaseMapStyleType' pulumi.set(self, "base_map_style", value) +if not MYPY: + class TemplateGeospatialMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateGeospatialMapConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateGeospatialMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeospatialMapVisualArgs: def __init__(__self__, *, @@ -77842,6 +103618,23 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateGeospatialPointStyleOptionsArgsDict(TypedDict): + cluster_marker_configuration: NotRequired[pulumi.Input['TemplateClusterMarkerConfigurationArgsDict']] + """ + The cluster marker configuration of the geospatial point style. + """ + heatmap_configuration: NotRequired[pulumi.Input['TemplateGeospatialHeatmapConfigurationArgsDict']] + """ + The heatmap configuration of the geospatial point style. + """ + selected_point_style: NotRequired[pulumi.Input['TemplateGeospatialSelectedPointStyle']] + """ + The selected point styles (point, cluster) of the geospatial map. + """ +elif False: + TemplateGeospatialPointStyleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeospatialPointStyleOptionsArgs: def __init__(__self__, *, @@ -77897,6 +103690,19 @@ def selected_point_style(self, value: Optional[pulumi.Input['TemplateGeospatialS pulumi.set(self, "selected_point_style", value) +if not MYPY: + class TemplateGeospatialWindowOptionsArgsDict(TypedDict): + bounds: NotRequired[pulumi.Input['TemplateGeospatialCoordinateBoundsArgsDict']] + """ + The bounds options (north, south, west, east) of the geospatial window options. + """ + map_zoom_mode: NotRequired[pulumi.Input['TemplateMapZoomMode']] + """ + The map zoom modes (manual, auto) of the geospatial window options. + """ +elif False: + TemplateGeospatialWindowOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGeospatialWindowOptionsArgs: def __init__(__self__, *, @@ -77936,6 +103742,19 @@ def map_zoom_mode(self, value: Optional[pulumi.Input['TemplateMapZoomMode']]): pulumi.set(self, "map_zoom_mode", value) +if not MYPY: + class TemplateGlobalTableBorderOptionsArgsDict(TypedDict): + side_specific_border: NotRequired[pulumi.Input['TemplateTableSideBorderOptionsArgsDict']] + """ + Determines the options for side specific border. + """ + uniform_border: NotRequired[pulumi.Input['TemplateTableBorderOptionsArgsDict']] + """ + Determines the options for uniform border. + """ +elif False: + TemplateGlobalTableBorderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGlobalTableBorderOptionsArgs: def __init__(__self__, *, @@ -77975,6 +103794,15 @@ def uniform_border(self, value: Optional[pulumi.Input['TemplateTableBorderOption pulumi.set(self, "uniform_border", value) +if not MYPY: + class TemplateGradientColorArgsDict(TypedDict): + stops: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateGradientStopArgsDict']]]] + """ + The list of gradient color stops. + """ +elif False: + TemplateGradientColorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGradientColorArgs: def __init__(__self__, *, @@ -77998,6 +103826,23 @@ def stops(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateGrad pulumi.set(self, "stops", value) +if not MYPY: + class TemplateGradientStopArgsDict(TypedDict): + gradient_offset: pulumi.Input[float] + """ + Determines gradient offset value. + """ + color: NotRequired[pulumi.Input[str]] + """ + Determines the color. + """ + data_value: NotRequired[pulumi.Input[float]] + """ + Determines the data value. + """ +elif False: + TemplateGradientStopArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGradientStopArgs: def __init__(__self__, *, @@ -78052,6 +103897,15 @@ def data_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "data_value", value) +if not MYPY: + class TemplateGridLayoutCanvasSizeOptionsArgsDict(TypedDict): + screen_canvas_size_options: NotRequired[pulumi.Input['TemplateGridLayoutScreenCanvasSizeOptionsArgsDict']] + """ + The options that determine the sizing of the canvas used in a grid layout. + """ +elif False: + TemplateGridLayoutCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGridLayoutCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -78075,6 +103929,16 @@ def screen_canvas_size_options(self, value: Optional[pulumi.Input['TemplateGridL pulumi.set(self, "screen_canvas_size_options", value) +if not MYPY: + class TemplateGridLayoutConfigurationArgsDict(TypedDict): + elements: pulumi.Input[Sequence[pulumi.Input['TemplateGridLayoutElementArgsDict']]] + """ + The elements that are included in a grid layout. + """ + canvas_size_options: NotRequired[pulumi.Input['TemplateGridLayoutCanvasSizeOptionsArgsDict']] +elif False: + TemplateGridLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGridLayoutConfigurationArgs: def __init__(__self__, *, @@ -78109,6 +103973,35 @@ def canvas_size_options(self, value: Optional[pulumi.Input['TemplateGridLayoutCa pulumi.set(self, "canvas_size_options", value) +if not MYPY: + class TemplateGridLayoutElementArgsDict(TypedDict): + column_span: pulumi.Input[float] + """ + The width of a grid element expressed as a number of grid columns. + """ + element_id: pulumi.Input[str] + """ + A unique identifier for an element within a grid layout. + """ + element_type: pulumi.Input['TemplateLayoutElementType'] + """ + The type of element. + """ + row_span: pulumi.Input[float] + """ + The height of a grid element expressed as a number of grid rows. + """ + column_index: NotRequired[pulumi.Input[float]] + """ + The column index for the upper left corner of an element. + """ + row_index: NotRequired[pulumi.Input[float]] + """ + The row index for the upper left corner of an element. + """ +elif False: + TemplateGridLayoutElementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGridLayoutElementArgs: def __init__(__self__, *, @@ -78208,6 +104101,22 @@ def row_index(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "row_index", value) +if not MYPY: + class TemplateGridLayoutScreenCanvasSizeOptionsArgsDict(TypedDict): + resize_option: pulumi.Input['TemplateResizeOption'] + """ + This value determines the layout behavior when the viewport is resized. + + - `FIXED` : A fixed width will be used when optimizing the layout. In the Amazon QuickSight console, this option is called `Classic` . + - `RESPONSIVE` : The width of the canvas will be responsive and optimized to the view port. In the Amazon QuickSight console, this option is called `Tiled` . + """ + optimized_view_port_width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + TemplateGridLayoutScreenCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGridLayoutScreenCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -78252,6 +104161,31 @@ def optimized_view_port_width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "optimized_view_port_width", value) +if not MYPY: + class TemplateGrowthRateComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + period_size: NotRequired[pulumi.Input[float]] + """ + The period size setup of a growth rate computation. + """ + time: NotRequired[pulumi.Input['TemplateDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['TemplateMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + TemplateGrowthRateComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateGrowthRateComputationArgs: def __init__(__self__, *, @@ -78338,6 +104272,23 @@ def value(self, value: Optional[pulumi.Input['TemplateMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateHeaderFooterSectionConfigurationArgsDict(TypedDict): + layout: pulumi.Input['TemplateSectionLayoutConfigurationArgsDict'] + """ + The layout configuration of the header or footer section. + """ + section_id: pulumi.Input[str] + """ + The unique identifier of the header or footer section. + """ + style: NotRequired[pulumi.Input['TemplateSectionStyleArgsDict']] + """ + The style options of a header or footer section. + """ +elif False: + TemplateHeaderFooterSectionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateHeaderFooterSectionConfigurationArgs: def __init__(__self__, *, @@ -78391,6 +104342,23 @@ def style(self, value: Optional[pulumi.Input['TemplateSectionStyleArgs']]): pulumi.set(self, "style", value) +if not MYPY: + class TemplateHeatMapAggregatedFieldWellsArgsDict(TypedDict): + columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The columns field well of a heat map. + """ + rows: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The rows field well of a heat map. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The values field well of a heat map. + """ +elif False: + TemplateHeatMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateHeatMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -78446,6 +104414,43 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateHeatMapConfigurationArgsDict(TypedDict): + color_scale: NotRequired[pulumi.Input['TemplateColorScaleArgsDict']] + """ + The color options (gradient color, point of divergence) in a heat map. + """ + column_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options of the column that is displayed in a heat map. + """ + data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['TemplateHeatMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + row_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options of the row that is displayed in a `heat map` . + """ + sort_configuration: NotRequired[pulumi.Input['TemplateHeatMapSortConfigurationArgsDict']] + """ + The sort configuration of a heat map. + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ +elif False: + TemplateHeatMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateHeatMapConfigurationArgs: def __init__(__self__, *, @@ -78581,6 +104586,15 @@ def tooltip(self, value: Optional[pulumi.Input['TemplateTooltipOptionsArgs']]): pulumi.set(self, "tooltip", value) +if not MYPY: + class TemplateHeatMapFieldWellsArgsDict(TypedDict): + heat_map_aggregated_field_wells: NotRequired[pulumi.Input['TemplateHeatMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a heat map. + """ +elif False: + TemplateHeatMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateHeatMapFieldWellsArgs: def __init__(__self__, *, @@ -78604,6 +104618,27 @@ def heat_map_aggregated_field_wells(self, value: Optional[pulumi.Input['Template pulumi.set(self, "heat_map_aggregated_field_wells", value) +if not MYPY: + class TemplateHeatMapSortConfigurationArgsDict(TypedDict): + heat_map_column_items_limit_configuration: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of columns that are displayed in a heat map. + """ + heat_map_column_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The column sort configuration for heat map for columns that aren't a part of a field well. + """ + heat_map_row_items_limit_configuration: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of rows that are displayed in a heat map. + """ + heat_map_row_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The field sort configuration of the rows fields. + """ +elif False: + TemplateHeatMapSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateHeatMapSortConfigurationArgs: def __init__(__self__, *, @@ -78675,6 +104710,35 @@ def heat_map_row_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[' pulumi.set(self, "heat_map_row_sort", value) +if not MYPY: + class TemplateHeatMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateHeatMapConfigurationArgsDict']] + """ + The configuration of a heat map. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateHeatMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateHeatMapVisualArgs: def __init__(__self__, *, @@ -78777,6 +104841,15 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateHistogramAggregatedFieldWellsArgsDict(TypedDict): + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The value field wells of a histogram. Values are aggregated by `COUNT` or `DISTINCT_COUNT` . + """ +elif False: + TemplateHistogramAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateHistogramAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -78800,6 +104873,27 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateHistogramBinOptionsArgsDict(TypedDict): + bin_count: NotRequired[pulumi.Input['TemplateBinCountOptionsArgsDict']] + """ + The options that determine the bin count of a histogram. + """ + bin_width: NotRequired[pulumi.Input['TemplateBinWidthOptionsArgsDict']] + """ + The options that determine the bin width of a histogram. + """ + selected_bin_type: NotRequired[pulumi.Input['TemplateHistogramBinType']] + """ + The options that determine the selected bin type. + """ + start_value: NotRequired[pulumi.Input[float]] + """ + The options that determine the bin start value. + """ +elif False: + TemplateHistogramBinOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateHistogramBinOptionsArgs: def __init__(__self__, *, @@ -78871,6 +104965,43 @@ def start_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "start_value", value) +if not MYPY: + class TemplateHistogramConfigurationArgsDict(TypedDict): + bin_options: NotRequired[pulumi.Input['TemplateHistogramBinOptionsArgsDict']] + """ + The options that determine the presentation of histogram bins. + """ + data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The data label configuration of a histogram. + """ + field_wells: NotRequired[pulumi.Input['TemplateHistogramFieldWellsArgsDict']] + """ + The field well configuration of a histogram. + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The tooltip configuration of a histogram. + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + """ + The visual palette configuration of a histogram. + """ + x_axis_display_options: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis. + """ + x_axis_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis label. + """ + y_axis_display_options: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis. + """ +elif False: + TemplateHistogramConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateHistogramConfigurationArgs: def __init__(__self__, *, @@ -79006,6 +105137,15 @@ def y_axis_display_options(self, value: Optional[pulumi.Input['TemplateAxisDispl pulumi.set(self, "y_axis_display_options", value) +if not MYPY: + class TemplateHistogramFieldWellsArgsDict(TypedDict): + histogram_aggregated_field_wells: NotRequired[pulumi.Input['TemplateHistogramAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a histogram. + """ +elif False: + TemplateHistogramFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateHistogramFieldWellsArgs: def __init__(__self__, *, @@ -79029,6 +105169,31 @@ def histogram_aggregated_field_wells(self, value: Optional[pulumi.Input['Templat pulumi.set(self, "histogram_aggregated_field_wells", value) +if not MYPY: + class TemplateHistogramVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateHistogramConfigurationArgsDict']] + """ + The configuration for a `HistogramVisual` . + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateHistogramVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateHistogramVisualArgs: def __init__(__self__, *, @@ -79115,6 +105280,15 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateInnerFilterArgsDict(TypedDict): + category_inner_filter: NotRequired[pulumi.Input['TemplateCategoryInnerFilterArgsDict']] + """ + A `CategoryInnerFilter` filters text values for the `NestedFilter` . + """ +elif False: + TemplateInnerFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateInnerFilterArgs: def __init__(__self__, *, @@ -79138,6 +105312,19 @@ def category_inner_filter(self, value: Optional[pulumi.Input['TemplateCategoryIn pulumi.set(self, "category_inner_filter", value) +if not MYPY: + class TemplateInsightConfigurationArgsDict(TypedDict): + computations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateComputationArgsDict']]]] + """ + The computations configurations of the insight visual + """ + custom_narrative: NotRequired[pulumi.Input['TemplateCustomNarrativeOptionsArgsDict']] + """ + The custom narrative of the insight visual. + """ +elif False: + TemplateInsightConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateInsightConfigurationArgs: def __init__(__self__, *, @@ -79177,6 +105364,35 @@ def custom_narrative(self, value: Optional[pulumi.Input['TemplateCustomNarrative pulumi.set(self, "custom_narrative", value) +if not MYPY: + class TemplateInsightVisualArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + The dataset that is used in the insight visual. + """ + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + insight_configuration: NotRequired[pulumi.Input['TemplateInsightConfigurationArgsDict']] + """ + The configuration of an insight visual. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateInsightVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateInsightVisualArgs: def __init__(__self__, *, @@ -79278,6 +105494,19 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateIntegerDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['TemplateDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `IntegerDefaultValues` . Different defaults are displayed according to users, groups, and values mapping. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[float]]]] + """ + The static values of the `IntegerDefaultValues` . + """ +elif False: + TemplateIntegerDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateIntegerDefaultValuesArgs: def __init__(__self__, *, @@ -79317,6 +105546,28 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[float pulumi.set(self, "static_values", value) +if not MYPY: + class TemplateIntegerParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + parameter_value_type: pulumi.Input['TemplateParameterValueType'] + """ + The value type determines whether the parameter is a single-value or multi-value parameter. + """ + default_values: NotRequired[pulumi.Input['TemplateIntegerDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMappedDataSetParameterArgsDict']]]] + value_when_unset: NotRequired[pulumi.Input['TemplateIntegerValueWhenUnsetConfigurationArgsDict']] + """ + A parameter declaration for the `Integer` data type. + """ +elif False: + TemplateIntegerParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateIntegerParameterDeclarationArgs: def __init__(__self__, *, @@ -79398,6 +105649,22 @@ def value_when_unset(self, value: Optional[pulumi.Input['TemplateIntegerValueWhe pulumi.set(self, "value_when_unset", value) +if not MYPY: + class TemplateIntegerValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[float]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['TemplateValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + TemplateIntegerValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateIntegerValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -79443,6 +105710,22 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['TemplateValueWhe pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class TemplateItemsLimitConfigurationArgsDict(TypedDict): + items_limit: NotRequired[pulumi.Input[float]] + """ + The limit on how many items of a field are showed in the chart. For example, the number of slices that are displayed in a pie chart. + """ + other_categories: NotRequired[pulumi.Input['TemplateOtherCategories']] + """ + The `Show other` of an axis in the chart. Choose one of the following options: + + - `INCLUDE` + - `EXCLUDE` + """ +elif False: + TemplateItemsLimitConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateItemsLimitConfigurationArgs: def __init__(__self__, *, @@ -79488,6 +105771,19 @@ def other_categories(self, value: Optional[pulumi.Input['TemplateOtherCategories pulumi.set(self, "other_categories", value) +if not MYPY: + class TemplateKpiActualValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['TemplateConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the actual value's icon. + """ + text_color: NotRequired[pulumi.Input['TemplateConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the actual value's text color. + """ +elif False: + TemplateKpiActualValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiActualValueConditionalFormattingArgs: def __init__(__self__, *, @@ -79527,6 +105823,19 @@ def text_color(self, value: Optional[pulumi.Input['TemplateConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class TemplateKpiComparisonValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['TemplateConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the comparison value's icon. + """ + text_color: NotRequired[pulumi.Input['TemplateConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the comparison value's text color. + """ +elif False: + TemplateKpiComparisonValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiComparisonValueConditionalFormattingArgs: def __init__(__self__, *, @@ -79566,6 +105875,27 @@ def text_color(self, value: Optional[pulumi.Input['TemplateConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class TemplateKpiConditionalFormattingOptionArgsDict(TypedDict): + actual_value: NotRequired[pulumi.Input['TemplateKpiActualValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the actual value of a KPI visual. + """ + comparison_value: NotRequired[pulumi.Input['TemplateKpiComparisonValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the comparison value of a KPI visual. + """ + primary_value: NotRequired[pulumi.Input['TemplateKpiPrimaryValueConditionalFormattingArgsDict']] + """ + The conditional formatting for the primary value of a KPI visual. + """ + progress_bar: NotRequired[pulumi.Input['TemplateKpiProgressBarConditionalFormattingArgsDict']] + """ + The conditional formatting for the progress bar of a KPI visual. + """ +elif False: + TemplateKpiConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -79637,6 +105967,15 @@ def progress_bar(self, value: Optional[pulumi.Input['TemplateKpiProgressBarCondi pulumi.set(self, "progress_bar", value) +if not MYPY: + class TemplateKpiConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateKpiConditionalFormattingOptionArgsDict']]]] + """ + The conditional formatting options of a KPI visual. + """ +elif False: + TemplateKpiConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiConditionalFormattingArgs: def __init__(__self__, *, @@ -79660,6 +105999,23 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class TemplateKpiConfigurationArgsDict(TypedDict): + field_wells: NotRequired[pulumi.Input['TemplateKpiFieldWellsArgsDict']] + """ + The field well configuration of a KPI visual. + """ + kpi_options: NotRequired[pulumi.Input['TemplateKpiOptionsArgsDict']] + """ + The options that determine the presentation of a KPI visual. + """ + sort_configuration: NotRequired[pulumi.Input['TemplateKpiSortConfigurationArgsDict']] + """ + The sort configuration of a KPI visual. + """ +elif False: + TemplateKpiConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiConfigurationArgs: def __init__(__self__, *, @@ -79715,6 +106071,23 @@ def sort_configuration(self, value: Optional[pulumi.Input['TemplateKpiSortConfig pulumi.set(self, "sort_configuration", value) +if not MYPY: + class TemplateKpiFieldWellsArgsDict(TypedDict): + target_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The target value field wells of a KPI visual. + """ + trend_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The trend group field wells of a KPI visual. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The value field wells of a KPI visual. + """ +elif False: + TemplateKpiFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiFieldWellsArgs: def __init__(__self__, *, @@ -79770,6 +106143,47 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateKpiOptionsArgsDict(TypedDict): + comparison: NotRequired[pulumi.Input['TemplateComparisonConfigurationArgsDict']] + """ + The comparison configuration of a KPI visual. + """ + primary_value_display_type: NotRequired[pulumi.Input['TemplatePrimaryValueDisplayType']] + """ + The options that determine the primary value display type. + """ + primary_value_font_configuration: NotRequired[pulumi.Input['TemplateFontConfigurationArgsDict']] + """ + The options that determine the primary value font configuration. + """ + progress_bar: NotRequired[pulumi.Input['TemplateProgressBarOptionsArgsDict']] + """ + The options that determine the presentation of the progress bar of a KPI visual. + """ + secondary_value: NotRequired[pulumi.Input['TemplateSecondaryValueOptionsArgsDict']] + """ + The options that determine the presentation of the secondary value of a KPI visual. + """ + secondary_value_font_configuration: NotRequired[pulumi.Input['TemplateFontConfigurationArgsDict']] + """ + The options that determine the secondary value font configuration. + """ + sparkline: NotRequired[pulumi.Input['TemplateKpiSparklineOptionsArgsDict']] + """ + The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual. + """ + trend_arrows: NotRequired[pulumi.Input['TemplateTrendArrowOptionsArgsDict']] + """ + The options that determine the presentation of trend arrows in a KPI visual. + """ + visual_layout_options: NotRequired[pulumi.Input['TemplateKpiVisualLayoutOptionsArgsDict']] + """ + The options that determine the layout a KPI visual. + """ +elif False: + TemplateKpiOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiOptionsArgs: def __init__(__self__, *, @@ -79921,6 +106335,19 @@ def visual_layout_options(self, value: Optional[pulumi.Input['TemplateKpiVisualL pulumi.set(self, "visual_layout_options", value) +if not MYPY: + class TemplateKpiPrimaryValueConditionalFormattingArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['TemplateConditionalFormattingIconArgsDict']] + """ + The conditional formatting of the primary value's icon. + """ + text_color: NotRequired[pulumi.Input['TemplateConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the primary value's text color. + """ +elif False: + TemplateKpiPrimaryValueConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiPrimaryValueConditionalFormattingArgs: def __init__(__self__, *, @@ -79960,6 +106387,15 @@ def text_color(self, value: Optional[pulumi.Input['TemplateConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class TemplateKpiProgressBarConditionalFormattingArgsDict(TypedDict): + foreground_color: NotRequired[pulumi.Input['TemplateConditionalFormattingColorArgsDict']] + """ + The conditional formatting of the progress bar's foreground color. + """ +elif False: + TemplateKpiProgressBarConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiProgressBarConditionalFormattingArgs: def __init__(__self__, *, @@ -79983,6 +106419,15 @@ def foreground_color(self, value: Optional[pulumi.Input['TemplateConditionalForm pulumi.set(self, "foreground_color", value) +if not MYPY: + class TemplateKpiSortConfigurationArgsDict(TypedDict): + trend_group_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the trend group fields. + """ +elif False: + TemplateKpiSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiSortConfigurationArgs: def __init__(__self__, *, @@ -80006,6 +106451,27 @@ def trend_group_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['T pulumi.set(self, "trend_group_sort", value) +if not MYPY: + class TemplateKpiSparklineOptionsArgsDict(TypedDict): + type: pulumi.Input['TemplateKpiSparklineType'] + """ + The type of the sparkline. + """ + color: NotRequired[pulumi.Input[str]] + """ + The color of the sparkline. + """ + tooltip_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The tooltip visibility of the sparkline. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the sparkline. + """ +elif False: + TemplateKpiSparklineOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiSparklineOptionsArgs: def __init__(__self__, *, @@ -80076,6 +106542,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateKpiVisualLayoutOptionsArgsDict(TypedDict): + standard_layout: NotRequired[pulumi.Input['TemplateKpiVisualStandardLayoutArgsDict']] + """ + The standard layout of the KPI visual. + """ +elif False: + TemplateKpiVisualLayoutOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiVisualLayoutOptionsArgs: def __init__(__self__, *, @@ -80099,6 +106574,15 @@ def standard_layout(self, value: Optional[pulumi.Input['TemplateKpiVisualStandar pulumi.set(self, "standard_layout", value) +if not MYPY: + class TemplateKpiVisualStandardLayoutArgsDict(TypedDict): + type: pulumi.Input['TemplateKpiVisualStandardLayoutType'] + """ + The standard layout type. + """ +elif False: + TemplateKpiVisualStandardLayoutArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiVisualStandardLayoutArgs: def __init__(__self__, *, @@ -80121,6 +106605,39 @@ def type(self, value: pulumi.Input['TemplateKpiVisualStandardLayoutType']): pulumi.set(self, "type", value) +if not MYPY: + class TemplateKpiVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateKpiConfigurationArgsDict']] + """ + The configuration of a KPI visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + conditional_formatting: NotRequired[pulumi.Input['TemplateKpiConditionalFormattingArgsDict']] + """ + The conditional formatting of a KPI visual. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateKpiVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateKpiVisualArgs: def __init__(__self__, *, @@ -80239,6 +106756,23 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateLabelOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The text for the label. + """ + font_configuration: NotRequired[pulumi.Input['TemplateFontConfigurationArgsDict']] + """ + The font configuration of the label. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines whether or not the label is visible. + """ +elif False: + TemplateLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLabelOptionsArgs: def __init__(__self__, *, @@ -80294,6 +106828,23 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateLayoutConfigurationArgsDict(TypedDict): + free_form_layout: NotRequired[pulumi.Input['TemplateFreeFormLayoutConfigurationArgsDict']] + """ + A free-form is optimized for a fixed width and has more control over the exact placement of layout elements. + """ + grid_layout: NotRequired[pulumi.Input['TemplateGridLayoutConfigurationArgsDict']] + """ + A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized: `FIXED` or `RESPONSIVE` . + """ + section_based_layout: NotRequired[pulumi.Input['TemplateSectionBasedLayoutConfigurationArgsDict']] + """ + A section based layout organizes visuals into multiple sections and has customized header, footer and page break. + """ +elif False: + TemplateLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLayoutConfigurationArgs: def __init__(__self__, *, @@ -80349,6 +106900,15 @@ def section_based_layout(self, value: Optional[pulumi.Input['TemplateSectionBase pulumi.set(self, "section_based_layout", value) +if not MYPY: + class TemplateLayoutArgsDict(TypedDict): + configuration: pulumi.Input['TemplateLayoutConfigurationArgsDict'] + """ + The configuration that determines what the type of layout for a sheet. + """ +elif False: + TemplateLayoutArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLayoutArgs: def __init__(__self__, *, @@ -80371,6 +106931,36 @@ def configuration(self, value: pulumi.Input['TemplateLayoutConfigurationArgs']): pulumi.set(self, "configuration", value) +if not MYPY: + class TemplateLegendOptionsArgsDict(TypedDict): + height: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + position: NotRequired[pulumi.Input['TemplateLegendPosition']] + """ + The positions for the legend. Choose one of the following options: + + - `AUTO` + - `RIGHT` + - `BOTTOM` + - `LEFT` + """ + title: NotRequired[pulumi.Input['TemplateLabelOptionsArgsDict']] + """ + The custom title for the legend. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines whether or not the legend is visible. + """ + width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + TemplateLegendOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLegendOptionsArgs: def __init__(__self__, *, @@ -80468,6 +107058,27 @@ def width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "width", value) +if not MYPY: + class TemplateLineChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The category field wells of a line chart. Values are grouped by category fields. + """ + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The color field wells of a line chart. Values are grouped by category fields. + """ + small_multiples: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The small multiples field well of a line chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The value field wells of a line chart. Values are aggregated based on categories. + """ +elif False: + TemplateLineChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLineChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -80539,6 +107150,88 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateLineChartConfigurationArgsDict(TypedDict): + contribution_analysis_defaults: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateContributionAnalysisDefaultArgsDict']]]] + """ + The default configuration of a line chart's contribution analysis. + """ + data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The data label configuration of a line chart. + """ + default_series_settings: NotRequired[pulumi.Input['TemplateLineChartDefaultSeriesSettingsArgsDict']] + """ + The options that determine the default presentation of all line series in `LineChartVisual` . + """ + field_wells: NotRequired[pulumi.Input['TemplateLineChartFieldWellsArgsDict']] + """ + The field well configuration of a line chart. + """ + forecast_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateForecastConfigurationArgsDict']]]] + """ + The forecast configuration of a line chart. + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + """ + The legend configuration of a line chart. + """ + primary_y_axis_display_options: NotRequired[pulumi.Input['TemplateLineSeriesAxisDisplayOptionsArgsDict']] + """ + The series axis configuration of a line chart. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis label. + """ + reference_lines: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateReferenceLineArgsDict']]]] + """ + The reference lines configuration of a line chart. + """ + secondary_y_axis_display_options: NotRequired[pulumi.Input['TemplateLineSeriesAxisDisplayOptionsArgsDict']] + """ + The series axis configuration of a line chart. + """ + secondary_y_axis_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the secondary y-axis label. + """ + series: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateSeriesItemArgsDict']]]] + """ + The series item configuration of a line chart. + """ + single_axis_options: NotRequired[pulumi.Input['TemplateSingleAxisOptionsArgsDict']] + small_multiples_options: NotRequired[pulumi.Input['TemplateSmallMultiplesOptionsArgsDict']] + """ + The small multiples setup for the visual. + """ + sort_configuration: NotRequired[pulumi.Input['TemplateLineChartSortConfigurationArgsDict']] + """ + The sort configuration of a line chart. + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The tooltip configuration of a line chart. + """ + type: NotRequired[pulumi.Input['TemplateLineChartType']] + """ + Determines the type of the line chart. + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + """ + The visual palette configuration of a line chart. + """ + x_axis_display_options: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis. + """ + x_axis_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the x-axis label. + """ +elif False: + TemplateLineChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLineChartConfigurationArgs: def __init__(__self__, *, @@ -80862,6 +107555,23 @@ def x_axis_label_options(self, value: Optional[pulumi.Input['TemplateChartAxisLa pulumi.set(self, "x_axis_label_options", value) +if not MYPY: + class TemplateLineChartDefaultSeriesSettingsArgsDict(TypedDict): + axis_binding: NotRequired[pulumi.Input['TemplateAxisBinding']] + """ + The axis to which you are binding all line series to. + """ + line_style_settings: NotRequired[pulumi.Input['TemplateLineChartLineStyleSettingsArgsDict']] + """ + Line styles options for all line series in the visual. + """ + marker_style_settings: NotRequired[pulumi.Input['TemplateLineChartMarkerStyleSettingsArgsDict']] + """ + Marker styles options for all line series in the visual. + """ +elif False: + TemplateLineChartDefaultSeriesSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLineChartDefaultSeriesSettingsArgs: def __init__(__self__, *, @@ -80917,6 +107627,15 @@ def marker_style_settings(self, value: Optional[pulumi.Input['TemplateLineChartM pulumi.set(self, "marker_style_settings", value) +if not MYPY: + class TemplateLineChartFieldWellsArgsDict(TypedDict): + line_chart_aggregated_field_wells: NotRequired[pulumi.Input['TemplateLineChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a line chart. + """ +elif False: + TemplateLineChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLineChartFieldWellsArgs: def __init__(__self__, *, @@ -80940,6 +107659,35 @@ def line_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Templa pulumi.set(self, "line_chart_aggregated_field_wells", value) +if not MYPY: + class TemplateLineChartLineStyleSettingsArgsDict(TypedDict): + line_interpolation: NotRequired[pulumi.Input['TemplateLineInterpolation']] + """ + Interpolation style for line series. + + - `LINEAR` : Show as default, linear style. + - `SMOOTH` : Show as a smooth curve. + - `STEPPED` : Show steps in line. + """ + line_style: NotRequired[pulumi.Input['TemplateLineChartLineStyle']] + """ + Line style for line series. + + - `SOLID` : Show as a solid line. + - `DOTTED` : Show as a dotted line. + - `DASHED` : Show as a dashed line. + """ + line_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Configuration option that determines whether to show the line for the series. + """ + line_width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + TemplateLineChartLineStyleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLineChartLineStyleSettingsArgs: def __init__(__self__, *, @@ -81027,6 +107775,33 @@ def line_width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "line_width", value) +if not MYPY: + class TemplateLineChartMarkerStyleSettingsArgsDict(TypedDict): + marker_color: NotRequired[pulumi.Input[str]] + """ + Color of marker in the series. + """ + marker_shape: NotRequired[pulumi.Input['TemplateLineChartMarkerShape']] + """ + Shape option for markers in the series. + + - `CIRCLE` : Show marker as a circle. + - `TRIANGLE` : Show marker as a triangle. + - `SQUARE` : Show marker as a square. + - `DIAMOND` : Show marker as a diamond. + - `ROUNDED_SQUARE` : Show marker as a rounded square. + """ + marker_size: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + marker_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Configuration option that determines whether to show the markers in the series. + """ +elif False: + TemplateLineChartMarkerStyleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLineChartMarkerStyleSettingsArgs: def __init__(__self__, *, @@ -81110,6 +107885,19 @@ def marker_visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]) pulumi.set(self, "marker_visibility", value) +if not MYPY: + class TemplateLineChartSeriesSettingsArgsDict(TypedDict): + line_style_settings: NotRequired[pulumi.Input['TemplateLineChartLineStyleSettingsArgsDict']] + """ + Line styles options for a line series in `LineChartVisual` . + """ + marker_style_settings: NotRequired[pulumi.Input['TemplateLineChartMarkerStyleSettingsArgsDict']] + """ + Marker styles options for a line series in `LineChartVisual` . + """ +elif False: + TemplateLineChartSeriesSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLineChartSeriesSettingsArgs: def __init__(__self__, *, @@ -81149,6 +107937,31 @@ def marker_style_settings(self, value: Optional[pulumi.Input['TemplateLineChartM pulumi.set(self, "marker_style_settings", value) +if not MYPY: + class TemplateLineChartSortConfigurationArgsDict(TypedDict): + category_items_limit_configuration: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories that are displayed in a line chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ + color_items_limit_configuration: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of lines that are displayed in a line chart. + """ + small_multiples_limit_configuration: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of small multiples panels that are displayed. + """ + small_multiples_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the small multiples field. + """ +elif False: + TemplateLineChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLineChartSortConfigurationArgs: def __init__(__self__, *, @@ -81236,6 +108049,35 @@ def small_multiples_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "small_multiples_sort", value) +if not MYPY: + class TemplateLineChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateLineChartConfigurationArgsDict']] + """ + The configuration of a line chart. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateLineChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLineChartVisualArgs: def __init__(__self__, *, @@ -81338,6 +108180,19 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateLineSeriesAxisDisplayOptionsArgsDict(TypedDict): + axis_options: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the line series axis. + """ + missing_data_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMissingDataConfigurationArgsDict']]]] + """ + The configuration options that determine how missing data is treated during the rendering of a line chart. + """ +elif False: + TemplateLineSeriesAxisDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLineSeriesAxisDisplayOptionsArgs: def __init__(__self__, *, @@ -81377,6 +108232,27 @@ def missing_data_configurations(self, value: Optional[pulumi.Input[Sequence[pulu pulumi.set(self, "missing_data_configurations", value) +if not MYPY: + class TemplateListControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['TemplateSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + search_options: NotRequired[pulumi.Input['TemplateListControlSearchOptionsArgsDict']] + """ + The configuration of the search options in a list control. + """ + select_all_options: NotRequired[pulumi.Input['TemplateListControlSelectAllOptionsArgsDict']] + """ + The configuration of the `Select all` options in a list control. + """ + title_options: NotRequired[pulumi.Input['TemplateLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + TemplateListControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateListControlDisplayOptionsArgs: def __init__(__self__, *, @@ -81448,6 +108324,15 @@ def title_options(self, value: Optional[pulumi.Input['TemplateLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class TemplateListControlSearchOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility configuration of the search options in a list control. + """ +elif False: + TemplateListControlSearchOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateListControlSearchOptionsArgs: def __init__(__self__, *, @@ -81471,6 +108356,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateListControlSelectAllOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility configuration of the `Select all` options in a list control. + """ +elif False: + TemplateListControlSelectAllOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateListControlSelectAllOptionsArgs: def __init__(__self__, *, @@ -81494,6 +108388,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateLoadingAnimationArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility configuration of `LoadingAnimation` . + """ +elif False: + TemplateLoadingAnimationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLoadingAnimationArgs: def __init__(__self__, *, @@ -81517,6 +108420,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateLocalNavigationConfigurationArgsDict(TypedDict): + target_sheet_id: pulumi.Input[str] + """ + The sheet that is targeted for navigation in the same analysis. + """ +elif False: + TemplateLocalNavigationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLocalNavigationConfigurationArgs: def __init__(__self__, *, @@ -81539,6 +108451,19 @@ def target_sheet_id(self, value: pulumi.Input[str]): pulumi.set(self, "target_sheet_id", value) +if not MYPY: + class TemplateLongFormatTextArgsDict(TypedDict): + plain_text: NotRequired[pulumi.Input[str]] + """ + Plain text format. + """ + rich_text: NotRequired[pulumi.Input[str]] + """ + Rich text. Examples of rich text include bold, underline, and italics. + """ +elif False: + TemplateLongFormatTextArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateLongFormatTextArgs: def __init__(__self__, *, @@ -81578,6 +108503,19 @@ def rich_text(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "rich_text", value) +if not MYPY: + class TemplateMappedDataSetParameterArgsDict(TypedDict): + data_set_identifier: pulumi.Input[str] + """ + A unique name that identifies a dataset within the analysis or dashboard. + """ + data_set_parameter_name: pulumi.Input[str] + """ + The name of the dataset parameter. + """ +elif False: + TemplateMappedDataSetParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateMappedDataSetParameterArgs: def __init__(__self__, *, @@ -81615,6 +108553,15 @@ def data_set_parameter_name(self, value: pulumi.Input[str]): pulumi.set(self, "data_set_parameter_name", value) +if not MYPY: + class TemplateMaximumLabelTypeArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the maximum label. + """ +elif False: + TemplateMaximumLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateMaximumLabelTypeArgs: def __init__(__self__, *, @@ -81638,6 +108585,34 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateMaximumMinimumComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + type: pulumi.Input['TemplateMaximumMinimumComputationType'] + """ + The type of computation. Choose one of the following options: + + - MAXIMUM: A maximum computation. + - MINIMUM: A minimum computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + time: NotRequired[pulumi.Input['TemplateDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['TemplateMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + TemplateMaximumMinimumComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateMaximumMinimumComputationArgs: def __init__(__self__, *, @@ -81729,6 +108704,27 @@ def value(self, value: Optional[pulumi.Input['TemplateMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateMeasureFieldArgsDict(TypedDict): + calculated_measure_field: NotRequired[pulumi.Input['TemplateCalculatedMeasureFieldArgsDict']] + """ + The calculated measure field only used in pivot tables. + """ + categorical_measure_field: NotRequired[pulumi.Input['TemplateCategoricalMeasureFieldArgsDict']] + """ + The measure type field with categorical type columns. + """ + date_measure_field: NotRequired[pulumi.Input['TemplateDateMeasureFieldArgsDict']] + """ + The measure type field with date type columns. + """ + numerical_measure_field: NotRequired[pulumi.Input['TemplateNumericalMeasureFieldArgsDict']] + """ + The measure type field with numerical type columns. + """ +elif False: + TemplateMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateMeasureFieldArgs: def __init__(__self__, *, @@ -81800,6 +108796,31 @@ def numerical_measure_field(self, value: Optional[pulumi.Input['TemplateNumerica pulumi.set(self, "numerical_measure_field", value) +if not MYPY: + class TemplateMetricComparisonComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + from_value: NotRequired[pulumi.Input['TemplateMeasureFieldArgsDict']] + """ + The field that is used in a metric comparison from value setup. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + target_value: NotRequired[pulumi.Input['TemplateMeasureFieldArgsDict']] + """ + The field that is used in a metric comparison to value setup. + """ + time: NotRequired[pulumi.Input['TemplateDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ +elif False: + TemplateMetricComparisonComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateMetricComparisonComputationArgs: def __init__(__self__, *, @@ -81886,6 +108907,15 @@ def time(self, value: Optional[pulumi.Input['TemplateDimensionFieldArgs']]): pulumi.set(self, "time", value) +if not MYPY: + class TemplateMinimumLabelTypeArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the minimum label. + """ +elif False: + TemplateMinimumLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateMinimumLabelTypeArgs: def __init__(__self__, *, @@ -81909,6 +108939,19 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateMissingDataConfigurationArgsDict(TypedDict): + treatment_option: NotRequired[pulumi.Input['TemplateMissingDataTreatmentOption']] + """ + The treatment option that determines how missing data should be rendered. Choose from the following options: + + - `INTERPOLATE` : Interpolate missing values between the prior and the next known value. + - `SHOW_AS_ZERO` : Show missing values as the value `0` . + - `SHOW_AS_BLANK` : Display a blank space when rendering missing data. + """ +elif False: + TemplateMissingDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateMissingDataConfigurationArgs: def __init__(__self__, *, @@ -81940,6 +108983,15 @@ def treatment_option(self, value: Optional[pulumi.Input['TemplateMissingDataTrea pulumi.set(self, "treatment_option", value) +if not MYPY: + class TemplateNegativeValueConfigurationArgsDict(TypedDict): + display_mode: pulumi.Input['TemplateNegativeValueDisplayMode'] + """ + Determines the display mode of the negative value configuration. + """ +elif False: + TemplateNegativeValueConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNegativeValueConfigurationArgs: def __init__(__self__, *, @@ -81962,6 +109014,27 @@ def display_mode(self, value: pulumi.Input['TemplateNegativeValueDisplayMode']): pulumi.set(self, "display_mode", value) +if not MYPY: + class TemplateNestedFilterArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + include_inner_set: pulumi.Input[bool] + """ + A boolean condition to include or exclude the subset that is defined by the values of the nested inner filter. + """ + inner_filter: pulumi.Input['TemplateInnerFilterArgsDict'] + """ + The `InnerFilter` defines the subset of data to be used with the `NestedFilter` . + """ +elif False: + TemplateNestedFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNestedFilterArgs: def __init__(__self__, *, @@ -82029,6 +109102,15 @@ def inner_filter(self, value: pulumi.Input['TemplateInnerFilterArgs']): pulumi.set(self, "inner_filter", value) +if not MYPY: + class TemplateNullValueFormatConfigurationArgsDict(TypedDict): + null_string: pulumi.Input[str] + """ + Determines the null string of null values. + """ +elif False: + TemplateNullValueFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNullValueFormatConfigurationArgs: def __init__(__self__, *, @@ -82051,6 +109133,39 @@ def null_string(self, value: pulumi.Input[str]): pulumi.set(self, "null_string", value) +if not MYPY: + class TemplateNumberDisplayFormatConfigurationArgsDict(TypedDict): + decimal_places_configuration: NotRequired[pulumi.Input['TemplateDecimalPlacesConfigurationArgsDict']] + """ + The option that determines the decimal places configuration. + """ + negative_value_configuration: NotRequired[pulumi.Input['TemplateNegativeValueConfigurationArgsDict']] + """ + The options that determine the negative value configuration. + """ + null_value_format_configuration: NotRequired[pulumi.Input['TemplateNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + number_scale: NotRequired[pulumi.Input['TemplateNumberScale']] + """ + Determines the number scale value of the number format. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Determines the prefix value of the number format. + """ + separator_configuration: NotRequired[pulumi.Input['TemplateNumericSeparatorConfigurationArgsDict']] + """ + The options that determine the numeric separator configuration. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + Determines the suffix value of the number format. + """ +elif False: + TemplateNumberDisplayFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumberDisplayFormatConfigurationArgs: def __init__(__self__, *, @@ -82170,6 +109285,15 @@ def suffix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "suffix", value) +if not MYPY: + class TemplateNumberFormatConfigurationArgsDict(TypedDict): + format_configuration: NotRequired[pulumi.Input['TemplateNumericFormatConfigurationArgsDict']] + """ + The options that determine the numeric format configuration. + """ +elif False: + TemplateNumberFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumberFormatConfigurationArgs: def __init__(__self__, *, @@ -82193,6 +109317,19 @@ def format_configuration(self, value: Optional[pulumi.Input['TemplateNumericForm pulumi.set(self, "format_configuration", value) +if not MYPY: + class TemplateNumericAxisOptionsArgsDict(TypedDict): + range: NotRequired[pulumi.Input['TemplateAxisDisplayRangeArgsDict']] + """ + The range setup of a numeric axis. + """ + scale: NotRequired[pulumi.Input['TemplateAxisScaleArgsDict']] + """ + The scale setup of a numeric axis. + """ +elif False: + TemplateNumericAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumericAxisOptionsArgs: def __init__(__self__, *, @@ -82232,6 +109369,19 @@ def scale(self, value: Optional[pulumi.Input['TemplateAxisScaleArgs']]): pulumi.set(self, "scale", value) +if not MYPY: + class TemplateNumericEqualityDrillDownFilterArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + value: pulumi.Input[float] + """ + The value of the double input numeric drill down filter. + """ +elif False: + TemplateNumericEqualityDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumericEqualityDrillDownFilterArgs: def __init__(__self__, *, @@ -82269,6 +109419,53 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateNumericEqualityFilterArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + match_operator: pulumi.Input['TemplateNumericEqualityMatchOperator'] + """ + The match operator that is used to determine if a filter should be applied. + """ + null_option: pulumi.Input['TemplateFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + aggregation_function: NotRequired[pulumi.Input['TemplateAggregationFunctionArgsDict']] + """ + The aggregation function of the filter. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['TemplateDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + """ + select_all_options: NotRequired[pulumi.Input['TemplateNumericFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ + value: NotRequired[pulumi.Input[float]] + """ + The input value. + """ +elif False: + TemplateNumericEqualityFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumericEqualityFilterArgs: def __init__(__self__, *, @@ -82428,6 +109625,23 @@ def value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateNumericFormatConfigurationArgsDict(TypedDict): + currency_display_format_configuration: NotRequired[pulumi.Input['TemplateCurrencyDisplayFormatConfigurationArgsDict']] + """ + The options that determine the currency display format configuration. + """ + number_display_format_configuration: NotRequired[pulumi.Input['TemplateNumberDisplayFormatConfigurationArgsDict']] + """ + The options that determine the number display format configuration. + """ + percentage_display_format_configuration: NotRequired[pulumi.Input['TemplatePercentageDisplayFormatConfigurationArgsDict']] + """ + The options that determine the percentage display format configuration. + """ +elif False: + TemplateNumericFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumericFormatConfigurationArgs: def __init__(__self__, *, @@ -82483,6 +109697,19 @@ def percentage_display_format_configuration(self, value: Optional[pulumi.Input[' pulumi.set(self, "percentage_display_format_configuration", value) +if not MYPY: + class TemplateNumericRangeFilterValueArgsDict(TypedDict): + parameter: NotRequired[pulumi.Input[str]] + """ + The parameter that is used in the numeric range. + """ + static_value: NotRequired[pulumi.Input[float]] + """ + The static value of the numeric range filter. + """ +elif False: + TemplateNumericRangeFilterValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumericRangeFilterValueArgs: def __init__(__self__, *, @@ -82522,6 +109749,57 @@ def static_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "static_value", value) +if not MYPY: + class TemplateNumericRangeFilterArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + null_option: pulumi.Input['TemplateFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + aggregation_function: NotRequired[pulumi.Input['TemplateAggregationFunctionArgsDict']] + """ + The aggregation function of the filter. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['TemplateDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + include_maximum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the maximum value in the filter value range should be included in the filtered results. + """ + include_minimum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the minimum value in the filter value range should be included in the filtered results. + """ + range_maximum: NotRequired[pulumi.Input['TemplateNumericRangeFilterValueArgsDict']] + """ + The maximum value for the filter value range. + """ + range_minimum: NotRequired[pulumi.Input['TemplateNumericRangeFilterValueArgsDict']] + """ + The minimum value for the filter value range. + """ + select_all_options: NotRequired[pulumi.Input['TemplateNumericFilterSelectAllOptions']] + """ + Select all of the values. Null is not the assigned value of select all. + + - `FILTER_ALL_VALUES` + """ +elif False: + TemplateNumericRangeFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumericRangeFilterArgs: def __init__(__self__, *, @@ -82698,6 +109976,19 @@ def select_all_options(self, value: Optional[pulumi.Input['TemplateNumericFilter pulumi.set(self, "select_all_options", value) +if not MYPY: + class TemplateNumericSeparatorConfigurationArgsDict(TypedDict): + decimal_separator: NotRequired[pulumi.Input['TemplateNumericSeparatorSymbol']] + """ + Determines the decimal separator. + """ + thousands_separator: NotRequired[pulumi.Input['TemplateThousandSeparatorOptionsArgsDict']] + """ + The options that determine the thousands separator configuration. + """ +elif False: + TemplateNumericSeparatorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumericSeparatorConfigurationArgs: def __init__(__self__, *, @@ -82737,6 +110028,31 @@ def thousands_separator(self, value: Optional[pulumi.Input['TemplateThousandSepa pulumi.set(self, "thousands_separator", value) +if not MYPY: + class TemplateNumericalAggregationFunctionArgsDict(TypedDict): + percentile_aggregation: NotRequired[pulumi.Input['TemplatePercentileAggregationArgsDict']] + """ + An aggregation based on the percentile of values in a dimension or measure. + """ + simple_numerical_aggregation: NotRequired[pulumi.Input['TemplateSimpleNumericalAggregationFunction']] + """ + Built-in aggregation functions for numerical values. + + - `SUM` : The sum of a dimension or measure. + - `AVERAGE` : The average of a dimension or measure. + - `MIN` : The minimum value of a dimension or measure. + - `MAX` : The maximum value of a dimension or measure. + - `COUNT` : The count of a dimension or measure. + - `DISTINCT_COUNT` : The count of distinct values in a dimension or measure. + - `VAR` : The variance of a dimension or measure. + - `VARP` : The partitioned variance of a dimension or measure. + - `STDEV` : The standard deviation of a dimension or measure. + - `STDEVP` : The partitioned standard deviation of a dimension or measure. + - `MEDIAN` : The median value of a dimension or measure. + """ +elif False: + TemplateNumericalAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumericalAggregationFunctionArgs: def __init__(__self__, *, @@ -82800,6 +110116,27 @@ def simple_numerical_aggregation(self, value: Optional[pulumi.Input['TemplateSim pulumi.set(self, "simple_numerical_aggregation", value) +if not MYPY: + class TemplateNumericalDimensionFieldArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that is used in the `NumericalDimensionField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + format_configuration: NotRequired[pulumi.Input['TemplateNumberFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ + hierarchy_id: NotRequired[pulumi.Input[str]] + """ + The custom hierarchy ID. + """ +elif False: + TemplateNumericalDimensionFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumericalDimensionFieldArgs: def __init__(__self__, *, @@ -82869,6 +110206,27 @@ def hierarchy_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hierarchy_id", value) +if not MYPY: + class TemplateNumericalMeasureFieldArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that is used in the `NumericalMeasureField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + aggregation_function: NotRequired[pulumi.Input['TemplateNumericalAggregationFunctionArgsDict']] + """ + The aggregation function of the measure field. + """ + format_configuration: NotRequired[pulumi.Input['TemplateNumberFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + TemplateNumericalMeasureFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateNumericalMeasureFieldArgs: def __init__(__self__, *, @@ -82938,6 +110296,19 @@ def format_configuration(self, value: Optional[pulumi.Input['TemplateNumberForma pulumi.set(self, "format_configuration", value) +if not MYPY: + class TemplatePaginationConfigurationArgsDict(TypedDict): + page_number: pulumi.Input[float] + """ + Indicates the page number. + """ + page_size: pulumi.Input[float] + """ + Indicates how many items render in one page. + """ +elif False: + TemplatePaginationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePaginationConfigurationArgs: def __init__(__self__, *, @@ -82975,6 +110346,47 @@ def page_size(self, value: pulumi.Input[float]): pulumi.set(self, "page_size", value) +if not MYPY: + class TemplatePanelConfigurationArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input[str]] + """ + Sets the background color for each panel. + """ + background_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines whether or not a background for each small multiples panel is rendered. + """ + border_color: NotRequired[pulumi.Input[str]] + """ + Sets the line color of panel borders. + """ + border_style: NotRequired[pulumi.Input['TemplatePanelBorderStyle']] + """ + Sets the line style of panel borders. + """ + border_thickness: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + border_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines whether or not each panel displays a border. + """ + gutter_spacing: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + gutter_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines whether or not negative space between sibling panels is rendered. + """ + title: NotRequired[pulumi.Input['TemplatePanelTitleOptionsArgsDict']] + """ + Configures the title display within each small multiples panel. + """ +elif False: + TemplatePanelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePanelConfigurationArgs: def __init__(__self__, *, @@ -83126,6 +110538,20 @@ def title(self, value: Optional[pulumi.Input['TemplatePanelTitleOptionsArgs']]): pulumi.set(self, "title", value) +if not MYPY: + class TemplatePanelTitleOptionsArgsDict(TypedDict): + font_configuration: NotRequired[pulumi.Input['TemplateFontConfigurationArgsDict']] + horizontal_text_alignment: NotRequired[pulumi.Input['TemplateHorizontalTextAlignment']] + """ + Sets the horizontal text alignment of the title within each panel. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines whether or not panel titles are displayed. + """ +elif False: + TemplatePanelTitleOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePanelTitleOptionsArgs: def __init__(__self__, *, @@ -83177,6 +110603,35 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateParameterControlArgsDict(TypedDict): + date_time_picker: NotRequired[pulumi.Input['TemplateParameterDateTimePickerControlArgsDict']] + """ + A control from a date parameter that specifies date and time. + """ + dropdown: NotRequired[pulumi.Input['TemplateParameterDropDownControlArgsDict']] + """ + A control to display a dropdown list with buttons that are used to select a single value. + """ + list: NotRequired[pulumi.Input['TemplateParameterListControlArgsDict']] + """ + A control to display a list with buttons or boxes that are used to select either a single value or multiple values. + """ + slider: NotRequired[pulumi.Input['TemplateParameterSliderControlArgsDict']] + """ + A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle. + """ + text_area: NotRequired[pulumi.Input['TemplateParameterTextAreaControlArgsDict']] + """ + A control to display a text box that is used to enter multiple entries. + """ + text_field: NotRequired[pulumi.Input['TemplateParameterTextFieldControlArgsDict']] + """ + A control to display a text box that is used to enter a single entry. + """ +elif False: + TemplateParameterControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateParameterControlArgs: def __init__(__self__, *, @@ -83280,6 +110735,27 @@ def text_field(self, value: Optional[pulumi.Input['TemplateParameterTextFieldCon pulumi.set(self, "text_field", value) +if not MYPY: + class TemplateParameterDateTimePickerControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterDateTimePickerControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The name of the `ParameterDateTimePickerControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterDateTimePickerControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateDateTimePickerControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + TemplateParameterDateTimePickerControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateParameterDateTimePickerControlArgs: def __init__(__self__, *, @@ -83348,6 +110824,27 @@ def display_options(self, value: Optional[pulumi.Input['TemplateDateTimePickerCo pulumi.set(self, "display_options", value) +if not MYPY: + class TemplateParameterDeclarationArgsDict(TypedDict): + date_time_parameter_declaration: NotRequired[pulumi.Input['TemplateDateTimeParameterDeclarationArgsDict']] + """ + A parameter declaration for the `DateTime` data type. + """ + decimal_parameter_declaration: NotRequired[pulumi.Input['TemplateDecimalParameterDeclarationArgsDict']] + """ + A parameter declaration for the `Decimal` data type. + """ + integer_parameter_declaration: NotRequired[pulumi.Input['TemplateIntegerParameterDeclarationArgsDict']] + """ + A parameter declaration for the `Integer` data type. + """ + string_parameter_declaration: NotRequired[pulumi.Input['TemplateStringParameterDeclarationArgsDict']] + """ + A parameter declaration for the `String` data type. + """ +elif False: + TemplateParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateParameterDeclarationArgs: def __init__(__self__, *, @@ -83419,6 +110916,43 @@ def string_parameter_declaration(self, value: Optional[pulumi.Input['TemplateStr pulumi.set(self, "string_parameter_declaration", value) +if not MYPY: + class TemplateParameterDropDownControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterDropDownControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterDropDownControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterDropDownControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['TemplateCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + commit_mode: NotRequired[pulumi.Input['TemplateCommitMode']] + """ + The visibility configuration of the Apply button on a `ParameterDropDownControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateDropDownControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['TemplateParameterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['TemplateSheetControlListType']] + """ + The type parameter name of the `ParameterDropDownControl` . + """ +elif False: + TemplateParameterDropDownControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateParameterDropDownControlArgs: def __init__(__self__, *, @@ -83551,6 +111085,39 @@ def type(self, value: Optional[pulumi.Input['TemplateSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class TemplateParameterListControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterListControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterListControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterListControl` . + """ + cascading_control_configuration: NotRequired[pulumi.Input['TemplateCascadingControlConfigurationArgsDict']] + """ + The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls. + """ + display_options: NotRequired[pulumi.Input['TemplateListControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ + selectable_values: NotRequired[pulumi.Input['TemplateParameterSelectableValuesArgsDict']] + """ + A list of selectable values that are used in a control. + """ + type: NotRequired[pulumi.Input['TemplateSheetControlListType']] + """ + The type of `ParameterListControl` . + """ +elif False: + TemplateParameterListControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateParameterListControlArgs: def __init__(__self__, *, @@ -83667,6 +111234,19 @@ def type(self, value: Optional[pulumi.Input['TemplateSheetControlListType']]): pulumi.set(self, "type", value) +if not MYPY: + class TemplateParameterSelectableValuesArgsDict(TypedDict): + link_to_data_set_column: NotRequired[pulumi.Input['TemplateColumnIdentifierArgsDict']] + """ + The column identifier that fetches values from the data set. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The values that are used in `ParameterSelectableValues` . + """ +elif False: + TemplateParameterSelectableValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateParameterSelectableValuesArgs: def __init__(__self__, *, @@ -83706,6 +111286,39 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class TemplateParameterSliderControlArgsDict(TypedDict): + maximum_value: pulumi.Input[float] + """ + The larger value that is displayed at the right of the slider. + """ + minimum_value: pulumi.Input[float] + """ + The smaller value that is displayed at the left of the slider. + """ + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterSliderControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterSliderControl` . + """ + step_size: pulumi.Input[float] + """ + The number of increments that the slider bar is divided into. + """ + title: pulumi.Input[str] + """ + The title of the `ParameterSliderControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateSliderControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + TemplateParameterSliderControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateParameterSliderControlArgs: def __init__(__self__, *, @@ -83819,6 +111432,31 @@ def display_options(self, value: Optional[pulumi.Input['TemplateSliderControlDis pulumi.set(self, "display_options", value) +if not MYPY: + class TemplateParameterTextAreaControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterTextAreaControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterTextAreaControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterTextAreaControl` . + """ + delimiter: NotRequired[pulumi.Input[str]] + """ + The delimiter that is used to separate the lines in text. + """ + display_options: NotRequired[pulumi.Input['TemplateTextAreaControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + TemplateParameterTextAreaControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateParameterTextAreaControlArgs: def __init__(__self__, *, @@ -83903,6 +111541,27 @@ def display_options(self, value: Optional[pulumi.Input['TemplateTextAreaControlD pulumi.set(self, "display_options", value) +if not MYPY: + class TemplateParameterTextFieldControlArgsDict(TypedDict): + parameter_control_id: pulumi.Input[str] + """ + The ID of the `ParameterTextFieldControl` . + """ + source_parameter_name: pulumi.Input[str] + """ + The source parameter name of the `ParameterTextFieldControl` . + """ + title: pulumi.Input[str] + """ + The title of the `ParameterTextFieldControl` . + """ + display_options: NotRequired[pulumi.Input['TemplateTextFieldControlDisplayOptionsArgsDict']] + """ + The display options of a control. + """ +elif False: + TemplateParameterTextFieldControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateParameterTextFieldControlArgs: def __init__(__self__, *, @@ -83971,6 +111630,19 @@ def display_options(self, value: Optional[pulumi.Input['TemplateTextFieldControl pulumi.set(self, "display_options", value) +if not MYPY: + class TemplatePercentVisibleRangeArgsDict(TypedDict): + from_: NotRequired[pulumi.Input[float]] + """ + The lower bound of the range. + """ + to: NotRequired[pulumi.Input[float]] + """ + The top bound of the range. + """ +elif False: + TemplatePercentVisibleRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePercentVisibleRangeArgs: def __init__(__self__, *, @@ -84010,6 +111682,35 @@ def to(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "to", value) +if not MYPY: + class TemplatePercentageDisplayFormatConfigurationArgsDict(TypedDict): + decimal_places_configuration: NotRequired[pulumi.Input['TemplateDecimalPlacesConfigurationArgsDict']] + """ + The option that determines the decimal places configuration. + """ + negative_value_configuration: NotRequired[pulumi.Input['TemplateNegativeValueConfigurationArgsDict']] + """ + The options that determine the negative value configuration. + """ + null_value_format_configuration: NotRequired[pulumi.Input['TemplateNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Determines the prefix value of the percentage format. + """ + separator_configuration: NotRequired[pulumi.Input['TemplateNumericSeparatorConfigurationArgsDict']] + """ + The options that determine the numeric separator configuration. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + Determines the suffix value of the percentage format. + """ +elif False: + TemplatePercentageDisplayFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePercentageDisplayFormatConfigurationArgs: def __init__(__self__, *, @@ -84113,6 +111814,15 @@ def suffix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "suffix", value) +if not MYPY: + class TemplatePercentileAggregationArgsDict(TypedDict): + percentile_value: NotRequired[pulumi.Input[float]] + """ + The percentile value. This value can be any numeric constant 0–100. A percentile value of 50 computes the median value of the measure. + """ +elif False: + TemplatePercentileAggregationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePercentileAggregationArgs: def __init__(__self__, *, @@ -84136,6 +111846,27 @@ def percentile_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "percentile_value", value) +if not MYPY: + class TemplatePeriodOverPeriodComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + time: NotRequired[pulumi.Input['TemplateDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['TemplateMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + TemplatePeriodOverPeriodComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePeriodOverPeriodComputationArgs: def __init__(__self__, *, @@ -84206,6 +111937,34 @@ def value(self, value: Optional[pulumi.Input['TemplateMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class TemplatePeriodToDateComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + period_time_granularity: NotRequired[pulumi.Input['TemplateTimeGranularity']] + """ + The time granularity setup of period to date computation. Choose from the following options: + + - YEAR: Year to date. + - MONTH: Month to date. + """ + time: NotRequired[pulumi.Input['TemplateDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['TemplateMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + TemplatePeriodToDateComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePeriodToDateComputationArgs: def __init__(__self__, *, @@ -84298,6 +112057,23 @@ def value(self, value: Optional[pulumi.Input['TemplateMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class TemplatePieChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The category (group/color) field wells of a pie chart. + """ + small_multiples: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The small multiples field well of a pie chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The value field wells of a pie chart. Values are aggregated based on categories. + """ +elif False: + TemplatePieChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePieChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -84353,6 +112129,55 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplatePieChartConfigurationArgsDict(TypedDict): + category_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options of the group/color that is displayed in a pie chart. + """ + contribution_analysis_defaults: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateContributionAnalysisDefaultArgsDict']]]] + """ + The contribution analysis (anomaly configuration) setup of the visual. + """ + data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + donut_options: NotRequired[pulumi.Input['TemplateDonutOptionsArgsDict']] + """ + The options that determine the shape of the chart. This option determines whether the chart is a pie chart or a donut chart. + """ + field_wells: NotRequired[pulumi.Input['TemplatePieChartFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + small_multiples_options: NotRequired[pulumi.Input['TemplateSmallMultiplesOptionsArgsDict']] + """ + The small multiples setup for the visual. + """ + sort_configuration: NotRequired[pulumi.Input['TemplatePieChartSortConfigurationArgsDict']] + """ + The sort configuration of a pie chart. + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ + value_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options for the value that is displayed in a pie chart. + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + TemplatePieChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePieChartConfigurationArgs: def __init__(__self__, *, @@ -84536,6 +112361,15 @@ def visual_palette(self, value: Optional[pulumi.Input['TemplateVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class TemplatePieChartFieldWellsArgsDict(TypedDict): + pie_chart_aggregated_field_wells: NotRequired[pulumi.Input['TemplatePieChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a pie chart. + """ +elif False: + TemplatePieChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePieChartFieldWellsArgs: def __init__(__self__, *, @@ -84559,6 +112393,27 @@ def pie_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Templat pulumi.set(self, "pie_chart_aggregated_field_wells", value) +if not MYPY: + class TemplatePieChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of categories that are displayed in a pie chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ + small_multiples_limit_configuration: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of small multiples panels that are displayed. + """ + small_multiples_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the small multiples field. + """ +elif False: + TemplatePieChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePieChartSortConfigurationArgs: def __init__(__self__, *, @@ -84630,6 +112485,35 @@ def small_multiples_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "small_multiples_sort", value) +if not MYPY: + class TemplatePieChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplatePieChartConfigurationArgsDict']] + """ + The configuration of a pie chart. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplatePieChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePieChartVisualArgs: def __init__(__self__, *, @@ -84732,6 +112616,19 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplatePivotFieldSortOptionsArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID for the field sort options. + """ + sort_by: pulumi.Input['TemplatePivotTableSortByArgsDict'] + """ + The sort by field for the field sort options. + """ +elif False: + TemplatePivotFieldSortOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotFieldSortOptionsArgs: def __init__(__self__, *, @@ -84769,6 +112666,23 @@ def sort_by(self, value: pulumi.Input['TemplatePivotTableSortByArgs']): pulumi.set(self, "sort_by", value) +if not MYPY: + class TemplatePivotTableAggregatedFieldWellsArgsDict(TypedDict): + columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The columns field well for a pivot table. Values are grouped by columns fields. + """ + rows: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The rows field well for a pivot table. Values are grouped by rows fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The values field well for a pivot table. Values are aggregated based on rows and columns fields. + """ +elif False: + TemplatePivotTableAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -84824,6 +112738,27 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplatePivotTableCellConditionalFormattingArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the cell for conditional formatting. + """ + scope: NotRequired[pulumi.Input['TemplatePivotTableConditionalFormattingScopeArgsDict']] + """ + The scope of the cell for conditional formatting. + """ + scopes: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplatePivotTableConditionalFormattingScopeArgsDict']]]] + """ + A list of cell scopes for conditional formatting. + """ + text_format: NotRequired[pulumi.Input['TemplateTextConditionalFormatArgsDict']] + """ + The text format of the cell for conditional formatting. + """ +elif False: + TemplatePivotTableCellConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableCellConditionalFormattingArgs: def __init__(__self__, *, @@ -84894,6 +112829,15 @@ def text_format(self, value: Optional[pulumi.Input['TemplateTextConditionalForma pulumi.set(self, "text_format", value) +if not MYPY: + class TemplatePivotTableConditionalFormattingOptionArgsDict(TypedDict): + cell: NotRequired[pulumi.Input['TemplatePivotTableCellConditionalFormattingArgsDict']] + """ + The cell conditional formatting option for a pivot table. + """ +elif False: + TemplatePivotTableConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -84917,6 +112861,15 @@ def cell(self, value: Optional[pulumi.Input['TemplatePivotTableCellConditionalFo pulumi.set(self, "cell", value) +if not MYPY: + class TemplatePivotTableConditionalFormattingScopeArgsDict(TypedDict): + role: NotRequired[pulumi.Input['TemplatePivotTableConditionalFormattingScopeRole']] + """ + The role (field, field total, grand total) of the cell for conditional formatting. + """ +elif False: + TemplatePivotTableConditionalFormattingScopeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableConditionalFormattingScopeArgs: def __init__(__self__, *, @@ -84940,6 +112893,15 @@ def role(self, value: Optional[pulumi.Input['TemplatePivotTableConditionalFormat pulumi.set(self, "role", value) +if not MYPY: + class TemplatePivotTableConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplatePivotTableConditionalFormattingOptionArgsDict']]]] + """ + Conditional formatting options for a `PivotTableVisual` . + """ +elif False: + TemplatePivotTableConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableConditionalFormattingArgs: def __init__(__self__, *, @@ -84963,6 +112925,35 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class TemplatePivotTableConfigurationArgsDict(TypedDict): + field_options: NotRequired[pulumi.Input['TemplatePivotTableFieldOptionsArgsDict']] + """ + The field options for a pivot table visual. + """ + field_wells: NotRequired[pulumi.Input['TemplatePivotTableFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + paginated_report_options: NotRequired[pulumi.Input['TemplatePivotTablePaginatedReportOptionsArgsDict']] + """ + The paginated report options for a pivot table visual. + """ + sort_configuration: NotRequired[pulumi.Input['TemplatePivotTableSortConfigurationArgsDict']] + """ + The sort configuration for a `PivotTableVisual` . + """ + table_options: NotRequired[pulumi.Input['TemplatePivotTableOptionsArgsDict']] + """ + The table options for a pivot table visual. + """ + total_options: NotRequired[pulumi.Input['TemplatePivotTableTotalOptionsArgsDict']] + """ + The total options for a pivot table visual. + """ +elif False: + TemplatePivotTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableConfigurationArgs: def __init__(__self__, *, @@ -85066,6 +113057,19 @@ def total_options(self, value: Optional[pulumi.Input['TemplatePivotTableTotalOpt pulumi.set(self, "total_options", value) +if not MYPY: + class TemplatePivotTableDataPathOptionArgsDict(TypedDict): + data_path_list: pulumi.Input[Sequence[pulumi.Input['TemplateDataPathValueArgsDict']]] + """ + The list of data path values for the data path options. + """ + width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + TemplatePivotTableDataPathOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableDataPathOptionArgs: def __init__(__self__, *, @@ -85104,6 +113108,22 @@ def width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "width", value) +if not MYPY: + class TemplatePivotTableFieldCollapseStateOptionArgsDict(TypedDict): + target: pulumi.Input['TemplatePivotTableFieldCollapseStateTargetArgsDict'] + """ + A tagged-union object that sets the collapse state. + """ + state: NotRequired[pulumi.Input['TemplatePivotTableFieldCollapseState']] + """ + The state of the field target of a pivot table. Choose one of the following options: + + - `COLLAPSED` + - `EXPANDED` + """ +elif False: + TemplatePivotTableFieldCollapseStateOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableFieldCollapseStateOptionArgs: def __init__(__self__, *, @@ -85148,6 +113168,19 @@ def state(self, value: Optional[pulumi.Input['TemplatePivotTableFieldCollapseSta pulumi.set(self, "state", value) +if not MYPY: + class TemplatePivotTableFieldCollapseStateTargetArgsDict(TypedDict): + field_data_path_values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDataPathValueArgsDict']]]] + """ + The data path of the pivot table's header. Used to set the collapse state. + """ + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the pivot table that the collapse state needs to be set to. + """ +elif False: + TemplatePivotTableFieldCollapseStateTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableFieldCollapseStateTargetArgs: def __init__(__self__, *, @@ -85187,6 +113220,23 @@ def field_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "field_id", value) +if not MYPY: + class TemplatePivotTableFieldOptionsArgsDict(TypedDict): + collapse_state_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplatePivotTableFieldCollapseStateOptionArgsDict']]]] + """ + The collapse state options for the pivot table field options. + """ + data_path_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplatePivotTableDataPathOptionArgsDict']]]] + """ + The data path options for the pivot table field options. + """ + selected_field_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplatePivotTableFieldOptionArgsDict']]]] + """ + The selected field options for the pivot table field options. + """ +elif False: + TemplatePivotTableFieldOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableFieldOptionsArgs: def __init__(__self__, *, @@ -85242,6 +113292,23 @@ def selected_field_options(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "selected_field_options", value) +if not MYPY: + class TemplatePivotTableFieldOptionArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the pivot table field. + """ + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label of the pivot table field. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the pivot table field. + """ +elif False: + TemplatePivotTableFieldOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableFieldOptionArgs: def __init__(__self__, *, @@ -85296,6 +113363,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplatePivotTableFieldSubtotalOptionsArgsDict(TypedDict): + field_id: NotRequired[pulumi.Input[str]] + """ + The field ID of the subtotal options. + """ +elif False: + TemplatePivotTableFieldSubtotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableFieldSubtotalOptionsArgs: def __init__(__self__, *, @@ -85319,6 +113395,15 @@ def field_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "field_id", value) +if not MYPY: + class TemplatePivotTableFieldWellsArgsDict(TypedDict): + pivot_table_aggregated_field_wells: NotRequired[pulumi.Input['TemplatePivotTableAggregatedFieldWellsArgsDict']] + """ + The aggregated field well for the pivot table. + """ +elif False: + TemplatePivotTableFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableFieldWellsArgs: def __init__(__self__, *, @@ -85342,6 +113427,66 @@ def pivot_table_aggregated_field_wells(self, value: Optional[pulumi.Input['Templ pulumi.set(self, "pivot_table_aggregated_field_wells", value) +if not MYPY: + class TemplatePivotTableOptionsArgsDict(TypedDict): + cell_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The table cell style of cells. + """ + collapsed_row_dimensions_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure is `HIDDEN` , all collapsed columns in a pivot table are automatically hidden. The default value is `VISIBLE` . + """ + column_header_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The table cell style of the column header. + """ + column_names_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the column names. + """ + default_cell_width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + metric_placement: NotRequired[pulumi.Input['TemplatePivotTableMetricPlacement']] + """ + The metric placement (row, column) options. + """ + row_alternate_color_options: NotRequired[pulumi.Input['TemplateRowAlternateColorOptionsArgsDict']] + """ + The row alternate color options (widget status, row alternate colors). + """ + row_field_names_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The table cell style of row field names. + """ + row_header_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The table cell style of the row headers. + """ + rows_label_options: NotRequired[pulumi.Input['TemplatePivotTableRowsLabelOptionsArgsDict']] + """ + The options for the label that is located above the row headers. This option is only applicable when `RowsLayout` is set to `HIERARCHY` . + """ + rows_layout: NotRequired[pulumi.Input['TemplatePivotTableRowsLayout']] + """ + The layout for the row dimension headers of a pivot table. Choose one of the following options. + + - `TABULAR` : (Default) Each row field is displayed in a separate column. + - `HIERARCHY` : All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields. + """ + single_metric_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the single metric options. + """ + toggle_buttons_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines the visibility of the pivot table. + """ +elif False: + TemplatePivotTableOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableOptionsArgs: def __init__(__self__, *, @@ -85563,6 +113708,19 @@ def toggle_buttons_visibility(self, value: Optional[pulumi.Input['TemplateVisibi pulumi.set(self, "toggle_buttons_visibility", value) +if not MYPY: + class TemplatePivotTablePaginatedReportOptionsArgsDict(TypedDict): + overflow_column_header_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the repeating header rows on each page. + """ + vertical_overflow_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the printing table overflow across pages. + """ +elif False: + TemplatePivotTablePaginatedReportOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTablePaginatedReportOptionsArgs: def __init__(__self__, *, @@ -85602,6 +113760,19 @@ def vertical_overflow_visibility(self, value: Optional[pulumi.Input['TemplateVis pulumi.set(self, "vertical_overflow_visibility", value) +if not MYPY: + class TemplatePivotTableRowsLabelOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the rows label. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the rows label. + """ +elif False: + TemplatePivotTableRowsLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableRowsLabelOptionsArgs: def __init__(__self__, *, @@ -85641,6 +113812,23 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplatePivotTableSortByArgsDict(TypedDict): + column: NotRequired[pulumi.Input['TemplateColumnSortArgsDict']] + """ + The column sort (field id, direction) for the pivot table sort by options. + """ + data_path: NotRequired[pulumi.Input['TemplateDataPathSortArgsDict']] + """ + The data path sort (data path value, direction) for the pivot table sort by options. + """ + field: NotRequired[pulumi.Input['TemplateFieldSortArgsDict']] + """ + The field sort (field id, direction) for the pivot table sort by options. + """ +elif False: + TemplatePivotTableSortByArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableSortByArgs: def __init__(__self__, *, @@ -85696,6 +113884,15 @@ def field(self, value: Optional[pulumi.Input['TemplateFieldSortArgs']]): pulumi.set(self, "field", value) +if not MYPY: + class TemplatePivotTableSortConfigurationArgsDict(TypedDict): + field_sort_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplatePivotFieldSortOptionsArgsDict']]]] + """ + The field sort options for a pivot table sort configuration. + """ +elif False: + TemplatePivotTableSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableSortConfigurationArgs: def __init__(__self__, *, @@ -85719,6 +113916,27 @@ def field_sort_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "field_sort_options", value) +if not MYPY: + class TemplatePivotTableTotalOptionsArgsDict(TypedDict): + column_subtotal_options: NotRequired[pulumi.Input['TemplateSubtotalOptionsArgsDict']] + """ + The column subtotal options. + """ + column_total_options: NotRequired[pulumi.Input['TemplatePivotTotalOptionsArgsDict']] + """ + The column total options. + """ + row_subtotal_options: NotRequired[pulumi.Input['TemplateSubtotalOptionsArgsDict']] + """ + The row subtotal options. + """ + row_total_options: NotRequired[pulumi.Input['TemplatePivotTotalOptionsArgsDict']] + """ + The row total options. + """ +elif False: + TemplatePivotTableTotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableTotalOptionsArgs: def __init__(__self__, *, @@ -85790,6 +114008,35 @@ def row_total_options(self, value: Optional[pulumi.Input['TemplatePivotTotalOpti pulumi.set(self, "row_total_options", value) +if not MYPY: + class TemplatePivotTableVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplatePivotTableConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + conditional_formatting: NotRequired[pulumi.Input['TemplatePivotTableConditionalFormattingArgsDict']] + """ + The conditional formatting for a `PivotTableVisual` . + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplatePivotTableVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTableVisualArgs: def __init__(__self__, *, @@ -85892,6 +114139,43 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplatePivotTotalOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the total cells. + """ + metric_header_cell_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The cell styling options for the total of header cells. + """ + placement: NotRequired[pulumi.Input['TemplateTableTotalsPlacement']] + """ + The placement (start, end) for the total cells. + """ + scroll_status: NotRequired[pulumi.Input['TemplateTableTotalsScrollStatus']] + """ + The scroll status (pinned, scrolled) for the total cells. + """ + total_aggregation_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateTotalAggregationOptionArgsDict']]]] + """ + The total aggregation options for each value field. + """ + total_cell_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The cell styling options for the total cells. + """ + totals_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility configuration for the total cells. + """ + value_cell_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The cell styling options for the totals of value cells. + """ +elif False: + TemplatePivotTotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePivotTotalOptionsArgs: def __init__(__self__, *, @@ -86027,6 +114311,23 @@ def value_cell_style(self, value: Optional[pulumi.Input['TemplateTableCellStyleA pulumi.set(self, "value_cell_style", value) +if not MYPY: + class TemplatePredefinedHierarchyArgsDict(TypedDict): + columns: pulumi.Input[Sequence[pulumi.Input['TemplateColumnIdentifierArgsDict']]] + """ + The list of columns that define the predefined hierarchy. + """ + hierarchy_id: pulumi.Input[str] + """ + The hierarchy ID of the predefined hierarchy. + """ + drill_down_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDrillDownFilterArgsDict']]]] + """ + The option that determines the drill down filters for the predefined hierarchy. + """ +elif False: + TemplatePredefinedHierarchyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplatePredefinedHierarchyArgs: def __init__(__self__, *, @@ -86080,6 +114381,15 @@ def drill_down_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "drill_down_filters", value) +if not MYPY: + class TemplateProgressBarOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the progress bar. + """ +elif False: + TemplateProgressBarOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateProgressBarOptionsArgs: def __init__(__self__, *, @@ -86103,6 +114413,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateQueryExecutionOptionsArgsDict(TypedDict): + query_execution_mode: NotRequired[pulumi.Input['TemplateQueryExecutionMode']] + """ + A structure that describes the query execution mode. + """ +elif False: + TemplateQueryExecutionOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateQueryExecutionOptionsArgs: def __init__(__self__, *, @@ -86126,6 +114445,23 @@ def query_execution_mode(self, value: Optional[pulumi.Input['TemplateQueryExecut pulumi.set(self, "query_execution_mode", value) +if not MYPY: + class TemplateRadarChartAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The aggregated field well categories of a radar chart. + """ + color: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The color that are assigned to the aggregated field wells of a radar chart. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The values that are assigned to the aggregated field wells of a radar chart. + """ +elif False: + TemplateRadarChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRadarChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -86181,6 +114517,15 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateRadarChartAreaStyleSettingsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility settings of a radar chart. + """ +elif False: + TemplateRadarChartAreaStyleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRadarChartAreaStyleSettingsArgs: def __init__(__self__, *, @@ -86204,6 +114549,71 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateRadarChartConfigurationArgsDict(TypedDict): + alternate_band_colors_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines the visibility of the colors of alternatign bands in a radar chart. + """ + alternate_band_even_color: NotRequired[pulumi.Input[str]] + """ + The color of the even-numbered alternate bands of a radar chart. + """ + alternate_band_odd_color: NotRequired[pulumi.Input[str]] + """ + The color of the odd-numbered alternate bands of a radar chart. + """ + axes_range_scale: NotRequired[pulumi.Input['TemplateRadarChartAxesRangeScale']] + """ + The axis behavior options of a radar chart. + """ + base_series_settings: NotRequired[pulumi.Input['TemplateRadarChartSeriesSettingsArgsDict']] + """ + The base sreies settings of a radar chart. + """ + category_axis: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The category axis of a radar chart. + """ + category_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The category label options of a radar chart. + """ + color_axis: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The color axis of a radar chart. + """ + color_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The color label options of a radar chart. + """ + field_wells: NotRequired[pulumi.Input['TemplateRadarChartFieldWellsArgsDict']] + """ + The field well configuration of a `RadarChartVisual` . + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + shape: NotRequired[pulumi.Input['TemplateRadarChartShape']] + """ + The shape of the radar chart. + """ + sort_configuration: NotRequired[pulumi.Input['TemplateRadarChartSortConfigurationArgsDict']] + """ + The sort configuration of a `RadarChartVisual` . + """ + start_angle: NotRequired[pulumi.Input[float]] + """ + The start angle of a radar chart's axis. + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ +elif False: + TemplateRadarChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRadarChartConfigurationArgs: def __init__(__self__, *, @@ -86451,6 +114861,15 @@ def visual_palette(self, value: Optional[pulumi.Input['TemplateVisualPaletteArgs pulumi.set(self, "visual_palette", value) +if not MYPY: + class TemplateRadarChartFieldWellsArgsDict(TypedDict): + radar_chart_aggregated_field_wells: NotRequired[pulumi.Input['TemplateRadarChartAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a radar chart visual. + """ +elif False: + TemplateRadarChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRadarChartFieldWellsArgs: def __init__(__self__, *, @@ -86474,6 +114893,15 @@ def radar_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['Templ pulumi.set(self, "radar_chart_aggregated_field_wells", value) +if not MYPY: + class TemplateRadarChartSeriesSettingsArgsDict(TypedDict): + area_style_settings: NotRequired[pulumi.Input['TemplateRadarChartAreaStyleSettingsArgsDict']] + """ + The area style settings of a radar chart. + """ +elif False: + TemplateRadarChartSeriesSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRadarChartSeriesSettingsArgs: def __init__(__self__, *, @@ -86497,6 +114925,27 @@ def area_style_settings(self, value: Optional[pulumi.Input['TemplateRadarChartAr pulumi.set(self, "area_style_settings", value) +if not MYPY: + class TemplateRadarChartSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The category items limit for a radar chart. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The category sort options of a radar chart. + """ + color_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The color items limit of a radar chart. + """ + color_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The color sort configuration of a radar chart. + """ +elif False: + TemplateRadarChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRadarChartSortConfigurationArgs: def __init__(__self__, *, @@ -86568,6 +115017,35 @@ def color_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Templat pulumi.set(self, "color_sort", value) +if not MYPY: + class TemplateRadarChartVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateRadarChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateRadarChartVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRadarChartVisualArgs: def __init__(__self__, *, @@ -86670,6 +115148,15 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateRangeEndsLabelTypeArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the range ends label. + """ +elif False: + TemplateRangeEndsLabelTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRangeEndsLabelTypeArgs: def __init__(__self__, *, @@ -86693,6 +115180,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateReferenceLineCustomLabelConfigurationArgsDict(TypedDict): + custom_label: pulumi.Input[str] + """ + The string text of the custom label. + """ +elif False: + TemplateReferenceLineCustomLabelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateReferenceLineCustomLabelConfigurationArgs: def __init__(__self__, *, @@ -86715,6 +115211,33 @@ def custom_label(self, value: pulumi.Input[str]): pulumi.set(self, "custom_label", value) +if not MYPY: + class TemplateReferenceLineDataConfigurationArgsDict(TypedDict): + axis_binding: NotRequired[pulumi.Input['TemplateAxisBinding']] + """ + The axis binding type of the reference line. Choose one of the following options: + + - `PrimaryY` + - `SecondaryY` + """ + dynamic_configuration: NotRequired[pulumi.Input['TemplateReferenceLineDynamicDataConfigurationArgsDict']] + """ + The dynamic configuration of the reference line data configuration. + """ + series_type: NotRequired[pulumi.Input['TemplateReferenceLineSeriesType']] + """ + The series type of the reference line data configuration. Choose one of the following options: + + - `BAR` + - `LINE` + """ + static_configuration: NotRequired[pulumi.Input['TemplateReferenceLineStaticDataConfigurationArgsDict']] + """ + The static data configuration of the reference line data configuration. + """ +elif False: + TemplateReferenceLineDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateReferenceLineDataConfigurationArgs: def __init__(__self__, *, @@ -86798,6 +115321,23 @@ def static_configuration(self, value: Optional[pulumi.Input['TemplateReferenceLi pulumi.set(self, "static_configuration", value) +if not MYPY: + class TemplateReferenceLineDynamicDataConfigurationArgsDict(TypedDict): + calculation: pulumi.Input['TemplateNumericalAggregationFunctionArgsDict'] + """ + The calculation that is used in the dynamic data. + """ + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the dynamic data targets. + """ + measure_aggregation_function: NotRequired[pulumi.Input['TemplateAggregationFunctionArgsDict']] + """ + The aggregation function that is used in the dynamic data. + """ +elif False: + TemplateReferenceLineDynamicDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateReferenceLineDynamicDataConfigurationArgs: def __init__(__self__, *, @@ -86851,6 +115391,42 @@ def measure_aggregation_function(self, value: Optional[pulumi.Input['TemplateAgg pulumi.set(self, "measure_aggregation_function", value) +if not MYPY: + class TemplateReferenceLineLabelConfigurationArgsDict(TypedDict): + custom_label_configuration: NotRequired[pulumi.Input['TemplateReferenceLineCustomLabelConfigurationArgsDict']] + """ + The custom label configuration of the label in a reference line. + """ + font_color: NotRequired[pulumi.Input[str]] + """ + The font color configuration of the label in a reference line. + """ + font_configuration: NotRequired[pulumi.Input['TemplateFontConfigurationArgsDict']] + """ + The font configuration of the label in a reference line. + """ + horizontal_position: NotRequired[pulumi.Input['TemplateReferenceLineLabelHorizontalPosition']] + """ + The horizontal position configuration of the label in a reference line. Choose one of the following options: + + - `LEFT` + - `CENTER` + - `RIGHT` + """ + value_label_configuration: NotRequired[pulumi.Input['TemplateReferenceLineValueLabelConfigurationArgsDict']] + """ + The value label configuration of the label in a reference line. + """ + vertical_position: NotRequired[pulumi.Input['TemplateReferenceLineLabelVerticalPosition']] + """ + The vertical position configuration of the label in a reference line. Choose one of the following options: + + - `ABOVE` + - `BELOW` + """ +elif False: + TemplateReferenceLineLabelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateReferenceLineLabelConfigurationArgs: def __init__(__self__, *, @@ -86968,6 +115544,15 @@ def vertical_position(self, value: Optional[pulumi.Input['TemplateReferenceLineL pulumi.set(self, "vertical_position", value) +if not MYPY: + class TemplateReferenceLineStaticDataConfigurationArgsDict(TypedDict): + value: pulumi.Input[float] + """ + The double input of the static data. + """ +elif False: + TemplateReferenceLineStaticDataConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateReferenceLineStaticDataConfigurationArgs: def __init__(__self__, *, @@ -86990,6 +115575,23 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateReferenceLineStyleConfigurationArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The hex color of the reference line. + """ + pattern: NotRequired[pulumi.Input['TemplateReferenceLinePatternType']] + """ + The pattern type of the line style. Choose one of the following options: + + - `SOLID` + - `DASHED` + - `DOTTED` + """ +elif False: + TemplateReferenceLineStyleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateReferenceLineStyleConfigurationArgs: def __init__(__self__, *, @@ -87037,6 +115639,22 @@ def pattern(self, value: Optional[pulumi.Input['TemplateReferenceLinePatternType pulumi.set(self, "pattern", value) +if not MYPY: + class TemplateReferenceLineValueLabelConfigurationArgsDict(TypedDict): + format_configuration: NotRequired[pulumi.Input['TemplateNumericFormatConfigurationArgsDict']] + """ + The format configuration of the value label. + """ + relative_position: NotRequired[pulumi.Input['TemplateReferenceLineValueLabelRelativePosition']] + """ + The relative position of the value label. Choose one of the following options: + + - `BEFORE_CUSTOM_LABEL` + - `AFTER_CUSTOM_LABEL` + """ +elif False: + TemplateReferenceLineValueLabelConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateReferenceLineValueLabelConfigurationArgs: def __init__(__self__, *, @@ -87082,6 +115700,30 @@ def relative_position(self, value: Optional[pulumi.Input['TemplateReferenceLineV pulumi.set(self, "relative_position", value) +if not MYPY: + class TemplateReferenceLineArgsDict(TypedDict): + data_configuration: pulumi.Input['TemplateReferenceLineDataConfigurationArgsDict'] + """ + The data configuration of the reference line. + """ + label_configuration: NotRequired[pulumi.Input['TemplateReferenceLineLabelConfigurationArgsDict']] + """ + The label configuration of the reference line. + """ + status: NotRequired[pulumi.Input['TemplateWidgetStatus']] + """ + The status of the reference line. Choose one of the following options: + + - `ENABLE` + - `DISABLE` + """ + style_configuration: NotRequired[pulumi.Input['TemplateReferenceLineStyleConfigurationArgsDict']] + """ + The style configuration of the reference line. + """ +elif False: + TemplateReferenceLineArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateReferenceLineArgs: def __init__(__self__, *, @@ -87158,6 +115800,23 @@ def style_configuration(self, value: Optional[pulumi.Input['TemplateReferenceLin pulumi.set(self, "style_configuration", value) +if not MYPY: + class TemplateRelativeDateTimeControlDisplayOptionsArgsDict(TypedDict): + date_time_format: NotRequired[pulumi.Input[str]] + """ + Customize how dates are formatted in controls. + """ + info_icon_label_options: NotRequired[pulumi.Input['TemplateSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + title_options: NotRequired[pulumi.Input['TemplateLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + TemplateRelativeDateTimeControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRelativeDateTimeControlDisplayOptionsArgs: def __init__(__self__, *, @@ -87213,6 +115872,65 @@ def title_options(self, value: Optional[pulumi.Input['TemplateLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class TemplateRelativeDatesFilterArgsDict(TypedDict): + anchor_date_configuration: pulumi.Input['TemplateAnchorDateConfigurationArgsDict'] + """ + The date configuration of the filter. + """ + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + null_option: pulumi.Input['TemplateFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + relative_date_type: pulumi.Input['TemplateRelativeDateType'] + """ + The range date type of the filter. Choose one of the options below: + + - `PREVIOUS` + - `THIS` + - `LAST` + - `NOW` + - `NEXT` + """ + time_granularity: pulumi.Input['TemplateTimeGranularity'] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['TemplateDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + exclude_period_configuration: NotRequired[pulumi.Input['TemplateExcludePeriodConfigurationArgsDict']] + """ + The configuration for the exclude period of the filter. + """ + minimum_granularity: NotRequired[pulumi.Input['TemplateTimeGranularity']] + """ + The minimum granularity (period granularity) of the relative dates filter. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + """ + relative_date_value: NotRequired[pulumi.Input[float]] + """ + The date value of the filter. + """ +elif False: + TemplateRelativeDatesFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRelativeDatesFilterArgs: def __init__(__self__, *, @@ -87410,6 +116128,36 @@ def relative_date_value(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "relative_date_value", value) +if not MYPY: + class TemplateResourcePermissionArgsDict(TypedDict): + """ +

Permission for the resource.

+ """ + actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The IAM action to grant or revoke permissions on.

+ """ + principal: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the principal. This can be one of the + following:

+
    +
  • +

    The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight + ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. + (This is less common.)

    +
  • +
+ """ +elif False: + TemplateResourcePermissionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateResourcePermissionArgs: def __init__(__self__, *, @@ -87476,6 +116224,19 @@ def principal(self, value: pulumi.Input[str]): pulumi.set(self, "principal", value) +if not MYPY: + class TemplateRollingDateConfigurationArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + The expression of the rolling date configuration. + """ + data_set_identifier: NotRequired[pulumi.Input[str]] + """ + The data set that is used in the rolling date configuration. + """ +elif False: + TemplateRollingDateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRollingDateConfigurationArgs: def __init__(__self__, *, @@ -87514,6 +116275,23 @@ def data_set_identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "data_set_identifier", value) +if not MYPY: + class TemplateRowAlternateColorOptionsArgsDict(TypedDict): + row_alternate_colors: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Determines the list of row alternate colors. + """ + status: NotRequired[pulumi.Input['TemplateWidgetStatus']] + """ + Determines the widget status. + """ + use_primary_background_color: NotRequired[pulumi.Input['TemplateWidgetStatus']] + """ + The primary background color options for alternate rows. + """ +elif False: + TemplateRowAlternateColorOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateRowAlternateColorOptionsArgs: def __init__(__self__, *, @@ -87569,6 +116347,23 @@ def use_primary_background_color(self, value: Optional[pulumi.Input['TemplateWid pulumi.set(self, "use_primary_background_color", value) +if not MYPY: + class TemplateSameSheetTargetVisualConfigurationArgsDict(TypedDict): + target_visual_options: NotRequired[pulumi.Input['TemplateTargetVisualOptions']] + """ + The options that choose the target visual in the same sheet. + + Valid values are defined as follows: + + - `ALL_VISUALS` : Applies the filter operation to all visuals in the same sheet. + """ + target_visuals: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the target visual IDs that are located in the same sheet of the analysis. + """ +elif False: + TemplateSameSheetTargetVisualConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSameSheetTargetVisualConfigurationArgs: def __init__(__self__, *, @@ -87616,6 +116411,23 @@ def target_visuals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] pulumi.set(self, "target_visuals", value) +if not MYPY: + class TemplateSankeyDiagramAggregatedFieldWellsArgsDict(TypedDict): + destination: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The destination field wells of a sankey diagram. + """ + source: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The source field wells of a sankey diagram. + """ + weight: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The weight field wells of a sankey diagram. + """ +elif False: + TemplateSankeyDiagramAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSankeyDiagramAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -87671,6 +116483,23 @@ def weight(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "weight", value) +if not MYPY: + class TemplateSankeyDiagramChartConfigurationArgsDict(TypedDict): + data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The data label configuration of a sankey diagram. + """ + field_wells: NotRequired[pulumi.Input['TemplateSankeyDiagramFieldWellsArgsDict']] + """ + The field well configuration of a sankey diagram. + """ + sort_configuration: NotRequired[pulumi.Input['TemplateSankeyDiagramSortConfigurationArgsDict']] + """ + The sort configuration of a sankey diagram. + """ +elif False: + TemplateSankeyDiagramChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSankeyDiagramChartConfigurationArgs: def __init__(__self__, *, @@ -87726,6 +116555,15 @@ def sort_configuration(self, value: Optional[pulumi.Input['TemplateSankeyDiagram pulumi.set(self, "sort_configuration", value) +if not MYPY: + class TemplateSankeyDiagramFieldWellsArgsDict(TypedDict): + sankey_diagram_aggregated_field_wells: NotRequired[pulumi.Input['TemplateSankeyDiagramAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a sankey diagram. + """ +elif False: + TemplateSankeyDiagramFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSankeyDiagramFieldWellsArgs: def __init__(__self__, *, @@ -87749,6 +116587,23 @@ def sankey_diagram_aggregated_field_wells(self, value: Optional[pulumi.Input['Te pulumi.set(self, "sankey_diagram_aggregated_field_wells", value) +if not MYPY: + class TemplateSankeyDiagramSortConfigurationArgsDict(TypedDict): + destination_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of destination nodes that are displayed in a sankey diagram. + """ + source_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of source nodes that are displayed in a sankey diagram. + """ + weight_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the weight fields. + """ +elif False: + TemplateSankeyDiagramSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSankeyDiagramSortConfigurationArgs: def __init__(__self__, *, @@ -87804,6 +116659,31 @@ def weight_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Templa pulumi.set(self, "weight_sort", value) +if not MYPY: + class TemplateSankeyDiagramVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateSankeyDiagramChartConfigurationArgsDict']] + """ + The configuration of a sankey diagram. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateSankeyDiagramVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSankeyDiagramVisualArgs: def __init__(__self__, *, @@ -87890,6 +116770,35 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateScatterPlotCategoricallyAggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The category field well of a scatter plot. + """ + label: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The label field well of a scatter plot. + """ + size: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The size field well of a scatter plot. + """ + x_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The x-axis field well of a scatter plot. + + The x-axis is aggregated by category. + """ + y_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The y-axis field well of a scatter plot. + + The y-axis is aggregated by category. + """ +elif False: + TemplateScatterPlotCategoricallyAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateScatterPlotCategoricallyAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -87985,6 +116894,47 @@ def y_axis(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "y_axis", value) +if not MYPY: + class TemplateScatterPlotConfigurationArgsDict(TypedDict): + data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['TemplateScatterPlotFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + """ + The palette (chart color) display setup of the visual. + """ + x_axis_display_options: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, and axis step) of the scatter plot's x-axis. + """ + x_axis_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of the scatter plot's x-axis. + """ + y_axis_display_options: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The label display options (grid line, range, scale, and axis step) of the scatter plot's y-axis. + """ + y_axis_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) of the scatter plot's y-axis. + """ +elif False: + TemplateScatterPlotConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateScatterPlotConfigurationArgs: def __init__(__self__, *, @@ -88136,6 +117086,19 @@ def y_axis_label_options(self, value: Optional[pulumi.Input['TemplateChartAxisLa pulumi.set(self, "y_axis_label_options", value) +if not MYPY: + class TemplateScatterPlotFieldWellsArgsDict(TypedDict): + scatter_plot_categorically_aggregated_field_wells: NotRequired[pulumi.Input['TemplateScatterPlotCategoricallyAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a scatter plot. The x and y-axes of scatter plots with aggregated field wells are aggregated by category, label, or both. + """ + scatter_plot_unaggregated_field_wells: NotRequired[pulumi.Input['TemplateScatterPlotUnaggregatedFieldWellsArgsDict']] + """ + The unaggregated field wells of a scatter plot. The x and y-axes of these scatter plots are unaggregated. + """ +elif False: + TemplateScatterPlotFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateScatterPlotFieldWellsArgs: def __init__(__self__, *, @@ -88175,6 +117138,35 @@ def scatter_plot_unaggregated_field_wells(self, value: Optional[pulumi.Input['Te pulumi.set(self, "scatter_plot_unaggregated_field_wells", value) +if not MYPY: + class TemplateScatterPlotUnaggregatedFieldWellsArgsDict(TypedDict): + category: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The category field well of a scatter plot. + """ + label: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The label field well of a scatter plot. + """ + size: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The size field well of a scatter plot. + """ + x_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The x-axis field well of a scatter plot. + + The x-axis is a dimension field and cannot be aggregated. + """ + y_axis: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The y-axis field well of a scatter plot. + + The y-axis is a dimension field and cannot be aggregated. + """ +elif False: + TemplateScatterPlotUnaggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateScatterPlotUnaggregatedFieldWellsArgs: def __init__(__self__, *, @@ -88270,6 +117262,35 @@ def y_axis(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateDim pulumi.set(self, "y_axis", value) +if not MYPY: + class TemplateScatterPlotVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateScatterPlotConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateScatterPlotVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateScatterPlotVisualArgs: def __init__(__self__, *, @@ -88372,6 +117393,19 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateScrollBarOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the data zoom scroll bar. + """ + visible_range: NotRequired[pulumi.Input['TemplateVisibleRangeOptionsArgsDict']] + """ + The visibility range for the data zoom scroll bar. + """ +elif False: + TemplateScrollBarOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateScrollBarOptionsArgs: def __init__(__self__, *, @@ -88411,6 +117445,15 @@ def visible_range(self, value: Optional[pulumi.Input['TemplateVisibleRangeOption pulumi.set(self, "visible_range", value) +if not MYPY: + class TemplateSecondaryValueOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines the visibility of the secondary value. + """ +elif False: + TemplateSecondaryValueOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSecondaryValueOptionsArgs: def __init__(__self__, *, @@ -88434,6 +117477,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateSectionAfterPageBreakArgsDict(TypedDict): + status: NotRequired[pulumi.Input['TemplateSectionPageBreakStatus']] + """ + The option that enables or disables a page break at the end of a section. + """ +elif False: + TemplateSectionAfterPageBreakArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSectionAfterPageBreakArgs: def __init__(__self__, *, @@ -88457,6 +117509,15 @@ def status(self, value: Optional[pulumi.Input['TemplateSectionPageBreakStatus']] pulumi.set(self, "status", value) +if not MYPY: + class TemplateSectionBasedLayoutCanvasSizeOptionsArgsDict(TypedDict): + paper_canvas_size_options: NotRequired[pulumi.Input['TemplateSectionBasedLayoutPaperCanvasSizeOptionsArgsDict']] + """ + The options for a paper canvas of a section-based layout. + """ +elif False: + TemplateSectionBasedLayoutCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSectionBasedLayoutCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -88480,6 +117541,27 @@ def paper_canvas_size_options(self, value: Optional[pulumi.Input['TemplateSectio pulumi.set(self, "paper_canvas_size_options", value) +if not MYPY: + class TemplateSectionBasedLayoutConfigurationArgsDict(TypedDict): + body_sections: pulumi.Input[Sequence[pulumi.Input['TemplateBodySectionConfigurationArgsDict']]] + """ + A list of body section configurations. + """ + canvas_size_options: pulumi.Input['TemplateSectionBasedLayoutCanvasSizeOptionsArgsDict'] + """ + The options for the canvas of a section-based layout. + """ + footer_sections: pulumi.Input[Sequence[pulumi.Input['TemplateHeaderFooterSectionConfigurationArgsDict']]] + """ + A list of footer section configurations. + """ + header_sections: pulumi.Input[Sequence[pulumi.Input['TemplateHeaderFooterSectionConfigurationArgsDict']]] + """ + A list of header section configurations. + """ +elif False: + TemplateSectionBasedLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSectionBasedLayoutConfigurationArgs: def __init__(__self__, *, @@ -88547,6 +117629,26 @@ def header_sections(self, value: pulumi.Input[Sequence[pulumi.Input['TemplateHea pulumi.set(self, "header_sections", value) +if not MYPY: + class TemplateSectionBasedLayoutPaperCanvasSizeOptionsArgsDict(TypedDict): + paper_margin: NotRequired[pulumi.Input['TemplateSpacingArgsDict']] + """ + Defines the spacing between the canvas content and the top, bottom, left, and right edges. + """ + paper_orientation: NotRequired[pulumi.Input['TemplatePaperOrientation']] + """ + The paper orientation that is used to define canvas dimensions. Choose one of the following options: + + - PORTRAIT + - LANDSCAPE + """ + paper_size: NotRequired[pulumi.Input['TemplatePaperSize']] + """ + The paper size that is used to define canvas dimensions. + """ +elif False: + TemplateSectionBasedLayoutPaperCanvasSizeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSectionBasedLayoutPaperCanvasSizeOptionsArgs: def __init__(__self__, *, @@ -88608,6 +117710,15 @@ def paper_size(self, value: Optional[pulumi.Input['TemplatePaperSize']]): pulumi.set(self, "paper_size", value) +if not MYPY: + class TemplateSectionLayoutConfigurationArgsDict(TypedDict): + free_form_layout: pulumi.Input['TemplateFreeFormSectionLayoutConfigurationArgsDict'] + """ + The free-form layout configuration of a section. + """ +elif False: + TemplateSectionLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSectionLayoutConfigurationArgs: def __init__(__self__, *, @@ -88630,6 +117741,15 @@ def free_form_layout(self, value: pulumi.Input['TemplateFreeFormSectionLayoutCon pulumi.set(self, "free_form_layout", value) +if not MYPY: + class TemplateSectionPageBreakConfigurationArgsDict(TypedDict): + after: NotRequired[pulumi.Input['TemplateSectionAfterPageBreakArgsDict']] + """ + The configuration of a page break after a section. + """ +elif False: + TemplateSectionPageBreakConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSectionPageBreakConfigurationArgs: def __init__(__self__, *, @@ -88653,6 +117773,21 @@ def after(self, value: Optional[pulumi.Input['TemplateSectionAfterPageBreakArgs' pulumi.set(self, "after", value) +if not MYPY: + class TemplateSectionStyleArgsDict(TypedDict): + height: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ + padding: NotRequired[pulumi.Input['TemplateSpacingArgsDict']] + """ + The spacing between section content and its top, bottom, left, and right edges. + + There is no padding by default. + """ +elif False: + TemplateSectionStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSectionStyleArgs: def __init__(__self__, *, @@ -88696,6 +117831,15 @@ def padding(self, value: Optional[pulumi.Input['TemplateSpacingArgs']]): pulumi.set(self, "padding", value) +if not MYPY: + class TemplateSelectedSheetsFilterScopeConfigurationArgsDict(TypedDict): + sheet_visual_scoping_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateSheetVisualScopingConfigurationArgsDict']]]] + """ + The sheet ID and visual IDs of the sheet and visuals that the filter is applied to. + """ +elif False: + TemplateSelectedSheetsFilterScopeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSelectedSheetsFilterScopeConfigurationArgs: def __init__(__self__, *, @@ -88719,6 +117863,19 @@ def sheet_visual_scoping_configurations(self, value: Optional[pulumi.Input[Seque pulumi.set(self, "sheet_visual_scoping_configurations", value) +if not MYPY: + class TemplateSeriesItemArgsDict(TypedDict): + data_field_series_item: NotRequired[pulumi.Input['TemplateDataFieldSeriesItemArgsDict']] + """ + The data field series item configuration of a line chart. + """ + field_series_item: NotRequired[pulumi.Input['TemplateFieldSeriesItemArgsDict']] + """ + The field series item configuration of a line chart. + """ +elif False: + TemplateSeriesItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSeriesItemArgs: def __init__(__self__, *, @@ -88758,6 +117915,16 @@ def field_series_item(self, value: Optional[pulumi.Input['TemplateFieldSeriesIte pulumi.set(self, "field_series_item", value) +if not MYPY: + class TemplateSetParameterValueConfigurationArgsDict(TypedDict): + destination_parameter_name: pulumi.Input[str] + """ + The destination parameter name of the `SetParameterValueConfiguration` . + """ + value: pulumi.Input['TemplateDestinationParameterValueConfigurationArgsDict'] +elif False: + TemplateSetParameterValueConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSetParameterValueConfigurationArgs: def __init__(__self__, *, @@ -88791,6 +117958,15 @@ def value(self, value: pulumi.Input['TemplateDestinationParameterValueConfigurat pulumi.set(self, "value", value) +if not MYPY: + class TemplateShapeConditionalFormatArgsDict(TypedDict): + background_color: pulumi.Input['TemplateConditionalFormattingColorArgsDict'] + """ + The conditional formatting for the shape background color of a filled map visual. + """ +elif False: + TemplateShapeConditionalFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateShapeConditionalFormatArgs: def __init__(__self__, *, @@ -88813,6 +117989,19 @@ def background_color(self, value: pulumi.Input['TemplateConditionalFormattingCol pulumi.set(self, "background_color", value) +if not MYPY: + class TemplateSheetControlInfoIconLabelOptionsArgsDict(TypedDict): + info_icon_text: NotRequired[pulumi.Input[str]] + """ + The text content of info icon. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility configuration of info icon label options. + """ +elif False: + TemplateSheetControlInfoIconLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSheetControlInfoIconLabelOptionsArgs: def __init__(__self__, *, @@ -88852,6 +118041,15 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateSheetControlLayoutConfigurationArgsDict(TypedDict): + grid_layout: NotRequired[pulumi.Input['TemplateGridLayoutConfigurationArgsDict']] + """ + The configuration that determines the elements and canvas size options of sheet control. + """ +elif False: + TemplateSheetControlLayoutConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSheetControlLayoutConfigurationArgs: def __init__(__self__, *, @@ -88875,6 +118073,15 @@ def grid_layout(self, value: Optional[pulumi.Input['TemplateGridLayoutConfigurat pulumi.set(self, "grid_layout", value) +if not MYPY: + class TemplateSheetControlLayoutArgsDict(TypedDict): + configuration: pulumi.Input['TemplateSheetControlLayoutConfigurationArgsDict'] + """ + The configuration that determines the elements and canvas size options of sheet control. + """ +elif False: + TemplateSheetControlLayoutArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSheetControlLayoutArgs: def __init__(__self__, *, @@ -88897,6 +118104,64 @@ def configuration(self, value: pulumi.Input['TemplateSheetControlLayoutConfigura pulumi.set(self, "configuration", value) +if not MYPY: + class TemplateSheetDefinitionArgsDict(TypedDict): + sheet_id: pulumi.Input[str] + """ + The unique identifier of a sheet. + """ + content_type: NotRequired[pulumi.Input['TemplateSheetContentType']] + """ + The layout content type of the sheet. Choose one of the following options: + + - `PAGINATED` : Creates a sheet for a paginated report. + - `INTERACTIVE` : Creates a sheet for an interactive dashboard. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description of the sheet. + """ + filter_controls: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFilterControlArgsDict']]]] + """ + The list of filter controls that are on a sheet. + + For more information, see [Adding filter controls to analysis sheets](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html) in the *Amazon QuickSight User Guide* . + """ + layouts: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateLayoutArgsDict']]]] + """ + Layouts define how the components of a sheet are arranged. + + For more information, see [Types of layout](https://docs.aws.amazon.com/quicksight/latest/user/types-of-layout.html) in the *Amazon QuickSight User Guide* . + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the sheet. This name is displayed on the sheet's tab in the Amazon QuickSight console. + """ + parameter_controls: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateParameterControlArgsDict']]]] + """ + The list of parameter controls that are on a sheet. + + For more information, see [Using a Control with a Parameter in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-controls.html) in the *Amazon QuickSight User Guide* . + """ + sheet_control_layouts: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateSheetControlLayoutArgsDict']]]] + """ + The control layouts of the sheet. + """ + text_boxes: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateSheetTextBoxArgsDict']]]] + """ + The text boxes that are on a sheet. + """ + title: NotRequired[pulumi.Input[str]] + """ + The title of the sheet. + """ + visuals: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualArgsDict']]]] + """ + A list of the visuals that are on a sheet. Visual placement is determined by the layout of the sheet. + """ +elif False: + TemplateSheetDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSheetDefinitionArgs: def __init__(__self__, *, @@ -89097,6 +118362,18 @@ def visuals(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateVi pulumi.set(self, "visuals", value) +if not MYPY: + class TemplateSheetElementConfigurationOverridesArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines whether or not the overrides are visible. Choose one of the following options: + + - `VISIBLE` + - `HIDDEN` + """ +elif False: + TemplateSheetElementConfigurationOverridesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSheetElementConfigurationOverridesArgs: def __init__(__self__, *, @@ -89126,6 +118403,19 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateSheetElementRenderingRuleArgsDict(TypedDict): + configuration_overrides: pulumi.Input['TemplateSheetElementConfigurationOverridesArgsDict'] + """ + The override configuration of the rendering rules of a sheet. + """ + expression: pulumi.Input[str] + """ + The expression of the rendering rules of a sheet. + """ +elif False: + TemplateSheetElementRenderingRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSheetElementRenderingRuleArgs: def __init__(__self__, *, @@ -89163,6 +118453,19 @@ def expression(self, value: pulumi.Input[str]): pulumi.set(self, "expression", value) +if not MYPY: + class TemplateSheetTextBoxArgsDict(TypedDict): + sheet_text_box_id: pulumi.Input[str] + """ + The unique identifier for a text box. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers. + """ + content: NotRequired[pulumi.Input[str]] + """ + The content that is displayed in the text box. + """ +elif False: + TemplateSheetTextBoxArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSheetTextBoxArgs: def __init__(__self__, *, @@ -89201,6 +118504,26 @@ def content(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "content", value) +if not MYPY: + class TemplateSheetVisualScopingConfigurationArgsDict(TypedDict): + scope: pulumi.Input['TemplateFilterVisualScope'] + """ + The scope of the applied entities. Choose one of the following options: + + - `ALL_VISUALS` + - `SELECTED_VISUALS` + """ + sheet_id: pulumi.Input[str] + """ + The selected sheet that the filter is applied to. + """ + visual_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The selected visuals that the filter is applied to. + """ +elif False: + TemplateSheetVisualScopingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSheetVisualScopingConfigurationArgs: def __init__(__self__, *, @@ -89260,6 +118583,19 @@ def visual_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "visual_ids", value) +if not MYPY: + class TemplateShortFormatTextArgsDict(TypedDict): + plain_text: NotRequired[pulumi.Input[str]] + """ + Plain text format. + """ + rich_text: NotRequired[pulumi.Input[str]] + """ + Rich text. Examples of rich text include bold, underline, and italics. + """ +elif False: + TemplateShortFormatTextArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateShortFormatTextArgs: def __init__(__self__, *, @@ -89299,6 +118635,15 @@ def rich_text(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "rich_text", value) +if not MYPY: + class TemplateSimpleClusterMarkerArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The color of the simple cluster marker. + """ +elif False: + TemplateSimpleClusterMarkerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSimpleClusterMarkerArgs: def __init__(__self__, *, @@ -89322,6 +118667,15 @@ def color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "color", value) +if not MYPY: + class TemplateSingleAxisOptionsArgsDict(TypedDict): + y_axis_options: NotRequired[pulumi.Input['TemplateYAxisOptionsArgsDict']] + """ + The Y axis options of a single axis configuration. + """ +elif False: + TemplateSingleAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSingleAxisOptionsArgs: def __init__(__self__, *, @@ -89345,6 +118699,19 @@ def y_axis_options(self, value: Optional[pulumi.Input['TemplateYAxisOptionsArgs' pulumi.set(self, "y_axis_options", value) +if not MYPY: + class TemplateSliderControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['TemplateSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + title_options: NotRequired[pulumi.Input['TemplateLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + TemplateSliderControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSliderControlDisplayOptionsArgs: def __init__(__self__, *, @@ -89384,6 +118751,19 @@ def title_options(self, value: Optional[pulumi.Input['TemplateLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class TemplateSmallMultiplesAxisPropertiesArgsDict(TypedDict): + placement: NotRequired[pulumi.Input['TemplateSmallMultiplesAxisPlacement']] + """ + Defines the placement of the axis. By default, axes are rendered `OUTSIDE` of the panels. Axes with `INDEPENDENT` scale are rendered `INSIDE` the panels. + """ + scale: NotRequired[pulumi.Input['TemplateSmallMultiplesAxisScale']] + """ + Determines whether scale of the axes are shared or independent. The default value is `SHARED` . + """ +elif False: + TemplateSmallMultiplesAxisPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSmallMultiplesAxisPropertiesArgs: def __init__(__self__, *, @@ -89423,6 +118803,35 @@ def scale(self, value: Optional[pulumi.Input['TemplateSmallMultiplesAxisScale']] pulumi.set(self, "scale", value) +if not MYPY: + class TemplateSmallMultiplesOptionsArgsDict(TypedDict): + max_visible_columns: NotRequired[pulumi.Input[float]] + """ + Sets the maximum number of visible columns to display in the grid of small multiples panels. + + The default is `Auto` , which automatically adjusts the columns in the grid to fit the overall layout and size of the given chart. + """ + max_visible_rows: NotRequired[pulumi.Input[float]] + """ + Sets the maximum number of visible rows to display in the grid of small multiples panels. + + The default value is `Auto` , which automatically adjusts the rows in the grid to fit the overall layout and size of the given chart. + """ + panel_configuration: NotRequired[pulumi.Input['TemplatePanelConfigurationArgsDict']] + """ + Configures the display options for each small multiples panel. + """ + x_axis: NotRequired[pulumi.Input['TemplateSmallMultiplesAxisPropertiesArgsDict']] + """ + The properties of a small multiples X axis. + """ + y_axis: NotRequired[pulumi.Input['TemplateSmallMultiplesAxisPropertiesArgsDict']] + """ + The properties of a small multiples Y axis. + """ +elif False: + TemplateSmallMultiplesOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSmallMultiplesOptionsArgs: def __init__(__self__, *, @@ -89518,6 +118927,23 @@ def y_axis(self, value: Optional[pulumi.Input['TemplateSmallMultiplesAxisPropert pulumi.set(self, "y_axis", value) +if not MYPY: + class TemplateSourceAnalysisArgsDict(TypedDict): + """ +

The source analysis of the template.

+ """ + arn: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the resource.

+ """ + data_set_references: pulumi.Input[Sequence[pulumi.Input['TemplateDataSetReferenceArgsDict']]] + """ +

A structure containing information about the dataset references used as placeholders + in the template.

+ """ +elif False: + TemplateSourceAnalysisArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSourceAnalysisArgs: def __init__(__self__, *, @@ -89558,6 +118984,22 @@ def data_set_references(self, value: pulumi.Input[Sequence[pulumi.Input['Templat pulumi.set(self, "data_set_references", value) +if not MYPY: + class TemplateSourceEntityArgsDict(TypedDict): + """ +

The source entity of the template.

+ """ + source_analysis: NotRequired[pulumi.Input['TemplateSourceAnalysisArgsDict']] + """ + The source analysis, if it is based on an analysis. + """ + source_template: NotRequired[pulumi.Input['TemplateSourceTemplateArgsDict']] + """ + The source template, if it is based on an template. + """ +elif False: + TemplateSourceEntityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSourceEntityArgs: def __init__(__self__, *, @@ -89598,6 +119040,18 @@ def source_template(self, value: Optional[pulumi.Input['TemplateSourceTemplateAr pulumi.set(self, "source_template", value) +if not MYPY: + class TemplateSourceTemplateArgsDict(TypedDict): + """ +

The source template of the template.

+ """ + arn: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the resource.

+ """ +elif False: + TemplateSourceTemplateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSourceTemplateArgs: def __init__(__self__, *, @@ -89621,6 +119075,27 @@ def arn(self, value: pulumi.Input[str]): pulumi.set(self, "arn", value) +if not MYPY: + class TemplateSpacingArgsDict(TypedDict): + bottom: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ + left: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ + right: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ + top: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit + """ +elif False: + TemplateSpacingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSpacingArgs: def __init__(__self__, *, @@ -89692,6 +119167,19 @@ def top(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "top", value) +if not MYPY: + class TemplateStringDefaultValuesArgsDict(TypedDict): + dynamic_value: NotRequired[pulumi.Input['TemplateDynamicDefaultValueArgsDict']] + """ + The dynamic value of the `StringDefaultValues` . Different defaults displayed according to users, groups, and values mapping. + """ + static_values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The static values of the `DecimalDefaultValues` . + """ +elif False: + TemplateStringDefaultValuesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateStringDefaultValuesArgs: def __init__(__self__, *, @@ -89731,6 +119219,19 @@ def static_values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "static_values", value) +if not MYPY: + class TemplateStringFormatConfigurationArgsDict(TypedDict): + null_value_format_configuration: NotRequired[pulumi.Input['TemplateNullValueFormatConfigurationArgsDict']] + """ + The options that determine the null value format configuration. + """ + numeric_format_configuration: NotRequired[pulumi.Input['TemplateNumericFormatConfigurationArgsDict']] + """ + The formatting configuration for numeric strings. + """ +elif False: + TemplateStringFormatConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateStringFormatConfigurationArgs: def __init__(__self__, *, @@ -89770,6 +119271,28 @@ def numeric_format_configuration(self, value: Optional[pulumi.Input['TemplateNum pulumi.set(self, "numeric_format_configuration", value) +if not MYPY: + class TemplateStringParameterDeclarationArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the parameter that is being declared. + """ + parameter_value_type: pulumi.Input['TemplateParameterValueType'] + """ + The value type determines whether the parameter is a single-value or multi-value parameter. + """ + default_values: NotRequired[pulumi.Input['TemplateStringDefaultValuesArgsDict']] + """ + The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided. + """ + mapped_data_set_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMappedDataSetParameterArgsDict']]]] + value_when_unset: NotRequired[pulumi.Input['TemplateStringValueWhenUnsetConfigurationArgsDict']] + """ + The configuration that defines the default value of a `String` parameter when a value has not been set. + """ +elif False: + TemplateStringParameterDeclarationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateStringParameterDeclarationArgs: def __init__(__self__, *, @@ -89851,6 +119374,22 @@ def value_when_unset(self, value: Optional[pulumi.Input['TemplateStringValueWhen pulumi.set(self, "value_when_unset", value) +if not MYPY: + class TemplateStringValueWhenUnsetConfigurationArgsDict(TypedDict): + custom_value: NotRequired[pulumi.Input[str]] + """ + A custom value that's used when the value of a parameter isn't set. + """ + value_when_unset_option: NotRequired[pulumi.Input['TemplateValueWhenUnsetOption']] + """ + The built-in options for default values. The value can be one of the following: + + - `RECOMMENDED` : The recommended value. + - `NULL` : The `NULL` value. + """ +elif False: + TemplateStringValueWhenUnsetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateStringValueWhenUnsetConfigurationArgs: def __init__(__self__, *, @@ -89896,6 +119435,43 @@ def value_when_unset_option(self, value: Optional[pulumi.Input['TemplateValueWhe pulumi.set(self, "value_when_unset_option", value) +if not MYPY: + class TemplateSubtotalOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the subtotal cells. + """ + field_level: NotRequired[pulumi.Input['TemplatePivotTableSubtotalLevel']] + """ + The field level (all, custom, last) for the subtotal cells. + """ + field_level_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplatePivotTableFieldSubtotalOptionsArgsDict']]]] + """ + The optional configuration of subtotal cells. + """ + metric_header_cell_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The cell styling options for the subtotals of header cells. + """ + style_targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateTableStyleTargetArgsDict']]]] + """ + The style targets options for subtotals. + """ + total_cell_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The cell styling options for the subtotal cells. + """ + totals_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility configuration for the subtotal cells. + """ + value_cell_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The cell styling options for the subtotals of value cells. + """ +elif False: + TemplateSubtotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateSubtotalOptionsArgs: def __init__(__self__, *, @@ -90031,6 +119607,19 @@ def value_cell_style(self, value: Optional[pulumi.Input['TemplateTableCellStyleA pulumi.set(self, "value_cell_style", value) +if not MYPY: + class TemplateTableAggregatedFieldWellsArgsDict(TypedDict): + group_by: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The group by field well for a pivot table. Values are grouped by group by fields. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The values field well for a pivot table. Values are aggregated based on group by fields. + """ +elif False: + TemplateTableAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -90070,6 +119659,23 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateTableBorderOptionsArgsDict(TypedDict): + color: NotRequired[pulumi.Input[str]] + """ + The color of a table border. + """ + style: NotRequired[pulumi.Input['TemplateTableBorderStyle']] + """ + The style (none, solid) of a table border. + """ + thickness: NotRequired[pulumi.Input[float]] + """ + The thickness of a table border. + """ +elif False: + TemplateTableBorderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableBorderOptionsArgs: def __init__(__self__, *, @@ -90125,6 +119731,19 @@ def thickness(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "thickness", value) +if not MYPY: + class TemplateTableCellConditionalFormattingArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID of the cell for conditional formatting. + """ + text_format: NotRequired[pulumi.Input['TemplateTextConditionalFormatArgsDict']] + """ + The text format of the cell for conditional formatting. + """ +elif False: + TemplateTableCellConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableCellConditionalFormattingArgs: def __init__(__self__, *, @@ -90163,6 +119782,15 @@ def text_format(self, value: Optional[pulumi.Input['TemplateTextConditionalForma pulumi.set(self, "text_format", value) +if not MYPY: + class TemplateTableCellImageSizingConfigurationArgsDict(TypedDict): + table_cell_image_scaling_configuration: NotRequired[pulumi.Input['TemplateTableCellImageScalingConfiguration']] + """ + The cell scaling configuration of the sizing options for the table image configuration. + """ +elif False: + TemplateTableCellImageSizingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableCellImageSizingConfigurationArgs: def __init__(__self__, *, @@ -90186,6 +119814,43 @@ def table_cell_image_scaling_configuration(self, value: Optional[pulumi.Input['T pulumi.set(self, "table_cell_image_scaling_configuration", value) +if not MYPY: + class TemplateTableCellStyleArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input[str]] + """ + The background color for the table cells. + """ + border: NotRequired[pulumi.Input['TemplateGlobalTableBorderOptionsArgsDict']] + """ + The borders for the table cells. + """ + font_configuration: NotRequired[pulumi.Input['TemplateFontConfigurationArgsDict']] + """ + The font configuration of the table cells. + """ + height: NotRequired[pulumi.Input[float]] + """ + The height color for the table cells. + """ + horizontal_text_alignment: NotRequired[pulumi.Input['TemplateHorizontalTextAlignment']] + """ + The horizontal text alignment (left, center, right, auto) for the table cells. + """ + text_wrap: NotRequired[pulumi.Input['TemplateTextWrap']] + """ + The text wrap (none, wrap) for the table cells. + """ + vertical_text_alignment: NotRequired[pulumi.Input['TemplateVerticalTextAlignment']] + """ + The vertical text alignment (top, middle, bottom) for the table cells. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the table cells. + """ +elif False: + TemplateTableCellStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableCellStyleArgs: def __init__(__self__, *, @@ -90321,6 +119986,19 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateTableConditionalFormattingOptionArgsDict(TypedDict): + cell: NotRequired[pulumi.Input['TemplateTableCellConditionalFormattingArgsDict']] + """ + The cell conditional formatting option for a table. + """ + row: NotRequired[pulumi.Input['TemplateTableRowConditionalFormattingArgsDict']] + """ + The row conditional formatting option for a table. + """ +elif False: + TemplateTableConditionalFormattingOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableConditionalFormattingOptionArgs: def __init__(__self__, *, @@ -90360,6 +120038,15 @@ def row(self, value: Optional[pulumi.Input['TemplateTableRowConditionalFormattin pulumi.set(self, "row", value) +if not MYPY: + class TemplateTableConditionalFormattingArgsDict(TypedDict): + conditional_formatting_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateTableConditionalFormattingOptionArgsDict']]]] + """ + Conditional formatting options for a `PivotTableVisual` . + """ +elif False: + TemplateTableConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableConditionalFormattingArgs: def __init__(__self__, *, @@ -90383,6 +120070,39 @@ def conditional_formatting_options(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "conditional_formatting_options", value) +if not MYPY: + class TemplateTableConfigurationArgsDict(TypedDict): + field_options: NotRequired[pulumi.Input['TemplateTableFieldOptionsArgsDict']] + """ + The field options for a table visual. + """ + field_wells: NotRequired[pulumi.Input['TemplateTableFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + paginated_report_options: NotRequired[pulumi.Input['TemplateTablePaginatedReportOptionsArgsDict']] + """ + The paginated report options for a table visual. + """ + sort_configuration: NotRequired[pulumi.Input['TemplateTableSortConfigurationArgsDict']] + """ + The sort configuration for a `TableVisual` . + """ + table_inline_visualizations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateTableInlineVisualizationArgsDict']]]] + """ + A collection of inline visualizations to display within a chart. + """ + table_options: NotRequired[pulumi.Input['TemplateTableOptionsArgsDict']] + """ + The table options for a table visual. + """ + total_options: NotRequired[pulumi.Input['TemplateTotalOptionsArgsDict']] + """ + The total options for a table visual. + """ +elif False: + TemplateTableConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableConfigurationArgs: def __init__(__self__, *, @@ -90502,6 +120222,15 @@ def total_options(self, value: Optional[pulumi.Input['TemplateTotalOptionsArgs'] pulumi.set(self, "total_options", value) +if not MYPY: + class TemplateTableFieldCustomIconContentArgsDict(TypedDict): + icon: NotRequired[pulumi.Input['TemplateTableFieldIconSetType']] + """ + The icon set type (link) of the custom icon content for table URL link content. + """ +elif False: + TemplateTableFieldCustomIconContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableFieldCustomIconContentArgs: def __init__(__self__, *, @@ -90525,6 +120254,19 @@ def icon(self, value: Optional[pulumi.Input['TemplateTableFieldIconSetType']]): pulumi.set(self, "icon", value) +if not MYPY: + class TemplateTableFieldCustomTextContentArgsDict(TypedDict): + font_configuration: pulumi.Input['TemplateFontConfigurationArgsDict'] + """ + The font configuration of the custom text content for the table URL link content. + """ + value: NotRequired[pulumi.Input[str]] + """ + The string value of the custom text content for the table URL link content. + """ +elif False: + TemplateTableFieldCustomTextContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableFieldCustomTextContentArgs: def __init__(__self__, *, @@ -90563,6 +120305,15 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateTableFieldImageConfigurationArgsDict(TypedDict): + sizing_options: NotRequired[pulumi.Input['TemplateTableCellImageSizingConfigurationArgsDict']] + """ + The sizing options for the table image configuration. + """ +elif False: + TemplateTableFieldImageConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableFieldImageConfigurationArgs: def __init__(__self__, *, @@ -90586,6 +120337,19 @@ def sizing_options(self, value: Optional[pulumi.Input['TemplateTableCellImageSiz pulumi.set(self, "sizing_options", value) +if not MYPY: + class TemplateTableFieldLinkConfigurationArgsDict(TypedDict): + content: pulumi.Input['TemplateTableFieldLinkContentConfigurationArgsDict'] + """ + The URL content (text, icon) for the table link configuration. + """ + target: pulumi.Input['TemplateUrlTargetConfiguration'] + """ + The URL target (new tab, new window, same tab) for the table link configuration. + """ +elif False: + TemplateTableFieldLinkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableFieldLinkConfigurationArgs: def __init__(__self__, *, @@ -90623,6 +120387,19 @@ def target(self, value: pulumi.Input['TemplateUrlTargetConfiguration']): pulumi.set(self, "target", value) +if not MYPY: + class TemplateTableFieldLinkContentConfigurationArgsDict(TypedDict): + custom_icon_content: NotRequired[pulumi.Input['TemplateTableFieldCustomIconContentArgsDict']] + """ + The custom icon content for the table link content configuration. + """ + custom_text_content: NotRequired[pulumi.Input['TemplateTableFieldCustomTextContentArgsDict']] + """ + The custom text content (value, font configuration) for the table link content configuration. + """ +elif False: + TemplateTableFieldLinkContentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableFieldLinkContentConfigurationArgs: def __init__(__self__, *, @@ -90662,6 +120439,23 @@ def custom_text_content(self, value: Optional[pulumi.Input['TemplateTableFieldCu pulumi.set(self, "custom_text_content", value) +if not MYPY: + class TemplateTableFieldOptionsArgsDict(TypedDict): + order: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The order of the field IDs that are configured as field options for a table visual. + """ + pinned_field_options: NotRequired[pulumi.Input['TemplateTablePinnedFieldOptionsArgsDict']] + """ + The settings for the pinned columns of a table visual. + """ + selected_field_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateTableFieldOptionArgsDict']]]] + """ + The field options to be configured to a table. + """ +elif False: + TemplateTableFieldOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableFieldOptionsArgs: def __init__(__self__, *, @@ -90717,6 +120511,31 @@ def selected_field_options(self, value: Optional[pulumi.Input[Sequence[pulumi.In pulumi.set(self, "selected_field_options", value) +if not MYPY: + class TemplateTableFieldOptionArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field ID for a table field. + """ + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label for a table field. + """ + url_styling: NotRequired[pulumi.Input['TemplateTableFieldUrlConfigurationArgsDict']] + """ + The URL configuration for a table field. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of a table field. + """ + width: NotRequired[pulumi.Input[str]] + """ + String based length that is composed of value and unit in px + """ +elif False: + TemplateTableFieldOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableFieldOptionArgs: def __init__(__self__, *, @@ -90803,6 +120622,19 @@ def width(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "width", value) +if not MYPY: + class TemplateTableFieldUrlConfigurationArgsDict(TypedDict): + image_configuration: NotRequired[pulumi.Input['TemplateTableFieldImageConfigurationArgsDict']] + """ + The image configuration of a table field URL. + """ + link_configuration: NotRequired[pulumi.Input['TemplateTableFieldLinkConfigurationArgsDict']] + """ + The link configuration of a table field URL. + """ +elif False: + TemplateTableFieldUrlConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableFieldUrlConfigurationArgs: def __init__(__self__, *, @@ -90842,6 +120674,19 @@ def link_configuration(self, value: Optional[pulumi.Input['TemplateTableFieldLin pulumi.set(self, "link_configuration", value) +if not MYPY: + class TemplateTableFieldWellsArgsDict(TypedDict): + table_aggregated_field_wells: NotRequired[pulumi.Input['TemplateTableAggregatedFieldWellsArgsDict']] + """ + The aggregated field well for the table. + """ + table_unaggregated_field_wells: NotRequired[pulumi.Input['TemplateTableUnaggregatedFieldWellsArgsDict']] + """ + The unaggregated field well for the table. + """ +elif False: + TemplateTableFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableFieldWellsArgs: def __init__(__self__, *, @@ -90881,6 +120726,15 @@ def table_unaggregated_field_wells(self, value: Optional[pulumi.Input['TemplateT pulumi.set(self, "table_unaggregated_field_wells", value) +if not MYPY: + class TemplateTableInlineVisualizationArgsDict(TypedDict): + data_bars: NotRequired[pulumi.Input['TemplateDataBarsOptionsArgsDict']] + """ + The configuration of the inline visualization of the data bars within a chart. + """ +elif False: + TemplateTableInlineVisualizationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableInlineVisualizationArgs: def __init__(__self__, *, @@ -90904,6 +120758,27 @@ def data_bars(self, value: Optional[pulumi.Input['TemplateDataBarsOptionsArgs']] pulumi.set(self, "data_bars", value) +if not MYPY: + class TemplateTableOptionsArgsDict(TypedDict): + cell_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The table cell style of table cells. + """ + header_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + The table cell style of a table header. + """ + orientation: NotRequired[pulumi.Input['TemplateTableOrientation']] + """ + The orientation (vertical, horizontal) for a table. + """ + row_alternate_color_options: NotRequired[pulumi.Input['TemplateRowAlternateColorOptionsArgsDict']] + """ + The row alternate color options (widget status, row alternate colors) for a table. + """ +elif False: + TemplateTableOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableOptionsArgs: def __init__(__self__, *, @@ -90975,6 +120850,19 @@ def row_alternate_color_options(self, value: Optional[pulumi.Input['TemplateRowA pulumi.set(self, "row_alternate_color_options", value) +if not MYPY: + class TemplateTablePaginatedReportOptionsArgsDict(TypedDict): + overflow_column_header_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of repeating header rows on each page. + """ + vertical_overflow_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of printing table overflow across pages. + """ +elif False: + TemplateTablePaginatedReportOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTablePaginatedReportOptionsArgs: def __init__(__self__, *, @@ -91014,6 +120902,15 @@ def vertical_overflow_visibility(self, value: Optional[pulumi.Input['TemplateVis pulumi.set(self, "vertical_overflow_visibility", value) +if not MYPY: + class TemplateTablePinnedFieldOptionsArgsDict(TypedDict): + pinned_left_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of columns to be pinned to the left of a table visual. + """ +elif False: + TemplateTablePinnedFieldOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTablePinnedFieldOptionsArgs: def __init__(__self__, *, @@ -91037,6 +120934,19 @@ def pinned_left_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "pinned_left_fields", value) +if not MYPY: + class TemplateTableRowConditionalFormattingArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input['TemplateConditionalFormattingColorArgsDict']] + """ + The conditional formatting color (solid, gradient) of the background for a table row. + """ + text_color: NotRequired[pulumi.Input['TemplateConditionalFormattingColorArgsDict']] + """ + The conditional formatting color (solid, gradient) of the text for a table row. + """ +elif False: + TemplateTableRowConditionalFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableRowConditionalFormattingArgs: def __init__(__self__, *, @@ -91076,6 +120986,35 @@ def text_color(self, value: Optional[pulumi.Input['TemplateConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class TemplateTableSideBorderOptionsArgsDict(TypedDict): + bottom: NotRequired[pulumi.Input['TemplateTableBorderOptionsArgsDict']] + """ + The table border options of the bottom border. + """ + inner_horizontal: NotRequired[pulumi.Input['TemplateTableBorderOptionsArgsDict']] + """ + The table border options of the inner horizontal border. + """ + inner_vertical: NotRequired[pulumi.Input['TemplateTableBorderOptionsArgsDict']] + """ + The table border options of the inner vertical border. + """ + left: NotRequired[pulumi.Input['TemplateTableBorderOptionsArgsDict']] + """ + The table border options of the left border. + """ + right: NotRequired[pulumi.Input['TemplateTableBorderOptionsArgsDict']] + """ + The table border options of the right border. + """ + top: NotRequired[pulumi.Input['TemplateTableBorderOptionsArgsDict']] + """ + The table border options of the top border. + """ +elif False: + TemplateTableSideBorderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableSideBorderOptionsArgs: def __init__(__self__, *, @@ -91179,6 +121118,19 @@ def top(self, value: Optional[pulumi.Input['TemplateTableBorderOptionsArgs']]): pulumi.set(self, "top", value) +if not MYPY: + class TemplateTableSortConfigurationArgsDict(TypedDict): + pagination_configuration: NotRequired[pulumi.Input['TemplatePaginationConfigurationArgsDict']] + """ + The pagination configuration (page size, page number) for the table. + """ + row_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The field sort options for rows in the table. + """ +elif False: + TemplateTableSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableSortConfigurationArgs: def __init__(__self__, *, @@ -91218,6 +121170,15 @@ def row_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateF pulumi.set(self, "row_sort", value) +if not MYPY: + class TemplateTableStyleTargetArgsDict(TypedDict): + cell_type: pulumi.Input['TemplateStyledCellType'] + """ + The cell type of the table style target. + """ +elif False: + TemplateTableStyleTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableStyleTargetArgs: def __init__(__self__, *, @@ -91240,6 +121201,15 @@ def cell_type(self, value: pulumi.Input['TemplateStyledCellType']): pulumi.set(self, "cell_type", value) +if not MYPY: + class TemplateTableUnaggregatedFieldWellsArgsDict(TypedDict): + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateUnaggregatedFieldArgsDict']]]] + """ + The values field well for a pivot table. Values are unaggregated for an unaggregated table. + """ +elif False: + TemplateTableUnaggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableUnaggregatedFieldWellsArgs: def __init__(__self__, *, @@ -91263,6 +121233,35 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateUna pulumi.set(self, "values", value) +if not MYPY: + class TemplateTableVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateTableConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + conditional_formatting: NotRequired[pulumi.Input['TemplateTableConditionalFormattingArgsDict']] + """ + The conditional formatting for a `PivotTableVisual` . + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateTableVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTableVisualArgs: def __init__(__self__, *, @@ -91365,6 +121364,23 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateTextAreaControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['TemplateSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + placeholder_options: NotRequired[pulumi.Input['TemplateTextControlPlaceholderOptionsArgsDict']] + """ + The configuration of the placeholder options in a text area control. + """ + title_options: NotRequired[pulumi.Input['TemplateLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + TemplateTextAreaControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTextAreaControlDisplayOptionsArgs: def __init__(__self__, *, @@ -91420,6 +121436,23 @@ def title_options(self, value: Optional[pulumi.Input['TemplateLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class TemplateTextConditionalFormatArgsDict(TypedDict): + background_color: NotRequired[pulumi.Input['TemplateConditionalFormattingColorArgsDict']] + """ + The conditional formatting for the text background color. + """ + icon: NotRequired[pulumi.Input['TemplateConditionalFormattingIconArgsDict']] + """ + The conditional formatting for the icon. + """ + text_color: NotRequired[pulumi.Input['TemplateConditionalFormattingColorArgsDict']] + """ + The conditional formatting for the text color. + """ +elif False: + TemplateTextConditionalFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTextConditionalFormatArgs: def __init__(__self__, *, @@ -91475,6 +121508,15 @@ def text_color(self, value: Optional[pulumi.Input['TemplateConditionalFormatting pulumi.set(self, "text_color", value) +if not MYPY: + class TemplateTextControlPlaceholderOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility configuration of the placeholder options in a text control. + """ +elif False: + TemplateTextControlPlaceholderOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTextControlPlaceholderOptionsArgs: def __init__(__self__, *, @@ -91498,6 +121540,23 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateTextFieldControlDisplayOptionsArgsDict(TypedDict): + info_icon_label_options: NotRequired[pulumi.Input['TemplateSheetControlInfoIconLabelOptionsArgsDict']] + """ + The configuration of info icon label options. + """ + placeholder_options: NotRequired[pulumi.Input['TemplateTextControlPlaceholderOptionsArgsDict']] + """ + The configuration of the placeholder options in a text field control. + """ + title_options: NotRequired[pulumi.Input['TemplateLabelOptionsArgsDict']] + """ + The options to configure the title visibility, name, and font size. + """ +elif False: + TemplateTextFieldControlDisplayOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTextFieldControlDisplayOptionsArgs: def __init__(__self__, *, @@ -91553,6 +121612,19 @@ def title_options(self, value: Optional[pulumi.Input['TemplateLabelOptionsArgs'] pulumi.set(self, "title_options", value) +if not MYPY: + class TemplateThousandSeparatorOptionsArgsDict(TypedDict): + symbol: NotRequired[pulumi.Input['TemplateNumericSeparatorSymbol']] + """ + Determines the thousands separator symbol. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines the visibility of the thousands separator. + """ +elif False: + TemplateThousandSeparatorOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateThousandSeparatorOptionsArgs: def __init__(__self__, *, @@ -91592,6 +121664,38 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateTimeBasedForecastPropertiesArgsDict(TypedDict): + lower_boundary: NotRequired[pulumi.Input[float]] + """ + The lower boundary setup of a forecast computation. + """ + periods_backward: NotRequired[pulumi.Input[float]] + """ + The periods backward setup of a forecast computation. + """ + periods_forward: NotRequired[pulumi.Input[float]] + """ + The periods forward setup of a forecast computation. + """ + prediction_interval: NotRequired[pulumi.Input[float]] + """ + The prediction interval setup of a forecast computation. + """ + seasonality: NotRequired[pulumi.Input[float]] + """ + The seasonality setup of a forecast computation. Choose one of the following options: + + - `NULL` : The input is set to `NULL` . + - `NON_NULL` : The input is set to a custom value. + """ + upper_boundary: NotRequired[pulumi.Input[float]] + """ + The upper boundary setup of a forecast computation. + """ +elif False: + TemplateTimeBasedForecastPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTimeBasedForecastPropertiesArgs: def __init__(__self__, *, @@ -91701,6 +121805,45 @@ def upper_boundary(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "upper_boundary", value) +if not MYPY: + class TemplateTimeEqualityFilterArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['TemplateDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + + This field is mutually exclusive to `Value` and `RollingDate` . + """ + rolling_date: NotRequired[pulumi.Input['TemplateRollingDateConfigurationArgsDict']] + """ + The rolling date input for the `TimeEquality` filter. + + This field is mutually exclusive to `Value` and `ParameterName` . + """ + time_granularity: NotRequired[pulumi.Input['TemplateTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of a `TimeEquality` filter. + + This field is mutually exclusive to `RollingDate` and `ParameterName` . + """ +elif False: + TemplateTimeEqualityFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTimeEqualityFilterArgs: def __init__(__self__, *, @@ -91830,6 +121973,27 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateTimeRangeDrillDownFilterArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + range_maximum: pulumi.Input[str] + """ + The maximum value for the filter value range. + """ + range_minimum: pulumi.Input[str] + """ + The minimum value for the filter value range. + """ + time_granularity: pulumi.Input['TemplateTimeGranularity'] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + TemplateTimeRangeDrillDownFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTimeRangeDrillDownFilterArgs: def __init__(__self__, *, @@ -91897,6 +122061,23 @@ def time_granularity(self, value: pulumi.Input['TemplateTimeGranularity']): pulumi.set(self, "time_granularity", value) +if not MYPY: + class TemplateTimeRangeFilterValueArgsDict(TypedDict): + parameter: NotRequired[pulumi.Input[str]] + """ + The parameter type input value. + """ + rolling_date: NotRequired[pulumi.Input['TemplateRollingDateConfigurationArgsDict']] + """ + The rolling date input value. + """ + static_value: NotRequired[pulumi.Input[str]] + """ + The static input value. + """ +elif False: + TemplateTimeRangeFilterValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTimeRangeFilterValueArgs: def __init__(__self__, *, @@ -91952,6 +122133,55 @@ def static_value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "static_value", value) +if not MYPY: + class TemplateTimeRangeFilterArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + null_option: pulumi.Input['TemplateFilterNullOption'] + """ + This option determines how null values should be treated when filtering data. + + - `ALL_VALUES` : Include null values in filtered results. + - `NULLS_ONLY` : Only include null values in filtered results. + - `NON_NULLS_ONLY` : Exclude null values from filtered results. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['TemplateDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + exclude_period_configuration: NotRequired[pulumi.Input['TemplateExcludePeriodConfigurationArgsDict']] + """ + The exclude period of the time range filter. + """ + include_maximum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the maximum value in the filter value range should be included in the filtered results. + """ + include_minimum: NotRequired[pulumi.Input[bool]] + """ + Determines whether the minimum value in the filter value range should be included in the filtered results. + """ + range_maximum_value: NotRequired[pulumi.Input['TemplateTimeRangeFilterValueArgsDict']] + """ + The maximum value for the filter value range. + """ + range_minimum_value: NotRequired[pulumi.Input['TemplateTimeRangeFilterValueArgsDict']] + """ + The minimum value for the filter value range. + """ + time_granularity: NotRequired[pulumi.Input['TemplateTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + TemplateTimeRangeFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTimeRangeFilterArgs: def __init__(__self__, *, @@ -92124,6 +122354,19 @@ def time_granularity(self, value: Optional[pulumi.Input['TemplateTimeGranularity pulumi.set(self, "time_granularity", value) +if not MYPY: + class TemplateTooltipItemArgsDict(TypedDict): + column_tooltip_item: NotRequired[pulumi.Input['TemplateColumnTooltipItemArgsDict']] + """ + The tooltip item for the columns that are not part of a field well. + """ + field_tooltip_item: NotRequired[pulumi.Input['TemplateFieldTooltipItemArgsDict']] + """ + The tooltip item for the fields. + """ +elif False: + TemplateTooltipItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTooltipItemArgs: def __init__(__self__, *, @@ -92163,6 +122406,26 @@ def field_tooltip_item(self, value: Optional[pulumi.Input['TemplateFieldTooltipI pulumi.set(self, "field_tooltip_item", value) +if not MYPY: + class TemplateTooltipOptionsArgsDict(TypedDict): + field_based_tooltip: NotRequired[pulumi.Input['TemplateFieldBasedTooltipArgsDict']] + """ + The setup for the detailed tooltip. The tooltip setup is always saved. The display type is decided based on the tooltip type. + """ + selected_tooltip_type: NotRequired[pulumi.Input['TemplateSelectedTooltipType']] + """ + The selected type for the tooltip. Choose one of the following options: + + - `BASIC` : A basic tooltip. + - `DETAILED` : A detailed tooltip. + """ + tooltip_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + Determines whether or not the tooltip is visible. + """ +elif False: + TemplateTooltipOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTooltipOptionsArgs: def __init__(__self__, *, @@ -92224,6 +122487,39 @@ def tooltip_visibility(self, value: Optional[pulumi.Input['TemplateVisibility']] pulumi.set(self, "tooltip_visibility", value) +if not MYPY: + class TemplateTopBottomFilterArgsDict(TypedDict): + aggregation_sort_configurations: pulumi.Input[Sequence[pulumi.Input['TemplateAggregationSortConfigurationArgsDict']]] + """ + The aggregation and sort configuration of the top bottom filter. + """ + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that the filter is applied to. + """ + filter_id: pulumi.Input[str] + """ + An identifier that uniquely identifies a filter within a dashboard, analysis, or template. + """ + default_filter_control_configuration: NotRequired[pulumi.Input['TemplateDefaultFilterControlConfigurationArgsDict']] + """ + The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets. + """ + limit: NotRequired[pulumi.Input[float]] + """ + The number of items to include in the top bottom filter results. + """ + parameter_name: NotRequired[pulumi.Input[str]] + """ + The parameter whose value should be used for the filter value. + """ + time_granularity: NotRequired[pulumi.Input['TemplateTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + TemplateTopBottomFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTopBottomFilterArgs: def __init__(__self__, *, @@ -92340,6 +122636,46 @@ def time_granularity(self, value: Optional[pulumi.Input['TemplateTimeGranularity pulumi.set(self, "time_granularity", value) +if not MYPY: + class TemplateTopBottomMoversComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + type: pulumi.Input['TemplateTopBottomComputationType'] + """ + The computation type. Choose from the following options: + + - TOP: Top movers computation. + - BOTTOM: Bottom movers computation. + """ + category: NotRequired[pulumi.Input['TemplateDimensionFieldArgsDict']] + """ + The category field that is used in a computation. + """ + mover_size: NotRequired[pulumi.Input[float]] + """ + The mover size setup of the top and bottom movers computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + sort_order: NotRequired[pulumi.Input['TemplateTopBottomSortOrder']] + """ + The sort order setup of the top and bottom movers computation. + """ + time: NotRequired[pulumi.Input['TemplateDimensionFieldArgsDict']] + """ + The time field that is used in a computation. + """ + value: NotRequired[pulumi.Input['TemplateMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + TemplateTopBottomMoversComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTopBottomMoversComputationArgs: def __init__(__self__, *, @@ -92479,6 +122815,38 @@ def value(self, value: Optional[pulumi.Input['TemplateMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateTopBottomRankedComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + type: pulumi.Input['TemplateTopBottomComputationType'] + """ + The computation type. Choose one of the following options: + + - TOP: A top ranked computation. + - BOTTOM: A bottom ranked computation. + """ + category: NotRequired[pulumi.Input['TemplateDimensionFieldArgsDict']] + """ + The category field that is used in a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + result_size: NotRequired[pulumi.Input[float]] + """ + The result size of a top and bottom ranked computation. + """ + value: NotRequired[pulumi.Input['TemplateMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + TemplateTopBottomRankedComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTopBottomRankedComputationArgs: def __init__(__self__, *, @@ -92586,6 +122954,23 @@ def value(self, value: Optional[pulumi.Input['TemplateMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateTotalAggregationComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ + value: NotRequired[pulumi.Input['TemplateMeasureFieldArgsDict']] + """ + The value field that is used in a computation. + """ +elif False: + TemplateTotalAggregationComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTotalAggregationComputationArgs: def __init__(__self__, *, @@ -92640,6 +123025,15 @@ def value(self, value: Optional[pulumi.Input['TemplateMeasureFieldArgs']]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateTotalAggregationFunctionArgsDict(TypedDict): + simple_total_aggregation_function: NotRequired[pulumi.Input['TemplateSimpleTotalAggregationFunction']] + """ + A built in aggregation function for total values. + """ +elif False: + TemplateTotalAggregationFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTotalAggregationFunctionArgs: def __init__(__self__, *, @@ -92663,6 +123057,19 @@ def simple_total_aggregation_function(self, value: Optional[pulumi.Input['Templa pulumi.set(self, "simple_total_aggregation_function", value) +if not MYPY: + class TemplateTotalAggregationOptionArgsDict(TypedDict): + field_id: pulumi.Input[str] + """ + The field id that's associated with the total aggregation option. + """ + total_aggregation_function: pulumi.Input['TemplateTotalAggregationFunctionArgsDict'] + """ + The total aggregation function that you want to set for a specified field id. + """ +elif False: + TemplateTotalAggregationOptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTotalAggregationOptionArgs: def __init__(__self__, *, @@ -92700,6 +123107,35 @@ def total_aggregation_function(self, value: pulumi.Input['TemplateTotalAggregati pulumi.set(self, "total_aggregation_function", value) +if not MYPY: + class TemplateTotalOptionsArgsDict(TypedDict): + custom_label: NotRequired[pulumi.Input[str]] + """ + The custom label string for the total cells. + """ + placement: NotRequired[pulumi.Input['TemplateTableTotalsPlacement']] + """ + The placement (start, end) for the total cells. + """ + scroll_status: NotRequired[pulumi.Input['TemplateTableTotalsScrollStatus']] + """ + The scroll status (pinned, scrolled) for the total cells. + """ + total_aggregation_options: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateTotalAggregationOptionArgsDict']]]] + """ + The total aggregation settings for each value field. + """ + total_cell_style: NotRequired[pulumi.Input['TemplateTableCellStyleArgsDict']] + """ + Cell styling options for the total cells. + """ + totals_visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility configuration for the total cells. + """ +elif False: + TemplateTotalOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTotalOptionsArgs: def __init__(__self__, *, @@ -92803,6 +123239,23 @@ def totals_visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]) pulumi.set(self, "totals_visibility", value) +if not MYPY: + class TemplateTreeMapAggregatedFieldWellsArgsDict(TypedDict): + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The color field well of a tree map. Values are grouped by aggregations based on group by fields. + """ + groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The group by field well of a tree map. Values are grouped based on group by fields. + """ + sizes: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The size field well of a tree map. Values are aggregated based on group by fields. + """ +elif False: + TemplateTreeMapAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTreeMapAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -92858,6 +123311,47 @@ def sizes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMeas pulumi.set(self, "sizes", value) +if not MYPY: + class TemplateTreeMapConfigurationArgsDict(TypedDict): + color_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility) for the colors displayed in a tree map. + """ + color_scale: NotRequired[pulumi.Input['TemplateColorScaleArgsDict']] + """ + The color options (gradient color, point of divergence) of a tree map. + """ + data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The options that determine if visual data labels are displayed. + """ + field_wells: NotRequired[pulumi.Input['TemplateTreeMapFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + group_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility) of the groups that are displayed in a tree map. + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + """ + The legend display setup of the visual. + """ + size_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility) of the sizes that are displayed in a tree map. + """ + sort_configuration: NotRequired[pulumi.Input['TemplateTreeMapSortConfigurationArgsDict']] + """ + The sort configuration of a tree map. + """ + tooltip: NotRequired[pulumi.Input['TemplateTooltipOptionsArgsDict']] + """ + The tooltip display setup of the visual. + """ +elif False: + TemplateTreeMapConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTreeMapConfigurationArgs: def __init__(__self__, *, @@ -93009,6 +123503,15 @@ def tooltip(self, value: Optional[pulumi.Input['TemplateTooltipOptionsArgs']]): pulumi.set(self, "tooltip", value) +if not MYPY: + class TemplateTreeMapFieldWellsArgsDict(TypedDict): + tree_map_aggregated_field_wells: NotRequired[pulumi.Input['TemplateTreeMapAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a tree map. + """ +elif False: + TemplateTreeMapFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTreeMapFieldWellsArgs: def __init__(__self__, *, @@ -93032,6 +123535,19 @@ def tree_map_aggregated_field_wells(self, value: Optional[pulumi.Input['Template pulumi.set(self, "tree_map_aggregated_field_wells", value) +if not MYPY: + class TemplateTreeMapSortConfigurationArgsDict(TypedDict): + tree_map_group_items_limit_configuration: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of groups that are displayed. + """ + tree_map_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of group by fields. + """ +elif False: + TemplateTreeMapSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTreeMapSortConfigurationArgs: def __init__(__self__, *, @@ -93071,6 +123587,35 @@ def tree_map_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Temp pulumi.set(self, "tree_map_sort", value) +if not MYPY: + class TemplateTreeMapVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateTreeMapConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateTreeMapVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTreeMapVisualArgs: def __init__(__self__, *, @@ -93173,6 +123718,15 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateTrendArrowOptionsArgsDict(TypedDict): + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the trend arrows. + """ +elif False: + TemplateTrendArrowOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateTrendArrowOptionsArgs: def __init__(__self__, *, @@ -93196,6 +123750,23 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateUnaggregatedFieldArgsDict(TypedDict): + column: pulumi.Input['TemplateColumnIdentifierArgsDict'] + """ + The column that is used in the `UnaggregatedField` . + """ + field_id: pulumi.Input[str] + """ + The custom field ID. + """ + format_configuration: NotRequired[pulumi.Input['TemplateFormatConfigurationArgsDict']] + """ + The format configuration of the field. + """ +elif False: + TemplateUnaggregatedFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateUnaggregatedFieldArgs: def __init__(__self__, *, @@ -93249,6 +123820,23 @@ def format_configuration(self, value: Optional[pulumi.Input['TemplateFormatConfi pulumi.set(self, "format_configuration", value) +if not MYPY: + class TemplateUniqueValuesComputationArgsDict(TypedDict): + computation_id: pulumi.Input[str] + """ + The ID for a computation. + """ + category: NotRequired[pulumi.Input['TemplateDimensionFieldArgsDict']] + """ + The category field that is used in a computation. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of a computation. + """ +elif False: + TemplateUniqueValuesComputationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateUniqueValuesComputationArgs: def __init__(__self__, *, @@ -93303,6 +123891,18 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class TemplateValidationStrategyArgsDict(TypedDict): + """ +

The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. When you set this value to LENIENT, validation is skipped for specific errors.

+ """ + mode: pulumi.Input['TemplateValidationStrategyMode'] + """ + The mode of validation for the asset to be created or updated. When you set this value to `STRICT` , strict validation for every error is enforced. When you set this value to `LENIENT` , validation is skipped for specific UI errors. + """ +elif False: + TemplateValidationStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateValidationStrategyArgs: def __init__(__self__, *, @@ -93326,6 +123926,47 @@ def mode(self, value: pulumi.Input['TemplateValidationStrategyMode']): pulumi.set(self, "mode", value) +if not MYPY: + class TemplateVersionDefinitionArgsDict(TypedDict): + data_set_configurations: pulumi.Input[Sequence[pulumi.Input['TemplateDataSetConfigurationArgsDict']]] + """ + An array of dataset configurations. These configurations define the required columns for each dataset used within a template. + """ + analysis_defaults: NotRequired[pulumi.Input['TemplateAnalysisDefaultsArgsDict']] + calculated_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateCalculatedFieldArgsDict']]]] + """ + An array of calculated field definitions for the template. + """ + column_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnConfigurationArgsDict']]]] + """ + An array of template-level column configurations. Column configurations are used to set default formatting for a column that's used throughout a template. + """ + filter_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFilterGroupArgsDict']]]] + """ + Filter definitions for a template. + + For more information, see [Filtering Data](https://docs.aws.amazon.com/quicksight/latest/user/filtering-visual-data.html) in the *Amazon QuickSight User Guide* . + """ + options: NotRequired[pulumi.Input['TemplateAssetOptionsArgsDict']] + """ + An array of option definitions for a template. + """ + parameter_declarations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateParameterDeclarationArgsDict']]]] + """ + An array of parameter declarations for a template. + + *Parameters* are named variables that can transfer a value for use by an action or an object. + + For more information, see [Parameters in Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/parameters-in-quicksight.html) in the *Amazon QuickSight User Guide* . + """ + query_execution_options: NotRequired[pulumi.Input['TemplateQueryExecutionOptionsArgsDict']] + sheets: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateSheetDefinitionArgsDict']]]] + """ + An array of sheet definitions for a template. + """ +elif False: + TemplateVersionDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateVersionDefinitionArgs: def __init__(__self__, *, @@ -93480,6 +124121,15 @@ def sheets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateShe pulumi.set(self, "sheets", value) +if not MYPY: + class TemplateVisibleRangeOptionsArgsDict(TypedDict): + percent_range: NotRequired[pulumi.Input['TemplatePercentVisibleRangeArgsDict']] + """ + The percent range in the visible range. + """ +elif False: + TemplateVisibleRangeOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateVisibleRangeOptionsArgs: def __init__(__self__, *, @@ -93503,6 +124153,27 @@ def percent_range(self, value: Optional[pulumi.Input['TemplatePercentVisibleRang pulumi.set(self, "percent_range", value) +if not MYPY: + class TemplateVisualCustomActionOperationArgsDict(TypedDict): + filter_operation: NotRequired[pulumi.Input['TemplateCustomActionFilterOperationArgsDict']] + """ + The filter operation that filters data included in a visual or in an entire sheet. + """ + navigation_operation: NotRequired[pulumi.Input['TemplateCustomActionNavigationOperationArgsDict']] + """ + The navigation operation that navigates between different sheets in the same analysis. + """ + set_parameters_operation: NotRequired[pulumi.Input['TemplateCustomActionSetParametersOperationArgsDict']] + """ + The set parameter operation that sets parameters in custom action. + """ + url_operation: NotRequired[pulumi.Input['TemplateCustomActionUrlOperationArgsDict']] + """ + The URL operation that opens a link to another webpage. + """ +elif False: + TemplateVisualCustomActionOperationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateVisualCustomActionOperationArgs: def __init__(__self__, *, @@ -93574,6 +124245,38 @@ def url_operation(self, value: Optional[pulumi.Input['TemplateCustomActionUrlOpe pulumi.set(self, "url_operation", value) +if not MYPY: + class TemplateVisualCustomActionArgsDict(TypedDict): + action_operations: pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionOperationArgsDict']]] + """ + A list of `VisualCustomActionOperations` . + + This is a union type structure. For this structure to be valid, only one of the attributes can be defined. + """ + custom_action_id: pulumi.Input[str] + """ + The ID of the `VisualCustomAction` . + """ + name: pulumi.Input[str] + """ + The name of the `VisualCustomAction` . + """ + trigger: pulumi.Input['TemplateVisualCustomActionTrigger'] + """ + The trigger of the `VisualCustomAction` . + + Valid values are defined as follows: + + - `DATA_POINT_CLICK` : Initiates a custom action by a left pointer click on a data point. + - `DATA_POINT_MENU` : Initiates a custom action by right pointer click from the menu. + """ + status: NotRequired[pulumi.Input['TemplateWidgetStatus']] + """ + The status of the `VisualCustomAction` . + """ +elif False: + TemplateVisualCustomActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateVisualCustomActionArgs: def __init__(__self__, *, @@ -93671,6 +124374,19 @@ def status(self, value: Optional[pulumi.Input['TemplateWidgetStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class TemplateVisualPaletteArgsDict(TypedDict): + chart_color: NotRequired[pulumi.Input[str]] + """ + The chart color options for the visual palette. + """ + color_map: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDataPathColorArgsDict']]]] + """ + The color map options for the visual palette. + """ +elif False: + TemplateVisualPaletteArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateVisualPaletteArgs: def __init__(__self__, *, @@ -93710,6 +124426,19 @@ def color_map(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Template pulumi.set(self, "color_map", value) +if not MYPY: + class TemplateVisualSubtitleLabelOptionsArgsDict(TypedDict): + format_text: NotRequired[pulumi.Input['TemplateLongFormatTextArgsDict']] + """ + The long text format of the subtitle label, such as plain text or rich text. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the subtitle label. + """ +elif False: + TemplateVisualSubtitleLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateVisualSubtitleLabelOptionsArgs: def __init__(__self__, *, @@ -93749,6 +124478,19 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateVisualTitleLabelOptionsArgsDict(TypedDict): + format_text: NotRequired[pulumi.Input['TemplateShortFormatTextArgsDict']] + """ + The short text format of the title label, such as plain text or rich text. + """ + visibility: NotRequired[pulumi.Input['TemplateVisibility']] + """ + The visibility of the title label. + """ +elif False: + TemplateVisualTitleLabelOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateVisualTitleLabelOptionsArgs: def __init__(__self__, *, @@ -93788,6 +124530,147 @@ def visibility(self, value: Optional[pulumi.Input['TemplateVisibility']]): pulumi.set(self, "visibility", value) +if not MYPY: + class TemplateVisualArgsDict(TypedDict): + bar_chart_visual: NotRequired[pulumi.Input['TemplateBarChartVisualArgsDict']] + """ + A bar chart. + + For more information, see [Using bar charts](https://docs.aws.amazon.com/quicksight/latest/user/bar-charts.html) in the *Amazon QuickSight User Guide* . + """ + box_plot_visual: NotRequired[pulumi.Input['TemplateBoxPlotVisualArgsDict']] + """ + A box plot. + + For more information, see [Using box plots](https://docs.aws.amazon.com/quicksight/latest/user/box-plots.html) in the *Amazon QuickSight User Guide* . + """ + combo_chart_visual: NotRequired[pulumi.Input['TemplateComboChartVisualArgsDict']] + """ + A combo chart. + + For more information, see [Using combo charts](https://docs.aws.amazon.com/quicksight/latest/user/combo-charts.html) in the *Amazon QuickSight User Guide* . + """ + custom_content_visual: NotRequired[pulumi.Input['TemplateCustomContentVisualArgsDict']] + """ + A visual that contains custom content. + + For more information, see [Using custom visual content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the *Amazon QuickSight User Guide* . + """ + empty_visual: NotRequired[pulumi.Input['TemplateEmptyVisualArgsDict']] + """ + An empty visual. + """ + filled_map_visual: NotRequired[pulumi.Input['TemplateFilledMapVisualArgsDict']] + """ + A filled map. + + For more information, see [Creating filled maps](https://docs.aws.amazon.com/quicksight/latest/user/filled-maps.html) in the *Amazon QuickSight User Guide* . + """ + funnel_chart_visual: NotRequired[pulumi.Input['TemplateFunnelChartVisualArgsDict']] + """ + A funnel chart. + + For more information, see [Using funnel charts](https://docs.aws.amazon.com/quicksight/latest/user/funnel-visual-content.html) in the *Amazon QuickSight User Guide* . + """ + gauge_chart_visual: NotRequired[pulumi.Input['TemplateGaugeChartVisualArgsDict']] + """ + A gauge chart. + + For more information, see [Using gauge charts](https://docs.aws.amazon.com/quicksight/latest/user/gauge-chart.html) in the *Amazon QuickSight User Guide* . + """ + geospatial_map_visual: NotRequired[pulumi.Input['TemplateGeospatialMapVisualArgsDict']] + """ + A geospatial map or a points on map visual. + + For more information, see [Creating point maps](https://docs.aws.amazon.com/quicksight/latest/user/point-maps.html) in the *Amazon QuickSight User Guide* . + """ + heat_map_visual: NotRequired[pulumi.Input['TemplateHeatMapVisualArgsDict']] + """ + A heat map. + + For more information, see [Using heat maps](https://docs.aws.amazon.com/quicksight/latest/user/heat-map.html) in the *Amazon QuickSight User Guide* . + """ + histogram_visual: NotRequired[pulumi.Input['TemplateHistogramVisualArgsDict']] + """ + A histogram. + + For more information, see [Using histograms](https://docs.aws.amazon.com/quicksight/latest/user/histogram-charts.html) in the *Amazon QuickSight User Guide* . + """ + insight_visual: NotRequired[pulumi.Input['TemplateInsightVisualArgsDict']] + """ + An insight visual. + + For more information, see [Working with insights](https://docs.aws.amazon.com/quicksight/latest/user/computational-insights.html) in the *Amazon QuickSight User Guide* . + """ + kpi_visual: NotRequired[pulumi.Input['TemplateKpiVisualArgsDict']] + """ + A key performance indicator (KPI). + + For more information, see [Using KPIs](https://docs.aws.amazon.com/quicksight/latest/user/kpi.html) in the *Amazon QuickSight User Guide* . + """ + line_chart_visual: NotRequired[pulumi.Input['TemplateLineChartVisualArgsDict']] + """ + A line chart. + + For more information, see [Using line charts](https://docs.aws.amazon.com/quicksight/latest/user/line-charts.html) in the *Amazon QuickSight User Guide* . + """ + pie_chart_visual: NotRequired[pulumi.Input['TemplatePieChartVisualArgsDict']] + """ + A pie or donut chart. + + For more information, see [Using pie charts](https://docs.aws.amazon.com/quicksight/latest/user/pie-chart.html) in the *Amazon QuickSight User Guide* . + """ + pivot_table_visual: NotRequired[pulumi.Input['TemplatePivotTableVisualArgsDict']] + """ + A pivot table. + + For more information, see [Using pivot tables](https://docs.aws.amazon.com/quicksight/latest/user/pivot-table.html) in the *Amazon QuickSight User Guide* . + """ + radar_chart_visual: NotRequired[pulumi.Input['TemplateRadarChartVisualArgsDict']] + """ + A radar chart visual. + + For more information, see [Using radar charts](https://docs.aws.amazon.com/quicksight/latest/user/radar-chart.html) in the *Amazon QuickSight User Guide* . + """ + sankey_diagram_visual: NotRequired[pulumi.Input['TemplateSankeyDiagramVisualArgsDict']] + """ + A sankey diagram. + + For more information, see [Using Sankey diagrams](https://docs.aws.amazon.com/quicksight/latest/user/sankey-diagram.html) in the *Amazon QuickSight User Guide* . + """ + scatter_plot_visual: NotRequired[pulumi.Input['TemplateScatterPlotVisualArgsDict']] + """ + A scatter plot. + + For more information, see [Using scatter plots](https://docs.aws.amazon.com/quicksight/latest/user/scatter-plot.html) in the *Amazon QuickSight User Guide* . + """ + table_visual: NotRequired[pulumi.Input['TemplateTableVisualArgsDict']] + """ + A table visual. + + For more information, see [Using tables as visuals](https://docs.aws.amazon.com/quicksight/latest/user/tabular.html) in the *Amazon QuickSight User Guide* . + """ + tree_map_visual: NotRequired[pulumi.Input['TemplateTreeMapVisualArgsDict']] + """ + A tree map. + + For more information, see [Using tree maps](https://docs.aws.amazon.com/quicksight/latest/user/tree-map.html) in the *Amazon QuickSight User Guide* . + """ + waterfall_visual: NotRequired[pulumi.Input['TemplateWaterfallVisualArgsDict']] + """ + A waterfall chart. + + For more information, see [Using waterfall charts](https://docs.aws.amazon.com/quicksight/latest/user/waterfall-chart.html) in the *Amazon QuickSight User Guide* . + """ + word_cloud_visual: NotRequired[pulumi.Input['TemplateWordCloudVisualArgsDict']] + """ + A word cloud. + + For more information, see [Using word clouds](https://docs.aws.amazon.com/quicksight/latest/user/word-cloud.html) in the *Amazon QuickSight User Guide* . + """ +elif False: + TemplateVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateVisualArgs: def __init__(__self__, *, @@ -94251,6 +125134,23 @@ def word_cloud_visual(self, value: Optional[pulumi.Input['TemplateWordCloudVisua pulumi.set(self, "word_cloud_visual", value) +if not MYPY: + class TemplateWaterfallChartAggregatedFieldWellsArgsDict(TypedDict): + breakdowns: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The breakdown field wells of a waterfall visual. + """ + categories: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The category field wells of a waterfall visual. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The value field wells of a waterfall visual. + """ +elif False: + TemplateWaterfallChartAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWaterfallChartAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -94306,6 +125206,15 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMea pulumi.set(self, "values", value) +if not MYPY: + class TemplateWaterfallChartColorConfigurationArgsDict(TypedDict): + group_color_configuration: NotRequired[pulumi.Input['TemplateWaterfallChartGroupColorConfigurationArgsDict']] + """ + The color configuration for individual groups within a waterfall visual. + """ +elif False: + TemplateWaterfallChartColorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWaterfallChartColorConfigurationArgs: def __init__(__self__, *, @@ -94329,6 +125238,55 @@ def group_color_configuration(self, value: Optional[pulumi.Input['TemplateWaterf pulumi.set(self, "group_color_configuration", value) +if not MYPY: + class TemplateWaterfallChartConfigurationArgsDict(TypedDict): + category_axis_display_options: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the category axis. + """ + category_axis_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the category axis label. + """ + color_configuration: NotRequired[pulumi.Input['TemplateWaterfallChartColorConfigurationArgsDict']] + """ + The color configuration of a waterfall visual. + """ + data_labels: NotRequired[pulumi.Input['TemplateDataLabelOptionsArgsDict']] + """ + The data label configuration of a waterfall visual. + """ + field_wells: NotRequired[pulumi.Input['TemplateWaterfallChartFieldWellsArgsDict']] + """ + The field well configuration of a waterfall visual. + """ + legend: NotRequired[pulumi.Input['TemplateLegendOptionsArgsDict']] + """ + The legend configuration of a waterfall visual. + """ + primary_y_axis_display_options: NotRequired[pulumi.Input['TemplateAxisDisplayOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis. + """ + primary_y_axis_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The options that determine the presentation of the y-axis label. + """ + sort_configuration: NotRequired[pulumi.Input['TemplateWaterfallChartSortConfigurationArgsDict']] + """ + The sort configuration of a waterfall visual. + """ + visual_palette: NotRequired[pulumi.Input['TemplateVisualPaletteArgsDict']] + """ + The visual palette configuration of a waterfall visual. + """ + waterfall_chart_options: NotRequired[pulumi.Input['TemplateWaterfallChartOptionsArgsDict']] + """ + The options that determine the presentation of a waterfall visual. + """ +elif False: + TemplateWaterfallChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWaterfallChartConfigurationArgs: def __init__(__self__, *, @@ -94512,6 +125470,15 @@ def waterfall_chart_options(self, value: Optional[pulumi.Input['TemplateWaterfal pulumi.set(self, "waterfall_chart_options", value) +if not MYPY: + class TemplateWaterfallChartFieldWellsArgsDict(TypedDict): + waterfall_chart_aggregated_field_wells: NotRequired[pulumi.Input['TemplateWaterfallChartAggregatedFieldWellsArgsDict']] + """ + The field well configuration of a waterfall visual. + """ +elif False: + TemplateWaterfallChartFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWaterfallChartFieldWellsArgs: def __init__(__self__, *, @@ -94535,6 +125502,23 @@ def waterfall_chart_aggregated_field_wells(self, value: Optional[pulumi.Input['T pulumi.set(self, "waterfall_chart_aggregated_field_wells", value) +if not MYPY: + class TemplateWaterfallChartGroupColorConfigurationArgsDict(TypedDict): + negative_bar_color: NotRequired[pulumi.Input[str]] + """ + Defines the color for the negative bars of a waterfall chart. + """ + positive_bar_color: NotRequired[pulumi.Input[str]] + """ + Defines the color for the positive bars of a waterfall chart. + """ + total_bar_color: NotRequired[pulumi.Input[str]] + """ + Defines the color for the total bars of a waterfall chart. + """ +elif False: + TemplateWaterfallChartGroupColorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWaterfallChartGroupColorConfigurationArgs: def __init__(__self__, *, @@ -94590,6 +125574,15 @@ def total_bar_color(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "total_bar_color", value) +if not MYPY: + class TemplateWaterfallChartOptionsArgsDict(TypedDict): + total_bar_label: NotRequired[pulumi.Input[str]] + """ + This option determines the total bar label of a waterfall visual. + """ +elif False: + TemplateWaterfallChartOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWaterfallChartOptionsArgs: def __init__(__self__, *, @@ -94613,6 +125606,19 @@ def total_bar_label(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "total_bar_label", value) +if not MYPY: + class TemplateWaterfallChartSortConfigurationArgsDict(TypedDict): + breakdown_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of bar groups that are displayed. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of the category fields. + """ +elif False: + TemplateWaterfallChartSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWaterfallChartSortConfigurationArgs: def __init__(__self__, *, @@ -94652,6 +125658,35 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Temp pulumi.set(self, "category_sort", value) +if not MYPY: + class TemplateWaterfallVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateWaterfallChartConfigurationArgsDict']] + """ + The configuration for a waterfall visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateWaterfallVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWaterfallVisualArgs: def __init__(__self__, *, @@ -94754,6 +125789,19 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateWhatIfPointScenarioArgsDict(TypedDict): + date: pulumi.Input[str] + """ + The date that you need the forecast results for. + """ + value: pulumi.Input[float] + """ + The target value that you want to meet for the provided date. + """ +elif False: + TemplateWhatIfPointScenarioArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWhatIfPointScenarioArgs: def __init__(__self__, *, @@ -94791,6 +125839,23 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateWhatIfRangeScenarioArgsDict(TypedDict): + end_date: pulumi.Input[str] + """ + The end date in the date range that you need the forecast results for. + """ + start_date: pulumi.Input[str] + """ + The start date in the date range that you need the forecast results for. + """ + value: pulumi.Input[float] + """ + The target value that you want to meet for the provided date range. + """ +elif False: + TemplateWhatIfRangeScenarioArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWhatIfRangeScenarioArgs: def __init__(__self__, *, @@ -94843,6 +125908,19 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class TemplateWordCloudAggregatedFieldWellsArgsDict(TypedDict): + group_by: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateDimensionFieldArgsDict']]]] + """ + The group by field well of a word cloud. Values are grouped by group by fields. + """ + size: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateMeasureFieldArgsDict']]]] + """ + The size field well of a word cloud. Values are aggregated based on group by fields. + """ +elif False: + TemplateWordCloudAggregatedFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWordCloudAggregatedFieldWellsArgs: def __init__(__self__, *, @@ -94882,6 +125960,27 @@ def size(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TemplateMeasu pulumi.set(self, "size", value) +if not MYPY: + class TemplateWordCloudChartConfigurationArgsDict(TypedDict): + category_label_options: NotRequired[pulumi.Input['TemplateChartAxisLabelOptionsArgsDict']] + """ + The label options (label text, label visibility, and sort icon visibility) for the word cloud category. + """ + field_wells: NotRequired[pulumi.Input['TemplateWordCloudFieldWellsArgsDict']] + """ + The field wells of the visual. + """ + sort_configuration: NotRequired[pulumi.Input['TemplateWordCloudSortConfigurationArgsDict']] + """ + The sort configuration of a word cloud visual. + """ + word_cloud_options: NotRequired[pulumi.Input['TemplateWordCloudOptionsArgsDict']] + """ + The options for a word cloud visual. + """ +elif False: + TemplateWordCloudChartConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWordCloudChartConfigurationArgs: def __init__(__self__, *, @@ -94953,6 +126052,15 @@ def word_cloud_options(self, value: Optional[pulumi.Input['TemplateWordCloudOpti pulumi.set(self, "word_cloud_options", value) +if not MYPY: + class TemplateWordCloudFieldWellsArgsDict(TypedDict): + word_cloud_aggregated_field_wells: NotRequired[pulumi.Input['TemplateWordCloudAggregatedFieldWellsArgsDict']] + """ + The aggregated field wells of a word cloud. + """ +elif False: + TemplateWordCloudFieldWellsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWordCloudFieldWellsArgs: def __init__(__self__, *, @@ -94976,6 +126084,35 @@ def word_cloud_aggregated_field_wells(self, value: Optional[pulumi.Input['Templa pulumi.set(self, "word_cloud_aggregated_field_wells", value) +if not MYPY: + class TemplateWordCloudOptionsArgsDict(TypedDict): + cloud_layout: NotRequired[pulumi.Input['TemplateWordCloudCloudLayout']] + """ + The cloud layout options (fluid, normal) of a word cloud. + """ + maximum_string_length: NotRequired[pulumi.Input[float]] + """ + The length limit of each word from 1-100. + """ + word_casing: NotRequired[pulumi.Input['TemplateWordCloudWordCasing']] + """ + The word casing options (lower_case, existing_case) for the words in a word cloud. + """ + word_orientation: NotRequired[pulumi.Input['TemplateWordCloudWordOrientation']] + """ + The word orientation options (horizontal, horizontal_and_vertical) for the words in a word cloud. + """ + word_padding: NotRequired[pulumi.Input['TemplateWordCloudWordPadding']] + """ + The word padding options (none, small, medium, large) for the words in a word cloud. + """ + word_scaling: NotRequired[pulumi.Input['TemplateWordCloudWordScaling']] + """ + The word scaling options (emphasize, normal) for the words in a word cloud. + """ +elif False: + TemplateWordCloudOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWordCloudOptionsArgs: def __init__(__self__, *, @@ -95079,6 +126216,19 @@ def word_scaling(self, value: Optional[pulumi.Input['TemplateWordCloudWordScalin pulumi.set(self, "word_scaling", value) +if not MYPY: + class TemplateWordCloudSortConfigurationArgsDict(TypedDict): + category_items_limit: NotRequired[pulumi.Input['TemplateItemsLimitConfigurationArgsDict']] + """ + The limit on the number of groups that are displayed in a word cloud. + """ + category_sort: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateFieldSortOptionsArgsDict']]]] + """ + The sort configuration of group by fields. + """ +elif False: + TemplateWordCloudSortConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWordCloudSortConfigurationArgs: def __init__(__self__, *, @@ -95118,6 +126268,35 @@ def category_sort(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Temp pulumi.set(self, "category_sort", value) +if not MYPY: + class TemplateWordCloudVisualArgsDict(TypedDict): + visual_id: pulumi.Input[str] + """ + The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.. + """ + actions: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateVisualCustomActionArgsDict']]]] + """ + The list of custom actions that are configured for a visual. + """ + chart_configuration: NotRequired[pulumi.Input['TemplateWordCloudChartConfigurationArgsDict']] + """ + The configuration settings of the visual. + """ + column_hierarchies: NotRequired[pulumi.Input[Sequence[pulumi.Input['TemplateColumnHierarchyArgsDict']]]] + """ + The column hierarchy that is used during drill-downs and drill-ups. + """ + subtitle: NotRequired[pulumi.Input['TemplateVisualSubtitleLabelOptionsArgsDict']] + """ + The subtitle that is displayed on the visual. + """ + title: NotRequired[pulumi.Input['TemplateVisualTitleLabelOptionsArgsDict']] + """ + The title that is displayed on the visual. + """ +elif False: + TemplateWordCloudVisualArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateWordCloudVisualArgs: def __init__(__self__, *, @@ -95220,6 +126399,17 @@ def title(self, value: Optional[pulumi.Input['TemplateVisualTitleLabelOptionsArg pulumi.set(self, "title", value) +if not MYPY: + class TemplateYAxisOptionsArgsDict(TypedDict): + y_axis: pulumi.Input['TemplateSingleYAxisOption'] + """ + The Y axis type to be used in the chart. + + If you choose `PRIMARY_Y_AXIS` , the primary Y Axis is located on the leftmost vertical axis of the chart. + """ +elif False: + TemplateYAxisOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateYAxisOptionsArgs: def __init__(__self__, *, @@ -95246,6 +126436,18 @@ def y_axis(self, value: pulumi.Input['TemplateSingleYAxisOption']): pulumi.set(self, "y_axis", value) +if not MYPY: + class ThemeBorderStyleArgsDict(TypedDict): + """ +

The display options for tile borders for visuals.

+ """ + show: NotRequired[pulumi.Input[bool]] + """ +

The option to enable display of borders for visuals.

+ """ +elif False: + ThemeBorderStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeBorderStyleArgs: def __init__(__self__, *, @@ -95270,6 +126472,28 @@ def show(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "show", value) +if not MYPY: + class ThemeConfigurationArgsDict(TypedDict): + """ +

The theme configuration. This configuration contains all of the display properties for + a theme.

+ """ + data_color_palette: NotRequired[pulumi.Input['ThemeDataColorPaletteArgsDict']] + """ + Color properties that apply to chart data colors. + """ + sheet: NotRequired[pulumi.Input['ThemeSheetStyleArgsDict']] + """ + Display options related to sheets. + """ + typography: NotRequired[pulumi.Input['ThemeTypographyArgsDict']] + ui_color_palette: NotRequired[pulumi.Input['ThemeUiColorPaletteArgsDict']] + """ + Color properties that apply to the UI and to charts, excluding the colors that apply to data. + """ +elif False: + ThemeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeConfigurationArgs: def __init__(__self__, *, @@ -95339,6 +126563,29 @@ def ui_color_palette(self, value: Optional[pulumi.Input['ThemeUiColorPaletteArgs pulumi.set(self, "ui_color_palette", value) +if not MYPY: + class ThemeDataColorPaletteArgsDict(TypedDict): + """ +

The theme colors that are used for data colors in charts. The colors description is a + hexadecimal color code that consists of six alphanumerical characters, prefixed with + #, for example #37BFF5.

+ """ + colors: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ +

The hexadecimal codes for the colors.

+ """ + empty_fill_color: NotRequired[pulumi.Input[str]] + """ +

The hexadecimal code of a color that applies to charts where a lack of data is + highlighted.

+ """ + min_max_gradient: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ +

The minimum and maximum hexadecimal codes that describe a color gradient.

+ """ +elif False: + ThemeDataColorPaletteArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeDataColorPaletteArgs: def __init__(__self__, *, @@ -95399,6 +126646,15 @@ def min_max_gradient(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[st pulumi.set(self, "min_max_gradient", value) +if not MYPY: + class ThemeFontArgsDict(TypedDict): + font_family: NotRequired[pulumi.Input[str]] + """ + Determines the font family settings. + """ +elif False: + ThemeFontArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeFontArgs: def __init__(__self__, *, @@ -95422,6 +126678,19 @@ def font_family(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "font_family", value) +if not MYPY: + class ThemeGutterStyleArgsDict(TypedDict): + """ +

The display options for gutter spacing between tiles on a sheet.

+ """ + show: NotRequired[pulumi.Input[bool]] + """ +

This Boolean value controls whether to display a gutter space between sheet tiles. +

+ """ +elif False: + ThemeGutterStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeGutterStyleArgs: def __init__(__self__, *, @@ -95448,6 +126717,18 @@ def show(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "show", value) +if not MYPY: + class ThemeMarginStyleArgsDict(TypedDict): + """ +

The display options for margins around the outside edge of sheets.

+ """ + show: NotRequired[pulumi.Input[bool]] + """ +

This Boolean value controls whether to display sheet margins.

+ """ +elif False: + ThemeMarginStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeMarginStyleArgs: def __init__(__self__, *, @@ -95472,6 +126753,36 @@ def show(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "show", value) +if not MYPY: + class ThemeResourcePermissionArgsDict(TypedDict): + """ +

Permission for the resource.

+ """ + actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ +

The IAM action to grant or revoke permissions on.

+ """ + principal: pulumi.Input[str] + """ +

The Amazon Resource Name (ARN) of the principal. This can be one of the + following:

+
    +
  • +

    The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)

    +
  • +
  • +

    The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight + ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. + (This is less common.)

    +
  • +
+ """ +elif False: + ThemeResourcePermissionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeResourcePermissionArgs: def __init__(__self__, *, @@ -95538,6 +126849,22 @@ def principal(self, value: pulumi.Input[str]): pulumi.set(self, "principal", value) +if not MYPY: + class ThemeSheetStyleArgsDict(TypedDict): + """ +

The theme display options for sheets.

+ """ + tile: NotRequired[pulumi.Input['ThemeTileStyleArgsDict']] + """ + The display options for tiles. + """ + tile_layout: NotRequired[pulumi.Input['ThemeTileLayoutStyleArgsDict']] + """ + The layout options for tiles. + """ +elif False: + ThemeSheetStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeSheetStyleArgs: def __init__(__self__, *, @@ -95578,6 +126905,22 @@ def tile_layout(self, value: Optional[pulumi.Input['ThemeTileLayoutStyleArgs']]) pulumi.set(self, "tile_layout", value) +if not MYPY: + class ThemeTileLayoutStyleArgsDict(TypedDict): + """ +

The display options for the layout of tiles on a sheet.

+ """ + gutter: NotRequired[pulumi.Input['ThemeGutterStyleArgsDict']] + """ + The gutter settings that apply between tiles. + """ + margin: NotRequired[pulumi.Input['ThemeMarginStyleArgsDict']] + """ + The margin settings that apply around the outside edge of sheets. + """ +elif False: + ThemeTileLayoutStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeTileLayoutStyleArgs: def __init__(__self__, *, @@ -95618,6 +126961,18 @@ def margin(self, value: Optional[pulumi.Input['ThemeMarginStyleArgs']]): pulumi.set(self, "margin", value) +if not MYPY: + class ThemeTileStyleArgsDict(TypedDict): + """ +

Display options related to tiles on a sheet.

+ """ + border: NotRequired[pulumi.Input['ThemeBorderStyleArgsDict']] + """ + The border around a tile. + """ +elif False: + ThemeTileStyleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeTileStyleArgs: def __init__(__self__, *, @@ -95642,6 +126997,15 @@ def border(self, value: Optional[pulumi.Input['ThemeBorderStyleArgs']]): pulumi.set(self, "border", value) +if not MYPY: + class ThemeTypographyArgsDict(TypedDict): + font_families: NotRequired[pulumi.Input[Sequence[pulumi.Input['ThemeFontArgsDict']]]] + """ + Determines the list of font families. + """ +elif False: + ThemeTypographyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeTypographyArgs: def __init__(__self__, *, @@ -95665,6 +127029,92 @@ def font_families(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Them pulumi.set(self, "font_families", value) +if not MYPY: + class ThemeUiColorPaletteArgsDict(TypedDict): + """ +

The theme colors that apply to UI and to charts, excluding data colors. The colors + description is a hexadecimal color code that consists of six alphanumerical characters, + prefixed with #, for example #37BFF5. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User + Guide. +

+ """ + accent: NotRequired[pulumi.Input[str]] + """ +

This color is that applies to selected states and buttons.

+ """ + accent_foreground: NotRequired[pulumi.Input[str]] + """ +

The foreground color that applies to any text or other elements that appear over the + accent color.

+ """ + danger: NotRequired[pulumi.Input[str]] + """ +

The color that applies to error messages.

+ """ + danger_foreground: NotRequired[pulumi.Input[str]] + """ +

The foreground color that applies to any text or other elements that appear over the + error color.

+ """ + dimension: NotRequired[pulumi.Input[str]] + """ +

The color that applies to the names of fields that are identified as + dimensions.

+ """ + dimension_foreground: NotRequired[pulumi.Input[str]] + """ +

The foreground color that applies to any text or other elements that appear over the + dimension color.

+ """ + measure: NotRequired[pulumi.Input[str]] + """ +

The color that applies to the names of fields that are identified as measures.

+ """ + measure_foreground: NotRequired[pulumi.Input[str]] + """ +

The foreground color that applies to any text or other elements that appear over the + measure color.

+ """ + primary_background: NotRequired[pulumi.Input[str]] + """ +

The background color that applies to visuals and other high emphasis UI.

+ """ + primary_foreground: NotRequired[pulumi.Input[str]] + """ +

The color of text and other foreground elements that appear over the primary + background regions, such as grid lines, borders, table banding, icons, and so on.

+ """ + secondary_background: NotRequired[pulumi.Input[str]] + """ +

The background color that applies to the sheet background and sheet controls.

+ """ + secondary_foreground: NotRequired[pulumi.Input[str]] + """ +

The foreground color that applies to any sheet title, sheet control text, or UI that + appears over the secondary background.

+ """ + success: NotRequired[pulumi.Input[str]] + """ +

The color that applies to success messages, for example the check mark for a + successful download.

+ """ + success_foreground: NotRequired[pulumi.Input[str]] + """ +

The foreground color that applies to any text or other elements that appear over the + success color.

+ """ + warning: NotRequired[pulumi.Input[str]] + """ +

This color that applies to warning and informational messages.

+ """ + warning_foreground: NotRequired[pulumi.Input[str]] + """ +

The foreground color that applies to any text or other elements that appear over the + warning color.

+ """ +elif False: + ThemeUiColorPaletteArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ThemeUiColorPaletteArgs: def __init__(__self__, *, @@ -95953,6 +127403,79 @@ def warning_foreground(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "warning_foreground", value) +if not MYPY: + class TopicCalculatedFieldArgsDict(TypedDict): + calculated_field_name: pulumi.Input[str] + """ + The calculated field name. + """ + expression: pulumi.Input[str] + """ + The calculated field expression. + """ + aggregation: NotRequired[pulumi.Input['TopicDefaultAggregation']] + """ + The default aggregation. Valid values for this structure are `SUM` , `MAX` , `MIN` , `COUNT` , `DISTINCT_COUNT` , and `AVERAGE` . + """ + allowed_aggregations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicAuthorSpecifiedAggregation']]]] + """ + The list of aggregation types that are allowed for the calculated field. Valid values for this structure are `COUNT` , `DISTINCT_COUNT` , `MIN` , `MAX` , `MEDIAN` , `SUM` , `AVERAGE` , `STDEV` , `STDEVP` , `VAR` , `VARP` , and `PERCENTILE` . + """ + calculated_field_description: NotRequired[pulumi.Input[str]] + """ + The calculated field description. + """ + calculated_field_synonyms: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The other names or aliases for the calculated field. + """ + cell_value_synonyms: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicCellValueSynonymArgsDict']]]] + """ + The other names or aliases for the calculated field cell value. + """ + column_data_role: NotRequired[pulumi.Input['TopicColumnDataRole']] + """ + The column data role for a calculated field. Valid values for this structure are `DIMENSION` and `MEASURE` . + """ + comparative_order: NotRequired[pulumi.Input['TopicComparativeOrderArgsDict']] + """ + The order in which data is displayed for the calculated field when it's used in a comparative context. + """ + default_formatting: NotRequired[pulumi.Input['TopicDefaultFormattingArgsDict']] + """ + The default formatting definition. + """ + disable_indexing: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates if a calculated field is visible in the autocomplete. + """ + is_included_in_topic: NotRequired[pulumi.Input[bool]] + """ + A boolean value that indicates if a calculated field is included in the topic. + """ + never_aggregate_in_filter: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates whether to never aggregate calculated field in filters. + """ + non_additive: NotRequired[pulumi.Input[bool]] + """ + The non additive for the table style target. + """ + not_allowed_aggregations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicAuthorSpecifiedAggregation']]]] + """ + The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are `COUNT` , `DISTINCT_COUNT` , `MIN` , `MAX` , `MEDIAN` , `SUM` , `AVERAGE` , `STDEV` , `STDEVP` , `VAR` , `VARP` , and `PERCENTILE` . + """ + semantic_type: NotRequired[pulumi.Input['TopicSemanticTypeArgsDict']] + """ + The semantic type. + """ + time_granularity: NotRequired[pulumi.Input['TopicTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + TopicCalculatedFieldArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicCalculatedFieldArgs: def __init__(__self__, *, @@ -96230,6 +127753,23 @@ def time_granularity(self, value: Optional[pulumi.Input['TopicTimeGranularity']] pulumi.set(self, "time_granularity", value) +if not MYPY: + class TopicCategoryFilterConstantArgsDict(TypedDict): + collective_constant: NotRequired[pulumi.Input['TopicCollectiveConstantArgsDict']] + """ + A collective constant used in a category filter. This element is used to specify a list of values for the constant. + """ + constant_type: NotRequired[pulumi.Input['TopicConstantType']] + """ + The type of category filter constant. This element is used to specify whether a constant is a singular or collective. Valid values are `SINGULAR` and `COLLECTIVE` . + """ + singular_constant: NotRequired[pulumi.Input[str]] + """ + A singular constant used in a category filter. This element is used to specify a single value for the constant. + """ +elif False: + TopicCategoryFilterConstantArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicCategoryFilterConstantArgs: def __init__(__self__, *, @@ -96285,6 +127825,27 @@ def singular_constant(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "singular_constant", value) +if not MYPY: + class TopicCategoryFilterArgsDict(TypedDict): + category_filter_function: NotRequired[pulumi.Input['TopicCategoryFilterFunction']] + """ + The category filter function. Valid values for this structure are `EXACT` and `CONTAINS` . + """ + category_filter_type: NotRequired[pulumi.Input['TopicCategoryFilterType']] + """ + The category filter type. This element is used to specify whether a filter is a simple category filter or an inverse category filter. + """ + constant: NotRequired[pulumi.Input['TopicCategoryFilterConstantArgsDict']] + """ + The constant used in a category filter. + """ + inverse: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates if the filter is inverse. + """ +elif False: + TopicCategoryFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicCategoryFilterArgs: def __init__(__self__, *, @@ -96356,6 +127917,19 @@ def inverse(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "inverse", value) +if not MYPY: + class TopicCellValueSynonymArgsDict(TypedDict): + cell_value: NotRequired[pulumi.Input[str]] + """ + The cell value. + """ + synonyms: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Other names or aliases for the cell value. + """ +elif False: + TopicCellValueSynonymArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicCellValueSynonymArgs: def __init__(__self__, *, @@ -96395,6 +127969,15 @@ def synonyms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "synonyms", value) +if not MYPY: + class TopicCollectiveConstantArgsDict(TypedDict): + value_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of values for the collective constant. + """ +elif False: + TopicCollectiveConstantArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicCollectiveConstantArgs: def __init__(__self__, *, @@ -96418,6 +128001,79 @@ def value_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]) pulumi.set(self, "value_list", value) +if not MYPY: + class TopicColumnArgsDict(TypedDict): + column_name: pulumi.Input[str] + """ + The name of the column. + """ + aggregation: NotRequired[pulumi.Input['TopicDefaultAggregation']] + """ + The type of aggregation that is performed on the column data when it's queried. + """ + allowed_aggregations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicAuthorSpecifiedAggregation']]]] + """ + The list of aggregation types that are allowed for the column. Valid values for this structure are `COUNT` , `DISTINCT_COUNT` , `MIN` , `MAX` , `MEDIAN` , `SUM` , `AVERAGE` , `STDEV` , `STDEVP` , `VAR` , `VARP` , and `PERCENTILE` . + """ + cell_value_synonyms: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicCellValueSynonymArgsDict']]]] + """ + The other names or aliases for the column cell value. + """ + column_data_role: NotRequired[pulumi.Input['TopicColumnDataRole']] + """ + The role of the column in the data. Valid values are `DIMENSION` and `MEASURE` . + """ + column_description: NotRequired[pulumi.Input[str]] + """ + A description of the column and its contents. + """ + column_friendly_name: NotRequired[pulumi.Input[str]] + """ + A user-friendly name for the column. + """ + column_synonyms: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The other names or aliases for the column. + """ + comparative_order: NotRequired[pulumi.Input['TopicComparativeOrderArgsDict']] + """ + The order in which data is displayed for the column when it's used in a comparative context. + """ + default_formatting: NotRequired[pulumi.Input['TopicDefaultFormattingArgsDict']] + """ + The default formatting used for values in the column. + """ + disable_indexing: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates whether the column shows in the autocomplete functionality. + """ + is_included_in_topic: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates whether the column is included in the query results. + """ + never_aggregate_in_filter: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates whether to aggregate the column data when it's used in a filter context. + """ + non_additive: NotRequired[pulumi.Input[bool]] + """ + The non additive value for the column. + """ + not_allowed_aggregations: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicAuthorSpecifiedAggregation']]]] + """ + The list of aggregation types that are not allowed for the column. Valid values for this structure are `COUNT` , `DISTINCT_COUNT` , `MIN` , `MAX` , `MEDIAN` , `SUM` , `AVERAGE` , `STDEV` , `STDEVP` , `VAR` , `VARP` , and `PERCENTILE` . + """ + semantic_type: NotRequired[pulumi.Input['TopicSemanticTypeArgsDict']] + """ + The semantic type of data contained in the column. + """ + time_granularity: NotRequired[pulumi.Input['TopicTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + TopicColumnArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicColumnArgs: def __init__(__self__, *, @@ -96696,6 +128352,23 @@ def time_granularity(self, value: Optional[pulumi.Input['TopicTimeGranularity']] pulumi.set(self, "time_granularity", value) +if not MYPY: + class TopicComparativeOrderArgsDict(TypedDict): + specifed_order: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of columns to be used in the ordering. + """ + treat_undefined_specified_values: NotRequired[pulumi.Input['TopicUndefinedSpecifiedValueType']] + """ + The treat of undefined specified values. Valid values for this structure are `LEAST` and `MOST` . + """ + use_ordering: NotRequired[pulumi.Input['TopicColumnOrderingType']] + """ + The ordering type for a column. Valid values for this structure are `GREATER_IS_BETTER` , `LESSER_IS_BETTER` and `SPECIFIED` . + """ +elif False: + TopicComparativeOrderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicComparativeOrderArgs: def __init__(__self__, *, @@ -96751,6 +128424,19 @@ def use_ordering(self, value: Optional[pulumi.Input['TopicColumnOrderingType']]) pulumi.set(self, "use_ordering", value) +if not MYPY: + class TopicDataAggregationArgsDict(TypedDict): + dataset_row_date_granularity: NotRequired[pulumi.Input['TopicTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ + default_date_column_name: NotRequired[pulumi.Input[str]] + """ + The column name for the default date. + """ +elif False: + TopicDataAggregationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicDataAggregationArgs: def __init__(__self__, *, @@ -96790,6 +128476,43 @@ def default_date_column_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "default_date_column_name", value) +if not MYPY: + class TopicDatasetMetadataArgsDict(TypedDict): + dataset_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the dataset. + """ + calculated_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicCalculatedFieldArgsDict']]]] + """ + The list of calculated field definitions. + """ + columns: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicColumnArgsDict']]]] + """ + The list of column definitions. + """ + data_aggregation: NotRequired[pulumi.Input['TopicDataAggregationArgsDict']] + """ + The definition of a data aggregation. + """ + dataset_description: NotRequired[pulumi.Input[str]] + """ + The description of the dataset. + """ + dataset_name: NotRequired[pulumi.Input[str]] + """ + The name of the dataset. + """ + filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicFilterArgsDict']]]] + """ + The list of filter definitions. + """ + named_entities: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicNamedEntityArgsDict']]]] + """ + The list of named entities definitions. + """ +elif False: + TopicDatasetMetadataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicDatasetMetadataArgs: def __init__(__self__, *, @@ -96924,6 +128647,19 @@ def named_entities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Top pulumi.set(self, "named_entities", value) +if not MYPY: + class TopicDateRangeFilterArgsDict(TypedDict): + constant: NotRequired[pulumi.Input['TopicRangeFilterConstantArgsDict']] + """ + The constant used in a date range filter. + """ + inclusive: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates whether the date range filter should include the boundary values. If set to true, the filter includes the start and end dates. If set to false, the filter excludes them. + """ +elif False: + TopicDateRangeFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicDateRangeFilterArgs: def __init__(__self__, *, @@ -96963,6 +128699,19 @@ def inclusive(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "inclusive", value) +if not MYPY: + class TopicDefaultFormattingArgsDict(TypedDict): + display_format: NotRequired[pulumi.Input['TopicDisplayFormat']] + """ + The display format. Valid values for this structure are `AUTO` , `PERCENT` , `CURRENCY` , `NUMBER` , `DATE` , and `STRING` . + """ + display_format_options: NotRequired[pulumi.Input['TopicDisplayFormatOptionsArgsDict']] + """ + The additional options for display formatting. + """ +elif False: + TopicDefaultFormattingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicDefaultFormattingArgs: def __init__(__self__, *, @@ -97002,6 +128751,59 @@ def display_format_options(self, value: Optional[pulumi.Input['TopicDisplayForma pulumi.set(self, "display_format_options", value) +if not MYPY: + class TopicDisplayFormatOptionsArgsDict(TypedDict): + blank_cell_format: NotRequired[pulumi.Input[str]] + """ + Determines the blank cell format. + """ + currency_symbol: NotRequired[pulumi.Input[str]] + """ + The currency symbol, such as `USD` . + """ + date_format: NotRequired[pulumi.Input[str]] + """ + Determines the `DateTime` format. + """ + decimal_separator: NotRequired[pulumi.Input['TopicNumericSeparatorSymbol']] + """ + Determines the decimal separator. + """ + fraction_digits: NotRequired[pulumi.Input[float]] + """ + Determines the number of fraction digits. + """ + grouping_separator: NotRequired[pulumi.Input[str]] + """ + Determines the grouping separator. + """ + negative_format: NotRequired[pulumi.Input['TopicNegativeFormatArgsDict']] + """ + The negative format. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + The prefix value for a display format. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + The suffix value for a display format. + """ + unit_scaler: NotRequired[pulumi.Input['TopicNumberScale']] + """ + The unit scaler. Valid values for this structure are: `NONE` , `AUTO` , `THOUSANDS` , `MILLIONS` , `BILLIONS` , and `TRILLIONS` . + """ + use_blank_cell_format: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates whether to use blank cell format. + """ + use_grouping: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates whether to use grouping. + """ +elif False: + TopicDisplayFormatOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicDisplayFormatOptionsArgs: def __init__(__self__, *, @@ -97201,6 +129003,55 @@ def use_grouping(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "use_grouping", value) +if not MYPY: + class TopicFilterArgsDict(TypedDict): + filter_name: pulumi.Input[str] + """ + The name of the filter. + """ + operand_field_name: pulumi.Input[str] + """ + The name of the field that the filter operates on. + """ + category_filter: NotRequired[pulumi.Input['TopicCategoryFilterArgsDict']] + """ + The category filter that is associated with this filter. + """ + date_range_filter: NotRequired[pulumi.Input['TopicDateRangeFilterArgsDict']] + """ + The date range filter. + """ + filter_class: NotRequired[pulumi.Input['TopicFilterClass']] + """ + The class of the filter. Valid values for this structure are `ENFORCED_VALUE_FILTER` , `CONDITIONAL_VALUE_FILTER` , and `NAMED_VALUE_FILTER` . + """ + filter_description: NotRequired[pulumi.Input[str]] + """ + A description of the filter used to select items for a topic. + """ + filter_synonyms: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The other names or aliases for the filter. + """ + filter_type: NotRequired[pulumi.Input['TopicNamedFilterType']] + """ + The type of the filter. Valid values for this structure are `CATEGORY_FILTER` , `NUMERIC_EQUALITY_FILTER` , `NUMERIC_RANGE_FILTER` , `DATE_RANGE_FILTER` , and `RELATIVE_DATE_FILTER` . + """ + numeric_equality_filter: NotRequired[pulumi.Input['TopicNumericEqualityFilterArgsDict']] + """ + The numeric equality filter. + """ + numeric_range_filter: NotRequired[pulumi.Input['TopicNumericRangeFilterArgsDict']] + """ + The numeric range filter. + """ + relative_date_filter: NotRequired[pulumi.Input['TopicRelativeDateFilterArgsDict']] + """ + The relative date filter. + """ +elif False: + TopicFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicFilterArgs: def __init__(__self__, *, @@ -97382,6 +129233,19 @@ def relative_date_filter(self, value: Optional[pulumi.Input['TopicRelativeDateFi pulumi.set(self, "relative_date_filter", value) +if not MYPY: + class TopicNamedEntityDefinitionMetricArgsDict(TypedDict): + aggregation: NotRequired[pulumi.Input['TopicNamedEntityAggType']] + """ + The aggregation of a named entity. Valid values for this structure are `SUM` , `MIN` , `MAX` , `COUNT` , `AVERAGE` , `DISTINCT_COUNT` , `STDEV` , `STDEVP` , `VAR` , `VARP` , `PERCENTILE` , `MEDIAN` , and `CUSTOM` . + """ + aggregation_function_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The additional parameters for an aggregation function. + """ +elif False: + TopicNamedEntityDefinitionMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicNamedEntityDefinitionMetricArgs: def __init__(__self__, *, @@ -97421,6 +129285,31 @@ def aggregation_function_parameters(self, value: Optional[pulumi.Input[Mapping[s pulumi.set(self, "aggregation_function_parameters", value) +if not MYPY: + class TopicNamedEntityDefinitionArgsDict(TypedDict): + field_name: NotRequired[pulumi.Input[str]] + """ + The name of the entity. + """ + metric: NotRequired[pulumi.Input['TopicNamedEntityDefinitionMetricArgsDict']] + """ + The definition of a metric. + """ + property_name: NotRequired[pulumi.Input[str]] + """ + The property name to be used for the named entity. + """ + property_role: NotRequired[pulumi.Input['TopicPropertyRole']] + """ + The property role. Valid values for this structure are `PRIMARY` and `ID` . + """ + property_usage: NotRequired[pulumi.Input['TopicPropertyUsage']] + """ + The property usage. Valid values for this structure are `INHERIT` , `DIMENSION` , and `MEASURE` . + """ +elif False: + TopicNamedEntityDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicNamedEntityDefinitionArgs: def __init__(__self__, *, @@ -97508,6 +129397,31 @@ def property_usage(self, value: Optional[pulumi.Input['TopicPropertyUsage']]): pulumi.set(self, "property_usage", value) +if not MYPY: + class TopicNamedEntityArgsDict(TypedDict): + entity_name: pulumi.Input[str] + """ + The name of the named entity. + """ + definition: NotRequired[pulumi.Input[Sequence[pulumi.Input['TopicNamedEntityDefinitionArgsDict']]]] + """ + The definition of a named entity. + """ + entity_description: NotRequired[pulumi.Input[str]] + """ + The description of the named entity. + """ + entity_synonyms: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The other names or aliases for the named entity. + """ + semantic_entity_type: NotRequired[pulumi.Input['TopicSemanticEntityTypeArgsDict']] + """ + The type of named entity that a topic represents. + """ +elif False: + TopicNamedEntityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicNamedEntityArgs: def __init__(__self__, *, @@ -97594,6 +129508,19 @@ def semantic_entity_type(self, value: Optional[pulumi.Input['TopicSemanticEntity pulumi.set(self, "semantic_entity_type", value) +if not MYPY: + class TopicNegativeFormatArgsDict(TypedDict): + prefix: NotRequired[pulumi.Input[str]] + """ + The prefix for a negative format. + """ + suffix: NotRequired[pulumi.Input[str]] + """ + The suffix for a negative format. + """ +elif False: + TopicNegativeFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicNegativeFormatArgs: def __init__(__self__, *, @@ -97633,6 +129560,19 @@ def suffix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "suffix", value) +if not MYPY: + class TopicNumericEqualityFilterArgsDict(TypedDict): + aggregation: NotRequired[pulumi.Input['TopicNamedFilterAggType']] + """ + An aggregation function that specifies how to calculate the value of a numeric field for a topic. Valid values for this structure are `NO_AGGREGATION` , `SUM` , `AVERAGE` , `COUNT` , `DISTINCT_COUNT` , `MAX` , `MEDIAN` , `MIN` , `STDEV` , `STDEVP` , `VAR` , and `VARP` . + """ + constant: NotRequired[pulumi.Input['TopicSingularFilterConstantArgsDict']] + """ + The constant used in a numeric equality filter. + """ +elif False: + TopicNumericEqualityFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicNumericEqualityFilterArgs: def __init__(__self__, *, @@ -97672,6 +129612,23 @@ def constant(self, value: Optional[pulumi.Input['TopicSingularFilterConstantArgs pulumi.set(self, "constant", value) +if not MYPY: + class TopicNumericRangeFilterArgsDict(TypedDict): + aggregation: NotRequired[pulumi.Input['TopicNamedFilterAggType']] + """ + An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are `NO_AGGREGATION` , `SUM` , `AVERAGE` , `COUNT` , `DISTINCT_COUNT` , `MAX` , `MEDIAN` , `MIN` , `STDEV` , `STDEVP` , `VAR` , and `VARP` . + """ + constant: NotRequired[pulumi.Input['TopicRangeFilterConstantArgsDict']] + """ + The constant used in a numeric range filter. + """ + inclusive: NotRequired[pulumi.Input[bool]] + """ + A Boolean value that indicates whether the endpoints of the numeric range are included in the filter. If set to true, topics whose numeric field value is equal to the endpoint values will be included in the filter. If set to false, topics whose numeric field value is equal to the endpoint values will be excluded from the filter. + """ +elif False: + TopicNumericRangeFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicNumericRangeFilterArgs: def __init__(__self__, *, @@ -97727,6 +129684,19 @@ def inclusive(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "inclusive", value) +if not MYPY: + class TopicRangeConstantArgsDict(TypedDict): + maximum: NotRequired[pulumi.Input[str]] + """ + The maximum value for a range constant. + """ + minimum: NotRequired[pulumi.Input[str]] + """ + The minimum value for a range constant. + """ +elif False: + TopicRangeConstantArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRangeConstantArgs: def __init__(__self__, *, @@ -97766,6 +129736,19 @@ def minimum(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "minimum", value) +if not MYPY: + class TopicRangeFilterConstantArgsDict(TypedDict): + constant_type: NotRequired[pulumi.Input['TopicConstantType']] + """ + The data type of the constant value that is used in a range filter. Valid values for this structure are `RANGE` . + """ + range_constant: NotRequired[pulumi.Input['TopicRangeConstantArgsDict']] + """ + The value of the constant that is used to specify the endpoints of a range filter. + """ +elif False: + TopicRangeFilterConstantArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRangeFilterConstantArgs: def __init__(__self__, *, @@ -97805,6 +129788,23 @@ def range_constant(self, value: Optional[pulumi.Input['TopicRangeConstantArgs']] pulumi.set(self, "range_constant", value) +if not MYPY: + class TopicRelativeDateFilterArgsDict(TypedDict): + constant: NotRequired[pulumi.Input['TopicSingularFilterConstantArgsDict']] + """ + The constant used in a relative date filter. + """ + relative_date_filter_function: NotRequired[pulumi.Input['TopicRelativeDateFilterFunction']] + """ + The function to be used in a relative date filter to determine the range of dates to include in the results. Valid values for this structure are `BEFORE` , `AFTER` , and `BETWEEN` . + """ + time_granularity: NotRequired[pulumi.Input['TopicTimeGranularity']] + """ + The level of time precision that is used to aggregate `DateTime` values. + """ +elif False: + TopicRelativeDateFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicRelativeDateFilterArgs: def __init__(__self__, *, @@ -97860,6 +129860,23 @@ def time_granularity(self, value: Optional[pulumi.Input['TopicTimeGranularity']] pulumi.set(self, "time_granularity", value) +if not MYPY: + class TopicSemanticEntityTypeArgsDict(TypedDict): + sub_type_name: NotRequired[pulumi.Input[str]] + """ + The semantic entity sub type name. + """ + type_name: NotRequired[pulumi.Input[str]] + """ + The semantic entity type name. + """ + type_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The semantic entity type parameters. + """ +elif False: + TopicSemanticEntityTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicSemanticEntityTypeArgs: def __init__(__self__, *, @@ -97915,6 +129932,39 @@ def type_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input pulumi.set(self, "type_parameters", value) +if not MYPY: + class TopicSemanticTypeArgsDict(TypedDict): + falsey_cell_value: NotRequired[pulumi.Input[str]] + """ + The semantic type falsey cell value. + """ + falsey_cell_value_synonyms: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The other names or aliases for the false cell value. + """ + sub_type_name: NotRequired[pulumi.Input[str]] + """ + The semantic type sub type name. + """ + truthy_cell_value: NotRequired[pulumi.Input[str]] + """ + The semantic type truthy cell value. + """ + truthy_cell_value_synonyms: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The other names or aliases for the true cell value. + """ + type_name: NotRequired[pulumi.Input[str]] + """ + The semantic type name. + """ + type_parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The semantic type parameters. + """ +elif False: + TopicSemanticTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicSemanticTypeArgs: def __init__(__self__, *, @@ -98034,6 +130084,19 @@ def type_parameters(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input pulumi.set(self, "type_parameters", value) +if not MYPY: + class TopicSingularFilterConstantArgsDict(TypedDict): + constant_type: NotRequired[pulumi.Input['TopicConstantType']] + """ + The type of the singular filter constant. Valid values for this structure are `SINGULAR` . + """ + singular_constant: NotRequired[pulumi.Input[str]] + """ + The value of the singular filter constant. + """ +elif False: + TopicSingularFilterConstantArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicSingularFilterConstantArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/quicksight/analysis.py b/sdk/python/pulumi_aws_native/quicksight/analysis.py index e2c57d182c..ec89c3e692 100644 --- a/sdk/python/pulumi_aws_native/quicksight/analysis.py +++ b/sdk/python/pulumi_aws_native/quicksight/analysis.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/quicksight/dashboard.py b/sdk/python/pulumi_aws_native/quicksight/dashboard.py index 6cbfb9023e..f4e9711f37 100644 --- a/sdk/python/pulumi_aws_native/quicksight/dashboard.py +++ b/sdk/python/pulumi_aws_native/quicksight/dashboard.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/quicksight/data_set.py b/sdk/python/pulumi_aws_native/quicksight/data_set.py index 36e283a6f4..1ca578686f 100644 --- a/sdk/python/pulumi_aws_native/quicksight/data_set.py +++ b/sdk/python/pulumi_aws_native/quicksight/data_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/quicksight/data_source.py b/sdk/python/pulumi_aws_native/quicksight/data_source.py index a120001e4c..c09f3f2434 100644 --- a/sdk/python/pulumi_aws_native/quicksight/data_source.py +++ b/sdk/python/pulumi_aws_native/quicksight/data_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/quicksight/folder.py b/sdk/python/pulumi_aws_native/quicksight/folder.py index 25d5ffdddd..c958369103 100644 --- a/sdk/python/pulumi_aws_native/quicksight/folder.py +++ b/sdk/python/pulumi_aws_native/quicksight/folder.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/quicksight/get_analysis.py b/sdk/python/pulumi_aws_native/quicksight/get_analysis.py index 7203c5def9..32e8d9665c 100644 --- a/sdk/python/pulumi_aws_native/quicksight/get_analysis.py +++ b/sdk/python/pulumi_aws_native/quicksight/get_analysis.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -181,9 +186,6 @@ def get_analysis(analysis_id: Optional[str] = None, sheets=pulumi.get(__ret__, 'sheets'), tags=pulumi.get(__ret__, 'tags'), theme_arn=pulumi.get(__ret__, 'theme_arn')) - - -@_utilities.lift_output_func(get_analysis) def get_analysis_output(analysis_id: Optional[pulumi.Input[str]] = None, aws_account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAnalysisResult]: @@ -194,4 +196,19 @@ def get_analysis_output(analysis_id: Optional[pulumi.Input[str]] = None, :param str analysis_id: The ID for the analysis that you're creating. This ID displays in the URL of the analysis. :param str aws_account_id: The ID of the AWS account where you are creating an analysis. """ - ... + __args__ = dict() + __args__['analysisId'] = analysis_id + __args__['awsAccountId'] = aws_account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:quicksight:getAnalysis', __args__, opts=opts, typ=GetAnalysisResult) + return __ret__.apply(lambda __response__: GetAnalysisResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + data_set_arns=pulumi.get(__response__, 'data_set_arns'), + errors=pulumi.get(__response__, 'errors'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + name=pulumi.get(__response__, 'name'), + permissions=pulumi.get(__response__, 'permissions'), + sheets=pulumi.get(__response__, 'sheets'), + tags=pulumi.get(__response__, 'tags'), + theme_arn=pulumi.get(__response__, 'theme_arn'))) diff --git a/sdk/python/pulumi_aws_native/quicksight/get_dashboard.py b/sdk/python/pulumi_aws_native/quicksight/get_dashboard.py index 9ea056cc56..31817aa4db 100644 --- a/sdk/python/pulumi_aws_native/quicksight/get_dashboard.py +++ b/sdk/python/pulumi_aws_native/quicksight/get_dashboard.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -165,9 +170,6 @@ def get_dashboard(aws_account_id: Optional[str] = None, permissions=pulumi.get(__ret__, 'permissions'), tags=pulumi.get(__ret__, 'tags'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_dashboard) def get_dashboard_output(aws_account_id: Optional[pulumi.Input[str]] = None, dashboard_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDashboardResult]: @@ -178,4 +180,18 @@ def get_dashboard_output(aws_account_id: Optional[pulumi.Input[str]] = None, :param str aws_account_id: The ID of the AWS account where you want to create the dashboard. :param str dashboard_id: The ID for the dashboard, also added to the IAM policy. """ - ... + __args__ = dict() + __args__['awsAccountId'] = aws_account_id + __args__['dashboardId'] = dashboard_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:quicksight:getDashboard', __args__, opts=opts, typ=GetDashboardResult) + return __ret__.apply(lambda __response__: GetDashboardResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + last_published_time=pulumi.get(__response__, 'last_published_time'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + link_entities=pulumi.get(__response__, 'link_entities'), + name=pulumi.get(__response__, 'name'), + permissions=pulumi.get(__response__, 'permissions'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/quicksight/get_data_set.py b/sdk/python/pulumi_aws_native/quicksight/get_data_set.py index 79f9b6f83d..2a68128a01 100644 --- a/sdk/python/pulumi_aws_native/quicksight/get_data_set.py +++ b/sdk/python/pulumi_aws_native/quicksight/get_data_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -287,9 +292,6 @@ def get_data_set(aws_account_id: Optional[str] = None, row_level_permission_data_set=pulumi.get(__ret__, 'row_level_permission_data_set'), row_level_permission_tag_configuration=pulumi.get(__ret__, 'row_level_permission_tag_configuration'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_data_set) def get_data_set_output(aws_account_id: Optional[pulumi.Input[str]] = None, data_set_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataSetResult]: @@ -300,4 +302,27 @@ def get_data_set_output(aws_account_id: Optional[pulumi.Input[str]] = None, :param str aws_account_id: The AWS account ID. :param str data_set_id: An ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account. """ - ... + __args__ = dict() + __args__['awsAccountId'] = aws_account_id + __args__['dataSetId'] = data_set_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:quicksight:getDataSet', __args__, opts=opts, typ=GetDataSetResult) + return __ret__.apply(lambda __response__: GetDataSetResult( + arn=pulumi.get(__response__, 'arn'), + column_groups=pulumi.get(__response__, 'column_groups'), + column_level_permission_rules=pulumi.get(__response__, 'column_level_permission_rules'), + consumed_spice_capacity_in_bytes=pulumi.get(__response__, 'consumed_spice_capacity_in_bytes'), + created_time=pulumi.get(__response__, 'created_time'), + data_set_refresh_properties=pulumi.get(__response__, 'data_set_refresh_properties'), + data_set_usage_configuration=pulumi.get(__response__, 'data_set_usage_configuration'), + dataset_parameters=pulumi.get(__response__, 'dataset_parameters'), + import_mode=pulumi.get(__response__, 'import_mode'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + logical_table_map=pulumi.get(__response__, 'logical_table_map'), + name=pulumi.get(__response__, 'name'), + output_columns=pulumi.get(__response__, 'output_columns'), + permissions=pulumi.get(__response__, 'permissions'), + physical_table_map=pulumi.get(__response__, 'physical_table_map'), + row_level_permission_data_set=pulumi.get(__response__, 'row_level_permission_data_set'), + row_level_permission_tag_configuration=pulumi.get(__response__, 'row_level_permission_tag_configuration'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/quicksight/get_data_source.py b/sdk/python/pulumi_aws_native/quicksight/get_data_source.py index 2d4d8aec8e..2899ce8fa5 100644 --- a/sdk/python/pulumi_aws_native/quicksight/get_data_source.py +++ b/sdk/python/pulumi_aws_native/quicksight/get_data_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -213,9 +218,6 @@ def get_data_source(aws_account_id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), vpc_connection_properties=pulumi.get(__ret__, 'vpc_connection_properties')) - - -@_utilities.lift_output_func(get_data_source) def get_data_source_output(aws_account_id: Optional[pulumi.Input[str]] = None, data_source_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataSourceResult]: @@ -226,4 +228,21 @@ def get_data_source_output(aws_account_id: Optional[pulumi.Input[str]] = None, :param str aws_account_id: The AWS account ID. :param str data_source_id: An ID for the data source. This ID is unique per AWS Region for each AWS account. """ - ... + __args__ = dict() + __args__['awsAccountId'] = aws_account_id + __args__['dataSourceId'] = data_source_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:quicksight:getDataSource', __args__, opts=opts, typ=GetDataSourceResult) + return __ret__.apply(lambda __response__: GetDataSourceResult( + alternate_data_source_parameters=pulumi.get(__response__, 'alternate_data_source_parameters'), + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + data_source_parameters=pulumi.get(__response__, 'data_source_parameters'), + error_info=pulumi.get(__response__, 'error_info'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + name=pulumi.get(__response__, 'name'), + permissions=pulumi.get(__response__, 'permissions'), + ssl_properties=pulumi.get(__response__, 'ssl_properties'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + vpc_connection_properties=pulumi.get(__response__, 'vpc_connection_properties'))) diff --git a/sdk/python/pulumi_aws_native/quicksight/get_folder.py b/sdk/python/pulumi_aws_native/quicksight/get_folder.py index 45bb3aeac3..0efa5dc095 100644 --- a/sdk/python/pulumi_aws_native/quicksight/get_folder.py +++ b/sdk/python/pulumi_aws_native/quicksight/get_folder.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_folder(aws_account_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), permissions=pulumi.get(__ret__, 'permissions'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_folder) def get_folder_output(aws_account_id: Optional[pulumi.Input[str]] = None, folder_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFolderResult]: @@ -134,4 +136,15 @@ def get_folder_output(aws_account_id: Optional[pulumi.Input[str]] = None, :param str folder_id: The ID of the folder. """ - ... + __args__ = dict() + __args__['awsAccountId'] = aws_account_id + __args__['folderId'] = folder_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:quicksight:getFolder', __args__, opts=opts, typ=GetFolderResult) + return __ret__.apply(lambda __response__: GetFolderResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + name=pulumi.get(__response__, 'name'), + permissions=pulumi.get(__response__, 'permissions'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/quicksight/get_template.py b/sdk/python/pulumi_aws_native/quicksight/get_template.py index 23d3fe6787..644690f571 100644 --- a/sdk/python/pulumi_aws_native/quicksight/get_template.py +++ b/sdk/python/pulumi_aws_native/quicksight/get_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_template(aws_account_id: Optional[str] = None, permissions=pulumi.get(__ret__, 'permissions'), tags=pulumi.get(__ret__, 'tags'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_template) def get_template_output(aws_account_id: Optional[pulumi.Input[str]] = None, template_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTemplateResult]: @@ -150,4 +152,16 @@ def get_template_output(aws_account_id: Optional[pulumi.Input[str]] = None, :param str aws_account_id: The ID for the AWS account that the group is in. You use the ID for the AWS account that contains your Amazon QuickSight account. :param str template_id: An ID for the template that you want to create. This template is unique per AWS Region ; in each AWS account. """ - ... + __args__ = dict() + __args__['awsAccountId'] = aws_account_id + __args__['templateId'] = template_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:quicksight:getTemplate', __args__, opts=opts, typ=GetTemplateResult) + return __ret__.apply(lambda __response__: GetTemplateResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + name=pulumi.get(__response__, 'name'), + permissions=pulumi.get(__response__, 'permissions'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/quicksight/get_theme.py b/sdk/python/pulumi_aws_native/quicksight/get_theme.py index 38ff232803..6652910be8 100644 --- a/sdk/python/pulumi_aws_native/quicksight/get_theme.py +++ b/sdk/python/pulumi_aws_native/quicksight/get_theme.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_theme(aws_account_id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_theme) def get_theme_output(aws_account_id: Optional[pulumi.Input[str]] = None, theme_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetThemeResult]: @@ -163,4 +165,17 @@ def get_theme_output(aws_account_id: Optional[pulumi.Input[str]] = None, :param str aws_account_id: The ID of the AWS account where you want to store the new theme. :param str theme_id: An ID for the theme that you want to create. The theme ID is unique per AWS Region in each AWS account. """ - ... + __args__ = dict() + __args__['awsAccountId'] = aws_account_id + __args__['themeId'] = theme_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:quicksight:getTheme', __args__, opts=opts, typ=GetThemeResult) + return __ret__.apply(lambda __response__: GetThemeResult( + arn=pulumi.get(__response__, 'arn'), + created_time=pulumi.get(__response__, 'created_time'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + name=pulumi.get(__response__, 'name'), + permissions=pulumi.get(__response__, 'permissions'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/quicksight/get_topic.py b/sdk/python/pulumi_aws_native/quicksight/get_topic.py index a8614c1a4c..be037df211 100644 --- a/sdk/python/pulumi_aws_native/quicksight/get_topic.py +++ b/sdk/python/pulumi_aws_native/quicksight/get_topic.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -113,9 +118,6 @@ def get_topic(aws_account_id: Optional[str] = None, description=pulumi.get(__ret__, 'description'), name=pulumi.get(__ret__, 'name'), user_experience_version=pulumi.get(__ret__, 'user_experience_version')) - - -@_utilities.lift_output_func(get_topic) def get_topic_output(aws_account_id: Optional[pulumi.Input[str]] = None, topic_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTopicResult]: @@ -126,4 +128,14 @@ def get_topic_output(aws_account_id: Optional[pulumi.Input[str]] = None, :param str aws_account_id: The ID of the AWS account that you want to create a topic in. :param str topic_id: The ID for the topic. This ID is unique per AWS Region for each AWS account. """ - ... + __args__ = dict() + __args__['awsAccountId'] = aws_account_id + __args__['topicId'] = topic_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:quicksight:getTopic', __args__, opts=opts, typ=GetTopicResult) + return __ret__.apply(lambda __response__: GetTopicResult( + arn=pulumi.get(__response__, 'arn'), + data_sets=pulumi.get(__response__, 'data_sets'), + description=pulumi.get(__response__, 'description'), + name=pulumi.get(__response__, 'name'), + user_experience_version=pulumi.get(__response__, 'user_experience_version'))) diff --git a/sdk/python/pulumi_aws_native/quicksight/get_vpc_connection.py b/sdk/python/pulumi_aws_native/quicksight/get_vpc_connection.py index 66e9a4d512..2e0714a889 100644 --- a/sdk/python/pulumi_aws_native/quicksight/get_vpc_connection.py +++ b/sdk/python/pulumi_aws_native/quicksight/get_vpc_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -205,9 +210,6 @@ def get_vpc_connection(aws_account_id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), vpc_id=pulumi.get(__ret__, 'vpc_id')) - - -@_utilities.lift_output_func(get_vpc_connection) def get_vpc_connection_output(aws_account_id: Optional[pulumi.Input[str]] = None, vpc_connection_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVpcConnectionResult]: @@ -218,4 +220,21 @@ def get_vpc_connection_output(aws_account_id: Optional[pulumi.Input[str]] = None :param str aws_account_id: The AWS account ID of the account where you want to create a new VPC connection. :param str vpc_connection_id: The ID of the VPC connection that you're creating. This ID is a unique identifier for each AWS Region in an AWS account. """ - ... + __args__ = dict() + __args__['awsAccountId'] = aws_account_id + __args__['vpcConnectionId'] = vpc_connection_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:quicksight:getVpcConnection', __args__, opts=opts, typ=GetVpcConnectionResult) + return __ret__.apply(lambda __response__: GetVpcConnectionResult( + arn=pulumi.get(__response__, 'arn'), + availability_status=pulumi.get(__response__, 'availability_status'), + created_time=pulumi.get(__response__, 'created_time'), + dns_resolvers=pulumi.get(__response__, 'dns_resolvers'), + last_updated_time=pulumi.get(__response__, 'last_updated_time'), + name=pulumi.get(__response__, 'name'), + network_interfaces=pulumi.get(__response__, 'network_interfaces'), + role_arn=pulumi.get(__response__, 'role_arn'), + security_group_ids=pulumi.get(__response__, 'security_group_ids'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + vpc_id=pulumi.get(__response__, 'vpc_id'))) diff --git a/sdk/python/pulumi_aws_native/quicksight/outputs.py b/sdk/python/pulumi_aws_native/quicksight/outputs.py index 4e7028d7bf..78fc0e64b8 100644 --- a/sdk/python/pulumi_aws_native/quicksight/outputs.py +++ b/sdk/python/pulumi_aws_native/quicksight/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/quicksight/refresh_schedule.py b/sdk/python/pulumi_aws_native/quicksight/refresh_schedule.py index fdbd4569ca..7a8db3405b 100644 --- a/sdk/python/pulumi_aws_native/quicksight/refresh_schedule.py +++ b/sdk/python/pulumi_aws_native/quicksight/refresh_schedule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/quicksight/template.py b/sdk/python/pulumi_aws_native/quicksight/template.py index bb74a30b6d..4765b5d000 100644 --- a/sdk/python/pulumi_aws_native/quicksight/template.py +++ b/sdk/python/pulumi_aws_native/quicksight/template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/quicksight/theme.py b/sdk/python/pulumi_aws_native/quicksight/theme.py index eef4683f83..0aafed3187 100644 --- a/sdk/python/pulumi_aws_native/quicksight/theme.py +++ b/sdk/python/pulumi_aws_native/quicksight/theme.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/quicksight/topic.py b/sdk/python/pulumi_aws_native/quicksight/topic.py index a198e7a2dd..99f0af384f 100644 --- a/sdk/python/pulumi_aws_native/quicksight/topic.py +++ b/sdk/python/pulumi_aws_native/quicksight/topic.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/quicksight/vpc_connection.py b/sdk/python/pulumi_aws_native/quicksight/vpc_connection.py index 620e9499b5..ee2d414703 100644 --- a/sdk/python/pulumi_aws_native/quicksight/vpc_connection.py +++ b/sdk/python/pulumi_aws_native/quicksight/vpc_connection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ram/get_permission.py b/sdk/python/pulumi_aws_native/ram/get_permission.py index b8b8605ee8..11c2e974f3 100644 --- a/sdk/python/pulumi_aws_native/ram/get_permission.py +++ b/sdk/python/pulumi_aws_native/ram/get_permission.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -112,9 +117,6 @@ def get_permission(arn: Optional[str] = None, permission_type=pulumi.get(__ret__, 'permission_type'), tags=pulumi.get(__ret__, 'tags'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_permission) def get_permission_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPermissionResult]: """ @@ -123,4 +125,13 @@ def get_permission_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the new permission. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ram:getPermission', __args__, opts=opts, typ=GetPermissionResult) + return __ret__.apply(lambda __response__: GetPermissionResult( + arn=pulumi.get(__response__, 'arn'), + is_resource_type_default=pulumi.get(__response__, 'is_resource_type_default'), + permission_type=pulumi.get(__response__, 'permission_type'), + tags=pulumi.get(__response__, 'tags'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/ram/permission.py b/sdk/python/pulumi_aws_native/ram/permission.py index 357e323307..2a9bedb34e 100644 --- a/sdk/python/pulumi_aws_native/ram/permission.py +++ b/sdk/python/pulumi_aws_native/ram/permission.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/rds/_inputs.py b/sdk/python/pulumi_aws_native/rds/_inputs.py index 6388ed55d4..aa1f01e308 100644 --- a/sdk/python/pulumi_aws_native/rds/_inputs.py +++ b/sdk/python/pulumi_aws_native/rds/_inputs.py @@ -4,29 +4,66 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DbClusterDbClusterRoleArgs', + 'DbClusterDbClusterRoleArgsDict', 'DbClusterMasterUserSecretArgs', + 'DbClusterMasterUserSecretArgsDict', 'DbClusterReadEndpointArgs', + 'DbClusterReadEndpointArgsDict', 'DbClusterScalingConfigurationArgs', + 'DbClusterScalingConfigurationArgsDict', 'DbClusterServerlessV2ScalingConfigurationArgs', + 'DbClusterServerlessV2ScalingConfigurationArgsDict', 'DbInstanceCertificateDetailsArgs', + 'DbInstanceCertificateDetailsArgsDict', 'DbInstanceDbInstanceRoleArgs', + 'DbInstanceDbInstanceRoleArgsDict', 'DbInstanceEndpointArgs', + 'DbInstanceEndpointArgsDict', 'DbInstanceMasterUserSecretArgs', + 'DbInstanceMasterUserSecretArgsDict', 'DbInstanceProcessorFeatureArgs', + 'DbInstanceProcessorFeatureArgsDict', 'DbProxyAuthFormatArgs', + 'DbProxyAuthFormatArgsDict', 'DbProxyTargetGroupConnectionPoolConfigurationInfoFormatArgs', + 'DbProxyTargetGroupConnectionPoolConfigurationInfoFormatArgsDict', 'OptionGroupOptionConfigurationArgs', + 'OptionGroupOptionConfigurationArgsDict', 'OptionGroupOptionSettingArgs', + 'OptionGroupOptionSettingArgsDict', ] +MYPY = False + +if not MYPY: + class DbClusterDbClusterRoleArgsDict(TypedDict): + """ + Describes an AWS Identity and Access Management (IAM) role that is associated with a DB cluster. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster. + """ + feature_name: NotRequired[pulumi.Input[str]] + """ + The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf. For the list of supported feature names, see the ``SupportedFeatureNames`` description in [DBEngineVersion](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DBEngineVersion.html) in the *Amazon RDS API Reference*. + """ +elif False: + DbClusterDbClusterRoleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbClusterDbClusterRoleArgs: def __init__(__self__, *, @@ -66,6 +103,23 @@ def feature_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "feature_name", value) +if not MYPY: + class DbClusterMasterUserSecretArgsDict(TypedDict): + """ + The ``MasterUserSecret`` return value specifies the secret managed by RDS in AWS Secrets Manager for the master user password. + For more information, see [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) in the *Amazon RDS User Guide* and [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) in the *Amazon Aurora User Guide.* + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS KMS key identifier that is used to encrypt the secret. + """ + secret_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the secret. This parameter is a return value that you can retrieve using the ``Fn::GetAtt`` intrinsic function. For more information, see [Return values](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#aws-resource-rds-dbcluster-return-values). + """ +elif False: + DbClusterMasterUserSecretArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbClusterMasterUserSecretArgs: def __init__(__self__, *, @@ -107,6 +161,21 @@ def secret_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "secret_arn", value) +if not MYPY: + class DbClusterReadEndpointArgsDict(TypedDict): + """ + The ``ReadEndpoint`` return value specifies the reader endpoint for the DB cluster. + The reader endpoint for a DB cluster load-balances connections across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can help balance your read workload across multiple Aurora Replicas in your DB cluster. + If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you can then reconnect to the reader endpoint. + For more information about Aurora endpoints, see [Amazon Aurora connection management](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.Endpoints.html) in the *Amazon Aurora User Guide*. + """ + address: NotRequired[pulumi.Input[str]] + """ + The host address of the reader endpoint. + """ +elif False: + DbClusterReadEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbClusterReadEndpointArgs: def __init__(__self__, *, @@ -134,6 +203,54 @@ def address(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "address", value) +if not MYPY: + class DbClusterScalingConfigurationArgsDict(TypedDict): + """ + The ``ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless v1 DB cluster. + For more information, see [Using Amazon Aurora Serverless](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) in the *Amazon Aurora User Guide*. + This property is only supported for Aurora Serverless v1. For Aurora Serverless v2, Use the ``ServerlessV2ScalingConfiguration`` property. + Valid for: Aurora Serverless v1 DB clusters only + """ + auto_pause: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to allow or disallow automatic pause for an Aurora DB cluster in ``serverless`` DB engine mode. A DB cluster can be paused only when it's idle (it has no connections). + If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it. + """ + max_capacity: NotRequired[pulumi.Input[int]] + """ + The maximum capacity for an Aurora DB cluster in ``serverless`` DB engine mode. + For Aurora MySQL, valid capacity values are ``1``, ``2``, ``4``, ``8``, ``16``, ``32``, ``64``, ``128``, and ``256``. + For Aurora PostgreSQL, valid capacity values are ``2``, ``4``, ``8``, ``16``, ``32``, ``64``, ``192``, and ``384``. + The maximum capacity must be greater than or equal to the minimum capacity. + """ + min_capacity: NotRequired[pulumi.Input[int]] + """ + The minimum capacity for an Aurora DB cluster in ``serverless`` DB engine mode. + For Aurora MySQL, valid capacity values are ``1``, ``2``, ``4``, ``8``, ``16``, ``32``, ``64``, ``128``, and ``256``. + For Aurora PostgreSQL, valid capacity values are ``2``, ``4``, ``8``, ``16``, ``32``, ``64``, ``192``, and ``384``. + The minimum capacity must be less than or equal to the maximum capacity. + """ + seconds_before_timeout: NotRequired[pulumi.Input[int]] + """ + The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300. + Specify a value between 60 and 600 seconds. + """ + seconds_until_auto_pause: NotRequired[pulumi.Input[int]] + """ + The time, in seconds, before an Aurora DB cluster in ``serverless`` mode is paused. + Specify a value between 300 and 86,400 seconds. + """ + timeout_action: NotRequired[pulumi.Input[str]] + """ + The action to take when the timeout is reached, either ``ForceApplyCapacityChange`` or ``RollbackCapacityChange``. + ``ForceApplyCapacityChange`` sets the capacity to the specified value as soon as possible. + ``RollbackCapacityChange``, the default, ignores the capacity change if a scaling point isn't found in the timeout period. + If you specify ``ForceApplyCapacityChange``, connections that prevent Aurora Serverless v1 from finding a scaling point might be dropped. + For more information, see [Autoscaling for Aurora Serverless v1](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html#aurora-serverless.how-it-works.auto-scaling) in the *Amazon Aurora User Guide*. + """ +elif False: + DbClusterScalingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbClusterScalingConfigurationArgs: def __init__(__self__, *, @@ -267,6 +384,27 @@ def timeout_action(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "timeout_action", value) +if not MYPY: + class DbClusterServerlessV2ScalingConfigurationArgsDict(TypedDict): + """ + The ``ServerlessV2ScalingConfiguration`` property type specifies the scaling configuration of an Aurora Serverless V2 DB cluster. For more information, see [Using Amazon Aurora Serverless v2](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html) in the *Amazon Aurora User Guide*. + If you have an Aurora cluster, you must set this attribute before you add a DB instance that uses the ``db.serverless`` DB instance class. For more information, see [Clusters that use Aurora Serverless v2 must have a capacity range specified](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.requirements.html#aurora-serverless-v2.requirements.capacity-range) in the *Amazon Aurora User Guide*. + This property is only supported for Aurora Serverless v2. For Aurora Serverless v1, use the ``ScalingConfiguration`` property. + Valid for: Aurora Serverless v2 DB clusters + """ + max_capacity: NotRequired[pulumi.Input[float]] + """ + The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 128. + The maximum capacity must be higher than 0.5 ACUs. For more information, see [Choosing the maximum Aurora Serverless v2 capacity setting for a cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.setting-capacity.html#aurora-serverless-v2.max_capacity_considerations) in the *Amazon Aurora User Guide*. + Aurora automatically sets certain parameters for Aurora Serverless V2 DB instances to values that depend on the maximum ACU value in the capacity range. When you update the maximum capacity value, the ``ParameterApplyStatus`` value for the DB instance changes to ``pending-reboot``. You can update the parameter values by rebooting the DB instance after changing the capacity range. + """ + min_capacity: NotRequired[pulumi.Input[float]] + """ + The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5. + """ +elif False: + DbClusterServerlessV2ScalingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbClusterServerlessV2ScalingConfigurationArgs: def __init__(__self__, *, @@ -314,6 +452,23 @@ def min_capacity(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min_capacity", value) +if not MYPY: + class DbInstanceCertificateDetailsArgsDict(TypedDict): + """ + The details of the DB instance’s server certificate. + For more information, see [Using SSL/TLS to encrypt a connection to a DB instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a connection to a DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) in the *Amazon Aurora User Guide*. + """ + ca_identifier: NotRequired[pulumi.Input[str]] + """ + The CA identifier of the CA certificate used for the DB instance's server certificate. + """ + valid_till: NotRequired[pulumi.Input[str]] + """ + The expiration date of the DB instance’s server certificate. + """ +elif False: + DbInstanceCertificateDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbInstanceCertificateDetailsArgs: def __init__(__self__, *, @@ -355,6 +510,22 @@ def valid_till(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "valid_till", value) +if not MYPY: + class DbInstanceDbInstanceRoleArgsDict(TypedDict): + """ + Information about an AWS Identity and Access Management (IAM) role that is associated with a DB instance. + """ + feature_name: pulumi.Input[str] + """ + The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB instance grant permission for the DB instance to access other AWS services on your behalf. For the list of supported feature names, see the ``SupportedFeatureNames`` description in [DBEngineVersion](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DBEngineVersion.html) in the *Amazon RDS API Reference*. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance. + """ +elif False: + DbInstanceDbInstanceRoleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbInstanceDbInstanceRoleArgs: def __init__(__self__, *, @@ -393,6 +564,31 @@ def role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "role_arn", value) +if not MYPY: + class DbInstanceEndpointArgsDict(TypedDict): + """ + This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions: + + ``CreateDBInstance`` + + ``DescribeDBInstances`` + + ``DeleteDBInstance`` + + For the data structure that represents Amazon Aurora DB cluster endpoints, see ``DBClusterEndpoint``. + """ + address: NotRequired[pulumi.Input[str]] + """ + Specifies the DNS address of the DB instance. + """ + hosted_zone_id: NotRequired[pulumi.Input[str]] + """ + Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. + """ + port: NotRequired[pulumi.Input[str]] + """ + Specifies the port that the database engine is listening on. + """ +elif False: + DbInstanceEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbInstanceEndpointArgs: def __init__(__self__, *, @@ -454,6 +650,23 @@ def port(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "port", value) +if not MYPY: + class DbInstanceMasterUserSecretArgsDict(TypedDict): + """ + The ``MasterUserSecret`` return value specifies the secret managed by RDS in AWS Secrets Manager for the master user password. + For more information, see [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) in the *Amazon RDS User Guide* and [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) in the *Amazon Aurora User Guide.* + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS KMS key identifier that is used to encrypt the secret. + """ + secret_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the secret. This parameter is a return value that you can retrieve using the ``Fn::GetAtt`` intrinsic function. For more information, see [Return values](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#aws-resource-rds-dbinstance-return-values). + """ +elif False: + DbInstanceMasterUserSecretArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbInstanceMasterUserSecretArgs: def __init__(__self__, *, @@ -495,6 +708,22 @@ def secret_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "secret_arn", value) +if not MYPY: + class DbInstanceProcessorFeatureArgsDict(TypedDict): + """ + The ``ProcessorFeature`` property type specifies the processor features of a DB instance class. + """ + name: NotRequired[pulumi.Input['DbInstanceProcessorFeatureName']] + """ + The name of the processor feature. Valid names are ``coreCount`` and ``threadsPerCore``. + """ + value: NotRequired[pulumi.Input[str]] + """ + The value of a processor feature. + """ +elif False: + DbInstanceProcessorFeatureArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbInstanceProcessorFeatureArgs: def __init__(__self__, *, @@ -535,6 +764,31 @@ def value(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value", value) +if not MYPY: + class DbProxyAuthFormatArgsDict(TypedDict): + auth_scheme: NotRequired[pulumi.Input['DbProxyAuthFormatAuthScheme']] + """ + The type of authentication that the proxy uses for connections from the proxy to the underlying database. + """ + client_password_auth_type: NotRequired[pulumi.Input['DbProxyAuthFormatClientPasswordAuthType']] + """ + The type of authentication the proxy uses for connections from clients. + """ + description: NotRequired[pulumi.Input[str]] + """ + A user-specified description about the authentication used by a proxy to log in as a specific database user. + """ + iam_auth: NotRequired[pulumi.Input['DbProxyAuthFormatIamAuth']] + """ + Whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL Server. + """ + secret_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. + """ +elif False: + DbProxyAuthFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbProxyAuthFormatArgs: def __init__(__self__, *, @@ -622,6 +876,31 @@ def secret_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "secret_arn", value) +if not MYPY: + class DbProxyTargetGroupConnectionPoolConfigurationInfoFormatArgsDict(TypedDict): + connection_borrow_timeout: NotRequired[pulumi.Input[int]] + """ + The number of seconds for a proxy to wait for a connection to become available in the connection pool. + """ + init_query: NotRequired[pulumi.Input[str]] + """ + One or more SQL statements for the proxy to run when opening each new database connection. + """ + max_connections_percent: NotRequired[pulumi.Input[int]] + """ + The maximum size of the connection pool for each target in a target group. + """ + max_idle_connections_percent: NotRequired[pulumi.Input[int]] + """ + Controls how actively the proxy closes idle database connections in the connection pool. + """ + session_pinning_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection. + """ +elif False: + DbProxyTargetGroupConnectionPoolConfigurationInfoFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DbProxyTargetGroupConnectionPoolConfigurationInfoFormatArgs: def __init__(__self__, *, @@ -709,6 +988,38 @@ def session_pinning_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "session_pinning_filters", value) +if not MYPY: + class OptionGroupOptionConfigurationArgsDict(TypedDict): + """ + The ``OptionConfiguration`` property type specifies an individual option, and its settings, within an ``AWS::RDS::OptionGroup`` resource. + """ + option_name: pulumi.Input[str] + """ + The configuration of options to include in a group. + """ + db_security_group_memberships: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of DB security groups used for this option. + """ + option_settings: NotRequired[pulumi.Input[Sequence[pulumi.Input['OptionGroupOptionSettingArgsDict']]]] + """ + The option settings to include in an option group. + """ + option_version: NotRequired[pulumi.Input[str]] + """ + The version for the option. + """ + port: NotRequired[pulumi.Input[int]] + """ + The optional port for the option. + """ + vpc_security_group_memberships: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of VPC security group names used for this option. + """ +elif False: + OptionGroupOptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OptionGroupOptionConfigurationArgs: def __init__(__self__, *, @@ -812,6 +1123,22 @@ def vpc_security_group_memberships(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "vpc_security_group_memberships", value) +if not MYPY: + class OptionGroupOptionSettingArgsDict(TypedDict): + """ + The ``OptionSetting`` property type specifies the value for an option within an ``OptionSetting`` property. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the option that has settings that you can set. + """ + value: NotRequired[pulumi.Input[str]] + """ + The current value of the option setting. + """ +elif False: + OptionGroupOptionSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OptionGroupOptionSettingArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/rds/custom_db_engine_version.py b/sdk/python/pulumi_aws_native/rds/custom_db_engine_version.py index a31afeef63..ba412aeeb1 100644 --- a/sdk/python/pulumi_aws_native/rds/custom_db_engine_version.py +++ b/sdk/python/pulumi_aws_native/rds/custom_db_engine_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/rds/db_cluster.py b/sdk/python/pulumi_aws_native/rds/db_cluster.py index 2d6d833ce2..52ed5e728a 100644 --- a/sdk/python/pulumi_aws_native/rds/db_cluster.py +++ b/sdk/python/pulumi_aws_native/rds/db_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/rds/db_cluster_parameter_group.py b/sdk/python/pulumi_aws_native/rds/db_cluster_parameter_group.py index 0e8ceaa70e..7a8aa88023 100644 --- a/sdk/python/pulumi_aws_native/rds/db_cluster_parameter_group.py +++ b/sdk/python/pulumi_aws_native/rds/db_cluster_parameter_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/rds/db_instance.py b/sdk/python/pulumi_aws_native/rds/db_instance.py index 7d623ace56..3fcd8b5c81 100644 --- a/sdk/python/pulumi_aws_native/rds/db_instance.py +++ b/sdk/python/pulumi_aws_native/rds/db_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/rds/db_parameter_group.py b/sdk/python/pulumi_aws_native/rds/db_parameter_group.py index 3f1c49437b..f900266a11 100644 --- a/sdk/python/pulumi_aws_native/rds/db_parameter_group.py +++ b/sdk/python/pulumi_aws_native/rds/db_parameter_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/rds/db_proxy.py b/sdk/python/pulumi_aws_native/rds/db_proxy.py index 89c1d96ccd..a226516434 100644 --- a/sdk/python/pulumi_aws_native/rds/db_proxy.py +++ b/sdk/python/pulumi_aws_native/rds/db_proxy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/rds/db_proxy_endpoint.py b/sdk/python/pulumi_aws_native/rds/db_proxy_endpoint.py index 219391d5e8..3cf81789ec 100644 --- a/sdk/python/pulumi_aws_native/rds/db_proxy_endpoint.py +++ b/sdk/python/pulumi_aws_native/rds/db_proxy_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/rds/db_proxy_target_group.py b/sdk/python/pulumi_aws_native/rds/db_proxy_target_group.py index 28c3c6ea8a..d2bf809603 100644 --- a/sdk/python/pulumi_aws_native/rds/db_proxy_target_group.py +++ b/sdk/python/pulumi_aws_native/rds/db_proxy_target_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/rds/db_subnet_group.py b/sdk/python/pulumi_aws_native/rds/db_subnet_group.py index 086e2b1124..bc1ab781ea 100644 --- a/sdk/python/pulumi_aws_native/rds/db_subnet_group.py +++ b/sdk/python/pulumi_aws_native/rds/db_subnet_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/rds/event_subscription.py b/sdk/python/pulumi_aws_native/rds/event_subscription.py index eecf7d1018..17fa507f8a 100644 --- a/sdk/python/pulumi_aws_native/rds/event_subscription.py +++ b/sdk/python/pulumi_aws_native/rds/event_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/rds/get_custom_db_engine_version.py b/sdk/python/pulumi_aws_native/rds/get_custom_db_engine_version.py index d699c87b3f..1de8657266 100644 --- a/sdk/python/pulumi_aws_native/rds/get_custom_db_engine_version.py +++ b/sdk/python/pulumi_aws_native/rds/get_custom_db_engine_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -100,9 +105,6 @@ def get_custom_db_engine_version(engine: Optional[str] = None, description=pulumi.get(__ret__, 'description'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_custom_db_engine_version) def get_custom_db_engine_version_output(engine: Optional[pulumi.Input[str]] = None, engine_version: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCustomDbEngineVersionResult]: @@ -113,4 +115,13 @@ def get_custom_db_engine_version_output(engine: Optional[pulumi.Input[str]] = No :param str engine: The database engine to use for your custom engine version (CEV). The only supported value is `custom-oracle-ee`. :param str engine_version: The name of your CEV. The name format is 19.customized_string . For example, a valid name is 19.my_cev1. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. The combination of Engine and EngineVersion is unique per customer per Region. """ - ... + __args__ = dict() + __args__['engine'] = engine + __args__['engineVersion'] = engine_version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getCustomDbEngineVersion', __args__, opts=opts, typ=GetCustomDbEngineVersionResult) + return __ret__.apply(lambda __response__: GetCustomDbEngineVersionResult( + db_engine_version_arn=pulumi.get(__response__, 'db_engine_version_arn'), + description=pulumi.get(__response__, 'description'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_db_cluster.py b/sdk/python/pulumi_aws_native/rds/get_db_cluster.py index edd568cc29..59569167de 100644 --- a/sdk/python/pulumi_aws_native/rds/get_db_cluster.py +++ b/sdk/python/pulumi_aws_native/rds/get_db_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -805,9 +810,6 @@ def get_db_cluster(db_cluster_identifier: Optional[str] = None, storage_type=pulumi.get(__ret__, 'storage_type'), tags=pulumi.get(__ret__, 'tags'), vpc_security_group_ids=pulumi.get(__ret__, 'vpc_security_group_ids')) - - -@_utilities.lift_output_func(get_db_cluster) def get_db_cluster_output(db_cluster_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbClusterResult]: """ @@ -839,4 +841,52 @@ def get_db_cluster_output(db_cluster_identifier: Optional[pulumi.Input[str]] = N Example: ``my-cluster1`` Valid for: Aurora DB clusters and Multi-AZ DB clusters """ - ... + __args__ = dict() + __args__['dbClusterIdentifier'] = db_cluster_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getDbCluster', __args__, opts=opts, typ=GetDbClusterResult) + return __ret__.apply(lambda __response__: GetDbClusterResult( + allocated_storage=pulumi.get(__response__, 'allocated_storage'), + associated_roles=pulumi.get(__response__, 'associated_roles'), + auto_minor_version_upgrade=pulumi.get(__response__, 'auto_minor_version_upgrade'), + backtrack_window=pulumi.get(__response__, 'backtrack_window'), + backup_retention_period=pulumi.get(__response__, 'backup_retention_period'), + copy_tags_to_snapshot=pulumi.get(__response__, 'copy_tags_to_snapshot'), + db_cluster_arn=pulumi.get(__response__, 'db_cluster_arn'), + db_cluster_instance_class=pulumi.get(__response__, 'db_cluster_instance_class'), + db_cluster_parameter_group_name=pulumi.get(__response__, 'db_cluster_parameter_group_name'), + db_cluster_resource_id=pulumi.get(__response__, 'db_cluster_resource_id'), + deletion_protection=pulumi.get(__response__, 'deletion_protection'), + domain=pulumi.get(__response__, 'domain'), + domain_iam_role_name=pulumi.get(__response__, 'domain_iam_role_name'), + enable_cloudwatch_logs_exports=pulumi.get(__response__, 'enable_cloudwatch_logs_exports'), + enable_global_write_forwarding=pulumi.get(__response__, 'enable_global_write_forwarding'), + enable_http_endpoint=pulumi.get(__response__, 'enable_http_endpoint'), + enable_iam_database_authentication=pulumi.get(__response__, 'enable_iam_database_authentication'), + enable_local_write_forwarding=pulumi.get(__response__, 'enable_local_write_forwarding'), + endpoint=pulumi.get(__response__, 'endpoint'), + engine=pulumi.get(__response__, 'engine'), + engine_lifecycle_support=pulumi.get(__response__, 'engine_lifecycle_support'), + engine_version=pulumi.get(__response__, 'engine_version'), + global_cluster_identifier=pulumi.get(__response__, 'global_cluster_identifier'), + iops=pulumi.get(__response__, 'iops'), + manage_master_user_password=pulumi.get(__response__, 'manage_master_user_password'), + master_user_secret=pulumi.get(__response__, 'master_user_secret'), + master_username=pulumi.get(__response__, 'master_username'), + monitoring_interval=pulumi.get(__response__, 'monitoring_interval'), + monitoring_role_arn=pulumi.get(__response__, 'monitoring_role_arn'), + network_type=pulumi.get(__response__, 'network_type'), + performance_insights_enabled=pulumi.get(__response__, 'performance_insights_enabled'), + performance_insights_kms_key_id=pulumi.get(__response__, 'performance_insights_kms_key_id'), + performance_insights_retention_period=pulumi.get(__response__, 'performance_insights_retention_period'), + port=pulumi.get(__response__, 'port'), + preferred_backup_window=pulumi.get(__response__, 'preferred_backup_window'), + preferred_maintenance_window=pulumi.get(__response__, 'preferred_maintenance_window'), + read_endpoint=pulumi.get(__response__, 'read_endpoint'), + replication_source_identifier=pulumi.get(__response__, 'replication_source_identifier'), + scaling_configuration=pulumi.get(__response__, 'scaling_configuration'), + serverless_v2_scaling_configuration=pulumi.get(__response__, 'serverless_v2_scaling_configuration'), + storage_throughput=pulumi.get(__response__, 'storage_throughput'), + storage_type=pulumi.get(__response__, 'storage_type'), + tags=pulumi.get(__response__, 'tags'), + vpc_security_group_ids=pulumi.get(__response__, 'vpc_security_group_ids'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_db_cluster_parameter_group.py b/sdk/python/pulumi_aws_native/rds/get_db_cluster_parameter_group.py index 832aa4ac69..b3459bf1af 100644 --- a/sdk/python/pulumi_aws_native/rds/get_db_cluster_parameter_group.py +++ b/sdk/python/pulumi_aws_native/rds/get_db_cluster_parameter_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -79,9 +84,6 @@ def get_db_cluster_parameter_group(db_cluster_parameter_group_name: Optional[str return AwaitableGetDbClusterParameterGroupResult( parameters=pulumi.get(__ret__, 'parameters'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_db_cluster_parameter_group) def get_db_cluster_parameter_group_output(db_cluster_parameter_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbClusterParameterGroupResult]: """ @@ -97,4 +99,10 @@ def get_db_cluster_parameter_group_output(db_cluster_parameter_group_name: Optio This value is stored as a lowercase string. """ - ... + __args__ = dict() + __args__['dbClusterParameterGroupName'] = db_cluster_parameter_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getDbClusterParameterGroup', __args__, opts=opts, typ=GetDbClusterParameterGroupResult) + return __ret__.apply(lambda __response__: GetDbClusterParameterGroupResult( + parameters=pulumi.get(__response__, 'parameters'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_db_instance.py b/sdk/python/pulumi_aws_native/rds/get_db_instance.py index 2445ad1d75..d3954bf8f7 100644 --- a/sdk/python/pulumi_aws_native/rds/get_db_instance.py +++ b/sdk/python/pulumi_aws_native/rds/get_db_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -1050,9 +1055,6 @@ def get_db_instance(db_instance_identifier: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), tde_credential_arn=pulumi.get(__ret__, 'tde_credential_arn'), vpc_security_groups=pulumi.get(__ret__, 'vpc_security_groups')) - - -@_utilities.lift_output_func(get_db_instance) def get_db_instance_output(db_instance_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbInstanceResult]: """ @@ -1083,4 +1085,63 @@ def get_db_instance_output(db_instance_identifier: Optional[pulumi.Input[str]] = For information about constraints that apply to DB instance identifiers, see [Naming constraints in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints) in the *Amazon RDS User Guide*. If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. """ - ... + __args__ = dict() + __args__['dbInstanceIdentifier'] = db_instance_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getDbInstance', __args__, opts=opts, typ=GetDbInstanceResult) + return __ret__.apply(lambda __response__: GetDbInstanceResult( + allocated_storage=pulumi.get(__response__, 'allocated_storage'), + associated_roles=pulumi.get(__response__, 'associated_roles'), + auto_minor_version_upgrade=pulumi.get(__response__, 'auto_minor_version_upgrade'), + automatic_backup_replication_region=pulumi.get(__response__, 'automatic_backup_replication_region'), + availability_zone=pulumi.get(__response__, 'availability_zone'), + backup_retention_period=pulumi.get(__response__, 'backup_retention_period'), + ca_certificate_identifier=pulumi.get(__response__, 'ca_certificate_identifier'), + certificate_details=pulumi.get(__response__, 'certificate_details'), + copy_tags_to_snapshot=pulumi.get(__response__, 'copy_tags_to_snapshot'), + db_cluster_snapshot_identifier=pulumi.get(__response__, 'db_cluster_snapshot_identifier'), + db_instance_arn=pulumi.get(__response__, 'db_instance_arn'), + db_instance_class=pulumi.get(__response__, 'db_instance_class'), + db_parameter_group_name=pulumi.get(__response__, 'db_parameter_group_name'), + db_security_groups=pulumi.get(__response__, 'db_security_groups'), + db_system_id=pulumi.get(__response__, 'db_system_id'), + dbi_resource_id=pulumi.get(__response__, 'dbi_resource_id'), + dedicated_log_volume=pulumi.get(__response__, 'dedicated_log_volume'), + deletion_protection=pulumi.get(__response__, 'deletion_protection'), + domain=pulumi.get(__response__, 'domain'), + domain_auth_secret_arn=pulumi.get(__response__, 'domain_auth_secret_arn'), + domain_dns_ips=pulumi.get(__response__, 'domain_dns_ips'), + domain_fqdn=pulumi.get(__response__, 'domain_fqdn'), + domain_iam_role_name=pulumi.get(__response__, 'domain_iam_role_name'), + domain_ou=pulumi.get(__response__, 'domain_ou'), + enable_cloudwatch_logs_exports=pulumi.get(__response__, 'enable_cloudwatch_logs_exports'), + enable_iam_database_authentication=pulumi.get(__response__, 'enable_iam_database_authentication'), + enable_performance_insights=pulumi.get(__response__, 'enable_performance_insights'), + endpoint=pulumi.get(__response__, 'endpoint'), + engine=pulumi.get(__response__, 'engine'), + engine_lifecycle_support=pulumi.get(__response__, 'engine_lifecycle_support'), + engine_version=pulumi.get(__response__, 'engine_version'), + iops=pulumi.get(__response__, 'iops'), + license_model=pulumi.get(__response__, 'license_model'), + manage_master_user_password=pulumi.get(__response__, 'manage_master_user_password'), + master_user_secret=pulumi.get(__response__, 'master_user_secret'), + max_allocated_storage=pulumi.get(__response__, 'max_allocated_storage'), + monitoring_interval=pulumi.get(__response__, 'monitoring_interval'), + monitoring_role_arn=pulumi.get(__response__, 'monitoring_role_arn'), + multi_az=pulumi.get(__response__, 'multi_az'), + network_type=pulumi.get(__response__, 'network_type'), + option_group_name=pulumi.get(__response__, 'option_group_name'), + performance_insights_kms_key_id=pulumi.get(__response__, 'performance_insights_kms_key_id'), + performance_insights_retention_period=pulumi.get(__response__, 'performance_insights_retention_period'), + preferred_backup_window=pulumi.get(__response__, 'preferred_backup_window'), + preferred_maintenance_window=pulumi.get(__response__, 'preferred_maintenance_window'), + processor_features=pulumi.get(__response__, 'processor_features'), + promotion_tier=pulumi.get(__response__, 'promotion_tier'), + publicly_accessible=pulumi.get(__response__, 'publicly_accessible'), + replica_mode=pulumi.get(__response__, 'replica_mode'), + source_db_cluster_identifier=pulumi.get(__response__, 'source_db_cluster_identifier'), + storage_throughput=pulumi.get(__response__, 'storage_throughput'), + storage_type=pulumi.get(__response__, 'storage_type'), + tags=pulumi.get(__response__, 'tags'), + tde_credential_arn=pulumi.get(__response__, 'tde_credential_arn'), + vpc_security_groups=pulumi.get(__response__, 'vpc_security_groups'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_db_parameter_group.py b/sdk/python/pulumi_aws_native/rds/get_db_parameter_group.py index 3e7ac82908..61dffbc5ae 100644 --- a/sdk/python/pulumi_aws_native/rds/get_db_parameter_group.py +++ b/sdk/python/pulumi_aws_native/rds/get_db_parameter_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -85,9 +90,6 @@ def get_db_parameter_group(db_parameter_group_name: Optional[str] = None, return AwaitableGetDbParameterGroupResult( parameters=pulumi.get(__ret__, 'parameters'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_db_parameter_group) def get_db_parameter_group_output(db_parameter_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbParameterGroupResult]: """ @@ -107,4 +109,10 @@ def get_db_parameter_group_output(db_parameter_group_name: Optional[pulumi.Input If you don't specify a value for ``DBParameterGroupName`` property, a name is automatically created for the DB parameter group. This value is stored as a lowercase string. """ - ... + __args__ = dict() + __args__['dbParameterGroupName'] = db_parameter_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getDbParameterGroup', __args__, opts=opts, typ=GetDbParameterGroupResult) + return __ret__.apply(lambda __response__: GetDbParameterGroupResult( + parameters=pulumi.get(__response__, 'parameters'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_db_proxy.py b/sdk/python/pulumi_aws_native/rds/get_db_proxy.py index ead7d929c6..ceac79f098 100644 --- a/sdk/python/pulumi_aws_native/rds/get_db_proxy.py +++ b/sdk/python/pulumi_aws_native/rds/get_db_proxy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -176,9 +181,6 @@ def get_db_proxy(db_proxy_name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), vpc_id=pulumi.get(__ret__, 'vpc_id'), vpc_security_group_ids=pulumi.get(__ret__, 'vpc_security_group_ids')) - - -@_utilities.lift_output_func(get_db_proxy) def get_db_proxy_output(db_proxy_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbProxyResult]: """ @@ -187,4 +189,18 @@ def get_db_proxy_output(db_proxy_name: Optional[pulumi.Input[str]] = None, :param str db_proxy_name: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. """ - ... + __args__ = dict() + __args__['dbProxyName'] = db_proxy_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getDbProxy', __args__, opts=opts, typ=GetDbProxyResult) + return __ret__.apply(lambda __response__: GetDbProxyResult( + auth=pulumi.get(__response__, 'auth'), + db_proxy_arn=pulumi.get(__response__, 'db_proxy_arn'), + debug_logging=pulumi.get(__response__, 'debug_logging'), + endpoint=pulumi.get(__response__, 'endpoint'), + idle_client_timeout=pulumi.get(__response__, 'idle_client_timeout'), + require_tls=pulumi.get(__response__, 'require_tls'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'), + vpc_id=pulumi.get(__response__, 'vpc_id'), + vpc_security_group_ids=pulumi.get(__response__, 'vpc_security_group_ids'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_db_proxy_endpoint.py b/sdk/python/pulumi_aws_native/rds/get_db_proxy_endpoint.py index c0bdcb0ac3..074a0f47b6 100644 --- a/sdk/python/pulumi_aws_native/rds/get_db_proxy_endpoint.py +++ b/sdk/python/pulumi_aws_native/rds/get_db_proxy_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -136,9 +141,6 @@ def get_db_proxy_endpoint(db_proxy_endpoint_name: Optional[str] = None, target_role=pulumi.get(__ret__, 'target_role'), vpc_id=pulumi.get(__ret__, 'vpc_id'), vpc_security_group_ids=pulumi.get(__ret__, 'vpc_security_group_ids')) - - -@_utilities.lift_output_func(get_db_proxy_endpoint) def get_db_proxy_endpoint_output(db_proxy_endpoint_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbProxyEndpointResult]: """ @@ -147,4 +149,15 @@ def get_db_proxy_endpoint_output(db_proxy_endpoint_name: Optional[pulumi.Input[s :param str db_proxy_endpoint_name: The identifier for the DB proxy endpoint. This name must be unique for all DB proxy endpoints owned by your AWS account in the specified AWS Region. """ - ... + __args__ = dict() + __args__['dbProxyEndpointName'] = db_proxy_endpoint_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getDbProxyEndpoint', __args__, opts=opts, typ=GetDbProxyEndpointResult) + return __ret__.apply(lambda __response__: GetDbProxyEndpointResult( + db_proxy_endpoint_arn=pulumi.get(__response__, 'db_proxy_endpoint_arn'), + endpoint=pulumi.get(__response__, 'endpoint'), + is_default=pulumi.get(__response__, 'is_default'), + tags=pulumi.get(__response__, 'tags'), + target_role=pulumi.get(__response__, 'target_role'), + vpc_id=pulumi.get(__response__, 'vpc_id'), + vpc_security_group_ids=pulumi.get(__response__, 'vpc_security_group_ids'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_db_proxy_target_group.py b/sdk/python/pulumi_aws_native/rds/get_db_proxy_target_group.py index 2d435669d4..da65da46cf 100644 --- a/sdk/python/pulumi_aws_native/rds/get_db_proxy_target_group.py +++ b/sdk/python/pulumi_aws_native/rds/get_db_proxy_target_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -96,9 +101,6 @@ def get_db_proxy_target_group(target_group_arn: Optional[str] = None, db_cluster_identifiers=pulumi.get(__ret__, 'db_cluster_identifiers'), db_instance_identifiers=pulumi.get(__ret__, 'db_instance_identifiers'), target_group_arn=pulumi.get(__ret__, 'target_group_arn')) - - -@_utilities.lift_output_func(get_db_proxy_target_group) def get_db_proxy_target_group_output(target_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbProxyTargetGroupResult]: """ @@ -107,4 +109,12 @@ def get_db_proxy_target_group_output(target_group_arn: Optional[pulumi.Input[str :param str target_group_arn: The Amazon Resource Name (ARN) representing the target group. """ - ... + __args__ = dict() + __args__['targetGroupArn'] = target_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getDbProxyTargetGroup', __args__, opts=opts, typ=GetDbProxyTargetGroupResult) + return __ret__.apply(lambda __response__: GetDbProxyTargetGroupResult( + connection_pool_configuration_info=pulumi.get(__response__, 'connection_pool_configuration_info'), + db_cluster_identifiers=pulumi.get(__response__, 'db_cluster_identifiers'), + db_instance_identifiers=pulumi.get(__response__, 'db_instance_identifiers'), + target_group_arn=pulumi.get(__response__, 'target_group_arn'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_db_subnet_group.py b/sdk/python/pulumi_aws_native/rds/get_db_subnet_group.py index 77f615c2d0..3357b32f12 100644 --- a/sdk/python/pulumi_aws_native/rds/get_db_subnet_group.py +++ b/sdk/python/pulumi_aws_native/rds/get_db_subnet_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -77,9 +82,6 @@ def get_db_subnet_group(db_subnet_group_name: Optional[str] = None, return AwaitableGetDbSubnetGroupResult( db_subnet_group_description=pulumi.get(__ret__, 'db_subnet_group_description'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_db_subnet_group) def get_db_subnet_group_output(db_subnet_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDbSubnetGroupResult]: """ @@ -95,4 +97,10 @@ def get_db_subnet_group_output(db_subnet_group_name: Optional[pulumi.Input[str]] Example: ``mydbsubnetgroup`` """ - ... + __args__ = dict() + __args__['dbSubnetGroupName'] = db_subnet_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getDbSubnetGroup', __args__, opts=opts, typ=GetDbSubnetGroupResult) + return __ret__.apply(lambda __response__: GetDbSubnetGroupResult( + db_subnet_group_description=pulumi.get(__response__, 'db_subnet_group_description'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_event_subscription.py b/sdk/python/pulumi_aws_native/rds/get_event_subscription.py index 47daa9ac1f..799094b659 100644 --- a/sdk/python/pulumi_aws_native/rds/get_event_subscription.py +++ b/sdk/python/pulumi_aws_native/rds/get_event_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -120,9 +125,6 @@ def get_event_subscription(subscription_name: Optional[str] = None, source_ids=pulumi.get(__ret__, 'source_ids'), source_type=pulumi.get(__ret__, 'source_type'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_event_subscription) def get_event_subscription_output(subscription_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventSubscriptionResult]: """ @@ -132,4 +134,13 @@ def get_event_subscription_output(subscription_name: Optional[pulumi.Input[str]] :param str subscription_name: The name of the subscription. Constraints: The name must be less than 255 characters. """ - ... + __args__ = dict() + __args__['subscriptionName'] = subscription_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getEventSubscription', __args__, opts=opts, typ=GetEventSubscriptionResult) + return __ret__.apply(lambda __response__: GetEventSubscriptionResult( + enabled=pulumi.get(__response__, 'enabled'), + event_categories=pulumi.get(__response__, 'event_categories'), + source_ids=pulumi.get(__response__, 'source_ids'), + source_type=pulumi.get(__response__, 'source_type'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_global_cluster.py b/sdk/python/pulumi_aws_native/rds/get_global_cluster.py index efb63307a4..1f17de2808 100644 --- a/sdk/python/pulumi_aws_native/rds/get_global_cluster.py +++ b/sdk/python/pulumi_aws_native/rds/get_global_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_global_cluster(global_cluster_identifier: Optional[str] = None, engine_lifecycle_support=pulumi.get(__ret__, 'engine_lifecycle_support'), engine_version=pulumi.get(__ret__, 'engine_version'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_global_cluster) def get_global_cluster_output(global_cluster_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGlobalClusterResult]: """ @@ -107,4 +109,12 @@ def get_global_cluster_output(global_cluster_identifier: Optional[pulumi.Input[s :param str global_cluster_identifier: The cluster identifier of the new global database cluster. This parameter is stored as a lowercase string. """ - ... + __args__ = dict() + __args__['globalClusterIdentifier'] = global_cluster_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getGlobalCluster', __args__, opts=opts, typ=GetGlobalClusterResult) + return __ret__.apply(lambda __response__: GetGlobalClusterResult( + deletion_protection=pulumi.get(__response__, 'deletion_protection'), + engine_lifecycle_support=pulumi.get(__response__, 'engine_lifecycle_support'), + engine_version=pulumi.get(__response__, 'engine_version'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_integration.py b/sdk/python/pulumi_aws_native/rds/get_integration.py index 96c0443ba6..c15c2b4a8c 100644 --- a/sdk/python/pulumi_aws_native/rds/get_integration.py +++ b/sdk/python/pulumi_aws_native/rds/get_integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_integration(integration_arn: Optional[str] = None, integration_arn=pulumi.get(__ret__, 'integration_arn'), integration_name=pulumi.get(__ret__, 'integration_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_integration) def get_integration_output(integration_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIntegrationResult]: """ @@ -133,4 +135,14 @@ def get_integration_output(integration_arn: Optional[pulumi.Input[str]] = None, :param str integration_arn: The ARN of the integration. """ - ... + __args__ = dict() + __args__['integrationArn'] = integration_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getIntegration', __args__, opts=opts, typ=GetIntegrationResult) + return __ret__.apply(lambda __response__: GetIntegrationResult( + create_time=pulumi.get(__response__, 'create_time'), + data_filter=pulumi.get(__response__, 'data_filter'), + description=pulumi.get(__response__, 'description'), + integration_arn=pulumi.get(__response__, 'integration_arn'), + integration_name=pulumi.get(__response__, 'integration_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rds/get_option_group.py b/sdk/python/pulumi_aws_native/rds/get_option_group.py index 166603073e..80acc1f264 100644 --- a/sdk/python/pulumi_aws_native/rds/get_option_group.py +++ b/sdk/python/pulumi_aws_native/rds/get_option_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -79,9 +84,6 @@ def get_option_group(option_group_name: Optional[str] = None, return AwaitableGetOptionGroupResult( option_configurations=pulumi.get(__ret__, 'option_configurations'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_option_group) def get_option_group_output(option_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOptionGroupResult]: """ @@ -98,4 +100,10 @@ def get_option_group_output(option_group_name: Optional[pulumi.Input[str]] = Non If you don't specify a value for ``OptionGroupName`` property, a name is automatically created for the option group. This value is stored as a lowercase string. """ - ... + __args__ = dict() + __args__['optionGroupName'] = option_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rds:getOptionGroup', __args__, opts=opts, typ=GetOptionGroupResult) + return __ret__.apply(lambda __response__: GetOptionGroupResult( + option_configurations=pulumi.get(__response__, 'option_configurations'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rds/global_cluster.py b/sdk/python/pulumi_aws_native/rds/global_cluster.py index cb22f4a294..c531ec8f66 100644 --- a/sdk/python/pulumi_aws_native/rds/global_cluster.py +++ b/sdk/python/pulumi_aws_native/rds/global_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/rds/integration.py b/sdk/python/pulumi_aws_native/rds/integration.py index 77f6234828..aa347242f0 100644 --- a/sdk/python/pulumi_aws_native/rds/integration.py +++ b/sdk/python/pulumi_aws_native/rds/integration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/rds/option_group.py b/sdk/python/pulumi_aws_native/rds/option_group.py index 42244f0bb6..8bfe617be0 100644 --- a/sdk/python/pulumi_aws_native/rds/option_group.py +++ b/sdk/python/pulumi_aws_native/rds/option_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/rds/outputs.py b/sdk/python/pulumi_aws_native/rds/outputs.py index 4200e5548b..bb293db705 100644 --- a/sdk/python/pulumi_aws_native/rds/outputs.py +++ b/sdk/python/pulumi_aws_native/rds/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/redshift/_inputs.py b/sdk/python/pulumi_aws_native/redshift/_inputs.py index 9163227048..033dd006f0 100644 --- a/sdk/python/pulumi_aws_native/redshift/_inputs.py +++ b/sdk/python/pulumi_aws_native/redshift/_inputs.py @@ -4,19 +4,43 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ClusterEndpointArgs', + 'ClusterEndpointArgsDict', 'ClusterLoggingPropertiesArgs', + 'ClusterLoggingPropertiesArgsDict', 'ClusterParameterGroupParameterArgs', + 'ClusterParameterGroupParameterArgsDict', 'ScheduledActionTypeArgs', + 'ScheduledActionTypeArgsDict', ] +MYPY = False + +if not MYPY: + class ClusterEndpointArgsDict(TypedDict): + address: NotRequired[pulumi.Input[str]] + """ + The DNS address of the cluster. This property is read only. + """ + port: NotRequired[pulumi.Input[str]] + """ + The port that the database engine is listening on. This property is read only. + """ +elif False: + ClusterEndpointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterEndpointArgs: def __init__(__self__, *, @@ -56,6 +80,34 @@ def port(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "port", value) +if not MYPY: + class ClusterLoggingPropertiesArgsDict(TypedDict): + bucket_name: NotRequired[pulumi.Input[str]] + """ + The name of an existing S3 bucket where the log files are to be stored. + + Constraints: + + - Must be in the same region as the cluster + - The cluster must have read bucket and put object permissions + """ + log_destination_type: NotRequired[pulumi.Input[str]] + """ + The log destination type. An enum with possible values of `s3` and `cloudwatch` . + """ + log_exports: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The collection of exported log types. Possible values are `connectionlog` , `useractivitylog` , and `userlog` . + """ + s3_key_prefix: NotRequired[pulumi.Input[str]] + """ + The prefix applied to the log file names. + + Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: underscore ( `_` ), period ( `.` ), colon ( `:` ), slash ( `/` ), equal ( `=` ), plus ( `+` ), backslash ( `\\` ), hyphen ( `-` ), at symbol ( `@` ). + """ +elif False: + ClusterLoggingPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterLoggingPropertiesArgs: def __init__(__self__, *, @@ -141,6 +193,19 @@ def s3_key_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_key_prefix", value) +if not MYPY: + class ClusterParameterGroupParameterArgsDict(TypedDict): + parameter_name: pulumi.Input[str] + """ + The name of the parameter. + """ + parameter_value: pulumi.Input[str] + """ + The value of the parameter. If `ParameterName` is `wlm_json_configuration`, then the maximum size of `ParameterValue` is 8000 characters. + """ +elif False: + ClusterParameterGroupParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterParameterGroupParameterArgs: def __init__(__self__, *, @@ -178,6 +243,12 @@ def parameter_value(self, value: pulumi.Input[str]): pulumi.set(self, "parameter_value", value) +if not MYPY: + class ScheduledActionTypeArgsDict(TypedDict): + pass +elif False: + ScheduledActionTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledActionTypeArgs: def __init__(__self__): diff --git a/sdk/python/pulumi_aws_native/redshift/cluster.py b/sdk/python/pulumi_aws_native/redshift/cluster.py index b8d122dece..46f1ce6520 100644 --- a/sdk/python/pulumi_aws_native/redshift/cluster.py +++ b/sdk/python/pulumi_aws_native/redshift/cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/redshift/cluster_parameter_group.py b/sdk/python/pulumi_aws_native/redshift/cluster_parameter_group.py index 82d4606125..089b76a97f 100644 --- a/sdk/python/pulumi_aws_native/redshift/cluster_parameter_group.py +++ b/sdk/python/pulumi_aws_native/redshift/cluster_parameter_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/redshift/cluster_subnet_group.py b/sdk/python/pulumi_aws_native/redshift/cluster_subnet_group.py index aa4f1cc2f2..1e46d63d94 100644 --- a/sdk/python/pulumi_aws_native/redshift/cluster_subnet_group.py +++ b/sdk/python/pulumi_aws_native/redshift/cluster_subnet_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/redshift/endpoint_access.py b/sdk/python/pulumi_aws_native/redshift/endpoint_access.py index 71feb133d2..2a286a5179 100644 --- a/sdk/python/pulumi_aws_native/redshift/endpoint_access.py +++ b/sdk/python/pulumi_aws_native/redshift/endpoint_access.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/redshift/endpoint_authorization.py b/sdk/python/pulumi_aws_native/redshift/endpoint_authorization.py index e245c541b6..ef2cbd7432 100644 --- a/sdk/python/pulumi_aws_native/redshift/endpoint_authorization.py +++ b/sdk/python/pulumi_aws_native/redshift/endpoint_authorization.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['EndpointAuthorizationArgs', 'EndpointAuthorization'] diff --git a/sdk/python/pulumi_aws_native/redshift/event_subscription.py b/sdk/python/pulumi_aws_native/redshift/event_subscription.py index 87ca438738..2222e50422 100644 --- a/sdk/python/pulumi_aws_native/redshift/event_subscription.py +++ b/sdk/python/pulumi_aws_native/redshift/event_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/redshift/get_cluster.py b/sdk/python/pulumi_aws_native/redshift/get_cluster.py index d4007d2ad2..6c8fdf360b 100644 --- a/sdk/python/pulumi_aws_native/redshift/get_cluster.py +++ b/sdk/python/pulumi_aws_native/redshift/get_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -620,9 +625,6 @@ def get_cluster(cluster_identifier: Optional[str] = None, snapshot_copy_retention_period=pulumi.get(__ret__, 'snapshot_copy_retention_period'), tags=pulumi.get(__ret__, 'tags'), vpc_security_group_ids=pulumi.get(__ret__, 'vpc_security_group_ids')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(cluster_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: """ @@ -631,4 +633,51 @@ def get_cluster_output(cluster_identifier: Optional[pulumi.Input[str]] = None, :param str cluster_identifier: A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. All alphabetical characters must be lower case, no hypens at the end, no two consecutive hyphens. Cluster name should be unique for all clusters within an AWS account """ - ... + __args__ = dict() + __args__['clusterIdentifier'] = cluster_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:redshift:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + allow_version_upgrade=pulumi.get(__response__, 'allow_version_upgrade'), + aqua_configuration_status=pulumi.get(__response__, 'aqua_configuration_status'), + automated_snapshot_retention_period=pulumi.get(__response__, 'automated_snapshot_retention_period'), + availability_zone=pulumi.get(__response__, 'availability_zone'), + availability_zone_relocation=pulumi.get(__response__, 'availability_zone_relocation'), + availability_zone_relocation_status=pulumi.get(__response__, 'availability_zone_relocation_status'), + cluster_namespace_arn=pulumi.get(__response__, 'cluster_namespace_arn'), + cluster_parameter_group_name=pulumi.get(__response__, 'cluster_parameter_group_name'), + cluster_security_groups=pulumi.get(__response__, 'cluster_security_groups'), + cluster_type=pulumi.get(__response__, 'cluster_type'), + cluster_version=pulumi.get(__response__, 'cluster_version'), + defer_maintenance_end_time=pulumi.get(__response__, 'defer_maintenance_end_time'), + defer_maintenance_identifier=pulumi.get(__response__, 'defer_maintenance_identifier'), + defer_maintenance_start_time=pulumi.get(__response__, 'defer_maintenance_start_time'), + destination_region=pulumi.get(__response__, 'destination_region'), + elastic_ip=pulumi.get(__response__, 'elastic_ip'), + encrypted=pulumi.get(__response__, 'encrypted'), + endpoint=pulumi.get(__response__, 'endpoint'), + enhanced_vpc_routing=pulumi.get(__response__, 'enhanced_vpc_routing'), + hsm_client_certificate_identifier=pulumi.get(__response__, 'hsm_client_certificate_identifier'), + hsm_configuration_identifier=pulumi.get(__response__, 'hsm_configuration_identifier'), + iam_roles=pulumi.get(__response__, 'iam_roles'), + kms_key_id=pulumi.get(__response__, 'kms_key_id'), + logging_properties=pulumi.get(__response__, 'logging_properties'), + maintenance_track_name=pulumi.get(__response__, 'maintenance_track_name'), + manual_snapshot_retention_period=pulumi.get(__response__, 'manual_snapshot_retention_period'), + master_password_secret_arn=pulumi.get(__response__, 'master_password_secret_arn'), + master_password_secret_kms_key_id=pulumi.get(__response__, 'master_password_secret_kms_key_id'), + multi_az=pulumi.get(__response__, 'multi_az'), + namespace_resource_policy=pulumi.get(__response__, 'namespace_resource_policy'), + node_type=pulumi.get(__response__, 'node_type'), + number_of_nodes=pulumi.get(__response__, 'number_of_nodes'), + port=pulumi.get(__response__, 'port'), + preferred_maintenance_window=pulumi.get(__response__, 'preferred_maintenance_window'), + publicly_accessible=pulumi.get(__response__, 'publicly_accessible'), + resource_action=pulumi.get(__response__, 'resource_action'), + revision_target=pulumi.get(__response__, 'revision_target'), + rotate_encryption_key=pulumi.get(__response__, 'rotate_encryption_key'), + snapshot_copy_grant_name=pulumi.get(__response__, 'snapshot_copy_grant_name'), + snapshot_copy_manual=pulumi.get(__response__, 'snapshot_copy_manual'), + snapshot_copy_retention_period=pulumi.get(__response__, 'snapshot_copy_retention_period'), + tags=pulumi.get(__response__, 'tags'), + vpc_security_group_ids=pulumi.get(__response__, 'vpc_security_group_ids'))) diff --git a/sdk/python/pulumi_aws_native/redshift/get_cluster_parameter_group.py b/sdk/python/pulumi_aws_native/redshift/get_cluster_parameter_group.py index fdbd3cd823..8f80ced0d3 100644 --- a/sdk/python/pulumi_aws_native/redshift/get_cluster_parameter_group.py +++ b/sdk/python/pulumi_aws_native/redshift/get_cluster_parameter_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -57,9 +62,6 @@ def get_cluster_parameter_group(parameter_group_name: Optional[str] = None, return AwaitableGetClusterParameterGroupResult( parameters=pulumi.get(__ret__, 'parameters')) - - -@_utilities.lift_output_func(get_cluster_parameter_group) def get_cluster_parameter_group_output(parameter_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterParameterGroupResult]: """ @@ -68,4 +70,9 @@ def get_cluster_parameter_group_output(parameter_group_name: Optional[pulumi.Inp :param str parameter_group_name: The name of the cluster parameter group. """ - ... + __args__ = dict() + __args__['parameterGroupName'] = parameter_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:redshift:getClusterParameterGroup', __args__, opts=opts, typ=GetClusterParameterGroupResult) + return __ret__.apply(lambda __response__: GetClusterParameterGroupResult( + parameters=pulumi.get(__response__, 'parameters'))) diff --git a/sdk/python/pulumi_aws_native/redshift/get_cluster_subnet_group.py b/sdk/python/pulumi_aws_native/redshift/get_cluster_subnet_group.py index a9ad55fc40..8765e5635b 100644 --- a/sdk/python/pulumi_aws_native/redshift/get_cluster_subnet_group.py +++ b/sdk/python/pulumi_aws_native/redshift/get_cluster_subnet_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_cluster_subnet_group(cluster_subnet_group_name: Optional[str] = None, cluster_subnet_group_name=pulumi.get(__ret__, 'cluster_subnet_group_name'), description=pulumi.get(__ret__, 'description'), subnet_ids=pulumi.get(__ret__, 'subnet_ids')) - - -@_utilities.lift_output_func(get_cluster_subnet_group) def get_cluster_subnet_group_output(cluster_subnet_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterSubnetGroupResult]: """ @@ -93,4 +95,11 @@ def get_cluster_subnet_group_output(cluster_subnet_group_name: Optional[pulumi.I :param str cluster_subnet_group_name: This name must be unique for all subnet groups that are created by your AWS account. If costumer do not provide it, cloudformation will generate it. Must not be "Default". """ - ... + __args__ = dict() + __args__['clusterSubnetGroupName'] = cluster_subnet_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:redshift:getClusterSubnetGroup', __args__, opts=opts, typ=GetClusterSubnetGroupResult) + return __ret__.apply(lambda __response__: GetClusterSubnetGroupResult( + cluster_subnet_group_name=pulumi.get(__response__, 'cluster_subnet_group_name'), + description=pulumi.get(__response__, 'description'), + subnet_ids=pulumi.get(__response__, 'subnet_ids'))) diff --git a/sdk/python/pulumi_aws_native/redshift/get_endpoint_access.py b/sdk/python/pulumi_aws_native/redshift/get_endpoint_access.py index 680ab20e88..3d78d6686c 100644 --- a/sdk/python/pulumi_aws_native/redshift/get_endpoint_access.py +++ b/sdk/python/pulumi_aws_native/redshift/get_endpoint_access.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -135,9 +140,6 @@ def get_endpoint_access(endpoint_name: Optional[str] = None, vpc_endpoint=pulumi.get(__ret__, 'vpc_endpoint'), vpc_security_group_ids=pulumi.get(__ret__, 'vpc_security_group_ids'), vpc_security_groups=pulumi.get(__ret__, 'vpc_security_groups')) - - -@_utilities.lift_output_func(get_endpoint_access) def get_endpoint_access_output(endpoint_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEndpointAccessResult]: """ @@ -146,4 +148,15 @@ def get_endpoint_access_output(endpoint_name: Optional[pulumi.Input[str]] = None :param str endpoint_name: The name of the endpoint. """ - ... + __args__ = dict() + __args__['endpointName'] = endpoint_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:redshift:getEndpointAccess', __args__, opts=opts, typ=GetEndpointAccessResult) + return __ret__.apply(lambda __response__: GetEndpointAccessResult( + address=pulumi.get(__response__, 'address'), + endpoint_create_time=pulumi.get(__response__, 'endpoint_create_time'), + endpoint_status=pulumi.get(__response__, 'endpoint_status'), + port=pulumi.get(__response__, 'port'), + vpc_endpoint=pulumi.get(__response__, 'vpc_endpoint'), + vpc_security_group_ids=pulumi.get(__response__, 'vpc_security_group_ids'), + vpc_security_groups=pulumi.get(__response__, 'vpc_security_groups'))) diff --git a/sdk/python/pulumi_aws_native/redshift/get_endpoint_authorization.py b/sdk/python/pulumi_aws_native/redshift/get_endpoint_authorization.py index dc53293a90..16ba194319 100644 --- a/sdk/python/pulumi_aws_native/redshift/get_endpoint_authorization.py +++ b/sdk/python/pulumi_aws_native/redshift/get_endpoint_authorization.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -163,9 +168,6 @@ def get_endpoint_authorization(account: Optional[str] = None, grantor=pulumi.get(__ret__, 'grantor'), status=pulumi.get(__ret__, 'status'), vpc_ids=pulumi.get(__ret__, 'vpc_ids')) - - -@_utilities.lift_output_func(get_endpoint_authorization) def get_endpoint_authorization_output(account: Optional[pulumi.Input[str]] = None, cluster_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEndpointAuthorizationResult]: @@ -176,4 +178,18 @@ def get_endpoint_authorization_output(account: Optional[pulumi.Input[str]] = Non :param str account: The target AWS account ID to grant or revoke access for. :param str cluster_identifier: The cluster identifier. """ - ... + __args__ = dict() + __args__['account'] = account + __args__['clusterIdentifier'] = cluster_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:redshift:getEndpointAuthorization', __args__, opts=opts, typ=GetEndpointAuthorizationResult) + return __ret__.apply(lambda __response__: GetEndpointAuthorizationResult( + allowed_all_vpcs=pulumi.get(__response__, 'allowed_all_vpcs'), + allowed_vpcs=pulumi.get(__response__, 'allowed_vpcs'), + authorize_time=pulumi.get(__response__, 'authorize_time'), + cluster_status=pulumi.get(__response__, 'cluster_status'), + endpoint_count=pulumi.get(__response__, 'endpoint_count'), + grantee=pulumi.get(__response__, 'grantee'), + grantor=pulumi.get(__response__, 'grantor'), + status=pulumi.get(__response__, 'status'), + vpc_ids=pulumi.get(__response__, 'vpc_ids'))) diff --git a/sdk/python/pulumi_aws_native/redshift/get_event_subscription.py b/sdk/python/pulumi_aws_native/redshift/get_event_subscription.py index bbb55a309f..c829d0fdc6 100644 --- a/sdk/python/pulumi_aws_native/redshift/get_event_subscription.py +++ b/sdk/python/pulumi_aws_native/redshift/get_event_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -200,9 +205,6 @@ def get_event_subscription(subscription_name: Optional[str] = None, source_type=pulumi.get(__ret__, 'source_type'), status=pulumi.get(__ret__, 'status'), subscription_creation_time=pulumi.get(__ret__, 'subscription_creation_time')) - - -@_utilities.lift_output_func(get_event_subscription) def get_event_subscription_output(subscription_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventSubscriptionResult]: """ @@ -211,4 +213,20 @@ def get_event_subscription_output(subscription_name: Optional[pulumi.Input[str]] :param str subscription_name: The name of the Amazon Redshift event notification subscription """ - ... + __args__ = dict() + __args__['subscriptionName'] = subscription_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:redshift:getEventSubscription', __args__, opts=opts, typ=GetEventSubscriptionResult) + return __ret__.apply(lambda __response__: GetEventSubscriptionResult( + cust_subscription_id=pulumi.get(__response__, 'cust_subscription_id'), + customer_aws_id=pulumi.get(__response__, 'customer_aws_id'), + enabled=pulumi.get(__response__, 'enabled'), + event_categories=pulumi.get(__response__, 'event_categories'), + event_categories_list=pulumi.get(__response__, 'event_categories_list'), + severity=pulumi.get(__response__, 'severity'), + sns_topic_arn=pulumi.get(__response__, 'sns_topic_arn'), + source_ids=pulumi.get(__response__, 'source_ids'), + source_ids_list=pulumi.get(__response__, 'source_ids_list'), + source_type=pulumi.get(__response__, 'source_type'), + status=pulumi.get(__response__, 'status'), + subscription_creation_time=pulumi.get(__response__, 'subscription_creation_time'))) diff --git a/sdk/python/pulumi_aws_native/redshift/get_scheduled_action.py b/sdk/python/pulumi_aws_native/redshift/get_scheduled_action.py index 63446ab339..aa4bc926b7 100644 --- a/sdk/python/pulumi_aws_native/redshift/get_scheduled_action.py +++ b/sdk/python/pulumi_aws_native/redshift/get_scheduled_action.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -162,9 +167,6 @@ def get_scheduled_action(scheduled_action_name: Optional[str] = None, start_time=pulumi.get(__ret__, 'start_time'), state=pulumi.get(__ret__, 'state'), target_action=pulumi.get(__ret__, 'target_action')) - - -@_utilities.lift_output_func(get_scheduled_action) def get_scheduled_action_output(scheduled_action_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduledActionResult]: """ @@ -173,4 +175,17 @@ def get_scheduled_action_output(scheduled_action_name: Optional[pulumi.Input[str :param str scheduled_action_name: The name of the scheduled action. The name must be unique within an account. """ - ... + __args__ = dict() + __args__['scheduledActionName'] = scheduled_action_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:redshift:getScheduledAction', __args__, opts=opts, typ=GetScheduledActionResult) + return __ret__.apply(lambda __response__: GetScheduledActionResult( + enable=pulumi.get(__response__, 'enable'), + end_time=pulumi.get(__response__, 'end_time'), + iam_role=pulumi.get(__response__, 'iam_role'), + next_invocations=pulumi.get(__response__, 'next_invocations'), + schedule=pulumi.get(__response__, 'schedule'), + scheduled_action_description=pulumi.get(__response__, 'scheduled_action_description'), + start_time=pulumi.get(__response__, 'start_time'), + state=pulumi.get(__response__, 'state'), + target_action=pulumi.get(__response__, 'target_action'))) diff --git a/sdk/python/pulumi_aws_native/redshift/outputs.py b/sdk/python/pulumi_aws_native/redshift/outputs.py index a667ddefe9..375066674c 100644 --- a/sdk/python/pulumi_aws_native/redshift/outputs.py +++ b/sdk/python/pulumi_aws_native/redshift/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/redshift/scheduled_action.py b/sdk/python/pulumi_aws_native/redshift/scheduled_action.py index b46a037562..3591e91436 100644 --- a/sdk/python/pulumi_aws_native/redshift/scheduled_action.py +++ b/sdk/python/pulumi_aws_native/redshift/scheduled_action.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/redshiftserverless/_inputs.py b/sdk/python/pulumi_aws_native/redshiftserverless/_inputs.py index 69bc890e30..69551e0c28 100644 --- a/sdk/python/pulumi_aws_native/redshiftserverless/_inputs.py +++ b/sdk/python/pulumi_aws_native/redshiftserverless/_inputs.py @@ -4,17 +4,43 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'NamespaceSnapshotCopyConfigurationArgs', + 'NamespaceSnapshotCopyConfigurationArgsDict', 'WorkgroupConfigParameterArgs', + 'WorkgroupConfigParameterArgsDict', ] +MYPY = False + +if not MYPY: + class NamespaceSnapshotCopyConfigurationArgsDict(TypedDict): + destination_region: pulumi.Input[str] + """ + The destination AWS Region to copy snapshots to. + """ + destination_kms_key_id: NotRequired[pulumi.Input[str]] + """ + The ID of the KMS key to use to encrypt your snapshots in the destination AWS Region . + """ + snapshot_retention_period: NotRequired[pulumi.Input[int]] + """ + The retention period of snapshots that are copied to the destination AWS Region . + """ +elif False: + NamespaceSnapshotCopyConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class NamespaceSnapshotCopyConfigurationArgs: def __init__(__self__, *, @@ -69,6 +95,19 @@ def snapshot_retention_period(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "snapshot_retention_period", value) +if not MYPY: + class WorkgroupConfigParameterArgsDict(TypedDict): + parameter_key: NotRequired[pulumi.Input[str]] + """ + The key of the parameter. The options are `datestyle` , `enable_user_activity_logging` , `query_group` , `search_path` , `max_query_execution_time` , and `require_ssl` . + """ + parameter_value: NotRequired[pulumi.Input[str]] + """ + The value of the parameter to set. + """ +elif False: + WorkgroupConfigParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkgroupConfigParameterArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/redshiftserverless/get_namespace.py b/sdk/python/pulumi_aws_native/redshiftserverless/get_namespace.py index 8a9ad15f65..b4b51751c5 100644 --- a/sdk/python/pulumi_aws_native/redshiftserverless/get_namespace.py +++ b/sdk/python/pulumi_aws_native/redshiftserverless/get_namespace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -177,9 +182,6 @@ def get_namespace(namespace_name: Optional[str] = None, namespace=pulumi.get(__ret__, 'namespace'), namespace_resource_policy=pulumi.get(__ret__, 'namespace_resource_policy'), snapshot_copy_configurations=pulumi.get(__ret__, 'snapshot_copy_configurations')) - - -@_utilities.lift_output_func(get_namespace) def get_namespace_output(namespace_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamespaceResult]: """ @@ -188,4 +190,18 @@ def get_namespace_output(namespace_name: Optional[pulumi.Input[str]] = None, :param str namespace_name: A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account. """ - ... + __args__ = dict() + __args__['namespaceName'] = namespace_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:redshiftserverless:getNamespace', __args__, opts=opts, typ=GetNamespaceResult) + return __ret__.apply(lambda __response__: GetNamespaceResult( + admin_password_secret_kms_key_id=pulumi.get(__response__, 'admin_password_secret_kms_key_id'), + admin_username=pulumi.get(__response__, 'admin_username'), + db_name=pulumi.get(__response__, 'db_name'), + default_iam_role_arn=pulumi.get(__response__, 'default_iam_role_arn'), + iam_roles=pulumi.get(__response__, 'iam_roles'), + kms_key_id=pulumi.get(__response__, 'kms_key_id'), + log_exports=pulumi.get(__response__, 'log_exports'), + namespace=pulumi.get(__response__, 'namespace'), + namespace_resource_policy=pulumi.get(__response__, 'namespace_resource_policy'), + snapshot_copy_configurations=pulumi.get(__response__, 'snapshot_copy_configurations'))) diff --git a/sdk/python/pulumi_aws_native/redshiftserverless/get_workgroup.py b/sdk/python/pulumi_aws_native/redshiftserverless/get_workgroup.py index 0912ddf961..fe3882ff67 100644 --- a/sdk/python/pulumi_aws_native/redshiftserverless/get_workgroup.py +++ b/sdk/python/pulumi_aws_native/redshiftserverless/get_workgroup.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -97,9 +102,6 @@ def get_workgroup(workgroup_name: Optional[str] = None, port=pulumi.get(__ret__, 'port'), publicly_accessible=pulumi.get(__ret__, 'publicly_accessible'), workgroup=pulumi.get(__ret__, 'workgroup')) - - -@_utilities.lift_output_func(get_workgroup) def get_workgroup_output(workgroup_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkgroupResult]: """ @@ -108,4 +110,12 @@ def get_workgroup_output(workgroup_name: Optional[pulumi.Input[str]] = None, :param str workgroup_name: The name of the workgroup. """ - ... + __args__ = dict() + __args__['workgroupName'] = workgroup_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:redshiftserverless:getWorkgroup', __args__, opts=opts, typ=GetWorkgroupResult) + return __ret__.apply(lambda __response__: GetWorkgroupResult( + enhanced_vpc_routing=pulumi.get(__response__, 'enhanced_vpc_routing'), + port=pulumi.get(__response__, 'port'), + publicly_accessible=pulumi.get(__response__, 'publicly_accessible'), + workgroup=pulumi.get(__response__, 'workgroup'))) diff --git a/sdk/python/pulumi_aws_native/redshiftserverless/namespace.py b/sdk/python/pulumi_aws_native/redshiftserverless/namespace.py index 3c22c5ccd1..6dbe5f1841 100644 --- a/sdk/python/pulumi_aws_native/redshiftserverless/namespace.py +++ b/sdk/python/pulumi_aws_native/redshiftserverless/namespace.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/redshiftserverless/outputs.py b/sdk/python/pulumi_aws_native/redshiftserverless/outputs.py index 03d44103cb..29fdead938 100644 --- a/sdk/python/pulumi_aws_native/redshiftserverless/outputs.py +++ b/sdk/python/pulumi_aws_native/redshiftserverless/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/redshiftserverless/workgroup.py b/sdk/python/pulumi_aws_native/redshiftserverless/workgroup.py index 76d633d92d..650f61f2e9 100644 --- a/sdk/python/pulumi_aws_native/redshiftserverless/workgroup.py +++ b/sdk/python/pulumi_aws_native/redshiftserverless/workgroup.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/refactorspaces/_inputs.py b/sdk/python/pulumi_aws_native/refactorspaces/_inputs.py index ed36d0111d..24dc2851a6 100644 --- a/sdk/python/pulumi_aws_native/refactorspaces/_inputs.py +++ b/sdk/python/pulumi_aws_native/refactorspaces/_inputs.py @@ -4,20 +4,47 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ApplicationApiGatewayProxyInputArgs', + 'ApplicationApiGatewayProxyInputArgsDict', 'RouteDefaultRouteInputArgs', + 'RouteDefaultRouteInputArgsDict', 'RouteUriPathRouteInputArgs', + 'RouteUriPathRouteInputArgsDict', 'ServiceLambdaEndpointInputArgs', + 'ServiceLambdaEndpointInputArgsDict', 'ServiceUrlEndpointInputArgs', + 'ServiceUrlEndpointInputArgsDict', ] +MYPY = False + +if not MYPY: + class ApplicationApiGatewayProxyInputArgsDict(TypedDict): + endpoint_type: NotRequired[pulumi.Input['ApplicationApiGatewayEndpointType']] + """ + The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value is set to `REGIONAL` by default. + + If the value is set to `PRIVATE` in the request, this creates a private API endpoint that is isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access. For more information about creating a private connection with Refactor Spaces and interface endpoint ( AWS PrivateLink ) availability, see [Access Refactor Spaces using an interface endpoint ( AWS PrivateLink )](https://docs.aws.amazon.com/migrationhub-refactor-spaces/latest/userguide/vpc-interface-endpoints.html) . + """ + stage_name: NotRequired[pulumi.Input[str]] + """ + The name of the API Gateway stage. The name defaults to `prod` . + """ +elif False: + ApplicationApiGatewayProxyInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationApiGatewayProxyInputArgs: def __init__(__self__, *, @@ -61,6 +88,15 @@ def stage_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "stage_name", value) +if not MYPY: + class RouteDefaultRouteInputArgsDict(TypedDict): + activation_state: pulumi.Input['RouteActivationState'] + """ + If set to `ACTIVE` , traffic is forwarded to this route’s service after the route is created. + """ +elif False: + RouteDefaultRouteInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RouteDefaultRouteInputArgs: def __init__(__self__, *, @@ -83,6 +119,31 @@ def activation_state(self, value: pulumi.Input['RouteActivationState']): pulumi.set(self, "activation_state", value) +if not MYPY: + class RouteUriPathRouteInputArgsDict(TypedDict): + activation_state: pulumi.Input['RouteActivationState'] + """ + If set to `ACTIVE` , traffic is forwarded to this route’s service after the route is created. + """ + append_source_path: NotRequired[pulumi.Input[bool]] + """ + If set to `true` , this option appends the source path to the service URL endpoint. + """ + include_child_paths: NotRequired[pulumi.Input[bool]] + """ + Indicates whether to match all subpaths of the given source path. If this value is `false` , requests must match the source path exactly before they are forwarded to this route's service. + """ + methods: NotRequired[pulumi.Input[Sequence[pulumi.Input['RouteMethod']]]] + """ + A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service. + """ + source_path: NotRequired[pulumi.Input[str]] + """ + This is the path that Refactor Spaces uses to match traffic. Paths must start with `/` and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'. + """ +elif False: + RouteUriPathRouteInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RouteUriPathRouteInputArgs: def __init__(__self__, *, @@ -169,6 +230,15 @@ def source_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_path", value) +if not MYPY: + class ServiceLambdaEndpointInputArgsDict(TypedDict): + arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Lambda function or alias. + """ +elif False: + ServiceLambdaEndpointInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceLambdaEndpointInputArgs: def __init__(__self__, *, @@ -191,6 +261,19 @@ def arn(self, value: pulumi.Input[str]): pulumi.set(self, "arn", value) +if not MYPY: + class ServiceUrlEndpointInputArgsDict(TypedDict): + url: pulumi.Input[str] + """ + The URL to route traffic to. The URL must be an [rfc3986-formatted URL](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc3986) . If the host is a domain name, the name must be resolvable over the public internet. If the scheme is `https` , the top level domain of the host must be listed in the [IANA root zone database](https://docs.aws.amazon.com/https://www.iana.org/domains/root/db) . + """ + health_url: NotRequired[pulumi.Input[str]] + """ + The health check URL of the URL endpoint type. If the URL is a public endpoint, the `HealthUrl` must also be a public endpoint. If the URL is a private endpoint inside a virtual private cloud (VPC), the health URL must also be a private endpoint, and the host must be the same as the URL. + """ +elif False: + ServiceUrlEndpointInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceUrlEndpointInputArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/refactorspaces/application.py b/sdk/python/pulumi_aws_native/refactorspaces/application.py index f938d007a5..acbcee9e69 100644 --- a/sdk/python/pulumi_aws_native/refactorspaces/application.py +++ b/sdk/python/pulumi_aws_native/refactorspaces/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/refactorspaces/environment.py b/sdk/python/pulumi_aws_native/refactorspaces/environment.py index b2eb303dda..afeed190c1 100644 --- a/sdk/python/pulumi_aws_native/refactorspaces/environment.py +++ b/sdk/python/pulumi_aws_native/refactorspaces/environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/refactorspaces/get_application.py b/sdk/python/pulumi_aws_native/refactorspaces/get_application.py index a1861da16e..7cff05c6f7 100644 --- a/sdk/python/pulumi_aws_native/refactorspaces/get_application.py +++ b/sdk/python/pulumi_aws_native/refactorspaces/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -164,9 +169,6 @@ def get_application(application_identifier: Optional[str] = None, stage_name=pulumi.get(__ret__, 'stage_name'), tags=pulumi.get(__ret__, 'tags'), vpc_link_id=pulumi.get(__ret__, 'vpc_link_id')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_identifier: Optional[pulumi.Input[str]] = None, environment_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: @@ -177,4 +179,18 @@ def get_application_output(application_identifier: Optional[pulumi.Input[str]] = :param str application_identifier: The unique identifier of the application. :param str environment_identifier: The unique identifier of the environment. """ - ... + __args__ = dict() + __args__['applicationIdentifier'] = application_identifier + __args__['environmentIdentifier'] = environment_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:refactorspaces:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + api_gateway_id=pulumi.get(__response__, 'api_gateway_id'), + application_identifier=pulumi.get(__response__, 'application_identifier'), + arn=pulumi.get(__response__, 'arn'), + nlb_arn=pulumi.get(__response__, 'nlb_arn'), + nlb_name=pulumi.get(__response__, 'nlb_name'), + proxy_url=pulumi.get(__response__, 'proxy_url'), + stage_name=pulumi.get(__response__, 'stage_name'), + tags=pulumi.get(__response__, 'tags'), + vpc_link_id=pulumi.get(__response__, 'vpc_link_id'))) diff --git a/sdk/python/pulumi_aws_native/refactorspaces/get_environment.py b/sdk/python/pulumi_aws_native/refactorspaces/get_environment.py index 2c3f46af2f..1b70ea8827 100644 --- a/sdk/python/pulumi_aws_native/refactorspaces/get_environment.py +++ b/sdk/python/pulumi_aws_native/refactorspaces/get_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_environment(environment_identifier: Optional[str] = None, environment_identifier=pulumi.get(__ret__, 'environment_identifier'), tags=pulumi.get(__ret__, 'tags'), transit_gateway_id=pulumi.get(__ret__, 'transit_gateway_id')) - - -@_utilities.lift_output_func(get_environment) def get_environment_output(environment_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentResult]: """ @@ -107,4 +109,12 @@ def get_environment_output(environment_identifier: Optional[pulumi.Input[str]] = :param str environment_identifier: The unique identifier of the environment. """ - ... + __args__ = dict() + __args__['environmentIdentifier'] = environment_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:refactorspaces:getEnvironment', __args__, opts=opts, typ=GetEnvironmentResult) + return __ret__.apply(lambda __response__: GetEnvironmentResult( + arn=pulumi.get(__response__, 'arn'), + environment_identifier=pulumi.get(__response__, 'environment_identifier'), + tags=pulumi.get(__response__, 'tags'), + transit_gateway_id=pulumi.get(__response__, 'transit_gateway_id'))) diff --git a/sdk/python/pulumi_aws_native/refactorspaces/get_route.py b/sdk/python/pulumi_aws_native/refactorspaces/get_route.py index 5438d6e6c1..cc99c860f6 100644 --- a/sdk/python/pulumi_aws_native/refactorspaces/get_route.py +++ b/sdk/python/pulumi_aws_native/refactorspaces/get_route.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -102,9 +107,6 @@ def get_route(application_identifier: Optional[str] = None, path_resource_to_id=pulumi.get(__ret__, 'path_resource_to_id'), route_identifier=pulumi.get(__ret__, 'route_identifier'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_route) def get_route_output(application_identifier: Optional[pulumi.Input[str]] = None, environment_identifier: Optional[pulumi.Input[str]] = None, route_identifier: Optional[pulumi.Input[str]] = None, @@ -117,4 +119,14 @@ def get_route_output(application_identifier: Optional[pulumi.Input[str]] = None, :param str environment_identifier: The unique identifier of the environment. :param str route_identifier: The unique identifier of the route. """ - ... + __args__ = dict() + __args__['applicationIdentifier'] = application_identifier + __args__['environmentIdentifier'] = environment_identifier + __args__['routeIdentifier'] = route_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:refactorspaces:getRoute', __args__, opts=opts, typ=GetRouteResult) + return __ret__.apply(lambda __response__: GetRouteResult( + arn=pulumi.get(__response__, 'arn'), + path_resource_to_id=pulumi.get(__response__, 'path_resource_to_id'), + route_identifier=pulumi.get(__response__, 'route_identifier'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/refactorspaces/get_service.py b/sdk/python/pulumi_aws_native/refactorspaces/get_service.py index c0850eef8e..ebf876947b 100644 --- a/sdk/python/pulumi_aws_native/refactorspaces/get_service.py +++ b/sdk/python/pulumi_aws_native/refactorspaces/get_service.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -89,9 +94,6 @@ def get_service(application_identifier: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), service_identifier=pulumi.get(__ret__, 'service_identifier'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service) def get_service_output(application_identifier: Optional[pulumi.Input[str]] = None, environment_identifier: Optional[pulumi.Input[str]] = None, service_identifier: Optional[pulumi.Input[str]] = None, @@ -104,4 +106,13 @@ def get_service_output(application_identifier: Optional[pulumi.Input[str]] = Non :param str environment_identifier: The unique identifier of the environment. :param str service_identifier: The unique identifier of the service. """ - ... + __args__ = dict() + __args__['applicationIdentifier'] = application_identifier + __args__['environmentIdentifier'] = environment_identifier + __args__['serviceIdentifier'] = service_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:refactorspaces:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + arn=pulumi.get(__response__, 'arn'), + service_identifier=pulumi.get(__response__, 'service_identifier'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/refactorspaces/outputs.py b/sdk/python/pulumi_aws_native/refactorspaces/outputs.py index 2033f24bec..7a19a6451d 100644 --- a/sdk/python/pulumi_aws_native/refactorspaces/outputs.py +++ b/sdk/python/pulumi_aws_native/refactorspaces/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/refactorspaces/route.py b/sdk/python/pulumi_aws_native/refactorspaces/route.py index e1066b3d96..54f51c184a 100644 --- a/sdk/python/pulumi_aws_native/refactorspaces/route.py +++ b/sdk/python/pulumi_aws_native/refactorspaces/route.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/refactorspaces/service.py b/sdk/python/pulumi_aws_native/refactorspaces/service.py index 326ae6379e..e6cbcba108 100644 --- a/sdk/python/pulumi_aws_native/refactorspaces/service.py +++ b/sdk/python/pulumi_aws_native/refactorspaces/service.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/rekognition/_inputs.py b/sdk/python/pulumi_aws_native/rekognition/_inputs.py index 0ecef4be47..b0fd331c63 100644 --- a/sdk/python/pulumi_aws_native/rekognition/_inputs.py +++ b/sdk/python/pulumi_aws_native/rekognition/_inputs.py @@ -4,23 +4,63 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'StreamProcessorBoundingBoxArgs', + 'StreamProcessorBoundingBoxArgsDict', 'StreamProcessorConnectedHomeSettingsArgs', + 'StreamProcessorConnectedHomeSettingsArgsDict', 'StreamProcessorDataSharingPreferenceArgs', + 'StreamProcessorDataSharingPreferenceArgsDict', 'StreamProcessorFaceSearchSettingsArgs', + 'StreamProcessorFaceSearchSettingsArgsDict', 'StreamProcessorKinesisDataStreamArgs', + 'StreamProcessorKinesisDataStreamArgsDict', 'StreamProcessorKinesisVideoStreamArgs', + 'StreamProcessorKinesisVideoStreamArgsDict', 'StreamProcessorNotificationChannelArgs', + 'StreamProcessorNotificationChannelArgsDict', 'StreamProcessorPointArgs', + 'StreamProcessorPointArgsDict', 'StreamProcessorS3DestinationArgs', + 'StreamProcessorS3DestinationArgsDict', ] +MYPY = False + +if not MYPY: + class StreamProcessorBoundingBoxArgsDict(TypedDict): + """ + A bounding box denoting a region of interest in the frame to be analyzed. + """ + height: pulumi.Input[float] + """ + Height of the bounding box as a ratio of the overall image height. + """ + left: pulumi.Input[float] + """ + Left coordinate of the bounding box as a ratio of overall image width. + """ + top: pulumi.Input[float] + """ + Top coordinate of the bounding box as a ratio of overall image height. + """ + width: pulumi.Input[float] + """ + Width of the bounding box as a ratio of the overall image width. + """ +elif False: + StreamProcessorBoundingBoxArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamProcessorBoundingBoxArgs: def __init__(__self__, *, @@ -89,6 +129,22 @@ def width(self, value: pulumi.Input[float]): pulumi.set(self, "width", value) +if not MYPY: + class StreamProcessorConnectedHomeSettingsArgsDict(TypedDict): + """ + Connected home settings to use on a streaming video. Note that either ConnectedHomeSettings or FaceSearchSettings should be set. Not both + """ + labels: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL". + """ + min_confidence: NotRequired[pulumi.Input[float]] + """ + Minimum object class match confidence score that must be met to return a result for a recognized object. + """ +elif False: + StreamProcessorConnectedHomeSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamProcessorConnectedHomeSettingsArgs: def __init__(__self__, *, @@ -128,6 +184,18 @@ def min_confidence(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "min_confidence", value) +if not MYPY: + class StreamProcessorDataSharingPreferenceArgsDict(TypedDict): + """ + Indicates whether Rekognition is allowed to store the video stream data for model-training. + """ + opt_in: pulumi.Input[bool] + """ + Flag to enable data-sharing + """ +elif False: + StreamProcessorDataSharingPreferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamProcessorDataSharingPreferenceArgs: def __init__(__self__, *, @@ -151,6 +219,22 @@ def opt_in(self, value: pulumi.Input[bool]): pulumi.set(self, "opt_in", value) +if not MYPY: + class StreamProcessorFaceSearchSettingsArgsDict(TypedDict): + """ + Face search settings to use on a streaming video. Note that either FaceSearchSettings or ConnectedHomeSettings should be set. Not both + """ + collection_id: pulumi.Input[str] + """ + The ID of a collection that contains faces that you want to search for. + """ + face_match_threshold: NotRequired[pulumi.Input[float]] + """ + Minimum face match confidence score percentage that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted. + """ +elif False: + StreamProcessorFaceSearchSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamProcessorFaceSearchSettingsArgs: def __init__(__self__, *, @@ -190,6 +274,18 @@ def face_match_threshold(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "face_match_threshold", value) +if not MYPY: + class StreamProcessorKinesisDataStreamArgsDict(TypedDict): + """ + The Amazon Kinesis Data Stream stream to which the Amazon Rekognition stream processor streams the analysis results, as part of face search feature. + """ + arn: pulumi.Input[str] + """ + ARN of the Kinesis Data Stream stream. + """ +elif False: + StreamProcessorKinesisDataStreamArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamProcessorKinesisDataStreamArgs: def __init__(__self__, *, @@ -213,6 +309,18 @@ def arn(self, value: pulumi.Input[str]): pulumi.set(self, "arn", value) +if not MYPY: + class StreamProcessorKinesisVideoStreamArgsDict(TypedDict): + """ + The Kinesis Video Stream that streams the source video. + """ + arn: pulumi.Input[str] + """ + ARN of the Kinesis Video Stream that streams the source video. + """ +elif False: + StreamProcessorKinesisVideoStreamArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamProcessorKinesisVideoStreamArgs: def __init__(__self__, *, @@ -236,6 +344,18 @@ def arn(self, value: pulumi.Input[str]): pulumi.set(self, "arn", value) +if not MYPY: + class StreamProcessorNotificationChannelArgsDict(TypedDict): + """ + The ARN of the SNS notification channel where events of interests are published, as part of connected home feature. + """ + arn: pulumi.Input[str] + """ + ARN of the SNS topic. + """ +elif False: + StreamProcessorNotificationChannelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamProcessorNotificationChannelArgs: def __init__(__self__, *, @@ -259,6 +379,22 @@ def arn(self, value: pulumi.Input[str]): pulumi.set(self, "arn", value) +if not MYPY: + class StreamProcessorPointArgsDict(TypedDict): + """ + An (X, Y) cartesian coordinate denoting a point on the frame + """ + x: pulumi.Input[float] + """ + The X coordinate of the point. + """ + y: pulumi.Input[float] + """ + The Y coordinate of the point. + """ +elif False: + StreamProcessorPointArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamProcessorPointArgs: def __init__(__self__, *, @@ -297,6 +433,22 @@ def y(self, value: pulumi.Input[float]): pulumi.set(self, "y", value) +if not MYPY: + class StreamProcessorS3DestinationArgsDict(TypedDict): + """ + The S3 location in customer's account where inference output & artifacts are stored, as part of connected home feature. + """ + bucket_name: pulumi.Input[str] + """ + Name of the S3 bucket. + """ + object_key_prefix: NotRequired[pulumi.Input[str]] + """ + The object key prefix path where the results will be stored. Default is no prefix path + """ +elif False: + StreamProcessorS3DestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StreamProcessorS3DestinationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/rekognition/collection.py b/sdk/python/pulumi_aws_native/rekognition/collection.py index 5bde2bc7a5..4ab7458f7e 100644 --- a/sdk/python/pulumi_aws_native/rekognition/collection.py +++ b/sdk/python/pulumi_aws_native/rekognition/collection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/rekognition/get_collection.py b/sdk/python/pulumi_aws_native/rekognition/get_collection.py index eec4749e82..faa21eee20 100644 --- a/sdk/python/pulumi_aws_native/rekognition/get_collection.py +++ b/sdk/python/pulumi_aws_native/rekognition/get_collection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_collection(collection_id: Optional[str] = None, return AwaitableGetCollectionResult( arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_collection) def get_collection_output(collection_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCollectionResult]: """ @@ -81,4 +83,10 @@ def get_collection_output(collection_id: Optional[pulumi.Input[str]] = None, :param str collection_id: ID for the collection that you are creating. """ - ... + __args__ = dict() + __args__['collectionId'] = collection_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rekognition:getCollection', __args__, opts=opts, typ=GetCollectionResult) + return __ret__.apply(lambda __response__: GetCollectionResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rekognition/get_project.py b/sdk/python/pulumi_aws_native/rekognition/get_project.py index 0a4bca6ef0..9f9031f6da 100644 --- a/sdk/python/pulumi_aws_native/rekognition/get_project.py +++ b/sdk/python/pulumi_aws_native/rekognition/get_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_project(project_name: Optional[str] = None, return AwaitableGetProjectResult( arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_project) def get_project_output(project_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]: """ @@ -67,4 +69,9 @@ def get_project_output(project_name: Optional[pulumi.Input[str]] = None, :param str project_name: The name of the project to create. """ - ... + __args__ = dict() + __args__['projectName'] = project_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rekognition:getProject', __args__, opts=opts, typ=GetProjectResult) + return __ret__.apply(lambda __response__: GetProjectResult( + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/rekognition/get_stream_processor.py b/sdk/python/pulumi_aws_native/rekognition/get_stream_processor.py index 2fadb4b8f6..ab6ef97e8e 100644 --- a/sdk/python/pulumi_aws_native/rekognition/get_stream_processor.py +++ b/sdk/python/pulumi_aws_native/rekognition/get_stream_processor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_stream_processor(name: Optional[str] = None, status=pulumi.get(__ret__, 'status'), status_message=pulumi.get(__ret__, 'status_message'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_stream_processor) def get_stream_processor_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStreamProcessorResult]: """ @@ -107,4 +109,12 @@ def get_stream_processor_output(name: Optional[pulumi.Input[str]] = None, :param str name: Name of the stream processor. It's an identifier you assign to the stream processor. You can use it to manage the stream processor. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rekognition:getStreamProcessor', __args__, opts=opts, typ=GetStreamProcessorResult) + return __ret__.apply(lambda __response__: GetStreamProcessorResult( + arn=pulumi.get(__response__, 'arn'), + status=pulumi.get(__response__, 'status'), + status_message=pulumi.get(__response__, 'status_message'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rekognition/outputs.py b/sdk/python/pulumi_aws_native/rekognition/outputs.py index 83219b6e80..b992ca462e 100644 --- a/sdk/python/pulumi_aws_native/rekognition/outputs.py +++ b/sdk/python/pulumi_aws_native/rekognition/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/rekognition/project.py b/sdk/python/pulumi_aws_native/rekognition/project.py index d3ecca6d9f..24bb79dd23 100644 --- a/sdk/python/pulumi_aws_native/rekognition/project.py +++ b/sdk/python/pulumi_aws_native/rekognition/project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ProjectArgs', 'Project'] diff --git a/sdk/python/pulumi_aws_native/rekognition/stream_processor.py b/sdk/python/pulumi_aws_native/rekognition/stream_processor.py index 4b598c4fef..63dbe164a7 100644 --- a/sdk/python/pulumi_aws_native/rekognition/stream_processor.py +++ b/sdk/python/pulumi_aws_native/rekognition/stream_processor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/resiliencehub/_inputs.py b/sdk/python/pulumi_aws_native/resiliencehub/_inputs.py index 581f6f3bc8..89a5dd53f1 100644 --- a/sdk/python/pulumi_aws_native/resiliencehub/_inputs.py +++ b/sdk/python/pulumi_aws_native/resiliencehub/_inputs.py @@ -4,21 +4,54 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AppEventSubscriptionArgs', + 'AppEventSubscriptionArgsDict', 'AppPermissionModelArgs', + 'AppPermissionModelArgsDict', 'AppPhysicalResourceIdArgs', + 'AppPhysicalResourceIdArgsDict', 'AppResourceMappingArgs', + 'AppResourceMappingArgsDict', 'ResiliencyPolicyFailurePolicyArgs', + 'ResiliencyPolicyFailurePolicyArgsDict', 'ResiliencyPolicyPolicyMapArgs', + 'ResiliencyPolicyPolicyMapArgsDict', ] +MYPY = False + +if not MYPY: + class AppEventSubscriptionArgsDict(TypedDict): + """ + Indicates an event you would like to subscribe and get notification for. + """ + event_type: pulumi.Input['AppEventSubscriptionEventType'] + """ + The type of event you would like to subscribe and get notification for. + """ + name: pulumi.Input[str] + """ + Unique name to identify an event subscription. + """ + sns_topic_arn: NotRequired[pulumi.Input[str]] + """ + Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic. + """ +elif False: + AppEventSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppEventSubscriptionArgs: def __init__(__self__, *, @@ -73,6 +106,26 @@ def sns_topic_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sns_topic_arn", value) +if not MYPY: + class AppPermissionModelArgsDict(TypedDict): + """ + Defines the roles and credentials that AWS Resilience Hub would use while creating the application, importing its resources, and running an assessment. + """ + type: pulumi.Input['AppPermissionModelType'] + """ + Defines how AWS Resilience Hub scans your resources. It can scan for the resources by using a pre-existing role in your AWS account, or by using the credentials of the current IAM user. + """ + cross_account_role_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Defines a list of role Amazon Resource Names (ARNs) to be used in other accounts. These ARNs are used for querying purposes while importing resources and assessing your application. + """ + invoker_role_name: NotRequired[pulumi.Input[str]] + """ + Existing AWS IAM role name in the primary AWS account that will be assumed by AWS Resilience Hub Service Principle to obtain a read-only access to your application resources while running an assessment. + """ +elif False: + AppPermissionModelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppPermissionModelArgs: def __init__(__self__, *, @@ -128,6 +181,56 @@ def invoker_role_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "invoker_role_name", value) +if not MYPY: + class AppPhysicalResourceIdArgsDict(TypedDict): + identifier: pulumi.Input[str] + """ + Identifier of the physical resource. + """ + type: pulumi.Input[str] + """ + Specifies the type of physical resource identifier. + + - **Arn** - The resource identifier is an Amazon Resource Name (ARN) and it can identify the following list of resources: + + - `AWS::ECS::Service` + - `AWS::EFS::FileSystem` + - `AWS::ElasticLoadBalancingV2::LoadBalancer` + - `AWS::Lambda::Function` + - `AWS::SNS::Topic` + - **Native** - The resource identifier is an AWS Resilience Hub -native identifier and it can identify the following list of resources: + + - `AWS::ApiGateway::RestApi` + - `AWS::ApiGatewayV2::Api` + - `AWS::AutoScaling::AutoScalingGroup` + - `AWS::DocDB::DBCluster` + - `AWS::DocDB::DBGlobalCluster` + - `AWS::DocDB::DBInstance` + - `AWS::DynamoDB::GlobalTable` + - `AWS::DynamoDB::Table` + - `AWS::EC2::EC2Fleet` + - `AWS::EC2::Instance` + - `AWS::EC2::NatGateway` + - `AWS::EC2::Volume` + - `AWS::ElasticLoadBalancing::LoadBalancer` + - `AWS::RDS::DBCluster` + - `AWS::RDS::DBInstance` + - `AWS::RDS::GlobalCluster` + - `AWS::Route53::RecordSet` + - `AWS::S3::Bucket` + - `AWS::SQS::Queue` + """ + aws_account_id: NotRequired[pulumi.Input[str]] + """ + The AWS account that owns the physical resource. + """ + aws_region: NotRequired[pulumi.Input[str]] + """ + The AWS Region that the physical resource is located in. + """ +elif False: + AppPhysicalResourceIdArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppPhysicalResourceIdArgs: def __init__(__self__, *, @@ -255,6 +358,40 @@ def aws_region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "aws_region", value) +if not MYPY: + class AppResourceMappingArgsDict(TypedDict): + """ + Resource mapping is used to map logical resources from template to physical resource + """ + mapping_type: pulumi.Input[str] + """ + Specifies the type of resource mapping. + """ + physical_resource_id: pulumi.Input['AppPhysicalResourceIdArgsDict'] + """ + Identifier of the physical resource. + """ + eks_source_name: NotRequired[pulumi.Input[str]] + """ + Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the `mappingType` is `EKS` . + + > This parameter accepts values in "eks-cluster/namespace" format. + """ + logical_stack_name: NotRequired[pulumi.Input[str]] + """ + Name of the AWS CloudFormation stack this resource is mapped to when the `mappingType` is `CfnStack` . + """ + resource_name: NotRequired[pulumi.Input[str]] + """ + Name of the resource that this resource is mapped to when the `mappingType` is `Resource` . + """ + terraform_source_name: NotRequired[pulumi.Input[str]] + """ + Name of the Terraform source that this resource is mapped to when the `mappingType` is `Terraform` . + """ +elif False: + AppResourceMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppResourceMappingArgs: def __init__(__self__, *, @@ -361,6 +498,22 @@ def terraform_source_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "terraform_source_name", value) +if not MYPY: + class ResiliencyPolicyFailurePolicyArgsDict(TypedDict): + """ + Failure Policy. + """ + rpo_in_secs: pulumi.Input[int] + """ + RPO in seconds. + """ + rto_in_secs: pulumi.Input[int] + """ + RTO in seconds. + """ +elif False: + ResiliencyPolicyFailurePolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResiliencyPolicyFailurePolicyArgs: def __init__(__self__, *, @@ -399,6 +552,27 @@ def rto_in_secs(self, value: pulumi.Input[int]): pulumi.set(self, "rto_in_secs", value) +if not MYPY: + class ResiliencyPolicyPolicyMapArgsDict(TypedDict): + az: pulumi.Input['ResiliencyPolicyFailurePolicyArgsDict'] + """ + Defines the RTO and RPO targets for Availability Zone disruption. + """ + hardware: pulumi.Input['ResiliencyPolicyFailurePolicyArgsDict'] + """ + Defines the RTO and RPO targets for hardware disruption. + """ + software: pulumi.Input['ResiliencyPolicyFailurePolicyArgsDict'] + """ + Defines the RTO and RPO targets for software disruption. + """ + region: NotRequired[pulumi.Input['ResiliencyPolicyFailurePolicyArgsDict']] + """ + Defines the RTO and RPO targets for Regional disruption. + """ +elif False: + ResiliencyPolicyPolicyMapArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResiliencyPolicyPolicyMapArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/resiliencehub/app.py b/sdk/python/pulumi_aws_native/resiliencehub/app.py index f2053c4711..28aa32934a 100644 --- a/sdk/python/pulumi_aws_native/resiliencehub/app.py +++ b/sdk/python/pulumi_aws_native/resiliencehub/app.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/resiliencehub/get_app.py b/sdk/python/pulumi_aws_native/resiliencehub/get_app.py index 74f1e9a87c..fb34ae4dbc 100644 --- a/sdk/python/pulumi_aws_native/resiliencehub/get_app.py +++ b/sdk/python/pulumi_aws_native/resiliencehub/get_app.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -175,9 +180,6 @@ def get_app(app_arn: Optional[str] = None, resiliency_policy_arn=pulumi.get(__ret__, 'resiliency_policy_arn'), resource_mappings=pulumi.get(__ret__, 'resource_mappings'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_app) def get_app_output(app_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppResult]: """ @@ -186,4 +188,18 @@ def get_app_output(app_arn: Optional[pulumi.Input[str]] = None, :param str app_arn: Amazon Resource Name (ARN) of the App. """ - ... + __args__ = dict() + __args__['appArn'] = app_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:resiliencehub:getApp', __args__, opts=opts, typ=GetAppResult) + return __ret__.apply(lambda __response__: GetAppResult( + app_arn=pulumi.get(__response__, 'app_arn'), + app_assessment_schedule=pulumi.get(__response__, 'app_assessment_schedule'), + app_template_body=pulumi.get(__response__, 'app_template_body'), + description=pulumi.get(__response__, 'description'), + drift_status=pulumi.get(__response__, 'drift_status'), + event_subscriptions=pulumi.get(__response__, 'event_subscriptions'), + permission_model=pulumi.get(__response__, 'permission_model'), + resiliency_policy_arn=pulumi.get(__response__, 'resiliency_policy_arn'), + resource_mappings=pulumi.get(__response__, 'resource_mappings'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/resiliencehub/get_resiliency_policy.py b/sdk/python/pulumi_aws_native/resiliencehub/get_resiliency_policy.py index b36eb666d8..23ce4ee5ee 100644 --- a/sdk/python/pulumi_aws_native/resiliencehub/get_resiliency_policy.py +++ b/sdk/python/pulumi_aws_native/resiliencehub/get_resiliency_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -136,9 +141,6 @@ def get_resiliency_policy(policy_arn: Optional[str] = None, policy_name=pulumi.get(__ret__, 'policy_name'), tags=pulumi.get(__ret__, 'tags'), tier=pulumi.get(__ret__, 'tier')) - - -@_utilities.lift_output_func(get_resiliency_policy) def get_resiliency_policy_output(policy_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResiliencyPolicyResult]: """ @@ -147,4 +149,15 @@ def get_resiliency_policy_output(policy_arn: Optional[pulumi.Input[str]] = None, :param str policy_arn: Amazon Resource Name (ARN) of the Resiliency Policy. """ - ... + __args__ = dict() + __args__['policyArn'] = policy_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:resiliencehub:getResiliencyPolicy', __args__, opts=opts, typ=GetResiliencyPolicyResult) + return __ret__.apply(lambda __response__: GetResiliencyPolicyResult( + data_location_constraint=pulumi.get(__response__, 'data_location_constraint'), + policy=pulumi.get(__response__, 'policy'), + policy_arn=pulumi.get(__response__, 'policy_arn'), + policy_description=pulumi.get(__response__, 'policy_description'), + policy_name=pulumi.get(__response__, 'policy_name'), + tags=pulumi.get(__response__, 'tags'), + tier=pulumi.get(__response__, 'tier'))) diff --git a/sdk/python/pulumi_aws_native/resiliencehub/outputs.py b/sdk/python/pulumi_aws_native/resiliencehub/outputs.py index 465d3a188b..dc194f34be 100644 --- a/sdk/python/pulumi_aws_native/resiliencehub/outputs.py +++ b/sdk/python/pulumi_aws_native/resiliencehub/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/resiliencehub/resiliency_policy.py b/sdk/python/pulumi_aws_native/resiliencehub/resiliency_policy.py index c732662746..979e5359ec 100644 --- a/sdk/python/pulumi_aws_native/resiliencehub/resiliency_policy.py +++ b/sdk/python/pulumi_aws_native/resiliencehub/resiliency_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/resourceexplorer2/_inputs.py b/sdk/python/pulumi_aws_native/resourceexplorer2/_inputs.py index 4c63fb1bb0..c371727e74 100644 --- a/sdk/python/pulumi_aws_native/resourceexplorer2/_inputs.py +++ b/sdk/python/pulumi_aws_native/resourceexplorer2/_inputs.py @@ -4,17 +4,35 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ViewIncludedPropertyArgs', + 'ViewIncludedPropertyArgsDict', 'ViewSearchFilterArgs', + 'ViewSearchFilterArgsDict', ] +MYPY = False + +if not MYPY: + class ViewIncludedPropertyArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the property that is included in this view. + """ +elif False: + ViewIncludedPropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ViewIncludedPropertyArgs: def __init__(__self__, *, @@ -37,6 +55,19 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class ViewSearchFilterArgsDict(TypedDict): + filter_string: pulumi.Input[str] + """ + The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation. + + For information about the supported syntax, see [Search query reference](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) in the *AWS Resource Explorer User Guide* . + + > This query string in the context of this operation supports only [filter prefixes](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) with optional [operators](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-operators) . It doesn't support free-form text. For example, the string `region:us* service:ec2 -tag:stage=prod` includes all Amazon EC2 resources in any AWS Region that begin with the letters `us` and are *not* tagged with a key `Stage` that has the value `prod` . + """ +elif False: + ViewSearchFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ViewSearchFilterArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/resourceexplorer2/default_view_association.py b/sdk/python/pulumi_aws_native/resourceexplorer2/default_view_association.py index fcbc983967..87640cd65c 100644 --- a/sdk/python/pulumi_aws_native/resourceexplorer2/default_view_association.py +++ b/sdk/python/pulumi_aws_native/resourceexplorer2/default_view_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DefaultViewAssociationArgs', 'DefaultViewAssociation'] diff --git a/sdk/python/pulumi_aws_native/resourceexplorer2/get_default_view_association.py b/sdk/python/pulumi_aws_native/resourceexplorer2/get_default_view_association.py index a3b6c238b6..113fc29b77 100644 --- a/sdk/python/pulumi_aws_native/resourceexplorer2/get_default_view_association.py +++ b/sdk/python/pulumi_aws_native/resourceexplorer2/get_default_view_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_default_view_association(associated_aws_principal: Optional[str] = None, return AwaitableGetDefaultViewAssociationResult( associated_aws_principal=pulumi.get(__ret__, 'associated_aws_principal'), view_arn=pulumi.get(__ret__, 'view_arn')) - - -@_utilities.lift_output_func(get_default_view_association) def get_default_view_association_output(associated_aws_principal: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDefaultViewAssociationResult]: """ @@ -80,4 +82,10 @@ def get_default_view_association_output(associated_aws_principal: Optional[pulum :param str associated_aws_principal: The AWS principal that the default view is associated with, used as the unique identifier for this resource. """ - ... + __args__ = dict() + __args__['associatedAwsPrincipal'] = associated_aws_principal + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:resourceexplorer2:getDefaultViewAssociation', __args__, opts=opts, typ=GetDefaultViewAssociationResult) + return __ret__.apply(lambda __response__: GetDefaultViewAssociationResult( + associated_aws_principal=pulumi.get(__response__, 'associated_aws_principal'), + view_arn=pulumi.get(__response__, 'view_arn'))) diff --git a/sdk/python/pulumi_aws_native/resourceexplorer2/get_index.py b/sdk/python/pulumi_aws_native/resourceexplorer2/get_index.py index 5128a42d0e..51688c043d 100644 --- a/sdk/python/pulumi_aws_native/resourceexplorer2/get_index.py +++ b/sdk/python/pulumi_aws_native/resourceexplorer2/get_index.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -102,9 +107,6 @@ def get_index(arn: Optional[str] = None, index_state=pulumi.get(__ret__, 'index_state'), tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_index) def get_index_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIndexResult]: """ @@ -115,4 +117,12 @@ def get_index_output(arn: Optional[pulumi.Input[str]] = None, `arn:aws:resource-explorer-2:us-east-1:123456789012:index/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222` """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:resourceexplorer2:getIndex', __args__, opts=opts, typ=GetIndexResult) + return __ret__.apply(lambda __response__: GetIndexResult( + arn=pulumi.get(__response__, 'arn'), + index_state=pulumi.get(__response__, 'index_state'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_aws_native/resourceexplorer2/get_view.py b/sdk/python/pulumi_aws_native/resourceexplorer2/get_view.py index 3ac31c920e..e52d4e0ffa 100644 --- a/sdk/python/pulumi_aws_native/resourceexplorer2/get_view.py +++ b/sdk/python/pulumi_aws_native/resourceexplorer2/get_view.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -104,9 +109,6 @@ def get_view(view_arn: Optional[str] = None, included_properties=pulumi.get(__ret__, 'included_properties'), tags=pulumi.get(__ret__, 'tags'), view_arn=pulumi.get(__ret__, 'view_arn')) - - -@_utilities.lift_output_func(get_view) def get_view_output(view_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetViewResult]: """ @@ -117,4 +119,12 @@ def get_view_output(view_arn: Optional[pulumi.Input[str]] = None, `arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222` """ - ... + __args__ = dict() + __args__['viewArn'] = view_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:resourceexplorer2:getView', __args__, opts=opts, typ=GetViewResult) + return __ret__.apply(lambda __response__: GetViewResult( + filters=pulumi.get(__response__, 'filters'), + included_properties=pulumi.get(__response__, 'included_properties'), + tags=pulumi.get(__response__, 'tags'), + view_arn=pulumi.get(__response__, 'view_arn'))) diff --git a/sdk/python/pulumi_aws_native/resourceexplorer2/index.py b/sdk/python/pulumi_aws_native/resourceexplorer2/index.py index cec5f2cfee..1bd1dd7cdc 100644 --- a/sdk/python/pulumi_aws_native/resourceexplorer2/index.py +++ b/sdk/python/pulumi_aws_native/resourceexplorer2/index.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/resourceexplorer2/outputs.py b/sdk/python/pulumi_aws_native/resourceexplorer2/outputs.py index 17310f68db..fc3941cf1d 100644 --- a/sdk/python/pulumi_aws_native/resourceexplorer2/outputs.py +++ b/sdk/python/pulumi_aws_native/resourceexplorer2/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/resourceexplorer2/view.py b/sdk/python/pulumi_aws_native/resourceexplorer2/view.py index dff3c2a2db..49727e40d1 100644 --- a/sdk/python/pulumi_aws_native/resourceexplorer2/view.py +++ b/sdk/python/pulumi_aws_native/resourceexplorer2/view.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/resourcegroups/_inputs.py b/sdk/python/pulumi_aws_native/resourcegroups/_inputs.py index d5388419ed..24bbca3af5 100644 --- a/sdk/python/pulumi_aws_native/resourcegroups/_inputs.py +++ b/sdk/python/pulumi_aws_native/resourcegroups/_inputs.py @@ -4,20 +4,39 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'GroupConfigurationItemArgs', + 'GroupConfigurationItemArgsDict', 'GroupConfigurationParameterArgs', + 'GroupConfigurationParameterArgsDict', 'GroupQueryArgs', + 'GroupQueryArgsDict', 'GroupResourceQueryArgs', + 'GroupResourceQueryArgsDict', 'GroupTagFilterArgs', + 'GroupTagFilterArgsDict', ] +MYPY = False + +if not MYPY: + class GroupConfigurationItemArgsDict(TypedDict): + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['GroupConfigurationParameterArgsDict']]]] + type: NotRequired[pulumi.Input[str]] +elif False: + GroupConfigurationItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GroupConfigurationItemArgs: def __init__(__self__, *, @@ -47,6 +66,13 @@ def type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "type", value) +if not MYPY: + class GroupConfigurationParameterArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + GroupConfigurationParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GroupConfigurationParameterArgs: def __init__(__self__, *, @@ -76,6 +102,27 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class GroupQueryArgsDict(TypedDict): + resource_type_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies limits to the types of resources that can be included in the resource group. For example, if `ResourceTypeFilters` is `["AWS::EC2::Instance", "AWS::DynamoDB::Table"]` , only EC2 instances or DynamoDB tables can be members of this resource group. The default value is `["AWS::AllSupported"]` . + """ + stack_identifier: NotRequired[pulumi.Input[str]] + """ + Specifies the ARN of a CloudFormation stack. All supported resources of the CloudFormation stack are members of the resource group. If you don't specify an ARN, this parameter defaults to the current stack that you are defining, which means that all the resources of the current stack are grouped. + + You can specify a value for `StackIdentifier` only when the `ResourceQuery.Type` property is `CLOUDFORMATION_STACK_1_0.` + """ + tag_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['GroupTagFilterArgsDict']]]] + """ + A list of key-value pair objects that limit which resources can be members of the resource group. This property is required when the `ResourceQuery.Type` property is `TAG_FILTERS_1_0` . + + A resource must have a tag that matches every filter that is provided in the `TagFilters` list. + """ +elif False: + GroupQueryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GroupQueryArgs: def __init__(__self__, *, @@ -139,6 +186,27 @@ def tag_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GroupT pulumi.set(self, "tag_filters", value) +if not MYPY: + class GroupResourceQueryArgsDict(TypedDict): + query: NotRequired[pulumi.Input['GroupQueryArgsDict']] + """ + The query that defines the membership of the group. This is a structure with properties that depend on the `Type` . + + The `Query` structure must be included in the following scenarios: + + - When the `Type` is `TAG_FILTERS_1_0` , you must specify a `Query` structure that contains a `TagFilters` list of tags. Resources with tags that match those in the `TagFilter` list become members of the resource group. + - When the `Type` is `CLOUDFORMATION_STACK_1_0` then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, the `Query` structure must contain the `StackIdentifier` property. If you don't specify either a `Query` structure or a `StackIdentifier` within that `Query` , then it defaults to the CloudFormation stack that you're currently constructing. + """ + type: NotRequired[pulumi.Input['GroupResourceQueryType']] + """ + Specifies the type of resource query that determines this group's membership. There are two valid query types: + + - `TAG_FILTERS_1_0` indicates that the group is a tag-based group. To complete the group membership, you must include the `TagFilters` property to specify the tag filters to use in the query. + - `CLOUDFORMATION_STACK_1_0` , the default, indicates that the group is a CloudFormation stack-based group. Group membership is based on the CloudFormation stack. You must specify the `StackIdentifier` property in the query to define which stack to associate the group with, or leave it empty to default to the stack where the group is defined. + """ +elif False: + GroupResourceQueryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GroupResourceQueryArgs: def __init__(__self__, *, @@ -194,6 +262,21 @@ def type(self, value: Optional[pulumi.Input['GroupResourceQueryType']]): pulumi.set(self, "type", value) +if not MYPY: + class GroupTagFilterArgsDict(TypedDict): + key: NotRequired[pulumi.Input[str]] + """ + A string that defines a tag key. Only resources in the account that are tagged with a specified tag key are members of the tag-based resource group. + + This field is required when the `ResourceQuery` structure's `Type` property is `TAG_FILTERS_1_0` . You must specify at least one tag key. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of tag values that can be included in the tag-based resource group. This is optional. If you don't specify a value or values for a key, then an AWS resource with any value for that key is a member. + """ +elif False: + GroupTagFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GroupTagFilterArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/resourcegroups/get_group.py b/sdk/python/pulumi_aws_native/resourcegroups/get_group.py index 5fc6cb7581..ac79f30db6 100644 --- a/sdk/python/pulumi_aws_native/resourcegroups/get_group.py +++ b/sdk/python/pulumi_aws_native/resourcegroups/get_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -132,9 +137,6 @@ def get_group(name: Optional[str] = None, resource_query=pulumi.get(__ret__, 'resource_query'), resources=pulumi.get(__ret__, 'resources'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_group) def get_group_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupResult]: """ @@ -143,4 +145,14 @@ def get_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the resource group """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:resourcegroups:getGroup', __args__, opts=opts, typ=GetGroupResult) + return __ret__.apply(lambda __response__: GetGroupResult( + arn=pulumi.get(__response__, 'arn'), + configuration=pulumi.get(__response__, 'configuration'), + description=pulumi.get(__response__, 'description'), + resource_query=pulumi.get(__response__, 'resource_query'), + resources=pulumi.get(__response__, 'resources'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/resourcegroups/group.py b/sdk/python/pulumi_aws_native/resourcegroups/group.py index 599a28fcf9..ffdd3b4433 100644 --- a/sdk/python/pulumi_aws_native/resourcegroups/group.py +++ b/sdk/python/pulumi_aws_native/resourcegroups/group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/resourcegroups/outputs.py b/sdk/python/pulumi_aws_native/resourcegroups/outputs.py index ae515923ea..b465eaf269 100644 --- a/sdk/python/pulumi_aws_native/resourcegroups/outputs.py +++ b/sdk/python/pulumi_aws_native/resourcegroups/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/robomaker/_inputs.py b/sdk/python/pulumi_aws_native/robomaker/_inputs.py index 38c66b6e79..67fbe8e487 100644 --- a/sdk/python/pulumi_aws_native/robomaker/_inputs.py +++ b/sdk/python/pulumi_aws_native/robomaker/_inputs.py @@ -4,21 +4,50 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'RobotApplicationRobotSoftwareSuiteArgs', + 'RobotApplicationRobotSoftwareSuiteArgsDict', 'RobotApplicationSourceConfigArgs', + 'RobotApplicationSourceConfigArgsDict', 'SimulationApplicationRenderingEngineArgs', + 'SimulationApplicationRenderingEngineArgsDict', 'SimulationApplicationRobotSoftwareSuiteArgs', + 'SimulationApplicationRobotSoftwareSuiteArgsDict', 'SimulationApplicationSimulationSoftwareSuiteArgs', + 'SimulationApplicationSimulationSoftwareSuiteArgsDict', 'SimulationApplicationSourceConfigArgs', + 'SimulationApplicationSourceConfigArgsDict', ] +MYPY = False + +if not MYPY: + class RobotApplicationRobotSoftwareSuiteArgsDict(TypedDict): + """ + The robot software suite used by the robot application. + """ + name: pulumi.Input['RobotApplicationRobotSoftwareSuiteName'] + """ + The name of robot software suite. + """ + version: NotRequired[pulumi.Input['RobotApplicationRobotSoftwareSuiteVersion']] + """ + The version of robot software suite. + """ +elif False: + RobotApplicationRobotSoftwareSuiteArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RobotApplicationRobotSoftwareSuiteArgs: def __init__(__self__, *, @@ -58,6 +87,23 @@ def version(self, value: Optional[pulumi.Input['RobotApplicationRobotSoftwareSui pulumi.set(self, "version", value) +if not MYPY: + class RobotApplicationSourceConfigArgsDict(TypedDict): + architecture: pulumi.Input['RobotApplicationSourceConfigArchitecture'] + """ + The architecture of robot application. + """ + s3_bucket: pulumi.Input[str] + """ + The Arn of the S3Bucket that stores the robot application source. + """ + s3_key: pulumi.Input[str] + """ + The s3 key of robot application source. + """ +elif False: + RobotApplicationSourceConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RobotApplicationSourceConfigArgs: def __init__(__self__, *, @@ -110,6 +156,22 @@ def s3_key(self, value: pulumi.Input[str]): pulumi.set(self, "s3_key", value) +if not MYPY: + class SimulationApplicationRenderingEngineArgsDict(TypedDict): + """ + Information about a rendering engine. + """ + name: pulumi.Input['SimulationApplicationRenderingEngineName'] + """ + The name of the rendering engine. + """ + version: pulumi.Input[str] + """ + The version of the rendering engine. + """ +elif False: + SimulationApplicationRenderingEngineArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SimulationApplicationRenderingEngineArgs: def __init__(__self__, *, @@ -148,6 +210,22 @@ def version(self, value: pulumi.Input[str]): pulumi.set(self, "version", value) +if not MYPY: + class SimulationApplicationRobotSoftwareSuiteArgsDict(TypedDict): + """ + Information about a robot software suite. + """ + name: pulumi.Input['SimulationApplicationRobotSoftwareSuiteName'] + """ + The name of the robot software suite. + """ + version: NotRequired[pulumi.Input['SimulationApplicationRobotSoftwareSuiteVersion']] + """ + The version of the robot software suite. + """ +elif False: + SimulationApplicationRobotSoftwareSuiteArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SimulationApplicationRobotSoftwareSuiteArgs: def __init__(__self__, *, @@ -187,6 +265,22 @@ def version(self, value: Optional[pulumi.Input['SimulationApplicationRobotSoftwa pulumi.set(self, "version", value) +if not MYPY: + class SimulationApplicationSimulationSoftwareSuiteArgsDict(TypedDict): + """ + Information about a simulation software suite. + """ + name: pulumi.Input['SimulationApplicationSimulationSoftwareSuiteName'] + """ + The name of the simulation software suite. + """ + version: NotRequired[pulumi.Input['SimulationApplicationSimulationSoftwareSuiteVersion']] + """ + The version of the simulation software suite. + """ +elif False: + SimulationApplicationSimulationSoftwareSuiteArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SimulationApplicationSimulationSoftwareSuiteArgs: def __init__(__self__, *, @@ -226,6 +320,26 @@ def version(self, value: Optional[pulumi.Input['SimulationApplicationSimulationS pulumi.set(self, "version", value) +if not MYPY: + class SimulationApplicationSourceConfigArgsDict(TypedDict): + """ + Information about a source configuration. + """ + architecture: pulumi.Input['SimulationApplicationSourceConfigArchitecture'] + """ + The target processor architecture for the application. + """ + s3_bucket: pulumi.Input[str] + """ + The Amazon S3 bucket name. + """ + s3_key: pulumi.Input[str] + """ + The s3 object key. + """ +elif False: + SimulationApplicationSourceConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SimulationApplicationSourceConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/robomaker/fleet.py b/sdk/python/pulumi_aws_native/robomaker/fleet.py index 2c9a82c439..0aaeb15916 100644 --- a/sdk/python/pulumi_aws_native/robomaker/fleet.py +++ b/sdk/python/pulumi_aws_native/robomaker/fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['FleetArgs', 'Fleet'] diff --git a/sdk/python/pulumi_aws_native/robomaker/get_fleet.py b/sdk/python/pulumi_aws_native/robomaker/get_fleet.py index 2a0bc547c9..815a66beb1 100644 --- a/sdk/python/pulumi_aws_native/robomaker/get_fleet.py +++ b/sdk/python/pulumi_aws_native/robomaker/get_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_fleet(arn: Optional[str] = None, return AwaitableGetFleetResult( arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_fleet) def get_fleet_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFleetResult]: """ @@ -80,4 +82,10 @@ def get_fleet_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the fleet, such as `arn:aws:robomaker:us-west-2:123456789012:deployment-fleet/MyFleet/1539894765711` . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:robomaker:getFleet', __args__, opts=opts, typ=GetFleetResult) + return __ret__.apply(lambda __response__: GetFleetResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/robomaker/get_robot.py b/sdk/python/pulumi_aws_native/robomaker/get_robot.py index 3dddbd94f2..149a56a43c 100644 --- a/sdk/python/pulumi_aws_native/robomaker/get_robot.py +++ b/sdk/python/pulumi_aws_native/robomaker/get_robot.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_robot(arn: Optional[str] = None, return AwaitableGetRobotResult( arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_robot) def get_robot_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRobotResult]: """ @@ -80,4 +82,10 @@ def get_robot_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the robot. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:robomaker:getRobot', __args__, opts=opts, typ=GetRobotResult) + return __ret__.apply(lambda __response__: GetRobotResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/robomaker/get_robot_application.py b/sdk/python/pulumi_aws_native/robomaker/get_robot_application.py index 8a7ede5758..ad813d6704 100644 --- a/sdk/python/pulumi_aws_native/robomaker/get_robot_application.py +++ b/sdk/python/pulumi_aws_native/robomaker/get_robot_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -110,9 +115,6 @@ def get_robot_application(arn: Optional[str] = None, environment=pulumi.get(__ret__, 'environment'), robot_software_suite=pulumi.get(__ret__, 'robot_software_suite'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_robot_application) def get_robot_application_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRobotApplicationResult]: """ @@ -121,4 +123,13 @@ def get_robot_application_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the robot application. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:robomaker:getRobotApplication', __args__, opts=opts, typ=GetRobotApplicationResult) + return __ret__.apply(lambda __response__: GetRobotApplicationResult( + arn=pulumi.get(__response__, 'arn'), + current_revision_id=pulumi.get(__response__, 'current_revision_id'), + environment=pulumi.get(__response__, 'environment'), + robot_software_suite=pulumi.get(__response__, 'robot_software_suite'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/robomaker/get_robot_application_version.py b/sdk/python/pulumi_aws_native/robomaker/get_robot_application_version.py index 6525c676ab..ec81d425c3 100644 --- a/sdk/python/pulumi_aws_native/robomaker/get_robot_application_version.py +++ b/sdk/python/pulumi_aws_native/robomaker/get_robot_application_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_robot_application_version(arn: Optional[str] = None, return AwaitableGetRobotApplicationVersionResult( application_version=pulumi.get(__ret__, 'application_version'), arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_robot_application_version) def get_robot_application_version_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRobotApplicationVersionResult]: """ @@ -80,4 +82,10 @@ def get_robot_application_version_output(arn: Optional[pulumi.Input[str]] = None :param str arn: The Amazon Resource Name (ARN) of the robot application version. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:robomaker:getRobotApplicationVersion', __args__, opts=opts, typ=GetRobotApplicationVersionResult) + return __ret__.apply(lambda __response__: GetRobotApplicationVersionResult( + application_version=pulumi.get(__response__, 'application_version'), + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/robomaker/get_simulation_application.py b/sdk/python/pulumi_aws_native/robomaker/get_simulation_application.py index bba252d684..f2f5c87c4e 100644 --- a/sdk/python/pulumi_aws_native/robomaker/get_simulation_application.py +++ b/sdk/python/pulumi_aws_native/robomaker/get_simulation_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -123,9 +128,6 @@ def get_simulation_application(arn: Optional[str] = None, robot_software_suite=pulumi.get(__ret__, 'robot_software_suite'), simulation_software_suite=pulumi.get(__ret__, 'simulation_software_suite'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_simulation_application) def get_simulation_application_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSimulationApplicationResult]: """ @@ -134,4 +136,14 @@ def get_simulation_application_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the simulation application. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:robomaker:getSimulationApplication', __args__, opts=opts, typ=GetSimulationApplicationResult) + return __ret__.apply(lambda __response__: GetSimulationApplicationResult( + arn=pulumi.get(__response__, 'arn'), + current_revision_id=pulumi.get(__response__, 'current_revision_id'), + environment=pulumi.get(__response__, 'environment'), + robot_software_suite=pulumi.get(__response__, 'robot_software_suite'), + simulation_software_suite=pulumi.get(__response__, 'simulation_software_suite'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/robomaker/get_simulation_application_version.py b/sdk/python/pulumi_aws_native/robomaker/get_simulation_application_version.py index 86f8e976b3..6fb4bfa849 100644 --- a/sdk/python/pulumi_aws_native/robomaker/get_simulation_application_version.py +++ b/sdk/python/pulumi_aws_native/robomaker/get_simulation_application_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_simulation_application_version(arn: Optional[str] = None, return AwaitableGetSimulationApplicationVersionResult( application_version=pulumi.get(__ret__, 'application_version'), arn=pulumi.get(__ret__, 'arn')) - - -@_utilities.lift_output_func(get_simulation_application_version) def get_simulation_application_version_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSimulationApplicationVersionResult]: """ @@ -80,4 +82,10 @@ def get_simulation_application_version_output(arn: Optional[pulumi.Input[str]] = :param str arn: The Amazon Resource Name (ARN) of the simulation application version. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:robomaker:getSimulationApplicationVersion', __args__, opts=opts, typ=GetSimulationApplicationVersionResult) + return __ret__.apply(lambda __response__: GetSimulationApplicationVersionResult( + application_version=pulumi.get(__response__, 'application_version'), + arn=pulumi.get(__response__, 'arn'))) diff --git a/sdk/python/pulumi_aws_native/robomaker/outputs.py b/sdk/python/pulumi_aws_native/robomaker/outputs.py index 4467709c72..30280d4635 100644 --- a/sdk/python/pulumi_aws_native/robomaker/outputs.py +++ b/sdk/python/pulumi_aws_native/robomaker/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/robomaker/robot.py b/sdk/python/pulumi_aws_native/robomaker/robot.py index 26b576672f..56198bad8e 100644 --- a/sdk/python/pulumi_aws_native/robomaker/robot.py +++ b/sdk/python/pulumi_aws_native/robomaker/robot.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/robomaker/robot_application.py b/sdk/python/pulumi_aws_native/robomaker/robot_application.py index 4d0542582a..b483110a4a 100644 --- a/sdk/python/pulumi_aws_native/robomaker/robot_application.py +++ b/sdk/python/pulumi_aws_native/robomaker/robot_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/robomaker/robot_application_version.py b/sdk/python/pulumi_aws_native/robomaker/robot_application_version.py index 2cb6f93656..54df94d213 100644 --- a/sdk/python/pulumi_aws_native/robomaker/robot_application_version.py +++ b/sdk/python/pulumi_aws_native/robomaker/robot_application_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['RobotApplicationVersionArgs', 'RobotApplicationVersion'] diff --git a/sdk/python/pulumi_aws_native/robomaker/simulation_application.py b/sdk/python/pulumi_aws_native/robomaker/simulation_application.py index 1501e70bee..17dd8a3ec2 100644 --- a/sdk/python/pulumi_aws_native/robomaker/simulation_application.py +++ b/sdk/python/pulumi_aws_native/robomaker/simulation_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/robomaker/simulation_application_version.py b/sdk/python/pulumi_aws_native/robomaker/simulation_application_version.py index 46616528ef..c01fe595db 100644 --- a/sdk/python/pulumi_aws_native/robomaker/simulation_application_version.py +++ b/sdk/python/pulumi_aws_native/robomaker/simulation_application_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SimulationApplicationVersionArgs', 'SimulationApplicationVersion'] diff --git a/sdk/python/pulumi_aws_native/rolesanywhere/_inputs.py b/sdk/python/pulumi_aws_native/rolesanywhere/_inputs.py index 83c2bb72c5..4b66fc8c81 100644 --- a/sdk/python/pulumi_aws_native/rolesanywhere/_inputs.py +++ b/sdk/python/pulumi_aws_native/rolesanywhere/_inputs.py @@ -4,21 +4,47 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ProfileAttributeMappingArgs', + 'ProfileAttributeMappingArgsDict', 'ProfileMappingRuleArgs', + 'ProfileMappingRuleArgsDict', 'TrustAnchorNotificationSettingArgs', + 'TrustAnchorNotificationSettingArgsDict', 'TrustAnchorSourceData0PropertiesArgs', + 'TrustAnchorSourceData0PropertiesArgsDict', 'TrustAnchorSourceData1PropertiesArgs', + 'TrustAnchorSourceData1PropertiesArgsDict', 'TrustAnchorSourceArgs', + 'TrustAnchorSourceArgsDict', ] +MYPY = False + +if not MYPY: + class ProfileAttributeMappingArgsDict(TypedDict): + certificate_field: pulumi.Input['ProfileCertificateField'] + """ + Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates. + """ + mapping_rules: pulumi.Input[Sequence[pulumi.Input['ProfileMappingRuleArgsDict']]] + """ + A list of mapping entries for every supported specifier or sub-field. + """ +elif False: + ProfileAttributeMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProfileAttributeMappingArgs: def __init__(__self__, *, @@ -56,6 +82,15 @@ def mapping_rules(self, value: pulumi.Input[Sequence[pulumi.Input['ProfileMappin pulumi.set(self, "mapping_rules", value) +if not MYPY: + class ProfileMappingRuleArgsDict(TypedDict): + specifier: pulumi.Input[str] + """ + Specifier within a certificate field, such as CN, OU, or UID from the Subject field. + """ +elif False: + ProfileMappingRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProfileMappingRuleArgs: def __init__(__self__, *, @@ -78,6 +113,29 @@ def specifier(self, value: pulumi.Input[str]): pulumi.set(self, "specifier", value) +if not MYPY: + class TrustAnchorNotificationSettingArgsDict(TypedDict): + enabled: pulumi.Input[bool] + """ + Indicates whether the notification setting is enabled. + """ + event: pulumi.Input['TrustAnchorNotificationEvent'] + """ + The event to which this notification setting is applied. + """ + channel: NotRequired[pulumi.Input['TrustAnchorNotificationChannel']] + """ + The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and AWS Health Dashboard to notify for an event. + + > In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels. + """ + threshold: NotRequired[pulumi.Input[float]] + """ + The number of days before a notification event. This value is required for a notification setting that is enabled. + """ +elif False: + TrustAnchorNotificationSettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrustAnchorNotificationSettingArgs: def __init__(__self__, *, @@ -151,6 +209,12 @@ def threshold(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "threshold", value) +if not MYPY: + class TrustAnchorSourceData0PropertiesArgsDict(TypedDict): + x509_certificate_data: pulumi.Input[str] +elif False: + TrustAnchorSourceData0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrustAnchorSourceData0PropertiesArgs: def __init__(__self__, *, @@ -167,6 +231,12 @@ def x509_certificate_data(self, value: pulumi.Input[str]): pulumi.set(self, "x509_certificate_data", value) +if not MYPY: + class TrustAnchorSourceData1PropertiesArgsDict(TypedDict): + acm_pca_arn: pulumi.Input[str] +elif False: + TrustAnchorSourceData1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrustAnchorSourceData1PropertiesArgs: def __init__(__self__, *, @@ -183,6 +253,19 @@ def acm_pca_arn(self, value: pulumi.Input[str]): pulumi.set(self, "acm_pca_arn", value) +if not MYPY: + class TrustAnchorSourceArgsDict(TypedDict): + source_data: NotRequired[pulumi.Input[Union['TrustAnchorSourceData0PropertiesArgsDict', 'TrustAnchorSourceData1PropertiesArgsDict']]] + """ + A union object representing the data field of the TrustAnchor depending on its type + """ + source_type: NotRequired[pulumi.Input['TrustAnchorType']] + """ + The type of the TrustAnchor. + """ +elif False: + TrustAnchorSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TrustAnchorSourceArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/rolesanywhere/crl.py b/sdk/python/pulumi_aws_native/rolesanywhere/crl.py index b98876fb81..690dc7a872 100644 --- a/sdk/python/pulumi_aws_native/rolesanywhere/crl.py +++ b/sdk/python/pulumi_aws_native/rolesanywhere/crl.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/rolesanywhere/get_crl.py b/sdk/python/pulumi_aws_native/rolesanywhere/get_crl.py index 9b20ac369e..cda67ffba8 100644 --- a/sdk/python/pulumi_aws_native/rolesanywhere/get_crl.py +++ b/sdk/python/pulumi_aws_native/rolesanywhere/get_crl.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_crl(crl_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags'), trust_anchor_arn=pulumi.get(__ret__, 'trust_anchor_arn')) - - -@_utilities.lift_output_func(get_crl) def get_crl_output(crl_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCrlResult]: """ @@ -133,4 +135,14 @@ def get_crl_output(crl_id: Optional[pulumi.Input[str]] = None, :param str crl_id: The unique primary identifier of the Crl """ - ... + __args__ = dict() + __args__['crlId'] = crl_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rolesanywhere:getCrl', __args__, opts=opts, typ=GetCrlResult) + return __ret__.apply(lambda __response__: GetCrlResult( + crl_data=pulumi.get(__response__, 'crl_data'), + crl_id=pulumi.get(__response__, 'crl_id'), + enabled=pulumi.get(__response__, 'enabled'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'), + trust_anchor_arn=pulumi.get(__response__, 'trust_anchor_arn'))) diff --git a/sdk/python/pulumi_aws_native/rolesanywhere/get_profile.py b/sdk/python/pulumi_aws_native/rolesanywhere/get_profile.py index 0e911e3e05..9af0a0ed13 100644 --- a/sdk/python/pulumi_aws_native/rolesanywhere/get_profile.py +++ b/sdk/python/pulumi_aws_native/rolesanywhere/get_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -202,9 +207,6 @@ def get_profile(profile_id: Optional[str] = None, role_arns=pulumi.get(__ret__, 'role_arns'), session_policy=pulumi.get(__ret__, 'session_policy'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_profile) def get_profile_output(profile_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfileResult]: """ @@ -213,4 +215,20 @@ def get_profile_output(profile_id: Optional[pulumi.Input[str]] = None, :param str profile_id: The unique primary identifier of the Profile """ - ... + __args__ = dict() + __args__['profileId'] = profile_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rolesanywhere:getProfile', __args__, opts=opts, typ=GetProfileResult) + return __ret__.apply(lambda __response__: GetProfileResult( + accept_role_session_name=pulumi.get(__response__, 'accept_role_session_name'), + attribute_mappings=pulumi.get(__response__, 'attribute_mappings'), + duration_seconds=pulumi.get(__response__, 'duration_seconds'), + enabled=pulumi.get(__response__, 'enabled'), + managed_policy_arns=pulumi.get(__response__, 'managed_policy_arns'), + name=pulumi.get(__response__, 'name'), + profile_arn=pulumi.get(__response__, 'profile_arn'), + profile_id=pulumi.get(__response__, 'profile_id'), + require_instance_properties=pulumi.get(__response__, 'require_instance_properties'), + role_arns=pulumi.get(__response__, 'role_arns'), + session_policy=pulumi.get(__response__, 'session_policy'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rolesanywhere/get_trust_anchor.py b/sdk/python/pulumi_aws_native/rolesanywhere/get_trust_anchor.py index 1e1b3251cb..31b700024a 100644 --- a/sdk/python/pulumi_aws_native/rolesanywhere/get_trust_anchor.py +++ b/sdk/python/pulumi_aws_native/rolesanywhere/get_trust_anchor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_trust_anchor(trust_anchor_id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), trust_anchor_arn=pulumi.get(__ret__, 'trust_anchor_arn'), trust_anchor_id=pulumi.get(__ret__, 'trust_anchor_id')) - - -@_utilities.lift_output_func(get_trust_anchor) def get_trust_anchor_output(trust_anchor_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTrustAnchorResult]: """ @@ -148,4 +150,15 @@ def get_trust_anchor_output(trust_anchor_id: Optional[pulumi.Input[str]] = None, :param str trust_anchor_id: The unique identifier of the trust anchor. """ - ... + __args__ = dict() + __args__['trustAnchorId'] = trust_anchor_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rolesanywhere:getTrustAnchor', __args__, opts=opts, typ=GetTrustAnchorResult) + return __ret__.apply(lambda __response__: GetTrustAnchorResult( + enabled=pulumi.get(__response__, 'enabled'), + name=pulumi.get(__response__, 'name'), + notification_settings=pulumi.get(__response__, 'notification_settings'), + source=pulumi.get(__response__, 'source'), + tags=pulumi.get(__response__, 'tags'), + trust_anchor_arn=pulumi.get(__response__, 'trust_anchor_arn'), + trust_anchor_id=pulumi.get(__response__, 'trust_anchor_id'))) diff --git a/sdk/python/pulumi_aws_native/rolesanywhere/outputs.py b/sdk/python/pulumi_aws_native/rolesanywhere/outputs.py index b42a736a76..01479cca71 100644 --- a/sdk/python/pulumi_aws_native/rolesanywhere/outputs.py +++ b/sdk/python/pulumi_aws_native/rolesanywhere/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/rolesanywhere/profile.py b/sdk/python/pulumi_aws_native/rolesanywhere/profile.py index d1c563e346..ceab6a3c82 100644 --- a/sdk/python/pulumi_aws_native/rolesanywhere/profile.py +++ b/sdk/python/pulumi_aws_native/rolesanywhere/profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/rolesanywhere/trust_anchor.py b/sdk/python/pulumi_aws_native/rolesanywhere/trust_anchor.py index d3d4bb488a..316869724e 100644 --- a/sdk/python/pulumi_aws_native/rolesanywhere/trust_anchor.py +++ b/sdk/python/pulumi_aws_native/rolesanywhere/trust_anchor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/route53/_inputs.py b/sdk/python/pulumi_aws_native/route53/_inputs.py index 34cd2fc2b9..86751255ab 100644 --- a/sdk/python/pulumi_aws_native/route53/_inputs.py +++ b/sdk/python/pulumi_aws_native/route53/_inputs.py @@ -4,22 +4,49 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CidrCollectionLocationArgs', + 'CidrCollectionLocationArgsDict', 'HealthCheckAlarmIdentifierArgs', + 'HealthCheckAlarmIdentifierArgsDict', 'HealthCheckConfigPropertiesArgs', + 'HealthCheckConfigPropertiesArgsDict', 'HealthCheckTagArgs', + 'HealthCheckTagArgsDict', 'HostedZoneConfigArgs', + 'HostedZoneConfigArgsDict', 'HostedZoneQueryLoggingConfigArgs', + 'HostedZoneQueryLoggingConfigArgsDict', 'HostedZoneVpcArgs', + 'HostedZoneVpcArgsDict', ] +MYPY = False + +if not MYPY: + class CidrCollectionLocationArgsDict(TypedDict): + cidr_list: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A list of CIDR blocks. + """ + location_name: pulumi.Input[str] + """ + The name of the location that is associated with the CIDR collection. + """ +elif False: + CidrCollectionLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CidrCollectionLocationArgs: def __init__(__self__, *, @@ -57,6 +84,22 @@ def location_name(self, value: pulumi.Input[str]): pulumi.set(self, "location_name", value) +if not MYPY: + class HealthCheckAlarmIdentifierArgsDict(TypedDict): + """ + A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether the specified health check is healthy. + """ + name: pulumi.Input[str] + """ + The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy. + """ + region: pulumi.Input[str] + """ + For the CloudWatch alarm that you want Route 53 health checkers to use to determine whether this health check is healthy, the region that the alarm was created in. + """ +elif False: + HealthCheckAlarmIdentifierArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class HealthCheckAlarmIdentifierArgs: def __init__(__self__, *, @@ -95,6 +138,176 @@ def region(self, value: pulumi.Input[str]): pulumi.set(self, "region", value) +if not MYPY: + class HealthCheckConfigPropertiesArgsDict(TypedDict): + """ + A complex type that contains information about the health check. + """ + type: pulumi.Input['HealthCheckConfigPropertiesType'] + """ + The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy. + + > You can't change the value of `Type` after you create a health check. + + You can create the following types of health checks: + + - *HTTP* : Route 53 tries to establish a TCP connection. If successful, Route 53 submits an HTTP request and waits for an HTTP status code of 200 or greater and less than 400. + - *HTTPS* : Route 53 tries to establish a TCP connection. If successful, Route 53 submits an HTTPS request and waits for an HTTP status code of 200 or greater and less than 400. + + > If you specify `HTTPS` for the value of `Type` , the endpoint must support TLS v1.0 or later. + - *HTTP_STR_MATCH* : Route 53 tries to establish a TCP connection. If successful, Route 53 submits an HTTP request and searches the first 5,120 bytes of the response body for the string that you specify in `SearchString` . + - *HTTPS_STR_MATCH* : Route 53 tries to establish a TCP connection. If successful, Route 53 submits an `HTTPS` request and searches the first 5,120 bytes of the response body for the string that you specify in `SearchString` . + - *TCP* : Route 53 tries to establish a TCP connection. + - *CLOUDWATCH_METRIC* : The health check is associated with a CloudWatch alarm. If the state of the alarm is `OK` , the health check is considered healthy. If the state is `ALARM` , the health check is considered unhealthy. If CloudWatch doesn't have sufficient data to determine whether the state is `OK` or `ALARM` , the health check status depends on the setting for `InsufficientDataHealthStatus` : `Healthy` , `Unhealthy` , or `LastKnownStatus` . + + > Route 53 supports CloudWatch alarms with the following features: + > + > - Standard-resolution metrics. High-resolution metrics aren't supported. For more information, see [High-Resolution Metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html#high-resolution-metrics) in the *Amazon CloudWatch User Guide* . + > - Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended statistics aren't supported. + - *CALCULATED* : For health checks that monitor the status of other health checks, Route 53 adds up the number of health checks that Route 53 health checkers consider to be healthy and compares that number with the value of `HealthThreshold` . + - *RECOVERY_CONTROL* : The health check is assocated with a Route53 Application Recovery Controller routing control. If the routing control state is `ON` , the health check is considered healthy. If the state is `OFF` , the health check is considered unhealthy. + + For more information, see [How Route 53 Determines Whether an Endpoint Is Healthy](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html) in the *Amazon Route 53 Developer Guide* . + """ + alarm_identifier: NotRequired[pulumi.Input['HealthCheckAlarmIdentifierArgsDict']] + """ + A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether the specified health check is healthy. + """ + child_health_checks: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + (CALCULATED Health Checks Only) A complex type that contains one `ChildHealthCheck` element for each health check that you want to associate with a `CALCULATED` health check. + """ + enable_sni: NotRequired[pulumi.Input[bool]] + """ + Specify whether you want Amazon Route 53 to send the value of `FullyQualifiedDomainName` to the endpoint in the `client_hello` message during TLS negotiation. This allows the endpoint to respond to `HTTPS` health check requests with the applicable SSL/TLS certificate. + + Some endpoints require that `HTTPS` requests include the host name in the `client_hello` message. If you don't enable SNI, the status of the health check will be `SSL alert handshake_failure` . A health check can also have that status for other reasons. If SNI is enabled and you're still getting the error, check the SSL/TLS configuration on your endpoint and confirm that your certificate is valid. + + The SSL/TLS certificate on your endpoint includes a domain name in the `Common Name` field and possibly several more in the `Subject Alternative Names` field. One of the domain names in the certificate should match the value that you specify for `FullyQualifiedDomainName` . If the endpoint responds to the `client_hello` message with a certificate that does not include the domain name that you specified in `FullyQualifiedDomainName` , a health checker will retry the handshake. In the second attempt, the health checker will omit `FullyQualifiedDomainName` from the `client_hello` message. + """ + failure_threshold: NotRequired[pulumi.Input[int]] + """ + The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. For more information, see [How Amazon Route 53 Determines Whether an Endpoint Is Healthy](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html) in the *Amazon Route 53 Developer Guide* . + + If you don't specify a value for `FailureThreshold` , the default value is three health checks. + """ + fully_qualified_domain_name: NotRequired[pulumi.Input[str]] + """ + Amazon Route 53 behavior depends on whether you specify a value for `IPAddress` . + + *If you specify a value for* `IPAddress` : + + Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of `FullyQualifiedDomainName` in the `Host` header for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint on which you want Route 53 to perform health checks. + + When Route 53 checks the health of an endpoint, here is how it constructs the `Host` header: + + - If you specify a value of `80` for `Port` and `HTTP` or `HTTP_STR_MATCH` for `Type` , Route 53 passes the value of `FullyQualifiedDomainName` to the endpoint in the Host header. + - If you specify a value of `443` for `Port` and `HTTPS` or `HTTPS_STR_MATCH` for `Type` , Route 53 passes the value of `FullyQualifiedDomainName` to the endpoint in the `Host` header. + - If you specify another value for `Port` and any value except `TCP` for `Type` , Route 53 passes `FullyQualifiedDomainName:Port` to the endpoint in the `Host` header. + + If you don't specify a value for `FullyQualifiedDomainName` , Route 53 substitutes the value of `IPAddress` in the `Host` header in each of the preceding cases. + + *If you don't specify a value for `IPAddress`* : + + Route 53 sends a DNS request to the domain that you specify for `FullyQualifiedDomainName` at the interval that you specify for `RequestInterval` . Using an IPv4 address that DNS returns, Route 53 then checks the health of the endpoint. + + > If you don't specify a value for `IPAddress` , Route 53 uses only IPv4 to send health checks to the endpoint. If there's no record with a type of A for the name that you specify for `FullyQualifiedDomainName` , the health check fails with a "DNS resolution failed" error. + + If you want to check the health of multiple records that have the same name and type, such as multiple weighted records, and if you choose to specify the endpoint only by `FullyQualifiedDomainName` , we recommend that you create a separate health check for each endpoint. For example, create a health check for each HTTP server that is serving content for www.example.com. For the value of `FullyQualifiedDomainName` , specify the domain name of the server (such as us-east-2-www.example.com), not the name of the records (www.example.com). + + > In this configuration, if you create a health check for which the value of `FullyQualifiedDomainName` matches the name of the records and you then associate the health check with those records, health check results will be unpredictable. + + In addition, if the value that you specify for `Type` is `HTTP` , `HTTPS` , `HTTP_STR_MATCH` , or `HTTPS_STR_MATCH` , Route 53 passes the value of `FullyQualifiedDomainName` in the `Host` header, as it does when you specify a value for `IPAddress` . If the value of `Type` is `TCP` , Route 53 doesn't pass a `Host` header. + """ + health_threshold: NotRequired[pulumi.Input[int]] + """ + The number of child health checks that are associated with a `CALCULATED` health check that Amazon Route 53 must consider healthy for the `CALCULATED` health check to be considered healthy. To specify the child health checks that you want to associate with a `CALCULATED` health check, use the [ChildHealthChecks](https://docs.aws.amazon.com/Route53/latest/APIReference/API_UpdateHealthCheck.html#Route53-UpdateHealthCheck-request-ChildHealthChecks) element. + + Note the following: + + - If you specify a number greater than the number of child health checks, Route 53 always considers this health check to be unhealthy. + - If you specify `0` , Route 53 always considers this health check to be healthy. + """ + insufficient_data_health_status: NotRequired[pulumi.Input['HealthCheckConfigPropertiesInsufficientDataHealthStatus']] + """ + When CloudWatch has insufficient data about the metric to determine the alarm state, the status that you want Amazon Route 53 to assign to the health check: + + - `Healthy` : Route 53 considers the health check to be healthy. + - `Unhealthy` : Route 53 considers the health check to be unhealthy. + - `LastKnownStatus` : Route 53 uses the status of the health check from the last time that CloudWatch had sufficient data to determine the alarm state. For new health checks that have no last known status, the default status for the health check is healthy. + """ + inverted: NotRequired[pulumi.Input[bool]] + """ + Specify whether you want Amazon Route 53 to invert the status of a health check, for example, to consider a health check unhealthy when it otherwise would be considered healthy. + """ + ip_address: NotRequired[pulumi.Input[str]] + """ + The IPv4 or IPv6 IP address of the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for `IPAddress` , Route 53 sends a DNS request to resolve the domain name that you specify in `FullyQualifiedDomainName` at the interval that you specify in `RequestInterval` . Using an IP address returned by DNS, Route 53 then checks the health of the endpoint. + + Use one of the following formats for the value of `IPAddress` : + + - *IPv4 address* : four values between 0 and 255, separated by periods (.), for example, `192.0.2.44` . + - *IPv6 address* : eight groups of four hexadecimal values, separated by colons (:), for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345` . You can also shorten IPv6 addresses as described in RFC 5952, for example, `2001:db8:85a3::abcd:1:2345` . + + If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for `IPAddress` . This ensures that the IP address of your instance will never change. + + For more information, see [FullyQualifiedDomainName](https://docs.aws.amazon.com/Route53/latest/APIReference/API_UpdateHealthCheck.html#Route53-UpdateHealthCheck-request-FullyQualifiedDomainName) . + + Constraints: Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you can't create health checks, see the following documents: + + - [RFC 5735, Special Use IPv4 Addresses](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc5735) + - [RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6598) + - [RFC 5156, Special-Use IPv6 Addresses](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc5156) + + When the value of `Type` is `CALCULATED` or `CLOUDWATCH_METRIC` , omit `IPAddress` . + """ + measure_latency: NotRequired[pulumi.Input[bool]] + """ + Specify whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint, and to display CloudWatch latency graphs on the *Health Checks* page in the Route 53 console. + + > You can't change the value of `MeasureLatency` after you create a health check. + """ + port: NotRequired[pulumi.Input[int]] + """ + The port on the endpoint that you want Amazon Route 53 to perform health checks on. + + > Don't specify a value for `Port` when you specify a value for [Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-healthcheckconfig.html#cfn-route53-healthcheck-healthcheckconfig-type) of `CLOUDWATCH_METRIC` or `CALCULATED` . + """ + regions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A complex type that contains one `Region` element for each region from which you want Amazon Route 53 health checkers to check the specified endpoint. + + If you don't specify any regions, Route 53 health checkers automatically performs checks from all of the regions that are listed under *Valid Values* . + + If you update a health check to remove a region that has been performing health checks, Route 53 will briefly continue to perform checks from that region to ensure that some health checkers are always checking the endpoint (for example, if you replace three regions with four different regions). + """ + request_interval: NotRequired[pulumi.Input[int]] + """ + The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health check request. Each Route 53 health checker makes requests at this interval. + + > You can't change the value of `RequestInterval` after you create a health check. + + If you don't specify a value for `RequestInterval` , the default value is `30` seconds. + """ + resource_path: NotRequired[pulumi.Input[str]] + """ + The path, if any, that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example, the file /docs/route53-health-check.html. You can also include query string parameters, for example, `/welcome.html?language=jp&login=y` . + """ + routing_control_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) for the Route 53 Application Recovery Controller routing control. + + For more information about Route 53 Application Recovery Controller, see [Route 53 Application Recovery Controller Developer Guide.](https://docs.aws.amazon.com/r53recovery/latest/dg/what-is-route-53-recovery.html) . + """ + search_string: NotRequired[pulumi.Input[str]] + """ + If the value of Type is `HTTP_STR_MATCH` or `HTTPS_STR_MATCH` , the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Route 53 considers the resource healthy. + + Route 53 considers case when searching for `SearchString` in the response body. + """ +elif False: + HealthCheckConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class HealthCheckConfigPropertiesArgs: def __init__(__self__, *, @@ -562,6 +775,22 @@ def search_string(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "search_string", value) +if not MYPY: + class HealthCheckTagArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + key: pulumi.Input[str] + """ + The key name of the tag. + """ + value: pulumi.Input[str] + """ + The value for the tag. + """ +elif False: + HealthCheckTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class HealthCheckTagArgs: def __init__(__self__, *, @@ -600,6 +829,18 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class HostedZoneConfigArgsDict(TypedDict): + """ + A complex type that contains an optional comment about your hosted zone. If you don't want to specify a comment, omit both the ``HostedZoneConfig`` and ``Comment`` elements. + """ + comment: NotRequired[pulumi.Input[str]] + """ + Any comments that you want to include about the hosted zone. + """ +elif False: + HostedZoneConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class HostedZoneConfigArgs: def __init__(__self__, *, @@ -624,6 +865,18 @@ def comment(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "comment", value) +if not MYPY: + class HostedZoneQueryLoggingConfigArgsDict(TypedDict): + """ + A complex type that contains information about a configuration for DNS query logging. + """ + cloud_watch_logs_log_group_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to. + """ +elif False: + HostedZoneQueryLoggingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class HostedZoneQueryLoggingConfigArgs: def __init__(__self__, *, @@ -647,6 +900,25 @@ def cloud_watch_logs_log_group_arn(self, value: pulumi.Input[str]): pulumi.set(self, "cloud_watch_logs_log_group_arn", value) +if not MYPY: + class HostedZoneVpcArgsDict(TypedDict): + """ + *Private hosted zones only:* A complex type that contains information about an Amazon VPC. Route 53 Resolver uses the records in the private hosted zone to route traffic in that VPC. + For public hosted zones, omit ``VPCs``, ``VPCId``, and ``VPCRegion``. + """ + vpc_id: pulumi.Input[str] + """ + *Private hosted zones only:* The ID of an Amazon VPC. + For public hosted zones, omit ``VPCs``, ``VPCId``, and ``VPCRegion``. + """ + vpc_region: pulumi.Input[str] + """ + *Private hosted zones only:* The region that an Amazon VPC was created in. + For public hosted zones, omit ``VPCs``, ``VPCId``, and ``VPCRegion``. + """ +elif False: + HostedZoneVpcArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class HostedZoneVpcArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/route53/cidr_collection.py b/sdk/python/pulumi_aws_native/route53/cidr_collection.py index 4b2d56e984..786629759b 100644 --- a/sdk/python/pulumi_aws_native/route53/cidr_collection.py +++ b/sdk/python/pulumi_aws_native/route53/cidr_collection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/route53/dnssec.py b/sdk/python/pulumi_aws_native/route53/dnssec.py index ceb4446ce1..a904237526 100644 --- a/sdk/python/pulumi_aws_native/route53/dnssec.py +++ b/sdk/python/pulumi_aws_native/route53/dnssec.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DnssecArgs', 'Dnssec'] diff --git a/sdk/python/pulumi_aws_native/route53/get_cidr_collection.py b/sdk/python/pulumi_aws_native/route53/get_cidr_collection.py index c31198c844..39923f2b39 100644 --- a/sdk/python/pulumi_aws_native/route53/get_cidr_collection.py +++ b/sdk/python/pulumi_aws_native/route53/get_cidr_collection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_cidr_collection(id: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), id=pulumi.get(__ret__, 'id'), locations=pulumi.get(__ret__, 'locations')) - - -@_utilities.lift_output_func(get_cidr_collection) def get_cidr_collection_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCidrCollectionResult]: """ @@ -94,4 +96,11 @@ def get_cidr_collection_output(id: Optional[pulumi.Input[str]] = None, :param str id: UUID of the CIDR collection. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53:getCidrCollection', __args__, opts=opts, typ=GetCidrCollectionResult) + return __ret__.apply(lambda __response__: GetCidrCollectionResult( + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + locations=pulumi.get(__response__, 'locations'))) diff --git a/sdk/python/pulumi_aws_native/route53/get_health_check.py b/sdk/python/pulumi_aws_native/route53/get_health_check.py index 17d192649b..a643419614 100644 --- a/sdk/python/pulumi_aws_native/route53/get_health_check.py +++ b/sdk/python/pulumi_aws_native/route53/get_health_check.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -84,9 +89,6 @@ def get_health_check(health_check_id: Optional[str] = None, health_check_config=pulumi.get(__ret__, 'health_check_config'), health_check_id=pulumi.get(__ret__, 'health_check_id'), health_check_tags=pulumi.get(__ret__, 'health_check_tags')) - - -@_utilities.lift_output_func(get_health_check) def get_health_check_output(health_check_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHealthCheckResult]: """ @@ -95,4 +97,11 @@ def get_health_check_output(health_check_id: Optional[pulumi.Input[str]] = None, :param str health_check_id: The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long. """ - ... + __args__ = dict() + __args__['healthCheckId'] = health_check_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53:getHealthCheck', __args__, opts=opts, typ=GetHealthCheckResult) + return __ret__.apply(lambda __response__: GetHealthCheckResult( + health_check_config=pulumi.get(__response__, 'health_check_config'), + health_check_id=pulumi.get(__response__, 'health_check_id'), + health_check_tags=pulumi.get(__response__, 'health_check_tags'))) diff --git a/sdk/python/pulumi_aws_native/route53/get_hosted_zone.py b/sdk/python/pulumi_aws_native/route53/get_hosted_zone.py index 31a129fe62..6b94e8a21e 100644 --- a/sdk/python/pulumi_aws_native/route53/get_hosted_zone.py +++ b/sdk/python/pulumi_aws_native/route53/get_hosted_zone.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_hosted_zone(id: Optional[str] = None, name_servers=pulumi.get(__ret__, 'name_servers'), query_logging_config=pulumi.get(__ret__, 'query_logging_config'), vpcs=pulumi.get(__ret__, 'vpcs')) - - -@_utilities.lift_output_func(get_hosted_zone) def get_hosted_zone_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostedZoneResult]: """ @@ -176,4 +178,14 @@ def get_hosted_zone_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID that Amazon Route 53 assigned to the hosted zone when you created it. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53:getHostedZone', __args__, opts=opts, typ=GetHostedZoneResult) + return __ret__.apply(lambda __response__: GetHostedZoneResult( + hosted_zone_config=pulumi.get(__response__, 'hosted_zone_config'), + hosted_zone_tags=pulumi.get(__response__, 'hosted_zone_tags'), + id=pulumi.get(__response__, 'id'), + name_servers=pulumi.get(__response__, 'name_servers'), + query_logging_config=pulumi.get(__response__, 'query_logging_config'), + vpcs=pulumi.get(__response__, 'vpcs'))) diff --git a/sdk/python/pulumi_aws_native/route53/get_key_signing_key.py b/sdk/python/pulumi_aws_native/route53/get_key_signing_key.py index 9f99aac282..0615ff1cc8 100644 --- a/sdk/python/pulumi_aws_native/route53/get_key_signing_key.py +++ b/sdk/python/pulumi_aws_native/route53/get_key_signing_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -60,9 +65,6 @@ def get_key_signing_key(hosted_zone_id: Optional[str] = None, return AwaitableGetKeySigningKeyResult( status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_key_signing_key) def get_key_signing_key_output(hosted_zone_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeySigningKeyResult]: @@ -73,4 +75,10 @@ def get_key_signing_key_output(hosted_zone_id: Optional[pulumi.Input[str]] = Non :param str hosted_zone_id: The unique string (ID) used to identify a hosted zone. :param str name: An alphanumeric string used to identify a key signing key (KSK). Name must be unique for each key signing key in the same hosted zone. """ - ... + __args__ = dict() + __args__['hostedZoneId'] = hosted_zone_id + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53:getKeySigningKey', __args__, opts=opts, typ=GetKeySigningKeyResult) + return __ret__.apply(lambda __response__: GetKeySigningKeyResult( + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/route53/health_check.py b/sdk/python/pulumi_aws_native/route53/health_check.py index f3f31b1964..a360fa4011 100644 --- a/sdk/python/pulumi_aws_native/route53/health_check.py +++ b/sdk/python/pulumi_aws_native/route53/health_check.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/route53/hosted_zone.py b/sdk/python/pulumi_aws_native/route53/hosted_zone.py index 947512ae9e..8b18a9f55c 100644 --- a/sdk/python/pulumi_aws_native/route53/hosted_zone.py +++ b/sdk/python/pulumi_aws_native/route53/hosted_zone.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/route53/key_signing_key.py b/sdk/python/pulumi_aws_native/route53/key_signing_key.py index 77a3acf795..fd9fda6c74 100644 --- a/sdk/python/pulumi_aws_native/route53/key_signing_key.py +++ b/sdk/python/pulumi_aws_native/route53/key_signing_key.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/route53/outputs.py b/sdk/python/pulumi_aws_native/route53/outputs.py index 35b0d1838a..7091ac4972 100644 --- a/sdk/python/pulumi_aws_native/route53/outputs.py +++ b/sdk/python/pulumi_aws_native/route53/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/route53profiles/get_profile.py b/sdk/python/pulumi_aws_native/route53profiles/get_profile.py index bbae3d95a4..8a0f5d8421 100644 --- a/sdk/python/pulumi_aws_native/route53profiles/get_profile.py +++ b/sdk/python/pulumi_aws_native/route53profiles/get_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_profile(id: Optional[str] = None, client_token=pulumi.get(__ret__, 'client_token'), id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_profile) def get_profile_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfileResult]: """ @@ -107,4 +109,12 @@ def get_profile_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the profile. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53profiles:getProfile', __args__, opts=opts, typ=GetProfileResult) + return __ret__.apply(lambda __response__: GetProfileResult( + arn=pulumi.get(__response__, 'arn'), + client_token=pulumi.get(__response__, 'client_token'), + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/route53profiles/get_profile_association.py b/sdk/python/pulumi_aws_native/route53profiles/get_profile_association.py index 06690a3e1d..4dac10fc3f 100644 --- a/sdk/python/pulumi_aws_native/route53profiles/get_profile_association.py +++ b/sdk/python/pulumi_aws_native/route53profiles/get_profile_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_profile_association(id: Optional[str] = None, return AwaitableGetProfileAssociationResult( id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_profile_association) def get_profile_association_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfileAssociationResult]: """ @@ -81,4 +83,10 @@ def get_profile_association_output(id: Optional[pulumi.Input[str]] = None, :param str id: Primary Identifier for Profile Association """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53profiles:getProfileAssociation', __args__, opts=opts, typ=GetProfileAssociationResult) + return __ret__.apply(lambda __response__: GetProfileAssociationResult( + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/route53profiles/get_profile_resource_association.py b/sdk/python/pulumi_aws_native/route53profiles/get_profile_resource_association.py index fbc6d0f435..672ed40a73 100644 --- a/sdk/python/pulumi_aws_native/route53profiles/get_profile_resource_association.py +++ b/sdk/python/pulumi_aws_native/route53profiles/get_profile_resource_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_profile_resource_association(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), resource_properties=pulumi.get(__ret__, 'resource_properties'), resource_type=pulumi.get(__ret__, 'resource_type')) - - -@_utilities.lift_output_func(get_profile_resource_association) def get_profile_resource_association_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfileResourceAssociationResult]: """ @@ -93,4 +95,11 @@ def get_profile_resource_association_output(id: Optional[pulumi.Input[str]] = No :param str id: Primary Identifier for Profile Resource Association """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53profiles:getProfileResourceAssociation', __args__, opts=opts, typ=GetProfileResourceAssociationResult) + return __ret__.apply(lambda __response__: GetProfileResourceAssociationResult( + id=pulumi.get(__response__, 'id'), + resource_properties=pulumi.get(__response__, 'resource_properties'), + resource_type=pulumi.get(__response__, 'resource_type'))) diff --git a/sdk/python/pulumi_aws_native/route53profiles/profile.py b/sdk/python/pulumi_aws_native/route53profiles/profile.py index f04944bbc6..d6455d8342 100644 --- a/sdk/python/pulumi_aws_native/route53profiles/profile.py +++ b/sdk/python/pulumi_aws_native/route53profiles/profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/route53profiles/profile_association.py b/sdk/python/pulumi_aws_native/route53profiles/profile_association.py index b076190e7b..22093d7fd3 100644 --- a/sdk/python/pulumi_aws_native/route53profiles/profile_association.py +++ b/sdk/python/pulumi_aws_native/route53profiles/profile_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/route53profiles/profile_resource_association.py b/sdk/python/pulumi_aws_native/route53profiles/profile_resource_association.py index cc7f80413e..dd510157db 100644 --- a/sdk/python/pulumi_aws_native/route53profiles/profile_resource_association.py +++ b/sdk/python/pulumi_aws_native/route53profiles/profile_resource_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ProfileResourceAssociationArgs', 'ProfileResourceAssociation'] diff --git a/sdk/python/pulumi_aws_native/route53recoverycontrol/_inputs.py b/sdk/python/pulumi_aws_native/route53recoverycontrol/_inputs.py index b4fbdda333..6cd2a1d878 100644 --- a/sdk/python/pulumi_aws_native/route53recoverycontrol/_inputs.py +++ b/sdk/python/pulumi_aws_native/route53recoverycontrol/_inputs.py @@ -4,18 +4,44 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'SafetyRuleAssertionRuleArgs', + 'SafetyRuleAssertionRuleArgsDict', 'SafetyRuleGatingRuleArgs', + 'SafetyRuleGatingRuleArgsDict', 'SafetyRuleRuleConfigArgs', + 'SafetyRuleRuleConfigArgsDict', ] +MYPY = False + +if not MYPY: + class SafetyRuleAssertionRuleArgsDict(TypedDict): + """ + An assertion rule enforces that, when a routing control state is changed, that the criteria set by the rule configuration is met. Otherwise, the change to the routing control is not accepted. + """ + asserted_controls: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three AWS Regions. + """ + wait_period_ms: pulumi.Input[int] + """ + An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value. + """ +elif False: + SafetyRuleAssertionRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SafetyRuleAssertionRuleArgs: def __init__(__self__, *, @@ -54,6 +80,27 @@ def wait_period_ms(self, value: pulumi.Input[int]): pulumi.set(self, "wait_period_ms", value) +if not MYPY: + class SafetyRuleGatingRuleArgsDict(TypedDict): + """ + A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery Controller allows a set of routing control state changes to run and complete against the set of target controls. + """ + gating_controls: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The gating controls for the gating rule. That is, routing controls that are evaluated by the rule configuration that you specify. + """ + target_controls: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three AWS Regions. Now you specify AtLeast 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true. + In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls. + """ + wait_period_ms: pulumi.Input[int] + """ + An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value. + """ +elif False: + SafetyRuleGatingRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SafetyRuleGatingRuleArgs: def __init__(__self__, *, @@ -109,6 +156,26 @@ def wait_period_ms(self, value: pulumi.Input[int]): pulumi.set(self, "wait_period_ms", value) +if not MYPY: + class SafetyRuleRuleConfigArgsDict(TypedDict): + """ + The rule configuration for an assertion rule or gating rule. This is the criteria that you set for specific assertion controls (routing controls) or gating controls. This configuration specifies how many controls must be enabled after a transaction completes. + """ + inverted: pulumi.Input[bool] + """ + Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa. + """ + threshold: pulumi.Input[int] + """ + The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type. + """ + type: pulumi.Input['SafetyRuleRuleType'] + """ + A rule can be one of the following: `ATLEAST` , `AND` , or `OR` . + """ +elif False: + SafetyRuleRuleConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SafetyRuleRuleConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/route53recoverycontrol/cluster.py b/sdk/python/pulumi_aws_native/route53recoverycontrol/cluster.py index 541de99a24..285a47da9a 100644 --- a/sdk/python/pulumi_aws_native/route53recoverycontrol/cluster.py +++ b/sdk/python/pulumi_aws_native/route53recoverycontrol/cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/route53recoverycontrol/control_panel.py b/sdk/python/pulumi_aws_native/route53recoverycontrol/control_panel.py index 99bc0f344f..20f8a7e592 100644 --- a/sdk/python/pulumi_aws_native/route53recoverycontrol/control_panel.py +++ b/sdk/python/pulumi_aws_native/route53recoverycontrol/control_panel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/route53recoverycontrol/get_cluster.py b/sdk/python/pulumi_aws_native/route53recoverycontrol/get_cluster.py index 14e9a0cdcb..515024c112 100644 --- a/sdk/python/pulumi_aws_native/route53recoverycontrol/get_cluster.py +++ b/sdk/python/pulumi_aws_native/route53recoverycontrol/get_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -84,9 +89,6 @@ def get_cluster(cluster_arn: Optional[str] = None, cluster_arn=pulumi.get(__ret__, 'cluster_arn'), cluster_endpoints=pulumi.get(__ret__, 'cluster_endpoints'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(cluster_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: """ @@ -95,4 +97,11 @@ def get_cluster_output(cluster_arn: Optional[pulumi.Input[str]] = None, :param str cluster_arn: The Amazon Resource Name (ARN) of the cluster. """ - ... + __args__ = dict() + __args__['clusterArn'] = cluster_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53recoverycontrol:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + cluster_arn=pulumi.get(__response__, 'cluster_arn'), + cluster_endpoints=pulumi.get(__response__, 'cluster_endpoints'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/route53recoverycontrol/get_control_panel.py b/sdk/python/pulumi_aws_native/route53recoverycontrol/get_control_panel.py index 1320cd26fa..c76b93aecf 100644 --- a/sdk/python/pulumi_aws_native/route53recoverycontrol/get_control_panel.py +++ b/sdk/python/pulumi_aws_native/route53recoverycontrol/get_control_panel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -109,9 +114,6 @@ def get_control_panel(control_panel_arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), routing_control_count=pulumi.get(__ret__, 'routing_control_count'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_control_panel) def get_control_panel_output(control_panel_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetControlPanelResult]: """ @@ -120,4 +122,13 @@ def get_control_panel_output(control_panel_arn: Optional[pulumi.Input[str]] = No :param str control_panel_arn: The Amazon Resource Name (ARN) of the cluster. """ - ... + __args__ = dict() + __args__['controlPanelArn'] = control_panel_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53recoverycontrol:getControlPanel', __args__, opts=opts, typ=GetControlPanelResult) + return __ret__.apply(lambda __response__: GetControlPanelResult( + control_panel_arn=pulumi.get(__response__, 'control_panel_arn'), + default_control_panel=pulumi.get(__response__, 'default_control_panel'), + name=pulumi.get(__response__, 'name'), + routing_control_count=pulumi.get(__response__, 'routing_control_count'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/route53recoverycontrol/get_routing_control.py b/sdk/python/pulumi_aws_native/route53recoverycontrol/get_routing_control.py index 5ff9767632..42dfccdf89 100644 --- a/sdk/python/pulumi_aws_native/route53recoverycontrol/get_routing_control.py +++ b/sdk/python/pulumi_aws_native/route53recoverycontrol/get_routing_control.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -83,9 +88,6 @@ def get_routing_control(routing_control_arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), routing_control_arn=pulumi.get(__ret__, 'routing_control_arn'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_routing_control) def get_routing_control_output(routing_control_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoutingControlResult]: """ @@ -94,4 +96,11 @@ def get_routing_control_output(routing_control_arn: Optional[pulumi.Input[str]] :param str routing_control_arn: The Amazon Resource Name (ARN) of the routing control. """ - ... + __args__ = dict() + __args__['routingControlArn'] = routing_control_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53recoverycontrol:getRoutingControl', __args__, opts=opts, typ=GetRoutingControlResult) + return __ret__.apply(lambda __response__: GetRoutingControlResult( + name=pulumi.get(__response__, 'name'), + routing_control_arn=pulumi.get(__response__, 'routing_control_arn'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/route53recoverycontrol/get_safety_rule.py b/sdk/python/pulumi_aws_native/route53recoverycontrol/get_safety_rule.py index bc5149b4e2..214c44b476 100644 --- a/sdk/python/pulumi_aws_native/route53recoverycontrol/get_safety_rule.py +++ b/sdk/python/pulumi_aws_native/route53recoverycontrol/get_safety_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -138,9 +143,6 @@ def get_safety_rule(safety_rule_arn: Optional[str] = None, rule_config=pulumi.get(__ret__, 'rule_config'), safety_rule_arn=pulumi.get(__ret__, 'safety_rule_arn'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_safety_rule) def get_safety_rule_output(safety_rule_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSafetyRuleResult]: """ @@ -149,4 +151,15 @@ def get_safety_rule_output(safety_rule_arn: Optional[pulumi.Input[str]] = None, :param str safety_rule_arn: The Amazon Resource Name (ARN) of the safety rule. """ - ... + __args__ = dict() + __args__['safetyRuleArn'] = safety_rule_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53recoverycontrol:getSafetyRule', __args__, opts=opts, typ=GetSafetyRuleResult) + return __ret__.apply(lambda __response__: GetSafetyRuleResult( + assertion_rule=pulumi.get(__response__, 'assertion_rule'), + control_panel_arn=pulumi.get(__response__, 'control_panel_arn'), + gating_rule=pulumi.get(__response__, 'gating_rule'), + name=pulumi.get(__response__, 'name'), + rule_config=pulumi.get(__response__, 'rule_config'), + safety_rule_arn=pulumi.get(__response__, 'safety_rule_arn'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/route53recoverycontrol/outputs.py b/sdk/python/pulumi_aws_native/route53recoverycontrol/outputs.py index da24ad9bc8..8073aebb8c 100644 --- a/sdk/python/pulumi_aws_native/route53recoverycontrol/outputs.py +++ b/sdk/python/pulumi_aws_native/route53recoverycontrol/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/route53recoverycontrol/routing_control.py b/sdk/python/pulumi_aws_native/route53recoverycontrol/routing_control.py index fe86fe2a2a..518d3b69aa 100644 --- a/sdk/python/pulumi_aws_native/route53recoverycontrol/routing_control.py +++ b/sdk/python/pulumi_aws_native/route53recoverycontrol/routing_control.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/route53recoverycontrol/safety_rule.py b/sdk/python/pulumi_aws_native/route53recoverycontrol/safety_rule.py index cb60ea3804..bf00784276 100644 --- a/sdk/python/pulumi_aws_native/route53recoverycontrol/safety_rule.py +++ b/sdk/python/pulumi_aws_native/route53recoverycontrol/safety_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/route53recoveryreadiness/_inputs.py b/sdk/python/pulumi_aws_native/route53recoveryreadiness/_inputs.py index 24638959c5..75149d815d 100644 --- a/sdk/python/pulumi_aws_native/route53recoveryreadiness/_inputs.py +++ b/sdk/python/pulumi_aws_native/route53recoveryreadiness/_inputs.py @@ -4,19 +4,59 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'ResourceSetDnsTargetResourceArgs', + 'ResourceSetDnsTargetResourceArgsDict', 'ResourceSetNlbResourceArgs', + 'ResourceSetNlbResourceArgsDict', 'ResourceSetR53ResourceRecordArgs', + 'ResourceSetR53ResourceRecordArgsDict', 'ResourceSetResourceArgs', + 'ResourceSetResourceArgsDict', 'ResourceSetTargetResourceArgs', + 'ResourceSetTargetResourceArgsDict', ] +MYPY = False + +if not MYPY: + class ResourceSetDnsTargetResourceArgsDict(TypedDict): + """ + A component for DNS/routing control readiness checks. + """ + domain_name: NotRequired[pulumi.Input[str]] + """ + The domain name that acts as an ingress point to a portion of the customer application. + """ + hosted_zone_arn: NotRequired[pulumi.Input[str]] + """ + The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource. + """ + record_set_id: NotRequired[pulumi.Input[str]] + """ + The Route 53 record set ID that will uniquely identify a DNS record, given a name and a type. + """ + record_type: NotRequired[pulumi.Input[str]] + """ + The type of DNS record of the target resource. + """ + target_resource: NotRequired[pulumi.Input['ResourceSetTargetResourceArgsDict']] + """ + The target resource that the Route 53 record points to. + """ +elif False: + ResourceSetDnsTargetResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceSetDnsTargetResourceArgs: def __init__(__self__, *, @@ -105,6 +145,18 @@ def target_resource(self, value: Optional[pulumi.Input['ResourceSetTargetResourc pulumi.set(self, "target_resource", value) +if not MYPY: + class ResourceSetNlbResourceArgsDict(TypedDict): + """ + The Network Load Balancer resource that a DNS target resource points to. + """ + arn: NotRequired[pulumi.Input[str]] + """ + A Network Load Balancer resource Amazon Resource Name (ARN). + """ +elif False: + ResourceSetNlbResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceSetNlbResourceArgs: def __init__(__self__, *, @@ -129,6 +181,22 @@ def arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "arn", value) +if not MYPY: + class ResourceSetR53ResourceRecordArgsDict(TypedDict): + """ + The Route 53 resource that a DNS target resource record points to. + """ + domain_name: NotRequired[pulumi.Input[str]] + """ + The DNS target domain name. + """ + record_set_id: NotRequired[pulumi.Input[str]] + """ + The Resource Record set id. + """ +elif False: + ResourceSetR53ResourceRecordArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceSetR53ResourceRecordArgs: def __init__(__self__, *, @@ -169,6 +237,30 @@ def record_set_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "record_set_id", value) +if not MYPY: + class ResourceSetResourceArgsDict(TypedDict): + """ + The resource element of a ResourceSet + """ + component_id: NotRequired[pulumi.Input[str]] + """ + The component identifier of the resource, generated when DNS target resource is used. + """ + dns_target_resource: NotRequired[pulumi.Input['ResourceSetDnsTargetResourceArgsDict']] + """ + A component for DNS/routing control readiness checks. This is a required setting when `ResourceSet` `ResourceSetType` is set to `AWS::Route53RecoveryReadiness::DNSTargetResource` . Do not set it for any other `ResourceSetType` setting. + """ + readiness_scopes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within. + """ + resource_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the AWS resource. + """ +elif False: + ResourceSetResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceSetResourceArgs: def __init__(__self__, *, @@ -241,6 +333,22 @@ def resource_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "resource_arn", value) +if not MYPY: + class ResourceSetTargetResourceArgsDict(TypedDict): + """ + The target resource that the Route 53 record points to. + """ + nlb_resource: NotRequired[pulumi.Input['ResourceSetNlbResourceArgsDict']] + """ + The Network Load Balancer resource that a DNS target resource points to. + """ + r53_resource: NotRequired[pulumi.Input['ResourceSetR53ResourceRecordArgsDict']] + """ + The Route 53 resource that a DNS target resource record points to. + """ +elif False: + ResourceSetTargetResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceSetTargetResourceArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/route53recoveryreadiness/cell.py b/sdk/python/pulumi_aws_native/route53recoveryreadiness/cell.py index 5a29e4172f..5f113feb38 100644 --- a/sdk/python/pulumi_aws_native/route53recoveryreadiness/cell.py +++ b/sdk/python/pulumi_aws_native/route53recoveryreadiness/cell.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_cell.py b/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_cell.py index dc7987c699..406e81c368 100644 --- a/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_cell.py +++ b/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_cell.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_cell(cell_name: Optional[str] = None, cells=pulumi.get(__ret__, 'cells'), parent_readiness_scopes=pulumi.get(__ret__, 'parent_readiness_scopes'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_cell) def get_cell_output(cell_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCellResult]: """ @@ -107,4 +109,12 @@ def get_cell_output(cell_name: Optional[pulumi.Input[str]] = None, :param str cell_name: The name of the cell to create. """ - ... + __args__ = dict() + __args__['cellName'] = cell_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53recoveryreadiness:getCell', __args__, opts=opts, typ=GetCellResult) + return __ret__.apply(lambda __response__: GetCellResult( + cell_arn=pulumi.get(__response__, 'cell_arn'), + cells=pulumi.get(__response__, 'cells'), + parent_readiness_scopes=pulumi.get(__response__, 'parent_readiness_scopes'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_readiness_check.py b/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_readiness_check.py index 730177634a..d847330c47 100644 --- a/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_readiness_check.py +++ b/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_readiness_check.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_readiness_check(readiness_check_name: Optional[str] = None, readiness_check_arn=pulumi.get(__ret__, 'readiness_check_arn'), resource_set_name=pulumi.get(__ret__, 'resource_set_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_readiness_check) def get_readiness_check_output(readiness_check_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReadinessCheckResult]: """ @@ -94,4 +96,11 @@ def get_readiness_check_output(readiness_check_name: Optional[pulumi.Input[str]] :param str readiness_check_name: Name of the ReadinessCheck to create. """ - ... + __args__ = dict() + __args__['readinessCheckName'] = readiness_check_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53recoveryreadiness:getReadinessCheck', __args__, opts=opts, typ=GetReadinessCheckResult) + return __ret__.apply(lambda __response__: GetReadinessCheckResult( + readiness_check_arn=pulumi.get(__response__, 'readiness_check_arn'), + resource_set_name=pulumi.get(__response__, 'resource_set_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_recovery_group.py b/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_recovery_group.py index a3ed7565f1..1586f7780a 100644 --- a/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_recovery_group.py +++ b/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_recovery_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_recovery_group(recovery_group_name: Optional[str] = None, cells=pulumi.get(__ret__, 'cells'), recovery_group_arn=pulumi.get(__ret__, 'recovery_group_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_recovery_group) def get_recovery_group_output(recovery_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRecoveryGroupResult]: """ @@ -94,4 +96,11 @@ def get_recovery_group_output(recovery_group_name: Optional[pulumi.Input[str]] = :param str recovery_group_name: The name of the recovery group to create. """ - ... + __args__ = dict() + __args__['recoveryGroupName'] = recovery_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53recoveryreadiness:getRecoveryGroup', __args__, opts=opts, typ=GetRecoveryGroupResult) + return __ret__.apply(lambda __response__: GetRecoveryGroupResult( + cells=pulumi.get(__response__, 'cells'), + recovery_group_arn=pulumi.get(__response__, 'recovery_group_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_resource_set.py b/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_resource_set.py index e41cb242cc..cb69046465 100644 --- a/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_resource_set.py +++ b/sdk/python/pulumi_aws_native/route53recoveryreadiness/get_resource_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -84,9 +89,6 @@ def get_resource_set(resource_set_name: Optional[str] = None, resource_set_arn=pulumi.get(__ret__, 'resource_set_arn'), resources=pulumi.get(__ret__, 'resources'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_resource_set) def get_resource_set_output(resource_set_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceSetResult]: """ @@ -95,4 +97,11 @@ def get_resource_set_output(resource_set_name: Optional[pulumi.Input[str]] = Non :param str resource_set_name: The name of the resource set to create. """ - ... + __args__ = dict() + __args__['resourceSetName'] = resource_set_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53recoveryreadiness:getResourceSet', __args__, opts=opts, typ=GetResourceSetResult) + return __ret__.apply(lambda __response__: GetResourceSetResult( + resource_set_arn=pulumi.get(__response__, 'resource_set_arn'), + resources=pulumi.get(__response__, 'resources'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/route53recoveryreadiness/outputs.py b/sdk/python/pulumi_aws_native/route53recoveryreadiness/outputs.py index 2b68f45e9e..576c7c5ffc 100644 --- a/sdk/python/pulumi_aws_native/route53recoveryreadiness/outputs.py +++ b/sdk/python/pulumi_aws_native/route53recoveryreadiness/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/route53recoveryreadiness/readiness_check.py b/sdk/python/pulumi_aws_native/route53recoveryreadiness/readiness_check.py index 95c4fcc7a1..557cefaad3 100644 --- a/sdk/python/pulumi_aws_native/route53recoveryreadiness/readiness_check.py +++ b/sdk/python/pulumi_aws_native/route53recoveryreadiness/readiness_check.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/route53recoveryreadiness/recovery_group.py b/sdk/python/pulumi_aws_native/route53recoveryreadiness/recovery_group.py index 09f2aa026f..04ebf3d6c2 100644 --- a/sdk/python/pulumi_aws_native/route53recoveryreadiness/recovery_group.py +++ b/sdk/python/pulumi_aws_native/route53recoveryreadiness/recovery_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/route53recoveryreadiness/resource_set.py b/sdk/python/pulumi_aws_native/route53recoveryreadiness/resource_set.py index 0437e049d9..8f65e7f181 100644 --- a/sdk/python/pulumi_aws_native/route53recoveryreadiness/resource_set.py +++ b/sdk/python/pulumi_aws_native/route53recoveryreadiness/resource_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/route53resolver/_inputs.py b/sdk/python/pulumi_aws_native/route53resolver/_inputs.py index 81ca40ef40..fa144deb04 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/_inputs.py +++ b/sdk/python/pulumi_aws_native/route53resolver/_inputs.py @@ -4,17 +4,70 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'FirewallRuleGroupFirewallRuleArgs', + 'FirewallRuleGroupFirewallRuleArgsDict', 'ResolverRuleTargetAddressArgs', + 'ResolverRuleTargetAddressArgsDict', ] +MYPY = False + +if not MYPY: + class FirewallRuleGroupFirewallRuleArgsDict(TypedDict): + """ + Firewall Rule associating the Rule Group to a Domain List + """ + action: pulumi.Input['FirewallRuleGroupFirewallRuleAction'] + """ + Rule Action + """ + firewall_domain_list_id: pulumi.Input[str] + """ + ResourceId + """ + priority: pulumi.Input[int] + """ + Rule Priority + """ + block_override_dns_type: NotRequired[pulumi.Input['FirewallRuleGroupFirewallRuleBlockOverrideDnsType']] + """ + BlockOverrideDnsType + """ + block_override_domain: NotRequired[pulumi.Input[str]] + """ + BlockOverrideDomain + """ + block_override_ttl: NotRequired[pulumi.Input[int]] + """ + BlockOverrideTtl + """ + block_response: NotRequired[pulumi.Input['FirewallRuleGroupFirewallRuleBlockResponse']] + """ + BlockResponse + """ + firewall_domain_redirection_action: NotRequired[pulumi.Input['FirewallRuleGroupFirewallRuleFirewallDomainRedirectionAction']] + """ + FirewallDomainRedirectionAction + """ + qtype: NotRequired[pulumi.Input[str]] + """ + Qtype + """ +elif False: + FirewallRuleGroupFirewallRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FirewallRuleGroupFirewallRuleArgs: def __init__(__self__, *, @@ -164,6 +217,31 @@ def qtype(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "qtype", value) +if not MYPY: + class ResolverRuleTargetAddressArgsDict(TypedDict): + ip: NotRequired[pulumi.Input[str]] + """ + One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses. + """ + ipv6: NotRequired[pulumi.Input[str]] + """ + One IPv6 address that you want to forward DNS queries to. You can specify only IPv6 addresses. + """ + port: NotRequired[pulumi.Input[str]] + """ + The port at Ip that you want to forward DNS queries to. + """ + protocol: NotRequired[pulumi.Input['ResolverRuleTargetAddressProtocol']] + """ + The protocol that you want to use to forward DNS queries. + """ + server_name_indication: NotRequired[pulumi.Input[str]] + """ + The SNI of the target name servers for DoH/DoH-FIPS outbound endpoints + """ +elif False: + ResolverRuleTargetAddressArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResolverRuleTargetAddressArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/route53resolver/firewall_domain_list.py b/sdk/python/pulumi_aws_native/route53resolver/firewall_domain_list.py index 472501d5d5..2b8eb26a0a 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/firewall_domain_list.py +++ b/sdk/python/pulumi_aws_native/route53resolver/firewall_domain_list.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/route53resolver/firewall_rule_group.py b/sdk/python/pulumi_aws_native/route53resolver/firewall_rule_group.py index 90734a7ef1..1c0b9aa5df 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/firewall_rule_group.py +++ b/sdk/python/pulumi_aws_native/route53resolver/firewall_rule_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/route53resolver/firewall_rule_group_association.py b/sdk/python/pulumi_aws_native/route53resolver/firewall_rule_group_association.py index a691cf5156..efb7df6f91 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/firewall_rule_group_association.py +++ b/sdk/python/pulumi_aws_native/route53resolver/firewall_rule_group_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/route53resolver/get_firewall_domain_list.py b/sdk/python/pulumi_aws_native/route53resolver/get_firewall_domain_list.py index b777cc6194..1e5da1bac0 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/get_firewall_domain_list.py +++ b/sdk/python/pulumi_aws_native/route53resolver/get_firewall_domain_list.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -175,9 +180,6 @@ def get_firewall_domain_list(id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), status_message=pulumi.get(__ret__, 'status_message'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_firewall_domain_list) def get_firewall_domain_list_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallDomainListResult]: """ @@ -186,4 +188,18 @@ def get_firewall_domain_list_output(id: Optional[pulumi.Input[str]] = None, :param str id: ResourceId """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53resolver:getFirewallDomainList', __args__, opts=opts, typ=GetFirewallDomainListResult) + return __ret__.apply(lambda __response__: GetFirewallDomainListResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + creator_request_id=pulumi.get(__response__, 'creator_request_id'), + domain_count=pulumi.get(__response__, 'domain_count'), + id=pulumi.get(__response__, 'id'), + managed_owner_name=pulumi.get(__response__, 'managed_owner_name'), + modification_time=pulumi.get(__response__, 'modification_time'), + status=pulumi.get(__response__, 'status'), + status_message=pulumi.get(__response__, 'status_message'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/route53resolver/get_firewall_rule_group.py b/sdk/python/pulumi_aws_native/route53resolver/get_firewall_rule_group.py index 7df53dfee4..a93a397e61 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/get_firewall_rule_group.py +++ b/sdk/python/pulumi_aws_native/route53resolver/get_firewall_rule_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -202,9 +207,6 @@ def get_firewall_rule_group(id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), status_message=pulumi.get(__ret__, 'status_message'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_firewall_rule_group) def get_firewall_rule_group_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallRuleGroupResult]: """ @@ -213,4 +215,20 @@ def get_firewall_rule_group_output(id: Optional[pulumi.Input[str]] = None, :param str id: ResourceId """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53resolver:getFirewallRuleGroup', __args__, opts=opts, typ=GetFirewallRuleGroupResult) + return __ret__.apply(lambda __response__: GetFirewallRuleGroupResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + creator_request_id=pulumi.get(__response__, 'creator_request_id'), + firewall_rules=pulumi.get(__response__, 'firewall_rules'), + id=pulumi.get(__response__, 'id'), + modification_time=pulumi.get(__response__, 'modification_time'), + owner_id=pulumi.get(__response__, 'owner_id'), + rule_count=pulumi.get(__response__, 'rule_count'), + share_status=pulumi.get(__response__, 'share_status'), + status=pulumi.get(__response__, 'status'), + status_message=pulumi.get(__response__, 'status_message'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/route53resolver/get_firewall_rule_group_association.py b/sdk/python/pulumi_aws_native/route53resolver/get_firewall_rule_group_association.py index 43a3b97fb8..ff789ac2e3 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/get_firewall_rule_group_association.py +++ b/sdk/python/pulumi_aws_native/route53resolver/get_firewall_rule_group_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -201,9 +206,6 @@ def get_firewall_rule_group_association(id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), status_message=pulumi.get(__ret__, 'status_message'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_firewall_rule_group_association) def get_firewall_rule_group_association_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFirewallRuleGroupAssociationResult]: """ @@ -212,4 +214,20 @@ def get_firewall_rule_group_association_output(id: Optional[pulumi.Input[str]] = :param str id: Id """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53resolver:getFirewallRuleGroupAssociation', __args__, opts=opts, typ=GetFirewallRuleGroupAssociationResult) + return __ret__.apply(lambda __response__: GetFirewallRuleGroupAssociationResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + creator_request_id=pulumi.get(__response__, 'creator_request_id'), + id=pulumi.get(__response__, 'id'), + managed_owner_name=pulumi.get(__response__, 'managed_owner_name'), + modification_time=pulumi.get(__response__, 'modification_time'), + mutation_protection=pulumi.get(__response__, 'mutation_protection'), + name=pulumi.get(__response__, 'name'), + priority=pulumi.get(__response__, 'priority'), + status=pulumi.get(__response__, 'status'), + status_message=pulumi.get(__response__, 'status_message'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/route53resolver/get_outpost_resolver.py b/sdk/python/pulumi_aws_native/route53resolver/get_outpost_resolver.py index 3273986d14..efc48ebd86 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/get_outpost_resolver.py +++ b/sdk/python/pulumi_aws_native/route53resolver/get_outpost_resolver.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -188,9 +193,6 @@ def get_outpost_resolver(id: Optional[str] = None, status=pulumi.get(__ret__, 'status'), status_message=pulumi.get(__ret__, 'status_message'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_outpost_resolver) def get_outpost_resolver_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOutpostResolverResult]: """ @@ -199,4 +201,19 @@ def get_outpost_resolver_output(id: Optional[pulumi.Input[str]] = None, :param str id: Id """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53resolver:getOutpostResolver', __args__, opts=opts, typ=GetOutpostResolverResult) + return __ret__.apply(lambda __response__: GetOutpostResolverResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + creator_request_id=pulumi.get(__response__, 'creator_request_id'), + id=pulumi.get(__response__, 'id'), + instance_count=pulumi.get(__response__, 'instance_count'), + modification_time=pulumi.get(__response__, 'modification_time'), + name=pulumi.get(__response__, 'name'), + preferred_instance_type=pulumi.get(__response__, 'preferred_instance_type'), + status=pulumi.get(__response__, 'status'), + status_message=pulumi.get(__response__, 'status_message'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_config.py b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_config.py index e480a40d34..f930462ec9 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_config.py +++ b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -83,9 +88,6 @@ def get_resolver_config(resource_id: Optional[str] = None, autodefined_reverse=pulumi.get(__ret__, 'autodefined_reverse'), id=pulumi.get(__ret__, 'id'), owner_id=pulumi.get(__ret__, 'owner_id')) - - -@_utilities.lift_output_func(get_resolver_config) def get_resolver_config_output(resource_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverConfigResult]: """ @@ -94,4 +96,11 @@ def get_resolver_config_output(resource_id: Optional[pulumi.Input[str]] = None, :param str resource_id: ResourceId """ - ... + __args__ = dict() + __args__['resourceId'] = resource_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53resolver:getResolverConfig', __args__, opts=opts, typ=GetResolverConfigResult) + return __ret__.apply(lambda __response__: GetResolverConfigResult( + autodefined_reverse=pulumi.get(__response__, 'autodefined_reverse'), + id=pulumi.get(__response__, 'id'), + owner_id=pulumi.get(__response__, 'owner_id'))) diff --git a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_dnssec_config.py b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_dnssec_config.py index 3fc3cc5f85..97ef2c83e7 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_dnssec_config.py +++ b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_dnssec_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -83,9 +88,6 @@ def get_resolver_dnssec_config(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), owner_id=pulumi.get(__ret__, 'owner_id'), validation_status=pulumi.get(__ret__, 'validation_status')) - - -@_utilities.lift_output_func(get_resolver_dnssec_config) def get_resolver_dnssec_config_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverDnssecConfigResult]: """ @@ -94,4 +96,11 @@ def get_resolver_dnssec_config_output(id: Optional[pulumi.Input[str]] = None, :param str id: Id """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53resolver:getResolverDnssecConfig', __args__, opts=opts, typ=GetResolverDnssecConfigResult) + return __ret__.apply(lambda __response__: GetResolverDnssecConfigResult( + id=pulumi.get(__response__, 'id'), + owner_id=pulumi.get(__response__, 'owner_id'), + validation_status=pulumi.get(__response__, 'validation_status'))) diff --git a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_query_logging_config.py b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_query_logging_config.py index 51a3c51d91..b5f25bf498 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_query_logging_config.py +++ b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_query_logging_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -148,9 +153,6 @@ def get_resolver_query_logging_config(id: Optional[str] = None, owner_id=pulumi.get(__ret__, 'owner_id'), share_status=pulumi.get(__ret__, 'share_status'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_resolver_query_logging_config) def get_resolver_query_logging_config_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverQueryLoggingConfigResult]: """ @@ -159,4 +161,16 @@ def get_resolver_query_logging_config_output(id: Optional[pulumi.Input[str]] = N :param str id: ResourceId """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53resolver:getResolverQueryLoggingConfig', __args__, opts=opts, typ=GetResolverQueryLoggingConfigResult) + return __ret__.apply(lambda __response__: GetResolverQueryLoggingConfigResult( + arn=pulumi.get(__response__, 'arn'), + association_count=pulumi.get(__response__, 'association_count'), + creation_time=pulumi.get(__response__, 'creation_time'), + creator_request_id=pulumi.get(__response__, 'creator_request_id'), + id=pulumi.get(__response__, 'id'), + owner_id=pulumi.get(__response__, 'owner_id'), + share_status=pulumi.get(__response__, 'share_status'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_query_logging_config_association.py b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_query_logging_config_association.py index 67738c5008..24940e877a 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_query_logging_config_association.py +++ b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_query_logging_config_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -109,9 +114,6 @@ def get_resolver_query_logging_config_association(id: Optional[str] = None, error_message=pulumi.get(__ret__, 'error_message'), id=pulumi.get(__ret__, 'id'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_resolver_query_logging_config_association) def get_resolver_query_logging_config_association_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverQueryLoggingConfigAssociationResult]: """ @@ -120,4 +122,13 @@ def get_resolver_query_logging_config_association_output(id: Optional[pulumi.Inp :param str id: Id """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53resolver:getResolverQueryLoggingConfigAssociation', __args__, opts=opts, typ=GetResolverQueryLoggingConfigAssociationResult) + return __ret__.apply(lambda __response__: GetResolverQueryLoggingConfigAssociationResult( + creation_time=pulumi.get(__response__, 'creation_time'), + error=pulumi.get(__response__, 'error'), + error_message=pulumi.get(__response__, 'error_message'), + id=pulumi.get(__response__, 'id'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_rule.py b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_rule.py index 02598e8a38..c98d869031 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_rule.py +++ b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_resolver_rule(resolver_rule_id: Optional[str] = None, resolver_rule_id=pulumi.get(__ret__, 'resolver_rule_id'), tags=pulumi.get(__ret__, 'tags'), target_ips=pulumi.get(__ret__, 'target_ips')) - - -@_utilities.lift_output_func(get_resolver_rule) def get_resolver_rule_output(resolver_rule_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverRuleResult]: """ @@ -148,4 +150,15 @@ def get_resolver_rule_output(resolver_rule_id: Optional[pulumi.Input[str]] = Non :param str resolver_rule_id: The ID of the endpoint that the rule is associated with. """ - ... + __args__ = dict() + __args__['resolverRuleId'] = resolver_rule_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53resolver:getResolverRule', __args__, opts=opts, typ=GetResolverRuleResult) + return __ret__.apply(lambda __response__: GetResolverRuleResult( + arn=pulumi.get(__response__, 'arn'), + domain_name=pulumi.get(__response__, 'domain_name'), + name=pulumi.get(__response__, 'name'), + resolver_endpoint_id=pulumi.get(__response__, 'resolver_endpoint_id'), + resolver_rule_id=pulumi.get(__response__, 'resolver_rule_id'), + tags=pulumi.get(__response__, 'tags'), + target_ips=pulumi.get(__response__, 'target_ips'))) diff --git a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_rule_association.py b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_rule_association.py index fd1016d4d5..86d989e4d8 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/get_resolver_rule_association.py +++ b/sdk/python/pulumi_aws_native/route53resolver/get_resolver_rule_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_resolver_rule_association(resolver_rule_association_id: Optional[str] = return AwaitableGetResolverRuleAssociationResult( resolver_rule_association_id=pulumi.get(__ret__, 'resolver_rule_association_id')) - - -@_utilities.lift_output_func(get_resolver_rule_association) def get_resolver_rule_association_output(resolver_rule_association_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResolverRuleAssociationResult]: """ @@ -67,4 +69,9 @@ def get_resolver_rule_association_output(resolver_rule_association_id: Optional[ :param str resolver_rule_association_id: The ID of the resolver rule association that you want to get information about, such as `rslvr-rrassoc-97242eaf88example` . """ - ... + __args__ = dict() + __args__['resolverRuleAssociationId'] = resolver_rule_association_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:route53resolver:getResolverRuleAssociation', __args__, opts=opts, typ=GetResolverRuleAssociationResult) + return __ret__.apply(lambda __response__: GetResolverRuleAssociationResult( + resolver_rule_association_id=pulumi.get(__response__, 'resolver_rule_association_id'))) diff --git a/sdk/python/pulumi_aws_native/route53resolver/outpost_resolver.py b/sdk/python/pulumi_aws_native/route53resolver/outpost_resolver.py index e4e2e2c9d3..38406f9769 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/outpost_resolver.py +++ b/sdk/python/pulumi_aws_native/route53resolver/outpost_resolver.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/route53resolver/outputs.py b/sdk/python/pulumi_aws_native/route53resolver/outputs.py index ea29690853..0abe8a9ebf 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/outputs.py +++ b/sdk/python/pulumi_aws_native/route53resolver/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/route53resolver/resolver_config.py b/sdk/python/pulumi_aws_native/route53resolver/resolver_config.py index dcef62889e..ab54111ce2 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/resolver_config.py +++ b/sdk/python/pulumi_aws_native/route53resolver/resolver_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/route53resolver/resolver_dnssec_config.py b/sdk/python/pulumi_aws_native/route53resolver/resolver_dnssec_config.py index dda48b46f7..399ee87800 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/resolver_dnssec_config.py +++ b/sdk/python/pulumi_aws_native/route53resolver/resolver_dnssec_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/route53resolver/resolver_query_logging_config.py b/sdk/python/pulumi_aws_native/route53resolver/resolver_query_logging_config.py index 818657613b..2549558aba 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/resolver_query_logging_config.py +++ b/sdk/python/pulumi_aws_native/route53resolver/resolver_query_logging_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/route53resolver/resolver_query_logging_config_association.py b/sdk/python/pulumi_aws_native/route53resolver/resolver_query_logging_config_association.py index 298d99ee1e..51b4541149 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/resolver_query_logging_config_association.py +++ b/sdk/python/pulumi_aws_native/route53resolver/resolver_query_logging_config_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/route53resolver/resolver_rule.py b/sdk/python/pulumi_aws_native/route53resolver/resolver_rule.py index 4edb555c21..121e95bab2 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/resolver_rule.py +++ b/sdk/python/pulumi_aws_native/route53resolver/resolver_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/route53resolver/resolver_rule_association.py b/sdk/python/pulumi_aws_native/route53resolver/resolver_rule_association.py index a86ccd36ab..02911c4d25 100644 --- a/sdk/python/pulumi_aws_native/route53resolver/resolver_rule_association.py +++ b/sdk/python/pulumi_aws_native/route53resolver/resolver_rule_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ResolverRuleAssociationArgs', 'ResolverRuleAssociation'] diff --git a/sdk/python/pulumi_aws_native/rum/_inputs.py b/sdk/python/pulumi_aws_native/rum/_inputs.py index 72c59577b3..66aee5c32d 100644 --- a/sdk/python/pulumi_aws_native/rum/_inputs.py +++ b/sdk/python/pulumi_aws_native/rum/_inputs.py @@ -4,19 +4,78 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AppMonitorConfigurationArgs', + 'AppMonitorConfigurationArgsDict', 'AppMonitorCustomEventsArgs', + 'AppMonitorCustomEventsArgsDict', 'AppMonitorMetricDefinitionArgs', + 'AppMonitorMetricDefinitionArgsDict', 'AppMonitorMetricDestinationArgs', + 'AppMonitorMetricDestinationArgsDict', ] +MYPY = False + +if not MYPY: + class AppMonitorConfigurationArgsDict(TypedDict): + """ + AppMonitor configuration + """ + allow_cookies: NotRequired[pulumi.Input[bool]] + """ + If you set this to true, the RUM web client sets two cookies, a session cookie and a user cookie. The cookies allow the RUM web client to collect data relating to the number of users an application has and the behavior of the application across a sequence of events. Cookies are stored in the top-level domain of the current page. + """ + enable_x_ray: NotRequired[pulumi.Input[bool]] + """ + If you set this to true, RUM enables xray tracing for the user sessions that RUM samples. RUM adds an xray trace header to allowed HTTP requests. It also records an xray segment for allowed HTTP requests. You can see traces and segments from these user sessions in the xray console and the CW ServiceLens console. + """ + excluded_pages: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of URLs in your website or application to exclude from RUM data collection. You can't include both ExcludedPages and IncludedPages in the same operation. + """ + favorite_pages: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of pages in the RUM console that are to be displayed with a favorite icon. + """ + guest_role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the guest IAM role that is attached to the identity pool that is used to authorize the sending of data to RUM. + """ + identity_pool_id: NotRequired[pulumi.Input[str]] + """ + The ID of the identity pool that is used to authorize the sending of data to RUM. + """ + included_pages: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + If this app monitor is to collect data from only certain pages in your application, this structure lists those pages. You can't include both ExcludedPages and IncludedPages in the same operation. + """ + metric_destinations: NotRequired[pulumi.Input[Sequence[pulumi.Input['AppMonitorMetricDestinationArgsDict']]]] + """ + An array of structures which define the destinations and the metrics that you want to send. + """ + session_sample_rate: NotRequired[pulumi.Input[float]] + """ + Specifies the percentage of user sessions to use for RUM data collection. Choosing a higher percentage gives you more data but also incurs more costs. The number you specify is the percentage of user sessions that will be used. If you omit this parameter, the default of 10 is used. + """ + telemetries: NotRequired[pulumi.Input[Sequence[pulumi.Input['AppMonitorTelemetry']]]] + """ + An array that lists the types of telemetry data that this app monitor is to collect. + """ +elif False: + AppMonitorConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppMonitorConfigurationArgs: def __init__(__self__, *, @@ -185,6 +244,18 @@ def telemetries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppMon pulumi.set(self, "telemetries", value) +if not MYPY: + class AppMonitorCustomEventsArgsDict(TypedDict): + """ + AppMonitor custom events configuration + """ + status: NotRequired[pulumi.Input['AppMonitorCustomEventsStatus']] + """ + Indicates whether AppMonitor accepts custom events. + """ +elif False: + AppMonitorCustomEventsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppMonitorCustomEventsArgs: def __init__(__self__, *, @@ -209,6 +280,92 @@ def status(self, value: Optional[pulumi.Input['AppMonitorCustomEventsStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class AppMonitorMetricDefinitionArgsDict(TypedDict): + """ + A single metric definition + """ + name: pulumi.Input[str] + """ + The name for the metric that is defined in this structure. For extended metrics, valid values are the following: + + PerformanceNavigationDuration + + PerformanceResourceDuration + + NavigationSatisfiedTransaction + + NavigationToleratedTransaction + + NavigationFrustratedTransaction + + WebVitalsCumulativeLayoutShift + + WebVitalsFirstInputDelay + + WebVitalsLargestContentfulPaint + + JsErrorCount + + HttpErrorCount + + SessionCount + """ + dimension_keys: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Use this field only if you are sending the metric to CloudWatch. + + This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch. For extended metrics, valid values for the entries in this field are the following: + + "metadata.pageId": "PageId" + + "metadata.browserName": "BrowserName" + + "metadata.deviceType": "DeviceType" + + "metadata.osName": "OSName" + + "metadata.countryCode": "CountryCode" + + "event_details.fileType": "FileType" + + All dimensions listed in this field must also be included in EventPattern. + """ + event_pattern: NotRequired[pulumi.Input[str]] + """ + The pattern that defines the metric, specified as a JSON object. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination. + + When you define extended metrics, the metric definition is not valid if EventPattern is omitted. + + Example event patterns: + + '{ "event_type": ["com.amazon.rum.js_error_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], } }' + + '{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Firefox" ] }, "event_details": { "duration": [{ "numeric": [ "<", 2000 ] }] } }' + + '{ "event_type": ["com.amazon.rum.performance_navigation_event"], "metadata": { "browserName": [ "Chrome", "Safari" ], "countryCode": [ "US" ] }, "event_details": { "duration": [{ "numeric": [ ">=", 2000, "<", 8000 ] }] } }' + + If the metrics destination' is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions. + """ + namespace: NotRequired[pulumi.Input[str]] + """ + The namespace used by CloudWatch Metrics for the metric that is defined in this structure + """ + unit_label: NotRequired[pulumi.Input[str]] + """ + The CloudWatch metric unit to use for this metric. If you omit this field, the metric is recorded with no unit. + """ + value_key: NotRequired[pulumi.Input[str]] + """ + The field within the event object that the metric value is sourced from. + + If you omit this field, a hardcoded value of 1 is pushed as the metric value. This is useful if you just want to count the number of events that the filter catches. + + If this metric is sent to Evidently, this field will be passed to Evidently raw and Evidently will handle data extraction from the event. + """ +elif False: + AppMonitorMetricDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppMonitorMetricDefinitionArgs: def __init__(__self__, *, @@ -420,6 +577,32 @@ def value_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "value_key", value) +if not MYPY: + class AppMonitorMetricDestinationArgsDict(TypedDict): + """ + An structure which defines the destination and the metrics that you want to send. + """ + destination: pulumi.Input['AppMonitorMetricDestinationDestination'] + """ + Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the Evidently experiment that is to be the destination and an IAM role that has permission to write to the experiment. + """ + destination_arn: NotRequired[pulumi.Input[str]] + """ + Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics. + """ + iam_role_arn: NotRequired[pulumi.Input[str]] + """ + This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter. + + This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment. + """ + metric_definitions: NotRequired[pulumi.Input[Sequence[pulumi.Input['AppMonitorMetricDefinitionArgsDict']]]] + """ + An array of structures which define the metrics that you want to send. + """ +elif False: + AppMonitorMetricDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppMonitorMetricDestinationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/rum/app_monitor.py b/sdk/python/pulumi_aws_native/rum/app_monitor.py index 000cb8ee8d..c52130564b 100644 --- a/sdk/python/pulumi_aws_native/rum/app_monitor.py +++ b/sdk/python/pulumi_aws_native/rum/app_monitor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/rum/get_app_monitor.py b/sdk/python/pulumi_aws_native/rum/get_app_monitor.py index 3d9a9115b5..9cfe754b2c 100644 --- a/sdk/python/pulumi_aws_native/rum/get_app_monitor.py +++ b/sdk/python/pulumi_aws_native/rum/get_app_monitor.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -134,9 +139,6 @@ def get_app_monitor(name: Optional[str] = None, domain=pulumi.get(__ret__, 'domain'), id=pulumi.get(__ret__, 'id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_app_monitor) def get_app_monitor_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppMonitorResult]: """ @@ -145,4 +147,14 @@ def get_app_monitor_output(name: Optional[pulumi.Input[str]] = None, :param str name: A name for the app monitor """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:rum:getAppMonitor', __args__, opts=opts, typ=GetAppMonitorResult) + return __ret__.apply(lambda __response__: GetAppMonitorResult( + app_monitor_configuration=pulumi.get(__response__, 'app_monitor_configuration'), + custom_events=pulumi.get(__response__, 'custom_events'), + cw_log_enabled=pulumi.get(__response__, 'cw_log_enabled'), + domain=pulumi.get(__response__, 'domain'), + id=pulumi.get(__response__, 'id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/rum/outputs.py b/sdk/python/pulumi_aws_native/rum/outputs.py index dcd4f31966..b349a556d8 100644 --- a/sdk/python/pulumi_aws_native/rum/outputs.py +++ b/sdk/python/pulumi_aws_native/rum/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/s3/_inputs.py b/sdk/python/pulumi_aws_native/s3/_inputs.py index 9834f865ac..02333db3b0 100644 --- a/sdk/python/pulumi_aws_native/s3/_inputs.py +++ b/sdk/python/pulumi_aws_native/s3/_inputs.py @@ -4,102 +4,209 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AccessGrantGranteeArgs', + 'AccessGrantGranteeArgsDict', 'AccessGrantsLocationConfigurationArgs', + 'AccessGrantsLocationConfigurationArgsDict', 'AccessPointPublicAccessBlockConfigurationArgs', + 'AccessPointPublicAccessBlockConfigurationArgsDict', 'AccessPointVpcConfigurationArgs', + 'AccessPointVpcConfigurationArgsDict', 'BucketAbortIncompleteMultipartUploadArgs', + 'BucketAbortIncompleteMultipartUploadArgsDict', 'BucketAccelerateConfigurationArgs', + 'BucketAccelerateConfigurationArgsDict', 'BucketAccessControlTranslationArgs', + 'BucketAccessControlTranslationArgsDict', 'BucketAnalyticsConfigurationArgs', + 'BucketAnalyticsConfigurationArgsDict', 'BucketCorsConfigurationArgs', + 'BucketCorsConfigurationArgsDict', 'BucketCorsRuleArgs', + 'BucketCorsRuleArgsDict', 'BucketDataExportArgs', + 'BucketDataExportArgsDict', 'BucketDefaultRetentionArgs', + 'BucketDefaultRetentionArgsDict', 'BucketDeleteMarkerReplicationArgs', + 'BucketDeleteMarkerReplicationArgsDict', 'BucketDestinationArgs', + 'BucketDestinationArgsDict', 'BucketEncryptionConfigurationArgs', + 'BucketEncryptionConfigurationArgsDict', 'BucketEncryptionArgs', + 'BucketEncryptionArgsDict', 'BucketEventBridgeConfigurationArgs', + 'BucketEventBridgeConfigurationArgsDict', 'BucketFilterRuleArgs', + 'BucketFilterRuleArgsDict', 'BucketIntelligentTieringConfigurationArgs', + 'BucketIntelligentTieringConfigurationArgsDict', 'BucketInventoryConfigurationArgs', + 'BucketInventoryConfigurationArgsDict', 'BucketLambdaConfigurationArgs', + 'BucketLambdaConfigurationArgsDict', 'BucketLifecycleConfigurationArgs', + 'BucketLifecycleConfigurationArgsDict', 'BucketLoggingConfigurationArgs', + 'BucketLoggingConfigurationArgsDict', 'BucketMetricsConfigurationArgs', + 'BucketMetricsConfigurationArgsDict', 'BucketMetricsArgs', + 'BucketMetricsArgsDict', 'BucketNoncurrentVersionExpirationArgs', + 'BucketNoncurrentVersionExpirationArgsDict', 'BucketNoncurrentVersionTransitionArgs', + 'BucketNoncurrentVersionTransitionArgsDict', 'BucketNotificationConfigurationArgs', + 'BucketNotificationConfigurationArgsDict', 'BucketNotificationFilterArgs', + 'BucketNotificationFilterArgsDict', 'BucketObjectLockConfigurationArgs', + 'BucketObjectLockConfigurationArgsDict', 'BucketObjectLockRuleArgs', + 'BucketObjectLockRuleArgsDict', 'BucketOwnershipControlsRuleArgs', + 'BucketOwnershipControlsRuleArgsDict', 'BucketOwnershipControlsArgs', + 'BucketOwnershipControlsArgsDict', 'BucketPublicAccessBlockConfigurationArgs', + 'BucketPublicAccessBlockConfigurationArgsDict', 'BucketQueueConfigurationArgs', + 'BucketQueueConfigurationArgsDict', 'BucketRedirectAllRequestsToArgs', + 'BucketRedirectAllRequestsToArgsDict', 'BucketRedirectRuleArgs', + 'BucketRedirectRuleArgsDict', 'BucketReplicaModificationsArgs', + 'BucketReplicaModificationsArgsDict', 'BucketReplicationConfigurationArgs', + 'BucketReplicationConfigurationArgsDict', 'BucketReplicationDestinationArgs', + 'BucketReplicationDestinationArgsDict', 'BucketReplicationRuleAndOperatorArgs', + 'BucketReplicationRuleAndOperatorArgsDict', 'BucketReplicationRuleFilterArgs', + 'BucketReplicationRuleFilterArgsDict', 'BucketReplicationRuleArgs', + 'BucketReplicationRuleArgsDict', 'BucketReplicationTimeValueArgs', + 'BucketReplicationTimeValueArgsDict', 'BucketReplicationTimeArgs', + 'BucketReplicationTimeArgsDict', 'BucketRoutingRuleConditionArgs', + 'BucketRoutingRuleConditionArgsDict', 'BucketRoutingRuleArgs', + 'BucketRoutingRuleArgsDict', 'BucketRuleArgs', + 'BucketRuleArgsDict', 'BucketS3KeyFilterArgs', + 'BucketS3KeyFilterArgsDict', 'BucketServerSideEncryptionByDefaultArgs', + 'BucketServerSideEncryptionByDefaultArgsDict', 'BucketServerSideEncryptionRuleArgs', + 'BucketServerSideEncryptionRuleArgsDict', 'BucketSourceSelectionCriteriaArgs', + 'BucketSourceSelectionCriteriaArgsDict', 'BucketSseKmsEncryptedObjectsArgs', + 'BucketSseKmsEncryptedObjectsArgsDict', 'BucketStorageClassAnalysisArgs', + 'BucketStorageClassAnalysisArgsDict', 'BucketTagFilterArgs', + 'BucketTagFilterArgsDict', 'BucketTargetObjectKeyFormatArgs', + 'BucketTargetObjectKeyFormatArgsDict', 'BucketTieringArgs', + 'BucketTieringArgsDict', 'BucketTopicConfigurationArgs', + 'BucketTopicConfigurationArgsDict', 'BucketTransitionArgs', + 'BucketTransitionArgsDict', 'BucketVersioningConfigurationArgs', + 'BucketVersioningConfigurationArgsDict', 'BucketWebsiteConfigurationArgs', + 'BucketWebsiteConfigurationArgsDict', 'MultiRegionAccessPointPublicAccessBlockConfigurationArgs', + 'MultiRegionAccessPointPublicAccessBlockConfigurationArgsDict', 'MultiRegionAccessPointRegionArgs', + 'MultiRegionAccessPointRegionArgsDict', 'StorageLensAccountLevelArgs', + 'StorageLensAccountLevelArgsDict', 'StorageLensActivityMetricsArgs', + 'StorageLensActivityMetricsArgsDict', 'StorageLensAdvancedCostOptimizationMetricsArgs', + 'StorageLensAdvancedCostOptimizationMetricsArgsDict', 'StorageLensAdvancedDataProtectionMetricsArgs', + 'StorageLensAdvancedDataProtectionMetricsArgsDict', 'StorageLensAwsOrgArgs', + 'StorageLensAwsOrgArgsDict', 'StorageLensBucketLevelArgs', + 'StorageLensBucketLevelArgsDict', 'StorageLensBucketsAndRegionsArgs', + 'StorageLensBucketsAndRegionsArgsDict', 'StorageLensCloudWatchMetricsArgs', + 'StorageLensCloudWatchMetricsArgsDict', 'StorageLensConfigurationArgs', + 'StorageLensConfigurationArgsDict', 'StorageLensDataExportArgs', + 'StorageLensDataExportArgsDict', 'StorageLensDetailedStatusCodesMetricsArgs', + 'StorageLensDetailedStatusCodesMetricsArgsDict', 'StorageLensEncryptionArgs', + 'StorageLensEncryptionArgsDict', 'StorageLensGroupAndArgs', + 'StorageLensGroupAndArgsDict', 'StorageLensGroupFilterArgs', + 'StorageLensGroupFilterArgsDict', 'StorageLensGroupLevelArgs', + 'StorageLensGroupLevelArgsDict', 'StorageLensGroupMatchObjectAgeArgs', + 'StorageLensGroupMatchObjectAgeArgsDict', 'StorageLensGroupMatchObjectSizeArgs', + 'StorageLensGroupMatchObjectSizeArgsDict', 'StorageLensGroupOrArgs', + 'StorageLensGroupOrArgsDict', 'StorageLensGroupSelectionCriteriaArgs', + 'StorageLensGroupSelectionCriteriaArgsDict', 'StorageLensGroupTagArgs', + 'StorageLensGroupTagArgsDict', 'StorageLensPrefixLevelStorageMetricsArgs', + 'StorageLensPrefixLevelStorageMetricsArgsDict', 'StorageLensPrefixLevelArgs', + 'StorageLensPrefixLevelArgsDict', 'StorageLensS3BucketDestinationArgs', + 'StorageLensS3BucketDestinationArgsDict', 'StorageLensSelectionCriteriaArgs', + 'StorageLensSelectionCriteriaArgsDict', ] +MYPY = False + +if not MYPY: + class AccessGrantGranteeArgsDict(TypedDict): + grantee_identifier: pulumi.Input[str] + """ + The unique identifier of the Grantee + """ + grantee_type: pulumi.Input['AccessGrantGranteeGranteeType'] + """ + Configures the transfer acceleration state for an Amazon S3 bucket. + """ +elif False: + AccessGrantGranteeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessGrantGranteeArgs: def __init__(__self__, *, @@ -137,6 +244,15 @@ def grantee_type(self, value: pulumi.Input['AccessGrantGranteeGranteeType']): pulumi.set(self, "grantee_type", value) +if not MYPY: + class AccessGrantsLocationConfigurationArgsDict(TypedDict): + s3_sub_prefix: pulumi.Input[str] + """ + The S3 sub prefix of a registered location in your S3 Access Grants instance + """ +elif False: + AccessGrantsLocationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessGrantsLocationConfigurationArgs: def __init__(__self__, *, @@ -159,6 +275,32 @@ def s3_sub_prefix(self, value: pulumi.Input[str]): pulumi.set(self, "s3_sub_prefix", value) +if not MYPY: + class AccessPointPublicAccessBlockConfigurationArgsDict(TypedDict): + block_public_acls: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should block public access control lists (ACLs) for buckets in this account. Setting this element to TRUE causes the following behavior: + - PUT Bucket acl and PUT Object acl calls fail if the specified ACL is public. + - PUT Object calls fail if the request includes a public ACL. + . - PUT Bucket calls fail if the request includes a public ACL. + Enabling this setting doesn't affect existing policies or ACLs. + """ + block_public_policy: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should block public bucket policies for buckets in this account. Setting this element to TRUE causes Amazon S3 to reject calls to PUT Bucket policy if the specified bucket policy allows public access. Enabling this setting doesn't affect existing bucket policies. + """ + ignore_public_acls: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should ignore public ACLs for buckets in this account. Setting this element to TRUE causes Amazon S3 to ignore all public ACLs on buckets in this account and any objects that they contain. Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set. + """ + restrict_public_buckets: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting this element to TRUE restricts access to this bucket to only AWS services and authorized users within this account if the bucket has a public policy. + Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked. + """ +elif False: + AccessPointPublicAccessBlockConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPointPublicAccessBlockConfigurationArgs: def __init__(__self__, *, @@ -240,6 +382,18 @@ def restrict_public_buckets(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "restrict_public_buckets", value) +if not MYPY: + class AccessPointVpcConfigurationArgsDict(TypedDict): + """ + The Virtual Private Cloud (VPC) configuration for a bucket access point. + """ + vpc_id: NotRequired[pulumi.Input[str]] + """ + If this field is specified, this access point will only allow connections from the specified VPC ID. + """ +elif False: + AccessPointVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPointVpcConfigurationArgs: def __init__(__self__, *, @@ -264,6 +418,18 @@ def vpc_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_id", value) +if not MYPY: + class BucketAbortIncompleteMultipartUploadArgsDict(TypedDict): + """ + Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. For more information, see [Stopping Incomplete Multipart Uploads Using a Bucket Lifecycle Policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config) in the *Amazon S3 User Guide*. + """ + days_after_initiation: pulumi.Input[int] + """ + Specifies the number of days after which Amazon S3 stops an incomplete multipart upload. + """ +elif False: + BucketAbortIncompleteMultipartUploadArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketAbortIncompleteMultipartUploadArgs: def __init__(__self__, *, @@ -287,6 +453,18 @@ def days_after_initiation(self, value: pulumi.Input[int]): pulumi.set(self, "days_after_initiation", value) +if not MYPY: + class BucketAccelerateConfigurationArgsDict(TypedDict): + """ + Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see [Amazon S3 Transfer Acceleration](https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) in the *Amazon S3 User Guide*. + """ + acceleration_status: pulumi.Input['BucketAccelerateConfigurationAccelerationStatus'] + """ + Specifies the transfer acceleration status of the bucket. + """ +elif False: + BucketAccelerateConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketAccelerateConfigurationArgs: def __init__(__self__, *, @@ -310,6 +488,18 @@ def acceleration_status(self, value: pulumi.Input['BucketAccelerateConfiguration pulumi.set(self, "acceleration_status", value) +if not MYPY: + class BucketAccessControlTranslationArgsDict(TypedDict): + """ + Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS-account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS-account that owns the source object. + """ + owner: pulumi.Input[str] + """ + Specifies the replica ownership. For default and valid values, see [PUT bucket replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) in the *Amazon S3 API Reference*. + """ +elif False: + BucketAccessControlTranslationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketAccessControlTranslationArgs: def __init__(__self__, *, @@ -333,6 +523,31 @@ def owner(self, value: pulumi.Input[str]): pulumi.set(self, "owner", value) +if not MYPY: + class BucketAnalyticsConfigurationArgsDict(TypedDict): + """ + Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket. + """ + id: pulumi.Input[str] + """ + The ID that identifies the analytics configuration. + """ + storage_class_analysis: pulumi.Input['BucketStorageClassAnalysisArgsDict'] + """ + Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + The prefix that an object must have to be included in the analytics results. + """ + tag_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketTagFilterArgsDict']]]] + """ + The tags to use when evaluating an analytics filter. + The analytics only includes objects that meet the filter's criteria. If no filter is specified, all of the contents of the bucket are included in the analysis. + """ +elif False: + BucketAnalyticsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketAnalyticsConfigurationArgs: def __init__(__self__, *, @@ -405,6 +620,18 @@ def tag_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Bucket pulumi.set(self, "tag_filters", value) +if not MYPY: + class BucketCorsConfigurationArgsDict(TypedDict): + """ + Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see [Enabling Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in the *Amazon S3 User Guide*. + """ + cors_rules: pulumi.Input[Sequence[pulumi.Input['BucketCorsRuleArgsDict']]] + """ + A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration. + """ +elif False: + BucketCorsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketCorsConfigurationArgs: def __init__(__self__, *, @@ -428,6 +655,39 @@ def cors_rules(self, value: pulumi.Input[Sequence[pulumi.Input['BucketCorsRuleAr pulumi.set(self, "cors_rules", value) +if not MYPY: + class BucketCorsRuleArgsDict(TypedDict): + """ + Specifies a cross-origin access rule for an Amazon S3 bucket. + """ + allowed_methods: pulumi.Input[Sequence[pulumi.Input['BucketCorsRuleAllowedMethodsItem']]] + """ + An HTTP method that you allow the origin to run. + *Allowed values*: ``GET`` | ``PUT`` | ``HEAD`` | ``POST`` | ``DELETE`` + """ + allowed_origins: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + One or more origins you want customers to be able to access the bucket from. + """ + allowed_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Headers that are specified in the ``Access-Control-Request-Headers`` header. These headers are allowed in a preflight OPTIONS request. In response to any preflight OPTIONS request, Amazon S3 returns any requested headers that are allowed. + """ + exposed_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript ``XMLHttpRequest`` object). + """ + id: NotRequired[pulumi.Input[str]] + """ + A unique identifier for this rule. The value must be no more than 255 characters. + """ + max_age: NotRequired[pulumi.Input[int]] + """ + The time in seconds that your browser is to cache the preflight response for the specified resource. + """ +elif False: + BucketCorsRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketCorsRuleArgs: def __init__(__self__, *, @@ -532,6 +792,22 @@ def max_age(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_age", value) +if not MYPY: + class BucketDataExportArgsDict(TypedDict): + """ + Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported. + """ + destination: pulumi.Input['BucketDestinationArgsDict'] + """ + The place to store the data for an analysis. + """ + output_schema_version: pulumi.Input[str] + """ + The version of the output schema to use when exporting data. Must be ``V_1``. + """ +elif False: + BucketDataExportArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketDataExportArgs: def __init__(__self__, *, @@ -570,6 +846,28 @@ def output_schema_version(self, value: pulumi.Input[str]): pulumi.set(self, "output_schema_version", value) +if not MYPY: + class BucketDefaultRetentionArgsDict(TypedDict): + """ + The container element for optionally specifying the default Object Lock retention settings for new objects placed in the specified bucket. + + The ``DefaultRetention`` settings require both a mode and a period. + + The ``DefaultRetention`` period can be either ``Days`` or ``Years`` but you must select one. You cannot specify ``Days`` and ``Years`` at the same time. + """ + days: NotRequired[pulumi.Input[int]] + """ + The number of days that you want to specify for the default retention period. If Object Lock is turned on, you must specify ``Mode`` and specify either ``Days`` or ``Years``. + """ + mode: NotRequired[pulumi.Input['BucketDefaultRetentionMode']] + """ + The default Object Lock retention mode you want to apply to new objects placed in the specified bucket. If Object Lock is turned on, you must specify ``Mode`` and specify either ``Days`` or ``Years``. + """ + years: NotRequired[pulumi.Input[int]] + """ + The number of years that you want to specify for the default retention period. If Object Lock is turned on, you must specify ``Mode`` and specify either ``Days`` or ``Years``. + """ +elif False: + BucketDefaultRetentionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketDefaultRetentionArgs: def __init__(__self__, *, @@ -628,6 +926,20 @@ def years(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "years", value) +if not MYPY: + class BucketDeleteMarkerReplicationArgsDict(TypedDict): + """ + Specifies whether Amazon S3 replicates delete markers. If you specify a ``Filter`` in your replication configuration, you must also include a ``DeleteMarkerReplication`` element. If your ``Filter`` includes a ``Tag`` element, the ``DeleteMarkerReplication`` ``Status`` must be set to Disabled, because Amazon S3 does not support replicating delete markers for tag-based rules. For an example configuration, see [Basic Rule Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-config-min-rule-config). + For more information about delete marker replication, see [Basic Rule Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-marker-replication.html). + If you are using an earlier version of the replication configuration, Amazon S3 handles replication of delete markers differently. For more information, see [Backward Compatibility](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-backward-compat-considerations). + """ + status: NotRequired[pulumi.Input['BucketDeleteMarkerReplicationStatus']] + """ + Indicates whether to replicate delete markers. Disabled by default. + """ +elif False: + BucketDeleteMarkerReplicationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketDeleteMarkerReplicationArgs: def __init__(__self__, *, @@ -654,6 +966,32 @@ def status(self, value: Optional[pulumi.Input['BucketDeleteMarkerReplicationStat pulumi.set(self, "status", value) +if not MYPY: + class BucketDestinationArgsDict(TypedDict): + """ + Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket. + """ + bucket_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the bucket to which data is exported. + """ + format: pulumi.Input['BucketDestinationFormat'] + """ + Specifies the file format used when exporting data to Amazon S3. + *Allowed values*: ``CSV`` | ``ORC`` | ``Parquet`` + """ + bucket_account_id: NotRequired[pulumi.Input[str]] + """ + The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data. + Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + The prefix to use when exporting data. The prefix is prepended to all results. + """ +elif False: + BucketDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketDestinationArgs: def __init__(__self__, *, @@ -728,6 +1066,19 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class BucketEncryptionConfigurationArgsDict(TypedDict): + """ + Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects. + If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner. + """ + replica_kms_key_id: pulumi.Input[str] + """ + Specifies the ID (Key ARN or Alias ARN) of the customer managed AWS KMS key stored in AWS Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more information, see [Asymmetric keys in KMS](https://docs.aws.amazon.com//kms/latest/developerguide/symmetric-asymmetric.html) in the *Key Management Service Developer Guide*. + """ +elif False: + BucketEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketEncryptionConfigurationArgs: def __init__(__self__, *, @@ -752,6 +1103,18 @@ def replica_kms_key_id(self, value: pulumi.Input[str]): pulumi.set(self, "replica_kms_key_id", value) +if not MYPY: + class BucketEncryptionArgsDict(TypedDict): + """ + Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3), AWS KMS-managed keys (SSE-KMS), or dual-layer server-side encryption with KMS-managed keys (DSSE-KMS). For information about the Amazon S3 default encryption feature, see [Amazon S3 Default Encryption for S3 Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html) in the *Amazon S3 User Guide*. + """ + server_side_encryption_configuration: pulumi.Input[Sequence[pulumi.Input['BucketServerSideEncryptionRuleArgsDict']]] + """ + Specifies the default server-side-encryption configuration. + """ +elif False: + BucketEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketEncryptionArgs: def __init__(__self__, *, @@ -775,6 +1138,19 @@ def server_side_encryption_configuration(self, value: pulumi.Input[Sequence[pulu pulumi.set(self, "server_side_encryption_configuration", value) +if not MYPY: + class BucketEventBridgeConfigurationArgsDict(TypedDict): + """ + Amazon S3 can send events to Amazon EventBridge whenever certain events happen in your bucket, see [Using EventBridge](https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventBridge.html) in the *Amazon S3 User Guide*. + Unlike other destinations, delivery of events to EventBridge can be either enabled or disabled for a bucket. If enabled, all events will be sent to EventBridge and you can use EventBridge rules to route events to additional targets. For more information, see [What Is Amazon EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is.html) in the *Amazon EventBridge User Guide* + """ + event_bridge_enabled: pulumi.Input[bool] + """ + Enables delivery of events to Amazon EventBridge. + """ +elif False: + BucketEventBridgeConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketEventBridgeConfigurationArgs: def __init__(__self__, *, @@ -799,6 +1175,22 @@ def event_bridge_enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "event_bridge_enabled", value) +if not MYPY: + class BucketFilterRuleArgsDict(TypedDict): + """ + Specifies the Amazon S3 object key name to filter on. An object key name is the name assigned to an object in your Amazon S3 bucket. You specify whether to filter on the suffix or prefix of the object key name. A prefix is a specific string of characters at the beginning of an object key name, which you can use to organize objects. For example, you can start the key names of related objects with a prefix, such as ``2023-`` or ``engineering/``. Then, you can use ``FilterRule`` to find objects in a bucket with key names that have the same prefix. A suffix is similar to a prefix, but it is at the end of the object key name instead of at the beginning. + """ + name: pulumi.Input[str] + """ + The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see [Configuring Event Notifications](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) in the *Amazon S3 User Guide*. + """ + value: pulumi.Input[str] + """ + The value that the filter searches for in object key names. + """ +elif False: + BucketFilterRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketFilterRuleArgs: def __init__(__self__, *, @@ -837,6 +1229,36 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class BucketIntelligentTieringConfigurationArgsDict(TypedDict): + """ + Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket. + For information about the S3 Intelligent-Tiering storage class, see [Storage class for automatically optimizing frequently and infrequently accessed objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access). + """ + id: pulumi.Input[str] + """ + The ID used to identify the S3 Intelligent-Tiering configuration. + """ + status: pulumi.Input['BucketIntelligentTieringConfigurationStatus'] + """ + Specifies the status of the configuration. + """ + tierings: pulumi.Input[Sequence[pulumi.Input['BucketTieringArgsDict']]] + """ + Specifies a list of S3 Intelligent-Tiering storage class tiers in the configuration. At least one tier must be defined in the list. At most, you can specify two tiers in the list, one for each available AccessTier: ``ARCHIVE_ACCESS`` and ``DEEP_ARCHIVE_ACCESS``. + You only need Intelligent Tiering Configuration enabled on a bucket if you want to automatically move objects stored in the Intelligent-Tiering storage class to Archive Access or Deep Archive Access tiers. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + An object key name prefix that identifies the subset of objects to which the rule applies. + """ + tag_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketTagFilterArgsDict']]]] + """ + A container for a key-value pair. + """ +elif False: + BucketIntelligentTieringConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketIntelligentTieringConfigurationArgs: def __init__(__self__, *, @@ -925,6 +1347,42 @@ def tag_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Bucket pulumi.set(self, "tag_filters", value) +if not MYPY: + class BucketInventoryConfigurationArgsDict(TypedDict): + """ + Specifies the inventory configuration for an Amazon S3 bucket. For more information, see [GET Bucket inventory](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETInventoryConfig.html) in the *Amazon S3 API Reference*. + """ + destination: pulumi.Input['BucketDestinationArgsDict'] + """ + Contains information about where to publish the inventory results. + """ + enabled: pulumi.Input[bool] + """ + Specifies whether the inventory is enabled or disabled. If set to ``True``, an inventory list is generated. If set to ``False``, no inventory list is generated. + """ + id: pulumi.Input[str] + """ + The ID used to identify the inventory configuration. + """ + included_object_versions: pulumi.Input['BucketInventoryConfigurationIncludedObjectVersions'] + """ + Object versions to include in the inventory list. If set to ``All``, the list includes all the object versions, which adds the version-related fields ``VersionId``, ``IsLatest``, and ``DeleteMarker`` to the list. If set to ``Current``, the list does not contain these version-related fields. + """ + schedule_frequency: pulumi.Input['BucketInventoryConfigurationScheduleFrequency'] + """ + Specifies the schedule for generating inventory results. + """ + optional_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketInventoryConfigurationOptionalFieldsItem']]]] + """ + Contains the optional fields that are included in the inventory results. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Specifies the inventory filter prefix. + """ +elif False: + BucketInventoryConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketInventoryConfigurationArgs: def __init__(__self__, *, @@ -1040,6 +1498,26 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class BucketLambdaConfigurationArgsDict(TypedDict): + """ + Describes the LAMlong functions to invoke and the events for which to invoke them. + """ + event: pulumi.Input[str] + """ + The Amazon S3 bucket event for which to invoke the LAMlong function. For more information, see [Supported Event Types](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) in the *Amazon S3 User Guide*. + """ + function: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the LAMlong function that Amazon S3 invokes when the specified event type occurs. + """ + filter: NotRequired[pulumi.Input['BucketNotificationFilterArgsDict']] + """ + The filtering rules that determine which objects invoke the AWS Lambda function. For example, you can create a filter so that only image files with a ``.jpg`` extension invoke the function when they are added to the Amazon S3 bucket. + """ +elif False: + BucketLambdaConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketLambdaConfigurationArgs: def __init__(__self__, *, @@ -1094,6 +1572,19 @@ def filter(self, value: Optional[pulumi.Input['BucketNotificationFilterArgs']]): pulumi.set(self, "filter", value) +if not MYPY: + class BucketLifecycleConfigurationArgsDict(TypedDict): + """ + Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more information, see [Object Lifecycle Management](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html) in the *Amazon S3 User Guide*. + """ + rules: pulumi.Input[Sequence[pulumi.Input['BucketRuleArgsDict']]] + """ + A lifecycle rule for individual objects in an Amazon S3 bucket. + """ + transition_default_minimum_object_size: NotRequired[pulumi.Input['BucketLifecycleConfigurationTransitionDefaultMinimumObjectSize']] +elif False: + BucketLifecycleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketLifecycleConfigurationArgs: def __init__(__self__, *, @@ -1129,6 +1620,27 @@ def transition_default_minimum_object_size(self, value: Optional[pulumi.Input['B pulumi.set(self, "transition_default_minimum_object_size", value) +if not MYPY: + class BucketLoggingConfigurationArgsDict(TypedDict): + """ + Describes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a bucket. For examples and more information, see [PUT Bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlogging.html) in the *Amazon S3 API Reference*. + To successfully complete the ``AWS::S3::Bucket LoggingConfiguration`` request, you must have ``s3:PutObject`` and ``s3:PutObjectAcl`` in your IAM permissions. + """ + destination_bucket_name: NotRequired[pulumi.Input[str]] + """ + The name of the bucket where Amazon S3 should store server access log files. You can store log files in any bucket that you own. By default, logs are stored in the bucket where the ``LoggingConfiguration`` property is defined. + """ + log_file_prefix: NotRequired[pulumi.Input[str]] + """ + A prefix for all log object keys. If you store log files from multiple Amazon S3 buckets in a single bucket, you can use a prefix to distinguish which log files came from which bucket. + """ + target_object_key_format: NotRequired[pulumi.Input['BucketTargetObjectKeyFormatArgsDict']] + """ + Amazon S3 key format for log objects. Only one format, either PartitionedPrefix or SimplePrefix, is allowed. + """ +elif False: + BucketLoggingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketLoggingConfigurationArgs: def __init__(__self__, *, @@ -1186,6 +1698,30 @@ def target_object_key_format(self, value: Optional[pulumi.Input['BucketTargetObj pulumi.set(self, "target_object_key_format", value) +if not MYPY: + class BucketMetricsConfigurationArgsDict(TypedDict): + """ + Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For examples, see [AWS::S3::Bucket](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket.html#aws-properties-s3-bucket--examples). For more information, see [PUT Bucket metrics](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html) in the *Amazon S3 API Reference*. + """ + id: pulumi.Input[str] + """ + The ID used to identify the metrics configuration. This can be any value you choose that helps you identify your metrics configuration. + """ + access_point_arn: NotRequired[pulumi.Input[str]] + """ + The access point that was used while performing operations on the object. The metrics configuration only includes objects that meet the filter's criteria. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + The prefix that an object must have to be included in the metrics results. + """ + tag_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketTagFilterArgsDict']]]] + """ + Specifies a list of tag filters to use as a metrics configuration filter. The metrics configuration includes only objects that meet the filter's criteria. + """ +elif False: + BucketMetricsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketMetricsConfigurationArgs: def __init__(__self__, *, @@ -1257,6 +1793,22 @@ def tag_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Bucket pulumi.set(self, "tag_filters", value) +if not MYPY: + class BucketMetricsArgsDict(TypedDict): + """ + A container specifying replication metrics-related settings enabling replication metrics and events. + """ + status: pulumi.Input['BucketMetricsStatus'] + """ + Specifies whether the replication metrics are enabled. + """ + event_threshold: NotRequired[pulumi.Input['BucketReplicationTimeValueArgsDict']] + """ + A container specifying the time threshold for emitting the ``s3:Replication:OperationMissedThreshold`` event. + """ +elif False: + BucketMetricsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketMetricsArgs: def __init__(__self__, *, @@ -1296,6 +1848,22 @@ def event_threshold(self, value: Optional[pulumi.Input['BucketReplicationTimeVal pulumi.set(self, "event_threshold", value) +if not MYPY: + class BucketNoncurrentVersionExpirationArgsDict(TypedDict): + """ + Specifies when noncurrent object versions expire. Upon expiration, S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that S3 delete noncurrent object versions at a specific period in the object's lifetime. For more information about setting a lifecycle rule configuration, see [AWS::S3::Bucket Rule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html). + """ + noncurrent_days: pulumi.Input[int] + """ + Specifies the number of days an object is noncurrent before S3 can perform the associated action. For information about the noncurrent days calculations, see [How Amazon S3 Calculates When an Object Became Noncurrent](https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations) in the *Amazon S3 User Guide*. + """ + newer_noncurrent_versions: NotRequired[pulumi.Input[int]] + """ + Specifies how many noncurrent versions S3 will retain. If there are this many more recent noncurrent versions, S3 will take the associated action. For more information about noncurrent versions, see [Lifecycle configuration elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) in the *Amazon S3 User Guide*. + """ +elif False: + BucketNoncurrentVersionExpirationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketNoncurrentVersionExpirationArgs: def __init__(__self__, *, @@ -1335,6 +1903,26 @@ def newer_noncurrent_versions(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "newer_noncurrent_versions", value) +if not MYPY: + class BucketNoncurrentVersionTransitionArgsDict(TypedDict): + """ + Container for the transition rule that describes when noncurrent objects transition to the ``STANDARD_IA``, ``ONEZONE_IA``, ``INTELLIGENT_TIERING``, ``GLACIER_IR``, ``GLACIER``, or ``DEEP_ARCHIVE`` storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the ``STANDARD_IA``, ``ONEZONE_IA``, ``INTELLIGENT_TIERING``, ``GLACIER_IR``, ``GLACIER``, or ``DEEP_ARCHIVE`` storage class at a specific period in the object's lifetime. If you specify this property, don't specify the ``NoncurrentVersionTransitions`` property. + """ + storage_class: pulumi.Input['BucketNoncurrentVersionTransitionStorageClass'] + """ + The class of storage used to store the object. + """ + transition_in_days: pulumi.Input[int] + """ + Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see [How Amazon S3 Calculates How Long an Object Has Been Noncurrent](https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations) in the *Amazon S3 User Guide*. + """ + newer_noncurrent_versions: NotRequired[pulumi.Input[int]] + """ + Specifies how many noncurrent versions S3 will retain. If there are this many more recent noncurrent versions, S3 will take the associated action. For more information about noncurrent versions, see [Lifecycle configuration elements](https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html) in the *Amazon S3 User Guide*. + """ +elif False: + BucketNoncurrentVersionTransitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketNoncurrentVersionTransitionArgs: def __init__(__self__, *, @@ -1389,6 +1977,34 @@ def newer_noncurrent_versions(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "newer_noncurrent_versions", value) +if not MYPY: + class BucketNotificationConfigurationArgsDict(TypedDict): + """ + Describes the notification configuration for an Amazon S3 bucket. + If you create the target resource and related permissions in the same template, you might have a circular dependency. + For example, you might use the ``AWS::Lambda::Permission`` resource to grant the bucket permission to invoke an AWS Lambda function. However, AWS CloudFormation can't create the bucket until the bucket has permission to invoke the function (AWS CloudFormation checks whether the bucket can invoke the function). If you're using Refs to pass the bucket name, this leads to a circular dependency. + To avoid this dependency, you can create all resources without specifying the notification configuration. Then, update the stack with a notification configuration. + For more information on permissions, see [AWS::Lambda::Permission](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html) and [Granting Permissions to Publish Event Notification Messages to a Destination](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#grant-destinations-permissions-to-s3). + """ + event_bridge_configuration: NotRequired[pulumi.Input['BucketEventBridgeConfigurationArgsDict']] + """ + Enables delivery of events to Amazon EventBridge. + """ + lambda_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketLambdaConfigurationArgsDict']]]] + """ + Describes the LAMlong functions to invoke and the events for which to invoke them. + """ + queue_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketQueueConfigurationArgsDict']]]] + """ + The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages. + """ + topic_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketTopicConfigurationArgsDict']]]] + """ + The topic to which notifications are sent and the events for which notifications are generated. + """ +elif False: + BucketNotificationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketNotificationConfigurationArgs: def __init__(__self__, *, @@ -1465,6 +2081,18 @@ def topic_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "topic_configurations", value) +if not MYPY: + class BucketNotificationFilterArgsDict(TypedDict): + """ + Specifies object key name filtering rules. For information about key name filtering, see [Configuring event notifications using object key name filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) in the *Amazon S3 User Guide*. + """ + s3_key: pulumi.Input['BucketS3KeyFilterArgsDict'] + """ + A container for object key name prefix and suffix filtering rules. + """ +elif False: + BucketNotificationFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketNotificationFilterArgs: def __init__(__self__, *, @@ -1488,6 +2116,22 @@ def s3_key(self, value: pulumi.Input['BucketS3KeyFilterArgs']): pulumi.set(self, "s3_key", value) +if not MYPY: + class BucketObjectLockConfigurationArgsDict(TypedDict): + """ + Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see [Locking Objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). + """ + object_lock_enabled: NotRequired[pulumi.Input[str]] + """ + Indicates whether this bucket has an Object Lock configuration enabled. Enable ``ObjectLockEnabled`` when you apply ``ObjectLockConfiguration`` to a bucket. + """ + rule: NotRequired[pulumi.Input['BucketObjectLockRuleArgsDict']] + """ + Specifies the Object Lock rule for the specified object. Enable this rule when you apply ``ObjectLockConfiguration`` to a bucket. If Object Lock is turned on, bucket settings require both ``Mode`` and a period of either ``Days`` or ``Years``. You cannot specify ``Days`` and ``Years`` at the same time. For more information, see [ObjectLockRule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-objectlockrule.html) and [DefaultRetention](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-defaultretention.html). + """ +elif False: + BucketObjectLockConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketObjectLockConfigurationArgs: def __init__(__self__, *, @@ -1528,6 +2172,18 @@ def rule(self, value: Optional[pulumi.Input['BucketObjectLockRuleArgs']]): pulumi.set(self, "rule", value) +if not MYPY: + class BucketObjectLockRuleArgsDict(TypedDict): + """ + Specifies the Object Lock rule for the specified object. Enable the this rule when you apply ``ObjectLockConfiguration`` to a bucket. + """ + default_retention: NotRequired[pulumi.Input['BucketDefaultRetentionArgsDict']] + """ + The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket. If Object Lock is turned on, bucket settings require both ``Mode`` and a period of either ``Days`` or ``Years``. You cannot specify ``Days`` and ``Years`` at the same time. For more information about allowable values for mode and period, see [DefaultRetention](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-defaultretention.html). + """ +elif False: + BucketObjectLockRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketObjectLockRuleArgs: def __init__(__self__, *, @@ -1552,6 +2208,19 @@ def default_retention(self, value: Optional[pulumi.Input['BucketDefaultRetention pulumi.set(self, "default_retention", value) +if not MYPY: + class BucketOwnershipControlsRuleArgsDict(TypedDict): + """ + Specifies an Object Ownership rule. + S3 Object Ownership is an Amazon S3 bucket-level setting that you can use to disable access control lists (ACLs) and take ownership of every object in your bucket, simplifying access management for data stored in Amazon S3. For more information, see [Controlling ownership of objects and disabling ACLs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) in the *Amazon S3 User Guide*. + """ + object_ownership: NotRequired[pulumi.Input['BucketOwnershipControlsRuleObjectOwnership']] + """ + Specifies an object ownership rule. + """ +elif False: + BucketOwnershipControlsRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketOwnershipControlsRuleArgs: def __init__(__self__, *, @@ -1577,6 +2246,19 @@ def object_ownership(self, value: Optional[pulumi.Input['BucketOwnershipControls pulumi.set(self, "object_ownership", value) +if not MYPY: + class BucketOwnershipControlsArgsDict(TypedDict): + """ + Specifies the container element for Object Ownership rules. + S3 Object Ownership is an Amazon S3 bucket-level setting that you can use to disable access control lists (ACLs) and take ownership of every object in your bucket, simplifying access management for data stored in Amazon S3. For more information, see [Controlling ownership of objects and disabling ACLs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) in the *Amazon S3 User Guide*. + """ + rules: pulumi.Input[Sequence[pulumi.Input['BucketOwnershipControlsRuleArgsDict']]] + """ + Specifies the container element for Object Ownership rules. + """ +elif False: + BucketOwnershipControlsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketOwnershipControlsArgs: def __init__(__self__, *, @@ -1601,6 +2283,38 @@ def rules(self, value: pulumi.Input[Sequence[pulumi.Input['BucketOwnershipContro pulumi.set(self, "rules", value) +if not MYPY: + class BucketPublicAccessBlockConfigurationArgsDict(TypedDict): + """ + The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see [The Meaning of "Public"](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) in the *Amazon S3 User Guide*. + """ + block_public_acls: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should block public access control lists (ACLs) for this bucket and objects in this bucket. Setting this element to ``TRUE`` causes the following behavior: + + PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL is public. + + PUT Object calls fail if the request includes a public ACL. + + PUT Bucket calls fail if the request includes a public ACL. + + Enabling this setting doesn't affect existing policies or ACLs. + """ + block_public_policy: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should block public bucket policies for this bucket. Setting this element to ``TRUE`` causes Amazon S3 to reject calls to PUT Bucket policy if the specified bucket policy allows public access. + Enabling this setting doesn't affect existing bucket policies. + """ + ignore_public_acls: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket. Setting this element to ``TRUE`` causes Amazon S3 to ignore all public ACLs on this bucket and objects in this bucket. + Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set. + """ + restrict_public_buckets: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting this element to ``TRUE`` restricts access to this bucket to only AWS-service principals and authorized users within this account if the bucket has a public policy. + Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked. + """ +elif False: + BucketPublicAccessBlockConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketPublicAccessBlockConfigurationArgs: def __init__(__self__, *, @@ -1689,6 +2403,26 @@ def restrict_public_buckets(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "restrict_public_buckets", value) +if not MYPY: + class BucketQueueConfigurationArgsDict(TypedDict): + """ + Specifies the configuration for publishing messages to an Amazon Simple Queue Service (Amazon SQS) queue when Amazon S3 detects specified events. + """ + event: pulumi.Input[str] + """ + The Amazon S3 bucket event about which you want to publish messages to Amazon SQS. For more information, see [Supported Event Types](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) in the *Amazon S3 User Guide*. + """ + queue: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message when it detects events of the specified type. FIFO queues are not allowed when enabling an SQS queue as the event notification destination. + """ + filter: NotRequired[pulumi.Input['BucketNotificationFilterArgsDict']] + """ + The filtering rules that determine which objects trigger notifications. For example, you can create a filter so that Amazon S3 sends notifications only when image files with a ``.jpg`` extension are added to the bucket. For more information, see [Configuring event notifications using object key name filtering](https://docs.aws.amazon.com/AmazonS3/latest/user-guide/notification-how-to-filtering.html) in the *Amazon S3 User Guide*. + """ +elif False: + BucketQueueConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketQueueConfigurationArgs: def __init__(__self__, *, @@ -1743,6 +2477,22 @@ def filter(self, value: Optional[pulumi.Input['BucketNotificationFilterArgs']]): pulumi.set(self, "filter", value) +if not MYPY: + class BucketRedirectAllRequestsToArgsDict(TypedDict): + """ + Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket. + """ + host_name: pulumi.Input[str] + """ + Name of the host where requests are redirected. + """ + protocol: NotRequired[pulumi.Input['BucketRedirectAllRequestsToProtocol']] + """ + Protocol to use when redirecting requests. The default is the protocol that is used in the original request. + """ +elif False: + BucketRedirectAllRequestsToArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketRedirectAllRequestsToArgs: def __init__(__self__, *, @@ -1782,6 +2532,36 @@ def protocol(self, value: Optional[pulumi.Input['BucketRedirectAllRequestsToProt pulumi.set(self, "protocol", value) +if not MYPY: + class BucketRedirectRuleArgsDict(TypedDict): + """ + Specifies how requests are redirected. In the event of an error, you can specify a different error code to return. + """ + host_name: NotRequired[pulumi.Input[str]] + """ + The host name to use in the redirect request. + """ + http_redirect_code: NotRequired[pulumi.Input[str]] + """ + The HTTP redirect code to use on the response. Not required if one of the siblings is present. + """ + protocol: NotRequired[pulumi.Input['BucketRedirectRuleProtocol']] + """ + Protocol to use when redirecting requests. The default is the protocol that is used in the original request. + """ + replace_key_prefix_with: NotRequired[pulumi.Input[str]] + """ + The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix ``docs/`` (objects in the ``docs/`` folder) to ``documents/``, you can set a condition block with ``KeyPrefixEquals`` set to ``docs/`` and in the Redirect set ``ReplaceKeyPrefixWith`` to ``/documents``. Not required if one of the siblings is present. Can be present only if ``ReplaceKeyWith`` is not provided. + Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + replace_key_with: NotRequired[pulumi.Input[str]] + """ + The specific object key to use in the redirect request. For example, redirect request to ``error.html``. Not required if one of the siblings is present. Can be present only if ``ReplaceKeyPrefixWith`` is not provided. + Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ +elif False: + BucketRedirectRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketRedirectRuleArgs: def __init__(__self__, *, @@ -1874,6 +2654,19 @@ def replace_key_with(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "replace_key_with", value) +if not MYPY: + class BucketReplicaModificationsArgsDict(TypedDict): + """ + A filter that you can specify for selection for modifications on replicas. + """ + status: pulumi.Input['BucketReplicaModificationsStatus'] + """ + Specifies whether Amazon S3 replicates modifications on replicas. + *Allowed values*: ``Enabled`` | ``Disabled`` + """ +elif False: + BucketReplicaModificationsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketReplicaModificationsArgs: def __init__(__self__, *, @@ -1899,6 +2692,22 @@ def status(self, value: pulumi.Input['BucketReplicaModificationsStatus']): pulumi.set(self, "status", value) +if not MYPY: + class BucketReplicationConfigurationArgsDict(TypedDict): + """ + A container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB. The latest version of the replication configuration XML is V2. For more information about XML V2 replication configurations, see [Replication configuration](https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-add-config.html) in the *Amazon S3 User Guide*. + """ + role: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the IAMlong (IAM) role that Amazon S3 assumes when replicating objects. For more information, see [How to Set Up Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-how-setup.html) in the *Amazon S3 User Guide*. + """ + rules: pulumi.Input[Sequence[pulumi.Input['BucketReplicationRuleArgsDict']]] + """ + A container for one or more replication rules. A replication configuration must have at least one rule and can contain a maximum of 1,000 rules. + """ +elif False: + BucketReplicationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketReplicationConfigurationArgs: def __init__(__self__, *, @@ -1937,6 +2746,44 @@ def rules(self, value: pulumi.Input[Sequence[pulumi.Input['BucketReplicationRule pulumi.set(self, "rules", value) +if not MYPY: + class BucketReplicationDestinationArgsDict(TypedDict): + """ + A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC). + """ + bucket: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results. + """ + access_control_translation: NotRequired[pulumi.Input['BucketAccessControlTranslationArgsDict']] + """ + Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS-account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS-account that owns the source object. + """ + account: NotRequired[pulumi.Input[str]] + """ + Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change replica ownership to the AWS-account that owns the destination bucket by specifying the ``AccessControlTranslation`` property, this is the account ID of the destination bucket owner. For more information, see [Cross-Region Replication Additional Configuration: Change Replica Owner](https://docs.aws.amazon.com/AmazonS3/latest/dev/crr-change-owner.html) in the *Amazon S3 User Guide*. + If you specify the ``AccessControlTranslation`` property, the ``Account`` property is required. + """ + encryption_configuration: NotRequired[pulumi.Input['BucketEncryptionConfigurationArgsDict']] + """ + Specifies encryption-related information. + """ + metrics: NotRequired[pulumi.Input['BucketMetricsArgsDict']] + """ + A container specifying replication metrics-related settings enabling replication metrics and events. + """ + replication_time: NotRequired[pulumi.Input['BucketReplicationTimeArgsDict']] + """ + A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a ``Metrics`` block. + """ + storage_class: NotRequired[pulumi.Input['BucketReplicationDestinationStorageClass']] + """ + The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica. + For valid values, see the ``StorageClass`` element of the [PUT Bucket replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) action in the *Amazon S3 API Reference*. + """ +elif False: + BucketReplicationDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketReplicationDestinationArgs: def __init__(__self__, *, @@ -2060,6 +2907,25 @@ def storage_class(self, value: Optional[pulumi.Input['BucketReplicationDestinati pulumi.set(self, "storage_class", value) +if not MYPY: + class BucketReplicationRuleAndOperatorArgsDict(TypedDict): + """ + A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter. + For example: + + If you specify both a ``Prefix`` and a ``TagFilter``, wrap these filters in an ``And`` tag. + + If you specify a filter based on multiple tags, wrap the ``TagFilter`` elements in an ``And`` tag + """ + prefix: NotRequired[pulumi.Input[str]] + """ + An object key name prefix that identifies the subset of objects to which the rule applies. + """ + tag_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketTagFilterArgsDict']]]] + """ + An array of tags containing key and value pairs. + """ +elif False: + BucketReplicationRuleAndOperatorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketReplicationRuleAndOperatorArgs: def __init__(__self__, *, @@ -2103,6 +2969,30 @@ def tag_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Bucket pulumi.set(self, "tag_filters", value) +if not MYPY: + class BucketReplicationRuleFilterArgsDict(TypedDict): + """ + A filter that identifies the subset of objects to which the replication rule applies. A ``Filter`` must specify exactly one ``Prefix``, ``TagFilter``, or an ``And`` child element. + """ + and_: NotRequired[pulumi.Input['BucketReplicationRuleAndOperatorArgsDict']] + """ + A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter. For example: + + If you specify both a ``Prefix`` and a ``TagFilter``, wrap these filters in an ``And`` tag. + + If you specify a filter based on multiple tags, wrap the ``TagFilter`` elements in an ``And`` tag. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + An object key name prefix that identifies the subset of objects to which the rule applies. + Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + tag_filter: NotRequired[pulumi.Input['BucketTagFilterArgsDict']] + """ + A container for specifying a tag key and value. + The rule applies only to objects that have the tag in their tag set. + """ +elif False: + BucketReplicationRuleFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketReplicationRuleFilterArgs: def __init__(__self__, *, @@ -2167,6 +3057,51 @@ def tag_filter(self, value: Optional[pulumi.Input['BucketTagFilterArgs']]): pulumi.set(self, "tag_filter", value) +if not MYPY: + class BucketReplicationRuleArgsDict(TypedDict): + """ + Specifies which Amazon S3 objects to replicate and where to store the replicas. + """ + destination: pulumi.Input['BucketReplicationDestinationArgsDict'] + """ + A container for information about the replication destination and its configurations including enabling the S3 Replication Time Control (S3 RTC). + """ + status: pulumi.Input['BucketReplicationRuleStatus'] + """ + Specifies whether the rule is enabled. + """ + delete_marker_replication: NotRequired[pulumi.Input['BucketDeleteMarkerReplicationArgsDict']] + """ + Specifies whether Amazon S3 replicates delete markers. If you specify a ``Filter`` in your replication configuration, you must also include a ``DeleteMarkerReplication`` element. If your ``Filter`` includes a ``Tag`` element, the ``DeleteMarkerReplication`` ``Status`` must be set to Disabled, because Amazon S3 does not support replicating delete markers for tag-based rules. For an example configuration, see [Basic Rule Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-config-min-rule-config). + For more information about delete marker replication, see [Basic Rule Configuration](https://docs.aws.amazon.com/AmazonS3/latest/dev/delete-marker-replication.html). + If you are using an earlier version of the replication configuration, Amazon S3 handles replication of delete markers differently. For more information, see [Backward Compatibility](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-add-config.html#replication-backward-compat-considerations). + """ + filter: NotRequired[pulumi.Input['BucketReplicationRuleFilterArgsDict']] + """ + A filter that identifies the subset of objects to which the replication rule applies. A ``Filter`` must specify exactly one ``Prefix``, ``TagFilter``, or an ``And`` child element. The use of the filter field indicates that this is a V2 replication configuration. This field isn't supported in a V1 replication configuration. + V1 replication configuration only supports filtering by key prefix. To filter using a V1 replication configuration, add the ``Prefix`` directly as a child element of the ``Rule`` element. + """ + id: NotRequired[pulumi.Input[str]] + """ + A unique identifier for the rule. The maximum value is 255 characters. If you don't specify a value, AWS CloudFormation generates a random ID. When using a V2 replication configuration this property is capitalized as "ID". + """ + prefix: NotRequired[pulumi.Input[str]] + """ + An object key name prefix that identifies the object or objects to which the rule applies. The maximum prefix length is 1,024 characters. To include all objects in a bucket, specify an empty string. To filter using a V1 replication configuration, add the ``Prefix`` directly as a child element of the ``Rule`` element. + Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + priority: NotRequired[pulumi.Input[int]] + """ + The priority indicates which rule has precedence whenever two or more replication rules conflict. Amazon S3 will attempt to replicate objects according to all replication rules. However, if there are two or more rules with the same destination bucket, then objects will be replicated according to the rule with the highest priority. The higher the number, the higher the priority. + For more information, see [Replication](https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html) in the *Amazon S3 User Guide*. + """ + source_selection_criteria: NotRequired[pulumi.Input['BucketSourceSelectionCriteriaArgsDict']] + """ + A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects. + """ +elif False: + BucketReplicationRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketReplicationRuleArgs: def __init__(__self__, *, @@ -2311,6 +3246,19 @@ def source_selection_criteria(self, value: Optional[pulumi.Input['BucketSourceSe pulumi.set(self, "source_selection_criteria", value) +if not MYPY: + class BucketReplicationTimeValueArgsDict(TypedDict): + """ + A container specifying the time value for S3 Replication Time Control (S3 RTC) and replication metrics ``EventThreshold``. + """ + minutes: pulumi.Input[int] + """ + Contains an integer specifying time in minutes. + Valid value: 15 + """ +elif False: + BucketReplicationTimeValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketReplicationTimeValueArgs: def __init__(__self__, *, @@ -2336,6 +3284,22 @@ def minutes(self, value: pulumi.Input[int]): pulumi.set(self, "minutes", value) +if not MYPY: + class BucketReplicationTimeArgsDict(TypedDict): + """ + A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a ``Metrics`` block. + """ + status: pulumi.Input['BucketReplicationTimeStatus'] + """ + Specifies whether the replication time is enabled. + """ + time: pulumi.Input['BucketReplicationTimeValueArgsDict'] + """ + A container specifying the time by which replication should be complete for all objects and operations on objects. + """ +elif False: + BucketReplicationTimeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketReplicationTimeArgs: def __init__(__self__, *, @@ -2374,6 +3338,24 @@ def time(self, value: pulumi.Input['BucketReplicationTimeValueArgs']): pulumi.set(self, "time", value) +if not MYPY: + class BucketRoutingRuleConditionArgsDict(TypedDict): + """ + A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the ``/docs`` folder, redirect to the ``/documents`` folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error. + """ + http_error_code_returned_equals: NotRequired[pulumi.Input[str]] + """ + The HTTP error code when the redirect is applied. In the event of an error, if the error code equals this value, then the specified redirect is applied. + Required when parent element ``Condition`` is specified and sibling ``KeyPrefixEquals`` is not specified. If both are specified, then both must be true for the redirect to be applied. + """ + key_prefix_equals: NotRequired[pulumi.Input[str]] + """ + The object key name prefix when the redirect is applied. For example, to redirect requests for ``ExamplePage.html``, the key prefix will be ``ExamplePage.html``. To redirect request for all pages with the prefix ``docs/``, the key prefix will be ``/docs``, which identifies all objects in the docs/ folder. + Required when the parent element ``Condition`` is specified and sibling ``HttpErrorCodeReturnedEquals`` is not specified. If both conditions are specified, both must be true for the redirect to be applied. + """ +elif False: + BucketRoutingRuleConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketRoutingRuleConditionArgs: def __init__(__self__, *, @@ -2411,12 +3393,28 @@ def key_prefix_equals(self) -> Optional[pulumi.Input[str]]: The object key name prefix when the redirect is applied. For example, to redirect requests for ``ExamplePage.html``, the key prefix will be ``ExamplePage.html``. To redirect request for all pages with the prefix ``docs/``, the key prefix will be ``/docs``, which identifies all objects in the docs/ folder. Required when the parent element ``Condition`` is specified and sibling ``HttpErrorCodeReturnedEquals`` is not specified. If both conditions are specified, both must be true for the redirect to be applied. """ - return pulumi.get(self, "key_prefix_equals") - - @key_prefix_equals.setter - def key_prefix_equals(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "key_prefix_equals", value) - + return pulumi.get(self, "key_prefix_equals") + + @key_prefix_equals.setter + def key_prefix_equals(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_prefix_equals", value) + + +if not MYPY: + class BucketRoutingRuleArgsDict(TypedDict): + """ + Specifies the redirect behavior and when a redirect is applied. For more information about routing rules, see [Configuring advanced conditional redirects](https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html#advanced-conditional-redirects) in the *Amazon S3 User Guide*. + """ + redirect_rule: pulumi.Input['BucketRedirectRuleArgsDict'] + """ + Container for redirect information. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can specify a different error code to return. + """ + routing_rule_condition: NotRequired[pulumi.Input['BucketRoutingRuleConditionArgsDict']] + """ + A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the ``/docs`` folder, redirect to the ``/documents`` folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error. + """ +elif False: + BucketRoutingRuleArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class BucketRoutingRuleArgs: @@ -2457,6 +3455,80 @@ def routing_rule_condition(self, value: Optional[pulumi.Input['BucketRoutingRule pulumi.set(self, "routing_rule_condition", value) +if not MYPY: + class BucketRuleArgsDict(TypedDict): + """ + Specifies lifecycle rules for an Amazon S3 bucket. For more information, see [Put Bucket Lifecycle Configuration](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html) in the *Amazon S3 API Reference*. + You must specify at least one of the following properties: ``AbortIncompleteMultipartUpload``, ``ExpirationDate``, ``ExpirationInDays``, ``NoncurrentVersionExpirationInDays``, ``NoncurrentVersionTransition``, ``NoncurrentVersionTransitions``, ``Transition``, or ``Transitions``. + """ + status: pulumi.Input['BucketRuleStatus'] + """ + If ``Enabled``, the rule is currently being applied. If ``Disabled``, the rule is not currently being applied. + """ + abort_incomplete_multipart_upload: NotRequired[pulumi.Input['BucketAbortIncompleteMultipartUploadArgsDict']] + """ + Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3 bucket. + """ + expiration_date: NotRequired[pulumi.Input[str]] + """ + Indicates when objects are deleted from Amazon S3 and Amazon S3 Glacier. The date value must be in ISO 8601 format. The time is always midnight UTC. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time. + """ + expiration_in_days: NotRequired[pulumi.Input[int]] + """ + Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 Glacier. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time. + """ + expired_object_delete_marker: NotRequired[pulumi.Input[bool]] + """ + Indicates whether Amazon S3 will remove a delete marker without any noncurrent versions. If set to true, the delete marker will be removed if there are no noncurrent versions. This cannot be specified with ``ExpirationInDays``, ``ExpirationDate``, or ``TagFilters``. + """ + id: NotRequired[pulumi.Input[str]] + """ + Unique identifier for the rule. The value can't be longer than 255 characters. + """ + noncurrent_version_expiration: NotRequired[pulumi.Input['BucketNoncurrentVersionExpirationArgsDict']] + """ + Specifies when noncurrent object versions expire. Upon expiration, S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that S3 delete noncurrent object versions at a specific period in the object's lifetime. + """ + noncurrent_version_expiration_in_days: NotRequired[pulumi.Input[int]] + """ + (Deprecated.) For buckets with versioning enabled (or suspended), specifies the time, in days, between when a new version of the object is uploaded to the bucket and when old versions of the object expire. When object versions expire, Amazon S3 permanently deletes them. If you specify a transition and expiration time, the expiration time must be later than the transition time. + """ + noncurrent_version_transition: NotRequired[pulumi.Input['BucketNoncurrentVersionTransitionArgsDict']] + """ + (Deprecated.) For buckets with versioning enabled (or suspended), specifies when non-current objects transition to a specified storage class. If you specify a transition and expiration time, the expiration time must be later than the transition time. If you specify this property, don't specify the ``NoncurrentVersionTransitions`` property. + """ + noncurrent_version_transitions: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketNoncurrentVersionTransitionArgsDict']]]] + """ + For buckets with versioning enabled (or suspended), one or more transition rules that specify when non-current objects transition to a specified storage class. If you specify a transition and expiration time, the expiration time must be later than the transition time. If you specify this property, don't specify the ``NoncurrentVersionTransition`` property. + """ + object_size_greater_than: NotRequired[pulumi.Input[str]] + """ + Specifies the minimum object size in bytes for this rule to apply to. Objects must be larger than this value in bytes. For more information about size based rules, see [Lifecycle configuration using size-based rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html#lc-size-rules) in the *Amazon S3 User Guide*. + """ + object_size_less_than: NotRequired[pulumi.Input[str]] + """ + Specifies the maximum object size in bytes for this rule to apply to. Objects must be smaller than this value in bytes. For more information about sized based rules, see [Lifecycle configuration using size-based rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html#lc-size-rules) in the *Amazon S3 User Guide*. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Object key prefix that identifies one or more objects to which this rule applies. + Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see [XML related object key constraints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints). + """ + tag_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketTagFilterArgsDict']]]] + """ + Tags to use to identify a subset of objects to which the lifecycle rule applies. + """ + transition: NotRequired[pulumi.Input['BucketTransitionArgsDict']] + """ + (Deprecated.) Specifies when an object transitions to a specified storage class. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time. If you specify this property, don't specify the ``Transitions`` property. + """ + transitions: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketTransitionArgsDict']]]] + """ + One or more transition rules that specify when an object transitions to a specified storage class. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time. If you specify this property, don't specify the ``Transition`` property. + """ +elif False: + BucketRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketRuleArgs: def __init__(__self__, *, @@ -2723,6 +3795,19 @@ def transitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Bucket pulumi.set(self, "transitions", value) +if not MYPY: + class BucketS3KeyFilterArgsDict(TypedDict): + """ + A container for object key name prefix and suffix filtering rules. For more information about object key name filtering, see [Configuring event notifications using object key name filtering](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-how-to-filtering.html) in the *Amazon S3 User Guide*. + The same type of filter rule cannot be used more than once. For example, you cannot specify two prefix rules. + """ + rules: pulumi.Input[Sequence[pulumi.Input['BucketFilterRuleArgsDict']]] + """ + A list of containers for the key-value pair that defines the criteria for the filter rule. + """ +elif False: + BucketS3KeyFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketS3KeyFilterArgs: def __init__(__self__, *, @@ -2747,6 +3832,31 @@ def rules(self, value: pulumi.Input[Sequence[pulumi.Input['BucketFilterRuleArgs' pulumi.set(self, "rules", value) +if not MYPY: + class BucketServerSideEncryptionByDefaultArgsDict(TypedDict): + """ + Describes the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. If you don't specify a customer managed key at configuration, Amazon S3 automatically creates an AWS KMS key in your AWS account the first time that you add an object encrypted with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS. For more information, see [PUT Bucket encryption](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTencryption.html) in the *Amazon S3 API Reference*. + If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner. + """ + sse_algorithm: pulumi.Input['BucketServerSideEncryptionByDefaultSseAlgorithm'] + """ + Server-side encryption algorithm to use for the default encryption. + """ + kms_master_key_id: NotRequired[pulumi.Input[str]] + """ + AWS Key Management Service (KMS) customer AWS KMS key ID to use for the default encryption. This parameter is allowed if and only if ``SSEAlgorithm`` is set to ``aws:kms`` or ``aws:kms:dsse``. + You can specify the key ID, key alias, or the Amazon Resource Name (ARN) of the KMS key. + + Key ID: ``1234abcd-12ab-34cd-56ef-1234567890ab`` + + Key ARN: ``arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`` + + Key Alias: ``alias/alias-name`` + + If you use a key ID, you can run into a LogDestination undeliverable error when creating a VPC flow log. + If you are using encryption with cross-account or AWS service operations you must use a fully qualified KMS key ARN. For more information, see [Using encryption for cross-account operations](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy). + Amazon S3 only supports symmetric encryption KMS keys. For more information, see [Asymmetric keys in KMS](https://docs.aws.amazon.com//kms/latest/developerguide/symmetric-asymmetric.html) in the *Key Management Service Developer Guide*. + """ +elif False: + BucketServerSideEncryptionByDefaultArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketServerSideEncryptionByDefaultArgs: def __init__(__self__, *, @@ -2803,6 +3913,24 @@ def kms_master_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_master_key_id", value) +if not MYPY: + class BucketServerSideEncryptionRuleArgsDict(TypedDict): + """ + Specifies the default server-side encryption configuration. + If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner. + """ + bucket_key_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the ``BucketKeyEnabled`` element to ``true`` causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled. + For more information, see [Amazon S3 Bucket Keys](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) in the *Amazon S3 User Guide*. + """ + server_side_encryption_by_default: NotRequired[pulumi.Input['BucketServerSideEncryptionByDefaultArgsDict']] + """ + Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. + """ +elif False: + BucketServerSideEncryptionRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketServerSideEncryptionRuleArgs: def __init__(__self__, *, @@ -2846,6 +3974,22 @@ def server_side_encryption_by_default(self, value: Optional[pulumi.Input['Bucket pulumi.set(self, "server_side_encryption_by_default", value) +if not MYPY: + class BucketSourceSelectionCriteriaArgsDict(TypedDict): + """ + A container that describes additional filters for identifying the source objects that you want to replicate. You can choose to enable or disable the replication of these objects. + """ + replica_modifications: NotRequired[pulumi.Input['BucketReplicaModificationsArgsDict']] + """ + A filter that you can specify for selection for modifications on replicas. + """ + sse_kms_encrypted_objects: NotRequired[pulumi.Input['BucketSseKmsEncryptedObjectsArgsDict']] + """ + A container for filter information for the selection of Amazon S3 objects encrypted with AWS KMS. + """ +elif False: + BucketSourceSelectionCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketSourceSelectionCriteriaArgs: def __init__(__self__, *, @@ -2886,6 +4030,18 @@ def sse_kms_encrypted_objects(self, value: Optional[pulumi.Input['BucketSseKmsEn pulumi.set(self, "sse_kms_encrypted_objects", value) +if not MYPY: + class BucketSseKmsEncryptedObjectsArgsDict(TypedDict): + """ + A container for filter information for the selection of S3 objects encrypted with AWS KMS. + """ + status: pulumi.Input['BucketSseKmsEncryptedObjectsStatus'] + """ + Specifies whether Amazon S3 replicates objects created with server-side encryption using an AWS KMS key stored in AWS Key Management Service. + """ +elif False: + BucketSseKmsEncryptedObjectsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketSseKmsEncryptedObjectsArgs: def __init__(__self__, *, @@ -2909,6 +4065,18 @@ def status(self, value: pulumi.Input['BucketSseKmsEncryptedObjectsStatus']): pulumi.set(self, "status", value) +if not MYPY: + class BucketStorageClassAnalysisArgsDict(TypedDict): + """ + Specifies data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes for an Amazon S3 bucket. + """ + data_export: NotRequired[pulumi.Input['BucketDataExportArgsDict']] + """ + Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported. + """ +elif False: + BucketStorageClassAnalysisArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketStorageClassAnalysisArgs: def __init__(__self__, *, @@ -2933,6 +4101,22 @@ def data_export(self, value: Optional[pulumi.Input['BucketDataExportArgs']]): pulumi.set(self, "data_export", value) +if not MYPY: + class BucketTagFilterArgsDict(TypedDict): + """ + Specifies tags to use to identify a subset of objects for an Amazon S3 bucket. + """ + key: pulumi.Input[str] + """ + The tag key. + """ + value: pulumi.Input[str] + """ + The tag value. + """ +elif False: + BucketTagFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketTagFilterArgs: def __init__(__self__, *, @@ -2971,6 +4155,15 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class BucketTargetObjectKeyFormatArgsDict(TypedDict): + """ + Describes the key format for server access log file in the target bucket. You can choose between SimplePrefix and PartitionedPrefix. + """ + pass +elif False: + BucketTargetObjectKeyFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketTargetObjectKeyFormatArgs: def __init__(__self__): @@ -2980,6 +4173,22 @@ def __init__(__self__): pass +if not MYPY: + class BucketTieringArgsDict(TypedDict): + """ + The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without additional operational overhead. + """ + access_tier: pulumi.Input['BucketTieringAccessTier'] + """ + S3 Intelligent-Tiering access tier. See [Storage class for automatically optimizing frequently and infrequently accessed objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access) for a list of access tiers in the S3 Intelligent-Tiering storage class. + """ + days: pulumi.Input[int] + """ + The number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier. The minimum number of days specified for Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least 180 days. The maximum can be up to 2 years (730 days). + """ +elif False: + BucketTieringArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketTieringArgs: def __init__(__self__, *, @@ -3018,6 +4227,26 @@ def days(self, value: pulumi.Input[int]): pulumi.set(self, "days", value) +if not MYPY: + class BucketTopicConfigurationArgsDict(TypedDict): + """ + A container for specifying the configuration for publication of messages to an Amazon Simple Notification Service (Amazon SNS) topic when Amazon S3 detects specified events. + """ + event: pulumi.Input[str] + """ + The Amazon S3 bucket event about which to send notifications. For more information, see [Supported Event Types](https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) in the *Amazon S3 User Guide*. + """ + topic: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 publishes a message when it detects events of the specified type. + """ + filter: NotRequired[pulumi.Input['BucketNotificationFilterArgsDict']] + """ + The filtering rules that determine for which objects to send notifications. For example, you can create a filter so that Amazon S3 sends notifications only when image files with a ``.jpg`` extension are added to the bucket. + """ +elif False: + BucketTopicConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketTopicConfigurationArgs: def __init__(__self__, *, @@ -3072,6 +4301,26 @@ def filter(self, value: Optional[pulumi.Input['BucketNotificationFilterArgs']]): pulumi.set(self, "filter", value) +if not MYPY: + class BucketTransitionArgsDict(TypedDict): + """ + Specifies when an object transitions to a specified storage class. For more information about Amazon S3 lifecycle configuration rules, see [Transitioning Objects Using Amazon S3 Lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html) in the *Amazon S3 User Guide*. + """ + storage_class: pulumi.Input['BucketTransitionStorageClass'] + """ + The storage class to which you want the object to transition. + """ + transition_date: NotRequired[pulumi.Input[str]] + """ + Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC. + """ + transition_in_days: NotRequired[pulumi.Input[int]] + """ + Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer. + """ +elif False: + BucketTransitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketTransitionArgs: def __init__(__self__, *, @@ -3127,6 +4376,19 @@ def transition_in_days(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "transition_in_days", value) +if not MYPY: + class BucketVersioningConfigurationArgsDict(TypedDict): + """ + Describes the versioning state of an Amazon S3 bucket. For more information, see [PUT Bucket versioning](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html) in the *Amazon S3 API Reference*. + When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations (``PUT`` or ``DELETE``) on objects in the bucket. + """ + status: pulumi.Input['BucketVersioningConfigurationStatus'] + """ + The versioning state of the bucket. + """ +elif False: + BucketVersioningConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketVersioningConfigurationArgs: def __init__(__self__, *, @@ -3151,6 +4413,31 @@ def status(self, value: pulumi.Input['BucketVersioningConfigurationStatus']): pulumi.set(self, "status", value) +if not MYPY: + class BucketWebsiteConfigurationArgsDict(TypedDict): + """ + Specifies website configuration parameters for an Amazon S3 bucket. + """ + error_document: NotRequired[pulumi.Input[str]] + """ + The name of the error document for the website. + """ + index_document: NotRequired[pulumi.Input[str]] + """ + The name of the index document for the website. + """ + redirect_all_requests_to: NotRequired[pulumi.Input['BucketRedirectAllRequestsToArgsDict']] + """ + The redirect behavior for every request to this bucket's website endpoint. + If you specify this property, you can't specify any other property. + """ + routing_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['BucketRoutingRuleArgsDict']]]] + """ + Rules that define when a redirect is applied and the redirect behavior. + """ +elif False: + BucketWebsiteConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketWebsiteConfigurationArgs: def __init__(__self__, *, @@ -3225,6 +4512,32 @@ def routing_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Buck pulumi.set(self, "routing_rules", value) +if not MYPY: + class MultiRegionAccessPointPublicAccessBlockConfigurationArgsDict(TypedDict): + block_public_acls: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should block public access control lists (ACLs) for buckets in this account. Setting this element to TRUE causes the following behavior: + - PUT Bucket acl and PUT Object acl calls fail if the specified ACL is public. + - PUT Object calls fail if the request includes a public ACL. + . - PUT Bucket calls fail if the request includes a public ACL. + Enabling this setting doesn't affect existing policies or ACLs. + """ + block_public_policy: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should block public bucket policies for buckets in this account. Setting this element to TRUE causes Amazon S3 to reject calls to PUT Bucket policy if the specified bucket policy allows public access. Enabling this setting doesn't affect existing bucket policies. + """ + ignore_public_acls: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should ignore public ACLs for buckets in this account. Setting this element to TRUE causes Amazon S3 to ignore all public ACLs on buckets in this account and any objects that they contain. Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't prevent new public ACLs from being set. + """ + restrict_public_buckets: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting this element to TRUE restricts access to this bucket to only AWS services and authorized users within this account if the bucket has a public policy. + Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account access within any public bucket policy, including non-public delegation to specific accounts, is blocked. + """ +elif False: + MultiRegionAccessPointPublicAccessBlockConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MultiRegionAccessPointPublicAccessBlockConfigurationArgs: def __init__(__self__, *, @@ -3306,6 +4619,19 @@ def restrict_public_buckets(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "restrict_public_buckets", value) +if not MYPY: + class MultiRegionAccessPointRegionArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + The name of the associated bucket for the Region. + """ + bucket_account_id: NotRequired[pulumi.Input[str]] + """ + The AWS account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point. + """ +elif False: + MultiRegionAccessPointRegionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MultiRegionAccessPointRegionArgs: def __init__(__self__, *, @@ -3344,6 +4670,38 @@ def bucket_account_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "bucket_account_id", value) +if not MYPY: + class StorageLensAccountLevelArgsDict(TypedDict): + """ + Account-level metrics configurations. + """ + bucket_level: pulumi.Input['StorageLensBucketLevelArgsDict'] + """ + This property contains the details of the account-level bucket-level configurations for Amazon S3 Storage Lens. To enable bucket-level configurations, make sure to also set the same metrics at the account level. + """ + activity_metrics: NotRequired[pulumi.Input['StorageLensActivityMetricsArgsDict']] + """ + This property contains the details of account-level activity metrics for S3 Storage Lens. + """ + advanced_cost_optimization_metrics: NotRequired[pulumi.Input['StorageLensAdvancedCostOptimizationMetricsArgsDict']] + """ + This property contains the details of account-level advanced cost optimization metrics for S3 Storage Lens. + """ + advanced_data_protection_metrics: NotRequired[pulumi.Input['StorageLensAdvancedDataProtectionMetricsArgsDict']] + """ + This property contains the details of account-level advanced data protection metrics for S3 Storage Lens. + """ + detailed_status_codes_metrics: NotRequired[pulumi.Input['StorageLensDetailedStatusCodesMetricsArgsDict']] + """ + This property contains the details of account-level detailed status code metrics for S3 Storage Lens. + """ + storage_lens_group_level: NotRequired[pulumi.Input['StorageLensGroupLevelArgsDict']] + """ + This property determines the scope of Storage Lens group data that is displayed in the Storage Lens dashboard. + """ +elif False: + StorageLensAccountLevelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensAccountLevelArgs: def __init__(__self__, *, @@ -3447,6 +4805,18 @@ def storage_lens_group_level(self, value: Optional[pulumi.Input['StorageLensGrou pulumi.set(self, "storage_lens_group_level", value) +if not MYPY: + class StorageLensActivityMetricsArgsDict(TypedDict): + """ + Enables activity metrics. + """ + is_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether activity metrics are enabled or disabled. + """ +elif False: + StorageLensActivityMetricsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensActivityMetricsArgs: def __init__(__self__, *, @@ -3471,6 +4841,18 @@ def is_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_enabled", value) +if not MYPY: + class StorageLensAdvancedCostOptimizationMetricsArgsDict(TypedDict): + """ + Enables advanced cost optimization metrics. + """ + is_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether advanced cost optimization metrics are enabled or disabled. + """ +elif False: + StorageLensAdvancedCostOptimizationMetricsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensAdvancedCostOptimizationMetricsArgs: def __init__(__self__, *, @@ -3495,6 +4877,18 @@ def is_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_enabled", value) +if not MYPY: + class StorageLensAdvancedDataProtectionMetricsArgsDict(TypedDict): + """ + Enables advanced data protection metrics. + """ + is_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether advanced data protection metrics are enabled or disabled. + """ +elif False: + StorageLensAdvancedDataProtectionMetricsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensAdvancedDataProtectionMetricsArgs: def __init__(__self__, *, @@ -3519,6 +4913,18 @@ def is_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_enabled", value) +if not MYPY: + class StorageLensAwsOrgArgsDict(TypedDict): + """ + The AWS Organizations ARN to use in the Amazon S3 Storage Lens configuration. + """ + arn: pulumi.Input[str] + """ + This resource contains the ARN of the AWS Organization. + """ +elif False: + StorageLensAwsOrgArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensAwsOrgArgs: def __init__(__self__, *, @@ -3542,6 +4948,34 @@ def arn(self, value: pulumi.Input[str]): pulumi.set(self, "arn", value) +if not MYPY: + class StorageLensBucketLevelArgsDict(TypedDict): + """ + Bucket-level metrics configurations. + """ + activity_metrics: NotRequired[pulumi.Input['StorageLensActivityMetricsArgsDict']] + """ + A property for bucket-level activity metrics for S3 Storage Lens. + """ + advanced_cost_optimization_metrics: NotRequired[pulumi.Input['StorageLensAdvancedCostOptimizationMetricsArgsDict']] + """ + A property for bucket-level advanced cost optimization metrics for S3 Storage Lens. + """ + advanced_data_protection_metrics: NotRequired[pulumi.Input['StorageLensAdvancedDataProtectionMetricsArgsDict']] + """ + A property for bucket-level advanced data protection metrics for S3 Storage Lens. + """ + detailed_status_codes_metrics: NotRequired[pulumi.Input['StorageLensDetailedStatusCodesMetricsArgsDict']] + """ + A property for bucket-level detailed status code metrics for S3 Storage Lens. + """ + prefix_level: NotRequired[pulumi.Input['StorageLensPrefixLevelArgsDict']] + """ + A property for bucket-level prefix-level storage metrics for S3 Storage Lens. + """ +elif False: + StorageLensBucketLevelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensBucketLevelArgs: def __init__(__self__, *, @@ -3630,6 +5064,22 @@ def prefix_level(self, value: Optional[pulumi.Input['StorageLensPrefixLevelArgs' pulumi.set(self, "prefix_level", value) +if not MYPY: + class StorageLensBucketsAndRegionsArgsDict(TypedDict): + """ + S3 buckets and Regions to include/exclude in the Amazon S3 Storage Lens configuration. + """ + buckets: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This property contains the details of the buckets for the Amazon S3 Storage Lens configuration. This should be the bucket Amazon Resource Name(ARN). For valid values, see [Buckets ARN format here](https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_Include.html#API_control_Include_Contents) in the *Amazon S3 API Reference* . + """ + regions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This property contains the details of the Regions for the S3 Storage Lens configuration. + """ +elif False: + StorageLensBucketsAndRegionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensBucketsAndRegionsArgs: def __init__(__self__, *, @@ -3670,6 +5120,18 @@ def regions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "regions", value) +if not MYPY: + class StorageLensCloudWatchMetricsArgsDict(TypedDict): + """ + CloudWatch metrics settings for the Amazon S3 Storage Lens metrics export. + """ + is_enabled: pulumi.Input[bool] + """ + Specifies whether CloudWatch metrics are enabled or disabled. + """ +elif False: + StorageLensCloudWatchMetricsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensCloudWatchMetricsArgs: def __init__(__self__, *, @@ -3693,6 +5155,46 @@ def is_enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "is_enabled", value) +if not MYPY: + class StorageLensConfigurationArgsDict(TypedDict): + """ + Specifies the details of Amazon S3 Storage Lens configuration. + """ + account_level: pulumi.Input['StorageLensAccountLevelArgsDict'] + """ + This property contains the details of the account-level metrics for Amazon S3 Storage Lens configuration. + """ + id: pulumi.Input[str] + """ + This property contains the details of the ID of the S3 Storage Lens configuration. + """ + is_enabled: pulumi.Input[bool] + """ + Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled. + """ + aws_org: NotRequired[pulumi.Input['StorageLensAwsOrgArgsDict']] + """ + This property contains the details of the AWS Organization for the S3 Storage Lens configuration. + """ + data_export: NotRequired[pulumi.Input['StorageLensDataExportArgsDict']] + """ + This property contains the details of this S3 Storage Lens configuration's metrics export. + """ + exclude: NotRequired[pulumi.Input['StorageLensBucketsAndRegionsArgsDict']] + """ + This property contains the details of the bucket and or Regions excluded for Amazon S3 Storage Lens configuration. + """ + include: NotRequired[pulumi.Input['StorageLensBucketsAndRegionsArgsDict']] + """ + This property contains the details of the bucket and or Regions included for Amazon S3 Storage Lens configuration. + """ + storage_lens_arn: NotRequired[pulumi.Input[str]] + """ + The ARN for the Amazon S3 Storage Lens configuration. + """ +elif False: + StorageLensConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensConfigurationArgs: def __init__(__self__, *, @@ -3826,6 +5328,22 @@ def storage_lens_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "storage_lens_arn", value) +if not MYPY: + class StorageLensDataExportArgsDict(TypedDict): + """ + Specifies how Amazon S3 Storage Lens metrics should be exported. + """ + cloud_watch_metrics: NotRequired[pulumi.Input['StorageLensCloudWatchMetricsArgsDict']] + """ + This property enables the Amazon CloudWatch publishing option for S3 Storage Lens metrics. + """ + s3_bucket_destination: NotRequired[pulumi.Input['StorageLensS3BucketDestinationArgsDict']] + """ + This property contains the details of the bucket where the S3 Storage Lens metrics export will be placed. + """ +elif False: + StorageLensDataExportArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensDataExportArgs: def __init__(__self__, *, @@ -3866,6 +5384,18 @@ def s3_bucket_destination(self, value: Optional[pulumi.Input['StorageLensS3Bucke pulumi.set(self, "s3_bucket_destination", value) +if not MYPY: + class StorageLensDetailedStatusCodesMetricsArgsDict(TypedDict): + """ + Enables detailed status codes metrics. + """ + is_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether detailed status codes metrics are enabled or disabled. + """ +elif False: + StorageLensDetailedStatusCodesMetricsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensDetailedStatusCodesMetricsArgs: def __init__(__self__, *, @@ -3890,6 +5420,15 @@ def is_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_enabled", value) +if not MYPY: + class StorageLensEncryptionArgsDict(TypedDict): + """ + Configures the server-side encryption for Amazon S3 Storage Lens report files with either S3-managed keys (SSE-S3) or KMS-managed keys (SSE-KMS). + """ + pass +elif False: + StorageLensEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensEncryptionArgs: def __init__(__self__): @@ -3899,6 +5438,34 @@ def __init__(__self__): pass +if not MYPY: + class StorageLensGroupAndArgsDict(TypedDict): + """ + The Storage Lens group will include objects that match all of the specified filter values. + """ + match_any_prefix: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed. + """ + match_any_suffix: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed. + """ + match_any_tag: NotRequired[pulumi.Input[Sequence[pulumi.Input['StorageLensGroupTagArgsDict']]]] + """ + This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed. + """ + match_object_age: NotRequired[pulumi.Input['StorageLensGroupMatchObjectAgeArgsDict']] + """ + This property contains `DaysGreaterThan` and `DaysLessThan` properties to define the object age range (minimum and maximum number of days). + """ + match_object_size: NotRequired[pulumi.Input['StorageLensGroupMatchObjectSizeArgsDict']] + """ + This property contains `BytesGreaterThan` and `BytesLessThan` to define the object size range (minimum and maximum number of Bytes). + """ +elif False: + StorageLensGroupAndArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensGroupAndArgs: def __init__(__self__, *, @@ -3987,6 +5554,42 @@ def match_object_size(self, value: Optional[pulumi.Input['StorageLensGroupMatchO pulumi.set(self, "match_object_size", value) +if not MYPY: + class StorageLensGroupFilterArgsDict(TypedDict): + """ + Sets the Storage Lens Group filter. + """ + and_: NotRequired[pulumi.Input['StorageLensGroupAndArgsDict']] + """ + This property contains the `And` logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the `And` logical operator. Only one of each filter condition is allowed. + """ + match_any_prefix: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed. + """ + match_any_suffix: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed. + """ + match_any_tag: NotRequired[pulumi.Input[Sequence[pulumi.Input['StorageLensGroupTagArgsDict']]]] + """ + This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed. + """ + match_object_age: NotRequired[pulumi.Input['StorageLensGroupMatchObjectAgeArgsDict']] + """ + This property contains `DaysGreaterThan` and `DaysLessThan` to define the object age range (minimum and maximum number of days). + """ + match_object_size: NotRequired[pulumi.Input['StorageLensGroupMatchObjectSizeArgsDict']] + """ + This property contains `BytesGreaterThan` and `BytesLessThan` to define the object size range (minimum and maximum number of Bytes). + """ + or_: NotRequired[pulumi.Input['StorageLensGroupOrArgsDict']] + """ + This property contains the `Or` logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the `Or` logical operator. Only one of each filter condition is allowed. + """ +elif False: + StorageLensGroupFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensGroupFilterArgs: def __init__(__self__, *, @@ -4107,6 +5710,18 @@ def or_(self, value: Optional[pulumi.Input['StorageLensGroupOrArgs']]): pulumi.set(self, "or_", value) +if not MYPY: + class StorageLensGroupLevelArgsDict(TypedDict): + """ + Specifies the details of Amazon S3 Storage Lens Group configuration. + """ + storage_lens_group_selection_criteria: NotRequired[pulumi.Input['StorageLensGroupSelectionCriteriaArgsDict']] + """ + This property indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected. + """ +elif False: + StorageLensGroupLevelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensGroupLevelArgs: def __init__(__self__, *, @@ -4131,6 +5746,22 @@ def storage_lens_group_selection_criteria(self, value: Optional[pulumi.Input['St pulumi.set(self, "storage_lens_group_selection_criteria", value) +if not MYPY: + class StorageLensGroupMatchObjectAgeArgsDict(TypedDict): + """ + Filter to match all of the specified values for the minimum and maximum object age. + """ + days_greater_than: NotRequired[pulumi.Input[int]] + """ + Minimum object age to which the rule applies. + """ + days_less_than: NotRequired[pulumi.Input[int]] + """ + Maximum object age to which the rule applies. + """ +elif False: + StorageLensGroupMatchObjectAgeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensGroupMatchObjectAgeArgs: def __init__(__self__, *, @@ -4171,6 +5802,22 @@ def days_less_than(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "days_less_than", value) +if not MYPY: + class StorageLensGroupMatchObjectSizeArgsDict(TypedDict): + """ + Filter to match all of the specified values for the minimum and maximum object size. + """ + bytes_greater_than: NotRequired[pulumi.Input[int]] + """ + Minimum object size to which the rule applies. + """ + bytes_less_than: NotRequired[pulumi.Input[int]] + """ + Maximum object size to which the rule applies. + """ +elif False: + StorageLensGroupMatchObjectSizeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensGroupMatchObjectSizeArgs: def __init__(__self__, *, @@ -4211,6 +5858,34 @@ def bytes_less_than(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "bytes_less_than", value) +if not MYPY: + class StorageLensGroupOrArgsDict(TypedDict): + """ + The Storage Lens group will include objects that match any of the specified filter values. + """ + match_any_prefix: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed. + """ + match_any_suffix: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed. + """ + match_any_tag: NotRequired[pulumi.Input[Sequence[pulumi.Input['StorageLensGroupTagArgsDict']]]] + """ + This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed. + """ + match_object_age: NotRequired[pulumi.Input['StorageLensGroupMatchObjectAgeArgsDict']] + """ + This property filters objects that match the specified object age range. + """ + match_object_size: NotRequired[pulumi.Input['StorageLensGroupMatchObjectSizeArgsDict']] + """ + This property contains the `BytesGreaterThan` and `BytesLessThan` values to define the object size range (minimum and maximum number of Bytes). + """ +elif False: + StorageLensGroupOrArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensGroupOrArgs: def __init__(__self__, *, @@ -4299,6 +5974,22 @@ def match_object_size(self, value: Optional[pulumi.Input['StorageLensGroupMatchO pulumi.set(self, "match_object_size", value) +if not MYPY: + class StorageLensGroupSelectionCriteriaArgsDict(TypedDict): + """ + Selection criteria for Storage Lens Group level metrics + """ + exclude: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This property indicates which Storage Lens group ARNs to exclude from the Storage Lens group aggregation. + """ + include: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + This property indicates which Storage Lens group ARNs to include in the Storage Lens group aggregation. + """ +elif False: + StorageLensGroupSelectionCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensGroupSelectionCriteriaArgs: def __init__(__self__, *, @@ -4339,6 +6030,13 @@ def include(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "include", value) +if not MYPY: + class StorageLensGroupTagArgsDict(TypedDict): + key: pulumi.Input[str] + value: pulumi.Input[str] +elif False: + StorageLensGroupTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensGroupTagArgs: def __init__(__self__, *, @@ -4366,6 +6064,19 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class StorageLensPrefixLevelStorageMetricsArgsDict(TypedDict): + is_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether prefix-level storage metrics are enabled or disabled. + """ + selection_criteria: NotRequired[pulumi.Input['StorageLensSelectionCriteriaArgsDict']] + """ + This property identifies whether the details of the prefix-level storage metrics for S3 Storage Lens are enabled. + """ +elif False: + StorageLensPrefixLevelStorageMetricsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensPrefixLevelStorageMetricsArgs: def __init__(__self__, *, @@ -4405,6 +6116,18 @@ def selection_criteria(self, value: Optional[pulumi.Input['StorageLensSelectionC pulumi.set(self, "selection_criteria", value) +if not MYPY: + class StorageLensPrefixLevelArgsDict(TypedDict): + """ + Prefix-level metrics configurations. + """ + storage_metrics: pulumi.Input['StorageLensPrefixLevelStorageMetricsArgsDict'] + """ + A property for the prefix-level storage metrics for Amazon S3 Storage Lens. + """ +elif False: + StorageLensPrefixLevelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensPrefixLevelArgs: def __init__(__self__, *, @@ -4428,6 +6151,38 @@ def storage_metrics(self, value: pulumi.Input['StorageLensPrefixLevelStorageMetr pulumi.set(self, "storage_metrics", value) +if not MYPY: + class StorageLensS3BucketDestinationArgsDict(TypedDict): + """ + S3 bucket destination settings for the Amazon S3 Storage Lens metrics export. + """ + account_id: pulumi.Input[str] + """ + The AWS account ID that owns the destination S3 bucket. + """ + arn: pulumi.Input[str] + """ + The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed. + """ + format: pulumi.Input['StorageLensS3BucketDestinationFormat'] + """ + Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export. + """ + output_schema_version: pulumi.Input['StorageLensS3BucketDestinationOutputSchemaVersion'] + """ + The version of the output schema to use when exporting Amazon S3 Storage Lens metrics. + """ + encryption: NotRequired[pulumi.Input['StorageLensEncryptionArgsDict']] + """ + This property contains the details of the encryption of the bucket destination of the Amazon S3 Storage Lens metrics export. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + The prefix to use for Amazon S3 Storage Lens export. + """ +elif False: + StorageLensS3BucketDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensS3BucketDestinationArgs: def __init__(__self__, *, @@ -4528,6 +6283,26 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class StorageLensSelectionCriteriaArgsDict(TypedDict): + """ + Selection criteria for prefix-level metrics. + """ + delimiter: NotRequired[pulumi.Input[str]] + """ + Delimiter to divide S3 key into hierarchy of prefixes. + """ + max_depth: NotRequired[pulumi.Input[int]] + """ + Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze. + """ + min_storage_bytes_percentage: NotRequired[pulumi.Input[float]] + """ + The minimum storage bytes threshold for the prefixes to be included in the analysis. + """ +elif False: + StorageLensSelectionCriteriaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StorageLensSelectionCriteriaArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/s3/access_grant.py b/sdk/python/pulumi_aws_native/s3/access_grant.py index d5a9834262..c751c12d4b 100644 --- a/sdk/python/pulumi_aws_native/s3/access_grant.py +++ b/sdk/python/pulumi_aws_native/s3/access_grant.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/s3/access_grants_instance.py b/sdk/python/pulumi_aws_native/s3/access_grants_instance.py index 423ac5066a..5e6974d454 100644 --- a/sdk/python/pulumi_aws_native/s3/access_grants_instance.py +++ b/sdk/python/pulumi_aws_native/s3/access_grants_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/s3/access_grants_location.py b/sdk/python/pulumi_aws_native/s3/access_grants_location.py index b2f9bf12a0..a7b2124773 100644 --- a/sdk/python/pulumi_aws_native/s3/access_grants_location.py +++ b/sdk/python/pulumi_aws_native/s3/access_grants_location.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/s3/access_point.py b/sdk/python/pulumi_aws_native/s3/access_point.py index 8e01fa28cc..4590a1b54c 100644 --- a/sdk/python/pulumi_aws_native/s3/access_point.py +++ b/sdk/python/pulumi_aws_native/s3/access_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/s3/bucket.py b/sdk/python/pulumi_aws_native/s3/bucket.py index 06eea7e9a3..9f5336c7ac 100644 --- a/sdk/python/pulumi_aws_native/s3/bucket.py +++ b/sdk/python/pulumi_aws_native/s3/bucket.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/s3/bucket_policy.py b/sdk/python/pulumi_aws_native/s3/bucket_policy.py index 4589c6cbfd..b56a7f727f 100644 --- a/sdk/python/pulumi_aws_native/s3/bucket_policy.py +++ b/sdk/python/pulumi_aws_native/s3/bucket_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['BucketPolicyArgs', 'BucketPolicy'] diff --git a/sdk/python/pulumi_aws_native/s3/get_access_grant.py b/sdk/python/pulumi_aws_native/s3/get_access_grant.py index 4fb48c74d8..3da2083d98 100644 --- a/sdk/python/pulumi_aws_native/s3/get_access_grant.py +++ b/sdk/python/pulumi_aws_native/s3/get_access_grant.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -149,9 +154,6 @@ def get_access_grant(access_grant_id: Optional[str] = None, grant_scope=pulumi.get(__ret__, 'grant_scope'), grantee=pulumi.get(__ret__, 'grantee'), permission=pulumi.get(__ret__, 'permission')) - - -@_utilities.lift_output_func(get_access_grant) def get_access_grant_output(access_grant_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessGrantResult]: """ @@ -160,4 +162,16 @@ def get_access_grant_output(access_grant_id: Optional[pulumi.Input[str]] = None, :param str access_grant_id: The ID assigned to this access grant. """ - ... + __args__ = dict() + __args__['accessGrantId'] = access_grant_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3:getAccessGrant', __args__, opts=opts, typ=GetAccessGrantResult) + return __ret__.apply(lambda __response__: GetAccessGrantResult( + access_grant_arn=pulumi.get(__response__, 'access_grant_arn'), + access_grant_id=pulumi.get(__response__, 'access_grant_id'), + access_grants_location_configuration=pulumi.get(__response__, 'access_grants_location_configuration'), + access_grants_location_id=pulumi.get(__response__, 'access_grants_location_id'), + application_arn=pulumi.get(__response__, 'application_arn'), + grant_scope=pulumi.get(__response__, 'grant_scope'), + grantee=pulumi.get(__response__, 'grantee'), + permission=pulumi.get(__response__, 'permission'))) diff --git a/sdk/python/pulumi_aws_native/s3/get_access_grants_instance.py b/sdk/python/pulumi_aws_native/s3/get_access_grants_instance.py index 4b232c568d..dfda0ce0d2 100644 --- a/sdk/python/pulumi_aws_native/s3/get_access_grants_instance.py +++ b/sdk/python/pulumi_aws_native/s3/get_access_grants_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_access_grants_instance(access_grants_instance_arn: Optional[str] = None, access_grants_instance_arn=pulumi.get(__ret__, 'access_grants_instance_arn'), access_grants_instance_id=pulumi.get(__ret__, 'access_grants_instance_id'), identity_center_arn=pulumi.get(__ret__, 'identity_center_arn')) - - -@_utilities.lift_output_func(get_access_grants_instance) def get_access_grants_instance_output(access_grants_instance_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessGrantsInstanceResult]: """ @@ -93,4 +95,11 @@ def get_access_grants_instance_output(access_grants_instance_arn: Optional[pulum :param str access_grants_instance_arn: The Amazon Resource Name (ARN) of the specified Access Grants instance. """ - ... + __args__ = dict() + __args__['accessGrantsInstanceArn'] = access_grants_instance_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3:getAccessGrantsInstance', __args__, opts=opts, typ=GetAccessGrantsInstanceResult) + return __ret__.apply(lambda __response__: GetAccessGrantsInstanceResult( + access_grants_instance_arn=pulumi.get(__response__, 'access_grants_instance_arn'), + access_grants_instance_id=pulumi.get(__response__, 'access_grants_instance_id'), + identity_center_arn=pulumi.get(__response__, 'identity_center_arn'))) diff --git a/sdk/python/pulumi_aws_native/s3/get_access_grants_location.py b/sdk/python/pulumi_aws_native/s3/get_access_grants_location.py index 842a379195..4f01c61e8f 100644 --- a/sdk/python/pulumi_aws_native/s3/get_access_grants_location.py +++ b/sdk/python/pulumi_aws_native/s3/get_access_grants_location.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -95,9 +100,6 @@ def get_access_grants_location(access_grants_location_id: Optional[str] = None, access_grants_location_id=pulumi.get(__ret__, 'access_grants_location_id'), iam_role_arn=pulumi.get(__ret__, 'iam_role_arn'), location_scope=pulumi.get(__ret__, 'location_scope')) - - -@_utilities.lift_output_func(get_access_grants_location) def get_access_grants_location_output(access_grants_location_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessGrantsLocationResult]: """ @@ -106,4 +108,12 @@ def get_access_grants_location_output(access_grants_location_id: Optional[pulumi :param str access_grants_location_id: The unique identifier for the specified Access Grants location. """ - ... + __args__ = dict() + __args__['accessGrantsLocationId'] = access_grants_location_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3:getAccessGrantsLocation', __args__, opts=opts, typ=GetAccessGrantsLocationResult) + return __ret__.apply(lambda __response__: GetAccessGrantsLocationResult( + access_grants_location_arn=pulumi.get(__response__, 'access_grants_location_arn'), + access_grants_location_id=pulumi.get(__response__, 'access_grants_location_id'), + iam_role_arn=pulumi.get(__response__, 'iam_role_arn'), + location_scope=pulumi.get(__response__, 'location_scope'))) diff --git a/sdk/python/pulumi_aws_native/s3/get_access_point.py b/sdk/python/pulumi_aws_native/s3/get_access_point.py index a4b4979e84..571267a60d 100644 --- a/sdk/python/pulumi_aws_native/s3/get_access_point.py +++ b/sdk/python/pulumi_aws_native/s3/get_access_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -112,9 +117,6 @@ def get_access_point(name: Optional[str] = None, network_origin=pulumi.get(__ret__, 'network_origin'), policy=pulumi.get(__ret__, 'policy'), public_access_block_configuration=pulumi.get(__ret__, 'public_access_block_configuration')) - - -@_utilities.lift_output_func(get_access_point) def get_access_point_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPointResult]: """ @@ -123,4 +125,13 @@ def get_access_point_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name you want to assign to this Access Point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3:getAccessPoint', __args__, opts=opts, typ=GetAccessPointResult) + return __ret__.apply(lambda __response__: GetAccessPointResult( + alias=pulumi.get(__response__, 'alias'), + arn=pulumi.get(__response__, 'arn'), + network_origin=pulumi.get(__response__, 'network_origin'), + policy=pulumi.get(__response__, 'policy'), + public_access_block_configuration=pulumi.get(__response__, 'public_access_block_configuration'))) diff --git a/sdk/python/pulumi_aws_native/s3/get_bucket.py b/sdk/python/pulumi_aws_native/s3/get_bucket.py index 1ba89d2a84..a9d7a2d486 100644 --- a/sdk/python/pulumi_aws_native/s3/get_bucket.py +++ b/sdk/python/pulumi_aws_native/s3/get_bucket.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -368,9 +373,6 @@ def get_bucket(bucket_name: Optional[str] = None, versioning_configuration=pulumi.get(__ret__, 'versioning_configuration'), website_configuration=pulumi.get(__ret__, 'website_configuration'), website_url=pulumi.get(__ret__, 'website_url')) - - -@_utilities.lift_output_func(get_bucket) def get_bucket_output(bucket_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBucketResult]: """ @@ -382,4 +384,31 @@ def get_bucket_output(bucket_name: Optional[pulumi.Input[str]] = None, :param str bucket_name: A name for the bucket. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name. The bucket name must contain only lowercase letters, numbers, periods (.), and dashes (-) and must follow [Amazon S3 bucket restrictions and limitations](https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html). For more information, see [Rules for naming Amazon S3 buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules) in the *Amazon S3 User Guide*. If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name. """ - ... + __args__ = dict() + __args__['bucketName'] = bucket_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3:getBucket', __args__, opts=opts, typ=GetBucketResult) + return __ret__.apply(lambda __response__: GetBucketResult( + accelerate_configuration=pulumi.get(__response__, 'accelerate_configuration'), + analytics_configurations=pulumi.get(__response__, 'analytics_configurations'), + arn=pulumi.get(__response__, 'arn'), + bucket_encryption=pulumi.get(__response__, 'bucket_encryption'), + cors_configuration=pulumi.get(__response__, 'cors_configuration'), + domain_name=pulumi.get(__response__, 'domain_name'), + dual_stack_domain_name=pulumi.get(__response__, 'dual_stack_domain_name'), + intelligent_tiering_configurations=pulumi.get(__response__, 'intelligent_tiering_configurations'), + inventory_configurations=pulumi.get(__response__, 'inventory_configurations'), + lifecycle_configuration=pulumi.get(__response__, 'lifecycle_configuration'), + logging_configuration=pulumi.get(__response__, 'logging_configuration'), + metrics_configurations=pulumi.get(__response__, 'metrics_configurations'), + notification_configuration=pulumi.get(__response__, 'notification_configuration'), + object_lock_configuration=pulumi.get(__response__, 'object_lock_configuration'), + object_lock_enabled=pulumi.get(__response__, 'object_lock_enabled'), + ownership_controls=pulumi.get(__response__, 'ownership_controls'), + public_access_block_configuration=pulumi.get(__response__, 'public_access_block_configuration'), + regional_domain_name=pulumi.get(__response__, 'regional_domain_name'), + replication_configuration=pulumi.get(__response__, 'replication_configuration'), + tags=pulumi.get(__response__, 'tags'), + versioning_configuration=pulumi.get(__response__, 'versioning_configuration'), + website_configuration=pulumi.get(__response__, 'website_configuration'), + website_url=pulumi.get(__response__, 'website_url'))) diff --git a/sdk/python/pulumi_aws_native/s3/get_bucket_policy.py b/sdk/python/pulumi_aws_native/s3/get_bucket_policy.py index 32b6bdde54..c55eaae785 100644 --- a/sdk/python/pulumi_aws_native/s3/get_bucket_policy.py +++ b/sdk/python/pulumi_aws_native/s3/get_bucket_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -64,9 +69,6 @@ def get_bucket_policy(bucket: Optional[str] = None, return AwaitableGetBucketPolicyResult( policy_document=pulumi.get(__ret__, 'policy_document')) - - -@_utilities.lift_output_func(get_bucket_policy) def get_bucket_policy_output(bucket: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBucketPolicyResult]: """ @@ -81,4 +83,9 @@ def get_bucket_policy_output(bucket: Optional[pulumi.Input[str]] = None, :param str bucket: The name of the Amazon S3 bucket to which the policy applies. """ - ... + __args__ = dict() + __args__['bucket'] = bucket + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3:getBucketPolicy', __args__, opts=opts, typ=GetBucketPolicyResult) + return __ret__.apply(lambda __response__: GetBucketPolicyResult( + policy_document=pulumi.get(__response__, 'policy_document'))) diff --git a/sdk/python/pulumi_aws_native/s3/get_multi_region_access_point.py b/sdk/python/pulumi_aws_native/s3/get_multi_region_access_point.py index 1ad958ae20..680e3e6be9 100644 --- a/sdk/python/pulumi_aws_native/s3/get_multi_region_access_point.py +++ b/sdk/python/pulumi_aws_native/s3/get_multi_region_access_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_multi_region_access_point(name: Optional[str] = None, return AwaitableGetMultiRegionAccessPointResult( alias=pulumi.get(__ret__, 'alias'), created_at=pulumi.get(__ret__, 'created_at')) - - -@_utilities.lift_output_func(get_multi_region_access_point) def get_multi_region_access_point_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMultiRegionAccessPointResult]: """ @@ -80,4 +82,10 @@ def get_multi_region_access_point_output(name: Optional[pulumi.Input[str]] = Non :param str name: The name you want to assign to this Multi Region Access Point. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3:getMultiRegionAccessPoint', __args__, opts=opts, typ=GetMultiRegionAccessPointResult) + return __ret__.apply(lambda __response__: GetMultiRegionAccessPointResult( + alias=pulumi.get(__response__, 'alias'), + created_at=pulumi.get(__response__, 'created_at'))) diff --git a/sdk/python/pulumi_aws_native/s3/get_multi_region_access_point_policy.py b/sdk/python/pulumi_aws_native/s3/get_multi_region_access_point_policy.py index 54b576d513..f8764c1990 100644 --- a/sdk/python/pulumi_aws_native/s3/get_multi_region_access_point_policy.py +++ b/sdk/python/pulumi_aws_native/s3/get_multi_region_access_point_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -73,9 +78,6 @@ def get_multi_region_access_point_policy(mrap_name: Optional[str] = None, return AwaitableGetMultiRegionAccessPointPolicyResult( policy=pulumi.get(__ret__, 'policy'), policy_status=pulumi.get(__ret__, 'policy_status')) - - -@_utilities.lift_output_func(get_multi_region_access_point_policy) def get_multi_region_access_point_policy_output(mrap_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMultiRegionAccessPointPolicyResult]: """ @@ -84,4 +86,10 @@ def get_multi_region_access_point_policy_output(mrap_name: Optional[pulumi.Input :param str mrap_name: The name of the Multi Region Access Point to apply policy """ - ... + __args__ = dict() + __args__['mrapName'] = mrap_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3:getMultiRegionAccessPointPolicy', __args__, opts=opts, typ=GetMultiRegionAccessPointPolicyResult) + return __ret__.apply(lambda __response__: GetMultiRegionAccessPointPolicyResult( + policy=pulumi.get(__response__, 'policy'), + policy_status=pulumi.get(__response__, 'policy_status'))) diff --git a/sdk/python/pulumi_aws_native/s3/get_storage_lens_group.py b/sdk/python/pulumi_aws_native/s3/get_storage_lens_group.py index 9cecdbcc35..c926d4c2da 100644 --- a/sdk/python/pulumi_aws_native/s3/get_storage_lens_group.py +++ b/sdk/python/pulumi_aws_native/s3/get_storage_lens_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -84,9 +89,6 @@ def get_storage_lens_group(name: Optional[str] = None, filter=pulumi.get(__ret__, 'filter'), storage_lens_group_arn=pulumi.get(__ret__, 'storage_lens_group_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_storage_lens_group) def get_storage_lens_group_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageLensGroupResult]: """ @@ -95,4 +97,11 @@ def get_storage_lens_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: This property contains the Storage Lens group name. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3:getStorageLensGroup', __args__, opts=opts, typ=GetStorageLensGroupResult) + return __ret__.apply(lambda __response__: GetStorageLensGroupResult( + filter=pulumi.get(__response__, 'filter'), + storage_lens_group_arn=pulumi.get(__response__, 'storage_lens_group_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/s3/multi_region_access_point.py b/sdk/python/pulumi_aws_native/s3/multi_region_access_point.py index b3e429fb3c..331ff773de 100644 --- a/sdk/python/pulumi_aws_native/s3/multi_region_access_point.py +++ b/sdk/python/pulumi_aws_native/s3/multi_region_access_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/s3/multi_region_access_point_policy.py b/sdk/python/pulumi_aws_native/s3/multi_region_access_point_policy.py index 660955b8c8..e968f46ced 100644 --- a/sdk/python/pulumi_aws_native/s3/multi_region_access_point_policy.py +++ b/sdk/python/pulumi_aws_native/s3/multi_region_access_point_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/s3/outputs.py b/sdk/python/pulumi_aws_native/s3/outputs.py index b392affa6e..a5a292a344 100644 --- a/sdk/python/pulumi_aws_native/s3/outputs.py +++ b/sdk/python/pulumi_aws_native/s3/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/s3/storage_lens.py b/sdk/python/pulumi_aws_native/s3/storage_lens.py index 56a66edeae..389921de32 100644 --- a/sdk/python/pulumi_aws_native/s3/storage_lens.py +++ b/sdk/python/pulumi_aws_native/s3/storage_lens.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/s3/storage_lens_group.py b/sdk/python/pulumi_aws_native/s3/storage_lens_group.py index d73c408bed..e07b532e6a 100644 --- a/sdk/python/pulumi_aws_native/s3/storage_lens_group.py +++ b/sdk/python/pulumi_aws_native/s3/storage_lens_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/s3express/_inputs.py b/sdk/python/pulumi_aws_native/s3express/_inputs.py index 42d3de4962..b7e79c7e0d 100644 --- a/sdk/python/pulumi_aws_native/s3express/_inputs.py +++ b/sdk/python/pulumi_aws_native/s3express/_inputs.py @@ -4,18 +4,40 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DirectoryBucketBucketEncryptionArgs', + 'DirectoryBucketBucketEncryptionArgsDict', 'DirectoryBucketServerSideEncryptionByDefaultArgs', + 'DirectoryBucketServerSideEncryptionByDefaultArgsDict', 'DirectoryBucketServerSideEncryptionRuleArgs', + 'DirectoryBucketServerSideEncryptionRuleArgsDict', ] +MYPY = False + +if not MYPY: + class DirectoryBucketBucketEncryptionArgsDict(TypedDict): + """ + Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS). + """ + server_side_encryption_configuration: pulumi.Input[Sequence[pulumi.Input['DirectoryBucketServerSideEncryptionRuleArgsDict']]] + """ + Specifies the default server-side-encryption configuration. + """ +elif False: + DirectoryBucketBucketEncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DirectoryBucketBucketEncryptionArgs: def __init__(__self__, *, @@ -39,6 +61,24 @@ def server_side_encryption_configuration(self, value: pulumi.Input[Sequence[pulu pulumi.set(self, "server_side_encryption_configuration", value) +if not MYPY: + class DirectoryBucketServerSideEncryptionByDefaultArgsDict(TypedDict): + """ + Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. + """ + sse_algorithm: pulumi.Input['DirectoryBucketServerSideEncryptionByDefaultSseAlgorithm'] + """ + Server-side encryption algorithm to use for the default encryption. + + > For directory buckets, there are only two supported values for server-side encryption: `AES256` and `aws:kms` . + """ + kms_master_key_id: NotRequired[pulumi.Input[str]] + """ + AWS Key Management Service (KMS) customer managed key ID to use for the default encryption. This parameter is allowed only if SSEAlgorithm is set to aws:kms. You can specify this parameter with the key ID or the Amazon Resource Name (ARN) of the KMS key + """ +elif False: + DirectoryBucketServerSideEncryptionByDefaultArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DirectoryBucketServerSideEncryptionByDefaultArgs: def __init__(__self__, *, @@ -82,6 +122,22 @@ def kms_master_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_master_key_id", value) +if not MYPY: + class DirectoryBucketServerSideEncryptionRuleArgsDict(TypedDict): + """ + Specifies the default server-side encryption configuration. + """ + bucket_key_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Amazon S3 Express One Zone uses an S3 Bucket Key with SSE-KMS and S3 Bucket Key cannot be disabled. It's only allowed to set the BucketKeyEnabled element to true. + """ + server_side_encryption_by_default: NotRequired[pulumi.Input['DirectoryBucketServerSideEncryptionByDefaultArgsDict']] + """ + Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. + """ +elif False: + DirectoryBucketServerSideEncryptionRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DirectoryBucketServerSideEncryptionRuleArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/s3express/bucket_policy.py b/sdk/python/pulumi_aws_native/s3express/bucket_policy.py index 5f0934cba9..869055a49c 100644 --- a/sdk/python/pulumi_aws_native/s3express/bucket_policy.py +++ b/sdk/python/pulumi_aws_native/s3express/bucket_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['BucketPolicyArgs', 'BucketPolicy'] diff --git a/sdk/python/pulumi_aws_native/s3express/directory_bucket.py b/sdk/python/pulumi_aws_native/s3express/directory_bucket.py index 2d4d6af771..0524b76ca5 100644 --- a/sdk/python/pulumi_aws_native/s3express/directory_bucket.py +++ b/sdk/python/pulumi_aws_native/s3express/directory_bucket.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/s3express/get_bucket_policy.py b/sdk/python/pulumi_aws_native/s3express/get_bucket_policy.py index 72b9453bdc..1211d7c142 100644 --- a/sdk/python/pulumi_aws_native/s3express/get_bucket_policy.py +++ b/sdk/python/pulumi_aws_native/s3express/get_bucket_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -58,9 +63,6 @@ def get_bucket_policy(bucket: Optional[str] = None, return AwaitableGetBucketPolicyResult( policy_document=pulumi.get(__ret__, 'policy_document')) - - -@_utilities.lift_output_func(get_bucket_policy) def get_bucket_policy_output(bucket: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBucketPolicyResult]: """ @@ -69,4 +71,9 @@ def get_bucket_policy_output(bucket: Optional[pulumi.Input[str]] = None, :param str bucket: The name of the S3 directory bucket to which the policy applies. """ - ... + __args__ = dict() + __args__['bucket'] = bucket + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3express:getBucketPolicy', __args__, opts=opts, typ=GetBucketPolicyResult) + return __ret__.apply(lambda __response__: GetBucketPolicyResult( + policy_document=pulumi.get(__response__, 'policy_document'))) diff --git a/sdk/python/pulumi_aws_native/s3express/get_directory_bucket.py b/sdk/python/pulumi_aws_native/s3express/get_directory_bucket.py index 92faa03984..525bc8f088 100644 --- a/sdk/python/pulumi_aws_native/s3express/get_directory_bucket.py +++ b/sdk/python/pulumi_aws_native/s3express/get_directory_bucket.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -84,9 +89,6 @@ def get_directory_bucket(bucket_name: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), availability_zone_name=pulumi.get(__ret__, 'availability_zone_name'), bucket_encryption=pulumi.get(__ret__, 'bucket_encryption')) - - -@_utilities.lift_output_func(get_directory_bucket) def get_directory_bucket_output(bucket_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDirectoryBucketResult]: """ @@ -95,4 +97,11 @@ def get_directory_bucket_output(bucket_name: Optional[pulumi.Input[str]] = None, :param str bucket_name: Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name. """ - ... + __args__ = dict() + __args__['bucketName'] = bucket_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3express:getDirectoryBucket', __args__, opts=opts, typ=GetDirectoryBucketResult) + return __ret__.apply(lambda __response__: GetDirectoryBucketResult( + arn=pulumi.get(__response__, 'arn'), + availability_zone_name=pulumi.get(__response__, 'availability_zone_name'), + bucket_encryption=pulumi.get(__response__, 'bucket_encryption'))) diff --git a/sdk/python/pulumi_aws_native/s3express/outputs.py b/sdk/python/pulumi_aws_native/s3express/outputs.py index 8e31726630..cdb325bb6d 100644 --- a/sdk/python/pulumi_aws_native/s3express/outputs.py +++ b/sdk/python/pulumi_aws_native/s3express/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/s3objectlambda/_inputs.py b/sdk/python/pulumi_aws_native/s3objectlambda/_inputs.py index 4c0ba4534e..924c665af7 100644 --- a/sdk/python/pulumi_aws_native/s3objectlambda/_inputs.py +++ b/sdk/python/pulumi_aws_native/s3objectlambda/_inputs.py @@ -4,18 +4,36 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'AccessPointAwsLambdaArgs', + 'AccessPointAwsLambdaArgsDict', 'AccessPointObjectLambdaConfigurationArgs', + 'AccessPointObjectLambdaConfigurationArgsDict', 'AccessPointTransformationConfigurationContentTransformationPropertiesArgs', + 'AccessPointTransformationConfigurationContentTransformationPropertiesArgsDict', 'AccessPointTransformationConfigurationArgs', + 'AccessPointTransformationConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class AccessPointAwsLambdaArgsDict(TypedDict): + function_arn: pulumi.Input[str] + function_payload: NotRequired[pulumi.Input[str]] +elif False: + AccessPointAwsLambdaArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPointAwsLambdaArgs: def __init__(__self__, *, @@ -44,6 +62,30 @@ def function_payload(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "function_payload", value) +if not MYPY: + class AccessPointObjectLambdaConfigurationArgsDict(TypedDict): + """ + Configuration to be applied to this Object lambda Access Point. It specifies Supporting Access Point, Transformation Configurations. Customers can also set if they like to enable Cloudwatch metrics for accesses to this Object lambda Access Point. Default setting for Cloudwatch metrics is disable. + """ + supporting_access_point: pulumi.Input[str] + """ + Standard access point associated with the Object Lambda Access Point. + """ + transformation_configurations: pulumi.Input[Sequence[pulumi.Input['AccessPointTransformationConfigurationArgsDict']]] + """ + A container for transformation configurations for an Object Lambda Access Point. + """ + allowed_features: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A container for allowed features. Valid inputs are `GetObject-Range` , `GetObject-PartNumber` , `HeadObject-Range` , and `HeadObject-PartNumber` . + """ + cloud_watch_metrics_enabled: NotRequired[pulumi.Input[bool]] + """ + A container for whether the CloudWatch metrics configuration is enabled. + """ +elif False: + AccessPointObjectLambdaConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPointObjectLambdaConfigurationArgs: def __init__(__self__, *, @@ -114,6 +156,15 @@ def cloud_watch_metrics_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "cloud_watch_metrics_enabled", value) +if not MYPY: + class AccessPointTransformationConfigurationContentTransformationPropertiesArgsDict(TypedDict): + """ + A container for the content transformation of an Object Lambda Access Point configuration. Can include the FunctionArn and FunctionPayload. For more information, see [AwsLambdaTransformation](https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_AwsLambdaTransformation.html) in the *Amazon S3 API Reference* . + """ + aws_lambda: pulumi.Input['AccessPointAwsLambdaArgsDict'] +elif False: + AccessPointTransformationConfigurationContentTransformationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPointTransformationConfigurationContentTransformationPropertiesArgs: def __init__(__self__, *, @@ -133,6 +184,22 @@ def aws_lambda(self, value: pulumi.Input['AccessPointAwsLambdaArgs']): pulumi.set(self, "aws_lambda", value) +if not MYPY: + class AccessPointTransformationConfigurationArgsDict(TypedDict): + """ + Configuration to define what content transformation will be applied on which S3 Action. + """ + actions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + A container for the action of an Object Lambda Access Point configuration. Valid inputs are `GetObject` , `HeadObject` , `ListObjects` , and `ListObjectsV2` . + """ + content_transformation: pulumi.Input['AccessPointTransformationConfigurationContentTransformationPropertiesArgsDict'] + """ + A container for the content transformation of an Object Lambda Access Point configuration. Can include the FunctionArn and FunctionPayload. For more information, see [AwsLambdaTransformation](https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_AwsLambdaTransformation.html) in the *Amazon S3 API Reference* . + """ +elif False: + AccessPointTransformationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPointTransformationConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/s3objectlambda/access_point.py b/sdk/python/pulumi_aws_native/s3objectlambda/access_point.py index 2d764232c1..bf7cc6f9c2 100644 --- a/sdk/python/pulumi_aws_native/s3objectlambda/access_point.py +++ b/sdk/python/pulumi_aws_native/s3objectlambda/access_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/s3objectlambda/access_point_policy.py b/sdk/python/pulumi_aws_native/s3objectlambda/access_point_policy.py index c1b87b66aa..1f1b52c377 100644 --- a/sdk/python/pulumi_aws_native/s3objectlambda/access_point_policy.py +++ b/sdk/python/pulumi_aws_native/s3objectlambda/access_point_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['AccessPointPolicyArgs', 'AccessPointPolicy'] diff --git a/sdk/python/pulumi_aws_native/s3objectlambda/get_access_point.py b/sdk/python/pulumi_aws_native/s3objectlambda/get_access_point.py index 972a7505ab..275df70e0e 100644 --- a/sdk/python/pulumi_aws_native/s3objectlambda/get_access_point.py +++ b/sdk/python/pulumi_aws_native/s3objectlambda/get_access_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -116,9 +121,6 @@ def get_access_point(name: Optional[str] = None, object_lambda_configuration=pulumi.get(__ret__, 'object_lambda_configuration'), policy_status=pulumi.get(__ret__, 'policy_status'), public_access_block_configuration=pulumi.get(__ret__, 'public_access_block_configuration')) - - -@_utilities.lift_output_func(get_access_point) def get_access_point_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPointResult]: """ @@ -127,4 +129,14 @@ def get_access_point_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name you want to assign to this Object lambda Access Point. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3objectlambda:getAccessPoint', __args__, opts=opts, typ=GetAccessPointResult) + return __ret__.apply(lambda __response__: GetAccessPointResult( + alias=pulumi.get(__response__, 'alias'), + arn=pulumi.get(__response__, 'arn'), + creation_date=pulumi.get(__response__, 'creation_date'), + object_lambda_configuration=pulumi.get(__response__, 'object_lambda_configuration'), + policy_status=pulumi.get(__response__, 'policy_status'), + public_access_block_configuration=pulumi.get(__response__, 'public_access_block_configuration'))) diff --git a/sdk/python/pulumi_aws_native/s3objectlambda/get_access_point_policy.py b/sdk/python/pulumi_aws_native/s3objectlambda/get_access_point_policy.py index 66328faae3..ee0a02ec52 100644 --- a/sdk/python/pulumi_aws_native/s3objectlambda/get_access_point_policy.py +++ b/sdk/python/pulumi_aws_native/s3objectlambda/get_access_point_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -58,9 +63,6 @@ def get_access_point_policy(object_lambda_access_point: Optional[str] = None, return AwaitableGetAccessPointPolicyResult( policy_document=pulumi.get(__ret__, 'policy_document')) - - -@_utilities.lift_output_func(get_access_point_policy) def get_access_point_policy_output(object_lambda_access_point: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPointPolicyResult]: """ @@ -69,4 +71,9 @@ def get_access_point_policy_output(object_lambda_access_point: Optional[pulumi.I :param str object_lambda_access_point: The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies. """ - ... + __args__ = dict() + __args__['objectLambdaAccessPoint'] = object_lambda_access_point + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3objectlambda:getAccessPointPolicy', __args__, opts=opts, typ=GetAccessPointPolicyResult) + return __ret__.apply(lambda __response__: GetAccessPointPolicyResult( + policy_document=pulumi.get(__response__, 'policy_document'))) diff --git a/sdk/python/pulumi_aws_native/s3objectlambda/outputs.py b/sdk/python/pulumi_aws_native/s3objectlambda/outputs.py index f64a5de576..46cfbf8aaa 100644 --- a/sdk/python/pulumi_aws_native/s3objectlambda/outputs.py +++ b/sdk/python/pulumi_aws_native/s3objectlambda/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/s3outposts/_inputs.py b/sdk/python/pulumi_aws_native/s3outposts/_inputs.py index aa689b6f70..71c2e38e10 100644 --- a/sdk/python/pulumi_aws_native/s3outposts/_inputs.py +++ b/sdk/python/pulumi_aws_native/s3outposts/_inputs.py @@ -4,23 +4,47 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AccessPointVpcConfigurationArgs', + 'AccessPointVpcConfigurationArgsDict', 'BucketAbortIncompleteMultipartUploadArgs', + 'BucketAbortIncompleteMultipartUploadArgsDict', 'BucketFilterAndOperatorPropertiesArgs', + 'BucketFilterAndOperatorPropertiesArgsDict', 'BucketFilterTagArgs', + 'BucketFilterTagArgsDict', 'BucketLifecycleConfigurationArgs', + 'BucketLifecycleConfigurationArgsDict', 'BucketRuleFilterPropertiesArgs', + 'BucketRuleFilterPropertiesArgsDict', 'BucketRuleArgs', + 'BucketRuleArgsDict', 'EndpointFailedReasonArgs', + 'EndpointFailedReasonArgsDict', ] +MYPY = False + +if not MYPY: + class AccessPointVpcConfigurationArgsDict(TypedDict): + vpc_id: NotRequired[pulumi.Input[str]] + """ + Virtual Private Cloud (VPC) Id from which AccessPoint will allow requests. + """ +elif False: + AccessPointVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AccessPointVpcConfigurationArgs: def __init__(__self__, *, @@ -44,6 +68,18 @@ def vpc_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_id", value) +if not MYPY: + class BucketAbortIncompleteMultipartUploadArgsDict(TypedDict): + """ + Specifies the days since the initiation of an incomplete multipart upload that Amazon S3Outposts will wait before permanently removing all parts of the upload. + """ + days_after_initiation: pulumi.Input[int] + """ + Specifies the number of days after which Amazon S3Outposts aborts an incomplete multipart upload. + """ +elif False: + BucketAbortIncompleteMultipartUploadArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketAbortIncompleteMultipartUploadArgs: def __init__(__self__, *, @@ -67,6 +103,19 @@ def days_after_initiation(self, value: pulumi.Input[int]): pulumi.set(self, "days_after_initiation", value) +if not MYPY: + class BucketFilterAndOperatorPropertiesArgsDict(TypedDict): + tags: pulumi.Input[Sequence[pulumi.Input['BucketFilterTagArgsDict']]] + """ + All of these tags must exist in the object's tag set in order for the rule to apply. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Prefix identifies one or more objects to which the rule applies. + """ +elif False: + BucketFilterAndOperatorPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketFilterAndOperatorPropertiesArgs: def __init__(__self__, *, @@ -105,6 +154,16 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class BucketFilterTagArgsDict(TypedDict): + """ + Tag used to identify a subset of objects for an Amazon S3Outposts bucket. + """ + key: pulumi.Input[str] + value: pulumi.Input[str] +elif False: + BucketFilterTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketFilterTagArgs: def __init__(__self__, *, @@ -135,6 +194,15 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class BucketLifecycleConfigurationArgsDict(TypedDict): + rules: pulumi.Input[Sequence[pulumi.Input['BucketRuleArgsDict']]] + """ + A list of lifecycle rules for individual objects in an Amazon S3Outposts bucket. + """ +elif False: + BucketLifecycleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketLifecycleConfigurationArgs: def __init__(__self__, *, @@ -157,6 +225,26 @@ def rules(self, value: pulumi.Input[Sequence[pulumi.Input['BucketRuleArgs']]]): pulumi.set(self, "rules", value) +if not MYPY: + class BucketRuleFilterPropertiesArgsDict(TypedDict): + """ + The container for the filter of the lifecycle rule. + """ + and_operator: NotRequired[pulumi.Input['BucketFilterAndOperatorPropertiesArgsDict']] + """ + The container for the AND condition for the lifecycle rule. A combination of Prefix and 1 or more Tags OR a minimum of 2 or more tags. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + Object key prefix that identifies one or more objects to which this rule applies. + """ + tag: NotRequired[pulumi.Input['BucketFilterTagArgsDict']] + """ + Specifies a tag used to identify a subset of objects for an Amazon S3Outposts bucket. + """ +elif False: + BucketRuleFilterPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketRuleFilterPropertiesArgs: def __init__(__self__, *, @@ -213,6 +301,38 @@ def tag(self, value: Optional[pulumi.Input['BucketFilterTagArgs']]): pulumi.set(self, "tag", value) +if not MYPY: + class BucketRuleArgsDict(TypedDict): + """ + Specifies lifecycle rules for an Amazon S3Outposts bucket. You must specify at least one of the following: AbortIncompleteMultipartUpload, ExpirationDate, ExpirationInDays. + """ + abort_incomplete_multipart_upload: NotRequired[pulumi.Input['BucketAbortIncompleteMultipartUploadArgsDict']] + """ + Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket. + """ + expiration_date: NotRequired[pulumi.Input[str]] + """ + Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC. + """ + expiration_in_days: NotRequired[pulumi.Input[int]] + """ + Indicates the number of days after creation when objects are deleted from Amazon S3Outposts. + """ + filter: NotRequired[pulumi.Input['BucketRuleFilterPropertiesArgsDict']] + """ + The container for the filter of the lifecycle rule. + """ + id: NotRequired[pulumi.Input[str]] + """ + Unique identifier for the lifecycle rule. The value can't be longer than 255 characters. + """ + status: NotRequired[pulumi.Input['BucketRuleStatus']] + """ + If `Enabled` , the rule is currently being applied. If `Disabled` , the rule is not currently being applied. + """ +elif False: + BucketRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class BucketRuleArgs: def __init__(__self__, *, @@ -317,6 +437,19 @@ def status(self, value: Optional[pulumi.Input['BucketRuleStatus']]): pulumi.set(self, "status", value) +if not MYPY: + class EndpointFailedReasonArgsDict(TypedDict): + error_code: NotRequired[pulumi.Input[str]] + """ + The failure code, if any, for a create or delete endpoint operation. + """ + message: NotRequired[pulumi.Input[str]] + """ + Additional error details describing the endpoint failure and recommended action. + """ +elif False: + EndpointFailedReasonArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EndpointFailedReasonArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/s3outposts/access_point.py b/sdk/python/pulumi_aws_native/s3outposts/access_point.py index 1880e7d124..cd25e79538 100644 --- a/sdk/python/pulumi_aws_native/s3outposts/access_point.py +++ b/sdk/python/pulumi_aws_native/s3outposts/access_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/s3outposts/bucket.py b/sdk/python/pulumi_aws_native/s3outposts/bucket.py index 1830951014..33c41a3dbd 100644 --- a/sdk/python/pulumi_aws_native/s3outposts/bucket.py +++ b/sdk/python/pulumi_aws_native/s3outposts/bucket.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/s3outposts/bucket_policy.py b/sdk/python/pulumi_aws_native/s3outposts/bucket_policy.py index cd1a1f503f..f648970a71 100644 --- a/sdk/python/pulumi_aws_native/s3outposts/bucket_policy.py +++ b/sdk/python/pulumi_aws_native/s3outposts/bucket_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['BucketPolicyArgs', 'BucketPolicy'] diff --git a/sdk/python/pulumi_aws_native/s3outposts/endpoint.py b/sdk/python/pulumi_aws_native/s3outposts/endpoint.py index df4cdc4b5c..9a283c37e5 100644 --- a/sdk/python/pulumi_aws_native/s3outposts/endpoint.py +++ b/sdk/python/pulumi_aws_native/s3outposts/endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/s3outposts/get_access_point.py b/sdk/python/pulumi_aws_native/s3outposts/get_access_point.py index 55a606b747..12a2903a6b 100644 --- a/sdk/python/pulumi_aws_native/s3outposts/get_access_point.py +++ b/sdk/python/pulumi_aws_native/s3outposts/get_access_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -71,9 +76,6 @@ def get_access_point(arn: Optional[str] = None, return AwaitableGetAccessPointResult( arn=pulumi.get(__ret__, 'arn'), policy=pulumi.get(__ret__, 'policy')) - - -@_utilities.lift_output_func(get_access_point) def get_access_point_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessPointResult]: """ @@ -82,4 +84,10 @@ def get_access_point_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the specified AccessPoint. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3outposts:getAccessPoint', __args__, opts=opts, typ=GetAccessPointResult) + return __ret__.apply(lambda __response__: GetAccessPointResult( + arn=pulumi.get(__response__, 'arn'), + policy=pulumi.get(__response__, 'policy'))) diff --git a/sdk/python/pulumi_aws_native/s3outposts/get_bucket.py b/sdk/python/pulumi_aws_native/s3outposts/get_bucket.py index 7b57d99663..a72e5f9883 100644 --- a/sdk/python/pulumi_aws_native/s3outposts/get_bucket.py +++ b/sdk/python/pulumi_aws_native/s3outposts/get_bucket.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -85,9 +90,6 @@ def get_bucket(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), lifecycle_configuration=pulumi.get(__ret__, 'lifecycle_configuration'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_bucket) def get_bucket_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBucketResult]: """ @@ -96,4 +98,11 @@ def get_bucket_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the specified bucket. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3outposts:getBucket', __args__, opts=opts, typ=GetBucketResult) + return __ret__.apply(lambda __response__: GetBucketResult( + arn=pulumi.get(__response__, 'arn'), + lifecycle_configuration=pulumi.get(__response__, 'lifecycle_configuration'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/s3outposts/get_bucket_policy.py b/sdk/python/pulumi_aws_native/s3outposts/get_bucket_policy.py index 23bfbe4170..dba3afc35c 100644 --- a/sdk/python/pulumi_aws_native/s3outposts/get_bucket_policy.py +++ b/sdk/python/pulumi_aws_native/s3outposts/get_bucket_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -58,9 +63,6 @@ def get_bucket_policy(bucket: Optional[str] = None, return AwaitableGetBucketPolicyResult( policy_document=pulumi.get(__ret__, 'policy_document')) - - -@_utilities.lift_output_func(get_bucket_policy) def get_bucket_policy_output(bucket: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBucketPolicyResult]: """ @@ -69,4 +71,9 @@ def get_bucket_policy_output(bucket: Optional[pulumi.Input[str]] = None, :param str bucket: The Amazon Resource Name (ARN) of the specified bucket. """ - ... + __args__ = dict() + __args__['bucket'] = bucket + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3outposts:getBucketPolicy', __args__, opts=opts, typ=GetBucketPolicyResult) + return __ret__.apply(lambda __response__: GetBucketPolicyResult( + policy_document=pulumi.get(__response__, 'policy_document'))) diff --git a/sdk/python/pulumi_aws_native/s3outposts/get_endpoint.py b/sdk/python/pulumi_aws_native/s3outposts/get_endpoint.py index efc4dbc7cf..0e993c8137 100644 --- a/sdk/python/pulumi_aws_native/s3outposts/get_endpoint.py +++ b/sdk/python/pulumi_aws_native/s3outposts/get_endpoint.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -136,9 +141,6 @@ def get_endpoint(arn: Optional[str] = None, id=pulumi.get(__ret__, 'id'), network_interfaces=pulumi.get(__ret__, 'network_interfaces'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_endpoint) def get_endpoint_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEndpointResult]: """ @@ -147,4 +149,15 @@ def get_endpoint_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the endpoint. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:s3outposts:getEndpoint', __args__, opts=opts, typ=GetEndpointResult) + return __ret__.apply(lambda __response__: GetEndpointResult( + arn=pulumi.get(__response__, 'arn'), + cidr_block=pulumi.get(__response__, 'cidr_block'), + creation_time=pulumi.get(__response__, 'creation_time'), + failed_reason=pulumi.get(__response__, 'failed_reason'), + id=pulumi.get(__response__, 'id'), + network_interfaces=pulumi.get(__response__, 'network_interfaces'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/s3outposts/outputs.py b/sdk/python/pulumi_aws_native/s3outposts/outputs.py index f2a4724824..2b2a99564e 100644 --- a/sdk/python/pulumi_aws_native/s3outposts/outputs.py +++ b/sdk/python/pulumi_aws_native/s3outposts/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/sagemaker/_inputs.py b/sdk/python/pulumi_aws_native/sagemaker/_inputs.py index 7088abf3cb..42aa0fd208 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/_inputs.py +++ b/sdk/python/pulumi_aws_native/sagemaker/_inputs.py @@ -4,272 +4,548 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AppImageConfigCodeEditorAppImageConfigArgs', + 'AppImageConfigCodeEditorAppImageConfigArgsDict', 'AppImageConfigContainerConfigArgs', + 'AppImageConfigContainerConfigArgsDict', 'AppImageConfigCustomImageContainerEnvironmentVariableArgs', + 'AppImageConfigCustomImageContainerEnvironmentVariableArgsDict', 'AppImageConfigFileSystemConfigArgs', + 'AppImageConfigFileSystemConfigArgsDict', 'AppImageConfigJupyterLabAppImageConfigArgs', + 'AppImageConfigJupyterLabAppImageConfigArgsDict', 'AppImageConfigKernelGatewayImageConfigArgs', + 'AppImageConfigKernelGatewayImageConfigArgsDict', 'AppImageConfigKernelSpecArgs', + 'AppImageConfigKernelSpecArgsDict', 'AppResourceSpecArgs', + 'AppResourceSpecArgsDict', 'ClusterInstanceGroupArgs', + 'ClusterInstanceGroupArgsDict', 'ClusterInstanceStorageConfigArgs', + 'ClusterInstanceStorageConfigArgsDict', 'ClusterLifeCycleConfigArgs', + 'ClusterLifeCycleConfigArgsDict', 'ClusterOrchestratorEksConfigArgs', + 'ClusterOrchestratorEksConfigArgsDict', 'ClusterOrchestratorArgs', + 'ClusterOrchestratorArgsDict', 'ClusterVpcConfigArgs', + 'ClusterVpcConfigArgsDict', 'DataQualityJobDefinitionBatchTransformInputArgs', + 'DataQualityJobDefinitionBatchTransformInputArgsDict', 'DataQualityJobDefinitionClusterConfigArgs', + 'DataQualityJobDefinitionClusterConfigArgsDict', 'DataQualityJobDefinitionConstraintsResourceArgs', + 'DataQualityJobDefinitionConstraintsResourceArgsDict', 'DataQualityJobDefinitionCsvArgs', + 'DataQualityJobDefinitionCsvArgsDict', 'DataQualityJobDefinitionDataQualityAppSpecificationArgs', + 'DataQualityJobDefinitionDataQualityAppSpecificationArgsDict', 'DataQualityJobDefinitionDataQualityBaselineConfigArgs', + 'DataQualityJobDefinitionDataQualityBaselineConfigArgsDict', 'DataQualityJobDefinitionDataQualityJobInputArgs', + 'DataQualityJobDefinitionDataQualityJobInputArgsDict', 'DataQualityJobDefinitionDatasetFormatArgs', + 'DataQualityJobDefinitionDatasetFormatArgsDict', 'DataQualityJobDefinitionEndpointInputArgs', + 'DataQualityJobDefinitionEndpointInputArgsDict', 'DataQualityJobDefinitionJsonArgs', + 'DataQualityJobDefinitionJsonArgsDict', 'DataQualityJobDefinitionMonitoringOutputConfigArgs', + 'DataQualityJobDefinitionMonitoringOutputConfigArgsDict', 'DataQualityJobDefinitionMonitoringOutputArgs', + 'DataQualityJobDefinitionMonitoringOutputArgsDict', 'DataQualityJobDefinitionMonitoringResourcesArgs', + 'DataQualityJobDefinitionMonitoringResourcesArgsDict', 'DataQualityJobDefinitionNetworkConfigArgs', + 'DataQualityJobDefinitionNetworkConfigArgsDict', 'DataQualityJobDefinitionS3OutputArgs', + 'DataQualityJobDefinitionS3OutputArgsDict', 'DataQualityJobDefinitionStatisticsResourceArgs', + 'DataQualityJobDefinitionStatisticsResourceArgsDict', 'DataQualityJobDefinitionStoppingConditionArgs', + 'DataQualityJobDefinitionStoppingConditionArgsDict', 'DataQualityJobDefinitionVpcConfigArgs', + 'DataQualityJobDefinitionVpcConfigArgsDict', 'DeviceFleetEdgeOutputConfigArgs', + 'DeviceFleetEdgeOutputConfigArgsDict', 'DeviceArgs', + 'DeviceArgsDict', 'DomainAppLifecycleManagementArgs', + 'DomainAppLifecycleManagementArgsDict', 'DomainCodeEditorAppSettingsArgs', + 'DomainCodeEditorAppSettingsArgsDict', 'DomainCodeRepositoryArgs', + 'DomainCodeRepositoryArgsDict', 'DomainCustomFileSystemConfigArgs', + 'DomainCustomFileSystemConfigArgsDict', 'DomainCustomImageArgs', + 'DomainCustomImageArgsDict', 'DomainCustomPosixUserConfigArgs', + 'DomainCustomPosixUserConfigArgsDict', 'DomainDefaultEbsStorageSettingsArgs', + 'DomainDefaultEbsStorageSettingsArgsDict', 'DomainDefaultSpaceSettingsArgs', + 'DomainDefaultSpaceSettingsArgsDict', 'DomainDefaultSpaceStorageSettingsArgs', + 'DomainDefaultSpaceStorageSettingsArgsDict', 'DomainDockerSettingsArgs', + 'DomainDockerSettingsArgsDict', 'DomainEfsFileSystemConfigArgs', + 'DomainEfsFileSystemConfigArgsDict', 'DomainIdleSettingsArgs', + 'DomainIdleSettingsArgsDict', 'DomainJupyterLabAppSettingsArgs', + 'DomainJupyterLabAppSettingsArgsDict', 'DomainJupyterServerAppSettingsArgs', + 'DomainJupyterServerAppSettingsArgsDict', 'DomainKernelGatewayAppSettingsArgs', + 'DomainKernelGatewayAppSettingsArgsDict', 'DomainRSessionAppSettingsArgs', + 'DomainRSessionAppSettingsArgsDict', 'DomainRStudioServerProAppSettingsArgs', + 'DomainRStudioServerProAppSettingsArgsDict', 'DomainRStudioServerProDomainSettingsArgs', + 'DomainRStudioServerProDomainSettingsArgsDict', 'DomainResourceSpecArgs', + 'DomainResourceSpecArgsDict', 'DomainSettingsArgs', + 'DomainSettingsArgsDict', 'DomainSharingSettingsArgs', + 'DomainSharingSettingsArgsDict', 'DomainStudioWebPortalSettingsArgs', + 'DomainStudioWebPortalSettingsArgsDict', 'DomainUserSettingsArgs', + 'DomainUserSettingsArgsDict', 'FeatureGroupDataCatalogConfigArgs', + 'FeatureGroupDataCatalogConfigArgsDict', 'FeatureGroupFeatureDefinitionArgs', + 'FeatureGroupFeatureDefinitionArgsDict', 'FeatureGroupOnlineStoreSecurityConfigArgs', + 'FeatureGroupOnlineStoreSecurityConfigArgsDict', 'FeatureGroupS3StorageConfigArgs', + 'FeatureGroupS3StorageConfigArgsDict', 'FeatureGroupThroughputConfigArgs', + 'FeatureGroupThroughputConfigArgsDict', 'FeatureGroupTtlDurationArgs', + 'FeatureGroupTtlDurationArgsDict', 'InferenceComponentComputeResourceRequirementsArgs', + 'InferenceComponentComputeResourceRequirementsArgsDict', 'InferenceComponentContainerSpecificationArgs', + 'InferenceComponentContainerSpecificationArgsDict', 'InferenceComponentDeployedImageArgs', + 'InferenceComponentDeployedImageArgsDict', 'InferenceComponentRuntimeConfigArgs', + 'InferenceComponentRuntimeConfigArgsDict', 'InferenceComponentSpecificationArgs', + 'InferenceComponentSpecificationArgsDict', 'InferenceComponentStartupParametersArgs', + 'InferenceComponentStartupParametersArgsDict', 'InferenceExperimentCaptureContentTypeHeaderArgs', + 'InferenceExperimentCaptureContentTypeHeaderArgsDict', 'InferenceExperimentDataStorageConfigArgs', + 'InferenceExperimentDataStorageConfigArgsDict', 'InferenceExperimentModelInfrastructureConfigArgs', + 'InferenceExperimentModelInfrastructureConfigArgsDict', 'InferenceExperimentModelVariantConfigArgs', + 'InferenceExperimentModelVariantConfigArgsDict', 'InferenceExperimentRealTimeInferenceConfigArgs', + 'InferenceExperimentRealTimeInferenceConfigArgsDict', 'InferenceExperimentScheduleArgs', + 'InferenceExperimentScheduleArgsDict', 'InferenceExperimentShadowModeConfigArgs', + 'InferenceExperimentShadowModeConfigArgsDict', 'InferenceExperimentShadowModelVariantConfigArgs', + 'InferenceExperimentShadowModelVariantConfigArgsDict', 'ModelBiasJobDefinitionBatchTransformInputArgs', + 'ModelBiasJobDefinitionBatchTransformInputArgsDict', 'ModelBiasJobDefinitionClusterConfigArgs', + 'ModelBiasJobDefinitionClusterConfigArgsDict', 'ModelBiasJobDefinitionConstraintsResourceArgs', + 'ModelBiasJobDefinitionConstraintsResourceArgsDict', 'ModelBiasJobDefinitionCsvArgs', + 'ModelBiasJobDefinitionCsvArgsDict', 'ModelBiasJobDefinitionDatasetFormatArgs', + 'ModelBiasJobDefinitionDatasetFormatArgsDict', 'ModelBiasJobDefinitionEndpointInputArgs', + 'ModelBiasJobDefinitionEndpointInputArgsDict', 'ModelBiasJobDefinitionJsonArgs', + 'ModelBiasJobDefinitionJsonArgsDict', 'ModelBiasJobDefinitionModelBiasAppSpecificationArgs', + 'ModelBiasJobDefinitionModelBiasAppSpecificationArgsDict', 'ModelBiasJobDefinitionModelBiasBaselineConfigArgs', + 'ModelBiasJobDefinitionModelBiasBaselineConfigArgsDict', 'ModelBiasJobDefinitionModelBiasJobInputArgs', + 'ModelBiasJobDefinitionModelBiasJobInputArgsDict', 'ModelBiasJobDefinitionMonitoringGroundTruthS3InputArgs', + 'ModelBiasJobDefinitionMonitoringGroundTruthS3InputArgsDict', 'ModelBiasJobDefinitionMonitoringOutputConfigArgs', + 'ModelBiasJobDefinitionMonitoringOutputConfigArgsDict', 'ModelBiasJobDefinitionMonitoringOutputArgs', + 'ModelBiasJobDefinitionMonitoringOutputArgsDict', 'ModelBiasJobDefinitionMonitoringResourcesArgs', + 'ModelBiasJobDefinitionMonitoringResourcesArgsDict', 'ModelBiasJobDefinitionNetworkConfigArgs', + 'ModelBiasJobDefinitionNetworkConfigArgsDict', 'ModelBiasJobDefinitionS3OutputArgs', + 'ModelBiasJobDefinitionS3OutputArgsDict', 'ModelBiasJobDefinitionStoppingConditionArgs', + 'ModelBiasJobDefinitionStoppingConditionArgsDict', 'ModelBiasJobDefinitionVpcConfigArgs', + 'ModelBiasJobDefinitionVpcConfigArgsDict', 'ModelCardAdditionalInformationArgs', + 'ModelCardAdditionalInformationArgsDict', 'ModelCardBarChartMetricArgs', + 'ModelCardBarChartMetricArgsDict', 'ModelCardBusinessDetailsArgs', + 'ModelCardBusinessDetailsArgsDict', 'ModelCardContainerArgs', + 'ModelCardContainerArgsDict', 'ModelCardContentArgs', + 'ModelCardContentArgsDict', 'ModelCardEvaluationDetailArgs', + 'ModelCardEvaluationDetailArgsDict', 'ModelCardInferenceSpecificationArgs', + 'ModelCardInferenceSpecificationArgsDict', 'ModelCardIntendedUsesArgs', + 'ModelCardIntendedUsesArgsDict', 'ModelCardLinearGraphMetricArgs', + 'ModelCardLinearGraphMetricArgsDict', 'ModelCardMatrixMetricArgs', + 'ModelCardMatrixMetricArgsDict', 'ModelCardMetricGroupArgs', + 'ModelCardMetricGroupArgsDict', 'ModelCardModelOverviewInferenceEnvironmentPropertiesArgs', + 'ModelCardModelOverviewInferenceEnvironmentPropertiesArgsDict', 'ModelCardModelOverviewArgs', + 'ModelCardModelOverviewArgsDict', 'ModelCardModelPackageCreatorArgs', + 'ModelCardModelPackageCreatorArgsDict', 'ModelCardModelPackageDetailsArgs', + 'ModelCardModelPackageDetailsArgsDict', 'ModelCardObjectiveFunctionFunctionPropertiesArgs', + 'ModelCardObjectiveFunctionFunctionPropertiesArgsDict', 'ModelCardObjectiveFunctionArgs', + 'ModelCardObjectiveFunctionArgsDict', 'ModelCardSecurityConfigArgs', + 'ModelCardSecurityConfigArgsDict', 'ModelCardSimpleMetricArgs', + 'ModelCardSimpleMetricArgsDict', 'ModelCardSourceAlgorithmArgs', + 'ModelCardSourceAlgorithmArgsDict', 'ModelCardTrainingDetailsTrainingJobDetailsPropertiesTrainingEnvironmentPropertiesArgs', + 'ModelCardTrainingDetailsTrainingJobDetailsPropertiesTrainingEnvironmentPropertiesArgsDict', 'ModelCardTrainingDetailsTrainingJobDetailsPropertiesArgs', + 'ModelCardTrainingDetailsTrainingJobDetailsPropertiesArgsDict', 'ModelCardTrainingDetailsArgs', + 'ModelCardTrainingDetailsArgsDict', 'ModelCardTrainingHyperParameterArgs', + 'ModelCardTrainingHyperParameterArgsDict', 'ModelCardTrainingMetricArgs', + 'ModelCardTrainingMetricArgsDict', 'ModelCardUserContextArgs', + 'ModelCardUserContextArgsDict', 'ModelExplainabilityJobDefinitionBatchTransformInputArgs', + 'ModelExplainabilityJobDefinitionBatchTransformInputArgsDict', 'ModelExplainabilityJobDefinitionClusterConfigArgs', + 'ModelExplainabilityJobDefinitionClusterConfigArgsDict', 'ModelExplainabilityJobDefinitionConstraintsResourceArgs', + 'ModelExplainabilityJobDefinitionConstraintsResourceArgsDict', 'ModelExplainabilityJobDefinitionCsvArgs', + 'ModelExplainabilityJobDefinitionCsvArgsDict', 'ModelExplainabilityJobDefinitionDatasetFormatArgs', + 'ModelExplainabilityJobDefinitionDatasetFormatArgsDict', 'ModelExplainabilityJobDefinitionEndpointInputArgs', + 'ModelExplainabilityJobDefinitionEndpointInputArgsDict', 'ModelExplainabilityJobDefinitionJsonArgs', + 'ModelExplainabilityJobDefinitionJsonArgsDict', 'ModelExplainabilityJobDefinitionModelExplainabilityAppSpecificationArgs', + 'ModelExplainabilityJobDefinitionModelExplainabilityAppSpecificationArgsDict', 'ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgs', + 'ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgsDict', 'ModelExplainabilityJobDefinitionModelExplainabilityJobInputArgs', + 'ModelExplainabilityJobDefinitionModelExplainabilityJobInputArgsDict', 'ModelExplainabilityJobDefinitionMonitoringOutputConfigArgs', + 'ModelExplainabilityJobDefinitionMonitoringOutputConfigArgsDict', 'ModelExplainabilityJobDefinitionMonitoringOutputArgs', + 'ModelExplainabilityJobDefinitionMonitoringOutputArgsDict', 'ModelExplainabilityJobDefinitionMonitoringResourcesArgs', + 'ModelExplainabilityJobDefinitionMonitoringResourcesArgsDict', 'ModelExplainabilityJobDefinitionNetworkConfigArgs', + 'ModelExplainabilityJobDefinitionNetworkConfigArgsDict', 'ModelExplainabilityJobDefinitionS3OutputArgs', + 'ModelExplainabilityJobDefinitionS3OutputArgsDict', 'ModelExplainabilityJobDefinitionStoppingConditionArgs', + 'ModelExplainabilityJobDefinitionStoppingConditionArgsDict', 'ModelExplainabilityJobDefinitionVpcConfigArgs', + 'ModelExplainabilityJobDefinitionVpcConfigArgsDict', 'ModelPackageAdditionalInferenceSpecificationDefinitionArgs', + 'ModelPackageAdditionalInferenceSpecificationDefinitionArgsDict', 'ModelPackageBiasArgs', + 'ModelPackageBiasArgsDict', 'ModelPackageContainerDefinitionModelInputPropertiesArgs', + 'ModelPackageContainerDefinitionModelInputPropertiesArgsDict', 'ModelPackageContainerDefinitionArgs', + 'ModelPackageContainerDefinitionArgsDict', 'ModelPackageCustomerMetadataPropertiesArgs', + 'ModelPackageCustomerMetadataPropertiesArgsDict', 'ModelPackageDataSourceArgs', + 'ModelPackageDataSourceArgsDict', 'ModelPackageDriftCheckBaselinesArgs', + 'ModelPackageDriftCheckBaselinesArgsDict', 'ModelPackageDriftCheckBiasArgs', + 'ModelPackageDriftCheckBiasArgsDict', 'ModelPackageDriftCheckExplainabilityArgs', + 'ModelPackageDriftCheckExplainabilityArgsDict', 'ModelPackageDriftCheckModelDataQualityArgs', + 'ModelPackageDriftCheckModelDataQualityArgsDict', 'ModelPackageDriftCheckModelQualityArgs', + 'ModelPackageDriftCheckModelQualityArgsDict', 'ModelPackageEnvironmentArgs', + 'ModelPackageEnvironmentArgsDict', 'ModelPackageExplainabilityArgs', + 'ModelPackageExplainabilityArgsDict', 'ModelPackageFileSourceArgs', + 'ModelPackageFileSourceArgsDict', 'ModelPackageInferenceSpecificationArgs', + 'ModelPackageInferenceSpecificationArgsDict', 'ModelPackageMetadataPropertiesArgs', + 'ModelPackageMetadataPropertiesArgsDict', 'ModelPackageMetricsSourceArgs', + 'ModelPackageMetricsSourceArgsDict', 'ModelPackageModelAccessConfigArgs', + 'ModelPackageModelAccessConfigArgsDict', 'ModelPackageModelCardArgs', + 'ModelPackageModelCardArgsDict', 'ModelPackageModelDataQualityArgs', + 'ModelPackageModelDataQualityArgsDict', 'ModelPackageModelDataSourceArgs', + 'ModelPackageModelDataSourceArgsDict', 'ModelPackageModelMetricsArgs', + 'ModelPackageModelMetricsArgsDict', 'ModelPackageModelQualityArgs', + 'ModelPackageModelQualityArgsDict', 'ModelPackageS3DataSourceArgs', + 'ModelPackageS3DataSourceArgsDict', 'ModelPackageS3ModelDataSourceArgs', + 'ModelPackageS3ModelDataSourceArgsDict', 'ModelPackageSecurityConfigArgs', + 'ModelPackageSecurityConfigArgsDict', 'ModelPackageSourceAlgorithmSpecificationArgs', + 'ModelPackageSourceAlgorithmSpecificationArgsDict', 'ModelPackageSourceAlgorithmArgs', + 'ModelPackageSourceAlgorithmArgsDict', 'ModelPackageStatusDetailsArgs', + 'ModelPackageStatusDetailsArgsDict', 'ModelPackageStatusItemArgs', + 'ModelPackageStatusItemArgsDict', 'ModelPackageTransformInputArgs', + 'ModelPackageTransformInputArgsDict', 'ModelPackageTransformJobDefinitionArgs', + 'ModelPackageTransformJobDefinitionArgsDict', 'ModelPackageTransformOutputArgs', + 'ModelPackageTransformOutputArgsDict', 'ModelPackageTransformResourcesArgs', + 'ModelPackageTransformResourcesArgsDict', 'ModelPackageValidationProfileArgs', + 'ModelPackageValidationProfileArgsDict', 'ModelPackageValidationSpecificationArgs', + 'ModelPackageValidationSpecificationArgsDict', 'ModelQualityJobDefinitionBatchTransformInputArgs', + 'ModelQualityJobDefinitionBatchTransformInputArgsDict', 'ModelQualityJobDefinitionClusterConfigArgs', + 'ModelQualityJobDefinitionClusterConfigArgsDict', 'ModelQualityJobDefinitionConstraintsResourceArgs', + 'ModelQualityJobDefinitionConstraintsResourceArgsDict', 'ModelQualityJobDefinitionCsvArgs', + 'ModelQualityJobDefinitionCsvArgsDict', 'ModelQualityJobDefinitionDatasetFormatArgs', + 'ModelQualityJobDefinitionDatasetFormatArgsDict', 'ModelQualityJobDefinitionEndpointInputArgs', + 'ModelQualityJobDefinitionEndpointInputArgsDict', 'ModelQualityJobDefinitionJsonArgs', + 'ModelQualityJobDefinitionJsonArgsDict', 'ModelQualityJobDefinitionModelQualityAppSpecificationArgs', + 'ModelQualityJobDefinitionModelQualityAppSpecificationArgsDict', 'ModelQualityJobDefinitionModelQualityBaselineConfigArgs', + 'ModelQualityJobDefinitionModelQualityBaselineConfigArgsDict', 'ModelQualityJobDefinitionModelQualityJobInputArgs', + 'ModelQualityJobDefinitionModelQualityJobInputArgsDict', 'ModelQualityJobDefinitionMonitoringGroundTruthS3InputArgs', + 'ModelQualityJobDefinitionMonitoringGroundTruthS3InputArgsDict', 'ModelQualityJobDefinitionMonitoringOutputConfigArgs', + 'ModelQualityJobDefinitionMonitoringOutputConfigArgsDict', 'ModelQualityJobDefinitionMonitoringOutputArgs', + 'ModelQualityJobDefinitionMonitoringOutputArgsDict', 'ModelQualityJobDefinitionMonitoringResourcesArgs', + 'ModelQualityJobDefinitionMonitoringResourcesArgsDict', 'ModelQualityJobDefinitionNetworkConfigArgs', + 'ModelQualityJobDefinitionNetworkConfigArgsDict', 'ModelQualityJobDefinitionS3OutputArgs', + 'ModelQualityJobDefinitionS3OutputArgsDict', 'ModelQualityJobDefinitionStoppingConditionArgs', + 'ModelQualityJobDefinitionStoppingConditionArgsDict', 'ModelQualityJobDefinitionVpcConfigArgs', + 'ModelQualityJobDefinitionVpcConfigArgsDict', 'MonitoringScheduleBaselineConfigArgs', + 'MonitoringScheduleBaselineConfigArgsDict', 'MonitoringScheduleBatchTransformInputArgs', + 'MonitoringScheduleBatchTransformInputArgsDict', 'MonitoringScheduleClusterConfigArgs', + 'MonitoringScheduleClusterConfigArgsDict', 'MonitoringScheduleConfigArgs', + 'MonitoringScheduleConfigArgsDict', 'MonitoringScheduleConstraintsResourceArgs', + 'MonitoringScheduleConstraintsResourceArgsDict', 'MonitoringScheduleCsvArgs', + 'MonitoringScheduleCsvArgsDict', 'MonitoringScheduleDatasetFormatArgs', + 'MonitoringScheduleDatasetFormatArgsDict', 'MonitoringScheduleEndpointInputArgs', + 'MonitoringScheduleEndpointInputArgsDict', 'MonitoringScheduleJsonArgs', + 'MonitoringScheduleJsonArgsDict', 'MonitoringScheduleMonitoringAppSpecificationArgs', + 'MonitoringScheduleMonitoringAppSpecificationArgsDict', 'MonitoringScheduleMonitoringExecutionSummaryArgs', + 'MonitoringScheduleMonitoringExecutionSummaryArgsDict', 'MonitoringScheduleMonitoringInputArgs', + 'MonitoringScheduleMonitoringInputArgsDict', 'MonitoringScheduleMonitoringJobDefinitionArgs', + 'MonitoringScheduleMonitoringJobDefinitionArgsDict', 'MonitoringScheduleMonitoringOutputConfigArgs', + 'MonitoringScheduleMonitoringOutputConfigArgsDict', 'MonitoringScheduleMonitoringOutputArgs', + 'MonitoringScheduleMonitoringOutputArgsDict', 'MonitoringScheduleMonitoringResourcesArgs', + 'MonitoringScheduleMonitoringResourcesArgsDict', 'MonitoringScheduleNetworkConfigArgs', + 'MonitoringScheduleNetworkConfigArgsDict', 'MonitoringScheduleS3OutputArgs', + 'MonitoringScheduleS3OutputArgsDict', 'MonitoringScheduleScheduleConfigArgs', + 'MonitoringScheduleScheduleConfigArgsDict', 'MonitoringScheduleStatisticsResourceArgs', + 'MonitoringScheduleStatisticsResourceArgsDict', 'MonitoringScheduleStoppingConditionArgs', + 'MonitoringScheduleStoppingConditionArgsDict', 'MonitoringScheduleVpcConfigArgs', + 'MonitoringScheduleVpcConfigArgsDict', 'OfflineStoreConfigPropertiesArgs', + 'OfflineStoreConfigPropertiesArgsDict', 'OnlineStoreConfigPropertiesArgs', + 'OnlineStoreConfigPropertiesArgsDict', 'ParallelismConfigurationPropertiesArgs', + 'ParallelismConfigurationPropertiesArgsDict', 'PipelineDefinition0PropertiesArgs', + 'PipelineDefinition0PropertiesArgsDict', 'PipelineDefinition1PropertiesArgs', + 'PipelineDefinition1PropertiesArgsDict', 'PipelineS3LocationArgs', + 'PipelineS3LocationArgsDict', 'ProjectProvisioningParameterArgs', + 'ProjectProvisioningParameterArgsDict', 'ServiceCatalogProvisionedProductDetailsPropertiesArgs', + 'ServiceCatalogProvisionedProductDetailsPropertiesArgsDict', 'ServiceCatalogProvisioningDetailsPropertiesArgs', + 'ServiceCatalogProvisioningDetailsPropertiesArgsDict', 'SpaceAppLifecycleManagementArgs', + 'SpaceAppLifecycleManagementArgsDict', 'SpaceCodeEditorAppSettingsArgs', + 'SpaceCodeEditorAppSettingsArgsDict', 'SpaceCodeRepositoryArgs', + 'SpaceCodeRepositoryArgsDict', 'SpaceCustomFileSystemArgs', + 'SpaceCustomFileSystemArgsDict', 'SpaceCustomImageArgs', + 'SpaceCustomImageArgsDict', 'SpaceEbsStorageSettingsArgs', + 'SpaceEbsStorageSettingsArgsDict', 'SpaceEfsFileSystemArgs', + 'SpaceEfsFileSystemArgsDict', 'SpaceIdleSettingsArgs', + 'SpaceIdleSettingsArgsDict', 'SpaceJupyterLabAppSettingsArgs', + 'SpaceJupyterLabAppSettingsArgsDict', 'SpaceJupyterServerAppSettingsArgs', + 'SpaceJupyterServerAppSettingsArgsDict', 'SpaceKernelGatewayAppSettingsArgs', + 'SpaceKernelGatewayAppSettingsArgsDict', 'SpaceOwnershipSettingsArgs', + 'SpaceOwnershipSettingsArgsDict', 'SpaceResourceSpecArgs', + 'SpaceResourceSpecArgsDict', 'SpaceSettingsArgs', + 'SpaceSettingsArgsDict', 'SpaceSharingSettingsArgs', + 'SpaceSharingSettingsArgsDict', 'SpaceStorageSettingsArgs', + 'SpaceStorageSettingsArgsDict', 'UserProfileAppLifecycleManagementArgs', + 'UserProfileAppLifecycleManagementArgsDict', 'UserProfileCodeEditorAppSettingsArgs', + 'UserProfileCodeEditorAppSettingsArgsDict', 'UserProfileCodeRepositoryArgs', + 'UserProfileCodeRepositoryArgsDict', 'UserProfileCustomFileSystemConfigArgs', + 'UserProfileCustomFileSystemConfigArgsDict', 'UserProfileCustomImageArgs', + 'UserProfileCustomImageArgsDict', 'UserProfileCustomPosixUserConfigArgs', + 'UserProfileCustomPosixUserConfigArgsDict', 'UserProfileDefaultEbsStorageSettingsArgs', + 'UserProfileDefaultEbsStorageSettingsArgsDict', 'UserProfileDefaultSpaceStorageSettingsArgs', + 'UserProfileDefaultSpaceStorageSettingsArgsDict', 'UserProfileEfsFileSystemConfigArgs', + 'UserProfileEfsFileSystemConfigArgsDict', 'UserProfileIdleSettingsArgs', + 'UserProfileIdleSettingsArgsDict', 'UserProfileJupyterLabAppSettingsArgs', + 'UserProfileJupyterLabAppSettingsArgsDict', 'UserProfileJupyterServerAppSettingsArgs', + 'UserProfileJupyterServerAppSettingsArgsDict', 'UserProfileKernelGatewayAppSettingsArgs', + 'UserProfileKernelGatewayAppSettingsArgsDict', 'UserProfileRStudioServerProAppSettingsArgs', + 'UserProfileRStudioServerProAppSettingsArgsDict', 'UserProfileResourceSpecArgs', + 'UserProfileResourceSpecArgsDict', 'UserProfileSharingSettingsArgs', + 'UserProfileSharingSettingsArgsDict', 'UserProfileStudioWebPortalSettingsArgs', + 'UserProfileStudioWebPortalSettingsArgsDict', 'UserProfileUserSettingsArgs', + 'UserProfileUserSettingsArgsDict', ] +MYPY = False + +if not MYPY: + class AppImageConfigCodeEditorAppImageConfigArgsDict(TypedDict): + """ + The configuration for the kernels in a SageMaker image running as a CodeEditor app. + """ + container_config: NotRequired[pulumi.Input['AppImageConfigContainerConfigArgsDict']] + """ + The container configuration for a SageMaker image. + """ +elif False: + AppImageConfigCodeEditorAppImageConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppImageConfigCodeEditorAppImageConfigArgs: def __init__(__self__, *, @@ -294,6 +570,26 @@ def container_config(self, value: Optional[pulumi.Input['AppImageConfigContainer pulumi.set(self, "container_config", value) +if not MYPY: + class AppImageConfigContainerConfigArgsDict(TypedDict): + """ + The container configuration for a SageMaker image. + """ + container_arguments: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of arguments to apply to the container. + """ + container_entrypoint: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The custom entry point to use on container. + """ + container_environment_variables: NotRequired[pulumi.Input[Sequence[pulumi.Input['AppImageConfigCustomImageContainerEnvironmentVariableArgsDict']]]] + """ + A list of variables to apply to the custom container. + """ +elif False: + AppImageConfigContainerConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppImageConfigContainerConfigArgs: def __init__(__self__, *, @@ -350,6 +646,19 @@ def container_environment_variables(self, value: Optional[pulumi.Input[Sequence[ pulumi.set(self, "container_environment_variables", value) +if not MYPY: + class AppImageConfigCustomImageContainerEnvironmentVariableArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The key that identifies a container environment variable. + """ + value: pulumi.Input[str] + """ + The value of the container environment variable. + """ +elif False: + AppImageConfigCustomImageContainerEnvironmentVariableArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppImageConfigCustomImageContainerEnvironmentVariableArgs: def __init__(__self__, *, @@ -387,6 +696,26 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class AppImageConfigFileSystemConfigArgsDict(TypedDict): + """ + The Amazon Elastic File System (EFS) storage configuration for a SageMaker image. + """ + default_gid: NotRequired[pulumi.Input[int]] + """ + The default POSIX group ID (GID). If not specified, defaults to 100. + """ + default_uid: NotRequired[pulumi.Input[int]] + """ + The default POSIX user ID (UID). If not specified, defaults to 1000. + """ + mount_path: NotRequired[pulumi.Input[str]] + """ + The path within the image to mount the user's EFS home directory. The directory should be empty. If not specified, defaults to /home/sagemaker-user. + """ +elif False: + AppImageConfigFileSystemConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppImageConfigFileSystemConfigArgs: def __init__(__self__, *, @@ -443,6 +772,18 @@ def mount_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "mount_path", value) +if not MYPY: + class AppImageConfigJupyterLabAppImageConfigArgsDict(TypedDict): + """ + The configuration for the kernels in a SageMaker image running as a JupyterLab app. + """ + container_config: NotRequired[pulumi.Input['AppImageConfigContainerConfigArgsDict']] + """ + The container configuration for a SageMaker image. + """ +elif False: + AppImageConfigJupyterLabAppImageConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppImageConfigJupyterLabAppImageConfigArgs: def __init__(__self__, *, @@ -467,6 +808,22 @@ def container_config(self, value: Optional[pulumi.Input['AppImageConfigContainer pulumi.set(self, "container_config", value) +if not MYPY: + class AppImageConfigKernelGatewayImageConfigArgsDict(TypedDict): + """ + The configuration for the file system and kernels in a SageMaker image running as a KernelGateway app. + """ + kernel_specs: pulumi.Input[Sequence[pulumi.Input['AppImageConfigKernelSpecArgsDict']]] + """ + The specification of the Jupyter kernels in the image. + """ + file_system_config: NotRequired[pulumi.Input['AppImageConfigFileSystemConfigArgsDict']] + """ + The Amazon Elastic File System (EFS) storage configuration for a SageMaker image. + """ +elif False: + AppImageConfigKernelGatewayImageConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppImageConfigKernelGatewayImageConfigArgs: def __init__(__self__, *, @@ -506,6 +863,19 @@ def file_system_config(self, value: Optional[pulumi.Input['AppImageConfigFileSys pulumi.set(self, "file_system_config", value) +if not MYPY: + class AppImageConfigKernelSpecArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the kernel. + """ + display_name: NotRequired[pulumi.Input[str]] + """ + The display name of the kernel. + """ +elif False: + AppImageConfigKernelSpecArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppImageConfigKernelSpecArgs: def __init__(__self__, *, @@ -544,6 +914,27 @@ def display_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "display_name", value) +if not MYPY: + class AppResourceSpecArgsDict(TypedDict): + instance_type: NotRequired[pulumi.Input['AppResourceSpecInstanceType']] + """ + The instance type that the image version runs on. + """ + lifecycle_config_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the Lifecycle Configuration to attach to the Resource. + """ + sage_maker_image_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the SageMaker image that the image version belongs to. + """ + sage_maker_image_version_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the image version created on the instance. + """ +elif False: + AppResourceSpecArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AppResourceSpecArgs: def __init__(__self__, *, @@ -615,6 +1006,32 @@ def sage_maker_image_version_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sage_maker_image_version_arn", value) +if not MYPY: + class ClusterInstanceGroupArgsDict(TypedDict): + """ + Details of an instance group in a SageMaker HyperPod cluster. + """ + execution_role: pulumi.Input[str] + instance_count: pulumi.Input[int] + """ + The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster. + """ + instance_group_name: pulumi.Input[str] + instance_type: pulumi.Input[str] + life_cycle_config: pulumi.Input['ClusterLifeCycleConfigArgsDict'] + current_count: NotRequired[pulumi.Input[int]] + """ + The number of instances that are currently in the instance group of a SageMaker HyperPod cluster. + """ + instance_storage_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['ClusterInstanceStorageConfigArgsDict']]]] + on_start_deep_health_checks: NotRequired[pulumi.Input[Sequence[pulumi.Input['ClusterDeepHealthCheckType']]]] + threads_per_core: NotRequired[pulumi.Input[int]] + """ + The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. + """ +elif False: + ClusterInstanceGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterInstanceGroupArgs: def __init__(__self__, *, @@ -738,6 +1155,15 @@ def threads_per_core(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "threads_per_core", value) +if not MYPY: + class ClusterInstanceStorageConfigArgsDict(TypedDict): + """ + Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group. + """ + pass +elif False: + ClusterInstanceStorageConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterInstanceStorageConfigArgs: def __init__(__self__): @@ -747,6 +1173,22 @@ def __init__(__self__): pass +if not MYPY: + class ClusterLifeCycleConfigArgsDict(TypedDict): + """ + The lifecycle configuration for a SageMaker HyperPod cluster. + """ + on_create: pulumi.Input[str] + """ + The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation. + """ + source_s3_uri: pulumi.Input[str] + """ + An Amazon S3 bucket path where your lifecycle scripts are stored. + """ +elif False: + ClusterLifeCycleConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterLifeCycleConfigArgs: def __init__(__self__, *, @@ -785,6 +1227,18 @@ def source_s3_uri(self, value: pulumi.Input[str]): pulumi.set(self, "source_s3_uri", value) +if not MYPY: + class ClusterOrchestratorEksConfigArgsDict(TypedDict): + """ + Specifies parameter(s) related to EKS as orchestrator, e.g. the EKS cluster nodes will attach to, + """ + cluster_arn: pulumi.Input[str] + """ + The ARN of the EKS cluster, such as arn:aws:eks:us-west-2:123456789012:cluster/my-eks-cluster + """ +elif False: + ClusterOrchestratorEksConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterOrchestratorEksConfigArgs: def __init__(__self__, *, @@ -808,6 +1262,18 @@ def cluster_arn(self, value: pulumi.Input[str]): pulumi.set(self, "cluster_arn", value) +if not MYPY: + class ClusterOrchestratorArgsDict(TypedDict): + """ + Specifies parameter(s) specific to the orchestrator, e.g. specify the EKS cluster. + """ + eks: pulumi.Input['ClusterOrchestratorEksConfigArgsDict'] + """ + The configuration of the Amazon EKS orchestrator cluster for the SageMaker HyperPod cluster. + """ +elif False: + ClusterOrchestratorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterOrchestratorArgs: def __init__(__self__, *, @@ -831,6 +1297,22 @@ def eks(self, value: pulumi.Input['ClusterOrchestratorEksConfigArgs']): pulumi.set(self, "eks", value) +if not MYPY: + class ClusterVpcConfigArgsDict(TypedDict): + """ + Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field. + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The ID of the subnets in the VPC to which you want to connect your training job or model. + """ +elif False: + ClusterVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ClusterVpcConfigArgs: def __init__(__self__, *, @@ -869,6 +1351,38 @@ def subnets(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "subnets", value) +if not MYPY: + class DataQualityJobDefinitionBatchTransformInputArgsDict(TypedDict): + """ + The batch transform input for a monitoring job. + """ + data_captured_destination_s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Batch Transform Job captures data. + """ + dataset_format: pulumi.Input['DataQualityJobDefinitionDatasetFormatArgsDict'] + """ + The dataset format for your batch transform job. + """ + local_path: pulumi.Input[str] + """ + Path to the filesystem where the endpoint data is available to the container. + """ + exclude_features_attribute: NotRequired[pulumi.Input[str]] + """ + Indexes or names of the features to be excluded from analysis + """ + s3_data_distribution_type: NotRequired[pulumi.Input['DataQualityJobDefinitionBatchTransformInputS3DataDistributionType']] + """ + Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated + """ + s3_input_mode: NotRequired[pulumi.Input['DataQualityJobDefinitionBatchTransformInputS3InputMode']] + """ + Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. + """ +elif False: + DataQualityJobDefinitionBatchTransformInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionBatchTransformInputArgs: def __init__(__self__, *, @@ -970,6 +1484,30 @@ def s3_input_mode(self, value: Optional[pulumi.Input['DataQualityJobDefinitionBa pulumi.set(self, "s3_input_mode", value) +if not MYPY: + class DataQualityJobDefinitionClusterConfigArgsDict(TypedDict): + """ + Configuration for the cluster used to run model monitoring jobs. + """ + instance_count: pulumi.Input[int] + """ + The number of ML compute instances to use in the model monitoring job. For distributed processing jobs, specify a value greater than 1. The default value is 1. + """ + instance_type: pulumi.Input[str] + """ + The ML compute instance type for the processing job. + """ + volume_size_in_gb: pulumi.Input[int] + """ + The size of the ML storage volume, in gigabytes, that you want to provision. You must specify sufficient ML storage for your scenario. + """ + volume_kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job. + """ +elif False: + DataQualityJobDefinitionClusterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionClusterConfigArgs: def __init__(__self__, *, @@ -1039,6 +1577,18 @@ def volume_kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_kms_key_id", value) +if not MYPY: + class DataQualityJobDefinitionConstraintsResourceArgsDict(TypedDict): + """ + The baseline constraints resource for a monitoring job. + """ + s3_uri: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 URI for baseline constraint file in Amazon S3 that the current monitoring job should validated against. + """ +elif False: + DataQualityJobDefinitionConstraintsResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionConstraintsResourceArgs: def __init__(__self__, *, @@ -1063,6 +1613,18 @@ def s3_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_uri", value) +if not MYPY: + class DataQualityJobDefinitionCsvArgsDict(TypedDict): + """ + The CSV format + """ + header: NotRequired[pulumi.Input[bool]] + """ + A boolean flag indicating if given CSV has header + """ +elif False: + DataQualityJobDefinitionCsvArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionCsvArgs: def __init__(__self__, *, @@ -1087,6 +1649,38 @@ def header(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "header", value) +if not MYPY: + class DataQualityJobDefinitionDataQualityAppSpecificationArgsDict(TypedDict): + """ + Container image configuration object for the monitoring job. + """ + image_uri: pulumi.Input[str] + """ + The container image to be run by the monitoring job. + """ + container_arguments: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of arguments for the container used to run the monitoring job. + """ + container_entrypoint: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies the entrypoint for a container used to run the monitoring job. + """ + environment: NotRequired[Any] + """ + Sets the environment variables in the Docker container + """ + post_analytics_processor_source_uri: NotRequired[pulumi.Input[str]] + """ + An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers. + """ + record_preprocessor_source_uri: NotRequired[pulumi.Input[str]] + """ + An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers + """ +elif False: + DataQualityJobDefinitionDataQualityAppSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionDataQualityAppSpecificationArgs: def __init__(__self__, *, @@ -1190,6 +1784,26 @@ def record_preprocessor_source_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "record_preprocessor_source_uri", value) +if not MYPY: + class DataQualityJobDefinitionDataQualityBaselineConfigArgsDict(TypedDict): + """ + Baseline configuration used to validate that the data conforms to the specified constraints and statistics. + """ + baselining_job_name: NotRequired[pulumi.Input[str]] + """ + The name of the job that performs baselining for the data quality monitoring job. + """ + constraints_resource: NotRequired[pulumi.Input['DataQualityJobDefinitionConstraintsResourceArgsDict']] + """ + The constraints resource for a monitoring job. + """ + statistics_resource: NotRequired[pulumi.Input['DataQualityJobDefinitionStatisticsResourceArgsDict']] + """ + Configuration for monitoring constraints and monitoring statistics. These baseline resources are compared against the results of the current job from the series of jobs scheduled to collect data periodically. + """ +elif False: + DataQualityJobDefinitionDataQualityBaselineConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionDataQualityBaselineConfigArgs: def __init__(__self__, *, @@ -1246,6 +1860,22 @@ def statistics_resource(self, value: Optional[pulumi.Input['DataQualityJobDefini pulumi.set(self, "statistics_resource", value) +if not MYPY: + class DataQualityJobDefinitionDataQualityJobInputArgsDict(TypedDict): + """ + The inputs for a monitoring job. + """ + batch_transform_input: NotRequired[pulumi.Input['DataQualityJobDefinitionBatchTransformInputArgsDict']] + """ + Input object for the batch transform job. + """ + endpoint_input: NotRequired[pulumi.Input['DataQualityJobDefinitionEndpointInputArgsDict']] + """ + Input object for the endpoint + """ +elif False: + DataQualityJobDefinitionDataQualityJobInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionDataQualityJobInputArgs: def __init__(__self__, *, @@ -1286,6 +1916,17 @@ def endpoint_input(self, value: Optional[pulumi.Input['DataQualityJobDefinitionE pulumi.set(self, "endpoint_input", value) +if not MYPY: + class DataQualityJobDefinitionDatasetFormatArgsDict(TypedDict): + """ + The dataset format of the data to monitor + """ + csv: NotRequired[pulumi.Input['DataQualityJobDefinitionCsvArgsDict']] + json: NotRequired[pulumi.Input['DataQualityJobDefinitionJsonArgsDict']] + parquet: NotRequired[pulumi.Input[bool]] +elif False: + DataQualityJobDefinitionDatasetFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionDatasetFormatArgs: def __init__(__self__, *, @@ -1330,6 +1971,34 @@ def parquet(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "parquet", value) +if not MYPY: + class DataQualityJobDefinitionEndpointInputArgsDict(TypedDict): + """ + The endpoint for a monitoring job. + """ + endpoint_name: pulumi.Input[str] + """ + An endpoint in customer's account which has enabled `DataCaptureConfig` enabled. + """ + local_path: pulumi.Input[str] + """ + Path to the filesystem where the endpoint data is available to the container. + """ + exclude_features_attribute: NotRequired[pulumi.Input[str]] + """ + Indexes or names of the features to be excluded from analysis + """ + s3_data_distribution_type: NotRequired[pulumi.Input['DataQualityJobDefinitionEndpointInputS3DataDistributionType']] + """ + Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated + """ + s3_input_mode: NotRequired[pulumi.Input['DataQualityJobDefinitionEndpointInputS3InputMode']] + """ + Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. + """ +elif False: + DataQualityJobDefinitionEndpointInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionEndpointInputArgs: def __init__(__self__, *, @@ -1416,15 +2085,27 @@ def s3_input_mode(self, value: Optional[pulumi.Input['DataQualityJobDefinitionEn pulumi.set(self, "s3_input_mode", value) -@pulumi.input_type -class DataQualityJobDefinitionJsonArgs: - def __init__(__self__, *, - line: Optional[pulumi.Input[bool]] = None): +if not MYPY: + class DataQualityJobDefinitionJsonArgsDict(TypedDict): """ The Json format - :param pulumi.Input[bool] line: A boolean flag indicating if it is JSON line format """ - if line is not None: + line: NotRequired[pulumi.Input[bool]] + """ + A boolean flag indicating if it is JSON line format + """ +elif False: + DataQualityJobDefinitionJsonArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DataQualityJobDefinitionJsonArgs: + def __init__(__self__, *, + line: Optional[pulumi.Input[bool]] = None): + """ + The Json format + :param pulumi.Input[bool] line: A boolean flag indicating if it is JSON line format + """ + if line is not None: pulumi.set(__self__, "line", line) @property @@ -1440,6 +2121,22 @@ def line(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "line", value) +if not MYPY: + class DataQualityJobDefinitionMonitoringOutputConfigArgsDict(TypedDict): + """ + The output configuration for monitoring jobs. + """ + monitoring_outputs: pulumi.Input[Sequence[pulumi.Input['DataQualityJobDefinitionMonitoringOutputArgsDict']]] + """ + Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. + """ +elif False: + DataQualityJobDefinitionMonitoringOutputConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionMonitoringOutputConfigArgs: def __init__(__self__, *, @@ -1479,6 +2176,18 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class DataQualityJobDefinitionMonitoringOutputArgsDict(TypedDict): + """ + The output object for a monitoring job. + """ + s3_output: pulumi.Input['DataQualityJobDefinitionS3OutputArgsDict'] + """ + The Amazon S3 storage location where the results of a monitoring job are saved. + """ +elif False: + DataQualityJobDefinitionMonitoringOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionMonitoringOutputArgs: def __init__(__self__, *, @@ -1502,6 +2211,18 @@ def s3_output(self, value: pulumi.Input['DataQualityJobDefinitionS3OutputArgs']) pulumi.set(self, "s3_output", value) +if not MYPY: + class DataQualityJobDefinitionMonitoringResourcesArgsDict(TypedDict): + """ + Identifies the resources to deploy for a monitoring job. + """ + cluster_config: pulumi.Input['DataQualityJobDefinitionClusterConfigArgsDict'] + """ + The configuration for the cluster resources used to run the processing job. + """ +elif False: + DataQualityJobDefinitionMonitoringResourcesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionMonitoringResourcesArgs: def __init__(__self__, *, @@ -1525,6 +2246,26 @@ def cluster_config(self, value: pulumi.Input['DataQualityJobDefinitionClusterCon pulumi.set(self, "cluster_config", value) +if not MYPY: + class DataQualityJobDefinitionNetworkConfigArgsDict(TypedDict): + """ + Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs. + """ + enable_inter_container_traffic_encryption: NotRequired[pulumi.Input[bool]] + """ + Whether to encrypt all communications between distributed processing jobs. Choose True to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer. + """ + enable_network_isolation: NotRequired[pulumi.Input[bool]] + """ + Whether to allow inbound and outbound network calls to and from the containers used for the processing job. + """ + vpc_config: NotRequired[pulumi.Input['DataQualityJobDefinitionVpcConfigArgsDict']] + """ + Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. + """ +elif False: + DataQualityJobDefinitionNetworkConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionNetworkConfigArgs: def __init__(__self__, *, @@ -1581,6 +2322,26 @@ def vpc_config(self, value: Optional[pulumi.Input['DataQualityJobDefinitionVpcCo pulumi.set(self, "vpc_config", value) +if not MYPY: + class DataQualityJobDefinitionS3OutputArgsDict(TypedDict): + """ + Information about where and how to store the results of a monitoring job. + """ + local_path: pulumi.Input[str] + """ + The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. LocalPath is an absolute path for the output data. + """ + s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. + """ + s3_upload_mode: NotRequired[pulumi.Input['DataQualityJobDefinitionS3OutputS3UploadMode']] + """ + Whether to upload the results of the monitoring job continuously or after the job completes. + """ +elif False: + DataQualityJobDefinitionS3OutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionS3OutputArgs: def __init__(__self__, *, @@ -1635,6 +2396,18 @@ def s3_upload_mode(self, value: Optional[pulumi.Input['DataQualityJobDefinitionS pulumi.set(self, "s3_upload_mode", value) +if not MYPY: + class DataQualityJobDefinitionStatisticsResourceArgsDict(TypedDict): + """ + The baseline statistics resource for a monitoring job. + """ + s3_uri: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 URI for the baseline statistics file in Amazon S3 that the current monitoring job should be validated against. + """ +elif False: + DataQualityJobDefinitionStatisticsResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionStatisticsResourceArgs: def __init__(__self__, *, @@ -1659,6 +2432,18 @@ def s3_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_uri", value) +if not MYPY: + class DataQualityJobDefinitionStoppingConditionArgsDict(TypedDict): + """ + Specifies a time limit for how long the monitoring job is allowed to run. + """ + max_runtime_in_seconds: pulumi.Input[int] + """ + The maximum runtime allowed in seconds. + """ +elif False: + DataQualityJobDefinitionStoppingConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionStoppingConditionArgs: def __init__(__self__, *, @@ -1682,6 +2467,22 @@ def max_runtime_in_seconds(self, value: pulumi.Input[int]): pulumi.set(self, "max_runtime_in_seconds", value) +if not MYPY: + class DataQualityJobDefinitionVpcConfigArgsDict(TypedDict): + """ + Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field. + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The ID of the subnets in the VPC to which you want to connect to your monitoring jobs. + """ +elif False: + DataQualityJobDefinitionVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataQualityJobDefinitionVpcConfigArgs: def __init__(__self__, *, @@ -1720,6 +2521,19 @@ def subnets(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "subnets", value) +if not MYPY: + class DeviceFleetEdgeOutputConfigArgsDict(TypedDict): + s3_output_location: pulumi.Input[str] + """ + The Amazon Simple Storage (S3) bucket URI + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The KMS key id used for encryption on the S3 bucket + """ +elif False: + DeviceFleetEdgeOutputConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceFleetEdgeOutputConfigArgs: def __init__(__self__, *, @@ -1758,6 +2572,26 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class DeviceArgsDict(TypedDict): + """ + Edge device you want to create + """ + device_name: pulumi.Input[str] + """ + The name of the device + """ + description: NotRequired[pulumi.Input[str]] + """ + Description of the device + """ + iot_thing_name: NotRequired[pulumi.Input[str]] + """ + AWS Internet of Things (IoT) object name. + """ +elif False: + DeviceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DeviceArgs: def __init__(__self__, *, @@ -1813,6 +2647,15 @@ def iot_thing_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "iot_thing_name", value) +if not MYPY: + class DomainAppLifecycleManagementArgsDict(TypedDict): + idle_settings: NotRequired[pulumi.Input['DomainIdleSettingsArgsDict']] + """ + Settings related to idle shutdown of Studio applications. + """ +elif False: + DomainAppLifecycleManagementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainAppLifecycleManagementArgs: def __init__(__self__, *, @@ -1836,6 +2679,30 @@ def idle_settings(self, value: Optional[pulumi.Input['DomainIdleSettingsArgs']]) pulumi.set(self, "idle_settings", value) +if not MYPY: + class DomainCodeEditorAppSettingsArgsDict(TypedDict): + """ + The CodeEditor app settings. + """ + app_lifecycle_management: NotRequired[pulumi.Input['DomainAppLifecycleManagementArgsDict']] + """ + Settings that are used to configure and manage the lifecycle of CodeEditor applications. + """ + custom_images: NotRequired[pulumi.Input[Sequence[pulumi.Input['DomainCustomImageArgsDict']]]] + """ + A list of custom images for use for CodeEditor apps. + """ + default_resource_spec: NotRequired[pulumi.Input['DomainResourceSpecArgsDict']] + """ + The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the CodeEditor app. + """ + lifecycle_config_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of LifecycleConfigArns available for use with CodeEditor apps. + """ +elif False: + DomainCodeEditorAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainCodeEditorAppSettingsArgs: def __init__(__self__, *, @@ -1908,6 +2775,15 @@ def lifecycle_config_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "lifecycle_config_arns", value) +if not MYPY: + class DomainCodeRepositoryArgsDict(TypedDict): + repository_url: pulumi.Input[str] + """ + A CodeRepository (valid URL) to be used within Jupyter's Git extension. + """ +elif False: + DomainCodeRepositoryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainCodeRepositoryArgs: def __init__(__self__, *, @@ -1930,6 +2806,15 @@ def repository_url(self, value: pulumi.Input[str]): pulumi.set(self, "repository_url", value) +if not MYPY: + class DomainCustomFileSystemConfigArgsDict(TypedDict): + efs_file_system_config: NotRequired[pulumi.Input['DomainEfsFileSystemConfigArgsDict']] + """ + The settings for a custom Amazon EFS file system. + """ +elif False: + DomainCustomFileSystemConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainCustomFileSystemConfigArgs: def __init__(__self__, *, @@ -1953,6 +2838,26 @@ def efs_file_system_config(self, value: Optional[pulumi.Input['DomainEfsFileSyst pulumi.set(self, "efs_file_system_config", value) +if not MYPY: + class DomainCustomImageArgsDict(TypedDict): + """ + A custom SageMaker image. + """ + app_image_config_name: pulumi.Input[str] + """ + The Name of the AppImageConfig. + """ + image_name: pulumi.Input[str] + """ + The name of the CustomImage. Must be unique to your account. + """ + image_version_number: NotRequired[pulumi.Input[int]] + """ + The version number of the CustomImage. + """ +elif False: + DomainCustomImageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainCustomImageArgs: def __init__(__self__, *, @@ -2007,6 +2912,19 @@ def image_version_number(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "image_version_number", value) +if not MYPY: + class DomainCustomPosixUserConfigArgsDict(TypedDict): + gid: pulumi.Input[int] + """ + The POSIX group ID. + """ + uid: pulumi.Input[int] + """ + The POSIX user ID. + """ +elif False: + DomainCustomPosixUserConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainCustomPosixUserConfigArgs: def __init__(__self__, *, @@ -2044,6 +2962,22 @@ def uid(self, value: pulumi.Input[int]): pulumi.set(self, "uid", value) +if not MYPY: + class DomainDefaultEbsStorageSettingsArgsDict(TypedDict): + """ + Properties related to the Amazon Elastic Block Store volume. Must be provided if storage type is Amazon EBS and must not be provided if storage type is not Amazon EBS + """ + default_ebs_volume_size_in_gb: pulumi.Input[int] + """ + Default size of the Amazon EBS volume in Gb + """ + maximum_ebs_volume_size_in_gb: pulumi.Input[int] + """ + Maximum size of the Amazon EBS volume in Gb. Must be greater than or equal to the DefaultEbsVolumeSizeInGb. + """ +elif False: + DomainDefaultEbsStorageSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainDefaultEbsStorageSettingsArgs: def __init__(__self__, *, @@ -2082,6 +3016,46 @@ def maximum_ebs_volume_size_in_gb(self, value: pulumi.Input[int]): pulumi.set(self, "maximum_ebs_volume_size_in_gb", value) +if not MYPY: + class DomainDefaultSpaceSettingsArgsDict(TypedDict): + """ + A collection of settings that apply to spaces of Amazon SageMaker Studio. These settings are specified when the Create/Update Domain API is called. + """ + execution_role: pulumi.Input[str] + """ + The execution role for the space. + """ + custom_file_system_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['DomainCustomFileSystemConfigArgsDict']]]] + """ + The settings for assigning a custom file system to a domain. Permitted users can access this file system in Amazon SageMaker Studio. + """ + custom_posix_user_config: NotRequired[pulumi.Input['DomainCustomPosixUserConfigArgsDict']] + """ + The Jupyter lab's custom posix user configurations. + """ + jupyter_lab_app_settings: NotRequired[pulumi.Input['DomainJupyterLabAppSettingsArgsDict']] + """ + The Jupyter lab's app settings. + """ + jupyter_server_app_settings: NotRequired[pulumi.Input['DomainJupyterServerAppSettingsArgsDict']] + """ + The Jupyter server's app settings. + """ + kernel_gateway_app_settings: NotRequired[pulumi.Input['DomainKernelGatewayAppSettingsArgsDict']] + """ + The kernel gateway app settings. + """ + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. + """ + space_storage_settings: NotRequired[pulumi.Input['DomainDefaultSpaceStorageSettingsArgsDict']] + """ + The Jupyter lab's space storage settings. + """ +elif False: + DomainDefaultSpaceSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainDefaultSpaceSettingsArgs: def __init__(__self__, *, @@ -2217,6 +3191,18 @@ def space_storage_settings(self, value: Optional[pulumi.Input['DomainDefaultSpac pulumi.set(self, "space_storage_settings", value) +if not MYPY: + class DomainDefaultSpaceStorageSettingsArgsDict(TypedDict): + """ + Default storage settings for a space. + """ + default_ebs_storage_settings: NotRequired[pulumi.Input['DomainDefaultEbsStorageSettingsArgsDict']] + """ + The default EBS storage settings for a space. + """ +elif False: + DomainDefaultSpaceStorageSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainDefaultSpaceStorageSettingsArgs: def __init__(__self__, *, @@ -2241,6 +3227,22 @@ def default_ebs_storage_settings(self, value: Optional[pulumi.Input['DomainDefau pulumi.set(self, "default_ebs_storage_settings", value) +if not MYPY: + class DomainDockerSettingsArgsDict(TypedDict): + """ + A collection of settings that are required to start docker-proxy server. + """ + enable_docker_access: NotRequired[pulumi.Input['DomainDockerSettingsEnableDockerAccess']] + """ + The flag to enable/disable docker-proxy server + """ + vpc_only_trusted_accounts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of account id's that would be used to pull images from in VpcOnly mode + """ +elif False: + DomainDockerSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainDockerSettingsArgs: def __init__(__self__, *, @@ -2281,6 +3283,19 @@ def vpc_only_trusted_accounts(self, value: Optional[pulumi.Input[Sequence[pulumi pulumi.set(self, "vpc_only_trusted_accounts", value) +if not MYPY: + class DomainEfsFileSystemConfigArgsDict(TypedDict): + file_system_id: pulumi.Input[str] + """ + The ID of your Amazon EFS file system. + """ + file_system_path: NotRequired[pulumi.Input[str]] + """ + The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted users can access only this directory and below. + """ +elif False: + DomainEfsFileSystemConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainEfsFileSystemConfigArgs: def __init__(__self__, *, @@ -2319,6 +3334,27 @@ def file_system_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "file_system_path", value) +if not MYPY: + class DomainIdleSettingsArgsDict(TypedDict): + idle_timeout_in_minutes: NotRequired[pulumi.Input[int]] + """ + The time that SageMaker waits after the application becomes idle before shutting it down. + """ + lifecycle_management: NotRequired[pulumi.Input['DomainLifecycleManagement']] + """ + Indicates whether idle shutdown is activated for the application type. + """ + max_idle_timeout_in_minutes: NotRequired[pulumi.Input[int]] + """ + The maximum value in minutes that custom idle shutdown can be set to by the user. + """ + min_idle_timeout_in_minutes: NotRequired[pulumi.Input[int]] + """ + The minimum value in minutes that custom idle shutdown can be set to by the user. + """ +elif False: + DomainIdleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainIdleSettingsArgs: def __init__(__self__, *, @@ -2390,6 +3426,34 @@ def min_idle_timeout_in_minutes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min_idle_timeout_in_minutes", value) +if not MYPY: + class DomainJupyterLabAppSettingsArgsDict(TypedDict): + """ + The JupyterLab app settings. + """ + app_lifecycle_management: NotRequired[pulumi.Input['DomainAppLifecycleManagementArgsDict']] + """ + Indicates whether idle shutdown is activated for JupyterLab applications. + """ + code_repositories: NotRequired[pulumi.Input[Sequence[pulumi.Input['DomainCodeRepositoryArgsDict']]]] + """ + A list of CodeRepositories available for use with JupyterLab apps. + """ + custom_images: NotRequired[pulumi.Input[Sequence[pulumi.Input['DomainCustomImageArgsDict']]]] + """ + A list of custom images for use for JupyterLab apps. + """ + default_resource_spec: NotRequired[pulumi.Input['DomainResourceSpecArgsDict']] + """ + The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app. + """ + lifecycle_config_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of LifecycleConfigArns available for use with JupyterLab apps. + """ +elif False: + DomainJupyterLabAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainJupyterLabAppSettingsArgs: def __init__(__self__, *, @@ -2478,15 +3542,31 @@ def lifecycle_config_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "lifecycle_config_arns", value) -@pulumi.input_type -class DomainJupyterServerAppSettingsArgs: - def __init__(__self__, *, - default_resource_spec: Optional[pulumi.Input['DomainResourceSpecArgs']] = None, - lifecycle_config_arns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): +if not MYPY: + class DomainJupyterServerAppSettingsArgsDict(TypedDict): """ The JupyterServer app settings. - :param pulumi.Input['DomainResourceSpecArgs'] default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. - :param pulumi.Input[Sequence[pulumi.Input[str]]] lifecycle_config_arns: A list of LifecycleConfigArns available for use with JupyterServer apps. + """ + default_resource_spec: NotRequired[pulumi.Input['DomainResourceSpecArgsDict']] + """ + The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. + """ + lifecycle_config_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of LifecycleConfigArns available for use with JupyterServer apps. + """ +elif False: + DomainJupyterServerAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DomainJupyterServerAppSettingsArgs: + def __init__(__self__, *, + default_resource_spec: Optional[pulumi.Input['DomainResourceSpecArgs']] = None, + lifecycle_config_arns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The JupyterServer app settings. + :param pulumi.Input['DomainResourceSpecArgs'] default_resource_spec: The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. + :param pulumi.Input[Sequence[pulumi.Input[str]]] lifecycle_config_arns: A list of LifecycleConfigArns available for use with JupyterServer apps. """ if default_resource_spec is not None: pulumi.set(__self__, "default_resource_spec", default_resource_spec) @@ -2518,6 +3598,26 @@ def lifecycle_config_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "lifecycle_config_arns", value) +if not MYPY: + class DomainKernelGatewayAppSettingsArgsDict(TypedDict): + """ + The kernel gateway app settings. + """ + custom_images: NotRequired[pulumi.Input[Sequence[pulumi.Input['DomainCustomImageArgsDict']]]] + """ + A list of custom SageMaker images that are configured to run as a KernelGateway app. + """ + default_resource_spec: NotRequired[pulumi.Input['DomainResourceSpecArgsDict']] + """ + The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app. + """ + lifecycle_config_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of LifecycleConfigArns available for use with KernelGateway apps. + """ +elif False: + DomainKernelGatewayAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainKernelGatewayAppSettingsArgs: def __init__(__self__, *, @@ -2574,6 +3674,22 @@ def lifecycle_config_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "lifecycle_config_arns", value) +if not MYPY: + class DomainRSessionAppSettingsArgsDict(TypedDict): + """ + A collection of settings that apply to an RSessionGateway app. + """ + custom_images: NotRequired[pulumi.Input[Sequence[pulumi.Input['DomainCustomImageArgsDict']]]] + """ + A list of custom SageMaker images that are configured to run as a KernelGateway app. + """ + default_resource_spec: NotRequired[pulumi.Input['DomainResourceSpecArgsDict']] + """ + Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on. + """ +elif False: + DomainRSessionAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainRSessionAppSettingsArgs: def __init__(__self__, *, @@ -2614,6 +3730,22 @@ def default_resource_spec(self, value: Optional[pulumi.Input['DomainResourceSpec pulumi.set(self, "default_resource_spec", value) +if not MYPY: + class DomainRStudioServerProAppSettingsArgsDict(TypedDict): + """ + A collection of settings that configure user interaction with the RStudioServerPro app. + """ + access_status: NotRequired[pulumi.Input['DomainRStudioServerProAppSettingsAccessStatus']] + """ + Indicates whether the current user has access to the RStudioServerPro app. + """ + user_group: NotRequired[pulumi.Input['DomainRStudioServerProAppSettingsUserGroup']] + """ + The level of permissions that the user has within the RStudioServerPro app. This value defaults to User. The Admin value allows the user access to the RStudio Administrative Dashboard. + """ +elif False: + DomainRStudioServerProAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainRStudioServerProAppSettingsArgs: def __init__(__self__, *, @@ -2654,6 +3786,30 @@ def user_group(self, value: Optional[pulumi.Input['DomainRStudioServerProAppSett pulumi.set(self, "user_group", value) +if not MYPY: + class DomainRStudioServerProDomainSettingsArgsDict(TypedDict): + """ + A collection of settings that update the current configuration for the RStudioServerPro Domain-level app. + """ + domain_execution_role_arn: pulumi.Input[str] + """ + The ARN of the execution role for the RStudioServerPro Domain-level app. + """ + default_resource_spec: NotRequired[pulumi.Input['DomainResourceSpecArgsDict']] + """ + A collection that defines the default `InstanceType` , `SageMakerImageArn` , and `SageMakerImageVersionArn` for the Domain. + """ + r_studio_connect_url: NotRequired[pulumi.Input[str]] + """ + A URL pointing to an RStudio Connect server. + """ + r_studio_package_manager_url: NotRequired[pulumi.Input[str]] + """ + A URL pointing to an RStudio Package Manager server. + """ +elif False: + DomainRStudioServerProDomainSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainRStudioServerProDomainSettingsArgs: def __init__(__self__, *, @@ -2725,6 +3881,27 @@ def r_studio_package_manager_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "r_studio_package_manager_url", value) +if not MYPY: + class DomainResourceSpecArgsDict(TypedDict): + instance_type: NotRequired[pulumi.Input['DomainResourceSpecInstanceType']] + """ + The instance type that the image version runs on. + """ + lifecycle_config_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the Lifecycle Configuration to attach to the Resource. + """ + sage_maker_image_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the SageMaker image that the image version belongs to. + """ + sage_maker_image_version_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the image version created on the instance. + """ +elif False: + DomainResourceSpecArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainResourceSpecArgs: def __init__(__self__, *, @@ -2796,6 +3973,26 @@ def sage_maker_image_version_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sage_maker_image_version_arn", value) +if not MYPY: + class DomainSettingsArgsDict(TypedDict): + """ + A collection of Domain settings. + """ + docker_settings: NotRequired[pulumi.Input['DomainDockerSettingsArgsDict']] + """ + A collection of settings that configure the domain's Docker interaction. + """ + r_studio_server_pro_domain_settings: NotRequired[pulumi.Input['DomainRStudioServerProDomainSettingsArgsDict']] + """ + A collection of settings that configure the `RStudioServerPro` Domain-level app. + """ + security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The security groups for the Amazon Virtual Private Cloud that the Domain uses for communication between Domain-level apps and user apps. + """ +elif False: + DomainSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainSettingsArgs: def __init__(__self__, *, @@ -2852,6 +4049,26 @@ def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "security_group_ids", value) +if not MYPY: + class DomainSharingSettingsArgsDict(TypedDict): + """ + Specifies options when sharing an Amazon SageMaker Studio notebook. These settings are specified as part of DefaultUserSettings when the CreateDomain API is called, and as part of UserSettings when the CreateUserProfile API is called. + """ + notebook_output_option: NotRequired[pulumi.Input['DomainSharingSettingsNotebookOutputOption']] + """ + Whether to include the notebook cell output when sharing the notebook. The default is Disabled. + """ + s3_kms_key_id: NotRequired[pulumi.Input[str]] + """ + When NotebookOutputOption is Allowed, the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket. + """ + s3_output_path: NotRequired[pulumi.Input[str]] + """ + When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared notebook snapshots. + """ +elif False: + DomainSharingSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainSharingSettingsArgs: def __init__(__self__, *, @@ -2908,6 +4125,22 @@ def s3_output_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_output_path", value) +if not MYPY: + class DomainStudioWebPortalSettingsArgsDict(TypedDict): + """ + Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level. + """ + hidden_app_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['DomainAppType']]]] + """ + Applications supported in Studio that are hidden from the Studio left navigation pane. + """ + hidden_ml_tools: NotRequired[pulumi.Input[Sequence[pulumi.Input['DomainMlTools']]]] + """ + The machine learning tools that are hidden from the Studio left navigation pane. + """ +elif False: + DomainStudioWebPortalSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainStudioWebPortalSettingsArgs: def __init__(__self__, *, @@ -2948,6 +4181,74 @@ def hidden_ml_tools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Do pulumi.set(self, "hidden_ml_tools", value) +if not MYPY: + class DomainUserSettingsArgsDict(TypedDict): + """ + A collection of settings that apply to users of Amazon SageMaker Studio. These settings are specified when the CreateUserProfile API is called, and as DefaultUserSettings when the CreateDomain API is called. + """ + execution_role: pulumi.Input[str] + """ + The execution role for the user. + """ + code_editor_app_settings: NotRequired[pulumi.Input['DomainCodeEditorAppSettingsArgsDict']] + """ + The Code Editor application settings. + """ + custom_file_system_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['DomainCustomFileSystemConfigArgsDict']]]] + """ + The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio. + """ + custom_posix_user_config: NotRequired[pulumi.Input['DomainCustomPosixUserConfigArgsDict']] + """ + Details about the POSIX identity that is used for file system operations. + """ + default_landing_uri: NotRequired[pulumi.Input[str]] + """ + Defines which Amazon SageMaker application users are directed to by default. + """ + jupyter_lab_app_settings: NotRequired[pulumi.Input['DomainJupyterLabAppSettingsArgsDict']] + """ + The settings for the JupyterLab application. + """ + jupyter_server_app_settings: NotRequired[pulumi.Input['DomainJupyterServerAppSettingsArgsDict']] + """ + The Jupyter server's app settings. + """ + kernel_gateway_app_settings: NotRequired[pulumi.Input['DomainKernelGatewayAppSettingsArgsDict']] + """ + The kernel gateway app settings. + """ + r_session_app_settings: NotRequired[pulumi.Input['DomainRSessionAppSettingsArgsDict']] + """ + A collection of settings that configure the `RSessionGateway` app. + """ + r_studio_server_pro_app_settings: NotRequired[pulumi.Input['DomainRStudioServerProAppSettingsArgsDict']] + """ + A collection of settings that configure user interaction with the `RStudioServerPro` app. + """ + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. + """ + sharing_settings: NotRequired[pulumi.Input['DomainSharingSettingsArgsDict']] + """ + The sharing settings. + """ + space_storage_settings: NotRequired[pulumi.Input['DomainDefaultSpaceStorageSettingsArgsDict']] + """ + The storage settings for a space. + """ + studio_web_portal: NotRequired[pulumi.Input['DomainUserSettingsStudioWebPortal']] + """ + Indicates whether the Studio experience is available to users. If not, users cannot access Studio. + """ + studio_web_portal_settings: NotRequired[pulumi.Input['DomainStudioWebPortalSettingsArgsDict']] + """ + Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level. + """ +elif False: + DomainUserSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainUserSettingsArgs: def __init__(__self__, *, @@ -3195,6 +4496,23 @@ def studio_web_portal_settings(self, value: Optional[pulumi.Input['DomainStudioW pulumi.set(self, "studio_web_portal_settings", value) +if not MYPY: + class FeatureGroupDataCatalogConfigArgsDict(TypedDict): + catalog: pulumi.Input[str] + """ + The name of the Glue table catalog. + """ + database: pulumi.Input[str] + """ + The name of the Glue table database. + """ + table_name: pulumi.Input[str] + """ + The name of the Glue table. + """ +elif False: + FeatureGroupDataCatalogConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FeatureGroupDataCatalogConfigArgs: def __init__(__self__, *, @@ -3247,6 +4565,24 @@ def table_name(self, value: pulumi.Input[str]): pulumi.set(self, "table_name", value) +if not MYPY: + class FeatureGroupFeatureDefinitionArgsDict(TypedDict): + feature_name: pulumi.Input[str] + """ + The name of a feature. The type must be a string. `FeatureName` cannot be any of the following: `is_deleted` , `write_time` , `api_invocation_time` . + + The name: + + - Must start with an alphanumeric character. + - Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed. + """ + feature_type: pulumi.Input['FeatureGroupFeatureDefinitionFeatureType'] + """ + The value type of a feature. Valid values are Integral, Fractional, or String. + """ +elif False: + FeatureGroupFeatureDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FeatureGroupFeatureDefinitionArgs: def __init__(__self__, *, @@ -3294,6 +4630,33 @@ def feature_type(self, value: pulumi.Input['FeatureGroupFeatureDefinitionFeature pulumi.set(self, "feature_type", value) +if not MYPY: + class FeatureGroupOnlineStoreSecurityConfigArgsDict(TypedDict): + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (KMS) key ARN that SageMaker Feature Store uses to encrypt the Amazon S3 objects at rest using Amazon S3 server-side encryption. + + The caller (either user or IAM role) of `CreateFeatureGroup` must have below permissions to the `OnlineStore` `KmsKeyId` : + + - `"kms:Encrypt"` + - `"kms:Decrypt"` + - `"kms:DescribeKey"` + - `"kms:CreateGrant"` + - `"kms:RetireGrant"` + - `"kms:ReEncryptFrom"` + - `"kms:ReEncryptTo"` + - `"kms:GenerateDataKey"` + - `"kms:ListAliases"` + - `"kms:ListGrants"` + - `"kms:RevokeGrant"` + + The caller (either user or IAM role) to all DataPlane operations ( `PutRecord` , `GetRecord` , `DeleteRecord` ) must have the following permissions to the `KmsKeyId` : + + - `"kms:Decrypt"` + """ +elif False: + FeatureGroupOnlineStoreSecurityConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FeatureGroupOnlineStoreSecurityConfigArgs: def __init__(__self__, *, @@ -3353,6 +4716,25 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class FeatureGroupS3StorageConfigArgsDict(TypedDict): + s3_uri: pulumi.Input[str] + """ + The S3 URI, or location in Amazon S3, of `OfflineStore` . + + S3 URIs have a format similar to the following: `s3://example-bucket/prefix/` . + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (KMS) key ARN of the key used to encrypt any objects written into the `OfflineStore` S3 location. + + The IAM `roleARN` that is passed as a parameter to `CreateFeatureGroup` must have below permissions to the `KmsKeyId` : + + - `"kms:GenerateDataKey"` + """ +elif False: + FeatureGroupS3StorageConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FeatureGroupS3StorageConfigArgs: def __init__(__self__, *, @@ -3403,6 +4785,23 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class FeatureGroupThroughputConfigArgsDict(TypedDict): + throughput_mode: pulumi.Input['FeatureGroupThroughputMode'] + """ + The mode used for your feature group throughput: `ON_DEMAND` or `PROVISIONED` . + """ + provisioned_read_capacity_units: NotRequired[pulumi.Input[int]] + """ + For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling. + """ + provisioned_write_capacity_units: NotRequired[pulumi.Input[int]] + """ + For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling. + """ +elif False: + FeatureGroupThroughputConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FeatureGroupThroughputConfigArgs: def __init__(__self__, *, @@ -3457,6 +4856,22 @@ def provisioned_write_capacity_units(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "provisioned_write_capacity_units", value) +if not MYPY: + class FeatureGroupTtlDurationArgsDict(TypedDict): + """ + TTL configuration of the feature group + """ + unit: NotRequired[pulumi.Input['FeatureGroupUnit']] + """ + `TtlDuration` time unit. + """ + value: NotRequired[pulumi.Input[int]] + """ + `TtlDuration` time value. + """ +elif False: + FeatureGroupTtlDurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class FeatureGroupTtlDurationArgs: def __init__(__self__, *, @@ -3497,6 +4912,27 @@ def value(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "value", value) +if not MYPY: + class InferenceComponentComputeResourceRequirementsArgsDict(TypedDict): + max_memory_required_in_mb: NotRequired[pulumi.Input[int]] + """ + The maximum MB of memory to allocate to run a model that you assign to an inference component. + """ + min_memory_required_in_mb: NotRequired[pulumi.Input[int]] + """ + The minimum MB of memory to allocate to run a model that you assign to an inference component. + """ + number_of_accelerator_devices_required: NotRequired[pulumi.Input[float]] + """ + The number of accelerators to allocate to run a model that you assign to an inference component. Accelerators include GPUs and AWS Inferentia. + """ + number_of_cpu_cores_required: NotRequired[pulumi.Input[float]] + """ + The number of CPU cores to allocate to run a model that you assign to an inference component. + """ +elif False: + InferenceComponentComputeResourceRequirementsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceComponentComputeResourceRequirementsArgs: def __init__(__self__, *, @@ -3568,8 +5004,26 @@ def number_of_cpu_cores_required(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "number_of_cpu_cores_required", value) -@pulumi.input_type -class InferenceComponentContainerSpecificationArgs: +if not MYPY: + class InferenceComponentContainerSpecificationArgsDict(TypedDict): + artifact_url: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). + """ + deployed_image: NotRequired[pulumi.Input['InferenceComponentDeployedImageArgsDict']] + environment: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The environment variables to set in the Docker container. Each key and value in the Environment string-to-string map can have length of up to 1024. We support up to 16 entries in the map. + """ + image: NotRequired[pulumi.Input[str]] + """ + The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored. + """ +elif False: + InferenceComponentContainerSpecificationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class InferenceComponentContainerSpecificationArgs: def __init__(__self__, *, artifact_url: Optional[pulumi.Input[str]] = None, deployed_image: Optional[pulumi.Input['InferenceComponentDeployedImageArgs']] = None, @@ -3635,6 +5089,23 @@ def image(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "image", value) +if not MYPY: + class InferenceComponentDeployedImageArgsDict(TypedDict): + resolution_time: NotRequired[pulumi.Input[str]] + """ + The date and time when the image path for the model resolved to the `ResolvedImage` + """ + resolved_image: NotRequired[pulumi.Input[str]] + """ + The specific digest path of the image hosted in this `ProductionVariant` . + """ + specified_image: NotRequired[pulumi.Input[str]] + """ + The image path you specified when you created the model. + """ +elif False: + InferenceComponentDeployedImageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceComponentDeployedImageArgs: def __init__(__self__, *, @@ -3690,6 +5161,20 @@ def specified_image(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "specified_image", value) +if not MYPY: + class InferenceComponentRuntimeConfigArgsDict(TypedDict): + """ + The runtime config for the inference component + """ + copy_count: NotRequired[pulumi.Input[int]] + """ + The number of runtime copies of the model container to deploy with the inference component. Each copy can serve inference requests. + """ + current_copy_count: NotRequired[pulumi.Input[int]] + desired_copy_count: NotRequired[pulumi.Input[int]] +elif False: + InferenceComponentRuntimeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceComponentRuntimeConfigArgs: def __init__(__self__, *, @@ -3738,6 +5223,30 @@ def desired_copy_count(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "desired_copy_count", value) +if not MYPY: + class InferenceComponentSpecificationArgsDict(TypedDict): + """ + The specification for the inference component + """ + compute_resource_requirements: pulumi.Input['InferenceComponentComputeResourceRequirementsArgsDict'] + """ + The compute resources allocated to run the model assigned to the inference component. + """ + container: NotRequired[pulumi.Input['InferenceComponentContainerSpecificationArgsDict']] + """ + Defines a container that provides the runtime environment for a model that you deploy with an inference component. + """ + model_name: NotRequired[pulumi.Input[str]] + """ + The name of an existing SageMaker model object in your account that you want to deploy with the inference component. + """ + startup_parameters: NotRequired[pulumi.Input['InferenceComponentStartupParametersArgsDict']] + """ + Settings that take effect while the model container starts up. + """ +elif False: + InferenceComponentSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceComponentSpecificationArgs: def __init__(__self__, *, @@ -3809,6 +5318,19 @@ def startup_parameters(self, value: Optional[pulumi.Input['InferenceComponentSta pulumi.set(self, "startup_parameters", value) +if not MYPY: + class InferenceComponentStartupParametersArgsDict(TypedDict): + container_startup_health_check_timeout_in_seconds: NotRequired[pulumi.Input[int]] + """ + The timeout value, in seconds, for your inference container to pass health check by Amazon S3 Hosting. For more information about health check, see [How Your Container Should Respond to Health Check (Ping) Requests](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-inference-code.html#your-algorithms-inference-algo-ping-requests) . + """ + model_data_download_timeout_in_seconds: NotRequired[pulumi.Input[int]] + """ + The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this inference component. + """ +elif False: + InferenceComponentStartupParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceComponentStartupParametersArgs: def __init__(__self__, *, @@ -3848,6 +5370,22 @@ def model_data_download_timeout_in_seconds(self, value: Optional[pulumi.Input[in pulumi.set(self, "model_data_download_timeout_in_seconds", value) +if not MYPY: + class InferenceExperimentCaptureContentTypeHeaderArgsDict(TypedDict): + """ + Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data. + """ + csv_content_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of all content type headers that SageMaker will treat as CSV and capture accordingly. + """ + json_content_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of all content type headers that SageMaker will treat as JSON and capture accordingly. + """ +elif False: + InferenceExperimentCaptureContentTypeHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceExperimentCaptureContentTypeHeaderArgs: def __init__(__self__, *, @@ -3888,6 +5426,26 @@ def json_content_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "json_content_types", value) +if not MYPY: + class InferenceExperimentDataStorageConfigArgsDict(TypedDict): + """ + The Amazon S3 location and configuration for storing inference request and response data. + """ + destination: pulumi.Input[str] + """ + The Amazon S3 bucket where the inference request and response data is stored. + """ + content_type: NotRequired[pulumi.Input['InferenceExperimentCaptureContentTypeHeaderArgsDict']] + """ + Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data. + """ + kms_key: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption. + """ +elif False: + InferenceExperimentDataStorageConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceExperimentDataStorageConfigArgs: def __init__(__self__, *, @@ -3943,6 +5501,22 @@ def kms_key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key", value) +if not MYPY: + class InferenceExperimentModelInfrastructureConfigArgsDict(TypedDict): + """ + The configuration for the infrastructure that the model will be deployed to. + """ + infrastructure_type: pulumi.Input['InferenceExperimentModelInfrastructureConfigInfrastructureType'] + """ + The type of the inference experiment that you want to run. + """ + real_time_inference_config: pulumi.Input['InferenceExperimentRealTimeInferenceConfigArgsDict'] + """ + The infrastructure configuration for deploying the model to real-time inference. + """ +elif False: + InferenceExperimentModelInfrastructureConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceExperimentModelInfrastructureConfigArgs: def __init__(__self__, *, @@ -3981,6 +5555,26 @@ def real_time_inference_config(self, value: pulumi.Input['InferenceExperimentRea pulumi.set(self, "real_time_inference_config", value) +if not MYPY: + class InferenceExperimentModelVariantConfigArgsDict(TypedDict): + """ + Contains information about the deployment options of a model. + """ + infrastructure_config: pulumi.Input['InferenceExperimentModelInfrastructureConfigArgsDict'] + """ + The configuration for the infrastructure that the model will be deployed to. + """ + model_name: pulumi.Input[str] + """ + The name of the Amazon SageMaker Model entity. + """ + variant_name: pulumi.Input[str] + """ + The name of the variant. + """ +elif False: + InferenceExperimentModelVariantConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceExperimentModelVariantConfigArgs: def __init__(__self__, *, @@ -4034,6 +5628,22 @@ def variant_name(self, value: pulumi.Input[str]): pulumi.set(self, "variant_name", value) +if not MYPY: + class InferenceExperimentRealTimeInferenceConfigArgsDict(TypedDict): + """ + The infrastructure configuration for deploying the model to a real-time inference endpoint. + """ + instance_count: pulumi.Input[int] + """ + The number of instances of the type specified by InstanceType. + """ + instance_type: pulumi.Input[str] + """ + The instance type the model is deployed to. + """ +elif False: + InferenceExperimentRealTimeInferenceConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceExperimentRealTimeInferenceConfigArgs: def __init__(__self__, *, @@ -4072,6 +5682,22 @@ def instance_type(self, value: pulumi.Input[str]): pulumi.set(self, "instance_type", value) +if not MYPY: + class InferenceExperimentScheduleArgsDict(TypedDict): + """ + The duration for which you want the inference experiment to run. + """ + end_time: NotRequired[pulumi.Input[str]] + """ + The timestamp at which the inference experiment ended or will end. + """ + start_time: NotRequired[pulumi.Input[str]] + """ + The timestamp at which the inference experiment started or will start. + """ +elif False: + InferenceExperimentScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceExperimentScheduleArgs: def __init__(__self__, *, @@ -4112,6 +5738,22 @@ def start_time(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start_time", value) +if not MYPY: + class InferenceExperimentShadowModeConfigArgsDict(TypedDict): + """ + The configuration of ShadowMode inference experiment type. Use this field to specify a production variant which takes all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant also specify the percentage of requests that Amazon SageMaker replicates. + """ + shadow_model_variants: pulumi.Input[Sequence[pulumi.Input['InferenceExperimentShadowModelVariantConfigArgsDict']]] + """ + List of shadow variant configurations. + """ + source_model_variant_name: pulumi.Input[str] + """ + The name of the production variant, which takes all the inference requests. + """ +elif False: + InferenceExperimentShadowModeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceExperimentShadowModeConfigArgs: def __init__(__self__, *, @@ -4150,6 +5792,22 @@ def source_model_variant_name(self, value: pulumi.Input[str]): pulumi.set(self, "source_model_variant_name", value) +if not MYPY: + class InferenceExperimentShadowModelVariantConfigArgsDict(TypedDict): + """ + The name and sampling percentage of a shadow variant. + """ + sampling_percentage: pulumi.Input[int] + """ + The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant. + """ + shadow_model_variant_name: pulumi.Input[str] + """ + The name of the shadow variant. + """ +elif False: + InferenceExperimentShadowModelVariantConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InferenceExperimentShadowModelVariantConfigArgs: def __init__(__self__, *, @@ -4188,6 +5846,58 @@ def shadow_model_variant_name(self, value: pulumi.Input[str]): pulumi.set(self, "shadow_model_variant_name", value) +if not MYPY: + class ModelBiasJobDefinitionBatchTransformInputArgsDict(TypedDict): + """ + The batch transform input for a monitoring job. + """ + data_captured_destination_s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Batch Transform Job captures data. + """ + dataset_format: pulumi.Input['ModelBiasJobDefinitionDatasetFormatArgsDict'] + """ + The dataset format for your batch transform job. + """ + local_path: pulumi.Input[str] + """ + Path to the filesystem where the endpoint data is available to the container. + """ + end_time_offset: NotRequired[pulumi.Input[str]] + """ + Monitoring end time offset, e.g. PT0H + """ + features_attribute: NotRequired[pulumi.Input[str]] + """ + JSONpath to locate features in JSONlines dataset + """ + inference_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate predicted label(s) + """ + probability_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate probabilities + """ + probability_threshold_attribute: NotRequired[pulumi.Input[float]] + """ + The threshold for the class probability to be evaluated as a positive result. + """ + s3_data_distribution_type: NotRequired[pulumi.Input['ModelBiasJobDefinitionBatchTransformInputS3DataDistributionType']] + """ + Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated + """ + s3_input_mode: NotRequired[pulumi.Input['ModelBiasJobDefinitionBatchTransformInputS3InputMode']] + """ + Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. + """ + start_time_offset: NotRequired[pulumi.Input[str]] + """ + Monitoring start time offset, e.g. -PT1H + """ +elif False: + ModelBiasJobDefinitionBatchTransformInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionBatchTransformInputArgs: def __init__(__self__, *, @@ -4369,6 +6079,30 @@ def start_time_offset(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start_time_offset", value) +if not MYPY: + class ModelBiasJobDefinitionClusterConfigArgsDict(TypedDict): + """ + Configuration for the cluster used to run model monitoring jobs. + """ + instance_count: pulumi.Input[int] + """ + The number of ML compute instances to use in the model monitoring job. For distributed processing jobs, specify a value greater than 1. The default value is 1. + """ + instance_type: pulumi.Input[str] + """ + The ML compute instance type for the processing job. + """ + volume_size_in_gb: pulumi.Input[int] + """ + The size of the ML storage volume, in gigabytes, that you want to provision. You must specify sufficient ML storage for your scenario. + """ + volume_kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job. + """ +elif False: + ModelBiasJobDefinitionClusterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionClusterConfigArgs: def __init__(__self__, *, @@ -4438,6 +6172,18 @@ def volume_kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_kms_key_id", value) +if not MYPY: + class ModelBiasJobDefinitionConstraintsResourceArgsDict(TypedDict): + """ + The baseline constraints resource for a monitoring job. + """ + s3_uri: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 URI for baseline constraint file in Amazon S3 that the current monitoring job should validated against. + """ +elif False: + ModelBiasJobDefinitionConstraintsResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionConstraintsResourceArgs: def __init__(__self__, *, @@ -4462,6 +6208,18 @@ def s3_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_uri", value) +if not MYPY: + class ModelBiasJobDefinitionCsvArgsDict(TypedDict): + """ + The CSV format + """ + header: NotRequired[pulumi.Input[bool]] + """ + A boolean flag indicating if given CSV has header + """ +elif False: + ModelBiasJobDefinitionCsvArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionCsvArgs: def __init__(__self__, *, @@ -4486,6 +6244,17 @@ def header(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "header", value) +if not MYPY: + class ModelBiasJobDefinitionDatasetFormatArgsDict(TypedDict): + """ + The dataset format of the data to monitor + """ + csv: NotRequired[pulumi.Input['ModelBiasJobDefinitionCsvArgsDict']] + json: NotRequired[pulumi.Input['ModelBiasJobDefinitionJsonArgsDict']] + parquet: NotRequired[pulumi.Input[bool]] +elif False: + ModelBiasJobDefinitionDatasetFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionDatasetFormatArgs: def __init__(__self__, *, @@ -4530,6 +6299,54 @@ def parquet(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "parquet", value) +if not MYPY: + class ModelBiasJobDefinitionEndpointInputArgsDict(TypedDict): + """ + The endpoint for a monitoring job. + """ + endpoint_name: pulumi.Input[str] + """ + An endpoint in customer's account which has enabled `DataCaptureConfig` enabled. + """ + local_path: pulumi.Input[str] + """ + Path to the filesystem where the endpoint data is available to the container. + """ + end_time_offset: NotRequired[pulumi.Input[str]] + """ + Monitoring end time offset, e.g. PT0H + """ + features_attribute: NotRequired[pulumi.Input[str]] + """ + JSONpath to locate features in JSONlines dataset + """ + inference_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate predicted label(s) + """ + probability_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate probabilities + """ + probability_threshold_attribute: NotRequired[pulumi.Input[float]] + """ + The threshold for the class probability to be evaluated as a positive result. + """ + s3_data_distribution_type: NotRequired[pulumi.Input['ModelBiasJobDefinitionEndpointInputS3DataDistributionType']] + """ + Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated + """ + s3_input_mode: NotRequired[pulumi.Input['ModelBiasJobDefinitionEndpointInputS3InputMode']] + """ + Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. + """ + start_time_offset: NotRequired[pulumi.Input[str]] + """ + Monitoring start time offset, e.g. -PT1H + """ +elif False: + ModelBiasJobDefinitionEndpointInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionEndpointInputArgs: def __init__(__self__, *, @@ -4696,6 +6513,18 @@ def start_time_offset(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start_time_offset", value) +if not MYPY: + class ModelBiasJobDefinitionJsonArgsDict(TypedDict): + """ + The Json format + """ + line: NotRequired[pulumi.Input[bool]] + """ + A boolean flag indicating if it is JSON line format + """ +elif False: + ModelBiasJobDefinitionJsonArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionJsonArgs: def __init__(__self__, *, @@ -4720,12 +6549,32 @@ def line(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "line", value) -@pulumi.input_type -class ModelBiasJobDefinitionModelBiasAppSpecificationArgs: - def __init__(__self__, *, - config_uri: pulumi.Input[str], - image_uri: pulumi.Input[str], - environment: Optional[Any] = None): +if not MYPY: + class ModelBiasJobDefinitionModelBiasAppSpecificationArgsDict(TypedDict): + """ + Container image configuration object for the monitoring job. + """ + config_uri: pulumi.Input[str] + """ + The S3 URI to an analysis configuration file + """ + image_uri: pulumi.Input[str] + """ + The container image to be run by the monitoring job. + """ + environment: NotRequired[Any] + """ + Sets the environment variables in the Docker container + """ +elif False: + ModelBiasJobDefinitionModelBiasAppSpecificationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ModelBiasJobDefinitionModelBiasAppSpecificationArgs: + def __init__(__self__, *, + config_uri: pulumi.Input[str], + image_uri: pulumi.Input[str], + environment: Optional[Any] = None): """ Container image configuration object for the monitoring job. :param pulumi.Input[str] config_uri: The S3 URI to an analysis configuration file @@ -4774,6 +6623,22 @@ def environment(self, value: Optional[Any]): pulumi.set(self, "environment", value) +if not MYPY: + class ModelBiasJobDefinitionModelBiasBaselineConfigArgsDict(TypedDict): + """ + Baseline configuration used to validate that the data conforms to the specified constraints and statistics. + """ + baselining_job_name: NotRequired[pulumi.Input[str]] + """ + The name of the baseline model bias job. + """ + constraints_resource: NotRequired[pulumi.Input['ModelBiasJobDefinitionConstraintsResourceArgsDict']] + """ + The constraints resource for a monitoring job. + """ +elif False: + ModelBiasJobDefinitionModelBiasBaselineConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionModelBiasBaselineConfigArgs: def __init__(__self__, *, @@ -4814,6 +6679,26 @@ def constraints_resource(self, value: Optional[pulumi.Input['ModelBiasJobDefinit pulumi.set(self, "constraints_resource", value) +if not MYPY: + class ModelBiasJobDefinitionModelBiasJobInputArgsDict(TypedDict): + """ + The inputs for a monitoring job. + """ + ground_truth_s3_input: pulumi.Input['ModelBiasJobDefinitionMonitoringGroundTruthS3InputArgsDict'] + """ + Location of ground truth labels to use in model bias job. + """ + batch_transform_input: NotRequired[pulumi.Input['ModelBiasJobDefinitionBatchTransformInputArgsDict']] + """ + Input object for the batch transform job. + """ + endpoint_input: NotRequired[pulumi.Input['ModelBiasJobDefinitionEndpointInputArgsDict']] + """ + Input object for the endpoint + """ +elif False: + ModelBiasJobDefinitionModelBiasJobInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionModelBiasJobInputArgs: def __init__(__self__, *, @@ -4869,6 +6754,18 @@ def endpoint_input(self, value: Optional[pulumi.Input['ModelBiasJobDefinitionEnd pulumi.set(self, "endpoint_input", value) +if not MYPY: + class ModelBiasJobDefinitionMonitoringGroundTruthS3InputArgsDict(TypedDict): + """ + Ground truth input provided in S3 + """ + s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. + """ +elif False: + ModelBiasJobDefinitionMonitoringGroundTruthS3InputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionMonitoringGroundTruthS3InputArgs: def __init__(__self__, *, @@ -4892,6 +6789,22 @@ def s3_uri(self, value: pulumi.Input[str]): pulumi.set(self, "s3_uri", value) +if not MYPY: + class ModelBiasJobDefinitionMonitoringOutputConfigArgsDict(TypedDict): + """ + The output configuration for monitoring jobs. + """ + monitoring_outputs: pulumi.Input[Sequence[pulumi.Input['ModelBiasJobDefinitionMonitoringOutputArgsDict']]] + """ + Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. + """ +elif False: + ModelBiasJobDefinitionMonitoringOutputConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionMonitoringOutputConfigArgs: def __init__(__self__, *, @@ -4931,6 +6844,18 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class ModelBiasJobDefinitionMonitoringOutputArgsDict(TypedDict): + """ + The output object for a monitoring job. + """ + s3_output: pulumi.Input['ModelBiasJobDefinitionS3OutputArgsDict'] + """ + The Amazon S3 storage location where the results of a monitoring job are saved. + """ +elif False: + ModelBiasJobDefinitionMonitoringOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionMonitoringOutputArgs: def __init__(__self__, *, @@ -4954,6 +6879,18 @@ def s3_output(self, value: pulumi.Input['ModelBiasJobDefinitionS3OutputArgs']): pulumi.set(self, "s3_output", value) +if not MYPY: + class ModelBiasJobDefinitionMonitoringResourcesArgsDict(TypedDict): + """ + Identifies the resources to deploy for a monitoring job. + """ + cluster_config: pulumi.Input['ModelBiasJobDefinitionClusterConfigArgsDict'] + """ + The configuration for the cluster resources used to run the processing job. + """ +elif False: + ModelBiasJobDefinitionMonitoringResourcesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionMonitoringResourcesArgs: def __init__(__self__, *, @@ -4977,6 +6914,26 @@ def cluster_config(self, value: pulumi.Input['ModelBiasJobDefinitionClusterConfi pulumi.set(self, "cluster_config", value) +if not MYPY: + class ModelBiasJobDefinitionNetworkConfigArgsDict(TypedDict): + """ + Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs. + """ + enable_inter_container_traffic_encryption: NotRequired[pulumi.Input[bool]] + """ + Whether to encrypt all communications between distributed processing jobs. Choose True to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer. + """ + enable_network_isolation: NotRequired[pulumi.Input[bool]] + """ + Whether to allow inbound and outbound network calls to and from the containers used for the processing job. + """ + vpc_config: NotRequired[pulumi.Input['ModelBiasJobDefinitionVpcConfigArgsDict']] + """ + Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. + """ +elif False: + ModelBiasJobDefinitionNetworkConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionNetworkConfigArgs: def __init__(__self__, *, @@ -5033,6 +6990,26 @@ def vpc_config(self, value: Optional[pulumi.Input['ModelBiasJobDefinitionVpcConf pulumi.set(self, "vpc_config", value) +if not MYPY: + class ModelBiasJobDefinitionS3OutputArgsDict(TypedDict): + """ + Information about where and how to store the results of a monitoring job. + """ + local_path: pulumi.Input[str] + """ + The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. LocalPath is an absolute path for the output data. + """ + s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. + """ + s3_upload_mode: NotRequired[pulumi.Input['ModelBiasJobDefinitionS3OutputS3UploadMode']] + """ + Whether to upload the results of the monitoring job continuously or after the job completes. + """ +elif False: + ModelBiasJobDefinitionS3OutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionS3OutputArgs: def __init__(__self__, *, @@ -5087,6 +7064,18 @@ def s3_upload_mode(self, value: Optional[pulumi.Input['ModelBiasJobDefinitionS3O pulumi.set(self, "s3_upload_mode", value) +if not MYPY: + class ModelBiasJobDefinitionStoppingConditionArgsDict(TypedDict): + """ + Specifies a time limit for how long the monitoring job is allowed to run. + """ + max_runtime_in_seconds: pulumi.Input[int] + """ + The maximum runtime allowed in seconds. + """ +elif False: + ModelBiasJobDefinitionStoppingConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionStoppingConditionArgs: def __init__(__self__, *, @@ -5110,6 +7099,22 @@ def max_runtime_in_seconds(self, value: pulumi.Input[int]): pulumi.set(self, "max_runtime_in_seconds", value) +if not MYPY: + class ModelBiasJobDefinitionVpcConfigArgsDict(TypedDict): + """ + Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field. + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The ID of the subnets in the VPC to which you want to connect to your monitoring jobs. + """ +elif False: + ModelBiasJobDefinitionVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelBiasJobDefinitionVpcConfigArgs: def __init__(__self__, *, @@ -5148,6 +7153,23 @@ def subnets(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "subnets", value) +if not MYPY: + class ModelCardAdditionalInformationArgsDict(TypedDict): + caveats_and_recommendations: NotRequired[pulumi.Input[str]] + """ + Caveats and recommendations for people who might use this model in their applications. + """ + custom_details: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + customer details. + """ + ethical_considerations: NotRequired[pulumi.Input[str]] + """ + Any ethical considerations that the author wants to provide. + """ +elif False: + ModelCardAdditionalInformationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardAdditionalInformationArgs: def __init__(__self__, *, @@ -5203,6 +7225,17 @@ def ethical_considerations(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "ethical_considerations", value) +if not MYPY: + class ModelCardBarChartMetricArgsDict(TypedDict): + name: pulumi.Input[str] + type: pulumi.Input['ModelCardBarChartMetricType'] + value: pulumi.Input[Sequence[pulumi.Input[float]]] + notes: NotRequired[pulumi.Input[str]] + x_axis_name: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + y_axis_name: NotRequired[pulumi.Input[str]] +elif False: + ModelCardBarChartMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardBarChartMetricArgs: def __init__(__self__, *, @@ -5277,6 +7310,26 @@ def y_axis_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "y_axis_name", value) +if not MYPY: + class ModelCardBusinessDetailsArgsDict(TypedDict): + """ + Business details. + """ + business_problem: NotRequired[pulumi.Input[str]] + """ + What business problem does the model solve? + """ + business_stakeholders: NotRequired[pulumi.Input[str]] + """ + Business stakeholders. + """ + line_of_business: NotRequired[pulumi.Input[str]] + """ + Line of business. + """ +elif False: + ModelCardBusinessDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardBusinessDetailsArgs: def __init__(__self__, *, @@ -5333,6 +7386,23 @@ def line_of_business(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "line_of_business", value) +if not MYPY: + class ModelCardContainerArgsDict(TypedDict): + image: pulumi.Input[str] + """ + Inference environment path. The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored. + """ + model_data_url: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 path where the model artifacts, which result from model training, are stored. + """ + nearest_model_name: NotRequired[pulumi.Input[str]] + """ + The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model. + """ +elif False: + ModelCardContainerArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardContainerArgs: def __init__(__self__, *, @@ -5387,6 +7457,39 @@ def nearest_model_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "nearest_model_name", value) +if not MYPY: + class ModelCardContentArgsDict(TypedDict): + """ + The content of the model card. + """ + additional_information: NotRequired[pulumi.Input['ModelCardAdditionalInformationArgsDict']] + """ + Additional information about the model. + """ + business_details: NotRequired[pulumi.Input['ModelCardBusinessDetailsArgsDict']] + """ + Information about how the model supports business goals. + """ + evaluation_details: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelCardEvaluationDetailArgsDict']]]] + """ + An overview about the model's evaluation. + """ + intended_uses: NotRequired[pulumi.Input['ModelCardIntendedUsesArgsDict']] + """ + The intended usage of the model. + """ + model_overview: NotRequired[pulumi.Input['ModelCardModelOverviewArgsDict']] + """ + An overview about the model + """ + model_package_details: NotRequired[pulumi.Input['ModelCardModelPackageDetailsArgsDict']] + training_details: NotRequired[pulumi.Input['ModelCardTrainingDetailsArgsDict']] + """ + An overview about model training. + """ +elif False: + ModelCardContentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardContentArgs: def __init__(__self__, *, @@ -5503,6 +7606,23 @@ def training_details(self, value: Optional[pulumi.Input['ModelCardTrainingDetail pulumi.set(self, "training_details", value) +if not MYPY: + class ModelCardEvaluationDetailArgsDict(TypedDict): + """ + item of evaluation details + """ + name: pulumi.Input[str] + datasets: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + evaluation_job_arn: NotRequired[pulumi.Input[str]] + evaluation_observation: NotRequired[pulumi.Input[str]] + metadata: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + additional attributes associated with the evaluation results. + """ + metric_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelCardMetricGroupArgsDict']]]] +elif False: + ModelCardEvaluationDetailArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardEvaluationDetailArgs: def __init__(__self__, *, @@ -5586,6 +7706,15 @@ def metric_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Mode pulumi.set(self, "metric_groups", value) +if not MYPY: + class ModelCardInferenceSpecificationArgsDict(TypedDict): + containers: pulumi.Input[Sequence[pulumi.Input['ModelCardContainerArgsDict']]] + """ + Contains inference related information which were used to create model package. + """ +elif False: + ModelCardInferenceSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardInferenceSpecificationArgs: def __init__(__self__, *, @@ -5608,6 +7737,39 @@ def containers(self, value: pulumi.Input[Sequence[pulumi.Input['ModelCardContain pulumi.set(self, "containers", value) +if not MYPY: + class ModelCardIntendedUsesArgsDict(TypedDict): + """ + Intended usage of model. + """ + explanations_for_risk_rating: NotRequired[pulumi.Input[str]] + """ + An explanation of why your organization categorizes the model with its risk rating. + """ + factors_affecting_model_efficiency: NotRequired[pulumi.Input[str]] + """ + Factors affecting model efficacy. + """ + intended_uses: NotRequired[pulumi.Input[str]] + """ + intended use cases. + """ + purpose_of_model: NotRequired[pulumi.Input[str]] + """ + Why the model was developed? + """ + risk_rating: NotRequired[pulumi.Input['ModelCardRiskRating']] + """ + Your organization's risk rating. You can specify one the following values as the risk rating: + + - High + - Medium + - Low + - Unknown + """ +elif False: + ModelCardIntendedUsesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardIntendedUsesArgs: def __init__(__self__, *, @@ -5706,6 +7868,20 @@ def risk_rating(self, value: Optional[pulumi.Input['ModelCardRiskRating']]): pulumi.set(self, "risk_rating", value) +if not MYPY: + class ModelCardLinearGraphMetricArgsDict(TypedDict): + """ + Linear graph metric. + """ + name: pulumi.Input[str] + type: pulumi.Input['ModelCardLinearGraphMetricType'] + value: pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input[float]]]]] + notes: NotRequired[pulumi.Input[str]] + x_axis_name: NotRequired[pulumi.Input[str]] + y_axis_name: NotRequired[pulumi.Input[str]] +elif False: + ModelCardLinearGraphMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardLinearGraphMetricArgs: def __init__(__self__, *, @@ -5783,6 +7959,17 @@ def y_axis_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "y_axis_name", value) +if not MYPY: + class ModelCardMatrixMetricArgsDict(TypedDict): + name: pulumi.Input[str] + type: pulumi.Input['ModelCardMatrixMetricType'] + value: pulumi.Input[Sequence[pulumi.Input[Sequence[pulumi.Input[float]]]]] + notes: NotRequired[pulumi.Input[str]] + x_axis_name: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + y_axis_name: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + ModelCardMatrixMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardMatrixMetricArgs: def __init__(__self__, *, @@ -5857,6 +8044,16 @@ def y_axis_name(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "y_axis_name", value) +if not MYPY: + class ModelCardMetricGroupArgsDict(TypedDict): + """ + item in metric groups + """ + metric_data: pulumi.Input[Sequence[pulumi.Input[Union['ModelCardSimpleMetricArgsDict', 'ModelCardLinearGraphMetricArgsDict', 'ModelCardBarChartMetricArgsDict', 'ModelCardMatrixMetricArgsDict']]]] + name: pulumi.Input[str] +elif False: + ModelCardMetricGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardMetricGroupArgs: def __init__(__self__, *, @@ -5887,6 +8084,18 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class ModelCardModelOverviewInferenceEnvironmentPropertiesArgsDict(TypedDict): + """ + Overview about the inference. + """ + container_image: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + SageMaker inference image uri. + """ +elif False: + ModelCardModelOverviewInferenceEnvironmentPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardModelOverviewInferenceEnvironmentPropertiesArgs: def __init__(__self__, *, @@ -5911,42 +8120,90 @@ def container_image(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "container_image", value) -@pulumi.input_type -class ModelCardModelOverviewArgs: - def __init__(__self__, *, - algorithm_type: Optional[pulumi.Input[str]] = None, - inference_environment: Optional[pulumi.Input['ModelCardModelOverviewInferenceEnvironmentPropertiesArgs']] = None, - model_artifact: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - model_creator: Optional[pulumi.Input[str]] = None, - model_description: Optional[pulumi.Input[str]] = None, - model_id: Optional[pulumi.Input[str]] = None, - model_name: Optional[pulumi.Input[str]] = None, - model_owner: Optional[pulumi.Input[str]] = None, - model_version: Optional[pulumi.Input[float]] = None, - problem_type: Optional[pulumi.Input[str]] = None): +if not MYPY: + class ModelCardModelOverviewArgsDict(TypedDict): """ Overview about the model. - :param pulumi.Input[str] algorithm_type: Algorithm used to solve the problem. - :param pulumi.Input['ModelCardModelOverviewInferenceEnvironmentPropertiesArgs'] inference_environment: Overview about the inference. - :param pulumi.Input[Sequence[pulumi.Input[str]]] model_artifact: Location of the model artifact. - :param pulumi.Input[str] model_creator: Creator of model. - :param pulumi.Input[str] model_description: description of model. - :param pulumi.Input[str] model_id: SageMaker Model Arn or Non SageMaker Model id. - :param pulumi.Input[str] model_name: Name of the model. - :param pulumi.Input[str] model_owner: Owner of model. - :param pulumi.Input[float] model_version: Version of the model. - :param pulumi.Input[str] problem_type: Problem being solved with the model. """ - if algorithm_type is not None: - pulumi.set(__self__, "algorithm_type", algorithm_type) - if inference_environment is not None: - pulumi.set(__self__, "inference_environment", inference_environment) - if model_artifact is not None: - pulumi.set(__self__, "model_artifact", model_artifact) - if model_creator is not None: - pulumi.set(__self__, "model_creator", model_creator) - if model_description is not None: - pulumi.set(__self__, "model_description", model_description) + algorithm_type: NotRequired[pulumi.Input[str]] + """ + Algorithm used to solve the problem. + """ + inference_environment: NotRequired[pulumi.Input['ModelCardModelOverviewInferenceEnvironmentPropertiesArgsDict']] + """ + Overview about the inference. + """ + model_artifact: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Location of the model artifact. + """ + model_creator: NotRequired[pulumi.Input[str]] + """ + Creator of model. + """ + model_description: NotRequired[pulumi.Input[str]] + """ + description of model. + """ + model_id: NotRequired[pulumi.Input[str]] + """ + SageMaker Model Arn or Non SageMaker Model id. + """ + model_name: NotRequired[pulumi.Input[str]] + """ + Name of the model. + """ + model_owner: NotRequired[pulumi.Input[str]] + """ + Owner of model. + """ + model_version: NotRequired[pulumi.Input[float]] + """ + Version of the model. + """ + problem_type: NotRequired[pulumi.Input[str]] + """ + Problem being solved with the model. + """ +elif False: + ModelCardModelOverviewArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ModelCardModelOverviewArgs: + def __init__(__self__, *, + algorithm_type: Optional[pulumi.Input[str]] = None, + inference_environment: Optional[pulumi.Input['ModelCardModelOverviewInferenceEnvironmentPropertiesArgs']] = None, + model_artifact: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + model_creator: Optional[pulumi.Input[str]] = None, + model_description: Optional[pulumi.Input[str]] = None, + model_id: Optional[pulumi.Input[str]] = None, + model_name: Optional[pulumi.Input[str]] = None, + model_owner: Optional[pulumi.Input[str]] = None, + model_version: Optional[pulumi.Input[float]] = None, + problem_type: Optional[pulumi.Input[str]] = None): + """ + Overview about the model. + :param pulumi.Input[str] algorithm_type: Algorithm used to solve the problem. + :param pulumi.Input['ModelCardModelOverviewInferenceEnvironmentPropertiesArgs'] inference_environment: Overview about the inference. + :param pulumi.Input[Sequence[pulumi.Input[str]]] model_artifact: Location of the model artifact. + :param pulumi.Input[str] model_creator: Creator of model. + :param pulumi.Input[str] model_description: description of model. + :param pulumi.Input[str] model_id: SageMaker Model Arn or Non SageMaker Model id. + :param pulumi.Input[str] model_name: Name of the model. + :param pulumi.Input[str] model_owner: Owner of model. + :param pulumi.Input[float] model_version: Version of the model. + :param pulumi.Input[str] problem_type: Problem being solved with the model. + """ + if algorithm_type is not None: + pulumi.set(__self__, "algorithm_type", algorithm_type) + if inference_environment is not None: + pulumi.set(__self__, "inference_environment", inference_environment) + if model_artifact is not None: + pulumi.set(__self__, "model_artifact", model_artifact) + if model_creator is not None: + pulumi.set(__self__, "model_creator", model_creator) + if model_description is not None: + pulumi.set(__self__, "model_description", model_description) if model_id is not None: pulumi.set(__self__, "model_id", model_id) if model_name is not None: @@ -6079,6 +8336,15 @@ def problem_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "problem_type", value) +if not MYPY: + class ModelCardModelPackageCreatorArgsDict(TypedDict): + user_profile_name: NotRequired[pulumi.Input[str]] + """ + The name of the user's profile in Studio + """ +elif False: + ModelCardModelPackageCreatorArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardModelPackageCreatorArgs: def __init__(__self__, *, @@ -6102,6 +8368,66 @@ def user_profile_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_profile_name", value) +if not MYPY: + class ModelCardModelPackageDetailsArgsDict(TypedDict): + """ + Metadata information related to model package version + """ + approval_description: NotRequired[pulumi.Input[str]] + """ + A description provided for the model approval + """ + created_by: NotRequired[pulumi.Input['ModelCardModelPackageCreatorArgsDict']] + """ + Information about the user who created model package. + """ + domain: NotRequired[pulumi.Input[str]] + """ + The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing. + """ + inference_specification: NotRequired[pulumi.Input['ModelCardInferenceSpecificationArgsDict']] + """ + Details about inference jobs that can be run with models based on this model package. + """ + model_approval_status: NotRequired[pulumi.Input['ModelCardModelPackageDetailsModelApprovalStatus']] + """ + Current approval status of model package + """ + model_package_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the model package + """ + model_package_description: NotRequired[pulumi.Input[str]] + """ + A brief summary of the model package + """ + model_package_group_name: NotRequired[pulumi.Input[str]] + """ + If the model is a versioned model, the name of the model group that the versioned model belongs to. + """ + model_package_name: NotRequired[pulumi.Input[str]] + """ + Name of the model package + """ + model_package_status: NotRequired[pulumi.Input['ModelCardModelPackageDetailsModelPackageStatus']] + """ + Current status of model package + """ + model_package_version: NotRequired[pulumi.Input[float]] + """ + Version of the model package + """ + source_algorithms: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelCardSourceAlgorithmArgsDict']]]] + """ + A list of algorithms that were used to create a model package. + """ + task: NotRequired[pulumi.Input[str]] + """ + The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification. + """ +elif False: + ModelCardModelPackageDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardModelPackageDetailsArgs: def __init__(__self__, *, @@ -6318,6 +8644,17 @@ def task(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "task", value) +if not MYPY: + class ModelCardObjectiveFunctionFunctionPropertiesArgsDict(TypedDict): + """ + objective function that training job is optimized for. + """ + condition: NotRequired[pulumi.Input[str]] + facet: NotRequired[pulumi.Input[str]] + function: NotRequired[pulumi.Input['ModelCardObjectiveFunctionFunctionPropertiesFunction']] +elif False: + ModelCardObjectiveFunctionFunctionPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardObjectiveFunctionFunctionPropertiesArgs: def __init__(__self__, *, @@ -6362,6 +8699,22 @@ def function(self, value: Optional[pulumi.Input['ModelCardObjectiveFunctionFunct pulumi.set(self, "function", value) +if not MYPY: + class ModelCardObjectiveFunctionArgsDict(TypedDict): + """ + the objective function the model will optimize for. + """ + function: NotRequired[pulumi.Input['ModelCardObjectiveFunctionFunctionPropertiesArgsDict']] + """ + objective function that training job is optimized for. + """ + notes: NotRequired[pulumi.Input[str]] + """ + Notes about the object function, including other considerations for possible objective functions. + """ +elif False: + ModelCardObjectiveFunctionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardObjectiveFunctionArgs: def __init__(__self__, *, @@ -6402,6 +8755,18 @@ def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) +if not MYPY: + class ModelCardSecurityConfigArgsDict(TypedDict): + """ + An optional Key Management Service key to encrypt, decrypt, and re-encrypt model card content for regulated workloads with highly sensitive data. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + A Key Management Service key ID to use for encrypting a model card. + """ +elif False: + ModelCardSecurityConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardSecurityConfigArgs: def __init__(__self__, *, @@ -6428,6 +8793,20 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class ModelCardSimpleMetricArgsDict(TypedDict): + """ + metric data + """ + name: pulumi.Input[str] + type: pulumi.Input['ModelCardSimpleMetricType'] + value: pulumi.Input[Union[float, str, bool]] + notes: NotRequired[pulumi.Input[str]] + x_axis_name: NotRequired[pulumi.Input[str]] + y_axis_name: NotRequired[pulumi.Input[str]] +elif False: + ModelCardSimpleMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardSimpleMetricArgs: def __init__(__self__, *, @@ -6505,6 +8884,19 @@ def y_axis_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "y_axis_name", value) +if not MYPY: + class ModelCardSourceAlgorithmArgsDict(TypedDict): + algorithm_name: pulumi.Input[str] + """ + The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in AWS Marketplace that you are subscribed to. + """ + model_data_url: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 path where the model artifacts, which result from model training, are stored. + """ +elif False: + ModelCardSourceAlgorithmArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardSourceAlgorithmArgs: def __init__(__self__, *, @@ -6543,6 +8935,15 @@ def model_data_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "model_data_url", value) +if not MYPY: + class ModelCardTrainingDetailsTrainingJobDetailsPropertiesTrainingEnvironmentPropertiesArgsDict(TypedDict): + container_image: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + SageMaker training image uri. + """ +elif False: + ModelCardTrainingDetailsTrainingJobDetailsPropertiesTrainingEnvironmentPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardTrainingDetailsTrainingJobDetailsPropertiesTrainingEnvironmentPropertiesArgs: def __init__(__self__, *, @@ -6566,6 +8967,27 @@ def container_image(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "container_image", value) +if not MYPY: + class ModelCardTrainingDetailsTrainingJobDetailsPropertiesArgsDict(TypedDict): + """ + Details about any associated training jobs. + """ + hyper_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelCardTrainingHyperParameterArgsDict']]]] + training_arn: NotRequired[pulumi.Input[str]] + """ + SageMaker Training job arn. + """ + training_datasets: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Location of the model datasets. + """ + training_environment: NotRequired[pulumi.Input['ModelCardTrainingDetailsTrainingJobDetailsPropertiesTrainingEnvironmentPropertiesArgsDict']] + training_metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelCardTrainingMetricArgsDict']]]] + user_provided_hyper_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelCardTrainingHyperParameterArgsDict']]]] + user_provided_training_metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelCardTrainingMetricArgsDict']]]] +elif False: + ModelCardTrainingDetailsTrainingJobDetailsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardTrainingDetailsTrainingJobDetailsPropertiesArgs: def __init__(__self__, *, @@ -6666,6 +9088,26 @@ def user_provided_training_metrics(self, value: Optional[pulumi.Input[Sequence[p pulumi.set(self, "user_provided_training_metrics", value) +if not MYPY: + class ModelCardTrainingDetailsArgsDict(TypedDict): + """ + Overview about the training. + """ + objective_function: NotRequired[pulumi.Input['ModelCardObjectiveFunctionArgsDict']] + """ + The function that is optimized during model training. + """ + training_job_details: NotRequired[pulumi.Input['ModelCardTrainingDetailsTrainingJobDetailsPropertiesArgsDict']] + """ + Details about any associated training jobs. + """ + training_observations: NotRequired[pulumi.Input[str]] + """ + Any observations about training. + """ +elif False: + ModelCardTrainingDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardTrainingDetailsArgs: def __init__(__self__, *, @@ -6722,6 +9164,22 @@ def training_observations(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "training_observations", value) +if not MYPY: + class ModelCardTrainingHyperParameterArgsDict(TypedDict): + """ + training hyper parameter + """ + name: pulumi.Input[str] + """ + The name of the hyper parameter. + """ + value: pulumi.Input[str] + """ + The value specified for the hyper parameter. + """ +elif False: + ModelCardTrainingHyperParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardTrainingHyperParameterArgs: def __init__(__self__, *, @@ -6760,6 +9218,26 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ModelCardTrainingMetricArgsDict(TypedDict): + """ + training metric data. + """ + name: pulumi.Input[str] + """ + The name of the result from the SageMaker training job. + """ + value: pulumi.Input[float] + """ + The value of a result from the SageMaker training job. + """ + notes: NotRequired[pulumi.Input[str]] + """ + Any additional notes describing the result of the training job. + """ +elif False: + ModelCardTrainingMetricArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardTrainingMetricArgs: def __init__(__self__, *, @@ -6814,6 +9292,26 @@ def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) +if not MYPY: + class ModelCardUserContextArgsDict(TypedDict): + """ + Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card. + """ + domain_id: NotRequired[pulumi.Input[str]] + """ + The domain associated with the user. + """ + user_profile_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the user's profile. + """ + user_profile_name: NotRequired[pulumi.Input[str]] + """ + The name of the user's profile. + """ +elif False: + ModelCardUserContextArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelCardUserContextArgs: def __init__(__self__, *, @@ -6870,6 +9368,46 @@ def user_profile_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_profile_name", value) +if not MYPY: + class ModelExplainabilityJobDefinitionBatchTransformInputArgsDict(TypedDict): + """ + The batch transform input for a monitoring job. + """ + data_captured_destination_s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Batch Transform Job captures data. + """ + dataset_format: pulumi.Input['ModelExplainabilityJobDefinitionDatasetFormatArgsDict'] + """ + The dataset format for your batch transform job. + """ + local_path: pulumi.Input[str] + """ + Path to the filesystem where the endpoint data is available to the container. + """ + features_attribute: NotRequired[pulumi.Input[str]] + """ + JSONpath to locate features in JSONlines dataset + """ + inference_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate predicted label(s) + """ + probability_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate probabilities + """ + s3_data_distribution_type: NotRequired[pulumi.Input['ModelExplainabilityJobDefinitionBatchTransformInputS3DataDistributionType']] + """ + Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated + """ + s3_input_mode: NotRequired[pulumi.Input['ModelExplainabilityJobDefinitionBatchTransformInputS3InputMode']] + """ + Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. + """ +elif False: + ModelExplainabilityJobDefinitionBatchTransformInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionBatchTransformInputArgs: def __init__(__self__, *, @@ -7003,6 +9541,30 @@ def s3_input_mode(self, value: Optional[pulumi.Input['ModelExplainabilityJobDefi pulumi.set(self, "s3_input_mode", value) +if not MYPY: + class ModelExplainabilityJobDefinitionClusterConfigArgsDict(TypedDict): + """ + Configuration for the cluster used to run model monitoring jobs. + """ + instance_count: pulumi.Input[int] + """ + The number of ML compute instances to use in the model monitoring job. For distributed processing jobs, specify a value greater than 1. The default value is 1. + """ + instance_type: pulumi.Input[str] + """ + The ML compute instance type for the processing job. + """ + volume_size_in_gb: pulumi.Input[int] + """ + The size of the ML storage volume, in gigabytes, that you want to provision. You must specify sufficient ML storage for your scenario. + """ + volume_kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job. + """ +elif False: + ModelExplainabilityJobDefinitionClusterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionClusterConfigArgs: def __init__(__self__, *, @@ -7072,9 +9634,21 @@ def volume_kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_kms_key_id", value) -@pulumi.input_type -class ModelExplainabilityJobDefinitionConstraintsResourceArgs: - def __init__(__self__, *, +if not MYPY: + class ModelExplainabilityJobDefinitionConstraintsResourceArgsDict(TypedDict): + """ + The baseline constraints resource for a monitoring job. + """ + s3_uri: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 URI for baseline constraint file in Amazon S3 that the current monitoring job should validated against. + """ +elif False: + ModelExplainabilityJobDefinitionConstraintsResourceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ModelExplainabilityJobDefinitionConstraintsResourceArgs: + def __init__(__self__, *, s3_uri: Optional[pulumi.Input[str]] = None): """ The baseline constraints resource for a monitoring job. @@ -7096,6 +9670,18 @@ def s3_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_uri", value) +if not MYPY: + class ModelExplainabilityJobDefinitionCsvArgsDict(TypedDict): + """ + The CSV format + """ + header: NotRequired[pulumi.Input[bool]] + """ + A boolean flag indicating if given CSV has header + """ +elif False: + ModelExplainabilityJobDefinitionCsvArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionCsvArgs: def __init__(__self__, *, @@ -7120,6 +9706,17 @@ def header(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "header", value) +if not MYPY: + class ModelExplainabilityJobDefinitionDatasetFormatArgsDict(TypedDict): + """ + The dataset format of the data to monitor + """ + csv: NotRequired[pulumi.Input['ModelExplainabilityJobDefinitionCsvArgsDict']] + json: NotRequired[pulumi.Input['ModelExplainabilityJobDefinitionJsonArgsDict']] + parquet: NotRequired[pulumi.Input[bool]] +elif False: + ModelExplainabilityJobDefinitionDatasetFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionDatasetFormatArgs: def __init__(__self__, *, @@ -7164,6 +9761,42 @@ def parquet(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "parquet", value) +if not MYPY: + class ModelExplainabilityJobDefinitionEndpointInputArgsDict(TypedDict): + """ + The endpoint for a monitoring job. + """ + endpoint_name: pulumi.Input[str] + """ + An endpoint in customer's account which has enabled `DataCaptureConfig` enabled. + """ + local_path: pulumi.Input[str] + """ + Path to the filesystem where the endpoint data is available to the container. + """ + features_attribute: NotRequired[pulumi.Input[str]] + """ + JSONpath to locate features in JSONlines dataset + """ + inference_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate predicted label(s) + """ + probability_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate probabilities + """ + s3_data_distribution_type: NotRequired[pulumi.Input['ModelExplainabilityJobDefinitionEndpointInputS3DataDistributionType']] + """ + Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated + """ + s3_input_mode: NotRequired[pulumi.Input['ModelExplainabilityJobDefinitionEndpointInputS3InputMode']] + """ + Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. + """ +elif False: + ModelExplainabilityJobDefinitionEndpointInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionEndpointInputArgs: def __init__(__self__, *, @@ -7282,6 +9915,18 @@ def s3_input_mode(self, value: Optional[pulumi.Input['ModelExplainabilityJobDefi pulumi.set(self, "s3_input_mode", value) +if not MYPY: + class ModelExplainabilityJobDefinitionJsonArgsDict(TypedDict): + """ + The Json format + """ + line: NotRequired[pulumi.Input[bool]] + """ + A boolean flag indicating if it is JSON line format + """ +elif False: + ModelExplainabilityJobDefinitionJsonArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionJsonArgs: def __init__(__self__, *, @@ -7306,6 +9951,26 @@ def line(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "line", value) +if not MYPY: + class ModelExplainabilityJobDefinitionModelExplainabilityAppSpecificationArgsDict(TypedDict): + """ + Container image configuration object for the monitoring job. + """ + config_uri: pulumi.Input[str] + """ + The S3 URI to an analysis configuration file + """ + image_uri: pulumi.Input[str] + """ + The container image to be run by the monitoring job. + """ + environment: NotRequired[Any] + """ + Sets the environment variables in the Docker container + """ +elif False: + ModelExplainabilityJobDefinitionModelExplainabilityAppSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionModelExplainabilityAppSpecificationArgs: def __init__(__self__, *, @@ -7360,6 +10025,22 @@ def environment(self, value: Optional[Any]): pulumi.set(self, "environment", value) +if not MYPY: + class ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgsDict(TypedDict): + """ + Baseline configuration used to validate that the data conforms to the specified constraints and statistics. + """ + baselining_job_name: NotRequired[pulumi.Input[str]] + """ + The name of the baseline model explainability job. + """ + constraints_resource: NotRequired[pulumi.Input['ModelExplainabilityJobDefinitionConstraintsResourceArgsDict']] + """ + The constraints resource for a model explainability job. + """ +elif False: + ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionModelExplainabilityBaselineConfigArgs: def __init__(__self__, *, @@ -7400,6 +10081,22 @@ def constraints_resource(self, value: Optional[pulumi.Input['ModelExplainability pulumi.set(self, "constraints_resource", value) +if not MYPY: + class ModelExplainabilityJobDefinitionModelExplainabilityJobInputArgsDict(TypedDict): + """ + The inputs for a monitoring job. + """ + batch_transform_input: NotRequired[pulumi.Input['ModelExplainabilityJobDefinitionBatchTransformInputArgsDict']] + """ + Input object for the batch transform job. + """ + endpoint_input: NotRequired[pulumi.Input['ModelExplainabilityJobDefinitionEndpointInputArgsDict']] + """ + Input object for the endpoint + """ +elif False: + ModelExplainabilityJobDefinitionModelExplainabilityJobInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionModelExplainabilityJobInputArgs: def __init__(__self__, *, @@ -7440,6 +10137,22 @@ def endpoint_input(self, value: Optional[pulumi.Input['ModelExplainabilityJobDef pulumi.set(self, "endpoint_input", value) +if not MYPY: + class ModelExplainabilityJobDefinitionMonitoringOutputConfigArgsDict(TypedDict): + """ + The output configuration for monitoring jobs. + """ + monitoring_outputs: pulumi.Input[Sequence[pulumi.Input['ModelExplainabilityJobDefinitionMonitoringOutputArgsDict']]] + """ + Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. + """ +elif False: + ModelExplainabilityJobDefinitionMonitoringOutputConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionMonitoringOutputConfigArgs: def __init__(__self__, *, @@ -7479,6 +10192,18 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class ModelExplainabilityJobDefinitionMonitoringOutputArgsDict(TypedDict): + """ + The output object for a monitoring job. + """ + s3_output: pulumi.Input['ModelExplainabilityJobDefinitionS3OutputArgsDict'] + """ + The Amazon S3 storage location where the results of a monitoring job are saved. + """ +elif False: + ModelExplainabilityJobDefinitionMonitoringOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionMonitoringOutputArgs: def __init__(__self__, *, @@ -7502,6 +10227,18 @@ def s3_output(self, value: pulumi.Input['ModelExplainabilityJobDefinitionS3Outpu pulumi.set(self, "s3_output", value) +if not MYPY: + class ModelExplainabilityJobDefinitionMonitoringResourcesArgsDict(TypedDict): + """ + Identifies the resources to deploy for a monitoring job. + """ + cluster_config: pulumi.Input['ModelExplainabilityJobDefinitionClusterConfigArgsDict'] + """ + The configuration for the cluster resources used to run the processing job. + """ +elif False: + ModelExplainabilityJobDefinitionMonitoringResourcesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionMonitoringResourcesArgs: def __init__(__self__, *, @@ -7525,6 +10262,26 @@ def cluster_config(self, value: pulumi.Input['ModelExplainabilityJobDefinitionCl pulumi.set(self, "cluster_config", value) +if not MYPY: + class ModelExplainabilityJobDefinitionNetworkConfigArgsDict(TypedDict): + """ + Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs. + """ + enable_inter_container_traffic_encryption: NotRequired[pulumi.Input[bool]] + """ + Whether to encrypt all communications between distributed processing jobs. Choose True to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer. + """ + enable_network_isolation: NotRequired[pulumi.Input[bool]] + """ + Whether to allow inbound and outbound network calls to and from the containers used for the processing job. + """ + vpc_config: NotRequired[pulumi.Input['ModelExplainabilityJobDefinitionVpcConfigArgsDict']] + """ + Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. + """ +elif False: + ModelExplainabilityJobDefinitionNetworkConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionNetworkConfigArgs: def __init__(__self__, *, @@ -7581,6 +10338,26 @@ def vpc_config(self, value: Optional[pulumi.Input['ModelExplainabilityJobDefinit pulumi.set(self, "vpc_config", value) +if not MYPY: + class ModelExplainabilityJobDefinitionS3OutputArgsDict(TypedDict): + """ + Information about where and how to store the results of a monitoring job. + """ + local_path: pulumi.Input[str] + """ + The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. LocalPath is an absolute path for the output data. + """ + s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. + """ + s3_upload_mode: NotRequired[pulumi.Input['ModelExplainabilityJobDefinitionS3OutputS3UploadMode']] + """ + Whether to upload the results of the monitoring job continuously or after the job completes. + """ +elif False: + ModelExplainabilityJobDefinitionS3OutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionS3OutputArgs: def __init__(__self__, *, @@ -7635,6 +10412,18 @@ def s3_upload_mode(self, value: Optional[pulumi.Input['ModelExplainabilityJobDef pulumi.set(self, "s3_upload_mode", value) +if not MYPY: + class ModelExplainabilityJobDefinitionStoppingConditionArgsDict(TypedDict): + """ + Specifies a time limit for how long the monitoring job is allowed to run. + """ + max_runtime_in_seconds: pulumi.Input[int] + """ + The maximum runtime allowed in seconds. + """ +elif False: + ModelExplainabilityJobDefinitionStoppingConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionStoppingConditionArgs: def __init__(__self__, *, @@ -7658,6 +10447,22 @@ def max_runtime_in_seconds(self, value: pulumi.Input[int]): pulumi.set(self, "max_runtime_in_seconds", value) +if not MYPY: + class ModelExplainabilityJobDefinitionVpcConfigArgsDict(TypedDict): + """ + Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field. + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The ID of the subnets in the VPC to which you want to connect to your monitoring jobs. + """ +elif False: + ModelExplainabilityJobDefinitionVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelExplainabilityJobDefinitionVpcConfigArgs: def __init__(__self__, *, @@ -7696,6 +10501,42 @@ def subnets(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "subnets", value) +if not MYPY: + class ModelPackageAdditionalInferenceSpecificationDefinitionArgsDict(TypedDict): + """ + Additional Inference Specification specifies details about inference jobs that can be run with models based on this model package.AdditionalInferenceSpecifications can be added to existing model packages using AdditionalInferenceSpecificationsToAdd. + """ + containers: pulumi.Input[Sequence[pulumi.Input['ModelPackageContainerDefinitionArgsDict']]] + """ + The Amazon ECR registry path of the Docker image that contains the inference code. + """ + name: pulumi.Input[str] + """ + A unique name to identify the additional inference specification. The name must be unique within the list of your additional inference specifications for a particular model package. + """ + description: NotRequired[pulumi.Input[str]] + """ + A description of the additional Inference specification. + """ + supported_content_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The supported MIME types for the input data. + """ + supported_realtime_inference_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the instance types that are used to generate inferences in real-time + """ + supported_response_mime_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The supported MIME types for the output data. + """ + supported_transform_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed. + """ +elif False: + ModelPackageAdditionalInferenceSpecificationDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageAdditionalInferenceSpecificationDefinitionArgs: def __init__(__self__, *, @@ -7814,6 +10655,26 @@ def supported_transform_instance_types(self, value: Optional[pulumi.Input[Sequen pulumi.set(self, "supported_transform_instance_types", value) +if not MYPY: + class ModelPackageBiasArgsDict(TypedDict): + """ + Contains bias metrics for a model. + """ + post_training_report: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + The post-training bias report for a model. + """ + pre_training_report: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + The pre-training bias report for a model. + """ + report: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + The bias report for a model + """ +elif False: + ModelPackageBiasArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageBiasArgs: def __init__(__self__, *, @@ -7870,6 +10731,15 @@ def report(self, value: Optional[pulumi.Input['ModelPackageMetricsSourceArgs']]) pulumi.set(self, "report", value) +if not MYPY: + class ModelPackageContainerDefinitionModelInputPropertiesArgsDict(TypedDict): + data_input_config: pulumi.Input[str] + """ + The input configuration object for the model. + """ +elif False: + ModelPackageContainerDefinitionModelInputPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageContainerDefinitionModelInputPropertiesArgs: def __init__(__self__, *, @@ -7892,6 +10762,45 @@ def data_input_config(self, value: pulumi.Input[str]): pulumi.set(self, "data_input_config", value) +if not MYPY: + class ModelPackageContainerDefinitionArgsDict(TypedDict): + """ + Describes the Docker container for the model package. + """ + image: pulumi.Input[str] + """ + The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored. + """ + container_hostname: NotRequired[pulumi.Input[str]] + """ + The DNS host name for the Docker container. + """ + environment: NotRequired[pulumi.Input['ModelPackageEnvironmentArgsDict']] + framework: NotRequired[pulumi.Input[str]] + """ + The machine learning framework of the model package container image. + """ + framework_version: NotRequired[pulumi.Input[str]] + """ + The framework version of the Model Package Container Image. + """ + image_digest: NotRequired[pulumi.Input[str]] + """ + An MD5 hash of the training algorithm that identifies the Docker image used for training. + """ + model_data_source: NotRequired[pulumi.Input['ModelPackageModelDataSourceArgsDict']] + model_data_url: NotRequired[pulumi.Input[str]] + """ + A structure with Model Input details. + """ + model_input: NotRequired[pulumi.Input['ModelPackageContainerDefinitionModelInputPropertiesArgsDict']] + nearest_model_name: NotRequired[pulumi.Input[str]] + """ + The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model. + """ +elif False: + ModelPackageContainerDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageContainerDefinitionArgs: def __init__(__self__, *, @@ -8047,6 +10956,15 @@ def nearest_model_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "nearest_model_name", value) +if not MYPY: + class ModelPackageCustomerMetadataPropertiesArgsDict(TypedDict): + """ + The metadata properties associated with the model package versions. + """ + pass +elif False: + ModelPackageCustomerMetadataPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageCustomerMetadataPropertiesArgs: def __init__(__self__): @@ -8056,6 +10974,18 @@ def __init__(__self__): pass +if not MYPY: + class ModelPackageDataSourceArgsDict(TypedDict): + """ + Describes the input source of a transform job and the way the transform job consumes it. + """ + s3_data_source: pulumi.Input['ModelPackageS3DataSourceArgsDict'] + """ + The S3 location of the data source that is associated with a channel. + """ +elif False: + ModelPackageDataSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageDataSourceArgs: def __init__(__self__, *, @@ -8079,6 +11009,30 @@ def s3_data_source(self, value: pulumi.Input['ModelPackageS3DataSourceArgs']): pulumi.set(self, "s3_data_source", value) +if not MYPY: + class ModelPackageDriftCheckBaselinesArgsDict(TypedDict): + """ + Represents the drift check baselines that can be used when the model monitor is set using the model package. + """ + bias: NotRequired[pulumi.Input['ModelPackageDriftCheckBiasArgsDict']] + """ + Represents the drift check bias baselines that can be used when the model monitor is set using the model package. + """ + explainability: NotRequired[pulumi.Input['ModelPackageDriftCheckExplainabilityArgsDict']] + """ + Represents the drift check explainability baselines that can be used when the model monitor is set using the model package. + """ + model_data_quality: NotRequired[pulumi.Input['ModelPackageDriftCheckModelDataQualityArgsDict']] + """ + Represents the drift check model data quality baselines that can be used when the model monitor is set using the model package. + """ + model_quality: NotRequired[pulumi.Input['ModelPackageDriftCheckModelQualityArgsDict']] + """ + Represents the drift check model quality baselines that can be used when the model monitor is set using the model package. + """ +elif False: + ModelPackageDriftCheckBaselinesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageDriftCheckBaselinesArgs: def __init__(__self__, *, @@ -8151,16 +11105,36 @@ def model_quality(self, value: Optional[pulumi.Input['ModelPackageDriftCheckMode pulumi.set(self, "model_quality", value) -@pulumi.input_type -class ModelPackageDriftCheckBiasArgs: - def __init__(__self__, *, - config_file: Optional[pulumi.Input['ModelPackageFileSourceArgs']] = None, - post_training_constraints: Optional[pulumi.Input['ModelPackageMetricsSourceArgs']] = None, - pre_training_constraints: Optional[pulumi.Input['ModelPackageMetricsSourceArgs']] = None): +if not MYPY: + class ModelPackageDriftCheckBiasArgsDict(TypedDict): """ Represents the drift check bias baselines that can be used when the model monitor is set using the model package. - :param pulumi.Input['ModelPackageFileSourceArgs'] config_file: The bias config file for a model. - :param pulumi.Input['ModelPackageMetricsSourceArgs'] post_training_constraints: The post-training constraints. + """ + config_file: NotRequired[pulumi.Input['ModelPackageFileSourceArgsDict']] + """ + The bias config file for a model. + """ + post_training_constraints: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + The post-training constraints. + """ + pre_training_constraints: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + The pre-training constraints. + """ +elif False: + ModelPackageDriftCheckBiasArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ModelPackageDriftCheckBiasArgs: + def __init__(__self__, *, + config_file: Optional[pulumi.Input['ModelPackageFileSourceArgs']] = None, + post_training_constraints: Optional[pulumi.Input['ModelPackageMetricsSourceArgs']] = None, + pre_training_constraints: Optional[pulumi.Input['ModelPackageMetricsSourceArgs']] = None): + """ + Represents the drift check bias baselines that can be used when the model monitor is set using the model package. + :param pulumi.Input['ModelPackageFileSourceArgs'] config_file: The bias config file for a model. + :param pulumi.Input['ModelPackageMetricsSourceArgs'] post_training_constraints: The post-training constraints. :param pulumi.Input['ModelPackageMetricsSourceArgs'] pre_training_constraints: The pre-training constraints. """ if config_file is not None: @@ -8207,6 +11181,22 @@ def pre_training_constraints(self, value: Optional[pulumi.Input['ModelPackageMet pulumi.set(self, "pre_training_constraints", value) +if not MYPY: + class ModelPackageDriftCheckExplainabilityArgsDict(TypedDict): + """ + Contains explainability metrics for a model. + """ + config_file: NotRequired[pulumi.Input['ModelPackageFileSourceArgsDict']] + """ + The explainability config file for the model. + """ + constraints: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + The drift check explainability constraints. + """ +elif False: + ModelPackageDriftCheckExplainabilityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageDriftCheckExplainabilityArgs: def __init__(__self__, *, @@ -8247,6 +11237,22 @@ def constraints(self, value: Optional[pulumi.Input['ModelPackageMetricsSourceArg pulumi.set(self, "constraints", value) +if not MYPY: + class ModelPackageDriftCheckModelDataQualityArgsDict(TypedDict): + """ + Represents the drift check data quality baselines that can be used when the model monitor is set using the model package. + """ + constraints: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + The drift check model data quality constraints. + """ + statistics: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + The drift check model data quality statistics. + """ +elif False: + ModelPackageDriftCheckModelDataQualityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageDriftCheckModelDataQualityArgs: def __init__(__self__, *, @@ -8287,6 +11293,22 @@ def statistics(self, value: Optional[pulumi.Input['ModelPackageMetricsSourceArgs pulumi.set(self, "statistics", value) +if not MYPY: + class ModelPackageDriftCheckModelQualityArgsDict(TypedDict): + """ + Represents the drift check model quality baselines that can be used when the model monitor is set using the model package. + """ + constraints: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + The drift check model quality constraints. + """ + statistics: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + The drift check model quality statistics. + """ +elif False: + ModelPackageDriftCheckModelQualityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageDriftCheckModelQualityArgs: def __init__(__self__, *, @@ -8327,6 +11349,15 @@ def statistics(self, value: Optional[pulumi.Input['ModelPackageMetricsSourceArgs pulumi.set(self, "statistics", value) +if not MYPY: + class ModelPackageEnvironmentArgsDict(TypedDict): + """ + Sets the environment variables in the Docker container + """ + pass +elif False: + ModelPackageEnvironmentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageEnvironmentArgs: def __init__(__self__): @@ -8336,6 +11367,18 @@ def __init__(__self__): pass +if not MYPY: + class ModelPackageExplainabilityArgsDict(TypedDict): + """ + Contains explainability metrics for a model. + """ + report: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + The explainability report for a model. + """ +elif False: + ModelPackageExplainabilityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageExplainabilityArgs: def __init__(__self__, *, @@ -8360,6 +11403,26 @@ def report(self, value: Optional[pulumi.Input['ModelPackageMetricsSourceArgs']]) pulumi.set(self, "report", value) +if not MYPY: + class ModelPackageFileSourceArgsDict(TypedDict): + """ + Represents a File Source Object. + """ + s3_uri: pulumi.Input[str] + """ + The Amazon S3 URI for the file source. + """ + content_digest: NotRequired[pulumi.Input[str]] + """ + The digest of the file source. + """ + content_type: NotRequired[pulumi.Input[str]] + """ + The type of content stored in the file source. + """ +elif False: + ModelPackageFileSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageFileSourceArgs: def __init__(__self__, *, @@ -8415,6 +11478,34 @@ def content_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "content_type", value) +if not MYPY: + class ModelPackageInferenceSpecificationArgsDict(TypedDict): + """ + Details about inference jobs that can be run with models based on this model package. + """ + containers: pulumi.Input[Sequence[pulumi.Input['ModelPackageContainerDefinitionArgsDict']]] + """ + The Amazon ECR registry path of the Docker image that contains the inference code. + """ + supported_content_types: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The supported MIME types for the input data. + """ + supported_response_mime_types: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The supported MIME types for the output data. + """ + supported_realtime_inference_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the instance types that are used to generate inferences in real-time + """ + supported_transform_instance_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed. + """ +elif False: + ModelPackageInferenceSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageInferenceSpecificationArgs: def __init__(__self__, *, @@ -8500,6 +11591,30 @@ def supported_transform_instance_types(self, value: Optional[pulumi.Input[Sequen pulumi.set(self, "supported_transform_instance_types", value) +if not MYPY: + class ModelPackageMetadataPropertiesArgsDict(TypedDict): + """ + Metadata properties of the tracking entity, trial, or trial component. + """ + commit_id: NotRequired[pulumi.Input[str]] + """ + The commit ID. + """ + generated_by: NotRequired[pulumi.Input[str]] + """ + The entity this entity was generated by. + """ + project_id: NotRequired[pulumi.Input[str]] + """ + The project ID metadata. + """ + repository: NotRequired[pulumi.Input[str]] + """ + The repository metadata. + """ +elif False: + ModelPackageMetadataPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageMetadataPropertiesArgs: def __init__(__self__, *, @@ -8572,6 +11687,26 @@ def repository(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "repository", value) +if not MYPY: + class ModelPackageMetricsSourceArgsDict(TypedDict): + """ + Represents a Metric Source Object. + """ + content_type: pulumi.Input[str] + """ + The type of content stored in the metric source. + """ + s3_uri: pulumi.Input[str] + """ + The Amazon S3 URI for the metric source. + """ + content_digest: NotRequired[pulumi.Input[str]] + """ + The digest of the metric source. + """ +elif False: + ModelPackageMetricsSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageMetricsSourceArgs: def __init__(__self__, *, @@ -8626,6 +11761,18 @@ def content_digest(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "content_digest", value) +if not MYPY: + class ModelPackageModelAccessConfigArgsDict(TypedDict): + """ + Specifies the access configuration file for the ML model. + """ + accept_eula: pulumi.Input[bool] + """ + Specifies agreement to the model end-user license agreement (EULA). + """ +elif False: + ModelPackageModelAccessConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageModelAccessConfigArgs: def __init__(__self__, *, @@ -8649,6 +11796,22 @@ def accept_eula(self, value: pulumi.Input[bool]): pulumi.set(self, "accept_eula", value) +if not MYPY: + class ModelPackageModelCardArgsDict(TypedDict): + """ + The model card associated with the model package. + """ + model_card_content: pulumi.Input[str] + """ + The content of the model card. + """ + model_card_status: pulumi.Input['ModelPackageModelCardModelCardStatus'] + """ + The approval status of the model card within your organization. + """ +elif False: + ModelPackageModelCardArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageModelCardArgs: def __init__(__self__, *, @@ -8687,6 +11850,22 @@ def model_card_status(self, value: pulumi.Input['ModelPackageModelCardModelCardS pulumi.set(self, "model_card_status", value) +if not MYPY: + class ModelPackageModelDataQualityArgsDict(TypedDict): + """ + Metrics that measure the quality of the input data for a model. + """ + constraints: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + Data quality constraints for a model. + """ + statistics: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + Data quality statistics for a model. + """ +elif False: + ModelPackageModelDataQualityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageModelDataQualityArgs: def __init__(__self__, *, @@ -8727,6 +11906,15 @@ def statistics(self, value: Optional[pulumi.Input['ModelPackageMetricsSourceArgs pulumi.set(self, "statistics", value) +if not MYPY: + class ModelPackageModelDataSourceArgsDict(TypedDict): + """ + Specifies the location of ML model data to deploy during endpoint creation. + """ + s3_data_source: NotRequired[pulumi.Input['ModelPackageS3ModelDataSourceArgsDict']] +elif False: + ModelPackageModelDataSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageModelDataSourceArgs: def __init__(__self__, *, @@ -8747,6 +11935,30 @@ def s3_data_source(self, value: Optional[pulumi.Input['ModelPackageS3ModelDataSo pulumi.set(self, "s3_data_source", value) +if not MYPY: + class ModelPackageModelMetricsArgsDict(TypedDict): + """ + A structure that contains model metrics reports. + """ + bias: NotRequired[pulumi.Input['ModelPackageBiasArgsDict']] + """ + Metrics that measure bias in a model. + """ + explainability: NotRequired[pulumi.Input['ModelPackageExplainabilityArgsDict']] + """ + Metrics that help explain a model. + """ + model_data_quality: NotRequired[pulumi.Input['ModelPackageModelDataQualityArgsDict']] + """ + Metrics that measure the quality of the input data for a model. + """ + model_quality: NotRequired[pulumi.Input['ModelPackageModelQualityArgsDict']] + """ + Metrics that measure the quality of a model. + """ +elif False: + ModelPackageModelMetricsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageModelMetricsArgs: def __init__(__self__, *, @@ -8819,6 +12031,22 @@ def model_quality(self, value: Optional[pulumi.Input['ModelPackageModelQualityAr pulumi.set(self, "model_quality", value) +if not MYPY: + class ModelPackageModelQualityArgsDict(TypedDict): + """ + Metrics that measure the quality of a model. + """ + constraints: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + Model quality constraints. + """ + statistics: NotRequired[pulumi.Input['ModelPackageMetricsSourceArgsDict']] + """ + Model quality statistics. + """ +elif False: + ModelPackageModelQualityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageModelQualityArgs: def __init__(__self__, *, @@ -8859,6 +12087,22 @@ def statistics(self, value: Optional[pulumi.Input['ModelPackageMetricsSourceArgs pulumi.set(self, "statistics", value) +if not MYPY: + class ModelPackageS3DataSourceArgsDict(TypedDict): + """ + Describes the S3 data source. + """ + s3_data_type: pulumi.Input['ModelPackageS3DataSourceS3DataType'] + """ + The S3 Data Source Type + """ + s3_uri: pulumi.Input[str] + """ + Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. + """ +elif False: + ModelPackageS3DataSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageS3DataSourceArgs: def __init__(__self__, *, @@ -8897,6 +12141,27 @@ def s3_uri(self, value: pulumi.Input[str]): pulumi.set(self, "s3_uri", value) +if not MYPY: + class ModelPackageS3ModelDataSourceArgsDict(TypedDict): + """ + Specifies the S3 location of ML model data to deploy. + """ + compression_type: pulumi.Input['ModelPackageS3ModelDataSourceCompressionType'] + """ + Specifies how the ML model data is prepared. + """ + s3_data_type: pulumi.Input['ModelPackageS3ModelDataSourceS3DataType'] + """ + Specifies the type of ML model data to deploy. + """ + s3_uri: pulumi.Input[str] + """ + Specifies the S3 path of ML model data to deploy. + """ + model_access_config: NotRequired[pulumi.Input['ModelPackageModelAccessConfigArgsDict']] +elif False: + ModelPackageS3ModelDataSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageS3ModelDataSourceArgs: def __init__(__self__, *, @@ -8962,6 +12227,18 @@ def model_access_config(self, value: Optional[pulumi.Input['ModelPackageModelAcc pulumi.set(self, "model_access_config", value) +if not MYPY: + class ModelPackageSecurityConfigArgsDict(TypedDict): + """ + An optional AWS Key Management Service key to encrypt, decrypt, and re-encrypt model package information for regulated workloads with highly sensitive data. + """ + kms_key_id: pulumi.Input[str] + """ + The AWS KMS Key ID (KMSKeyId) used for encryption of model package information. + """ +elif False: + ModelPackageSecurityConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageSecurityConfigArgs: def __init__(__self__, *, @@ -8985,6 +12262,18 @@ def kms_key_id(self, value: pulumi.Input[str]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class ModelPackageSourceAlgorithmSpecificationArgsDict(TypedDict): + """ + Details about the algorithm that was used to create the model package. + """ + source_algorithms: pulumi.Input[Sequence[pulumi.Input['ModelPackageSourceAlgorithmArgsDict']]] + """ + A list of algorithms that were used to create a model package. + """ +elif False: + ModelPackageSourceAlgorithmSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageSourceAlgorithmSpecificationArgs: def __init__(__self__, *, @@ -9008,6 +12297,22 @@ def source_algorithms(self, value: pulumi.Input[Sequence[pulumi.Input['ModelPack pulumi.set(self, "source_algorithms", value) +if not MYPY: + class ModelPackageSourceAlgorithmArgsDict(TypedDict): + """ + Specifies an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in AWS Marketplace that you are subscribed to. + """ + algorithm_name: pulumi.Input[str] + """ + The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your Amazon SageMaker account or an algorithm in AWS Marketplace that you are subscribed to. + """ + model_data_url: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). + """ +elif False: + ModelPackageSourceAlgorithmArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageSourceAlgorithmArgs: def __init__(__self__, *, @@ -9047,6 +12352,18 @@ def model_data_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "model_data_url", value) +if not MYPY: + class ModelPackageStatusDetailsArgsDict(TypedDict): + """ + Details about the current status of the model package. + """ + validation_statuses: NotRequired[pulumi.Input[Sequence[pulumi.Input['ModelPackageStatusItemArgsDict']]]] + """ + The validation status of the model package. + """ +elif False: + ModelPackageStatusDetailsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageStatusDetailsArgs: def __init__(__self__, *, @@ -9071,6 +12388,26 @@ def validation_statuses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input pulumi.set(self, "validation_statuses", value) +if not MYPY: + class ModelPackageStatusItemArgsDict(TypedDict): + """ + Represents the overall status of a model package. + """ + name: pulumi.Input[str] + """ + The name of the model package for which the overall status is being reported. + """ + status: pulumi.Input['ModelPackageStatusItemStatus'] + """ + The current status. + """ + failure_reason: NotRequired[pulumi.Input[str]] + """ + If the overall status is Failed, the reason for the failure. + """ +elif False: + ModelPackageStatusItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageStatusItemArgs: def __init__(__self__, *, @@ -9125,6 +12462,30 @@ def failure_reason(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "failure_reason", value) +if not MYPY: + class ModelPackageTransformInputArgsDict(TypedDict): + """ + Describes the input source of a transform job and the way the transform job consumes it. + """ + data_source: pulumi.Input['ModelPackageDataSourceArgsDict'] + """ + Describes the location of the channel data, which is, the S3 location of the input data that the model can consume. + """ + compression_type: NotRequired[pulumi.Input['ModelPackageTransformInputCompressionType']] + """ + If your transform data is compressed, specify the compression type. Amazon SageMaker automatically decompresses the data for the transform job accordingly. The default value is None. + """ + content_type: NotRequired[pulumi.Input[str]] + """ + The multipurpose internet mail extension (MIME) type of the data. Amazon SageMaker uses the MIME type with each http call to transfer data to the transform job. + """ + split_type: NotRequired[pulumi.Input['ModelPackageTransformInputSplitType']] + """ + The method to use to split the transform job's data files into smaller batches. + """ +elif False: + ModelPackageTransformInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageTransformInputArgs: def __init__(__self__, *, @@ -9196,6 +12557,42 @@ def split_type(self, value: Optional[pulumi.Input['ModelPackageTransformInputSpl pulumi.set(self, "split_type", value) +if not MYPY: + class ModelPackageTransformJobDefinitionArgsDict(TypedDict): + """ + Defines the input needed to run a transform job using the inference specification specified in the algorithm. + """ + transform_input: pulumi.Input['ModelPackageTransformInputArgsDict'] + """ + A description of the input source and the way the transform job consumes it. + """ + transform_output: pulumi.Input['ModelPackageTransformOutputArgsDict'] + """ + Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job. + """ + transform_resources: pulumi.Input['ModelPackageTransformResourcesArgsDict'] + """ + Identifies the ML compute instances for the transform job. + """ + batch_strategy: NotRequired[pulumi.Input['ModelPackageTransformJobDefinitionBatchStrategy']] + """ + A string that determines the number of records included in a single mini-batch. + """ + environment: NotRequired[pulumi.Input['ModelPackageEnvironmentArgsDict']] + """ + The environment variables to set in the Docker container. We support up to 16 key and values entries in the map. + """ + max_concurrent_transforms: NotRequired[pulumi.Input[int]] + """ + The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1. + """ + max_payload_in_mb: NotRequired[pulumi.Input[int]] + """ + The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata). + """ +elif False: + ModelPackageTransformJobDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageTransformJobDefinitionArgs: def __init__(__self__, *, @@ -9313,6 +12710,30 @@ def max_payload_in_mb(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "max_payload_in_mb", value) +if not MYPY: + class ModelPackageTransformOutputArgsDict(TypedDict): + """ + Describes the results of a transform job. + """ + s3_output_path: pulumi.Input[str] + """ + The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job. + """ + accept: NotRequired[pulumi.Input[str]] + """ + The MIME type used to specify the output data. Amazon SageMaker uses the MIME type with each http call to transfer data from the transform job. + """ + assemble_with: NotRequired[pulumi.Input['ModelPackageTransformOutputAssembleWith']] + """ + Defines how to assemble the results of the transform job as a single S3 object. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. + """ +elif False: + ModelPackageTransformOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageTransformOutputArgs: def __init__(__self__, *, @@ -9384,6 +12805,26 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class ModelPackageTransformResourcesArgsDict(TypedDict): + """ + Describes the resources, including ML instance types and ML instance count, to use for transform job. + """ + instance_count: pulumi.Input[int] + """ + The number of ML compute instances to use in the transform job. For distributed transform jobs, specify a value greater than 1. The default value is 1. + """ + instance_type: pulumi.Input[str] + """ + The ML compute instance type for the transform job. + """ + volume_kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt model data on the storage volume attached to the ML compute instance(s) that run the batch transform job. + """ +elif False: + ModelPackageTransformResourcesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageTransformResourcesArgs: def __init__(__self__, *, @@ -9438,6 +12879,22 @@ def volume_kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_kms_key_id", value) +if not MYPY: + class ModelPackageValidationProfileArgsDict(TypedDict): + """ + Contains data, such as the inputs and targeted instance types that are used in the process of validating the model package. + """ + profile_name: pulumi.Input[str] + """ + The name of the profile for the model package. + """ + transform_job_definition: pulumi.Input['ModelPackageTransformJobDefinitionArgsDict'] + """ + The `TransformJobDefinition` object that describes the transform job used for the validation of the model package. + """ +elif False: + ModelPackageValidationProfileArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageValidationProfileArgs: def __init__(__self__, *, @@ -9476,6 +12933,22 @@ def transform_job_definition(self, value: pulumi.Input['ModelPackageTransformJob pulumi.set(self, "transform_job_definition", value) +if not MYPY: + class ModelPackageValidationSpecificationArgsDict(TypedDict): + """ + Specifies configurations for one or more transform jobs that Amazon SageMaker runs to test the model package. + """ + validation_profiles: pulumi.Input[Sequence[pulumi.Input['ModelPackageValidationProfileArgsDict']]] + """ + An array of `ModelPackageValidationProfile` objects, each of which specifies a batch transform job that SageMaker runs to validate your model package. + """ + validation_role: pulumi.Input[str] + """ + The IAM roles to be used for the validation of the model package. + """ +elif False: + ModelPackageValidationSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelPackageValidationSpecificationArgs: def __init__(__self__, *, @@ -9514,6 +12987,54 @@ def validation_role(self, value: pulumi.Input[str]): pulumi.set(self, "validation_role", value) +if not MYPY: + class ModelQualityJobDefinitionBatchTransformInputArgsDict(TypedDict): + """ + The batch transform input for a monitoring job. + """ + data_captured_destination_s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Batch Transform Job captures data. + """ + dataset_format: pulumi.Input['ModelQualityJobDefinitionDatasetFormatArgsDict'] + """ + The dataset format for your batch transform job. + """ + local_path: pulumi.Input[str] + """ + Path to the filesystem where the endpoint data is available to the container. + """ + end_time_offset: NotRequired[pulumi.Input[str]] + """ + Monitoring end time offset, e.g. PT0H + """ + inference_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate predicted label(s) + """ + probability_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate probabilities + """ + probability_threshold_attribute: NotRequired[pulumi.Input[float]] + """ + The threshold for the class probability to be evaluated as a positive result. + """ + s3_data_distribution_type: NotRequired[pulumi.Input['ModelQualityJobDefinitionBatchTransformInputS3DataDistributionType']] + """ + Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated + """ + s3_input_mode: NotRequired[pulumi.Input['ModelQualityJobDefinitionBatchTransformInputS3InputMode']] + """ + Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. + """ + start_time_offset: NotRequired[pulumi.Input[str]] + """ + Monitoring start time offset, e.g. -PT1H + """ +elif False: + ModelQualityJobDefinitionBatchTransformInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionBatchTransformInputArgs: def __init__(__self__, *, @@ -9679,6 +13200,30 @@ def start_time_offset(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start_time_offset", value) +if not MYPY: + class ModelQualityJobDefinitionClusterConfigArgsDict(TypedDict): + """ + Configuration for the cluster used to run model monitoring jobs. + """ + instance_count: pulumi.Input[int] + """ + The number of ML compute instances to use in the model monitoring job. For distributed processing jobs, specify a value greater than 1. The default value is 1. + """ + instance_type: pulumi.Input[str] + """ + The ML compute instance type for the processing job. + """ + volume_size_in_gb: pulumi.Input[int] + """ + The size of the ML storage volume, in gigabytes, that you want to provision. You must specify sufficient ML storage for your scenario. + """ + volume_kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job. + """ +elif False: + ModelQualityJobDefinitionClusterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionClusterConfigArgs: def __init__(__self__, *, @@ -9748,6 +13293,18 @@ def volume_kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_kms_key_id", value) +if not MYPY: + class ModelQualityJobDefinitionConstraintsResourceArgsDict(TypedDict): + """ + The baseline constraints resource for a monitoring job. + """ + s3_uri: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 URI for baseline constraint file in Amazon S3 that the current monitoring job should validated against. + """ +elif False: + ModelQualityJobDefinitionConstraintsResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionConstraintsResourceArgs: def __init__(__self__, *, @@ -9772,6 +13329,18 @@ def s3_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_uri", value) +if not MYPY: + class ModelQualityJobDefinitionCsvArgsDict(TypedDict): + """ + The CSV format + """ + header: NotRequired[pulumi.Input[bool]] + """ + A boolean flag indicating if given CSV has header + """ +elif False: + ModelQualityJobDefinitionCsvArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionCsvArgs: def __init__(__self__, *, @@ -9796,6 +13365,17 @@ def header(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "header", value) +if not MYPY: + class ModelQualityJobDefinitionDatasetFormatArgsDict(TypedDict): + """ + The dataset format of the data to monitor + """ + csv: NotRequired[pulumi.Input['ModelQualityJobDefinitionCsvArgsDict']] + json: NotRequired[pulumi.Input['ModelQualityJobDefinitionJsonArgsDict']] + parquet: NotRequired[pulumi.Input[bool]] +elif False: + ModelQualityJobDefinitionDatasetFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionDatasetFormatArgs: def __init__(__self__, *, @@ -9840,6 +13420,50 @@ def parquet(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "parquet", value) +if not MYPY: + class ModelQualityJobDefinitionEndpointInputArgsDict(TypedDict): + """ + The endpoint for a monitoring job. + """ + endpoint_name: pulumi.Input[str] + """ + An endpoint in customer's account which has enabled `DataCaptureConfig` enabled. + """ + local_path: pulumi.Input[str] + """ + Path to the filesystem where the endpoint data is available to the container. + """ + end_time_offset: NotRequired[pulumi.Input[str]] + """ + Monitoring end time offset, e.g. PT0H + """ + inference_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate predicted label(s) + """ + probability_attribute: NotRequired[pulumi.Input[str]] + """ + Index or JSONpath to locate probabilities + """ + probability_threshold_attribute: NotRequired[pulumi.Input[float]] + """ + The threshold for the class probability to be evaluated as a positive result. + """ + s3_data_distribution_type: NotRequired[pulumi.Input['ModelQualityJobDefinitionEndpointInputS3DataDistributionType']] + """ + Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated + """ + s3_input_mode: NotRequired[pulumi.Input['ModelQualityJobDefinitionEndpointInputS3InputMode']] + """ + Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. + """ + start_time_offset: NotRequired[pulumi.Input[str]] + """ + Monitoring start time offset, e.g. -PT1H + """ +elif False: + ModelQualityJobDefinitionEndpointInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionEndpointInputArgs: def __init__(__self__, *, @@ -9990,6 +13614,18 @@ def start_time_offset(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start_time_offset", value) +if not MYPY: + class ModelQualityJobDefinitionJsonArgsDict(TypedDict): + """ + The Json format + """ + line: NotRequired[pulumi.Input[bool]] + """ + A boolean flag indicating if it is JSON line format + """ +elif False: + ModelQualityJobDefinitionJsonArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionJsonArgs: def __init__(__self__, *, @@ -10014,6 +13650,42 @@ def line(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "line", value) +if not MYPY: + class ModelQualityJobDefinitionModelQualityAppSpecificationArgsDict(TypedDict): + """ + Container image configuration object for the monitoring job. + """ + image_uri: pulumi.Input[str] + """ + The container image to be run by the monitoring job. + """ + problem_type: pulumi.Input['ModelQualityJobDefinitionProblemType'] + """ + The machine learning problem type of the model that the monitoring job monitors. + """ + container_arguments: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of arguments for the container used to run the monitoring job. + """ + container_entrypoint: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies the entrypoint for a container used to run the monitoring job. + """ + environment: NotRequired[Any] + """ + Sets the environment variables in the Docker container + """ + post_analytics_processor_source_uri: NotRequired[pulumi.Input[str]] + """ + An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers. + """ + record_preprocessor_source_uri: NotRequired[pulumi.Input[str]] + """ + An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers + """ +elif False: + ModelQualityJobDefinitionModelQualityAppSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionModelQualityAppSpecificationArgs: def __init__(__self__, *, @@ -10132,6 +13804,22 @@ def record_preprocessor_source_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "record_preprocessor_source_uri", value) +if not MYPY: + class ModelQualityJobDefinitionModelQualityBaselineConfigArgsDict(TypedDict): + """ + Baseline configuration used to validate that the data conforms to the specified constraints and statistics. + """ + baselining_job_name: NotRequired[pulumi.Input[str]] + """ + The name of the job that performs baselining for the monitoring job. + """ + constraints_resource: NotRequired[pulumi.Input['ModelQualityJobDefinitionConstraintsResourceArgsDict']] + """ + The constraints resource for a monitoring job. + """ +elif False: + ModelQualityJobDefinitionModelQualityBaselineConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionModelQualityBaselineConfigArgs: def __init__(__self__, *, @@ -10172,6 +13860,26 @@ def constraints_resource(self, value: Optional[pulumi.Input['ModelQualityJobDefi pulumi.set(self, "constraints_resource", value) +if not MYPY: + class ModelQualityJobDefinitionModelQualityJobInputArgsDict(TypedDict): + """ + The inputs for a monitoring job. + """ + ground_truth_s3_input: pulumi.Input['ModelQualityJobDefinitionMonitoringGroundTruthS3InputArgsDict'] + """ + The ground truth label provided for the model. + """ + batch_transform_input: NotRequired[pulumi.Input['ModelQualityJobDefinitionBatchTransformInputArgsDict']] + """ + Input object for the batch transform job. + """ + endpoint_input: NotRequired[pulumi.Input['ModelQualityJobDefinitionEndpointInputArgsDict']] + """ + Input object for the endpoint + """ +elif False: + ModelQualityJobDefinitionModelQualityJobInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionModelQualityJobInputArgs: def __init__(__self__, *, @@ -10227,6 +13935,18 @@ def endpoint_input(self, value: Optional[pulumi.Input['ModelQualityJobDefinition pulumi.set(self, "endpoint_input", value) +if not MYPY: + class ModelQualityJobDefinitionMonitoringGroundTruthS3InputArgsDict(TypedDict): + """ + Ground truth input provided in S3 + """ + s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. + """ +elif False: + ModelQualityJobDefinitionMonitoringGroundTruthS3InputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionMonitoringGroundTruthS3InputArgs: def __init__(__self__, *, @@ -10250,6 +13970,22 @@ def s3_uri(self, value: pulumi.Input[str]): pulumi.set(self, "s3_uri", value) +if not MYPY: + class ModelQualityJobDefinitionMonitoringOutputConfigArgsDict(TypedDict): + """ + The output configuration for monitoring jobs. + """ + monitoring_outputs: pulumi.Input[Sequence[pulumi.Input['ModelQualityJobDefinitionMonitoringOutputArgsDict']]] + """ + Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. + """ +elif False: + ModelQualityJobDefinitionMonitoringOutputConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionMonitoringOutputConfigArgs: def __init__(__self__, *, @@ -10289,6 +14025,18 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class ModelQualityJobDefinitionMonitoringOutputArgsDict(TypedDict): + """ + The output object for a monitoring job. + """ + s3_output: pulumi.Input['ModelQualityJobDefinitionS3OutputArgsDict'] + """ + The Amazon S3 storage location where the results of a monitoring job are saved. + """ +elif False: + ModelQualityJobDefinitionMonitoringOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionMonitoringOutputArgs: def __init__(__self__, *, @@ -10312,6 +14060,18 @@ def s3_output(self, value: pulumi.Input['ModelQualityJobDefinitionS3OutputArgs'] pulumi.set(self, "s3_output", value) +if not MYPY: + class ModelQualityJobDefinitionMonitoringResourcesArgsDict(TypedDict): + """ + Identifies the resources to deploy for a monitoring job. + """ + cluster_config: pulumi.Input['ModelQualityJobDefinitionClusterConfigArgsDict'] + """ + The configuration for the cluster resources used to run the processing job. + """ +elif False: + ModelQualityJobDefinitionMonitoringResourcesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionMonitoringResourcesArgs: def __init__(__self__, *, @@ -10328,12 +14088,32 @@ def cluster_config(self) -> pulumi.Input['ModelQualityJobDefinitionClusterConfig """ The configuration for the cluster resources used to run the processing job. """ - return pulumi.get(self, "cluster_config") - - @cluster_config.setter - def cluster_config(self, value: pulumi.Input['ModelQualityJobDefinitionClusterConfigArgs']): - pulumi.set(self, "cluster_config", value) - + return pulumi.get(self, "cluster_config") + + @cluster_config.setter + def cluster_config(self, value: pulumi.Input['ModelQualityJobDefinitionClusterConfigArgs']): + pulumi.set(self, "cluster_config", value) + + +if not MYPY: + class ModelQualityJobDefinitionNetworkConfigArgsDict(TypedDict): + """ + Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs. + """ + enable_inter_container_traffic_encryption: NotRequired[pulumi.Input[bool]] + """ + Whether to encrypt all communications between distributed processing jobs. Choose True to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer. + """ + enable_network_isolation: NotRequired[pulumi.Input[bool]] + """ + Whether to allow inbound and outbound network calls to and from the containers used for the processing job. + """ + vpc_config: NotRequired[pulumi.Input['ModelQualityJobDefinitionVpcConfigArgsDict']] + """ + Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. + """ +elif False: + ModelQualityJobDefinitionNetworkConfigArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class ModelQualityJobDefinitionNetworkConfigArgs: @@ -10391,6 +14171,26 @@ def vpc_config(self, value: Optional[pulumi.Input['ModelQualityJobDefinitionVpcC pulumi.set(self, "vpc_config", value) +if not MYPY: + class ModelQualityJobDefinitionS3OutputArgsDict(TypedDict): + """ + Information about where and how to store the results of a monitoring job. + """ + local_path: pulumi.Input[str] + """ + The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. LocalPath is an absolute path for the output data. + """ + s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. + """ + s3_upload_mode: NotRequired[pulumi.Input['ModelQualityJobDefinitionS3OutputS3UploadMode']] + """ + Whether to upload the results of the monitoring job continuously or after the job completes. + """ +elif False: + ModelQualityJobDefinitionS3OutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionS3OutputArgs: def __init__(__self__, *, @@ -10445,6 +14245,18 @@ def s3_upload_mode(self, value: Optional[pulumi.Input['ModelQualityJobDefinition pulumi.set(self, "s3_upload_mode", value) +if not MYPY: + class ModelQualityJobDefinitionStoppingConditionArgsDict(TypedDict): + """ + Specifies a time limit for how long the monitoring job is allowed to run. + """ + max_runtime_in_seconds: pulumi.Input[int] + """ + The maximum runtime allowed in seconds. + """ +elif False: + ModelQualityJobDefinitionStoppingConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionStoppingConditionArgs: def __init__(__self__, *, @@ -10468,6 +14280,22 @@ def max_runtime_in_seconds(self, value: pulumi.Input[int]): pulumi.set(self, "max_runtime_in_seconds", value) +if not MYPY: + class ModelQualityJobDefinitionVpcConfigArgsDict(TypedDict): + """ + Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field. + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The ID of the subnets in the VPC to which you want to connect to your monitoring jobs. + """ +elif False: + ModelQualityJobDefinitionVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ModelQualityJobDefinitionVpcConfigArgs: def __init__(__self__, *, @@ -10506,6 +14334,22 @@ def subnets(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "subnets", value) +if not MYPY: + class MonitoringScheduleBaselineConfigArgsDict(TypedDict): + """ + Baseline configuration used to validate that the data conforms to the specified constraints and statistics. + """ + constraints_resource: NotRequired[pulumi.Input['MonitoringScheduleConstraintsResourceArgsDict']] + """ + The Amazon S3 URI for the constraints resource. + """ + statistics_resource: NotRequired[pulumi.Input['MonitoringScheduleStatisticsResourceArgsDict']] + """ + The baseline statistics file in Amazon S3 that the current monitoring job should be validated against. + """ +elif False: + MonitoringScheduleBaselineConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleBaselineConfigArgs: def __init__(__self__, *, @@ -10546,6 +14390,35 @@ def statistics_resource(self, value: Optional[pulumi.Input['MonitoringScheduleSt pulumi.set(self, "statistics_resource", value) +if not MYPY: + class MonitoringScheduleBatchTransformInputArgsDict(TypedDict): + """ + The batch transform input for a monitoring job. + """ + data_captured_destination_s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Batch Transform Job captures data. + """ + dataset_format: pulumi.Input['MonitoringScheduleDatasetFormatArgsDict'] + local_path: pulumi.Input[str] + """ + Path to the filesystem where the endpoint data is available to the container. + """ + exclude_features_attribute: NotRequired[pulumi.Input[str]] + """ + Indexes or names of the features to be excluded from analysis + """ + s3_data_distribution_type: NotRequired[pulumi.Input['MonitoringScheduleBatchTransformInputS3DataDistributionType']] + """ + Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated + """ + s3_input_mode: NotRequired[pulumi.Input['MonitoringScheduleBatchTransformInputS3InputMode']] + """ + Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. + """ +elif False: + MonitoringScheduleBatchTransformInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleBatchTransformInputArgs: def __init__(__self__, *, @@ -10643,6 +14516,30 @@ def s3_input_mode(self, value: Optional[pulumi.Input['MonitoringScheduleBatchTra pulumi.set(self, "s3_input_mode", value) +if not MYPY: + class MonitoringScheduleClusterConfigArgsDict(TypedDict): + """ + Configuration for the cluster used to run model monitoring jobs. + """ + instance_count: pulumi.Input[int] + """ + The number of ML compute instances to use in the model monitoring job. For distributed processing jobs, specify a value greater than 1. The default value is 1. + """ + instance_type: pulumi.Input[str] + """ + The ML compute instance type for the processing job. + """ + volume_size_in_gb: pulumi.Input[int] + """ + The size of the ML storage volume, in gigabytes, that you want to provision. You must specify sufficient ML storage for your scenario. + """ + volume_kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job. + """ +elif False: + MonitoringScheduleClusterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleClusterConfigArgs: def __init__(__self__, *, @@ -10712,6 +14609,30 @@ def volume_kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "volume_kms_key_id", value) +if not MYPY: + class MonitoringScheduleConfigArgsDict(TypedDict): + """ + The configuration object that specifies the monitoring schedule and defines the monitoring job. + """ + monitoring_job_definition: NotRequired[pulumi.Input['MonitoringScheduleMonitoringJobDefinitionArgsDict']] + """ + Defines the monitoring job. + """ + monitoring_job_definition_name: NotRequired[pulumi.Input[str]] + """ + Name of the job definition + """ + monitoring_type: NotRequired[pulumi.Input['MonitoringScheduleMonitoringType']] + """ + The type of the monitoring job definition to schedule. + """ + schedule_config: NotRequired[pulumi.Input['MonitoringScheduleScheduleConfigArgsDict']] + """ + Configures the monitoring schedule. + """ +elif False: + MonitoringScheduleConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleConfigArgs: def __init__(__self__, *, @@ -10784,6 +14705,18 @@ def schedule_config(self, value: Optional[pulumi.Input['MonitoringScheduleSchedu pulumi.set(self, "schedule_config", value) +if not MYPY: + class MonitoringScheduleConstraintsResourceArgsDict(TypedDict): + """ + The baseline constraints resource for a monitoring job. + """ + s3_uri: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 URI for baseline constraint file in Amazon S3 that the current monitoring job should validated against. + """ +elif False: + MonitoringScheduleConstraintsResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleConstraintsResourceArgs: def __init__(__self__, *, @@ -10808,6 +14741,18 @@ def s3_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_uri", value) +if not MYPY: + class MonitoringScheduleCsvArgsDict(TypedDict): + """ + The CSV format + """ + header: NotRequired[pulumi.Input[bool]] + """ + A boolean flag indicating if given CSV has header + """ +elif False: + MonitoringScheduleCsvArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleCsvArgs: def __init__(__self__, *, @@ -10832,6 +14777,17 @@ def header(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "header", value) +if not MYPY: + class MonitoringScheduleDatasetFormatArgsDict(TypedDict): + """ + The dataset format of the data to monitor + """ + csv: NotRequired[pulumi.Input['MonitoringScheduleCsvArgsDict']] + json: NotRequired[pulumi.Input['MonitoringScheduleJsonArgsDict']] + parquet: NotRequired[pulumi.Input[bool]] +elif False: + MonitoringScheduleDatasetFormatArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleDatasetFormatArgs: def __init__(__self__, *, @@ -10876,6 +14832,31 @@ def parquet(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "parquet", value) +if not MYPY: + class MonitoringScheduleEndpointInputArgsDict(TypedDict): + """ + The endpoint for a monitoring job. + """ + endpoint_name: pulumi.Input[str] + local_path: pulumi.Input[str] + """ + Path to the filesystem where the endpoint data is available to the container. + """ + exclude_features_attribute: NotRequired[pulumi.Input[str]] + """ + Indexes or names of the features to be excluded from analysis + """ + s3_data_distribution_type: NotRequired[pulumi.Input['MonitoringScheduleEndpointInputS3DataDistributionType']] + """ + Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated + """ + s3_input_mode: NotRequired[pulumi.Input['MonitoringScheduleEndpointInputS3InputMode']] + """ + Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File. + """ +elif False: + MonitoringScheduleEndpointInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleEndpointInputArgs: def __init__(__self__, *, @@ -10958,6 +14939,18 @@ def s3_input_mode(self, value: Optional[pulumi.Input['MonitoringScheduleEndpoint pulumi.set(self, "s3_input_mode", value) +if not MYPY: + class MonitoringScheduleJsonArgsDict(TypedDict): + """ + The Json format + """ + line: NotRequired[pulumi.Input[bool]] + """ + A boolean flag indicating if it is JSON line format + """ +elif False: + MonitoringScheduleJsonArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleJsonArgs: def __init__(__self__, *, @@ -10982,6 +14975,34 @@ def line(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "line", value) +if not MYPY: + class MonitoringScheduleMonitoringAppSpecificationArgsDict(TypedDict): + """ + Container image configuration object for the monitoring job. + """ + image_uri: pulumi.Input[str] + """ + The container image to be run by the monitoring job. + """ + container_arguments: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of arguments for the container used to run the monitoring job. + """ + container_entrypoint: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies the entrypoint for a container used to run the monitoring job. + """ + post_analytics_processor_source_uri: NotRequired[pulumi.Input[str]] + """ + An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers. + """ + record_preprocessor_source_uri: NotRequired[pulumi.Input[str]] + """ + An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flatted json so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers + """ +elif False: + MonitoringScheduleMonitoringAppSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleMonitoringAppSpecificationArgs: def __init__(__self__, *, @@ -11069,6 +15090,46 @@ def record_preprocessor_source_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "record_preprocessor_source_uri", value) +if not MYPY: + class MonitoringScheduleMonitoringExecutionSummaryArgsDict(TypedDict): + """ + Summary of information about monitoring job + """ + creation_time: pulumi.Input[str] + """ + The time at which the monitoring job was created. + """ + last_modified_time: pulumi.Input[str] + """ + A timestamp that indicates the last time the monitoring job was modified. + """ + monitoring_execution_status: pulumi.Input['MonitoringScheduleMonitoringExecutionSummaryMonitoringExecutionStatus'] + """ + The status of the monitoring job. + """ + monitoring_schedule_name: pulumi.Input[str] + """ + The name of the monitoring schedule. + """ + scheduled_time: pulumi.Input[str] + """ + The time the monitoring job was scheduled. + """ + endpoint_name: NotRequired[pulumi.Input[str]] + """ + The name of the endpoint used to run the monitoring job. + """ + failure_reason: NotRequired[pulumi.Input[str]] + """ + Contains the reason a monitoring job failed, if it failed. + """ + processing_job_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the monitoring job. + """ +elif False: + MonitoringScheduleMonitoringExecutionSummaryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleMonitoringExecutionSummaryArgs: def __init__(__self__, *, @@ -11200,6 +15261,16 @@ def processing_job_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "processing_job_arn", value) +if not MYPY: + class MonitoringScheduleMonitoringInputArgsDict(TypedDict): + """ + The inputs for a monitoring job. + """ + batch_transform_input: NotRequired[pulumi.Input['MonitoringScheduleBatchTransformInputArgsDict']] + endpoint_input: NotRequired[pulumi.Input['MonitoringScheduleEndpointInputArgsDict']] +elif False: + MonitoringScheduleMonitoringInputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleMonitoringInputArgs: def __init__(__self__, *, @@ -11232,6 +15303,50 @@ def endpoint_input(self, value: Optional[pulumi.Input['MonitoringScheduleEndpoin pulumi.set(self, "endpoint_input", value) +if not MYPY: + class MonitoringScheduleMonitoringJobDefinitionArgsDict(TypedDict): + """ + Defines the monitoring job. + """ + monitoring_app_specification: pulumi.Input['MonitoringScheduleMonitoringAppSpecificationArgsDict'] + """ + Configures the monitoring job to run a specified Docker container image. + """ + monitoring_inputs: pulumi.Input[Sequence[pulumi.Input['MonitoringScheduleMonitoringInputArgsDict']]] + """ + The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint. + """ + monitoring_output_config: pulumi.Input['MonitoringScheduleMonitoringOutputConfigArgsDict'] + """ + The array of outputs from the monitoring job to be uploaded to Amazon S3. + """ + monitoring_resources: pulumi.Input['MonitoringScheduleMonitoringResourcesArgsDict'] + """ + Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. In distributed processing, you specify more than one instance. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. + """ + baseline_config: NotRequired[pulumi.Input['MonitoringScheduleBaselineConfigArgsDict']] + """ + Baseline configuration used to validate that the data conforms to the specified constraints and statistics + """ + environment: NotRequired[Any] + """ + Sets the environment variables in the Docker container + """ + network_config: NotRequired[pulumi.Input['MonitoringScheduleNetworkConfigArgsDict']] + """ + Specifies networking options for an monitoring job. + """ + stopping_condition: NotRequired[pulumi.Input['MonitoringScheduleStoppingConditionArgsDict']] + """ + Specifies a time limit for how long the monitoring job is allowed to run. + """ +elif False: + MonitoringScheduleMonitoringJobDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleMonitoringJobDefinitionArgs: def __init__(__self__, *, @@ -11379,6 +15494,22 @@ def stopping_condition(self, value: Optional[pulumi.Input['MonitoringScheduleSto pulumi.set(self, "stopping_condition", value) +if not MYPY: + class MonitoringScheduleMonitoringOutputConfigArgsDict(TypedDict): + """ + The output configuration for monitoring jobs. + """ + monitoring_outputs: pulumi.Input[Sequence[pulumi.Input['MonitoringScheduleMonitoringOutputArgsDict']]] + """ + Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. + """ +elif False: + MonitoringScheduleMonitoringOutputConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleMonitoringOutputConfigArgs: def __init__(__self__, *, @@ -11418,6 +15549,18 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class MonitoringScheduleMonitoringOutputArgsDict(TypedDict): + """ + The output object for a monitoring job. + """ + s3_output: pulumi.Input['MonitoringScheduleS3OutputArgsDict'] + """ + The Amazon S3 storage location where the results of a monitoring job are saved. + """ +elif False: + MonitoringScheduleMonitoringOutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleMonitoringOutputArgs: def __init__(__self__, *, @@ -11441,6 +15584,18 @@ def s3_output(self, value: pulumi.Input['MonitoringScheduleS3OutputArgs']): pulumi.set(self, "s3_output", value) +if not MYPY: + class MonitoringScheduleMonitoringResourcesArgsDict(TypedDict): + """ + Identifies the resources to deploy for a monitoring job. + """ + cluster_config: pulumi.Input['MonitoringScheduleClusterConfigArgsDict'] + """ + The configuration for the cluster resources used to run the processing job. + """ +elif False: + MonitoringScheduleMonitoringResourcesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleMonitoringResourcesArgs: def __init__(__self__, *, @@ -11464,6 +15619,26 @@ def cluster_config(self, value: pulumi.Input['MonitoringScheduleClusterConfigArg pulumi.set(self, "cluster_config", value) +if not MYPY: + class MonitoringScheduleNetworkConfigArgsDict(TypedDict): + """ + Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs. + """ + enable_inter_container_traffic_encryption: NotRequired[pulumi.Input[bool]] + """ + Whether to encrypt all communications between distributed processing jobs. Choose True to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer. + """ + enable_network_isolation: NotRequired[pulumi.Input[bool]] + """ + Whether to allow inbound and outbound network calls to and from the containers used for the processing job. + """ + vpc_config: NotRequired[pulumi.Input['MonitoringScheduleVpcConfigArgsDict']] + """ + Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. For more information, see [Protect Endpoints by Using an Amazon Virtual Private Cloud](https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html) and [Protect Training Jobs by Using an Amazon Virtual Private Cloud](https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html) . + """ +elif False: + MonitoringScheduleNetworkConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleNetworkConfigArgs: def __init__(__self__, *, @@ -11520,6 +15695,26 @@ def vpc_config(self, value: Optional[pulumi.Input['MonitoringScheduleVpcConfigAr pulumi.set(self, "vpc_config", value) +if not MYPY: + class MonitoringScheduleS3OutputArgsDict(TypedDict): + """ + Information about where and how to store the results of a monitoring job. + """ + local_path: pulumi.Input[str] + """ + The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. LocalPath is an absolute path for the output data. + """ + s3_uri: pulumi.Input[str] + """ + A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. + """ + s3_upload_mode: NotRequired[pulumi.Input['MonitoringScheduleS3OutputS3UploadMode']] + """ + Whether to upload the results of the monitoring job continuously or after the job completes. + """ +elif False: + MonitoringScheduleS3OutputArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleS3OutputArgs: def __init__(__self__, *, @@ -11574,6 +15769,26 @@ def s3_upload_mode(self, value: Optional[pulumi.Input['MonitoringScheduleS3Outpu pulumi.set(self, "s3_upload_mode", value) +if not MYPY: + class MonitoringScheduleScheduleConfigArgsDict(TypedDict): + """ + Configuration details about the monitoring schedule. + """ + schedule_expression: pulumi.Input[str] + """ + A cron expression or 'NOW' that describes details about the monitoring schedule. + """ + data_analysis_end_time: NotRequired[pulumi.Input[str]] + """ + Data Analysis end time, e.g. PT0H + """ + data_analysis_start_time: NotRequired[pulumi.Input[str]] + """ + Data Analysis start time, e.g. -PT1H + """ +elif False: + MonitoringScheduleScheduleConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleScheduleConfigArgs: def __init__(__self__, *, @@ -11629,6 +15844,18 @@ def data_analysis_start_time(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "data_analysis_start_time", value) +if not MYPY: + class MonitoringScheduleStatisticsResourceArgsDict(TypedDict): + """ + The baseline statistics resource for a monitoring job. + """ + s3_uri: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 URI for the baseline statistics file in Amazon S3 that the current monitoring job should be validated against. + """ +elif False: + MonitoringScheduleStatisticsResourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleStatisticsResourceArgs: def __init__(__self__, *, @@ -11653,6 +15880,18 @@ def s3_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_uri", value) +if not MYPY: + class MonitoringScheduleStoppingConditionArgsDict(TypedDict): + """ + Specifies a time limit for how long the monitoring job is allowed to run. + """ + max_runtime_in_seconds: pulumi.Input[int] + """ + The maximum runtime allowed in seconds. + """ +elif False: + MonitoringScheduleStoppingConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleStoppingConditionArgs: def __init__(__self__, *, @@ -11676,6 +15915,22 @@ def max_runtime_in_seconds(self, value: pulumi.Input[int]): pulumi.set(self, "max_runtime_in_seconds", value) +if not MYPY: + class MonitoringScheduleVpcConfigArgsDict(TypedDict): + """ + Specifies a VPC that your training jobs and hosted models have access to. Control access to and from your training and model containers by configuring the VPC. + """ + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field. + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The ID of the subnets in the VPC to which you want to connect to your monitoring jobs. + """ +elif False: + MonitoringScheduleVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MonitoringScheduleVpcConfigArgs: def __init__(__self__, *, @@ -11714,6 +15969,32 @@ def subnets(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "subnets", value) +if not MYPY: + class OfflineStoreConfigPropertiesArgsDict(TypedDict): + """ + The configuration of an `OfflineStore` . + """ + s3_storage_config: pulumi.Input['FeatureGroupS3StorageConfigArgsDict'] + """ + The Amazon Simple Storage (Amazon S3) location of `OfflineStore` . + """ + data_catalog_config: NotRequired[pulumi.Input['FeatureGroupDataCatalogConfigArgsDict']] + """ + The meta data of the Glue table that is autogenerated when an `OfflineStore` is created. + """ + disable_glue_table_creation: NotRequired[pulumi.Input[bool]] + """ + Set to `True` to disable the automatic creation of an AWS Glue table when configuring an `OfflineStore` . If set to `False` , Feature Store will name the `OfflineStore` Glue table following [Athena's naming recommendations](https://docs.aws.amazon.com/athena/latest/ug/tables-databases-columns-names.html) . + + The default value is `False` . + """ + table_format: NotRequired[pulumi.Input['FeatureGroupTableFormat']] + """ + Format for the offline store table. Supported formats are Glue (Default) and [Apache Iceberg](https://docs.aws.amazon.com/https://iceberg.apache.org/) . + """ +elif False: + OfflineStoreConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OfflineStoreConfigPropertiesArgs: def __init__(__self__, *, @@ -11789,6 +16070,35 @@ def table_format(self, value: Optional[pulumi.Input['FeatureGroupTableFormat']]) pulumi.set(self, "table_format", value) +if not MYPY: + class OnlineStoreConfigPropertiesArgsDict(TypedDict): + """ + The configuration of an `OnlineStore` . + """ + enable_online_store: NotRequired[pulumi.Input[bool]] + """ + Turn `OnlineStore` off by specifying `False` for the `EnableOnlineStore` flag. Turn `OnlineStore` on by specifying `True` for the `EnableOnlineStore` flag. + + The default value is `False` . + """ + security_config: NotRequired[pulumi.Input['FeatureGroupOnlineStoreSecurityConfigArgsDict']] + """ + Use to specify KMS Key ID ( `KMSKeyId` ) for at-rest encryption of your `OnlineStore` . + """ + storage_type: NotRequired[pulumi.Input['FeatureGroupStorageType']] + """ + Option for different tiers of low latency storage for real-time data retrieval. + + - `Standard` : A managed low latency data store for feature groups. + - `InMemory` : A managed data store for feature groups that supports very low latency retrieval. + """ + ttl_duration: NotRequired[pulumi.Input['FeatureGroupTtlDurationArgsDict']] + """ + Time to live duration, where the record is hard deleted after the expiration time is reached; `ExpiresAt` = `EventTime` + `TtlDuration` . For information on HardDelete, see the [DeleteRecord](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html) API in the Amazon SageMaker API Reference guide. + """ +elif False: + OnlineStoreConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class OnlineStoreConfigPropertiesArgs: def __init__(__self__, *, @@ -11871,6 +16181,18 @@ def ttl_duration(self, value: Optional[pulumi.Input['FeatureGroupTtlDurationArgs pulumi.set(self, "ttl_duration", value) +if not MYPY: + class ParallelismConfigurationPropertiesArgsDict(TypedDict): + """ + The parallelism configuration applied to the pipeline. + """ + max_parallel_execution_steps: pulumi.Input[int] + """ + Maximum parallel execution steps + """ +elif False: + ParallelismConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ParallelismConfigurationPropertiesArgs: def __init__(__self__, *, @@ -11894,6 +16216,18 @@ def max_parallel_execution_steps(self, value: pulumi.Input[int]): pulumi.set(self, "max_parallel_execution_steps", value) +if not MYPY: + class PipelineDefinition0PropertiesArgsDict(TypedDict): + """ + The definition of the pipeline. This can be either a JSON string or an Amazon S3 location. + """ + pipeline_definition_body: pulumi.Input[str] + """ + A specification that defines the pipeline in JSON format. + """ +elif False: + PipelineDefinition0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineDefinition0PropertiesArgs: def __init__(__self__, *, @@ -11917,6 +16251,15 @@ def pipeline_definition_body(self, value: pulumi.Input[str]): pulumi.set(self, "pipeline_definition_body", value) +if not MYPY: + class PipelineDefinition1PropertiesArgsDict(TypedDict): + """ + The definition of the pipeline. This can be either a JSON string or an Amazon S3 location. + """ + pipeline_definition_s3_location: pulumi.Input['PipelineS3LocationArgsDict'] +elif False: + PipelineDefinition1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineDefinition1PropertiesArgs: def __init__(__self__, *, @@ -11936,6 +16279,27 @@ def pipeline_definition_s3_location(self, value: pulumi.Input['PipelineS3Locatio pulumi.set(self, "pipeline_definition_s3_location", value) +if not MYPY: + class PipelineS3LocationArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + The name of the S3 bucket where the PipelineDefinition file is stored. + """ + key: pulumi.Input[str] + """ + The file name of the PipelineDefinition file (Amazon S3 object name). + """ + e_tag: NotRequired[pulumi.Input[str]] + """ + The Amazon S3 ETag (a file checksum) of the PipelineDefinition file. If you don't specify a value, SageMaker skips ETag validation of your PipelineDefinition file. + """ + version: NotRequired[pulumi.Input[str]] + """ + For versioning-enabled buckets, a specific version of the PipelineDefinition file. + """ +elif False: + PipelineS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PipelineS3LocationArgs: def __init__(__self__, *, @@ -12005,6 +16369,22 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class ProjectProvisioningParameterArgsDict(TypedDict): + """ + Information about a parameter used to provision a product. + """ + key: pulumi.Input[str] + """ + The parameter key. + """ + value: pulumi.Input[str] + """ + The parameter value. + """ +elif False: + ProjectProvisioningParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProjectProvisioningParameterArgs: def __init__(__self__, *, @@ -12043,6 +16423,28 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ServiceCatalogProvisionedProductDetailsPropertiesArgsDict(TypedDict): + """ + Provisioned ServiceCatalog Details + """ + provisioned_product_id: NotRequired[pulumi.Input[str]] + """ + The ID of the provisioned product. + """ + provisioned_product_status_message: NotRequired[pulumi.Input[str]] + """ + The current status of the product. + + - `AVAILABLE` - Stable state, ready to perform any operation. The most recent operation succeeded and completed. + - `UNDER_CHANGE` - Transitive state. Operations performed might not have valid results. Wait for an AVAILABLE status before performing operations. + - `TAINTED` - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version. + - `ERROR` - An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack. + - `PLAN_IN_PROGRESS` - Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations. + """ +elif False: + ServiceCatalogProvisionedProductDetailsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceCatalogProvisionedProductDetailsPropertiesArgs: def __init__(__self__, *, @@ -12095,6 +16497,30 @@ def provisioned_product_status_message(self, value: Optional[pulumi.Input[str]]) pulumi.set(self, "provisioned_product_status_message", value) +if not MYPY: + class ServiceCatalogProvisioningDetailsPropertiesArgsDict(TypedDict): + """ + Input ServiceCatalog Provisioning Details + """ + product_id: pulumi.Input[str] + """ + The ID of the product to provision. + """ + path_id: NotRequired[pulumi.Input[str]] + """ + The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. + """ + provisioning_artifact_id: NotRequired[pulumi.Input[str]] + """ + The ID of the provisioning artifact. + """ + provisioning_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ProjectProvisioningParameterArgsDict']]]] + """ + Parameters specified by the administrator that are required for provisioning the product. + """ +elif False: + ServiceCatalogProvisioningDetailsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceCatalogProvisioningDetailsPropertiesArgs: def __init__(__self__, *, @@ -12166,6 +16592,15 @@ def provisioning_parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "provisioning_parameters", value) +if not MYPY: + class SpaceAppLifecycleManagementArgsDict(TypedDict): + idle_settings: NotRequired[pulumi.Input['SpaceIdleSettingsArgsDict']] + """ + Settings related to idle shutdown of Studio applications. + """ +elif False: + SpaceAppLifecycleManagementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceAppLifecycleManagementArgs: def __init__(__self__, *, @@ -12189,6 +16624,22 @@ def idle_settings(self, value: Optional[pulumi.Input['SpaceIdleSettingsArgs']]): pulumi.set(self, "idle_settings", value) +if not MYPY: + class SpaceCodeEditorAppSettingsArgsDict(TypedDict): + """ + The CodeEditor app settings. + """ + app_lifecycle_management: NotRequired[pulumi.Input['SpaceAppLifecycleManagementArgsDict']] + """ + Settings that are used to configure and manage the lifecycle of CodeEditor applications in a space. + """ + default_resource_spec: NotRequired[pulumi.Input['SpaceResourceSpecArgsDict']] + """ + Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on. + """ +elif False: + SpaceCodeEditorAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceCodeEditorAppSettingsArgs: def __init__(__self__, *, @@ -12229,6 +16680,15 @@ def default_resource_spec(self, value: Optional[pulumi.Input['SpaceResourceSpecA pulumi.set(self, "default_resource_spec", value) +if not MYPY: + class SpaceCodeRepositoryArgsDict(TypedDict): + repository_url: pulumi.Input[str] + """ + A CodeRepository (valid URL) to be used within Jupyter's Git extension. + """ +elif False: + SpaceCodeRepositoryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceCodeRepositoryArgs: def __init__(__self__, *, @@ -12251,6 +16711,12 @@ def repository_url(self, value: pulumi.Input[str]): pulumi.set(self, "repository_url", value) +if not MYPY: + class SpaceCustomFileSystemArgsDict(TypedDict): + efs_file_system: NotRequired[pulumi.Input['SpaceEfsFileSystemArgsDict']] +elif False: + SpaceCustomFileSystemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceCustomFileSystemArgs: def __init__(__self__, *, @@ -12268,6 +16734,26 @@ def efs_file_system(self, value: Optional[pulumi.Input['SpaceEfsFileSystemArgs'] pulumi.set(self, "efs_file_system", value) +if not MYPY: + class SpaceCustomImageArgsDict(TypedDict): + """ + A custom SageMaker image. + """ + app_image_config_name: pulumi.Input[str] + """ + The Name of the AppImageConfig. + """ + image_name: pulumi.Input[str] + """ + The name of the CustomImage. Must be unique to your account. + """ + image_version_number: NotRequired[pulumi.Input[int]] + """ + The version number of the CustomImage. + """ +elif False: + SpaceCustomImageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceCustomImageArgs: def __init__(__self__, *, @@ -12322,6 +16808,18 @@ def image_version_number(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "image_version_number", value) +if not MYPY: + class SpaceEbsStorageSettingsArgsDict(TypedDict): + """ + Properties related to the space's Amazon Elastic Block Store volume. + """ + ebs_volume_size_in_gb: pulumi.Input[int] + """ + Size of the Amazon EBS volume in Gb + """ +elif False: + SpaceEbsStorageSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceEbsStorageSettingsArgs: def __init__(__self__, *, @@ -12345,6 +16843,12 @@ def ebs_volume_size_in_gb(self, value: pulumi.Input[int]): pulumi.set(self, "ebs_volume_size_in_gb", value) +if not MYPY: + class SpaceEfsFileSystemArgsDict(TypedDict): + file_system_id: pulumi.Input[str] +elif False: + SpaceEfsFileSystemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceEfsFileSystemArgs: def __init__(__self__, *, @@ -12361,6 +16865,15 @@ def file_system_id(self, value: pulumi.Input[str]): pulumi.set(self, "file_system_id", value) +if not MYPY: + class SpaceIdleSettingsArgsDict(TypedDict): + idle_timeout_in_minutes: NotRequired[pulumi.Input[int]] + """ + The space idle timeout value set in minutes + """ +elif False: + SpaceIdleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceIdleSettingsArgs: def __init__(__self__, *, @@ -12384,6 +16897,26 @@ def idle_timeout_in_minutes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "idle_timeout_in_minutes", value) +if not MYPY: + class SpaceJupyterLabAppSettingsArgsDict(TypedDict): + """ + The JupyterServer app settings. + """ + app_lifecycle_management: NotRequired[pulumi.Input['SpaceAppLifecycleManagementArgsDict']] + """ + Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space. + """ + code_repositories: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpaceCodeRepositoryArgsDict']]]] + """ + A list of CodeRepositories available for use with JupyterLab apps. + """ + default_resource_spec: NotRequired[pulumi.Input['SpaceResourceSpecArgsDict']] + """ + Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on. + """ +elif False: + SpaceJupyterLabAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceJupyterLabAppSettingsArgs: def __init__(__self__, *, @@ -12440,6 +16973,22 @@ def default_resource_spec(self, value: Optional[pulumi.Input['SpaceResourceSpecA pulumi.set(self, "default_resource_spec", value) +if not MYPY: + class SpaceJupyterServerAppSettingsArgsDict(TypedDict): + """ + The JupyterServer app settings. + """ + default_resource_spec: NotRequired[pulumi.Input['SpaceResourceSpecArgsDict']] + """ + The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the `LifecycleConfigArns` parameter, then this parameter is also required. + """ + lifecycle_config_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of LifecycleConfigArns available for use with JupyterServer apps. + """ +elif False: + SpaceJupyterServerAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceJupyterServerAppSettingsArgs: def __init__(__self__, *, @@ -12480,6 +17029,26 @@ def lifecycle_config_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "lifecycle_config_arns", value) +if not MYPY: + class SpaceKernelGatewayAppSettingsArgsDict(TypedDict): + """ + The kernel gateway app settings. + """ + custom_images: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpaceCustomImageArgsDict']]]] + """ + A list of custom SageMaker images that are configured to run as a KernelGateway app. + """ + default_resource_spec: NotRequired[pulumi.Input['SpaceResourceSpecArgsDict']] + """ + The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app. + """ + lifecycle_config_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of LifecycleConfigArns available for use with KernelGateway apps. + """ +elif False: + SpaceKernelGatewayAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceKernelGatewayAppSettingsArgs: def __init__(__self__, *, @@ -12536,6 +17105,15 @@ def lifecycle_config_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "lifecycle_config_arns", value) +if not MYPY: + class SpaceOwnershipSettingsArgsDict(TypedDict): + owner_user_profile_name: pulumi.Input[str] + """ + The user profile who is the owner of the space. + """ +elif False: + SpaceOwnershipSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceOwnershipSettingsArgs: def __init__(__self__, *, @@ -12558,6 +17136,27 @@ def owner_user_profile_name(self, value: pulumi.Input[str]): pulumi.set(self, "owner_user_profile_name", value) +if not MYPY: + class SpaceResourceSpecArgsDict(TypedDict): + instance_type: NotRequired[pulumi.Input['SpaceResourceSpecInstanceType']] + """ + The instance type that the image version runs on. + """ + lifecycle_config_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the Lifecycle Configuration to attach to the Resource. + """ + sage_maker_image_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the SageMaker image that the image version belongs to. + """ + sage_maker_image_version_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the image version created on the instance. + """ +elif False: + SpaceResourceSpecArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceResourceSpecArgs: def __init__(__self__, *, @@ -12629,6 +17228,42 @@ def sage_maker_image_version_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sage_maker_image_version_arn", value) +if not MYPY: + class SpaceSettingsArgsDict(TypedDict): + """ + A collection of settings that apply to spaces of Amazon SageMaker Studio. These settings are specified when the CreateSpace API is called. + """ + app_type: NotRequired[pulumi.Input['SpaceAppType']] + """ + The type of app created within the space. + """ + code_editor_app_settings: NotRequired[pulumi.Input['SpaceCodeEditorAppSettingsArgsDict']] + """ + The CodeEditor app settings. + """ + custom_file_systems: NotRequired[pulumi.Input[Sequence[pulumi.Input['SpaceCustomFileSystemArgsDict']]]] + """ + A file system, created by you, that you assign to a space for an Amazon SageMaker Domain. Permitted users can access this file system in Amazon SageMaker Studio. + """ + jupyter_lab_app_settings: NotRequired[pulumi.Input['SpaceJupyterLabAppSettingsArgsDict']] + """ + The JupyterLab app settings. + """ + jupyter_server_app_settings: NotRequired[pulumi.Input['SpaceJupyterServerAppSettingsArgsDict']] + """ + The Jupyter server's app settings. + """ + kernel_gateway_app_settings: NotRequired[pulumi.Input['SpaceKernelGatewayAppSettingsArgsDict']] + """ + The kernel gateway app settings. + """ + space_storage_settings: NotRequired[pulumi.Input['SpaceStorageSettingsArgsDict']] + """ + Default storage settings for a space. + """ +elif False: + SpaceSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceSettingsArgs: def __init__(__self__, *, @@ -12749,6 +17384,15 @@ def space_storage_settings(self, value: Optional[pulumi.Input['SpaceStorageSetti pulumi.set(self, "space_storage_settings", value) +if not MYPY: + class SpaceSharingSettingsArgsDict(TypedDict): + sharing_type: pulumi.Input['SpaceSharingSettingsSharingType'] + """ + Specifies the sharing type of the space. + """ +elif False: + SpaceSharingSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceSharingSettingsArgs: def __init__(__self__, *, @@ -12771,6 +17415,15 @@ def sharing_type(self, value: pulumi.Input['SpaceSharingSettingsSharingType']): pulumi.set(self, "sharing_type", value) +if not MYPY: + class SpaceStorageSettingsArgsDict(TypedDict): + ebs_storage_settings: NotRequired[pulumi.Input['SpaceEbsStorageSettingsArgsDict']] + """ + A collection of EBS storage settings for a space. + """ +elif False: + SpaceStorageSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SpaceStorageSettingsArgs: def __init__(__self__, *, @@ -12794,6 +17447,15 @@ def ebs_storage_settings(self, value: Optional[pulumi.Input['SpaceEbsStorageSett pulumi.set(self, "ebs_storage_settings", value) +if not MYPY: + class UserProfileAppLifecycleManagementArgsDict(TypedDict): + idle_settings: NotRequired[pulumi.Input['UserProfileIdleSettingsArgsDict']] + """ + Settings related to idle shutdown of Studio applications. + """ +elif False: + UserProfileAppLifecycleManagementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileAppLifecycleManagementArgs: def __init__(__self__, *, @@ -12817,6 +17479,30 @@ def idle_settings(self, value: Optional[pulumi.Input['UserProfileIdleSettingsArg pulumi.set(self, "idle_settings", value) +if not MYPY: + class UserProfileCodeEditorAppSettingsArgsDict(TypedDict): + """ + The CodeEditor app settings. + """ + app_lifecycle_management: NotRequired[pulumi.Input['UserProfileAppLifecycleManagementArgsDict']] + """ + Settings that are used to configure and manage the lifecycle of CodeEditor applications. + """ + custom_images: NotRequired[pulumi.Input[Sequence[pulumi.Input['UserProfileCustomImageArgsDict']]]] + """ + A list of custom images for use for CodeEditor apps. + """ + default_resource_spec: NotRequired[pulumi.Input['UserProfileResourceSpecArgsDict']] + """ + The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the CodeEditor app. + """ + lifecycle_config_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of LifecycleConfigArns available for use with CodeEditor apps. + """ +elif False: + UserProfileCodeEditorAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileCodeEditorAppSettingsArgs: def __init__(__self__, *, @@ -12889,6 +17575,15 @@ def lifecycle_config_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "lifecycle_config_arns", value) +if not MYPY: + class UserProfileCodeRepositoryArgsDict(TypedDict): + repository_url: pulumi.Input[str] + """ + A CodeRepository (valid URL) to be used within Jupyter's Git extension. + """ +elif False: + UserProfileCodeRepositoryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileCodeRepositoryArgs: def __init__(__self__, *, @@ -12911,6 +17606,15 @@ def repository_url(self, value: pulumi.Input[str]): pulumi.set(self, "repository_url", value) +if not MYPY: + class UserProfileCustomFileSystemConfigArgsDict(TypedDict): + efs_file_system_config: NotRequired[pulumi.Input['UserProfileEfsFileSystemConfigArgsDict']] + """ + The settings for a custom Amazon EFS file system. + """ +elif False: + UserProfileCustomFileSystemConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileCustomFileSystemConfigArgs: def __init__(__self__, *, @@ -12934,6 +17638,26 @@ def efs_file_system_config(self, value: Optional[pulumi.Input['UserProfileEfsFil pulumi.set(self, "efs_file_system_config", value) +if not MYPY: + class UserProfileCustomImageArgsDict(TypedDict): + """ + A custom SageMaker image. + """ + app_image_config_name: pulumi.Input[str] + """ + The Name of the AppImageConfig. + """ + image_name: pulumi.Input[str] + """ + The name of the CustomImage. Must be unique to your account. + """ + image_version_number: NotRequired[pulumi.Input[int]] + """ + The version number of the CustomImage. + """ +elif False: + UserProfileCustomImageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileCustomImageArgs: def __init__(__self__, *, @@ -12988,6 +17712,19 @@ def image_version_number(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "image_version_number", value) +if not MYPY: + class UserProfileCustomPosixUserConfigArgsDict(TypedDict): + gid: pulumi.Input[int] + """ + The POSIX group ID. + """ + uid: pulumi.Input[int] + """ + The POSIX user ID. + """ +elif False: + UserProfileCustomPosixUserConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileCustomPosixUserConfigArgs: def __init__(__self__, *, @@ -13025,6 +17762,22 @@ def uid(self, value: pulumi.Input[int]): pulumi.set(self, "uid", value) +if not MYPY: + class UserProfileDefaultEbsStorageSettingsArgsDict(TypedDict): + """ + Properties related to the Amazon Elastic Block Store volume. + """ + default_ebs_volume_size_in_gb: pulumi.Input[int] + """ + Default size of the Amazon EBS volume in Gb + """ + maximum_ebs_volume_size_in_gb: pulumi.Input[int] + """ + Maximum size of the Amazon EBS volume in Gb. Must be greater than or equal to the DefaultEbsVolumeSizeInGb. + """ +elif False: + UserProfileDefaultEbsStorageSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileDefaultEbsStorageSettingsArgs: def __init__(__self__, *, @@ -13063,6 +17816,18 @@ def maximum_ebs_volume_size_in_gb(self, value: pulumi.Input[int]): pulumi.set(self, "maximum_ebs_volume_size_in_gb", value) +if not MYPY: + class UserProfileDefaultSpaceStorageSettingsArgsDict(TypedDict): + """ + Default storage settings for a space. + """ + default_ebs_storage_settings: NotRequired[pulumi.Input['UserProfileDefaultEbsStorageSettingsArgsDict']] + """ + The default EBS storage settings for a space. + """ +elif False: + UserProfileDefaultSpaceStorageSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileDefaultSpaceStorageSettingsArgs: def __init__(__self__, *, @@ -13087,6 +17852,19 @@ def default_ebs_storage_settings(self, value: Optional[pulumi.Input['UserProfile pulumi.set(self, "default_ebs_storage_settings", value) +if not MYPY: + class UserProfileEfsFileSystemConfigArgsDict(TypedDict): + file_system_id: pulumi.Input[str] + """ + The ID of your Amazon EFS file system. + """ + file_system_path: NotRequired[pulumi.Input[str]] + """ + The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted users can access only this directory and below. + """ +elif False: + UserProfileEfsFileSystemConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileEfsFileSystemConfigArgs: def __init__(__self__, *, @@ -13125,6 +17903,27 @@ def file_system_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "file_system_path", value) +if not MYPY: + class UserProfileIdleSettingsArgsDict(TypedDict): + idle_timeout_in_minutes: NotRequired[pulumi.Input[int]] + """ + The time that SageMaker waits after the application becomes idle before shutting it down. + """ + lifecycle_management: NotRequired[pulumi.Input['UserProfileLifecycleManagement']] + """ + Indicates whether idle shutdown is activated for the application type. + """ + max_idle_timeout_in_minutes: NotRequired[pulumi.Input[int]] + """ + The maximum value in minutes that custom idle shutdown can be set to by the user. + """ + min_idle_timeout_in_minutes: NotRequired[pulumi.Input[int]] + """ + The minimum value in minutes that custom idle shutdown can be set to by the user. + """ +elif False: + UserProfileIdleSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileIdleSettingsArgs: def __init__(__self__, *, @@ -13196,6 +17995,34 @@ def min_idle_timeout_in_minutes(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "min_idle_timeout_in_minutes", value) +if not MYPY: + class UserProfileJupyterLabAppSettingsArgsDict(TypedDict): + """ + The JupyterLab app settings. + """ + app_lifecycle_management: NotRequired[pulumi.Input['UserProfileAppLifecycleManagementArgsDict']] + """ + Indicates whether idle shutdown is activated for JupyterLab applications. + """ + code_repositories: NotRequired[pulumi.Input[Sequence[pulumi.Input['UserProfileCodeRepositoryArgsDict']]]] + """ + A list of CodeRepositories available for use with JupyterLab apps. + """ + custom_images: NotRequired[pulumi.Input[Sequence[pulumi.Input['UserProfileCustomImageArgsDict']]]] + """ + A list of custom images available for use for JupyterLab apps + """ + default_resource_spec: NotRequired[pulumi.Input['UserProfileResourceSpecArgsDict']] + """ + The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app. + """ + lifecycle_config_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of LifecycleConfigArns available for use with JupyterLab apps. + """ +elif False: + UserProfileJupyterLabAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileJupyterLabAppSettingsArgs: def __init__(__self__, *, @@ -13284,6 +18111,22 @@ def lifecycle_config_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "lifecycle_config_arns", value) +if not MYPY: + class UserProfileJupyterServerAppSettingsArgsDict(TypedDict): + """ + The JupyterServer app settings. + """ + default_resource_spec: NotRequired[pulumi.Input['UserProfileResourceSpecArgsDict']] + """ + The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. + """ + lifecycle_config_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of LifecycleConfigArns available for use with JupyterServer apps. + """ +elif False: + UserProfileJupyterServerAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileJupyterServerAppSettingsArgs: def __init__(__self__, *, @@ -13324,6 +18167,26 @@ def lifecycle_config_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "lifecycle_config_arns", value) +if not MYPY: + class UserProfileKernelGatewayAppSettingsArgsDict(TypedDict): + """ + The kernel gateway app settings. + """ + custom_images: NotRequired[pulumi.Input[Sequence[pulumi.Input['UserProfileCustomImageArgsDict']]]] + """ + A list of custom SageMaker images that are configured to run as a KernelGateway app. + """ + default_resource_spec: NotRequired[pulumi.Input['UserProfileResourceSpecArgsDict']] + """ + The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app. + """ + lifecycle_config_arns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of LifecycleConfigArns available for use with KernelGateway apps. + """ +elif False: + UserProfileKernelGatewayAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileKernelGatewayAppSettingsArgs: def __init__(__self__, *, @@ -13380,6 +18243,22 @@ def lifecycle_config_arns(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "lifecycle_config_arns", value) +if not MYPY: + class UserProfileRStudioServerProAppSettingsArgsDict(TypedDict): + """ + A collection of settings that configure user interaction with the RStudioServerPro app. + """ + access_status: NotRequired[pulumi.Input['UserProfileRStudioServerProAppSettingsAccessStatus']] + """ + Indicates whether the current user has access to the RStudioServerPro app. + """ + user_group: NotRequired[pulumi.Input['UserProfileRStudioServerProAppSettingsUserGroup']] + """ + The level of permissions that the user has within the RStudioServerPro app. This value defaults to User. The Admin value allows the user access to the RStudio Administrative Dashboard. + """ +elif False: + UserProfileRStudioServerProAppSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileRStudioServerProAppSettingsArgs: def __init__(__self__, *, @@ -13420,6 +18299,27 @@ def user_group(self, value: Optional[pulumi.Input['UserProfileRStudioServerProAp pulumi.set(self, "user_group", value) +if not MYPY: + class UserProfileResourceSpecArgsDict(TypedDict): + instance_type: NotRequired[pulumi.Input['UserProfileResourceSpecInstanceType']] + """ + The instance type that the image version runs on. + """ + lifecycle_config_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the Lifecycle Configuration to attach to the Resource. + """ + sage_maker_image_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the SageMaker image that the image version belongs to. + """ + sage_maker_image_version_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the image version created on the instance. + """ +elif False: + UserProfileResourceSpecArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileResourceSpecArgs: def __init__(__self__, *, @@ -13491,6 +18391,26 @@ def sage_maker_image_version_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sage_maker_image_version_arn", value) +if not MYPY: + class UserProfileSharingSettingsArgsDict(TypedDict): + """ + Specifies options when sharing an Amazon SageMaker Studio notebook. These settings are specified as part of DefaultUserSettings when the CreateDomain API is called, and as part of UserSettings when the CreateUserProfile API is called. + """ + notebook_output_option: NotRequired[pulumi.Input['UserProfileSharingSettingsNotebookOutputOption']] + """ + Whether to include the notebook cell output when sharing the notebook. The default is Disabled. + """ + s3_kms_key_id: NotRequired[pulumi.Input[str]] + """ + When NotebookOutputOption is Allowed, the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket. + """ + s3_output_path: NotRequired[pulumi.Input[str]] + """ + When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared notebook snapshots. + """ +elif False: + UserProfileSharingSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileSharingSettingsArgs: def __init__(__self__, *, @@ -13547,6 +18467,22 @@ def s3_output_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_output_path", value) +if not MYPY: + class UserProfileStudioWebPortalSettingsArgsDict(TypedDict): + """ + Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level. + """ + hidden_app_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['UserProfileAppType']]]] + """ + Applications supported in Studio that are hidden from the Studio left navigation pane. + """ + hidden_ml_tools: NotRequired[pulumi.Input[Sequence[pulumi.Input['UserProfileMlTools']]]] + """ + The machine learning tools that are hidden from the Studio left navigation pane. + """ +elif False: + UserProfileStudioWebPortalSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileStudioWebPortalSettingsArgs: def __init__(__self__, *, @@ -13587,6 +18523,70 @@ def hidden_ml_tools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Us pulumi.set(self, "hidden_ml_tools", value) +if not MYPY: + class UserProfileUserSettingsArgsDict(TypedDict): + """ + A collection of settings that apply to users of Amazon SageMaker Studio. These settings are specified when the CreateUserProfile API is called, and as DefaultUserSettings when the CreateDomain API is called. + """ + code_editor_app_settings: NotRequired[pulumi.Input['UserProfileCodeEditorAppSettingsArgsDict']] + """ + The Code Editor application settings. + """ + custom_file_system_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['UserProfileCustomFileSystemConfigArgsDict']]]] + """ + The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio. + """ + custom_posix_user_config: NotRequired[pulumi.Input['UserProfileCustomPosixUserConfigArgsDict']] + """ + Details about the POSIX identity that is used for file system operations. + """ + default_landing_uri: NotRequired[pulumi.Input[str]] + """ + Defines which Amazon SageMaker application users are directed to by default. + """ + execution_role: NotRequired[pulumi.Input[str]] + """ + The user profile Amazon Resource Name (ARN). + """ + jupyter_lab_app_settings: NotRequired[pulumi.Input['UserProfileJupyterLabAppSettingsArgsDict']] + """ + The settings for the JupyterLab application. + """ + jupyter_server_app_settings: NotRequired[pulumi.Input['UserProfileJupyterServerAppSettingsArgsDict']] + """ + The Jupyter server's app settings. + """ + kernel_gateway_app_settings: NotRequired[pulumi.Input['UserProfileKernelGatewayAppSettingsArgsDict']] + """ + The kernel gateway app settings. + """ + r_studio_server_pro_app_settings: NotRequired[pulumi.Input['UserProfileRStudioServerProAppSettingsArgsDict']] + """ + A collection of settings that configure user interaction with the `RStudioServerPro` app. + """ + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The security groups for the Amazon Virtual Private Cloud (VPC) that Studio uses for communication. + """ + sharing_settings: NotRequired[pulumi.Input['UserProfileSharingSettingsArgsDict']] + """ + The sharing settings. + """ + space_storage_settings: NotRequired[pulumi.Input['UserProfileDefaultSpaceStorageSettingsArgsDict']] + """ + The storage settings for a space. + """ + studio_web_portal: NotRequired[pulumi.Input['UserProfileUserSettingsStudioWebPortal']] + """ + Indicates whether the Studio experience is available to users. If not, users cannot access Studio. + """ + studio_web_portal_settings: NotRequired[pulumi.Input['UserProfileStudioWebPortalSettingsArgsDict']] + """ + Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level. + """ +elif False: + UserProfileUserSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserProfileUserSettingsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/sagemaker/app.py b/sdk/python/pulumi_aws_native/sagemaker/app.py index d353fe899e..b76202cd15 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/app.py +++ b/sdk/python/pulumi_aws_native/sagemaker/app.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/app_image_config.py b/sdk/python/pulumi_aws_native/sagemaker/app_image_config.py index a306104cbb..7b4d64e1eb 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/app_image_config.py +++ b/sdk/python/pulumi_aws_native/sagemaker/app_image_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/cluster.py b/sdk/python/pulumi_aws_native/sagemaker/cluster.py index 83bc4a08ea..42c543a245 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/cluster.py +++ b/sdk/python/pulumi_aws_native/sagemaker/cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/data_quality_job_definition.py b/sdk/python/pulumi_aws_native/sagemaker/data_quality_job_definition.py index 57dcfe826b..27735fdd47 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/data_quality_job_definition.py +++ b/sdk/python/pulumi_aws_native/sagemaker/data_quality_job_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/device.py b/sdk/python/pulumi_aws_native/sagemaker/device.py index 3935cf5648..1eec14e885 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/device.py +++ b/sdk/python/pulumi_aws_native/sagemaker/device.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/device_fleet.py b/sdk/python/pulumi_aws_native/sagemaker/device_fleet.py index ab2e24cf61..3cb08c0790 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/device_fleet.py +++ b/sdk/python/pulumi_aws_native/sagemaker/device_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/domain.py b/sdk/python/pulumi_aws_native/sagemaker/domain.py index 6c39c51e36..63bd6a18fb 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/domain.py +++ b/sdk/python/pulumi_aws_native/sagemaker/domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/feature_group.py b/sdk/python/pulumi_aws_native/sagemaker/feature_group.py index 6b5094e70e..ef0171c275 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/feature_group.py +++ b/sdk/python/pulumi_aws_native/sagemaker/feature_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_app.py b/sdk/python/pulumi_aws_native/sagemaker/get_app.py index 499cdd1760..7e9f32d933 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_app.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_app.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -66,9 +71,6 @@ def get_app(app_name: Optional[str] = None, return AwaitableGetAppResult( app_arn=pulumi.get(__ret__, 'app_arn')) - - -@_utilities.lift_output_func(get_app) def get_app_output(app_name: Optional[pulumi.Input[str]] = None, app_type: Optional[pulumi.Input['AppType']] = None, domain_id: Optional[pulumi.Input[str]] = None, @@ -83,4 +85,12 @@ def get_app_output(app_name: Optional[pulumi.Input[str]] = None, :param str domain_id: The domain ID. :param str user_profile_name: The user profile name. """ - ... + __args__ = dict() + __args__['appName'] = app_name + __args__['appType'] = app_type + __args__['domainId'] = domain_id + __args__['userProfileName'] = user_profile_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getApp', __args__, opts=opts, typ=GetAppResult) + return __ret__.apply(lambda __response__: GetAppResult( + app_arn=pulumi.get(__response__, 'app_arn'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_app_image_config.py b/sdk/python/pulumi_aws_native/sagemaker/get_app_image_config.py index 05a78ae77d..94fb7b8984 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_app_image_config.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_app_image_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -96,9 +101,6 @@ def get_app_image_config(app_image_config_name: Optional[str] = None, code_editor_app_image_config=pulumi.get(__ret__, 'code_editor_app_image_config'), jupyter_lab_app_image_config=pulumi.get(__ret__, 'jupyter_lab_app_image_config'), kernel_gateway_image_config=pulumi.get(__ret__, 'kernel_gateway_image_config')) - - -@_utilities.lift_output_func(get_app_image_config) def get_app_image_config_output(app_image_config_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppImageConfigResult]: """ @@ -107,4 +109,12 @@ def get_app_image_config_output(app_image_config_name: Optional[pulumi.Input[str :param str app_image_config_name: The Name of the AppImageConfig. """ - ... + __args__ = dict() + __args__['appImageConfigName'] = app_image_config_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getAppImageConfig', __args__, opts=opts, typ=GetAppImageConfigResult) + return __ret__.apply(lambda __response__: GetAppImageConfigResult( + app_image_config_arn=pulumi.get(__response__, 'app_image_config_arn'), + code_editor_app_image_config=pulumi.get(__response__, 'code_editor_app_image_config'), + jupyter_lab_app_image_config=pulumi.get(__response__, 'jupyter_lab_app_image_config'), + kernel_gateway_image_config=pulumi.get(__response__, 'kernel_gateway_image_config'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_cluster.py b/sdk/python/pulumi_aws_native/sagemaker/get_cluster.py index 61b1fa8c7c..008b2f12f7 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_cluster.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_cluster.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_cluster(cluster_arn: Optional[str] = None, instance_groups=pulumi.get(__ret__, 'instance_groups'), node_recovery=pulumi.get(__ret__, 'node_recovery'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_cluster) def get_cluster_output(cluster_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]: """ @@ -148,4 +150,15 @@ def get_cluster_output(cluster_arn: Optional[pulumi.Input[str]] = None, :param str cluster_arn: The Amazon Resource Name (ARN) of the HyperPod Cluster. """ - ... + __args__ = dict() + __args__['clusterArn'] = cluster_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getCluster', __args__, opts=opts, typ=GetClusterResult) + return __ret__.apply(lambda __response__: GetClusterResult( + cluster_arn=pulumi.get(__response__, 'cluster_arn'), + cluster_status=pulumi.get(__response__, 'cluster_status'), + creation_time=pulumi.get(__response__, 'creation_time'), + failure_message=pulumi.get(__response__, 'failure_message'), + instance_groups=pulumi.get(__response__, 'instance_groups'), + node_recovery=pulumi.get(__response__, 'node_recovery'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_data_quality_job_definition.py b/sdk/python/pulumi_aws_native/sagemaker/get_data_quality_job_definition.py index 59ffde2c8f..8d46f97f87 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_data_quality_job_definition.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_data_quality_job_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_data_quality_job_definition(job_definition_arn: Optional[str] = None, return AwaitableGetDataQualityJobDefinitionResult( creation_time=pulumi.get(__ret__, 'creation_time'), job_definition_arn=pulumi.get(__ret__, 'job_definition_arn')) - - -@_utilities.lift_output_func(get_data_quality_job_definition) def get_data_quality_job_definition_output(job_definition_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataQualityJobDefinitionResult]: """ @@ -80,4 +82,10 @@ def get_data_quality_job_definition_output(job_definition_arn: Optional[pulumi.I :param str job_definition_arn: The Amazon Resource Name (ARN) of job definition. """ - ... + __args__ = dict() + __args__['jobDefinitionArn'] = job_definition_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getDataQualityJobDefinition', __args__, opts=opts, typ=GetDataQualityJobDefinitionResult) + return __ret__.apply(lambda __response__: GetDataQualityJobDefinitionResult( + creation_time=pulumi.get(__response__, 'creation_time'), + job_definition_arn=pulumi.get(__response__, 'job_definition_arn'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_device_fleet.py b/sdk/python/pulumi_aws_native/sagemaker/get_device_fleet.py index f45c917a31..5e7bfe31c4 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_device_fleet.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_device_fleet.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -97,9 +102,6 @@ def get_device_fleet(device_fleet_name: Optional[str] = None, output_config=pulumi.get(__ret__, 'output_config'), role_arn=pulumi.get(__ret__, 'role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_device_fleet) def get_device_fleet_output(device_fleet_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeviceFleetResult]: """ @@ -108,4 +110,12 @@ def get_device_fleet_output(device_fleet_name: Optional[pulumi.Input[str]] = Non :param str device_fleet_name: The name of the edge device fleet """ - ... + __args__ = dict() + __args__['deviceFleetName'] = device_fleet_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getDeviceFleet', __args__, opts=opts, typ=GetDeviceFleetResult) + return __ret__.apply(lambda __response__: GetDeviceFleetResult( + description=pulumi.get(__response__, 'description'), + output_config=pulumi.get(__response__, 'output_config'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_domain.py b/sdk/python/pulumi_aws_native/sagemaker/get_domain.py index da25917ced..0ef9b5b958 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_domain.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -214,9 +219,6 @@ def get_domain(domain_id: Optional[str] = None, single_sign_on_managed_application_instance_id=pulumi.get(__ret__, 'single_sign_on_managed_application_instance_id'), subnet_ids=pulumi.get(__ret__, 'subnet_ids'), url=pulumi.get(__ret__, 'url')) - - -@_utilities.lift_output_func(get_domain) def get_domain_output(domain_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainResult]: """ @@ -225,4 +227,21 @@ def get_domain_output(domain_id: Optional[pulumi.Input[str]] = None, :param str domain_id: The domain name. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getDomain', __args__, opts=opts, typ=GetDomainResult) + return __ret__.apply(lambda __response__: GetDomainResult( + app_network_access_type=pulumi.get(__response__, 'app_network_access_type'), + app_security_group_management=pulumi.get(__response__, 'app_security_group_management'), + default_space_settings=pulumi.get(__response__, 'default_space_settings'), + default_user_settings=pulumi.get(__response__, 'default_user_settings'), + domain_arn=pulumi.get(__response__, 'domain_arn'), + domain_id=pulumi.get(__response__, 'domain_id'), + domain_settings=pulumi.get(__response__, 'domain_settings'), + home_efs_file_system_id=pulumi.get(__response__, 'home_efs_file_system_id'), + security_group_id_for_domain_boundary=pulumi.get(__response__, 'security_group_id_for_domain_boundary'), + single_sign_on_application_arn=pulumi.get(__response__, 'single_sign_on_application_arn'), + single_sign_on_managed_application_instance_id=pulumi.get(__response__, 'single_sign_on_managed_application_instance_id'), + subnet_ids=pulumi.get(__response__, 'subnet_ids'), + url=pulumi.get(__response__, 'url'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_feature_group.py b/sdk/python/pulumi_aws_native/sagemaker/get_feature_group.py index ee9524f590..723b16fdec 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_feature_group.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_feature_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -112,9 +117,6 @@ def get_feature_group(feature_group_name: Optional[str] = None, feature_group_status=pulumi.get(__ret__, 'feature_group_status'), online_store_config=pulumi.get(__ret__, 'online_store_config'), throughput_config=pulumi.get(__ret__, 'throughput_config')) - - -@_utilities.lift_output_func(get_feature_group) def get_feature_group_output(feature_group_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFeatureGroupResult]: """ @@ -123,4 +125,13 @@ def get_feature_group_output(feature_group_name: Optional[pulumi.Input[str]] = N :param str feature_group_name: The Name of the FeatureGroup. """ - ... + __args__ = dict() + __args__['featureGroupName'] = feature_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getFeatureGroup', __args__, opts=opts, typ=GetFeatureGroupResult) + return __ret__.apply(lambda __response__: GetFeatureGroupResult( + creation_time=pulumi.get(__response__, 'creation_time'), + feature_definitions=pulumi.get(__response__, 'feature_definitions'), + feature_group_status=pulumi.get(__response__, 'feature_group_status'), + online_store_config=pulumi.get(__response__, 'online_store_config'), + throughput_config=pulumi.get(__response__, 'throughput_config'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_image.py b/sdk/python/pulumi_aws_native/sagemaker/get_image.py index 6afd2eb00c..376edb8796 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_image.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_image.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -129,9 +134,6 @@ def get_image(image_arn: Optional[str] = None, image_display_name=pulumi.get(__ret__, 'image_display_name'), image_role_arn=pulumi.get(__ret__, 'image_role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_image) def get_image_output(image_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetImageResult]: """ @@ -146,4 +148,13 @@ def get_image_output(image_arn: Optional[pulumi.Input[str]] = None, *Pattern* : `^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$` """ - ... + __args__ = dict() + __args__['imageArn'] = image_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getImage', __args__, opts=opts, typ=GetImageResult) + return __ret__.apply(lambda __response__: GetImageResult( + image_arn=pulumi.get(__response__, 'image_arn'), + image_description=pulumi.get(__response__, 'image_description'), + image_display_name=pulumi.get(__response__, 'image_display_name'), + image_role_arn=pulumi.get(__response__, 'image_role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_image_version.py b/sdk/python/pulumi_aws_native/sagemaker/get_image_version.py index e4bdd98b04..1bff8f1577 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_image_version.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_image_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -178,9 +183,6 @@ def get_image_version(image_version_arn: Optional[str] = None, release_notes=pulumi.get(__ret__, 'release_notes'), vendor_guidance=pulumi.get(__ret__, 'vendor_guidance'), version=pulumi.get(__ret__, 'version')) - - -@_utilities.lift_output_func(get_image_version) def get_image_version_output(image_version_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetImageVersionResult]: """ @@ -195,4 +197,19 @@ def get_image_version_output(image_version_arn: Optional[pulumi.Input[str]] = No *Pattern* : `^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$` """ - ... + __args__ = dict() + __args__['imageVersionArn'] = image_version_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getImageVersion', __args__, opts=opts, typ=GetImageVersionResult) + return __ret__.apply(lambda __response__: GetImageVersionResult( + container_image=pulumi.get(__response__, 'container_image'), + horovod=pulumi.get(__response__, 'horovod'), + image_arn=pulumi.get(__response__, 'image_arn'), + image_version_arn=pulumi.get(__response__, 'image_version_arn'), + job_type=pulumi.get(__response__, 'job_type'), + ml_framework=pulumi.get(__response__, 'ml_framework'), + processor=pulumi.get(__response__, 'processor'), + programming_lang=pulumi.get(__response__, 'programming_lang'), + release_notes=pulumi.get(__response__, 'release_notes'), + vendor_guidance=pulumi.get(__response__, 'vendor_guidance'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_inference_component.py b/sdk/python/pulumi_aws_native/sagemaker/get_inference_component.py index eb96fbd1e7..c3da0990cf 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_inference_component.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_inference_component.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -190,9 +195,6 @@ def get_inference_component(inference_component_arn: Optional[str] = None, specification=pulumi.get(__ret__, 'specification'), tags=pulumi.get(__ret__, 'tags'), variant_name=pulumi.get(__ret__, 'variant_name')) - - -@_utilities.lift_output_func(get_inference_component) def get_inference_component_output(inference_component_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInferenceComponentResult]: """ @@ -201,4 +203,20 @@ def get_inference_component_output(inference_component_arn: Optional[pulumi.Inpu :param str inference_component_arn: The Amazon Resource Name (ARN) of the inference component. """ - ... + __args__ = dict() + __args__['inferenceComponentArn'] = inference_component_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getInferenceComponent', __args__, opts=opts, typ=GetInferenceComponentResult) + return __ret__.apply(lambda __response__: GetInferenceComponentResult( + creation_time=pulumi.get(__response__, 'creation_time'), + endpoint_arn=pulumi.get(__response__, 'endpoint_arn'), + endpoint_name=pulumi.get(__response__, 'endpoint_name'), + failure_reason=pulumi.get(__response__, 'failure_reason'), + inference_component_arn=pulumi.get(__response__, 'inference_component_arn'), + inference_component_name=pulumi.get(__response__, 'inference_component_name'), + inference_component_status=pulumi.get(__response__, 'inference_component_status'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'), + runtime_config=pulumi.get(__response__, 'runtime_config'), + specification=pulumi.get(__response__, 'specification'), + tags=pulumi.get(__response__, 'tags'), + variant_name=pulumi.get(__response__, 'variant_name'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_inference_experiment.py b/sdk/python/pulumi_aws_native/sagemaker/get_inference_experiment.py index bba53aa2b5..6807658d56 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_inference_experiment.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_inference_experiment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -214,9 +219,6 @@ def get_inference_experiment(name: Optional[str] = None, status=pulumi.get(__ret__, 'status'), status_reason=pulumi.get(__ret__, 'status_reason'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_inference_experiment) def get_inference_experiment_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInferenceExperimentResult]: """ @@ -225,4 +227,21 @@ def get_inference_experiment_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name for the inference experiment. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getInferenceExperiment', __args__, opts=opts, typ=GetInferenceExperimentResult) + return __ret__.apply(lambda __response__: GetInferenceExperimentResult( + arn=pulumi.get(__response__, 'arn'), + creation_time=pulumi.get(__response__, 'creation_time'), + data_storage_config=pulumi.get(__response__, 'data_storage_config'), + description=pulumi.get(__response__, 'description'), + desired_state=pulumi.get(__response__, 'desired_state'), + endpoint_metadata=pulumi.get(__response__, 'endpoint_metadata'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'), + model_variants=pulumi.get(__response__, 'model_variants'), + schedule=pulumi.get(__response__, 'schedule'), + shadow_mode_config=pulumi.get(__response__, 'shadow_mode_config'), + status=pulumi.get(__response__, 'status'), + status_reason=pulumi.get(__response__, 'status_reason'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_mlflow_tracking_server.py b/sdk/python/pulumi_aws_native/sagemaker/get_mlflow_tracking_server.py index a1145a75cd..d9d087c938 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_mlflow_tracking_server.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_mlflow_tracking_server.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -149,9 +154,6 @@ def get_mlflow_tracking_server(tracking_server_name: Optional[str] = None, tracking_server_arn=pulumi.get(__ret__, 'tracking_server_arn'), tracking_server_size=pulumi.get(__ret__, 'tracking_server_size'), weekly_maintenance_window_start=pulumi.get(__ret__, 'weekly_maintenance_window_start')) - - -@_utilities.lift_output_func(get_mlflow_tracking_server) def get_mlflow_tracking_server_output(tracking_server_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMlflowTrackingServerResult]: """ @@ -160,4 +162,16 @@ def get_mlflow_tracking_server_output(tracking_server_name: Optional[pulumi.Inpu :param str tracking_server_name: The name of the MLFlow Tracking Server. """ - ... + __args__ = dict() + __args__['trackingServerName'] = tracking_server_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getMlflowTrackingServer', __args__, opts=opts, typ=GetMlflowTrackingServerResult) + return __ret__.apply(lambda __response__: GetMlflowTrackingServerResult( + artifact_store_uri=pulumi.get(__response__, 'artifact_store_uri'), + automatic_model_registration=pulumi.get(__response__, 'automatic_model_registration'), + mlflow_version=pulumi.get(__response__, 'mlflow_version'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'), + tracking_server_arn=pulumi.get(__response__, 'tracking_server_arn'), + tracking_server_size=pulumi.get(__response__, 'tracking_server_size'), + weekly_maintenance_window_start=pulumi.get(__response__, 'weekly_maintenance_window_start'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_model_bias_job_definition.py b/sdk/python/pulumi_aws_native/sagemaker/get_model_bias_job_definition.py index 48463eb872..54a1111db6 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_model_bias_job_definition.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_model_bias_job_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_model_bias_job_definition(job_definition_arn: Optional[str] = None, return AwaitableGetModelBiasJobDefinitionResult( creation_time=pulumi.get(__ret__, 'creation_time'), job_definition_arn=pulumi.get(__ret__, 'job_definition_arn')) - - -@_utilities.lift_output_func(get_model_bias_job_definition) def get_model_bias_job_definition_output(job_definition_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetModelBiasJobDefinitionResult]: """ @@ -80,4 +82,10 @@ def get_model_bias_job_definition_output(job_definition_arn: Optional[pulumi.Inp :param str job_definition_arn: The Amazon Resource Name (ARN) of job definition. """ - ... + __args__ = dict() + __args__['jobDefinitionArn'] = job_definition_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getModelBiasJobDefinition', __args__, opts=opts, typ=GetModelBiasJobDefinitionResult) + return __ret__.apply(lambda __response__: GetModelBiasJobDefinitionResult( + creation_time=pulumi.get(__response__, 'creation_time'), + job_definition_arn=pulumi.get(__response__, 'job_definition_arn'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_model_card.py b/sdk/python/pulumi_aws_native/sagemaker/get_model_card.py index cb00c9abf8..4406290496 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_model_card.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_model_card.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -176,9 +181,6 @@ def get_model_card(model_card_name: Optional[str] = None, model_card_status=pulumi.get(__ret__, 'model_card_status'), model_card_version=pulumi.get(__ret__, 'model_card_version'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_model_card) def get_model_card_output(model_card_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetModelCardResult]: """ @@ -187,4 +189,18 @@ def get_model_card_output(model_card_name: Optional[pulumi.Input[str]] = None, :param str model_card_name: The unique name of the model card. """ - ... + __args__ = dict() + __args__['modelCardName'] = model_card_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getModelCard', __args__, opts=opts, typ=GetModelCardResult) + return __ret__.apply(lambda __response__: GetModelCardResult( + content=pulumi.get(__response__, 'content'), + created_by=pulumi.get(__response__, 'created_by'), + creation_time=pulumi.get(__response__, 'creation_time'), + last_modified_by=pulumi.get(__response__, 'last_modified_by'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'), + model_card_arn=pulumi.get(__response__, 'model_card_arn'), + model_card_processing_status=pulumi.get(__response__, 'model_card_processing_status'), + model_card_status=pulumi.get(__response__, 'model_card_status'), + model_card_version=pulumi.get(__response__, 'model_card_version'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_model_explainability_job_definition.py b/sdk/python/pulumi_aws_native/sagemaker/get_model_explainability_job_definition.py index de66ceaa0c..d92d53e8f3 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_model_explainability_job_definition.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_model_explainability_job_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_model_explainability_job_definition(job_definition_arn: Optional[str] = return AwaitableGetModelExplainabilityJobDefinitionResult( creation_time=pulumi.get(__ret__, 'creation_time'), job_definition_arn=pulumi.get(__ret__, 'job_definition_arn')) - - -@_utilities.lift_output_func(get_model_explainability_job_definition) def get_model_explainability_job_definition_output(job_definition_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetModelExplainabilityJobDefinitionResult]: """ @@ -80,4 +82,10 @@ def get_model_explainability_job_definition_output(job_definition_arn: Optional[ :param str job_definition_arn: The Amazon Resource Name (ARN) of job definition. """ - ... + __args__ = dict() + __args__['jobDefinitionArn'] = job_definition_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getModelExplainabilityJobDefinition', __args__, opts=opts, typ=GetModelExplainabilityJobDefinitionResult) + return __ret__.apply(lambda __response__: GetModelExplainabilityJobDefinitionResult( + creation_time=pulumi.get(__response__, 'creation_time'), + job_definition_arn=pulumi.get(__response__, 'job_definition_arn'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_model_package.py b/sdk/python/pulumi_aws_native/sagemaker/get_model_package.py index e5919f814e..2a248b5f40 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_model_package.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_model_package.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -264,9 +269,6 @@ def get_model_package(model_package_arn: Optional[str] = None, skip_model_validation=pulumi.get(__ret__, 'skip_model_validation'), source_uri=pulumi.get(__ret__, 'source_uri'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_model_package) def get_model_package_output(model_package_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetModelPackageResult]: """ @@ -275,4 +277,24 @@ def get_model_package_output(model_package_arn: Optional[pulumi.Input[str]] = No :param str model_package_arn: The Amazon Resource Name (ARN) of the model package. """ - ... + __args__ = dict() + __args__['modelPackageArn'] = model_package_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getModelPackage', __args__, opts=opts, typ=GetModelPackageResult) + return __ret__.apply(lambda __response__: GetModelPackageResult( + additional_inference_specifications=pulumi.get(__response__, 'additional_inference_specifications'), + approval_description=pulumi.get(__response__, 'approval_description'), + certify_for_marketplace=pulumi.get(__response__, 'certify_for_marketplace'), + creation_time=pulumi.get(__response__, 'creation_time'), + customer_metadata_properties=pulumi.get(__response__, 'customer_metadata_properties'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'), + model_approval_status=pulumi.get(__response__, 'model_approval_status'), + model_card=pulumi.get(__response__, 'model_card'), + model_package_arn=pulumi.get(__response__, 'model_package_arn'), + model_package_name=pulumi.get(__response__, 'model_package_name'), + model_package_status=pulumi.get(__response__, 'model_package_status'), + model_package_status_details=pulumi.get(__response__, 'model_package_status_details'), + model_package_version=pulumi.get(__response__, 'model_package_version'), + skip_model_validation=pulumi.get(__response__, 'skip_model_validation'), + source_uri=pulumi.get(__response__, 'source_uri'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_model_package_group.py b/sdk/python/pulumi_aws_native/sagemaker/get_model_package_group.py index 11eb8bf2cb..6f01088814 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_model_package_group.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_model_package_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -112,9 +117,6 @@ def get_model_package_group(model_package_group_arn: Optional[str] = None, model_package_group_policy=pulumi.get(__ret__, 'model_package_group_policy'), model_package_group_status=pulumi.get(__ret__, 'model_package_group_status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_model_package_group) def get_model_package_group_output(model_package_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetModelPackageGroupResult]: """ @@ -123,4 +125,13 @@ def get_model_package_group_output(model_package_group_arn: Optional[pulumi.Inpu :param str model_package_group_arn: The Amazon Resource Name (ARN) of the model group. """ - ... + __args__ = dict() + __args__['modelPackageGroupArn'] = model_package_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getModelPackageGroup', __args__, opts=opts, typ=GetModelPackageGroupResult) + return __ret__.apply(lambda __response__: GetModelPackageGroupResult( + creation_time=pulumi.get(__response__, 'creation_time'), + model_package_group_arn=pulumi.get(__response__, 'model_package_group_arn'), + model_package_group_policy=pulumi.get(__response__, 'model_package_group_policy'), + model_package_group_status=pulumi.get(__response__, 'model_package_group_status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_model_quality_job_definition.py b/sdk/python/pulumi_aws_native/sagemaker/get_model_quality_job_definition.py index e0c0c624b6..9b33675128 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_model_quality_job_definition.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_model_quality_job_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_model_quality_job_definition(job_definition_arn: Optional[str] = None, return AwaitableGetModelQualityJobDefinitionResult( creation_time=pulumi.get(__ret__, 'creation_time'), job_definition_arn=pulumi.get(__ret__, 'job_definition_arn')) - - -@_utilities.lift_output_func(get_model_quality_job_definition) def get_model_quality_job_definition_output(job_definition_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetModelQualityJobDefinitionResult]: """ @@ -80,4 +82,10 @@ def get_model_quality_job_definition_output(job_definition_arn: Optional[pulumi. :param str job_definition_arn: The Amazon Resource Name (ARN) of job definition. """ - ... + __args__ = dict() + __args__['jobDefinitionArn'] = job_definition_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getModelQualityJobDefinition', __args__, opts=opts, typ=GetModelQualityJobDefinitionResult) + return __ret__.apply(lambda __response__: GetModelQualityJobDefinitionResult( + creation_time=pulumi.get(__response__, 'creation_time'), + job_definition_arn=pulumi.get(__response__, 'job_definition_arn'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_monitoring_schedule.py b/sdk/python/pulumi_aws_native/sagemaker/get_monitoring_schedule.py index 5c794f9d57..da24dd0d94 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_monitoring_schedule.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_monitoring_schedule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -163,9 +168,6 @@ def get_monitoring_schedule(monitoring_schedule_arn: Optional[str] = None, monitoring_schedule_config=pulumi.get(__ret__, 'monitoring_schedule_config'), monitoring_schedule_status=pulumi.get(__ret__, 'monitoring_schedule_status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_monitoring_schedule) def get_monitoring_schedule_output(monitoring_schedule_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitoringScheduleResult]: """ @@ -174,4 +176,17 @@ def get_monitoring_schedule_output(monitoring_schedule_arn: Optional[pulumi.Inpu :param str monitoring_schedule_arn: The Amazon Resource Name (ARN) of the monitoring schedule. """ - ... + __args__ = dict() + __args__['monitoringScheduleArn'] = monitoring_schedule_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getMonitoringSchedule', __args__, opts=opts, typ=GetMonitoringScheduleResult) + return __ret__.apply(lambda __response__: GetMonitoringScheduleResult( + creation_time=pulumi.get(__response__, 'creation_time'), + endpoint_name=pulumi.get(__response__, 'endpoint_name'), + failure_reason=pulumi.get(__response__, 'failure_reason'), + last_modified_time=pulumi.get(__response__, 'last_modified_time'), + last_monitoring_execution_summary=pulumi.get(__response__, 'last_monitoring_execution_summary'), + monitoring_schedule_arn=pulumi.get(__response__, 'monitoring_schedule_arn'), + monitoring_schedule_config=pulumi.get(__response__, 'monitoring_schedule_config'), + monitoring_schedule_status=pulumi.get(__response__, 'monitoring_schedule_status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_pipeline.py b/sdk/python/pulumi_aws_native/sagemaker/get_pipeline.py index ba4d178fee..7347cba2e1 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_pipeline.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -123,9 +128,6 @@ def get_pipeline(pipeline_name: Optional[str] = None, pipeline_display_name=pulumi.get(__ret__, 'pipeline_display_name'), role_arn=pulumi.get(__ret__, 'role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_pipeline) def get_pipeline_output(pipeline_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPipelineResult]: """ @@ -134,4 +136,14 @@ def get_pipeline_output(pipeline_name: Optional[pulumi.Input[str]] = None, :param str pipeline_name: The name of the Pipeline. """ - ... + __args__ = dict() + __args__['pipelineName'] = pipeline_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getPipeline', __args__, opts=opts, typ=GetPipelineResult) + return __ret__.apply(lambda __response__: GetPipelineResult( + parallelism_configuration=pulumi.get(__response__, 'parallelism_configuration'), + pipeline_definition=pulumi.get(__response__, 'pipeline_definition'), + pipeline_description=pulumi.get(__response__, 'pipeline_description'), + pipeline_display_name=pulumi.get(__response__, 'pipeline_display_name'), + role_arn=pulumi.get(__response__, 'role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_project.py b/sdk/python/pulumi_aws_native/sagemaker/get_project.py index 80d28b8bc4..57b8de04e1 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_project.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -110,9 +115,6 @@ def get_project(project_arn: Optional[str] = None, project_id=pulumi.get(__ret__, 'project_id'), project_status=pulumi.get(__ret__, 'project_status'), service_catalog_provisioned_product_details=pulumi.get(__ret__, 'service_catalog_provisioned_product_details')) - - -@_utilities.lift_output_func(get_project) def get_project_output(project_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]: """ @@ -121,4 +123,13 @@ def get_project_output(project_arn: Optional[pulumi.Input[str]] = None, :param str project_arn: The Amazon Resource Name (ARN) of the project. """ - ... + __args__ = dict() + __args__['projectArn'] = project_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getProject', __args__, opts=opts, typ=GetProjectResult) + return __ret__.apply(lambda __response__: GetProjectResult( + creation_time=pulumi.get(__response__, 'creation_time'), + project_arn=pulumi.get(__response__, 'project_arn'), + project_id=pulumi.get(__response__, 'project_id'), + project_status=pulumi.get(__response__, 'project_status'), + service_catalog_provisioned_product_details=pulumi.get(__response__, 'service_catalog_provisioned_product_details'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_space.py b/sdk/python/pulumi_aws_native/sagemaker/get_space.py index 3bffb6d9c5..ac57220192 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_space.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_space.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -91,9 +96,6 @@ def get_space(domain_id: Optional[str] = None, space_arn=pulumi.get(__ret__, 'space_arn'), space_display_name=pulumi.get(__ret__, 'space_display_name'), url=pulumi.get(__ret__, 'url')) - - -@_utilities.lift_output_func(get_space) def get_space_output(domain_id: Optional[pulumi.Input[str]] = None, space_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSpaceResult]: @@ -104,4 +106,12 @@ def get_space_output(domain_id: Optional[pulumi.Input[str]] = None, :param str domain_id: The ID of the associated Domain. :param str space_name: A name for the Space. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + __args__['spaceName'] = space_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getSpace', __args__, opts=opts, typ=GetSpaceResult) + return __ret__.apply(lambda __response__: GetSpaceResult( + space_arn=pulumi.get(__response__, 'space_arn'), + space_display_name=pulumi.get(__response__, 'space_display_name'), + url=pulumi.get(__response__, 'url'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_studio_lifecycle_config.py b/sdk/python/pulumi_aws_native/sagemaker/get_studio_lifecycle_config.py index 2280b1a6df..142c870643 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_studio_lifecycle_config.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_studio_lifecycle_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_studio_lifecycle_config(studio_lifecycle_config_name: Optional[str] = No return AwaitableGetStudioLifecycleConfigResult( studio_lifecycle_config_arn=pulumi.get(__ret__, 'studio_lifecycle_config_arn')) - - -@_utilities.lift_output_func(get_studio_lifecycle_config) def get_studio_lifecycle_config_output(studio_lifecycle_config_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStudioLifecycleConfigResult]: """ @@ -67,4 +69,9 @@ def get_studio_lifecycle_config_output(studio_lifecycle_config_name: Optional[pu :param str studio_lifecycle_config_name: The name of the Amazon SageMaker Studio Lifecycle Configuration. """ - ... + __args__ = dict() + __args__['studioLifecycleConfigName'] = studio_lifecycle_config_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getStudioLifecycleConfig', __args__, opts=opts, typ=GetStudioLifecycleConfigResult) + return __ret__.apply(lambda __response__: GetStudioLifecycleConfigResult( + studio_lifecycle_config_arn=pulumi.get(__response__, 'studio_lifecycle_config_arn'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/get_user_profile.py b/sdk/python/pulumi_aws_native/sagemaker/get_user_profile.py index 651bb9e95a..9415986196 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/get_user_profile.py +++ b/sdk/python/pulumi_aws_native/sagemaker/get_user_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -74,9 +79,6 @@ def get_user_profile(domain_id: Optional[str] = None, return AwaitableGetUserProfileResult( user_profile_arn=pulumi.get(__ret__, 'user_profile_arn'), user_settings=pulumi.get(__ret__, 'user_settings')) - - -@_utilities.lift_output_func(get_user_profile) def get_user_profile_output(domain_id: Optional[pulumi.Input[str]] = None, user_profile_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserProfileResult]: @@ -87,4 +89,11 @@ def get_user_profile_output(domain_id: Optional[pulumi.Input[str]] = None, :param str domain_id: The ID of the associated Domain. :param str user_profile_name: A name for the UserProfile. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + __args__['userProfileName'] = user_profile_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sagemaker:getUserProfile', __args__, opts=opts, typ=GetUserProfileResult) + return __ret__.apply(lambda __response__: GetUserProfileResult( + user_profile_arn=pulumi.get(__response__, 'user_profile_arn'), + user_settings=pulumi.get(__response__, 'user_settings'))) diff --git a/sdk/python/pulumi_aws_native/sagemaker/image.py b/sdk/python/pulumi_aws_native/sagemaker/image.py index 272535db72..8cf766c194 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/image.py +++ b/sdk/python/pulumi_aws_native/sagemaker/image.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/image_version.py b/sdk/python/pulumi_aws_native/sagemaker/image_version.py index 97e8f68b8d..36ead6644a 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/image_version.py +++ b/sdk/python/pulumi_aws_native/sagemaker/image_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/sagemaker/inference_component.py b/sdk/python/pulumi_aws_native/sagemaker/inference_component.py index 986bfabbfc..2d3c0a4f00 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/inference_component.py +++ b/sdk/python/pulumi_aws_native/sagemaker/inference_component.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/inference_experiment.py b/sdk/python/pulumi_aws_native/sagemaker/inference_experiment.py index a6ab66b883..904f985062 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/inference_experiment.py +++ b/sdk/python/pulumi_aws_native/sagemaker/inference_experiment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/mlflow_tracking_server.py b/sdk/python/pulumi_aws_native/sagemaker/mlflow_tracking_server.py index 9c09dd76a0..8b0d46a9c3 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/mlflow_tracking_server.py +++ b/sdk/python/pulumi_aws_native/sagemaker/mlflow_tracking_server.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/model_bias_job_definition.py b/sdk/python/pulumi_aws_native/sagemaker/model_bias_job_definition.py index 7c4d936ef2..45439695b0 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/model_bias_job_definition.py +++ b/sdk/python/pulumi_aws_native/sagemaker/model_bias_job_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/model_card.py b/sdk/python/pulumi_aws_native/sagemaker/model_card.py index 603209028c..e56c9ffa1f 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/model_card.py +++ b/sdk/python/pulumi_aws_native/sagemaker/model_card.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/model_explainability_job_definition.py b/sdk/python/pulumi_aws_native/sagemaker/model_explainability_job_definition.py index 54f8fde145..a70026f66b 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/model_explainability_job_definition.py +++ b/sdk/python/pulumi_aws_native/sagemaker/model_explainability_job_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/model_package.py b/sdk/python/pulumi_aws_native/sagemaker/model_package.py index 45f00e39b7..561ab2dfcd 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/model_package.py +++ b/sdk/python/pulumi_aws_native/sagemaker/model_package.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/model_package_group.py b/sdk/python/pulumi_aws_native/sagemaker/model_package_group.py index 28aab43e91..438c4707fe 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/model_package_group.py +++ b/sdk/python/pulumi_aws_native/sagemaker/model_package_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/model_quality_job_definition.py b/sdk/python/pulumi_aws_native/sagemaker/model_quality_job_definition.py index 7b7e3b1651..6ceae77d49 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/model_quality_job_definition.py +++ b/sdk/python/pulumi_aws_native/sagemaker/model_quality_job_definition.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/monitoring_schedule.py b/sdk/python/pulumi_aws_native/sagemaker/monitoring_schedule.py index 658b5b6ff5..25ee256b85 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/monitoring_schedule.py +++ b/sdk/python/pulumi_aws_native/sagemaker/monitoring_schedule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/outputs.py b/sdk/python/pulumi_aws_native/sagemaker/outputs.py index 6870fd04a9..1aefd0809b 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/outputs.py +++ b/sdk/python/pulumi_aws_native/sagemaker/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/sagemaker/pipeline.py b/sdk/python/pulumi_aws_native/sagemaker/pipeline.py index 09fee837b1..c6418bfe8a 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/pipeline.py +++ b/sdk/python/pulumi_aws_native/sagemaker/pipeline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/project.py b/sdk/python/pulumi_aws_native/sagemaker/project.py index 265073d6ba..e39c362c30 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/project.py +++ b/sdk/python/pulumi_aws_native/sagemaker/project.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/space.py b/sdk/python/pulumi_aws_native/sagemaker/space.py index da14759a41..48e5146b93 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/space.py +++ b/sdk/python/pulumi_aws_native/sagemaker/space.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/studio_lifecycle_config.py b/sdk/python/pulumi_aws_native/sagemaker/studio_lifecycle_config.py index 8ce09098dd..7efb53e7f3 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/studio_lifecycle_config.py +++ b/sdk/python/pulumi_aws_native/sagemaker/studio_lifecycle_config.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/sagemaker/user_profile.py b/sdk/python/pulumi_aws_native/sagemaker/user_profile.py index a4a07641a6..482a7b58e2 100644 --- a/sdk/python/pulumi_aws_native/sagemaker/user_profile.py +++ b/sdk/python/pulumi_aws_native/sagemaker/user_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/scheduler/_inputs.py b/sdk/python/pulumi_aws_native/scheduler/_inputs.py index 000751855b..546fff2d4e 100644 --- a/sdk/python/pulumi_aws_native/scheduler/_inputs.py +++ b/sdk/python/pulumi_aws_native/scheduler/_inputs.py @@ -4,30 +4,72 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ScheduleAwsVpcConfigurationArgs', + 'ScheduleAwsVpcConfigurationArgsDict', 'ScheduleCapacityProviderStrategyItemArgs', + 'ScheduleCapacityProviderStrategyItemArgsDict', 'ScheduleDeadLetterConfigArgs', + 'ScheduleDeadLetterConfigArgsDict', 'ScheduleEcsParametersArgs', + 'ScheduleEcsParametersArgsDict', 'ScheduleEventBridgeParametersArgs', + 'ScheduleEventBridgeParametersArgsDict', 'ScheduleFlexibleTimeWindowArgs', + 'ScheduleFlexibleTimeWindowArgsDict', 'ScheduleKinesisParametersArgs', + 'ScheduleKinesisParametersArgsDict', 'ScheduleNetworkConfigurationArgs', + 'ScheduleNetworkConfigurationArgsDict', 'SchedulePlacementConstraintArgs', + 'SchedulePlacementConstraintArgsDict', 'SchedulePlacementStrategyArgs', + 'SchedulePlacementStrategyArgsDict', 'ScheduleRetryPolicyArgs', + 'ScheduleRetryPolicyArgsDict', 'ScheduleSageMakerPipelineParametersArgs', + 'ScheduleSageMakerPipelineParametersArgsDict', 'ScheduleSageMakerPipelineParameterArgs', + 'ScheduleSageMakerPipelineParameterArgsDict', 'ScheduleSqsParametersArgs', + 'ScheduleSqsParametersArgsDict', 'ScheduleTargetArgs', + 'ScheduleTargetArgsDict', ] +MYPY = False + +if not MYPY: + class ScheduleAwsVpcConfigurationArgsDict(TypedDict): + """ + This structure specifies the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode. + """ + subnets: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets. + """ + assign_public_ip: NotRequired[pulumi.Input['ScheduleAssignPublicIp']] + """ + Specifies whether the task's elastic network interface receives a public IP address. You can specify `ENABLED` only when `LaunchType` in `EcsParameters` is set to `FARGATE` . + """ + security_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used. + """ +elif False: + ScheduleAwsVpcConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleAwsVpcConfigurationArgs: def __init__(__self__, *, @@ -83,6 +125,26 @@ def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str pulumi.set(self, "security_groups", value) +if not MYPY: + class ScheduleCapacityProviderStrategyItemArgsDict(TypedDict): + """ + The details of a capacity provider strategy. + """ + capacity_provider: pulumi.Input[str] + """ + The short name of the capacity provider. + """ + base: NotRequired[pulumi.Input[float]] + """ + The base value designates how many tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used. + """ + weight: NotRequired[pulumi.Input[float]] + """ + The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider. The weight value is taken into consideration after the base value, if defined, is satisfied. + """ +elif False: + ScheduleCapacityProviderStrategyItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleCapacityProviderStrategyItemArgs: def __init__(__self__, *, @@ -138,6 +200,18 @@ def weight(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "weight", value) +if not MYPY: + class ScheduleDeadLetterConfigArgsDict(TypedDict): + """ + A DeadLetterConfig object that contains information about a dead-letter queue configuration. + """ + arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the SQS queue specified as the target for the dead-letter queue. + """ +elif False: + ScheduleDeadLetterConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleDeadLetterConfigArgs: def __init__(__self__, *, @@ -162,6 +236,70 @@ def arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "arn", value) +if not MYPY: + class ScheduleEcsParametersArgsDict(TypedDict): + """ + The custom parameters to be used when the target is an Amazon ECS task. + """ + task_definition_arn: pulumi.Input[str] + """ + The ARN of the task definition to use if the event target is an Amazon ECS task. + """ + capacity_provider_strategy: NotRequired[pulumi.Input[Sequence[pulumi.Input['ScheduleCapacityProviderStrategyItemArgsDict']]]] + """ + The capacity provider strategy to use for the task. + """ + enable_ecs_managed_tags: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to enable Amazon ECS managed tags for the task. For more information, see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer Guide. + """ + enable_execute_command: NotRequired[pulumi.Input[bool]] + """ + Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task. + """ + group: NotRequired[pulumi.Input[str]] + """ + Specifies an ECS task group for the task. The maximum length is 255 characters. + """ + launch_type: NotRequired[pulumi.Input['ScheduleLaunchType']] + """ + Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. The `FARGATE` value is supported only in the Regions where Fargate with Amazon ECS is supported. For more information, see [AWS Fargate on Amazon ECS](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html) in the *Amazon ECS Developer Guide* . + """ + network_configuration: NotRequired[pulumi.Input['ScheduleNetworkConfigurationArgsDict']] + """ + This structure specifies the network configuration for an ECS task. + """ + placement_constraints: NotRequired[pulumi.Input[Sequence[pulumi.Input['SchedulePlacementConstraintArgsDict']]]] + """ + An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). + """ + placement_strategy: NotRequired[pulumi.Input[Sequence[pulumi.Input['SchedulePlacementStrategyArgsDict']]]] + """ + The placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task. + """ + platform_version: NotRequired[pulumi.Input[str]] + """ + Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0. + """ + propagate_tags: NotRequired[pulumi.Input['SchedulePropagateTags']] + """ + Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the Amazon ECS [`TagResource`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html) API action. + """ + reference_id: NotRequired[pulumi.Input[str]] + """ + The reference ID to use for the task. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]] + """ + The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. To learn more, see RunTask in the Amazon ECS API Reference. + """ + task_count: NotRequired[pulumi.Input[float]] + """ + The number of tasks to create based on TaskDefinition. The default is 1. + """ +elif False: + ScheduleEcsParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleEcsParametersArgs: def __init__(__self__, *, @@ -393,6 +531,22 @@ def task_count(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "task_count", value) +if not MYPY: + class ScheduleEventBridgeParametersArgsDict(TypedDict): + """ + EventBridge PutEvent predefined target type. + """ + detail_type: pulumi.Input[str] + """ + Free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail. + """ + source: pulumi.Input[str] + """ + The source of the event. + """ +elif False: + ScheduleEventBridgeParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleEventBridgeParametersArgs: def __init__(__self__, *, @@ -431,6 +585,24 @@ def source(self, value: pulumi.Input[str]): pulumi.set(self, "source", value) +if not MYPY: + class ScheduleFlexibleTimeWindowArgsDict(TypedDict): + """ + Flexible time window allows configuration of a window within which a schedule can be invoked + """ + mode: pulumi.Input['ScheduleFlexibleTimeWindowMode'] + """ + Determines whether the schedule is invoked within a flexible time window. You must use quotation marks when you specify this value in your JSON or YAML template. + + *Allowed Values* : `"OFF"` | `"FLEXIBLE"` + """ + maximum_window_in_minutes: NotRequired[pulumi.Input[float]] + """ + The maximum time window during which a schedule can be invoked. + """ +elif False: + ScheduleFlexibleTimeWindowArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleFlexibleTimeWindowArgs: def __init__(__self__, *, @@ -474,6 +646,18 @@ def maximum_window_in_minutes(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "maximum_window_in_minutes", value) +if not MYPY: + class ScheduleKinesisParametersArgsDict(TypedDict): + """ + The custom parameter you can use to control the shard to which EventBridge Scheduler sends the event. + """ + partition_key: pulumi.Input[str] + """ + The custom parameter used as the Kinesis partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide. + """ +elif False: + ScheduleKinesisParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleKinesisParametersArgs: def __init__(__self__, *, @@ -497,6 +681,18 @@ def partition_key(self, value: pulumi.Input[str]): pulumi.set(self, "partition_key", value) +if not MYPY: + class ScheduleNetworkConfigurationArgsDict(TypedDict): + """ + This structure specifies the network configuration for an ECS task. + """ + awsvpc_configuration: NotRequired[pulumi.Input['ScheduleAwsVpcConfigurationArgsDict']] + """ + Specifies the Amazon VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode. + """ +elif False: + ScheduleNetworkConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleNetworkConfigurationArgs: def __init__(__self__, *, @@ -521,6 +717,22 @@ def awsvpc_configuration(self, value: Optional[pulumi.Input['ScheduleAwsVpcConfi pulumi.set(self, "awsvpc_configuration", value) +if not MYPY: + class SchedulePlacementConstraintArgsDict(TypedDict): + """ + An object representing a constraint on task placement. + """ + expression: NotRequired[pulumi.Input[str]] + """ + A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is distinctInstance. To learn more, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide. + """ + type: NotRequired[pulumi.Input['SchedulePlacementConstraintType']] + """ + The type of constraint. Use `distinctInstance` to ensure that each task in a particular group is running on a different container instance. Use `memberOf` to restrict the selection to a group of valid candidates. + """ +elif False: + SchedulePlacementConstraintArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SchedulePlacementConstraintArgs: def __init__(__self__, *, @@ -561,6 +773,22 @@ def type(self, value: Optional[pulumi.Input['SchedulePlacementConstraintType']]) pulumi.set(self, "type", value) +if not MYPY: + class SchedulePlacementStrategyArgsDict(TypedDict): + """ + The task placement strategy for a task or service. + """ + field: NotRequired[pulumi.Input[str]] + """ + The field to apply the placement strategy against. For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone. For the binpack placement strategy, valid values are cpu and memory. For the random placement strategy, this field is not used. + """ + type: NotRequired[pulumi.Input['SchedulePlacementStrategyType']] + """ + The type of placement strategy. The random placement strategy randomly places tasks on available candidates. The spread placement strategy spreads placement across available candidates evenly based on the field parameter. The binpack strategy places tasks on available candidates that have the least available amount of the resource that is specified with the field parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task). + """ +elif False: + SchedulePlacementStrategyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SchedulePlacementStrategyArgs: def __init__(__self__, *, @@ -601,6 +829,22 @@ def type(self, value: Optional[pulumi.Input['SchedulePlacementStrategyType']]): pulumi.set(self, "type", value) +if not MYPY: + class ScheduleRetryPolicyArgsDict(TypedDict): + """ + A RetryPolicy object that includes information about the retry policy settings. + """ + maximum_event_age_in_seconds: NotRequired[pulumi.Input[float]] + """ + The maximum amount of time, in seconds, to continue to make retry attempts. + """ + maximum_retry_attempts: NotRequired[pulumi.Input[float]] + """ + The maximum number of retry attempts to make before the request fails. Retry attempts with exponential backoff continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is reached. + """ +elif False: + ScheduleRetryPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleRetryPolicyArgs: def __init__(__self__, *, @@ -641,6 +885,18 @@ def maximum_retry_attempts(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "maximum_retry_attempts", value) +if not MYPY: + class ScheduleSageMakerPipelineParametersArgsDict(TypedDict): + """ + These are custom parameters to use when the target is a SageMaker Model Building Pipeline that starts based on AWS EventBridge Scheduler schedules. + """ + pipeline_parameter_list: NotRequired[pulumi.Input[Sequence[pulumi.Input['ScheduleSageMakerPipelineParameterArgsDict']]]] + """ + List of Parameter names and values for SageMaker Model Building Pipeline execution. + """ +elif False: + ScheduleSageMakerPipelineParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleSageMakerPipelineParametersArgs: def __init__(__self__, *, @@ -665,6 +921,22 @@ def pipeline_parameter_list(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "pipeline_parameter_list", value) +if not MYPY: + class ScheduleSageMakerPipelineParameterArgsDict(TypedDict): + """ + Name/Value pair of a parameter to start execution of a SageMaker Model Building Pipeline. + """ + name: pulumi.Input[str] + """ + Name of parameter to start execution of a SageMaker Model Building Pipeline. + """ + value: pulumi.Input[str] + """ + Value of parameter to start execution of a SageMaker Model Building Pipeline. + """ +elif False: + ScheduleSageMakerPipelineParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleSageMakerPipelineParameterArgs: def __init__(__self__, *, @@ -703,6 +975,18 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class ScheduleSqsParametersArgsDict(TypedDict): + """ + Contains the message group ID to use when the target is a FIFO queue. If you specify an SQS FIFO queue as a target, the queue must have content-based deduplication enabled. + """ + message_group_id: NotRequired[pulumi.Input[str]] + """ + The FIFO message group ID to use as the target. + """ +elif False: + ScheduleSqsParametersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleSqsParametersArgs: def __init__(__self__, *, @@ -727,6 +1011,54 @@ def message_group_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "message_group_id", value) +if not MYPY: + class ScheduleTargetArgsDict(TypedDict): + """ + The schedule target. + """ + arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the target. + """ + role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the IAM role to be used for this target when the schedule is triggered. + """ + dead_letter_config: NotRequired[pulumi.Input['ScheduleDeadLetterConfigArgsDict']] + """ + An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule. If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue. + """ + ecs_parameters: NotRequired[pulumi.Input['ScheduleEcsParametersArgsDict']] + """ + The templated target type for the Amazon ECS [`RunTask`](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html) API operation. + """ + event_bridge_parameters: NotRequired[pulumi.Input['ScheduleEventBridgeParametersArgsDict']] + """ + The templated target type for the EventBridge [`PutEvents`](https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html) API operation. + """ + input: NotRequired[pulumi.Input[str]] + """ + The text, or well-formed JSON, passed to the target. If you are configuring a templated Lambda, AWS Step Functions, or Amazon EventBridge target, the input must be a well-formed JSON. For all other target types, a JSON is not required. If you do not specify anything for this field, EventBridge Scheduler delivers a default notification to the target. + """ + kinesis_parameters: NotRequired[pulumi.Input['ScheduleKinesisParametersArgsDict']] + """ + The templated target type for the Amazon Kinesis [`PutRecord`](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecord.html) API operation. + """ + retry_policy: NotRequired[pulumi.Input['ScheduleRetryPolicyArgsDict']] + """ + A `RetryPolicy` object that includes information about the retry policy settings, including the maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event to a target. + """ + sage_maker_pipeline_parameters: NotRequired[pulumi.Input['ScheduleSageMakerPipelineParametersArgsDict']] + """ + The templated target type for the Amazon SageMaker [`StartPipelineExecution`](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StartPipelineExecution.html) API operation. + """ + sqs_parameters: NotRequired[pulumi.Input['ScheduleSqsParametersArgsDict']] + """ + The templated target type for the Amazon SQS [`SendMessage`](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html) API operation. Contains the message group ID to use when the target is a FIFO queue. If you specify an Amazon SQS FIFO queue as a target, the queue must have content-based deduplication enabled. For more information, see [Using the Amazon SQS message deduplication ID](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html) in the *Amazon SQS Developer Guide* . + """ +elif False: + ScheduleTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduleTargetArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/scheduler/get_schedule.py b/sdk/python/pulumi_aws_native/scheduler/get_schedule.py index d78f97d02e..df85a255b2 100644 --- a/sdk/python/pulumi_aws_native/scheduler/get_schedule.py +++ b/sdk/python/pulumi_aws_native/scheduler/get_schedule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -190,9 +195,6 @@ def get_schedule(name: Optional[str] = None, start_date=pulumi.get(__ret__, 'start_date'), state=pulumi.get(__ret__, 'state'), target=pulumi.get(__ret__, 'target')) - - -@_utilities.lift_output_func(get_schedule) def get_schedule_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduleResult]: """ @@ -201,4 +203,19 @@ def get_schedule_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the schedule. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:scheduler:getSchedule', __args__, opts=opts, typ=GetScheduleResult) + return __ret__.apply(lambda __response__: GetScheduleResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + end_date=pulumi.get(__response__, 'end_date'), + flexible_time_window=pulumi.get(__response__, 'flexible_time_window'), + group_name=pulumi.get(__response__, 'group_name'), + kms_key_arn=pulumi.get(__response__, 'kms_key_arn'), + schedule_expression=pulumi.get(__response__, 'schedule_expression'), + schedule_expression_timezone=pulumi.get(__response__, 'schedule_expression_timezone'), + start_date=pulumi.get(__response__, 'start_date'), + state=pulumi.get(__response__, 'state'), + target=pulumi.get(__response__, 'target'))) diff --git a/sdk/python/pulumi_aws_native/scheduler/get_schedule_group.py b/sdk/python/pulumi_aws_native/scheduler/get_schedule_group.py index e12fbf0853..54e5c09439 100644 --- a/sdk/python/pulumi_aws_native/scheduler/get_schedule_group.py +++ b/sdk/python/pulumi_aws_native/scheduler/get_schedule_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -112,9 +117,6 @@ def get_schedule_group(name: Optional[str] = None, last_modification_date=pulumi.get(__ret__, 'last_modification_date'), state=pulumi.get(__ret__, 'state'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_schedule_group) def get_schedule_group_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduleGroupResult]: """ @@ -123,4 +125,13 @@ def get_schedule_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the schedule group. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:scheduler:getScheduleGroup', __args__, opts=opts, typ=GetScheduleGroupResult) + return __ret__.apply(lambda __response__: GetScheduleGroupResult( + arn=pulumi.get(__response__, 'arn'), + creation_date=pulumi.get(__response__, 'creation_date'), + last_modification_date=pulumi.get(__response__, 'last_modification_date'), + state=pulumi.get(__response__, 'state'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/scheduler/outputs.py b/sdk/python/pulumi_aws_native/scheduler/outputs.py index 848ee6be17..b3a485791b 100644 --- a/sdk/python/pulumi_aws_native/scheduler/outputs.py +++ b/sdk/python/pulumi_aws_native/scheduler/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/scheduler/schedule.py b/sdk/python/pulumi_aws_native/scheduler/schedule.py index d33baf8bf7..903d28431a 100644 --- a/sdk/python/pulumi_aws_native/scheduler/schedule.py +++ b/sdk/python/pulumi_aws_native/scheduler/schedule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/scheduler/schedule_group.py b/sdk/python/pulumi_aws_native/scheduler/schedule_group.py index 4479929380..d09eb2f194 100644 --- a/sdk/python/pulumi_aws_native/scheduler/schedule_group.py +++ b/sdk/python/pulumi_aws_native/scheduler/schedule_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/secretsmanager/_inputs.py b/sdk/python/pulumi_aws_native/secretsmanager/_inputs.py index 90eea9b9c7..86e8bb6a2e 100644 --- a/sdk/python/pulumi_aws_native/secretsmanager/_inputs.py +++ b/sdk/python/pulumi_aws_native/secretsmanager/_inputs.py @@ -4,16 +4,74 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'SecretGenerateSecretStringArgs', + 'SecretGenerateSecretStringArgsDict', 'SecretReplicaRegionArgs', + 'SecretReplicaRegionArgsDict', ] +MYPY = False + +if not MYPY: + class SecretGenerateSecretStringArgsDict(TypedDict): + """ + Generates a random password. We recommend that you specify the maximum length and include every character type that the system you are generating a password for can support. + *Required permissions:* ``secretsmanager:GetRandomPassword``. For more information, see [IAM policy actions for Secrets Manager](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssecretsmanager.html#awssecretsmanager-actions-as-permissions) and [Authentication and access control in Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html). + """ + exclude_characters: NotRequired[pulumi.Input[str]] + """ + A string of the characters that you don't want in the password. + """ + exclude_lowercase: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters. + """ + exclude_numbers: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers. + """ + exclude_punctuation: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to exclude the following punctuation characters from the password: ``! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~``. If you don't include this switch, the password can contain punctuation. + """ + exclude_uppercase: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters. + """ + generate_string_key: NotRequired[pulumi.Input[str]] + """ + The JSON key name for the key/value pair, where the value is the generated password. This pair is added to the JSON structure specified by the ``SecretStringTemplate`` parameter. If you specify this parameter, then you must also specify ``SecretStringTemplate``. + """ + include_space: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to include the space character. If you include this switch, the password can contain space characters. + """ + password_length: NotRequired[pulumi.Input[int]] + """ + The length of the password. If you don't include this parameter, the default length is 32 characters. + """ + require_each_included_type: NotRequired[pulumi.Input[bool]] + """ + Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. If you don't include this switch, the password contains at least one of every character type. + """ + secret_string_template: NotRequired[pulumi.Input[str]] + """ + A template that the generated string must match. When you make a change to this property, a new secret version is created. + """ +elif False: + SecretGenerateSecretStringArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecretGenerateSecretStringArgs: def __init__(__self__, *, @@ -183,6 +241,22 @@ def secret_string_template(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "secret_string_template", value) +if not MYPY: + class SecretReplicaRegionArgsDict(TypedDict): + """ + Specifies a ``Region`` and the ``KmsKeyId`` for a replica secret. + """ + region: pulumi.Input[str] + """ + A string that represents a ``Region``, for example "us-east-1". + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses ``aws/secretsmanager``. + """ +elif False: + SecretReplicaRegionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecretReplicaRegionArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/secretsmanager/get_resource_policy.py b/sdk/python/pulumi_aws_native/secretsmanager/get_resource_policy.py index 9e790fac91..2069de9321 100644 --- a/sdk/python/pulumi_aws_native/secretsmanager/get_resource_policy.py +++ b/sdk/python/pulumi_aws_native/secretsmanager/get_resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -71,9 +76,6 @@ def get_resource_policy(id: Optional[str] = None, return AwaitableGetResourcePolicyResult( id=pulumi.get(__ret__, 'id'), resource_policy=pulumi.get(__ret__, 'resource_policy')) - - -@_utilities.lift_output_func(get_resource_policy) def get_resource_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourcePolicyResult]: """ @@ -82,4 +84,10 @@ def get_resource_policy_output(id: Optional[pulumi.Input[str]] = None, :param str id: The Arn of the secret. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:secretsmanager:getResourcePolicy', __args__, opts=opts, typ=GetResourcePolicyResult) + return __ret__.apply(lambda __response__: GetResourcePolicyResult( + id=pulumi.get(__response__, 'id'), + resource_policy=pulumi.get(__response__, 'resource_policy'))) diff --git a/sdk/python/pulumi_aws_native/secretsmanager/get_secret.py b/sdk/python/pulumi_aws_native/secretsmanager/get_secret.py index b9c9c1e00d..0fdd20a6c3 100644 --- a/sdk/python/pulumi_aws_native/secretsmanager/get_secret.py +++ b/sdk/python/pulumi_aws_native/secretsmanager/get_secret.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -130,9 +135,6 @@ def get_secret(id: Optional[str] = None, kms_key_id=pulumi.get(__ret__, 'kms_key_id'), replica_regions=pulumi.get(__ret__, 'replica_regions'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_secret) def get_secret_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretResult]: """ @@ -146,4 +148,13 @@ def get_secret_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ARN of the secret. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:secretsmanager:getSecret', __args__, opts=opts, typ=GetSecretResult) + return __ret__.apply(lambda __response__: GetSecretResult( + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + kms_key_id=pulumi.get(__response__, 'kms_key_id'), + replica_regions=pulumi.get(__response__, 'replica_regions'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/secretsmanager/get_secret_target_attachment.py b/sdk/python/pulumi_aws_native/secretsmanager/get_secret_target_attachment.py index 2290cdfdc0..317a8d8919 100644 --- a/sdk/python/pulumi_aws_native/secretsmanager/get_secret_target_attachment.py +++ b/sdk/python/pulumi_aws_native/secretsmanager/get_secret_target_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -97,12 +102,17 @@ def get_secret_target_attachment(id: Optional[str] = None, secret_id=pulumi.get(__ret__, 'secret_id'), target_id=pulumi.get(__ret__, 'target_id'), target_type=pulumi.get(__ret__, 'target_type')) - - -@_utilities.lift_output_func(get_secret_target_attachment) def get_secret_target_attachment_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretTargetAttachmentResult]: """ Resource Type definition for AWS::SecretsManager::SecretTargetAttachment """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:secretsmanager:getSecretTargetAttachment', __args__, opts=opts, typ=GetSecretTargetAttachmentResult) + return __ret__.apply(lambda __response__: GetSecretTargetAttachmentResult( + id=pulumi.get(__response__, 'id'), + secret_id=pulumi.get(__response__, 'secret_id'), + target_id=pulumi.get(__response__, 'target_id'), + target_type=pulumi.get(__response__, 'target_type'))) diff --git a/sdk/python/pulumi_aws_native/secretsmanager/outputs.py b/sdk/python/pulumi_aws_native/secretsmanager/outputs.py index fa0ca5d1f9..ea146a8772 100644 --- a/sdk/python/pulumi_aws_native/secretsmanager/outputs.py +++ b/sdk/python/pulumi_aws_native/secretsmanager/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/secretsmanager/resource_policy.py b/sdk/python/pulumi_aws_native/secretsmanager/resource_policy.py index cf098e90a8..0f41f307fc 100644 --- a/sdk/python/pulumi_aws_native/secretsmanager/resource_policy.py +++ b/sdk/python/pulumi_aws_native/secretsmanager/resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ResourcePolicyArgs', 'ResourcePolicy'] diff --git a/sdk/python/pulumi_aws_native/secretsmanager/secret.py b/sdk/python/pulumi_aws_native/secretsmanager/secret.py index d7b3f31095..7e8db4215d 100644 --- a/sdk/python/pulumi_aws_native/secretsmanager/secret.py +++ b/sdk/python/pulumi_aws_native/secretsmanager/secret.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/secretsmanager/secret_target_attachment.py b/sdk/python/pulumi_aws_native/secretsmanager/secret_target_attachment.py index 902688e4e5..4545c39e4b 100644 --- a/sdk/python/pulumi_aws_native/secretsmanager/secret_target_attachment.py +++ b/sdk/python/pulumi_aws_native/secretsmanager/secret_target_attachment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SecretTargetAttachmentArgs', 'SecretTargetAttachment'] diff --git a/sdk/python/pulumi_aws_native/securityhub/_inputs.py b/sdk/python/pulumi_aws_native/securityhub/_inputs.py index 589a0a5b4b..048dd0b965 100644 --- a/sdk/python/pulumi_aws_native/securityhub/_inputs.py +++ b/sdk/python/pulumi_aws_native/securityhub/_inputs.py @@ -4,45 +4,114 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AutomationRuleDateFilterArgs', + 'AutomationRuleDateFilterArgsDict', 'AutomationRuleDateRangeArgs', + 'AutomationRuleDateRangeArgsDict', 'AutomationRuleMapFilterArgs', + 'AutomationRuleMapFilterArgsDict', 'AutomationRuleNoteUpdateArgs', + 'AutomationRuleNoteUpdateArgsDict', 'AutomationRuleNumberFilterArgs', + 'AutomationRuleNumberFilterArgsDict', 'AutomationRuleRelatedFindingArgs', + 'AutomationRuleRelatedFindingArgsDict', 'AutomationRuleSeverityUpdateArgs', + 'AutomationRuleSeverityUpdateArgsDict', 'AutomationRuleStringFilterArgs', + 'AutomationRuleStringFilterArgsDict', 'AutomationRuleWorkflowUpdateArgs', + 'AutomationRuleWorkflowUpdateArgsDict', 'AutomationRulesActionArgs', + 'AutomationRulesActionArgsDict', 'AutomationRulesFindingFieldsUpdateArgs', + 'AutomationRulesFindingFieldsUpdateArgsDict', 'AutomationRulesFindingFiltersArgs', + 'AutomationRulesFindingFiltersArgsDict', 'ConfigurationPolicyParameterConfigurationArgs', + 'ConfigurationPolicyParameterConfigurationArgsDict', 'ConfigurationPolicyParameterValueArgs', + 'ConfigurationPolicyParameterValueArgsDict', 'ConfigurationPolicyPolicyArgs', + 'ConfigurationPolicyPolicyArgsDict', 'ConfigurationPolicySecurityControlCustomParameterArgs', + 'ConfigurationPolicySecurityControlCustomParameterArgsDict', 'ConfigurationPolicySecurityControlsConfigurationArgs', + 'ConfigurationPolicySecurityControlsConfigurationArgsDict', 'ConfigurationPolicySecurityHubPolicyArgs', + 'ConfigurationPolicySecurityHubPolicyArgsDict', 'InsightAwsSecurityFindingFiltersArgs', + 'InsightAwsSecurityFindingFiltersArgsDict', 'InsightBooleanFilterArgs', + 'InsightBooleanFilterArgsDict', 'InsightDateFilterArgs', + 'InsightDateFilterArgsDict', 'InsightDateRangeArgs', + 'InsightDateRangeArgsDict', 'InsightIpFilterArgs', + 'InsightIpFilterArgsDict', 'InsightKeywordFilterArgs', + 'InsightKeywordFilterArgsDict', 'InsightMapFilterArgs', + 'InsightMapFilterArgsDict', 'InsightNumberFilterArgs', + 'InsightNumberFilterArgsDict', 'InsightStringFilterArgs', + 'InsightStringFilterArgsDict', 'SecurityControlParameterConfigurationArgs', + 'SecurityControlParameterConfigurationArgsDict', 'SecurityControlParameterValueArgs', + 'SecurityControlParameterValueArgsDict', 'StandardsControlArgs', + 'StandardsControlArgsDict', ] +MYPY = False + +if not MYPY: + class AutomationRuleDateFilterArgsDict(TypedDict): + """ + A date filter for querying findings. + """ + date_range: NotRequired[pulumi.Input['AutomationRuleDateRangeArgsDict']] + """ + A date range for the date filter. + """ + end: NotRequired[pulumi.Input[str]] + """ + A timestamp that provides the end date for the date filter. + This field accepts only the specified formats. Timestamps can end with ``Z`` or ``("+" / "-") time-hour [":" time-minute]``. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples: + + ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``) + + ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``) + + ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``) + """ + start: NotRequired[pulumi.Input[str]] + """ + A timestamp that provides the start date for the date filter. + This field accepts only the specified formats. Timestamps can end with ``Z`` or ``("+" / "-") time-hour [":" time-minute]``. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples: + + ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``) + + ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``) + + ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``) + """ +elif False: + AutomationRuleDateFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutomationRuleDateFilterArgs: def __init__(__self__, *, @@ -123,6 +192,22 @@ def start(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start", value) +if not MYPY: + class AutomationRuleDateRangeArgsDict(TypedDict): + """ + A date range for the date filter. + """ + unit: pulumi.Input['AutomationRuleDateRangeUnit'] + """ + A date range unit for the date filter. + """ + value: pulumi.Input[float] + """ + A date range value for the date filter. + """ +elif False: + AutomationRuleDateRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutomationRuleDateRangeArgs: def __init__(__self__, *, @@ -161,6 +246,39 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class AutomationRuleMapFilterArgsDict(TypedDict): + """ + A map filter for filtering ASHlong findings. Each map filter provides the field to check for, the value to check for, and the comparison operator. + """ + comparison: pulumi.Input['AutomationRuleMapFilterComparison'] + """ + The condition to apply to the key value when filtering Security Hub findings with a map filter. + To search for values that have the filter value, use one of the following comparison operators: + + To search for values that include the filter value, use ``CONTAINS``. For example, for the ``ResourceTags`` field, the filter ``Department CONTAINS Security`` matches findings that include the value ``Security`` for the ``Department`` tag. In the same example, a finding with a value of ``Security team`` for the ``Department`` tag is a match. + + To search for values that exactly match the filter value, use ``EQUALS``. For example, for the ``ResourceTags`` field, the filter ``Department EQUALS Security`` matches findings that have the value ``Security`` for the ``Department`` tag. + + ``CONTAINS`` and ``EQUALS`` filters on the same field are joined by ``OR``. A finding matches if it matches any one of those filters. For example, the filters ``Department CONTAINS Security OR Department CONTAINS Finance`` match a finding that includes either ``Security``, ``Finance``, or both values. + To search for values that don't have the filter value, use one of the following comparison operators: + + To search for values that exclude the filter value, use ``NOT_CONTAINS``. For example, for the ``ResourceTags`` field, the filter ``Department NOT_CONTAINS Finance`` matches findings that exclude the value ``Finance`` for the ``Department`` tag. + + To search for values other than the filter value, use ``NOT_EQUALS``. For example, for the ``ResourceTags`` field, the filter ``Department NOT_EQUALS Finance`` matches findings that don’t have the value ``Finance`` for the ``Department`` tag. + + ``NOT_CONTAINS`` and ``NOT_EQUALS`` filters on the same field are joined by ``AND``. A finding matches only if it matches all of those filters. For example, the filters ``Department NOT_CONTAINS Security AND Department NOT_CONTAINS Finance`` match a finding that excludes both the ``Security`` and ``Finance`` values. + ``CONTAINS`` filters can only be used with other ``CONTAINS`` filters. ``NOT_CONTAINS`` filters can only be used with other ``NOT_CONTAINS`` filters. + You can’t have both a ``CONTAINS`` filter and a ``NOT_CONTAINS`` filter on the same field. Similarly, you can’t have both an ``EQUALS`` filter and a ``NOT_EQUALS`` filter on the same field. Combining filters in this way returns an error. + ``CONTAINS`` and ``NOT_CONTAINS`` operators can be used only with automation rules. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the *User Guide*. + """ + key: pulumi.Input[str] + """ + The key of the map filter. For example, for ``ResourceTags``, ``Key`` identifies the name of the tag. For ``UserDefinedFields``, ``Key`` is the name of the field. + """ + value: pulumi.Input[str] + """ + The value for the key in the map filter. Filter values are case sensitive. For example, one of the values for a tag called ``Department`` might be ``Security``. If you provide ``security`` as the filter value, then there's no match. + """ +elif False: + AutomationRuleMapFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutomationRuleMapFilterArgs: def __init__(__self__, *, @@ -240,6 +358,22 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class AutomationRuleNoteUpdateArgsDict(TypedDict): + """ + The updated note. + """ + text: pulumi.Input[str] + """ + The updated note text. + """ + updated_by: pulumi.Input[str] + """ + The principal that updated the note. + """ +elif False: + AutomationRuleNoteUpdateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutomationRuleNoteUpdateArgs: def __init__(__self__, *, @@ -278,6 +412,26 @@ def updated_by(self, value: pulumi.Input[str]): pulumi.set(self, "updated_by", value) +if not MYPY: + class AutomationRuleNumberFilterArgsDict(TypedDict): + """ + A number filter for querying findings. + """ + eq: NotRequired[pulumi.Input[float]] + """ + The equal-to condition to be applied to a single field when querying for findings. + """ + gte: NotRequired[pulumi.Input[float]] + """ + The greater-than-equal condition to be applied to a single field when querying for findings. + """ + lte: NotRequired[pulumi.Input[float]] + """ + The less-than-equal condition to be applied to a single field when querying for findings. + """ +elif False: + AutomationRuleNumberFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutomationRuleNumberFilterArgs: def __init__(__self__, *, @@ -334,6 +488,23 @@ def lte(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "lte", value) +if not MYPY: + class AutomationRuleRelatedFindingArgsDict(TypedDict): + """ + Provides details about a list of findings that the current finding relates to. + """ + id: pulumi.Input[str] + """ + The product-generated identifier for a related finding. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + product_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) for the product that generated a related finding. + """ +elif False: + AutomationRuleRelatedFindingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutomationRuleRelatedFindingArgs: def __init__(__self__, *, @@ -374,6 +545,37 @@ def product_arn(self, value: pulumi.Input[str]): pulumi.set(self, "product_arn", value) +if not MYPY: + class AutomationRuleSeverityUpdateArgsDict(TypedDict): + """ + Updates to the severity information for a finding. + """ + label: NotRequired[pulumi.Input['AutomationRuleSeverityUpdateLabel']] + """ + The severity value of the finding. The allowed values are the following. + + ``INFORMATIONAL`` - No issue was found. + + ``LOW`` - The issue does not require action on its own. + + ``MEDIUM`` - The issue must be addressed but not urgently. + + ``HIGH`` - The issue must be addressed as a priority. + + ``CRITICAL`` - The issue must be remediated immediately to avoid it escalating. + """ + normalized: NotRequired[pulumi.Input[int]] + """ + The normalized severity for the finding. This attribute is to be deprecated in favor of ``Label``. + If you provide ``Normalized`` and don't provide ``Label``, ``Label`` is set automatically as follows. + + 0 - ``INFORMATIONAL`` + + 1–39 - ``LOW`` + + 40–69 - ``MEDIUM`` + + 70–89 - ``HIGH`` + + 90–100 - ``CRITICAL`` + """ + product: NotRequired[pulumi.Input[float]] + """ + The native severity as defined by the AWS service or integrated partner product that generated the finding. + """ +elif False: + AutomationRuleSeverityUpdateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutomationRuleSeverityUpdateArgs: def __init__(__self__, *, @@ -452,6 +654,43 @@ def product(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "product", value) +if not MYPY: + class AutomationRuleStringFilterArgsDict(TypedDict): + """ + A string filter for filtering ASHlong findings. + """ + comparison: pulumi.Input['AutomationRuleStringFilterComparison'] + """ + The condition to apply to a string value when filtering Security Hub findings. + To search for values that have the filter value, use one of the following comparison operators: + + To search for values that include the filter value, use ``CONTAINS``. For example, the filter ``Title CONTAINS CloudFront`` matches findings that have a ``Title`` that includes the string CloudFront. + + To search for values that exactly match the filter value, use ``EQUALS``. For example, the filter ``AwsAccountId EQUALS 123456789012`` only matches findings that have an account ID of ``123456789012``. + + To search for values that start with the filter value, use ``PREFIX``. For example, the filter ``ResourceRegion PREFIX us`` matches findings that have a ``ResourceRegion`` that starts with ``us``. A ``ResourceRegion`` that starts with a different value, such as ``af``, ``ap``, or ``ca``, doesn't match. + + ``CONTAINS``, ``EQUALS``, and ``PREFIX`` filters on the same field are joined by ``OR``. A finding matches if it matches any one of those filters. For example, the filters ``Title CONTAINS CloudFront OR Title CONTAINS CloudWatch`` match a finding that includes either ``CloudFront``, ``CloudWatch``, or both strings in the title. + To search for values that don’t have the filter value, use one of the following comparison operators: + + To search for values that exclude the filter value, use ``NOT_CONTAINS``. For example, the filter ``Title NOT_CONTAINS CloudFront`` matches findings that have a ``Title`` that excludes the string CloudFront. + + To search for values other than the filter value, use ``NOT_EQUALS``. For example, the filter ``AwsAccountId NOT_EQUALS 123456789012`` only matches findings that have an account ID other than ``123456789012``. + + To search for values that don't start with the filter value, use ``PREFIX_NOT_EQUALS``. For example, the filter ``ResourceRegion PREFIX_NOT_EQUALS us`` matches findings with a ``ResourceRegion`` that starts with a value other than ``us``. + + ``NOT_CONTAINS``, ``NOT_EQUALS``, and ``PREFIX_NOT_EQUALS`` filters on the same field are joined by ``AND``. A finding matches only if it matches all of those filters. For example, the filters ``Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch`` match a finding that excludes both ``CloudFront`` and ``CloudWatch`` in the title. + You can’t have both a ``CONTAINS`` filter and a ``NOT_CONTAINS`` filter on the same field. Similarly, you can't provide both an ``EQUALS`` filter and a ``NOT_EQUALS`` or ``PREFIX_NOT_EQUALS`` filter on the same field. Combining filters in this way returns an error. ``CONTAINS`` filters can only be used with other ``CONTAINS`` filters. ``NOT_CONTAINS`` filters can only be used with other ``NOT_CONTAINS`` filters. + You can combine ``PREFIX`` filters with ``NOT_EQUALS`` or ``PREFIX_NOT_EQUALS`` filters for the same field. Security Hub first processes the ``PREFIX`` filters, and then the ``NOT_EQUALS`` or ``PREFIX_NOT_EQUALS`` filters. + For example, for the following filters, Security Hub first identifies findings that have resource types that start with either ``AwsIam`` or ``AwsEc2``. It then excludes findings that have a resource type of ``AwsIamPolicy`` and findings that have a resource type of ``AwsEc2NetworkInterface``. + + ``ResourceType PREFIX AwsIam`` + + ``ResourceType PREFIX AwsEc2`` + + ``ResourceType NOT_EQUALS AwsIamPolicy`` + + ``ResourceType NOT_EQUALS AwsEc2NetworkInterface`` + + ``CONTAINS`` and ``NOT_CONTAINS`` operators can be used only with automation rules. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the *User Guide*. + """ + value: pulumi.Input[str] + """ + The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is ``Security Hub``. If you provide ``security hub`` as the filter value, there's no match. + """ +elif False: + AutomationRuleStringFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutomationRuleStringFilterArgs: def __init__(__self__, *, @@ -532,6 +771,27 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class AutomationRuleWorkflowUpdateArgsDict(TypedDict): + """ + Used to update information about the investigation into the finding. + """ + status: pulumi.Input['AutomationRuleWorkflowUpdateStatus'] + """ + The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to ``SUPPRESSED`` or ``RESOLVED`` does not prevent a new finding for the same issue. + The allowed values are the following. + + ``NEW`` - The initial state of a finding, before it is reviewed. + Security Hub also resets ``WorkFlowStatus`` from ``NOTIFIED`` or ``RESOLVED`` to ``NEW`` in the following cases: + + The record state changes from ``ARCHIVED`` to ``ACTIVE``. + + The compliance status changes from ``PASSED`` to either ``WARNING``, ``FAILED``, or ``NOT_AVAILABLE``. + + + ``NOTIFIED`` - Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner. + + ``RESOLVED`` - The finding was reviewed and remediated and is now considered resolved. + + ``SUPPRESSED`` - Indicates that you reviewed the finding and don't believe that any action is needed. The finding is no longer updated. + """ +elif False: + AutomationRuleWorkflowUpdateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutomationRuleWorkflowUpdateArgs: def __init__(__self__, *, @@ -573,6 +833,22 @@ def status(self, value: pulumi.Input['AutomationRuleWorkflowUpdateStatus']): pulumi.set(self, "status", value) +if not MYPY: + class AutomationRulesActionArgsDict(TypedDict): + """ + One or more actions that ASHlong takes when a finding matches the defined criteria of a rule. + """ + finding_fields_update: pulumi.Input['AutomationRulesFindingFieldsUpdateArgsDict'] + """ + Specifies that the automation rule action is an update to a finding field. + """ + type: pulumi.Input['AutomationRulesActionType'] + """ + Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule. + """ +elif False: + AutomationRulesActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutomationRulesActionArgs: def __init__(__self__, *, @@ -611,6 +887,50 @@ def type(self, value: pulumi.Input['AutomationRulesActionType']): pulumi.set(self, "type", value) +if not MYPY: + class AutomationRulesFindingFieldsUpdateArgsDict(TypedDict): + """ + Identifies the finding fields that the automation rule action updates when a finding matches the defined criteria. + """ + confidence: NotRequired[pulumi.Input[int]] + """ + The rule action updates the ``Confidence`` field of a finding. + """ + criticality: NotRequired[pulumi.Input[int]] + """ + The rule action updates the ``Criticality`` field of a finding. + """ + note: NotRequired[pulumi.Input['AutomationRuleNoteUpdateArgsDict']] + """ + The rule action will update the ``Note`` field of a finding. + """ + related_findings: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleRelatedFindingArgsDict']]]] + """ + The rule action will update the ``RelatedFindings`` field of a finding. + """ + severity: NotRequired[pulumi.Input['AutomationRuleSeverityUpdateArgsDict']] + """ + The rule action will update the ``Severity`` field of a finding. + """ + types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The rule action updates the ``Types`` field of a finding. + """ + user_defined_fields: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + The rule action updates the ``UserDefinedFields`` field of a finding. + """ + verification_state: NotRequired[pulumi.Input['AutomationRulesFindingFieldsUpdateVerificationState']] + """ + The rule action updates the ``VerificationState`` field of a finding. + """ + workflow: NotRequired[pulumi.Input['AutomationRuleWorkflowUpdateArgsDict']] + """ + The rule action will update the ``Workflow`` field of a finding. + """ +elif False: + AutomationRulesFindingFieldsUpdateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AutomationRulesFindingFieldsUpdateArgs: def __init__(__self__, *, @@ -763,56 +1083,274 @@ def workflow(self, value: Optional[pulumi.Input['AutomationRuleWorkflowUpdateArg pulumi.set(self, "workflow", value) -@pulumi.input_type -class AutomationRulesFindingFiltersArgs: - def __init__(__self__, *, - aws_account_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - company_name: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - compliance_associated_standards_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - compliance_security_control_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - compliance_status: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - confidence: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleNumberFilterArgs']]]] = None, - created_at: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgs']]]] = None, - criticality: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleNumberFilterArgs']]]] = None, - description: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - first_observed_at: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgs']]]] = None, - generator_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - last_observed_at: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgs']]]] = None, - note_text: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - note_updated_at: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgs']]]] = None, - note_updated_by: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - product_arn: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - product_name: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - record_state: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - related_findings_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - related_findings_product_arn: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - resource_details_other: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleMapFilterArgs']]]] = None, - resource_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - resource_partition: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - resource_region: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - resource_tags: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleMapFilterArgs']]]] = None, - resource_type: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - severity_label: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - source_url: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - title: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - type: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - updated_at: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgs']]]] = None, - user_defined_fields: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleMapFilterArgs']]]] = None, - verification_state: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, - workflow_status: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None): +if not MYPY: + class AutomationRulesFindingFiltersArgsDict(TypedDict): """ The criteria that determine which findings a rule applies to. - :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]] aws_account_id: The AWS-account ID in which a finding was generated. - Array Members: Minimum number of 1 item. Maximum number of 100 items. - :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]] company_name: The name of the company for the product that generated the finding. For control-based findings, the company is AWS. - Array Members: Minimum number of 1 item. Maximum number of 20 items. - :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]] compliance_associated_standards_id: The unique identifier of a standard in which a control is enabled. This field consists of the resource portion of the Amazon Resource Name (ARN) returned for a standard in the [DescribeStandards](https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DescribeStandards.html) API response. - Array Members: Minimum number of 1 item. Maximum number of 20 items. - :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]] compliance_security_control_id: The security control ID for which a finding was generated. Security control IDs are the same across standards. - Array Members: Minimum number of 1 item. Maximum number of 20 items. - :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]] compliance_status: The result of a security check. This field is only used for findings generated from controls. - Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + aws_account_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The AWS-account ID in which a finding was generated. + Array Members: Minimum number of 1 item. Maximum number of 100 items. + """ + company_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The name of the company for the product that generated the finding. For control-based findings, the company is AWS. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + compliance_associated_standards_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The unique identifier of a standard in which a control is enabled. This field consists of the resource portion of the Amazon Resource Name (ARN) returned for a standard in the [DescribeStandards](https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DescribeStandards.html) API response. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + compliance_security_control_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The security control ID for which a finding was generated. Security control IDs are the same across standards. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + compliance_status: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The result of a security check. This field is only used for findings generated from controls. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + confidence: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleNumberFilterArgsDict']]]] + """ + The likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. ``Confidence`` is scored on a 0–100 basis using a ratio scale. A value of ``0`` means 0 percent confidence, and a value of ``100`` means 100 percent confidence. For example, a data exfiltration detection based on a statistical deviation of network traffic has low confidence because an actual exfiltration hasn't been verified. For more information, see [Confidence](https://docs.aws.amazon.com/securityhub/latest/userguide/asff-top-level-attributes.html#asff-confidence) in the *User Guide*. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + created_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgsDict']]]] + """ + A timestamp that indicates when this finding record was created. + This field accepts only the specified formats. Timestamps can end with ``Z`` or ``("+" / "-") time-hour [":" time-minute]``. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples: + + ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``) + + ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``) + + ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``) + + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + criticality: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleNumberFilterArgsDict']]]] + """ + The level of importance that is assigned to the resources that are associated with a finding. ``Criticality`` is scored on a 0–100 basis, using a ratio scale that supports only full integers. A score of ``0`` means that the underlying resources have no criticality, and a score of ``100`` is reserved for the most critical resources. For more information, see [Criticality](https://docs.aws.amazon.com/securityhub/latest/userguide/asff-top-level-attributes.html#asff-criticality) in the *User Guide*. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + description: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + A finding's description. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + first_observed_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgsDict']]]] + """ + A timestamp that indicates when the potential security issue captured by a finding was first observed by the security findings product. + This field accepts only the specified formats. Timestamps can end with ``Z`` or ``("+" / "-") time-hour [":" time-minute]``. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples: + + ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``) + + ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``) + + ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``) + + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + generator_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The identifier for the solution-specific component that generated a finding. + Array Members: Minimum number of 1 item. Maximum number of 100 items. + """ + id: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The product-specific identifier for a finding. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + last_observed_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgsDict']]]] + """ + A timestamp that indicates when the potential security issue captured by a finding was most recently observed by the security findings product. + This field accepts only the specified formats. Timestamps can end with ``Z`` or ``("+" / "-") time-hour [":" time-minute]``. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples: + + ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``) + + ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``) + + ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``) + + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + note_text: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The text of a user-defined note that's added to a finding. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + note_updated_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgsDict']]]] + """ + The timestamp of when the note was updated. + This field accepts only the specified formats. Timestamps can end with ``Z`` or ``("+" / "-") time-hour [":" time-minute]``. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples: + + ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``) + + ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``) + + ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``) + + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + note_updated_by: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The principal that created a note. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + product_arn: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The Amazon Resource Name (ARN) for a third-party product that generated a finding in Security Hub. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + product_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + Provides the name of the product that generated the finding. For control-based findings, the product name is Security Hub. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + record_state: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + Provides the current state of a finding. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + related_findings_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The product-generated identifier for a related finding. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + related_findings_product_arn: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The ARN for the product that generated a related finding. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + resource_details_other: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleMapFilterArgsDict']]]] + """ + Custom fields and values about the resource that a finding pertains to. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + resource_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The identifier for the given resource type. For AWS resources that are identified by Amazon Resource Names (ARNs), this is the ARN. For AWS resources that lack ARNs, this is the identifier as defined by the AWS-service that created the resource. For non-AWS resources, this is a unique identifier that is associated with the resource. + Array Members: Minimum number of 1 item. Maximum number of 100 items. + """ + resource_partition: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The partition in which the resource that the finding pertains to is located. A partition is a group of AWS-Regions. Each AWS-account is scoped to one partition. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + resource_region: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The AWS-Region where the resource that a finding pertains to is located. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + resource_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleMapFilterArgsDict']]]] + """ + A list of AWS tags associated with a resource at the time the finding was processed. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + resource_type: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + A finding's title. + Array Members: Minimum number of 1 item. Maximum number of 100 items. + """ + severity_label: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + The severity value of the finding. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + source_url: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + Provides a URL that links to a page about the current finding in the finding product. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + title: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + A finding's title. + Array Members: Minimum number of 1 item. Maximum number of 100 items. + """ + type: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + One or more finding types in the format of namespace/category/classifier that classify a finding. For a list of namespaces, classifiers, and categories, see [Types taxonomy for ASFF](https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format-type-taxonomy.html) in the *User Guide*. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + updated_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgsDict']]]] + """ + A timestamp that indicates when the finding record was most recently updated. + This field accepts only the specified formats. Timestamps can end with ``Z`` or ``("+" / "-") time-hour [":" time-minute]``. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples: + + ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``) + + ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``) + + ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``) + + ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``) + + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + user_defined_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleMapFilterArgsDict']]]] + """ + A list of user-defined name and value string pairs added to a finding. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + verification_state: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + Provides the veracity of a finding. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ + workflow_status: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgsDict']]]] + """ + Provides information about the status of the investigation into a finding. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + """ +elif False: + AutomationRulesFindingFiltersArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class AutomationRulesFindingFiltersArgs: + def __init__(__self__, *, + aws_account_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + company_name: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + compliance_associated_standards_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + compliance_security_control_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + compliance_status: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + confidence: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleNumberFilterArgs']]]] = None, + created_at: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgs']]]] = None, + criticality: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleNumberFilterArgs']]]] = None, + description: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + first_observed_at: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgs']]]] = None, + generator_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + last_observed_at: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgs']]]] = None, + note_text: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + note_updated_at: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgs']]]] = None, + note_updated_by: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + product_arn: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + product_name: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + record_state: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + related_findings_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + related_findings_product_arn: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + resource_details_other: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleMapFilterArgs']]]] = None, + resource_id: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + resource_partition: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + resource_region: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + resource_tags: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleMapFilterArgs']]]] = None, + resource_type: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + severity_label: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + source_url: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + title: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + type: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + updated_at: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgs']]]] = None, + user_defined_fields: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleMapFilterArgs']]]] = None, + verification_state: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None, + workflow_status: Optional[pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]]] = None): + """ + The criteria that determine which findings a rule applies to. + :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]] aws_account_id: The AWS-account ID in which a finding was generated. + Array Members: Minimum number of 1 item. Maximum number of 100 items. + :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]] company_name: The name of the company for the product that generated the finding. For control-based findings, the company is AWS. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]] compliance_associated_standards_id: The unique identifier of a standard in which a control is enabled. This field consists of the resource portion of the Amazon Resource Name (ARN) returned for a standard in the [DescribeStandards](https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DescribeStandards.html) API response. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]] compliance_security_control_id: The security control ID for which a finding was generated. Security control IDs are the same across standards. + Array Members: Minimum number of 1 item. Maximum number of 20 items. + :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleStringFilterArgs']]] compliance_status: The result of a security check. This field is only used for findings generated from controls. + Array Members: Minimum number of 1 item. Maximum number of 20 items. :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleNumberFilterArgs']]] confidence: The likelihood that a finding accurately identifies the behavior or issue that it was intended to identify. ``Confidence`` is scored on a 0–100 basis using a ratio scale. A value of ``0`` means 0 percent confidence, and a value of ``100`` means 100 percent confidence. For example, a data exfiltration detection based on a statistical deviation of network traffic has low confidence because an actual exfiltration hasn't been verified. For more information, see [Confidence](https://docs.aws.amazon.com/securityhub/latest/userguide/asff-top-level-attributes.html#asff-confidence) in the *User Guide*. Array Members: Minimum number of 1 item. Maximum number of 20 items. :param pulumi.Input[Sequence[pulumi.Input['AutomationRuleDateFilterArgs']]] created_at: A timestamp that indicates when this finding record was created. @@ -1471,6 +2009,19 @@ def workflow_status(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Au pulumi.set(self, "workflow_status", value) +if not MYPY: + class ConfigurationPolicyParameterConfigurationArgsDict(TypedDict): + """ + An object that provides the current value of a security control parameter and identifies whether it has been customized. + """ + value_type: pulumi.Input['ConfigurationPolicyParameterConfigurationValueType'] + """ + Identifies whether a control parameter uses a custom user-defined value or subscribes to the default AWS Security Hub behavior. + """ + value: NotRequired[pulumi.Input['ConfigurationPolicyParameterValueArgsDict']] +elif False: + ConfigurationPolicyParameterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationPolicyParameterConfigurationArgs: def __init__(__self__, *, @@ -1506,31 +2057,71 @@ def value(self, value: Optional[pulumi.Input['ConfigurationPolicyParameterValueA pulumi.set(self, "value", value) -@pulumi.input_type -class ConfigurationPolicyParameterValueArgs: - def __init__(__self__, *, - boolean: Optional[pulumi.Input[bool]] = None, - double: Optional[pulumi.Input[float]] = None, - enum: Optional[pulumi.Input[str]] = None, - enum_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - integer: Optional[pulumi.Input[int]] = None, - integer_list: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, - string: Optional[pulumi.Input[str]] = None, - string_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): +if not MYPY: + class ConfigurationPolicyParameterValueArgsDict(TypedDict): """ An object that includes the data type of a security control parameter and its current value. - :param pulumi.Input[bool] boolean: A control parameter that is a boolean. - :param pulumi.Input[float] double: A control parameter that is a double. - :param pulumi.Input[str] enum: A control parameter that is an enum. - :param pulumi.Input[Sequence[pulumi.Input[str]]] enum_list: A control parameter that is a list of enums. - :param pulumi.Input[int] integer: A control parameter that is an integer. - :param pulumi.Input[Sequence[pulumi.Input[int]]] integer_list: A control parameter that is a list of integers. - :param pulumi.Input[str] string: A control parameter that is a string. - :param pulumi.Input[Sequence[pulumi.Input[str]]] string_list: A control parameter that is a list of strings. """ - if boolean is not None: - pulumi.set(__self__, "boolean", boolean) - if double is not None: + boolean: NotRequired[pulumi.Input[bool]] + """ + A control parameter that is a boolean. + """ + double: NotRequired[pulumi.Input[float]] + """ + A control parameter that is a double. + """ + enum: NotRequired[pulumi.Input[str]] + """ + A control parameter that is an enum. + """ + enum_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A control parameter that is a list of enums. + """ + integer: NotRequired[pulumi.Input[int]] + """ + A control parameter that is an integer. + """ + integer_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + """ + A control parameter that is a list of integers. + """ + string: NotRequired[pulumi.Input[str]] + """ + A control parameter that is a string. + """ + string_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A control parameter that is a list of strings. + """ +elif False: + ConfigurationPolicyParameterValueArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ConfigurationPolicyParameterValueArgs: + def __init__(__self__, *, + boolean: Optional[pulumi.Input[bool]] = None, + double: Optional[pulumi.Input[float]] = None, + enum: Optional[pulumi.Input[str]] = None, + enum_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + integer: Optional[pulumi.Input[int]] = None, + integer_list: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + string: Optional[pulumi.Input[str]] = None, + string_list: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + An object that includes the data type of a security control parameter and its current value. + :param pulumi.Input[bool] boolean: A control parameter that is a boolean. + :param pulumi.Input[float] double: A control parameter that is a double. + :param pulumi.Input[str] enum: A control parameter that is an enum. + :param pulumi.Input[Sequence[pulumi.Input[str]]] enum_list: A control parameter that is a list of enums. + :param pulumi.Input[int] integer: A control parameter that is an integer. + :param pulumi.Input[Sequence[pulumi.Input[int]]] integer_list: A control parameter that is a list of integers. + :param pulumi.Input[str] string: A control parameter that is a string. + :param pulumi.Input[Sequence[pulumi.Input[str]]] string_list: A control parameter that is a list of strings. + """ + if boolean is not None: + pulumi.set(__self__, "boolean", boolean) + if double is not None: pulumi.set(__self__, "double", double) if enum is not None: pulumi.set(__self__, "enum", enum) @@ -1642,6 +2233,18 @@ def string_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "string_list", value) +if not MYPY: + class ConfigurationPolicyPolicyArgsDict(TypedDict): + """ + An object that defines how Security Hub is configured. + """ + security_hub: NotRequired[pulumi.Input['ConfigurationPolicySecurityHubPolicyArgsDict']] + """ + The AWS service that the configuration policy applies to. + """ +elif False: + ConfigurationPolicyPolicyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationPolicyPolicyArgs: def __init__(__self__, *, @@ -1666,6 +2269,22 @@ def security_hub(self, value: Optional[pulumi.Input['ConfigurationPolicySecurity pulumi.set(self, "security_hub", value) +if not MYPY: + class ConfigurationPolicySecurityControlCustomParameterArgsDict(TypedDict): + """ + An object of security control and control parameter value that are included in a configuration policy. + """ + parameters: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['ConfigurationPolicyParameterConfigurationArgsDict']]]] + """ + An object that specifies parameter values for a control in a configuration policy. + """ + security_control_id: NotRequired[pulumi.Input[str]] + """ + The ID of the security control. + """ +elif False: + ConfigurationPolicySecurityControlCustomParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationPolicySecurityControlCustomParameterArgs: def __init__(__self__, *, @@ -1706,6 +2325,26 @@ def security_control_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "security_control_id", value) +if not MYPY: + class ConfigurationPolicySecurityControlsConfigurationArgsDict(TypedDict): + """ + An object that defines which security controls are enabled in an AWS Security Hub configuration policy. + """ + disabled_security_control_identifiers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of security controls that are disabled in the configuration policy + """ + enabled_security_control_identifiers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of security controls that are enabled in the configuration policy. + """ + security_control_custom_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConfigurationPolicySecurityControlCustomParameterArgsDict']]]] + """ + A list of security controls and control parameter values that are included in a configuration policy. + """ +elif False: + ConfigurationPolicySecurityControlsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationPolicySecurityControlsConfigurationArgs: def __init__(__self__, *, @@ -1731,96 +2370,542 @@ def disabled_security_control_identifiers(self) -> Optional[pulumi.Input[Sequenc """ A list of security controls that are disabled in the configuration policy """ - return pulumi.get(self, "disabled_security_control_identifiers") - - @disabled_security_control_identifiers.setter - def disabled_security_control_identifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "disabled_security_control_identifiers", value) - - @property - @pulumi.getter(name="enabledSecurityControlIdentifiers") - def enabled_security_control_identifiers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "disabled_security_control_identifiers") + + @disabled_security_control_identifiers.setter + def disabled_security_control_identifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "disabled_security_control_identifiers", value) + + @property + @pulumi.getter(name="enabledSecurityControlIdentifiers") + def enabled_security_control_identifiers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A list of security controls that are enabled in the configuration policy. + """ + return pulumi.get(self, "enabled_security_control_identifiers") + + @enabled_security_control_identifiers.setter + def enabled_security_control_identifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "enabled_security_control_identifiers", value) + + @property + @pulumi.getter(name="securityControlCustomParameters") + def security_control_custom_parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConfigurationPolicySecurityControlCustomParameterArgs']]]]: + """ + A list of security controls and control parameter values that are included in a configuration policy. + """ + return pulumi.get(self, "security_control_custom_parameters") + + @security_control_custom_parameters.setter + def security_control_custom_parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigurationPolicySecurityControlCustomParameterArgs']]]]): + pulumi.set(self, "security_control_custom_parameters", value) + + +if not MYPY: + class ConfigurationPolicySecurityHubPolicyArgsDict(TypedDict): + """ + An object that defines how AWS Security Hub is configured. + """ + enabled_standard_identifiers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list that defines which security standards are enabled in the configuration policy. + """ + security_controls_configuration: NotRequired[pulumi.Input['ConfigurationPolicySecurityControlsConfigurationArgsDict']] + """ + An object that defines which security controls are enabled in the configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account. + + This property is required only if `ServiceEnabled` is set to true in your configuration policy. + """ + service_enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether Security Hub is enabled in the policy. + """ +elif False: + ConfigurationPolicySecurityHubPolicyArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ConfigurationPolicySecurityHubPolicyArgs: + def __init__(__self__, *, + enabled_standard_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + security_controls_configuration: Optional[pulumi.Input['ConfigurationPolicySecurityControlsConfigurationArgs']] = None, + service_enabled: Optional[pulumi.Input[bool]] = None): + """ + An object that defines how AWS Security Hub is configured. + :param pulumi.Input[Sequence[pulumi.Input[str]]] enabled_standard_identifiers: A list that defines which security standards are enabled in the configuration policy. + :param pulumi.Input['ConfigurationPolicySecurityControlsConfigurationArgs'] security_controls_configuration: An object that defines which security controls are enabled in the configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account. + + This property is required only if `ServiceEnabled` is set to true in your configuration policy. + :param pulumi.Input[bool] service_enabled: Indicates whether Security Hub is enabled in the policy. + """ + if enabled_standard_identifiers is not None: + pulumi.set(__self__, "enabled_standard_identifiers", enabled_standard_identifiers) + if security_controls_configuration is not None: + pulumi.set(__self__, "security_controls_configuration", security_controls_configuration) + if service_enabled is not None: + pulumi.set(__self__, "service_enabled", service_enabled) + + @property + @pulumi.getter(name="enabledStandardIdentifiers") + def enabled_standard_identifiers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A list that defines which security standards are enabled in the configuration policy. + """ + return pulumi.get(self, "enabled_standard_identifiers") + + @enabled_standard_identifiers.setter + def enabled_standard_identifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "enabled_standard_identifiers", value) + + @property + @pulumi.getter(name="securityControlsConfiguration") + def security_controls_configuration(self) -> Optional[pulumi.Input['ConfigurationPolicySecurityControlsConfigurationArgs']]: + """ + An object that defines which security controls are enabled in the configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account. + + This property is required only if `ServiceEnabled` is set to true in your configuration policy. + """ + return pulumi.get(self, "security_controls_configuration") + + @security_controls_configuration.setter + def security_controls_configuration(self, value: Optional[pulumi.Input['ConfigurationPolicySecurityControlsConfigurationArgs']]): + pulumi.set(self, "security_controls_configuration", value) + + @property + @pulumi.getter(name="serviceEnabled") + def service_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether Security Hub is enabled in the policy. + """ + return pulumi.get(self, "service_enabled") + + @service_enabled.setter + def service_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "service_enabled", value) + + +if not MYPY: + class InsightAwsSecurityFindingFiltersArgsDict(TypedDict): + """ + A collection of filters that are applied to all active findings aggregated by AWS Security Hub. + """ + aws_account_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The AWS account ID in which a finding is generated. + """ + aws_account_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The name of the AWS account in which a finding is generated. + """ + company_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The name of the findings provider (company) that owns the solution (product) that generates findings. + """ + compliance_associated_standards_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The unique identifier of a standard in which a control is enabled. + """ + compliance_security_control_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The unique identifier of a control across standards. + """ + compliance_security_control_parameters_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The name of a security control parameter. + """ + compliance_security_control_parameters_value: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The current value of a security control parameter. + """ + compliance_status: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + Exclusive to findings that are generated as the result of a check run against a specific rule in a supported standard. + """ + confidence: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightNumberFilterArgsDict']]]] + """ + A finding's confidence. + """ + created_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightDateFilterArgsDict']]]] + """ + An ISO8601-formatted timestamp that indicates when the security findings provider captured the potential security issue that a finding captured. + """ + criticality: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightNumberFilterArgsDict']]]] + """ + The level of importance assigned to the resources associated with the finding. + """ + description: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + A finding's description. + """ + finding_provider_fields_confidence: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightNumberFilterArgsDict']]]] + """ + The finding provider value for the finding confidence. + """ + finding_provider_fields_criticality: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightNumberFilterArgsDict']]]] + """ + The finding provider value for the level of importance assigned to the resources associated with the findings. + """ + finding_provider_fields_related_findings_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The finding identifier of a related finding that is identified by the finding provider. + """ + finding_provider_fields_related_findings_product_arn: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The ARN of the solution that generated a related finding that is identified by the finding provider. + """ + finding_provider_fields_severity_label: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The finding provider value for the severity label. + """ + finding_provider_fields_severity_original: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The finding provider's original value for the severity. + """ + finding_provider_fields_types: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + One or more finding types that the finding provider assigned to the finding. + """ + first_observed_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightDateFilterArgsDict']]]] + """ + An ISO8601-formatted timestamp that indicates when the security findings provider first observed the potential security issue that a finding captured. + """ + generator_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The identifier for the solution-specific component (a discrete unit of logic) that generated a finding. + """ + id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The security findings provider-specific identifier for a finding. + """ + keyword: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightKeywordFilterArgsDict']]]] + """ + A keyword for a finding. + """ + last_observed_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightDateFilterArgsDict']]]] + """ + An ISO8601-formatted timestamp that indicates when the security findings provider most recently observed the potential security issue that a finding captured. + """ + malware_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The name of the malware that was observed. + """ + malware_path: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The filesystem path of the malware that was observed. + """ + malware_state: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The state of the malware that was observed. + """ + malware_type: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The type of the malware that was observed. + """ + network_destination_domain: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The destination domain of network-related information about a finding. + """ + network_destination_ip_v4: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightIpFilterArgsDict']]]] + """ + The destination IPv4 address of network-related information about a finding. + """ + network_destination_ip_v6: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightIpFilterArgsDict']]]] + """ + The destination IPv6 address of network-related information about a finding. + """ + network_destination_port: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightNumberFilterArgsDict']]]] + """ + The destination port of network-related information about a finding. + """ + network_direction: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + Indicates the direction of network traffic associated with a finding. + """ + network_protocol: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The protocol of network-related information about a finding. + """ + network_source_domain: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The source domain of network-related information about a finding. + """ + network_source_ip_v4: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightIpFilterArgsDict']]]] + """ + The source IPv4 address of network-related information about a finding. + """ + network_source_ip_v6: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightIpFilterArgsDict']]]] + """ + The source IPv6 address of network-related information about a finding. + """ + network_source_mac: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The source media access control (MAC) address of network-related information about a finding. + """ + network_source_port: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightNumberFilterArgsDict']]]] + """ + The source port of network-related information about a finding. + """ + note_text: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The text of a note. + """ + note_updated_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightDateFilterArgsDict']]]] + """ + The timestamp of when the note was updated. + """ + note_updated_by: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The principal that created a note. + """ + process_launched_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightDateFilterArgsDict']]]] + """ + A timestamp that identifies when the process was launched. + """ + process_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The name of the process. + """ + process_parent_pid: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightNumberFilterArgsDict']]]] + """ + The parent process ID. + """ + process_path: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The path to the process executable. + """ + process_pid: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightNumberFilterArgsDict']]]] + """ + The process ID. + """ + process_terminated_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightDateFilterArgsDict']]]] + """ + A timestamp that identifies when the process was terminated. + """ + product_arn: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The ARN generated by Security Hub that uniquely identifies a third-party company (security findings provider) after this provider's product (solution that generates findings) is registered with Security Hub. + """ + product_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightMapFilterArgsDict']]]] + """ + A data type where security findings providers can include additional solution-specific details that aren't part of the defined AwsSecurityFinding format. + """ + product_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The name of the solution (product) that generates findings. + """ + recommendation_text: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The recommendation of what to do about the issue described in a finding. + """ + record_state: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The updated record state for the finding. + """ + region: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The Region from which the finding was generated. + """ + related_findings_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The solution-generated identifier for a related finding. + """ + related_findings_product_arn: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The ARN of the solution that generated a related finding. + """ + resource_application_arn: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The ARN of the application that is related to a finding. + """ + resource_application_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The name of the application that is related to a finding. + """ + resource_aws_ec2_instance_iam_instance_profile_arn: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The IAM profile ARN of the instance. + """ + resource_aws_ec2_instance_image_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The Amazon Machine Image (AMI) ID of the instance. + """ + resource_aws_ec2_instance_ip_v4_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightIpFilterArgsDict']]]] + """ + The IPv4 addresses associated with the instance. + """ + resource_aws_ec2_instance_ip_v6_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightIpFilterArgsDict']]]] + """ + The IPv6 addresses associated with the instance. + """ + resource_aws_ec2_instance_key_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The key name associated with the instance. + """ + resource_aws_ec2_instance_launched_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightDateFilterArgsDict']]]] + """ + The date and time the instance was launched. + """ + resource_aws_ec2_instance_subnet_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The identifier of the subnet that the instance was launched in. + """ + resource_aws_ec2_instance_type: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The instance type of the instance. + """ + resource_aws_ec2_instance_vpc_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The identifier of the VPC that the instance was launched in. + """ + resource_aws_iam_access_key_created_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightDateFilterArgsDict']]]] + """ + The creation date/time of the IAM access key related to a finding. + """ + resource_aws_iam_access_key_principal_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The name of the principal that is associated with an IAM access key. + """ + resource_aws_iam_access_key_status: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The status of the IAM access key related to a finding. + """ + resource_aws_iam_access_key_user_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The user associated with the IAM access key related to a finding. + """ + resource_aws_iam_user_user_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The name of an IAM user. + """ + resource_aws_s3_bucket_owner_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The canonical user ID of the owner of the S3 bucket. + """ + resource_aws_s3_bucket_owner_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The display name of the owner of the S3 bucket. + """ + resource_container_image_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The identifier of the image related to a finding. + """ + resource_container_image_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The name of the image related to a finding. + """ + resource_container_launched_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightDateFilterArgsDict']]]] + """ + A timestamp that identifies when the container was started. + """ + resource_container_name: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The name of the container related to a finding. + """ + resource_details_other: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightMapFilterArgsDict']]]] + """ + The details of a resource that doesn't have a specific subfield for the resource type defined. + """ + resource_id: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The canonical identifier for the given resource type. + """ + resource_partition: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The canonical AWS partition name that the Region is assigned to. + """ + resource_region: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The canonical AWS external Region name where this resource is located. + """ + resource_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightMapFilterArgsDict']]]] + """ + A list of AWS tags associated with a resource at the time the finding was processed. + """ + resource_type: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + Specifies the type of the resource that details are provided for. + """ + sample: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightBooleanFilterArgsDict']]]] + """ + Indicates whether or not sample findings are included in the filter results. + """ + severity_label: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The label of a finding's severity. + """ + severity_normalized: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightNumberFilterArgsDict']]]] + """ + The normalized severity of a finding. + """ + severity_product: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightNumberFilterArgsDict']]]] + """ + The native severity as defined by the security findings provider's solution that generated the finding. + """ + source_url: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + A URL that links to a page about the current finding in the security findings provider's solution. + """ + threat_intel_indicator_category: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The category of a threat intelligence indicator. + """ + threat_intel_indicator_last_observed_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightDateFilterArgsDict']]]] + """ + A timestamp that identifies the last observation of a threat intelligence indicator. + """ + threat_intel_indicator_source: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The source of the threat intelligence. + """ + threat_intel_indicator_source_url: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The URL for more details from the source of the threat intelligence. + """ + threat_intel_indicator_type: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The type of a threat intelligence indicator. + """ + threat_intel_indicator_value: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + The value of a threat intelligence indicator. + """ + title: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + A finding's title. + """ + type: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] + """ + A finding type in the format of namespace/category/classifier that classifies a finding. + """ + updated_at: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightDateFilterArgsDict']]]] + """ + An ISO8601-formatted timestamp that indicates when the security findings provider last updated the finding record. + """ + user_defined_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightMapFilterArgsDict']]]] """ - A list of security controls that are enabled in the configuration policy. + A list of name/value string pairs associated with the finding. """ - return pulumi.get(self, "enabled_security_control_identifiers") - - @enabled_security_control_identifiers.setter - def enabled_security_control_identifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "enabled_security_control_identifiers", value) - - @property - @pulumi.getter(name="securityControlCustomParameters") - def security_control_custom_parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConfigurationPolicySecurityControlCustomParameterArgs']]]]: + verification_state: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] """ - A list of security controls and control parameter values that are included in a configuration policy. + The veracity of a finding. """ - return pulumi.get(self, "security_control_custom_parameters") - - @security_control_custom_parameters.setter - def security_control_custom_parameters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigurationPolicySecurityControlCustomParameterArgs']]]]): - pulumi.set(self, "security_control_custom_parameters", value) - - -@pulumi.input_type -class ConfigurationPolicySecurityHubPolicyArgs: - def __init__(__self__, *, - enabled_standard_identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - security_controls_configuration: Optional[pulumi.Input['ConfigurationPolicySecurityControlsConfigurationArgs']] = None, - service_enabled: Optional[pulumi.Input[bool]] = None): + vulnerabilities_exploit_available: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] """ - An object that defines how AWS Security Hub is configured. - :param pulumi.Input[Sequence[pulumi.Input[str]]] enabled_standard_identifiers: A list that defines which security standards are enabled in the configuration policy. - :param pulumi.Input['ConfigurationPolicySecurityControlsConfigurationArgs'] security_controls_configuration: An object that defines which security controls are enabled in the configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account. - - This property is required only if `ServiceEnabled` is set to true in your configuration policy. - :param pulumi.Input[bool] service_enabled: Indicates whether Security Hub is enabled in the policy. + Indicates whether a software vulnerability in your environment has a known exploit. """ - if enabled_standard_identifiers is not None: - pulumi.set(__self__, "enabled_standard_identifiers", enabled_standard_identifiers) - if security_controls_configuration is not None: - pulumi.set(__self__, "security_controls_configuration", security_controls_configuration) - if service_enabled is not None: - pulumi.set(__self__, "service_enabled", service_enabled) - - @property - @pulumi.getter(name="enabledStandardIdentifiers") - def enabled_standard_identifiers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + vulnerabilities_fix_available: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] """ - A list that defines which security standards are enabled in the configuration policy. + Indicates whether a vulnerability is fixed in a newer version of the affected software packages. """ - return pulumi.get(self, "enabled_standard_identifiers") - - @enabled_standard_identifiers.setter - def enabled_standard_identifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "enabled_standard_identifiers", value) - - @property - @pulumi.getter(name="securityControlsConfiguration") - def security_controls_configuration(self) -> Optional[pulumi.Input['ConfigurationPolicySecurityControlsConfigurationArgs']]: + workflow_state: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] """ - An object that defines which security controls are enabled in the configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account. - - This property is required only if `ServiceEnabled` is set to true in your configuration policy. + The workflow state of a finding. """ - return pulumi.get(self, "security_controls_configuration") - - @security_controls_configuration.setter - def security_controls_configuration(self, value: Optional[pulumi.Input['ConfigurationPolicySecurityControlsConfigurationArgs']]): - pulumi.set(self, "security_controls_configuration", value) - - @property - @pulumi.getter(name="serviceEnabled") - def service_enabled(self) -> Optional[pulumi.Input[bool]]: + workflow_status: NotRequired[pulumi.Input[Sequence[pulumi.Input['InsightStringFilterArgsDict']]]] """ - Indicates whether Security Hub is enabled in the policy. + The status of the investigation into a finding. """ - return pulumi.get(self, "service_enabled") - - @service_enabled.setter - def service_enabled(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "service_enabled", value) - +elif False: + InsightAwsSecurityFindingFiltersArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class InsightAwsSecurityFindingFiltersArgs: @@ -3494,6 +4579,18 @@ def workflow_status(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['In pulumi.set(self, "workflow_status", value) +if not MYPY: + class InsightBooleanFilterArgsDict(TypedDict): + """ + Boolean filter for querying findings. + """ + value: pulumi.Input[bool] + """ + The value of the boolean. + """ +elif False: + InsightBooleanFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InsightBooleanFilterArgs: def __init__(__self__, *, @@ -3517,6 +4614,42 @@ def value(self, value: pulumi.Input[bool]): pulumi.set(self, "value", value) +if not MYPY: + class InsightDateFilterArgsDict(TypedDict): + """ + A date filter for querying findings. + """ + date_range: NotRequired[pulumi.Input['InsightDateRangeArgsDict']] + """ + A date range for the date filter. + """ + end: NotRequired[pulumi.Input[str]] + """ + A timestamp that provides the end date for the date filter. + + This field accepts only the specified formats. Timestamps can end with `Z` or `("+" / "-") time-hour [":" time-minute]` . The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples: + + - `YYYY-MM-DDTHH:MM:SSZ` (for example, `2019-01-31T23:00:00Z` ) + - `YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ` (for example, `2019-01-31T23:00:00.123456789Z` ) + - `YYYY-MM-DDTHH:MM:SS+HH:MM` (for example, `2024-01-04T15:25:10+17:59` ) + - `YYYY-MM-DDTHH:MM:SS-HHMM` (for example, `2024-01-04T15:25:10-1759` ) + - `YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM` (for example, `2024-01-04T15:25:10.123456789+17:59` ) + """ + start: NotRequired[pulumi.Input[str]] + """ + A timestamp that provides the start date for the date filter. + + This field accepts only the specified formats. Timestamps can end with `Z` or `("+" / "-") time-hour [":" time-minute]` . The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples: + + - `YYYY-MM-DDTHH:MM:SSZ` (for example, `2019-01-31T23:00:00Z` ) + - `YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ` (for example, `2019-01-31T23:00:00.123456789Z` ) + - `YYYY-MM-DDTHH:MM:SS+HH:MM` (for example, `2024-01-04T15:25:10+17:59` ) + - `YYYY-MM-DDTHH:MM:SS-HHMM` (for example, `2024-01-04T15:25:10-1759` ) + - `YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM` (for example, `2024-01-04T15:25:10.123456789+17:59` ) + """ +elif False: + InsightDateFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InsightDateFilterArgs: def __init__(__self__, *, @@ -3605,6 +4738,22 @@ def start(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "start", value) +if not MYPY: + class InsightDateRangeArgsDict(TypedDict): + """ + A date range for the date filter. + """ + unit: pulumi.Input['InsightDateRangeUnit'] + """ + A date range unit for the date filter. + """ + value: pulumi.Input[float] + """ + A date range value for the date filter. + """ +elif False: + InsightDateRangeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InsightDateRangeArgs: def __init__(__self__, *, @@ -3643,6 +4792,18 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class InsightIpFilterArgsDict(TypedDict): + """ + The IP filter for querying findings. + """ + cidr: pulumi.Input[str] + """ + A finding's CIDR value. + """ +elif False: + InsightIpFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InsightIpFilterArgs: def __init__(__self__, *, @@ -3666,6 +4827,18 @@ def cidr(self, value: pulumi.Input[str]): pulumi.set(self, "cidr", value) +if not MYPY: + class InsightKeywordFilterArgsDict(TypedDict): + """ + A keyword filter for querying findings. + """ + value: pulumi.Input[str] + """ + A value for the keyword. + """ +elif False: + InsightKeywordFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InsightKeywordFilterArgs: def __init__(__self__, *, @@ -3689,6 +4862,26 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class InsightMapFilterArgsDict(TypedDict): + """ + A map filter for filtering AWS Security Hub findings. + """ + comparison: pulumi.Input['InsightMapFilterComparison'] + """ + The condition to apply to the key value when filtering Security Hub findings with a map filter. + """ + key: pulumi.Input[str] + """ + The key of the map filter. For example, for `ResourceTags` , `Key` identifies the name of the tag. For `UserDefinedFields` , `Key` is the name of the field. + """ + value: pulumi.Input[str] + """ + The value for the key in the map filter. Filter values are case sensitive. For example, one of the values for a tag called `Department` might be `Security` . If you provide `security` as the filter value, then there's no match. + """ +elif False: + InsightMapFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InsightMapFilterArgs: def __init__(__self__, *, @@ -3742,6 +4935,26 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class InsightNumberFilterArgsDict(TypedDict): + """ + A number filter for querying findings. + """ + eq: NotRequired[pulumi.Input[float]] + """ + The equal-to condition to be applied to a single field when querying for findings. + """ + gte: NotRequired[pulumi.Input[float]] + """ + The greater-than-equal condition to be applied to a single field when querying for findings. + """ + lte: NotRequired[pulumi.Input[float]] + """ + The less-than-equal condition to be applied to a single field when querying for findings. + """ +elif False: + InsightNumberFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InsightNumberFilterArgs: def __init__(__self__, *, @@ -3798,6 +5011,51 @@ def lte(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "lte", value) +if not MYPY: + class InsightStringFilterArgsDict(TypedDict): + """ + A string filter for filtering AWS Security Hub findings. + """ + comparison: pulumi.Input['InsightStringFilterComparison'] + """ + The condition to apply to a string value when filtering Security Hub findings. + + To search for values that have the filter value, use one of the following comparison operators: + + - To search for values that include the filter value, use `CONTAINS` . For example, the filter `Title CONTAINS CloudFront` matches findings that have a `Title` that includes the string CloudFront. + - To search for values that exactly match the filter value, use `EQUALS` . For example, the filter `AwsAccountId EQUALS 123456789012` only matches findings that have an account ID of `123456789012` . + - To search for values that start with the filter value, use `PREFIX` . For example, the filter `ResourceRegion PREFIX us` matches findings that have a `ResourceRegion` that starts with `us` . A `ResourceRegion` that starts with a different value, such as `af` , `ap` , or `ca` , doesn't match. + + `CONTAINS` , `EQUALS` , and `PREFIX` filters on the same field are joined by `OR` . A finding matches if it matches any one of those filters. For example, the filters `Title CONTAINS CloudFront OR Title CONTAINS CloudWatch` match a finding that includes either `CloudFront` , `CloudWatch` , or both strings in the title. + + To search for values that don’t have the filter value, use one of the following comparison operators: + + - To search for values that exclude the filter value, use `NOT_CONTAINS` . For example, the filter `Title NOT_CONTAINS CloudFront` matches findings that have a `Title` that excludes the string CloudFront. + - To search for values other than the filter value, use `NOT_EQUALS` . For example, the filter `AwsAccountId NOT_EQUALS 123456789012` only matches findings that have an account ID other than `123456789012` . + - To search for values that don't start with the filter value, use `PREFIX_NOT_EQUALS` . For example, the filter `ResourceRegion PREFIX_NOT_EQUALS us` matches findings with a `ResourceRegion` that starts with a value other than `us` . + + `NOT_CONTAINS` , `NOT_EQUALS` , and `PREFIX_NOT_EQUALS` filters on the same field are joined by `AND` . A finding matches only if it matches all of those filters. For example, the filters `Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch` match a finding that excludes both `CloudFront` and `CloudWatch` in the title. + + You can’t have both a `CONTAINS` filter and a `NOT_CONTAINS` filter on the same field. Similarly, you can't provide both an `EQUALS` filter and a `NOT_EQUALS` or `PREFIX_NOT_EQUALS` filter on the same field. Combining filters in this way returns an error. `CONTAINS` filters can only be used with other `CONTAINS` filters. `NOT_CONTAINS` filters can only be used with other `NOT_CONTAINS` filters. + + You can combine `PREFIX` filters with `NOT_EQUALS` or `PREFIX_NOT_EQUALS` filters for the same field. Security Hub first processes the `PREFIX` filters, and then the `NOT_EQUALS` or `PREFIX_NOT_EQUALS` filters. + + For example, for the following filters, Security Hub first identifies findings that have resource types that start with either `AwsIam` or `AwsEc2` . It then excludes findings that have a resource type of `AwsIamPolicy` and findings that have a resource type of `AwsEc2NetworkInterface` . + + - `ResourceType PREFIX AwsIam` + - `ResourceType PREFIX AwsEc2` + - `ResourceType NOT_EQUALS AwsIamPolicy` + - `ResourceType NOT_EQUALS AwsEc2NetworkInterface` + + `CONTAINS` and `NOT_CONTAINS` operators can be used only with automation rules. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the *AWS Security Hub User Guide* . + """ + value: pulumi.Input[str] + """ + The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is `Security Hub` . If you provide `security hub` as the filter value, there's no match. + """ +elif False: + InsightStringFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InsightStringFilterArgs: def __init__(__self__, *, @@ -3894,6 +5152,23 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class SecurityControlParameterConfigurationArgsDict(TypedDict): + value_type: pulumi.Input['SecurityControlParameterConfigurationValueType'] + """ + Identifies whether a control parameter uses a custom user-defined value or subscribes to the default AWS Security Hub behavior. + + When `ValueType` is set equal to `DEFAULT` , the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. When `ValueType` is set equal to `DEFAULT` , Security Hub ignores user-provided input for the `Value` field. + + When `ValueType` is set equal to `CUSTOM` , the `Value` field can't be empty. + """ + value: NotRequired[pulumi.Input['SecurityControlParameterValueArgsDict']] + """ + The current value of a control parameter. + """ +elif False: + SecurityControlParameterConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityControlParameterConfigurationArgs: def __init__(__self__, *, @@ -3940,6 +5215,43 @@ def value(self, value: Optional[pulumi.Input['SecurityControlParameterValueArgs' pulumi.set(self, "value", value) +if not MYPY: + class SecurityControlParameterValueArgsDict(TypedDict): + boolean: NotRequired[pulumi.Input[bool]] + """ + A control parameter that is a boolean. + """ + double: NotRequired[pulumi.Input[float]] + """ + A control parameter that is a double. + """ + enum: NotRequired[pulumi.Input[str]] + """ + A control parameter that is a enum. + """ + enum_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A control parameter that is a list of enums. + """ + integer: NotRequired[pulumi.Input[int]] + """ + A control parameter that is a integer. + """ + integer_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]] + """ + A control parameter that is a list of integers. + """ + string: NotRequired[pulumi.Input[str]] + """ + A control parameter that is a string. + """ + string_list: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A control parameter that is a list of strings. + """ +elif False: + SecurityControlParameterValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SecurityControlParameterValueArgs: def __init__(__self__, *, @@ -4075,6 +5387,22 @@ def string_list(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "string_list", value) +if not MYPY: + class StandardsControlArgsDict(TypedDict): + """ + Provides details about an individual security control. For a list of ASH controls, see [controls reference](https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-controls-reference.html) in the *User Guide*. + """ + standards_control_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the control. + """ + reason: NotRequired[pulumi.Input[str]] + """ + A user-defined reason for changing a control's enablement status in a specified standard. If you are disabling a control, then this property is required. + """ +elif False: + StandardsControlArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StandardsControlArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/securityhub/automation_rule.py b/sdk/python/pulumi_aws_native/securityhub/automation_rule.py index c4d2dc7278..93072b453c 100644 --- a/sdk/python/pulumi_aws_native/securityhub/automation_rule.py +++ b/sdk/python/pulumi_aws_native/securityhub/automation_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/securityhub/configuration_policy.py b/sdk/python/pulumi_aws_native/securityhub/configuration_policy.py index aede7c4a02..4b7e708be4 100644 --- a/sdk/python/pulumi_aws_native/securityhub/configuration_policy.py +++ b/sdk/python/pulumi_aws_native/securityhub/configuration_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/securityhub/delegated_admin.py b/sdk/python/pulumi_aws_native/securityhub/delegated_admin.py index 9591f1ccaa..c1d407a42b 100644 --- a/sdk/python/pulumi_aws_native/securityhub/delegated_admin.py +++ b/sdk/python/pulumi_aws_native/securityhub/delegated_admin.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/securityhub/finding_aggregator.py b/sdk/python/pulumi_aws_native/securityhub/finding_aggregator.py index 695b096aed..d899cb7231 100644 --- a/sdk/python/pulumi_aws_native/securityhub/finding_aggregator.py +++ b/sdk/python/pulumi_aws_native/securityhub/finding_aggregator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/securityhub/get_automation_rule.py b/sdk/python/pulumi_aws_native/securityhub/get_automation_rule.py index 846317c942..93611681bc 100644 --- a/sdk/python/pulumi_aws_native/securityhub/get_automation_rule.py +++ b/sdk/python/pulumi_aws_native/securityhub/get_automation_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -205,9 +210,6 @@ def get_automation_rule(rule_arn: Optional[str] = None, rule_status=pulumi.get(__ret__, 'rule_status'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_automation_rule) def get_automation_rule_output(rule_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutomationRuleResult]: """ @@ -216,4 +218,20 @@ def get_automation_rule_output(rule_arn: Optional[pulumi.Input[str]] = None, :param str rule_arn: The Amazon Resource Name (ARN) of the automation rule that you create. For example, `arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111` . """ - ... + __args__ = dict() + __args__['ruleArn'] = rule_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securityhub:getAutomationRule', __args__, opts=opts, typ=GetAutomationRuleResult) + return __ret__.apply(lambda __response__: GetAutomationRuleResult( + actions=pulumi.get(__response__, 'actions'), + created_at=pulumi.get(__response__, 'created_at'), + created_by=pulumi.get(__response__, 'created_by'), + criteria=pulumi.get(__response__, 'criteria'), + description=pulumi.get(__response__, 'description'), + is_terminal=pulumi.get(__response__, 'is_terminal'), + rule_arn=pulumi.get(__response__, 'rule_arn'), + rule_name=pulumi.get(__response__, 'rule_name'), + rule_order=pulumi.get(__response__, 'rule_order'), + rule_status=pulumi.get(__response__, 'rule_status'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/securityhub/get_configuration_policy.py b/sdk/python/pulumi_aws_native/securityhub/get_configuration_policy.py index d5943120e1..c52333c3fe 100644 --- a/sdk/python/pulumi_aws_native/securityhub/get_configuration_policy.py +++ b/sdk/python/pulumi_aws_native/securityhub/get_configuration_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -162,9 +167,6 @@ def get_configuration_policy(arn: Optional[str] = None, service_enabled=pulumi.get(__ret__, 'service_enabled'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_configuration_policy) def get_configuration_policy_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationPolicyResult]: """ @@ -173,4 +175,17 @@ def get_configuration_policy_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the configuration policy. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securityhub:getConfigurationPolicy', __args__, opts=opts, typ=GetConfigurationPolicyResult) + return __ret__.apply(lambda __response__: GetConfigurationPolicyResult( + arn=pulumi.get(__response__, 'arn'), + configuration_policy=pulumi.get(__response__, 'configuration_policy'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + service_enabled=pulumi.get(__response__, 'service_enabled'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/securityhub/get_delegated_admin.py b/sdk/python/pulumi_aws_native/securityhub/get_delegated_admin.py index fe3511655d..bb3a36171c 100644 --- a/sdk/python/pulumi_aws_native/securityhub/get_delegated_admin.py +++ b/sdk/python/pulumi_aws_native/securityhub/get_delegated_admin.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -73,9 +78,6 @@ def get_delegated_admin(delegated_admin_identifier: Optional[str] = None, return AwaitableGetDelegatedAdminResult( delegated_admin_identifier=pulumi.get(__ret__, 'delegated_admin_identifier'), status=pulumi.get(__ret__, 'status')) - - -@_utilities.lift_output_func(get_delegated_admin) def get_delegated_admin_output(delegated_admin_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegatedAdminResult]: """ @@ -87,4 +89,10 @@ def get_delegated_admin_output(delegated_admin_identifier: Optional[pulumi.Input :param str delegated_admin_identifier: The ID of the delegated Security Hub administrator account, in the format of `accountID/Region` . """ - ... + __args__ = dict() + __args__['delegatedAdminIdentifier'] = delegated_admin_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securityhub:getDelegatedAdmin', __args__, opts=opts, typ=GetDelegatedAdminResult) + return __ret__.apply(lambda __response__: GetDelegatedAdminResult( + delegated_admin_identifier=pulumi.get(__response__, 'delegated_admin_identifier'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_aws_native/securityhub/get_finding_aggregator.py b/sdk/python/pulumi_aws_native/securityhub/get_finding_aggregator.py index 21673a9b89..b080f13857 100644 --- a/sdk/python/pulumi_aws_native/securityhub/get_finding_aggregator.py +++ b/sdk/python/pulumi_aws_native/securityhub/get_finding_aggregator.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -106,9 +111,6 @@ def get_finding_aggregator(finding_aggregator_arn: Optional[str] = None, finding_aggregator_arn=pulumi.get(__ret__, 'finding_aggregator_arn'), region_linking_mode=pulumi.get(__ret__, 'region_linking_mode'), regions=pulumi.get(__ret__, 'regions')) - - -@_utilities.lift_output_func(get_finding_aggregator) def get_finding_aggregator_output(finding_aggregator_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFindingAggregatorResult]: """ @@ -119,4 +121,12 @@ def get_finding_aggregator_output(finding_aggregator_arn: Optional[pulumi.Input[ :param str finding_aggregator_arn: The ARN of the finding aggregator. You use the finding aggregator ARN to retrieve details for, update, and delete the finding aggregator. """ - ... + __args__ = dict() + __args__['findingAggregatorArn'] = finding_aggregator_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securityhub:getFindingAggregator', __args__, opts=opts, typ=GetFindingAggregatorResult) + return __ret__.apply(lambda __response__: GetFindingAggregatorResult( + finding_aggregation_region=pulumi.get(__response__, 'finding_aggregation_region'), + finding_aggregator_arn=pulumi.get(__response__, 'finding_aggregator_arn'), + region_linking_mode=pulumi.get(__response__, 'region_linking_mode'), + regions=pulumi.get(__response__, 'regions'))) diff --git a/sdk/python/pulumi_aws_native/securityhub/get_hub.py b/sdk/python/pulumi_aws_native/securityhub/get_hub.py index 1e93c88bbc..7e22cb661a 100644 --- a/sdk/python/pulumi_aws_native/securityhub/get_hub.py +++ b/sdk/python/pulumi_aws_native/securityhub/get_hub.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -110,9 +115,6 @@ def get_hub(arn: Optional[str] = None, control_finding_generator=pulumi.get(__ret__, 'control_finding_generator'), subscribed_at=pulumi.get(__ret__, 'subscribed_at'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_hub) def get_hub_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHubResult]: """ @@ -121,4 +123,13 @@ def get_hub_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: An ARN is automatically created for the customer. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securityhub:getHub', __args__, opts=opts, typ=GetHubResult) + return __ret__.apply(lambda __response__: GetHubResult( + arn=pulumi.get(__response__, 'arn'), + auto_enable_controls=pulumi.get(__response__, 'auto_enable_controls'), + control_finding_generator=pulumi.get(__response__, 'control_finding_generator'), + subscribed_at=pulumi.get(__response__, 'subscribed_at'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/securityhub/get_insight.py b/sdk/python/pulumi_aws_native/securityhub/get_insight.py index 19a16e0413..f8621392b0 100644 --- a/sdk/python/pulumi_aws_native/securityhub/get_insight.py +++ b/sdk/python/pulumi_aws_native/securityhub/get_insight.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -97,9 +102,6 @@ def get_insight(insight_arn: Optional[str] = None, group_by_attribute=pulumi.get(__ret__, 'group_by_attribute'), insight_arn=pulumi.get(__ret__, 'insight_arn'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_insight) def get_insight_output(insight_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInsightResult]: """ @@ -108,4 +110,12 @@ def get_insight_output(insight_arn: Optional[pulumi.Input[str]] = None, :param str insight_arn: The ARN of a Security Hub insight """ - ... + __args__ = dict() + __args__['insightArn'] = insight_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securityhub:getInsight', __args__, opts=opts, typ=GetInsightResult) + return __ret__.apply(lambda __response__: GetInsightResult( + filters=pulumi.get(__response__, 'filters'), + group_by_attribute=pulumi.get(__response__, 'group_by_attribute'), + insight_arn=pulumi.get(__response__, 'insight_arn'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_aws_native/securityhub/get_organization_configuration.py b/sdk/python/pulumi_aws_native/securityhub/get_organization_configuration.py index 9d8250df1c..a8d1f701a8 100644 --- a/sdk/python/pulumi_aws_native/securityhub/get_organization_configuration.py +++ b/sdk/python/pulumi_aws_native/securityhub/get_organization_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -135,9 +140,6 @@ def get_organization_configuration(organization_configuration_identifier: Option organization_configuration_identifier=pulumi.get(__ret__, 'organization_configuration_identifier'), status=pulumi.get(__ret__, 'status'), status_message=pulumi.get(__ret__, 'status_message')) - - -@_utilities.lift_output_func(get_organization_configuration) def get_organization_configuration_output(organization_configuration_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationConfigurationResult]: """ @@ -146,4 +148,15 @@ def get_organization_configuration_output(organization_configuration_identifier: :param str organization_configuration_identifier: The identifier of the OrganizationConfiguration being created and assigned as the unique identifier. """ - ... + __args__ = dict() + __args__['organizationConfigurationIdentifier'] = organization_configuration_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securityhub:getOrganizationConfiguration', __args__, opts=opts, typ=GetOrganizationConfigurationResult) + return __ret__.apply(lambda __response__: GetOrganizationConfigurationResult( + auto_enable=pulumi.get(__response__, 'auto_enable'), + auto_enable_standards=pulumi.get(__response__, 'auto_enable_standards'), + configuration_type=pulumi.get(__response__, 'configuration_type'), + member_account_limit_reached=pulumi.get(__response__, 'member_account_limit_reached'), + organization_configuration_identifier=pulumi.get(__response__, 'organization_configuration_identifier'), + status=pulumi.get(__response__, 'status'), + status_message=pulumi.get(__response__, 'status_message'))) diff --git a/sdk/python/pulumi_aws_native/securityhub/get_policy_association.py b/sdk/python/pulumi_aws_native/securityhub/get_policy_association.py index ce96024b66..8d0dfac158 100644 --- a/sdk/python/pulumi_aws_native/securityhub/get_policy_association.py +++ b/sdk/python/pulumi_aws_native/securityhub/get_policy_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -122,9 +127,6 @@ def get_policy_association(association_identifier: Optional[str] = None, association_type=pulumi.get(__ret__, 'association_type'), configuration_policy_id=pulumi.get(__ret__, 'configuration_policy_id'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_policy_association) def get_policy_association_output(association_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyAssociationResult]: """ @@ -133,4 +135,14 @@ def get_policy_association_output(association_identifier: Optional[pulumi.Input[ :param str association_identifier: A unique identifier to indicates if the target has an association """ - ... + __args__ = dict() + __args__['associationIdentifier'] = association_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securityhub:getPolicyAssociation', __args__, opts=opts, typ=GetPolicyAssociationResult) + return __ret__.apply(lambda __response__: GetPolicyAssociationResult( + association_identifier=pulumi.get(__response__, 'association_identifier'), + association_status=pulumi.get(__response__, 'association_status'), + association_status_message=pulumi.get(__response__, 'association_status_message'), + association_type=pulumi.get(__response__, 'association_type'), + configuration_policy_id=pulumi.get(__response__, 'configuration_policy_id'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/securityhub/get_product_subscription.py b/sdk/python/pulumi_aws_native/securityhub/get_product_subscription.py index 34fce9e13d..f6209bcc49 100644 --- a/sdk/python/pulumi_aws_native/securityhub/get_product_subscription.py +++ b/sdk/python/pulumi_aws_native/securityhub/get_product_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_product_subscription(product_subscription_arn: Optional[str] = None, return AwaitableGetProductSubscriptionResult( product_subscription_arn=pulumi.get(__ret__, 'product_subscription_arn')) - - -@_utilities.lift_output_func(get_product_subscription) def get_product_subscription_output(product_subscription_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProductSubscriptionResult]: """ @@ -67,4 +69,9 @@ def get_product_subscription_output(product_subscription_arn: Optional[pulumi.In :param str product_subscription_arn: The ARN of the product subscription for the account """ - ... + __args__ = dict() + __args__['productSubscriptionArn'] = product_subscription_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securityhub:getProductSubscription', __args__, opts=opts, typ=GetProductSubscriptionResult) + return __ret__.apply(lambda __response__: GetProductSubscriptionResult( + product_subscription_arn=pulumi.get(__response__, 'product_subscription_arn'))) diff --git a/sdk/python/pulumi_aws_native/securityhub/get_security_control.py b/sdk/python/pulumi_aws_native/securityhub/get_security_control.py index 668894cea3..7c1ca78923 100644 --- a/sdk/python/pulumi_aws_native/securityhub/get_security_control.py +++ b/sdk/python/pulumi_aws_native/securityhub/get_security_control.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -84,9 +89,6 @@ def get_security_control(security_control_id: Optional[str] = None, last_update_reason=pulumi.get(__ret__, 'last_update_reason'), parameters=pulumi.get(__ret__, 'parameters'), security_control_arn=pulumi.get(__ret__, 'security_control_arn')) - - -@_utilities.lift_output_func(get_security_control) def get_security_control_output(security_control_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityControlResult]: """ @@ -95,4 +97,11 @@ def get_security_control_output(security_control_id: Optional[pulumi.Input[str]] :param str security_control_id: The unique identifier of a security control across standards. Values for this field typically consist of an AWS service name and a number, such as APIGateway.3. """ - ... + __args__ = dict() + __args__['securityControlId'] = security_control_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securityhub:getSecurityControl', __args__, opts=opts, typ=GetSecurityControlResult) + return __ret__.apply(lambda __response__: GetSecurityControlResult( + last_update_reason=pulumi.get(__response__, 'last_update_reason'), + parameters=pulumi.get(__response__, 'parameters'), + security_control_arn=pulumi.get(__response__, 'security_control_arn'))) diff --git a/sdk/python/pulumi_aws_native/securityhub/get_standard.py b/sdk/python/pulumi_aws_native/securityhub/get_standard.py index 4dc2a7e85d..d19b055aae 100644 --- a/sdk/python/pulumi_aws_native/securityhub/get_standard.py +++ b/sdk/python/pulumi_aws_native/securityhub/get_standard.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -73,9 +78,6 @@ def get_standard(standards_subscription_arn: Optional[str] = None, return AwaitableGetStandardResult( disabled_standards_controls=pulumi.get(__ret__, 'disabled_standards_controls'), standards_subscription_arn=pulumi.get(__ret__, 'standards_subscription_arn')) - - -@_utilities.lift_output_func(get_standard) def get_standard_output(standards_subscription_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStandardResult]: """ @@ -86,4 +88,10 @@ def get_standard_output(standards_subscription_arn: Optional[pulumi.Input[str]] :param str standards_subscription_arn: The ARN of a resource that represents your subscription to a supported standard. """ - ... + __args__ = dict() + __args__['standardsSubscriptionArn'] = standards_subscription_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securityhub:getStandard', __args__, opts=opts, typ=GetStandardResult) + return __ret__.apply(lambda __response__: GetStandardResult( + disabled_standards_controls=pulumi.get(__response__, 'disabled_standards_controls'), + standards_subscription_arn=pulumi.get(__response__, 'standards_subscription_arn'))) diff --git a/sdk/python/pulumi_aws_native/securityhub/hub.py b/sdk/python/pulumi_aws_native/securityhub/hub.py index 8d6c2afb13..e254c8253e 100644 --- a/sdk/python/pulumi_aws_native/securityhub/hub.py +++ b/sdk/python/pulumi_aws_native/securityhub/hub.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['HubArgs', 'Hub'] diff --git a/sdk/python/pulumi_aws_native/securityhub/insight.py b/sdk/python/pulumi_aws_native/securityhub/insight.py index 8f529d8d87..84a9659c44 100644 --- a/sdk/python/pulumi_aws_native/securityhub/insight.py +++ b/sdk/python/pulumi_aws_native/securityhub/insight.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/securityhub/organization_configuration.py b/sdk/python/pulumi_aws_native/securityhub/organization_configuration.py index 50cdfd9bda..bf3b5a29ae 100644 --- a/sdk/python/pulumi_aws_native/securityhub/organization_configuration.py +++ b/sdk/python/pulumi_aws_native/securityhub/organization_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/securityhub/outputs.py b/sdk/python/pulumi_aws_native/securityhub/outputs.py index 11f8a1e4c7..34b24b4e69 100644 --- a/sdk/python/pulumi_aws_native/securityhub/outputs.py +++ b/sdk/python/pulumi_aws_native/securityhub/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/securityhub/policy_association.py b/sdk/python/pulumi_aws_native/securityhub/policy_association.py index 716d1f0088..978af1e16e 100644 --- a/sdk/python/pulumi_aws_native/securityhub/policy_association.py +++ b/sdk/python/pulumi_aws_native/securityhub/policy_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/securityhub/product_subscription.py b/sdk/python/pulumi_aws_native/securityhub/product_subscription.py index 485494a8da..8d4caa55b4 100644 --- a/sdk/python/pulumi_aws_native/securityhub/product_subscription.py +++ b/sdk/python/pulumi_aws_native/securityhub/product_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ProductSubscriptionArgs', 'ProductSubscription'] diff --git a/sdk/python/pulumi_aws_native/securityhub/security_control.py b/sdk/python/pulumi_aws_native/securityhub/security_control.py index d96ec31fc4..50af5004a0 100644 --- a/sdk/python/pulumi_aws_native/securityhub/security_control.py +++ b/sdk/python/pulumi_aws_native/securityhub/security_control.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/securityhub/standard.py b/sdk/python/pulumi_aws_native/securityhub/standard.py index 151616cf9a..f420667e5b 100644 --- a/sdk/python/pulumi_aws_native/securityhub/standard.py +++ b/sdk/python/pulumi_aws_native/securityhub/standard.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/securitylake/_inputs.py b/sdk/python/pulumi_aws_native/securitylake/_inputs.py index 88a3056881..e7f5918dd6 100644 --- a/sdk/python/pulumi_aws_native/securitylake/_inputs.py +++ b/sdk/python/pulumi_aws_native/securitylake/_inputs.py @@ -4,27 +4,58 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'DataLakeEncryptionConfigurationArgs', + 'DataLakeEncryptionConfigurationArgsDict', 'DataLakeExpirationArgs', + 'DataLakeExpirationArgsDict', 'DataLakeLifecycleConfigurationArgs', + 'DataLakeLifecycleConfigurationArgsDict', 'DataLakeReplicationConfigurationArgs', + 'DataLakeReplicationConfigurationArgsDict', 'DataLakeTransitionsArgs', + 'DataLakeTransitionsArgsDict', 'SubscriberAwsLogSourceArgs', + 'SubscriberAwsLogSourceArgsDict', 'SubscriberCustomLogSourceArgs', + 'SubscriberCustomLogSourceArgsDict', 'SubscriberIdentityPropertiesArgs', + 'SubscriberIdentityPropertiesArgsDict', 'SubscriberNotificationHttpsNotificationConfigurationArgs', + 'SubscriberNotificationHttpsNotificationConfigurationArgsDict', 'SubscriberNotificationNotificationConfigurationArgs', + 'SubscriberNotificationNotificationConfigurationArgsDict', 'SubscriberNotificationSqsNotificationConfigurationArgs', + 'SubscriberNotificationSqsNotificationConfigurationArgsDict', 'SubscriberSourceArgs', + 'SubscriberSourceArgsDict', ] +MYPY = False + +if not MYPY: + class DataLakeEncryptionConfigurationArgsDict(TypedDict): + """ + Provides encryption details of Amazon Security Lake object. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The id of KMS encryption key used by Amazon Security Lake to encrypt the Security Lake object. + """ +elif False: + DataLakeEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataLakeEncryptionConfigurationArgs: def __init__(__self__, *, @@ -49,6 +80,18 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class DataLakeExpirationArgsDict(TypedDict): + """ + Provides data expiration details of Amazon Security Lake object. + """ + days: NotRequired[pulumi.Input[int]] + """ + The number of days before data expires in the Amazon Security Lake object. + """ +elif False: + DataLakeExpirationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataLakeExpirationArgs: def __init__(__self__, *, @@ -73,6 +116,22 @@ def days(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "days", value) +if not MYPY: + class DataLakeLifecycleConfigurationArgsDict(TypedDict): + """ + Provides lifecycle details of Amazon Security Lake object. + """ + expiration: NotRequired[pulumi.Input['DataLakeExpirationArgsDict']] + """ + Provides data expiration details of the Amazon Security Lake object. + """ + transitions: NotRequired[pulumi.Input[Sequence[pulumi.Input['DataLakeTransitionsArgsDict']]]] + """ + Provides data storage transition details of Amazon Security Lake object. + """ +elif False: + DataLakeLifecycleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataLakeLifecycleConfigurationArgs: def __init__(__self__, *, @@ -113,6 +172,24 @@ def transitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DataLa pulumi.set(self, "transitions", value) +if not MYPY: + class DataLakeReplicationConfigurationArgsDict(TypedDict): + """ + Provides replication details of Amazon Security Lake object. + """ + regions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Specifies one or more centralized rollup Regions. The AWS Region specified in the region parameter of the `CreateDataLake` or `UpdateDataLake` operations contributes data to the rollup Region or Regions specified in this parameter. + + Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. S3 buckets that are configured for object replication can be owned by the same AWS account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets. The destination buckets can be in different Regions or within the same Region as the source bucket. + """ + role_arn: NotRequired[pulumi.Input[str]] + """ + Replication settings for the Amazon S3 buckets. This parameter uses the AWS Identity and Access Management (IAM) role you created that is managed by Security Lake, to ensure the replication setting is correct. + """ +elif False: + DataLakeReplicationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataLakeReplicationConfigurationArgs: def __init__(__self__, *, @@ -157,6 +234,19 @@ def role_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "role_arn", value) +if not MYPY: + class DataLakeTransitionsArgsDict(TypedDict): + days: NotRequired[pulumi.Input[int]] + """ + Number of days before data transitions to a different S3 Storage Class in the Amazon Security Lake object. + """ + storage_class: NotRequired[pulumi.Input[str]] + """ + The range of storage classes that you can choose from based on the data access, resiliency, and cost requirements of your workloads. + """ +elif False: + DataLakeTransitionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DataLakeTransitionsArgs: def __init__(__self__, *, @@ -196,6 +286,22 @@ def storage_class(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "storage_class", value) +if not MYPY: + class SubscriberAwsLogSourceArgsDict(TypedDict): + """ + Amazon Security Lake supports log and event collection for natively supported AWS services. + """ + source_name: NotRequired[pulumi.Input[str]] + """ + The name for a AWS source. This must be a Regionally unique value. + """ + source_version: NotRequired[pulumi.Input[str]] + """ + The version for a AWS source. This must be a Regionally unique value. + """ +elif False: + SubscriberAwsLogSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SubscriberAwsLogSourceArgs: def __init__(__self__, *, @@ -236,6 +342,19 @@ def source_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_version", value) +if not MYPY: + class SubscriberCustomLogSourceArgsDict(TypedDict): + source_name: NotRequired[pulumi.Input[str]] + """ + The name for a third-party custom source. This must be a Regionally unique value. + """ + source_version: NotRequired[pulumi.Input[str]] + """ + The version for a third-party custom source. This must be a Regionally unique value. + """ +elif False: + SubscriberCustomLogSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SubscriberCustomLogSourceArgs: def __init__(__self__, *, @@ -275,6 +394,22 @@ def source_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_version", value) +if not MYPY: + class SubscriberIdentityPropertiesArgsDict(TypedDict): + """ + The AWS identity used to access your data. + """ + external_id: pulumi.Input[str] + """ + The external ID used to establish trust relationship with the AWS identity. + """ + principal: pulumi.Input[str] + """ + The AWS identity principal. + """ +elif False: + SubscriberIdentityPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SubscriberIdentityPropertiesArgs: def __init__(__self__, *, @@ -313,6 +448,34 @@ def principal(self, value: pulumi.Input[str]): pulumi.set(self, "principal", value) +if not MYPY: + class SubscriberNotificationHttpsNotificationConfigurationArgsDict(TypedDict): + """ + The configuration for HTTPS subscriber notification. + """ + endpoint: pulumi.Input[str] + """ + The subscription endpoint in Security Lake. + """ + target_role_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created. + """ + authorization_api_key_name: NotRequired[pulumi.Input[str]] + """ + The key name for the notification subscription. + """ + authorization_api_key_value: NotRequired[pulumi.Input[str]] + """ + The key value for the notification subscription. + """ + http_method: NotRequired[pulumi.Input['SubscriberNotificationHttpsNotificationConfigurationHttpMethod']] + """ + The HTTPS method used for the notification subscription. + """ +elif False: + SubscriberNotificationHttpsNotificationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SubscriberNotificationHttpsNotificationConfigurationArgs: def __init__(__self__, *, @@ -399,6 +562,19 @@ def http_method(self, value: Optional[pulumi.Input['SubscriberNotificationHttpsN pulumi.set(self, "http_method", value) +if not MYPY: + class SubscriberNotificationNotificationConfigurationArgsDict(TypedDict): + https_notification_configuration: NotRequired[pulumi.Input['SubscriberNotificationHttpsNotificationConfigurationArgsDict']] + """ + The configurations used for HTTPS subscriber notification. + """ + sqs_notification_configuration: NotRequired[pulumi.Input['SubscriberNotificationSqsNotificationConfigurationArgsDict']] + """ + The configurations for SQS subscriber notification. The members of this structure are context-dependent. + """ +elif False: + SubscriberNotificationNotificationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SubscriberNotificationNotificationConfigurationArgs: def __init__(__self__, *, @@ -438,6 +614,15 @@ def sqs_notification_configuration(self, value: Optional[pulumi.Input['Subscribe pulumi.set(self, "sqs_notification_configuration", value) +if not MYPY: + class SubscriberNotificationSqsNotificationConfigurationArgsDict(TypedDict): + """ + The configurations for SQS subscriber notification. The members of this structure are context-dependent. + """ + pass +elif False: + SubscriberNotificationSqsNotificationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SubscriberNotificationSqsNotificationConfigurationArgs: def __init__(__self__): @@ -447,6 +632,13 @@ def __init__(__self__): pass +if not MYPY: + class SubscriberSourceArgsDict(TypedDict): + aws_log_source: NotRequired[pulumi.Input['SubscriberAwsLogSourceArgsDict']] + custom_log_source: NotRequired[pulumi.Input['SubscriberCustomLogSourceArgsDict']] +elif False: + SubscriberSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SubscriberSourceArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/securitylake/aws_log_source.py b/sdk/python/pulumi_aws_native/securitylake/aws_log_source.py index 8240be200c..1ae9752bf5 100644 --- a/sdk/python/pulumi_aws_native/securitylake/aws_log_source.py +++ b/sdk/python/pulumi_aws_native/securitylake/aws_log_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['AwsLogSourceArgs', 'AwsLogSource'] diff --git a/sdk/python/pulumi_aws_native/securitylake/data_lake.py b/sdk/python/pulumi_aws_native/securitylake/data_lake.py index 46c3b5f7b7..ec0ad6d40d 100644 --- a/sdk/python/pulumi_aws_native/securitylake/data_lake.py +++ b/sdk/python/pulumi_aws_native/securitylake/data_lake.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/securitylake/get_aws_log_source.py b/sdk/python/pulumi_aws_native/securitylake/get_aws_log_source.py index 7170c01cb5..2d785c611b 100644 --- a/sdk/python/pulumi_aws_native/securitylake/get_aws_log_source.py +++ b/sdk/python/pulumi_aws_native/securitylake/get_aws_log_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -59,9 +64,6 @@ def get_aws_log_source(source_name: Optional[str] = None, return AwaitableGetAwsLogSourceResult( accounts=pulumi.get(__ret__, 'accounts')) - - -@_utilities.lift_output_func(get_aws_log_source) def get_aws_log_source_output(source_name: Optional[pulumi.Input[str]] = None, source_version: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwsLogSourceResult]: @@ -72,4 +74,10 @@ def get_aws_log_source_output(source_name: Optional[pulumi.Input[str]] = None, :param str source_name: The name for a AWS source. This must be a Regionally unique value. :param str source_version: The version for a AWS source. This must be a Regionally unique value. """ - ... + __args__ = dict() + __args__['sourceName'] = source_name + __args__['sourceVersion'] = source_version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securitylake:getAwsLogSource', __args__, opts=opts, typ=GetAwsLogSourceResult) + return __ret__.apply(lambda __response__: GetAwsLogSourceResult( + accounts=pulumi.get(__response__, 'accounts'))) diff --git a/sdk/python/pulumi_aws_native/securitylake/get_data_lake.py b/sdk/python/pulumi_aws_native/securitylake/get_data_lake.py index 127640792c..31250a64d6 100644 --- a/sdk/python/pulumi_aws_native/securitylake/get_data_lake.py +++ b/sdk/python/pulumi_aws_native/securitylake/get_data_lake.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -123,9 +128,6 @@ def get_data_lake(arn: Optional[str] = None, replication_configuration=pulumi.get(__ret__, 'replication_configuration'), s3_bucket_arn=pulumi.get(__ret__, 's3_bucket_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_data_lake) def get_data_lake_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDataLakeResult]: """ @@ -134,4 +136,14 @@ def get_data_lake_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) created by you to provide to the subscriber. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securitylake:getDataLake', __args__, opts=opts, typ=GetDataLakeResult) + return __ret__.apply(lambda __response__: GetDataLakeResult( + arn=pulumi.get(__response__, 'arn'), + encryption_configuration=pulumi.get(__response__, 'encryption_configuration'), + lifecycle_configuration=pulumi.get(__response__, 'lifecycle_configuration'), + replication_configuration=pulumi.get(__response__, 'replication_configuration'), + s3_bucket_arn=pulumi.get(__response__, 's3_bucket_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/securitylake/get_subscriber.py b/sdk/python/pulumi_aws_native/securitylake/get_subscriber.py index ff285ceba6..eb591f0310 100644 --- a/sdk/python/pulumi_aws_native/securitylake/get_subscriber.py +++ b/sdk/python/pulumi_aws_native/securitylake/get_subscriber.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -191,9 +196,6 @@ def get_subscriber(subscriber_arn: Optional[str] = None, subscriber_name=pulumi.get(__ret__, 'subscriber_name'), subscriber_role_arn=pulumi.get(__ret__, 'subscriber_role_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_subscriber) def get_subscriber_output(subscriber_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubscriberResult]: """ @@ -202,4 +204,19 @@ def get_subscriber_output(subscriber_arn: Optional[pulumi.Input[str]] = None, :param str subscriber_arn: The Amazon Resource Name (ARN) of the Security Lake subscriber. """ - ... + __args__ = dict() + __args__['subscriberArn'] = subscriber_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securitylake:getSubscriber', __args__, opts=opts, typ=GetSubscriberResult) + return __ret__.apply(lambda __response__: GetSubscriberResult( + access_types=pulumi.get(__response__, 'access_types'), + resource_share_arn=pulumi.get(__response__, 'resource_share_arn'), + resource_share_name=pulumi.get(__response__, 'resource_share_name'), + s3_bucket_arn=pulumi.get(__response__, 's3_bucket_arn'), + sources=pulumi.get(__response__, 'sources'), + subscriber_arn=pulumi.get(__response__, 'subscriber_arn'), + subscriber_description=pulumi.get(__response__, 'subscriber_description'), + subscriber_identity=pulumi.get(__response__, 'subscriber_identity'), + subscriber_name=pulumi.get(__response__, 'subscriber_name'), + subscriber_role_arn=pulumi.get(__response__, 'subscriber_role_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/securitylake/get_subscriber_notification.py b/sdk/python/pulumi_aws_native/securitylake/get_subscriber_notification.py index c7cd0da1e1..9e29b5bbc7 100644 --- a/sdk/python/pulumi_aws_native/securitylake/get_subscriber_notification.py +++ b/sdk/python/pulumi_aws_native/securitylake/get_subscriber_notification.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -71,9 +76,6 @@ def get_subscriber_notification(subscriber_arn: Optional[str] = None, return AwaitableGetSubscriberNotificationResult( notification_configuration=pulumi.get(__ret__, 'notification_configuration'), subscriber_endpoint=pulumi.get(__ret__, 'subscriber_endpoint')) - - -@_utilities.lift_output_func(get_subscriber_notification) def get_subscriber_notification_output(subscriber_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubscriberNotificationResult]: """ @@ -82,4 +84,10 @@ def get_subscriber_notification_output(subscriber_arn: Optional[pulumi.Input[str :param str subscriber_arn: The ARN for the subscriber """ - ... + __args__ = dict() + __args__['subscriberArn'] = subscriber_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:securitylake:getSubscriberNotification', __args__, opts=opts, typ=GetSubscriberNotificationResult) + return __ret__.apply(lambda __response__: GetSubscriberNotificationResult( + notification_configuration=pulumi.get(__response__, 'notification_configuration'), + subscriber_endpoint=pulumi.get(__response__, 'subscriber_endpoint'))) diff --git a/sdk/python/pulumi_aws_native/securitylake/outputs.py b/sdk/python/pulumi_aws_native/securitylake/outputs.py index 36d2ffbd3a..aeff0d2c0d 100644 --- a/sdk/python/pulumi_aws_native/securitylake/outputs.py +++ b/sdk/python/pulumi_aws_native/securitylake/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/securitylake/subscriber.py b/sdk/python/pulumi_aws_native/securitylake/subscriber.py index 500d197d91..3d7b024023 100644 --- a/sdk/python/pulumi_aws_native/securitylake/subscriber.py +++ b/sdk/python/pulumi_aws_native/securitylake/subscriber.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/securitylake/subscriber_notification.py b/sdk/python/pulumi_aws_native/securitylake/subscriber_notification.py index f3d83fafe6..6607ba8768 100644 --- a/sdk/python/pulumi_aws_native/securitylake/subscriber_notification.py +++ b/sdk/python/pulumi_aws_native/securitylake/subscriber_notification.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/servicecatalog/_inputs.py b/sdk/python/pulumi_aws_native/servicecatalog/_inputs.py index 6676fedfd9..b9556265f3 100644 --- a/sdk/python/pulumi_aws_native/servicecatalog/_inputs.py +++ b/sdk/python/pulumi_aws_native/servicecatalog/_inputs.py @@ -4,18 +4,41 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CloudFormationProvisionedProductProvisioningParameterArgs', + 'CloudFormationProvisionedProductProvisioningParameterArgsDict', 'CloudFormationProvisionedProductProvisioningPreferencesArgs', + 'CloudFormationProvisionedProductProvisioningPreferencesArgsDict', 'ServiceActionDefinitionParameterArgs', + 'ServiceActionDefinitionParameterArgsDict', ] +MYPY = False + +if not MYPY: + class CloudFormationProvisionedProductProvisioningParameterArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The parameter key. + """ + value: pulumi.Input[str] + """ + The parameter value. + """ +elif False: + CloudFormationProvisionedProductProvisioningParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CloudFormationProvisionedProductProvisioningParameterArgs: def __init__(__self__, *, @@ -53,6 +76,83 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class CloudFormationProvisionedProductProvisioningPreferencesArgsDict(TypedDict): + stack_set_accounts: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + One or more AWS accounts where the provisioned product will be available. + + Applicable only to a `CFN_STACKSET` provisioned product type. + + The specified accounts should be within the list of accounts from the `STACKSET` constraint. To get the list of accounts in the `STACKSET` constraint, use the `DescribeProvisioningParameters` operation. + + If no values are specified, the default value is all acounts from the `STACKSET` constraint. + """ + stack_set_failure_tolerance_count: NotRequired[pulumi.Input[int]] + """ + The number of accounts, per Region, for which this operation can fail before AWS Service Catalog stops the operation in that Region. If the operation is stopped in a Region, AWS Service Catalog doesn't attempt the operation in any subsequent Regions. + + Applicable only to a `CFN_STACKSET` provisioned product type. + + Conditional: You must specify either `StackSetFailureToleranceCount` or `StackSetFailureTolerancePercentage` , but not both. + + The default value is `0` if no value is specified. + """ + stack_set_failure_tolerance_percentage: NotRequired[pulumi.Input[int]] + """ + The percentage of accounts, per Region, for which this stack operation can fail before AWS Service Catalog stops the operation in that Region. If the operation is stopped in a Region, AWS Service Catalog doesn't attempt the operation in any subsequent Regions. + + When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. + + Applicable only to a `CFN_STACKSET` provisioned product type. + + Conditional: You must specify either `StackSetFailureToleranceCount` or `StackSetFailureTolerancePercentage` , but not both. + """ + stack_set_max_concurrency_count: NotRequired[pulumi.Input[int]] + """ + The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of `StackSetFailureToleranceCount` . `StackSetMaxConcurrentCount` is at most one more than the `StackSetFailureToleranceCount` . + + Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. + + Applicable only to a `CFN_STACKSET` provisioned product type. + + Conditional: You must specify either `StackSetMaxConcurrentCount` or `StackSetMaxConcurrentPercentage` , but not both. + """ + stack_set_max_concurrency_percentage: NotRequired[pulumi.Input[int]] + """ + The maximum percentage of accounts in which to perform this operation at one time. + + When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as `1` instead. + + Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. + + Applicable only to a `CFN_STACKSET` provisioned product type. + + Conditional: You must specify either `StackSetMaxConcurrentCount` or `StackSetMaxConcurrentPercentage` , but not both. + """ + stack_set_operation_type: NotRequired[pulumi.Input['CloudFormationProvisionedProductProvisioningPreferencesStackSetOperationType']] + """ + Determines what action AWS Service Catalog performs to a stack set or a stack instance represented by the provisioned product. The default value is `UPDATE` if nothing is specified. + + Applicable only to a `CFN_STACKSET` provisioned product type. + + - **CREATE** - Creates a new stack instance in the stack set represented by the provisioned product. In this case, only new stack instances are created based on accounts and Regions; if new ProductId or ProvisioningArtifactID are passed, they will be ignored. + - **UPDATE** - Updates the stack set represented by the provisioned product and also its stack instances. + - **DELETE** - Deletes a stack instance in the stack set represented by the provisioned product. + """ + stack_set_regions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + One or more AWS Regions where the provisioned product will be available. + + Applicable only to a `CFN_STACKSET` provisioned product type. + + The specified Regions should be within the list of Regions from the `STACKSET` constraint. To get the list of Regions in the `STACKSET` constraint, use the `DescribeProvisioningParameters` operation. + + If no values are specified, the default value is all Regions from the `STACKSET` constraint. + """ +elif False: + CloudFormationProvisionedProductProvisioningPreferencesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CloudFormationProvisionedProductProvisioningPreferencesArgs: def __init__(__self__, *, @@ -260,6 +360,19 @@ def stack_set_regions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[s pulumi.set(self, "stack_set_regions", value) +if not MYPY: + class ServiceActionDefinitionParameterArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The parameter key. + """ + value: pulumi.Input[str] + """ + The value of the parameter. + """ +elif False: + ServiceActionDefinitionParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceActionDefinitionParameterArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/servicecatalog/cloud_formation_provisioned_product.py b/sdk/python/pulumi_aws_native/servicecatalog/cloud_formation_provisioned_product.py index 44587b5c0c..32f02b5a46 100644 --- a/sdk/python/pulumi_aws_native/servicecatalog/cloud_formation_provisioned_product.py +++ b/sdk/python/pulumi_aws_native/servicecatalog/cloud_formation_provisioned_product.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/servicecatalog/get_cloud_formation_provisioned_product.py b/sdk/python/pulumi_aws_native/servicecatalog/get_cloud_formation_provisioned_product.py index e39328dbca..23e8084f7e 100644 --- a/sdk/python/pulumi_aws_native/servicecatalog/get_cloud_formation_provisioned_product.py +++ b/sdk/python/pulumi_aws_native/servicecatalog/get_cloud_formation_provisioned_product.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -244,9 +249,6 @@ def get_cloud_formation_provisioned_product(provisioned_product_id: Optional[str provisioning_preferences=pulumi.get(__ret__, 'provisioning_preferences'), record_id=pulumi.get(__ret__, 'record_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_cloud_formation_provisioned_product) def get_cloud_formation_provisioned_product_output(provisioned_product_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCloudFormationProvisionedProductResult]: """ @@ -255,4 +257,22 @@ def get_cloud_formation_provisioned_product_output(provisioned_product_id: Optio :param str provisioned_product_id: The ID of the provisioned product. """ - ... + __args__ = dict() + __args__['provisionedProductId'] = provisioned_product_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:servicecatalog:getCloudFormationProvisionedProduct', __args__, opts=opts, typ=GetCloudFormationProvisionedProductResult) + return __ret__.apply(lambda __response__: GetCloudFormationProvisionedProductResult( + accept_language=pulumi.get(__response__, 'accept_language'), + cloudformation_stack_arn=pulumi.get(__response__, 'cloudformation_stack_arn'), + outputs=pulumi.get(__response__, 'outputs'), + path_id=pulumi.get(__response__, 'path_id'), + path_name=pulumi.get(__response__, 'path_name'), + product_id=pulumi.get(__response__, 'product_id'), + product_name=pulumi.get(__response__, 'product_name'), + provisioned_product_id=pulumi.get(__response__, 'provisioned_product_id'), + provisioning_artifact_id=pulumi.get(__response__, 'provisioning_artifact_id'), + provisioning_artifact_name=pulumi.get(__response__, 'provisioning_artifact_name'), + provisioning_parameters=pulumi.get(__response__, 'provisioning_parameters'), + provisioning_preferences=pulumi.get(__response__, 'provisioning_preferences'), + record_id=pulumi.get(__response__, 'record_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/servicecatalog/get_service_action.py b/sdk/python/pulumi_aws_native/servicecatalog/get_service_action.py index bcf3377cec..4ea27f7a12 100644 --- a/sdk/python/pulumi_aws_native/servicecatalog/get_service_action.py +++ b/sdk/python/pulumi_aws_native/servicecatalog/get_service_action.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -110,9 +115,6 @@ def get_service_action(id: Optional[str] = None, description=pulumi.get(__ret__, 'description'), id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name')) - - -@_utilities.lift_output_func(get_service_action) def get_service_action_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceActionResult]: """ @@ -121,4 +123,13 @@ def get_service_action_output(id: Optional[pulumi.Input[str]] = None, :param str id: The self-service action identifier. For example, `act-fs7abcd89wxyz` . """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:servicecatalog:getServiceAction', __args__, opts=opts, typ=GetServiceActionResult) + return __ret__.apply(lambda __response__: GetServiceActionResult( + definition=pulumi.get(__response__, 'definition'), + definition_type=pulumi.get(__response__, 'definition_type'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'))) diff --git a/sdk/python/pulumi_aws_native/servicecatalog/outputs.py b/sdk/python/pulumi_aws_native/servicecatalog/outputs.py index 25b94b8575..179400168b 100644 --- a/sdk/python/pulumi_aws_native/servicecatalog/outputs.py +++ b/sdk/python/pulumi_aws_native/servicecatalog/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/servicecatalog/service_action.py b/sdk/python/pulumi_aws_native/servicecatalog/service_action.py index b5185b53d3..f11af66adc 100644 --- a/sdk/python/pulumi_aws_native/servicecatalog/service_action.py +++ b/sdk/python/pulumi_aws_native/servicecatalog/service_action.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/servicecatalog/service_action_association.py b/sdk/python/pulumi_aws_native/servicecatalog/service_action_association.py index 5db87716fb..194c4c86b4 100644 --- a/sdk/python/pulumi_aws_native/servicecatalog/service_action_association.py +++ b/sdk/python/pulumi_aws_native/servicecatalog/service_action_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ServiceActionAssociationArgs', 'ServiceActionAssociation'] diff --git a/sdk/python/pulumi_aws_native/servicecatalogappregistry/application.py b/sdk/python/pulumi_aws_native/servicecatalogappregistry/application.py index 48243bc85d..51c40b6295 100644 --- a/sdk/python/pulumi_aws_native/servicecatalogappregistry/application.py +++ b/sdk/python/pulumi_aws_native/servicecatalogappregistry/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ApplicationArgs', 'Application'] diff --git a/sdk/python/pulumi_aws_native/servicecatalogappregistry/attribute_group.py b/sdk/python/pulumi_aws_native/servicecatalogappregistry/attribute_group.py index 2fac3f468a..390ad653c9 100644 --- a/sdk/python/pulumi_aws_native/servicecatalogappregistry/attribute_group.py +++ b/sdk/python/pulumi_aws_native/servicecatalogappregistry/attribute_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['AttributeGroupArgs', 'AttributeGroup'] diff --git a/sdk/python/pulumi_aws_native/servicecatalogappregistry/attribute_group_association.py b/sdk/python/pulumi_aws_native/servicecatalogappregistry/attribute_group_association.py index 1ae32c34f1..75d2417519 100644 --- a/sdk/python/pulumi_aws_native/servicecatalogappregistry/attribute_group_association.py +++ b/sdk/python/pulumi_aws_native/servicecatalogappregistry/attribute_group_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['AttributeGroupAssociationArgs', 'AttributeGroupAssociation'] diff --git a/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_application.py b/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_application.py index e750981794..409f6be5d8 100644 --- a/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_application.py +++ b/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -147,9 +152,6 @@ def get_application(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application) def get_application_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -158,4 +160,16 @@ def get_application_output(id: Optional[pulumi.Input[str]] = None, :param str id: The identifier of the application. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:servicecatalogappregistry:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + application_name=pulumi.get(__response__, 'application_name'), + application_tag_key=pulumi.get(__response__, 'application_tag_key'), + application_tag_value=pulumi.get(__response__, 'application_tag_value'), + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_attribute_group.py b/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_attribute_group.py index 71384039a1..b6645264ad 100644 --- a/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_attribute_group.py +++ b/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_attribute_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -123,9 +128,6 @@ def get_attribute_group(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_attribute_group) def get_attribute_group_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAttributeGroupResult]: """ @@ -134,4 +136,14 @@ def get_attribute_group_output(id: Optional[pulumi.Input[str]] = None, :param str id: The globally unique attribute group identifier of the attribute group. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:servicecatalogappregistry:getAttributeGroup', __args__, opts=opts, typ=GetAttributeGroupResult) + return __ret__.apply(lambda __response__: GetAttributeGroupResult( + arn=pulumi.get(__response__, 'arn'), + attributes=pulumi.get(__response__, 'attributes'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_attribute_group_association.py b/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_attribute_group_association.py index 60f5929a69..c4cd2d5c8f 100644 --- a/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_attribute_group_association.py +++ b/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_attribute_group_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -72,9 +77,6 @@ def get_attribute_group_association(application_arn: Optional[str] = None, return AwaitableGetAttributeGroupAssociationResult( application_arn=pulumi.get(__ret__, 'application_arn'), attribute_group_arn=pulumi.get(__ret__, 'attribute_group_arn')) - - -@_utilities.lift_output_func(get_attribute_group_association) def get_attribute_group_association_output(application_arn: Optional[pulumi.Input[str]] = None, attribute_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAttributeGroupAssociationResult]: @@ -85,4 +87,11 @@ def get_attribute_group_association_output(application_arn: Optional[pulumi.Inpu :param str application_arn: The Amazon resource name (ARN) of the application that was augmented with attributes. :param str attribute_group_arn: The Amazon resource name (ARN) of the attribute group which contains the application's new attributes. """ - ... + __args__ = dict() + __args__['applicationArn'] = application_arn + __args__['attributeGroupArn'] = attribute_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:servicecatalogappregistry:getAttributeGroupAssociation', __args__, opts=opts, typ=GetAttributeGroupAssociationResult) + return __ret__.apply(lambda __response__: GetAttributeGroupAssociationResult( + application_arn=pulumi.get(__response__, 'application_arn'), + attribute_group_arn=pulumi.get(__response__, 'attribute_group_arn'))) diff --git a/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_resource_association.py b/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_resource_association.py index c7195c9257..e1fccf8faa 100644 --- a/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_resource_association.py +++ b/sdk/python/pulumi_aws_native/servicecatalogappregistry/get_resource_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -76,9 +81,6 @@ def get_resource_association(application_arn: Optional[str] = None, return AwaitableGetResourceAssociationResult( application_arn=pulumi.get(__ret__, 'application_arn'), resource_arn=pulumi.get(__ret__, 'resource_arn')) - - -@_utilities.lift_output_func(get_resource_association) def get_resource_association_output(application_arn: Optional[pulumi.Input[str]] = None, resource_arn: Optional[pulumi.Input[str]] = None, resource_type: Optional[pulumi.Input['ResourceAssociationResourceType']] = None, @@ -91,4 +93,12 @@ def get_resource_association_output(application_arn: Optional[pulumi.Input[str]] :param str resource_arn: The Amazon resource name (ARN) that specifies the resource. :param 'ResourceAssociationResourceType' resource_type: The type of the CFN Resource for now it's enum CFN_STACK. """ - ... + __args__ = dict() + __args__['applicationArn'] = application_arn + __args__['resourceArn'] = resource_arn + __args__['resourceType'] = resource_type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:servicecatalogappregistry:getResourceAssociation', __args__, opts=opts, typ=GetResourceAssociationResult) + return __ret__.apply(lambda __response__: GetResourceAssociationResult( + application_arn=pulumi.get(__response__, 'application_arn'), + resource_arn=pulumi.get(__response__, 'resource_arn'))) diff --git a/sdk/python/pulumi_aws_native/servicecatalogappregistry/resource_association.py b/sdk/python/pulumi_aws_native/servicecatalogappregistry/resource_association.py index 86305ebb0b..9f719f0e08 100644 --- a/sdk/python/pulumi_aws_native/servicecatalogappregistry/resource_association.py +++ b/sdk/python/pulumi_aws_native/servicecatalogappregistry/resource_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ses/_inputs.py b/sdk/python/pulumi_aws_native/ses/_inputs.py index 27bd6e7516..ae7c0fa1a3 100644 --- a/sdk/python/pulumi_aws_native/ses/_inputs.py +++ b/sdk/python/pulumi_aws_native/ses/_inputs.py @@ -4,95 +4,194 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ConfigurationSetDashboardOptionsArgs', + 'ConfigurationSetDashboardOptionsArgsDict', 'ConfigurationSetDeliveryOptionsArgs', + 'ConfigurationSetDeliveryOptionsArgsDict', 'ConfigurationSetEventDestinationCloudWatchDestinationArgs', + 'ConfigurationSetEventDestinationCloudWatchDestinationArgsDict', 'ConfigurationSetEventDestinationDimensionConfigurationArgs', + 'ConfigurationSetEventDestinationDimensionConfigurationArgsDict', 'ConfigurationSetEventDestinationEventBridgeDestinationArgs', + 'ConfigurationSetEventDestinationEventBridgeDestinationArgsDict', 'ConfigurationSetEventDestinationEventDestinationArgs', + 'ConfigurationSetEventDestinationEventDestinationArgsDict', 'ConfigurationSetEventDestinationKinesisFirehoseDestinationArgs', + 'ConfigurationSetEventDestinationKinesisFirehoseDestinationArgsDict', 'ConfigurationSetEventDestinationSnsDestinationArgs', + 'ConfigurationSetEventDestinationSnsDestinationArgsDict', 'ConfigurationSetGuardianOptionsArgs', + 'ConfigurationSetGuardianOptionsArgsDict', 'ConfigurationSetReputationOptionsArgs', + 'ConfigurationSetReputationOptionsArgsDict', 'ConfigurationSetSendingOptionsArgs', + 'ConfigurationSetSendingOptionsArgsDict', 'ConfigurationSetSuppressionOptionsArgs', + 'ConfigurationSetSuppressionOptionsArgsDict', 'ConfigurationSetTrackingOptionsArgs', + 'ConfigurationSetTrackingOptionsArgsDict', 'ConfigurationSetVdmOptionsArgs', + 'ConfigurationSetVdmOptionsArgsDict', 'ContactListTopicArgs', + 'ContactListTopicArgsDict', 'EmailIdentityConfigurationSetAttributesArgs', + 'EmailIdentityConfigurationSetAttributesArgsDict', 'EmailIdentityDkimAttributesArgs', + 'EmailIdentityDkimAttributesArgsDict', 'EmailIdentityDkimSigningAttributesArgs', + 'EmailIdentityDkimSigningAttributesArgsDict', 'EmailIdentityFeedbackAttributesArgs', + 'EmailIdentityFeedbackAttributesArgsDict', 'EmailIdentityMailFromAttributesArgs', + 'EmailIdentityMailFromAttributesArgsDict', 'MailManagerArchiveArchiveRetentionPropertiesArgs', + 'MailManagerArchiveArchiveRetentionPropertiesArgsDict', 'MailManagerIngressPointIngressPointConfiguration0PropertiesArgs', + 'MailManagerIngressPointIngressPointConfiguration0PropertiesArgsDict', 'MailManagerIngressPointIngressPointConfiguration1PropertiesArgs', + 'MailManagerIngressPointIngressPointConfiguration1PropertiesArgsDict', 'MailManagerRelayNoAuthenticationArgs', + 'MailManagerRelayNoAuthenticationArgsDict', 'MailManagerRelayRelayAuthentication0PropertiesArgs', + 'MailManagerRelayRelayAuthentication0PropertiesArgsDict', 'MailManagerRelayRelayAuthentication1PropertiesArgs', + 'MailManagerRelayRelayAuthentication1PropertiesArgsDict', 'MailManagerRuleSetAddHeaderActionArgs', + 'MailManagerRuleSetAddHeaderActionArgsDict', 'MailManagerRuleSetAnalysisArgs', + 'MailManagerRuleSetAnalysisArgsDict', 'MailManagerRuleSetArchiveActionArgs', + 'MailManagerRuleSetArchiveActionArgsDict', 'MailManagerRuleSetDeliverToMailboxActionArgs', + 'MailManagerRuleSetDeliverToMailboxActionArgsDict', 'MailManagerRuleSetDropActionArgs', + 'MailManagerRuleSetDropActionArgsDict', 'MailManagerRuleSetRelayActionArgs', + 'MailManagerRuleSetRelayActionArgsDict', 'MailManagerRuleSetReplaceRecipientActionArgs', + 'MailManagerRuleSetReplaceRecipientActionArgsDict', 'MailManagerRuleSetRuleAction0PropertiesArgs', + 'MailManagerRuleSetRuleAction0PropertiesArgsDict', 'MailManagerRuleSetRuleAction1PropertiesArgs', + 'MailManagerRuleSetRuleAction1PropertiesArgsDict', 'MailManagerRuleSetRuleAction2PropertiesArgs', + 'MailManagerRuleSetRuleAction2PropertiesArgsDict', 'MailManagerRuleSetRuleAction3PropertiesArgs', + 'MailManagerRuleSetRuleAction3PropertiesArgsDict', 'MailManagerRuleSetRuleAction4PropertiesArgs', + 'MailManagerRuleSetRuleAction4PropertiesArgsDict', 'MailManagerRuleSetRuleAction5PropertiesArgs', + 'MailManagerRuleSetRuleAction5PropertiesArgsDict', 'MailManagerRuleSetRuleAction6PropertiesArgs', + 'MailManagerRuleSetRuleAction6PropertiesArgsDict', 'MailManagerRuleSetRuleAction7PropertiesArgs', + 'MailManagerRuleSetRuleAction7PropertiesArgsDict', 'MailManagerRuleSetRuleBooleanExpressionArgs', + 'MailManagerRuleSetRuleBooleanExpressionArgsDict', 'MailManagerRuleSetRuleBooleanToEvaluatePropertiesArgs', + 'MailManagerRuleSetRuleBooleanToEvaluatePropertiesArgsDict', 'MailManagerRuleSetRuleCondition0PropertiesArgs', + 'MailManagerRuleSetRuleCondition0PropertiesArgsDict', 'MailManagerRuleSetRuleCondition1PropertiesArgs', + 'MailManagerRuleSetRuleCondition1PropertiesArgsDict', 'MailManagerRuleSetRuleCondition2PropertiesArgs', + 'MailManagerRuleSetRuleCondition2PropertiesArgsDict', 'MailManagerRuleSetRuleCondition3PropertiesArgs', + 'MailManagerRuleSetRuleCondition3PropertiesArgsDict', 'MailManagerRuleSetRuleCondition4PropertiesArgs', + 'MailManagerRuleSetRuleCondition4PropertiesArgsDict', 'MailManagerRuleSetRuleCondition5PropertiesArgs', + 'MailManagerRuleSetRuleCondition5PropertiesArgsDict', 'MailManagerRuleSetRuleDmarcExpressionArgs', + 'MailManagerRuleSetRuleDmarcExpressionArgsDict', 'MailManagerRuleSetRuleIpExpressionArgs', + 'MailManagerRuleSetRuleIpExpressionArgsDict', 'MailManagerRuleSetRuleIpToEvaluatePropertiesArgs', + 'MailManagerRuleSetRuleIpToEvaluatePropertiesArgsDict', 'MailManagerRuleSetRuleNumberExpressionArgs', + 'MailManagerRuleSetRuleNumberExpressionArgsDict', 'MailManagerRuleSetRuleNumberToEvaluatePropertiesArgs', + 'MailManagerRuleSetRuleNumberToEvaluatePropertiesArgsDict', 'MailManagerRuleSetRuleStringExpressionArgs', + 'MailManagerRuleSetRuleStringExpressionArgsDict', 'MailManagerRuleSetRuleStringToEvaluate0PropertiesArgs', + 'MailManagerRuleSetRuleStringToEvaluate0PropertiesArgsDict', 'MailManagerRuleSetRuleStringToEvaluate1PropertiesArgs', + 'MailManagerRuleSetRuleStringToEvaluate1PropertiesArgsDict', 'MailManagerRuleSetRuleVerdictExpressionArgs', + 'MailManagerRuleSetRuleVerdictExpressionArgsDict', 'MailManagerRuleSetRuleVerdictToEvaluate0PropertiesArgs', + 'MailManagerRuleSetRuleVerdictToEvaluate0PropertiesArgsDict', 'MailManagerRuleSetRuleVerdictToEvaluate1PropertiesArgs', + 'MailManagerRuleSetRuleVerdictToEvaluate1PropertiesArgsDict', 'MailManagerRuleSetRuleArgs', + 'MailManagerRuleSetRuleArgsDict', 'MailManagerRuleSetS3ActionArgs', + 'MailManagerRuleSetS3ActionArgsDict', 'MailManagerRuleSetSendActionArgs', + 'MailManagerRuleSetSendActionArgsDict', 'MailManagerTrafficPolicyIngressAnalysisArgs', + 'MailManagerTrafficPolicyIngressAnalysisArgsDict', 'MailManagerTrafficPolicyIngressBooleanExpressionArgs', + 'MailManagerTrafficPolicyIngressBooleanExpressionArgsDict', 'MailManagerTrafficPolicyIngressBooleanToEvaluatePropertiesArgs', + 'MailManagerTrafficPolicyIngressBooleanToEvaluatePropertiesArgsDict', 'MailManagerTrafficPolicyIngressIpToEvaluatePropertiesArgs', + 'MailManagerTrafficPolicyIngressIpToEvaluatePropertiesArgsDict', 'MailManagerTrafficPolicyIngressIpv4ExpressionArgs', + 'MailManagerTrafficPolicyIngressIpv4ExpressionArgsDict', 'MailManagerTrafficPolicyIngressStringExpressionArgs', + 'MailManagerTrafficPolicyIngressStringExpressionArgsDict', 'MailManagerTrafficPolicyIngressStringToEvaluatePropertiesArgs', + 'MailManagerTrafficPolicyIngressStringToEvaluatePropertiesArgsDict', 'MailManagerTrafficPolicyIngressTlsProtocolExpressionArgs', + 'MailManagerTrafficPolicyIngressTlsProtocolExpressionArgsDict', 'MailManagerTrafficPolicyIngressTlsProtocolToEvaluatePropertiesArgs', + 'MailManagerTrafficPolicyIngressTlsProtocolToEvaluatePropertiesArgsDict', 'MailManagerTrafficPolicyPolicyCondition0PropertiesArgs', + 'MailManagerTrafficPolicyPolicyCondition0PropertiesArgsDict', 'MailManagerTrafficPolicyPolicyCondition1PropertiesArgs', + 'MailManagerTrafficPolicyPolicyCondition1PropertiesArgsDict', 'MailManagerTrafficPolicyPolicyCondition2PropertiesArgs', + 'MailManagerTrafficPolicyPolicyCondition2PropertiesArgsDict', 'MailManagerTrafficPolicyPolicyCondition3PropertiesArgs', + 'MailManagerTrafficPolicyPolicyCondition3PropertiesArgsDict', 'MailManagerTrafficPolicyPolicyStatementArgs', + 'MailManagerTrafficPolicyPolicyStatementArgsDict', 'TemplateArgs', + 'TemplateArgsDict', 'VdmAttributesDashboardAttributesArgs', + 'VdmAttributesDashboardAttributesArgsDict', 'VdmAttributesGuardianAttributesArgs', + 'VdmAttributesGuardianAttributesArgsDict', ] +MYPY = False + +if not MYPY: + class ConfigurationSetDashboardOptionsArgsDict(TypedDict): + """ + Preferences regarding the Dashboard feature. + """ + engagement_metrics: pulumi.Input[str] + """ + Whether emails sent with this configuration set have engagement tracking enabled. + """ +elif False: + ConfigurationSetDashboardOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetDashboardOptionsArgs: def __init__(__self__, *, @@ -116,6 +215,22 @@ def engagement_metrics(self, value: pulumi.Input[str]): pulumi.set(self, "engagement_metrics", value) +if not MYPY: + class ConfigurationSetDeliveryOptionsArgsDict(TypedDict): + """ + An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set. + """ + sending_pool_name: NotRequired[pulumi.Input[str]] + """ + The name of the dedicated IP pool to associate with the configuration set. + """ + tls_policy: NotRequired[pulumi.Input[str]] + """ + Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require , messages are only delivered if a TLS connection can be established. If the value is Optional , messages can be delivered in plain text if a TLS connection can't be established. + """ +elif False: + ConfigurationSetDeliveryOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetDeliveryOptionsArgs: def __init__(__self__, *, @@ -156,6 +271,18 @@ def tls_policy(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "tls_policy", value) +if not MYPY: + class ConfigurationSetEventDestinationCloudWatchDestinationArgsDict(TypedDict): + """ + An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination. + """ + dimension_configurations: NotRequired[pulumi.Input[Sequence[pulumi.Input['ConfigurationSetEventDestinationDimensionConfigurationArgsDict']]]] + """ + A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch. + """ +elif False: + ConfigurationSetEventDestinationCloudWatchDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetEventDestinationCloudWatchDestinationArgs: def __init__(__self__, *, @@ -180,6 +307,26 @@ def dimension_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi. pulumi.set(self, "dimension_configurations", value) +if not MYPY: + class ConfigurationSetEventDestinationDimensionConfigurationArgsDict(TypedDict): + """ + A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch. + """ + default_dimension_value: pulumi.Input[str] + """ + The default value of the dimension that is published to Amazon CloudWatch if you do not provide the value of the dimension when you send an email. + """ + dimension_name: pulumi.Input[str] + """ + The name of an Amazon CloudWatch dimension associated with an email sending metric. + """ + dimension_value_source: pulumi.Input[str] + """ + The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. To use the message tags that you specify using an X-SES-MESSAGE-TAGS header or a parameter to the SendEmail/SendRawEmail API, specify messageTag. To use your own email headers, specify emailHeader. To put a custom tag on any link included in your email, specify linkTag. + """ +elif False: + ConfigurationSetEventDestinationDimensionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetEventDestinationDimensionConfigurationArgs: def __init__(__self__, *, @@ -233,6 +380,18 @@ def dimension_value_source(self, value: pulumi.Input[str]): pulumi.set(self, "dimension_value_source", value) +if not MYPY: + class ConfigurationSetEventDestinationEventBridgeDestinationArgsDict(TypedDict): + """ + An object that contains Event bus ARN associated with the event bridge destination. + """ + event_bus_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to. Only the default bus is supported. + """ +elif False: + ConfigurationSetEventDestinationEventBridgeDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetEventDestinationEventBridgeDestinationArgs: def __init__(__self__, *, @@ -256,6 +415,39 @@ def event_bus_arn(self, value: pulumi.Input[str]): pulumi.set(self, "event_bus_arn", value) +if not MYPY: + class ConfigurationSetEventDestinationEventDestinationArgsDict(TypedDict): + matching_event_types: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The type of email sending events, send, reject, bounce, complaint, delivery, open, click, renderingFailure, deliveryDelay, and subscription. + """ + cloud_watch_destination: NotRequired[pulumi.Input['ConfigurationSetEventDestinationCloudWatchDestinationArgsDict']] + """ + An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination. + """ + enabled: NotRequired[pulumi.Input[bool]] + """ + Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true to enable publishing to this destination; set to false to prevent publishing to this destination. The default value is false. + """ + event_bridge_destination: NotRequired[pulumi.Input['ConfigurationSetEventDestinationEventBridgeDestinationArgsDict']] + """ + An object that contains Event bus ARN associated with the event bridge destination. + """ + kinesis_firehose_destination: NotRequired[pulumi.Input['ConfigurationSetEventDestinationKinesisFirehoseDestinationArgsDict']] + """ + An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the event destination set. + """ + sns_destination: NotRequired[pulumi.Input['ConfigurationSetEventDestinationSnsDestinationArgsDict']] + """ + An object that contains SNS topic ARN associated event destination. + """ +elif False: + ConfigurationSetEventDestinationEventDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetEventDestinationEventDestinationArgs: def __init__(__self__, *, @@ -374,6 +566,22 @@ def sns_destination(self, value: Optional[pulumi.Input['ConfigurationSetEventDes pulumi.set(self, "sns_destination", value) +if not MYPY: + class ConfigurationSetEventDestinationKinesisFirehoseDestinationArgsDict(TypedDict): + """ + An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination. + """ + delivery_stream_arn: pulumi.Input[str] + """ + The ARN of the Amazon Kinesis Firehose stream that email sending events should be published to. + """ + iam_role_arn: pulumi.Input[str] + """ + The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream. + """ +elif False: + ConfigurationSetEventDestinationKinesisFirehoseDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetEventDestinationKinesisFirehoseDestinationArgs: def __init__(__self__, *, @@ -412,6 +620,20 @@ def iam_role_arn(self, value: pulumi.Input[str]): pulumi.set(self, "iam_role_arn", value) +if not MYPY: + class ConfigurationSetEventDestinationSnsDestinationArgsDict(TypedDict): + """ + An object that contains SNS topic ARN associated event destination. + """ + topic_arn: pulumi.Input[str] + """ + The ARN of the Amazon SNS topic for email sending events. You can find the ARN of a topic by using the [ListTopics](https://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html) Amazon SNS operation. + + For more information about Amazon SNS topics, see the [Amazon SNS Developer Guide](https://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html) . + """ +elif False: + ConfigurationSetEventDestinationSnsDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetEventDestinationSnsDestinationArgs: def __init__(__self__, *, @@ -439,6 +661,18 @@ def topic_arn(self, value: pulumi.Input[str]): pulumi.set(self, "topic_arn", value) +if not MYPY: + class ConfigurationSetGuardianOptionsArgsDict(TypedDict): + """ + Preferences regarding the Guardian feature. + """ + optimized_shared_delivery: pulumi.Input[str] + """ + Whether emails sent with this configuration set have optimized delivery algorithm enabled. + """ +elif False: + ConfigurationSetGuardianOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetGuardianOptionsArgs: def __init__(__self__, *, @@ -462,6 +696,18 @@ def optimized_shared_delivery(self, value: pulumi.Input[str]): pulumi.set(self, "optimized_shared_delivery", value) +if not MYPY: + class ConfigurationSetReputationOptionsArgsDict(TypedDict): + """ + An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set. + """ + reputation_metrics_enabled: NotRequired[pulumi.Input[bool]] + """ + If true , tracking of reputation metrics is enabled for the configuration set. If false , tracking of reputation metrics is disabled for the configuration set. + """ +elif False: + ConfigurationSetReputationOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetReputationOptionsArgs: def __init__(__self__, *, @@ -486,6 +732,18 @@ def reputation_metrics_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "reputation_metrics_enabled", value) +if not MYPY: + class ConfigurationSetSendingOptionsArgsDict(TypedDict): + """ + An object that defines whether or not Amazon SES can send email that you send using the configuration set. + """ + sending_enabled: NotRequired[pulumi.Input[bool]] + """ + If `true` , email sending is enabled for the configuration set. If `false` , email sending is disabled for the configuration set. + """ +elif False: + ConfigurationSetSendingOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetSendingOptionsArgs: def __init__(__self__, *, @@ -510,6 +768,18 @@ def sending_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "sending_enabled", value) +if not MYPY: + class ConfigurationSetSuppressionOptionsArgsDict(TypedDict): + """ + An object that contains information about the suppression list preferences for your account. + """ + suppressed_reasons: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list that contains the reasons that email addresses are automatically added to the suppression list for your account. + """ +elif False: + ConfigurationSetSuppressionOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetSuppressionOptionsArgs: def __init__(__self__, *, @@ -534,6 +804,18 @@ def suppressed_reasons(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "suppressed_reasons", value) +if not MYPY: + class ConfigurationSetTrackingOptionsArgsDict(TypedDict): + """ + An object that defines the open and click tracking options for emails that you send using the configuration set. + """ + custom_redirect_domain: NotRequired[pulumi.Input[str]] + """ + The domain to use for tracking open and click events. + """ +elif False: + ConfigurationSetTrackingOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetTrackingOptionsArgs: def __init__(__self__, *, @@ -558,6 +840,22 @@ def custom_redirect_domain(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "custom_redirect_domain", value) +if not MYPY: + class ConfigurationSetVdmOptionsArgsDict(TypedDict): + """ + An object that contains Virtual Deliverability Manager (VDM) settings for this configuration set. + """ + dashboard_options: NotRequired[pulumi.Input['ConfigurationSetDashboardOptionsArgsDict']] + """ + Specifies additional settings for your VDM configuration as applicable to the Dashboard. + """ + guardian_options: NotRequired[pulumi.Input['ConfigurationSetGuardianOptionsArgsDict']] + """ + Specifies additional settings for your VDM configuration as applicable to the Guardian. + """ +elif False: + ConfigurationSetVdmOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationSetVdmOptionsArgs: def __init__(__self__, *, @@ -598,6 +896,27 @@ def guardian_options(self, value: Optional[pulumi.Input['ConfigurationSetGuardia pulumi.set(self, "guardian_options", value) +if not MYPY: + class ContactListTopicArgsDict(TypedDict): + default_subscription_status: pulumi.Input[str] + """ + The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic. + """ + display_name: pulumi.Input[str] + """ + The display name of the topic. + """ + topic_name: pulumi.Input[str] + """ + The name of the topic. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the topic. + """ +elif False: + ContactListTopicArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContactListTopicArgs: def __init__(__self__, *, @@ -666,6 +985,18 @@ def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) +if not MYPY: + class EmailIdentityConfigurationSetAttributesArgsDict(TypedDict): + """ + Used to associate a configuration set with an email identity. + """ + configuration_set_name: NotRequired[pulumi.Input[str]] + """ + The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence. + """ +elif False: + EmailIdentityConfigurationSetAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EmailIdentityConfigurationSetAttributesArgs: def __init__(__self__, *, @@ -690,6 +1021,18 @@ def configuration_set_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "configuration_set_name", value) +if not MYPY: + class EmailIdentityDkimAttributesArgsDict(TypedDict): + """ + Used to enable or disable DKIM authentication for an email identity. + """ + signing_enabled: NotRequired[pulumi.Input[bool]] + """ + Sets the DKIM signing configuration for the identity. When you set this value true, then the messages that are sent from the identity are signed using DKIM. If you set this value to false, your messages are sent without DKIM signing. + """ +elif False: + EmailIdentityDkimAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EmailIdentityDkimAttributesArgs: def __init__(__self__, *, @@ -714,6 +1057,26 @@ def signing_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "signing_enabled", value) +if not MYPY: + class EmailIdentityDkimSigningAttributesArgsDict(TypedDict): + """ + If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM. + """ + domain_signing_private_key: NotRequired[pulumi.Input[str]] + """ + [Bring Your Own DKIM] A private key that's used to generate a DKIM signature. The private key must use 1024 or 2048-bit RSA encryption, and must be encoded using base64 encoding. + """ + domain_signing_selector: NotRequired[pulumi.Input[str]] + """ + [Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a domain. + """ + next_signing_key_length: NotRequired[pulumi.Input[str]] + """ + [Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day. + """ +elif False: + EmailIdentityDkimSigningAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EmailIdentityDkimSigningAttributesArgs: def __init__(__self__, *, @@ -770,6 +1133,18 @@ def next_signing_key_length(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "next_signing_key_length", value) +if not MYPY: + class EmailIdentityFeedbackAttributesArgsDict(TypedDict): + """ + Used to enable or disable feedback forwarding for an identity. + """ + email_forwarding_enabled: NotRequired[pulumi.Input[bool]] + """ + If the value is true, you receive email notifications when bounce or complaint events occur + """ +elif False: + EmailIdentityFeedbackAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EmailIdentityFeedbackAttributesArgs: def __init__(__self__, *, @@ -794,6 +1169,22 @@ def email_forwarding_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "email_forwarding_enabled", value) +if not MYPY: + class EmailIdentityMailFromAttributesArgsDict(TypedDict): + """ + Used to enable or disable the custom Mail-From domain configuration for an email identity. + """ + behavior_on_mx_failure: NotRequired[pulumi.Input[str]] + """ + The action to take if the required MX record isn't found when you send an email. When you set this value to UseDefaultValue , the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage , the Amazon SES API v2 returns a MailFromDomainNotVerified error, and doesn't attempt to deliver the email. + """ + mail_from_domain: NotRequired[pulumi.Input[str]] + """ + The custom MAIL FROM domain that you want the verified identity to use + """ +elif False: + EmailIdentityMailFromAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EmailIdentityMailFromAttributesArgs: def __init__(__self__, *, @@ -834,6 +1225,12 @@ def mail_from_domain(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "mail_from_domain", value) +if not MYPY: + class MailManagerArchiveArchiveRetentionPropertiesArgsDict(TypedDict): + retention_period: pulumi.Input['MailManagerArchiveRetentionPeriod'] +elif False: + MailManagerArchiveArchiveRetentionPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerArchiveArchiveRetentionPropertiesArgs: def __init__(__self__, *, @@ -850,6 +1247,12 @@ def retention_period(self, value: pulumi.Input['MailManagerArchiveRetentionPerio pulumi.set(self, "retention_period", value) +if not MYPY: + class MailManagerIngressPointIngressPointConfiguration0PropertiesArgsDict(TypedDict): + smtp_password: pulumi.Input[str] +elif False: + MailManagerIngressPointIngressPointConfiguration0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerIngressPointIngressPointConfiguration0PropertiesArgs: def __init__(__self__, *, @@ -866,6 +1269,12 @@ def smtp_password(self, value: pulumi.Input[str]): pulumi.set(self, "smtp_password", value) +if not MYPY: + class MailManagerIngressPointIngressPointConfiguration1PropertiesArgsDict(TypedDict): + secret_arn: pulumi.Input[str] +elif False: + MailManagerIngressPointIngressPointConfiguration1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerIngressPointIngressPointConfiguration1PropertiesArgs: def __init__(__self__, *, @@ -882,12 +1291,24 @@ def secret_arn(self, value: pulumi.Input[str]): pulumi.set(self, "secret_arn", value) +if not MYPY: + class MailManagerRelayNoAuthenticationArgsDict(TypedDict): + pass +elif False: + MailManagerRelayNoAuthenticationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRelayNoAuthenticationArgs: def __init__(__self__): pass +if not MYPY: + class MailManagerRelayRelayAuthentication0PropertiesArgsDict(TypedDict): + secret_arn: pulumi.Input[str] +elif False: + MailManagerRelayRelayAuthentication0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRelayRelayAuthentication0PropertiesArgs: def __init__(__self__, *, @@ -904,6 +1325,12 @@ def secret_arn(self, value: pulumi.Input[str]): pulumi.set(self, "secret_arn", value) +if not MYPY: + class MailManagerRelayRelayAuthentication1PropertiesArgsDict(TypedDict): + no_authentication: pulumi.Input['MailManagerRelayNoAuthenticationArgsDict'] +elif False: + MailManagerRelayRelayAuthentication1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRelayRelayAuthentication1PropertiesArgs: def __init__(__self__, *, @@ -920,6 +1347,13 @@ def no_authentication(self, value: pulumi.Input['MailManagerRelayNoAuthenticatio pulumi.set(self, "no_authentication", value) +if not MYPY: + class MailManagerRuleSetAddHeaderActionArgsDict(TypedDict): + header_name: pulumi.Input[str] + header_value: pulumi.Input[str] +elif False: + MailManagerRuleSetAddHeaderActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetAddHeaderActionArgs: def __init__(__self__, *, @@ -947,6 +1381,13 @@ def header_value(self, value: pulumi.Input[str]): pulumi.set(self, "header_value", value) +if not MYPY: + class MailManagerRuleSetAnalysisArgsDict(TypedDict): + analyzer: pulumi.Input[str] + result_field: pulumi.Input[str] +elif False: + MailManagerRuleSetAnalysisArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetAnalysisArgs: def __init__(__self__, *, @@ -974,6 +1415,13 @@ def result_field(self, value: pulumi.Input[str]): pulumi.set(self, "result_field", value) +if not MYPY: + class MailManagerRuleSetArchiveActionArgsDict(TypedDict): + target_archive: pulumi.Input[str] + action_failure_policy: NotRequired[pulumi.Input['MailManagerRuleSetActionFailurePolicy']] +elif False: + MailManagerRuleSetArchiveActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetArchiveActionArgs: def __init__(__self__, *, @@ -1002,6 +1450,14 @@ def action_failure_policy(self, value: Optional[pulumi.Input['MailManagerRuleSet pulumi.set(self, "action_failure_policy", value) +if not MYPY: + class MailManagerRuleSetDeliverToMailboxActionArgsDict(TypedDict): + mailbox_arn: pulumi.Input[str] + role_arn: pulumi.Input[str] + action_failure_policy: NotRequired[pulumi.Input['MailManagerRuleSetActionFailurePolicy']] +elif False: + MailManagerRuleSetDeliverToMailboxActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetDeliverToMailboxActionArgs: def __init__(__self__, *, @@ -1041,12 +1497,26 @@ def action_failure_policy(self, value: Optional[pulumi.Input['MailManagerRuleSet pulumi.set(self, "action_failure_policy", value) +if not MYPY: + class MailManagerRuleSetDropActionArgsDict(TypedDict): + pass +elif False: + MailManagerRuleSetDropActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetDropActionArgs: def __init__(__self__): pass +if not MYPY: + class MailManagerRuleSetRelayActionArgsDict(TypedDict): + relay: pulumi.Input[str] + action_failure_policy: NotRequired[pulumi.Input['MailManagerRuleSetActionFailurePolicy']] + mail_from: NotRequired[pulumi.Input['MailManagerRuleSetMailFrom']] +elif False: + MailManagerRuleSetRelayActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRelayActionArgs: def __init__(__self__, *, @@ -1087,6 +1557,12 @@ def mail_from(self, value: Optional[pulumi.Input['MailManagerRuleSetMailFrom']]) pulumi.set(self, "mail_from", value) +if not MYPY: + class MailManagerRuleSetReplaceRecipientActionArgsDict(TypedDict): + replace_with: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] +elif False: + MailManagerRuleSetReplaceRecipientActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetReplaceRecipientActionArgs: def __init__(__self__, *, @@ -1104,6 +1580,12 @@ def replace_with(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]] pulumi.set(self, "replace_with", value) +if not MYPY: + class MailManagerRuleSetRuleAction0PropertiesArgsDict(TypedDict): + drop: pulumi.Input['MailManagerRuleSetDropActionArgsDict'] +elif False: + MailManagerRuleSetRuleAction0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleAction0PropertiesArgs: def __init__(__self__, *, @@ -1120,6 +1602,12 @@ def drop(self, value: pulumi.Input['MailManagerRuleSetDropActionArgs']): pulumi.set(self, "drop", value) +if not MYPY: + class MailManagerRuleSetRuleAction1PropertiesArgsDict(TypedDict): + relay: pulumi.Input['MailManagerRuleSetRelayActionArgsDict'] +elif False: + MailManagerRuleSetRuleAction1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleAction1PropertiesArgs: def __init__(__self__, *, @@ -1136,6 +1624,12 @@ def relay(self, value: pulumi.Input['MailManagerRuleSetRelayActionArgs']): pulumi.set(self, "relay", value) +if not MYPY: + class MailManagerRuleSetRuleAction2PropertiesArgsDict(TypedDict): + archive: pulumi.Input['MailManagerRuleSetArchiveActionArgsDict'] +elif False: + MailManagerRuleSetRuleAction2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleAction2PropertiesArgs: def __init__(__self__, *, @@ -1152,6 +1646,12 @@ def archive(self, value: pulumi.Input['MailManagerRuleSetArchiveActionArgs']): pulumi.set(self, "archive", value) +if not MYPY: + class MailManagerRuleSetRuleAction3PropertiesArgsDict(TypedDict): + write_to_s3: pulumi.Input['MailManagerRuleSetS3ActionArgsDict'] +elif False: + MailManagerRuleSetRuleAction3PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleAction3PropertiesArgs: def __init__(__self__, *, @@ -1168,6 +1668,12 @@ def write_to_s3(self, value: pulumi.Input['MailManagerRuleSetS3ActionArgs']): pulumi.set(self, "write_to_s3", value) +if not MYPY: + class MailManagerRuleSetRuleAction4PropertiesArgsDict(TypedDict): + send: pulumi.Input['MailManagerRuleSetSendActionArgsDict'] +elif False: + MailManagerRuleSetRuleAction4PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleAction4PropertiesArgs: def __init__(__self__, *, @@ -1184,6 +1690,12 @@ def send(self, value: pulumi.Input['MailManagerRuleSetSendActionArgs']): pulumi.set(self, "send", value) +if not MYPY: + class MailManagerRuleSetRuleAction5PropertiesArgsDict(TypedDict): + add_header: pulumi.Input['MailManagerRuleSetAddHeaderActionArgsDict'] +elif False: + MailManagerRuleSetRuleAction5PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleAction5PropertiesArgs: def __init__(__self__, *, @@ -1200,6 +1712,12 @@ def add_header(self, value: pulumi.Input['MailManagerRuleSetAddHeaderActionArgs' pulumi.set(self, "add_header", value) +if not MYPY: + class MailManagerRuleSetRuleAction6PropertiesArgsDict(TypedDict): + replace_recipient: pulumi.Input['MailManagerRuleSetReplaceRecipientActionArgsDict'] +elif False: + MailManagerRuleSetRuleAction6PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleAction6PropertiesArgs: def __init__(__self__, *, @@ -1216,6 +1734,12 @@ def replace_recipient(self, value: pulumi.Input['MailManagerRuleSetReplaceRecipi pulumi.set(self, "replace_recipient", value) +if not MYPY: + class MailManagerRuleSetRuleAction7PropertiesArgsDict(TypedDict): + deliver_to_mailbox: pulumi.Input['MailManagerRuleSetDeliverToMailboxActionArgsDict'] +elif False: + MailManagerRuleSetRuleAction7PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleAction7PropertiesArgs: def __init__(__self__, *, @@ -1232,6 +1756,13 @@ def deliver_to_mailbox(self, value: pulumi.Input['MailManagerRuleSetDeliverToMai pulumi.set(self, "deliver_to_mailbox", value) +if not MYPY: + class MailManagerRuleSetRuleBooleanExpressionArgsDict(TypedDict): + evaluate: pulumi.Input['MailManagerRuleSetRuleBooleanToEvaluatePropertiesArgsDict'] + operator: pulumi.Input['MailManagerRuleSetRuleBooleanOperator'] +elif False: + MailManagerRuleSetRuleBooleanExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleBooleanExpressionArgs: def __init__(__self__, *, @@ -1259,6 +1790,12 @@ def operator(self, value: pulumi.Input['MailManagerRuleSetRuleBooleanOperator']) pulumi.set(self, "operator", value) +if not MYPY: + class MailManagerRuleSetRuleBooleanToEvaluatePropertiesArgsDict(TypedDict): + attribute: pulumi.Input['MailManagerRuleSetRuleBooleanEmailAttribute'] +elif False: + MailManagerRuleSetRuleBooleanToEvaluatePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleBooleanToEvaluatePropertiesArgs: def __init__(__self__, *, @@ -1275,6 +1812,12 @@ def attribute(self, value: pulumi.Input['MailManagerRuleSetRuleBooleanEmailAttri pulumi.set(self, "attribute", value) +if not MYPY: + class MailManagerRuleSetRuleCondition0PropertiesArgsDict(TypedDict): + boolean_expression: pulumi.Input['MailManagerRuleSetRuleBooleanExpressionArgsDict'] +elif False: + MailManagerRuleSetRuleCondition0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleCondition0PropertiesArgs: def __init__(__self__, *, @@ -1291,6 +1834,12 @@ def boolean_expression(self, value: pulumi.Input['MailManagerRuleSetRuleBooleanE pulumi.set(self, "boolean_expression", value) +if not MYPY: + class MailManagerRuleSetRuleCondition1PropertiesArgsDict(TypedDict): + string_expression: pulumi.Input['MailManagerRuleSetRuleStringExpressionArgsDict'] +elif False: + MailManagerRuleSetRuleCondition1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleCondition1PropertiesArgs: def __init__(__self__, *, @@ -1307,6 +1856,12 @@ def string_expression(self, value: pulumi.Input['MailManagerRuleSetRuleStringExp pulumi.set(self, "string_expression", value) +if not MYPY: + class MailManagerRuleSetRuleCondition2PropertiesArgsDict(TypedDict): + number_expression: pulumi.Input['MailManagerRuleSetRuleNumberExpressionArgsDict'] +elif False: + MailManagerRuleSetRuleCondition2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleCondition2PropertiesArgs: def __init__(__self__, *, @@ -1323,6 +1878,12 @@ def number_expression(self, value: pulumi.Input['MailManagerRuleSetRuleNumberExp pulumi.set(self, "number_expression", value) +if not MYPY: + class MailManagerRuleSetRuleCondition3PropertiesArgsDict(TypedDict): + ip_expression: pulumi.Input['MailManagerRuleSetRuleIpExpressionArgsDict'] +elif False: + MailManagerRuleSetRuleCondition3PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleCondition3PropertiesArgs: def __init__(__self__, *, @@ -1339,6 +1900,12 @@ def ip_expression(self, value: pulumi.Input['MailManagerRuleSetRuleIpExpressionA pulumi.set(self, "ip_expression", value) +if not MYPY: + class MailManagerRuleSetRuleCondition4PropertiesArgsDict(TypedDict): + verdict_expression: pulumi.Input['MailManagerRuleSetRuleVerdictExpressionArgsDict'] +elif False: + MailManagerRuleSetRuleCondition4PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleCondition4PropertiesArgs: def __init__(__self__, *, @@ -1355,6 +1922,12 @@ def verdict_expression(self, value: pulumi.Input['MailManagerRuleSetRuleVerdictE pulumi.set(self, "verdict_expression", value) +if not MYPY: + class MailManagerRuleSetRuleCondition5PropertiesArgsDict(TypedDict): + dmarc_expression: pulumi.Input['MailManagerRuleSetRuleDmarcExpressionArgsDict'] +elif False: + MailManagerRuleSetRuleCondition5PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleCondition5PropertiesArgs: def __init__(__self__, *, @@ -1371,6 +1944,13 @@ def dmarc_expression(self, value: pulumi.Input['MailManagerRuleSetRuleDmarcExpre pulumi.set(self, "dmarc_expression", value) +if not MYPY: + class MailManagerRuleSetRuleDmarcExpressionArgsDict(TypedDict): + operator: pulumi.Input['MailManagerRuleSetRuleDmarcOperator'] + values: pulumi.Input[Sequence[pulumi.Input['MailManagerRuleSetRuleDmarcPolicy']]] +elif False: + MailManagerRuleSetRuleDmarcExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleDmarcExpressionArgs: def __init__(__self__, *, @@ -1398,6 +1978,14 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input['MailManagerRuleSetRu pulumi.set(self, "values", value) +if not MYPY: + class MailManagerRuleSetRuleIpExpressionArgsDict(TypedDict): + evaluate: pulumi.Input['MailManagerRuleSetRuleIpToEvaluatePropertiesArgsDict'] + operator: pulumi.Input['MailManagerRuleSetRuleIpOperator'] + values: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + MailManagerRuleSetRuleIpExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleIpExpressionArgs: def __init__(__self__, *, @@ -1436,6 +2024,12 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class MailManagerRuleSetRuleIpToEvaluatePropertiesArgsDict(TypedDict): + attribute: pulumi.Input['MailManagerRuleSetRuleIpEmailAttribute'] +elif False: + MailManagerRuleSetRuleIpToEvaluatePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleIpToEvaluatePropertiesArgs: def __init__(__self__, *, @@ -1452,6 +2046,14 @@ def attribute(self, value: pulumi.Input['MailManagerRuleSetRuleIpEmailAttribute' pulumi.set(self, "attribute", value) +if not MYPY: + class MailManagerRuleSetRuleNumberExpressionArgsDict(TypedDict): + evaluate: pulumi.Input['MailManagerRuleSetRuleNumberToEvaluatePropertiesArgsDict'] + operator: pulumi.Input['MailManagerRuleSetRuleNumberOperator'] + value: pulumi.Input[float] +elif False: + MailManagerRuleSetRuleNumberExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleNumberExpressionArgs: def __init__(__self__, *, @@ -1490,6 +2092,12 @@ def value(self, value: pulumi.Input[float]): pulumi.set(self, "value", value) +if not MYPY: + class MailManagerRuleSetRuleNumberToEvaluatePropertiesArgsDict(TypedDict): + attribute: pulumi.Input['MailManagerRuleSetRuleNumberEmailAttribute'] +elif False: + MailManagerRuleSetRuleNumberToEvaluatePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleNumberToEvaluatePropertiesArgs: def __init__(__self__, *, @@ -1506,6 +2114,14 @@ def attribute(self, value: pulumi.Input['MailManagerRuleSetRuleNumberEmailAttrib pulumi.set(self, "attribute", value) +if not MYPY: + class MailManagerRuleSetRuleStringExpressionArgsDict(TypedDict): + evaluate: pulumi.Input[Union['MailManagerRuleSetRuleStringToEvaluate0PropertiesArgsDict', 'MailManagerRuleSetRuleStringToEvaluate1PropertiesArgsDict']] + operator: pulumi.Input['MailManagerRuleSetRuleStringOperator'] + values: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + MailManagerRuleSetRuleStringExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleStringExpressionArgs: def __init__(__self__, *, @@ -1544,6 +2160,12 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class MailManagerRuleSetRuleStringToEvaluate0PropertiesArgsDict(TypedDict): + attribute: pulumi.Input['MailManagerRuleSetRuleStringEmailAttribute'] +elif False: + MailManagerRuleSetRuleStringToEvaluate0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleStringToEvaluate0PropertiesArgs: def __init__(__self__, *, @@ -1560,6 +2182,12 @@ def attribute(self, value: pulumi.Input['MailManagerRuleSetRuleStringEmailAttrib pulumi.set(self, "attribute", value) +if not MYPY: + class MailManagerRuleSetRuleStringToEvaluate1PropertiesArgsDict(TypedDict): + mime_header_attribute: pulumi.Input[str] +elif False: + MailManagerRuleSetRuleStringToEvaluate1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleStringToEvaluate1PropertiesArgs: def __init__(__self__, *, @@ -1576,6 +2204,14 @@ def mime_header_attribute(self, value: pulumi.Input[str]): pulumi.set(self, "mime_header_attribute", value) +if not MYPY: + class MailManagerRuleSetRuleVerdictExpressionArgsDict(TypedDict): + evaluate: pulumi.Input[Union['MailManagerRuleSetRuleVerdictToEvaluate0PropertiesArgsDict', 'MailManagerRuleSetRuleVerdictToEvaluate1PropertiesArgsDict']] + operator: pulumi.Input['MailManagerRuleSetRuleVerdictOperator'] + values: pulumi.Input[Sequence[pulumi.Input['MailManagerRuleSetRuleVerdict']]] +elif False: + MailManagerRuleSetRuleVerdictExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleVerdictExpressionArgs: def __init__(__self__, *, @@ -1614,6 +2250,12 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input['MailManagerRuleSetRu pulumi.set(self, "values", value) +if not MYPY: + class MailManagerRuleSetRuleVerdictToEvaluate0PropertiesArgsDict(TypedDict): + attribute: pulumi.Input['MailManagerRuleSetRuleVerdictAttribute'] +elif False: + MailManagerRuleSetRuleVerdictToEvaluate0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleVerdictToEvaluate0PropertiesArgs: def __init__(__self__, *, @@ -1630,6 +2272,12 @@ def attribute(self, value: pulumi.Input['MailManagerRuleSetRuleVerdictAttribute' pulumi.set(self, "attribute", value) +if not MYPY: + class MailManagerRuleSetRuleVerdictToEvaluate1PropertiesArgsDict(TypedDict): + analysis: pulumi.Input['MailManagerRuleSetAnalysisArgsDict'] +elif False: + MailManagerRuleSetRuleVerdictToEvaluate1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleVerdictToEvaluate1PropertiesArgs: def __init__(__self__, *, @@ -1646,6 +2294,27 @@ def analysis(self, value: pulumi.Input['MailManagerRuleSetAnalysisArgs']): pulumi.set(self, "analysis", value) +if not MYPY: + class MailManagerRuleSetRuleArgsDict(TypedDict): + actions: pulumi.Input[Sequence[pulumi.Input[Union['MailManagerRuleSetRuleAction0PropertiesArgsDict', 'MailManagerRuleSetRuleAction1PropertiesArgsDict', 'MailManagerRuleSetRuleAction2PropertiesArgsDict', 'MailManagerRuleSetRuleAction3PropertiesArgsDict', 'MailManagerRuleSetRuleAction4PropertiesArgsDict', 'MailManagerRuleSetRuleAction5PropertiesArgsDict', 'MailManagerRuleSetRuleAction6PropertiesArgsDict', 'MailManagerRuleSetRuleAction7PropertiesArgsDict']]]] + """ + The list of actions to execute when the conditions match the incoming email, and none of the "unless conditions" match. + """ + conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input[Union['MailManagerRuleSetRuleCondition0PropertiesArgsDict', 'MailManagerRuleSetRuleCondition1PropertiesArgsDict', 'MailManagerRuleSetRuleCondition2PropertiesArgsDict', 'MailManagerRuleSetRuleCondition3PropertiesArgsDict', 'MailManagerRuleSetRuleCondition4PropertiesArgsDict', 'MailManagerRuleSetRuleCondition5PropertiesArgsDict']]]]] + """ + The conditions of this rule. All conditions must match the email for the actions to be executed. An empty list of conditions means that all emails match, but are still subject to any "unless conditions" + """ + name: NotRequired[pulumi.Input[str]] + """ + The user-friendly name of the rule. + """ + unless: NotRequired[pulumi.Input[Sequence[pulumi.Input[Union['MailManagerRuleSetRuleCondition0PropertiesArgsDict', 'MailManagerRuleSetRuleCondition1PropertiesArgsDict', 'MailManagerRuleSetRuleCondition2PropertiesArgsDict', 'MailManagerRuleSetRuleCondition3PropertiesArgsDict', 'MailManagerRuleSetRuleCondition4PropertiesArgsDict', 'MailManagerRuleSetRuleCondition5PropertiesArgsDict']]]]] + """ + The "unless conditions" of this rule. None of the conditions can match the email for the actions to be executed. If any of these conditions do match the email, then the actions are not executed. + """ +elif False: + MailManagerRuleSetRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetRuleArgs: def __init__(__self__, *, @@ -1716,6 +2385,16 @@ def unless(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MailM pulumi.set(self, "unless", value) +if not MYPY: + class MailManagerRuleSetS3ActionArgsDict(TypedDict): + role_arn: pulumi.Input[str] + s3_bucket: pulumi.Input[str] + action_failure_policy: NotRequired[pulumi.Input['MailManagerRuleSetActionFailurePolicy']] + s3_prefix: NotRequired[pulumi.Input[str]] + s3_sse_kms_key_id: NotRequired[pulumi.Input[str]] +elif False: + MailManagerRuleSetS3ActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetS3ActionArgs: def __init__(__self__, *, @@ -1779,6 +2458,13 @@ def s3_sse_kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "s3_sse_kms_key_id", value) +if not MYPY: + class MailManagerRuleSetSendActionArgsDict(TypedDict): + role_arn: pulumi.Input[str] + action_failure_policy: NotRequired[pulumi.Input['MailManagerRuleSetActionFailurePolicy']] +elif False: + MailManagerRuleSetSendActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerRuleSetSendActionArgs: def __init__(__self__, *, @@ -1807,6 +2493,13 @@ def action_failure_policy(self, value: Optional[pulumi.Input['MailManagerRuleSet pulumi.set(self, "action_failure_policy", value) +if not MYPY: + class MailManagerTrafficPolicyIngressAnalysisArgsDict(TypedDict): + analyzer: pulumi.Input[str] + result_field: pulumi.Input[str] +elif False: + MailManagerTrafficPolicyIngressAnalysisArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyIngressAnalysisArgs: def __init__(__self__, *, @@ -1834,6 +2527,13 @@ def result_field(self, value: pulumi.Input[str]): pulumi.set(self, "result_field", value) +if not MYPY: + class MailManagerTrafficPolicyIngressBooleanExpressionArgsDict(TypedDict): + evaluate: pulumi.Input['MailManagerTrafficPolicyIngressBooleanToEvaluatePropertiesArgsDict'] + operator: pulumi.Input['MailManagerTrafficPolicyIngressBooleanOperator'] +elif False: + MailManagerTrafficPolicyIngressBooleanExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyIngressBooleanExpressionArgs: def __init__(__self__, *, @@ -1861,6 +2561,12 @@ def operator(self, value: pulumi.Input['MailManagerTrafficPolicyIngressBooleanOp pulumi.set(self, "operator", value) +if not MYPY: + class MailManagerTrafficPolicyIngressBooleanToEvaluatePropertiesArgsDict(TypedDict): + analysis: pulumi.Input['MailManagerTrafficPolicyIngressAnalysisArgsDict'] +elif False: + MailManagerTrafficPolicyIngressBooleanToEvaluatePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyIngressBooleanToEvaluatePropertiesArgs: def __init__(__self__, *, @@ -1877,6 +2583,12 @@ def analysis(self, value: pulumi.Input['MailManagerTrafficPolicyIngressAnalysisA pulumi.set(self, "analysis", value) +if not MYPY: + class MailManagerTrafficPolicyIngressIpToEvaluatePropertiesArgsDict(TypedDict): + attribute: pulumi.Input['MailManagerTrafficPolicyIngressIpv4Attribute'] +elif False: + MailManagerTrafficPolicyIngressIpToEvaluatePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyIngressIpToEvaluatePropertiesArgs: def __init__(__self__, *, @@ -1893,6 +2605,14 @@ def attribute(self, value: pulumi.Input['MailManagerTrafficPolicyIngressIpv4Attr pulumi.set(self, "attribute", value) +if not MYPY: + class MailManagerTrafficPolicyIngressIpv4ExpressionArgsDict(TypedDict): + evaluate: pulumi.Input['MailManagerTrafficPolicyIngressIpToEvaluatePropertiesArgsDict'] + operator: pulumi.Input['MailManagerTrafficPolicyIngressIpOperator'] + values: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + MailManagerTrafficPolicyIngressIpv4ExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyIngressIpv4ExpressionArgs: def __init__(__self__, *, @@ -1931,6 +2651,14 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class MailManagerTrafficPolicyIngressStringExpressionArgsDict(TypedDict): + evaluate: pulumi.Input['MailManagerTrafficPolicyIngressStringToEvaluatePropertiesArgsDict'] + operator: pulumi.Input['MailManagerTrafficPolicyIngressStringOperator'] + values: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + MailManagerTrafficPolicyIngressStringExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyIngressStringExpressionArgs: def __init__(__self__, *, @@ -1969,6 +2697,12 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class MailManagerTrafficPolicyIngressStringToEvaluatePropertiesArgsDict(TypedDict): + attribute: pulumi.Input['MailManagerTrafficPolicyIngressStringEmailAttribute'] +elif False: + MailManagerTrafficPolicyIngressStringToEvaluatePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyIngressStringToEvaluatePropertiesArgs: def __init__(__self__, *, @@ -1985,6 +2719,14 @@ def attribute(self, value: pulumi.Input['MailManagerTrafficPolicyIngressStringEm pulumi.set(self, "attribute", value) +if not MYPY: + class MailManagerTrafficPolicyIngressTlsProtocolExpressionArgsDict(TypedDict): + evaluate: pulumi.Input['MailManagerTrafficPolicyIngressTlsProtocolToEvaluatePropertiesArgsDict'] + operator: pulumi.Input['MailManagerTrafficPolicyIngressTlsProtocolOperator'] + value: pulumi.Input['MailManagerTrafficPolicyIngressTlsProtocolAttribute'] +elif False: + MailManagerTrafficPolicyIngressTlsProtocolExpressionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyIngressTlsProtocolExpressionArgs: def __init__(__self__, *, @@ -2023,6 +2765,12 @@ def value(self, value: pulumi.Input['MailManagerTrafficPolicyIngressTlsProtocolA pulumi.set(self, "value", value) +if not MYPY: + class MailManagerTrafficPolicyIngressTlsProtocolToEvaluatePropertiesArgsDict(TypedDict): + attribute: pulumi.Input['MailManagerTrafficPolicyIngressTlsAttribute'] +elif False: + MailManagerTrafficPolicyIngressTlsProtocolToEvaluatePropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyIngressTlsProtocolToEvaluatePropertiesArgs: def __init__(__self__, *, @@ -2039,6 +2787,12 @@ def attribute(self, value: pulumi.Input['MailManagerTrafficPolicyIngressTlsAttri pulumi.set(self, "attribute", value) +if not MYPY: + class MailManagerTrafficPolicyPolicyCondition0PropertiesArgsDict(TypedDict): + string_expression: pulumi.Input['MailManagerTrafficPolicyIngressStringExpressionArgsDict'] +elif False: + MailManagerTrafficPolicyPolicyCondition0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyPolicyCondition0PropertiesArgs: def __init__(__self__, *, @@ -2055,6 +2809,12 @@ def string_expression(self, value: pulumi.Input['MailManagerTrafficPolicyIngress pulumi.set(self, "string_expression", value) +if not MYPY: + class MailManagerTrafficPolicyPolicyCondition1PropertiesArgsDict(TypedDict): + ip_expression: pulumi.Input['MailManagerTrafficPolicyIngressIpv4ExpressionArgsDict'] +elif False: + MailManagerTrafficPolicyPolicyCondition1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyPolicyCondition1PropertiesArgs: def __init__(__self__, *, @@ -2071,6 +2831,12 @@ def ip_expression(self, value: pulumi.Input['MailManagerTrafficPolicyIngressIpv4 pulumi.set(self, "ip_expression", value) +if not MYPY: + class MailManagerTrafficPolicyPolicyCondition2PropertiesArgsDict(TypedDict): + tls_expression: pulumi.Input['MailManagerTrafficPolicyIngressTlsProtocolExpressionArgsDict'] +elif False: + MailManagerTrafficPolicyPolicyCondition2PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyPolicyCondition2PropertiesArgs: def __init__(__self__, *, @@ -2087,6 +2853,12 @@ def tls_expression(self, value: pulumi.Input['MailManagerTrafficPolicyIngressTls pulumi.set(self, "tls_expression", value) +if not MYPY: + class MailManagerTrafficPolicyPolicyCondition3PropertiesArgsDict(TypedDict): + boolean_expression: pulumi.Input['MailManagerTrafficPolicyIngressBooleanExpressionArgsDict'] +elif False: + MailManagerTrafficPolicyPolicyCondition3PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyPolicyCondition3PropertiesArgs: def __init__(__self__, *, @@ -2103,6 +2875,19 @@ def boolean_expression(self, value: pulumi.Input['MailManagerTrafficPolicyIngres pulumi.set(self, "boolean_expression", value) +if not MYPY: + class MailManagerTrafficPolicyPolicyStatementArgsDict(TypedDict): + action: pulumi.Input['MailManagerTrafficPolicyAcceptAction'] + """ + The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement. + """ + conditions: pulumi.Input[Sequence[pulumi.Input[Union['MailManagerTrafficPolicyPolicyCondition0PropertiesArgsDict', 'MailManagerTrafficPolicyPolicyCondition1PropertiesArgsDict', 'MailManagerTrafficPolicyPolicyCondition2PropertiesArgsDict', 'MailManagerTrafficPolicyPolicyCondition3PropertiesArgsDict']]]] + """ + The list of conditions to apply to incoming messages for filtering email traffic. + """ +elif False: + MailManagerTrafficPolicyPolicyStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MailManagerTrafficPolicyPolicyStatementArgs: def __init__(__self__, *, @@ -2140,6 +2925,30 @@ def conditions(self, value: pulumi.Input[Sequence[pulumi.Input[Union['MailManage pulumi.set(self, "conditions", value) +if not MYPY: + class TemplateArgsDict(TypedDict): + """ + The content of the email, composed of a subject line, an HTML part, and a text-only part + """ + subject_part: pulumi.Input[str] + """ + The subject line of the email. + """ + html_part: NotRequired[pulumi.Input[str]] + """ + The HTML body of the email. + """ + template_name: NotRequired[pulumi.Input[str]] + """ + The name of the template. + """ + text_part: NotRequired[pulumi.Input[str]] + """ + The email body that is visible to recipients whose email clients do not display HTML content. + """ +elif False: + TemplateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TemplateArgs: def __init__(__self__, *, @@ -2211,6 +3020,18 @@ def text_part(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "text_part", value) +if not MYPY: + class VdmAttributesDashboardAttributesArgsDict(TypedDict): + """ + Preferences regarding the Dashboard feature. + """ + engagement_metrics: NotRequired[pulumi.Input[str]] + """ + Whether emails sent from this account have engagement tracking enabled. + """ +elif False: + VdmAttributesDashboardAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VdmAttributesDashboardAttributesArgs: def __init__(__self__, *, @@ -2235,6 +3056,18 @@ def engagement_metrics(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "engagement_metrics", value) +if not MYPY: + class VdmAttributesGuardianAttributesArgsDict(TypedDict): + """ + Preferences regarding the Guardian feature. + """ + optimized_shared_delivery: NotRequired[pulumi.Input[str]] + """ + Whether emails sent from this account have optimized delivery algorithm enabled. + """ +elif False: + VdmAttributesGuardianAttributesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class VdmAttributesGuardianAttributesArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/ses/configuration_set.py b/sdk/python/pulumi_aws_native/ses/configuration_set.py index c9abe7bbad..31143a5679 100644 --- a/sdk/python/pulumi_aws_native/ses/configuration_set.py +++ b/sdk/python/pulumi_aws_native/ses/configuration_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/ses/configuration_set_event_destination.py b/sdk/python/pulumi_aws_native/ses/configuration_set_event_destination.py index a38ef320a7..4652f9ddbd 100644 --- a/sdk/python/pulumi_aws_native/ses/configuration_set_event_destination.py +++ b/sdk/python/pulumi_aws_native/ses/configuration_set_event_destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/ses/contact_list.py b/sdk/python/pulumi_aws_native/ses/contact_list.py index eac2e1306f..070611b13b 100644 --- a/sdk/python/pulumi_aws_native/ses/contact_list.py +++ b/sdk/python/pulumi_aws_native/ses/contact_list.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ses/dedicated_ip_pool.py b/sdk/python/pulumi_aws_native/ses/dedicated_ip_pool.py index f0534422ff..c90bb205aa 100644 --- a/sdk/python/pulumi_aws_native/ses/dedicated_ip_pool.py +++ b/sdk/python/pulumi_aws_native/ses/dedicated_ip_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DedicatedIpPoolArgs', 'DedicatedIpPool'] diff --git a/sdk/python/pulumi_aws_native/ses/email_identity.py b/sdk/python/pulumi_aws_native/ses/email_identity.py index 2b4266221d..72acba4980 100644 --- a/sdk/python/pulumi_aws_native/ses/email_identity.py +++ b/sdk/python/pulumi_aws_native/ses/email_identity.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/ses/get_configuration_set.py b/sdk/python/pulumi_aws_native/ses/get_configuration_set.py index f42d682b89..ae5a9d4bd7 100644 --- a/sdk/python/pulumi_aws_native/ses/get_configuration_set.py +++ b/sdk/python/pulumi_aws_native/ses/get_configuration_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -122,9 +127,6 @@ def get_configuration_set(name: Optional[str] = None, suppression_options=pulumi.get(__ret__, 'suppression_options'), tracking_options=pulumi.get(__ret__, 'tracking_options'), vdm_options=pulumi.get(__ret__, 'vdm_options')) - - -@_utilities.lift_output_func(get_configuration_set) def get_configuration_set_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationSetResult]: """ @@ -133,4 +135,14 @@ def get_configuration_set_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the configuration set. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getConfigurationSet', __args__, opts=opts, typ=GetConfigurationSetResult) + return __ret__.apply(lambda __response__: GetConfigurationSetResult( + delivery_options=pulumi.get(__response__, 'delivery_options'), + reputation_options=pulumi.get(__response__, 'reputation_options'), + sending_options=pulumi.get(__response__, 'sending_options'), + suppression_options=pulumi.get(__response__, 'suppression_options'), + tracking_options=pulumi.get(__response__, 'tracking_options'), + vdm_options=pulumi.get(__response__, 'vdm_options'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_configuration_set_event_destination.py b/sdk/python/pulumi_aws_native/ses/get_configuration_set_event_destination.py index 9c8fe1ad58..aa02e8cfc7 100644 --- a/sdk/python/pulumi_aws_native/ses/get_configuration_set_event_destination.py +++ b/sdk/python/pulumi_aws_native/ses/get_configuration_set_event_destination.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -64,12 +69,15 @@ def get_configuration_set_event_destination(id: Optional[str] = None, return AwaitableGetConfigurationSetEventDestinationResult( event_destination=pulumi.get(__ret__, 'event_destination'), id=pulumi.get(__ret__, 'id')) - - -@_utilities.lift_output_func(get_configuration_set_event_destination) def get_configuration_set_event_destination_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationSetEventDestinationResult]: """ Resource Type definition for AWS::SES::ConfigurationSetEventDestination """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getConfigurationSetEventDestination', __args__, opts=opts, typ=GetConfigurationSetEventDestinationResult) + return __ret__.apply(lambda __response__: GetConfigurationSetEventDestinationResult( + event_destination=pulumi.get(__response__, 'event_destination'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_contact_list.py b/sdk/python/pulumi_aws_native/ses/get_contact_list.py index 971b919ff9..3e47b80d18 100644 --- a/sdk/python/pulumi_aws_native/ses/get_contact_list.py +++ b/sdk/python/pulumi_aws_native/ses/get_contact_list.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -84,9 +89,6 @@ def get_contact_list(contact_list_name: Optional[str] = None, description=pulumi.get(__ret__, 'description'), tags=pulumi.get(__ret__, 'tags'), topics=pulumi.get(__ret__, 'topics')) - - -@_utilities.lift_output_func(get_contact_list) def get_contact_list_output(contact_list_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContactListResult]: """ @@ -95,4 +97,11 @@ def get_contact_list_output(contact_list_name: Optional[pulumi.Input[str]] = Non :param str contact_list_name: The name of the contact list. """ - ... + __args__ = dict() + __args__['contactListName'] = contact_list_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getContactList', __args__, opts=opts, typ=GetContactListResult) + return __ret__.apply(lambda __response__: GetContactListResult( + description=pulumi.get(__response__, 'description'), + tags=pulumi.get(__response__, 'tags'), + topics=pulumi.get(__response__, 'topics'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_dedicated_ip_pool.py b/sdk/python/pulumi_aws_native/ses/get_dedicated_ip_pool.py index eb02e75bf8..c6a2a783d0 100644 --- a/sdk/python/pulumi_aws_native/ses/get_dedicated_ip_pool.py +++ b/sdk/python/pulumi_aws_native/ses/get_dedicated_ip_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_dedicated_ip_pool(pool_name: Optional[str] = None, return AwaitableGetDedicatedIpPoolResult( scaling_mode=pulumi.get(__ret__, 'scaling_mode')) - - -@_utilities.lift_output_func(get_dedicated_ip_pool) def get_dedicated_ip_pool_output(pool_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDedicatedIpPoolResult]: """ @@ -67,4 +69,9 @@ def get_dedicated_ip_pool_output(pool_name: Optional[pulumi.Input[str]] = None, :param str pool_name: The name of the dedicated IP pool. """ - ... + __args__ = dict() + __args__['poolName'] = pool_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getDedicatedIpPool', __args__, opts=opts, typ=GetDedicatedIpPoolResult) + return __ret__.apply(lambda __response__: GetDedicatedIpPoolResult( + scaling_mode=pulumi.get(__response__, 'scaling_mode'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_email_identity.py b/sdk/python/pulumi_aws_native/ses/get_email_identity.py index 0e7beed2b4..4405134fd6 100644 --- a/sdk/python/pulumi_aws_native/ses/get_email_identity.py +++ b/sdk/python/pulumi_aws_native/ses/get_email_identity.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -189,9 +194,6 @@ def get_email_identity(email_identity: Optional[str] = None, dkim_signing_attributes=pulumi.get(__ret__, 'dkim_signing_attributes'), feedback_attributes=pulumi.get(__ret__, 'feedback_attributes'), mail_from_attributes=pulumi.get(__ret__, 'mail_from_attributes')) - - -@_utilities.lift_output_func(get_email_identity) def get_email_identity_output(email_identity: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEmailIdentityResult]: """ @@ -200,4 +202,19 @@ def get_email_identity_output(email_identity: Optional[pulumi.Input[str]] = None :param str email_identity: The email address or domain to verify. """ - ... + __args__ = dict() + __args__['emailIdentity'] = email_identity + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getEmailIdentity', __args__, opts=opts, typ=GetEmailIdentityResult) + return __ret__.apply(lambda __response__: GetEmailIdentityResult( + configuration_set_attributes=pulumi.get(__response__, 'configuration_set_attributes'), + dkim_attributes=pulumi.get(__response__, 'dkim_attributes'), + dkim_dns_token_name1=pulumi.get(__response__, 'dkim_dns_token_name1'), + dkim_dns_token_name2=pulumi.get(__response__, 'dkim_dns_token_name2'), + dkim_dns_token_name3=pulumi.get(__response__, 'dkim_dns_token_name3'), + dkim_dns_token_value1=pulumi.get(__response__, 'dkim_dns_token_value1'), + dkim_dns_token_value2=pulumi.get(__response__, 'dkim_dns_token_value2'), + dkim_dns_token_value3=pulumi.get(__response__, 'dkim_dns_token_value3'), + dkim_signing_attributes=pulumi.get(__response__, 'dkim_signing_attributes'), + feedback_attributes=pulumi.get(__response__, 'feedback_attributes'), + mail_from_attributes=pulumi.get(__response__, 'mail_from_attributes'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_mail_manager_addon_instance.py b/sdk/python/pulumi_aws_native/ses/get_mail_manager_addon_instance.py index b566856482..7f7ff71cba 100644 --- a/sdk/python/pulumi_aws_native/ses/get_mail_manager_addon_instance.py +++ b/sdk/python/pulumi_aws_native/ses/get_mail_manager_addon_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_mail_manager_addon_instance(addon_instance_id: Optional[str] = None, addon_instance_id=pulumi.get(__ret__, 'addon_instance_id'), addon_name=pulumi.get(__ret__, 'addon_name'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_mail_manager_addon_instance) def get_mail_manager_addon_instance_output(addon_instance_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMailManagerAddonInstanceResult]: """ @@ -107,4 +109,12 @@ def get_mail_manager_addon_instance_output(addon_instance_id: Optional[pulumi.In :param str addon_instance_id: The unique ID of the Add On instance. """ - ... + __args__ = dict() + __args__['addonInstanceId'] = addon_instance_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getMailManagerAddonInstance', __args__, opts=opts, typ=GetMailManagerAddonInstanceResult) + return __ret__.apply(lambda __response__: GetMailManagerAddonInstanceResult( + addon_instance_arn=pulumi.get(__response__, 'addon_instance_arn'), + addon_instance_id=pulumi.get(__response__, 'addon_instance_id'), + addon_name=pulumi.get(__response__, 'addon_name'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_mail_manager_addon_subscription.py b/sdk/python/pulumi_aws_native/ses/get_mail_manager_addon_subscription.py index 5090e4680f..59b8d630c0 100644 --- a/sdk/python/pulumi_aws_native/ses/get_mail_manager_addon_subscription.py +++ b/sdk/python/pulumi_aws_native/ses/get_mail_manager_addon_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_mail_manager_addon_subscription(addon_subscription_id: Optional[str] = N addon_subscription_arn=pulumi.get(__ret__, 'addon_subscription_arn'), addon_subscription_id=pulumi.get(__ret__, 'addon_subscription_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_mail_manager_addon_subscription) def get_mail_manager_addon_subscription_output(addon_subscription_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMailManagerAddonSubscriptionResult]: """ @@ -94,4 +96,11 @@ def get_mail_manager_addon_subscription_output(addon_subscription_id: Optional[p :param str addon_subscription_id: The unique ID of the Add On subscription. """ - ... + __args__ = dict() + __args__['addonSubscriptionId'] = addon_subscription_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getMailManagerAddonSubscription', __args__, opts=opts, typ=GetMailManagerAddonSubscriptionResult) + return __ret__.apply(lambda __response__: GetMailManagerAddonSubscriptionResult( + addon_subscription_arn=pulumi.get(__response__, 'addon_subscription_arn'), + addon_subscription_id=pulumi.get(__response__, 'addon_subscription_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_mail_manager_archive.py b/sdk/python/pulumi_aws_native/ses/get_mail_manager_archive.py index d07edb4dda..b14effa0b5 100644 --- a/sdk/python/pulumi_aws_native/ses/get_mail_manager_archive.py +++ b/sdk/python/pulumi_aws_native/ses/get_mail_manager_archive.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -127,9 +132,6 @@ def get_mail_manager_archive(archive_id: Optional[str] = None, archive_state=pulumi.get(__ret__, 'archive_state'), retention=pulumi.get(__ret__, 'retention'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_mail_manager_archive) def get_mail_manager_archive_output(archive_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMailManagerArchiveResult]: """ @@ -138,4 +140,14 @@ def get_mail_manager_archive_output(archive_id: Optional[pulumi.Input[str]] = No :param str archive_id: The unique identifier of the archive. """ - ... + __args__ = dict() + __args__['archiveId'] = archive_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getMailManagerArchive', __args__, opts=opts, typ=GetMailManagerArchiveResult) + return __ret__.apply(lambda __response__: GetMailManagerArchiveResult( + archive_arn=pulumi.get(__response__, 'archive_arn'), + archive_id=pulumi.get(__response__, 'archive_id'), + archive_name=pulumi.get(__response__, 'archive_name'), + archive_state=pulumi.get(__response__, 'archive_state'), + retention=pulumi.get(__response__, 'retention'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_mail_manager_ingress_point.py b/sdk/python/pulumi_aws_native/ses/get_mail_manager_ingress_point.py index 42044842c7..71e04e64bb 100644 --- a/sdk/python/pulumi_aws_native/ses/get_mail_manager_ingress_point.py +++ b/sdk/python/pulumi_aws_native/ses/get_mail_manager_ingress_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -162,9 +167,6 @@ def get_mail_manager_ingress_point(ingress_point_id: Optional[str] = None, status_to_update=pulumi.get(__ret__, 'status_to_update'), tags=pulumi.get(__ret__, 'tags'), traffic_policy_id=pulumi.get(__ret__, 'traffic_policy_id')) - - -@_utilities.lift_output_func(get_mail_manager_ingress_point) def get_mail_manager_ingress_point_output(ingress_point_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMailManagerIngressPointResult]: """ @@ -173,4 +175,17 @@ def get_mail_manager_ingress_point_output(ingress_point_id: Optional[pulumi.Inpu :param str ingress_point_id: The identifier of the ingress endpoint resource. """ - ... + __args__ = dict() + __args__['ingressPointId'] = ingress_point_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getMailManagerIngressPoint', __args__, opts=opts, typ=GetMailManagerIngressPointResult) + return __ret__.apply(lambda __response__: GetMailManagerIngressPointResult( + a_record=pulumi.get(__response__, 'a_record'), + ingress_point_arn=pulumi.get(__response__, 'ingress_point_arn'), + ingress_point_id=pulumi.get(__response__, 'ingress_point_id'), + ingress_point_name=pulumi.get(__response__, 'ingress_point_name'), + rule_set_id=pulumi.get(__response__, 'rule_set_id'), + status=pulumi.get(__response__, 'status'), + status_to_update=pulumi.get(__response__, 'status_to_update'), + tags=pulumi.get(__response__, 'tags'), + traffic_policy_id=pulumi.get(__response__, 'traffic_policy_id'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_mail_manager_relay.py b/sdk/python/pulumi_aws_native/ses/get_mail_manager_relay.py index 1cf9895b5d..f2d6557a96 100644 --- a/sdk/python/pulumi_aws_native/ses/get_mail_manager_relay.py +++ b/sdk/python/pulumi_aws_native/ses/get_mail_manager_relay.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -136,9 +141,6 @@ def get_mail_manager_relay(relay_id: Optional[str] = None, server_name=pulumi.get(__ret__, 'server_name'), server_port=pulumi.get(__ret__, 'server_port'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_mail_manager_relay) def get_mail_manager_relay_output(relay_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMailManagerRelayResult]: """ @@ -147,4 +149,15 @@ def get_mail_manager_relay_output(relay_id: Optional[pulumi.Input[str]] = None, :param str relay_id: The unique relay identifier. """ - ... + __args__ = dict() + __args__['relayId'] = relay_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getMailManagerRelay', __args__, opts=opts, typ=GetMailManagerRelayResult) + return __ret__.apply(lambda __response__: GetMailManagerRelayResult( + authentication=pulumi.get(__response__, 'authentication'), + relay_arn=pulumi.get(__response__, 'relay_arn'), + relay_id=pulumi.get(__response__, 'relay_id'), + relay_name=pulumi.get(__response__, 'relay_name'), + server_name=pulumi.get(__response__, 'server_name'), + server_port=pulumi.get(__response__, 'server_port'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_mail_manager_rule_set.py b/sdk/python/pulumi_aws_native/ses/get_mail_manager_rule_set.py index a0c2b26d8d..21831a5442 100644 --- a/sdk/python/pulumi_aws_native/ses/get_mail_manager_rule_set.py +++ b/sdk/python/pulumi_aws_native/ses/get_mail_manager_rule_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -111,9 +116,6 @@ def get_mail_manager_rule_set(rule_set_id: Optional[str] = None, rule_set_name=pulumi.get(__ret__, 'rule_set_name'), rules=pulumi.get(__ret__, 'rules'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_mail_manager_rule_set) def get_mail_manager_rule_set_output(rule_set_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMailManagerRuleSetResult]: """ @@ -122,4 +124,13 @@ def get_mail_manager_rule_set_output(rule_set_id: Optional[pulumi.Input[str]] = :param str rule_set_id: The identifier of the rule set. """ - ... + __args__ = dict() + __args__['ruleSetId'] = rule_set_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getMailManagerRuleSet', __args__, opts=opts, typ=GetMailManagerRuleSetResult) + return __ret__.apply(lambda __response__: GetMailManagerRuleSetResult( + rule_set_arn=pulumi.get(__response__, 'rule_set_arn'), + rule_set_id=pulumi.get(__response__, 'rule_set_id'), + rule_set_name=pulumi.get(__response__, 'rule_set_name'), + rules=pulumi.get(__response__, 'rules'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_mail_manager_traffic_policy.py b/sdk/python/pulumi_aws_native/ses/get_mail_manager_traffic_policy.py index aa0bc8b690..5be1333dc4 100644 --- a/sdk/python/pulumi_aws_native/ses/get_mail_manager_traffic_policy.py +++ b/sdk/python/pulumi_aws_native/ses/get_mail_manager_traffic_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -139,9 +144,6 @@ def get_mail_manager_traffic_policy(traffic_policy_id: Optional[str] = None, traffic_policy_arn=pulumi.get(__ret__, 'traffic_policy_arn'), traffic_policy_id=pulumi.get(__ret__, 'traffic_policy_id'), traffic_policy_name=pulumi.get(__ret__, 'traffic_policy_name')) - - -@_utilities.lift_output_func(get_mail_manager_traffic_policy) def get_mail_manager_traffic_policy_output(traffic_policy_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMailManagerTrafficPolicyResult]: """ @@ -150,4 +152,15 @@ def get_mail_manager_traffic_policy_output(traffic_policy_id: Optional[pulumi.In :param str traffic_policy_id: The identifier of the traffic policy resource. """ - ... + __args__ = dict() + __args__['trafficPolicyId'] = traffic_policy_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getMailManagerTrafficPolicy', __args__, opts=opts, typ=GetMailManagerTrafficPolicyResult) + return __ret__.apply(lambda __response__: GetMailManagerTrafficPolicyResult( + default_action=pulumi.get(__response__, 'default_action'), + max_message_size_bytes=pulumi.get(__response__, 'max_message_size_bytes'), + policy_statements=pulumi.get(__response__, 'policy_statements'), + tags=pulumi.get(__response__, 'tags'), + traffic_policy_arn=pulumi.get(__response__, 'traffic_policy_arn'), + traffic_policy_id=pulumi.get(__response__, 'traffic_policy_id'), + traffic_policy_name=pulumi.get(__response__, 'traffic_policy_name'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_template.py b/sdk/python/pulumi_aws_native/ses/get_template.py index 3dd46d1384..85dbe86658 100644 --- a/sdk/python/pulumi_aws_native/ses/get_template.py +++ b/sdk/python/pulumi_aws_native/ses/get_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -64,12 +69,15 @@ def get_template(id: Optional[str] = None, return AwaitableGetTemplateResult( id=pulumi.get(__ret__, 'id'), template=pulumi.get(__ret__, 'template')) - - -@_utilities.lift_output_func(get_template) def get_template_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTemplateResult]: """ Resource Type definition for AWS::SES::Template """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getTemplate', __args__, opts=opts, typ=GetTemplateResult) + return __ret__.apply(lambda __response__: GetTemplateResult( + id=pulumi.get(__response__, 'id'), + template=pulumi.get(__response__, 'template'))) diff --git a/sdk/python/pulumi_aws_native/ses/get_vdm_attributes.py b/sdk/python/pulumi_aws_native/ses/get_vdm_attributes.py index c5fd6d1392..bdfd77682e 100644 --- a/sdk/python/pulumi_aws_native/ses/get_vdm_attributes.py +++ b/sdk/python/pulumi_aws_native/ses/get_vdm_attributes.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_vdm_attributes(vdm_attributes_resource_id: Optional[str] = None, dashboard_attributes=pulumi.get(__ret__, 'dashboard_attributes'), guardian_attributes=pulumi.get(__ret__, 'guardian_attributes'), vdm_attributes_resource_id=pulumi.get(__ret__, 'vdm_attributes_resource_id')) - - -@_utilities.lift_output_func(get_vdm_attributes) def get_vdm_attributes_output(vdm_attributes_resource_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetVdmAttributesResult]: """ @@ -94,4 +96,11 @@ def get_vdm_attributes_output(vdm_attributes_resource_id: Optional[pulumi.Input[ :param str vdm_attributes_resource_id: Unique identifier for this resource """ - ... + __args__ = dict() + __args__['vdmAttributesResourceId'] = vdm_attributes_resource_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ses:getVdmAttributes', __args__, opts=opts, typ=GetVdmAttributesResult) + return __ret__.apply(lambda __response__: GetVdmAttributesResult( + dashboard_attributes=pulumi.get(__response__, 'dashboard_attributes'), + guardian_attributes=pulumi.get(__response__, 'guardian_attributes'), + vdm_attributes_resource_id=pulumi.get(__response__, 'vdm_attributes_resource_id'))) diff --git a/sdk/python/pulumi_aws_native/ses/mail_manager_addon_instance.py b/sdk/python/pulumi_aws_native/ses/mail_manager_addon_instance.py index 0a464b2a93..542d2cf49f 100644 --- a/sdk/python/pulumi_aws_native/ses/mail_manager_addon_instance.py +++ b/sdk/python/pulumi_aws_native/ses/mail_manager_addon_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ses/mail_manager_addon_subscription.py b/sdk/python/pulumi_aws_native/ses/mail_manager_addon_subscription.py index 2fadccfad7..a036093db9 100644 --- a/sdk/python/pulumi_aws_native/ses/mail_manager_addon_subscription.py +++ b/sdk/python/pulumi_aws_native/ses/mail_manager_addon_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/ses/mail_manager_archive.py b/sdk/python/pulumi_aws_native/ses/mail_manager_archive.py index 36c17b130e..cf6d05ea71 100644 --- a/sdk/python/pulumi_aws_native/ses/mail_manager_archive.py +++ b/sdk/python/pulumi_aws_native/ses/mail_manager_archive.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ses/mail_manager_ingress_point.py b/sdk/python/pulumi_aws_native/ses/mail_manager_ingress_point.py index b13277e848..821fa73d01 100644 --- a/sdk/python/pulumi_aws_native/ses/mail_manager_ingress_point.py +++ b/sdk/python/pulumi_aws_native/ses/mail_manager_ingress_point.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ses/mail_manager_relay.py b/sdk/python/pulumi_aws_native/ses/mail_manager_relay.py index fedca64df8..b7ce8fbbfa 100644 --- a/sdk/python/pulumi_aws_native/ses/mail_manager_relay.py +++ b/sdk/python/pulumi_aws_native/ses/mail_manager_relay.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ses/mail_manager_rule_set.py b/sdk/python/pulumi_aws_native/ses/mail_manager_rule_set.py index 50591e022b..609c8d2877 100644 --- a/sdk/python/pulumi_aws_native/ses/mail_manager_rule_set.py +++ b/sdk/python/pulumi_aws_native/ses/mail_manager_rule_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ses/mail_manager_traffic_policy.py b/sdk/python/pulumi_aws_native/ses/mail_manager_traffic_policy.py index e74d041e44..6bbf394b6f 100644 --- a/sdk/python/pulumi_aws_native/ses/mail_manager_traffic_policy.py +++ b/sdk/python/pulumi_aws_native/ses/mail_manager_traffic_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ses/outputs.py b/sdk/python/pulumi_aws_native/ses/outputs.py index bcba3b2c1f..c2973138d0 100644 --- a/sdk/python/pulumi_aws_native/ses/outputs.py +++ b/sdk/python/pulumi_aws_native/ses/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ses/template.py b/sdk/python/pulumi_aws_native/ses/template.py index 76eec3e452..e61de50876 100644 --- a/sdk/python/pulumi_aws_native/ses/template.py +++ b/sdk/python/pulumi_aws_native/ses/template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/ses/vdm_attributes.py b/sdk/python/pulumi_aws_native/ses/vdm_attributes.py index a2929c4e4f..1c002d2ce8 100644 --- a/sdk/python/pulumi_aws_native/ses/vdm_attributes.py +++ b/sdk/python/pulumi_aws_native/ses/vdm_attributes.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/shield/_inputs.py b/sdk/python/pulumi_aws_native/shield/_inputs.py index df6e169a1f..5ea2490c13 100644 --- a/sdk/python/pulumi_aws_native/shield/_inputs.py +++ b/sdk/python/pulumi_aws_native/shield/_inputs.py @@ -4,19 +4,50 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ProactiveEngagementEmergencyContactArgs', + 'ProactiveEngagementEmergencyContactArgsDict', 'ProtectionApplicationLayerAutomaticResponseConfigurationAction0PropertiesArgs', + 'ProtectionApplicationLayerAutomaticResponseConfigurationAction0PropertiesArgsDict', 'ProtectionApplicationLayerAutomaticResponseConfigurationAction1PropertiesArgs', + 'ProtectionApplicationLayerAutomaticResponseConfigurationAction1PropertiesArgsDict', 'ProtectionApplicationLayerAutomaticResponseConfigurationArgs', + 'ProtectionApplicationLayerAutomaticResponseConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ProactiveEngagementEmergencyContactArgsDict(TypedDict): + """ + An emergency contact is used by Shield Response Team (SRT) to contact you for escalations to the SRT and to initiate proactive customer support. An emergency contact requires an email address. + """ + email_address: pulumi.Input[str] + """ + The email address for the contact. + """ + contact_notes: NotRequired[pulumi.Input[str]] + """ + Additional notes regarding the contact. + """ + phone_number: NotRequired[pulumi.Input[str]] + """ + The phone number for the contact + """ +elif False: + ProactiveEngagementEmergencyContactArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProactiveEngagementEmergencyContactArgs: def __init__(__self__, *, @@ -72,6 +103,19 @@ def phone_number(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "phone_number", value) +if not MYPY: + class ProtectionApplicationLayerAutomaticResponseConfigurationAction0PropertiesArgsDict(TypedDict): + """ + Specifies the action setting that Shield Advanced should use in the AWS WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the AWS WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource. + """ + count: NotRequired[Any] + """ + Specifies that Shield Advanced should configure its AWS WAF rules with the AWS WAF `Count` action. + You must specify exactly one action, either `Block` or `Count`. + """ +elif False: + ProtectionApplicationLayerAutomaticResponseConfigurationAction0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProtectionApplicationLayerAutomaticResponseConfigurationAction0PropertiesArgs: def __init__(__self__, *, @@ -98,6 +142,19 @@ def count(self, value: Optional[Any]): pulumi.set(self, "count", value) +if not MYPY: + class ProtectionApplicationLayerAutomaticResponseConfigurationAction1PropertiesArgsDict(TypedDict): + """ + Specifies the action setting that Shield Advanced should use in the AWS WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the AWS WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource. + """ + block: NotRequired[Any] + """ + Specifies that Shield Advanced should configure its AWS WAF rules with the AWS WAF `Block` action. + You must specify exactly one action, either `Block` or `Count`. + """ +elif False: + ProtectionApplicationLayerAutomaticResponseConfigurationAction1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProtectionApplicationLayerAutomaticResponseConfigurationAction1PropertiesArgs: def __init__(__self__, *, @@ -124,6 +181,22 @@ def block(self, value: Optional[Any]): pulumi.set(self, "block", value) +if not MYPY: + class ProtectionApplicationLayerAutomaticResponseConfigurationArgsDict(TypedDict): + """ + The automatic application layer DDoS mitigation settings for a Protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks. + """ + action: pulumi.Input[Union['ProtectionApplicationLayerAutomaticResponseConfigurationAction0PropertiesArgsDict', 'ProtectionApplicationLayerAutomaticResponseConfigurationAction1PropertiesArgsDict']] + """ + Specifies the action setting that Shield Advanced should use in the AWS WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the AWS WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource. + """ + status: pulumi.Input['ProtectionApplicationLayerAutomaticResponseConfigurationStatus'] + """ + Indicates whether automatic application layer DDoS mitigation is enabled for the protection. + """ +elif False: + ProtectionApplicationLayerAutomaticResponseConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ProtectionApplicationLayerAutomaticResponseConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/shield/drt_access.py b/sdk/python/pulumi_aws_native/shield/drt_access.py index 77af12587b..e1f2f43964 100644 --- a/sdk/python/pulumi_aws_native/shield/drt_access.py +++ b/sdk/python/pulumi_aws_native/shield/drt_access.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['DrtAccessArgs', 'DrtAccess'] diff --git a/sdk/python/pulumi_aws_native/shield/get_drt_access.py b/sdk/python/pulumi_aws_native/shield/get_drt_access.py index 6963b4dc6e..cafd3e0d8a 100644 --- a/sdk/python/pulumi_aws_native/shield/get_drt_access.py +++ b/sdk/python/pulumi_aws_native/shield/get_drt_access.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_drt_access(account_id: Optional[str] = None, account_id=pulumi.get(__ret__, 'account_id'), log_bucket_list=pulumi.get(__ret__, 'log_bucket_list'), role_arn=pulumi.get(__ret__, 'role_arn')) - - -@_utilities.lift_output_func(get_drt_access) def get_drt_access_output(account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDrtAccessResult]: """ @@ -93,4 +95,11 @@ def get_drt_access_output(account_id: Optional[pulumi.Input[str]] = None, :param str account_id: The ID of the account that submitted the template. """ - ... + __args__ = dict() + __args__['accountId'] = account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:shield:getDrtAccess', __args__, opts=opts, typ=GetDrtAccessResult) + return __ret__.apply(lambda __response__: GetDrtAccessResult( + account_id=pulumi.get(__response__, 'account_id'), + log_bucket_list=pulumi.get(__response__, 'log_bucket_list'), + role_arn=pulumi.get(__response__, 'role_arn'))) diff --git a/sdk/python/pulumi_aws_native/shield/get_proactive_engagement.py b/sdk/python/pulumi_aws_native/shield/get_proactive_engagement.py index 91c70bfb73..27ab2fdb2f 100644 --- a/sdk/python/pulumi_aws_native/shield/get_proactive_engagement.py +++ b/sdk/python/pulumi_aws_native/shield/get_proactive_engagement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -86,9 +91,6 @@ def get_proactive_engagement(account_id: Optional[str] = None, account_id=pulumi.get(__ret__, 'account_id'), emergency_contact_list=pulumi.get(__ret__, 'emergency_contact_list'), proactive_engagement_status=pulumi.get(__ret__, 'proactive_engagement_status')) - - -@_utilities.lift_output_func(get_proactive_engagement) def get_proactive_engagement_output(account_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProactiveEngagementResult]: """ @@ -97,4 +99,11 @@ def get_proactive_engagement_output(account_id: Optional[pulumi.Input[str]] = No :param str account_id: The ID of the account that submitted the template. """ - ... + __args__ = dict() + __args__['accountId'] = account_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:shield:getProactiveEngagement', __args__, opts=opts, typ=GetProactiveEngagementResult) + return __ret__.apply(lambda __response__: GetProactiveEngagementResult( + account_id=pulumi.get(__response__, 'account_id'), + emergency_contact_list=pulumi.get(__response__, 'emergency_contact_list'), + proactive_engagement_status=pulumi.get(__response__, 'proactive_engagement_status'))) diff --git a/sdk/python/pulumi_aws_native/shield/get_protection.py b/sdk/python/pulumi_aws_native/shield/get_protection.py index 0d56bdf83e..5841415d76 100644 --- a/sdk/python/pulumi_aws_native/shield/get_protection.py +++ b/sdk/python/pulumi_aws_native/shield/get_protection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -113,9 +118,6 @@ def get_protection(protection_arn: Optional[str] = None, protection_arn=pulumi.get(__ret__, 'protection_arn'), protection_id=pulumi.get(__ret__, 'protection_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_protection) def get_protection_output(protection_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProtectionResult]: """ @@ -124,4 +126,13 @@ def get_protection_output(protection_arn: Optional[pulumi.Input[str]] = None, :param str protection_arn: The ARN (Amazon Resource Name) of the protection. """ - ... + __args__ = dict() + __args__['protectionArn'] = protection_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:shield:getProtection', __args__, opts=opts, typ=GetProtectionResult) + return __ret__.apply(lambda __response__: GetProtectionResult( + application_layer_automatic_response_configuration=pulumi.get(__response__, 'application_layer_automatic_response_configuration'), + health_check_arns=pulumi.get(__response__, 'health_check_arns'), + protection_arn=pulumi.get(__response__, 'protection_arn'), + protection_id=pulumi.get(__response__, 'protection_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/shield/get_protection_group.py b/sdk/python/pulumi_aws_native/shield/get_protection_group.py index b7721115a5..2d8b6db1e7 100644 --- a/sdk/python/pulumi_aws_native/shield/get_protection_group.py +++ b/sdk/python/pulumi_aws_native/shield/get_protection_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -126,9 +131,6 @@ def get_protection_group(protection_group_arn: Optional[str] = None, protection_group_arn=pulumi.get(__ret__, 'protection_group_arn'), resource_type=pulumi.get(__ret__, 'resource_type'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_protection_group) def get_protection_group_output(protection_group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProtectionGroupResult]: """ @@ -137,4 +139,14 @@ def get_protection_group_output(protection_group_arn: Optional[pulumi.Input[str] :param str protection_group_arn: The ARN (Amazon Resource Name) of the protection group. """ - ... + __args__ = dict() + __args__['protectionGroupArn'] = protection_group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:shield:getProtectionGroup', __args__, opts=opts, typ=GetProtectionGroupResult) + return __ret__.apply(lambda __response__: GetProtectionGroupResult( + aggregation=pulumi.get(__response__, 'aggregation'), + members=pulumi.get(__response__, 'members'), + pattern=pulumi.get(__response__, 'pattern'), + protection_group_arn=pulumi.get(__response__, 'protection_group_arn'), + resource_type=pulumi.get(__response__, 'resource_type'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/shield/outputs.py b/sdk/python/pulumi_aws_native/shield/outputs.py index 4a8ca69700..374cbab4fe 100644 --- a/sdk/python/pulumi_aws_native/shield/outputs.py +++ b/sdk/python/pulumi_aws_native/shield/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/shield/proactive_engagement.py b/sdk/python/pulumi_aws_native/shield/proactive_engagement.py index 0896130fb6..8b4b409e0f 100644 --- a/sdk/python/pulumi_aws_native/shield/proactive_engagement.py +++ b/sdk/python/pulumi_aws_native/shield/proactive_engagement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/shield/protection.py b/sdk/python/pulumi_aws_native/shield/protection.py index 3ab4659b14..eb475d109f 100644 --- a/sdk/python/pulumi_aws_native/shield/protection.py +++ b/sdk/python/pulumi_aws_native/shield/protection.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/shield/protection_group.py b/sdk/python/pulumi_aws_native/shield/protection_group.py index 777472920c..9604cd7ebc 100644 --- a/sdk/python/pulumi_aws_native/shield/protection_group.py +++ b/sdk/python/pulumi_aws_native/shield/protection_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/signer/_inputs.py b/sdk/python/pulumi_aws_native/signer/_inputs.py index 719852db1b..094948479e 100644 --- a/sdk/python/pulumi_aws_native/signer/_inputs.py +++ b/sdk/python/pulumi_aws_native/signer/_inputs.py @@ -4,16 +4,37 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'SigningProfileSignatureValidityPeriodArgs', + 'SigningProfileSignatureValidityPeriodArgsDict', ] +MYPY = False + +if not MYPY: + class SigningProfileSignatureValidityPeriodArgsDict(TypedDict): + type: NotRequired[pulumi.Input['SigningProfileSignatureValidityPeriodType']] + """ + The time unit for signature validity: DAYS | MONTHS | YEARS. + """ + value: NotRequired[pulumi.Input[int]] + """ + The numerical value of the time unit for signature validity. + """ +elif False: + SigningProfileSignatureValidityPeriodArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SigningProfileSignatureValidityPeriodArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/signer/get_signing_profile.py b/sdk/python/pulumi_aws_native/signer/get_signing_profile.py index 3b7c6698eb..88aca9d759 100644 --- a/sdk/python/pulumi_aws_native/signer/get_signing_profile.py +++ b/sdk/python/pulumi_aws_native/signer/get_signing_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_signing_profile(arn: Optional[str] = None, profile_version=pulumi.get(__ret__, 'profile_version'), profile_version_arn=pulumi.get(__ret__, 'profile_version_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_signing_profile) def get_signing_profile_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSigningProfileResult]: """ @@ -107,4 +109,12 @@ def get_signing_profile_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the specified signing profile. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:signer:getSigningProfile', __args__, opts=opts, typ=GetSigningProfileResult) + return __ret__.apply(lambda __response__: GetSigningProfileResult( + arn=pulumi.get(__response__, 'arn'), + profile_version=pulumi.get(__response__, 'profile_version'), + profile_version_arn=pulumi.get(__response__, 'profile_version_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/signer/outputs.py b/sdk/python/pulumi_aws_native/signer/outputs.py index 3d5d26a8b1..d1011d05d3 100644 --- a/sdk/python/pulumi_aws_native/signer/outputs.py +++ b/sdk/python/pulumi_aws_native/signer/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/signer/profile_permission.py b/sdk/python/pulumi_aws_native/signer/profile_permission.py index ea723fcbdb..562b0f492a 100644 --- a/sdk/python/pulumi_aws_native/signer/profile_permission.py +++ b/sdk/python/pulumi_aws_native/signer/profile_permission.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ProfilePermissionArgs', 'ProfilePermission'] diff --git a/sdk/python/pulumi_aws_native/signer/signing_profile.py b/sdk/python/pulumi_aws_native/signer/signing_profile.py index b85e16d23a..ae25034369 100644 --- a/sdk/python/pulumi_aws_native/signer/signing_profile.py +++ b/sdk/python/pulumi_aws_native/signer/signing_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/simspaceweaver/_inputs.py b/sdk/python/pulumi_aws_native/simspaceweaver/_inputs.py index b916d7b99a..933cecd771 100644 --- a/sdk/python/pulumi_aws_native/simspaceweaver/_inputs.py +++ b/sdk/python/pulumi_aws_native/simspaceweaver/_inputs.py @@ -4,15 +4,36 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'SimulationS3LocationArgs', + 'SimulationS3LocationArgsDict', ] +MYPY = False + +if not MYPY: + class SimulationS3LocationArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + """ + The Schema S3 bucket name. + """ + object_key: pulumi.Input[str] + """ + This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema. + """ +elif False: + SimulationS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SimulationS3LocationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/simspaceweaver/get_simulation.py b/sdk/python/pulumi_aws_native/simspaceweaver/get_simulation.py index 725d74eaa8..b7c8b81889 100644 --- a/sdk/python/pulumi_aws_native/simspaceweaver/get_simulation.py +++ b/sdk/python/pulumi_aws_native/simspaceweaver/get_simulation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_simulation(name: Optional[str] = None, return AwaitableGetSimulationResult( describe_payload=pulumi.get(__ret__, 'describe_payload')) - - -@_utilities.lift_output_func(get_simulation) def get_simulation_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSimulationResult]: """ @@ -67,4 +69,9 @@ def get_simulation_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the simulation. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:simspaceweaver:getSimulation', __args__, opts=opts, typ=GetSimulationResult) + return __ret__.apply(lambda __response__: GetSimulationResult( + describe_payload=pulumi.get(__response__, 'describe_payload'))) diff --git a/sdk/python/pulumi_aws_native/simspaceweaver/outputs.py b/sdk/python/pulumi_aws_native/simspaceweaver/outputs.py index 3476190bb3..7f3026a301 100644 --- a/sdk/python/pulumi_aws_native/simspaceweaver/outputs.py +++ b/sdk/python/pulumi_aws_native/simspaceweaver/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/simspaceweaver/simulation.py b/sdk/python/pulumi_aws_native/simspaceweaver/simulation.py index 620f033e26..330828490b 100644 --- a/sdk/python/pulumi_aws_native/simspaceweaver/simulation.py +++ b/sdk/python/pulumi_aws_native/simspaceweaver/simulation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/sns/_inputs.py b/sdk/python/pulumi_aws_native/sns/_inputs.py index a56d0ced3e..660108c444 100644 --- a/sdk/python/pulumi_aws_native/sns/_inputs.py +++ b/sdk/python/pulumi_aws_native/sns/_inputs.py @@ -4,17 +4,51 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'TopicLoggingConfigArgs', + 'TopicLoggingConfigArgsDict', 'TopicSubscriptionArgs', + 'TopicSubscriptionArgsDict', ] +MYPY = False + +if not MYPY: + class TopicLoggingConfigArgsDict(TypedDict): + """ + The ``LoggingConfig`` property type specifies the ``Delivery`` status logging configuration for an [AWS::SNS::Topic](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html). + """ + protocol: pulumi.Input['TopicLoggingConfigProtocol'] + """ + Indicates one of the supported protocols for the Amazon SNS topic. + At least one of the other three ``LoggingConfig`` properties is recommend along with ``Protocol``. + """ + failure_feedback_role_arn: NotRequired[pulumi.Input[str]] + """ + The IAM role ARN to be used when logging failed message deliveries in Amazon CloudWatch. + """ + success_feedback_role_arn: NotRequired[pulumi.Input[str]] + """ + The IAM role ARN to be used when logging successful message deliveries in Amazon CloudWatch. + """ + success_feedback_sample_rate: NotRequired[pulumi.Input[str]] + """ + The percentage of successful message deliveries to be logged in Amazon CloudWatch. Valid percentage values range from 0 to 100. + """ +elif False: + TopicLoggingConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicLoggingConfigArgs: def __init__(__self__, *, @@ -88,6 +122,23 @@ def success_feedback_sample_rate(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "success_feedback_sample_rate", value) +if not MYPY: + class TopicSubscriptionArgsDict(TypedDict): + """ + ``Subscription`` is an embedded property that describes the subscription endpoints of an SNS topic. + For full control over subscription behavior (for example, delivery policy, filtering, raw message delivery, and cross-region subscriptions), use the [AWS::SNS::Subscription](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html) resource. + """ + endpoint: pulumi.Input[str] + """ + The endpoint that receives notifications from the SNS topic. The endpoint value depends on the protocol that you specify. For more information, see the ``Endpoint`` parameter of the ``Subscribe`` action in the *API Reference*. + """ + protocol: pulumi.Input[str] + """ + The subscription's protocol. For more information, see the ``Protocol`` parameter of the ``Subscribe`` action in the *API Reference*. + """ +elif False: + TopicSubscriptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TopicSubscriptionArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/sns/get_subscription.py b/sdk/python/pulumi_aws_native/sns/get_subscription.py index bf70bb0b03..e848172c06 100644 --- a/sdk/python/pulumi_aws_native/sns/get_subscription.py +++ b/sdk/python/pulumi_aws_native/sns/get_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -155,9 +160,6 @@ def get_subscription(arn: Optional[str] = None, redrive_policy=pulumi.get(__ret__, 'redrive_policy'), replay_policy=pulumi.get(__ret__, 'replay_policy'), subscription_role_arn=pulumi.get(__ret__, 'subscription_role_arn')) - - -@_utilities.lift_output_func(get_subscription) def get_subscription_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSubscriptionResult]: """ @@ -166,4 +168,16 @@ def get_subscription_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Arn of the subscription """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sns:getSubscription', __args__, opts=opts, typ=GetSubscriptionResult) + return __ret__.apply(lambda __response__: GetSubscriptionResult( + arn=pulumi.get(__response__, 'arn'), + delivery_policy=pulumi.get(__response__, 'delivery_policy'), + filter_policy=pulumi.get(__response__, 'filter_policy'), + filter_policy_scope=pulumi.get(__response__, 'filter_policy_scope'), + raw_message_delivery=pulumi.get(__response__, 'raw_message_delivery'), + redrive_policy=pulumi.get(__response__, 'redrive_policy'), + replay_policy=pulumi.get(__response__, 'replay_policy'), + subscription_role_arn=pulumi.get(__response__, 'subscription_role_arn'))) diff --git a/sdk/python/pulumi_aws_native/sns/get_topic.py b/sdk/python/pulumi_aws_native/sns/get_topic.py index 2d0d865150..122cb67bc9 100644 --- a/sdk/python/pulumi_aws_native/sns/get_topic.py +++ b/sdk/python/pulumi_aws_native/sns/get_topic.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -211,9 +216,6 @@ def get_topic(topic_arn: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), topic_arn=pulumi.get(__ret__, 'topic_arn'), tracing_config=pulumi.get(__ret__, 'tracing_config')) - - -@_utilities.lift_output_func(get_topic) def get_topic_output(topic_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTopicResult]: """ @@ -224,4 +226,19 @@ def get_topic_output(topic_arn: Optional[pulumi.Input[str]] = None, :param str topic_arn: Returns the ARN of an Amazon SNS topic. """ - ... + __args__ = dict() + __args__['topicArn'] = topic_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sns:getTopic', __args__, opts=opts, typ=GetTopicResult) + return __ret__.apply(lambda __response__: GetTopicResult( + archive_policy=pulumi.get(__response__, 'archive_policy'), + content_based_deduplication=pulumi.get(__response__, 'content_based_deduplication'), + data_protection_policy=pulumi.get(__response__, 'data_protection_policy'), + delivery_status_logging=pulumi.get(__response__, 'delivery_status_logging'), + display_name=pulumi.get(__response__, 'display_name'), + kms_master_key_id=pulumi.get(__response__, 'kms_master_key_id'), + signature_version=pulumi.get(__response__, 'signature_version'), + subscription=pulumi.get(__response__, 'subscription'), + tags=pulumi.get(__response__, 'tags'), + topic_arn=pulumi.get(__response__, 'topic_arn'), + tracing_config=pulumi.get(__response__, 'tracing_config'))) diff --git a/sdk/python/pulumi_aws_native/sns/get_topic_inline_policy.py b/sdk/python/pulumi_aws_native/sns/get_topic_inline_policy.py index 92d618d667..7677df3619 100644 --- a/sdk/python/pulumi_aws_native/sns/get_topic_inline_policy.py +++ b/sdk/python/pulumi_aws_native/sns/get_topic_inline_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -58,9 +63,6 @@ def get_topic_inline_policy(topic_arn: Optional[str] = None, return AwaitableGetTopicInlinePolicyResult( policy_document=pulumi.get(__ret__, 'policy_document')) - - -@_utilities.lift_output_func(get_topic_inline_policy) def get_topic_inline_policy_output(topic_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTopicInlinePolicyResult]: """ @@ -69,4 +71,9 @@ def get_topic_inline_policy_output(topic_arn: Optional[pulumi.Input[str]] = None :param str topic_arn: The Amazon Resource Name (ARN) of the topic to which you want to add the policy. """ - ... + __args__ = dict() + __args__['topicArn'] = topic_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sns:getTopicInlinePolicy', __args__, opts=opts, typ=GetTopicInlinePolicyResult) + return __ret__.apply(lambda __response__: GetTopicInlinePolicyResult( + policy_document=pulumi.get(__response__, 'policy_document'))) diff --git a/sdk/python/pulumi_aws_native/sns/get_topic_policy.py b/sdk/python/pulumi_aws_native/sns/get_topic_policy.py index e0990abd05..f70d5f012f 100644 --- a/sdk/python/pulumi_aws_native/sns/get_topic_policy.py +++ b/sdk/python/pulumi_aws_native/sns/get_topic_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -84,9 +89,6 @@ def get_topic_policy(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), policy_document=pulumi.get(__ret__, 'policy_document'), topics=pulumi.get(__ret__, 'topics')) - - -@_utilities.lift_output_func(get_topic_policy) def get_topic_policy_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTopicPolicyResult]: """ @@ -95,4 +97,11 @@ def get_topic_policy_output(id: Optional[pulumi.Input[str]] = None, :param str id: The provider-assigned unique ID for this managed resource. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sns:getTopicPolicy', __args__, opts=opts, typ=GetTopicPolicyResult) + return __ret__.apply(lambda __response__: GetTopicPolicyResult( + id=pulumi.get(__response__, 'id'), + policy_document=pulumi.get(__response__, 'policy_document'), + topics=pulumi.get(__response__, 'topics'))) diff --git a/sdk/python/pulumi_aws_native/sns/outputs.py b/sdk/python/pulumi_aws_native/sns/outputs.py index efa06ccfcc..a749630a7d 100644 --- a/sdk/python/pulumi_aws_native/sns/outputs.py +++ b/sdk/python/pulumi_aws_native/sns/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/sns/subscription.py b/sdk/python/pulumi_aws_native/sns/subscription.py index cc8ca446ec..1ffd9e3e13 100644 --- a/sdk/python/pulumi_aws_native/sns/subscription.py +++ b/sdk/python/pulumi_aws_native/sns/subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SubscriptionArgs', 'Subscription'] diff --git a/sdk/python/pulumi_aws_native/sns/topic.py b/sdk/python/pulumi_aws_native/sns/topic.py index d539815699..8fc1bd7513 100644 --- a/sdk/python/pulumi_aws_native/sns/topic.py +++ b/sdk/python/pulumi_aws_native/sns/topic.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sns/topic_inline_policy.py b/sdk/python/pulumi_aws_native/sns/topic_inline_policy.py index 6696755897..7672496d03 100644 --- a/sdk/python/pulumi_aws_native/sns/topic_inline_policy.py +++ b/sdk/python/pulumi_aws_native/sns/topic_inline_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TopicInlinePolicyArgs', 'TopicInlinePolicy'] diff --git a/sdk/python/pulumi_aws_native/sns/topic_policy.py b/sdk/python/pulumi_aws_native/sns/topic_policy.py index 8aba29b29b..2cdc7e8df4 100644 --- a/sdk/python/pulumi_aws_native/sns/topic_policy.py +++ b/sdk/python/pulumi_aws_native/sns/topic_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['TopicPolicyArgs', 'TopicPolicy'] diff --git a/sdk/python/pulumi_aws_native/sqs/get_queue.py b/sdk/python/pulumi_aws_native/sqs/get_queue.py index 668d25ba57..c5ffffed67 100644 --- a/sdk/python/pulumi_aws_native/sqs/get_queue.py +++ b/sdk/python/pulumi_aws_native/sqs/get_queue.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -288,9 +293,6 @@ def get_queue(queue_url: Optional[str] = None, sqs_managed_sse_enabled=pulumi.get(__ret__, 'sqs_managed_sse_enabled'), tags=pulumi.get(__ret__, 'tags'), visibility_timeout=pulumi.get(__ret__, 'visibility_timeout')) - - -@_utilities.lift_output_func(get_queue) def get_queue_output(queue_url: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetQueueResult]: """ @@ -307,4 +309,24 @@ def get_queue_output(queue_url: Optional[pulumi.Input[str]] = None, :param str queue_url: Returns the URLs of the queues from the policy. """ - ... + __args__ = dict() + __args__['queueUrl'] = queue_url + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sqs:getQueue', __args__, opts=opts, typ=GetQueueResult) + return __ret__.apply(lambda __response__: GetQueueResult( + arn=pulumi.get(__response__, 'arn'), + content_based_deduplication=pulumi.get(__response__, 'content_based_deduplication'), + deduplication_scope=pulumi.get(__response__, 'deduplication_scope'), + delay_seconds=pulumi.get(__response__, 'delay_seconds'), + fifo_throughput_limit=pulumi.get(__response__, 'fifo_throughput_limit'), + kms_data_key_reuse_period_seconds=pulumi.get(__response__, 'kms_data_key_reuse_period_seconds'), + kms_master_key_id=pulumi.get(__response__, 'kms_master_key_id'), + maximum_message_size=pulumi.get(__response__, 'maximum_message_size'), + message_retention_period=pulumi.get(__response__, 'message_retention_period'), + queue_url=pulumi.get(__response__, 'queue_url'), + receive_message_wait_time_seconds=pulumi.get(__response__, 'receive_message_wait_time_seconds'), + redrive_allow_policy=pulumi.get(__response__, 'redrive_allow_policy'), + redrive_policy=pulumi.get(__response__, 'redrive_policy'), + sqs_managed_sse_enabled=pulumi.get(__response__, 'sqs_managed_sse_enabled'), + tags=pulumi.get(__response__, 'tags'), + visibility_timeout=pulumi.get(__response__, 'visibility_timeout'))) diff --git a/sdk/python/pulumi_aws_native/sqs/get_queue_inline_policy.py b/sdk/python/pulumi_aws_native/sqs/get_queue_inline_policy.py index 00678b0cac..9450287e70 100644 --- a/sdk/python/pulumi_aws_native/sqs/get_queue_inline_policy.py +++ b/sdk/python/pulumi_aws_native/sqs/get_queue_inline_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -58,9 +63,6 @@ def get_queue_inline_policy(queue: Optional[str] = None, return AwaitableGetQueueInlinePolicyResult( policy_document=pulumi.get(__ret__, 'policy_document')) - - -@_utilities.lift_output_func(get_queue_inline_policy) def get_queue_inline_policy_output(queue: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetQueueInlinePolicyResult]: """ @@ -69,4 +71,9 @@ def get_queue_inline_policy_output(queue: Optional[pulumi.Input[str]] = None, :param str queue: The URL of the SQS queue. """ - ... + __args__ = dict() + __args__['queue'] = queue + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sqs:getQueueInlinePolicy', __args__, opts=opts, typ=GetQueueInlinePolicyResult) + return __ret__.apply(lambda __response__: GetQueueInlinePolicyResult( + policy_document=pulumi.get(__response__, 'policy_document'))) diff --git a/sdk/python/pulumi_aws_native/sqs/queue.py b/sdk/python/pulumi_aws_native/sqs/queue.py index 2467f888ba..3b41243b8a 100644 --- a/sdk/python/pulumi_aws_native/sqs/queue.py +++ b/sdk/python/pulumi_aws_native/sqs/queue.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/sqs/queue_inline_policy.py b/sdk/python/pulumi_aws_native/sqs/queue_inline_policy.py index 6534279969..fcdbf10395 100644 --- a/sdk/python/pulumi_aws_native/sqs/queue_inline_policy.py +++ b/sdk/python/pulumi_aws_native/sqs/queue_inline_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['QueueInlinePolicyArgs', 'QueueInlinePolicy'] diff --git a/sdk/python/pulumi_aws_native/ssm/_inputs.py b/sdk/python/pulumi_aws_native/ssm/_inputs.py index ceef174f8c..051fb4ce88 100644 --- a/sdk/python/pulumi_aws_native/ssm/_inputs.py +++ b/sdk/python/pulumi_aws_native/ssm/_inputs.py @@ -4,28 +4,57 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AssociationInstanceAssociationOutputLocationArgs', + 'AssociationInstanceAssociationOutputLocationArgsDict', 'AssociationS3OutputLocationArgs', + 'AssociationS3OutputLocationArgsDict', 'AssociationTargetArgs', + 'AssociationTargetArgsDict', 'DocumentAttachmentsSourceArgs', + 'DocumentAttachmentsSourceArgsDict', 'DocumentRequiresArgs', + 'DocumentRequiresArgsDict', 'PatchBaselinePatchFilterGroupArgs', + 'PatchBaselinePatchFilterGroupArgsDict', 'PatchBaselinePatchFilterArgs', + 'PatchBaselinePatchFilterArgsDict', 'PatchBaselinePatchSourceArgs', + 'PatchBaselinePatchSourceArgsDict', 'PatchBaselineRuleGroupArgs', + 'PatchBaselineRuleGroupArgsDict', 'PatchBaselineRuleArgs', + 'PatchBaselineRuleArgsDict', 'ResourceDataSyncAwsOrganizationsSourceArgs', + 'ResourceDataSyncAwsOrganizationsSourceArgsDict', 'ResourceDataSyncS3DestinationArgs', + 'ResourceDataSyncS3DestinationArgsDict', 'ResourceDataSyncSyncSourceArgs', + 'ResourceDataSyncSyncSourceArgsDict', ] +MYPY = False + +if not MYPY: + class AssociationInstanceAssociationOutputLocationArgsDict(TypedDict): + s3_location: NotRequired[pulumi.Input['AssociationS3OutputLocationArgsDict']] + """ + `S3OutputLocation` is a property of the [InstanceAssociationOutputLocation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-instanceassociationoutputlocation.html) property that specifies an Amazon S3 bucket where you want to store the results of this request. + """ +elif False: + AssociationInstanceAssociationOutputLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssociationInstanceAssociationOutputLocationArgs: def __init__(__self__, *, @@ -49,6 +78,23 @@ def s3_location(self, value: Optional[pulumi.Input['AssociationS3OutputLocationA pulumi.set(self, "s3_location", value) +if not MYPY: + class AssociationS3OutputLocationArgsDict(TypedDict): + output_s3_bucket_name: NotRequired[pulumi.Input[str]] + """ + The name of the S3 bucket. + """ + output_s3_key_prefix: NotRequired[pulumi.Input[str]] + """ + The S3 bucket subfolder. + """ + output_s3_region: NotRequired[pulumi.Input[str]] + """ + The AWS Region of the S3 bucket. + """ +elif False: + AssociationS3OutputLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssociationS3OutputLocationArgs: def __init__(__self__, *, @@ -104,6 +150,21 @@ def output_s3_region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "output_s3_region", value) +if not MYPY: + class AssociationTargetArgsDict(TypedDict): + key: pulumi.Input[str] + """ + User-defined criteria for sending commands that target managed nodes that meet the criteria. + """ + values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + User-defined criteria that maps to `Key` . For example, if you specified `tag:ServerRole` , you could specify `value:WebServer` to run a command on instances that include EC2 tags of `ServerRole,WebServer` . + + Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50. + """ +elif False: + AssociationTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssociationTargetArgs: def __init__(__self__, *, @@ -145,6 +206,23 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class DocumentAttachmentsSourceArgsDict(TypedDict): + key: NotRequired[pulumi.Input['DocumentAttachmentsSourceKey']] + """ + The key of a key-value pair that identifies the location of an attachment to a document. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the document attachment file. + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The value of a key-value pair that identifies the location of an attachment to a document. The format for Value depends on the type of key you specify. + """ +elif False: + DocumentAttachmentsSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DocumentAttachmentsSourceArgs: def __init__(__self__, *, @@ -200,6 +278,19 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class DocumentRequiresArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + The name of the required SSM document. The name can be an Amazon Resource Name (ARN). + """ + version: NotRequired[pulumi.Input[str]] + """ + The document version required by the current document. + """ +elif False: + DocumentRequiresArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DocumentRequiresArgs: def __init__(__self__, *, @@ -239,6 +330,18 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class PatchBaselinePatchFilterGroupArgsDict(TypedDict): + """ + The patch filter group that defines the criteria for the rule. + """ + patch_filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['PatchBaselinePatchFilterArgsDict']]]] + """ + The set of patch filters that make up the group. + """ +elif False: + PatchBaselinePatchFilterGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PatchBaselinePatchFilterGroupArgs: def __init__(__self__, *, @@ -263,6 +366,26 @@ def patch_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Patc pulumi.set(self, "patch_filters", value) +if not MYPY: + class PatchBaselinePatchFilterArgsDict(TypedDict): + """ + Defines which patches should be included in a patch baseline. + """ + key: NotRequired[pulumi.Input['PatchBaselinePatchFilterKey']] + """ + The key for the filter. + + For information about valid keys, see [PatchFilter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html) in the *AWS Systems Manager API Reference* . + """ + values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The value for the filter key. + + For information about valid values for each key based on operating system type, see [PatchFilter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html) in the *AWS Systems Manager API Reference* . + """ +elif False: + PatchBaselinePatchFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PatchBaselinePatchFilterArgs: def __init__(__self__, *, @@ -311,6 +434,36 @@ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "values", value) +if not MYPY: + class PatchBaselinePatchSourceArgsDict(TypedDict): + """ + Information about the patches to use to update the instances, including target operating systems and source repository. Applies to Linux instances only. + """ + configuration: NotRequired[pulumi.Input[str]] + """ + The value of the yum repo configuration. For example: + + `[main]` + + `name=MyCustomRepository` + + `baseurl=https://my-custom-repository` + + `enabled=1` + + > For information about other options available for your yum repository configuration, see [dnf.conf(5)](https://docs.aws.amazon.com/https://man7.org/linux/man-pages/man5/dnf.conf.5.html) . + """ + name: NotRequired[pulumi.Input[str]] + """ + The name specified to identify the patch source. + """ + products: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", "RedhatEnterpriseLinux7.2" or "Suse12.7". For lists of supported product values, see [PatchFilter](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PatchFilter.html) in the *AWS Systems Manager API Reference* . + """ +elif False: + PatchBaselinePatchSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PatchBaselinePatchSourceArgs: def __init__(__self__, *, @@ -387,6 +540,18 @@ def products(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "products", value) +if not MYPY: + class PatchBaselineRuleGroupArgsDict(TypedDict): + """ + A set of rules defining the approval rules for a patch baseline. + """ + patch_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['PatchBaselineRuleArgsDict']]]] + """ + The rules that make up the rule group. + """ +elif False: + PatchBaselineRuleGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PatchBaselineRuleGroupArgs: def __init__(__self__, *, @@ -411,6 +576,48 @@ def patch_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PatchB pulumi.set(self, "patch_rules", value) +if not MYPY: + class PatchBaselineRuleArgsDict(TypedDict): + """ + Defines an approval rule for a patch baseline. + """ + approve_after_days: NotRequired[pulumi.Input[int]] + """ + The number of days after the release date of each patch matched by the rule that the patch is marked as approved in the patch baseline. For example, a value of `7` means that patches are approved seven days after they are released. + + This parameter is marked as `Required: No` , but your request must include a value for either `ApproveAfterDays` or `ApproveUntilDate` . + + Not supported for Debian Server or Ubuntu Server. + + > Use caution when setting this value for Windows Server patch baselines. Because patch updates that are replaced by later updates are removed, setting too broad a value for this parameter can result in crucial patches not being installed. For more information, see the *Windows Server* tab in the topic [How security patches are selected](https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-selecting-patches.html) in the *AWS Systems Manager User Guide* . + """ + approve_until_date: NotRequired[pulumi.Input[str]] + """ + The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. + + Enter dates in the format `YYYY-MM-DD` . For example, `2024-12-31` . + + This parameter is marked as `Required: No` , but your request must include a value for either `ApproveUntilDate` or `ApproveAfterDays` . + + Not supported for Debian Server or Ubuntu Server. + + > Use caution when setting this value for Windows Server patch baselines. Because patch updates that are replaced by later updates are removed, setting too broad a value for this parameter can result in crucial patches not being installed. For more information, see the *Windows Server* tab in the topic [How security patches are selected](https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-selecting-patches.html) in the *AWS Systems Manager User Guide* . + """ + compliance_level: NotRequired[pulumi.Input['PatchBaselineRuleComplianceLevel']] + """ + A compliance severity level for all approved patches in a patch baseline. Valid compliance severity levels include the following: `UNSPECIFIED` , `CRITICAL` , `HIGH` , `MEDIUM` , `LOW` , and `INFORMATIONAL` . + """ + enable_non_security: NotRequired[pulumi.Input[bool]] + """ + For managed nodes identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is `false` . Applies to Linux managed nodes only. + """ + patch_filter_group: NotRequired[pulumi.Input['PatchBaselinePatchFilterGroupArgsDict']] + """ + The patch filter group that defines the criteria for the rule. + """ +elif False: + PatchBaselineRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PatchBaselineRuleArgs: def __init__(__self__, *, @@ -527,6 +734,19 @@ def patch_filter_group(self, value: Optional[pulumi.Input['PatchBaselinePatchFil pulumi.set(self, "patch_filter_group", value) +if not MYPY: + class ResourceDataSyncAwsOrganizationsSourceArgsDict(TypedDict): + organization_source_type: pulumi.Input[str] + """ + If an AWS organization is present, this is either `OrganizationalUnits` or `EntireOrganization` . For `OrganizationalUnits` , the data is aggregated from a set of organization units. For `EntireOrganization` , the data is aggregated from the entire AWS organization. + """ + organizational_units: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The AWS Organizations organization units included in the sync. + """ +elif False: + ResourceDataSyncAwsOrganizationsSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceDataSyncAwsOrganizationsSourceArgs: def __init__(__self__, *, @@ -565,6 +785,31 @@ def organizational_units(self, value: Optional[pulumi.Input[Sequence[pulumi.Inpu pulumi.set(self, "organizational_units", value) +if not MYPY: + class ResourceDataSyncS3DestinationArgsDict(TypedDict): + bucket_name: pulumi.Input[str] + """ + The name of the S3 bucket where the aggregated data is stored. + """ + bucket_region: pulumi.Input[str] + """ + The AWS Region with the S3 bucket targeted by the resource data sync. + """ + sync_format: pulumi.Input[str] + """ + A supported sync format. The following format is currently supported: JsonSerDe + """ + bucket_prefix: NotRequired[pulumi.Input[str]] + """ + An Amazon S3 prefix for the bucket. + """ + kms_key_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket. + """ +elif False: + ResourceDataSyncS3DestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceDataSyncS3DestinationArgs: def __init__(__self__, *, @@ -649,6 +894,27 @@ def kms_key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_arn", value) +if not MYPY: + class ResourceDataSyncSyncSourceArgsDict(TypedDict): + source_regions: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The `SyncSource` AWS Regions included in the resource data sync. + """ + source_type: pulumi.Input[str] + """ + The type of data source for the resource data sync. `SourceType` is either `AwsOrganizations` (if an organization is present in AWS Organizations ) or `SingleAccountMultiRegions` . + """ + aws_organizations_source: NotRequired[pulumi.Input['ResourceDataSyncAwsOrganizationsSourceArgsDict']] + """ + Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations . + """ + include_future_regions: NotRequired[pulumi.Input[bool]] + """ + Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online. + """ +elif False: + ResourceDataSyncSyncSourceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResourceDataSyncSyncSourceArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/ssm/association.py b/sdk/python/pulumi_aws_native/ssm/association.py index 4445591222..e17fdb799c 100644 --- a/sdk/python/pulumi_aws_native/ssm/association.py +++ b/sdk/python/pulumi_aws_native/ssm/association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ssm/document.py b/sdk/python/pulumi_aws_native/ssm/document.py index 2966766276..db82770e93 100644 --- a/sdk/python/pulumi_aws_native/ssm/document.py +++ b/sdk/python/pulumi_aws_native/ssm/document.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ssm/get_association.py b/sdk/python/pulumi_aws_native/ssm/get_association.py index b510df7c8c..3085de403e 100644 --- a/sdk/python/pulumi_aws_native/ssm/get_association.py +++ b/sdk/python/pulumi_aws_native/ssm/get_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -274,9 +279,6 @@ def get_association(association_id: Optional[str] = None, schedule_offset=pulumi.get(__ret__, 'schedule_offset'), sync_compliance=pulumi.get(__ret__, 'sync_compliance'), targets=pulumi.get(__ret__, 'targets')) - - -@_utilities.lift_output_func(get_association) def get_association_output(association_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAssociationResult]: """ @@ -285,4 +287,25 @@ def get_association_output(association_id: Optional[pulumi.Input[str]] = None, :param str association_id: Unique identifier of the association. """ - ... + __args__ = dict() + __args__['associationId'] = association_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssm:getAssociation', __args__, opts=opts, typ=GetAssociationResult) + return __ret__.apply(lambda __response__: GetAssociationResult( + apply_only_at_cron_interval=pulumi.get(__response__, 'apply_only_at_cron_interval'), + association_id=pulumi.get(__response__, 'association_id'), + association_name=pulumi.get(__response__, 'association_name'), + automation_target_parameter_name=pulumi.get(__response__, 'automation_target_parameter_name'), + calendar_names=pulumi.get(__response__, 'calendar_names'), + compliance_severity=pulumi.get(__response__, 'compliance_severity'), + document_version=pulumi.get(__response__, 'document_version'), + instance_id=pulumi.get(__response__, 'instance_id'), + max_concurrency=pulumi.get(__response__, 'max_concurrency'), + max_errors=pulumi.get(__response__, 'max_errors'), + name=pulumi.get(__response__, 'name'), + output_location=pulumi.get(__response__, 'output_location'), + parameters=pulumi.get(__response__, 'parameters'), + schedule_expression=pulumi.get(__response__, 'schedule_expression'), + schedule_offset=pulumi.get(__response__, 'schedule_offset'), + sync_compliance=pulumi.get(__response__, 'sync_compliance'), + targets=pulumi.get(__response__, 'targets'))) diff --git a/sdk/python/pulumi_aws_native/ssm/get_document.py b/sdk/python/pulumi_aws_native/ssm/get_document.py index fa797bbeee..f305c3ed1d 100644 --- a/sdk/python/pulumi_aws_native/ssm/get_document.py +++ b/sdk/python/pulumi_aws_native/ssm/get_document.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -126,9 +131,6 @@ def get_document(name: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), target_type=pulumi.get(__ret__, 'target_type'), version_name=pulumi.get(__ret__, 'version_name')) - - -@_utilities.lift_output_func(get_document) def get_document_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDocumentResult]: """ @@ -137,4 +139,14 @@ def get_document_output(name: Optional[pulumi.Input[str]] = None, :param str name: A name for the Systems Manager document. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssm:getDocument', __args__, opts=opts, typ=GetDocumentResult) + return __ret__.apply(lambda __response__: GetDocumentResult( + content=pulumi.get(__response__, 'content'), + document_format=pulumi.get(__response__, 'document_format'), + requires=pulumi.get(__response__, 'requires'), + tags=pulumi.get(__response__, 'tags'), + target_type=pulumi.get(__response__, 'target_type'), + version_name=pulumi.get(__response__, 'version_name'))) diff --git a/sdk/python/pulumi_aws_native/ssm/get_parameter.py b/sdk/python/pulumi_aws_native/ssm/get_parameter.py index 2ace1abbf7..aa0ade39ce 100644 --- a/sdk/python/pulumi_aws_native/ssm/get_parameter.py +++ b/sdk/python/pulumi_aws_native/ssm/get_parameter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -88,9 +93,6 @@ def get_parameter(name: Optional[str] = None, data_type=pulumi.get(__ret__, 'data_type'), type=pulumi.get(__ret__, 'type'), value=pulumi.get(__ret__, 'value')) - - -@_utilities.lift_output_func(get_parameter) def get_parameter_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetParameterResult]: """ @@ -103,4 +105,11 @@ def get_parameter_output(name: Optional[pulumi.Input[str]] = None, :param str name: The name of the parameter. The maximum length constraint listed below includes capacity for additional system attributes that aren't part of the name. The maximum length for a parameter name, including the full length of the parameter Amazon Resource Name (ARN), is 1011 characters. For example, the length of the following parameter name is 65 characters, not 20 characters: ``arn:aws:ssm:us-east-2:111222333444:parameter/ExampleParameterName`` """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssm:getParameter', __args__, opts=opts, typ=GetParameterResult) + return __ret__.apply(lambda __response__: GetParameterResult( + data_type=pulumi.get(__response__, 'data_type'), + type=pulumi.get(__response__, 'type'), + value=pulumi.get(__response__, 'value'))) diff --git a/sdk/python/pulumi_aws_native/ssm/get_patch_baseline.py b/sdk/python/pulumi_aws_native/ssm/get_patch_baseline.py index de22fca799..fc6695c859 100644 --- a/sdk/python/pulumi_aws_native/ssm/get_patch_baseline.py +++ b/sdk/python/pulumi_aws_native/ssm/get_patch_baseline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -228,9 +233,6 @@ def get_patch_baseline(id: Optional[str] = None, rejected_patches_action=pulumi.get(__ret__, 'rejected_patches_action'), sources=pulumi.get(__ret__, 'sources'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_patch_baseline) def get_patch_baseline_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPatchBaselineResult]: """ @@ -239,4 +241,22 @@ def get_patch_baseline_output(id: Optional[pulumi.Input[str]] = None, :param str id: The ID of the patch baseline. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssm:getPatchBaseline', __args__, opts=opts, typ=GetPatchBaselineResult) + return __ret__.apply(lambda __response__: GetPatchBaselineResult( + approval_rules=pulumi.get(__response__, 'approval_rules'), + approved_patches=pulumi.get(__response__, 'approved_patches'), + approved_patches_compliance_level=pulumi.get(__response__, 'approved_patches_compliance_level'), + approved_patches_enable_non_security=pulumi.get(__response__, 'approved_patches_enable_non_security'), + default_baseline=pulumi.get(__response__, 'default_baseline'), + description=pulumi.get(__response__, 'description'), + global_filters=pulumi.get(__response__, 'global_filters'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + patch_groups=pulumi.get(__response__, 'patch_groups'), + rejected_patches=pulumi.get(__response__, 'rejected_patches'), + rejected_patches_action=pulumi.get(__response__, 'rejected_patches_action'), + sources=pulumi.get(__response__, 'sources'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ssm/get_resource_data_sync.py b/sdk/python/pulumi_aws_native/ssm/get_resource_data_sync.py index a45b04cdee..95740d51cf 100644 --- a/sdk/python/pulumi_aws_native/ssm/get_resource_data_sync.py +++ b/sdk/python/pulumi_aws_native/ssm/get_resource_data_sync.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -57,9 +62,6 @@ def get_resource_data_sync(sync_name: Optional[str] = None, return AwaitableGetResourceDataSyncResult( sync_source=pulumi.get(__ret__, 'sync_source')) - - -@_utilities.lift_output_func(get_resource_data_sync) def get_resource_data_sync_output(sync_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceDataSyncResult]: """ @@ -68,4 +70,9 @@ def get_resource_data_sync_output(sync_name: Optional[pulumi.Input[str]] = None, :param str sync_name: A name for the resource data sync. """ - ... + __args__ = dict() + __args__['syncName'] = sync_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssm:getResourceDataSync', __args__, opts=opts, typ=GetResourceDataSyncResult) + return __ret__.apply(lambda __response__: GetResourceDataSyncResult( + sync_source=pulumi.get(__response__, 'sync_source'))) diff --git a/sdk/python/pulumi_aws_native/ssm/get_resource_policy.py b/sdk/python/pulumi_aws_native/ssm/get_resource_policy.py index 798685b4e1..b7cac1d238 100644 --- a/sdk/python/pulumi_aws_native/ssm/get_resource_policy.py +++ b/sdk/python/pulumi_aws_native/ssm/get_resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -87,9 +92,6 @@ def get_resource_policy(policy_id: Optional[str] = None, policy=pulumi.get(__ret__, 'policy'), policy_hash=pulumi.get(__ret__, 'policy_hash'), policy_id=pulumi.get(__ret__, 'policy_id')) - - -@_utilities.lift_output_func(get_resource_policy) def get_resource_policy_output(policy_id: Optional[pulumi.Input[str]] = None, resource_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourcePolicyResult]: @@ -100,4 +102,12 @@ def get_resource_policy_output(policy_id: Optional[pulumi.Input[str]] = None, :param str policy_id: An unique identifier within the policies of a resource. :param str resource_arn: Arn of OpsItemGroup etc. """ - ... + __args__ = dict() + __args__['policyId'] = policy_id + __args__['resourceArn'] = resource_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssm:getResourcePolicy', __args__, opts=opts, typ=GetResourcePolicyResult) + return __ret__.apply(lambda __response__: GetResourcePolicyResult( + policy=pulumi.get(__response__, 'policy'), + policy_hash=pulumi.get(__response__, 'policy_hash'), + policy_id=pulumi.get(__response__, 'policy_id'))) diff --git a/sdk/python/pulumi_aws_native/ssm/outputs.py b/sdk/python/pulumi_aws_native/ssm/outputs.py index 6e9ff53676..1c211dc354 100644 --- a/sdk/python/pulumi_aws_native/ssm/outputs.py +++ b/sdk/python/pulumi_aws_native/ssm/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ssm/parameter.py b/sdk/python/pulumi_aws_native/ssm/parameter.py index cce7573d36..a6d1a5bb4a 100644 --- a/sdk/python/pulumi_aws_native/ssm/parameter.py +++ b/sdk/python/pulumi_aws_native/ssm/parameter.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ssm/patch_baseline.py b/sdk/python/pulumi_aws_native/ssm/patch_baseline.py index c2869c6f33..d1a0caebc6 100644 --- a/sdk/python/pulumi_aws_native/ssm/patch_baseline.py +++ b/sdk/python/pulumi_aws_native/ssm/patch_baseline.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ssm/resource_data_sync.py b/sdk/python/pulumi_aws_native/ssm/resource_data_sync.py index da00d49f66..dc1fdc2c0a 100644 --- a/sdk/python/pulumi_aws_native/ssm/resource_data_sync.py +++ b/sdk/python/pulumi_aws_native/ssm/resource_data_sync.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/ssm/resource_policy.py b/sdk/python/pulumi_aws_native/ssm/resource_policy.py index 7e70a341c7..44d04b77f7 100644 --- a/sdk/python/pulumi_aws_native/ssm/resource_policy.py +++ b/sdk/python/pulumi_aws_native/ssm/resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ResourcePolicyArgs', 'ResourcePolicy'] diff --git a/sdk/python/pulumi_aws_native/ssmcontacts/_inputs.py b/sdk/python/pulumi_aws_native/ssmcontacts/_inputs.py index cc72ff047c..47af9dcbf6 100644 --- a/sdk/python/pulumi_aws_native/ssmcontacts/_inputs.py +++ b/sdk/python/pulumi_aws_native/ssmcontacts/_inputs.py @@ -4,28 +4,64 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ContactChannelTargetInfoArgs', + 'ContactChannelTargetInfoArgsDict', 'ContactStageArgs', + 'ContactStageArgsDict', 'ContactTargetInfoArgs', + 'ContactTargetInfoArgsDict', 'ContactTargetsArgs', + 'ContactTargetsArgsDict', 'PlanChannelTargetInfoArgs', + 'PlanChannelTargetInfoArgsDict', 'PlanContactTargetInfoArgs', + 'PlanContactTargetInfoArgsDict', 'PlanStageArgs', + 'PlanStageArgsDict', 'PlanTargetsArgs', + 'PlanTargetsArgsDict', 'RotationCoverageTimeArgs', + 'RotationCoverageTimeArgsDict', 'RotationMonthlySettingArgs', + 'RotationMonthlySettingArgsDict', 'RotationRecurrenceSettingsArgs', + 'RotationRecurrenceSettingsArgsDict', 'RotationShiftCoverageArgs', + 'RotationShiftCoverageArgsDict', 'RotationWeeklySettingArgs', + 'RotationWeeklySettingArgsDict', ] +MYPY = False + +if not MYPY: + class ContactChannelTargetInfoArgsDict(TypedDict): + """ + Information about the contact channel that SSM Incident Manager uses to engage the contact. + """ + channel_id: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the contact channel. + """ + retry_interval_in_minutes: pulumi.Input[int] + """ + The number of minutes to wait to retry sending engagement in the case the engagement initially fails. + """ +elif False: + ContactChannelTargetInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContactChannelTargetInfoArgs: def __init__(__self__, *, @@ -64,6 +100,26 @@ def retry_interval_in_minutes(self, value: pulumi.Input[int]): pulumi.set(self, "retry_interval_in_minutes", value) +if not MYPY: + class ContactStageArgsDict(TypedDict): + """ + A set amount of time that an escalation plan or engagement plan engages the specified contacts or contact methods. + """ + duration_in_minutes: NotRequired[pulumi.Input[int]] + """ + The time to wait until beginning the next stage. + """ + rotation_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of Rotation Ids to associate with Contact + """ + targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['ContactTargetsArgsDict']]]] + """ + The contacts or contact methods that the escalation plan or engagement plan is engaging. + """ +elif False: + ContactStageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContactStageArgs: def __init__(__self__, *, @@ -120,6 +176,22 @@ def targets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ContactTar pulumi.set(self, "targets", value) +if not MYPY: + class ContactTargetInfoArgsDict(TypedDict): + """ + The contact that SSM Incident Manager is engaging during an incident. + """ + contact_id: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the contact. + """ + is_essential: pulumi.Input[bool] + """ + A Boolean value determining if the contact's acknowledgement stops the progress of stages in the plan. + """ +elif False: + ContactTargetInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContactTargetInfoArgs: def __init__(__self__, *, @@ -158,6 +230,22 @@ def is_essential(self, value: pulumi.Input[bool]): pulumi.set(self, "is_essential", value) +if not MYPY: + class ContactTargetsArgsDict(TypedDict): + """ + The contacts or contact methods that the escalation plan or engagement plan is engaging. + """ + channel_target_info: NotRequired[pulumi.Input['ContactChannelTargetInfoArgsDict']] + """ + Information about the contact channel that Incident Manager engages. + """ + contact_target_info: NotRequired[pulumi.Input['ContactTargetInfoArgsDict']] + """ + The contact that Incident Manager is engaging during an incident. + """ +elif False: + ContactTargetsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ContactTargetsArgs: def __init__(__self__, *, @@ -198,6 +286,22 @@ def contact_target_info(self, value: Optional[pulumi.Input['ContactTargetInfoArg pulumi.set(self, "contact_target_info", value) +if not MYPY: + class PlanChannelTargetInfoArgsDict(TypedDict): + """ + Information about the contact channel that SSM Incident Manager uses to engage the contact. + """ + channel_id: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the contact channel. + """ + retry_interval_in_minutes: pulumi.Input[int] + """ + The number of minutes to wait to retry sending engagement in the case the engagement initially fails. + """ +elif False: + PlanChannelTargetInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlanChannelTargetInfoArgs: def __init__(__self__, *, @@ -236,6 +340,22 @@ def retry_interval_in_minutes(self, value: pulumi.Input[int]): pulumi.set(self, "retry_interval_in_minutes", value) +if not MYPY: + class PlanContactTargetInfoArgsDict(TypedDict): + """ + The contact that SSM Incident Manager is engaging during an incident. + """ + contact_id: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the contact. + """ + is_essential: pulumi.Input[bool] + """ + A Boolean value determining if the contact's acknowledgement stops the progress of stages in the plan. + """ +elif False: + PlanContactTargetInfoArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlanContactTargetInfoArgs: def __init__(__self__, *, @@ -274,6 +394,22 @@ def is_essential(self, value: pulumi.Input[bool]): pulumi.set(self, "is_essential", value) +if not MYPY: + class PlanStageArgsDict(TypedDict): + """ + A set amount of time that an escalation plan or engagement plan engages the specified contacts or contact methods. + """ + duration_in_minutes: pulumi.Input[int] + """ + The time to wait until beginning the next stage. + """ + targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['PlanTargetsArgsDict']]]] + """ + The contacts or contact methods that the escalation plan or engagement plan is engaging. + """ +elif False: + PlanStageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlanStageArgs: def __init__(__self__, *, @@ -313,6 +449,22 @@ def targets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PlanTarget pulumi.set(self, "targets", value) +if not MYPY: + class PlanTargetsArgsDict(TypedDict): + """ + The contacts or contact methods that the escalation plan or engagement plan is engaging. + """ + channel_target_info: NotRequired[pulumi.Input['PlanChannelTargetInfoArgsDict']] + """ + Information about the contact channel that Incident Manager engages. + """ + contact_target_info: NotRequired[pulumi.Input['PlanContactTargetInfoArgsDict']] + """ + Information about the contact that Incident Manager engages. + """ +elif False: + PlanTargetsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PlanTargetsArgs: def __init__(__self__, *, @@ -353,6 +505,22 @@ def contact_target_info(self, value: Optional[pulumi.Input['PlanContactTargetInf pulumi.set(self, "contact_target_info", value) +if not MYPY: + class RotationCoverageTimeArgsDict(TypedDict): + """ + StartTime and EndTime for the Shift + """ + end_time: pulumi.Input[str] + """ + Information about when an on-call rotation shift ends. + """ + start_time: pulumi.Input[str] + """ + Information about when an on-call rotation shift begins. + """ +elif False: + RotationCoverageTimeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RotationCoverageTimeArgs: def __init__(__self__, *, @@ -391,6 +559,22 @@ def start_time(self, value: pulumi.Input[str]): pulumi.set(self, "start_time", value) +if not MYPY: + class RotationMonthlySettingArgsDict(TypedDict): + """ + DayOfWeek for Month and HandOff Time for Monthly Recurring Rotation. + """ + day_of_month: pulumi.Input[int] + """ + The day of the month when monthly recurring on-call rotations begin. + """ + hand_off_time: pulumi.Input[str] + """ + The time of day when a monthly recurring on-call shift rotation begins. + """ +elif False: + RotationMonthlySettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RotationMonthlySettingArgs: def __init__(__self__, *, @@ -429,6 +613,38 @@ def hand_off_time(self, value: pulumi.Input[str]): pulumi.set(self, "hand_off_time", value) +if not MYPY: + class RotationRecurrenceSettingsArgsDict(TypedDict): + """ + Information about when an on-call rotation is in effect and how long the rotation period lasts. + """ + daily_settings: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Information about on-call rotations that recur daily. + """ + monthly_settings: NotRequired[pulumi.Input[Sequence[pulumi.Input['RotationMonthlySettingArgsDict']]]] + """ + Information about on-call rotations that recur monthly. + """ + number_of_on_calls: NotRequired[pulumi.Input[int]] + """ + Number of Oncalls per shift. + """ + recurrence_multiplier: NotRequired[pulumi.Input[int]] + """ + The number of days, weeks, or months a single rotation lasts. + """ + shift_coverages: NotRequired[pulumi.Input[Sequence[pulumi.Input['RotationShiftCoverageArgsDict']]]] + """ + Information about the days of the week included in on-call rotation coverage. + """ + weekly_settings: NotRequired[pulumi.Input[Sequence[pulumi.Input['RotationWeeklySettingArgsDict']]]] + """ + Information about on-call rotations that recur weekly. + """ +elif False: + RotationRecurrenceSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RotationRecurrenceSettingsArgs: def __init__(__self__, *, @@ -533,6 +749,22 @@ def weekly_settings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Ro pulumi.set(self, "weekly_settings", value) +if not MYPY: + class RotationShiftCoverageArgsDict(TypedDict): + """ + Information about the days of the week included in on-call rotation coverage. + """ + coverage_times: pulumi.Input[Sequence[pulumi.Input['RotationCoverageTimeArgsDict']]] + """ + Information about when an on-call shift begins and ends. + """ + day_of_week: pulumi.Input['RotationDayOfWeek'] + """ + A list of days on which the schedule is active. + """ +elif False: + RotationShiftCoverageArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RotationShiftCoverageArgs: def __init__(__self__, *, @@ -571,6 +803,22 @@ def day_of_week(self, value: pulumi.Input['RotationDayOfWeek']): pulumi.set(self, "day_of_week", value) +if not MYPY: + class RotationWeeklySettingArgsDict(TypedDict): + """ + DayOfWeek for Rotation and HandOff Time for Weekly Recurring Rotation. + """ + day_of_week: pulumi.Input['RotationDayOfWeek'] + """ + The day of the week when weekly recurring on-call shift rotations begins. + """ + hand_off_time: pulumi.Input[str] + """ + The time of day when a weekly recurring on-call shift rotation begins. + """ +elif False: + RotationWeeklySettingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RotationWeeklySettingArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/ssmcontacts/contact.py b/sdk/python/pulumi_aws_native/ssmcontacts/contact.py index ce1a0bc0d0..e7964e95c2 100644 --- a/sdk/python/pulumi_aws_native/ssmcontacts/contact.py +++ b/sdk/python/pulumi_aws_native/ssmcontacts/contact.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ssmcontacts/contact_channel.py b/sdk/python/pulumi_aws_native/ssmcontacts/contact_channel.py index a91a1739cd..9282d3111b 100644 --- a/sdk/python/pulumi_aws_native/ssmcontacts/contact_channel.py +++ b/sdk/python/pulumi_aws_native/ssmcontacts/contact_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ssmcontacts/get_contact.py b/sdk/python/pulumi_aws_native/ssmcontacts/get_contact.py index 3f53f56191..cea29d1fd4 100644 --- a/sdk/python/pulumi_aws_native/ssmcontacts/get_contact.py +++ b/sdk/python/pulumi_aws_native/ssmcontacts/get_contact.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_contact(arn: Optional[str] = None, return AwaitableGetContactResult( arn=pulumi.get(__ret__, 'arn'), display_name=pulumi.get(__ret__, 'display_name')) - - -@_utilities.lift_output_func(get_contact) def get_contact_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContactResult]: """ @@ -80,4 +82,10 @@ def get_contact_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the contact. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssmcontacts:getContact', __args__, opts=opts, typ=GetContactResult) + return __ret__.apply(lambda __response__: GetContactResult( + arn=pulumi.get(__response__, 'arn'), + display_name=pulumi.get(__response__, 'display_name'))) diff --git a/sdk/python/pulumi_aws_native/ssmcontacts/get_contact_channel.py b/sdk/python/pulumi_aws_native/ssmcontacts/get_contact_channel.py index 7c1fd25566..d607ffe7c2 100644 --- a/sdk/python/pulumi_aws_native/ssmcontacts/get_contact_channel.py +++ b/sdk/python/pulumi_aws_native/ssmcontacts/get_contact_channel.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -82,9 +87,6 @@ def get_contact_channel(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), channel_address=pulumi.get(__ret__, 'channel_address'), channel_name=pulumi.get(__ret__, 'channel_name')) - - -@_utilities.lift_output_func(get_contact_channel) def get_contact_channel_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetContactChannelResult]: """ @@ -93,4 +95,11 @@ def get_contact_channel_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the engagement to a contact channel. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssmcontacts:getContactChannel', __args__, opts=opts, typ=GetContactChannelResult) + return __ret__.apply(lambda __response__: GetContactChannelResult( + arn=pulumi.get(__response__, 'arn'), + channel_address=pulumi.get(__response__, 'channel_address'), + channel_name=pulumi.get(__response__, 'channel_name'))) diff --git a/sdk/python/pulumi_aws_native/ssmcontacts/get_plan.py b/sdk/python/pulumi_aws_native/ssmcontacts/get_plan.py index 1f87d85e92..14860bb916 100644 --- a/sdk/python/pulumi_aws_native/ssmcontacts/get_plan.py +++ b/sdk/python/pulumi_aws_native/ssmcontacts/get_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_plan(arn: Optional[str] = None, return AwaitableGetPlanResult( arn=pulumi.get(__ret__, 'arn'), stages=pulumi.get(__ret__, 'stages')) - - -@_utilities.lift_output_func(get_plan) def get_plan_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPlanResult]: """ @@ -81,4 +83,10 @@ def get_plan_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the contact. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssmcontacts:getPlan', __args__, opts=opts, typ=GetPlanResult) + return __ret__.apply(lambda __response__: GetPlanResult( + arn=pulumi.get(__response__, 'arn'), + stages=pulumi.get(__response__, 'stages'))) diff --git a/sdk/python/pulumi_aws_native/ssmcontacts/get_rotation.py b/sdk/python/pulumi_aws_native/ssmcontacts/get_rotation.py index 7e04b167de..5939bf3829 100644 --- a/sdk/python/pulumi_aws_native/ssmcontacts/get_rotation.py +++ b/sdk/python/pulumi_aws_native/ssmcontacts/get_rotation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -137,9 +142,6 @@ def get_rotation(arn: Optional[str] = None, start_time=pulumi.get(__ret__, 'start_time'), tags=pulumi.get(__ret__, 'tags'), time_zone_id=pulumi.get(__ret__, 'time_zone_id')) - - -@_utilities.lift_output_func(get_rotation) def get_rotation_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRotationResult]: """ @@ -148,4 +150,15 @@ def get_rotation_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the rotation. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssmcontacts:getRotation', __args__, opts=opts, typ=GetRotationResult) + return __ret__.apply(lambda __response__: GetRotationResult( + arn=pulumi.get(__response__, 'arn'), + contact_ids=pulumi.get(__response__, 'contact_ids'), + name=pulumi.get(__response__, 'name'), + recurrence=pulumi.get(__response__, 'recurrence'), + start_time=pulumi.get(__response__, 'start_time'), + tags=pulumi.get(__response__, 'tags'), + time_zone_id=pulumi.get(__response__, 'time_zone_id'))) diff --git a/sdk/python/pulumi_aws_native/ssmcontacts/outputs.py b/sdk/python/pulumi_aws_native/ssmcontacts/outputs.py index 4a8afd444c..7ee74a2dec 100644 --- a/sdk/python/pulumi_aws_native/ssmcontacts/outputs.py +++ b/sdk/python/pulumi_aws_native/ssmcontacts/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ssmcontacts/plan.py b/sdk/python/pulumi_aws_native/ssmcontacts/plan.py index 28673deb4e..c01fb07863 100644 --- a/sdk/python/pulumi_aws_native/ssmcontacts/plan.py +++ b/sdk/python/pulumi_aws_native/ssmcontacts/plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/ssmcontacts/rotation.py b/sdk/python/pulumi_aws_native/ssmcontacts/rotation.py index 4558c664b1..597760d592 100644 --- a/sdk/python/pulumi_aws_native/ssmcontacts/rotation.py +++ b/sdk/python/pulumi_aws_native/ssmcontacts/rotation.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ssmincidents/_inputs.py b/sdk/python/pulumi_aws_native/ssmincidents/_inputs.py index 95fe4c5810..294ada2d71 100644 --- a/sdk/python/pulumi_aws_native/ssmincidents/_inputs.py +++ b/sdk/python/pulumi_aws_native/ssmincidents/_inputs.py @@ -4,29 +4,59 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ReplicationSetRegionConfigurationArgs', + 'ReplicationSetRegionConfigurationArgsDict', 'ReplicationSetReplicationRegionArgs', + 'ReplicationSetReplicationRegionArgsDict', 'ResponsePlanActionArgs', + 'ResponsePlanActionArgsDict', 'ResponsePlanChatChannelArgs', + 'ResponsePlanChatChannelArgsDict', 'ResponsePlanDynamicSsmParameterValueArgs', + 'ResponsePlanDynamicSsmParameterValueArgsDict', 'ResponsePlanDynamicSsmParameterArgs', + 'ResponsePlanDynamicSsmParameterArgsDict', 'ResponsePlanIncidentTemplateArgs', + 'ResponsePlanIncidentTemplateArgsDict', 'ResponsePlanIntegrationArgs', + 'ResponsePlanIntegrationArgsDict', 'ResponsePlanNotificationTargetItemArgs', + 'ResponsePlanNotificationTargetItemArgsDict', 'ResponsePlanPagerDutyConfigurationArgs', + 'ResponsePlanPagerDutyConfigurationArgsDict', 'ResponsePlanPagerDutyIncidentConfigurationArgs', + 'ResponsePlanPagerDutyIncidentConfigurationArgsDict', 'ResponsePlanSsmAutomationArgs', + 'ResponsePlanSsmAutomationArgsDict', 'ResponsePlanSsmParameterArgs', + 'ResponsePlanSsmParameterArgsDict', 'ResponsePlanTagArgs', + 'ResponsePlanTagArgsDict', ] +MYPY = False + +if not MYPY: + class ReplicationSetRegionConfigurationArgsDict(TypedDict): + """ + The ReplicationSet regional configuration. + """ + sse_kms_key_id: pulumi.Input[str] +elif False: + ReplicationSetRegionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicationSetRegionConfigurationArgs: def __init__(__self__, *, @@ -46,6 +76,16 @@ def sse_kms_key_id(self, value: pulumi.Input[str]): pulumi.set(self, "sse_kms_key_id", value) +if not MYPY: + class ReplicationSetReplicationRegionArgsDict(TypedDict): + """ + The ReplicationSet regional configuration. + """ + region_configuration: NotRequired[pulumi.Input['ReplicationSetRegionConfigurationArgsDict']] + region_name: NotRequired[pulumi.Input[str]] +elif False: + ReplicationSetReplicationRegionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ReplicationSetReplicationRegionArgs: def __init__(__self__, *, @@ -78,6 +118,18 @@ def region_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region_name", value) +if not MYPY: + class ResponsePlanActionArgsDict(TypedDict): + """ + The automation configuration to launch. + """ + ssm_automation: NotRequired[pulumi.Input['ResponsePlanSsmAutomationArgsDict']] + """ + Details about the Systems Manager automation document that will be used as a runbook during an incident. + """ +elif False: + ResponsePlanActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanActionArgs: def __init__(__self__, *, @@ -102,6 +154,18 @@ def ssm_automation(self, value: Optional[pulumi.Input['ResponsePlanSsmAutomation pulumi.set(self, "ssm_automation", value) +if not MYPY: + class ResponsePlanChatChannelArgsDict(TypedDict): + """ + The chat channel configuration. + """ + chatbot_sns: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The Amazon SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the Amazon SNS topics + """ +elif False: + ResponsePlanChatChannelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanChatChannelArgs: def __init__(__self__, *, @@ -126,6 +190,18 @@ def chatbot_sns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] pulumi.set(self, "chatbot_sns", value) +if not MYPY: + class ResponsePlanDynamicSsmParameterValueArgsDict(TypedDict): + """ + Value of the dynamic parameter to set when starting the SSM automation document. + """ + variable: NotRequired[pulumi.Input['ResponsePlanVariableType']] + """ + Variable dynamic parameters. A parameter value is determined when an incident is created. + """ +elif False: + ResponsePlanDynamicSsmParameterValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanDynamicSsmParameterValueArgs: def __init__(__self__, *, @@ -150,6 +226,22 @@ def variable(self, value: Optional[pulumi.Input['ResponsePlanVariableType']]): pulumi.set(self, "variable", value) +if not MYPY: + class ResponsePlanDynamicSsmParameterArgsDict(TypedDict): + """ + A parameter with a dynamic value to set when starting the SSM automation document. + """ + key: pulumi.Input[str] + """ + The key parameter to use when running the Systems Manager Automation runbook. + """ + value: pulumi.Input['ResponsePlanDynamicSsmParameterValueArgsDict'] + """ + The dynamic parameter value. + """ +elif False: + ResponsePlanDynamicSsmParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanDynamicSsmParameterArgs: def __init__(__self__, *, @@ -188,6 +280,38 @@ def value(self, value: pulumi.Input['ResponsePlanDynamicSsmParameterValueArgs']) pulumi.set(self, "value", value) +if not MYPY: + class ResponsePlanIncidentTemplateArgsDict(TypedDict): + """ + The incident template configuration. + """ + impact: pulumi.Input[int] + """ + The impact value. + """ + title: pulumi.Input[str] + """ + The title string. + """ + dedupe_string: NotRequired[pulumi.Input[str]] + """ + The deduplication string. + """ + incident_tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResponsePlanTagArgsDict']]]] + """ + Tags that get applied to incidents created by the StartIncident API action. + """ + notification_targets: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResponsePlanNotificationTargetItemArgsDict']]]] + """ + The list of notification targets. + """ + summary: NotRequired[pulumi.Input[str]] + """ + The summary string. + """ +elif False: + ResponsePlanIncidentTemplateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanIncidentTemplateArgs: def __init__(__self__, *, @@ -290,6 +414,15 @@ def summary(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "summary", value) +if not MYPY: + class ResponsePlanIntegrationArgsDict(TypedDict): + pager_duty_configuration: NotRequired[pulumi.Input['ResponsePlanPagerDutyConfigurationArgsDict']] + """ + Information about the PagerDuty service where the response plan creates an incident. + """ +elif False: + ResponsePlanIntegrationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanIntegrationArgs: def __init__(__self__, *, @@ -313,6 +446,18 @@ def pager_duty_configuration(self, value: Optional[pulumi.Input['ResponsePlanPag pulumi.set(self, "pager_duty_configuration", value) +if not MYPY: + class ResponsePlanNotificationTargetItemArgsDict(TypedDict): + """ + A notification target. + """ + sns_topic_arn: NotRequired[pulumi.Input[str]] + """ + The Amazon Resource Name (ARN) of the Amazon SNS topic. + """ +elif False: + ResponsePlanNotificationTargetItemArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanNotificationTargetItemArgs: def __init__(__self__, *, @@ -337,6 +482,26 @@ def sns_topic_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "sns_topic_arn", value) +if not MYPY: + class ResponsePlanPagerDutyConfigurationArgsDict(TypedDict): + """ + The pagerDuty configuration to use when starting the incident. + """ + name: pulumi.Input[str] + """ + The name of the pagerDuty configuration. + """ + pager_duty_incident_configuration: pulumi.Input['ResponsePlanPagerDutyIncidentConfigurationArgsDict'] + """ + Details about the PagerDuty service associated with the configuration. + """ + secret_id: pulumi.Input[str] + """ + The AWS secrets manager secretId storing the pagerDuty token. + """ +elif False: + ResponsePlanPagerDutyConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanPagerDutyConfigurationArgs: def __init__(__self__, *, @@ -390,6 +555,18 @@ def secret_id(self, value: pulumi.Input[str]): pulumi.set(self, "secret_id", value) +if not MYPY: + class ResponsePlanPagerDutyIncidentConfigurationArgsDict(TypedDict): + """ + The pagerDuty incident configuration. + """ + service_id: pulumi.Input[str] + """ + The pagerDuty serviceId. + """ +elif False: + ResponsePlanPagerDutyIncidentConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanPagerDutyIncidentConfigurationArgs: def __init__(__self__, *, @@ -413,6 +590,38 @@ def service_id(self, value: pulumi.Input[str]): pulumi.set(self, "service_id", value) +if not MYPY: + class ResponsePlanSsmAutomationArgsDict(TypedDict): + """ + The configuration to use when starting the SSM automation document. + """ + document_name: pulumi.Input[str] + """ + The document name to use when starting the SSM automation document. + """ + role_arn: pulumi.Input[str] + """ + The role ARN to use when starting the SSM automation document. + """ + document_version: NotRequired[pulumi.Input[str]] + """ + The version of the document to use when starting the SSM automation document. + """ + dynamic_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResponsePlanDynamicSsmParameterArgsDict']]]] + """ + The parameters with dynamic values to set when starting the SSM automation document. + """ + parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResponsePlanSsmParameterArgsDict']]]] + """ + The parameters to set when starting the SSM automation document. + """ + target_account: NotRequired[pulumi.Input['ResponsePlanSsmAutomationTargetAccount']] + """ + The account type to use when starting the SSM automation document. + """ +elif False: + ResponsePlanSsmAutomationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanSsmAutomationArgs: def __init__(__self__, *, @@ -515,6 +724,22 @@ def target_account(self, value: Optional[pulumi.Input['ResponsePlanSsmAutomation pulumi.set(self, "target_account", value) +if not MYPY: + class ResponsePlanSsmParameterArgsDict(TypedDict): + """ + A parameter to set when starting the SSM automation document. + """ + key: pulumi.Input[str] + """ + The key parameter to use when running the Automation runbook. + """ + values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The value parameter to use when running the Automation runbook. + """ +elif False: + ResponsePlanSsmParameterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanSsmParameterArgs: def __init__(__self__, *, @@ -553,6 +778,22 @@ def values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "values", value) +if not MYPY: + class ResponsePlanTagArgsDict(TypedDict): + """ + A key-value pair to tag a resource. + """ + key: pulumi.Input[str] + """ + The tag key. + """ + value: pulumi.Input[str] + """ + The tag value. + """ +elif False: + ResponsePlanTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ResponsePlanTagArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/ssmincidents/get_replication_set.py b/sdk/python/pulumi_aws_native/ssmincidents/get_replication_set.py index 817b52eb87..ca35b7643e 100644 --- a/sdk/python/pulumi_aws_native/ssmincidents/get_replication_set.py +++ b/sdk/python/pulumi_aws_native/ssmincidents/get_replication_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -97,9 +102,6 @@ def get_replication_set(arn: Optional[str] = None, deletion_protected=pulumi.get(__ret__, 'deletion_protected'), regions=pulumi.get(__ret__, 'regions'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_replication_set) def get_replication_set_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReplicationSetResult]: """ @@ -108,4 +110,12 @@ def get_replication_set_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the ReplicationSet. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssmincidents:getReplicationSet', __args__, opts=opts, typ=GetReplicationSetResult) + return __ret__.apply(lambda __response__: GetReplicationSetResult( + arn=pulumi.get(__response__, 'arn'), + deletion_protected=pulumi.get(__response__, 'deletion_protected'), + regions=pulumi.get(__response__, 'regions'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ssmincidents/get_response_plan.py b/sdk/python/pulumi_aws_native/ssmincidents/get_response_plan.py index 59bac3cef4..f4aefef813 100644 --- a/sdk/python/pulumi_aws_native/ssmincidents/get_response_plan.py +++ b/sdk/python/pulumi_aws_native/ssmincidents/get_response_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_response_plan(arn: Optional[str] = None, incident_template=pulumi.get(__ret__, 'incident_template'), integrations=pulumi.get(__ret__, 'integrations'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_response_plan) def get_response_plan_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResponsePlanResult]: """ @@ -161,4 +163,16 @@ def get_response_plan_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the response plan. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssmincidents:getResponsePlan', __args__, opts=opts, typ=GetResponsePlanResult) + return __ret__.apply(lambda __response__: GetResponsePlanResult( + actions=pulumi.get(__response__, 'actions'), + arn=pulumi.get(__response__, 'arn'), + chat_channel=pulumi.get(__response__, 'chat_channel'), + display_name=pulumi.get(__response__, 'display_name'), + engagements=pulumi.get(__response__, 'engagements'), + incident_template=pulumi.get(__response__, 'incident_template'), + integrations=pulumi.get(__response__, 'integrations'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ssmincidents/outputs.py b/sdk/python/pulumi_aws_native/ssmincidents/outputs.py index a5c9e219c2..c3484a670f 100644 --- a/sdk/python/pulumi_aws_native/ssmincidents/outputs.py +++ b/sdk/python/pulumi_aws_native/ssmincidents/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ssmincidents/replication_set.py b/sdk/python/pulumi_aws_native/ssmincidents/replication_set.py index 7e85dafd13..4e4bc4e1ce 100644 --- a/sdk/python/pulumi_aws_native/ssmincidents/replication_set.py +++ b/sdk/python/pulumi_aws_native/ssmincidents/replication_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ssmincidents/response_plan.py b/sdk/python/pulumi_aws_native/ssmincidents/response_plan.py index 497c28933f..364b3e5f33 100644 --- a/sdk/python/pulumi_aws_native/ssmincidents/response_plan.py +++ b/sdk/python/pulumi_aws_native/ssmincidents/response_plan.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/ssmquicksetup/_inputs.py b/sdk/python/pulumi_aws_native/ssmquicksetup/_inputs.py index b8ec749860..e96594c903 100644 --- a/sdk/python/pulumi_aws_native/ssmquicksetup/_inputs.py +++ b/sdk/python/pulumi_aws_native/ssmquicksetup/_inputs.py @@ -4,16 +4,352 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ConfigurationManagerConfigurationDefinitionArgs', + 'ConfigurationManagerConfigurationDefinitionArgsDict', ] +MYPY = False + +if not MYPY: + class ConfigurationManagerConfigurationDefinitionArgsDict(TypedDict): + parameters: pulumi.Input[Mapping[str, pulumi.Input[str]]] + """ + The parameters for the configuration definition type. Parameters for configuration definitions vary based the configuration type. The following tables outline the parameters for each configuration type. + + - **OpsCenter (Type: AWS QuickSetupType-SSMOpsCenter)** - - `DelegatedAccountId` + + - Description: (Required) The ID of the delegated administrator account. + - `TargetOrganizationalUnits` + + - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. + - `TargetRegions` + + - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. + - **Resource Scheduler (Type: AWS QuickSetupType-Scheduler)** - - `TargetTagKey` + + - Description: (Required) The tag key assigned to the instances you want to target. + - `TargetTagValue` + + - Description: (Required) The value of the tag key assigned to the instances you want to target. + - `ICalendarString` + + - Description: (Required) An iCalendar formatted string containing the schedule you want Change Manager to use. + - `TargetAccounts` + + - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either `TargetAccounts` or `TargetOrganizationalUnits` . + - `TargetOrganizationalUnits` + + - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. + - `TargetRegions` + + - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. + - **Default Host Management Configuration (Type: AWS QuickSetupType-DHMC)** - - `UpdateSSMAgent` + + - Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " `true` ". + - `TargetOrganizationalUnits` + + - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. + - `TargetRegions` + + - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. + - **Resource Explorer (Type: AWS QuickSetupType-ResourceExplorer)** - - `SelectedAggregatorRegion` + + - Description: (Required) The AWS Region where you want to create the aggregator index. + - `ReplaceExistingAggregator` + + - Description: (Required) A boolean value that determines whether to demote an existing aggregator if it is in a Region that differs from the value you specify for the `SelectedAggregatorRegion` . + - `TargetOrganizationalUnits` + + - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. + - `TargetRegions` + + - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. + - **Change Manager (Type: AWS QuickSetupType-SSMChangeMgr)** - - `DelegatedAccountId` + + - Description: (Required) The ID of the delegated administrator account. + - `JobFunction` + + - Description: (Required) The name for the Change Manager job function. + - `PermissionType` + + - Description: (Optional) Specifies whether you want to use default administrator permissions for the job function role, or provide a custom IAM policy. The valid values are `CustomPermissions` and `AdminPermissions` . The default value for the parameter is `CustomerPermissions` . + - `CustomPermissions` + + - Description: (Optional) A JSON string containing the IAM policy you want your job function to use. You must provide a value for this parameter if you specify `CustomPermissions` for the `PermissionType` parameter. + - `TargetOrganizationalUnits` + + - Description: (Required) A comma separated list of organizational units (OUs) you want to deploy the configuration to. + - `TargetRegions` + + - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. + - **DevOps Guru (Type: AWS QuickSetupType-DevOpsGuru)** - - `AnalyseAllResources` + + - Description: (Optional) A boolean value that determines whether DevOps Guru analyzes all AWS CloudFormation stacks in the account. The default value is " `false` ". + - `EnableSnsNotifications` + + - Description: (Optional) A boolean value that determines whether DevOps Guru sends notifications when an insight is created. The default value is " `true` ". + - `EnableSsmOpsItems` + + - Description: (Optional) A boolean value that determines whether DevOps Guru creates an OpsCenter OpsItem when an insight is created. The default value is " `true` ". + - `EnableDriftRemediation` + + - Description: (Optional) A boolean value that determines whether a drift remediation schedule is used. The default value is " `false` ". + - `RemediationSchedule` + + - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are `rate(30 days)` , `rate(14 days)` , `rate(1 days)` , and `none` . The default value is " `none` ". + - `TargetAccounts` + + - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either `TargetAccounts` or `TargetOrganizationalUnits` . + - `TargetOrganizationalUnits` + + - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. + - `TargetRegions` + + - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. + - **Conformance Packs (Type: AWS QuickSetupType-CFGCPacks)** - - `DelegatedAccountId` + + - Description: (Optional) The ID of the delegated administrator account. This parameter is required for Organization deployments. + - `RemediationSchedule` + + - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are `rate(30 days)` , `rate(14 days)` , `rate(2 days)` , and `none` . The default value is " `none` ". + - `CPackNames` + + - Description: (Required) A comma separated list of AWS Config conformance packs. + - `TargetAccounts` + + - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either `TargetAccounts` or `TargetOrganizationalUnits` . + - `TargetOrganizationalUnits` + + - Description: (Optional) The ID of the root of your Organization. This configuration type doesn't currently support choosing specific OUs. The configuration will be deployed to all the OUs in the Organization. + - `TargetRegions` + + - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. + - **AWS Config Recording (Type: AWS QuickSetupType-CFGRecording)** - - `RecordAllResources` + + - Description: (Optional) A boolean value that determines whether all supported resources are recorded. The default value is " `true` ". + - `ResourceTypesToRecord` + + - Description: (Optional) A comma separated list of resource types you want to record. + - `RecordGlobalResourceTypes` + + - Description: (Optional) A boolean value that determines whether global resources are recorded with all resource configurations. The default value is " `false` ". + - `GlobalResourceTypesRegion` + + - Description: (Optional) Determines the AWS Region where global resources are recorded. + - `UseCustomBucket` + + - Description: (Optional) A boolean value that determines whether a custom Amazon S3 bucket is used for delivery. The default value is " `false` ". + - `DeliveryBucketName` + + - Description: (Optional) The name of the Amazon S3 bucket you want AWS Config to deliver configuration snapshots and configuration history files to. + - `DeliveryBucketPrefix` + + - Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket. + - `NotificationOptions` + + - Description: (Optional) Determines the notification configuration for the recorder. The valid values are `NoStreaming` , `UseExistingTopic` , and `CreateTopic` . The default value is `NoStreaming` . + - `CustomDeliveryTopicAccountId` + + - Description: (Optional) The ID of the AWS account where the Amazon SNS topic you want to use for notifications resides. You must specify a value for this parameter if you use the `UseExistingTopic` notification option. + - `CustomDeliveryTopicName` + + - Description: (Optional) The name of the Amazon SNS topic you want to use for notifications. You must specify a value for this parameter if you use the `UseExistingTopic` notification option. + - `RemediationSchedule` + + - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are `rate(30 days)` , `rate(7 days)` , `rate(1 days)` , and `none` . The default value is " `none` ". + - `TargetAccounts` + + - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either `TargetAccounts` or `TargetOrganizationalUnits` . + - `TargetOrganizationalUnits` + + - Description: (Optional) The ID of the root of your Organization. This configuration type doesn't currently support choosing specific OUs. The configuration will be deployed to all the OUs in the Organization. + - `TargetRegions` + + - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. + - **Host Management (Type: AWS QuickSetupType-SSMHostMgmt)** - - `UpdateSSMAgent` + + - Description: (Optional) A boolean value that determines whether the SSM Agent is updated on the target instances every 2 weeks. The default value is " `true` ". + - `UpdateEc2LaunchAgent` + + - Description: (Optional) A boolean value that determines whether the EC2 Launch agent is updated on the target instances every month. The default value is " `false` ". + - `CollectInventory` + + - Description: (Optional) A boolean value that determines whether the EC2 Launch agent is updated on the target instances every month. The default value is " `true` ". + - `ScanInstances` + + - Description: (Optional) A boolean value that determines whether the target instances are scanned daily for available patches. The default value is " `true` ". + - `InstallCloudWatchAgent` + + - Description: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is installed on the target instances. The default value is " `false` ". + - `UpdateCloudWatchAgent` + + - Description: (Optional) A boolean value that determines whether the Amazon CloudWatch agent is updated on the target instances every month. The default value is " `false` ". + - `IsPolicyAttachAllowed` + + - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " `false` ". + - `TargetType` + + - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are `*` , `InstanceIds` , `ResourceGroups` , and `Tags` . Use `*` to target all instances in the account. + - `TargetInstances` + + - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify `InstanceIds` for the `TargetType` parameter. + - `TargetTagKey` + + - Description: (Optional) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify `Tags` for the `TargetType` parameter. + - `TargetTagValue` + + - Description: (Optional) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify `Tags` for the `TargetType` parameter. + - `ResourceGroupName` + + - Description: (Optional) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify `ResourceGroups` for the `TargetType` parameter. + - `TargetAccounts` + + - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either `TargetAccounts` or `TargetOrganizationalUnits` . + - `TargetOrganizationalUnits` + + - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. + - `TargetRegions` + + - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. + - **Distributor (Type: AWS QuickSetupType-Distributor)** - - `PackagesToInstall` + + - Description: (Required) A comma separated list of packages you want to install on the target instances. The valid values are `AWSEFSTools` , `AWSCWAgent` , and `AWSEC2LaunchAgent` . + - `RemediationSchedule` + + - Description: (Optional) A rate expression that defines the schedule for drift remediation. The valid values are `rate(30 days)` , `rate(14 days)` , `rate(2 days)` , and `none` . The default value is " `rate(30 days)` ". + - `IsPolicyAttachAllowed` + + - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " `false` ". + - `TargetType` + + - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are `*` , `InstanceIds` , `ResourceGroups` , and `Tags` . Use `*` to target all instances in the account. + - `TargetInstances` + + - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify `InstanceIds` for the `TargetType` parameter. + - `TargetTagKey` + + - Description: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify `Tags` for the `TargetType` parameter. + - `TargetTagValue` + + - Description: (Required) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify `Tags` for the `TargetType` parameter. + - `ResourceGroupName` + + - Description: (Required) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify `ResourceGroups` for the `TargetType` parameter. + - `TargetAccounts` + + - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either `TargetAccounts` or `TargetOrganizationalUnits` . + - `TargetOrganizationalUnits` + + - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. + - `TargetRegions` + + - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. + - **Patch Policy (Type: AWS QuickSetupType-PatchPolicy)** - - `PatchPolicyName` + + - Description: (Required) A name for the patch policy. The value you provide is applied to target Amazon EC2 instances as a tag. + - `SelectedPatchBaselines` + + - Description: (Required) An array of JSON objects containing the information for the patch baselines to include in your patch policy. + - `PatchBaselineUseDefault` + + - Description: (Optional) A boolean value that determines whether the selected patch baselines are all AWS provided. + - `ConfigurationOptionsPatchOperation` + + - Description: (Optional) Determines whether target instances scan for available patches, or scan and install available patches. The valid values are `Scan` and `ScanAndInstall` . The default value for the parameter is `Scan` . + - `ConfigurationOptionsScanValue` + + - Description: (Optional) A cron expression that is used as the schedule for when instances scan for available patches. + - `ConfigurationOptionsInstallValue` + + - Description: (Optional) A cron expression that is used as the schedule for when instances install available patches. + - `ConfigurationOptionsScanNextInterval` + + - Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " `false` ". + - `ConfigurationOptionsInstallNextInterval` + + - Description: (Optional) A boolean value that determines whether instances should scan for available patches at the next cron interval. The default value is " `false` ". + - `RebootOption` + + - Description: (Optional) A boolean value that determines whether instances are rebooted after patches are installed. The default value is " `false` ". + - `IsPolicyAttachAllowed` + + - Description: (Optional) A boolean value that determines whether Quick Setup attaches policies to instances profiles already associated with the target instances. The default value is " `false` ". + - `OutputLogEnableS3` + + - Description: (Optional) A boolean value that determines whether command output logs are sent to Amazon S3. + - `OutputS3Location` + + - Description: (Optional) A JSON string containing information about the Amazon S3 bucket where you want to store the output details of the request. + + - `OutputS3BucketRegion` + + - Description: (Optional) The AWS Region where the Amazon S3 bucket you want AWS Config to deliver command output to is located. + - `OutputS3BucketName` + + - Description: (Optional) The name of the Amazon S3 bucket you want AWS Config to deliver command output to. + - `OutputS3KeyPrefix` + + - Description: (Optional) The key prefix you want to use in the custom Amazon S3 bucket. + - `TargetType` + + - Description: (Optional) Determines how instances are targeted for local account deployments. Don't specify a value for this parameter if you're deploying to OUs. The valid values are `*` , `InstanceIds` , `ResourceGroups` , and `Tags` . Use `*` to target all instances in the account. + - `TargetInstances` + + - Description: (Optional) A comma separated list of instance IDs. You must provide a value for this parameter if you specify `InstanceIds` for the `TargetType` parameter. + - `TargetTagKey` + + - Description: (Required) The tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify `Tags` for the `TargetType` parameter. + - `TargetTagValue` + + - Description: (Required) The value of the tag key assigned to the instances you want to target. You must provide a value for this parameter if you specify `Tags` for the `TargetType` parameter. + - `ResourceGroupName` + + - Description: (Required) The name of the resource group associated with the instances you want to target. You must provide a value for this parameter if you specify `ResourceGroups` for the `TargetType` parameter. + - `TargetAccounts` + + - Description: (Optional) The ID of the AWS account initiating the configuration deployment. You only need to provide a value for this parameter if you want to deploy the configuration locally. A value must be provided for either `TargetAccounts` or `TargetOrganizationalUnits` . + - `TargetOrganizationalUnits` + + - Description: (Optional) A comma separated list of organizational units (OUs) you want to deploy the configuration to. + - `TargetRegions` + + - Description: (Required) A comma separated list of AWS Regions you want to deploy the configuration to. + """ + type: pulumi.Input[str] + """ + The type of the Quick Setup configuration. + """ + id: NotRequired[pulumi.Input[str]] + """ + The ID of the configuration definition. + """ + local_deployment_administration_role_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the IAM role used to administrate local configuration deployments. + """ + local_deployment_execution_role_name: NotRequired[pulumi.Input[str]] + """ + The name of the IAM role used to deploy local configurations. + """ + type_version: NotRequired[pulumi.Input[str]] + """ + The version of the Quick Setup type used. + """ +elif False: + ConfigurationManagerConfigurationDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ConfigurationManagerConfigurationDefinitionArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/ssmquicksetup/configuration_manager.py b/sdk/python/pulumi_aws_native/ssmquicksetup/configuration_manager.py index 6db7076adb..37890227bd 100644 --- a/sdk/python/pulumi_aws_native/ssmquicksetup/configuration_manager.py +++ b/sdk/python/pulumi_aws_native/ssmquicksetup/configuration_manager.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/ssmquicksetup/get_configuration_manager.py b/sdk/python/pulumi_aws_native/ssmquicksetup/get_configuration_manager.py index 118cae591a..7d88a74855 100644 --- a/sdk/python/pulumi_aws_native/ssmquicksetup/get_configuration_manager.py +++ b/sdk/python/pulumi_aws_native/ssmquicksetup/get_configuration_manager.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -149,9 +154,6 @@ def get_configuration_manager(manager_arn: Optional[str] = None, name=pulumi.get(__ret__, 'name'), status_summaries=pulumi.get(__ret__, 'status_summaries'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_configuration_manager) def get_configuration_manager_output(manager_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationManagerResult]: """ @@ -160,4 +162,16 @@ def get_configuration_manager_output(manager_arn: Optional[pulumi.Input[str]] = :param str manager_arn: The ARN of the Quick Setup configuration. """ - ... + __args__ = dict() + __args__['managerArn'] = manager_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:ssmquicksetup:getConfigurationManager', __args__, opts=opts, typ=GetConfigurationManagerResult) + return __ret__.apply(lambda __response__: GetConfigurationManagerResult( + configuration_definitions=pulumi.get(__response__, 'configuration_definitions'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + last_modified_at=pulumi.get(__response__, 'last_modified_at'), + manager_arn=pulumi.get(__response__, 'manager_arn'), + name=pulumi.get(__response__, 'name'), + status_summaries=pulumi.get(__response__, 'status_summaries'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/ssmquicksetup/outputs.py b/sdk/python/pulumi_aws_native/ssmquicksetup/outputs.py index e263f10b86..b3df6f3f81 100644 --- a/sdk/python/pulumi_aws_native/ssmquicksetup/outputs.py +++ b/sdk/python/pulumi_aws_native/ssmquicksetup/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/sso/_inputs.py b/sdk/python/pulumi_aws_native/sso/_inputs.py index 56a26ce510..7c9d7a29a0 100644 --- a/sdk/python/pulumi_aws_native/sso/_inputs.py +++ b/sdk/python/pulumi_aws_native/sso/_inputs.py @@ -4,22 +4,52 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ApplicationPortalOptionsConfigurationArgs', + 'ApplicationPortalOptionsConfigurationArgsDict', 'ApplicationSignInOptionsArgs', + 'ApplicationSignInOptionsArgsDict', 'InstanceAccessControlAttributeConfigurationAccessControlAttributeValueArgs', + 'InstanceAccessControlAttributeConfigurationAccessControlAttributeValueArgsDict', 'InstanceAccessControlAttributeConfigurationAccessControlAttributeArgs', + 'InstanceAccessControlAttributeConfigurationAccessControlAttributeArgsDict', 'InstanceAccessControlAttributeConfigurationPropertiesArgs', + 'InstanceAccessControlAttributeConfigurationPropertiesArgsDict', 'PermissionSetCustomerManagedPolicyReferenceArgs', + 'PermissionSetCustomerManagedPolicyReferenceArgsDict', 'PermissionSetPermissionsBoundaryArgs', + 'PermissionSetPermissionsBoundaryArgsDict', ] +MYPY = False + +if not MYPY: + class ApplicationPortalOptionsConfigurationArgsDict(TypedDict): + """ + A structure that describes the options for the access portal associated with an application + """ + sign_in_options: NotRequired[pulumi.Input['ApplicationSignInOptionsArgsDict']] + """ + A structure that describes the sign-in options for the access portal + """ + visibility: NotRequired[pulumi.Input['ApplicationPortalOptionsConfigurationVisibility']] + """ + Indicates whether this application is visible in the access portal + """ +elif False: + ApplicationPortalOptionsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationPortalOptionsConfigurationArgs: def __init__(__self__, *, @@ -60,6 +90,22 @@ def visibility(self, value: Optional[pulumi.Input['ApplicationPortalOptionsConfi pulumi.set(self, "visibility", value) +if not MYPY: + class ApplicationSignInOptionsArgsDict(TypedDict): + """ + A structure that describes the sign-in options for an application portal + """ + origin: pulumi.Input['ApplicationSignInOptionsOrigin'] + """ + This determines how IAM Identity Center navigates the user to the target application + """ + application_url: NotRequired[pulumi.Input[str]] + """ + The URL that accepts authentication requests for an application, this is a required parameter if the Origin parameter is APPLICATION + """ +elif False: + ApplicationSignInOptionsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationSignInOptionsArgs: def __init__(__self__, *, @@ -99,6 +145,12 @@ def application_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "application_url", value) +if not MYPY: + class InstanceAccessControlAttributeConfigurationAccessControlAttributeValueArgsDict(TypedDict): + source: pulumi.Input[Sequence[pulumi.Input[str]]] +elif False: + InstanceAccessControlAttributeConfigurationAccessControlAttributeValueArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceAccessControlAttributeConfigurationAccessControlAttributeValueArgs: def __init__(__self__, *, @@ -115,6 +167,13 @@ def source(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "source", value) +if not MYPY: + class InstanceAccessControlAttributeConfigurationAccessControlAttributeArgsDict(TypedDict): + key: pulumi.Input[str] + value: pulumi.Input['InstanceAccessControlAttributeConfigurationAccessControlAttributeValueArgsDict'] +elif False: + InstanceAccessControlAttributeConfigurationAccessControlAttributeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceAccessControlAttributeConfigurationAccessControlAttributeArgs: def __init__(__self__, *, @@ -142,6 +201,15 @@ def value(self, value: pulumi.Input['InstanceAccessControlAttributeConfiguration pulumi.set(self, "value", value) +if not MYPY: + class InstanceAccessControlAttributeConfigurationPropertiesArgsDict(TypedDict): + """ + The InstanceAccessControlAttributeConfiguration property has been deprecated but is still supported for backwards compatibility purposes. We recomend that you use AccessControlAttributes property instead. + """ + access_control_attributes: pulumi.Input[Sequence[pulumi.Input['InstanceAccessControlAttributeConfigurationAccessControlAttributeArgsDict']]] +elif False: + InstanceAccessControlAttributeConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class InstanceAccessControlAttributeConfigurationPropertiesArgs: def __init__(__self__, *, @@ -161,6 +229,19 @@ def access_control_attributes(self, value: pulumi.Input[Sequence[pulumi.Input['I pulumi.set(self, "access_control_attributes", value) +if not MYPY: + class PermissionSetCustomerManagedPolicyReferenceArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the IAM policy that you have configured in each account where you want to deploy your permission set. + """ + path: NotRequired[pulumi.Input[str]] + """ + The path to the IAM policy that you have configured in each account where you want to deploy your permission set. The default is `/` . For more information, see [Friendly names and paths](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names) in the *IAM User Guide* . + """ +elif False: + PermissionSetCustomerManagedPolicyReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PermissionSetCustomerManagedPolicyReferenceArgs: def __init__(__self__, *, @@ -199,6 +280,19 @@ def path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "path", value) +if not MYPY: + class PermissionSetPermissionsBoundaryArgsDict(TypedDict): + customer_managed_policy_reference: NotRequired[pulumi.Input['PermissionSetCustomerManagedPolicyReferenceArgsDict']] + """ + Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set. + """ + managed_policy_arn: NotRequired[pulumi.Input[str]] + """ + The AWS managed policy ARN that you want to attach to a permission set as a permissions boundary. + """ +elif False: + PermissionSetPermissionsBoundaryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PermissionSetPermissionsBoundaryArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/sso/application.py b/sdk/python/pulumi_aws_native/sso/application.py index 9361426d6f..e9bee925f4 100644 --- a/sdk/python/pulumi_aws_native/sso/application.py +++ b/sdk/python/pulumi_aws_native/sso/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/sso/application_assignment.py b/sdk/python/pulumi_aws_native/sso/application_assignment.py index 8abc8fec87..c2a387609c 100644 --- a/sdk/python/pulumi_aws_native/sso/application_assignment.py +++ b/sdk/python/pulumi_aws_native/sso/application_assignment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/sso/assignment.py b/sdk/python/pulumi_aws_native/sso/assignment.py index 6d62f49367..94f1902680 100644 --- a/sdk/python/pulumi_aws_native/sso/assignment.py +++ b/sdk/python/pulumi_aws_native/sso/assignment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/sso/get_application.py b/sdk/python/pulumi_aws_native/sso/get_application.py index 876a72f607..250687b26f 100644 --- a/sdk/python/pulumi_aws_native/sso/get_application.py +++ b/sdk/python/pulumi_aws_native/sso/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_application(application_arn: Optional[str] = None, portal_options=pulumi.get(__ret__, 'portal_options'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application) def get_application_output(application_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -135,4 +137,14 @@ def get_application_output(application_arn: Optional[pulumi.Input[str]] = None, :param str application_arn: The Application ARN that is returned upon creation of the Identity Center (SSO) Application """ - ... + __args__ = dict() + __args__['applicationArn'] = application_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sso:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + application_arn=pulumi.get(__response__, 'application_arn'), + description=pulumi.get(__response__, 'description'), + name=pulumi.get(__response__, 'name'), + portal_options=pulumi.get(__response__, 'portal_options'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sso/get_instance.py b/sdk/python/pulumi_aws_native/sso/get_instance.py index 9499c343ec..ae6b546d61 100644 --- a/sdk/python/pulumi_aws_native/sso/get_instance.py +++ b/sdk/python/pulumi_aws_native/sso/get_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -123,9 +128,6 @@ def get_instance(instance_arn: Optional[str] = None, owner_account_id=pulumi.get(__ret__, 'owner_account_id'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_instance) def get_instance_output(instance_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceResult]: """ @@ -134,4 +136,14 @@ def get_instance_output(instance_arn: Optional[pulumi.Input[str]] = None, :param str instance_arn: The SSO Instance ARN that is returned upon creation of the Identity Center (SSO) Instance """ - ... + __args__ = dict() + __args__['instanceArn'] = instance_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sso:getInstance', __args__, opts=opts, typ=GetInstanceResult) + return __ret__.apply(lambda __response__: GetInstanceResult( + identity_store_id=pulumi.get(__response__, 'identity_store_id'), + instance_arn=pulumi.get(__response__, 'instance_arn'), + name=pulumi.get(__response__, 'name'), + owner_account_id=pulumi.get(__response__, 'owner_account_id'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sso/get_instance_access_control_attribute_configuration.py b/sdk/python/pulumi_aws_native/sso/get_instance_access_control_attribute_configuration.py index 000ae3ce2a..e18d72de74 100644 --- a/sdk/python/pulumi_aws_native/sso/get_instance_access_control_attribute_configuration.py +++ b/sdk/python/pulumi_aws_native/sso/get_instance_access_control_attribute_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -70,9 +75,6 @@ def get_instance_access_control_attribute_configuration(instance_arn: Optional[s return AwaitableGetInstanceAccessControlAttributeConfigurationResult( access_control_attributes=pulumi.get(__ret__, 'access_control_attributes'), instance_access_control_attribute_configuration=pulumi.get(__ret__, 'instance_access_control_attribute_configuration')) - - -@_utilities.lift_output_func(get_instance_access_control_attribute_configuration) def get_instance_access_control_attribute_configuration_output(instance_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceAccessControlAttributeConfigurationResult]: """ @@ -81,4 +83,10 @@ def get_instance_access_control_attribute_configuration_output(instance_arn: Opt :param str instance_arn: The ARN of the AWS SSO instance under which the operation will be executed. """ - ... + __args__ = dict() + __args__['instanceArn'] = instance_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sso:getInstanceAccessControlAttributeConfiguration', __args__, opts=opts, typ=GetInstanceAccessControlAttributeConfigurationResult) + return __ret__.apply(lambda __response__: GetInstanceAccessControlAttributeConfigurationResult( + access_control_attributes=pulumi.get(__response__, 'access_control_attributes'), + instance_access_control_attribute_configuration=pulumi.get(__response__, 'instance_access_control_attribute_configuration'))) diff --git a/sdk/python/pulumi_aws_native/sso/get_permission_set.py b/sdk/python/pulumi_aws_native/sso/get_permission_set.py index 08930c2b76..be0904c0cc 100644 --- a/sdk/python/pulumi_aws_native/sso/get_permission_set.py +++ b/sdk/python/pulumi_aws_native/sso/get_permission_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -169,9 +174,6 @@ def get_permission_set(instance_arn: Optional[str] = None, relay_state_type=pulumi.get(__ret__, 'relay_state_type'), session_duration=pulumi.get(__ret__, 'session_duration'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_permission_set) def get_permission_set_output(instance_arn: Optional[pulumi.Input[str]] = None, permission_set_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPermissionSetResult]: @@ -182,4 +184,18 @@ def get_permission_set_output(instance_arn: Optional[pulumi.Input[str]] = None, :param str instance_arn: The sso instance arn that the permission set is owned. :param str permission_set_arn: The permission set that the policy will be attached to """ - ... + __args__ = dict() + __args__['instanceArn'] = instance_arn + __args__['permissionSetArn'] = permission_set_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:sso:getPermissionSet', __args__, opts=opts, typ=GetPermissionSetResult) + return __ret__.apply(lambda __response__: GetPermissionSetResult( + customer_managed_policy_references=pulumi.get(__response__, 'customer_managed_policy_references'), + description=pulumi.get(__response__, 'description'), + inline_policy=pulumi.get(__response__, 'inline_policy'), + managed_policies=pulumi.get(__response__, 'managed_policies'), + permission_set_arn=pulumi.get(__response__, 'permission_set_arn'), + permissions_boundary=pulumi.get(__response__, 'permissions_boundary'), + relay_state_type=pulumi.get(__response__, 'relay_state_type'), + session_duration=pulumi.get(__response__, 'session_duration'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/sso/instance.py b/sdk/python/pulumi_aws_native/sso/instance.py index 7f1399b6c2..601b161dd6 100644 --- a/sdk/python/pulumi_aws_native/sso/instance.py +++ b/sdk/python/pulumi_aws_native/sso/instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/sso/instance_access_control_attribute_configuration.py b/sdk/python/pulumi_aws_native/sso/instance_access_control_attribute_configuration.py index 49071ab4b3..043275a3f3 100644 --- a/sdk/python/pulumi_aws_native/sso/instance_access_control_attribute_configuration.py +++ b/sdk/python/pulumi_aws_native/sso/instance_access_control_attribute_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_aws_native/sso/outputs.py b/sdk/python/pulumi_aws_native/sso/outputs.py index eaab053783..777fb4dddc 100644 --- a/sdk/python/pulumi_aws_native/sso/outputs.py +++ b/sdk/python/pulumi_aws_native/sso/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/sso/permission_set.py b/sdk/python/pulumi_aws_native/sso/permission_set.py index b9e5914e8e..b9b3095422 100644 --- a/sdk/python/pulumi_aws_native/sso/permission_set.py +++ b/sdk/python/pulumi_aws_native/sso/permission_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/stepfunctions/_inputs.py b/sdk/python/pulumi_aws_native/stepfunctions/_inputs.py index fd08feb034..7f8872a135 100644 --- a/sdk/python/pulumi_aws_native/stepfunctions/_inputs.py +++ b/sdk/python/pulumi_aws_native/stepfunctions/_inputs.py @@ -4,25 +4,59 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ActivityEncryptionConfigurationArgs', + 'ActivityEncryptionConfigurationArgsDict', 'StateMachineAliasDeploymentPreferenceArgs', + 'StateMachineAliasDeploymentPreferenceArgsDict', 'StateMachineAliasRoutingConfigurationVersionArgs', + 'StateMachineAliasRoutingConfigurationVersionArgsDict', 'StateMachineCloudWatchLogsLogGroupArgs', + 'StateMachineCloudWatchLogsLogGroupArgsDict', 'StateMachineDefinitionArgs', + 'StateMachineDefinitionArgsDict', 'StateMachineEncryptionConfigurationArgs', + 'StateMachineEncryptionConfigurationArgsDict', 'StateMachineLogDestinationArgs', + 'StateMachineLogDestinationArgsDict', 'StateMachineLoggingConfigurationArgs', + 'StateMachineLoggingConfigurationArgsDict', 'StateMachineS3LocationArgs', + 'StateMachineS3LocationArgsDict', 'StateMachineTracingConfigurationArgs', + 'StateMachineTracingConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class ActivityEncryptionConfigurationArgsDict(TypedDict): + type: pulumi.Input['ActivityEncryptionConfigurationType'] + """ + Encryption option for an activity. + """ + kms_data_key_reuse_period_seconds: NotRequired[pulumi.Input[int]] + """ + Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call `GenerateDataKey` . Only applies to customer managed keys. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data. To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN. + """ +elif False: + ActivityEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ActivityEncryptionConfigurationArgs: def __init__(__self__, *, @@ -77,6 +111,36 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class StateMachineAliasDeploymentPreferenceArgsDict(TypedDict): + """ + The settings to enable gradual state machine deployments. + """ + state_machine_version_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the [`AWS::StepFunctions::StateMachineVersion`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachineversion.html) resource that will be the final version to which the alias points to when the traffic shifting is complete. + + While performing gradual deployments, you can only provide a single state machine version ARN. To explicitly set version weights in a CloudFormation template, use `RoutingConfiguration` instead. + """ + type: pulumi.Input['StateMachineAliasDeploymentPreferenceType'] + """ + The type of deployment to perform. + """ + alarms: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + A list of CloudWatch alarm names that will be monitored during the deployment. The deployment will fail and rollback if any alarms go into ALARM state. + """ + interval: NotRequired[pulumi.Input[int]] + """ + The time in minutes between each traffic shifting increment. + """ + percentage: NotRequired[pulumi.Input[int]] + """ + The percentage of traffic to shift to the new version in each increment. + """ +elif False: + StateMachineAliasDeploymentPreferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StateMachineAliasDeploymentPreferenceArgs: def __init__(__self__, *, @@ -167,6 +231,19 @@ def percentage(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "percentage", value) +if not MYPY: + class StateMachineAliasRoutingConfigurationVersionArgsDict(TypedDict): + state_machine_version_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration. + """ + weight: pulumi.Input[int] + """ + The percentage of traffic you want to route to the state machine version. The sum of the weights in the routing configuration must be equal to 100. + """ +elif False: + StateMachineAliasRoutingConfigurationVersionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StateMachineAliasRoutingConfigurationVersionArgs: def __init__(__self__, *, @@ -204,6 +281,15 @@ def weight(self, value: pulumi.Input[int]): pulumi.set(self, "weight", value) +if not MYPY: + class StateMachineCloudWatchLogsLogGroupArgsDict(TypedDict): + log_group_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the the CloudWatch log group to which you want your logs emitted to. The ARN must end with `:*` + """ +elif False: + StateMachineCloudWatchLogsLogGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StateMachineCloudWatchLogsLogGroupArgs: def __init__(__self__, *, @@ -227,12 +313,35 @@ def log_group_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "log_group_arn", value) +if not MYPY: + class StateMachineDefinitionArgsDict(TypedDict): + pass +elif False: + StateMachineDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StateMachineDefinitionArgs: def __init__(__self__): pass +if not MYPY: + class StateMachineEncryptionConfigurationArgsDict(TypedDict): + type: pulumi.Input['StateMachineEncryptionConfigurationType'] + """ + Encryption option for a state machine. + """ + kms_data_key_reuse_period_seconds: NotRequired[pulumi.Input[int]] + """ + Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call `GenerateDataKey` . Only applies to customer managed keys. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + An alias, alias ARN, key ID, or key ARN of a symmetric encryption AWS KMS key to encrypt data. To specify a AWS KMS key in a different AWS account, you must use the key ARN or alias ARN. + """ +elif False: + StateMachineEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StateMachineEncryptionConfigurationArgs: def __init__(__self__, *, @@ -287,6 +396,15 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class StateMachineLogDestinationArgsDict(TypedDict): + cloud_watch_logs_log_group: NotRequired[pulumi.Input['StateMachineCloudWatchLogsLogGroupArgsDict']] + """ + An object describing a CloudWatch log group. For more information, see [AWS::Logs::LogGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html) in the AWS CloudFormation User Guide. + """ +elif False: + StateMachineLogDestinationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StateMachineLogDestinationArgs: def __init__(__self__, *, @@ -310,6 +428,23 @@ def cloud_watch_logs_log_group(self, value: Optional[pulumi.Input['StateMachineC pulumi.set(self, "cloud_watch_logs_log_group", value) +if not MYPY: + class StateMachineLoggingConfigurationArgsDict(TypedDict): + destinations: NotRequired[pulumi.Input[Sequence[pulumi.Input['StateMachineLogDestinationArgsDict']]]] + """ + An array of objects that describes where your execution history events will be logged. Limited to size 1. Required, if your log level is not set to `OFF` . + """ + include_execution_data: NotRequired[pulumi.Input[bool]] + """ + Determines whether execution data is included in your log. When set to `false` , data is excluded. + """ + level: NotRequired[pulumi.Input['StateMachineLoggingConfigurationLevel']] + """ + Defines which category of execution history events are logged. + """ +elif False: + StateMachineLoggingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StateMachineLoggingConfigurationArgs: def __init__(__self__, *, @@ -365,6 +500,23 @@ def level(self, value: Optional[pulumi.Input['StateMachineLoggingConfigurationLe pulumi.set(self, "level", value) +if not MYPY: + class StateMachineS3LocationArgsDict(TypedDict): + bucket: pulumi.Input[str] + """ + The name of the S3 bucket where the state machine definition JSON or YAML file is stored. + """ + key: pulumi.Input[str] + """ + The name of the state machine definition file (Amazon S3 object name). + """ + version: NotRequired[pulumi.Input[str]] + """ + For versioning-enabled buckets, a specific version of the state machine definition. + """ +elif False: + StateMachineS3LocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StateMachineS3LocationArgs: def __init__(__self__, *, @@ -418,6 +570,15 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class StateMachineTracingConfigurationArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + When set to `true` , X-Ray tracing is enabled. + """ +elif False: + StateMachineTracingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class StateMachineTracingConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/stepfunctions/activity.py b/sdk/python/pulumi_aws_native/stepfunctions/activity.py index 2436665989..42096f8d3d 100644 --- a/sdk/python/pulumi_aws_native/stepfunctions/activity.py +++ b/sdk/python/pulumi_aws_native/stepfunctions/activity.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/stepfunctions/get_activity.py b/sdk/python/pulumi_aws_native/stepfunctions/get_activity.py index 7338424a3c..dd2a47240b 100644 --- a/sdk/python/pulumi_aws_native/stepfunctions/get_activity.py +++ b/sdk/python/pulumi_aws_native/stepfunctions/get_activity.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -72,9 +77,6 @@ def get_activity(arn: Optional[str] = None, return AwaitableGetActivityResult( arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_activity) def get_activity_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetActivityResult]: """ @@ -83,4 +85,10 @@ def get_activity_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Returns the ARN of the resource. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:stepfunctions:getActivity', __args__, opts=opts, typ=GetActivityResult) + return __ret__.apply(lambda __response__: GetActivityResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine.py b/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine.py index ee321d54ac..7fb4bcae51 100644 --- a/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine.py +++ b/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -179,9 +184,6 @@ def get_state_machine(arn: Optional[str] = None, state_machine_revision_id=pulumi.get(__ret__, 'state_machine_revision_id'), tags=pulumi.get(__ret__, 'tags'), tracing_configuration=pulumi.get(__ret__, 'tracing_configuration')) - - -@_utilities.lift_output_func(get_state_machine) def get_state_machine_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStateMachineResult]: """ @@ -190,4 +192,17 @@ def get_state_machine_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Returns the ARN of the resource. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:stepfunctions:getStateMachine', __args__, opts=opts, typ=GetStateMachineResult) + return __ret__.apply(lambda __response__: GetStateMachineResult( + arn=pulumi.get(__response__, 'arn'), + definition_string=pulumi.get(__response__, 'definition_string'), + encryption_configuration=pulumi.get(__response__, 'encryption_configuration'), + logging_configuration=pulumi.get(__response__, 'logging_configuration'), + name=pulumi.get(__response__, 'name'), + role_arn=pulumi.get(__response__, 'role_arn'), + state_machine_revision_id=pulumi.get(__response__, 'state_machine_revision_id'), + tags=pulumi.get(__response__, 'tags'), + tracing_configuration=pulumi.get(__response__, 'tracing_configuration'))) diff --git a/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine_alias.py b/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine_alias.py index 11338f7868..10c927cf35 100644 --- a/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine_alias.py +++ b/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -87,9 +92,6 @@ def get_state_machine_alias(arn: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), description=pulumi.get(__ret__, 'description'), routing_configuration=pulumi.get(__ret__, 'routing_configuration')) - - -@_utilities.lift_output_func(get_state_machine_alias) def get_state_machine_alias_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStateMachineAliasResult]: """ @@ -98,4 +100,11 @@ def get_state_machine_alias_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the alias. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:stepfunctions:getStateMachineAlias', __args__, opts=opts, typ=GetStateMachineAliasResult) + return __ret__.apply(lambda __response__: GetStateMachineAliasResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + routing_configuration=pulumi.get(__response__, 'routing_configuration'))) diff --git a/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine_version.py b/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine_version.py index ca0f7069d3..2201e58c8e 100644 --- a/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine_version.py +++ b/sdk/python/pulumi_aws_native/stepfunctions/get_state_machine_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_state_machine_version(arn: Optional[str] = None, return AwaitableGetStateMachineVersionResult( arn=pulumi.get(__ret__, 'arn'), description=pulumi.get(__ret__, 'description')) - - -@_utilities.lift_output_func(get_state_machine_version) def get_state_machine_version_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStateMachineVersionResult]: """ @@ -80,4 +82,10 @@ def get_state_machine_version_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: Returns the ARN of the state machine version. For example, `arn:aws:states:us-east-1:123456789012:stateMachine:myStateMachine:1` . """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:stepfunctions:getStateMachineVersion', __args__, opts=opts, typ=GetStateMachineVersionResult) + return __ret__.apply(lambda __response__: GetStateMachineVersionResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'))) diff --git a/sdk/python/pulumi_aws_native/stepfunctions/outputs.py b/sdk/python/pulumi_aws_native/stepfunctions/outputs.py index f9e4a26963..9b64c019cf 100644 --- a/sdk/python/pulumi_aws_native/stepfunctions/outputs.py +++ b/sdk/python/pulumi_aws_native/stepfunctions/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/stepfunctions/state_machine.py b/sdk/python/pulumi_aws_native/stepfunctions/state_machine.py index dcf5bb1d24..c6fc09c5ce 100644 --- a/sdk/python/pulumi_aws_native/stepfunctions/state_machine.py +++ b/sdk/python/pulumi_aws_native/stepfunctions/state_machine.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/stepfunctions/state_machine_alias.py b/sdk/python/pulumi_aws_native/stepfunctions/state_machine_alias.py index 561363d644..47c9955370 100644 --- a/sdk/python/pulumi_aws_native/stepfunctions/state_machine_alias.py +++ b/sdk/python/pulumi_aws_native/stepfunctions/state_machine_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/stepfunctions/state_machine_version.py b/sdk/python/pulumi_aws_native/stepfunctions/state_machine_version.py index b01686a6de..48345c4d9a 100644 --- a/sdk/python/pulumi_aws_native/stepfunctions/state_machine_version.py +++ b/sdk/python/pulumi_aws_native/stepfunctions/state_machine_version.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['StateMachineVersionArgs', 'StateMachineVersion'] diff --git a/sdk/python/pulumi_aws_native/supportapp/account_alias.py b/sdk/python/pulumi_aws_native/supportapp/account_alias.py index 52e369f76d..c4a235c5b7 100644 --- a/sdk/python/pulumi_aws_native/supportapp/account_alias.py +++ b/sdk/python/pulumi_aws_native/supportapp/account_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['AccountAliasArgs', 'AccountAlias'] diff --git a/sdk/python/pulumi_aws_native/supportapp/get_account_alias.py b/sdk/python/pulumi_aws_native/supportapp/get_account_alias.py index d6199d5b5d..6aed9dc3a7 100644 --- a/sdk/python/pulumi_aws_native/supportapp/get_account_alias.py +++ b/sdk/python/pulumi_aws_native/supportapp/get_account_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_account_alias(account_alias_resource_id: Optional[str] = None, return AwaitableGetAccountAliasResult( account_alias=pulumi.get(__ret__, 'account_alias'), account_alias_resource_id=pulumi.get(__ret__, 'account_alias_resource_id')) - - -@_utilities.lift_output_func(get_account_alias) def get_account_alias_output(account_alias_resource_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountAliasResult]: """ @@ -80,4 +82,10 @@ def get_account_alias_output(account_alias_resource_id: Optional[pulumi.Input[st :param str account_alias_resource_id: Unique identifier representing an alias tied to an account """ - ... + __args__ = dict() + __args__['accountAliasResourceId'] = account_alias_resource_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:supportapp:getAccountAlias', __args__, opts=opts, typ=GetAccountAliasResult) + return __ret__.apply(lambda __response__: GetAccountAliasResult( + account_alias=pulumi.get(__response__, 'account_alias'), + account_alias_resource_id=pulumi.get(__response__, 'account_alias_resource_id'))) diff --git a/sdk/python/pulumi_aws_native/supportapp/get_slack_channel_configuration.py b/sdk/python/pulumi_aws_native/supportapp/get_slack_channel_configuration.py index 6d8dc3abe2..c3f2f62caf 100644 --- a/sdk/python/pulumi_aws_native/supportapp/get_slack_channel_configuration.py +++ b/sdk/python/pulumi_aws_native/supportapp/get_slack_channel_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -125,9 +130,6 @@ def get_slack_channel_configuration(channel_id: Optional[str] = None, notify_on_case_severity=pulumi.get(__ret__, 'notify_on_case_severity'), notify_on_create_or_reopen_case=pulumi.get(__ret__, 'notify_on_create_or_reopen_case'), notify_on_resolve_case=pulumi.get(__ret__, 'notify_on_resolve_case')) - - -@_utilities.lift_output_func(get_slack_channel_configuration) def get_slack_channel_configuration_output(channel_id: Optional[pulumi.Input[str]] = None, team_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSlackChannelConfigurationResult]: @@ -138,4 +140,15 @@ def get_slack_channel_configuration_output(channel_id: Optional[pulumi.Input[str :param str channel_id: The channel ID in Slack, which identifies a channel within a workspace. :param str team_id: The team ID in Slack, which uniquely identifies a workspace. """ - ... + __args__ = dict() + __args__['channelId'] = channel_id + __args__['teamId'] = team_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:supportapp:getSlackChannelConfiguration', __args__, opts=opts, typ=GetSlackChannelConfigurationResult) + return __ret__.apply(lambda __response__: GetSlackChannelConfigurationResult( + channel_name=pulumi.get(__response__, 'channel_name'), + channel_role_arn=pulumi.get(__response__, 'channel_role_arn'), + notify_on_add_correspondence_to_case=pulumi.get(__response__, 'notify_on_add_correspondence_to_case'), + notify_on_case_severity=pulumi.get(__response__, 'notify_on_case_severity'), + notify_on_create_or_reopen_case=pulumi.get(__response__, 'notify_on_create_or_reopen_case'), + notify_on_resolve_case=pulumi.get(__response__, 'notify_on_resolve_case'))) diff --git a/sdk/python/pulumi_aws_native/supportapp/slack_channel_configuration.py b/sdk/python/pulumi_aws_native/supportapp/slack_channel_configuration.py index 5aa5b47744..c8c78ea33f 100644 --- a/sdk/python/pulumi_aws_native/supportapp/slack_channel_configuration.py +++ b/sdk/python/pulumi_aws_native/supportapp/slack_channel_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/supportapp/slack_workspace_configuration.py b/sdk/python/pulumi_aws_native/supportapp/slack_workspace_configuration.py index aa6fb08f5d..8274f2644e 100644 --- a/sdk/python/pulumi_aws_native/supportapp/slack_workspace_configuration.py +++ b/sdk/python/pulumi_aws_native/supportapp/slack_workspace_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['SlackWorkspaceConfigurationArgs', 'SlackWorkspaceConfiguration'] diff --git a/sdk/python/pulumi_aws_native/synthetics/_inputs.py b/sdk/python/pulumi_aws_native/synthetics/_inputs.py index 5e31657932..86378bd5b7 100644 --- a/sdk/python/pulumi_aws_native/synthetics/_inputs.py +++ b/sdk/python/pulumi_aws_native/synthetics/_inputs.py @@ -4,23 +4,47 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'CanaryArtifactConfigArgs', + 'CanaryArtifactConfigArgsDict', 'CanaryBaseScreenshotArgs', + 'CanaryBaseScreenshotArgsDict', 'CanaryCodeArgs', + 'CanaryCodeArgsDict', 'CanaryRunConfigArgs', + 'CanaryRunConfigArgsDict', 'CanaryS3EncryptionArgs', + 'CanaryS3EncryptionArgsDict', 'CanaryScheduleArgs', + 'CanaryScheduleArgsDict', 'CanaryVisualReferenceArgs', + 'CanaryVisualReferenceArgsDict', 'CanaryVpcConfigArgs', + 'CanaryVpcConfigArgsDict', ] +MYPY = False + +if not MYPY: + class CanaryArtifactConfigArgsDict(TypedDict): + s3_encryption: NotRequired[pulumi.Input['CanaryS3EncryptionArgsDict']] + """ + Encryption configuration for uploading artifacts to S3 + """ +elif False: + CanaryArtifactConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CanaryArtifactConfigArgs: def __init__(__self__, *, @@ -44,6 +68,19 @@ def s3_encryption(self, value: Optional[pulumi.Input['CanaryS3EncryptionArgs']]) pulumi.set(self, "s3_encryption", value) +if not MYPY: + class CanaryBaseScreenshotArgsDict(TypedDict): + screenshot_name: pulumi.Input[str] + """ + Name of the screenshot to be used as base reference for visual testing + """ + ignore_coordinates: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of coordinates of rectangles to be ignored during visual testing + """ +elif False: + CanaryBaseScreenshotArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CanaryBaseScreenshotArgs: def __init__(__self__, *, @@ -82,6 +119,35 @@ def ignore_coordinates(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ pulumi.set(self, "ignore_coordinates", value) +if not MYPY: + class CanaryCodeArgsDict(TypedDict): + handler: pulumi.Input[str] + """ + The entry point to use for the source code when running the canary. For canaries that use the `syn-python-selenium-1.0` runtime or a `syn-nodejs.puppeteer` runtime earlier than `syn-nodejs.puppeteer-3.4` , the handler must be specified as `*fileName* .handler` . For `syn-python-selenium-1.1` , `syn-nodejs.puppeteer-3.4` , and later runtimes, the handler can be specified as `*fileName* . *functionName*` , or you can specify a folder where canary scripts reside as `*folder* / *fileName* . *functionName*` . + """ + s3_bucket: NotRequired[pulumi.Input[str]] + """ + If your canary script is located in S3, specify the bucket name here. The bucket must already exist. + """ + s3_key: NotRequired[pulumi.Input[str]] + """ + The S3 key of your script. For more information, see [Working with Amazon S3 Objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingObjects.html) . + """ + s3_object_version: NotRequired[pulumi.Input[str]] + """ + The S3 version ID of your script. + """ + script: NotRequired[pulumi.Input[str]] + """ + If you input your canary script directly into the canary instead of referring to an S3 location, the value of this parameter is the script in plain text. It can be up to 5 MB. + """ + source_location_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the Lambda layer where Synthetics stores the canary script code. + """ +elif False: + CanaryCodeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CanaryCodeArgs: def __init__(__self__, *, @@ -184,6 +250,27 @@ def source_location_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_location_arn", value) +if not MYPY: + class CanaryRunConfigArgsDict(TypedDict): + active_tracing: NotRequired[pulumi.Input[bool]] + """ + Enable active tracing if set to true + """ + environment_variables: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Environment variable key-value pairs. + """ + memory_in_mb: NotRequired[pulumi.Input[int]] + """ + Provide maximum memory available for canary in MB + """ + timeout_in_seconds: NotRequired[pulumi.Input[int]] + """ + Provide maximum canary timeout per run in seconds + """ +elif False: + CanaryRunConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CanaryRunConfigArgs: def __init__(__self__, *, @@ -255,6 +342,19 @@ def timeout_in_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "timeout_in_seconds", value) +if not MYPY: + class CanaryS3EncryptionArgsDict(TypedDict): + encryption_mode: NotRequired[pulumi.Input[str]] + """ + Encryption mode for encrypting artifacts when uploading to S3. Valid values: SSE_S3 and SSE_KMS. + """ + kms_key_arn: NotRequired[pulumi.Input[str]] + """ + KMS key Arn for encrypting artifacts when uploading to S3. You must specify KMS key Arn for SSE_KMS encryption mode only. + """ +elif False: + CanaryS3EncryptionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CanaryS3EncryptionArgs: def __init__(__self__, *, @@ -294,6 +394,27 @@ def kms_key_arn(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_arn", value) +if not MYPY: + class CanaryScheduleArgsDict(TypedDict): + expression: pulumi.Input[str] + """ + A `rate` expression or a `cron` expression that defines how often the canary is to run. + + For a rate expression, The syntax is `rate( *number unit* )` . *unit* can be `minute` , `minutes` , or `hour` . + + For example, `rate(1 minute)` runs the canary once a minute, `rate(10 minutes)` runs it once every 10 minutes, and `rate(1 hour)` runs it once every hour. You can specify a frequency between `rate(1 minute)` and `rate(1 hour)` . + + Specifying `rate(0 minute)` or `rate(0 hour)` is a special value that causes the canary to run only once when it is started. + + Use `cron( *expression* )` to specify a cron expression. You can't schedule a canary to wait for more than a year before running. For information about the syntax for cron expressions, see [Scheduling canary runs using cron](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_cron.html) . + """ + duration_in_seconds: NotRequired[pulumi.Input[str]] + """ + How long, in seconds, for the canary to continue making regular runs according to the schedule in the `Expression` value. If you specify 0, the canary continues making runs until you stop it. If you omit this field, the default of 0 is used. + """ +elif False: + CanaryScheduleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CanaryScheduleArgs: def __init__(__self__, *, @@ -348,6 +469,19 @@ def duration_in_seconds(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "duration_in_seconds", value) +if not MYPY: + class CanaryVisualReferenceArgsDict(TypedDict): + base_canary_run_id: pulumi.Input[str] + """ + Canary run id to be used as base reference for visual testing + """ + base_screenshots: NotRequired[pulumi.Input[Sequence[pulumi.Input['CanaryBaseScreenshotArgsDict']]]] + """ + List of screenshots used as base reference for visual testing + """ +elif False: + CanaryVisualReferenceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CanaryVisualReferenceArgs: def __init__(__self__, *, @@ -386,6 +520,23 @@ def base_screenshots(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['C pulumi.set(self, "base_screenshots", value) +if not MYPY: + class CanaryVpcConfigArgsDict(TypedDict): + security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The IDs of the security groups for this canary. + """ + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + The IDs of the subnets where this canary is to run. + """ + vpc_id: NotRequired[pulumi.Input[str]] + """ + The ID of the VPC where this canary is to run. + """ +elif False: + CanaryVpcConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class CanaryVpcConfigArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/synthetics/canary.py b/sdk/python/pulumi_aws_native/synthetics/canary.py index cd315f9183..a9e48d3589 100644 --- a/sdk/python/pulumi_aws_native/synthetics/canary.py +++ b/sdk/python/pulumi_aws_native/synthetics/canary.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/synthetics/get_canary.py b/sdk/python/pulumi_aws_native/synthetics/get_canary.py index ddd63fb54d..1bd56dd2da 100644 --- a/sdk/python/pulumi_aws_native/synthetics/get_canary.py +++ b/sdk/python/pulumi_aws_native/synthetics/get_canary.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -214,9 +219,6 @@ def get_canary(name: Optional[str] = None, success_retention_period=pulumi.get(__ret__, 'success_retention_period'), tags=pulumi.get(__ret__, 'tags'), vpc_config=pulumi.get(__ret__, 'vpc_config')) - - -@_utilities.lift_output_func(get_canary) def get_canary_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCanaryResult]: """ @@ -225,4 +227,21 @@ def get_canary_output(name: Optional[pulumi.Input[str]] = None, :param str name: Name of the canary. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:synthetics:getCanary', __args__, opts=opts, typ=GetCanaryResult) + return __ret__.apply(lambda __response__: GetCanaryResult( + artifact_config=pulumi.get(__response__, 'artifact_config'), + artifact_s3_location=pulumi.get(__response__, 'artifact_s3_location'), + code=pulumi.get(__response__, 'code'), + execution_role_arn=pulumi.get(__response__, 'execution_role_arn'), + failure_retention_period=pulumi.get(__response__, 'failure_retention_period'), + id=pulumi.get(__response__, 'id'), + run_config=pulumi.get(__response__, 'run_config'), + runtime_version=pulumi.get(__response__, 'runtime_version'), + schedule=pulumi.get(__response__, 'schedule'), + state=pulumi.get(__response__, 'state'), + success_retention_period=pulumi.get(__response__, 'success_retention_period'), + tags=pulumi.get(__response__, 'tags'), + vpc_config=pulumi.get(__response__, 'vpc_config'))) diff --git a/sdk/python/pulumi_aws_native/synthetics/get_group.py b/sdk/python/pulumi_aws_native/synthetics/get_group.py index 28d7022c9b..636883eabf 100644 --- a/sdk/python/pulumi_aws_native/synthetics/get_group.py +++ b/sdk/python/pulumi_aws_native/synthetics/get_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_group(name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), resource_arns=pulumi.get(__ret__, 'resource_arns'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_group) def get_group_output(name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupResult]: """ @@ -94,4 +96,11 @@ def get_group_output(name: Optional[pulumi.Input[str]] = None, :param str name: Name of the group. """ - ... + __args__ = dict() + __args__['name'] = name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:synthetics:getGroup', __args__, opts=opts, typ=GetGroupResult) + return __ret__.apply(lambda __response__: GetGroupResult( + id=pulumi.get(__response__, 'id'), + resource_arns=pulumi.get(__response__, 'resource_arns'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/synthetics/group.py b/sdk/python/pulumi_aws_native/synthetics/group.py index ce59323bf8..81cc2aff2d 100644 --- a/sdk/python/pulumi_aws_native/synthetics/group.py +++ b/sdk/python/pulumi_aws_native/synthetics/group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/synthetics/outputs.py b/sdk/python/pulumi_aws_native/synthetics/outputs.py index 61fbb1e673..a6ec0ee16f 100644 --- a/sdk/python/pulumi_aws_native/synthetics/outputs.py +++ b/sdk/python/pulumi_aws_native/synthetics/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/systemsmanagersap/_inputs.py b/sdk/python/pulumi_aws_native/systemsmanagersap/_inputs.py index 0586cfb092..3519c09e66 100644 --- a/sdk/python/pulumi_aws_native/systemsmanagersap/_inputs.py +++ b/sdk/python/pulumi_aws_native/systemsmanagersap/_inputs.py @@ -4,16 +4,41 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ApplicationCredentialArgs', + 'ApplicationCredentialArgsDict', ] +MYPY = False + +if not MYPY: + class ApplicationCredentialArgsDict(TypedDict): + credential_type: NotRequired[pulumi.Input['ApplicationCredentialCredentialType']] + """ + The type of the application credentials. + """ + database_name: NotRequired[pulumi.Input[str]] + """ + The name of the SAP HANA database. + """ + secret_id: NotRequired[pulumi.Input[str]] + """ + The secret ID created in AWS Secrets Manager to store the credentials of the SAP application. + """ +elif False: + ApplicationCredentialArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ApplicationCredentialArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/systemsmanagersap/application.py b/sdk/python/pulumi_aws_native/systemsmanagersap/application.py index 49f59e8716..394de13f00 100644 --- a/sdk/python/pulumi_aws_native/systemsmanagersap/application.py +++ b/sdk/python/pulumi_aws_native/systemsmanagersap/application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/systemsmanagersap/get_application.py b/sdk/python/pulumi_aws_native/systemsmanagersap/get_application.py index 5b1e0d7622..bf9ec5adf1 100644 --- a/sdk/python/pulumi_aws_native/systemsmanagersap/get_application.py +++ b/sdk/python/pulumi_aws_native/systemsmanagersap/get_application.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -97,9 +102,6 @@ def get_application(arn: Optional[str] = None, application_type=pulumi.get(__ret__, 'application_type'), arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_application) def get_application_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationResult]: """ @@ -108,4 +110,12 @@ def get_application_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The ARN of the SSM-SAP application """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:systemsmanagersap:getApplication', __args__, opts=opts, typ=GetApplicationResult) + return __ret__.apply(lambda __response__: GetApplicationResult( + application_id=pulumi.get(__response__, 'application_id'), + application_type=pulumi.get(__response__, 'application_type'), + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/systemsmanagersap/outputs.py b/sdk/python/pulumi_aws_native/systemsmanagersap/outputs.py index b75cb51f43..39df27a17c 100644 --- a/sdk/python/pulumi_aws_native/systemsmanagersap/outputs.py +++ b/sdk/python/pulumi_aws_native/systemsmanagersap/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/timestream/_inputs.py b/sdk/python/pulumi_aws_native/timestream/_inputs.py index 9970fd9427..d051c703f0 100644 --- a/sdk/python/pulumi_aws_native/timestream/_inputs.py +++ b/sdk/python/pulumi_aws_native/timestream/_inputs.py @@ -4,34 +4,76 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'LogDeliveryConfigurationPropertiesS3ConfigurationPropertiesArgs', + 'LogDeliveryConfigurationPropertiesS3ConfigurationPropertiesArgsDict', 'LogDeliveryConfigurationPropertiesArgs', + 'LogDeliveryConfigurationPropertiesArgsDict', 'MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationPropertiesArgs', + 'MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationPropertiesArgsDict', 'MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesArgs', + 'MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesArgsDict', 'MagneticStoreWritePropertiesPropertiesArgs', + 'MagneticStoreWritePropertiesPropertiesArgsDict', 'RetentionPropertiesPropertiesArgs', + 'RetentionPropertiesPropertiesArgsDict', 'ScheduledQueryDimensionMappingArgs', + 'ScheduledQueryDimensionMappingArgsDict', 'ScheduledQueryErrorReportConfigurationArgs', + 'ScheduledQueryErrorReportConfigurationArgsDict', 'ScheduledQueryMixedMeasureMappingArgs', + 'ScheduledQueryMixedMeasureMappingArgsDict', 'ScheduledQueryMultiMeasureAttributeMappingArgs', + 'ScheduledQueryMultiMeasureAttributeMappingArgsDict', 'ScheduledQueryMultiMeasureMappingsArgs', + 'ScheduledQueryMultiMeasureMappingsArgsDict', 'ScheduledQueryNotificationConfigurationArgs', + 'ScheduledQueryNotificationConfigurationArgsDict', 'ScheduledQueryS3ConfigurationArgs', + 'ScheduledQueryS3ConfigurationArgsDict', 'ScheduledQueryScheduleConfigurationArgs', + 'ScheduledQueryScheduleConfigurationArgsDict', 'ScheduledQuerySnsConfigurationArgs', + 'ScheduledQuerySnsConfigurationArgsDict', 'ScheduledQueryTargetConfigurationArgs', + 'ScheduledQueryTargetConfigurationArgsDict', 'ScheduledQueryTimestreamConfigurationArgs', + 'ScheduledQueryTimestreamConfigurationArgsDict', 'SchemaPropertiesArgs', + 'SchemaPropertiesArgsDict', 'TablePartitionKeyArgs', + 'TablePartitionKeyArgsDict', ] +MYPY = False + +if not MYPY: + class LogDeliveryConfigurationPropertiesS3ConfigurationPropertiesArgsDict(TypedDict): + """ + S3 configuration for sending logs to customer account from the InfluxDB instance. + """ + bucket_name: pulumi.Input[str] + """ + The bucket name for logs to be sent from the InfluxDB instance + """ + enabled: pulumi.Input[bool] + """ + Specifies whether logging to customer specified bucket is enabled. + """ +elif False: + LogDeliveryConfigurationPropertiesS3ConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LogDeliveryConfigurationPropertiesS3ConfigurationPropertiesArgs: def __init__(__self__, *, @@ -70,6 +112,18 @@ def enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "enabled", value) +if not MYPY: + class LogDeliveryConfigurationPropertiesArgsDict(TypedDict): + """ + Configuration for sending logs to customer account from the InfluxDB instance. + """ + s3_configuration: pulumi.Input['LogDeliveryConfigurationPropertiesS3ConfigurationPropertiesArgsDict'] + """ + S3 configuration for sending logs to customer account from the InfluxDB instance. + """ +elif False: + LogDeliveryConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LogDeliveryConfigurationPropertiesArgs: def __init__(__self__, *, @@ -93,6 +147,30 @@ def s3_configuration(self, value: pulumi.Input['LogDeliveryConfigurationProperti pulumi.set(self, "s3_configuration", value) +if not MYPY: + class MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationPropertiesArgsDict(TypedDict): + """ + S3 configuration for location to store rejections from magnetic store writes + """ + bucket_name: pulumi.Input[str] + """ + The bucket name used to store the data. + """ + encryption_option: pulumi.Input[str] + """ + Either SSE_KMS or SSE_S3. + """ + kms_key_id: NotRequired[pulumi.Input[str]] + """ + Must be provided if SSE_KMS is specified as the encryption option + """ + object_key_prefix: NotRequired[pulumi.Input[str]] + """ + String used to prefix all data in the bucket. + """ +elif False: + MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationPropertiesArgs: def __init__(__self__, *, @@ -163,6 +241,18 @@ def object_key_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "object_key_prefix", value) +if not MYPY: + class MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesArgsDict(TypedDict): + """ + Location to store information about records that were asynchronously rejected during magnetic store writes. + """ + s3_configuration: NotRequired[pulumi.Input['MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationPropertiesArgsDict']] + """ + S3 configuration for location to store rejections from magnetic store writes + """ +elif False: + MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesArgs: def __init__(__self__, *, @@ -187,6 +277,22 @@ def s3_configuration(self, value: Optional[pulumi.Input['MagneticStoreWritePrope pulumi.set(self, "s3_configuration", value) +if not MYPY: + class MagneticStoreWritePropertiesPropertiesArgsDict(TypedDict): + """ + The properties that determine whether magnetic store writes are enabled. + """ + enable_magnetic_store_writes: pulumi.Input[bool] + """ + Boolean flag indicating whether magnetic store writes are enabled. + """ + magnetic_store_rejected_data_location: NotRequired[pulumi.Input['MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesArgsDict']] + """ + Location to store information about records that were asynchronously rejected during magnetic store writes. + """ +elif False: + MagneticStoreWritePropertiesPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class MagneticStoreWritePropertiesPropertiesArgs: def __init__(__self__, *, @@ -226,6 +332,22 @@ def magnetic_store_rejected_data_location(self, value: Optional[pulumi.Input['Ma pulumi.set(self, "magnetic_store_rejected_data_location", value) +if not MYPY: + class RetentionPropertiesPropertiesArgsDict(TypedDict): + """ + The retention duration of the memory store and the magnetic store. + """ + magnetic_store_retention_period_in_days: NotRequired[pulumi.Input[str]] + """ + The duration for which data must be stored in the magnetic store. + """ + memory_store_retention_period_in_hours: NotRequired[pulumi.Input[str]] + """ + The duration for which data must be stored in the memory store. + """ +elif False: + RetentionPropertiesPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RetentionPropertiesPropertiesArgs: def __init__(__self__, *, @@ -266,6 +388,16 @@ def memory_store_retention_period_in_hours(self, value: Optional[pulumi.Input[st pulumi.set(self, "memory_store_retention_period_in_hours", value) +if not MYPY: + class ScheduledQueryDimensionMappingArgsDict(TypedDict): + """ + This type is used to map column(s) from the query result to a dimension in the destination table. + """ + dimension_value_type: pulumi.Input['ScheduledQueryDimensionValueType'] + name: pulumi.Input[str] +elif False: + ScheduledQueryDimensionMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledQueryDimensionMappingArgs: def __init__(__self__, *, @@ -296,6 +428,18 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class ScheduledQueryErrorReportConfigurationArgsDict(TypedDict): + """ + Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results. + """ + s3_configuration: pulumi.Input['ScheduledQueryS3ConfigurationArgsDict'] + """ + The S3 configuration for the error reports. + """ +elif False: + ScheduledQueryErrorReportConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledQueryErrorReportConfigurationArgs: def __init__(__self__, *, @@ -319,6 +463,19 @@ def s3_configuration(self, value: pulumi.Input['ScheduledQueryS3ConfigurationArg pulumi.set(self, "s3_configuration", value) +if not MYPY: + class ScheduledQueryMixedMeasureMappingArgsDict(TypedDict): + """ + MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table. + """ + measure_value_type: pulumi.Input['ScheduledQueryMixedMeasureMappingMeasureValueType'] + measure_name: NotRequired[pulumi.Input[str]] + multi_measure_attribute_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['ScheduledQueryMultiMeasureAttributeMappingArgsDict']]]] + source_column: NotRequired[pulumi.Input[str]] + target_measure_name: NotRequired[pulumi.Input[str]] +elif False: + ScheduledQueryMixedMeasureMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledQueryMixedMeasureMappingArgs: def __init__(__self__, *, @@ -386,6 +543,17 @@ def target_measure_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_measure_name", value) +if not MYPY: + class ScheduledQueryMultiMeasureAttributeMappingArgsDict(TypedDict): + """ + An attribute mapping to be used for mapping query results to ingest data for multi-measure attributes. + """ + measure_value_type: pulumi.Input['ScheduledQueryMultiMeasureAttributeMappingMeasureValueType'] + source_column: pulumi.Input[str] + target_multi_measure_attribute_name: NotRequired[pulumi.Input[str]] +elif False: + ScheduledQueryMultiMeasureAttributeMappingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledQueryMultiMeasureAttributeMappingArgs: def __init__(__self__, *, @@ -428,6 +596,22 @@ def target_multi_measure_attribute_name(self, value: Optional[pulumi.Input[str]] pulumi.set(self, "target_multi_measure_attribute_name", value) +if not MYPY: + class ScheduledQueryMultiMeasureMappingsArgsDict(TypedDict): + """ + Only one of MixedMeasureMappings or MultiMeasureMappings is to be provided. MultiMeasureMappings can be used to ingest data as multi measures in the derived table. + """ + multi_measure_attribute_mappings: pulumi.Input[Sequence[pulumi.Input['ScheduledQueryMultiMeasureAttributeMappingArgsDict']]] + """ + Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes. + """ + target_multi_measure_name: NotRequired[pulumi.Input[str]] + """ + The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name. + """ +elif False: + ScheduledQueryMultiMeasureMappingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledQueryMultiMeasureMappingsArgs: def __init__(__self__, *, @@ -467,6 +651,18 @@ def target_multi_measure_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "target_multi_measure_name", value) +if not MYPY: + class ScheduledQueryNotificationConfigurationArgsDict(TypedDict): + """ + Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it. + """ + sns_configuration: pulumi.Input['ScheduledQuerySnsConfigurationArgsDict'] + """ + Details on SNS configuration. + """ +elif False: + ScheduledQueryNotificationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledQueryNotificationConfigurationArgs: def __init__(__self__, *, @@ -490,6 +686,26 @@ def sns_configuration(self, value: pulumi.Input['ScheduledQuerySnsConfigurationA pulumi.set(self, "sns_configuration", value) +if not MYPY: + class ScheduledQueryS3ConfigurationArgsDict(TypedDict): + """ + Details on S3 location for error reports that result from running a query. + """ + bucket_name: pulumi.Input[str] + """ + Name of the S3 bucket under which error reports will be created. + """ + encryption_option: NotRequired[pulumi.Input['ScheduledQueryEncryptionOption']] + """ + Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default. + """ + object_key_prefix: NotRequired[pulumi.Input[str]] + """ + Prefix for the error report key. Timestream by default adds the following prefix to the error report path. + """ +elif False: + ScheduledQueryS3ConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledQueryS3ConfigurationArgs: def __init__(__self__, *, @@ -545,6 +761,18 @@ def object_key_prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "object_key_prefix", value) +if not MYPY: + class ScheduledQueryScheduleConfigurationArgsDict(TypedDict): + """ + Configuration for when the scheduled query is executed. + """ + schedule_expression: pulumi.Input[str] + """ + An expression that denotes when to trigger the scheduled query run. This can be a cron expression or a rate expression. + """ +elif False: + ScheduledQueryScheduleConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledQueryScheduleConfigurationArgs: def __init__(__self__, *, @@ -568,6 +796,18 @@ def schedule_expression(self, value: pulumi.Input[str]): pulumi.set(self, "schedule_expression", value) +if not MYPY: + class ScheduledQuerySnsConfigurationArgsDict(TypedDict): + """ + SNS configuration for notification upon scheduled query execution. + """ + topic_arn: pulumi.Input[str] + """ + SNS topic ARN that the scheduled query status notifications will be sent to. + """ +elif False: + ScheduledQuerySnsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledQuerySnsConfigurationArgs: def __init__(__self__, *, @@ -591,6 +831,18 @@ def topic_arn(self, value: pulumi.Input[str]): pulumi.set(self, "topic_arn", value) +if not MYPY: + class ScheduledQueryTargetConfigurationArgsDict(TypedDict): + """ + Configuration of target store where scheduled query results are written to. + """ + timestream_configuration: pulumi.Input['ScheduledQueryTimestreamConfigurationArgsDict'] + """ + Configuration needed to write data into the Timestream database and table. + """ +elif False: + ScheduledQueryTargetConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledQueryTargetConfigurationArgs: def __init__(__self__, *, @@ -614,6 +866,42 @@ def timestream_configuration(self, value: pulumi.Input['ScheduledQueryTimestream pulumi.set(self, "timestream_configuration", value) +if not MYPY: + class ScheduledQueryTimestreamConfigurationArgsDict(TypedDict): + """ + Configuration needed to write data into the Timestream database and table. + """ + database_name: pulumi.Input[str] + """ + Name of Timestream database to which the query result will be written. + """ + dimension_mappings: pulumi.Input[Sequence[pulumi.Input['ScheduledQueryDimensionMappingArgsDict']]] + """ + This is to allow mapping column(s) from the query result to the dimension in the destination table. + """ + table_name: pulumi.Input[str] + """ + Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration. + """ + time_column: pulumi.Input[str] + """ + Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP. + """ + measure_name_column: NotRequired[pulumi.Input[str]] + """ + Name of the measure column. Also see `MultiMeasureMappings` and `MixedMeasureMappings` for how measure name properties on those relate to `MeasureNameColumn` . + """ + mixed_measure_mappings: NotRequired[pulumi.Input[Sequence[pulumi.Input['ScheduledQueryMixedMeasureMappingArgsDict']]]] + """ + Specifies how to map measures to multi-measure records. + """ + multi_measure_mappings: NotRequired[pulumi.Input['ScheduledQueryMultiMeasureMappingsArgsDict']] + """ + Multi-measure mappings. + """ +elif False: + ScheduledQueryTimestreamConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ScheduledQueryTimestreamConfigurationArgs: def __init__(__self__, *, @@ -730,6 +1018,18 @@ def multi_measure_mappings(self, value: Optional[pulumi.Input['ScheduledQueryMul pulumi.set(self, "multi_measure_mappings", value) +if not MYPY: + class SchemaPropertiesArgsDict(TypedDict): + """ + A Schema specifies the expected data model of the table. + """ + composite_partition_key: NotRequired[pulumi.Input[Sequence[pulumi.Input['TablePartitionKeyArgsDict']]]] + """ + A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed. + """ +elif False: + SchemaPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SchemaPropertiesArgs: def __init__(__self__, *, @@ -754,6 +1054,17 @@ def composite_partition_key(self, value: Optional[pulumi.Input[Sequence[pulumi.I pulumi.set(self, "composite_partition_key", value) +if not MYPY: + class TablePartitionKeyArgsDict(TypedDict): + """ + An attribute used in partitioning data in a table. There are two types of partition keys: dimension keys and measure keys. A dimension key partitions data on a dimension name, while a measure key partitions data on the measure name. + """ + type: pulumi.Input['TablePartitionKeyType'] + enforcement_in_record: NotRequired[pulumi.Input['TablePartitionKeyEnforcementLevel']] + name: NotRequired[pulumi.Input[str]] +elif False: + TablePartitionKeyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TablePartitionKeyArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/timestream/database.py b/sdk/python/pulumi_aws_native/timestream/database.py index 18942231b8..957062f64b 100644 --- a/sdk/python/pulumi_aws_native/timestream/database.py +++ b/sdk/python/pulumi_aws_native/timestream/database.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/timestream/get_database.py b/sdk/python/pulumi_aws_native/timestream/get_database.py index 552069326c..d91d25d083 100644 --- a/sdk/python/pulumi_aws_native/timestream/get_database.py +++ b/sdk/python/pulumi_aws_native/timestream/get_database.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_database(database_name: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), kms_key_id=pulumi.get(__ret__, 'kms_key_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_database) def get_database_output(database_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDatabaseResult]: """ @@ -94,4 +96,11 @@ def get_database_output(database_name: Optional[pulumi.Input[str]] = None, :param str database_name: The name for the database. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the database name. """ - ... + __args__ = dict() + __args__['databaseName'] = database_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:timestream:getDatabase', __args__, opts=opts, typ=GetDatabaseResult) + return __ret__.apply(lambda __response__: GetDatabaseResult( + arn=pulumi.get(__response__, 'arn'), + kms_key_id=pulumi.get(__response__, 'kms_key_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/timestream/get_influx_db_instance.py b/sdk/python/pulumi_aws_native/timestream/get_influx_db_instance.py index 8f172e0686..cd9aa3618d 100644 --- a/sdk/python/pulumi_aws_native/timestream/get_influx_db_instance.py +++ b/sdk/python/pulumi_aws_native/timestream/get_influx_db_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -176,9 +181,6 @@ def get_influx_db_instance(id: Optional[str] = None, secondary_availability_zone=pulumi.get(__ret__, 'secondary_availability_zone'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_influx_db_instance) def get_influx_db_instance_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInfluxDbInstanceResult]: """ @@ -187,4 +189,18 @@ def get_influx_db_instance_output(id: Optional[pulumi.Input[str]] = None, :param str id: The service generated unique identifier for InfluxDB instance. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:timestream:getInfluxDbInstance', __args__, opts=opts, typ=GetInfluxDbInstanceResult) + return __ret__.apply(lambda __response__: GetInfluxDbInstanceResult( + arn=pulumi.get(__response__, 'arn'), + availability_zone=pulumi.get(__response__, 'availability_zone'), + db_parameter_group_identifier=pulumi.get(__response__, 'db_parameter_group_identifier'), + endpoint=pulumi.get(__response__, 'endpoint'), + id=pulumi.get(__response__, 'id'), + influx_auth_parameters_secret_arn=pulumi.get(__response__, 'influx_auth_parameters_secret_arn'), + log_delivery_configuration=pulumi.get(__response__, 'log_delivery_configuration'), + secondary_availability_zone=pulumi.get(__response__, 'secondary_availability_zone'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/timestream/get_scheduled_query.py b/sdk/python/pulumi_aws_native/timestream/get_scheduled_query.py index b9b6165558..3cf307d6c1 100644 --- a/sdk/python/pulumi_aws_native/timestream/get_scheduled_query.py +++ b/sdk/python/pulumi_aws_native/timestream/get_scheduled_query.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -174,9 +179,6 @@ def get_scheduled_query(arn: Optional[str] = None, sq_scheduled_query_execution_role_arn=pulumi.get(__ret__, 'sq_scheduled_query_execution_role_arn'), sq_target_configuration=pulumi.get(__ret__, 'sq_target_configuration'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_scheduled_query) def get_scheduled_query_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduledQueryResult]: """ @@ -185,4 +187,18 @@ def get_scheduled_query_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The `ARN` of the scheduled query. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:timestream:getScheduledQuery', __args__, opts=opts, typ=GetScheduledQueryResult) + return __ret__.apply(lambda __response__: GetScheduledQueryResult( + arn=pulumi.get(__response__, 'arn'), + sq_error_report_configuration=pulumi.get(__response__, 'sq_error_report_configuration'), + sq_kms_key_id=pulumi.get(__response__, 'sq_kms_key_id'), + sq_name=pulumi.get(__response__, 'sq_name'), + sq_notification_configuration=pulumi.get(__response__, 'sq_notification_configuration'), + sq_query_string=pulumi.get(__response__, 'sq_query_string'), + sq_schedule_configuration=pulumi.get(__response__, 'sq_schedule_configuration'), + sq_scheduled_query_execution_role_arn=pulumi.get(__response__, 'sq_scheduled_query_execution_role_arn'), + sq_target_configuration=pulumi.get(__response__, 'sq_target_configuration'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/timestream/get_table.py b/sdk/python/pulumi_aws_native/timestream/get_table.py index c4c8364831..60584f5f9f 100644 --- a/sdk/python/pulumi_aws_native/timestream/get_table.py +++ b/sdk/python/pulumi_aws_native/timestream/get_table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -127,9 +132,6 @@ def get_table(database_name: Optional[str] = None, retention_properties=pulumi.get(__ret__, 'retention_properties'), schema=pulumi.get(__ret__, 'schema'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_table) def get_table_output(database_name: Optional[pulumi.Input[str]] = None, table_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTableResult]: @@ -140,4 +142,15 @@ def get_table_output(database_name: Optional[pulumi.Input[str]] = None, :param str database_name: The name for the database which the table to be created belongs to. :param str table_name: The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name. """ - ... + __args__ = dict() + __args__['databaseName'] = database_name + __args__['tableName'] = table_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:timestream:getTable', __args__, opts=opts, typ=GetTableResult) + return __ret__.apply(lambda __response__: GetTableResult( + arn=pulumi.get(__response__, 'arn'), + magnetic_store_write_properties=pulumi.get(__response__, 'magnetic_store_write_properties'), + name=pulumi.get(__response__, 'name'), + retention_properties=pulumi.get(__response__, 'retention_properties'), + schema=pulumi.get(__response__, 'schema'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/timestream/influx_db_instance.py b/sdk/python/pulumi_aws_native/timestream/influx_db_instance.py index 5106a5d30b..533e14889b 100644 --- a/sdk/python/pulumi_aws_native/timestream/influx_db_instance.py +++ b/sdk/python/pulumi_aws_native/timestream/influx_db_instance.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/timestream/outputs.py b/sdk/python/pulumi_aws_native/timestream/outputs.py index 9a0cb5788a..aace61a99a 100644 --- a/sdk/python/pulumi_aws_native/timestream/outputs.py +++ b/sdk/python/pulumi_aws_native/timestream/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/timestream/scheduled_query.py b/sdk/python/pulumi_aws_native/timestream/scheduled_query.py index 689e1a887e..574230bcee 100644 --- a/sdk/python/pulumi_aws_native/timestream/scheduled_query.py +++ b/sdk/python/pulumi_aws_native/timestream/scheduled_query.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/timestream/table.py b/sdk/python/pulumi_aws_native/timestream/table.py index ec5650e65d..bbcc635344 100644 --- a/sdk/python/pulumi_aws_native/timestream/table.py +++ b/sdk/python/pulumi_aws_native/timestream/table.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/transfer/_inputs.py b/sdk/python/pulumi_aws_native/transfer/_inputs.py index b9e0ada9ca..6369b7f865 100644 --- a/sdk/python/pulumi_aws_native/transfer/_inputs.py +++ b/sdk/python/pulumi_aws_native/transfer/_inputs.py @@ -4,28 +4,92 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'As2ConfigPropertiesArgs', + 'As2ConfigPropertiesArgsDict', 'SftpConfigPropertiesArgs', + 'SftpConfigPropertiesArgsDict', 'WorkflowEfsInputFileLocationArgs', + 'WorkflowEfsInputFileLocationArgsDict', 'WorkflowInputFileLocationArgs', + 'WorkflowInputFileLocationArgsDict', 'WorkflowS3FileLocationArgs', + 'WorkflowS3FileLocationArgsDict', 'WorkflowS3InputFileLocationArgs', + 'WorkflowS3InputFileLocationArgsDict', 'WorkflowS3TagArgs', + 'WorkflowS3TagArgsDict', 'WorkflowStepCopyStepDetailsPropertiesArgs', + 'WorkflowStepCopyStepDetailsPropertiesArgsDict', 'WorkflowStepCustomStepDetailsPropertiesArgs', + 'WorkflowStepCustomStepDetailsPropertiesArgsDict', 'WorkflowStepDecryptStepDetailsPropertiesArgs', + 'WorkflowStepDecryptStepDetailsPropertiesArgsDict', 'WorkflowStepDeleteStepDetailsPropertiesArgs', + 'WorkflowStepDeleteStepDetailsPropertiesArgsDict', 'WorkflowStepTagStepDetailsPropertiesArgs', + 'WorkflowStepTagStepDetailsPropertiesArgsDict', 'WorkflowStepArgs', + 'WorkflowStepArgsDict', ] +MYPY = False + +if not MYPY: + class As2ConfigPropertiesArgsDict(TypedDict): + """ + Configuration for an AS2 connector. + """ + basic_auth_secret_id: NotRequired[pulumi.Input[str]] + """ + ARN or name of the secret in AWS Secrets Manager which contains the credentials for Basic authentication. If empty, Basic authentication is disabled for the AS2 connector + """ + compression: NotRequired[pulumi.Input['ConnectorAs2ConfigPropertiesCompression']] + """ + Compression setting for this AS2 connector configuration. + """ + encryption_algorithm: NotRequired[pulumi.Input['ConnectorAs2ConfigPropertiesEncryptionAlgorithm']] + """ + Encryption algorithm for this AS2 connector configuration. + """ + local_profile_id: NotRequired[pulumi.Input[str]] + """ + A unique identifier for the local profile. + """ + mdn_response: NotRequired[pulumi.Input['ConnectorAs2ConfigPropertiesMdnResponse']] + """ + MDN Response setting for this AS2 connector configuration. + """ + mdn_signing_algorithm: NotRequired[pulumi.Input['ConnectorAs2ConfigPropertiesMdnSigningAlgorithm']] + """ + MDN Signing algorithm for this AS2 connector configuration. + """ + message_subject: NotRequired[pulumi.Input[str]] + """ + The message subject for this AS2 connector configuration. + """ + partner_profile_id: NotRequired[pulumi.Input[str]] + """ + A unique identifier for the partner profile. + """ + signing_algorithm: NotRequired[pulumi.Input['ConnectorAs2ConfigPropertiesSigningAlgorithm']] + """ + Signing algorithm for this AS2 connector configuration. + """ +elif False: + As2ConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class As2ConfigPropertiesArgs: def __init__(__self__, *, @@ -178,6 +242,22 @@ def signing_algorithm(self, value: Optional[pulumi.Input['ConnectorAs2ConfigProp pulumi.set(self, "signing_algorithm", value) +if not MYPY: + class SftpConfigPropertiesArgsDict(TypedDict): + """ + Configuration for an SFTP connector. + """ + trusted_host_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of public host keys, for the external server to which you are connecting. + """ + user_secret_id: NotRequired[pulumi.Input[str]] + """ + ARN or name of the secret in AWS Secrets Manager which contains the SFTP user's private keys or passwords. + """ +elif False: + SftpConfigPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SftpConfigPropertiesArgs: def __init__(__self__, *, @@ -218,6 +298,22 @@ def user_secret_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "user_secret_id", value) +if not MYPY: + class WorkflowEfsInputFileLocationArgsDict(TypedDict): + """ + Specifies the details for an EFS file. + """ + file_system_id: NotRequired[pulumi.Input[str]] + """ + Specifies the EFS filesystem that contains the file. + """ + path: NotRequired[pulumi.Input[str]] + """ + The name assigned to the file when it was created in EFS. You use the object path to retrieve the object. + """ +elif False: + WorkflowEfsInputFileLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowEfsInputFileLocationArgs: def __init__(__self__, *, @@ -258,6 +354,16 @@ def path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "path", value) +if not MYPY: + class WorkflowInputFileLocationArgsDict(TypedDict): + """ + Specifies the location for the file being decrypted. Only applicable for the Decrypt type of workflow steps. + """ + efs_file_location: NotRequired[pulumi.Input['WorkflowEfsInputFileLocationArgsDict']] + s3_file_location: NotRequired[pulumi.Input['WorkflowS3InputFileLocationArgsDict']] +elif False: + WorkflowInputFileLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowInputFileLocationArgs: def __init__(__self__, *, @@ -290,6 +396,18 @@ def s3_file_location(self, value: Optional[pulumi.Input['WorkflowS3InputFileLoca pulumi.set(self, "s3_file_location", value) +if not MYPY: + class WorkflowS3FileLocationArgsDict(TypedDict): + """ + Specifies the location for the file being copied. Only applicable for the Copy type of workflow steps. + """ + s3_file_location: NotRequired[pulumi.Input['WorkflowS3InputFileLocationArgsDict']] + """ + Specifies the details for the file location for the file that's being used in the workflow. Only applicable if you are using Amazon S3 storage. + """ +elif False: + WorkflowS3FileLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowS3FileLocationArgs: def __init__(__self__, *, @@ -314,6 +432,22 @@ def s3_file_location(self, value: Optional[pulumi.Input['WorkflowS3InputFileLoca pulumi.set(self, "s3_file_location", value) +if not MYPY: + class WorkflowS3InputFileLocationArgsDict(TypedDict): + """ + Specifies the details for a S3 file. + """ + bucket: NotRequired[pulumi.Input[str]] + """ + Specifies the S3 bucket that contains the file. + """ + key: NotRequired[pulumi.Input[str]] + """ + The name assigned to the file when it was created in S3. You use the object key to retrieve the object. + """ +elif False: + WorkflowS3InputFileLocationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowS3InputFileLocationArgs: def __init__(__self__, *, @@ -354,6 +488,22 @@ def key(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "key", value) +if not MYPY: + class WorkflowS3TagArgsDict(TypedDict): + """ + Specifies the key-value pair that are assigned to a file during the execution of a Tagging step. + """ + key: pulumi.Input[str] + """ + The name assigned to the tag that you create. + """ + value: pulumi.Input[str] + """ + The value that corresponds to the key. + """ +elif False: + WorkflowS3TagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowS3TagArgs: def __init__(__self__, *, @@ -392,6 +542,27 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class WorkflowStepCopyStepDetailsPropertiesArgsDict(TypedDict): + """ + Details for a step that performs a file copy. + """ + destination_file_location: NotRequired[pulumi.Input['WorkflowS3FileLocationArgsDict']] + name: NotRequired[pulumi.Input[str]] + """ + The name of the step, used as an identifier. + """ + overwrite_existing: NotRequired[pulumi.Input['WorkflowStepCopyStepDetailsPropertiesOverwriteExisting']] + """ + A flag that indicates whether or not to overwrite an existing file of the same name. The default is FALSE. + """ + source_file_location: NotRequired[pulumi.Input[str]] + """ + Specifies which file to use as input to the workflow step. + """ +elif False: + WorkflowStepCopyStepDetailsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowStepCopyStepDetailsPropertiesArgs: def __init__(__self__, *, @@ -460,6 +631,30 @@ def source_file_location(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_file_location", value) +if not MYPY: + class WorkflowStepCustomStepDetailsPropertiesArgsDict(TypedDict): + """ + Details for a step that invokes a lambda function. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the step, used as an identifier. + """ + source_file_location: NotRequired[pulumi.Input[str]] + """ + Specifies which file to use as input to the workflow step. + """ + target: NotRequired[pulumi.Input[str]] + """ + The ARN for the lambda function that is being called. + """ + timeout_seconds: NotRequired[pulumi.Input[int]] + """ + Timeout, in seconds, for the step. + """ +elif False: + WorkflowStepCustomStepDetailsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowStepCustomStepDetailsPropertiesArgs: def __init__(__self__, *, @@ -532,6 +727,31 @@ def timeout_seconds(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "timeout_seconds", value) +if not MYPY: + class WorkflowStepDecryptStepDetailsPropertiesArgsDict(TypedDict): + """ + Details for a step that performs a file decryption. + """ + destination_file_location: pulumi.Input['WorkflowInputFileLocationArgsDict'] + type: pulumi.Input['WorkflowStepDecryptStepDetailsPropertiesType'] + """ + Specifies which encryption method to use. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the step, used as an identifier. + """ + overwrite_existing: NotRequired[pulumi.Input['WorkflowStepDecryptStepDetailsPropertiesOverwriteExisting']] + """ + A flag that indicates whether or not to overwrite an existing file of the same name. The default is FALSE. + """ + source_file_location: NotRequired[pulumi.Input[str]] + """ + Specifies which file to use as input to the workflow step. + """ +elif False: + WorkflowStepDecryptStepDetailsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowStepDecryptStepDetailsPropertiesArgs: def __init__(__self__, *, @@ -614,6 +834,22 @@ def source_file_location(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_file_location", value) +if not MYPY: + class WorkflowStepDeleteStepDetailsPropertiesArgsDict(TypedDict): + """ + Details for a step that deletes the file. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the step, used as an identifier. + """ + source_file_location: NotRequired[pulumi.Input[str]] + """ + Specifies which file to use as input to the workflow step. + """ +elif False: + WorkflowStepDeleteStepDetailsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowStepDeleteStepDetailsPropertiesArgs: def __init__(__self__, *, @@ -654,6 +890,26 @@ def source_file_location(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_file_location", value) +if not MYPY: + class WorkflowStepTagStepDetailsPropertiesArgsDict(TypedDict): + """ + Details for a step that creates one or more tags. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the step, used as an identifier. + """ + source_file_location: NotRequired[pulumi.Input[str]] + """ + Specifies which file to use as input to the workflow step. + """ + tags: NotRequired[pulumi.Input[Sequence[pulumi.Input['WorkflowS3TagArgsDict']]]] + """ + Array that contains from 1 to 10 key/value pairs. + """ +elif False: + WorkflowStepTagStepDetailsPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowStepTagStepDetailsPropertiesArgs: def __init__(__self__, *, @@ -710,6 +966,35 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkflowS3Tag pulumi.set(self, "tags", value) +if not MYPY: + class WorkflowStepArgsDict(TypedDict): + """ + The basic building block of a workflow. + """ + copy_step_details: NotRequired[pulumi.Input['WorkflowStepCopyStepDetailsPropertiesArgsDict']] + """ + Details for a step that performs a file copy. + """ + custom_step_details: NotRequired[pulumi.Input['WorkflowStepCustomStepDetailsPropertiesArgsDict']] + """ + Details for a step that invokes a lambda function. + """ + decrypt_step_details: NotRequired[pulumi.Input['WorkflowStepDecryptStepDetailsPropertiesArgsDict']] + """ + Details for a step that performs a file decryption. + """ + delete_step_details: NotRequired[pulumi.Input['WorkflowStepDeleteStepDetailsPropertiesArgsDict']] + """ + Details for a step that deletes the file. + """ + tag_step_details: NotRequired[pulumi.Input['WorkflowStepTagStepDetailsPropertiesArgsDict']] + """ + Details for a step that creates one or more tags. + """ + type: NotRequired[pulumi.Input['WorkflowStepType']] +elif False: + WorkflowStepArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkflowStepArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/transfer/agreement.py b/sdk/python/pulumi_aws_native/transfer/agreement.py index a5f9ea2412..25b95d7c95 100644 --- a/sdk/python/pulumi_aws_native/transfer/agreement.py +++ b/sdk/python/pulumi_aws_native/transfer/agreement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/transfer/certificate.py b/sdk/python/pulumi_aws_native/transfer/certificate.py index 5bb2e6a70c..9fe34e4769 100644 --- a/sdk/python/pulumi_aws_native/transfer/certificate.py +++ b/sdk/python/pulumi_aws_native/transfer/certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/transfer/connector.py b/sdk/python/pulumi_aws_native/transfer/connector.py index 223ab688b3..675cb24699 100644 --- a/sdk/python/pulumi_aws_native/transfer/connector.py +++ b/sdk/python/pulumi_aws_native/transfer/connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/transfer/get_agreement.py b/sdk/python/pulumi_aws_native/transfer/get_agreement.py index 154b36c310..4520944de7 100644 --- a/sdk/python/pulumi_aws_native/transfer/get_agreement.py +++ b/sdk/python/pulumi_aws_native/transfer/get_agreement.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -165,9 +170,6 @@ def get_agreement(agreement_id: Optional[str] = None, partner_profile_id=pulumi.get(__ret__, 'partner_profile_id'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_agreement) def get_agreement_output(agreement_id: Optional[pulumi.Input[str]] = None, server_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAgreementResult]: @@ -178,4 +180,18 @@ def get_agreement_output(agreement_id: Optional[pulumi.Input[str]] = None, :param str agreement_id: A unique identifier for the agreement. :param str server_id: A unique identifier for the server. """ - ... + __args__ = dict() + __args__['agreementId'] = agreement_id + __args__['serverId'] = server_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:transfer:getAgreement', __args__, opts=opts, typ=GetAgreementResult) + return __ret__.apply(lambda __response__: GetAgreementResult( + access_role=pulumi.get(__response__, 'access_role'), + agreement_id=pulumi.get(__response__, 'agreement_id'), + arn=pulumi.get(__response__, 'arn'), + base_directory=pulumi.get(__response__, 'base_directory'), + description=pulumi.get(__response__, 'description'), + local_profile_id=pulumi.get(__response__, 'local_profile_id'), + partner_profile_id=pulumi.get(__response__, 'partner_profile_id'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/transfer/get_certificate.py b/sdk/python/pulumi_aws_native/transfer/get_certificate.py index e30cd726b8..f4ae23023c 100644 --- a/sdk/python/pulumi_aws_native/transfer/get_certificate.py +++ b/sdk/python/pulumi_aws_native/transfer/get_certificate.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -201,9 +206,6 @@ def get_certificate(certificate_id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), type=pulumi.get(__ret__, 'type'), usage=pulumi.get(__ret__, 'usage')) - - -@_utilities.lift_output_func(get_certificate) def get_certificate_output(certificate_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateResult]: """ @@ -212,4 +214,20 @@ def get_certificate_output(certificate_id: Optional[pulumi.Input[str]] = None, :param str certificate_id: A unique identifier for the certificate. """ - ... + __args__ = dict() + __args__['certificateId'] = certificate_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:transfer:getCertificate', __args__, opts=opts, typ=GetCertificateResult) + return __ret__.apply(lambda __response__: GetCertificateResult( + active_date=pulumi.get(__response__, 'active_date'), + arn=pulumi.get(__response__, 'arn'), + certificate_id=pulumi.get(__response__, 'certificate_id'), + description=pulumi.get(__response__, 'description'), + inactive_date=pulumi.get(__response__, 'inactive_date'), + not_after_date=pulumi.get(__response__, 'not_after_date'), + not_before_date=pulumi.get(__response__, 'not_before_date'), + serial=pulumi.get(__response__, 'serial'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + usage=pulumi.get(__response__, 'usage'))) diff --git a/sdk/python/pulumi_aws_native/transfer/get_connector.py b/sdk/python/pulumi_aws_native/transfer/get_connector.py index 9a656a1b2d..f57ed3073d 100644 --- a/sdk/python/pulumi_aws_native/transfer/get_connector.py +++ b/sdk/python/pulumi_aws_native/transfer/get_connector.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -176,9 +181,6 @@ def get_connector(connector_id: Optional[str] = None, sftp_config=pulumi.get(__ret__, 'sftp_config'), tags=pulumi.get(__ret__, 'tags'), url=pulumi.get(__ret__, 'url')) - - -@_utilities.lift_output_func(get_connector) def get_connector_output(connector_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectorResult]: """ @@ -187,4 +189,18 @@ def get_connector_output(connector_id: Optional[pulumi.Input[str]] = None, :param str connector_id: A unique identifier for the connector. """ - ... + __args__ = dict() + __args__['connectorId'] = connector_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:transfer:getConnector', __args__, opts=opts, typ=GetConnectorResult) + return __ret__.apply(lambda __response__: GetConnectorResult( + access_role=pulumi.get(__response__, 'access_role'), + arn=pulumi.get(__response__, 'arn'), + as2_config=pulumi.get(__response__, 'as2_config'), + connector_id=pulumi.get(__response__, 'connector_id'), + logging_role=pulumi.get(__response__, 'logging_role'), + security_policy_name=pulumi.get(__response__, 'security_policy_name'), + service_managed_egress_ip_addresses=pulumi.get(__response__, 'service_managed_egress_ip_addresses'), + sftp_config=pulumi.get(__response__, 'sftp_config'), + tags=pulumi.get(__response__, 'tags'), + url=pulumi.get(__response__, 'url'))) diff --git a/sdk/python/pulumi_aws_native/transfer/get_profile.py b/sdk/python/pulumi_aws_native/transfer/get_profile.py index 79e82054cf..4300b8b1aa 100644 --- a/sdk/python/pulumi_aws_native/transfer/get_profile.py +++ b/sdk/python/pulumi_aws_native/transfer/get_profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -109,9 +114,6 @@ def get_profile(profile_id: Optional[str] = None, certificate_ids=pulumi.get(__ret__, 'certificate_ids'), profile_id=pulumi.get(__ret__, 'profile_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_profile) def get_profile_output(profile_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfileResult]: """ @@ -120,4 +122,13 @@ def get_profile_output(profile_id: Optional[pulumi.Input[str]] = None, :param str profile_id: A unique identifier for the profile """ - ... + __args__ = dict() + __args__['profileId'] = profile_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:transfer:getProfile', __args__, opts=opts, typ=GetProfileResult) + return __ret__.apply(lambda __response__: GetProfileResult( + arn=pulumi.get(__response__, 'arn'), + as2_id=pulumi.get(__response__, 'as2_id'), + certificate_ids=pulumi.get(__response__, 'certificate_ids'), + profile_id=pulumi.get(__response__, 'profile_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/transfer/get_workflow.py b/sdk/python/pulumi_aws_native/transfer/get_workflow.py index 985ae7d4d3..6f11cf4a1e 100644 --- a/sdk/python/pulumi_aws_native/transfer/get_workflow.py +++ b/sdk/python/pulumi_aws_native/transfer/get_workflow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -83,9 +88,6 @@ def get_workflow(workflow_id: Optional[str] = None, arn=pulumi.get(__ret__, 'arn'), tags=pulumi.get(__ret__, 'tags'), workflow_id=pulumi.get(__ret__, 'workflow_id')) - - -@_utilities.lift_output_func(get_workflow) def get_workflow_output(workflow_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkflowResult]: """ @@ -94,4 +96,11 @@ def get_workflow_output(workflow_id: Optional[pulumi.Input[str]] = None, :param str workflow_id: A unique identifier for the workflow. """ - ... + __args__ = dict() + __args__['workflowId'] = workflow_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:transfer:getWorkflow', __args__, opts=opts, typ=GetWorkflowResult) + return __ret__.apply(lambda __response__: GetWorkflowResult( + arn=pulumi.get(__response__, 'arn'), + tags=pulumi.get(__response__, 'tags'), + workflow_id=pulumi.get(__response__, 'workflow_id'))) diff --git a/sdk/python/pulumi_aws_native/transfer/outputs.py b/sdk/python/pulumi_aws_native/transfer/outputs.py index 0360a33ae0..c77a50d9b7 100644 --- a/sdk/python/pulumi_aws_native/transfer/outputs.py +++ b/sdk/python/pulumi_aws_native/transfer/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/transfer/profile.py b/sdk/python/pulumi_aws_native/transfer/profile.py index 1634b19d78..fffd7fa3fb 100644 --- a/sdk/python/pulumi_aws_native/transfer/profile.py +++ b/sdk/python/pulumi_aws_native/transfer/profile.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/transfer/workflow.py b/sdk/python/pulumi_aws_native/transfer/workflow.py index 796c64c360..d1e3086e75 100644 --- a/sdk/python/pulumi_aws_native/transfer/workflow.py +++ b/sdk/python/pulumi_aws_native/transfer/workflow.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/verifiedpermissions/_inputs.py b/sdk/python/pulumi_aws_native/verifiedpermissions/_inputs.py index 5fa7c885bc..9afc1b5ce1 100644 --- a/sdk/python/pulumi_aws_native/verifiedpermissions/_inputs.py +++ b/sdk/python/pulumi_aws_native/verifiedpermissions/_inputs.py @@ -4,32 +4,62 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'IdentitySourceCognitoGroupConfigurationArgs', + 'IdentitySourceCognitoGroupConfigurationArgsDict', 'IdentitySourceCognitoUserPoolConfigurationArgs', + 'IdentitySourceCognitoUserPoolConfigurationArgsDict', 'IdentitySourceConfiguration0PropertiesArgs', + 'IdentitySourceConfiguration0PropertiesArgsDict', 'IdentitySourceConfiguration1PropertiesArgs', + 'IdentitySourceConfiguration1PropertiesArgsDict', 'IdentitySourceOpenIdConnectAccessTokenConfigurationArgs', + 'IdentitySourceOpenIdConnectAccessTokenConfigurationArgsDict', 'IdentitySourceOpenIdConnectConfigurationArgs', + 'IdentitySourceOpenIdConnectConfigurationArgsDict', 'IdentitySourceOpenIdConnectGroupConfigurationArgs', + 'IdentitySourceOpenIdConnectGroupConfigurationArgsDict', 'IdentitySourceOpenIdConnectIdentityTokenConfigurationArgs', + 'IdentitySourceOpenIdConnectIdentityTokenConfigurationArgsDict', 'IdentitySourceOpenIdConnectTokenSelection0PropertiesArgs', + 'IdentitySourceOpenIdConnectTokenSelection0PropertiesArgsDict', 'IdentitySourceOpenIdConnectTokenSelection1PropertiesArgs', + 'IdentitySourceOpenIdConnectTokenSelection1PropertiesArgsDict', 'PolicyDefinition0PropertiesArgs', + 'PolicyDefinition0PropertiesArgsDict', 'PolicyDefinition1PropertiesArgs', + 'PolicyDefinition1PropertiesArgsDict', 'PolicyEntityIdentifierArgs', + 'PolicyEntityIdentifierArgsDict', 'PolicyStaticPolicyDefinitionArgs', + 'PolicyStaticPolicyDefinitionArgsDict', 'PolicyStoreSchemaDefinitionArgs', + 'PolicyStoreSchemaDefinitionArgsDict', 'PolicyStoreValidationSettingsArgs', + 'PolicyStoreValidationSettingsArgsDict', 'PolicyTemplateLinkedPolicyDefinitionArgs', + 'PolicyTemplateLinkedPolicyDefinitionArgsDict', ] +MYPY = False + +if not MYPY: + class IdentitySourceCognitoGroupConfigurationArgsDict(TypedDict): + group_entity_type: pulumi.Input[str] +elif False: + IdentitySourceCognitoGroupConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentitySourceCognitoGroupConfigurationArgs: def __init__(__self__, *, @@ -46,6 +76,14 @@ def group_entity_type(self, value: pulumi.Input[str]): pulumi.set(self, "group_entity_type", value) +if not MYPY: + class IdentitySourceCognitoUserPoolConfigurationArgsDict(TypedDict): + user_pool_arn: pulumi.Input[str] + client_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + group_configuration: NotRequired[pulumi.Input['IdentitySourceCognitoGroupConfigurationArgsDict']] +elif False: + IdentitySourceCognitoUserPoolConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentitySourceCognitoUserPoolConfigurationArgs: def __init__(__self__, *, @@ -86,6 +124,12 @@ def group_configuration(self, value: Optional[pulumi.Input['IdentitySourceCognit pulumi.set(self, "group_configuration", value) +if not MYPY: + class IdentitySourceConfiguration0PropertiesArgsDict(TypedDict): + cognito_user_pool_configuration: pulumi.Input['IdentitySourceCognitoUserPoolConfigurationArgsDict'] +elif False: + IdentitySourceConfiguration0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentitySourceConfiguration0PropertiesArgs: def __init__(__self__, *, @@ -102,6 +146,12 @@ def cognito_user_pool_configuration(self, value: pulumi.Input['IdentitySourceCog pulumi.set(self, "cognito_user_pool_configuration", value) +if not MYPY: + class IdentitySourceConfiguration1PropertiesArgsDict(TypedDict): + open_id_connect_configuration: pulumi.Input['IdentitySourceOpenIdConnectConfigurationArgsDict'] +elif False: + IdentitySourceConfiguration1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentitySourceConfiguration1PropertiesArgs: def __init__(__self__, *, @@ -118,6 +168,13 @@ def open_id_connect_configuration(self, value: pulumi.Input['IdentitySourceOpenI pulumi.set(self, "open_id_connect_configuration", value) +if not MYPY: + class IdentitySourceOpenIdConnectAccessTokenConfigurationArgsDict(TypedDict): + audiences: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + principal_id_claim: NotRequired[pulumi.Input[str]] +elif False: + IdentitySourceOpenIdConnectAccessTokenConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentitySourceOpenIdConnectAccessTokenConfigurationArgs: def __init__(__self__, *, @@ -147,6 +204,15 @@ def principal_id_claim(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "principal_id_claim", value) +if not MYPY: + class IdentitySourceOpenIdConnectConfigurationArgsDict(TypedDict): + issuer: pulumi.Input[str] + token_selection: pulumi.Input[Union['IdentitySourceOpenIdConnectTokenSelection0PropertiesArgsDict', 'IdentitySourceOpenIdConnectTokenSelection1PropertiesArgsDict']] + entity_id_prefix: NotRequired[pulumi.Input[str]] + group_configuration: NotRequired[pulumi.Input['IdentitySourceOpenIdConnectGroupConfigurationArgsDict']] +elif False: + IdentitySourceOpenIdConnectConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentitySourceOpenIdConnectConfigurationArgs: def __init__(__self__, *, @@ -198,6 +264,13 @@ def group_configuration(self, value: Optional[pulumi.Input['IdentitySourceOpenId pulumi.set(self, "group_configuration", value) +if not MYPY: + class IdentitySourceOpenIdConnectGroupConfigurationArgsDict(TypedDict): + group_claim: pulumi.Input[str] + group_entity_type: pulumi.Input[str] +elif False: + IdentitySourceOpenIdConnectGroupConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentitySourceOpenIdConnectGroupConfigurationArgs: def __init__(__self__, *, @@ -225,6 +298,13 @@ def group_entity_type(self, value: pulumi.Input[str]): pulumi.set(self, "group_entity_type", value) +if not MYPY: + class IdentitySourceOpenIdConnectIdentityTokenConfigurationArgsDict(TypedDict): + client_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + principal_id_claim: NotRequired[pulumi.Input[str]] +elif False: + IdentitySourceOpenIdConnectIdentityTokenConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentitySourceOpenIdConnectIdentityTokenConfigurationArgs: def __init__(__self__, *, @@ -254,6 +334,12 @@ def principal_id_claim(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "principal_id_claim", value) +if not MYPY: + class IdentitySourceOpenIdConnectTokenSelection0PropertiesArgsDict(TypedDict): + access_token_only: pulumi.Input['IdentitySourceOpenIdConnectAccessTokenConfigurationArgsDict'] +elif False: + IdentitySourceOpenIdConnectTokenSelection0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentitySourceOpenIdConnectTokenSelection0PropertiesArgs: def __init__(__self__, *, @@ -270,6 +356,12 @@ def access_token_only(self, value: pulumi.Input['IdentitySourceOpenIdConnectAcce pulumi.set(self, "access_token_only", value) +if not MYPY: + class IdentitySourceOpenIdConnectTokenSelection1PropertiesArgsDict(TypedDict): + identity_token_only: pulumi.Input['IdentitySourceOpenIdConnectIdentityTokenConfigurationArgsDict'] +elif False: + IdentitySourceOpenIdConnectTokenSelection1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IdentitySourceOpenIdConnectTokenSelection1PropertiesArgs: def __init__(__self__, *, @@ -286,6 +378,12 @@ def identity_token_only(self, value: pulumi.Input['IdentitySourceOpenIdConnectId pulumi.set(self, "identity_token_only", value) +if not MYPY: + class PolicyDefinition0PropertiesArgsDict(TypedDict): + static: pulumi.Input['PolicyStaticPolicyDefinitionArgsDict'] +elif False: + PolicyDefinition0PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyDefinition0PropertiesArgs: def __init__(__self__, *, @@ -302,6 +400,12 @@ def static(self, value: pulumi.Input['PolicyStaticPolicyDefinitionArgs']): pulumi.set(self, "static", value) +if not MYPY: + class PolicyDefinition1PropertiesArgsDict(TypedDict): + template_linked: pulumi.Input['PolicyTemplateLinkedPolicyDefinitionArgsDict'] +elif False: + PolicyDefinition1PropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyDefinition1PropertiesArgs: def __init__(__self__, *, @@ -318,6 +422,13 @@ def template_linked(self, value: pulumi.Input['PolicyTemplateLinkedPolicyDefinit pulumi.set(self, "template_linked", value) +if not MYPY: + class PolicyEntityIdentifierArgsDict(TypedDict): + entity_id: pulumi.Input[str] + entity_type: pulumi.Input[str] +elif False: + PolicyEntityIdentifierArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyEntityIdentifierArgs: def __init__(__self__, *, @@ -345,6 +456,13 @@ def entity_type(self, value: pulumi.Input[str]): pulumi.set(self, "entity_type", value) +if not MYPY: + class PolicyStaticPolicyDefinitionArgsDict(TypedDict): + statement: pulumi.Input[str] + description: NotRequired[pulumi.Input[str]] +elif False: + PolicyStaticPolicyDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyStaticPolicyDefinitionArgs: def __init__(__self__, *, @@ -373,6 +491,15 @@ def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) +if not MYPY: + class PolicyStoreSchemaDefinitionArgsDict(TypedDict): + cedar_json: NotRequired[pulumi.Input[str]] + """ + A JSON string representation of the schema supported by applications that use this policy store. For more information, see [Policy store schema](https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/schema.html) in the AVP User Guide. + """ +elif False: + PolicyStoreSchemaDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyStoreSchemaDefinitionArgs: def __init__(__self__, *, @@ -396,6 +523,22 @@ def cedar_json(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "cedar_json", value) +if not MYPY: + class PolicyStoreValidationSettingsArgsDict(TypedDict): + mode: pulumi.Input['PolicyStoreValidationMode'] + """ + The validation mode currently configured for this policy store. The valid values are: + + - *OFF* – Neither Verified Permissions nor Cedar perform any validation on policies. No validation errors are reported by either service. + - *STRICT* – Requires a schema to be present in the policy store. Cedar performs validation on all submitted new or updated static policies and policy templates. Any that fail validation are rejected and Cedar doesn't store them in the policy store. + + > If `Mode=STRICT` and the policy store doesn't contain a schema, Verified Permissions rejects all static policies and policy templates because there is no schema to validate against. + > + > To submit a static policy or policy template without a schema, you must turn off validation. + """ +elif False: + PolicyStoreValidationSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyStoreValidationSettingsArgs: def __init__(__self__, *, @@ -432,6 +575,14 @@ def mode(self, value: pulumi.Input['PolicyStoreValidationMode']): pulumi.set(self, "mode", value) +if not MYPY: + class PolicyTemplateLinkedPolicyDefinitionArgsDict(TypedDict): + policy_template_id: pulumi.Input[str] + principal: NotRequired[pulumi.Input['PolicyEntityIdentifierArgsDict']] + resource: NotRequired[pulumi.Input['PolicyEntityIdentifierArgsDict']] +elif False: + PolicyTemplateLinkedPolicyDefinitionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class PolicyTemplateLinkedPolicyDefinitionArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/verifiedpermissions/get_identity_source.py b/sdk/python/pulumi_aws_native/verifiedpermissions/get_identity_source.py index 7c70ccb37a..8fb8cbd562 100644 --- a/sdk/python/pulumi_aws_native/verifiedpermissions/get_identity_source.py +++ b/sdk/python/pulumi_aws_native/verifiedpermissions/get_identity_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -97,9 +102,6 @@ def get_identity_source(identity_source_id: Optional[str] = None, details=pulumi.get(__ret__, 'details'), identity_source_id=pulumi.get(__ret__, 'identity_source_id'), principal_entity_type=pulumi.get(__ret__, 'principal_entity_type')) - - -@_utilities.lift_output_func(get_identity_source) def get_identity_source_output(identity_source_id: Optional[pulumi.Input[str]] = None, policy_store_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIdentitySourceResult]: @@ -110,4 +112,13 @@ def get_identity_source_output(identity_source_id: Optional[pulumi.Input[str]] = :param str identity_source_id: The unique ID of the new or updated identity store. :param str policy_store_id: Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source. """ - ... + __args__ = dict() + __args__['identitySourceId'] = identity_source_id + __args__['policyStoreId'] = policy_store_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:verifiedpermissions:getIdentitySource', __args__, opts=opts, typ=GetIdentitySourceResult) + return __ret__.apply(lambda __response__: GetIdentitySourceResult( + configuration=pulumi.get(__response__, 'configuration'), + details=pulumi.get(__response__, 'details'), + identity_source_id=pulumi.get(__response__, 'identity_source_id'), + principal_entity_type=pulumi.get(__response__, 'principal_entity_type'))) diff --git a/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy.py b/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy.py index a73ab97876..adf35add64 100644 --- a/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy.py +++ b/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -90,9 +95,6 @@ def get_policy(policy_id: Optional[str] = None, definition=pulumi.get(__ret__, 'definition'), policy_id=pulumi.get(__ret__, 'policy_id'), policy_type=pulumi.get(__ret__, 'policy_type')) - - -@_utilities.lift_output_func(get_policy) def get_policy_output(policy_id: Optional[pulumi.Input[str]] = None, policy_store_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyResult]: @@ -103,4 +105,12 @@ def get_policy_output(policy_id: Optional[pulumi.Input[str]] = None, :param str policy_id: The unique ID of the new or updated policy. :param str policy_store_id: Specifies the `PolicyStoreId` of the policy store you want to store the policy in. """ - ... + __args__ = dict() + __args__['policyId'] = policy_id + __args__['policyStoreId'] = policy_store_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:verifiedpermissions:getPolicy', __args__, opts=opts, typ=GetPolicyResult) + return __ret__.apply(lambda __response__: GetPolicyResult( + definition=pulumi.get(__response__, 'definition'), + policy_id=pulumi.get(__response__, 'policy_id'), + policy_type=pulumi.get(__response__, 'policy_type'))) diff --git a/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy_store.py b/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy_store.py index 462a0b22c9..c61cc552ee 100644 --- a/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy_store.py +++ b/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -114,9 +119,6 @@ def get_policy_store(policy_store_id: Optional[str] = None, policy_store_id=pulumi.get(__ret__, 'policy_store_id'), schema=pulumi.get(__ret__, 'schema'), validation_settings=pulumi.get(__ret__, 'validation_settings')) - - -@_utilities.lift_output_func(get_policy_store) def get_policy_store_output(policy_store_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyStoreResult]: """ @@ -125,4 +127,13 @@ def get_policy_store_output(policy_store_id: Optional[pulumi.Input[str]] = None, :param str policy_store_id: The unique ID of the new or updated policy store. """ - ... + __args__ = dict() + __args__['policyStoreId'] = policy_store_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:verifiedpermissions:getPolicyStore', __args__, opts=opts, typ=GetPolicyStoreResult) + return __ret__.apply(lambda __response__: GetPolicyStoreResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + policy_store_id=pulumi.get(__response__, 'policy_store_id'), + schema=pulumi.get(__response__, 'schema'), + validation_settings=pulumi.get(__response__, 'validation_settings'))) diff --git a/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy_template.py b/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy_template.py index 39394d69ce..98fe6524fc 100644 --- a/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy_template.py +++ b/sdk/python/pulumi_aws_native/verifiedpermissions/get_policy_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -85,9 +90,6 @@ def get_policy_template(policy_store_id: Optional[str] = None, description=pulumi.get(__ret__, 'description'), policy_template_id=pulumi.get(__ret__, 'policy_template_id'), statement=pulumi.get(__ret__, 'statement')) - - -@_utilities.lift_output_func(get_policy_template) def get_policy_template_output(policy_store_id: Optional[pulumi.Input[str]] = None, policy_template_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyTemplateResult]: @@ -98,4 +100,12 @@ def get_policy_template_output(policy_store_id: Optional[pulumi.Input[str]] = No :param str policy_store_id: The unique identifier of the policy store that contains the template. :param str policy_template_id: The unique identifier of the new or modified policy template. """ - ... + __args__ = dict() + __args__['policyStoreId'] = policy_store_id + __args__['policyTemplateId'] = policy_template_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:verifiedpermissions:getPolicyTemplate', __args__, opts=opts, typ=GetPolicyTemplateResult) + return __ret__.apply(lambda __response__: GetPolicyTemplateResult( + description=pulumi.get(__response__, 'description'), + policy_template_id=pulumi.get(__response__, 'policy_template_id'), + statement=pulumi.get(__response__, 'statement'))) diff --git a/sdk/python/pulumi_aws_native/verifiedpermissions/identity_source.py b/sdk/python/pulumi_aws_native/verifiedpermissions/identity_source.py index d2bdb4d073..b8c3174398 100644 --- a/sdk/python/pulumi_aws_native/verifiedpermissions/identity_source.py +++ b/sdk/python/pulumi_aws_native/verifiedpermissions/identity_source.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/verifiedpermissions/outputs.py b/sdk/python/pulumi_aws_native/verifiedpermissions/outputs.py index db9a2484ef..f8bb179f03 100644 --- a/sdk/python/pulumi_aws_native/verifiedpermissions/outputs.py +++ b/sdk/python/pulumi_aws_native/verifiedpermissions/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/verifiedpermissions/policy.py b/sdk/python/pulumi_aws_native/verifiedpermissions/policy.py index 753d9ce3b9..9d104140af 100644 --- a/sdk/python/pulumi_aws_native/verifiedpermissions/policy.py +++ b/sdk/python/pulumi_aws_native/verifiedpermissions/policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/verifiedpermissions/policy_store.py b/sdk/python/pulumi_aws_native/verifiedpermissions/policy_store.py index 9ceebb989d..9ea1b5a536 100644 --- a/sdk/python/pulumi_aws_native/verifiedpermissions/policy_store.py +++ b/sdk/python/pulumi_aws_native/verifiedpermissions/policy_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/verifiedpermissions/policy_template.py b/sdk/python/pulumi_aws_native/verifiedpermissions/policy_template.py index 1bf8fcbf45..28b30bf48d 100644 --- a/sdk/python/pulumi_aws_native/verifiedpermissions/policy_template.py +++ b/sdk/python/pulumi_aws_native/verifiedpermissions/policy_template.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['PolicyTemplateArgs', 'PolicyTemplate'] diff --git a/sdk/python/pulumi_aws_native/voiceid/_inputs.py b/sdk/python/pulumi_aws_native/voiceid/_inputs.py index a7d8c3eede..6fe4431b03 100644 --- a/sdk/python/pulumi_aws_native/voiceid/_inputs.py +++ b/sdk/python/pulumi_aws_native/voiceid/_inputs.py @@ -4,15 +4,32 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'DomainServerSideEncryptionConfigurationArgs', + 'DomainServerSideEncryptionConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class DomainServerSideEncryptionConfigurationArgsDict(TypedDict): + kms_key_id: pulumi.Input[str] + """ + The identifier of the KMS key to use to encrypt data stored by Voice ID. Voice ID doesn't support asymmetric customer managed keys. + """ +elif False: + DomainServerSideEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class DomainServerSideEncryptionConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/voiceid/domain.py b/sdk/python/pulumi_aws_native/voiceid/domain.py index b64f476eae..322efe9ded 100644 --- a/sdk/python/pulumi_aws_native/voiceid/domain.py +++ b/sdk/python/pulumi_aws_native/voiceid/domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/voiceid/get_domain.py b/sdk/python/pulumi_aws_native/voiceid/get_domain.py index 7d69ab87fa..b518ae9a0b 100644 --- a/sdk/python/pulumi_aws_native/voiceid/get_domain.py +++ b/sdk/python/pulumi_aws_native/voiceid/get_domain.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -70,9 +75,6 @@ def get_domain(domain_id: Optional[str] = None, return AwaitableGetDomainResult( domain_id=pulumi.get(__ret__, 'domain_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_domain) def get_domain_output(domain_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainResult]: """ @@ -81,4 +83,10 @@ def get_domain_output(domain_id: Optional[pulumi.Input[str]] = None, :param str domain_id: The identifier of the domain. """ - ... + __args__ = dict() + __args__['domainId'] = domain_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:voiceid:getDomain', __args__, opts=opts, typ=GetDomainResult) + return __ret__.apply(lambda __response__: GetDomainResult( + domain_id=pulumi.get(__response__, 'domain_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/voiceid/outputs.py b/sdk/python/pulumi_aws_native/voiceid/outputs.py index 5d8c5a32e6..a900d8ec32 100644 --- a/sdk/python/pulumi_aws_native/voiceid/outputs.py +++ b/sdk/python/pulumi_aws_native/voiceid/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_aws_native/vpclattice/_inputs.py b/sdk/python/pulumi_aws_native/vpclattice/_inputs.py index d49a37a586..8228639042 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/_inputs.py +++ b/sdk/python/pulumi_aws_native/vpclattice/_inputs.py @@ -4,35 +4,75 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'ListenerDefaultActionArgs', + 'ListenerDefaultActionArgsDict', 'ListenerFixedResponseArgs', + 'ListenerFixedResponseArgsDict', 'ListenerForwardArgs', + 'ListenerForwardArgsDict', 'ListenerWeightedTargetGroupArgs', + 'ListenerWeightedTargetGroupArgsDict', 'RuleActionArgs', + 'RuleActionArgsDict', 'RuleFixedResponseArgs', + 'RuleFixedResponseArgsDict', 'RuleForwardArgs', + 'RuleForwardArgsDict', 'RuleHeaderMatchTypeArgs', + 'RuleHeaderMatchTypeArgsDict', 'RuleHeaderMatchArgs', + 'RuleHeaderMatchArgsDict', 'RuleHttpMatchArgs', + 'RuleHttpMatchArgsDict', 'RuleMatchArgs', + 'RuleMatchArgsDict', 'RulePathMatchTypeArgs', + 'RulePathMatchTypeArgsDict', 'RulePathMatchArgs', + 'RulePathMatchArgsDict', 'RuleWeightedTargetGroupArgs', + 'RuleWeightedTargetGroupArgsDict', 'ServiceDnsEntryArgs', + 'ServiceDnsEntryArgsDict', 'ServiceNetworkServiceAssociationDnsEntryArgs', + 'ServiceNetworkServiceAssociationDnsEntryArgsDict', 'TargetGroupConfigArgs', + 'TargetGroupConfigArgsDict', 'TargetGroupHealthCheckConfigArgs', + 'TargetGroupHealthCheckConfigArgsDict', 'TargetGroupMatcherArgs', + 'TargetGroupMatcherArgsDict', 'TargetGroupTargetArgs', + 'TargetGroupTargetArgsDict', ] +MYPY = False + +if not MYPY: + class ListenerDefaultActionArgsDict(TypedDict): + fixed_response: NotRequired[pulumi.Input['ListenerFixedResponseArgsDict']] + """ + Describes an action that returns a custom HTTP response. + """ + forward: NotRequired[pulumi.Input['ListenerForwardArgsDict']] + """ + Describes a forward action. You can use forward actions to route requests to one or more target groups. + """ +elif False: + ListenerDefaultActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerDefaultActionArgs: def __init__(__self__, *, @@ -72,6 +112,15 @@ def forward(self, value: Optional[pulumi.Input['ListenerForwardArgs']]): pulumi.set(self, "forward", value) +if not MYPY: + class ListenerFixedResponseArgsDict(TypedDict): + status_code: pulumi.Input[int] + """ + The HTTP response code. + """ +elif False: + ListenerFixedResponseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerFixedResponseArgs: def __init__(__self__, *, @@ -94,6 +143,17 @@ def status_code(self, value: pulumi.Input[int]): pulumi.set(self, "status_code", value) +if not MYPY: + class ListenerForwardArgsDict(TypedDict): + target_groups: pulumi.Input[Sequence[pulumi.Input['ListenerWeightedTargetGroupArgsDict']]] + """ + The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic. + + The default value is 1. This means that if only one target group is provided, there is no need to set the weight; 100% of the traffic goes to that target group. + """ +elif False: + ListenerForwardArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerForwardArgs: def __init__(__self__, *, @@ -120,6 +180,19 @@ def target_groups(self, value: pulumi.Input[Sequence[pulumi.Input['ListenerWeigh pulumi.set(self, "target_groups", value) +if not MYPY: + class ListenerWeightedTargetGroupArgsDict(TypedDict): + target_group_identifier: pulumi.Input[str] + """ + The ID of the target group. + """ + weight: NotRequired[pulumi.Input[int]] + """ + Only required if you specify multiple target groups for a forward action. The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100. + """ +elif False: + ListenerWeightedTargetGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ListenerWeightedTargetGroupArgs: def __init__(__self__, *, @@ -158,6 +231,19 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class RuleActionArgsDict(TypedDict): + fixed_response: NotRequired[pulumi.Input['RuleFixedResponseArgsDict']] + """ + The fixed response action. The rule returns a custom HTTP response. + """ + forward: NotRequired[pulumi.Input['RuleForwardArgsDict']] + """ + The forward action. Traffic that matches the rule is forwarded to the specified target groups. + """ +elif False: + RuleActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleActionArgs: def __init__(__self__, *, @@ -197,6 +283,15 @@ def forward(self, value: Optional[pulumi.Input['RuleForwardArgs']]): pulumi.set(self, "forward", value) +if not MYPY: + class RuleFixedResponseArgsDict(TypedDict): + status_code: pulumi.Input[int] + """ + The HTTP response code. + """ +elif False: + RuleFixedResponseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleFixedResponseArgs: def __init__(__self__, *, @@ -219,6 +314,17 @@ def status_code(self, value: pulumi.Input[int]): pulumi.set(self, "status_code", value) +if not MYPY: + class RuleForwardArgsDict(TypedDict): + target_groups: pulumi.Input[Sequence[pulumi.Input['RuleWeightedTargetGroupArgsDict']]] + """ + The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic. + + The default value is 1. This means that if only one target group is provided, there is no need to set the weight; 100% of the traffic goes to that target group. + """ +elif False: + RuleForwardArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleForwardArgs: def __init__(__self__, *, @@ -245,6 +351,23 @@ def target_groups(self, value: pulumi.Input[Sequence[pulumi.Input['RuleWeightedT pulumi.set(self, "target_groups", value) +if not MYPY: + class RuleHeaderMatchTypeArgsDict(TypedDict): + contains: NotRequired[pulumi.Input[str]] + """ + A contains type match. + """ + exact: NotRequired[pulumi.Input[str]] + """ + An exact type match. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + A prefix type match. Matches the value with the prefix. + """ +elif False: + RuleHeaderMatchTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleHeaderMatchTypeArgs: def __init__(__self__, *, @@ -300,6 +423,23 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class RuleHeaderMatchArgsDict(TypedDict): + match: pulumi.Input['RuleHeaderMatchTypeArgsDict'] + """ + The header match type. + """ + name: pulumi.Input[str] + """ + The name of the header. + """ + case_sensitive: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the match is case sensitive. + """ +elif False: + RuleHeaderMatchArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleHeaderMatchArgs: def __init__(__self__, *, @@ -353,6 +493,23 @@ def case_sensitive(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "case_sensitive", value) +if not MYPY: + class RuleHttpMatchArgsDict(TypedDict): + header_matches: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleHeaderMatchArgsDict']]]] + """ + The header matches. Matches incoming requests with rule based on request header value before applying rule action. + """ + method: NotRequired[pulumi.Input['RuleHttpMatchMethod']] + """ + The HTTP method type. + """ + path_match: NotRequired[pulumi.Input['RulePathMatchArgsDict']] + """ + The path match. + """ +elif False: + RuleHttpMatchArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleHttpMatchArgs: def __init__(__self__, *, @@ -408,6 +565,15 @@ def path_match(self, value: Optional[pulumi.Input['RulePathMatchArgs']]): pulumi.set(self, "path_match", value) +if not MYPY: + class RuleMatchArgsDict(TypedDict): + http_match: pulumi.Input['RuleHttpMatchArgsDict'] + """ + The HTTP criteria that a rule must match. + """ +elif False: + RuleMatchArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleMatchArgs: def __init__(__self__, *, @@ -430,6 +596,19 @@ def http_match(self, value: pulumi.Input['RuleHttpMatchArgs']): pulumi.set(self, "http_match", value) +if not MYPY: + class RulePathMatchTypeArgsDict(TypedDict): + exact: NotRequired[pulumi.Input[str]] + """ + An exact match of the path. + """ + prefix: NotRequired[pulumi.Input[str]] + """ + A prefix match of the path. + """ +elif False: + RulePathMatchTypeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RulePathMatchTypeArgs: def __init__(__self__, *, @@ -469,6 +648,19 @@ def prefix(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "prefix", value) +if not MYPY: + class RulePathMatchArgsDict(TypedDict): + match: pulumi.Input['RulePathMatchTypeArgsDict'] + """ + The type of path match. + """ + case_sensitive: NotRequired[pulumi.Input[bool]] + """ + Indicates whether the match is case sensitive. + """ +elif False: + RulePathMatchArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RulePathMatchArgs: def __init__(__self__, *, @@ -507,6 +699,19 @@ def case_sensitive(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "case_sensitive", value) +if not MYPY: + class RuleWeightedTargetGroupArgsDict(TypedDict): + target_group_identifier: pulumi.Input[str] + """ + The ID of the target group. + """ + weight: NotRequired[pulumi.Input[int]] + """ + Only required if you specify multiple target groups for a forward action. The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100. + """ +elif False: + RuleWeightedTargetGroupArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleWeightedTargetGroupArgs: def __init__(__self__, *, @@ -545,6 +750,19 @@ def weight(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "weight", value) +if not MYPY: + class ServiceDnsEntryArgsDict(TypedDict): + domain_name: NotRequired[pulumi.Input[str]] + """ + The domain name of the service. + """ + hosted_zone_id: NotRequired[pulumi.Input[str]] + """ + The ID of the hosted zone. + """ +elif False: + ServiceDnsEntryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceDnsEntryArgs: def __init__(__self__, *, @@ -584,6 +802,19 @@ def hosted_zone_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hosted_zone_id", value) +if not MYPY: + class ServiceNetworkServiceAssociationDnsEntryArgsDict(TypedDict): + domain_name: NotRequired[pulumi.Input[str]] + """ + The domain name of the service. + """ + hosted_zone_id: NotRequired[pulumi.Input[str]] + """ + The ID of the hosted zone. + """ +elif False: + ServiceNetworkServiceAssociationDnsEntryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class ServiceNetworkServiceAssociationDnsEntryArgs: def __init__(__self__, *, @@ -623,6 +854,39 @@ def hosted_zone_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "hosted_zone_id", value) +if not MYPY: + class TargetGroupConfigArgsDict(TypedDict): + health_check: NotRequired[pulumi.Input['TargetGroupHealthCheckConfigArgsDict']] + """ + The health check configuration. Not supported if the target group type is `LAMBDA` or `ALB` . + """ + ip_address_type: NotRequired[pulumi.Input['TargetGroupConfigIpAddressType']] + """ + The type of IP address used for the target group. Supported only if the target group type is `IP` . The default is `IPV4` . + """ + lambda_event_structure_version: NotRequired[pulumi.Input['TargetGroupConfigLambdaEventStructureVersion']] + """ + The version of the event structure that your Lambda function receives. Supported only if the target group type is `LAMBDA` . The default is `V1` . + """ + port: NotRequired[pulumi.Input[int]] + """ + The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is `LAMBDA` . + """ + protocol: NotRequired[pulumi.Input['TargetGroupConfigProtocol']] + """ + The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is `LAMBDA` . + """ + protocol_version: NotRequired[pulumi.Input['TargetGroupConfigProtocolVersion']] + """ + The protocol version. The default is `HTTP1` . Not supported if the target group type is `LAMBDA` . + """ + vpc_identifier: NotRequired[pulumi.Input[str]] + """ + The ID of the VPC. Not supported if the target group type is `LAMBDA` . + """ +elif False: + TargetGroupConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TargetGroupConfigArgs: def __init__(__self__, *, @@ -742,6 +1006,51 @@ def vpc_identifier(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "vpc_identifier", value) +if not MYPY: + class TargetGroupHealthCheckConfigArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] + """ + Indicates whether health checking is enabled. + """ + health_check_interval_seconds: NotRequired[pulumi.Input[int]] + """ + The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds. + """ + health_check_timeout_seconds: NotRequired[pulumi.Input[int]] + """ + The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds. + """ + healthy_threshold_count: NotRequired[pulumi.Input[int]] + """ + The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5. + """ + matcher: NotRequired[pulumi.Input['TargetGroupMatcherArgsDict']] + """ + The codes to use when checking for a successful response from a target. + """ + path: NotRequired[pulumi.Input[str]] + """ + The destination for health checks on the targets. If the protocol version is `HTTP/1.1` or `HTTP/2` , specify a valid URI (for example, `/path?query` ). The default path is `/` . Health checks are not supported if the protocol version is `gRPC` , however, you can choose `HTTP/1.1` or `HTTP/2` and specify a valid URI. + """ + port: NotRequired[pulumi.Input[int]] + """ + The port used when performing health checks on targets. The default setting is the port that a target receives traffic on. + """ + protocol: NotRequired[pulumi.Input['TargetGroupHealthCheckConfigProtocol']] + """ + The protocol used when performing health checks on targets. The possible protocols are `HTTP` and `HTTPS` . The default is `HTTP` . + """ + protocol_version: NotRequired[pulumi.Input['TargetGroupHealthCheckConfigProtocolVersion']] + """ + The protocol version used when performing health checks on targets. The possible protocol versions are `HTTP1` and `HTTP2` . + """ + unhealthy_threshold_count: NotRequired[pulumi.Input[int]] + """ + The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2. + """ +elif False: + TargetGroupHealthCheckConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TargetGroupHealthCheckConfigArgs: def __init__(__self__, *, @@ -909,6 +1218,15 @@ def unhealthy_threshold_count(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "unhealthy_threshold_count", value) +if not MYPY: + class TargetGroupMatcherArgsDict(TypedDict): + http_code: pulumi.Input[str] + """ + The HTTP code to use when checking for a successful response from a target. + """ +elif False: + TargetGroupMatcherArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TargetGroupMatcherArgs: def __init__(__self__, *, @@ -931,6 +1249,19 @@ def http_code(self, value: pulumi.Input[str]): pulumi.set(self, "http_code", value) +if not MYPY: + class TargetGroupTargetArgsDict(TypedDict): + id: pulumi.Input[str] + """ + The ID of the target. If the target group type is `INSTANCE` , this is an instance ID. If the target group type is `IP` , this is an IP address. If the target group type is `LAMBDA` , this is the ARN of a Lambda function. If the target group type is `ALB` , this is the ARN of an Application Load Balancer. + """ + port: NotRequired[pulumi.Input[int]] + """ + The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443. + """ +elif False: + TargetGroupTargetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class TargetGroupTargetArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/vpclattice/access_log_subscription.py b/sdk/python/pulumi_aws_native/vpclattice/access_log_subscription.py index d8923f9459..37830bfdae 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/access_log_subscription.py +++ b/sdk/python/pulumi_aws_native/vpclattice/access_log_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/vpclattice/auth_policy.py b/sdk/python/pulumi_aws_native/vpclattice/auth_policy.py index 555879e4fa..8404e61411 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/auth_policy.py +++ b/sdk/python/pulumi_aws_native/vpclattice/auth_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/vpclattice/get_access_log_subscription.py b/sdk/python/pulumi_aws_native/vpclattice/get_access_log_subscription.py index b84c30714f..a25c31e6fa 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/get_access_log_subscription.py +++ b/sdk/python/pulumi_aws_native/vpclattice/get_access_log_subscription.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -122,9 +127,6 @@ def get_access_log_subscription(arn: Optional[str] = None, resource_arn=pulumi.get(__ret__, 'resource_arn'), resource_id=pulumi.get(__ret__, 'resource_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_access_log_subscription) def get_access_log_subscription_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccessLogSubscriptionResult]: """ @@ -133,4 +135,14 @@ def get_access_log_subscription_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the access log subscription. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:vpclattice:getAccessLogSubscription', __args__, opts=opts, typ=GetAccessLogSubscriptionResult) + return __ret__.apply(lambda __response__: GetAccessLogSubscriptionResult( + arn=pulumi.get(__response__, 'arn'), + destination_arn=pulumi.get(__response__, 'destination_arn'), + id=pulumi.get(__response__, 'id'), + resource_arn=pulumi.get(__response__, 'resource_arn'), + resource_id=pulumi.get(__response__, 'resource_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/vpclattice/get_auth_policy.py b/sdk/python/pulumi_aws_native/vpclattice/get_auth_policy.py index 05a0369113..60354507a1 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/get_auth_policy.py +++ b/sdk/python/pulumi_aws_native/vpclattice/get_auth_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * @@ -72,9 +77,6 @@ def get_auth_policy(resource_identifier: Optional[str] = None, return AwaitableGetAuthPolicyResult( policy=pulumi.get(__ret__, 'policy'), state=pulumi.get(__ret__, 'state')) - - -@_utilities.lift_output_func(get_auth_policy) def get_auth_policy_output(resource_identifier: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAuthPolicyResult]: """ @@ -83,4 +85,10 @@ def get_auth_policy_output(resource_identifier: Optional[pulumi.Input[str]] = No :param str resource_identifier: The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created. """ - ... + __args__ = dict() + __args__['resourceIdentifier'] = resource_identifier + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:vpclattice:getAuthPolicy', __args__, opts=opts, typ=GetAuthPolicyResult) + return __ret__.apply(lambda __response__: GetAuthPolicyResult( + policy=pulumi.get(__response__, 'policy'), + state=pulumi.get(__response__, 'state'))) diff --git a/sdk/python/pulumi_aws_native/vpclattice/get_listener.py b/sdk/python/pulumi_aws_native/vpclattice/get_listener.py index 9b299aca40..ad7f711644 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/get_listener.py +++ b/sdk/python/pulumi_aws_native/vpclattice/get_listener.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -123,9 +128,6 @@ def get_listener(arn: Optional[str] = None, service_arn=pulumi.get(__ret__, 'service_arn'), service_id=pulumi.get(__ret__, 'service_id'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_listener) def get_listener_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetListenerResult]: """ @@ -134,4 +136,14 @@ def get_listener_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the listener. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:vpclattice:getListener', __args__, opts=opts, typ=GetListenerResult) + return __ret__.apply(lambda __response__: GetListenerResult( + arn=pulumi.get(__response__, 'arn'), + default_action=pulumi.get(__response__, 'default_action'), + id=pulumi.get(__response__, 'id'), + service_arn=pulumi.get(__response__, 'service_arn'), + service_id=pulumi.get(__response__, 'service_id'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/vpclattice/get_resource_policy.py b/sdk/python/pulumi_aws_native/vpclattice/get_resource_policy.py index 17f4e21f66..efffd2f39a 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/get_resource_policy.py +++ b/sdk/python/pulumi_aws_native/vpclattice/get_resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -58,9 +63,6 @@ def get_resource_policy(resource_arn: Optional[str] = None, return AwaitableGetResourcePolicyResult( policy=pulumi.get(__ret__, 'policy')) - - -@_utilities.lift_output_func(get_resource_policy) def get_resource_policy_output(resource_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourcePolicyResult]: """ @@ -69,4 +71,9 @@ def get_resource_policy_output(resource_arn: Optional[pulumi.Input[str]] = None, :param str resource_arn: An IAM policy. """ - ... + __args__ = dict() + __args__['resourceArn'] = resource_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:vpclattice:getResourcePolicy', __args__, opts=opts, typ=GetResourcePolicyResult) + return __ret__.apply(lambda __response__: GetResourcePolicyResult( + policy=pulumi.get(__response__, 'policy'))) diff --git a/sdk/python/pulumi_aws_native/vpclattice/get_rule.py b/sdk/python/pulumi_aws_native/vpclattice/get_rule.py index a8382af98d..38bed72ecf 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/get_rule.py +++ b/sdk/python/pulumi_aws_native/vpclattice/get_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -124,9 +129,6 @@ def get_rule(arn: Optional[str] = None, match=pulumi.get(__ret__, 'match'), priority=pulumi.get(__ret__, 'priority'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_rule) def get_rule_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRuleResult]: """ @@ -135,4 +137,14 @@ def get_rule_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the rule. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:vpclattice:getRule', __args__, opts=opts, typ=GetRuleResult) + return __ret__.apply(lambda __response__: GetRuleResult( + action=pulumi.get(__response__, 'action'), + arn=pulumi.get(__response__, 'arn'), + id=pulumi.get(__response__, 'id'), + match=pulumi.get(__response__, 'match'), + priority=pulumi.get(__response__, 'priority'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/vpclattice/get_service.py b/sdk/python/pulumi_aws_native/vpclattice/get_service.py index 6a9717765c..fefd17757c 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/get_service.py +++ b/sdk/python/pulumi_aws_native/vpclattice/get_service.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -166,9 +171,6 @@ def get_service(arn: Optional[str] = None, last_updated_at=pulumi.get(__ret__, 'last_updated_at'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service) def get_service_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceResult]: """ @@ -177,4 +179,17 @@ def get_service_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the service. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:vpclattice:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + arn=pulumi.get(__response__, 'arn'), + auth_type=pulumi.get(__response__, 'auth_type'), + certificate_arn=pulumi.get(__response__, 'certificate_arn'), + created_at=pulumi.get(__response__, 'created_at'), + dns_entry=pulumi.get(__response__, 'dns_entry'), + id=pulumi.get(__response__, 'id'), + last_updated_at=pulumi.get(__response__, 'last_updated_at'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/vpclattice/get_service_network.py b/sdk/python/pulumi_aws_native/vpclattice/get_service_network.py index fe460e95d6..d30feb4c76 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/get_service_network.py +++ b/sdk/python/pulumi_aws_native/vpclattice/get_service_network.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -126,9 +131,6 @@ def get_service_network(arn: Optional[str] = None, id=pulumi.get(__ret__, 'id'), last_updated_at=pulumi.get(__ret__, 'last_updated_at'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service_network) def get_service_network_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceNetworkResult]: """ @@ -137,4 +139,14 @@ def get_service_network_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the service network. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:vpclattice:getServiceNetwork', __args__, opts=opts, typ=GetServiceNetworkResult) + return __ret__.apply(lambda __response__: GetServiceNetworkResult( + arn=pulumi.get(__response__, 'arn'), + auth_type=pulumi.get(__response__, 'auth_type'), + created_at=pulumi.get(__response__, 'created_at'), + id=pulumi.get(__response__, 'id'), + last_updated_at=pulumi.get(__response__, 'last_updated_at'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/vpclattice/get_service_network_service_association.py b/sdk/python/pulumi_aws_native/vpclattice/get_service_network_service_association.py index a1bf416047..b08e4bc168 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/get_service_network_service_association.py +++ b/sdk/python/pulumi_aws_native/vpclattice/get_service_network_service_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -202,9 +207,6 @@ def get_service_network_service_association(arn: Optional[str] = None, service_network_name=pulumi.get(__ret__, 'service_network_name'), status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_service_network_service_association) def get_service_network_service_association_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceNetworkServiceAssociationResult]: """ @@ -213,4 +215,20 @@ def get_service_network_service_association_output(arn: Optional[pulumi.Input[st :param str arn: The Amazon Resource Name (ARN) of the association between the service network and the service. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:vpclattice:getServiceNetworkServiceAssociation', __args__, opts=opts, typ=GetServiceNetworkServiceAssociationResult) + return __ret__.apply(lambda __response__: GetServiceNetworkServiceAssociationResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + dns_entry=pulumi.get(__response__, 'dns_entry'), + id=pulumi.get(__response__, 'id'), + service_arn=pulumi.get(__response__, 'service_arn'), + service_id=pulumi.get(__response__, 'service_id'), + service_name=pulumi.get(__response__, 'service_name'), + service_network_arn=pulumi.get(__response__, 'service_network_arn'), + service_network_id=pulumi.get(__response__, 'service_network_id'), + service_network_name=pulumi.get(__response__, 'service_network_name'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/vpclattice/get_service_network_vpc_association.py b/sdk/python/pulumi_aws_native/vpclattice/get_service_network_vpc_association.py index 9447972627..e196e3f9d6 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/get_service_network_vpc_association.py +++ b/sdk/python/pulumi_aws_native/vpclattice/get_service_network_vpc_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -175,9 +180,6 @@ def get_service_network_vpc_association(arn: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), vpc_id=pulumi.get(__ret__, 'vpc_id')) - - -@_utilities.lift_output_func(get_service_network_vpc_association) def get_service_network_vpc_association_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceNetworkVpcAssociationResult]: """ @@ -186,4 +188,18 @@ def get_service_network_vpc_association_output(arn: Optional[pulumi.Input[str]] :param str arn: The Amazon Resource Name (ARN) of the association between the service network and the VPC. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:vpclattice:getServiceNetworkVpcAssociation', __args__, opts=opts, typ=GetServiceNetworkVpcAssociationResult) + return __ret__.apply(lambda __response__: GetServiceNetworkVpcAssociationResult( + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + id=pulumi.get(__response__, 'id'), + security_group_ids=pulumi.get(__response__, 'security_group_ids'), + service_network_arn=pulumi.get(__response__, 'service_network_arn'), + service_network_id=pulumi.get(__response__, 'service_network_id'), + service_network_name=pulumi.get(__response__, 'service_network_name'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + vpc_id=pulumi.get(__response__, 'vpc_id'))) diff --git a/sdk/python/pulumi_aws_native/vpclattice/get_target_group.py b/sdk/python/pulumi_aws_native/vpclattice/get_target_group.py index 61409e3e0c..c69f4c2f9e 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/get_target_group.py +++ b/sdk/python/pulumi_aws_native/vpclattice/get_target_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -150,9 +155,6 @@ def get_target_group(arn: Optional[str] = None, status=pulumi.get(__ret__, 'status'), tags=pulumi.get(__ret__, 'tags'), targets=pulumi.get(__ret__, 'targets')) - - -@_utilities.lift_output_func(get_target_group) def get_target_group_output(arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTargetGroupResult]: """ @@ -161,4 +163,16 @@ def get_target_group_output(arn: Optional[pulumi.Input[str]] = None, :param str arn: The Amazon Resource Name (ARN) of the target group. """ - ... + __args__ = dict() + __args__['arn'] = arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:vpclattice:getTargetGroup', __args__, opts=opts, typ=GetTargetGroupResult) + return __ret__.apply(lambda __response__: GetTargetGroupResult( + arn=pulumi.get(__response__, 'arn'), + config=pulumi.get(__response__, 'config'), + created_at=pulumi.get(__response__, 'created_at'), + id=pulumi.get(__response__, 'id'), + last_updated_at=pulumi.get(__response__, 'last_updated_at'), + status=pulumi.get(__response__, 'status'), + tags=pulumi.get(__response__, 'tags'), + targets=pulumi.get(__response__, 'targets'))) diff --git a/sdk/python/pulumi_aws_native/vpclattice/listener.py b/sdk/python/pulumi_aws_native/vpclattice/listener.py index 260478c66c..e7bd5bf222 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/listener.py +++ b/sdk/python/pulumi_aws_native/vpclattice/listener.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/vpclattice/outputs.py b/sdk/python/pulumi_aws_native/vpclattice/outputs.py index 657dd82a74..56b9c7b196 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/outputs.py +++ b/sdk/python/pulumi_aws_native/vpclattice/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/vpclattice/resource_policy.py b/sdk/python/pulumi_aws_native/vpclattice/resource_policy.py index 9fcdd02dd6..566cfdf8df 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/resource_policy.py +++ b/sdk/python/pulumi_aws_native/vpclattice/resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ResourcePolicyArgs', 'ResourcePolicy'] diff --git a/sdk/python/pulumi_aws_native/vpclattice/rule.py b/sdk/python/pulumi_aws_native/vpclattice/rule.py index 9daac2755e..aced3f6e5d 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/rule.py +++ b/sdk/python/pulumi_aws_native/vpclattice/rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/vpclattice/service.py b/sdk/python/pulumi_aws_native/vpclattice/service.py index e3d90ad168..fecadce871 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/service.py +++ b/sdk/python/pulumi_aws_native/vpclattice/service.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/vpclattice/service_network.py b/sdk/python/pulumi_aws_native/vpclattice/service_network.py index 26841b4d31..e227a9ac81 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/service_network.py +++ b/sdk/python/pulumi_aws_native/vpclattice/service_network.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/vpclattice/service_network_service_association.py b/sdk/python/pulumi_aws_native/vpclattice/service_network_service_association.py index 9b752d978a..a622ed2a00 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/service_network_service_association.py +++ b/sdk/python/pulumi_aws_native/vpclattice/service_network_service_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/vpclattice/service_network_vpc_association.py b/sdk/python/pulumi_aws_native/vpclattice/service_network_vpc_association.py index e083ff4df1..a9be34d88f 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/service_network_vpc_association.py +++ b/sdk/python/pulumi_aws_native/vpclattice/service_network_vpc_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/vpclattice/target_group.py b/sdk/python/pulumi_aws_native/vpclattice/target_group.py index 1a62a11dc6..5739f28120 100644 --- a/sdk/python/pulumi_aws_native/vpclattice/target_group.py +++ b/sdk/python/pulumi_aws_native/vpclattice/target_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/wafv2/_inputs.py b/sdk/python/pulumi_aws_native/wafv2/_inputs.py index e497dd4625..8e758cc4b5 100644 --- a/sdk/python/pulumi_aws_native/wafv2/_inputs.py +++ b/sdk/python/pulumi_aws_native/wafv2/_inputs.py @@ -4,151 +4,306 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'LoggingConfigurationConditionActionConditionPropertiesArgs', + 'LoggingConfigurationConditionActionConditionPropertiesArgsDict', 'LoggingConfigurationConditionLabelNameConditionPropertiesArgs', + 'LoggingConfigurationConditionLabelNameConditionPropertiesArgsDict', 'LoggingConfigurationConditionArgs', + 'LoggingConfigurationConditionArgsDict', 'LoggingConfigurationFieldToMatchSingleHeaderPropertiesArgs', + 'LoggingConfigurationFieldToMatchSingleHeaderPropertiesArgsDict', 'LoggingConfigurationFieldToMatchArgs', + 'LoggingConfigurationFieldToMatchArgsDict', 'LoggingConfigurationFilterArgs', + 'LoggingConfigurationFilterArgsDict', 'LoggingFilterPropertiesArgs', + 'LoggingFilterPropertiesArgsDict', 'RuleGroupAllowActionArgs', + 'RuleGroupAllowActionArgsDict', 'RuleGroupAndStatementArgs', + 'RuleGroupAndStatementArgsDict', 'RuleGroupBlockActionArgs', + 'RuleGroupBlockActionArgsDict', 'RuleGroupBodyArgs', + 'RuleGroupBodyArgsDict', 'RuleGroupByteMatchStatementArgs', + 'RuleGroupByteMatchStatementArgsDict', 'RuleGroupCaptchaActionArgs', + 'RuleGroupCaptchaActionArgsDict', 'RuleGroupCaptchaConfigArgs', + 'RuleGroupCaptchaConfigArgsDict', 'RuleGroupChallengeActionArgs', + 'RuleGroupChallengeActionArgsDict', 'RuleGroupChallengeConfigArgs', + 'RuleGroupChallengeConfigArgsDict', 'RuleGroupCookieMatchPatternArgs', + 'RuleGroupCookieMatchPatternArgsDict', 'RuleGroupCookiesArgs', + 'RuleGroupCookiesArgsDict', 'RuleGroupCountActionArgs', + 'RuleGroupCountActionArgsDict', 'RuleGroupCustomHttpHeaderArgs', + 'RuleGroupCustomHttpHeaderArgsDict', 'RuleGroupCustomRequestHandlingArgs', + 'RuleGroupCustomRequestHandlingArgsDict', 'RuleGroupCustomResponseBodyArgs', + 'RuleGroupCustomResponseBodyArgsDict', 'RuleGroupCustomResponseArgs', + 'RuleGroupCustomResponseArgsDict', 'RuleGroupFieldToMatchSingleHeaderPropertiesArgs', + 'RuleGroupFieldToMatchSingleHeaderPropertiesArgsDict', 'RuleGroupFieldToMatchSingleQueryArgumentPropertiesArgs', + 'RuleGroupFieldToMatchSingleQueryArgumentPropertiesArgsDict', 'RuleGroupFieldToMatchArgs', + 'RuleGroupFieldToMatchArgsDict', 'RuleGroupForwardedIpConfigurationArgs', + 'RuleGroupForwardedIpConfigurationArgsDict', 'RuleGroupGeoMatchStatementArgs', + 'RuleGroupGeoMatchStatementArgsDict', 'RuleGroupHeaderMatchPatternArgs', + 'RuleGroupHeaderMatchPatternArgsDict', 'RuleGroupHeadersArgs', + 'RuleGroupHeadersArgsDict', 'RuleGroupImmunityTimePropertyArgs', + 'RuleGroupImmunityTimePropertyArgsDict', 'RuleGroupIpSetForwardedIpConfigurationArgs', + 'RuleGroupIpSetForwardedIpConfigurationArgsDict', 'RuleGroupIpSetReferenceStatementArgs', + 'RuleGroupIpSetReferenceStatementArgsDict', 'RuleGroupJa3FingerprintArgs', + 'RuleGroupJa3FingerprintArgsDict', 'RuleGroupJsonBodyArgs', + 'RuleGroupJsonBodyArgsDict', 'RuleGroupJsonMatchPatternArgs', + 'RuleGroupJsonMatchPatternArgsDict', 'RuleGroupLabelMatchStatementArgs', + 'RuleGroupLabelMatchStatementArgsDict', 'RuleGroupLabelSummaryArgs', + 'RuleGroupLabelSummaryArgsDict', 'RuleGroupLabelArgs', + 'RuleGroupLabelArgsDict', 'RuleGroupNotStatementArgs', + 'RuleGroupNotStatementArgsDict', 'RuleGroupOrStatementArgs', + 'RuleGroupOrStatementArgsDict', 'RuleGroupRateBasedStatementCustomKeyArgs', + 'RuleGroupRateBasedStatementCustomKeyArgsDict', 'RuleGroupRateBasedStatementArgs', + 'RuleGroupRateBasedStatementArgsDict', 'RuleGroupRateLimitCookieArgs', + 'RuleGroupRateLimitCookieArgsDict', 'RuleGroupRateLimitForwardedIpArgs', + 'RuleGroupRateLimitForwardedIpArgsDict', 'RuleGroupRateLimitHeaderArgs', + 'RuleGroupRateLimitHeaderArgsDict', 'RuleGroupRateLimitHttpMethodArgs', + 'RuleGroupRateLimitHttpMethodArgsDict', 'RuleGroupRateLimitIpArgs', + 'RuleGroupRateLimitIpArgsDict', 'RuleGroupRateLimitLabelNamespaceArgs', + 'RuleGroupRateLimitLabelNamespaceArgsDict', 'RuleGroupRateLimitQueryArgumentArgs', + 'RuleGroupRateLimitQueryArgumentArgsDict', 'RuleGroupRateLimitQueryStringArgs', + 'RuleGroupRateLimitQueryStringArgsDict', 'RuleGroupRateLimitUriPathArgs', + 'RuleGroupRateLimitUriPathArgsDict', 'RuleGroupRegexMatchStatementArgs', + 'RuleGroupRegexMatchStatementArgsDict', 'RuleGroupRegexPatternSetReferenceStatementArgs', + 'RuleGroupRegexPatternSetReferenceStatementArgsDict', 'RuleGroupRuleActionArgs', + 'RuleGroupRuleActionArgsDict', 'RuleGroupRuleArgs', + 'RuleGroupRuleArgsDict', 'RuleGroupSizeConstraintStatementArgs', + 'RuleGroupSizeConstraintStatementArgsDict', 'RuleGroupSqliMatchStatementArgs', + 'RuleGroupSqliMatchStatementArgsDict', 'RuleGroupStatementArgs', + 'RuleGroupStatementArgsDict', 'RuleGroupTextTransformationArgs', + 'RuleGroupTextTransformationArgsDict', 'RuleGroupVisibilityConfigArgs', + 'RuleGroupVisibilityConfigArgsDict', 'RuleGroupXssMatchStatementArgs', + 'RuleGroupXssMatchStatementArgsDict', 'WebAclAllowActionArgs', + 'WebAclAllowActionArgsDict', 'WebAclAndStatementArgs', + 'WebAclAndStatementArgsDict', 'WebAclAssociationConfigArgs', + 'WebAclAssociationConfigArgsDict', 'WebAclAwsManagedRulesAcfpRuleSetArgs', + 'WebAclAwsManagedRulesAcfpRuleSetArgsDict', 'WebAclAwsManagedRulesAtpRuleSetArgs', + 'WebAclAwsManagedRulesAtpRuleSetArgsDict', 'WebAclAwsManagedRulesBotControlRuleSetArgs', + 'WebAclAwsManagedRulesBotControlRuleSetArgsDict', 'WebAclBlockActionArgs', + 'WebAclBlockActionArgsDict', 'WebAclBodyArgs', + 'WebAclBodyArgsDict', 'WebAclByteMatchStatementArgs', + 'WebAclByteMatchStatementArgsDict', 'WebAclCaptchaActionArgs', + 'WebAclCaptchaActionArgsDict', 'WebAclCaptchaConfigArgs', + 'WebAclCaptchaConfigArgsDict', 'WebAclChallengeActionArgs', + 'WebAclChallengeActionArgsDict', 'WebAclChallengeConfigArgs', + 'WebAclChallengeConfigArgsDict', 'WebAclCookieMatchPatternArgs', + 'WebAclCookieMatchPatternArgsDict', 'WebAclCookiesArgs', + 'WebAclCookiesArgsDict', 'WebAclCountActionArgs', + 'WebAclCountActionArgsDict', 'WebAclCustomHttpHeaderArgs', + 'WebAclCustomHttpHeaderArgsDict', 'WebAclCustomRequestHandlingArgs', + 'WebAclCustomRequestHandlingArgsDict', 'WebAclCustomResponseBodyArgs', + 'WebAclCustomResponseBodyArgsDict', 'WebAclCustomResponseArgs', + 'WebAclCustomResponseArgsDict', 'WebAclDefaultActionArgs', + 'WebAclDefaultActionArgsDict', 'WebAclExcludedRuleArgs', + 'WebAclExcludedRuleArgsDict', 'WebAclFieldIdentifierArgs', + 'WebAclFieldIdentifierArgsDict', 'WebAclFieldToMatchSingleHeaderPropertiesArgs', + 'WebAclFieldToMatchSingleHeaderPropertiesArgsDict', 'WebAclFieldToMatchSingleQueryArgumentPropertiesArgs', + 'WebAclFieldToMatchSingleQueryArgumentPropertiesArgsDict', 'WebAclFieldToMatchArgs', + 'WebAclFieldToMatchArgsDict', 'WebAclForwardedIpConfigurationArgs', + 'WebAclForwardedIpConfigurationArgsDict', 'WebAclGeoMatchStatementArgs', + 'WebAclGeoMatchStatementArgsDict', 'WebAclHeaderMatchPatternArgs', + 'WebAclHeaderMatchPatternArgsDict', 'WebAclHeadersArgs', + 'WebAclHeadersArgsDict', 'WebAclImmunityTimePropertyArgs', + 'WebAclImmunityTimePropertyArgsDict', 'WebAclIpSetForwardedIpConfigurationArgs', + 'WebAclIpSetForwardedIpConfigurationArgsDict', 'WebAclIpSetReferenceStatementArgs', + 'WebAclIpSetReferenceStatementArgsDict', 'WebAclJa3FingerprintArgs', + 'WebAclJa3FingerprintArgsDict', 'WebAclJsonBodyArgs', + 'WebAclJsonBodyArgsDict', 'WebAclJsonMatchPatternArgs', + 'WebAclJsonMatchPatternArgsDict', 'WebAclLabelMatchStatementArgs', + 'WebAclLabelMatchStatementArgsDict', 'WebAclLabelArgs', + 'WebAclLabelArgsDict', 'WebAclManagedRuleGroupConfigArgs', + 'WebAclManagedRuleGroupConfigArgsDict', 'WebAclManagedRuleGroupStatementArgs', + 'WebAclManagedRuleGroupStatementArgsDict', 'WebAclNotStatementArgs', + 'WebAclNotStatementArgsDict', 'WebAclOrStatementArgs', + 'WebAclOrStatementArgsDict', 'WebAclOverrideActionArgs', + 'WebAclOverrideActionArgsDict', 'WebAclRateBasedStatementCustomKeyArgs', + 'WebAclRateBasedStatementCustomKeyArgsDict', 'WebAclRateBasedStatementArgs', + 'WebAclRateBasedStatementArgsDict', 'WebAclRateLimitCookieArgs', + 'WebAclRateLimitCookieArgsDict', 'WebAclRateLimitForwardedIpArgs', + 'WebAclRateLimitForwardedIpArgsDict', 'WebAclRateLimitHeaderArgs', + 'WebAclRateLimitHeaderArgsDict', 'WebAclRateLimitHttpMethodArgs', + 'WebAclRateLimitHttpMethodArgsDict', 'WebAclRateLimitIpArgs', + 'WebAclRateLimitIpArgsDict', 'WebAclRateLimitLabelNamespaceArgs', + 'WebAclRateLimitLabelNamespaceArgsDict', 'WebAclRateLimitQueryArgumentArgs', + 'WebAclRateLimitQueryArgumentArgsDict', 'WebAclRateLimitQueryStringArgs', + 'WebAclRateLimitQueryStringArgsDict', 'WebAclRateLimitUriPathArgs', + 'WebAclRateLimitUriPathArgsDict', 'WebAclRegexMatchStatementArgs', + 'WebAclRegexMatchStatementArgsDict', 'WebAclRegexPatternSetReferenceStatementArgs', + 'WebAclRegexPatternSetReferenceStatementArgsDict', 'WebAclRequestBodyAssociatedResourceTypeConfigArgs', + 'WebAclRequestBodyAssociatedResourceTypeConfigArgsDict', 'WebAclRequestInspectionAcfpArgs', + 'WebAclRequestInspectionAcfpArgsDict', 'WebAclRequestInspectionArgs', + 'WebAclRequestInspectionArgsDict', 'WebAclResponseInspectionBodyContainsArgs', + 'WebAclResponseInspectionBodyContainsArgsDict', 'WebAclResponseInspectionHeaderArgs', + 'WebAclResponseInspectionHeaderArgsDict', 'WebAclResponseInspectionJsonArgs', + 'WebAclResponseInspectionJsonArgsDict', 'WebAclResponseInspectionStatusCodeArgs', + 'WebAclResponseInspectionStatusCodeArgsDict', 'WebAclResponseInspectionArgs', + 'WebAclResponseInspectionArgsDict', 'WebAclRuleActionOverrideArgs', + 'WebAclRuleActionOverrideArgsDict', 'WebAclRuleActionArgs', + 'WebAclRuleActionArgsDict', 'WebAclRuleGroupReferenceStatementArgs', + 'WebAclRuleGroupReferenceStatementArgsDict', 'WebAclRuleArgs', + 'WebAclRuleArgsDict', 'WebAclSizeConstraintStatementArgs', + 'WebAclSizeConstraintStatementArgsDict', 'WebAclSqliMatchStatementArgs', + 'WebAclSqliMatchStatementArgsDict', 'WebAclStatementArgs', + 'WebAclStatementArgsDict', 'WebAclTextTransformationArgs', + 'WebAclTextTransformationArgsDict', 'WebAclVisibilityConfigArgs', + 'WebAclVisibilityConfigArgsDict', 'WebAclXssMatchStatementArgs', + 'WebAclXssMatchStatementArgsDict', ] +MYPY = False + +if not MYPY: + class LoggingConfigurationConditionActionConditionPropertiesArgsDict(TypedDict): + """ + A single action condition. + """ + action: pulumi.Input['LoggingConfigurationConditionActionConditionPropertiesAction'] + """ + Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition. + """ +elif False: + LoggingConfigurationConditionActionConditionPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationConditionActionConditionPropertiesArgs: def __init__(__self__, *, @@ -172,6 +327,18 @@ def action(self, value: pulumi.Input['LoggingConfigurationConditionActionConditi pulumi.set(self, "action", value) +if not MYPY: + class LoggingConfigurationConditionLabelNameConditionPropertiesArgsDict(TypedDict): + """ + A single label name condition. + """ + label_name: pulumi.Input[str] + """ + The label name that a log record must contain in order to meet the condition. This must be a fully qualified label name. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. + """ +elif False: + LoggingConfigurationConditionLabelNameConditionPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationConditionLabelNameConditionPropertiesArgs: def __init__(__self__, *, @@ -195,6 +362,19 @@ def label_name(self, value: pulumi.Input[str]): pulumi.set(self, "label_name", value) +if not MYPY: + class LoggingConfigurationConditionArgsDict(TypedDict): + action_condition: NotRequired[pulumi.Input['LoggingConfigurationConditionActionConditionPropertiesArgsDict']] + """ + A single action condition. + """ + label_name_condition: NotRequired[pulumi.Input['LoggingConfigurationConditionLabelNameConditionPropertiesArgsDict']] + """ + A single label name condition. + """ +elif False: + LoggingConfigurationConditionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationConditionArgs: def __init__(__self__, *, @@ -234,6 +414,18 @@ def label_name_condition(self, value: Optional[pulumi.Input['LoggingConfiguratio pulumi.set(self, "label_name_condition", value) +if not MYPY: + class LoggingConfigurationFieldToMatchSingleHeaderPropertiesArgsDict(TypedDict): + """ + Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive. + """ + name: pulumi.Input[str] + """ + The name of the query header to inspect. + """ +elif False: + LoggingConfigurationFieldToMatchSingleHeaderPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationFieldToMatchSingleHeaderPropertiesArgs: def __init__(__self__, *, @@ -257,6 +449,30 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class LoggingConfigurationFieldToMatchArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + method: NotRequired[Any] + """ + Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform. + """ + query_string: NotRequired[Any] + """ + Inspect the query string. This is the part of a URL that appears after a ? character, if any. + """ + single_header: NotRequired[pulumi.Input['LoggingConfigurationFieldToMatchSingleHeaderPropertiesArgsDict']] + """ + Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive. + """ + uri_path: NotRequired[Any] + """ + Inspect the request URI path. This is the part of a web request that identifies a resource, for example, /images/daily-ad.jpg. + """ +elif False: + LoggingConfigurationFieldToMatchArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationFieldToMatchArgs: def __init__(__self__, *, @@ -329,6 +545,23 @@ def uri_path(self, value: Optional[Any]): pulumi.set(self, "uri_path", value) +if not MYPY: + class LoggingConfigurationFilterArgsDict(TypedDict): + behavior: pulumi.Input['LoggingConfigurationFilterBehavior'] + """ + How to handle logs that satisfy the filter's conditions and requirement. + """ + conditions: pulumi.Input[Sequence[pulumi.Input['LoggingConfigurationConditionArgsDict']]] + """ + Match conditions for the filter. + """ + requirement: pulumi.Input['LoggingConfigurationFilterRequirement'] + """ + Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition. + """ +elif False: + LoggingConfigurationFilterArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingConfigurationFilterArgs: def __init__(__self__, *, @@ -381,6 +614,22 @@ def requirement(self, value: pulumi.Input['LoggingConfigurationFilterRequirement pulumi.set(self, "requirement", value) +if not MYPY: + class LoggingFilterPropertiesArgsDict(TypedDict): + """ + Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation. + """ + default_behavior: pulumi.Input['LoggingConfigurationLoggingFilterPropertiesDefaultBehavior'] + """ + Default handling for logs that don't match any of the specified filtering conditions. + """ + filters: pulumi.Input[Sequence[pulumi.Input['LoggingConfigurationFilterArgsDict']]] + """ + The filters that you want to apply to the logs. + """ +elif False: + LoggingFilterPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class LoggingFilterPropertiesArgs: def __init__(__self__, *, @@ -419,6 +668,20 @@ def filters(self, value: pulumi.Input[Sequence[pulumi.Input['LoggingConfiguratio pulumi.set(self, "filters", value) +if not MYPY: + class RuleGroupAllowActionArgsDict(TypedDict): + """ + Allow traffic towards application. + """ + custom_request_handling: NotRequired[pulumi.Input['RuleGroupCustomRequestHandlingArgsDict']] + """ + Defines custom handling for the web request. + + For information about customizing web requests and responses, see [Customizing web requests and responses in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) in the *AWS WAF Developer Guide* . + """ +elif False: + RuleGroupAllowActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupAllowActionArgs: def __init__(__self__, *, @@ -447,6 +710,15 @@ def custom_request_handling(self, value: Optional[pulumi.Input['RuleGroupCustomR pulumi.set(self, "custom_request_handling", value) +if not MYPY: + class RuleGroupAndStatementArgsDict(TypedDict): + statements: pulumi.Input[Sequence[pulumi.Input['RuleGroupStatementArgsDict']]] + """ + The statements to combine with AND logic. You can use any statements that can be nested. + """ +elif False: + RuleGroupAndStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupAndStatementArgs: def __init__(__self__, *, @@ -469,6 +741,20 @@ def statements(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGroupStateme pulumi.set(self, "statements", value) +if not MYPY: + class RuleGroupBlockActionArgsDict(TypedDict): + """ + Block traffic towards application. + """ + custom_response: NotRequired[pulumi.Input['RuleGroupCustomResponseArgsDict']] + """ + Defines a custom response for the web request. + + For information about customizing web requests and responses, see [Customizing web requests and responses in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) in the *AWS WAF Developer Guide* . + """ +elif False: + RuleGroupBlockActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupBlockActionArgs: def __init__(__self__, *, @@ -497,6 +783,33 @@ def custom_response(self, value: Optional[pulumi.Input['RuleGroupCustomResponseA pulumi.set(self, "custom_response", value) +if not MYPY: + class RuleGroupBodyArgsDict(TypedDict): + """ + The body of a web request. This immediately follows the request headers. + """ + oversize_handling: NotRequired[pulumi.Input['RuleGroupOversizeHandling']] + """ + What AWS WAF should do if the body is larger than AWS WAF can inspect. + + AWS WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to AWS WAF for inspection. + + - For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). + - For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and you can increase the limit for each resource type in the web ACL `AssociationConfig` , for additional processing fees. + + The options for oversize handling are the following: + + - `CONTINUE` - Inspect the available body contents normally, according to the rule inspection criteria. + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + + You can combine the `MATCH` or `NO_MATCH` settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over the limit. + + Default: `CONTINUE` + """ +elif False: + RuleGroupBodyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupBodyArgs: def __init__(__self__, *, @@ -551,6 +864,65 @@ def oversize_handling(self, value: Optional[pulumi.Input['RuleGroupOversizeHandl pulumi.set(self, "oversize_handling", value) +if not MYPY: + class RuleGroupByteMatchStatementArgsDict(TypedDict): + """ + Byte Match statement. + """ + field_to_match: pulumi.Input['RuleGroupFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + positional_constraint: pulumi.Input['RuleGroupPositionalConstraint'] + """ + The area within the portion of the web request that you want AWS WAF to search for `SearchString` . Valid values include the following: + + *CONTAINS* + + The specified part of the web request must include the value of `SearchString` , but the location doesn't matter. + + *CONTAINS_WORD* + + The specified part of the web request must include the value of `SearchString` , and `SearchString` must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, `SearchString` must be a word, which means that both of the following are true: + + - `SearchString` is at the beginning of the specified part of the web request or is preceded by a character other than an alphanumeric character or underscore (_). Examples include the value of a header and `;BadBot` . + - `SearchString` is at the end of the specified part of the web request or is followed by a character other than an alphanumeric character or underscore (_), for example, `BadBot;` and `-BadBot;` . + + *EXACTLY* + + The value of the specified part of the web request must exactly match the value of `SearchString` . + + *STARTS_WITH* + + The value of `SearchString` must appear at the beginning of the specified part of the web request. + + *ENDS_WITH* + + The value of `SearchString` must appear at the end of the specified part of the web request. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['RuleGroupTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ + search_string: NotRequired[pulumi.Input[str]] + """ + A string value that you want AWS WAF to search for. AWS WAF searches only in the part of web requests that you designate for inspection in `FieldToMatch` . The maximum length of the value is 200 bytes. For alphabetic characters A-Z and a-z, the value is case sensitive. + + Don't encode this string. Provide the value that you want AWS WAF to search for. AWS CloudFormation automatically base64 encodes the value for you. + + For example, suppose the value of `Type` is `HEADER` and the value of `Data` is `User-Agent` . If you want to search the `User-Agent` header for the value `BadBot` , you provide the string `BadBot` in the value of `SearchString` . + + You must specify either `SearchString` or `SearchStringBase64` in a `ByteMatchStatement` . + """ + search_string_base64: NotRequired[pulumi.Input[str]] + """ + String to search for in a web request component, base64-encoded. If you don't want to encode the string, specify the unencoded value in `SearchString` instead. + + You must specify either `SearchString` or `SearchStringBase64` in a `ByteMatchStatement` . + """ +elif False: + RuleGroupByteMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupByteMatchStatementArgs: def __init__(__self__, *, @@ -698,6 +1070,20 @@ def search_string_base64(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "search_string_base64", value) +if not MYPY: + class RuleGroupCaptchaActionArgsDict(TypedDict): + """ + Checks valid token exists with request. + """ + custom_request_handling: NotRequired[pulumi.Input['RuleGroupCustomRequestHandlingArgsDict']] + """ + Defines custom handling for the web request, used when the `CAPTCHA` inspection determines that the request's token is valid and unexpired. + + For information about customizing web requests and responses, see [Customizing web requests and responses in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) in the *AWS WAF Developer Guide* . + """ +elif False: + RuleGroupCaptchaActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupCaptchaActionArgs: def __init__(__self__, *, @@ -726,6 +1112,15 @@ def custom_request_handling(self, value: Optional[pulumi.Input['RuleGroupCustomR pulumi.set(self, "custom_request_handling", value) +if not MYPY: + class RuleGroupCaptchaConfigArgsDict(TypedDict): + immunity_time_property: NotRequired[pulumi.Input['RuleGroupImmunityTimePropertyArgsDict']] + """ + Determines how long a `CAPTCHA` timestamp in the token remains valid after the client successfully solves a `CAPTCHA` puzzle. + """ +elif False: + RuleGroupCaptchaConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupCaptchaConfigArgs: def __init__(__self__, *, @@ -749,6 +1144,20 @@ def immunity_time_property(self, value: Optional[pulumi.Input['RuleGroupImmunity pulumi.set(self, "immunity_time_property", value) +if not MYPY: + class RuleGroupChallengeActionArgsDict(TypedDict): + """ + Checks that the request has a valid token with an unexpired challenge timestamp and, if not, returns a browser challenge to the client. + """ + custom_request_handling: NotRequired[pulumi.Input['RuleGroupCustomRequestHandlingArgsDict']] + """ + Defines custom handling for the web request, used when the challenge inspection determines that the request's token is valid and unexpired. + + For information about customizing web requests and responses, see [Customizing web requests and responses in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) in the *AWS WAF Developer Guide* . + """ +elif False: + RuleGroupChallengeActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupChallengeActionArgs: def __init__(__self__, *, @@ -777,6 +1186,15 @@ def custom_request_handling(self, value: Optional[pulumi.Input['RuleGroupCustomR pulumi.set(self, "custom_request_handling", value) +if not MYPY: + class RuleGroupChallengeConfigArgsDict(TypedDict): + immunity_time_property: NotRequired[pulumi.Input['RuleGroupImmunityTimePropertyArgsDict']] + """ + Determines how long a challenge timestamp in the token remains valid after the client successfully responds to a challenge. + """ +elif False: + RuleGroupChallengeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupChallengeConfigArgs: def __init__(__self__, *, @@ -800,6 +1218,26 @@ def immunity_time_property(self, value: Optional[pulumi.Input['RuleGroupImmunity pulumi.set(self, "immunity_time_property", value) +if not MYPY: + class RuleGroupCookieMatchPatternArgsDict(TypedDict): + """ + The pattern to look for in the request cookies. + """ + all: NotRequired[Any] + """ + Inspect all parts of the web request cookies. + """ + excluded_cookies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Inspect only the cookies whose keys don't match any of the strings specified here. + """ + included_cookies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Inspect only the cookies that have a key that matches one of the strings specified here. + """ +elif False: + RuleGroupCookieMatchPatternArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupCookieMatchPatternArgs: def __init__(__self__, *, @@ -856,6 +1294,38 @@ def included_cookies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[st pulumi.set(self, "included_cookies", value) +if not MYPY: + class RuleGroupCookiesArgsDict(TypedDict): + """ + Includes cookies of a web request. + """ + match_pattern: pulumi.Input['RuleGroupCookieMatchPatternArgsDict'] + """ + The filter to use to identify the subset of cookies to inspect in a web request. + + You must specify exactly one setting: either `All` , `IncludedCookies` , or `ExcludedCookies` . + + Example JSON: `"MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }` + """ + match_scope: pulumi.Input['RuleGroupMapMatchScope'] + """ + The parts of the cookies to inspect with the rule inspection criteria. If you specify `ALL` , AWS WAF inspects both keys and values. + + `All` does not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logical `AND` statement to combine two match rules, one that inspects the keys and another that inspects the values. + """ + oversize_handling: pulumi.Input['RuleGroupOversizeHandling'] + """ + What AWS WAF should do if the cookies of the request are more numerous or larger than AWS WAF can inspect. AWS WAF does not support inspecting the entire contents of request cookies when they exceed 8 KB (8192 bytes) or 200 total cookies. The underlying host service forwards a maximum of 200 cookies and at most 8 KB of cookie contents to AWS WAF . + + The options for oversize handling are the following: + + - `CONTINUE` - Inspect the available cookies normally, according to the rule inspection criteria. + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + """ +elif False: + RuleGroupCookiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupCookiesArgs: def __init__(__self__, *, @@ -933,6 +1403,20 @@ def oversize_handling(self, value: pulumi.Input['RuleGroupOversizeHandling']): pulumi.set(self, "oversize_handling", value) +if not MYPY: + class RuleGroupCountActionArgsDict(TypedDict): + """ + Count traffic towards application. + """ + custom_request_handling: NotRequired[pulumi.Input['RuleGroupCustomRequestHandlingArgsDict']] + """ + Defines custom handling for the web request. + + For information about customizing web requests and responses, see [Customizing web requests and responses in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) in the *AWS WAF Developer Guide* . + """ +elif False: + RuleGroupCountActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupCountActionArgs: def __init__(__self__, *, @@ -961,6 +1445,24 @@ def custom_request_handling(self, value: Optional[pulumi.Input['RuleGroupCustomR pulumi.set(self, "custom_request_handling", value) +if not MYPY: + class RuleGroupCustomHttpHeaderArgsDict(TypedDict): + """ + HTTP header. + """ + name: pulumi.Input[str] + """ + The name of the custom header. + + For custom request header insertion, when AWS WAF inserts the header into the request, it prefixes this name `x-amzn-waf-` , to avoid confusion with the headers that are already in the request. For example, for the header name `sample` , AWS WAF inserts the header `x-amzn-waf-sample` . + """ + value: pulumi.Input[str] + """ + The value of the custom header. + """ +elif False: + RuleGroupCustomHttpHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupCustomHttpHeaderArgs: def __init__(__self__, *, @@ -1003,6 +1505,18 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class RuleGroupCustomRequestHandlingArgsDict(TypedDict): + """ + Custom request handling. + """ + insert_headers: pulumi.Input[Sequence[pulumi.Input['RuleGroupCustomHttpHeaderArgsDict']]] + """ + Collection of HTTP headers. + """ +elif False: + RuleGroupCustomRequestHandlingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupCustomRequestHandlingArgs: def __init__(__self__, *, @@ -1026,11 +1540,31 @@ def insert_headers(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGroupCus pulumi.set(self, "insert_headers", value) -@pulumi.input_type -class RuleGroupCustomResponseBodyArgs: - def __init__(__self__, *, - content: pulumi.Input[str], - content_type: pulumi.Input['RuleGroupResponseContentType']): +if not MYPY: + class RuleGroupCustomResponseBodyArgsDict(TypedDict): + """ + Custom response body. + """ + content: pulumi.Input[str] + """ + The payload of the custom response. + + You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the `ContentType` setting. + + For information about the limits on count and size for custom request and response settings, see [AWS WAF quotas](https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) in the *AWS WAF Developer Guide* . + """ + content_type: pulumi.Input['RuleGroupResponseContentType'] + """ + The type of content in the payload that you are defining in the `Content` string. + """ +elif False: + RuleGroupCustomResponseBodyArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class RuleGroupCustomResponseBodyArgs: + def __init__(__self__, *, + content: pulumi.Input[str], + content_type: pulumi.Input['RuleGroupResponseContentType']): """ Custom response body. :param pulumi.Input[str] content: The payload of the custom response. @@ -1072,6 +1606,28 @@ def content_type(self, value: pulumi.Input['RuleGroupResponseContentType']): pulumi.set(self, "content_type", value) +if not MYPY: + class RuleGroupCustomResponseArgsDict(TypedDict): + """ + Custom response. + """ + response_code: pulumi.Input[int] + """ + The HTTP status code to return to the client. + + For a list of status codes that you can use in your custom responses, see [Supported status codes for custom response](https://docs.aws.amazon.com/waf/latest/developerguide/customizing-the-response-status-codes.html) in the *AWS WAF Developer Guide* . + """ + custom_response_body_key: NotRequired[pulumi.Input[str]] + """ + Custom response body key. + """ + response_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleGroupCustomHttpHeaderArgsDict']]]] + """ + Collection of HTTP headers. + """ +elif False: + RuleGroupCustomResponseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupCustomResponseArgs: def __init__(__self__, *, @@ -1131,6 +1687,19 @@ def response_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['R pulumi.set(self, "response_headers", value) +if not MYPY: + class RuleGroupFieldToMatchSingleHeaderPropertiesArgsDict(TypedDict): + """ + Inspect a single header. Provide the name of the header to inspect, for example, `User-Agent` or `Referer` . This setting isn't case sensitive. + + Example JSON: `"SingleHeader": { "Name": "haystack" }` + + Alternately, you can filter and inspect all headers with the `Headers` `FieldToMatch` setting. + """ + name: pulumi.Input[str] +elif False: + RuleGroupFieldToMatchSingleHeaderPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupFieldToMatchSingleHeaderPropertiesArgs: def __init__(__self__, *, @@ -1154,6 +1723,15 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class RuleGroupFieldToMatchSingleQueryArgumentPropertiesArgsDict(TypedDict): + """ + One query argument in a web request, identified by name, for example UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive. + """ + name: pulumi.Input[str] +elif False: + RuleGroupFieldToMatchSingleQueryArgumentPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupFieldToMatchSingleQueryArgumentPropertiesArgs: def __init__(__self__, *, @@ -1173,6 +1751,86 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class RuleGroupFieldToMatchArgsDict(TypedDict): + """ + Field of the request to match. + """ + all_query_arguments: NotRequired[Any] + """ + All query arguments of a web request. + """ + body: NotRequired[pulumi.Input['RuleGroupBodyArgsDict']] + """ + Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. + + AWS WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to AWS WAF for inspection. + + - For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). + - For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and you can increase the limit for each resource type in the web ACL `AssociationConfig` , for additional processing fees. + + For information about how to handle oversized request bodies, see the `Body` object configuration. + """ + cookies: NotRequired[pulumi.Input['RuleGroupCookiesArgsDict']] + """ + Inspect the request cookies. You must configure scope and pattern matching filters in the `Cookies` object, to define the set of cookies and the parts of the cookies that AWS WAF inspects. + + Only the first 8 KB (8192 bytes) of a request's cookies and only the first 200 cookies are forwarded to AWS WAF for inspection by the underlying host service. You must configure how to handle any oversize cookie content in the `Cookies` object. AWS WAF applies the pattern matching filters to the cookies that it receives from the underlying host service. + """ + headers: NotRequired[pulumi.Input['RuleGroupHeadersArgsDict']] + """ + Inspect the request headers. You must configure scope and pattern matching filters in the `Headers` object, to define the set of headers to and the parts of the headers that AWS WAF inspects. + + Only the first 8 KB (8192 bytes) of a request's headers and only the first 200 headers are forwarded to AWS WAF for inspection by the underlying host service. You must configure how to handle any oversize header content in the `Headers` object. AWS WAF applies the pattern matching filters to the headers that it receives from the underlying host service. + """ + ja3_fingerprint: NotRequired[pulumi.Input['RuleGroupJa3FingerprintArgsDict']] + """ + Available for use with Amazon CloudFront distributions and Application Load Balancers. Match against the request's JA3 fingerprint. The JA3 fingerprint is a 32-character hash derived from the TLS Client Hello of an incoming request. This fingerprint serves as a unique identifier for the client's TLS configuration. AWS WAF calculates and logs this fingerprint for each request that has enough TLS Client Hello information for the calculation. Almost all web requests include this information. + + > You can use this choice only with a string match `ByteMatchStatement` with the `PositionalConstraint` set to `EXACTLY` . + + You can obtain the JA3 fingerprint for client requests from the web ACL logs. If AWS WAF is able to calculate the fingerprint, it includes it in the logs. For information about the logging fields, see [Log fields](https://docs.aws.amazon.com/waf/latest/developerguide/logging-fields.html) in the *AWS WAF Developer Guide* . + + Provide the JA3 fingerprint string from the logs in your string match statement specification, to match with any future requests that have the same TLS configuration. + """ + json_body: NotRequired[pulumi.Input['RuleGroupJsonBodyArgsDict']] + """ + Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. + + AWS WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to AWS WAF for inspection. + + - For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). + - For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and you can increase the limit for each resource type in the web ACL `AssociationConfig` , for additional processing fees. + + For information about how to handle oversized request bodies, see the `JsonBody` object configuration. + """ + method: NotRequired[Any] + """ + The HTTP method of a web request. The method indicates the type of operation that the request is asking the origin to perform. + """ + query_string: NotRequired[Any] + """ + The query string of a web request. This is the part of a URL that appears after a ? character, if any. + """ + single_header: NotRequired[pulumi.Input['RuleGroupFieldToMatchSingleHeaderPropertiesArgsDict']] + """ + Inspect a single header. Provide the name of the header to inspect, for example, `User-Agent` or `Referer` . This setting isn't case sensitive. + + Example JSON: `"SingleHeader": { "Name": "haystack" }` + + Alternately, you can filter and inspect all headers with the `Headers` `FieldToMatch` setting. + """ + single_query_argument: NotRequired[pulumi.Input['RuleGroupFieldToMatchSingleQueryArgumentPropertiesArgsDict']] + """ + One query argument in a web request, identified by name, for example UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive. + """ + uri_path: NotRequired[Any] + """ + The path component of the URI of a web request. This is the part of a web request that identifies a resource, for example, /images/daily-ad.jpg. + """ +elif False: + RuleGroupFieldToMatchArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupFieldToMatchArgs: def __init__(__self__, *, @@ -1413,6 +2071,28 @@ def uri_path(self, value: Optional[Any]): pulumi.set(self, "uri_path", value) +if not MYPY: + class RuleGroupForwardedIpConfigurationArgsDict(TypedDict): + fallback_behavior: pulumi.Input['RuleGroupForwardedIpConfigurationFallbackBehavior'] + """ + The match status to assign to the web request if the request doesn't have a valid IP address in the specified position. + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + + You can specify the following fallback behaviors: + + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + """ + header_name: pulumi.Input[str] + """ + The name of the HTTP header to use for the IP address. For example, to use the X-Forwarded-For (XFF) header, set this to `X-Forwarded-For` . + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + """ +elif False: + RuleGroupForwardedIpConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupForwardedIpConfigurationArgs: def __init__(__self__, *, @@ -1468,6 +2148,23 @@ def header_name(self, value: pulumi.Input[str]): pulumi.set(self, "header_name", value) +if not MYPY: + class RuleGroupGeoMatchStatementArgsDict(TypedDict): + country_codes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of two-character country codes that you want to match against, for example, `[ "US", "CN" ]` , from the alpha-2 country ISO codes of the ISO 3166 international standard. + + When you use a geo match statement just for the region and country labels that it adds to requests, you still have to supply a country code for the rule to evaluate. In this case, you configure the rule to only count matching requests, but it will still generate logging and count metrics for any matches. You can reduce the logging and metrics that the rule produces by specifying a country that's unlikely to be a source of traffic to your site. + """ + forwarded_ip_config: NotRequired[pulumi.Input['RuleGroupForwardedIpConfigurationArgsDict']] + """ + The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + """ +elif False: + RuleGroupGeoMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupGeoMatchStatementArgs: def __init__(__self__, *, @@ -1515,6 +2212,26 @@ def forwarded_ip_config(self, value: Optional[pulumi.Input['RuleGroupForwardedIp pulumi.set(self, "forwarded_ip_config", value) +if not MYPY: + class RuleGroupHeaderMatchPatternArgsDict(TypedDict): + """ + The pattern to look for in the request headers. + """ + all: NotRequired[Any] + """ + Inspect all parts of the web request headers. + """ + excluded_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Inspect only the headers whose keys don't match any of the strings specified here. + """ + included_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Inspect only the headers that have a key that matches one of the strings specified here. + """ +elif False: + RuleGroupHeaderMatchPatternArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupHeaderMatchPatternArgs: def __init__(__self__, *, @@ -1571,6 +2288,38 @@ def included_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[st pulumi.set(self, "included_headers", value) +if not MYPY: + class RuleGroupHeadersArgsDict(TypedDict): + """ + Includes headers of a web request. + """ + match_pattern: pulumi.Input['RuleGroupHeaderMatchPatternArgsDict'] + """ + The filter to use to identify the subset of headers to inspect in a web request. + + You must specify exactly one setting: either `All` , `IncludedHeaders` , or `ExcludedHeaders` . + + Example JSON: `"MatchPattern": { "ExcludedHeaders": [ "KeyToExclude1", "KeyToExclude2" ] }` + """ + match_scope: pulumi.Input['RuleGroupMapMatchScope'] + """ + The parts of the headers to match with the rule inspection criteria. If you specify `ALL` , AWS WAF inspects both keys and values. + + `All` does not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logical `AND` statement to combine two match rules, one that inspects the keys and another that inspects the values. + """ + oversize_handling: pulumi.Input['RuleGroupOversizeHandling'] + """ + What AWS WAF should do if the headers of the request are more numerous or larger than AWS WAF can inspect. AWS WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to AWS WAF . + + The options for oversize handling are the following: + + - `CONTINUE` - Inspect the available headers normally, according to the rule inspection criteria. + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + """ +elif False: + RuleGroupHeadersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupHeadersArgs: def __init__(__self__, *, @@ -1648,6 +2397,17 @@ def oversize_handling(self, value: pulumi.Input['RuleGroupOversizeHandling']): pulumi.set(self, "oversize_handling", value) +if not MYPY: + class RuleGroupImmunityTimePropertyArgsDict(TypedDict): + immunity_time: pulumi.Input[int] + """ + The amount of time, in seconds, that a `CAPTCHA` or challenge timestamp is considered valid by AWS WAF . The default setting is 300. + + For the Challenge action, the minimum setting is 300. + """ +elif False: + RuleGroupImmunityTimePropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupImmunityTimePropertyArgs: def __init__(__self__, *, @@ -1674,6 +2434,38 @@ def immunity_time(self, value: pulumi.Input[int]): pulumi.set(self, "immunity_time", value) +if not MYPY: + class RuleGroupIpSetForwardedIpConfigurationArgsDict(TypedDict): + fallback_behavior: pulumi.Input['RuleGroupIpSetForwardedIpConfigurationFallbackBehavior'] + """ + The match status to assign to the web request if the request doesn't have a valid IP address in the specified position. + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + + You can specify the following fallback behaviors: + + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + """ + header_name: pulumi.Input[str] + """ + The name of the HTTP header to use for the IP address. For example, to use the X-Forwarded-For (XFF) header, set this to `X-Forwarded-For` . + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + """ + position: pulumi.Input['RuleGroupIpSetForwardedIpConfigurationPosition'] + """ + The position in the header to search for the IP address. The header can contain IP addresses of the original client and also of proxies. For example, the header value could be `10.1.1.1, 127.0.0.0, 10.10.10.10` where the first IP address identifies the original client and the rest identify proxies that the request went through. + + The options for this setting are the following: + + - FIRST - Inspect the first IP address in the list of IP addresses in the header. This is usually the client's original IP. + - LAST - Inspect the last IP address in the list of IP addresses in the header. + - ANY - Inspect all IP addresses in the header for a match. If the header contains more than 10 IP addresses, AWS WAF inspects the last 10. + """ +elif False: + RuleGroupIpSetForwardedIpConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupIpSetForwardedIpConfigurationArgs: def __init__(__self__, *, @@ -1756,6 +2548,21 @@ def position(self, value: pulumi.Input['RuleGroupIpSetForwardedIpConfigurationPo pulumi.set(self, "position", value) +if not MYPY: + class RuleGroupIpSetReferenceStatementArgsDict(TypedDict): + arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the `IPSet` that this statement references. + """ + ip_set_forwarded_ip_config: NotRequired[pulumi.Input['RuleGroupIpSetForwardedIpConfigurationArgsDict']] + """ + The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + """ +elif False: + RuleGroupIpSetReferenceStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupIpSetReferenceStatementArgs: def __init__(__self__, *, @@ -1798,6 +2605,23 @@ def ip_set_forwarded_ip_config(self, value: Optional[pulumi.Input['RuleGroupIpSe pulumi.set(self, "ip_set_forwarded_ip_config", value) +if not MYPY: + class RuleGroupJa3FingerprintArgsDict(TypedDict): + """ + Includes the JA3 fingerprint of a web request. + """ + fallback_behavior: pulumi.Input['RuleGroupJa3FingerprintFallbackBehavior'] + """ + The match status to assign to the web request if the request doesn't have a JA3 fingerprint. + + You can specify the following fallback behaviors: + + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + """ +elif False: + RuleGroupJa3FingerprintArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupJa3FingerprintArgs: def __init__(__self__, *, @@ -1831,36 +2655,85 @@ def fallback_behavior(self, value: pulumi.Input['RuleGroupJa3FingerprintFallback pulumi.set(self, "fallback_behavior", value) -@pulumi.input_type -class RuleGroupJsonBodyArgs: - def __init__(__self__, *, - match_pattern: pulumi.Input['RuleGroupJsonMatchPatternArgs'], - match_scope: pulumi.Input['RuleGroupJsonMatchScope'], - invalid_fallback_behavior: Optional[pulumi.Input['RuleGroupBodyParsingFallbackBehavior']] = None, - oversize_handling: Optional[pulumi.Input['RuleGroupOversizeHandling']] = None): +if not MYPY: + class RuleGroupJsonBodyArgsDict(TypedDict): """ Inspect the request body as JSON. The request body immediately follows the request headers. - :param pulumi.Input['RuleGroupJsonMatchPatternArgs'] match_pattern: The patterns to look for in the JSON body. AWS WAF inspects the results of these pattern matches against the rule inspection criteria. - :param pulumi.Input['RuleGroupJsonMatchScope'] match_scope: The parts of the JSON to match against using the `MatchPattern` . If you specify `ALL` , AWS WAF matches against keys and values. - - `All` does not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logical `AND` statement to combine two match rules, one that inspects the keys and another that inspects the values. - :param pulumi.Input['RuleGroupBodyParsingFallbackBehavior'] invalid_fallback_behavior: What AWS WAF should do if it fails to completely parse the JSON body. The options are the following: - - - `EVALUATE_AS_STRING` - Inspect the body as plain text. AWS WAF applies the text transformations and inspection criteria that you defined for the JSON inspection to the body text string. - - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. - - `NO_MATCH` - Treat the web request as not matching the rule statement. - - If you don't provide this setting, AWS WAF parses and evaluates the content only up to the first parsing failure that it encounters. - - > AWS WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When parsing succeeds, AWS WAF doesn't apply the fallback behavior. For more information, see [JSON body](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body) in the *AWS WAF Developer Guide* . - :param pulumi.Input['RuleGroupOversizeHandling'] oversize_handling: What AWS WAF should do if the body is larger than AWS WAF can inspect. - - AWS WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to AWS WAF for inspection. - - - For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). - - For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and you can increase the limit for each resource type in the web ACL `AssociationConfig` , for additional processing fees. - - The options for oversize handling are the following: + """ + match_pattern: pulumi.Input['RuleGroupJsonMatchPatternArgsDict'] + """ + The patterns to look for in the JSON body. AWS WAF inspects the results of these pattern matches against the rule inspection criteria. + """ + match_scope: pulumi.Input['RuleGroupJsonMatchScope'] + """ + The parts of the JSON to match against using the `MatchPattern` . If you specify `ALL` , AWS WAF matches against keys and values. + + `All` does not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logical `AND` statement to combine two match rules, one that inspects the keys and another that inspects the values. + """ + invalid_fallback_behavior: NotRequired[pulumi.Input['RuleGroupBodyParsingFallbackBehavior']] + """ + What AWS WAF should do if it fails to completely parse the JSON body. The options are the following: + + - `EVALUATE_AS_STRING` - Inspect the body as plain text. AWS WAF applies the text transformations and inspection criteria that you defined for the JSON inspection to the body text string. + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + + If you don't provide this setting, AWS WAF parses and evaluates the content only up to the first parsing failure that it encounters. + + > AWS WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When parsing succeeds, AWS WAF doesn't apply the fallback behavior. For more information, see [JSON body](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body) in the *AWS WAF Developer Guide* . + """ + oversize_handling: NotRequired[pulumi.Input['RuleGroupOversizeHandling']] + """ + What AWS WAF should do if the body is larger than AWS WAF can inspect. + + AWS WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to AWS WAF for inspection. + + - For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). + - For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and you can increase the limit for each resource type in the web ACL `AssociationConfig` , for additional processing fees. + + The options for oversize handling are the following: + + - `CONTINUE` - Inspect the available body contents normally, according to the rule inspection criteria. + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + + You can combine the `MATCH` or `NO_MATCH` settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over the limit. + + Default: `CONTINUE` + """ +elif False: + RuleGroupJsonBodyArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class RuleGroupJsonBodyArgs: + def __init__(__self__, *, + match_pattern: pulumi.Input['RuleGroupJsonMatchPatternArgs'], + match_scope: pulumi.Input['RuleGroupJsonMatchScope'], + invalid_fallback_behavior: Optional[pulumi.Input['RuleGroupBodyParsingFallbackBehavior']] = None, + oversize_handling: Optional[pulumi.Input['RuleGroupOversizeHandling']] = None): + """ + Inspect the request body as JSON. The request body immediately follows the request headers. + :param pulumi.Input['RuleGroupJsonMatchPatternArgs'] match_pattern: The patterns to look for in the JSON body. AWS WAF inspects the results of these pattern matches against the rule inspection criteria. + :param pulumi.Input['RuleGroupJsonMatchScope'] match_scope: The parts of the JSON to match against using the `MatchPattern` . If you specify `ALL` , AWS WAF matches against keys and values. + + `All` does not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logical `AND` statement to combine two match rules, one that inspects the keys and another that inspects the values. + :param pulumi.Input['RuleGroupBodyParsingFallbackBehavior'] invalid_fallback_behavior: What AWS WAF should do if it fails to completely parse the JSON body. The options are the following: + + - `EVALUATE_AS_STRING` - Inspect the body as plain text. AWS WAF applies the text transformations and inspection criteria that you defined for the JSON inspection to the body text string. + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + + If you don't provide this setting, AWS WAF parses and evaluates the content only up to the first parsing failure that it encounters. + + > AWS WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When parsing succeeds, AWS WAF doesn't apply the fallback behavior. For more information, see [JSON body](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body) in the *AWS WAF Developer Guide* . + :param pulumi.Input['RuleGroupOversizeHandling'] oversize_handling: What AWS WAF should do if the body is larger than AWS WAF can inspect. + + AWS WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to AWS WAF for inspection. + + - For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). + - For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and you can increase the limit for each resource type in the web ACL `AssociationConfig` , for additional processing fees. + + The options for oversize handling are the following: - `CONTINUE` - Inspect the available body contents normally, according to the rule inspection criteria. - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. @@ -1951,6 +2824,28 @@ def oversize_handling(self, value: Optional[pulumi.Input['RuleGroupOversizeHandl pulumi.set(self, "oversize_handling", value) +if not MYPY: + class RuleGroupJsonMatchPatternArgsDict(TypedDict): + """ + The pattern to look for in the JSON body. + """ + all: NotRequired[Any] + """ + Inspect all parts of the web request's JSON body. + """ + included_paths: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Match only the specified include paths. See also `MatchScope` in the `JsonBody` `FieldToMatch` specification. + + Provide the include paths using JSON Pointer syntax. For example, `"IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]` . For information about this syntax, see the Internet Engineering Task Force (IETF) documentation [JavaScript Object Notation (JSON) Pointer](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6901) . + + You must specify either this setting or the `All` setting, but not both. + + > Don't use this option to include all paths. Instead, use the `All` setting. + """ +elif False: + RuleGroupJsonMatchPatternArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupJsonMatchPatternArgs: def __init__(__self__, *, @@ -2003,6 +2898,24 @@ def included_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] pulumi.set(self, "included_paths", value) +if not MYPY: + class RuleGroupLabelMatchStatementArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The string to match against. The setting you provide for this depends on the match statement's `Scope` setting: + + - If the `Scope` indicates `LABEL` , then this specification must include the name and can include any number of preceding namespace specifications and prefix up to providing the fully qualified label name. + - If the `Scope` indicates `NAMESPACE` , then this specification can include any number of contiguous namespace strings, and can include the entire label namespace prefix from the rule group or web ACL where the label originates. + + Labels are case sensitive and components of a label must be separated by colon, for example `NS1:NS2:name` . + """ + scope: pulumi.Input['RuleGroupLabelMatchScope'] + """ + Specify whether you want to match using the label name or just the namespace. + """ +elif False: + RuleGroupLabelMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupLabelMatchStatementArgs: def __init__(__self__, *, @@ -2050,6 +2963,15 @@ def scope(self, value: pulumi.Input['RuleGroupLabelMatchScope']): pulumi.set(self, "scope", value) +if not MYPY: + class RuleGroupLabelSummaryArgsDict(TypedDict): + name: NotRequired[pulumi.Input[str]] + """ + An individual label specification. + """ +elif False: + RuleGroupLabelSummaryArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupLabelSummaryArgs: def __init__(__self__, *, @@ -2073,6 +2995,15 @@ def name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "name", value) +if not MYPY: + class RuleGroupLabelArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The label string. + """ +elif False: + RuleGroupLabelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupLabelArgs: def __init__(__self__, *, @@ -2095,6 +3026,15 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class RuleGroupNotStatementArgsDict(TypedDict): + statement: pulumi.Input['RuleGroupStatementArgsDict'] + """ + The statement to negate. You can use any statement that can be nested. + """ +elif False: + RuleGroupNotStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupNotStatementArgs: def __init__(__self__, *, @@ -2117,6 +3057,15 @@ def statement(self, value: pulumi.Input['RuleGroupStatementArgs']): pulumi.set(self, "statement", value) +if not MYPY: + class RuleGroupOrStatementArgsDict(TypedDict): + statements: pulumi.Input[Sequence[pulumi.Input['RuleGroupStatementArgsDict']]] + """ + The statements to combine with OR logic. You can use any statements that can be nested. + """ +elif False: + RuleGroupOrStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupOrStatementArgs: def __init__(__self__, *, @@ -2139,6 +3088,60 @@ def statements(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGroupStateme pulumi.set(self, "statements", value) +if not MYPY: + class RuleGroupRateBasedStatementCustomKeyArgsDict(TypedDict): + """ + Specifies a single custom aggregate key for a rate-base rule. + """ + cookie: NotRequired[pulumi.Input['RuleGroupRateLimitCookieArgsDict']] + """ + Use the value of a cookie in the request as an aggregate key. Each distinct value in the cookie contributes to the aggregation instance. If you use a single cookie as your custom key, then each value fully defines an aggregation instance. + """ + forwarded_ip: NotRequired[pulumi.Input['RuleGroupRateLimitForwardedIpArgsDict']] + """ + Use the first IP address in an HTTP header as an aggregate key. Each distinct forwarded IP address contributes to the aggregation instance. + + When you specify an IP or forwarded IP in the custom key settings, you must also specify at least one other key to use. You can aggregate on only the forwarded IP address by specifying `FORWARDED_IP` in your rate-based statement's `AggregateKeyType` . + + With this option, you must specify the header to use in the rate-based rule's `ForwardedIPConfig` property. + """ + header: NotRequired[pulumi.Input['RuleGroupRateLimitHeaderArgsDict']] + """ + Use the value of a header in the request as an aggregate key. Each distinct value in the header contributes to the aggregation instance. If you use a single header as your custom key, then each value fully defines an aggregation instance. + """ + http_method: NotRequired[pulumi.Input['RuleGroupRateLimitHttpMethodArgsDict']] + """ + Use the request's HTTP method as an aggregate key. Each distinct HTTP method contributes to the aggregation instance. If you use just the HTTP method as your custom key, then each method fully defines an aggregation instance. + """ + ip: NotRequired[pulumi.Input['RuleGroupRateLimitIpArgsDict']] + """ + Use the request's originating IP address as an aggregate key. Each distinct IP address contributes to the aggregation instance. + + When you specify an IP or forwarded IP in the custom key settings, you must also specify at least one other key to use. You can aggregate on only the IP address by specifying `IP` in your rate-based statement's `AggregateKeyType` . + """ + label_namespace: NotRequired[pulumi.Input['RuleGroupRateLimitLabelNamespaceArgsDict']] + """ + Use the specified label namespace as an aggregate key. Each distinct fully qualified label name that has the specified label namespace contributes to the aggregation instance. If you use just one label namespace as your custom key, then each label name fully defines an aggregation instance. + + This uses only labels that have been added to the request by rules that are evaluated before this rate-based rule in the web ACL. + + For information about label namespaces and names, see [Label syntax and naming requirements](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-label-requirements.html) in the *AWS WAF Developer Guide* . + """ + query_argument: NotRequired[pulumi.Input['RuleGroupRateLimitQueryArgumentArgsDict']] + """ + Use the specified query argument as an aggregate key. Each distinct value for the named query argument contributes to the aggregation instance. If you use a single query argument as your custom key, then each value fully defines an aggregation instance. + """ + query_string: NotRequired[pulumi.Input['RuleGroupRateLimitQueryStringArgsDict']] + """ + Use the request's query string as an aggregate key. Each distinct string contributes to the aggregation instance. If you use just the query string as your custom key, then each string fully defines an aggregation instance. + """ + uri_path: NotRequired[pulumi.Input['RuleGroupRateLimitUriPathArgsDict']] + """ + Use the request's URI path as an aggregate key. Each distinct URI path contributes to the aggregation instance. If you use just the URI path as your custom key, then each URI path fully defines an aggregation instance. + """ +elif False: + RuleGroupRateBasedStatementCustomKeyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRateBasedStatementCustomKeyArgs: def __init__(__self__, *, @@ -2311,6 +3314,67 @@ def uri_path(self, value: Optional[pulumi.Input['RuleGroupRateLimitUriPathArgs'] pulumi.set(self, "uri_path", value) +if not MYPY: + class RuleGroupRateBasedStatementArgsDict(TypedDict): + aggregate_key_type: pulumi.Input['RuleGroupRateBasedStatementAggregateKeyType'] + """ + Setting that indicates how to aggregate the request counts. + + > Web requests that are missing any of the components specified in the aggregation keys are omitted from the rate-based rule evaluation and handling. + + - `CONSTANT` - Count and limit the requests that match the rate-based rule's scope-down statement. With this option, the counted requests aren't further aggregated. The scope-down statement is the only specification used. When the count of all requests that satisfy the scope-down statement goes over the limit, AWS WAF applies the rule action to all requests that satisfy the scope-down statement. + + With this option, you must configure the `ScopeDownStatement` property. + - `CUSTOM_KEYS` - Aggregate the request counts using one or more web request components as the aggregate keys. + + With this option, you must specify the aggregate keys in the `CustomKeys` property. + + To aggregate on only the IP address or only the forwarded IP address, don't use custom keys. Instead, set the aggregate key type to `IP` or `FORWARDED_IP` . + - `FORWARDED_IP` - Aggregate the request counts on the first IP address in an HTTP header. + + With this option, you must specify the header to use in the `ForwardedIPConfig` property. + + To aggregate on a combination of the forwarded IP address with other aggregate keys, use `CUSTOM_KEYS` . + - `IP` - Aggregate the request counts on the IP address from the web request origin. + + To aggregate on a combination of the IP address with other aggregate keys, use `CUSTOM_KEYS` . + """ + limit: pulumi.Input[int] + """ + The limit on requests per 5-minute period for a single aggregation instance for the rate-based rule. If the rate-based statement includes a `ScopeDownStatement` , this limit is applied only to the requests that match the statement. + + Examples: + + - If you aggregate on just the IP address, this is the limit on requests from any single IP address. + - If you aggregate on the HTTP method and the query argument name "city", then this is the limit on requests for any single method, city pair. + """ + custom_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleGroupRateBasedStatementCustomKeyArgsDict']]]] + """ + Specifies the aggregate keys to use in a rate-base rule. + """ + evaluation_window_sec: NotRequired[pulumi.Input[int]] + """ + The amount of time, in seconds, that AWS WAF should include in its request counts, looking back from the current time. For example, for a setting of 120, when AWS WAF checks the rate, it counts the requests for the 2 minutes immediately preceding the current time. Valid settings are 60, 120, 300, and 600. + + This setting doesn't determine how often AWS WAF checks the rate, but how far back it looks each time it checks. AWS WAF checks the rate about every 10 seconds. + + Default: `300` (5 minutes) + """ + forwarded_ip_config: NotRequired[pulumi.Input['RuleGroupForwardedIpConfigurationArgsDict']] + """ + The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + + This is required if you specify a forwarded IP in the rule's aggregate key settings. + """ + scope_down_statement: NotRequired[pulumi.Input['RuleGroupStatementArgsDict']] + """ + An optional nested statement that narrows the scope of the web requests that are evaluated and managed by the rate-based statement. When you use a scope-down statement, the rate-based rule only tracks and rate limits requests that match the scope-down statement. You can use any nestable `Statement` in the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement. + """ +elif False: + RuleGroupRateBasedStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRateBasedStatementArgs: def __init__(__self__, *, @@ -2476,6 +3540,22 @@ def scope_down_statement(self, value: Optional[pulumi.Input['RuleGroupStatementA pulumi.set(self, "scope_down_statement", value) +if not MYPY: + class RuleGroupRateLimitCookieArgsDict(TypedDict): + """ + Specifies a cookie as an aggregate key for a rate-based rule. + """ + name: pulumi.Input[str] + """ + The name of the cookie to use. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['RuleGroupTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the `FieldToMatch` request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents. + """ +elif False: + RuleGroupRateLimitCookieArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRateLimitCookieArgs: def __init__(__self__, *, @@ -2514,6 +3594,15 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGr pulumi.set(self, "text_transformations", value) +if not MYPY: + class RuleGroupRateLimitForwardedIpArgsDict(TypedDict): + """ + Specifies the first IP address in an HTTP header as an aggregate key for a rate-based rule. + """ + pass +elif False: + RuleGroupRateLimitForwardedIpArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRateLimitForwardedIpArgs: def __init__(__self__): @@ -2523,6 +3612,22 @@ def __init__(__self__): pass +if not MYPY: + class RuleGroupRateLimitHeaderArgsDict(TypedDict): + """ + Specifies a header as an aggregate key for a rate-based rule. + """ + name: pulumi.Input[str] + """ + The name of the header to use. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['RuleGroupTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the `FieldToMatch` request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents. + """ +elif False: + RuleGroupRateLimitHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRateLimitHeaderArgs: def __init__(__self__, *, @@ -2561,6 +3666,15 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGr pulumi.set(self, "text_transformations", value) +if not MYPY: + class RuleGroupRateLimitHttpMethodArgsDict(TypedDict): + """ + Specifies the request's HTTP method as an aggregate key for a rate-based rule. + """ + pass +elif False: + RuleGroupRateLimitHttpMethodArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRateLimitHttpMethodArgs: def __init__(__self__): @@ -2570,6 +3684,15 @@ def __init__(__self__): pass +if not MYPY: + class RuleGroupRateLimitIpArgsDict(TypedDict): + """ + Specifies the IP address in the web request as an aggregate key for a rate-based rule. + """ + pass +elif False: + RuleGroupRateLimitIpArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRateLimitIpArgs: def __init__(__self__): @@ -2579,6 +3702,18 @@ def __init__(__self__): pass +if not MYPY: + class RuleGroupRateLimitLabelNamespaceArgsDict(TypedDict): + """ + Specifies a label namespace to use as an aggregate key for a rate-based rule. + """ + namespace: pulumi.Input[str] + """ + The namespace to use for aggregation. + """ +elif False: + RuleGroupRateLimitLabelNamespaceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRateLimitLabelNamespaceArgs: def __init__(__self__, *, @@ -2602,6 +3737,22 @@ def namespace(self, value: pulumi.Input[str]): pulumi.set(self, "namespace", value) +if not MYPY: + class RuleGroupRateLimitQueryArgumentArgsDict(TypedDict): + """ + Specifies a query argument in the request as an aggregate key for a rate-based rule. + """ + name: pulumi.Input[str] + """ + The name of the query argument to use. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['RuleGroupTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the `FieldToMatch` request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents. + """ +elif False: + RuleGroupRateLimitQueryArgumentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRateLimitQueryArgumentArgs: def __init__(__self__, *, @@ -2640,6 +3791,18 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGr pulumi.set(self, "text_transformations", value) +if not MYPY: + class RuleGroupRateLimitQueryStringArgsDict(TypedDict): + """ + Specifies the request's query string as an aggregate key for a rate-based rule. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['RuleGroupTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the `FieldToMatch` request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents. + """ +elif False: + RuleGroupRateLimitQueryStringArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRateLimitQueryStringArgs: def __init__(__self__, *, @@ -2663,6 +3826,18 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGr pulumi.set(self, "text_transformations", value) +if not MYPY: + class RuleGroupRateLimitUriPathArgsDict(TypedDict): + """ + Specifies the request's URI Path as an aggregate key for a rate-based rule. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['RuleGroupTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the `FieldToMatch` request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents. + """ +elif False: + RuleGroupRateLimitUriPathArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRateLimitUriPathArgs: def __init__(__self__, *, @@ -2686,6 +3861,23 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGr pulumi.set(self, "text_transformations", value) +if not MYPY: + class RuleGroupRegexMatchStatementArgsDict(TypedDict): + field_to_match: pulumi.Input['RuleGroupFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + regex_string: pulumi.Input[str] + """ + The string representing the regular expression. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['RuleGroupTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ +elif False: + RuleGroupRegexMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRegexMatchStatementArgs: def __init__(__self__, *, @@ -2738,6 +3930,23 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGr pulumi.set(self, "text_transformations", value) +if not MYPY: + class RuleGroupRegexPatternSetReferenceStatementArgsDict(TypedDict): + arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the `RegexPatternSet` that this statement references. + """ + field_to_match: pulumi.Input['RuleGroupFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['RuleGroupTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ +elif False: + RuleGroupRegexPatternSetReferenceStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRegexPatternSetReferenceStatementArgs: def __init__(__self__, *, @@ -2790,6 +3999,47 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGr pulumi.set(self, "text_transformations", value) +if not MYPY: + class RuleGroupRuleActionArgsDict(TypedDict): + """ + Action taken when Rule matches its condition. + """ + allow: NotRequired[pulumi.Input['RuleGroupAllowActionArgsDict']] + """ + Instructs AWS WAF to allow the web request. + """ + block: NotRequired[pulumi.Input['RuleGroupBlockActionArgsDict']] + """ + Instructs AWS WAF to block the web request. + """ + captcha: NotRequired[pulumi.Input['RuleGroupCaptchaActionArgsDict']] + """ + Specifies that AWS WAF should run a `CAPTCHA` check against the request: + + - If the request includes a valid, unexpired `CAPTCHA` token, AWS WAF allows the web request inspection to proceed to the next rule, similar to a `CountAction` . + - If the request doesn't include a valid, unexpired `CAPTCHA` token, AWS WAF discontinues the web ACL evaluation of the request and blocks it from going to its intended destination. + + AWS WAF generates a response that it sends back to the client, which includes the following: + + - The header `x-amzn-waf-action` with a value of `captcha` . + - The HTTP status code `405 Method Not Allowed` . + - If the request contains an `Accept` header with a value of `text/html` , the response includes a `CAPTCHA` challenge. + + You can configure the expiration time in the `CaptchaConfig` `ImmunityTimeProperty` setting at the rule and web ACL level. The rule setting overrides the web ACL setting. + + This action option is available for rules. It isn't available for web ACL default actions. + """ + challenge: NotRequired[pulumi.Input['RuleGroupChallengeActionArgsDict']] + """ + Instructs AWS WAF to run a `Challenge` check against the web request. + """ + count: NotRequired[pulumi.Input['RuleGroupCountActionArgsDict']] + """ + Instructs AWS WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL. + """ +elif False: + RuleGroupRuleActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRuleActionArgs: def __init__(__self__, *, @@ -2904,6 +4154,50 @@ def count(self, value: Optional[pulumi.Input['RuleGroupCountActionArgs']]): pulumi.set(self, "count", value) +if not MYPY: + class RuleGroupRuleArgsDict(TypedDict): + """ + Rule of RuleGroup that contains condition and action. + """ + name: pulumi.Input[str] + """ + The name of the rule. + + If you change the name of a `Rule` after you create it and you want the rule's metric name to reflect the change, update the metric name in the rule's `VisibilityConfig` settings. AWS WAF doesn't automatically update the metric name when you update the rule name. + """ + priority: pulumi.Input[int] + """ + If you define more than one `Rule` in a `WebACL` , AWS WAF evaluates each request against the `Rules` in order based on the value of `Priority` . AWS WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different. + """ + statement: pulumi.Input['RuleGroupStatementArgsDict'] + """ + The AWS WAF processing statement for the rule, for example `ByteMatchStatement` or `SizeConstraintStatement` . + """ + visibility_config: pulumi.Input['RuleGroupVisibilityConfigArgsDict'] + """ + Defines and enables Amazon CloudWatch metrics and web request sample collection. + + If you change the name of a `Rule` after you create it and you want the rule's metric name to reflect the change, update the metric name as well. AWS WAF doesn't automatically update the metric name. + """ + action: NotRequired[pulumi.Input['RuleGroupRuleActionArgsDict']] + """ + The action that AWS WAF should take on a web request when it matches the rule statement. Settings at the web ACL level can override the rule action setting. + """ + captcha_config: NotRequired[pulumi.Input['RuleGroupCaptchaConfigArgsDict']] + """ + Specifies how AWS WAF should handle `CAPTCHA` evaluations. If you don't specify this, AWS WAF uses the `CAPTCHA` configuration that's defined for the web ACL. + """ + challenge_config: NotRequired[pulumi.Input['RuleGroupChallengeConfigArgsDict']] + """ + Specifies how AWS WAF should handle `Challenge` evaluations. If you don't specify this, AWS WAF uses the challenge configuration that's defined for the web ACL. + """ + rule_labels: NotRequired[pulumi.Input[Sequence[pulumi.Input['RuleGroupLabelArgsDict']]]] + """ + Collection of Rule Labels. + """ +elif False: + RuleGroupRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupRuleArgs: def __init__(__self__, *, @@ -3035,14 +4329,38 @@ def challenge_config(self, value: Optional[pulumi.Input['RuleGroupChallengeConfi @pulumi.getter(name="ruleLabels") def rule_labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleGroupLabelArgs']]]]: """ - Collection of Rule Labels. + Collection of Rule Labels. + """ + return pulumi.get(self, "rule_labels") + + @rule_labels.setter + def rule_labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleGroupLabelArgs']]]]): + pulumi.set(self, "rule_labels", value) + + +if not MYPY: + class RuleGroupSizeConstraintStatementArgsDict(TypedDict): + """ + Size Constraint statement. + """ + comparison_operator: pulumi.Input['RuleGroupSizeConstraintStatementComparisonOperator'] + """ + The operator to use to compare the request part to the size setting. + """ + field_to_match: pulumi.Input['RuleGroupFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + size: pulumi.Input[float] """ - return pulumi.get(self, "rule_labels") - - @rule_labels.setter - def rule_labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleGroupLabelArgs']]]]): - pulumi.set(self, "rule_labels", value) - + The size, in byte, to compare to the request part, after any transformations. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['RuleGroupTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ +elif False: + RuleGroupSizeConstraintStatementArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class RuleGroupSizeConstraintStatementArgs: @@ -3112,6 +4430,32 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGr pulumi.set(self, "text_transformations", value) +if not MYPY: + class RuleGroupSqliMatchStatementArgsDict(TypedDict): + """ + Sqli Match Statement. + """ + field_to_match: pulumi.Input['RuleGroupFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['RuleGroupTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ + sensitivity_level: NotRequired[pulumi.Input['RuleGroupSensitivityLevel']] + """ + The sensitivity that you want AWS WAF to use to inspect for SQL injection attacks. + + `HIGH` detects more attacks, but might generate more false positives, especially if your web requests frequently contain unusual strings. For information about identifying and mitigating false positives, see [Testing and tuning](https://docs.aws.amazon.com/waf/latest/developerguide/web-acl-testing.html) in the *AWS WAF Developer Guide* . + + `LOW` is generally a better choice for resources that already have other protections against SQL injection attacks or that have a low tolerance for false positives. + + Default: `LOW` + """ +elif False: + RuleGroupSqliMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupSqliMatchStatementArgs: def __init__(__self__, *, @@ -3178,6 +4522,128 @@ def sensitivity_level(self, value: Optional[pulumi.Input['RuleGroupSensitivityLe pulumi.set(self, "sensitivity_level", value) +if not MYPY: + class RuleGroupStatementArgsDict(TypedDict): + """ + First level statement that contains conditions, such as ByteMatch, SizeConstraint, etc + """ + and_statement: NotRequired[pulumi.Input['RuleGroupAndStatementArgsDict']] + """ + A logical rule statement used to combine other rule statements with AND logic. You provide more than one `Statement` within the `AndStatement` . + """ + byte_match_statement: NotRequired[pulumi.Input['RuleGroupByteMatchStatementArgsDict']] + """ + A rule statement that defines a string match search for AWS WAF to apply to web requests. The byte match statement provides the bytes to search for, the location in requests that you want AWS WAF to search, and other settings. The bytes to search for are typically a string that corresponds with ASCII characters. In the AWS WAF console and the developer guide, this is called a string match statement. + """ + geo_match_statement: NotRequired[pulumi.Input['RuleGroupGeoMatchStatementArgsDict']] + """ + A rule statement that labels web requests by country and region and that matches against web requests based on country code. A geo match rule labels every request that it inspects regardless of whether it finds a match. + + - To manage requests only by country, you can use this statement by itself and specify the countries that you want to match against in the `CountryCodes` array. + - Otherwise, configure your geo match rule with Count action so that it only labels requests. Then, add one or more label match rules to run after the geo match rule and configure them to match against the geographic labels and handle the requests as needed. + + AWS WAF labels requests using the alpha-2 country and region codes from the International Organization for Standardization (ISO) 3166 standard. AWS WAF determines the codes using either the IP address in the web request origin or, if you specify it, the address in the geo match `ForwardedIPConfig` . + + If you use the web request origin, the label formats are `awswaf:clientip:geo:region:-` and `awswaf:clientip:geo:country:` . + + If you use a forwarded IP address, the label formats are `awswaf:forwardedip:geo:region:-` and `awswaf:forwardedip:geo:country:` . + + For additional details, see [Geographic match rule statement](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-geo-match.html) in the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) . + """ + ip_set_reference_statement: NotRequired[pulumi.Input['RuleGroupIpSetReferenceStatementArgsDict']] + """ + A rule statement used to detect web requests coming from particular IP addresses or address ranges. To use this, create an `IPSet` that specifies the addresses you want to detect, then use the ARN of that set in this statement. + + Each IP set rule statement references an IP set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, AWS WAF automatically updates all rules that reference it. + """ + label_match_statement: NotRequired[pulumi.Input['RuleGroupLabelMatchStatementArgsDict']] + """ + A rule statement to match against labels that have been added to the web request by rules that have already run in the web ACL. + + The label match statement provides the label or namespace string to search for. The label string can represent a part or all of the fully qualified label name that had been added to the web request. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. If you do not provide the fully qualified name in your label match string, AWS WAF performs the search for labels that were added in the same context as the label match statement. + """ + not_statement: NotRequired[pulumi.Input['RuleGroupNotStatementArgsDict']] + """ + A logical rule statement used to negate the results of another rule statement. You provide one `Statement` within the `NotStatement` . + """ + or_statement: NotRequired[pulumi.Input['RuleGroupOrStatementArgsDict']] + """ + A logical rule statement used to combine other rule statements with OR logic. You provide more than one `Statement` within the `OrStatement` . + """ + rate_based_statement: NotRequired[pulumi.Input['RuleGroupRateBasedStatementArgsDict']] + """ + A rate-based rule counts incoming requests and rate limits requests when they are coming at too fast a rate. The rule categorizes requests according to your aggregation criteria, collects them into aggregation instances, and counts and rate limits the requests for each instance. + + > If you change any of these settings in a rule that's currently in use, the change resets the rule's rate limiting counts. This can pause the rule's rate limiting activities for up to a minute. + + You can specify individual aggregation keys, like IP address or HTTP method. You can also specify aggregation key combinations, like IP address and HTTP method, or HTTP method, query argument, and cookie. + + Each unique set of values for the aggregation keys that you specify is a separate aggregation instance, with the value from each key contributing to the aggregation instance definition. + + For example, assume the rule evaluates web requests with the following IP address and HTTP method values: + + - IP address 10.1.1.1, HTTP method POST + - IP address 10.1.1.1, HTTP method GET + - IP address 127.0.0.0, HTTP method POST + - IP address 10.1.1.1, HTTP method GET + + The rule would create different aggregation instances according to your aggregation criteria, for example: + + - If the aggregation criteria is just the IP address, then each individual address is an aggregation instance, and AWS WAF counts requests separately for each. The aggregation instances and request counts for our example would be the following: + + - IP address 10.1.1.1: count 3 + - IP address 127.0.0.0: count 1 + - If the aggregation criteria is HTTP method, then each individual HTTP method is an aggregation instance. The aggregation instances and request counts for our example would be the following: + + - HTTP method POST: count 2 + - HTTP method GET: count 2 + - If the aggregation criteria is IP address and HTTP method, then each IP address and each HTTP method would contribute to the combined aggregation instance. The aggregation instances and request counts for our example would be the following: + + - IP address 10.1.1.1, HTTP method POST: count 1 + - IP address 10.1.1.1, HTTP method GET: count 2 + - IP address 127.0.0.0, HTTP method POST: count 1 + + For any n-tuple of aggregation keys, each unique combination of values for the keys defines a separate aggregation instance, which AWS WAF counts and rate-limits individually. + + You can optionally nest another statement inside the rate-based statement, to narrow the scope of the rule so that it only counts and rate limits requests that match the nested statement. You can use this nested scope-down statement in conjunction with your aggregation key specifications or you can just count and rate limit all requests that match the scope-down statement, without additional aggregation. When you choose to just manage all requests that match a scope-down statement, the aggregation instance is singular for the rule. + + You cannot nest a `RateBasedStatement` inside another statement, for example inside a `NotStatement` or `OrStatement` . You can define a `RateBasedStatement` inside a web ACL and inside a rule group. + + For additional information about the options, see [Rate limiting web requests using rate-based rules](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rate-based-rules.html) in the *AWS WAF Developer Guide* . + + If you only aggregate on the individual IP address or forwarded IP address, you can retrieve the list of IP addresses that AWS WAF is currently rate limiting for a rule through the API call `GetRateBasedStatementManagedKeys` . This option is not available for other aggregation configurations. + + AWS WAF tracks and manages web requests separately for each instance of a rate-based rule that you use. For example, if you provide the same rate-based rule settings in two web ACLs, each of the two rule statements represents a separate instance of the rate-based rule and gets its own tracking and management by AWS WAF . If you define a rate-based rule inside a rule group, and then use that rule group in multiple places, each use creates a separate instance of the rate-based rule that gets its own tracking and management by AWS WAF . + """ + regex_match_statement: NotRequired[pulumi.Input['RuleGroupRegexMatchStatementArgsDict']] + """ + A rule statement used to search web request components for a match against a single regular expression. + """ + regex_pattern_set_reference_statement: NotRequired[pulumi.Input['RuleGroupRegexPatternSetReferenceStatementArgsDict']] + """ + A rule statement used to search web request components for matches with regular expressions. To use this, create a `RegexPatternSet` that specifies the expressions that you want to detect, then use the ARN of that set in this statement. A web request matches the pattern set rule statement if the request component matches any of the patterns in the set. + + Each regex pattern set rule statement references a regex pattern set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, AWS WAF automatically updates all rules that reference it. + """ + size_constraint_statement: NotRequired[pulumi.Input['RuleGroupSizeConstraintStatementArgsDict']] + """ + A rule statement that compares a number of bytes against the size of a request component, using a comparison operator, such as greater than (>) or less than (<). For example, you can use a size constraint statement to look for query strings that are longer than 100 bytes. + + If you configure AWS WAF to inspect the request body, AWS WAF inspects only the number of bytes in the body up to the limit for the web ACL and protected resource type. If you know that the request body for your web requests should never exceed the inspection limit, you can use a size constraint statement to block requests that have a larger request body size. For more information about the inspection limits, see `Body` and `JsonBody` settings for the `FieldToMatch` data type. + + If you choose URI for the value of Part of the request to filter on, the slash (/) in the URI counts as one character. For example, the URI `/logo.jpg` is nine characters long. + """ + sqli_match_statement: NotRequired[pulumi.Input['RuleGroupSqliMatchStatementArgsDict']] + """ + A rule statement that inspects for malicious SQL code. Attackers insert malicious SQL code into web requests to do things like modify your database or extract data from it. + """ + xss_match_statement: NotRequired[pulumi.Input['RuleGroupXssMatchStatementArgsDict']] + """ + A rule statement that inspects for cross-site scripting (XSS) attacks. In XSS attacks, the attacker uses vulnerabilities in a benign website as a vehicle to inject malicious client-site scripts into other legitimate web browsers. + """ +elif False: + RuleGroupStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupStatementArgs: def __init__(__self__, *, @@ -3518,6 +4984,22 @@ def xss_match_statement(self, value: Optional[pulumi.Input['RuleGroupXssMatchSta pulumi.set(self, "xss_match_statement", value) +if not MYPY: + class RuleGroupTextTransformationArgsDict(TypedDict): + """ + Text Transformation on the Search String before match. + """ + priority: pulumi.Input[int] + """ + Sets the relative processing order for multiple transformations. AWS WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different. + """ + type: pulumi.Input['RuleGroupTextTransformationType'] + """ + For detailed descriptions of each of the transformation types, see [Text transformations](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-transformation.html) in the *AWS WAF Developer Guide* . + """ +elif False: + RuleGroupTextTransformationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupTextTransformationArgs: def __init__(__self__, *, @@ -3556,6 +5038,31 @@ def type(self, value: pulumi.Input['RuleGroupTextTransformationType']): pulumi.set(self, "type", value) +if not MYPY: + class RuleGroupVisibilityConfigArgsDict(TypedDict): + """ + Visibility Metric of the RuleGroup. + """ + cloud_watch_metrics_enabled: pulumi.Input[bool] + """ + Indicates whether the associated resource sends metrics to Amazon CloudWatch. For the list of available metrics, see [AWS WAF Metrics](https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics) in the *AWS WAF Developer Guide* . + + For web ACLs, the metrics are for web requests that have the web ACL default action applied. AWS WAF applies the default action to web requests that pass the inspection of all rules in the web ACL without being either allowed or blocked. For more information, + see [The web ACL default action](https://docs.aws.amazon.com/waf/latest/developerguide/web-acl-default-action.html) in the *AWS WAF Developer Guide* . + """ + metric_name: pulumi.Input[str] + """ + A name of the Amazon CloudWatch metric dimension. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names that are reserved for AWS WAF , for example `All` and `Default_Action` . + """ + sampled_requests_enabled: pulumi.Input[bool] + """ + Indicates whether AWS WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the AWS WAF console. + + > Request sampling doesn't provide a field redaction option, and any field redaction that you specify in your logging configuration doesn't affect sampling. The only way to exclude fields from request sampling is by disabling sampling in the web ACL visibility configuration. + """ +elif False: + RuleGroupVisibilityConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupVisibilityConfigArgs: def __init__(__self__, *, @@ -3619,6 +5126,22 @@ def sampled_requests_enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "sampled_requests_enabled", value) +if not MYPY: + class RuleGroupXssMatchStatementArgsDict(TypedDict): + """ + Xss Match Statement. + """ + field_to_match: pulumi.Input['RuleGroupFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['RuleGroupTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ +elif False: + RuleGroupXssMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class RuleGroupXssMatchStatementArgs: def __init__(__self__, *, @@ -3657,6 +5180,20 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['RuleGr pulumi.set(self, "text_transformations", value) +if not MYPY: + class WebAclAllowActionArgsDict(TypedDict): + """ + Allow traffic towards application. + """ + custom_request_handling: NotRequired[pulumi.Input['WebAclCustomRequestHandlingArgsDict']] + """ + Defines custom handling for the web request. + + For information about customizing web requests and responses, see [Customizing web requests and responses in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) in the *AWS WAF Developer Guide* . + """ +elif False: + WebAclAllowActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclAllowActionArgs: def __init__(__self__, *, @@ -3685,6 +5222,15 @@ def custom_request_handling(self, value: Optional[pulumi.Input['WebAclCustomRequ pulumi.set(self, "custom_request_handling", value) +if not MYPY: + class WebAclAndStatementArgsDict(TypedDict): + statements: pulumi.Input[Sequence[pulumi.Input['WebAclStatementArgsDict']]] + """ + The statements to combine with AND logic. You can use any statements that can be nested. + """ +elif False: + WebAclAndStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclAndStatementArgs: def __init__(__self__, *, @@ -3707,6 +5253,24 @@ def statements(self, value: pulumi.Input[Sequence[pulumi.Input['WebAclStatementA pulumi.set(self, "statements", value) +if not MYPY: + class WebAclAssociationConfigArgsDict(TypedDict): + """ + AssociationConfig for body inspection + """ + request_body: NotRequired[pulumi.Input[Mapping[str, pulumi.Input['WebAclRequestBodyAssociatedResourceTypeConfigArgsDict']]]] + """ + Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to AWS WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types. + + > You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see [AWS WAF Pricing](https://docs.aws.amazon.com/waf/pricing/) . + + Example JSON: `{ "API_GATEWAY": "KB_48", "APP_RUNNER_SERVICE": "KB_32" }` + + For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). + """ +elif False: + WebAclAssociationConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclAssociationConfigArgs: def __init__(__self__, *, @@ -3743,6 +5307,44 @@ def request_body(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input['W pulumi.set(self, "request_body", value) +if not MYPY: + class WebAclAwsManagedRulesAcfpRuleSetArgsDict(TypedDict): + """ + Configures how to use the Account creation fraud prevention managed rule group in the web ACL + """ + creation_path: pulumi.Input[str] + """ + The path of the account creation endpoint for your application. This is the page on your website that accepts the completed registration form for a new user. This page must accept `POST` requests. + + For example, for the URL `https://example.com/web/newaccount` , you would provide the path `/web/newaccount` . Account creation page paths that start with the path that you provide are considered a match. For example `/web/newaccount` matches the account creation paths `/web/newaccount` , `/web/newaccount/` , `/web/newaccountPage` , and `/web/newaccount/thisPage` , but doesn't match the path `/home/web/newaccount` or `/website/newaccount` . + """ + registration_page_path: pulumi.Input[str] + """ + The path of the account registration endpoint for your application. This is the page on your website that presents the registration form to new users. + + > This page must accept `GET` text/html requests. + + For example, for the URL `https://example.com/web/registration` , you would provide the path `/web/registration` . Registration page paths that start with the path that you provide are considered a match. For example `/web/registration` matches the registration paths `/web/registration` , `/web/registration/` , `/web/registrationPage` , and `/web/registration/thisPage` , but doesn't match the path `/home/web/registration` or `/website/registration` . + """ + request_inspection: pulumi.Input['WebAclRequestInspectionAcfpArgsDict'] + """ + The criteria for inspecting account creation requests, used by the ACFP rule group to validate and track account creation attempts. + """ + enable_regex_in_path: NotRequired[pulumi.Input[bool]] + """ + Allow the use of regular expressions in the registration page path and the account creation path. + """ + response_inspection: NotRequired[pulumi.Input['WebAclResponseInspectionArgsDict']] + """ + The criteria for inspecting responses to account creation requests, used by the ACFP rule group to track account creation success rates. + + > Response inspection is available only in web ACLs that protect Amazon CloudFront distributions. + + The ACFP rule group evaluates the responses that your protected resources send back to client account creation attempts, keeping count of successful and failed attempts from each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many successful account creation attempts in a short amount of time. + """ +elif False: + WebAclAwsManagedRulesAcfpRuleSetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclAwsManagedRulesAcfpRuleSetArgs: def __init__(__self__, *, @@ -3835,18 +5437,48 @@ def enable_regex_in_path(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="responseInspection") def response_inspection(self) -> Optional[pulumi.Input['WebAclResponseInspectionArgs']]: """ - The criteria for inspecting responses to account creation requests, used by the ACFP rule group to track account creation success rates. + The criteria for inspecting responses to account creation requests, used by the ACFP rule group to track account creation success rates. + + > Response inspection is available only in web ACLs that protect Amazon CloudFront distributions. + + The ACFP rule group evaluates the responses that your protected resources send back to client account creation attempts, keeping count of successful and failed attempts from each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many successful account creation attempts in a short amount of time. + """ + return pulumi.get(self, "response_inspection") + + @response_inspection.setter + def response_inspection(self, value: Optional[pulumi.Input['WebAclResponseInspectionArgs']]): + pulumi.set(self, "response_inspection", value) + + +if not MYPY: + class WebAclAwsManagedRulesAtpRuleSetArgsDict(TypedDict): + """ + Configures how to use the Account Takeover Prevention managed rule group in the web ACL + """ + login_path: pulumi.Input[str] + """ + The path of the login endpoint for your application. For example, for the URL `https://example.com/web/login` , you would provide the path `/web/login` . Login paths that start with the path that you provide are considered a match. For example `/web/login` matches the login paths `/web/login` , `/web/login/` , `/web/loginPage` , and `/web/login/thisPage` , but doesn't match the login path `/home/web/login` or `/website/login` . + + The rule group inspects only HTTP `POST` requests to your specified login endpoint. + """ + enable_regex_in_path: NotRequired[pulumi.Input[bool]] + """ + Allow the use of regular expressions in the login page path. + """ + request_inspection: NotRequired[pulumi.Input['WebAclRequestInspectionArgsDict']] + """ + The criteria for inspecting login requests, used by the ATP rule group to validate credentials usage. + """ + response_inspection: NotRequired[pulumi.Input['WebAclResponseInspectionArgsDict']] + """ + The criteria for inspecting responses to login requests, used by the ATP rule group to track login failure rates. > Response inspection is available only in web ACLs that protect Amazon CloudFront distributions. - The ACFP rule group evaluates the responses that your protected resources send back to client account creation attempts, keeping count of successful and failed attempts from each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many successful account creation attempts in a short amount of time. + The ATP rule group evaluates the responses that your protected resources send back to client login attempts, keeping count of successful and failed attempts for each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses that have had too many failed login attempts in a short amount of time. """ - return pulumi.get(self, "response_inspection") - - @response_inspection.setter - def response_inspection(self, value: Optional[pulumi.Input['WebAclResponseInspectionArgs']]): - pulumi.set(self, "response_inspection", value) - +elif False: + WebAclAwsManagedRulesAtpRuleSetArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class WebAclAwsManagedRulesAtpRuleSetArgs: @@ -3931,6 +5563,29 @@ def response_inspection(self, value: Optional[pulumi.Input['WebAclResponseInspec pulumi.set(self, "response_inspection", value) +if not MYPY: + class WebAclAwsManagedRulesBotControlRuleSetArgsDict(TypedDict): + """ + Configures how to use the Bot Control managed rule group in the web ACL + """ + inspection_level: pulumi.Input['WebAclAwsManagedRulesBotControlRuleSetInspectionLevel'] + """ + The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see [AWS WAF Bot Control rule group](https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html) in the *AWS WAF Developer Guide* . + """ + enable_machine_learning: NotRequired[pulumi.Input[bool]] + """ + Applies only to the targeted inspection level. + + Determines whether to use machine learning (ML) to analyze your web traffic for bot-related activity. Machine learning is required for the Bot Control rules `TGT_ML_CoordinatedActivityLow` and `TGT_ML_CoordinatedActivityMedium` , which + inspect for anomalous behavior that might indicate distributed, coordinated bot activity. + + For more information about this choice, see the listing for these rules in the table at [Bot Control rules listing](https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html#aws-managed-rule-groups-bot-rules) in the *AWS WAF Developer Guide* . + + Default: `TRUE` + """ +elif False: + WebAclAwsManagedRulesBotControlRuleSetArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclAwsManagedRulesBotControlRuleSetArgs: def __init__(__self__, *, @@ -3984,6 +5639,20 @@ def enable_machine_learning(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enable_machine_learning", value) +if not MYPY: + class WebAclBlockActionArgsDict(TypedDict): + """ + Block traffic towards application. + """ + custom_response: NotRequired[pulumi.Input['WebAclCustomResponseArgsDict']] + """ + Defines a custom response for the web request. + + For information about customizing web requests and responses, see [Customizing web requests and responses in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) in the *AWS WAF Developer Guide* . + """ +elif False: + WebAclBlockActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclBlockActionArgs: def __init__(__self__, *, @@ -4012,6 +5681,33 @@ def custom_response(self, value: Optional[pulumi.Input['WebAclCustomResponseArgs pulumi.set(self, "custom_response", value) +if not MYPY: + class WebAclBodyArgsDict(TypedDict): + """ + The body of a web request. This immediately follows the request headers. + """ + oversize_handling: NotRequired[pulumi.Input['WebAclOversizeHandling']] + """ + What AWS WAF should do if the body is larger than AWS WAF can inspect. + + AWS WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to AWS WAF for inspection. + + - For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). + - For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and you can increase the limit for each resource type in the web ACL `AssociationConfig` , for additional processing fees. + + The options for oversize handling are the following: + + - `CONTINUE` - Inspect the available body contents normally, according to the rule inspection criteria. + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + + You can combine the `MATCH` or `NO_MATCH` settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over the limit. + + Default: `CONTINUE` + """ +elif False: + WebAclBodyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclBodyArgs: def __init__(__self__, *, @@ -4066,6 +5762,65 @@ def oversize_handling(self, value: Optional[pulumi.Input['WebAclOversizeHandling pulumi.set(self, "oversize_handling", value) +if not MYPY: + class WebAclByteMatchStatementArgsDict(TypedDict): + """ + Byte Match statement. + """ + field_to_match: pulumi.Input['WebAclFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + positional_constraint: pulumi.Input['WebAclPositionalConstraint'] + """ + The area within the portion of the web request that you want AWS WAF to search for `SearchString` . Valid values include the following: + + *CONTAINS* + + The specified part of the web request must include the value of `SearchString` , but the location doesn't matter. + + *CONTAINS_WORD* + + The specified part of the web request must include the value of `SearchString` , and `SearchString` must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, `SearchString` must be a word, which means that both of the following are true: + + - `SearchString` is at the beginning of the specified part of the web request or is preceded by a character other than an alphanumeric character or underscore (_). Examples include the value of a header and `;BadBot` . + - `SearchString` is at the end of the specified part of the web request or is followed by a character other than an alphanumeric character or underscore (_), for example, `BadBot;` and `-BadBot;` . + + *EXACTLY* + + The value of the specified part of the web request must exactly match the value of `SearchString` . + + *STARTS_WITH* + + The value of `SearchString` must appear at the beginning of the specified part of the web request. + + *ENDS_WITH* + + The value of `SearchString` must appear at the end of the specified part of the web request. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ + search_string: NotRequired[pulumi.Input[str]] + """ + A string value that you want AWS WAF to search for. AWS WAF searches only in the part of web requests that you designate for inspection in `FieldToMatch` . The maximum length of the value is 200 bytes. For alphabetic characters A-Z and a-z, the value is case sensitive. + + Don't encode this string. Provide the value that you want AWS WAF to search for. AWS CloudFormation automatically base64 encodes the value for you. + + For example, suppose the value of `Type` is `HEADER` and the value of `Data` is `User-Agent` . If you want to search the `User-Agent` header for the value `BadBot` , you provide the string `BadBot` in the value of `SearchString` . + + You must specify either `SearchString` or `SearchStringBase64` in a `ByteMatchStatement` . + """ + search_string_base64: NotRequired[pulumi.Input[str]] + """ + String to search for in a web request component, base64-encoded. If you don't want to encode the string, specify the unencoded value in `SearchString` instead. + + You must specify either `SearchString` or `SearchStringBase64` in a `ByteMatchStatement` . + """ +elif False: + WebAclByteMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclByteMatchStatementArgs: def __init__(__self__, *, @@ -4213,6 +5968,20 @@ def search_string_base64(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "search_string_base64", value) +if not MYPY: + class WebAclCaptchaActionArgsDict(TypedDict): + """ + Checks valid token exists with request. + """ + custom_request_handling: NotRequired[pulumi.Input['WebAclCustomRequestHandlingArgsDict']] + """ + Defines custom handling for the web request, used when the `CAPTCHA` inspection determines that the request's token is valid and unexpired. + + For information about customizing web requests and responses, see [Customizing web requests and responses in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) in the *AWS WAF Developer Guide* . + """ +elif False: + WebAclCaptchaActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclCaptchaActionArgs: def __init__(__self__, *, @@ -4241,6 +6010,15 @@ def custom_request_handling(self, value: Optional[pulumi.Input['WebAclCustomRequ pulumi.set(self, "custom_request_handling", value) +if not MYPY: + class WebAclCaptchaConfigArgsDict(TypedDict): + immunity_time_property: NotRequired[pulumi.Input['WebAclImmunityTimePropertyArgsDict']] + """ + Determines how long a `CAPTCHA` timestamp in the token remains valid after the client successfully solves a `CAPTCHA` puzzle. + """ +elif False: + WebAclCaptchaConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclCaptchaConfigArgs: def __init__(__self__, *, @@ -4264,6 +6042,20 @@ def immunity_time_property(self, value: Optional[pulumi.Input['WebAclImmunityTim pulumi.set(self, "immunity_time_property", value) +if not MYPY: + class WebAclChallengeActionArgsDict(TypedDict): + """ + Checks that the request has a valid token with an unexpired challenge timestamp and, if not, returns a browser challenge to the client. + """ + custom_request_handling: NotRequired[pulumi.Input['WebAclCustomRequestHandlingArgsDict']] + """ + Defines custom handling for the web request, used when the challenge inspection determines that the request's token is valid and unexpired. + + For information about customizing web requests and responses, see [Customizing web requests and responses in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) in the [AWS WAF developer guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) . + """ +elif False: + WebAclChallengeActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclChallengeActionArgs: def __init__(__self__, *, @@ -4292,6 +6084,15 @@ def custom_request_handling(self, value: Optional[pulumi.Input['WebAclCustomRequ pulumi.set(self, "custom_request_handling", value) +if not MYPY: + class WebAclChallengeConfigArgsDict(TypedDict): + immunity_time_property: NotRequired[pulumi.Input['WebAclImmunityTimePropertyArgsDict']] + """ + Determines how long a challenge timestamp in the token remains valid after the client successfully responds to a challenge. + """ +elif False: + WebAclChallengeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclChallengeConfigArgs: def __init__(__self__, *, @@ -4315,6 +6116,26 @@ def immunity_time_property(self, value: Optional[pulumi.Input['WebAclImmunityTim pulumi.set(self, "immunity_time_property", value) +if not MYPY: + class WebAclCookieMatchPatternArgsDict(TypedDict): + """ + The pattern to look for in the request cookies. + """ + all: NotRequired[Any] + """ + Inspect all parts of the web request cookies. + """ + excluded_cookies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Inspect only the cookies whose keys don't match any of the strings specified here. + """ + included_cookies: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Inspect only the cookies that have a key that matches one of the strings specified here. + """ +elif False: + WebAclCookieMatchPatternArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclCookieMatchPatternArgs: def __init__(__self__, *, @@ -4371,6 +6192,38 @@ def included_cookies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[st pulumi.set(self, "included_cookies", value) +if not MYPY: + class WebAclCookiesArgsDict(TypedDict): + """ + Includes cookies of a web request. + """ + match_pattern: pulumi.Input['WebAclCookieMatchPatternArgsDict'] + """ + The filter to use to identify the subset of cookies to inspect in a web request. + + You must specify exactly one setting: either `All` , `IncludedCookies` , or `ExcludedCookies` . + + Example JSON: `"MatchPattern": { "IncludedCookies": [ "session-id-time", "session-id" ] }` + """ + match_scope: pulumi.Input['WebAclMapMatchScope'] + """ + The parts of the cookies to inspect with the rule inspection criteria. If you specify `ALL` , AWS WAF inspects both keys and values. + + `All` does not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logical `AND` statement to combine two match rules, one that inspects the keys and another that inspects the values. + """ + oversize_handling: pulumi.Input['WebAclOversizeHandling'] + """ + What AWS WAF should do if the cookies of the request are more numerous or larger than AWS WAF can inspect. AWS WAF does not support inspecting the entire contents of request cookies when they exceed 8 KB (8192 bytes) or 200 total cookies. The underlying host service forwards a maximum of 200 cookies and at most 8 KB of cookie contents to AWS WAF . + + The options for oversize handling are the following: + + - `CONTINUE` - Inspect the available cookies normally, according to the rule inspection criteria. + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + """ +elif False: + WebAclCookiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclCookiesArgs: def __init__(__self__, *, @@ -4448,6 +6301,20 @@ def oversize_handling(self, value: pulumi.Input['WebAclOversizeHandling']): pulumi.set(self, "oversize_handling", value) +if not MYPY: + class WebAclCountActionArgsDict(TypedDict): + """ + Allow traffic towards application. + """ + custom_request_handling: NotRequired[pulumi.Input['WebAclCustomRequestHandlingArgsDict']] + """ + Defines custom handling for the web request. + + For information about customizing web requests and responses, see [Customizing web requests and responses in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html) in the *AWS WAF Developer Guide* . + """ +elif False: + WebAclCountActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclCountActionArgs: def __init__(__self__, *, @@ -4476,6 +6343,24 @@ def custom_request_handling(self, value: Optional[pulumi.Input['WebAclCustomRequ pulumi.set(self, "custom_request_handling", value) +if not MYPY: + class WebAclCustomHttpHeaderArgsDict(TypedDict): + """ + HTTP header. + """ + name: pulumi.Input[str] + """ + The name of the custom header. + + For custom request header insertion, when AWS WAF inserts the header into the request, it prefixes this name `x-amzn-waf-` , to avoid confusion with the headers that are already in the request. For example, for the header name `sample` , AWS WAF inserts the header `x-amzn-waf-sample` . + """ + value: pulumi.Input[str] + """ + The value of the custom header. + """ +elif False: + WebAclCustomHttpHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclCustomHttpHeaderArgs: def __init__(__self__, *, @@ -4518,6 +6403,18 @@ def value(self, value: pulumi.Input[str]): pulumi.set(self, "value", value) +if not MYPY: + class WebAclCustomRequestHandlingArgsDict(TypedDict): + """ + Custom request handling. + """ + insert_headers: pulumi.Input[Sequence[pulumi.Input['WebAclCustomHttpHeaderArgsDict']]] + """ + Collection of HTTP headers. + """ +elif False: + WebAclCustomRequestHandlingArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclCustomRequestHandlingArgs: def __init__(__self__, *, @@ -4541,6 +6438,26 @@ def insert_headers(self, value: pulumi.Input[Sequence[pulumi.Input['WebAclCustom pulumi.set(self, "insert_headers", value) +if not MYPY: + class WebAclCustomResponseBodyArgsDict(TypedDict): + """ + Custom response body. + """ + content: pulumi.Input[str] + """ + The payload of the custom response. + + You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the `ContentType` setting. + + For information about the limits on count and size for custom request and response settings, see [AWS WAF quotas](https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) in the *AWS WAF Developer Guide* . + """ + content_type: pulumi.Input['WebAclResponseContentType'] + """ + The type of content in the payload that you are defining in the `Content` string. + """ +elif False: + WebAclCustomResponseBodyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclCustomResponseBodyArgs: def __init__(__self__, *, @@ -4587,6 +6504,28 @@ def content_type(self, value: pulumi.Input['WebAclResponseContentType']): pulumi.set(self, "content_type", value) +if not MYPY: + class WebAclCustomResponseArgsDict(TypedDict): + """ + Custom response. + """ + response_code: pulumi.Input[int] + """ + The HTTP status code to return to the client. + + For a list of status codes that you can use in your custom responses, see [Supported status codes for custom response](https://docs.aws.amazon.com/waf/latest/developerguide/customizing-the-response-status-codes.html) in the *AWS WAF Developer Guide* . + """ + custom_response_body_key: NotRequired[pulumi.Input[str]] + """ + Custom response body key. + """ + response_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input['WebAclCustomHttpHeaderArgsDict']]]] + """ + Collection of HTTP headers. + """ +elif False: + WebAclCustomResponseArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclCustomResponseArgs: def __init__(__self__, *, @@ -4646,6 +6585,22 @@ def response_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['W pulumi.set(self, "response_headers", value) +if not MYPY: + class WebAclDefaultActionArgsDict(TypedDict): + """ + Default Action WebACL will take against ingress traffic when there is no matching Rule. + """ + allow: NotRequired[pulumi.Input['WebAclAllowActionArgsDict']] + """ + Specifies that AWS WAF should allow requests by default. + """ + block: NotRequired[pulumi.Input['WebAclBlockActionArgsDict']] + """ + Specifies that AWS WAF should block requests by default. + """ +elif False: + WebAclDefaultActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclDefaultActionArgs: def __init__(__self__, *, @@ -4686,6 +6641,18 @@ def block(self, value: Optional[pulumi.Input['WebAclBlockActionArgs']]): pulumi.set(self, "block", value) +if not MYPY: + class WebAclExcludedRuleArgsDict(TypedDict): + """ + Excluded Rule in the RuleGroup or ManagedRuleGroup will not be evaluated. + """ + name: pulumi.Input[str] + """ + The name of the rule whose action you want to override to `Count` . + """ +elif False: + WebAclExcludedRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclExcludedRuleArgs: def __init__(__self__, *, @@ -4704,10 +6671,25 @@ def name(self) -> pulumi.Input[str]: """ return pulumi.get(self, "name") - @name.setter - def name(self, value: pulumi.Input[str]): - pulumi.set(self, "name", value) + @name.setter + def name(self, value: pulumi.Input[str]): + pulumi.set(self, "name", value) + + +if not MYPY: + class WebAclFieldIdentifierArgsDict(TypedDict): + identifier: pulumi.Input[str] + """ + The name of the field. + + When the `PayloadType` in the request inspection is `JSON` , this identifier must be in JSON pointer syntax. For example `/form/username` . For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation [JavaScript Object Notation (JSON) Pointer](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6901) . + When the `PayloadType` is `FORM_ENCODED` , use the HTML form names. For example, `username` . + + For more information, see the descriptions for each field type in the request inspection properties. + """ +elif False: + WebAclFieldIdentifierArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class WebAclFieldIdentifierArgs: @@ -4743,6 +6725,19 @@ def identifier(self, value: pulumi.Input[str]): pulumi.set(self, "identifier", value) +if not MYPY: + class WebAclFieldToMatchSingleHeaderPropertiesArgsDict(TypedDict): + """ + Inspect a single header. Provide the name of the header to inspect, for example, `User-Agent` or `Referer` . This setting isn't case sensitive. + + Example JSON: `"SingleHeader": { "Name": "haystack" }` + + Alternately, you can filter and inspect all headers with the `Headers` `FieldToMatch` setting. + """ + name: pulumi.Input[str] +elif False: + WebAclFieldToMatchSingleHeaderPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclFieldToMatchSingleHeaderPropertiesArgs: def __init__(__self__, *, @@ -4766,6 +6761,15 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class WebAclFieldToMatchSingleQueryArgumentPropertiesArgsDict(TypedDict): + """ + One query argument in a web request, identified by name, for example UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive. + """ + name: pulumi.Input[str] +elif False: + WebAclFieldToMatchSingleQueryArgumentPropertiesArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclFieldToMatchSingleQueryArgumentPropertiesArgs: def __init__(__self__, *, @@ -4785,6 +6789,86 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class WebAclFieldToMatchArgsDict(TypedDict): + """ + Field of the request to match. + """ + all_query_arguments: NotRequired[Any] + """ + All query arguments of a web request. + """ + body: NotRequired[pulumi.Input['WebAclBodyArgsDict']] + """ + Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. + + AWS WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to AWS WAF for inspection. + + - For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). + - For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and you can increase the limit for each resource type in the web ACL `AssociationConfig` , for additional processing fees. + + For information about how to handle oversized request bodies, see the `Body` object configuration. + """ + cookies: NotRequired[pulumi.Input['WebAclCookiesArgsDict']] + """ + Inspect the request cookies. You must configure scope and pattern matching filters in the `Cookies` object, to define the set of cookies and the parts of the cookies that AWS WAF inspects. + + Only the first 8 KB (8192 bytes) of a request's cookies and only the first 200 cookies are forwarded to AWS WAF for inspection by the underlying host service. You must configure how to handle any oversize cookie content in the `Cookies` object. AWS WAF applies the pattern matching filters to the cookies that it receives from the underlying host service. + """ + headers: NotRequired[pulumi.Input['WebAclHeadersArgsDict']] + """ + Inspect the request headers. You must configure scope and pattern matching filters in the `Headers` object, to define the set of headers to and the parts of the headers that AWS WAF inspects. + + Only the first 8 KB (8192 bytes) of a request's headers and only the first 200 headers are forwarded to AWS WAF for inspection by the underlying host service. You must configure how to handle any oversize header content in the `Headers` object. AWS WAF applies the pattern matching filters to the headers that it receives from the underlying host service. + """ + ja3_fingerprint: NotRequired[pulumi.Input['WebAclJa3FingerprintArgsDict']] + """ + Available for use with Amazon CloudFront distributions and Application Load Balancers. Match against the request's JA3 fingerprint. The JA3 fingerprint is a 32-character hash derived from the TLS Client Hello of an incoming request. This fingerprint serves as a unique identifier for the client's TLS configuration. AWS WAF calculates and logs this fingerprint for each request that has enough TLS Client Hello information for the calculation. Almost all web requests include this information. + + > You can use this choice only with a string match `ByteMatchStatement` with the `PositionalConstraint` set to `EXACTLY` . + + You can obtain the JA3 fingerprint for client requests from the web ACL logs. If AWS WAF is able to calculate the fingerprint, it includes it in the logs. For information about the logging fields, see [Log fields](https://docs.aws.amazon.com/waf/latest/developerguide/logging-fields.html) in the *AWS WAF Developer Guide* . + + Provide the JA3 fingerprint string from the logs in your string match statement specification, to match with any future requests that have the same TLS configuration. + """ + json_body: NotRequired[pulumi.Input['WebAclJsonBodyArgsDict']] + """ + Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. + + AWS WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to AWS WAF for inspection. + + - For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). + - For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and you can increase the limit for each resource type in the web ACL `AssociationConfig` , for additional processing fees. + + For information about how to handle oversized request bodies, see the `JsonBody` object configuration. + """ + method: NotRequired[Any] + """ + The HTTP method of a web request. The method indicates the type of operation that the request is asking the origin to perform. + """ + query_string: NotRequired[Any] + """ + The query string of a web request. This is the part of a URL that appears after a ? character, if any. + """ + single_header: NotRequired[pulumi.Input['WebAclFieldToMatchSingleHeaderPropertiesArgsDict']] + """ + Inspect a single header. Provide the name of the header to inspect, for example, `User-Agent` or `Referer` . This setting isn't case sensitive. + + Example JSON: `"SingleHeader": { "Name": "haystack" }` + + Alternately, you can filter and inspect all headers with the `Headers` `FieldToMatch` setting. + """ + single_query_argument: NotRequired[pulumi.Input['WebAclFieldToMatchSingleQueryArgumentPropertiesArgsDict']] + """ + One query argument in a web request, identified by name, for example UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive. + """ + uri_path: NotRequired[Any] + """ + The path component of the URI of a web request. This is the part of a web request that identifies a resource, for example, /images/daily-ad.jpg. + """ +elif False: + WebAclFieldToMatchArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclFieldToMatchArgs: def __init__(__self__, *, @@ -5025,6 +7109,28 @@ def uri_path(self, value: Optional[Any]): pulumi.set(self, "uri_path", value) +if not MYPY: + class WebAclForwardedIpConfigurationArgsDict(TypedDict): + fallback_behavior: pulumi.Input['WebAclForwardedIpConfigurationFallbackBehavior'] + """ + The match status to assign to the web request if the request doesn't have a valid IP address in the specified position. + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + + You can specify the following fallback behaviors: + + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + """ + header_name: pulumi.Input[str] + """ + The name of the HTTP header to use for the IP address. For example, to use the X-Forwarded-For (XFF) header, set this to `X-Forwarded-For` . + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + """ +elif False: + WebAclForwardedIpConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclForwardedIpConfigurationArgs: def __init__(__self__, *, @@ -5080,6 +7186,23 @@ def header_name(self, value: pulumi.Input[str]): pulumi.set(self, "header_name", value) +if not MYPY: + class WebAclGeoMatchStatementArgsDict(TypedDict): + country_codes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + An array of two-character country codes that you want to match against, for example, `[ "US", "CN" ]` , from the alpha-2 country ISO codes of the ISO 3166 international standard. + + When you use a geo match statement just for the region and country labels that it adds to requests, you still have to supply a country code for the rule to evaluate. In this case, you configure the rule to only count matching requests, but it will still generate logging and count metrics for any matches. You can reduce the logging and metrics that the rule produces by specifying a country that's unlikely to be a source of traffic to your site. + """ + forwarded_ip_config: NotRequired[pulumi.Input['WebAclForwardedIpConfigurationArgsDict']] + """ + The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + """ +elif False: + WebAclGeoMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclGeoMatchStatementArgs: def __init__(__self__, *, @@ -5127,6 +7250,26 @@ def forwarded_ip_config(self, value: Optional[pulumi.Input['WebAclForwardedIpCon pulumi.set(self, "forwarded_ip_config", value) +if not MYPY: + class WebAclHeaderMatchPatternArgsDict(TypedDict): + """ + The pattern to look for in the request headers. + """ + all: NotRequired[Any] + """ + Inspect all parts of the web request headers. + """ + excluded_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Inspect only the headers whose keys don't match any of the strings specified here. + """ + included_headers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Inspect only the headers that have a key that matches one of the strings specified here. + """ +elif False: + WebAclHeaderMatchPatternArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclHeaderMatchPatternArgs: def __init__(__self__, *, @@ -5183,6 +7326,38 @@ def included_headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[st pulumi.set(self, "included_headers", value) +if not MYPY: + class WebAclHeadersArgsDict(TypedDict): + """ + Includes headers of a web request. + """ + match_pattern: pulumi.Input['WebAclHeaderMatchPatternArgsDict'] + """ + The filter to use to identify the subset of headers to inspect in a web request. + + You must specify exactly one setting: either `All` , `IncludedHeaders` , or `ExcludedHeaders` . + + Example JSON: `"MatchPattern": { "ExcludedHeaders": [ "KeyToExclude1", "KeyToExclude2" ] }` + """ + match_scope: pulumi.Input['WebAclMapMatchScope'] + """ + The parts of the headers to match with the rule inspection criteria. If you specify `ALL` , AWS WAF inspects both keys and values. + + `All` does not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logical `AND` statement to combine two match rules, one that inspects the keys and another that inspects the values. + """ + oversize_handling: pulumi.Input['WebAclOversizeHandling'] + """ + What AWS WAF should do if the headers of the request are more numerous or larger than AWS WAF can inspect. AWS WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to AWS WAF . + + The options for oversize handling are the following: + + - `CONTINUE` - Inspect the available headers normally, according to the rule inspection criteria. + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + """ +elif False: + WebAclHeadersArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclHeadersArgs: def __init__(__self__, *, @@ -5260,6 +7435,17 @@ def oversize_handling(self, value: pulumi.Input['WebAclOversizeHandling']): pulumi.set(self, "oversize_handling", value) +if not MYPY: + class WebAclImmunityTimePropertyArgsDict(TypedDict): + immunity_time: pulumi.Input[int] + """ + The amount of time, in seconds, that a `CAPTCHA` or challenge timestamp is considered valid by AWS WAF . The default setting is 300. + + For the Challenge action, the minimum setting is 300. + """ +elif False: + WebAclImmunityTimePropertyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclImmunityTimePropertyArgs: def __init__(__self__, *, @@ -5286,6 +7472,38 @@ def immunity_time(self, value: pulumi.Input[int]): pulumi.set(self, "immunity_time", value) +if not MYPY: + class WebAclIpSetForwardedIpConfigurationArgsDict(TypedDict): + fallback_behavior: pulumi.Input['WebAclIpSetForwardedIpConfigurationFallbackBehavior'] + """ + The match status to assign to the web request if the request doesn't have a valid IP address in the specified position. + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + + You can specify the following fallback behaviors: + + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + """ + header_name: pulumi.Input[str] + """ + The name of the HTTP header to use for the IP address. For example, to use the X-Forwarded-For (XFF) header, set this to `X-Forwarded-For` . + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + """ + position: pulumi.Input['WebAclIpSetForwardedIpConfigurationPosition'] + """ + The position in the header to search for the IP address. The header can contain IP addresses of the original client and also of proxies. For example, the header value could be `10.1.1.1, 127.0.0.0, 10.10.10.10` where the first IP address identifies the original client and the rest identify proxies that the request went through. + + The options for this setting are the following: + + - FIRST - Inspect the first IP address in the list of IP addresses in the header. This is usually the client's original IP. + - LAST - Inspect the last IP address in the list of IP addresses in the header. + - ANY - Inspect all IP addresses in the header for a match. If the header contains more than 10 IP addresses, AWS WAF inspects the last 10. + """ +elif False: + WebAclIpSetForwardedIpConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclIpSetForwardedIpConfigurationArgs: def __init__(__self__, *, @@ -5368,6 +7586,21 @@ def position(self, value: pulumi.Input['WebAclIpSetForwardedIpConfigurationPosit pulumi.set(self, "position", value) +if not MYPY: + class WebAclIpSetReferenceStatementArgsDict(TypedDict): + arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the `IPSet` that this statement references. + """ + ip_set_forwarded_ip_config: NotRequired[pulumi.Input['WebAclIpSetForwardedIpConfigurationArgsDict']] + """ + The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + """ +elif False: + WebAclIpSetReferenceStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclIpSetReferenceStatementArgs: def __init__(__self__, *, @@ -5410,6 +7643,23 @@ def ip_set_forwarded_ip_config(self, value: Optional[pulumi.Input['WebAclIpSetFo pulumi.set(self, "ip_set_forwarded_ip_config", value) +if not MYPY: + class WebAclJa3FingerprintArgsDict(TypedDict): + """ + Includes the JA3 fingerprint of a web request. + """ + fallback_behavior: pulumi.Input['WebAclJa3FingerprintFallbackBehavior'] + """ + The match status to assign to the web request if the request doesn't have a JA3 fingerprint. + + You can specify the following fallback behaviors: + + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + """ +elif False: + WebAclJa3FingerprintArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclJa3FingerprintArgs: def __init__(__self__, *, @@ -5443,6 +7693,55 @@ def fallback_behavior(self, value: pulumi.Input['WebAclJa3FingerprintFallbackBeh pulumi.set(self, "fallback_behavior", value) +if not MYPY: + class WebAclJsonBodyArgsDict(TypedDict): + """ + Inspect the request body as JSON. The request body immediately follows the request headers. + """ + match_pattern: pulumi.Input['WebAclJsonMatchPatternArgsDict'] + """ + The patterns to look for in the JSON body. AWS WAF inspects the results of these pattern matches against the rule inspection criteria. + """ + match_scope: pulumi.Input['WebAclJsonMatchScope'] + """ + The parts of the JSON to match against using the `MatchPattern` . If you specify `ALL` , AWS WAF matches against keys and values. + + `All` does not require a match to be found in the keys and a match to be found in the values. It requires a match to be found in the keys or the values or both. To require a match in the keys and in the values, use a logical `AND` statement to combine two match rules, one that inspects the keys and another that inspects the values. + """ + invalid_fallback_behavior: NotRequired[pulumi.Input['WebAclBodyParsingFallbackBehavior']] + """ + What AWS WAF should do if it fails to completely parse the JSON body. The options are the following: + + - `EVALUATE_AS_STRING` - Inspect the body as plain text. AWS WAF applies the text transformations and inspection criteria that you defined for the JSON inspection to the body text string. + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + + If you don't provide this setting, AWS WAF parses and evaluates the content only up to the first parsing failure that it encounters. + + > AWS WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When parsing succeeds, AWS WAF doesn't apply the fallback behavior. For more information, see [JSON body](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body) in the *AWS WAF Developer Guide* . + """ + oversize_handling: NotRequired[pulumi.Input['WebAclOversizeHandling']] + """ + What AWS WAF should do if the body is larger than AWS WAF can inspect. + + AWS WAF does not support inspecting the entire contents of the web request body if the body exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service only forwards the contents that are within the limit to AWS WAF for inspection. + + - For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes). + - For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and you can increase the limit for each resource type in the web ACL `AssociationConfig` , for additional processing fees. + + The options for oversize handling are the following: + + - `CONTINUE` - Inspect the available body contents normally, according to the rule inspection criteria. + - `MATCH` - Treat the web request as matching the rule statement. AWS WAF applies the rule action to the request. + - `NO_MATCH` - Treat the web request as not matching the rule statement. + + You can combine the `MATCH` or `NO_MATCH` settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over the limit. + + Default: `CONTINUE` + """ +elif False: + WebAclJsonBodyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclJsonBodyArgs: def __init__(__self__, *, @@ -5563,6 +7862,28 @@ def oversize_handling(self, value: Optional[pulumi.Input['WebAclOversizeHandling pulumi.set(self, "oversize_handling", value) +if not MYPY: + class WebAclJsonMatchPatternArgsDict(TypedDict): + """ + The pattern to look for in the JSON body. + """ + all: NotRequired[Any] + """ + Inspect all parts of the web request's JSON body. + """ + included_paths: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + Match only the specified include paths. See also `MatchScope` in the `JsonBody` `FieldToMatch` specification. + + Provide the include paths using JSON Pointer syntax. For example, `"IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]` . For information about this syntax, see the Internet Engineering Task Force (IETF) documentation [JavaScript Object Notation (JSON) Pointer](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6901) . + + You must specify either this setting or the `All` setting, but not both. + + > Don't use this option to include all paths. Instead, use the `All` setting. + """ +elif False: + WebAclJsonMatchPatternArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclJsonMatchPatternArgs: def __init__(__self__, *, @@ -5615,6 +7936,24 @@ def included_paths(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str] pulumi.set(self, "included_paths", value) +if not MYPY: + class WebAclLabelMatchStatementArgsDict(TypedDict): + key: pulumi.Input[str] + """ + The string to match against. The setting you provide for this depends on the match statement's `Scope` setting: + + - If the `Scope` indicates `LABEL` , then this specification must include the name and can include any number of preceding namespace specifications and prefix up to providing the fully qualified label name. + - If the `Scope` indicates `NAMESPACE` , then this specification can include any number of contiguous namespace strings, and can include the entire label namespace prefix from the rule group or web ACL where the label originates. + + Labels are case sensitive and components of a label must be separated by colon, for example `NS1:NS2:name` . + """ + scope: pulumi.Input['WebAclLabelMatchScope'] + """ + Specify whether you want to match using the label name or just the namespace. + """ +elif False: + WebAclLabelMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclLabelMatchStatementArgs: def __init__(__self__, *, @@ -5662,6 +8001,15 @@ def scope(self, value: pulumi.Input['WebAclLabelMatchScope']): pulumi.set(self, "scope", value) +if not MYPY: + class WebAclLabelArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The label string. + """ +elif False: + WebAclLabelArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclLabelArgs: def __init__(__self__, *, @@ -5684,6 +8032,48 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class WebAclManagedRuleGroupConfigArgsDict(TypedDict): + """ + ManagedRuleGroupConfig. + """ + aws_managed_rules_acfp_rule_set: NotRequired[pulumi.Input['WebAclAwsManagedRulesAcfpRuleSetArgsDict']] + """ + Additional configuration for using the account creation fraud prevention (ACFP) managed rule group, `AWSManagedRulesACFPRuleSet` . Use this to provide account creation request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to account creation requests. + + For information about using the ACFP managed rule group, see [AWS WAF Fraud Control account creation fraud prevention (ACFP) rule group](https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-acfp.html) and [AWS WAF Fraud Control account creation fraud prevention (ACFP)](https://docs.aws.amazon.com/waf/latest/developerguide/waf-acfp.html) in the *AWS WAF Developer Guide* . + """ + aws_managed_rules_atp_rule_set: NotRequired[pulumi.Input['WebAclAwsManagedRulesAtpRuleSetArgsDict']] + """ + Additional configuration for using the account takeover prevention (ATP) managed rule group, `AWSManagedRulesATPRuleSet` . Use this to provide login request information to the rule group. For web ACLs that protect CloudFront distributions, use this to also provide the information about how your distribution responds to login requests. + + This configuration replaces the individual configuration fields in `ManagedRuleGroupConfig` and provides additional feature configuration. + + For information about using the ATP managed rule group, see [AWS WAF Fraud Control account takeover prevention (ATP) rule group](https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-atp.html) and [AWS WAF Fraud Control account takeover prevention (ATP)](https://docs.aws.amazon.com/waf/latest/developerguide/waf-atp.html) in the *AWS WAF Developer Guide* . + """ + aws_managed_rules_bot_control_rule_set: NotRequired[pulumi.Input['WebAclAwsManagedRulesBotControlRuleSetArgsDict']] + """ + Additional configuration for using the Bot Control managed rule group. Use this to specify the inspection level that you want to use. For information about using the Bot Control managed rule group, see [AWS WAF Bot Control rule group](https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html) and [AWS WAF Bot Control](https://docs.aws.amazon.com/waf/latest/developerguide/waf-bot-control.html) in the *AWS WAF Developer Guide* . + """ + login_path: NotRequired[pulumi.Input[str]] + """ + > Instead of this setting, provide your configuration under `AWSManagedRulesATPRuleSet` . + """ + password_field: NotRequired[pulumi.Input['WebAclFieldIdentifierArgsDict']] + """ + > Instead of this setting, provide your configuration under the request inspection configuration for `AWSManagedRulesATPRuleSet` or `AWSManagedRulesACFPRuleSet` . + """ + payload_type: NotRequired[pulumi.Input['WebAclManagedRuleGroupConfigPayloadType']] + """ + > Instead of this setting, provide your configuration under the request inspection configuration for `AWSManagedRulesATPRuleSet` or `AWSManagedRulesACFPRuleSet` . + """ + username_field: NotRequired[pulumi.Input['WebAclFieldIdentifierArgsDict']] + """ + > Instead of this setting, provide your configuration under the request inspection configuration for `AWSManagedRulesATPRuleSet` or `AWSManagedRulesACFPRuleSet` . + """ +elif False: + WebAclManagedRuleGroupConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclManagedRuleGroupConfigArgs: def __init__(__self__, *, @@ -5816,6 +8206,41 @@ def username_field(self, value: Optional[pulumi.Input['WebAclFieldIdentifierArgs pulumi.set(self, "username_field", value) +if not MYPY: + class WebAclManagedRuleGroupStatementArgsDict(TypedDict): + name: pulumi.Input[str] + """ + The name of the managed rule group. You use this, along with the vendor name, to identify the rule group. + """ + vendor_name: pulumi.Input[str] + """ + The name of the managed rule group vendor. You use this, along with the rule group name, to identify a rule group. + """ + excluded_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['WebAclExcludedRuleArgsDict']]]] + """ + Rules in the referenced rule group whose actions are set to `Count` . + + > Instead of this option, use `RuleActionOverrides` . It accepts any valid action setting, including `Count` . + """ + managed_rule_group_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['WebAclManagedRuleGroupConfigArgsDict']]]] + """ + Collection of ManagedRuleGroupConfig. + """ + rule_action_overrides: NotRequired[pulumi.Input[Sequence[pulumi.Input['WebAclRuleActionOverrideArgsDict']]]] + """ + Action overrides for rules in the rule group. + """ + scope_down_statement: NotRequired[pulumi.Input['WebAclStatementArgsDict']] + """ + An optional nested statement that narrows the scope of the web requests that are evaluated by the managed rule group. Requests are only evaluated by the rule group if they match the scope-down statement. You can use any nestable `Statement` in the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement. + """ + version: NotRequired[pulumi.Input[str]] + """ + The version of the managed rule group to use. If you specify this, the version setting is fixed until you change it. If you don't specify this, AWS WAF uses the vendor's default version, and then keeps the version at the vendor's default when the vendor updates the managed rule group settings. + """ +elif False: + WebAclManagedRuleGroupStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclManagedRuleGroupStatementArgs: def __init__(__self__, *, @@ -5937,6 +8362,15 @@ def version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "version", value) +if not MYPY: + class WebAclNotStatementArgsDict(TypedDict): + statement: pulumi.Input['WebAclStatementArgsDict'] + """ + The statement to negate. You can use any statement that can be nested. + """ +elif False: + WebAclNotStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclNotStatementArgs: def __init__(__self__, *, @@ -5959,6 +8393,15 @@ def statement(self, value: pulumi.Input['WebAclStatementArgs']): pulumi.set(self, "statement", value) +if not MYPY: + class WebAclOrStatementArgsDict(TypedDict): + statements: pulumi.Input[Sequence[pulumi.Input['WebAclStatementArgsDict']]] + """ + The statements to combine with OR logic. You can use any statements that can be nested. + """ +elif False: + WebAclOrStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclOrStatementArgs: def __init__(__self__, *, @@ -5981,6 +8424,22 @@ def statements(self, value: pulumi.Input[Sequence[pulumi.Input['WebAclStatementA pulumi.set(self, "statements", value) +if not MYPY: + class WebAclOverrideActionArgsDict(TypedDict): + """ + Override a RuleGroup or ManagedRuleGroup behavior. This can only be applied to Rule that has RuleGroupReferenceStatement or ManagedRuleGroupReferenceStatement. + """ + count: NotRequired[Any] + """ + Count traffic towards application. + """ + none: NotRequired[Any] + """ + Keep the RuleGroup or ManagedRuleGroup behavior as is. + """ +elif False: + WebAclOverrideActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclOverrideActionArgs: def __init__(__self__, *, @@ -6021,6 +8480,60 @@ def none(self, value: Optional[Any]): pulumi.set(self, "none", value) +if not MYPY: + class WebAclRateBasedStatementCustomKeyArgsDict(TypedDict): + """ + Specifies a single custom aggregate key for a rate-base rule. + """ + cookie: NotRequired[pulumi.Input['WebAclRateLimitCookieArgsDict']] + """ + Use the value of a cookie in the request as an aggregate key. Each distinct value in the cookie contributes to the aggregation instance. If you use a single cookie as your custom key, then each value fully defines an aggregation instance. + """ + forwarded_ip: NotRequired[pulumi.Input['WebAclRateLimitForwardedIpArgsDict']] + """ + Use the first IP address in an HTTP header as an aggregate key. Each distinct forwarded IP address contributes to the aggregation instance. + + When you specify an IP or forwarded IP in the custom key settings, you must also specify at least one other key to use. You can aggregate on only the forwarded IP address by specifying `FORWARDED_IP` in your rate-based statement's `AggregateKeyType` . + + With this option, you must specify the header to use in the rate-based rule's `ForwardedIPConfig` property. + """ + header: NotRequired[pulumi.Input['WebAclRateLimitHeaderArgsDict']] + """ + Use the value of a header in the request as an aggregate key. Each distinct value in the header contributes to the aggregation instance. If you use a single header as your custom key, then each value fully defines an aggregation instance. + """ + http_method: NotRequired[pulumi.Input['WebAclRateLimitHttpMethodArgsDict']] + """ + Use the request's HTTP method as an aggregate key. Each distinct HTTP method contributes to the aggregation instance. If you use just the HTTP method as your custom key, then each method fully defines an aggregation instance. + """ + ip: NotRequired[pulumi.Input['WebAclRateLimitIpArgsDict']] + """ + Use the request's originating IP address as an aggregate key. Each distinct IP address contributes to the aggregation instance. + + When you specify an IP or forwarded IP in the custom key settings, you must also specify at least one other key to use. You can aggregate on only the IP address by specifying `IP` in your rate-based statement's `AggregateKeyType` . + """ + label_namespace: NotRequired[pulumi.Input['WebAclRateLimitLabelNamespaceArgsDict']] + """ + Use the specified label namespace as an aggregate key. Each distinct fully qualified label name that has the specified label namespace contributes to the aggregation instance. If you use just one label namespace as your custom key, then each label name fully defines an aggregation instance. + + This uses only labels that have been added to the request by rules that are evaluated before this rate-based rule in the web ACL. + + For information about label namespaces and names, see [Label syntax and naming requirements](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-label-requirements.html) in the *AWS WAF Developer Guide* . + """ + query_argument: NotRequired[pulumi.Input['WebAclRateLimitQueryArgumentArgsDict']] + """ + Use the specified query argument as an aggregate key. Each distinct value for the named query argument contributes to the aggregation instance. If you use a single query argument as your custom key, then each value fully defines an aggregation instance. + """ + query_string: NotRequired[pulumi.Input['WebAclRateLimitQueryStringArgsDict']] + """ + Use the request's query string as an aggregate key. Each distinct string contributes to the aggregation instance. If you use just the query string as your custom key, then each string fully defines an aggregation instance. + """ + uri_path: NotRequired[pulumi.Input['WebAclRateLimitUriPathArgsDict']] + """ + Use the request's URI path as an aggregate key. Each distinct URI path contributes to the aggregation instance. If you use just the URI path as your custom key, then each URI path fully defines an aggregation instance. + """ +elif False: + WebAclRateBasedStatementCustomKeyArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRateBasedStatementCustomKeyArgs: def __init__(__self__, *, @@ -6193,6 +8706,67 @@ def uri_path(self, value: Optional[pulumi.Input['WebAclRateLimitUriPathArgs']]): pulumi.set(self, "uri_path", value) +if not MYPY: + class WebAclRateBasedStatementArgsDict(TypedDict): + aggregate_key_type: pulumi.Input['WebAclRateBasedStatementAggregateKeyType'] + """ + Setting that indicates how to aggregate the request counts. + + > Web requests that are missing any of the components specified in the aggregation keys are omitted from the rate-based rule evaluation and handling. + + - `CONSTANT` - Count and limit the requests that match the rate-based rule's scope-down statement. With this option, the counted requests aren't further aggregated. The scope-down statement is the only specification used. When the count of all requests that satisfy the scope-down statement goes over the limit, AWS WAF applies the rule action to all requests that satisfy the scope-down statement. + + With this option, you must configure the `ScopeDownStatement` property. + - `CUSTOM_KEYS` - Aggregate the request counts using one or more web request components as the aggregate keys. + + With this option, you must specify the aggregate keys in the `CustomKeys` property. + + To aggregate on only the IP address or only the forwarded IP address, don't use custom keys. Instead, set the aggregate key type to `IP` or `FORWARDED_IP` . + - `FORWARDED_IP` - Aggregate the request counts on the first IP address in an HTTP header. + + With this option, you must specify the header to use in the `ForwardedIPConfig` property. + + To aggregate on a combination of the forwarded IP address with other aggregate keys, use `CUSTOM_KEYS` . + - `IP` - Aggregate the request counts on the IP address from the web request origin. + + To aggregate on a combination of the IP address with other aggregate keys, use `CUSTOM_KEYS` . + """ + limit: pulumi.Input[int] + """ + The limit on requests per 5-minute period for a single aggregation instance for the rate-based rule. If the rate-based statement includes a `ScopeDownStatement` , this limit is applied only to the requests that match the statement. + + Examples: + + - If you aggregate on just the IP address, this is the limit on requests from any single IP address. + - If you aggregate on the HTTP method and the query argument name "city", then this is the limit on requests for any single method, city pair. + """ + custom_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input['WebAclRateBasedStatementCustomKeyArgsDict']]]] + """ + Specifies the aggregate keys to use in a rate-base rule. + """ + evaluation_window_sec: NotRequired[pulumi.Input[int]] + """ + The amount of time, in seconds, that AWS WAF should include in its request counts, looking back from the current time. For example, for a setting of 120, when AWS WAF checks the rate, it counts the requests for the 2 minutes immediately preceding the current time. Valid settings are 60, 120, 300, and 600. + + This setting doesn't determine how often AWS WAF checks the rate, but how far back it looks each time it checks. AWS WAF checks the rate about every 10 seconds. + + Default: `300` (5 minutes) + """ + forwarded_ip_config: NotRequired[pulumi.Input['WebAclForwardedIpConfigurationArgsDict']] + """ + The configuration for inspecting IP addresses in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name. + + > If the specified header isn't present in the request, AWS WAF doesn't apply the rule to the web request at all. + + This is required if you specify a forwarded IP in the rule's aggregate key settings. + """ + scope_down_statement: NotRequired[pulumi.Input['WebAclStatementArgsDict']] + """ + An optional nested statement that narrows the scope of the web requests that are evaluated and managed by the rate-based statement. When you use a scope-down statement, the rate-based rule only tracks and rate limits requests that match the scope-down statement. You can use any nestable `Statement` in the scope-down statement, and you can nest statements at any level, the same as you can for a rule statement. + """ +elif False: + WebAclRateBasedStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRateBasedStatementArgs: def __init__(__self__, *, @@ -6358,6 +8932,22 @@ def scope_down_statement(self, value: Optional[pulumi.Input['WebAclStatementArgs pulumi.set(self, "scope_down_statement", value) +if not MYPY: + class WebAclRateLimitCookieArgsDict(TypedDict): + """ + Specifies a cookie as an aggregate key for a rate-based rule. + """ + name: pulumi.Input[str] + """ + The name of the cookie to use. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the `FieldToMatch` request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents. + """ +elif False: + WebAclRateLimitCookieArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRateLimitCookieArgs: def __init__(__self__, *, @@ -6396,6 +8986,15 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['WebAcl pulumi.set(self, "text_transformations", value) +if not MYPY: + class WebAclRateLimitForwardedIpArgsDict(TypedDict): + """ + Specifies the first IP address in an HTTP header as an aggregate key for a rate-based rule. + """ + pass +elif False: + WebAclRateLimitForwardedIpArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRateLimitForwardedIpArgs: def __init__(__self__): @@ -6405,6 +9004,22 @@ def __init__(__self__): pass +if not MYPY: + class WebAclRateLimitHeaderArgsDict(TypedDict): + """ + Specifies a header as an aggregate key for a rate-based rule. + """ + name: pulumi.Input[str] + """ + The name of the header to use. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the `FieldToMatch` request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents. + """ +elif False: + WebAclRateLimitHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRateLimitHeaderArgs: def __init__(__self__, *, @@ -6443,6 +9058,15 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['WebAcl pulumi.set(self, "text_transformations", value) +if not MYPY: + class WebAclRateLimitHttpMethodArgsDict(TypedDict): + """ + Specifies the request's HTTP method as an aggregate key for a rate-based rule. + """ + pass +elif False: + WebAclRateLimitHttpMethodArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRateLimitHttpMethodArgs: def __init__(__self__): @@ -6452,6 +9076,15 @@ def __init__(__self__): pass +if not MYPY: + class WebAclRateLimitIpArgsDict(TypedDict): + """ + Specifies the IP address in the web request as an aggregate key for a rate-based rule. + """ + pass +elif False: + WebAclRateLimitIpArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRateLimitIpArgs: def __init__(__self__): @@ -6461,6 +9094,18 @@ def __init__(__self__): pass +if not MYPY: + class WebAclRateLimitLabelNamespaceArgsDict(TypedDict): + """ + Specifies a label namespace to use as an aggregate key for a rate-based rule. + """ + namespace: pulumi.Input[str] + """ + The namespace to use for aggregation. + """ +elif False: + WebAclRateLimitLabelNamespaceArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRateLimitLabelNamespaceArgs: def __init__(__self__, *, @@ -6484,6 +9129,22 @@ def namespace(self, value: pulumi.Input[str]): pulumi.set(self, "namespace", value) +if not MYPY: + class WebAclRateLimitQueryArgumentArgsDict(TypedDict): + """ + Specifies a query argument in the request as an aggregate key for a rate-based rule. + """ + name: pulumi.Input[str] + """ + The name of the query argument to use. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the `FieldToMatch` request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents. + """ +elif False: + WebAclRateLimitQueryArgumentArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRateLimitQueryArgumentArgs: def __init__(__self__, *, @@ -6522,6 +9183,18 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['WebAcl pulumi.set(self, "text_transformations", value) +if not MYPY: + class WebAclRateLimitQueryStringArgsDict(TypedDict): + """ + Specifies the request's query string as an aggregate key for a rate-based rule. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the `FieldToMatch` request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents. + """ +elif False: + WebAclRateLimitQueryStringArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRateLimitQueryStringArgs: def __init__(__self__, *, @@ -6538,12 +9211,24 @@ def text_transformations(self) -> pulumi.Input[Sequence[pulumi.Input['WebAclText """ Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the `FieldToMatch` request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents. """ - return pulumi.get(self, "text_transformations") - - @text_transformations.setter - def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgs']]]): - pulumi.set(self, "text_transformations", value) - + return pulumi.get(self, "text_transformations") + + @text_transformations.setter + def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgs']]]): + pulumi.set(self, "text_transformations", value) + + +if not MYPY: + class WebAclRateLimitUriPathArgsDict(TypedDict): + """ + Specifies the request's URI Path as an aggregate key for a rate-based rule. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the `FieldToMatch` request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents. + """ +elif False: + WebAclRateLimitUriPathArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class WebAclRateLimitUriPathArgs: @@ -6568,6 +9253,23 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['WebAcl pulumi.set(self, "text_transformations", value) +if not MYPY: + class WebAclRegexMatchStatementArgsDict(TypedDict): + field_to_match: pulumi.Input['WebAclFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + regex_string: pulumi.Input[str] + """ + The string representing the regular expression. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ +elif False: + WebAclRegexMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRegexMatchStatementArgs: def __init__(__self__, *, @@ -6620,6 +9322,23 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['WebAcl pulumi.set(self, "text_transformations", value) +if not MYPY: + class WebAclRegexPatternSetReferenceStatementArgsDict(TypedDict): + arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the `RegexPatternSet` that this statement references. + """ + field_to_match: pulumi.Input['WebAclFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ +elif False: + WebAclRegexPatternSetReferenceStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRegexPatternSetReferenceStatementArgs: def __init__(__self__, *, @@ -6672,6 +9391,20 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['WebAcl pulumi.set(self, "text_transformations", value) +if not MYPY: + class WebAclRequestBodyAssociatedResourceTypeConfigArgsDict(TypedDict): + """ + Configures the inspection size in the request body. + """ + default_size_inspection_limit: pulumi.Input['WebAclSizeInspectionLimit'] + """ + Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to AWS WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. + + Default: `16 KB (16,384 bytes)` + """ +elif False: + WebAclRequestBodyAssociatedResourceTypeConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRequestBodyAssociatedResourceTypeConfigArgs: def __init__(__self__, *, @@ -6699,6 +9432,87 @@ def default_size_inspection_limit(self, value: pulumi.Input['WebAclSizeInspectio pulumi.set(self, "default_size_inspection_limit", value) +if not MYPY: + class WebAclRequestInspectionAcfpArgsDict(TypedDict): + """ + Configures the inspection of sign-up requests + """ + payload_type: pulumi.Input['WebAclRequestInspectionAcfpPayloadType'] + """ + The payload type for your account creation endpoint, either JSON or form encoded. + """ + address_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['WebAclFieldIdentifierArgsDict']]]] + """ + The names of the fields in the request payload that contain your customer's primary physical address. + + Order the address fields in the array exactly as they are ordered in the request payload. + + How you specify the address fields depends on the request inspection payload type. + + - For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation [JavaScript Object Notation (JSON) Pointer](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6901) . + + For example, for the JSON payload `{ "form": { "primaryaddressline1": "THE_ADDRESS1", "primaryaddressline2": "THE_ADDRESS2", "primaryaddressline3": "THE_ADDRESS3" } }` , the address field idenfiers are `/form/primaryaddressline1` , `/form/primaryaddressline2` , and `/form/primaryaddressline3` . + - For form encoded payload types, use the HTML form names. + + For example, for an HTML form with input elements named `primaryaddressline1` , `primaryaddressline2` , and `primaryaddressline3` , the address fields identifiers are `primaryaddressline1` , `primaryaddressline2` , and `primaryaddressline3` . + """ + email_field: NotRequired[pulumi.Input['WebAclFieldIdentifierArgsDict']] + """ + The name of the field in the request payload that contains your customer's email. + + How you specify this depends on the request inspection payload type. + + - For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation [JavaScript Object Notation (JSON) Pointer](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6901) . + + For example, for the JSON payload `{ "form": { "email": "THE_EMAIL" } }` , the email field specification is `/form/email` . + - For form encoded payload types, use the HTML form names. + + For example, for an HTML form with the input element named `email1` , the email field specification is `email1` . + """ + password_field: NotRequired[pulumi.Input['WebAclFieldIdentifierArgsDict']] + """ + The name of the field in the request payload that contains your customer's password. + + How you specify this depends on the request inspection payload type. + + - For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation [JavaScript Object Notation (JSON) Pointer](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6901) . + + For example, for the JSON payload `{ "form": { "password": "THE_PASSWORD" } }` , the password field specification is `/form/password` . + - For form encoded payload types, use the HTML form names. + + For example, for an HTML form with the input element named `password1` , the password field specification is `password1` . + """ + phone_number_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input['WebAclFieldIdentifierArgsDict']]]] + """ + The names of the fields in the request payload that contain your customer's primary phone number. + + Order the phone number fields in the array exactly as they are ordered in the request payload. + + How you specify the phone number fields depends on the request inspection payload type. + + - For JSON payloads, specify the field identifiers in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation [JavaScript Object Notation (JSON) Pointer](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6901) . + + For example, for the JSON payload `{ "form": { "primaryphoneline1": "THE_PHONE1", "primaryphoneline2": "THE_PHONE2", "primaryphoneline3": "THE_PHONE3" } }` , the phone number field identifiers are `/form/primaryphoneline1` , `/form/primaryphoneline2` , and `/form/primaryphoneline3` . + - For form encoded payload types, use the HTML form names. + + For example, for an HTML form with input elements named `primaryphoneline1` , `primaryphoneline2` , and `primaryphoneline3` , the phone number field identifiers are `primaryphoneline1` , `primaryphoneline2` , and `primaryphoneline3` . + """ + username_field: NotRequired[pulumi.Input['WebAclFieldIdentifierArgsDict']] + """ + The name of the field in the request payload that contains your customer's username. + + How you specify this depends on the request inspection payload type. + + - For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation [JavaScript Object Notation (JSON) Pointer](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6901) . + + For example, for the JSON payload `{ "form": { "username": "THE_USERNAME" } }` , the username field specification is `/form/username` . + - For form encoded payload types, use the HTML form names. + + For example, for an HTML form with the input element named `username1` , the username field specification is `username1` + """ +elif False: + WebAclRequestInspectionAcfpArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRequestInspectionAcfpArgs: def __init__(__self__, *, @@ -6900,6 +9714,44 @@ def username_field(self, value: Optional[pulumi.Input['WebAclFieldIdentifierArgs pulumi.set(self, "username_field", value) +if not MYPY: + class WebAclRequestInspectionArgsDict(TypedDict): + """ + Configures the inspection of login requests + """ + password_field: pulumi.Input['WebAclFieldIdentifierArgsDict'] + """ + The name of the field in the request payload that contains your customer's password. + + How you specify this depends on the request inspection payload type. + + - For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation [JavaScript Object Notation (JSON) Pointer](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6901) . + + For example, for the JSON payload `{ "form": { "password": "THE_PASSWORD" } }` , the password field specification is `/form/password` . + - For form encoded payload types, use the HTML form names. + + For example, for an HTML form with the input element named `password1` , the password field specification is `password1` . + """ + payload_type: pulumi.Input['WebAclRequestInspectionPayloadType'] + """ + The payload type for your login endpoint, either JSON or form encoded. + """ + username_field: pulumi.Input['WebAclFieldIdentifierArgsDict'] + """ + The name of the field in the request payload that contains your customer's username. + + How you specify this depends on the request inspection payload type. + + - For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation [JavaScript Object Notation (JSON) Pointer](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc6901) . + + For example, for the JSON payload `{ "form": { "username": "THE_USERNAME" } }` , the username field specification is `/form/username` . + - For form encoded payload types, use the HTML form names. + + For example, for an HTML form with the input element named `username1` , the username field specification is `username1` + """ +elif False: + WebAclRequestInspectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRequestInspectionArgs: def __init__(__self__, *, @@ -6989,6 +9841,26 @@ def username_field(self, value: pulumi.Input['WebAclFieldIdentifierArgs']): pulumi.set(self, "username_field", value) +if not MYPY: + class WebAclResponseInspectionBodyContainsArgsDict(TypedDict): + """ + Response body contents that indicate success or failure of a login request + """ + failure_strings: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings. + + JSON example: `"FailureStrings": [ "Request failed" ]` + """ + success_strings: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings. + + JSON examples: `"SuccessStrings": [ "Login successful" ]` and `"SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]` + """ +elif False: + WebAclResponseInspectionBodyContainsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclResponseInspectionBodyContainsArgs: def __init__(__self__, *, @@ -7035,6 +9907,32 @@ def success_strings(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "success_strings", value) +if not MYPY: + class WebAclResponseInspectionHeaderArgsDict(TypedDict): + """ + Response headers that indicate success or failure of a login request + """ + failure_values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Values in the response header with the specified name that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values. + + JSON examples: `"FailureValues": [ "LoginFailed", "Failed login" ]` and `"FailureValues": [ "AccountCreationFailed" ]` + """ + name: pulumi.Input[str] + """ + The name of the header to match against. The name must be an exact match, including case. + + JSON example: `"Name": [ "RequestResult" ]` + """ + success_values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Values in the response header with the specified name that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values. + + JSON examples: `"SuccessValues": [ "LoginPassed", "Successful login" ]` and `"SuccessValues": [ "AccountCreated", "Successful account creation" ]` + """ +elif False: + WebAclResponseInspectionHeaderArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclResponseInspectionHeaderArgs: def __init__(__self__, *, @@ -7100,6 +9998,32 @@ def success_values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "success_values", value) +if not MYPY: + class WebAclResponseInspectionJsonArgsDict(TypedDict): + """ + Response JSON that indicate success or failure of a login request + """ + failure_values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Values for the specified identifier in the response JSON that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values. + + JSON example: `"FailureValues": [ "False", "Failed" ]` + """ + identifier: pulumi.Input[str] + """ + The identifier for the value to match against in the JSON. The identifier must be an exact match, including case. + + JSON examples: `"Identifier": [ "/login/success" ]` and `"Identifier": [ "/sign-up/success" ]` + """ + success_values: pulumi.Input[Sequence[pulumi.Input[str]]] + """ + Values for the specified identifier in the response JSON that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values. + + JSON example: `"SuccessValues": [ "True", "Succeeded" ]` + """ +elif False: + WebAclResponseInspectionJsonArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclResponseInspectionJsonArgs: def __init__(__self__, *, @@ -7165,6 +10089,26 @@ def success_values(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): pulumi.set(self, "success_values", value) +if not MYPY: + class WebAclResponseInspectionStatusCodeArgsDict(TypedDict): + """ + Response status codes that indicate success or failure of a login request + """ + failure_codes: pulumi.Input[Sequence[pulumi.Input[int]]] + """ + Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes. + + JSON example: `"FailureCodes": [ 400, 404 ]` + """ + success_codes: pulumi.Input[Sequence[pulumi.Input[int]]] + """ + Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes. + + JSON example: `"SuccessCodes": [ 200, 201 ]` + """ +elif False: + WebAclResponseInspectionStatusCodeArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclResponseInspectionStatusCodeArgs: def __init__(__self__, *, @@ -7211,6 +10155,30 @@ def success_codes(self, value: pulumi.Input[Sequence[pulumi.Input[int]]]): pulumi.set(self, "success_codes", value) +if not MYPY: + class WebAclResponseInspectionArgsDict(TypedDict): + """ + Configures the inspection of login responses + """ + body_contains: NotRequired[pulumi.Input['WebAclResponseInspectionBodyContainsArgsDict']] + """ + Configures inspection of the response body for success and failure indicators. AWS WAF can inspect the first 65,536 bytes (64 KB) of the response body. + """ + header: NotRequired[pulumi.Input['WebAclResponseInspectionHeaderArgsDict']] + """ + Configures inspection of the response header for success and failure indicators. + """ + json: NotRequired[pulumi.Input['WebAclResponseInspectionJsonArgsDict']] + """ + Configures inspection of the response JSON for success and failure indicators. AWS WAF can inspect the first 65,536 bytes (64 KB) of the response JSON. + """ + status_code: NotRequired[pulumi.Input['WebAclResponseInspectionStatusCodeArgsDict']] + """ + Configures inspection of the response status code for success and failure indicators. + """ +elif False: + WebAclResponseInspectionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclResponseInspectionArgs: def __init__(__self__, *, @@ -7283,6 +10251,22 @@ def status_code(self, value: Optional[pulumi.Input['WebAclResponseInspectionStat pulumi.set(self, "status_code", value) +if not MYPY: + class WebAclRuleActionOverrideArgsDict(TypedDict): + """ + Action override for rules in the rule group. + """ + action_to_use: pulumi.Input['WebAclRuleActionArgsDict'] + """ + The override action to use, in place of the configured action of the rule in the rule group. + """ + name: pulumi.Input[str] + """ + The name of the rule to override. + """ +elif False: + WebAclRuleActionOverrideArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRuleActionOverrideArgs: def __init__(__self__, *, @@ -7321,6 +10305,47 @@ def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) +if not MYPY: + class WebAclRuleActionArgsDict(TypedDict): + """ + Action taken when Rule matches its condition. + """ + allow: NotRequired[pulumi.Input['WebAclAllowActionArgsDict']] + """ + Instructs AWS WAF to allow the web request. + """ + block: NotRequired[pulumi.Input['WebAclBlockActionArgsDict']] + """ + Instructs AWS WAF to block the web request. + """ + captcha: NotRequired[pulumi.Input['WebAclCaptchaActionArgsDict']] + """ + Specifies that AWS WAF should run a `CAPTCHA` check against the request: + + - If the request includes a valid, unexpired `CAPTCHA` token, AWS WAF allows the web request inspection to proceed to the next rule, similar to a `CountAction` . + - If the request doesn't include a valid, unexpired `CAPTCHA` token, AWS WAF discontinues the web ACL evaluation of the request and blocks it from going to its intended destination. + + AWS WAF generates a response that it sends back to the client, which includes the following: + + - The header `x-amzn-waf-action` with a value of `captcha` . + - The HTTP status code `405 Method Not Allowed` . + - If the request contains an `Accept` header with a value of `text/html` , the response includes a `CAPTCHA` challenge. + + You can configure the expiration time in the `CaptchaConfig` `ImmunityTimeProperty` setting at the rule and web ACL level. The rule setting overrides the web ACL setting. + + This action option is available for rules. It isn't available for web ACL default actions. + """ + challenge: NotRequired[pulumi.Input['WebAclChallengeActionArgsDict']] + """ + Instructs AWS WAF to run a `Challenge` check against the web request. + """ + count: NotRequired[pulumi.Input['WebAclCountActionArgsDict']] + """ + Instructs AWS WAF to count the web request and then continue evaluating the request using the remaining rules in the web ACL. + """ +elif False: + WebAclRuleActionArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRuleActionArgs: def __init__(__self__, *, @@ -7435,6 +10460,25 @@ def count(self, value: Optional[pulumi.Input['WebAclCountActionArgs']]): pulumi.set(self, "count", value) +if not MYPY: + class WebAclRuleGroupReferenceStatementArgsDict(TypedDict): + arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the entity. + """ + excluded_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['WebAclExcludedRuleArgsDict']]]] + """ + Rules in the referenced rule group whose actions are set to `Count` . + + > Instead of this option, use `RuleActionOverrides` . It accepts any valid action setting, including `Count` . + """ + rule_action_overrides: NotRequired[pulumi.Input[Sequence[pulumi.Input['WebAclRuleActionOverrideArgsDict']]]] + """ + Action overrides for rules in the rule group. + """ +elif False: + WebAclRuleGroupReferenceStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRuleGroupReferenceStatementArgs: def __init__(__self__, *, @@ -7493,6 +10537,68 @@ def rule_action_overrides(self, value: Optional[pulumi.Input[Sequence[pulumi.Inp pulumi.set(self, "rule_action_overrides", value) +if not MYPY: + class WebAclRuleArgsDict(TypedDict): + """ + Rule of WebACL that contains condition and action. + """ + name: pulumi.Input[str] + """ + The name of the rule. + + If you change the name of a `Rule` after you create it and you want the rule's metric name to reflect the change, update the metric name in the rule's `VisibilityConfig` settings. AWS WAF doesn't automatically update the metric name when you update the rule name. + """ + priority: pulumi.Input[int] + """ + If you define more than one `Rule` in a `WebACL` , AWS WAF evaluates each request against the `Rules` in order based on the value of `Priority` . AWS WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different. + """ + statement: pulumi.Input['WebAclStatementArgsDict'] + """ + The AWS WAF processing statement for the rule, for example `ByteMatchStatement` or `SizeConstraintStatement` . + """ + visibility_config: pulumi.Input['WebAclVisibilityConfigArgsDict'] + """ + Defines and enables Amazon CloudWatch metrics and web request sample collection. + + If you change the name of a `Rule` after you create it and you want the rule's metric name to reflect the change, update the metric name as well. AWS WAF doesn't automatically update the metric name. + """ + action: NotRequired[pulumi.Input['WebAclRuleActionArgsDict']] + """ + The action that AWS WAF should take on a web request when it matches the rule's statement. Settings at the web ACL level can override the rule action setting. + + This is used only for rules whose statements don't reference a rule group. Rule statements that reference a rule group are `RuleGroupReferenceStatement` and `ManagedRuleGroupStatement` . + + You must set either this `Action` setting or the rule's `OverrideAction` , but not both: + + - If the rule statement doesn't reference a rule group, you must set this rule action setting and you must not set the rule's override action setting. + - If the rule statement references a rule group, you must not set this action setting, because the actions are already set on the rules inside the rule group. You must set the rule's override action setting to indicate specifically whether to override the actions that are set on the rules in the rule group. + """ + captcha_config: NotRequired[pulumi.Input['WebAclCaptchaConfigArgsDict']] + """ + Specifies how AWS WAF should handle `CAPTCHA` evaluations. If you don't specify this, AWS WAF uses the `CAPTCHA` configuration that's defined for the web ACL. + """ + challenge_config: NotRequired[pulumi.Input['WebAclChallengeConfigArgsDict']] + """ + Specifies how AWS WAF should handle `Challenge` evaluations. If you don't specify this, AWS WAF uses the challenge configuration that's defined for the web ACL. + """ + override_action: NotRequired[pulumi.Input['WebAclOverrideActionArgsDict']] + """ + The override action to apply to the rules in a rule group, instead of the individual rule action settings. This is used only for rules whose statements reference a rule group. Rule statements that reference a rule group are `RuleGroupReferenceStatement` and `ManagedRuleGroupStatement` . + + Set the override action to none to leave the rule group rule actions in effect. Set it to count to only count matches, regardless of the rule action settings. + + You must set either this `OverrideAction` setting or the `Action` setting, but not both: + + - If the rule statement references a rule group, you must set this override action setting and you must not set the rule's action setting. + - If the rule statement doesn't reference a rule group, you must set the rule action setting and you must not set the rule's override action setting. + """ + rule_labels: NotRequired[pulumi.Input[Sequence[pulumi.Input['WebAclLabelArgsDict']]]] + """ + Collection of Rule Labels. + """ +elif False: + WebAclRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclRuleArgs: def __init__(__self__, *, @@ -7677,6 +10783,30 @@ def rule_labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WebAcl pulumi.set(self, "rule_labels", value) +if not MYPY: + class WebAclSizeConstraintStatementArgsDict(TypedDict): + """ + Size Constraint statement. + """ + comparison_operator: pulumi.Input['WebAclSizeConstraintStatementComparisonOperator'] + """ + The operator to use to compare the request part to the size setting. + """ + field_to_match: pulumi.Input['WebAclFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + size: pulumi.Input[float] + """ + The size, in byte, to compare to the request part, after any transformations. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ +elif False: + WebAclSizeConstraintStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclSizeConstraintStatementArgs: def __init__(__self__, *, @@ -7745,6 +10875,32 @@ def text_transformations(self, value: pulumi.Input[Sequence[pulumi.Input['WebAcl pulumi.set(self, "text_transformations", value) +if not MYPY: + class WebAclSqliMatchStatementArgsDict(TypedDict): + """ + Sqli Match Statement. + """ + field_to_match: pulumi.Input['WebAclFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ + sensitivity_level: NotRequired[pulumi.Input['WebAclSensitivityLevel']] + """ + The sensitivity that you want AWS WAF to use to inspect for SQL injection attacks. + + `HIGH` detects more attacks, but might generate more false positives, especially if your web requests frequently contain unusual strings. For information about identifying and mitigating false positives, see [Testing and tuning](https://docs.aws.amazon.com/waf/latest/developerguide/web-acl-testing.html) in the *AWS WAF Developer Guide* . + + `LOW` is generally a better choice for resources that already have other protections against SQL injection attacks or that have a low tolerance for false positives. + + Default: `LOW` + """ +elif False: + WebAclSqliMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclSqliMatchStatementArgs: def __init__(__self__, *, @@ -7811,6 +10967,142 @@ def sensitivity_level(self, value: Optional[pulumi.Input['WebAclSensitivityLevel pulumi.set(self, "sensitivity_level", value) +if not MYPY: + class WebAclStatementArgsDict(TypedDict): + """ + First level statement that contains conditions, such as ByteMatch, SizeConstraint, etc + """ + and_statement: NotRequired[pulumi.Input['WebAclAndStatementArgsDict']] + """ + A logical rule statement used to combine other rule statements with AND logic. You provide more than one `Statement` within the `AndStatement` . + """ + byte_match_statement: NotRequired[pulumi.Input['WebAclByteMatchStatementArgsDict']] + """ + A rule statement that defines a string match search for AWS WAF to apply to web requests. The byte match statement provides the bytes to search for, the location in requests that you want AWS WAF to search, and other settings. The bytes to search for are typically a string that corresponds with ASCII characters. In the AWS WAF console and the developer guide, this is called a string match statement. + """ + geo_match_statement: NotRequired[pulumi.Input['WebAclGeoMatchStatementArgsDict']] + """ + A rule statement that labels web requests by country and region and that matches against web requests based on country code. A geo match rule labels every request that it inspects regardless of whether it finds a match. + + - To manage requests only by country, you can use this statement by itself and specify the countries that you want to match against in the `CountryCodes` array. + - Otherwise, configure your geo match rule with Count action so that it only labels requests. Then, add one or more label match rules to run after the geo match rule and configure them to match against the geographic labels and handle the requests as needed. + + AWS WAF labels requests using the alpha-2 country and region codes from the International Organization for Standardization (ISO) 3166 standard. AWS WAF determines the codes using either the IP address in the web request origin or, if you specify it, the address in the geo match `ForwardedIPConfig` . + + If you use the web request origin, the label formats are `awswaf:clientip:geo:region:-` and `awswaf:clientip:geo:country:` . + + If you use a forwarded IP address, the label formats are `awswaf:forwardedip:geo:region:-` and `awswaf:forwardedip:geo:country:` . + + For additional details, see [Geographic match rule statement](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-geo-match.html) in the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) . + """ + ip_set_reference_statement: NotRequired[pulumi.Input['WebAclIpSetReferenceStatementArgsDict']] + """ + A rule statement used to detect web requests coming from particular IP addresses or address ranges. To use this, create an `IPSet` that specifies the addresses you want to detect, then use the ARN of that set in this statement. + + Each IP set rule statement references an IP set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, AWS WAF automatically updates all rules that reference it. + """ + label_match_statement: NotRequired[pulumi.Input['WebAclLabelMatchStatementArgsDict']] + """ + A rule statement to match against labels that have been added to the web request by rules that have already run in the web ACL. + + The label match statement provides the label or namespace string to search for. The label string can represent a part or all of the fully qualified label name that had been added to the web request. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label. If you do not provide the fully qualified name in your label match string, AWS WAF performs the search for labels that were added in the same context as the label match statement. + """ + managed_rule_group_statement: NotRequired[pulumi.Input['WebAclManagedRuleGroupStatementArgsDict']] + """ + A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names through the API call `ListAvailableManagedRuleGroups` . + + You cannot nest a `ManagedRuleGroupStatement` , for example for use inside a `NotStatement` or `OrStatement` . It can only be referenced as a top-level statement within a rule. + + > You are charged additional fees when you use the AWS WAF Bot Control managed rule group `AWSManagedRulesBotControlRuleSet` , the AWS WAF Fraud Control account takeover prevention (ATP) managed rule group `AWSManagedRulesATPRuleSet` , or the AWS WAF Fraud Control account creation fraud prevention (ACFP) managed rule group `AWSManagedRulesACFPRuleSet` . For more information, see [AWS WAF Pricing](https://docs.aws.amazon.com/waf/pricing/) . + """ + not_statement: NotRequired[pulumi.Input['WebAclNotStatementArgsDict']] + """ + A logical rule statement used to negate the results of another rule statement. You provide one `Statement` within the `NotStatement` . + """ + or_statement: NotRequired[pulumi.Input['WebAclOrStatementArgsDict']] + """ + A logical rule statement used to combine other rule statements with OR logic. You provide more than one `Statement` within the `OrStatement` . + """ + rate_based_statement: NotRequired[pulumi.Input['WebAclRateBasedStatementArgsDict']] + """ + A rate-based rule counts incoming requests and rate limits requests when they are coming at too fast a rate. The rule categorizes requests according to your aggregation criteria, collects them into aggregation instances, and counts and rate limits the requests for each instance. + + > If you change any of these settings in a rule that's currently in use, the change resets the rule's rate limiting counts. This can pause the rule's rate limiting activities for up to a minute. + + You can specify individual aggregation keys, like IP address or HTTP method. You can also specify aggregation key combinations, like IP address and HTTP method, or HTTP method, query argument, and cookie. + + Each unique set of values for the aggregation keys that you specify is a separate aggregation instance, with the value from each key contributing to the aggregation instance definition. + + For example, assume the rule evaluates web requests with the following IP address and HTTP method values: + + - IP address 10.1.1.1, HTTP method POST + - IP address 10.1.1.1, HTTP method GET + - IP address 127.0.0.0, HTTP method POST + - IP address 10.1.1.1, HTTP method GET + + The rule would create different aggregation instances according to your aggregation criteria, for example: + + - If the aggregation criteria is just the IP address, then each individual address is an aggregation instance, and AWS WAF counts requests separately for each. The aggregation instances and request counts for our example would be the following: + + - IP address 10.1.1.1: count 3 + - IP address 127.0.0.0: count 1 + - If the aggregation criteria is HTTP method, then each individual HTTP method is an aggregation instance. The aggregation instances and request counts for our example would be the following: + + - HTTP method POST: count 2 + - HTTP method GET: count 2 + - If the aggregation criteria is IP address and HTTP method, then each IP address and each HTTP method would contribute to the combined aggregation instance. The aggregation instances and request counts for our example would be the following: + + - IP address 10.1.1.1, HTTP method POST: count 1 + - IP address 10.1.1.1, HTTP method GET: count 2 + - IP address 127.0.0.0, HTTP method POST: count 1 + + For any n-tuple of aggregation keys, each unique combination of values for the keys defines a separate aggregation instance, which AWS WAF counts and rate-limits individually. + + You can optionally nest another statement inside the rate-based statement, to narrow the scope of the rule so that it only counts and rate limits requests that match the nested statement. You can use this nested scope-down statement in conjunction with your aggregation key specifications or you can just count and rate limit all requests that match the scope-down statement, without additional aggregation. When you choose to just manage all requests that match a scope-down statement, the aggregation instance is singular for the rule. + + You cannot nest a `RateBasedStatement` inside another statement, for example inside a `NotStatement` or `OrStatement` . You can define a `RateBasedStatement` inside a web ACL and inside a rule group. + + For additional information about the options, see [Rate limiting web requests using rate-based rules](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rate-based-rules.html) in the *AWS WAF Developer Guide* . + + If you only aggregate on the individual IP address or forwarded IP address, you can retrieve the list of IP addresses that AWS WAF is currently rate limiting for a rule through the API call `GetRateBasedStatementManagedKeys` . This option is not available for other aggregation configurations. + + AWS WAF tracks and manages web requests separately for each instance of a rate-based rule that you use. For example, if you provide the same rate-based rule settings in two web ACLs, each of the two rule statements represents a separate instance of the rate-based rule and gets its own tracking and management by AWS WAF . If you define a rate-based rule inside a rule group, and then use that rule group in multiple places, each use creates a separate instance of the rate-based rule that gets its own tracking and management by AWS WAF . + """ + regex_match_statement: NotRequired[pulumi.Input['WebAclRegexMatchStatementArgsDict']] + """ + A rule statement used to search web request components for a match against a single regular expression. + """ + regex_pattern_set_reference_statement: NotRequired[pulumi.Input['WebAclRegexPatternSetReferenceStatementArgsDict']] + """ + A rule statement used to search web request components for matches with regular expressions. To use this, create a `RegexPatternSet` that specifies the expressions that you want to detect, then use the ARN of that set in this statement. A web request matches the pattern set rule statement if the request component matches any of the patterns in the set. + + Each regex pattern set rule statement references a regex pattern set. You create and maintain the set independent of your rules. This allows you to use the single set in multiple rules. When you update the referenced set, AWS WAF automatically updates all rules that reference it. + """ + rule_group_reference_statement: NotRequired[pulumi.Input['WebAclRuleGroupReferenceStatementArgsDict']] + """ + A rule statement used to run the rules that are defined in a `RuleGroup` . To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement. + + You cannot nest a `RuleGroupReferenceStatement` , for example for use inside a `NotStatement` or `OrStatement` . You cannot use a rule group reference statement inside another rule group. You can only reference a rule group as a top-level statement within a rule that you define in a web ACL. + """ + size_constraint_statement: NotRequired[pulumi.Input['WebAclSizeConstraintStatementArgsDict']] + """ + A rule statement that compares a number of bytes against the size of a request component, using a comparison operator, such as greater than (>) or less than (<). For example, you can use a size constraint statement to look for query strings that are longer than 100 bytes. + + If you configure AWS WAF to inspect the request body, AWS WAF inspects only the number of bytes in the body up to the limit for the web ACL and protected resource type. If you know that the request body for your web requests should never exceed the inspection limit, you can use a size constraint statement to block requests that have a larger request body size. For more information about the inspection limits, see `Body` and `JsonBody` settings for the `FieldToMatch` data type. + + If you choose URI for the value of Part of the request to filter on, the slash (/) in the URI counts as one character. For example, the URI `/logo.jpg` is nine characters long. + """ + sqli_match_statement: NotRequired[pulumi.Input['WebAclSqliMatchStatementArgsDict']] + """ + A rule statement that inspects for malicious SQL code. Attackers insert malicious SQL code into web requests to do things like modify your database or extract data from it. + """ + xss_match_statement: NotRequired[pulumi.Input['WebAclXssMatchStatementArgsDict']] + """ + A rule statement that inspects for cross-site scripting (XSS) attacks. In XSS attacks, the attacker uses vulnerabilities in a benign website as a vehicle to inject malicious client-site scripts into other legitimate web browsers. + """ +elif False: + WebAclStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclStatementArgs: def __init__(__self__, *, @@ -8195,6 +11487,22 @@ def xss_match_statement(self, value: Optional[pulumi.Input['WebAclXssMatchStatem pulumi.set(self, "xss_match_statement", value) +if not MYPY: + class WebAclTextTransformationArgsDict(TypedDict): + """ + Text Transformation on the Search String before match. + """ + priority: pulumi.Input[int] + """ + Sets the relative processing order for multiple transformations. AWS WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different. + """ + type: pulumi.Input['WebAclTextTransformationType'] + """ + For detailed descriptions of each of the transformation types, see [Text transformations](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-transformation.html) in the *AWS WAF Developer Guide* . + """ +elif False: + WebAclTextTransformationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclTextTransformationArgs: def __init__(__self__, *, @@ -8233,6 +11541,31 @@ def type(self, value: pulumi.Input['WebAclTextTransformationType']): pulumi.set(self, "type", value) +if not MYPY: + class WebAclVisibilityConfigArgsDict(TypedDict): + """ + Visibility Metric of the WebACL. + """ + cloud_watch_metrics_enabled: pulumi.Input[bool] + """ + Indicates whether the associated resource sends metrics to Amazon CloudWatch. For the list of available metrics, see [AWS WAF Metrics](https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics) in the *AWS WAF Developer Guide* . + + For web ACLs, the metrics are for web requests that have the web ACL default action applied. AWS WAF applies the default action to web requests that pass the inspection of all rules in the web ACL without being either allowed or blocked. For more information, + see [The web ACL default action](https://docs.aws.amazon.com/waf/latest/developerguide/web-acl-default-action.html) in the *AWS WAF Developer Guide* . + """ + metric_name: pulumi.Input[str] + """ + A name of the Amazon CloudWatch metric dimension. The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names that are reserved for AWS WAF , for example `All` and `Default_Action` . + """ + sampled_requests_enabled: pulumi.Input[bool] + """ + Indicates whether AWS WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the AWS WAF console. + + > Request sampling doesn't provide a field redaction option, and any field redaction that you specify in your logging configuration doesn't affect sampling. The only way to exclude fields from request sampling is by disabling sampling in the web ACL visibility configuration. + """ +elif False: + WebAclVisibilityConfigArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclVisibilityConfigArgs: def __init__(__self__, *, @@ -8296,6 +11629,22 @@ def sampled_requests_enabled(self, value: pulumi.Input[bool]): pulumi.set(self, "sampled_requests_enabled", value) +if not MYPY: + class WebAclXssMatchStatementArgsDict(TypedDict): + """ + Xss Match Statement. + """ + field_to_match: pulumi.Input['WebAclFieldToMatchArgsDict'] + """ + The part of the web request that you want AWS WAF to inspect. + """ + text_transformations: pulumi.Input[Sequence[pulumi.Input['WebAclTextTransformationArgsDict']]] + """ + Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by `FieldToMatch` , starting from the lowest priority setting, before inspecting the content for a match. + """ +elif False: + WebAclXssMatchStatementArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WebAclXssMatchStatementArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/wafv2/get_ip_set.py b/sdk/python/pulumi_aws_native/wafv2/get_ip_set.py index d491f239db..cd7312716e 100644 --- a/sdk/python/pulumi_aws_native/wafv2/get_ip_set.py +++ b/sdk/python/pulumi_aws_native/wafv2/get_ip_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -133,9 +138,6 @@ def get_ip_set(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), ip_address_version=pulumi.get(__ret__, 'ip_address_version'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_ip_set) def get_ip_set_output(id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, scope: Optional[pulumi.Input['IpSetScope']] = None, @@ -150,4 +152,16 @@ def get_ip_set_output(id: Optional[pulumi.Input[str]] = None, > For `CLOUDFRONT` , you must create your WAFv2 resources in the US East (N. Virginia) Region, `us-east-1` . """ - ... + __args__ = dict() + __args__['id'] = id + __args__['name'] = name + __args__['scope'] = scope + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:wafv2:getIpSet', __args__, opts=opts, typ=GetIpSetResult) + return __ret__.apply(lambda __response__: GetIpSetResult( + addresses=pulumi.get(__response__, 'addresses'), + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + ip_address_version=pulumi.get(__response__, 'ip_address_version'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/wafv2/get_logging_configuration.py b/sdk/python/pulumi_aws_native/wafv2/get_logging_configuration.py index 51af5ea9e8..1c9080ae6c 100644 --- a/sdk/python/pulumi_aws_native/wafv2/get_logging_configuration.py +++ b/sdk/python/pulumi_aws_native/wafv2/get_logging_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -97,9 +102,6 @@ def get_logging_configuration(resource_arn: Optional[str] = None, logging_filter=pulumi.get(__ret__, 'logging_filter'), managed_by_firewall_manager=pulumi.get(__ret__, 'managed_by_firewall_manager'), redacted_fields=pulumi.get(__ret__, 'redacted_fields')) - - -@_utilities.lift_output_func(get_logging_configuration) def get_logging_configuration_output(resource_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLoggingConfigurationResult]: """ @@ -108,4 +110,12 @@ def get_logging_configuration_output(resource_arn: Optional[pulumi.Input[str]] = :param str resource_arn: The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs. """ - ... + __args__ = dict() + __args__['resourceArn'] = resource_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:wafv2:getLoggingConfiguration', __args__, opts=opts, typ=GetLoggingConfigurationResult) + return __ret__.apply(lambda __response__: GetLoggingConfigurationResult( + log_destination_configs=pulumi.get(__response__, 'log_destination_configs'), + logging_filter=pulumi.get(__response__, 'logging_filter'), + managed_by_firewall_manager=pulumi.get(__response__, 'managed_by_firewall_manager'), + redacted_fields=pulumi.get(__response__, 'redacted_fields'))) diff --git a/sdk/python/pulumi_aws_native/wafv2/get_regex_pattern_set.py b/sdk/python/pulumi_aws_native/wafv2/get_regex_pattern_set.py index c73ecd8fc8..f6e95900bc 100644 --- a/sdk/python/pulumi_aws_native/wafv2/get_regex_pattern_set.py +++ b/sdk/python/pulumi_aws_native/wafv2/get_regex_pattern_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -118,9 +123,6 @@ def get_regex_pattern_set(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), regular_expression_list=pulumi.get(__ret__, 'regular_expression_list'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_regex_pattern_set) def get_regex_pattern_set_output(id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, scope: Optional[pulumi.Input['RegexPatternSetScope']] = None, @@ -133,4 +135,15 @@ def get_regex_pattern_set_output(id: Optional[pulumi.Input[str]] = None, :param str name: Name of the RegexPatternSet. :param 'RegexPatternSetScope' scope: Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway. """ - ... + __args__ = dict() + __args__['id'] = id + __args__['name'] = name + __args__['scope'] = scope + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:wafv2:getRegexPatternSet', __args__, opts=opts, typ=GetRegexPatternSetResult) + return __ret__.apply(lambda __response__: GetRegexPatternSetResult( + arn=pulumi.get(__response__, 'arn'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + regular_expression_list=pulumi.get(__response__, 'regular_expression_list'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/wafv2/get_rule_group.py b/sdk/python/pulumi_aws_native/wafv2/get_rule_group.py index f01f48a4da..dc6e080076 100644 --- a/sdk/python/pulumi_aws_native/wafv2/get_rule_group.py +++ b/sdk/python/pulumi_aws_native/wafv2/get_rule_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -211,9 +216,6 @@ def get_rule_group(id: Optional[str] = None, rules=pulumi.get(__ret__, 'rules'), tags=pulumi.get(__ret__, 'tags'), visibility_config=pulumi.get(__ret__, 'visibility_config')) - - -@_utilities.lift_output_func(get_rule_group) def get_rule_group_output(id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, scope: Optional[pulumi.Input['RuleGroupScope']] = None, @@ -228,4 +230,21 @@ def get_rule_group_output(id: Optional[pulumi.Input[str]] = None, > For `CLOUDFRONT` , you must create your WAFv2 resources in the US East (N. Virginia) Region, `us-east-1` . """ - ... + __args__ = dict() + __args__['id'] = id + __args__['name'] = name + __args__['scope'] = scope + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:wafv2:getRuleGroup', __args__, opts=opts, typ=GetRuleGroupResult) + return __ret__.apply(lambda __response__: GetRuleGroupResult( + arn=pulumi.get(__response__, 'arn'), + available_labels=pulumi.get(__response__, 'available_labels'), + capacity=pulumi.get(__response__, 'capacity'), + consumed_labels=pulumi.get(__response__, 'consumed_labels'), + custom_response_bodies=pulumi.get(__response__, 'custom_response_bodies'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + label_namespace=pulumi.get(__response__, 'label_namespace'), + rules=pulumi.get(__response__, 'rules'), + tags=pulumi.get(__response__, 'tags'), + visibility_config=pulumi.get(__response__, 'visibility_config'))) diff --git a/sdk/python/pulumi_aws_native/wafv2/get_web_acl.py b/sdk/python/pulumi_aws_native/wafv2/get_web_acl.py index 2e0e7e6851..f237a88812 100644 --- a/sdk/python/pulumi_aws_native/wafv2/get_web_acl.py +++ b/sdk/python/pulumi_aws_native/wafv2/get_web_acl.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -256,9 +261,6 @@ def get_web_acl(id: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), token_domains=pulumi.get(__ret__, 'token_domains'), visibility_config=pulumi.get(__ret__, 'visibility_config')) - - -@_utilities.lift_output_func(get_web_acl) def get_web_acl_output(id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, scope: Optional[pulumi.Input['WebAclScope']] = None, @@ -275,4 +277,24 @@ def get_web_acl_output(id: Optional[pulumi.Input[str]] = None, For information about how to define the association of the web ACL with your resource, see `WebACLAssociation` . """ - ... + __args__ = dict() + __args__['id'] = id + __args__['name'] = name + __args__['scope'] = scope + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:wafv2:getWebAcl', __args__, opts=opts, typ=GetWebAclResult) + return __ret__.apply(lambda __response__: GetWebAclResult( + arn=pulumi.get(__response__, 'arn'), + association_config=pulumi.get(__response__, 'association_config'), + capacity=pulumi.get(__response__, 'capacity'), + captcha_config=pulumi.get(__response__, 'captcha_config'), + challenge_config=pulumi.get(__response__, 'challenge_config'), + custom_response_bodies=pulumi.get(__response__, 'custom_response_bodies'), + default_action=pulumi.get(__response__, 'default_action'), + description=pulumi.get(__response__, 'description'), + id=pulumi.get(__response__, 'id'), + label_namespace=pulumi.get(__response__, 'label_namespace'), + rules=pulumi.get(__response__, 'rules'), + tags=pulumi.get(__response__, 'tags'), + token_domains=pulumi.get(__response__, 'token_domains'), + visibility_config=pulumi.get(__response__, 'visibility_config'))) diff --git a/sdk/python/pulumi_aws_native/wafv2/ip_set.py b/sdk/python/pulumi_aws_native/wafv2/ip_set.py index dc499708c6..9ce1eb2c0b 100644 --- a/sdk/python/pulumi_aws_native/wafv2/ip_set.py +++ b/sdk/python/pulumi_aws_native/wafv2/ip_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/wafv2/logging_configuration.py b/sdk/python/pulumi_aws_native/wafv2/logging_configuration.py index 5b5f59b62b..288489aeaa 100644 --- a/sdk/python/pulumi_aws_native/wafv2/logging_configuration.py +++ b/sdk/python/pulumi_aws_native/wafv2/logging_configuration.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/wafv2/outputs.py b/sdk/python/pulumi_aws_native/wafv2/outputs.py index 8494dfaa77..86e66bf325 100644 --- a/sdk/python/pulumi_aws_native/wafv2/outputs.py +++ b/sdk/python/pulumi_aws_native/wafv2/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/wafv2/regex_pattern_set.py b/sdk/python/pulumi_aws_native/wafv2/regex_pattern_set.py index 7827928d7f..274fbb7e35 100644 --- a/sdk/python/pulumi_aws_native/wafv2/regex_pattern_set.py +++ b/sdk/python/pulumi_aws_native/wafv2/regex_pattern_set.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/wafv2/rule_group.py b/sdk/python/pulumi_aws_native/wafv2/rule_group.py index 9c009145e6..1439106a7e 100644 --- a/sdk/python/pulumi_aws_native/wafv2/rule_group.py +++ b/sdk/python/pulumi_aws_native/wafv2/rule_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/wafv2/web_acl.py b/sdk/python/pulumi_aws_native/wafv2/web_acl.py index eea9899806..8b622a00ca 100644 --- a/sdk/python/pulumi_aws_native/wafv2/web_acl.py +++ b/sdk/python/pulumi_aws_native/wafv2/web_acl.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/wafv2/web_acl_association.py b/sdk/python/pulumi_aws_native/wafv2/web_acl_association.py index 33e5f3ef4d..b263d11559 100644 --- a/sdk/python/pulumi_aws_native/wafv2/web_acl_association.py +++ b/sdk/python/pulumi_aws_native/wafv2/web_acl_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['WebAclAssociationArgs', 'WebAclAssociation'] diff --git a/sdk/python/pulumi_aws_native/wisdom/_inputs.py b/sdk/python/pulumi_aws_native/wisdom/_inputs.py index b56ca3ed45..e99a338edc 100644 --- a/sdk/python/pulumi_aws_native/wisdom/_inputs.py +++ b/sdk/python/pulumi_aws_native/wisdom/_inputs.py @@ -4,21 +4,43 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'AssistantAssociationAssociationDataArgs', + 'AssistantAssociationAssociationDataArgsDict', 'AssistantServerSideEncryptionConfigurationArgs', + 'AssistantServerSideEncryptionConfigurationArgsDict', 'KnowledgeBaseAppIntegrationsConfigurationArgs', + 'KnowledgeBaseAppIntegrationsConfigurationArgsDict', 'KnowledgeBaseRenderingConfigurationArgs', + 'KnowledgeBaseRenderingConfigurationArgsDict', 'KnowledgeBaseServerSideEncryptionConfigurationArgs', + 'KnowledgeBaseServerSideEncryptionConfigurationArgsDict', 'KnowledgeBaseSourceConfigurationArgs', + 'KnowledgeBaseSourceConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class AssistantAssociationAssociationDataArgsDict(TypedDict): + knowledge_base_id: pulumi.Input[str] + """ + The identifier of the knowledge base. + """ +elif False: + AssistantAssociationAssociationDataArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssistantAssociationAssociationDataArgs: def __init__(__self__, *, @@ -41,6 +63,15 @@ def knowledge_base_id(self, value: pulumi.Input[str]): pulumi.set(self, "knowledge_base_id", value) +if not MYPY: + class AssistantServerSideEncryptionConfigurationArgsDict(TypedDict): + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The customer managed key used for encryption. The customer managed key must have a policy that allows `kms:CreateGrant` and `kms:DescribeKey` permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allow `kms:Decrypt` , `kms:GenerateDataKey*` , and `kms:DescribeKey` permissions to the `connect.amazonaws.com` service principal. For more information about setting up a customer managed key for Wisdom, see [Enable Amazon Connect Wisdom for your instance](https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html) . For information about valid ID values, see [Key identifiers (KeyId)](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id) in the *AWS Key Management Service Developer Guide* . + """ +elif False: + AssistantServerSideEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class AssistantServerSideEncryptionConfigurationArgs: def __init__(__self__, *, @@ -64,6 +95,33 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class KnowledgeBaseAppIntegrationsConfigurationArgsDict(TypedDict): + app_integration_arn: pulumi.Input[str] + """ + The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content. + + - For [Salesforce](https://docs.aws.amazon.com/https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/sforce_api_objects_knowledge__kav.htm) , your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least `Id` , `ArticleNumber` , `VersionNumber` , `Title` , `PublishStatus` , and `IsDeleted` as source fields. + - For [ServiceNow](https://docs.aws.amazon.com/https://developer.servicenow.com/dev.do#!/reference/api/rome/rest/knowledge-management-api) , your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least `number` , `short_description` , `sys_mod_count` , `workflow_state` , and `active` as source fields. + - For [Zendesk](https://docs.aws.amazon.com/https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/) , your AppIntegrations DataIntegration must have an ObjectConfiguration if `objectFields` is not provided, including at least `id` , `title` , `updated_at` , and `draft` as source fields. + - For [SharePoint](https://docs.aws.amazon.com/https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/sharepoint-net-server-csom-jsom-and-rest-api-index) , your AppIntegrations DataIntegration must have a FileConfiguration, including only file extensions that are among `docx` , `pdf` , `html` , `htm` , and `txt` . + - For [Amazon S3](https://docs.aws.amazon.com/s3/) , the ObjectConfiguration and FileConfiguration of your AppIntegrations DataIntegration must be null. The `SourceURI` of your DataIntegration must use the following format: `s3://your_s3_bucket_name` . + + > The bucket policy of the corresponding S3 bucket must allow the AWS principal `app-integrations.amazonaws.com` to perform `s3:ListBucket` , `s3:GetObject` , and `s3:GetBucketLocation` against the bucket. + """ + object_fields: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The fields from the source that are made available to your agents in Amazon Q in Connect. Optional if ObjectConfiguration is included in the provided DataIntegration. + + - For [Salesforce](https://docs.aws.amazon.com/https://developer.salesforce.com/docs/atlas.en-us.knowledge_dev.meta/knowledge_dev/sforce_api_objects_knowledge__kav.htm) , you must include at least `Id` , `ArticleNumber` , `VersionNumber` , `Title` , `PublishStatus` , and `IsDeleted` . + - For [ServiceNow](https://docs.aws.amazon.com/https://developer.servicenow.com/dev.do#!/reference/api/rome/rest/knowledge-management-api) , you must include at least `number` , `short_description` , `sys_mod_count` , `workflow_state` , and `active` . + - For [Zendesk](https://docs.aws.amazon.com/https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/) , you must include at least `id` , `title` , `updated_at` , and `draft` . + + Make sure to include additional fields. These fields are indexed and used to source recommendations. + """ +elif False: + KnowledgeBaseAppIntegrationsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseAppIntegrationsConfigurationArgs: def __init__(__self__, *, @@ -130,6 +188,21 @@ def object_fields(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] pulumi.set(self, "object_fields", value) +if not MYPY: + class KnowledgeBaseRenderingConfigurationArgsDict(TypedDict): + template_uri: NotRequired[pulumi.Input[str]] + """ + A URI template containing exactly one variable in `${variableName}` format. This can only be set for `EXTERNAL` knowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following: + + - Salesforce: `Id` , `ArticleNumber` , `VersionNumber` , `Title` , `PublishStatus` , or `IsDeleted` + - ServiceNow: `number` , `short_description` , `sys_mod_count` , `workflow_state` , or `active` + - Zendesk: `id` , `title` , `updated_at` , or `draft` + + The variable is replaced with the actual value for a piece of content when calling [GetContent](https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_GetContent.html) . + """ +elif False: + KnowledgeBaseRenderingConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseRenderingConfigurationArgs: def __init__(__self__, *, @@ -165,6 +238,19 @@ def template_uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "template_uri", value) +if not MYPY: + class KnowledgeBaseServerSideEncryptionConfigurationArgsDict(TypedDict): + kms_key_id: NotRequired[pulumi.Input[str]] + """ + The customer managed key used for encryption. + + This customer managed key must have a policy that allows `kms:CreateGrant` and `kms:DescribeKey` permissions to the IAM identity using the key to invoke Wisdom. + + For more information about setting up a customer managed key for Wisdom, see [Enable Amazon Connect Wisdom for your instance](https://docs.aws.amazon.com/connect/latest/adminguide/enable-wisdom.html) . For information about valid ID values, see [Key identifiers (KeyId)](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id) . + """ +elif False: + KnowledgeBaseServerSideEncryptionConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseServerSideEncryptionConfigurationArgs: def __init__(__self__, *, @@ -196,6 +282,15 @@ def kms_key_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "kms_key_id", value) +if not MYPY: + class KnowledgeBaseSourceConfigurationArgsDict(TypedDict): + app_integrations: NotRequired[pulumi.Input['KnowledgeBaseAppIntegrationsConfigurationArgsDict']] + """ + Configuration information for Amazon AppIntegrations to automatically ingest content. + """ +elif False: + KnowledgeBaseSourceConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class KnowledgeBaseSourceConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/wisdom/assistant.py b/sdk/python/pulumi_aws_native/wisdom/assistant.py index 8c2bece953..05ccafb537 100644 --- a/sdk/python/pulumi_aws_native/wisdom/assistant.py +++ b/sdk/python/pulumi_aws_native/wisdom/assistant.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/wisdom/assistant_association.py b/sdk/python/pulumi_aws_native/wisdom/assistant_association.py index b45b24ae73..abc4ee7c2a 100644 --- a/sdk/python/pulumi_aws_native/wisdom/assistant_association.py +++ b/sdk/python/pulumi_aws_native/wisdom/assistant_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/wisdom/get_assistant.py b/sdk/python/pulumi_aws_native/wisdom/get_assistant.py index ded0967be3..a0263288d3 100644 --- a/sdk/python/pulumi_aws_native/wisdom/get_assistant.py +++ b/sdk/python/pulumi_aws_native/wisdom/get_assistant.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -69,9 +74,6 @@ def get_assistant(assistant_id: Optional[str] = None, return AwaitableGetAssistantResult( assistant_arn=pulumi.get(__ret__, 'assistant_arn'), assistant_id=pulumi.get(__ret__, 'assistant_id')) - - -@_utilities.lift_output_func(get_assistant) def get_assistant_output(assistant_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAssistantResult]: """ @@ -80,4 +82,10 @@ def get_assistant_output(assistant_id: Optional[pulumi.Input[str]] = None, :param str assistant_id: The ID of the Wisdom assistant. """ - ... + __args__ = dict() + __args__['assistantId'] = assistant_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:wisdom:getAssistant', __args__, opts=opts, typ=GetAssistantResult) + return __ret__.apply(lambda __response__: GetAssistantResult( + assistant_arn=pulumi.get(__response__, 'assistant_arn'), + assistant_id=pulumi.get(__response__, 'assistant_id'))) diff --git a/sdk/python/pulumi_aws_native/wisdom/get_assistant_association.py b/sdk/python/pulumi_aws_native/wisdom/get_assistant_association.py index 9f98319b69..0604aa7986 100644 --- a/sdk/python/pulumi_aws_native/wisdom/get_assistant_association.py +++ b/sdk/python/pulumi_aws_native/wisdom/get_assistant_association.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -85,9 +90,6 @@ def get_assistant_association(assistant_association_id: Optional[str] = None, assistant_arn=pulumi.get(__ret__, 'assistant_arn'), assistant_association_arn=pulumi.get(__ret__, 'assistant_association_arn'), assistant_association_id=pulumi.get(__ret__, 'assistant_association_id')) - - -@_utilities.lift_output_func(get_assistant_association) def get_assistant_association_output(assistant_association_id: Optional[pulumi.Input[str]] = None, assistant_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAssistantAssociationResult]: @@ -98,4 +100,12 @@ def get_assistant_association_output(assistant_association_id: Optional[pulumi.I :param str assistant_association_id: The ID of the association. :param str assistant_id: The identifier of the Wisdom assistant. """ - ... + __args__ = dict() + __args__['assistantAssociationId'] = assistant_association_id + __args__['assistantId'] = assistant_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:wisdom:getAssistantAssociation', __args__, opts=opts, typ=GetAssistantAssociationResult) + return __ret__.apply(lambda __response__: GetAssistantAssociationResult( + assistant_arn=pulumi.get(__response__, 'assistant_arn'), + assistant_association_arn=pulumi.get(__response__, 'assistant_association_arn'), + assistant_association_id=pulumi.get(__response__, 'assistant_association_id'))) diff --git a/sdk/python/pulumi_aws_native/wisdom/get_knowledge_base.py b/sdk/python/pulumi_aws_native/wisdom/get_knowledge_base.py index 5ee458f2e5..8c703ed124 100644 --- a/sdk/python/pulumi_aws_native/wisdom/get_knowledge_base.py +++ b/sdk/python/pulumi_aws_native/wisdom/get_knowledge_base.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs @@ -83,9 +88,6 @@ def get_knowledge_base(knowledge_base_id: Optional[str] = None, knowledge_base_arn=pulumi.get(__ret__, 'knowledge_base_arn'), knowledge_base_id=pulumi.get(__ret__, 'knowledge_base_id'), rendering_configuration=pulumi.get(__ret__, 'rendering_configuration')) - - -@_utilities.lift_output_func(get_knowledge_base) def get_knowledge_base_output(knowledge_base_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKnowledgeBaseResult]: """ @@ -94,4 +96,11 @@ def get_knowledge_base_output(knowledge_base_id: Optional[pulumi.Input[str]] = N :param str knowledge_base_id: The ID of the knowledge base. """ - ... + __args__ = dict() + __args__['knowledgeBaseId'] = knowledge_base_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:wisdom:getKnowledgeBase', __args__, opts=opts, typ=GetKnowledgeBaseResult) + return __ret__.apply(lambda __response__: GetKnowledgeBaseResult( + knowledge_base_arn=pulumi.get(__response__, 'knowledge_base_arn'), + knowledge_base_id=pulumi.get(__response__, 'knowledge_base_id'), + rendering_configuration=pulumi.get(__response__, 'rendering_configuration'))) diff --git a/sdk/python/pulumi_aws_native/wisdom/knowledge_base.py b/sdk/python/pulumi_aws_native/wisdom/knowledge_base.py index 1147a500c8..e1b97efbfb 100644 --- a/sdk/python/pulumi_aws_native/wisdom/knowledge_base.py +++ b/sdk/python/pulumi_aws_native/wisdom/knowledge_base.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/wisdom/outputs.py b/sdk/python/pulumi_aws_native/wisdom/outputs.py index 19a977c57d..414eefda65 100644 --- a/sdk/python/pulumi_aws_native/wisdom/outputs.py +++ b/sdk/python/pulumi_aws_native/wisdom/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/workspaces/_inputs.py b/sdk/python/pulumi_aws_native/workspaces/_inputs.py index 680cc6f902..c25c962e79 100644 --- a/sdk/python/pulumi_aws_native/workspaces/_inputs.py +++ b/sdk/python/pulumi_aws_native/workspaces/_inputs.py @@ -4,18 +4,41 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'WorkspacesPoolApplicationSettingsArgs', + 'WorkspacesPoolApplicationSettingsArgsDict', 'WorkspacesPoolCapacityArgs', + 'WorkspacesPoolCapacityArgsDict', 'WorkspacesPoolTimeoutSettingsArgs', + 'WorkspacesPoolTimeoutSettingsArgsDict', ] +MYPY = False + +if not MYPY: + class WorkspacesPoolApplicationSettingsArgsDict(TypedDict): + status: pulumi.Input['WorkspacesPoolApplicationSettingsStatus'] + """ + Enables or disables persistent application settings for users during their pool sessions. + """ + settings_group: NotRequired[pulumi.Input[str]] + """ + The path prefix for the S3 bucket where users’ persistent application settings are stored. + """ +elif False: + WorkspacesPoolApplicationSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkspacesPoolApplicationSettingsArgs: def __init__(__self__, *, @@ -54,6 +77,15 @@ def settings_group(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "settings_group", value) +if not MYPY: + class WorkspacesPoolCapacityArgsDict(TypedDict): + desired_user_sessions: pulumi.Input[int] + """ + The desired number of user sessions for the WorkSpaces in the pool. + """ +elif False: + WorkspacesPoolCapacityArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkspacesPoolCapacityArgs: def __init__(__self__, *, @@ -76,6 +108,23 @@ def desired_user_sessions(self, value: pulumi.Input[int]): pulumi.set(self, "desired_user_sessions", value) +if not MYPY: + class WorkspacesPoolTimeoutSettingsArgsDict(TypedDict): + disconnect_timeout_in_seconds: NotRequired[pulumi.Input[int]] + """ + Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within the time set, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance. + """ + idle_disconnect_timeout_in_seconds: NotRequired[pulumi.Input[int]] + """ + The amount of time in seconds a connection will stay active while idle. + """ + max_user_duration_in_seconds: NotRequired[pulumi.Input[int]] + """ + Specifies the maximum amount of time, in seconds, that a streaming session can remain active. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance. + """ +elif False: + WorkspacesPoolTimeoutSettingsArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class WorkspacesPoolTimeoutSettingsArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/workspaces/connection_alias.py b/sdk/python/pulumi_aws_native/workspaces/connection_alias.py index 935503a0ff..aa9537e867 100644 --- a/sdk/python/pulumi_aws_native/workspaces/connection_alias.py +++ b/sdk/python/pulumi_aws_native/workspaces/connection_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/workspaces/get_connection_alias.py b/sdk/python/pulumi_aws_native/workspaces/get_connection_alias.py index 28dab510ba..947ec6b218 100644 --- a/sdk/python/pulumi_aws_native/workspaces/get_connection_alias.py +++ b/sdk/python/pulumi_aws_native/workspaces/get_connection_alias.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -84,9 +89,6 @@ def get_connection_alias(alias_id: Optional[str] = None, alias_id=pulumi.get(__ret__, 'alias_id'), associations=pulumi.get(__ret__, 'associations'), connection_alias_state=pulumi.get(__ret__, 'connection_alias_state')) - - -@_utilities.lift_output_func(get_connection_alias) def get_connection_alias_output(alias_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectionAliasResult]: """ @@ -95,4 +97,11 @@ def get_connection_alias_output(alias_id: Optional[pulumi.Input[str]] = None, :param str alias_id: The identifier of the connection alias, returned as a string. """ - ... + __args__ = dict() + __args__['aliasId'] = alias_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:workspaces:getConnectionAlias', __args__, opts=opts, typ=GetConnectionAliasResult) + return __ret__.apply(lambda __response__: GetConnectionAliasResult( + alias_id=pulumi.get(__response__, 'alias_id'), + associations=pulumi.get(__response__, 'associations'), + connection_alias_state=pulumi.get(__response__, 'connection_alias_state'))) diff --git a/sdk/python/pulumi_aws_native/workspaces/get_workspaces_pool.py b/sdk/python/pulumi_aws_native/workspaces/get_workspaces_pool.py index a6a23ae72d..ce96548577 100644 --- a/sdk/python/pulumi_aws_native/workspaces/get_workspaces_pool.py +++ b/sdk/python/pulumi_aws_native/workspaces/get_workspaces_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * @@ -162,9 +167,6 @@ def get_workspaces_pool(pool_id: Optional[str] = None, pool_arn=pulumi.get(__ret__, 'pool_arn'), pool_id=pulumi.get(__ret__, 'pool_id'), timeout_settings=pulumi.get(__ret__, 'timeout_settings')) - - -@_utilities.lift_output_func(get_workspaces_pool) def get_workspaces_pool_output(pool_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspacesPoolResult]: """ @@ -173,4 +175,17 @@ def get_workspaces_pool_output(pool_id: Optional[pulumi.Input[str]] = None, :param str pool_id: The identifier of the pool. """ - ... + __args__ = dict() + __args__['poolId'] = pool_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:workspaces:getWorkspacesPool', __args__, opts=opts, typ=GetWorkspacesPoolResult) + return __ret__.apply(lambda __response__: GetWorkspacesPoolResult( + application_settings=pulumi.get(__response__, 'application_settings'), + bundle_id=pulumi.get(__response__, 'bundle_id'), + capacity=pulumi.get(__response__, 'capacity'), + created_at=pulumi.get(__response__, 'created_at'), + description=pulumi.get(__response__, 'description'), + directory_id=pulumi.get(__response__, 'directory_id'), + pool_arn=pulumi.get(__response__, 'pool_arn'), + pool_id=pulumi.get(__response__, 'pool_id'), + timeout_settings=pulumi.get(__response__, 'timeout_settings'))) diff --git a/sdk/python/pulumi_aws_native/workspaces/outputs.py b/sdk/python/pulumi_aws_native/workspaces/outputs.py index 15f143d079..b170834da1 100644 --- a/sdk/python/pulumi_aws_native/workspaces/outputs.py +++ b/sdk/python/pulumi_aws_native/workspaces/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/workspaces/workspaces_pool.py b/sdk/python/pulumi_aws_native/workspaces/workspaces_pool.py index 649a7c3e21..68d5d9520b 100644 --- a/sdk/python/pulumi_aws_native/workspaces/workspaces_pool.py +++ b/sdk/python/pulumi_aws_native/workspaces/workspaces_pool.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/workspacesthinclient/_inputs.py b/sdk/python/pulumi_aws_native/workspacesthinclient/_inputs.py index eeb219271a..405b7e6c32 100644 --- a/sdk/python/pulumi_aws_native/workspacesthinclient/_inputs.py +++ b/sdk/python/pulumi_aws_native/workspacesthinclient/_inputs.py @@ -4,17 +4,59 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'EnvironmentMaintenanceWindowArgs', + 'EnvironmentMaintenanceWindowArgsDict', 'EnvironmentTagArgs', + 'EnvironmentTagArgsDict', ] +MYPY = False + +if not MYPY: + class EnvironmentMaintenanceWindowArgsDict(TypedDict): + type: pulumi.Input['EnvironmentMaintenanceWindowType'] + """ + The type of maintenance window. + """ + apply_time_of: NotRequired[pulumi.Input['EnvironmentMaintenanceWindowApplyTimeOf']] + """ + The desired time zone maintenance window. + """ + days_of_the_week: NotRequired[pulumi.Input[Sequence[pulumi.Input['EnvironmentDayOfWeek']]]] + """ + The date of maintenance window. + """ + end_time_hour: NotRequired[pulumi.Input[int]] + """ + The hour end time of maintenance window. + """ + end_time_minute: NotRequired[pulumi.Input[int]] + """ + The minute end time of maintenance window. + """ + start_time_hour: NotRequired[pulumi.Input[int]] + """ + The hour start time of maintenance window. + """ + start_time_minute: NotRequired[pulumi.Input[int]] + """ + The minute start time of maintenance window. + """ +elif False: + EnvironmentMaintenanceWindowArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentMaintenanceWindowArgs: def __init__(__self__, *, @@ -133,6 +175,22 @@ def start_time_minute(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "start_time_minute", value) +if not MYPY: + class EnvironmentTagArgsDict(TypedDict): + """ + A key-value pair to associate with a resource. + """ + key: pulumi.Input[str] + """ + The key name of the tag. You can specify a value that is 1 to 128 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 -. + """ + value: pulumi.Input[str] + """ + The value for the tag. You can specify a value that is 1 to 256 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 -. + """ +elif False: + EnvironmentTagArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class EnvironmentTagArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/workspacesthinclient/environment.py b/sdk/python/pulumi_aws_native/workspacesthinclient/environment.py index 043069b007..568c4f3bf7 100644 --- a/sdk/python/pulumi_aws_native/workspacesthinclient/environment.py +++ b/sdk/python/pulumi_aws_native/workspacesthinclient/environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/workspacesthinclient/get_environment.py b/sdk/python/pulumi_aws_native/workspacesthinclient/get_environment.py index 0637849e3d..bfc5f25bff 100644 --- a/sdk/python/pulumi_aws_native/workspacesthinclient/get_environment.py +++ b/sdk/python/pulumi_aws_native/workspacesthinclient/get_environment.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -280,9 +285,6 @@ def get_environment(id: Optional[str] = None, software_set_update_schedule=pulumi.get(__ret__, 'software_set_update_schedule'), tags=pulumi.get(__ret__, 'tags'), updated_at=pulumi.get(__ret__, 'updated_at')) - - -@_utilities.lift_output_func(get_environment) def get_environment_output(id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEnvironmentResult]: """ @@ -291,4 +293,26 @@ def get_environment_output(id: Optional[pulumi.Input[str]] = None, :param str id: Unique identifier of the environment. """ - ... + __args__ = dict() + __args__['id'] = id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:workspacesthinclient:getEnvironment', __args__, opts=opts, typ=GetEnvironmentResult) + return __ret__.apply(lambda __response__: GetEnvironmentResult( + activation_code=pulumi.get(__response__, 'activation_code'), + arn=pulumi.get(__response__, 'arn'), + created_at=pulumi.get(__response__, 'created_at'), + desired_software_set_id=pulumi.get(__response__, 'desired_software_set_id'), + desktop_endpoint=pulumi.get(__response__, 'desktop_endpoint'), + desktop_type=pulumi.get(__response__, 'desktop_type'), + device_creation_tags=pulumi.get(__response__, 'device_creation_tags'), + id=pulumi.get(__response__, 'id'), + maintenance_window=pulumi.get(__response__, 'maintenance_window'), + name=pulumi.get(__response__, 'name'), + pending_software_set_id=pulumi.get(__response__, 'pending_software_set_id'), + pending_software_set_version=pulumi.get(__response__, 'pending_software_set_version'), + registered_devices_count=pulumi.get(__response__, 'registered_devices_count'), + software_set_compliance_status=pulumi.get(__response__, 'software_set_compliance_status'), + software_set_update_mode=pulumi.get(__response__, 'software_set_update_mode'), + software_set_update_schedule=pulumi.get(__response__, 'software_set_update_schedule'), + tags=pulumi.get(__response__, 'tags'), + updated_at=pulumi.get(__response__, 'updated_at'))) diff --git a/sdk/python/pulumi_aws_native/workspacesthinclient/outputs.py b/sdk/python/pulumi_aws_native/workspacesthinclient/outputs.py index ff41a8e7b9..393a7bb1b8 100644 --- a/sdk/python/pulumi_aws_native/workspacesthinclient/outputs.py +++ b/sdk/python/pulumi_aws_native/workspacesthinclient/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * diff --git a/sdk/python/pulumi_aws_native/workspacesweb/_inputs.py b/sdk/python/pulumi_aws_native/workspacesweb/_inputs.py index 2031607adf..0a369a74a6 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/_inputs.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/_inputs.py @@ -4,18 +4,41 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from ._enums import * __all__ = [ 'IpAccessSettingsIpRuleArgs', + 'IpAccessSettingsIpRuleArgsDict', 'UserSettingsCookieSpecificationArgs', + 'UserSettingsCookieSpecificationArgsDict', 'UserSettingsCookieSynchronizationConfigurationArgs', + 'UserSettingsCookieSynchronizationConfigurationArgsDict', ] +MYPY = False + +if not MYPY: + class IpAccessSettingsIpRuleArgsDict(TypedDict): + ip_range: pulumi.Input[str] + """ + A single IP address or an IP address range in CIDR notation + """ + description: NotRequired[pulumi.Input[str]] + """ + The description of the IP rule. + """ +elif False: + IpAccessSettingsIpRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class IpAccessSettingsIpRuleArgs: def __init__(__self__, *, @@ -54,6 +77,23 @@ def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) +if not MYPY: + class UserSettingsCookieSpecificationArgsDict(TypedDict): + domain: pulumi.Input[str] + """ + The domain of the cookie. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the cookie. + """ + path: NotRequired[pulumi.Input[str]] + """ + The path of the cookie. + """ +elif False: + UserSettingsCookieSpecificationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserSettingsCookieSpecificationArgs: def __init__(__self__, *, @@ -108,6 +148,19 @@ def path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "path", value) +if not MYPY: + class UserSettingsCookieSynchronizationConfigurationArgsDict(TypedDict): + allowlist: pulumi.Input[Sequence[pulumi.Input['UserSettingsCookieSpecificationArgsDict']]] + """ + The list of cookie specifications that are allowed to be synchronized to the remote browser. + """ + blocklist: NotRequired[pulumi.Input[Sequence[pulumi.Input['UserSettingsCookieSpecificationArgsDict']]]] + """ + The list of cookie specifications that are blocked from being synchronized to the remote browser. + """ +elif False: + UserSettingsCookieSynchronizationConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class UserSettingsCookieSynchronizationConfigurationArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/workspacesweb/browser_settings.py b/sdk/python/pulumi_aws_native/workspacesweb/browser_settings.py index 1edbf447dd..1014b92b24 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/browser_settings.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/browser_settings.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/workspacesweb/get_browser_settings.py b/sdk/python/pulumi_aws_native/workspacesweb/get_browser_settings.py index 9c4e20b8c2..5ab65f1c7f 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/get_browser_settings.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/get_browser_settings.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_browser_settings(browser_settings_arn: Optional[str] = None, browser_policy=pulumi.get(__ret__, 'browser_policy'), browser_settings_arn=pulumi.get(__ret__, 'browser_settings_arn'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_browser_settings) def get_browser_settings_output(browser_settings_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBrowserSettingsResult]: """ @@ -107,4 +109,12 @@ def get_browser_settings_output(browser_settings_arn: Optional[pulumi.Input[str] :param str browser_settings_arn: The ARN of the browser settings. """ - ... + __args__ = dict() + __args__['browserSettingsArn'] = browser_settings_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:workspacesweb:getBrowserSettings', __args__, opts=opts, typ=GetBrowserSettingsResult) + return __ret__.apply(lambda __response__: GetBrowserSettingsResult( + associated_portal_arns=pulumi.get(__response__, 'associated_portal_arns'), + browser_policy=pulumi.get(__response__, 'browser_policy'), + browser_settings_arn=pulumi.get(__response__, 'browser_settings_arn'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/workspacesweb/get_identity_provider.py b/sdk/python/pulumi_aws_native/workspacesweb/get_identity_provider.py index 4316eab556..c4c1e1893a 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/get_identity_provider.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/get_identity_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -144,9 +149,6 @@ def get_identity_provider(identity_provider_arn: Optional[str] = None, identity_provider_name=pulumi.get(__ret__, 'identity_provider_name'), identity_provider_type=pulumi.get(__ret__, 'identity_provider_type'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_identity_provider) def get_identity_provider_output(identity_provider_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIdentityProviderResult]: """ @@ -155,4 +157,13 @@ def get_identity_provider_output(identity_provider_arn: Optional[pulumi.Input[st :param str identity_provider_arn: The ARN of the identity provider. """ - ... + __args__ = dict() + __args__['identityProviderArn'] = identity_provider_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:workspacesweb:getIdentityProvider', __args__, opts=opts, typ=GetIdentityProviderResult) + return __ret__.apply(lambda __response__: GetIdentityProviderResult( + identity_provider_arn=pulumi.get(__response__, 'identity_provider_arn'), + identity_provider_details=pulumi.get(__response__, 'identity_provider_details'), + identity_provider_name=pulumi.get(__response__, 'identity_provider_name'), + identity_provider_type=pulumi.get(__response__, 'identity_provider_type'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/workspacesweb/get_ip_access_settings.py b/sdk/python/pulumi_aws_native/workspacesweb/get_ip_access_settings.py index b4b44c4e02..6e1aec42fd 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/get_ip_access_settings.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/get_ip_access_settings.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -136,9 +141,6 @@ def get_ip_access_settings(ip_access_settings_arn: Optional[str] = None, ip_access_settings_arn=pulumi.get(__ret__, 'ip_access_settings_arn'), ip_rules=pulumi.get(__ret__, 'ip_rules'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_ip_access_settings) def get_ip_access_settings_output(ip_access_settings_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpAccessSettingsResult]: """ @@ -147,4 +149,15 @@ def get_ip_access_settings_output(ip_access_settings_arn: Optional[pulumi.Input[ :param str ip_access_settings_arn: The ARN of the IP access settings resource. """ - ... + __args__ = dict() + __args__['ipAccessSettingsArn'] = ip_access_settings_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:workspacesweb:getIpAccessSettings', __args__, opts=opts, typ=GetIpAccessSettingsResult) + return __ret__.apply(lambda __response__: GetIpAccessSettingsResult( + associated_portal_arns=pulumi.get(__response__, 'associated_portal_arns'), + creation_date=pulumi.get(__response__, 'creation_date'), + description=pulumi.get(__response__, 'description'), + display_name=pulumi.get(__response__, 'display_name'), + ip_access_settings_arn=pulumi.get(__response__, 'ip_access_settings_arn'), + ip_rules=pulumi.get(__response__, 'ip_rules'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/workspacesweb/get_network_settings.py b/sdk/python/pulumi_aws_native/workspacesweb/get_network_settings.py index 28988690e7..2647851d16 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/get_network_settings.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/get_network_settings.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -128,9 +133,6 @@ def get_network_settings(network_settings_arn: Optional[str] = None, subnet_ids=pulumi.get(__ret__, 'subnet_ids'), tags=pulumi.get(__ret__, 'tags'), vpc_id=pulumi.get(__ret__, 'vpc_id')) - - -@_utilities.lift_output_func(get_network_settings) def get_network_settings_output(network_settings_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkSettingsResult]: """ @@ -139,4 +141,14 @@ def get_network_settings_output(network_settings_arn: Optional[pulumi.Input[str] :param str network_settings_arn: The ARN of the network settings. """ - ... + __args__ = dict() + __args__['networkSettingsArn'] = network_settings_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:workspacesweb:getNetworkSettings', __args__, opts=opts, typ=GetNetworkSettingsResult) + return __ret__.apply(lambda __response__: GetNetworkSettingsResult( + associated_portal_arns=pulumi.get(__response__, 'associated_portal_arns'), + network_settings_arn=pulumi.get(__response__, 'network_settings_arn'), + security_group_ids=pulumi.get(__response__, 'security_group_ids'), + subnet_ids=pulumi.get(__response__, 'subnet_ids'), + tags=pulumi.get(__response__, 'tags'), + vpc_id=pulumi.get(__response__, 'vpc_id'))) diff --git a/sdk/python/pulumi_aws_native/workspacesweb/get_portal.py b/sdk/python/pulumi_aws_native/workspacesweb/get_portal.py index 584410f6fd..986aa4a9a3 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/get_portal.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/get_portal.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs from ._enums import * @@ -304,9 +309,6 @@ def get_portal(portal_arn: Optional[str] = None, trust_store_arn=pulumi.get(__ret__, 'trust_store_arn'), user_access_logging_settings_arn=pulumi.get(__ret__, 'user_access_logging_settings_arn'), user_settings_arn=pulumi.get(__ret__, 'user_settings_arn')) - - -@_utilities.lift_output_func(get_portal) def get_portal_output(portal_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPortalResult]: """ @@ -315,4 +317,27 @@ def get_portal_output(portal_arn: Optional[pulumi.Input[str]] = None, :param str portal_arn: The ARN of the web portal. """ - ... + __args__ = dict() + __args__['portalArn'] = portal_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:workspacesweb:getPortal', __args__, opts=opts, typ=GetPortalResult) + return __ret__.apply(lambda __response__: GetPortalResult( + authentication_type=pulumi.get(__response__, 'authentication_type'), + browser_settings_arn=pulumi.get(__response__, 'browser_settings_arn'), + browser_type=pulumi.get(__response__, 'browser_type'), + creation_date=pulumi.get(__response__, 'creation_date'), + display_name=pulumi.get(__response__, 'display_name'), + instance_type=pulumi.get(__response__, 'instance_type'), + ip_access_settings_arn=pulumi.get(__response__, 'ip_access_settings_arn'), + max_concurrent_sessions=pulumi.get(__response__, 'max_concurrent_sessions'), + network_settings_arn=pulumi.get(__response__, 'network_settings_arn'), + portal_arn=pulumi.get(__response__, 'portal_arn'), + portal_endpoint=pulumi.get(__response__, 'portal_endpoint'), + portal_status=pulumi.get(__response__, 'portal_status'), + renderer_type=pulumi.get(__response__, 'renderer_type'), + service_provider_saml_metadata=pulumi.get(__response__, 'service_provider_saml_metadata'), + status_reason=pulumi.get(__response__, 'status_reason'), + tags=pulumi.get(__response__, 'tags'), + trust_store_arn=pulumi.get(__response__, 'trust_store_arn'), + user_access_logging_settings_arn=pulumi.get(__response__, 'user_access_logging_settings_arn'), + user_settings_arn=pulumi.get(__response__, 'user_settings_arn'))) diff --git a/sdk/python/pulumi_aws_native/workspacesweb/get_trust_store.py b/sdk/python/pulumi_aws_native/workspacesweb/get_trust_store.py index cdbcc26088..f855a11dd9 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/get_trust_store.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/get_trust_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_trust_store(trust_store_arn: Optional[str] = None, certificate_list=pulumi.get(__ret__, 'certificate_list'), tags=pulumi.get(__ret__, 'tags'), trust_store_arn=pulumi.get(__ret__, 'trust_store_arn')) - - -@_utilities.lift_output_func(get_trust_store) def get_trust_store_output(trust_store_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTrustStoreResult]: """ @@ -107,4 +109,12 @@ def get_trust_store_output(trust_store_arn: Optional[pulumi.Input[str]] = None, :param str trust_store_arn: The ARN of the trust store. """ - ... + __args__ = dict() + __args__['trustStoreArn'] = trust_store_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:workspacesweb:getTrustStore', __args__, opts=opts, typ=GetTrustStoreResult) + return __ret__.apply(lambda __response__: GetTrustStoreResult( + associated_portal_arns=pulumi.get(__response__, 'associated_portal_arns'), + certificate_list=pulumi.get(__response__, 'certificate_list'), + tags=pulumi.get(__response__, 'tags'), + trust_store_arn=pulumi.get(__response__, 'trust_store_arn'))) diff --git a/sdk/python/pulumi_aws_native/workspacesweb/get_user_access_logging_settings.py b/sdk/python/pulumi_aws_native/workspacesweb/get_user_access_logging_settings.py index 234a365a15..4fa45ad953 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/get_user_access_logging_settings.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/get_user_access_logging_settings.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import outputs as _root_outputs @@ -96,9 +101,6 @@ def get_user_access_logging_settings(user_access_logging_settings_arn: Optional[ kinesis_stream_arn=pulumi.get(__ret__, 'kinesis_stream_arn'), tags=pulumi.get(__ret__, 'tags'), user_access_logging_settings_arn=pulumi.get(__ret__, 'user_access_logging_settings_arn')) - - -@_utilities.lift_output_func(get_user_access_logging_settings) def get_user_access_logging_settings_output(user_access_logging_settings_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserAccessLoggingSettingsResult]: """ @@ -107,4 +109,12 @@ def get_user_access_logging_settings_output(user_access_logging_settings_arn: Op :param str user_access_logging_settings_arn: The ARN of the user access logging settings. """ - ... + __args__ = dict() + __args__['userAccessLoggingSettingsArn'] = user_access_logging_settings_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:workspacesweb:getUserAccessLoggingSettings', __args__, opts=opts, typ=GetUserAccessLoggingSettingsResult) + return __ret__.apply(lambda __response__: GetUserAccessLoggingSettingsResult( + associated_portal_arns=pulumi.get(__response__, 'associated_portal_arns'), + kinesis_stream_arn=pulumi.get(__response__, 'kinesis_stream_arn'), + tags=pulumi.get(__response__, 'tags'), + user_access_logging_settings_arn=pulumi.get(__response__, 'user_access_logging_settings_arn'))) diff --git a/sdk/python/pulumi_aws_native/workspacesweb/get_user_settings.py b/sdk/python/pulumi_aws_native/workspacesweb/get_user_settings.py index d23a51fcc2..3999965c55 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/get_user_settings.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/get_user_settings.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -228,9 +233,6 @@ def get_user_settings(user_settings_arn: Optional[str] = None, tags=pulumi.get(__ret__, 'tags'), upload_allowed=pulumi.get(__ret__, 'upload_allowed'), user_settings_arn=pulumi.get(__ret__, 'user_settings_arn')) - - -@_utilities.lift_output_func(get_user_settings) def get_user_settings_output(user_settings_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserSettingsResult]: """ @@ -239,4 +241,22 @@ def get_user_settings_output(user_settings_arn: Optional[pulumi.Input[str]] = No :param str user_settings_arn: The ARN of the user settings. """ - ... + __args__ = dict() + __args__['userSettingsArn'] = user_settings_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:workspacesweb:getUserSettings', __args__, opts=opts, typ=GetUserSettingsResult) + return __ret__.apply(lambda __response__: GetUserSettingsResult( + additional_encryption_context=pulumi.get(__response__, 'additional_encryption_context'), + associated_portal_arns=pulumi.get(__response__, 'associated_portal_arns'), + cookie_synchronization_configuration=pulumi.get(__response__, 'cookie_synchronization_configuration'), + copy_allowed=pulumi.get(__response__, 'copy_allowed'), + customer_managed_key=pulumi.get(__response__, 'customer_managed_key'), + deep_link_allowed=pulumi.get(__response__, 'deep_link_allowed'), + disconnect_timeout_in_minutes=pulumi.get(__response__, 'disconnect_timeout_in_minutes'), + download_allowed=pulumi.get(__response__, 'download_allowed'), + idle_disconnect_timeout_in_minutes=pulumi.get(__response__, 'idle_disconnect_timeout_in_minutes'), + paste_allowed=pulumi.get(__response__, 'paste_allowed'), + print_allowed=pulumi.get(__response__, 'print_allowed'), + tags=pulumi.get(__response__, 'tags'), + upload_allowed=pulumi.get(__response__, 'upload_allowed'), + user_settings_arn=pulumi.get(__response__, 'user_settings_arn'))) diff --git a/sdk/python/pulumi_aws_native/workspacesweb/identity_provider.py b/sdk/python/pulumi_aws_native/workspacesweb/identity_provider.py index 73d71ea49f..4e438c22ed 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/identity_provider.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/identity_provider.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/workspacesweb/ip_access_settings.py b/sdk/python/pulumi_aws_native/workspacesweb/ip_access_settings.py index c383ea27f4..58182d2ea2 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/ip_access_settings.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/ip_access_settings.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/workspacesweb/network_settings.py b/sdk/python/pulumi_aws_native/workspacesweb/network_settings.py index 7eeba6a616..38b908ed8a 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/network_settings.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/network_settings.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/workspacesweb/outputs.py b/sdk/python/pulumi_aws_native/workspacesweb/outputs.py index 80f662dcc3..8954569986 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/outputs.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from ._enums import * diff --git a/sdk/python/pulumi_aws_native/workspacesweb/portal.py b/sdk/python/pulumi_aws_native/workspacesweb/portal.py index 763d02d5aa..2d6949a42a 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/portal.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/portal.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/workspacesweb/trust_store.py b/sdk/python/pulumi_aws_native/workspacesweb/trust_store.py index 97067606be..114ca02cff 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/trust_store.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/trust_store.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/workspacesweb/user_access_logging_settings.py b/sdk/python/pulumi_aws_native/workspacesweb/user_access_logging_settings.py index 2baff4b40c..a7e0980773 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/user_access_logging_settings.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/user_access_logging_settings.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from .. import _inputs as _root_inputs from .. import outputs as _root_outputs diff --git a/sdk/python/pulumi_aws_native/workspacesweb/user_settings.py b/sdk/python/pulumi_aws_native/workspacesweb/user_settings.py index b91337f621..e10aa76680 100644 --- a/sdk/python/pulumi_aws_native/workspacesweb/user_settings.py +++ b/sdk/python/pulumi_aws_native/workspacesweb/user_settings.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/xray/_inputs.py b/sdk/python/pulumi_aws_native/xray/_inputs.py index 79192c7637..3c2bb9b18a 100644 --- a/sdk/python/pulumi_aws_native/xray/_inputs.py +++ b/sdk/python/pulumi_aws_native/xray/_inputs.py @@ -4,18 +4,42 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ 'GroupInsightsConfigurationArgs', + 'GroupInsightsConfigurationArgsDict', 'SamplingRuleRecordArgs', + 'SamplingRuleRecordArgsDict', 'SamplingRuleUpdateArgs', + 'SamplingRuleUpdateArgsDict', 'SamplingRuleArgs', + 'SamplingRuleArgsDict', ] +MYPY = False + +if not MYPY: + class GroupInsightsConfigurationArgsDict(TypedDict): + insights_enabled: NotRequired[pulumi.Input[bool]] + """ + Set the InsightsEnabled value to true to enable insights or false to disable insights. + """ + notifications_enabled: NotRequired[pulumi.Input[bool]] + """ + Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true. + """ +elif False: + GroupInsightsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class GroupInsightsConfigurationArgs: def __init__(__self__, *, @@ -55,6 +79,20 @@ def notifications_enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "notifications_enabled", value) +if not MYPY: + class SamplingRuleRecordArgsDict(TypedDict): + created_at: NotRequired[pulumi.Input[str]] + """ + When the rule was created, in Unix time seconds. + """ + modified_at: NotRequired[pulumi.Input[str]] + """ + When the rule was modified, in Unix time seconds. + """ + sampling_rule: NotRequired[pulumi.Input['SamplingRuleArgsDict']] +elif False: + SamplingRuleRecordArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SamplingRuleRecordArgs: def __init__(__self__, *, @@ -106,6 +144,53 @@ def sampling_rule(self, value: Optional[pulumi.Input['SamplingRuleArgs']]): pulumi.set(self, "sampling_rule", value) +if not MYPY: + class SamplingRuleUpdateArgsDict(TypedDict): + attributes: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Matches attributes derived from the request. + """ + fixed_rate: NotRequired[pulumi.Input[float]] + """ + The percentage of matching requests to instrument, after the reservoir is exhausted. + """ + host: NotRequired[pulumi.Input[str]] + """ + Matches the hostname from a request URL. + """ + http_method: NotRequired[pulumi.Input[str]] + """ + Matches the HTTP method from a request URL. + """ + priority: NotRequired[pulumi.Input[int]] + """ + The priority of the sampling rule. + """ + reservoir_size: NotRequired[pulumi.Input[int]] + """ + A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively. + """ + resource_arn: NotRequired[pulumi.Input[str]] + """ + Matches the ARN of the AWS resource on which the service runs. + """ + rule_arn: NotRequired[pulumi.Input[str]] + rule_name: NotRequired[pulumi.Input[str]] + service_name: NotRequired[pulumi.Input[str]] + """ + Matches the name that the service uses to identify itself in segments. + """ + service_type: NotRequired[pulumi.Input[str]] + """ + Matches the origin that the service uses to identify its type in segments. + """ + url_path: NotRequired[pulumi.Input[str]] + """ + Matches the path from a request URL. + """ +elif False: + SamplingRuleUpdateArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SamplingRuleUpdateArgs: def __init__(__self__, *, @@ -297,6 +382,65 @@ def url_path(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "url_path", value) +if not MYPY: + class SamplingRuleArgsDict(TypedDict): + fixed_rate: pulumi.Input[float] + """ + The percentage of matching requests to instrument, after the reservoir is exhausted. + """ + host: pulumi.Input[str] + """ + Matches the hostname from a request URL. + """ + http_method: pulumi.Input[str] + """ + Matches the HTTP method from a request URL. + """ + priority: pulumi.Input[int] + """ + The priority of the sampling rule. + """ + reservoir_size: pulumi.Input[int] + """ + A fixed number of matching requests to instrument per second, prior to applying the fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively. + """ + resource_arn: pulumi.Input[str] + """ + Matches the ARN of the AWS resource on which the service runs. + """ + service_name: pulumi.Input[str] + """ + Matches the name that the service uses to identify itself in segments. + """ + service_type: pulumi.Input[str] + """ + Matches the origin that the service uses to identify its type in segments. + """ + url_path: pulumi.Input[str] + """ + Matches the path from a request URL. + """ + attributes: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + Matches attributes derived from the request. + """ + rule_arn: NotRequired[pulumi.Input[str]] + """ + The ARN of the sampling rule. Specify a rule by either name or ARN, but not both. + + > Specifying a sampling rule by name is recommended, as specifying by ARN will be deprecated in future. + """ + rule_name: NotRequired[pulumi.Input[str]] + """ + The name of the sampling rule. Specify a rule by either name or ARN, but not both. + """ + version: NotRequired[pulumi.Input[int]] + """ + The version of the sampling rule format (1) + """ +elif False: + SamplingRuleArgsDict: TypeAlias = Mapping[str, Any] + @pulumi.input_type class SamplingRuleArgs: def __init__(__self__, *, diff --git a/sdk/python/pulumi_aws_native/xray/get_group.py b/sdk/python/pulumi_aws_native/xray/get_group.py index c91297a11b..c52a2b7b1b 100644 --- a/sdk/python/pulumi_aws_native/xray/get_group.py +++ b/sdk/python/pulumi_aws_native/xray/get_group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -113,9 +118,6 @@ def get_group(group_arn: Optional[str] = None, group_name=pulumi.get(__ret__, 'group_name'), insights_configuration=pulumi.get(__ret__, 'insights_configuration'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_group) def get_group_output(group_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupResult]: """ @@ -124,4 +126,13 @@ def get_group_output(group_arn: Optional[pulumi.Input[str]] = None, :param str group_arn: The ARN of the group that was generated on creation. """ - ... + __args__ = dict() + __args__['groupArn'] = group_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:xray:getGroup', __args__, opts=opts, typ=GetGroupResult) + return __ret__.apply(lambda __response__: GetGroupResult( + filter_expression=pulumi.get(__response__, 'filter_expression'), + group_arn=pulumi.get(__response__, 'group_arn'), + group_name=pulumi.get(__response__, 'group_name'), + insights_configuration=pulumi.get(__response__, 'insights_configuration'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/xray/get_resource_policy.py b/sdk/python/pulumi_aws_native/xray/get_resource_policy.py index bb62c6232f..8dbab2815e 100644 --- a/sdk/python/pulumi_aws_native/xray/get_resource_policy.py +++ b/sdk/python/pulumi_aws_native/xray/get_resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = [ @@ -56,9 +61,6 @@ def get_resource_policy(policy_name: Optional[str] = None, return AwaitableGetResourcePolicyResult( policy_document=pulumi.get(__ret__, 'policy_document')) - - -@_utilities.lift_output_func(get_resource_policy) def get_resource_policy_output(policy_name: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourcePolicyResult]: """ @@ -67,4 +69,9 @@ def get_resource_policy_output(policy_name: Optional[pulumi.Input[str]] = None, :param str policy_name: The name of the resource policy. Must be unique within a specific AWS account. """ - ... + __args__ = dict() + __args__['policyName'] = policy_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:xray:getResourcePolicy', __args__, opts=opts, typ=GetResourcePolicyResult) + return __ret__.apply(lambda __response__: GetResourcePolicyResult( + policy_document=pulumi.get(__response__, 'policy_document'))) diff --git a/sdk/python/pulumi_aws_native/xray/get_sampling_rule.py b/sdk/python/pulumi_aws_native/xray/get_sampling_rule.py index 895f95dbf3..0f78ca6252 100644 --- a/sdk/python/pulumi_aws_native/xray/get_sampling_rule.py +++ b/sdk/python/pulumi_aws_native/xray/get_sampling_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import outputs as _root_outputs @@ -114,9 +119,6 @@ def get_sampling_rule(rule_arn: Optional[str] = None, sampling_rule_record=pulumi.get(__ret__, 'sampling_rule_record'), sampling_rule_update=pulumi.get(__ret__, 'sampling_rule_update'), tags=pulumi.get(__ret__, 'tags')) - - -@_utilities.lift_output_func(get_sampling_rule) def get_sampling_rule_output(rule_arn: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSamplingRuleResult]: """ @@ -125,4 +127,14 @@ def get_sampling_rule_output(rule_arn: Optional[pulumi.Input[str]] = None, :param str rule_arn: The sampling rule ARN that was created or updated. """ - ... + __args__ = dict() + __args__['ruleArn'] = rule_arn + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('aws-native:xray:getSamplingRule', __args__, opts=opts, typ=GetSamplingRuleResult) + return __ret__.apply(lambda __response__: GetSamplingRuleResult( + rule_arn=pulumi.get(__response__, 'rule_arn'), + rule_name=pulumi.get(__response__, 'rule_name'), + sampling_rule=pulumi.get(__response__, 'sampling_rule'), + sampling_rule_record=pulumi.get(__response__, 'sampling_rule_record'), + sampling_rule_update=pulumi.get(__response__, 'sampling_rule_update'), + tags=pulumi.get(__response__, 'tags'))) diff --git a/sdk/python/pulumi_aws_native/xray/group.py b/sdk/python/pulumi_aws_native/xray/group.py index 2848c4628f..640130652c 100644 --- a/sdk/python/pulumi_aws_native/xray/group.py +++ b/sdk/python/pulumi_aws_native/xray/group.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pulumi_aws_native/xray/outputs.py b/sdk/python/pulumi_aws_native/xray/outputs.py index c1c9b6d072..289a2914a8 100644 --- a/sdk/python/pulumi_aws_native/xray/outputs.py +++ b/sdk/python/pulumi_aws_native/xray/outputs.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_aws_native/xray/resource_policy.py b/sdk/python/pulumi_aws_native/xray/resource_policy.py index 5adb3b96cd..8d0d1b4737 100644 --- a/sdk/python/pulumi_aws_native/xray/resource_policy.py +++ b/sdk/python/pulumi_aws_native/xray/resource_policy.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities __all__ = ['ResourcePolicyArgs', 'ResourcePolicy'] diff --git a/sdk/python/pulumi_aws_native/xray/sampling_rule.py b/sdk/python/pulumi_aws_native/xray/sampling_rule.py index a5ea4591f7..0932f56e20 100644 --- a/sdk/python/pulumi_aws_native/xray/sampling_rule.py +++ b/sdk/python/pulumi_aws_native/xray/sampling_rule.py @@ -4,9 +4,14 @@ import copy import warnings +import sys import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias from .. import _utilities from . import outputs from .. import _inputs as _root_inputs diff --git a/sdk/python/pyproject.toml b/sdk/python/pyproject.toml index fdd3300b71..68be7c6efb 100644 --- a/sdk/python/pyproject.toml +++ b/sdk/python/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "pulumi_aws_native" description = "A native Pulumi package for creating and managing Amazon Web Services (AWS) resources." - dependencies = ["parver>=0.2.1", "pulumi>=3.0.0,<4.0.0", "semver>=2.8.1"] + dependencies = ["parver>=0.2.1", "pulumi>=3.136.0,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""] keywords = ["pulumi", "aws", "aws-native", "cloud control", "ccapi", "category/cloud", "kind/native"] readme = "README.md" requires-python = ">=3.8"